This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: combining object files and managing relocatable symbols
- From: Erik Leunissen <e dot leunissen at hccnet dot nl>
- To: binutils at sources dot redhat dot com
- Date: Thu, 21 Sep 2006 00:19:28 +0200
- Subject: Re: combining object files and managing relocatable symbols
- References: <45119D83.5020002@hccnet.nl>
Indeed, using:
objcopy --localize-symbol=X C.o
did what I wanted. Symbol X is now local to C.o and resides in the text
section.
Would it be possible to take this process one step further:
not only localize the symbol, but make it invisible altogether?
I expected "objcopy -x and -X" to do exactly that, but it did not. Can
anybody tell why?
Thanks again for your attention,
Erik Leunissen