This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [RFA]: LD testsuite for HC11 linker relaxation
- From: "H. J. Lu" <hjl at lucon dot org>
- To: Stephane Carrez <stcarrez at nerim dot fr>
- Cc: binutils at sources dot redhat dot com
- Date: Sat, 12 Oct 2002 10:30:36 -0700
- Subject: Re: [RFA]: LD testsuite for HC11 linker relaxation
- References: <3DA877BA.2000503@nerim.fr>
On Sat, Oct 12, 2002 at 09:27:54PM +0200, Stephane Carrez wrote:
> Hi!
>
> This patch is the test suite I'm using to validate the HC11 linker relaxation.
> It creates the specific directory ld/testsuite/ld-m68hc11 to follow other target
> specific tests. Only run for m6811-* and m6812-*.
>
> Can you approve it?
>
> Thanks,
> Stephane
>
> 2002-10-12 Stephane Carrez <stcarrez@nerim.fr>
>
> * ld-m68hc11/m68hc11.exp: Specific tests for 68HC11/68HC12.
> * ld-m68hc11/adj-jump.d: New test for linker relaxation.
> * ld-m68hc11/adj-jump.s: Likewise.
> * ld-m68hc11/adj-brset.s: Likewise.
> * ld-m68hc11/adj-brset.d: Likewise.
> * ld-m68hc11/relax-direct.s: Likewise.
> * ld-m68hc11/relax-direct.d: Likewise.
> * ld-m68hc11/relax-group.s: Likewise.
> * ld-m68hc11/relax-group.d: Likewise.
> * ld-m68hc11/bug-1403.d: Likewise.
> * ld-m68hc11/bug-1403.s: Likewise.
> diff --exclude=CVS -Nrup ../binutils-main/ld/testsuite/ld-m68hc11/adj-brset.d ld/testsuite/ld-m68hc11/adj-brset.d
> --- ../binutils-main/ld/testsuite/ld-m68hc11/adj-brset.d Thu Jan 1 01:00:00 1970
> +++ ld/testsuite/ld-m68hc11/adj-brset.d Wed May 15 13:02:16 2002
> @@ -0,0 +1,32 @@
> +#source: adj-brset.s
> +#as: -m68hc11
> +#ld: --relax
> +#objdump: -d --prefix-addresses -r
> +#target: m6811-*-* m6812-*-*
> +
> +.*: +file format elf32\-m68hc11
> +
> +Disassembly of section .text:
> +00008000 <_start> brclr 140,x \#\$c8 0000804a <L8>
May I suggest you to use
0+8000 <_start> brclr 140,x \#\$c8 0000804a <L8>
H.J.