This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
> The GCC manual tells us : > > extern void foobar (void) __attribute__ ((section ("bar"))); > > puts the function foobar in the bar section. > > > How do I define > > unsigned char globalArchive[] = {0x04, 0x18, 0x00, 0x00, 0x81}; > > such that this is stored in the bar section as well? unsigned char globalArchive[] __attribute__ ((section("bar"))) = {0x04, 0x18, 0x00, 0x00, 0x81}; ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |