OpenBSD/src 6SW0NlQ — libexec/ld.so boot.c Makefile, libexec/ld.so/aarch64 Makefile.inc
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@
Version | Delta | File | |
---|---|---|---|
1.1 | +187 | -0 | libexec/ld.so/hppa/boot_md.c |
1.1 | +187 | -0 | libexec/ld.so/mips64/boot_md.c |
1.18 | +17 | -83 | libexec/ld.so/boot.c |
1.77 | +19 | -3 | libexec/ld.so/Makefile |
1.4 | +16 | -1 | libexec/ld.so/hppa/Makefile.inc |
1.6 | +9 | -1 | libexec/ld.so/mips64/Makefile.inc |
1.4 | +3 | -1 | libexec/ld.so/alpha/Makefile.inc |
1.2 | +3 | -1 | libexec/ld.so/i386/Makefile.inc |
1.3 | +3 | -1 | libexec/ld.so/m88k/Makefile.inc |
1.6 | +3 | -1 | libexec/ld.so/aarch64/Makefile.inc |
1.5 | +3 | -1 | libexec/ld.so/powerpc/Makefile.inc |
1.9 | +3 | -1 | libexec/ld.so/sh/Makefile.inc |
1.7 | +3 | -1 | libexec/ld.so/amd64/Makefile.inc |
1.3 | +3 | -1 | libexec/ld.so/sparc64/Makefile.inc |
1.8 | +3 | -1 | libexec/ld.so/arm/Makefile.inc |
+462 | -97 | 15 files |