diff options
author | Alan Modra <amodra@gmail.com> | 2013-02-22 23:24:24 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2013-02-22 23:24:24 +0000 |
commit | 24c274a1338fdc8295f85a2a4854cfa80a1712da (patch) | |
tree | 2bbaead54100b14c77a006507f57cb4390b06221 /gdb/ppc-linux-tdep.c | |
parent | d38b600c90d85858c10a397e905219646f22ab5b (diff) | |
download | gdb-24c274a1338fdc8295f85a2a4854cfa80a1712da.zip gdb-24c274a1338fdc8295f85a2a4854cfa80a1712da.tar.gz gdb-24c274a1338fdc8295f85a2a4854cfa80a1712da.tar.bz2 |
* elfread.c (elf_symtab_read): Do not use udata.p here to find
symbol size.
* ppc64-tdep.c (ppc64_elf_make_msymbol_special): New function.
* ppc64-tdep.h (ppc64_elf_make_msymbol_special): Declare.
* ppc-linux-tdep.c (ppc_linux_init_abi): Set up to use the above.
* ppcfbsd-tdep.c (ppcfbsd_init_abi): Likewise.
Diffstat (limited to 'gdb/ppc-linux-tdep.c')
-rw-r--r-- | gdb/ppc-linux-tdep.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/ppc-linux-tdep.c b/gdb/ppc-linux-tdep.c index 7c2712d..0fc6fe0 100644 --- a/gdb/ppc-linux-tdep.c +++ b/gdb/ppc-linux-tdep.c @@ -1336,6 +1336,9 @@ ppc_linux_init_abi (struct gdbarch_info info, set_gdbarch_convert_from_func_ptr_addr (gdbarch, ppc64_convert_from_func_ptr_addr); + set_gdbarch_elf_make_msymbol_special (gdbarch, + ppc64_elf_make_msymbol_special); + /* Shared library handling. */ set_gdbarch_skip_trampoline_code (gdbarch, ppc64_skip_trampoline_code); set_solib_svr4_fetch_link_map_offsets |