diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2016-06-16 05:52:34 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2016-06-16 05:52:34 -0700 |
commit | 081b1afe5a8cfa02bf3b3cdefb80c266705c17d1 (patch) | |
tree | 6c6ff3dec59dc5748448b89a0861023f45debdf8 /bfd/elf64-s390.c | |
parent | 4c23f2ffa8fbd467bca51956130a1f30cfe34371 (diff) | |
download | gdb-081b1afe5a8cfa02bf3b3cdefb80c266705c17d1.zip gdb-081b1afe5a8cfa02bf3b3cdefb80c266705c17d1.tar.gz gdb-081b1afe5a8cfa02bf3b3cdefb80c266705c17d1.tar.bz2 |
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.
Diffstat (limited to 'bfd/elf64-s390.c')
0 files changed, 0 insertions, 0 deletions