freebsd-dev/stand/common
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
..
bcache.c
boot.c Fix some resource leaks. 2018-01-23 18:01:17 +00:00
bootstrap.h Break out the interpreters (simple and forth) w/o ifdefs. This is 2018-01-31 22:46:05 +00:00
commands.c Don't leak memory when displaying help. 2018-01-23 18:01:27 +00:00
console.c
dev_net.c
dev_net.h
devopen.c
disk.c
disk.h
help.common
install.c Break out the interpreters (simple and forth) w/o ifdefs. This is 2018-01-31 22:46:05 +00:00
interp_backslash.c Const poison a couple of interfaces. 2017-12-08 19:57:11 +00:00
interp_forth.c Break out the interpreters (simple and forth) w/o ifdefs. This is 2018-01-31 22:46:05 +00:00
interp_parse.c Const poison a couple of interfaces. 2017-12-08 19:57:11 +00:00
interp_simple.c Break out the interpreters (simple and forth) w/o ifdefs. This is 2018-01-31 22:46:05 +00:00
interp.c Break out the interpreters (simple and forth) w/o ifdefs. This is 2018-01-31 22:46:05 +00:00
isapnp.c
isapnp.h
load_elf32_obj.c
load_elf32.c
load_elf64_obj.c
load_elf64.c
load_elf_obj.c Ignore relocation tables for non-memory-resident sections. 2018-02-05 23:35:33 +00:00
load_elf.c Make cross-endian loader changes apply only to powerpc 2018-02-03 01:23:48 +00:00
ls.c
Makefile.depend
md.c
merge_help.awk
misc.c There's no tainted data here, tag it as such to avoid the slew of 2018-01-23 18:01:40 +00:00
module.c
newvers.sh
part.c
part.h
paths.h
pnp.c Retire pnp.4th and the code needed only for 4th words used here. 2018-02-02 15:01:33 +00:00
rbx.h
reloc_elf32.c
reloc_elf64.c
reloc_elf.c Skip IRELATIVE relocations when loader processes ELF files. 2018-01-11 13:57:30 +00:00
self_reloc.c