This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Does readelf change break the ld test?
- From: Timothy Daly <remote_bob at yahoo dot com>
- To: "H . J . Lu" <hjl at lucon dot org>, binutils at sources dot redhat dot com
- Date: Sun, 24 Feb 2002 05:16:59 -0800 (PST)
- Subject: Re: Does readelf change break the ld test?
Hello again,
Just noticed I got little kill/yank happy in that changelog. Should
look more like:
[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/shared-1.d: Likewise.
-Tim
--- Timothy Daly <remote_bob@yahoo.com> wrote:
>
> 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
> ATTACHMENT part 2 application/octet-stream name=ld-shtest.diff
__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com