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]

[committed trunk, 2.20.1 maybe?] Tweak coff section alignment tests for ce targets.


    Hi all,

  I committed the attached tweak to the new coff section alignment tests to
allow them to pass on targets that might have different default section flags;
there's no need to worry about them when what we want to test is alignment.
With this, the tests now pass on arm-mingw32ce and i386-mingw32ce.

gas/testsuite/ChangeLog:

	* gas/pe/section-align-1.d: Don't test section flags.
	* gas/pe/section-align-2.d: Likewise.


  Tristan, this isn't exactly high priority, but if you haven't started the
release yet, shall I put it on the branch too?

    cheers,
      DaveK



Index: gas/testsuite/gas/pe/section-align-1.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/pe/section-align-1.d,v
retrieving revision 1.1
diff -p -u -r1.1 section-align-1.d
--- gas/testsuite/gas/pe/section-align-1.d	27 Jan 2010 22:01:38 -0000	1.1
+++ gas/testsuite/gas/pe/section-align-1.d	28 Jan 2010 18:36:32 -0000
@@ -8,22 +8,22 @@
 Sections:
 Idx Name          *Size      *VMA       *LMA       *File off  *Algn
   0 \.text         0*0000000  0*0000000  0*0000000  0*0000000  2\*\*[24]
-                  ALLOC, LOAD, READONLY, CODE
+.*
   1 \.data         0*0000000  0*0000000  0*0000000  0*0000000  2\*\*[24]
-                  ALLOC, LOAD, DATA
+.*
   2 \.bss          0*0000000  0*0000000  0*0000000  0*0000000  2\*\*[24]
-                  ALLOC
+.*
   3 \.none         0*0000000  0*0000000  0*0000000  0*0000000  2\*\*0
-                  ALLOC, LOAD, READONLY, DATA
+.*
   4 \.zero         0*0000000  0*0000000  0*0000000  0*0000000  2\*\*0
-                  ALLOC, LOAD, READONLY, DATA
+.*
   5 \.one          0*0000001  0*0000000  0*0000000  0*00001a4  2\*\*0
-                  CONTENTS, ALLOC, LOAD, READONLY, DATA
+.*
   6 \.two          0*0000002  0*0000000  0*0000000  0*00001a5  2\*\*0
-                  CONTENTS, ALLOC, LOAD, READONLY, DATA
+.*
   7 \.three        0*0000003  0*0000000  0*0000000  0*00001a7  2\*\*0
-                  CONTENTS, ALLOC, LOAD, READONLY, DATA
+.*
   8 \.four         0*0000004  0*0000000  0*0000000  0*00001aa  2\*\*0
-                  CONTENTS, ALLOC, LOAD, READONLY, DATA
+.*
   9 \.five         0*0000005  0*0000000  0*0000000  0*00001ae  2\*\*0
-                  CONTENTS, ALLOC, LOAD, READONLY, DATA
+.*
Index: gas/testsuite/gas/pe/section-align-3.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/pe/section-align-3.d,v
retrieving revision 1.1
diff -p -u -r1.1 section-align-3.d
--- gas/testsuite/gas/pe/section-align-3.d	27 Jan 2010 22:01:38 -0000	1.1
+++ gas/testsuite/gas/pe/section-align-3.d	28 Jan 2010 18:36:32 -0000
@@ -8,32 +8,32 @@
 Sections:
 Idx Name          *Size      *VMA       *LMA       *File off  *Algn
   0 \.text         0*0000000  0*0000000  0*0000000  0*0000000  2\*\*[24]
-                  ALLOC, LOAD, READONLY, CODE
+.*
   1 \.data         0*0000000  0*0000000  0*0000000  0*0000000  2\*\*[24]
-                  ALLOC, LOAD, DATA
+.*
   2 \.bss          0*0000000  0*0000000  0*0000000  0*0000000  2\*\*[24]
-                  ALLOC
+.*
   3 \.none         0*0000000  0*0000000  0*0000000  0*0000000  2\*\*3
-                  ALLOC, LOAD, READONLY, DATA
+.*
   4 \.zero         0*0000000  0*0000000  0*0000000  0*0000000  2\*\*3
-                  ALLOC, LOAD, READONLY, DATA
+.*
   5 \.one          0*0000008  0*0000000  0*0000000  0*000026c  2\*\*3
-                  CONTENTS, ALLOC, LOAD, READONLY, DATA
+.*
   6 \.two          0*0000008  0*0000000  0*0000000  0*0000274  2\*\*3
-                  CONTENTS, ALLOC, LOAD, READONLY, DATA
+.*
   7 \.three        0*0000008  0*0000000  0*0000000  0*000027c  2\*\*3
-                  CONTENTS, ALLOC, LOAD, READONLY, DATA
+.*
   8 \.four         0*0000008  0*0000000  0*0000000  0*0000284  2\*\*3
-                  CONTENTS, ALLOC, LOAD, READONLY, DATA
+.*
   9 \.five         0*0000008  0*0000000  0*0000000  0*000028c  2\*\*3
-                  CONTENTS, ALLOC, LOAD, READONLY, DATA
+.*
  10 \.six          0*0000008  0*0000000  0*0000000  0*0000294  2\*\*3
-                  CONTENTS, ALLOC, LOAD, READONLY, DATA
+.*
  11 \.seven        0*0000008  0*0000000  0*0000000  0*000029c  2\*\*3
-                  CONTENTS, ALLOC, LOAD, READONLY, DATA
+.*
  12 \.eight        0*0000008  0*0000000  0*0000000  0*00002a4  2\*\*3
-                  CONTENTS, ALLOC, LOAD, READONLY, DATA
+.*
  13 \.nine         0*0000010  0*0000000  0*0000000  0*00002ac  2\*\*3
-                  CONTENTS, ALLOC, LOAD, READONLY, DATA
+.*
  14 \.ten          0*0000010  0*0000000  0*0000000  0*00002bc  2\*\*3
-                  CONTENTS, ALLOC, LOAD, READONLY, DATA
+.*

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