This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: make check failure on alpha
Richard Henderson <rth@redhat.com> writes:
> On Wed, Jun 13, 2001 at 08:29:59AM +0200, Andreas Jaeger wrote:
>> > Best solution is probably to match [0-9A-Fa-f]+ or something here.
>>
>> Like the appended patch? I'll test it later on i386, alpha and ia64.
>
> No.
>
>> Offset Info Type Symbol's Value Symbol's Name.*
>> - 00000004 00.* R_.*00000000 external_symbol.*
>> + 00000004 00.* R_.*[0-9A-Fa-f]+ external_symbol.*
>
> You need to change Info not Type.
Here's a patch that works for me (tested) on ia64, alpha and also on
the 32 bit archs i386 and s390.
Ok to commit?
Andreas
2001-06-13 Andreas Jaeger <aj@suse.de>
* testsuite/binutils-all/readelf.r: Don't check for specific info
value to pass testsuite on ia64 and alpha.
============================================================
Index: binutils/testsuite/binutils-all/readelf.r
--- binutils/testsuite/binutils-all/readelf.r 1999/06/29 01:31:19 1.2
+++ binutils/testsuite/binutils-all/readelf.r 2001/06/13 08:20:58
@@ -1,4 +1,4 @@
Relocation section '.rel.*text' at offset 0x.* contains 1 entries:
Offset Info Type Symbol's Value Symbol's Name.*
- 00000004 00.* R_.*00000000 external_symbol.*
+ 00000004 [0-9A-Fa-f]+ *R_.*00000000 external_symbol.*
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj