mirror of
git://sourceware.org/git/glibc.git
synced 2025-02-05 12:40:55 +08:00
Reject SHN_UNDEF defns iff NOPLT is nonzero. * elf/link.h (_dl_lookup_symbol): Update prototype and comment. * elf/dl-runtime.c (fixup): Pass 1 to _dl_lookup_symbol for NOPLT. * elf/dlsym.c (dlsym): Pass 0. * elf/rtld.c (dl_main): Likewise. * elf/dl-reloc.c (_dl_relocate_object: resolve): Second arg R_OFFSET replaced with NOPLT flag. Pass it through to _dl_lookup_symbol. * elf/do-rel.h (elf_dynamic_do_rel): Update prototype of RESOLVE arg. Pass `elf_machine_pltrel_p (R->r_type)' result as NOPLT flag value. * sysdeps/i386/dl-machine.h (elf_machine_pltrel_p): New macro. * sysdeps/m68k/dl-machine.h (elf_machine_pltrel_p): Likewise. * sysdeps/stub/dl-machine.h (elf_machine_pltrel_p): Likewise. |
||
---|---|---|
.. | ||
alpha | ||
am29k | ||
generic | ||
gnu | ||
hppa | ||
i386 | ||
i860 | ||
i960 | ||
ieee754 | ||
libm-i387 | ||
libm-ieee754 | ||
m68k | ||
m88k | ||
mach | ||
mips | ||
posix | ||
rs6000 | ||
sparc | ||
standalone | ||
stub | ||
tahoe | ||
unix | ||
vax | ||
z8000 |