[parisc-linux] Get rid of %r8 linker stubs

Ulrich Drepper drepper@redhat.com
04 Jul 2000 17:57:41 -0700

Alan Modra <alan@linuxcare.com.au> writes:

> The trouble is that _init is a single function that's been split in two
> (see glibc/csu/Makefile crti,crtn), thus the linker thinks it's quite OK
> to insert a stub at the start of the second section.  I'll have to do
> something special with the .init section to work around this problem.

Simply create an appropriate initfini.c file for HP/UX.  Look in the
current glibc sources and you'll see that we already do this for SH.

---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------