aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python/py-objfile-script-gdb.py
diff options
context:
space:
mode:
authorcailulu <cailulu@loongson.cn>2023-09-01 11:09:00 +0800
committerliuzhensong <liuzhensong@loongson.cn>2023-09-07 19:45:52 +0800
commitecb802d02eeb8040ce26b89ec7a2445c4b86e646 (patch)
tree06c71365faf239c58971130c6aa634a0d91cbec0 /gdb/testsuite/gdb.python/py-objfile-script-gdb.py
parent6de11ff67a925a496319d25dee0bea58427aacf6 (diff)
downloadbinutils-ecb802d02eeb8040ce26b89ec7a2445c4b86e646.zip
binutils-ecb802d02eeb8040ce26b89ec7a2445c4b86e646.tar.gz
binutils-ecb802d02eeb8040ce26b89ec7a2445c4b86e646.tar.bz2
Use 32/64_PCREL to replace a pair of ADD32/64 and SUB32/64.
Subtraction for labels that require static relocation usually generates ADD32/64 and SUB32/64. If subsy of BFD_RELOC_32/64 and PC in same segment, and disable relax or PC at start of subsy or enable relax but not in SEC_CODE, we generate 32/64_PCREL to replace a pair of ADD32/64 and SUB32/64.
Diffstat (limited to 'gdb/testsuite/gdb.python/py-objfile-script-gdb.py')
0 files changed, 0 insertions, 0 deletions