public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Testcases need update
@ 2003-07-25 23:13 H. J. Lu
  2003-07-26 10:22 ` Alan Modra
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: H. J. Lu @ 2003-07-25 23:13 UTC (permalink / raw)
  To: binutils; +Cc: nickc

Hi Nick,

Your change to objdump.c may require testcase updates. I got

./build-alpha-linux/gas/testsuite/gas.log:FAIL: alpha elf-reloc-8
./build-alpha-linux/ld/ld.log:FAIL: TLS -fpic -shared
./build-alpha-linux/ld/ld.log:FAIL: TLS -fpic and -fno-pic exec
./build-alpha-linux/ld/ld.log:FAIL: TLS -fpic and -fno-pic exec -relax
./build-ppc-linux/gas/testsuite/gas.log:FAIL: AltiVec tests
./build-ppc-linux/gas/testsuite/gas.log:FAIL: BookE tests
./build-ppc-linux/gas/testsuite/gas.log:FAIL: e500 tests
./build-ppc-linux/ld/ld.log:FAIL: TLS32 dynamic exec
./build-ppc-linux/ld/ld.log:FAIL: TLS32 shared
./build-ppc64-linux/gas/testsuite/gas.log:FAIL: AltiVec tests
./build-ppc64-linux/gas/testsuite/gas.log:FAIL: BookE tests
./build-ppc64-linux/gas/testsuite/gas.log:FAIL: e500 tests
./build-ppc64-linux/ld/ld.log:FAIL: TLS32 dynamic exec
./build-ppc64-linux/ld/ld.log:FAIL: TLS32 shared
./build-sparc-linux/gas/testsuite/gas.log:FAIL: sparc unaligned relocs
./build-sparc64-linux/gas/testsuite/gas.log:FAIL: sparc unaligned relocs


H.J.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Testcases need update
  2003-07-25 23:13 Testcases need update H. J. Lu
@ 2003-07-26 10:22 ` Alan Modra
  2003-07-29  6:29 ` Nick Clifton
  2003-07-29  7:05 ` Nick Clifton
  2 siblings, 0 replies; 5+ messages in thread
From: Alan Modra @ 2003-07-26 10:22 UTC (permalink / raw)
  To: H. J. Lu; +Cc: binutils, nickc

On Fri, Jul 25, 2003 at 12:11:16PM -0700, H. J. Lu wrote:
> Your change to objdump.c may require testcase updates. I got

I've fixed the ppc ones.

gas/testsuite/ChangeLog
	* gas/ppc/altivec.d: Update.
	* gas/ppc/altivec_xcoff.d: Update.
	* gas/ppc/altivec_xcoff64.d: Update.
	* gas/ppc/booke.d: Update.
	* gas/ppc/booke_xcoff.d: Update.
	* gas/ppc/booke_xcoff64.d: Update.
	* gas/ppc/e500.d: Update.

ld/testsuite/ChangeLog
	* ld-powerpc/tlsexe32.d: Update.
	* ld-powerpc/tlsso32.d: Update.

Index: gas/testsuite/gas/ppc/altivec.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/ppc/altivec.d,v
retrieving revision 1.3
diff -u -p -r1.3 altivec.d
--- gas/testsuite/gas/ppc/altivec.d	26 Jul 2002 04:19:12 -0000	1.3
+++ gas/testsuite/gas/ppc/altivec.d	26 Jul 2003 09:58:15 -0000
@@ -1,5 +1,5 @@
 #as: -a32 -m601 -maltivec
-#objdump: -Dr
+#objdump: -dr
 #name: AltiVec tests
 
 .*: +file format elf32-powerpc
@@ -13,4 +13,3 @@ Disassembly of section \.text:
    c:	7e 08 3a ac 	dstt	r8,r7,0
   10:	7c 65 32 ec 	dstst	r5,r6,3
   14:	7e 44 2a ec 	dststt	r4,r5,2
