aboutsummaryrefslogtreecommitdiff
path: root/gdb/python
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2016-05-20 06:01:28 -0700
committerH.J. Lu <hjl.tools@gmail.com>2016-05-20 06:01:28 -0700
commit4e21640f674499048157fa62f08b16f6039f78f6 (patch)
tree27085915ea4a643164975a5d4837d325a5532b56 /gdb/python
parent17c6c9d9f3e71459edb4b6af5ec75125f0d06f87 (diff)
downloadgdb-4e21640f674499048157fa62f08b16f6039f78f6.zip
gdb-4e21640f674499048157fa62f08b16f6039f78f6.tar.gz
gdb-4e21640f674499048157fa62f08b16f6039f78f6.tar.bz2
Preserve addend for R_386_GOT32 and R_X86_64_GOT32
We should preserve addend for R_386_GOT32 and R_X86_64_GOT32 as in "movl $foo@GOT + 4, %eax" and "movq $foo@GOT + 4, %rax". PR gas/19600 * config/tc-i386.c (md_apply_fix): Preserve addend for BFD_RELOC_386_GOT32 and BFD_RELOC_X86_64_GOT32. * testsuite/gas/i386/addend.d: New file. * testsuite/gas/i386/addend.s: Likewise. * testsuite/gas/i386/x86-64-addend.d: Likewise. * testsuite/gas/i386/x86-64-addend.s: Likewise. * testsuite/gas/i386/i386.exp: Run addend and x86-64-addend. * testsuite/gas/i386/reloc32.d: Updated.
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions