[21/21] GAS testsuite fix

Richard Sandiford richards@transitive.com
Tue Mar 10 14:53:00 GMT 2009


Finally, a simple testsuite fix.  gas/ppc/textalign-xcoff-001.d and
gas/ppc/textalign-xcoff-002.d expect the data section to have a
particular VMA, but the VMA they're looking for doesn't honour the
section alignment.  This seems wrong, and it got fixed at some time
since the test was added.

The patch updates the testsuite accordingly.  OK to install?

Richard


gas/testsuite/
	* gas/ppc/textalign-xcoff-001.d: Expect the section VMAs to be
	properly aligned.
	* gas/ppc/textalign-xcoff-002.d: Likewise.

Index: gas/testsuite/gas/ppc/textalign-xcoff-001.d
===================================================================
--- gas/testsuite/gas/ppc/textalign-xcoff-001.d	2009-03-10 08:58:40.000000000 +0000
+++ gas/testsuite/gas/ppc/textalign-xcoff-001.d	2009-03-10 13:55:09.000000000 +0000
@@ -8,7 +8,7 @@ Sections:
 Idx Name          Size      VMA               LMA               File off  Algn
   0 \.text         00000004  0+0  0+0  000000a8  2\*\*2
                   CONTENTS, ALLOC, LOAD, CODE
-  1 \.data         00000008  0+04  0+04  000000ac  2\*\*3
+  1 \.data         00000008  0+08  0+08  000000ac  2\*\*3
                   CONTENTS, ALLOC, LOAD, RELOC, DATA
-  2 \.bss          00000000  0+0c  0+0c  00000000  2\*\*3
+  2 \.bss          00000000  0+10  0+10  00000000  2\*\*3
                   ALLOC
Index: gas/testsuite/gas/ppc/textalign-xcoff-002.d
===================================================================
--- gas/testsuite/gas/ppc/textalign-xcoff-002.d	2009-03-10 08:58:40.000000000 +0000
+++ gas/testsuite/gas/ppc/textalign-xcoff-002.d	2009-03-10 13:55:09.000000000 +0000
@@ -8,7 +8,7 @@ Sections:
 Idx Name          Size      VMA               LMA               File off  Algn
   0 \.text         00000004  0000000000000000  0000000000000000  000000f0  2\*\*2
                   CONTENTS, ALLOC, LOAD, CODE
-  1 \.data         00000008  0000000000000004  0000000000000004  000000f4  2\*\*3
+  1 \.data         00000008  0000000000000008  0000000000000008  000000f4  2\*\*3
                   CONTENTS, ALLOC, LOAD, RELOC, DATA
-  2 \.bss          00000000  000000000000000c  000000000000000c  00000000  2\*\*3
+  2 \.bss          00000000  0000000000000010  0000000000000010  00000000  2\*\*3
                   ALLOC



More information about the Binutils mailing list