* ld-m68hc11/m68hc11.exp: Run for m68hc11-*-* and m68hc12-*-*.

* ld-m68hc11/adj-brset.d: Remove redundant #target line.  Add
	-m m68hc11elf to ld invocation.
	* ld-m68hc11/adj-jump.d: Likewise.
	* ld-m68hc11/bug-1403.d: Likewise.
	* ld-m68hc11/bug-1417.d: Likewise.
	* ld-m68hc11/bug-3331.d: Likewise.
	* ld-m68hc11/relax-direct.d: Likewise.
	* ld-m68hc11/relax-group.d: Likewise.
	* ld-m68hc11/far-hc11.d: Remove redundant #target line.  Adjust for
	changed addresses.
	* ld-m68hc11/far-hc12.d: Remove redundant #target line.
	* ld-m68hc11/link-hcs12.d: Likewise, and adjust for header changes.
This commit is contained in:
Alan Modra 2012-02-13 02:31:53 +00:00
parent 017761eafe
commit fae5f26d81
12 changed files with 51 additions and 48 deletions

View file

@ -1,18 +1,34 @@
2012-02-13 Alan Modra <amodra@gmail.com>
* ld-m68hc11/m68hc11.exp: Run for m68hc11-*-* and m68hc12-*-*.
* ld-m68hc11/adj-brset.d: Remove redundant #target line. Add
-m m68hc11elf to ld invocation.
* ld-m68hc11/adj-jump.d: Likewise.
* ld-m68hc11/bug-1403.d: Likewise.
* ld-m68hc11/bug-1417.d: Likewise.
* ld-m68hc11/bug-3331.d: Likewise.
* ld-m68hc11/relax-direct.d: Likewise.
* ld-m68hc11/relax-group.d: Likewise.
* ld-m68hc11/far-hc11.d: Remove redundant #target line. Adjust for
changed addresses.
* ld-m68hc11/far-hc12.d: Remove redundant #target line.
* ld-m68hc11/link-hcs12.d: Likewise, and adjust for header changes.
2012-02-09 H.J. Lu <hongjiu.lu@intel.com>
PR ld/13675
* ld-i386/tlsnopic.dd: Update no-op padding.
* ld-i386/tlspic.dd: Likewise.
* ld-i386/tlspic.dd: Likewise.
2012-01-31 H.J. Lu <hongjiu.lu@intel.com>
PR ld/13616
* ld-i386/tlsbindesc.dd: Update no-op padding.
* ld-i386/tlsnopic.dd: Likewise.
* ld-i386/tlspic.dd: Likewise.
* ld-x86-64/tlsbin.dd: Likewise.
* ld-x86-64/tlsbindesc.dd: Likewise.
* ld-x86-64/tlspic.dd: Likewise.
* ld-i386/tlsnopic.dd: Likewise.
* ld-i386/tlspic.dd: Likewise.
* ld-x86-64/tlsbin.dd: Likewise.
* ld-x86-64/tlsbindesc.dd: Likewise.
* ld-x86-64/tlspic.dd: Likewise.
2012-01-17 Alan Modra <amodra@gmail.com>

View file

@ -1,8 +1,7 @@
#source: adj-brset.s
#as: -m68hc11
#ld: --relax
#ld: -m m68hc11elf --relax
#objdump: -d --prefix-addresses -r
#target: m6811-*-* m6812-*-*
.*: +file format elf32\-m68hc11

View file

@ -1,8 +1,7 @@
#source: adj-jump.s
#as: -m68hc11
#ld: --relax
#ld: -m m68hc11elf --relax
#objdump: -d --prefix-addresses -r
#target: m6811-*-* m6812-*-*
.*: +file format elf32\-m68hc11

View file

@ -1,8 +1,7 @@
#source: bug-1403.s
#as: -m68hc11
#ld: --relax
#ld: -m m68hc11elf --relax
#objdump: -d --prefix-addresses -r
#target: m6811-*-* m6812-*-*
.*: +file format elf32-m68hc11

