CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]        2019/10/19 21:44:49

Modified files:
        libexec/ld.so  : Makefile boot.c 
        libexec/ld.so/aarch64: Makefile.inc 
        libexec/ld.so/alpha: Makefile.inc 
        libexec/ld.so/amd64: Makefile.inc 
        libexec/ld.so/arm: Makefile.inc 
        libexec/ld.so/hppa: Makefile.inc 
        libexec/ld.so/i386: Makefile.inc 
        libexec/ld.so/m88k: Makefile.inc 
        libexec/ld.so/mips64: Makefile.inc 
        libexec/ld.so/powerpc: Makefile.inc 
        libexec/ld.so/sh: Makefile.inc 
        libexec/ld.so/sparc64: Makefile.inc 
Added files:
        libexec/ld.so/hppa: boot_md.c 
        libexec/ld.so/mips64: boot_md.c 

Log message:
For more archs, ld.so itself only needs/uses the arch's "just add load offset"
'relative' relocation.  Take advantage of that to simplify ld.so's self-reloc
code:
* give the exceptional archs (hppa and mips64) copies of the current boot.c
as boot_md.c
* teach the Makefile to use boot_md.c when present
* reduce boot.c down to the minimum necessary to handle just relative reloc
* teach the Makefile to fail if the built ld.so has other types of relocs

ok visa@ kettenis@

Reply via email to