freebsd-skq/stand
John Baldwin 15746ef43a Ignore relocation tables for non-memory-resident sections.
As a followup to r328101, ignore relocation tables for ELF object
sections that are not memory resident.  For modules loaded by the
loader, ignore relocation tables whose associated section was not
loaded by the loader (sh_addr is zero).  For modules loaded at runtime
via kldload(2), ignore relocation tables whose associated section is
not marked with SHF_ALLOC.

Reported by:	Mori Hiroki <yamori813@yahoo.co.jp>, adrian
Tested on:	mips, mips64
MFC after:	1 month
Sponsored by:	DARPA / AFRL
2018-02-05 23:35:33 +00:00
..
arm Invent new LDR_INTERP for the loader interpreter to use. Use this in 2018-02-02 15:40:49 +00:00
arm64
common Ignore relocation tables for non-memory-resident sections. 2018-02-05 23:35:33 +00:00
efi Remove now-unused variable after r328809 2018-02-04 17:31:50 +00:00
fdt Centralize several variables. 2018-02-02 06:32:26 +00:00
ficl Centralize several variables. 2018-02-02 06:32:26 +00:00
ficl32
forth Remove pcibios forth support. 2018-02-02 15:01:49 +00:00
geli Centralize several variables. 2018-02-02 06:32:26 +00:00
i386 Invent new LDR_INTERP for the loader interpreter to use. Use this in 2018-02-02 15:40:49 +00:00
kshim
libsa Implement strcoll as strcmp. 2018-02-02 21:18:32 +00:00
libsa32
man
mips Invent new LDR_INTERP for the loader interpreter to use. Use this in 2018-02-02 15:40:49 +00:00
ofw Fix regression introduced in r328806, preventing boot at least on all 2018-02-03 23:49:21 +00:00
powerpc Fix regression introduced in r328806, preventing boot at least on all 2018-02-03 23:49:21 +00:00
sparc64 Invent new LDR_INTERP for the loader interpreter to use. Use this in 2018-02-02 15:40:49 +00:00
uboot Centralize several variables. 2018-02-02 06:32:26 +00:00
usb Centralize several variables. 2018-02-02 06:32:26 +00:00
userboot Invent new LDR_INTERP for the loader interpreter to use. Use this in 2018-02-02 15:40:49 +00:00
zfs Centralize several variables. 2018-02-02 06:32:26 +00:00
zfs32
defs.mk Centralize several variables. 2018-02-02 06:32:26 +00:00
fdt.mk
ficl.mk Now that we no longer conditionally compile some files outside of ficl 2018-02-02 15:01:54 +00:00
loader.mk Invent new LDR_INTERP for the loader interpreter to use. Use this in 2018-02-02 15:40:49 +00:00
Makefile
Makefile.amd64 Switch to proper MK_LOADER_GELI tests. 2017-12-04 01:14:12 +00:00
Makefile.arm
Makefile.arm64
Makefile.i386 Switch to proper MK_LOADER_GELI tests. 2017-12-04 01:14:12 +00:00
Makefile.inc Minor flags cleanup 2017-12-02 00:06:58 +00:00
Makefile.mips
Makefile.powerpc
Makefile.sparc64
uboot.mk