Brendon Costa wrote: > Hi all, > > I have been trying to place some data into a named section of a .o > file. I can do it currently by hooking into various of the RTL to > assembly routines and emitting the asm code directly, however I am now > trying to do it from within the C++ front end by inserting a VAR_DECL > node and setting it as belonging into a named section. >
Well i have been trying a few things and found that I can do it now by making a call to assemble_variable() i am also trying to remove a few things from the code i posted that I dont think are necessary, like the bind() call or the pushdecl() call among a few other things. Brendon.