This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PATCH: Print addend as signed in objdump
On Thu, May 17, 2012 at 09:38:00AM -0700, H.J. Lu wrote:
> I checked in a fix to pdate testsuite. But it is hard to tell if I missed
> anything since testsuite on some tarrgets isn't clean.
Only one, I think.
* ld-tic6x/mvk-reloc-local-r.d: Adjust for signed addend.
* ld-tic6x/unwind-6.d: Typo fix.
Index: ld/testsuite/ld-tic6x/mvk-reloc-local-r.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-tic6x/mvk-reloc-local-r.d,v
retrieving revision 1.1
diff -u -p -r1.1 mvk-reloc-local-r.d
--- ld/testsuite/ld-tic6x/mvk-reloc-local-r.d 25 Mar 2010 21:12:34 -0000 1.1
+++ ld/testsuite/ld-tic6x/mvk-reloc-local-r.d 18 May 2012 05:19:13 -0000
@@ -23,5 +23,5 @@ Disassembly of section \.text:
[ \t]*24:[ \t]+01000028[ \t]+mvk \.S1 0,a2
[ \t]*24: R_C6000_ABS_L16[ \t]+\.data\+0x10
[ \t]*28:[ \t]+01800068[ \t]+mvkh \.S1 0,a3
-[ \t]*28: R_C6000_ABS_H16[ \t]+\.data\+0xffffff14
+[ \t]*28: R_C6000_ABS_H16[ \t]+\.data-0xec
[ \t]*\.\.\.
Index: ld/testsuite/ld-tic6x/unwind-6.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-tic6x/unwind-6.d,v
retrieving revision 1.1
diff -u -p -r1.1 unwind-6.d
--- ld/testsuite/ld-tic6x/unwind-6.d 9 May 2011 13:23:27 -0000 1.1
+++ ld/testsuite/ld-tic6x/unwind-6.d 18 May 2012 05:19:13 -0000
@@ -1,5 +1,5 @@
#ld: -T unwind.ld
-#source unwind-4.s
+#source: unwind-4.s
#as: -mgenerate-rel
#objdump: -s
--
Alan Modra
Australia Development Lab, IBM