-Disassembly of section \.data:
Index: gas/testsuite/gas/ppc/altivec_xcoff.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/ppc/altivec_xcoff.d,v
retrieving revision 1.2
diff -u -p -r1.2 altivec_xcoff.d
--- gas/testsuite/gas/ppc/altivec_xcoff.d	17 Apr 2002 14:43:26 -0000	1.2
+++ gas/testsuite/gas/ppc/altivec_xcoff.d	26 Jul 2003 09:58:15 -0000
@@ -1,5 +1,5 @@
 #as: -mppc -maltivec
-#objdump: -mpowerpc -Dr
+#objdump: -mpowerpc -dr
 #name: xcoff AltiVec tests
 
 .*:     file format aixcoff-rs6000
@@ -13,4 +13,3 @@ Disassembly of section .text:
    c:	7e 08 3a ac 	dstt	r8,r7,0
   10:	7c 65 32 ec 	dstst	r5,r6,3
   14:	7e 44 2a ec 	dststt	r4,r5,2
-Disassembly of section .data:
Index: gas/testsuite/gas/ppc/altivec_xcoff64.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/ppc/altivec_xcoff64.d,v
retrieving revision 1.3
diff -u -p -r1.3 altivec_xcoff64.d
--- gas/testsuite/gas/ppc/altivec_xcoff64.d	6 Aug 2002 11:28:01 -0000	1.3
+++ gas/testsuite/gas/ppc/altivec_xcoff64.d	26 Jul 2003 09:58:15 -0000
@@ -1,5 +1,5 @@
 #as: -a64 -mppc64 -maltivec
-#objdump: -Dr
+#objdump: -dr
 #name: xcoff64 AltiVec tests
 
 .*:     file format aix5?coff64-rs6000
@@ -13,4 +13,3 @@ Disassembly of section .text:
    c:	7e 08 3a ac 	dstt	r8,r7,0
   10:	7c 65 32 ec 	dstst	r5,r6,3
   14:	7e 44 2a ec 	dststt	r4,r5,2
-Disassembly of section .data:
Index: gas/testsuite/gas/ppc/booke.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/ppc/booke.d,v
retrieving revision 1.5
diff -u -p -r1.5 booke.d
--- gas/testsuite/gas/ppc/booke.d	10 Dec 2002 00:42:53 -0000	1.5
+++ gas/testsuite/gas/ppc/booke.d	26 Jul 2003 09:58:15 -0000
@@ -1,5 +1,5 @@
 #as: -mbooke64
-#objdump: -Dr -Mbooke
+#objdump: -dr -Mbooke
 #name: BookE tests
 
 .*: +file format elf(32)?(64)?-powerpc
@@ -137,4 +137,3 @@ Disassembly of section \.text:
  1ac:	7c 00 04 ac 	msync
  1b0:	7c 09 55 ec 	dcba	r9,r10
  1b4:	7c 00 06 ac 	mbar	0
-Disassembly of section \.data:
Index: gas/testsuite/gas/ppc/booke_xcoff.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/ppc/booke_xcoff.d,v
retrieving revision 1.2
diff -u -p -r1.2 booke_xcoff.d
--- gas/testsuite/gas/ppc/booke_xcoff.d	12 Jun 2002 16:10:10 -0000	1.2
+++ gas/testsuite/gas/ppc/booke_xcoff.d	26 Jul 2003 09:58:15 -0000
@@ -1,5 +1,5 @@
 #as: -mppc32 -mbooke32
-#objdump: -mpowerpc -Dr -Mbooke32
+#objdump: -mpowerpc -dr -Mbooke32
 #name: xcoff BookE tests
 
 .*:     file format aixcoff-rs6000
@@ -26,4 +26,3 @@ Disassembly of section .text:
   40:	7c 00 04 ac 	sync	
   44:	7c 09 55 ec 	dcba	r9,r10
   48:	7c 00 06 ac 	eieio
