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:
Jake Burkholder 2001-08-18 18:05:24 +00:00
parent ad4ff09012
commit cae71da765

View File

@ -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) \