aboutsummaryrefslogtreecommitdiff
path: root/COPYING.NEWLIB
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-07-23 21:52:04 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-07-23 21:52:04 +0000
commitd5cff5df74b18e1e5ed94de8f4c9adee3ffd95c6 (patch)
tree8782f8fc13c539af97b0b785f1a070243a1c6c74 /COPYING.NEWLIB
parentcc12ce380e8dab7e3cee8ecad29db6e9bb36a8fa (diff)
downloadgdb-d5cff5df74b18e1e5ed94de8f4c9adee3ffd95c6.zip
gdb-d5cff5df74b18e1e5ed94de8f4c9adee3ffd95c6.tar.gz
gdb-d5cff5df74b18e1e5ed94de8f4c9adee3ffd95c6.tar.bz2
Fix DT_MIPS_RLD_MAP_REL tag for n64 target and 32-bit host.
For the case of MIPS n64 target and 32-bit host, the computation of the DT_MIPS_RLD_MAP_REL tag involves sdyn->output_section->vma + sdyn->output_offset (64-bit) being added to b (32-bit host pointer), so losing the high part and resulting in an incorrect DT_MIPS_RLD_MAP_REL tag, and all dynamically linked glibc tests failing for n64. This patch fixes this (spot-tested with glibc tests; however, I don't have a self-contained testcase for this bug). * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections) <DT_MIPS_RLD_MAP_REL>: Add target address to host address difference, not to host pointer.
Diffstat (limited to 'COPYING.NEWLIB')
0 files changed, 0 insertions, 0 deletions