-Disassembly of section .data:
Index: gas/testsuite/gas/ppc/booke_xcoff64.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/ppc/booke_xcoff64.d,v
retrieving revision 1.2
diff -u -p -r1.2 booke_xcoff64.d
--- gas/testsuite/gas/ppc/booke_xcoff64.d	6 Aug 2002 11:28:01 -0000	1.2
+++ gas/testsuite/gas/ppc/booke_xcoff64.d	26 Jul 2003 09:58:15 -0000
@@ -1,5 +1,5 @@
 #as: -a64 -mppc64 -mbooke64
-#objdump: -Dr -Mbooke64
+#objdump: -dr -Mbooke64
 #name: xcoff64 BookE tests
 
 .*:     file format aix5?coff64-rs6000
@@ -123,4 +123,3 @@ Disassembly of section .text:
  1b4:	7c 00 04 ac 	sync	
  1b8:	7c 09 55 ec 	dcba	r9,r10
  1bc:	7c 00 06 ac 	eieio
-Disassembly of section .data:
Index: gas/testsuite/gas/ppc/e500.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/ppc/e500.d,v
retrieving revision 1.2
diff -u -p -r1.2 e500.d
--- gas/testsuite/gas/ppc/e500.d	10 Dec 2002 00:42:53 -0000	1.2
+++ gas/testsuite/gas/ppc/e500.d	26 Jul 2003 09:58:15 -0000
@@ -1,5 +1,5 @@
 #as: -mppc -me500
-#objdump: -Dr -Me500
+#objdump: -dr -Me500
 #name: e500 tests
 
 .*: +file format elf(32)?(64)?-powerpc
@@ -19,4 +19,3 @@ Disassembly of section \.text:
   24:	7c 00 04 4c 	bbelr
   28:	7d 00 83 a6 	mtspefscr	r8
   2c:	7d 20 82 a6 	mfspefscr	r9
-Disassembly of section \.data:
Index: ld/testsuite/ld-powerpc/tlsexe32.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-powerpc/tlsexe32.d,v
retrieving revision 1.1
diff -u -p -r1.1 tlsexe32.d
--- ld/testsuite/ld-powerpc/tlsexe32.d	18 Feb 2003 06:11:32 -0000	1.1
+++ ld/testsuite/ld-powerpc/tlsexe32.d	26 Jul 2003 09:58:16 -0000
@@ -43,3 +43,7 @@ Disassembly of section \.got:
  18103b8:	4e 80 00 21 	blrl
  18103bc:	01 81 03 18 	\.long 0x1810318
 	\.\.\.
+Disassembly of section \.plt:
+
+018103d4 <\.plt>:
+	\.\.\.
Index: ld/testsuite/ld-powerpc/tlsso32.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-powerpc/tlsso32.d,v
retrieving revision 1.1
diff -u -p -r1.1 tlsso32.d
--- ld/testsuite/ld-powerpc/tlsso32.d	18 Feb 2003 06:11:32 -0000	1.1
+++ ld/testsuite/ld-powerpc/tlsso32.d	26 Jul 2003 09:58:16 -0000
@@ -43,3 +43,7 @@ Disassembly of section \.got:
    10664:	4e 80 00 21 	blrl
    10668:	00 01 05 c4 	\.long 0x105c4
 	\.\.\.
+Disassembly of section \.plt:
+
+00010698 <\.plt>:
+	\.\.\.


-- 
Alan Modra
IBM OzLabs - Linux Technology Centre

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Testcases need update
  2003-07-25 23:13 Testcases need update H. J. Lu
  2003-07-26 10:22 ` Alan Modra
@ 2003-07-29  6:29 ` Nick Clifton
  2003-07-29  6:46   ` H. J. Lu
  2003-07-29  7:05 ` Nick Clifton
  2 siblings, 1 reply; 5+ messages in thread
From: Nick Clifton @ 2003-07-29  6:29 UTC (permalink / raw)
  To: H. J. Lu; +Cc: binutils

Hi H.J.

> Your change to objdump.c may require testcase updates. I got

I think that Alan fixed all the ones that were a direct consequence of
my objdump patch.

