aboutsummaryrefslogtreecommitdiff
path: root/binutils/ChangeLog
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 /binutils/ChangeLog
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 'binutils/ChangeLog')
-rw-r--r--binutils/ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index b3140a9..ecbe759 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,11 @@
+2019-05-08 Faraz Shahbazker <fshahbazker@wavecomp.com>
+
+ * 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.
+
2019-05-01 Matthew Malcomson <matthew.malcomson@arm.com>
* testsuite/binutils-all/objdump.exp: Correct executable