-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Description
| Bugzilla Link | 9361 |
| Resolution | FIXED |
| Resolved on | Apr 07, 2011 15:27 |
| Version | trunk |
| OS | Linux |
| Blocks | #4440 |
| CC | @efriedma-quic,@pageexec |
Extended Description
compiling linux with integrated-as results in this problem:
arch/x86/kernel/setup.c:125:1: error: warning: ignoring directive for now
RESERVE_BRK(dmi_alloc, 65536);
^
In file included from arch/x86/kernel/setup.c:78:
/root/src/linux/linux-2.6.36.4-pax-clang/arch/x86/include/asm/setup.h:88:4: note: instantiated from:
".pushsection .brk_reservation,"aw",@nobits;"
^
:1:63: note: instantiated into assembly here
.pushsection .brk_reservation,"aw",@nobits;.brk.dmi_alloc: 1:.skip 65536; .size .brk.dmi_alloc, . - 1b; .popsection
^
the full macro:
84 #define RESERVE_BRK(name,sz)»···»·······»·······»·······»·······»·······
85 »·······static void __section(.discard.text) _used»····»·······»·······
86 »·······brk_reservation_fn##name##(void) {»»·······»·······»·······
87 »·······»·······asm volatile (»·»·······»·······»·······»·······»·······
88 »·······»·······»·······".pushsection .brk_reservation,"aw",@nobits;"
89 »·······»·······»·······".brk." #name ":"»······»·······»·······»·······
90 »·······»·······»·······" 1:.skip %c0;"»»·······»·······»·······»·······
91 »·······»·······»·······" .size .brk." #name ", . - 1b;"»·······»·······
92 »·······»·······»·······" .popsection"»·»·······»·······»·······»·······
93 »·······»·······»·······: : "i" (sz));»·»·······»·······»·······»·······
94 »·······}