This is the mail archive of the binutils@sources.redhat.com 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]

Re: make check failure on alpha


Richard Henderson <rth@redhat.com> writes:

> On Tue, Jun 12, 2001 at 12:03:38PM +0200, Andreas Jaeger wrote:
>> regexp "^  00000004  00.* R_.*00000000  
>> line   "  00000004  700000001 R_ALPHA_REFLONG       
> 
> What really ought to happen is that the -r output should break 
> up r_info into R_SYM and R_TYPE fields.
> 
> What you're seeing is r_info printed as %08lx.  For 32-bit targets
> you'd see "00070001".  The "7" is at bit 32 for 64-bit targets.
> 
> 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.

Andreas

2001-06-13  Andreas Jaeger  <aj@suse.de>

	* binutils-all/readelf.r: Allow any value for the symbol's value
	to make this work on Alpha and ia64.

============================================================
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 06:27:33
@@ -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  00.* R_.*[0-9A-Fa-f]+  external_symbol.*


-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


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