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] |
It may be that --retain-symbols-file keeps symbol which have relocations and does not convert them to local. I haven't checked.
You may need to follow it with a call to objcopy --localize-symbols. Or just skip --retain-symbols-file, --localize-symbols should do the job (on a single object file produced by ld -r --whole-archive).
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |