This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch gas]: Adjust testsuite failures in cfi for cygwin/mingw targets


Hello,

ChangeLog for gas/testsuite

2010-10-03  Kai Tietz

        * gas/cfi/cfi-i386.d: Use objdump -Wf instead of readelf.
        * gas/cfi/cfi-i386.s: Remove .type directives.
        * gas/cfi/reloc-pe-i386.d: Adjust test for i386.

Tested for x86_64-w64-mingw32, i686-pc-cygwin, and i686-w64-mingw32. Ok 
for apply?

Regards,
 i.A. Kai Tietz

|  (\_/)  This is Bunny. Copy and paste Bunny
| (='.'=) into your signature to help him gain
| (")_(") world domination.

Index: cfi-i386.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cfi/cfi-i386.d,v
retrieving revision 1.11
diff -u -3 -r1.11 cfi-i386.d
--- cfi-i386.d  6 Oct 2008 16:27:34 -0000       1.11
+++ cfi-i386.d  3 Sep 2010 12:00:55 -0000
@@ -1,5 +1,6 @@
-#readelf: -wf
+#objdump: -Wf
 #name: CFI on i386
+#...
 Contents of the .eh_frame section:
 
 00000000 00000014 00000000 CIE
Index: cfi-i386.s
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cfi/cfi-i386.s,v
retrieving revision 1.4
diff -u -3 -r1.4 cfi-i386.s
--- cfi-i386.s  1 Aug 2008 14:21:28 -0000       1.4
+++ cfi-i386.s  3 Sep 2010 12:00:55 -0000
@@ -4,7 +4,6 @@
 #; - function with a space on the stack 
 #;   allocated for local variables
 
-       .type   func_locvars,@function
 func_locvars:
        .cfi_startproc
 
@@ -25,7 +24,6 @@
 #; - functions that begins with standard
 #;   prologue: "pushq %rbp; movq %rsp,%rbp"
 
-       .type   func_prologue,@function
 func_prologue:
        .cfi_startproc
 
@@ -53,7 +51,6 @@
 #;   another register (ebx) and then allocates 
 #;   a space for local variables
 
-       .type   func_otherreg,@function
 func_otherreg:
        .cfi_startproc
 
@@ -78,7 +75,6 @@
 
 #; main
 #; - typical function
-       .type   main,@function
 main:
        .cfi_startproc
 
@@ -93,7 +89,6 @@
 #; _start
 #; - standard entry point
 
-       .type   _start,@function
        .globl  _start
 _start:
        .cfi_startproc
@@ -108,7 +103,6 @@
 #; - test for all .cfi register numbers. 
 #;   This function is never called and the CFI info doesn't make sense.
 
-       .type   func_all_registers,@function
 func_all_registers:
        .cfi_startproc simple
 
Index: reloc-pe-i386.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cfi/reloc-pe-i386.d,v
retrieving revision 1.1
diff -u -3 -r1.1 reloc-pe-i386.d
--- reloc-pe-i386.d     2 Sep 2010 22:44:09 -0000       1.1
+++ reloc-pe-i386.d     3 Sep 2010 12:00:55 -0000
@@ -2,8 +2,8 @@
 #name: reloc-pe-i386
 #...
 RELOCATION RECORDS FOR \[.debug_frame\]:
-OFFSET           TYPE              VALUE 
-000000000000001c secrel32          .debug_frame
-0000000000000020 .* .text
+OFFSET .* TYPE .* VALUE 
+0.* secrel32 .* .debug_frame
+0.* .* .text
 
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]