Gcc 3.0 requires a .register pseudo-op for certain global registers when
used in assembly language. Tell it to ignore the registers for now.
This commit is contained in:
parent
ad4ff09012
commit
cae71da765
@ -31,6 +31,11 @@
|
||||
|
||||
#ifdef _KERNEL
|
||||
|
||||
.register %g2,#ignore
|
||||
.register %g3,#ignore
|
||||
.register %g6,#ignore
|
||||
.register %g7,#ignore
|
||||
|
||||
#define PCPU(member) %g7 + GD_ ## member
|
||||
#define DEBUGGER() ta %xcc, 1
|
||||
#define PANIC(msg, reg) \
|
||||
|
Loading…
Reference in New Issue
Block a user