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 AIX]: Adjust gas baselines


Hi,

there are currently two failures in gas testsuite.

The first one is all/fwdexp.d. objdump generates this output which looks good, but not handled by fwdexp.d:

testsuite/dump.o:     file format aixcoff-rs6000

RELOCATION RECORDS FOR [.text]:
OFFSET   TYPE              VALUE 
00000000 R_POS             .data-0x00000008


Contents of section .text:
 0000 00000004                             ....          

The second one is ppc/test1xcoff32.d, which hasn't been updated after a recent change in the output of negative numbers.

Ok for trunk ?

Tristan.

gas/testsuite:
2012-11-23  Tristan Gingold  <gingold@adacore.com>

	* gas/ppc/test1xcoff32.d: Updated.
	* gas/all/fwdexp.d: Adjusted for AIX.

diff --git a/gas/testsuite/gas/all/fwdexp.d b/gas/testsuite/gas/all/fwdexp.d
index 5c16ea9..eee91c0 100644
--- a/gas/testsuite/gas/all/fwdexp.d
+++ b/gas/testsuite/gas/all/fwdexp.d
@@ -8,4 +8,4 @@ OFFSET +TYPE +VALUE
 0+ .*(\.data|i)(|\+0xf+e|\+0xf+c|\+0xf+8|-0x0*2|-0x0*4|-0x0*8)
 
 Contents of section .*
- 0+ (0+|feff|fffe|fcffffff|fffffffc|f8ffffff|f8ffffff ffffffff|ffffffff fffffff
+ 0+ (0+|feff|fffe|fcffffff|fffffffc|f8ffffff|f8ffffff ffffffff|ffffffff fffffff
diff --git a/gas/testsuite/gas/ppc/test1xcoff32.d b/gas/testsuite/gas/ppc/test1x
index 75e93a8..2f8f502 100644
--- a/gas/testsuite/gas/ppc/test1xcoff32.d
+++ b/gas/testsuite/gas/ppc/test1xcoff32.d
@@ -79,17 +79,17 @@ Disassembly of section \.text:
 
 0+0028 <reference_via_toc>:
   28:  80 62 00 00     l       r3,0\(r2\)
-                       2a: R_TOC       ignored0\+0xf+ff8c
+                       2a: R_TOC       ignored0-0x74
   2c:  80 62 00 04     l       r3,4\(r2\)
-                       2e: R_TOC       ignored1\+0xf+ff88
+                       2e: R_TOC       ignored1-0x78
   30:  80 62 00 08     l       r3,8\(r2\)
-                       32: R_TOC       ignored2\+0xf+ff84
+                       32: R_TOC       ignored2-0x7c
   34:  80 62 00 0c     l       r3,12\(r2\)
-                       36: R_TOC       ignored3\+0xf+ff80
+                       36: R_TOC       ignored3-0x80
   38:  80 62 00 10     l       r3,16\(r2\)
-                       3a: R_TOC       ignored4\+0xf+ff7c
+                       3a: R_TOC       ignored4-0x84
   3c:  80 62 00 14     l       r3,20\(r2\)
-                       3e: R_TOC       ignored5\+0xf+ff78
+                       3e: R_TOC       ignored5-0x88
 
 0+0040 <subtract_symbols>:
   40:  38 60 00 04     lil     r3,4
@@ -104,7 +104,7 @@ Disassembly of section \.text:
   5c:  38 60 00 00     lil     r3,0
   60:  38 60 00 04     lil     r3,4
   64:  38 62 00 18     cal     r3,24\(r2\)
-                       66: R_TOC       ignored6\+0xf+ff74
+                       66: R_TOC       ignored6-0x8c
 Disassembly of section \.data:
 
 0+0068 <TOC-0xc>:
@@ -114,19 +114,19 @@ Disassembly of section \.data:
 
 0+0074 <TOC>:
   74:  00 00 00 68     \.long 0x68
-                       74: R_POS       \.data\+0xf+ff98
+                       74: R_POS       \.data-0x68
 
 0+0078 <ignored1>:
   78:  00 00 00 6c     \.long 0x6c
-                       78: R_POS       \.data\+0xf+ff98
+                       78: R_POS       \.data-0x68
 
 0+007c <ignored2>:
   7c:  00 00 00 6c     \.long 0x6c
-                       7c: R_POS       \.data\+0xf+ff98
+                       7c: R_POS       \.data-0x68
 
 0+0080 <ignored3>:
   80:  00 00 00 70     \.long 0x70
-                       80: R_POS       \.data\+0xf+ff98
+                       80: R_POS       \.data-0x68
 
 0+0084 <ignored4>:
   84:  00 00 00 00     \.long 0x0


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