This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: combining object files and managing relocatable symbols


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]