[Bug c/41045] Extended asm with C operands doesnÂt work at top level
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Oct 8 22:32:00 GMT 2009
------- Comment #4 from pinskia at gcc dot gnu dot org 2009-10-08 22:32 -------
(In reply to comment #3)
> So they want a way to turn off progbits instead?
> That seems better than doing extended inline-asm at the top level.
And is less messy really since then the syntax would be something like:
#define RESERVE_BRK(name,sz) \
static char __brk_reservation_#name[sz]
__attribute__((section("brk_reservation", nobits), used);
Which gets rid of the messy inline-asm and makes things look like a real
variable, etc.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41045
More information about the Gcc-bugs
mailing list