]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Assorted x86 testsuite fixes.
authorAlan Modra <amodra@gmail.com>
Sat, 2 Nov 2013 05:01:16 +0000 (15:31 +1030)
committerAlan Modra <amodra@gmail.com>
Sat, 2 Nov 2013 05:01:16 +0000 (15:31 +1030)
I think HJ has already fixed the binutils and ld tests with his
2013-09-27 readelf change, but this allows them to pass with wider
address output as per Nick's 2013-09-12 readelf change.

binutils/testsuite/
* binutils-all/x86-64/compressed-1a.d: Allow wide display of addresses.
gas/testsuite/
* gas/cfi/cfi-x86_64.d: Match when lacking end of section padding.
ld/testsuite/
* ld-pe/cfi.d: Allow wide display of addresses.

binutils/testsuite/ChangeLog
binutils/testsuite/binutils-all/x86-64/compressed-1a.d
gas/testsuite/ChangeLog
gas/testsuite/gas/cfi/cfi-x86_64.d
ld/testsuite/ChangeLog
ld/testsuite/ld-pe/cfi.d

index e11fbe1604125f226dc1c16849bb68a25bbdd9d2..94f0ce4efc950cc024ed03cba0e29341e38ea6b3 100644 (file)
@@ -1,5 +1,7 @@
 2013-11-02  Alan Modra  <amodra@gmail.com>
 
+       * binutils-all/x86-64/compressed-1a.d: Allow wide display of addresses.
+
        * binutils-all/dw2-1.S: Use .4byte rather than .int.
        * binutils-all/dw2-2.S: Likewise.
 
index f1e4bbcd88f88508d70f469b50adeae899a6df72..19471ab629a4ba714701108cbde17e4c0f0d81f1 100644 (file)
@@ -135,7 +135,7 @@ Contents of the .[z]?debug_str section:
 
 Contents of the .[z]?debug_frame section:
 
-00000000 0+014 ffffffff CIE
+0+ 0+14 0*ffffffff CIE
   Version:               1
   Augmentation:          ""
   Code alignment factor: 1
@@ -151,7 +151,7 @@ Contents of the .[z]?debug_frame section:
   DW_CFA_nop
   DW_CFA_nop
 
-00000018 0+014 00000000 FDE cie=00000000 pc=0+0000..0+0002
+0+18 0+14 0+ FDE cie=0+ pc=0+..0+2
 
-00000030 0+014 00000000 FDE cie=00000000 pc=0+0010..0+0015
+0+30 0+14 0+ FDE cie=0+ pc=0+10..0+15
 
index f7cd11975fc0682bc26159e90ad7856089720ed3..9694b8afab3558f3123c1d2d1b229f875769df4c 100644 (file)
@@ -1,3 +1,7 @@
+2013-11-02  Alan Modra  <amodra@gmail.com>
+
+       * gas/cfi/cfi-x86_64.d: Match when lacking end of section padding.
+
 2013-10-29  Jan Beulich <jbeulich@suse.com>
 
        * gas/microblaze/relax_size.elf: Drop expectation of no longer
 
 2013-05-31  Catherine Moore  <clm@codesourcery.com>
 
-       gas/testsuite/
        * gas/mips/ehword.d: New.
        * gas/mips/ehword.s: New.
        * gas/mips/mips.exp: Run ehword test.
index 592416aee4b1f243adaaaa74831a9c39fdbf4c0f..900a5e5248f1105282a809da5a450eaf0d355f9e 100644 (file)
@@ -269,8 +269,4 @@ Contents of the .eh_frame section:
   DW_CFA_advance_loc: 1 to 0+00ae
   DW_CFA_undefined: r125 \(k7\)
   DW_CFA_nop
-  DW_CFA_nop
-  DW_CFA_nop
-  DW_CFA_nop
-  DW_CFA_nop
 #pass
index cacaeaab6e017307e06f6eae7838a47b6bc43812..369333aced6b9b989d0945212158377525329043 100644 (file)
@@ -1,3 +1,7 @@
+2013-11-02  Alan Modra  <amodra@gmail.com>
+
+       * ld-pe/cfi.d: Allow wide display of addresses.
+
 2013-11-01  Roland McGrath  <mcgrathr@google.com>
 
        * ld-x86-64/plt-nacl.pd: Update expected disassembly for PLT nop fix.
index 6c5042bdd8befe26afcaad2f4e4c5235327e79fc..55ebaca1aef325dd7e622275e4c6c016fa5f47fe 100644 (file)
@@ -4,7 +4,7 @@
 #objdump: -Wf
 
 #...
-00000004 00000014 ffffffff CIE
+0+4 0+14 0*ffffffff CIE
   Version:               1
   Augmentation:          ""
   Code alignment factor: 1
   DW_CFA_nop
   DW_CFA_nop
 
-0000001c 00000024 00000004 FDE cie=00000004 pc=.*
+0+1c 0+24 0+4 FDE cie=0+4 pc=.*
   DW_CFA_advance_loc: 4 to .*
   DW_CFA_def_cfa_offset: 16
   DW_CFA_offset: r6 \(rbp\) at cfa\-16
   DW_CFA_advance_loc: 4 to .*
-^  DW_CFA_def_cfa: r7 \(rsp\) ofs 8
+  DW_CFA_def_cfa: r7 \(rsp\) ofs 8
   DW_CFA_restore: r6 \(rbp\)
   DW_CFA_nop
   DW_CFA_nop