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]
Other format: [Raw text]

Re: Is sh-linux broken?


On Thu, Nov 15, 2001 at 10:37:55AM -0800, H . J . Lu wrote:
> "make check" in ld got
> 
> regexp_diff match failure
> regexp "^Relocation section '\.rela\.text' at offset 0x1b8 contains 1 entries:$"
> line   "Relocation section '.rela.text' at offset 0x1b4 contains 1 entries:"
> FAIL: ld-sh/ld-r-1
> 
> 

I checked in the following patch. The ELF header has been changed. But
the section content is the same. I am not sure if it is a good idea
to put the exact offset in ld-sh/ld-r-1.d.


H.J.
---
2001-11-15  H.J. Lu <hjl@gnu.org>

	* ld-sh/ld-r-1.d: Updated.

Index: ld-sh/ld-r-1.d
===================================================================
RCS file: /work/cvs/gnu/binutils/ld/testsuite/ld-sh/ld-r-1.d,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 ld-r-1.d
--- ld-sh/ld-r-1.d	2001/10/15 18:12:10	1.1.1.1
+++ ld-sh/ld-r-1.d	2001/11/15 19:08:34
@@ -11,7 +11,7 @@
 # where and which addends to use and how.  A file linked -r must have the
 # same layout as a plain assembly file: the addend is in the data only.
 
-Relocation section '\.rela\.text' at offset 0x1b8 contains 1 entries:
+Relocation section '\.rela\.text' at offset 0x1b4 contains 1 entries:
  Offset     Info    Type            Symbol's Value  Symbol's Name          Addend
 00000008  00000101 R_SH_DIR32            00000000  \.text                     \+ 0
 


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