[parisc-linux] elflink.h (elf_bfd_final_link)
Richard Hirst
rhirst@linuxcare.com
Mon, 28 May 2001 14:51:09 +0100
On Mon, May 28, 2001 at 06:46:53PM +0930, amodra@one.net.au wrote:
> Not calling elf_link_output_extsym has the effect that the back-end
> finish_dynamic_symbol routine isn't called, which means various hacks
> are needed like the following:
I built a new binutils from pehc:~amodra/binutils-current, which has
this patch, and it produces a working find and make.
So, we need a new binutils, and a check for more broken binaries.
This check seems to do it, someone can roll it in to plt-checker.
for i in /bin/* /sbin/* /usr/bin/* /usr/sbin/*; do if readelf -r $i 2> /dev/null | grep -q R_PARISC_NONE; then echo ===== $i =====; fi; done
Things I know have a problem are find, make, modutils. libmagick++5
has also been reported. However, I don't have much installed, so
someone need to run the check over the archive, I guess.
I still have an issue with the binaries produced from a modutils
build though (e.g depmod), which still have a R_PARISC_NONE in
them. I've tar-ed up my build tree, as pehc:~rhirst/modutilsbug.tgz
The libc, etc are as per the ones in findbug.tgz. The binaries do
seem to work, but Alan says R_PARISC_NONE is indicative of a linker
bug.
Many thanks to Alan for his help!
Richard