View file

@ -1,8 +1,7 @@
#source: bug-1417.s
#as: -m68hc11
#ld: --relax
#ld: -m m68hc11elf --relax
#objdump: -d --prefix-addresses -r
#target: m6811-*-* m6812-*-*
.*: +file format elf32-m68hc11

View file

@ -1,8 +1,7 @@
#source: bug-3331.s
#as: -m68hc11
#ld: --relax
#ld: -m m68hc11elf --relax
#objdump: -d --prefix-addresses -r
#target: m6811-*-* m6812-*-*
.*: +file format elf32-m68hc11

View file

@ -2,31 +2,30 @@
#as: -m68hc11
#ld: -m m68hc11elf
#objdump: -d --prefix-addresses -r
#target: m6811-*-* m6812-*-*
.*: file format elf32-m68hc11
Disassembly of section .text:
0+8000 <tramp._far_foo> pshb
0+8001 <tramp._far_foo\+0x1> ldab \#0
0+8003 <tramp._far_foo\+0x3> ldy \#0+6c <_far_foo>
0+8003 <tramp._far_foo\+0x3> ldy \#0+8072 <_far_foo>
0+8007 <tramp._far_foo\+0x7> jmp 0+8056 <__far_trampoline>
0+800a <tramp._far_bar> pshb
0+800b <tramp._far_bar\+0x1> ldab \#0
0+800d <tramp._far_bar\+0x3> ldy \#0+64 <stack>
0+800d <tramp._far_bar\+0x3> ldy \#0+806a .*
0+8011 <tramp._far_bar\+0x7> jmp 0+8056 <__far_trampoline>
0+8014 <_start> lds \#0+64 <stack>
0+8017 <_start\+0x3> ldx \#0+abcd <__data_image\+0x2b63>
0+8017 <_start\+0x3> ldx \#0+abcd .*
0+801a <_start\+0x6> pshx
0+801b <_start\+0x7> ldd \#0+1234 <__data_section_start\+0x134>
0+801e <_start\+0xa> ldx \#0+5678 <__data_section_start\+0x4578>
0+801b <_start\+0x7> ldd \#0+1234 .*
0+801e <_start\+0xa> ldx \#0+5678 .*
0+8021 <_start\+0xd> jsr 0+800a <tramp._far_bar>
0+8024 <_start\+0x10> cpx \#0+1234 <__data_section_start\+0x134>
0+8024 <_start\+0x10> cpx \#0+1234 .*
0+8027 <_start\+0x13> bne 0+804e <fail>
0+8029 <_start\+0x15> cpd \#0+5678 <__data_section_start\+0x4578>
0+8029 <_start\+0x15> cpd \#0+5678 .*
0+802d <_start\+0x19> bne 0+804e <fail>
0+802f <_start\+0x1b> pulx
0+8030 <_start\+0x1c> cpx \#0+abcd <__data_image\+0x2b63>
0+8030 <_start\+0x1c> cpx \#0+abcd .*
0+8033 <_start\+0x1f> bne 0+804e <fail>
0+8035 <_start\+0x21> ldd \#0+8000 <tramp._far_foo>
0+8038 <_start\+0x24> xgdx
@ -35,7 +34,7 @@ Disassembly of section .text:
0+803e <_start\+0x2a> xgdy
0+8040 <_start\+0x2c> jsr 0,y
0+8043 <_start\+0x2f> ldaa \#0
0+8045 <_start\+0x31> ldy \#0+73 <_far_no_tramp>
0+8045 <_start\+0x31> ldy \#0+8079 <_far_no_tramp>
0+8049 <_start\+0x35> bsr 0+8066 <__call_a16>
0+804b <_start\+0x37> clra
0+804c <_start\+0x38> clrb
@ -59,15 +58,15 @@ Disassembly of section .text:
0+8066 <__call_a16> psha
0+8067 <__call_a16\+0x1> jmp 0,y
Disassembly of section .bank1:
0+64 <_far_bar> jsr 0+6b <local_bank1>
0+67 <_far_bar\+0x3> xgdx
0+68 <_far_bar\+0x4> jmp 0+8054 <__return>
0+6b <local_bank1> rts
0+806a <_far_bar> jsr 0+8071 <local_bank1>
0+806d <_far_bar\+0x3> xgdx
0+806e <_far_bar\+0x4> jmp 0+8054 <__return>
0+8071 <local_bank1> rts
Disassembly of section .bank2:
0+6c <_far_foo> jsr 0+72 <local_bank2>
0+6f <_far_foo\+0x3> jmp 0+8054 <__return>
0+72 <local_bank2> rts
0+8072 <_far_foo> jsr 0+8078 <local_bank2>
0+8075 <_far_foo\+0x3> jmp 0+8054 <__return>
0+8078 <local_bank2> rts
Disassembly of section .bank3:
0+73 <_far_no_tramp> jsr 0+79 <local_bank3>
0+76 <_far_no_tramp\+0x3> jmp 0+8054 <__return>
0+79 <local_bank3> rts
0+8079 <_far_no_tramp> jsr 0+807f <local_bank3>
0+807c <_far_no_tramp\+0x3> jmp 0+8054 <__return>
0+807f <local_bank3> rts

