|
| | Subject: | Re: discard a weak symbol in object file | | Group: | Gcc-help | | From: | Ian Lance Taylor | | Date: | 28 Jun 2006 |
Wolfgang Haidinger <Wolfgang.Haidinger> writes:
> I tired to remove a local symbol in an .o file by the use of:
> arm-elf-objcopy -N <symbol-name> infile.o outfile.o
>
> This works fine as long as the symbol is global (not weak nor local).
> Unfortunately objcopy provides just the conversion of symbols into weak or
> local, but no option to convert into global.
>
> Has anyone an idea how I can get rid of an unwanted symbol in an object
> file, or how I can change it to be global?
I don't know whether there is a way, but I do know that the place to
ask is not here, but at binutils; see
http://sourceware.org/binutils/
Ian
|