This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: __attribute__ ((interrupt)) for m68k


Oops! sorry didn't see that this had just been discussed on crossgcc :-) I
think I can hack something up myself. But my second question still bothers
me...

-----Original Message-----

Also, anyone know why __attribute__ ((section ("name") )) on a variable is
ignored if it is uninitialised? What is the rational behind this? In our
project we have a non-volatile RAM section which we treat as BSS at present,
so it would be annoying to have to explicitly initialise things to get them
in there (an array of structs would be ugly).

Thanks again.

Paul Andrews
Software Engineer
Smartmove (NZ) Ltd
Auckland, New Zealand
http://www.smartmove.co.nz


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]