This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Skip relocations in non-loaded, non-alloced sections
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Thu, 16 Jun 2016 09:10:15 -0400
- Subject: [binutils-gdb] Skip relocations in non-loaded, non-alloced sections
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 081b1afe5a8cfa02bf3b3cdefb80c266705c17d1 ***
Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 081b1afe5a8cfa02bf3b3cdefb80c266705c17d1
Skip relocations in non-loaded, non-alloced sections
Don't do anything special with non-loaded, non-alloced sections.
In particular, any relocs in such sections should not affect GOT
and PLT reference counting (ie. we don't allow them to create GOT
or PLT entries), there's no possibility or desire to optimize TLS
relocs, and there's not much point in propagating relocs to shared
libs that the dynamic linker won't relocate.
* elf32-i386.c (elf_i386_check_relocs): Skip relocations in
non-loaded, non-alloced sections.
* elf64-x86-64.c (elf_x86_64_check_relocs): Likewise.