objcopy question

Roberts, Jeffery M jeffery.m.roberts@opbu.xerox.com
Fri Sep 28 19:37:00 GMT 2001


We're using a gcc variant provided by WindRiver for use with the VxWorks OS.
I'd like to be able to add some text (version) information to object files
using objcopy --add-section.  Are there any gotchas in doing this?  Can this
be done in object files that are linked during the build process, or
dynamically linked later?   Also, I've noticed that I can only add one new
section to the object file.  Is this normal?

Thanks,

Jeff




		Jeff Roberts 
XEROX Office Printing Business (OPB)
		P.O. Box 1000   M/S 7083-285
		Wilsonville, OR   97070
		Phone: (503) 685-3418    8*875-3418
		Mail:  jroberts@opbu.xerox.com

		http://www.freecolorprinters.com --- REALLY.  Check it out.



More information about the Binutils mailing list