aboutsummaryrefslogtreecommitdiff
path: root/include/coff/ia64.h
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2011-12-19 04:36:29 +0000
committerJoel Brobecker <brobecker@gnat.com>2011-12-19 04:36:29 +0000
commit828cfa8d0b07fdae7502ee975092a46db4436f5b (patch)
tree57cc69bafab7c5615e57680bb8d40daca667e014 /include/coff/ia64.h
parent96987c2b7f27be4aa28c08815bebcf1a831b99c4 (diff)
downloadfsf-binutils-gdb-828cfa8d0b07fdae7502ee975092a46db4436f5b.zip
fsf-binutils-gdb-828cfa8d0b07fdae7502ee975092a46db4436f5b.tar.gz
fsf-binutils-gdb-828cfa8d0b07fdae7502ee975092a46db4436f5b.tar.bz2
try ignoring bad PLT entries in ELF symbol tables
Comment says it all: /* On ia64-hpux, we have discovered that the system linker adds undefined symbols with nonzero addresses that cannot be right (their address points inside the code of another function in the .text section). This creates problems when trying to determine which symbol corresponds to a given address. We try to detect those buggy symbols by checking which section we think they correspond to. Normally, PLT symbols are stored inside their own section, and the typical name for that section is ".plt". So, if there is a ".plt" section, and yet the section name of our symbol does not start with ".plt", we ignore that symbol. */ gdb/ChangeLog: * elfread.c (elf_symtab_read): Ignore undefined symbols with nonzero addresses if they do not correspond to a .plt section when one is available in the objfile.
Diffstat (limited to 'include/coff/ia64.h')
0 files changed, 0 insertions, 0 deletions