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]

Fix spurious ld testsuite failures


Numbers formatted with sprintf_vma have 16 digits on 64-bit hosts, causing
spurious ld testsuite failures of "PLT 1a (68020)" and "PLT 1b (68020)".
Committed as obvious.

Andreas.

2006-09-21  Andreas Schwab  <schwab@suse.de>

	* ld-m68k/plt1-68020.d: Fix patterns to match also for 64-bit
	hosts.

Index: ld/testsuite/ld-m68k/plt1-68020.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-m68k/plt1-68020.d,v
retrieving revision 1.1
diff -u -a -p -r1.1 plt1-68020.d
--- ld/testsuite/ld-m68k/plt1-68020.d	14 Jun 2006 08:27:41 -0000	1.1
+++ ld/testsuite/ld-m68k/plt1-68020.d	21 Sep 2006 09:41:06 -0000
@@ -6,24 +6,24 @@ Disassembly of section \.plt:
 00020800 <f.@plt-0x14>:
    20800:	2f3b 0170 0000 	movel %pc@\(30404 <_GLOBAL_OFFSET_TABLE_\+0x4>\),%sp@-
    20806:	fc02 
-   20808:	4efb 0171 0000 	jmp %pc@\(30408 <_GLOBAL_OFFSET_TABLE_\+0x8>\)@\(00000000\)
+   20808:	4efb 0171 0000 	jmp %pc@\(30408 <_GLOBAL_OFFSET_TABLE_\+0x8>\)@\(0*\)
    2080e:	fbfe 
    20810:	0000 0000      	orib #0,%d0
 
 00020814 <f.@plt>:
-   20814:	4efb 0171 0000 	jmp %pc@\(3040c <_GLOBAL_OFFSET_TABLE_\+0xc>\)@\(00000000\)
+   20814:	4efb 0171 0000 	jmp %pc@\(3040c <_GLOBAL_OFFSET_TABLE_\+0xc>\)@\(0*\)
    2081a:	fbf6 
    2081c:	2f3c 0000 0000 	movel #0,%sp@-
    20822:	60ff ffff ffdc 	bral 20800 <f.@plt-0x14>
 
 00020828 <f.@plt>:
-   20828:	4efb 0171 0000 	jmp %pc@\(30410 <_GLOBAL_OFFSET_TABLE_\+0x10>\)@\(00000000\)
+   20828:	4efb 0171 0000 	jmp %pc@\(30410 <_GLOBAL_OFFSET_TABLE_\+0x10>\)@\(0*\)
    2082e:	fbe6 
    20830:	2f3c 0000 000c 	movel #12,%sp@-
    20836:	60ff ffff ffc8 	bral 20800 <f.@plt-0x14>
 
 0002083c <f.@plt>:
-   2083c:	4efb 0171 0000 	jmp %pc@\(30414 <_GLOBAL_OFFSET_TABLE_\+0x14>\)@\(00000000\)
+   2083c:	4efb 0171 0000 	jmp %pc@\(30414 <_GLOBAL_OFFSET_TABLE_\+0x14>\)@\(0*\)
    20842:	fbd6 
    20844:	2f3c 0000 0018 	movel #24,%sp@-
    2084a:	60ff ffff ffb4 	bral 20800 <f.@plt-0x14>

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


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