[klibc] [PATCH] do not use -R on ppc to link shared objects
H. Peter Anvin
hpa at zytor.com
Thu Nov 27 09:19:04 PST 2003
Olaf Hering wrote:
>
> I talked to Alan Modra and he said -R is wrong. the current result is a
> 'cant read symbols' if -R is specified.
>
Did he motivate why -R is wrong, or was he under the incorrect
assumption that klibc.so is an ELF shared library (it's not, it's a
straight-up ELF binary)?
-R is documented as:
-R filename
--just-symbols=filename
Read symbol names and their addresses from filename, but
do not relocate it or include it in the output.
This allows your output file to refer symbolically to
absolute locations of memory defined in other programs.
You may use this option more than once.
This is *exactly* what klibc needs, so unless someone can explain *why*
this is wrong I suspect that they haven't understood the problem...
-hpa
More information about the klibc
mailing list