Gcc 2.95.2 static constructor strangeness

rfreier@csw.L-3com.com rfreier@csw.L-3com.com
Sat Apr 1 00:00:00 GMT 2000


I asked this a while ago... maybe someone has since run into this issue.

GCC 2.95.2 makes the static constructor lists show up as local in the object
files it creates (i.e., they show up as "t" symbols in the nm output).  This
is
a real pain to those of us compiling for vxworks 5.3 , since vxworks expects
you to scan your object file and link all of the constructor lists 
into a table so it can call them all. (The munch process.)

If anyone knows a simple hack to the 2.95.2 sources to make these 
symbols global, I'd REALLY appreciate hearing about it.  

Thanks,
Rod


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com



More information about the crossgcc mailing list