> ./build-alpha-linux/ld/ld.log:FAIL: TLS -fpic -shared
> ./build-alpha-linux/ld/ld.log:FAIL: TLS -fpic and -fno-pic exec
> ./build-alpha-linux/ld/ld.log:FAIL: TLS -fpic and -fno-pic exec -relax

I have checked in a patch to take care of these failrues, which were
due to the unexpected presence of the .eh_frame section in the output.

Cheers
        Nick

2003-07-29  Nick Clifton  <nickc@redhat.com>

	* ld-alpha/tlsbin.dd: Update to account for .eh_frame section.
	* ld-alpha/tlsbin.rd: Likewise.
	* ld-alpha/tlsbin.sd: Likewise.
	* ld-alpha/tlsbinr.dd: Likewise.
	* ld-alpha/tlsbinr.rd: Likewise.
	* ld-alpha/tlsbinr.sd: Likewise.
	* ld-alpha/tlspic.dd: Likewise.
	* ld-alpha/tlspic.rd: Likewise.
	* ld-alpha/tlspic.sd: Likewise.	

        

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Testcases need update
  2003-07-29  6:29 ` Nick Clifton
@ 2003-07-29  6:46   ` H. J. Lu
  0 siblings, 0 replies; 5+ messages in thread
From: H. J. Lu @ 2003-07-29  6:46 UTC (permalink / raw)
  To: Nick Clifton; +Cc: binutils

On Tue, Jul 29, 2003 at 07:25:10AM +0100, Nick Clifton wrote:
> Hi H.J.
> 
> > Your change to objdump.c may require testcase updates. I got
> 
> I think that Alan fixed all the ones that were a direct consequence of
> my objdump patch.
> 
> > ./build-alpha-linux/ld/ld.log:FAIL: TLS -fpic -shared
> > ./build-alpha-linux/ld/ld.log:FAIL: TLS -fpic and -fno-pic exec
> > ./build-alpha-linux/ld/ld.log:FAIL: TLS -fpic and -fno-pic exec -relax
> 
> I have checked in a patch to take care of these failrues, which were
> due to the unexpected presence of the .eh_frame section in the output.
> 

That left

./build-sparc-linux/gas/testsuite/gas.log:FAIL: sparc unaligned relocs
./build-sparc64-linux/gas/testsuite/gas.log:FAIL: sparc unaligned relocs


H.J.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Testcases need update
  2003-07-25 23:13 Testcases need update H. J. Lu
  2003-07-26 10:22 ` Alan Modra
  2003-07-29  6:29 ` Nick Clifton
@ 2003-07-29  7:05 ` Nick Clifton
  2 siblings, 0 replies; 5+ messages in thread
From: Nick Clifton @ 2003-07-29  7:05 UTC (permalink / raw)
  To: H. J. Lu; +Cc: binutils

Hi H.J.

> ./build-sparc-linux/gas/testsuite/gas.log:FAIL: sparc unaligned relocs
> ./build-sparc64-linux/gas/testsuite/gas.log:FAIL: sparc unaligned relocs

Here is a patch for these two.  This should be the last of the patches
needed for the objdump -D fix.

Cheers
        Nick

2003-07-29  Nick Clifton  <nickc@redhat.com>

	* gas/sparc/unalign.d: Remove empty .text disassembly line.

Index: gas/sparc/unalign.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/sparc/unalign.d,v
retrieving revision 1.5
diff -c -3 -p -r1.5 unalign.d
*** gas/sparc/unalign.d	17 Aug 2001 20:37:05 -0000	1.5
--- gas/sparc/unalign.d	29 Jul 2003 07:03:41 -0000
***************
*** 4,10 ****
  
  .*: +file format .*sparc.*
  
- Disassembly of section .text:
  Disassembly of section .data:
  
  0+ <foo>:
--- 4,9 ----
        

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-07-29  7:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-25 23:13 Testcases need update H. J. Lu
2003-07-26 10:22 ` Alan Modra
2003-07-29  6:29 ` Nick Clifton
2003-07-29  6:46   ` H. J. Lu
2003-07-29  7:05 ` Nick Clifton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).