View file

@ -2,7 +2,6 @@
#as: -m68hc12
#ld: -m m68hc12elf --script $srcdir/$subdir/far-hc12.ld
#objdump: -d --prefix-addresses -r
#target: m6811-*-* m6812-*-*
.*: file format elf32\-m68hc12

View file

@ -3,17 +3,12 @@
#as: -mshort
#ld: -m m68hc12elf
#objdump: -p -d --prefix-addresses -r
#target: m6811-*-* m6812-*-*
.*: file format elf32\-m68hc12
Program Header:
LOAD off 0x0+ vaddr 0x0+1000 paddr 0x0+1000 align 2\*\*12
filesz 0x0+100 memsz 0x0+100 flags rw-
LOAD off 0x0+1000 vaddr 0x0+8000 paddr 0x0+8000 align 2\*\*12
filesz 0x0+6 memsz 0x0+6 flags r-x
LOAD off 0x0+1100 vaddr 0x0+1100 paddr 0x0+8006 align 2\*\*12
filesz 0x0+ memsz 0x0+ flags rw-
private flags = 22:\[abi=16\-bit int, 64\-bit double, cpu=HCS12\] \[memory=flat\]
Disassembly of section .text:

View file

@ -1,5 +1,5 @@
# Expect script for run_dump_test based ld-m68hc11 tests.
# Copyright 2002, 2005, 2007 Free Software Foundation, Inc.
# Copyright 2002, 2005, 2007, 2012 Free Software Foundation, Inc.
#
# This file is part of the GNU Binutils.
#
@ -22,7 +22,8 @@
# Test 68HC11 relaxing. This tests the assembler as well as the linker.
if { ![istarget m6811-*-*] && ![istarget m6812-*-*] } {
if { ![istarget m6811-*-*] && ![istarget m6812-*-*]
&& ![istarget m68hc11-*-*] && ![istarget m68hc12-*-*] } {
return
}

View file

@ -1,8 +1,7 @@
#source: relax-direct.s
#as: -m68hc11
#ld: --relax
#ld: -m m68hc11elf --relax
#objdump: -d --prefix-addresses -r
#target: m6811-*-* m6812-*-*
.*: +file format elf32-m68hc11

View file

@ -1,8 +1,7 @@
#source: relax-group.s
#as: -m68hc11
#ld: --relax
#ld: -m m68hc11elf --relax
#objdump: -d --prefix-addresses -r
#target: m6811-*-* m6812-*-*
.*: +file format elf32-m68hc11