aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2loc.c
diff options
context:
space:
mode:
authorFaraz Shahbazker <fshahbazker@wavecomp.com>2019-05-03 18:21:49 -0700
committerFaraz Shahbazker <fshahbazker@wavecomp.com>2019-05-08 09:07:35 -0700
commit2379f9c475505ecedc97607b39af7184bd67aa88 (patch)
tree1640b839f8c2c2ceedb7d53225b8b6e30c16e2ce /gdb/dwarf2loc.c
parent46752c37b06c83a8cbf6be887beac4092d5e3505 (diff)
downloadgdb-2379f9c475505ecedc97607b39af7184bd67aa88.zip
gdb-2379f9c475505ecedc97607b39af7184bd67aa88.tar.gz
gdb-2379f9c475505ecedc97607b39af7184bd67aa88.tar.bz2
Sign-extend start and stop address inputs to objdump
For targets that treat addresses as signed (MIPS/SH64), user-specified start/stop address limits cannot be compared directly to section VMAs. We must sign-extend user-specified 32-bit address limits which have bit 31 set for such targets. binutils/ * objdump.c (sign_extend_address): New function. (dump_bfd): Sign-extend user-specified start/stop addresses for targets that need it. * testsuite/binutils-all/objdump.exp: Add tests for objdump with start and stop addresses in higher address ranges.
Diffstat (limited to 'gdb/dwarf2loc.c')
0 files changed, 0 insertions, 0 deletions