[patch gas]: Testsuite patch for cfi

Kai Tietz ktietz70@googlemail.com
Wed Feb 9 18:42:00 GMT 2011


Hello,

as x64 PE+ uses different return address column value (actual 32 due
different callee saved register), the test about cfi for x86_64 needs
to be adjusted.

2011-02-09  Kai Tietz

	* testsuite/gas/cfi/cfi-x86_64.d: Adjust for x64 PE+.

Tested for x86_64-pc-linux-gnu and x86_64-w64-mingw32. Ok for apply?

Regards,
Kai
-------------- next part --------------
Index: testsuite/gas/cfi/cfi-x86_64.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cfi/cfi-x86_64.d,v
retrieving revision 1.14
diff -u -3 -r1.14 cfi-x86_64.d
--- testsuite/gas/cfi/cfi-x86_64.d	2 Sep 2010 22:43:46 -0000	1.14
+++ testsuite/gas/cfi/cfi-x86_64.d	9 Feb 2011 18:37:03 -0000
@@ -8,11 +8,11 @@
   Augmentation:          "zR"
   Code alignment factor: 1
   Data alignment factor: -8
-  Return address column: 16
+  Return address column: (16|32)
   Augmentation data:     1b
 
   DW_CFA_def_cfa: r7 \(rsp\) ofs 8
-  DW_CFA_offset: r16 \(rip\) at cfa-8
+  DW_CFA_offset: (r16 \(rip\)|r32 \(xmm15\)) at cfa-8
   DW_CFA_nop
   DW_CFA_nop
 
@@ -56,7 +56,7 @@
   Augmentation:          "zR"
   Code alignment factor: 1
   Data alignment factor: -8
-  Return address column: 16
+  Return address column: (16|32)
   Augmentation data:     1b
 
   DW_CFA_def_cfa: r7 \(rsp\) ofs 8
@@ -89,7 +89,7 @@
   Augmentation:          "zR"
   Code alignment factor: 1
   Data alignment factor: -8
-  Return address column: 16
+  Return address column: (16|32)
   Augmentation data:     1b
 
   DW_CFA_undefined: r16 \(rip\)


More information about the Binutils mailing list