Does readelf change break the ld test?
Timothy Daly
remote_bob@yahoo.com
Sun Feb 24 05:09:00 GMT 2002
Indeed, it seems to. My apologies. Note, I haven't actually managed
to test this test, so the patch below could still be a little off.
[src/ld/testsuite/ChangeLog]
2002-02-24 Timothy Daly <remote_bob@yahoo.com>
* ld-sh/ld-r-1.d: Change expected output to match new,
narrowed-to-80-chars output from readelf.
* ld-sh/ld-r-1.d: Likewise.
[ld-shtest.diff] (also attached)
Index: ld-r-1.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-sh/ld-r-1.d,v
retrieving revision 1.2
diff -u -p -r1.2 ld-r-1.d
--- ld-r-1.d 2001/11/15 19:10:05 1.2
+++ ld-r-1.d 2002/02/24 12:52:13
@@ -12,8 +12,8 @@
# same layout as a plain assembly file: the addend is in the data
only.
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
+ Offset Info Type Sym.Value Sym. Name + Addend
+00000008 00000101 R_SH_DIR32 00000000 \.text \+ 0
Hex dump of section '\.text':
0x00000000 0000000c 00090009 00090009 .*
Index: shared-1.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-sh/shared-1.d,v
retrieving revision 1.4
diff -u -p -r1.4 shared-1.d
--- shared-1.d 2002/02/11 06:14:12 1.4
+++ shared-1.d 2002/02/24 12:52:15
@@ -12,8 +12,8 @@
# same value in the addend as in the data, so either can be used.
Relocation section '\.rela\.text' at offset 0x328 contains 1
entries:
- Offset Info Type Symbol's Value Symbol's Name
Addend
-0000033c 000000a5 R_SH_RELATIVE
00000340
+ Offset Info Type Sym.Value Sym. Name + Addend
+0000033c 000000a5 R_SH_RELATIVE
00000340
Hex dump of section '\.rela\.text':
0x00000328 00000340 000000a5 0000033c .*
__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ld-shtest.diff
Type: application/octet-stream
Size: 1626 bytes
Desc: ld-shtest.diff
URL: <https://sourceware.org/pipermail/binutils/attachments/20020224/81c2653d/attachment.obj>
More information about the Binutils
mailing list