* ld-elf/group3b.d: Disable for generic linker targets.

* ld-elf/linkonce2.d: Likewise.
	* ld-scripts/empty-address-2a.d: Disable for frv and aout,oldld.
	* ld-scripts/empty-address-2b.d: Likewise.
	* ld-scripts/rgn-at5.s: Don't use .word.
	* ld-scripts/rgn-at5.d: Update.
This commit is contained in:
Alan Modra 2010-09-16 00:28:57 +00:00
parent 2e76e85a38
commit 1391e79bb5
7 changed files with 25 additions and 12 deletions

View file

@ -1,3 +1,12 @@
2010-09-16 Alan Modra <amodra@gmail.com>
* ld-elf/group3b.d: Disable for generic linker targets.
* ld-elf/linkonce2.d: Likewise.
* ld-scripts/empty-address-2a.d: Disable for frv and aout,oldld.
* ld-scripts/empty-address-2b.d: Likewise.
* ld-scripts/rgn-at5.s: Don't use .word.
* ld-scripts/rgn-at5.d: Update.
2010-09-10 Alan Modra <amodra@gmail.com> 2010-09-10 Alan Modra <amodra@gmail.com>
* ld-gc/abi-note.d: Exclude aout and oldld targets. * ld-gc/abi-note.d: Exclude aout and oldld targets.

View file

@ -2,6 +2,8 @@
#source: group3a.s #source: group3a.s
#ld: -T group.ld #ld: -T group.ld
#readelf: -s #readelf: -s
#notarget arc-*-* d30v-*-* dlx-*-* i960-*-* or32-*-* pj*-*-*
Symbol table '.symtab' contains .* entries: Symbol table '.symtab' contains .* entries:
#... #...
.*: 0+1000 +0 +OBJECT +GLOBAL +HIDDEN +. foo .*: 0+1000 +0 +OBJECT +GLOBAL +HIDDEN +. foo

View file

@ -2,6 +2,7 @@
#source: linkonce1b.s #source: linkonce1b.s
#ld: -emit-relocs #ld: -emit-relocs
#objdump: -r #objdump: -r
#notarget arc-*-* d30v-*-* dlx-*-* i960-*-* or32-*-* pj*-*-*
.*: file format .* .*: file format .*

View file

@ -1,7 +1,7 @@
#source: empty-address-2.s #source: empty-address-2.s
#ld: -Ttext 0x0000000 -Tdata 0x2000000 -T empty-address-2a.t #ld: -Ttext 0x0000000 -Tdata 0x2000000 -T empty-address-2a.t
#nm: -n #nm: -n
#notarget: frv-*-*linux* #notarget: frv-*-*linux* *-*-linux*aout *-*-linux*oldld
#... #...
0+0 T _start 0+0 T _start
#... #...

View file

@ -1,7 +1,7 @@
#source: empty-address-2.s #source: empty-address-2.s
#ld: -Ttext 0x0000000 -Tdata 0x2000000 -T empty-address-2b.t #ld: -Ttext 0x0000000 -Tdata 0x2000000 -T empty-address-2b.t
#nm: -n #nm: -n
#notarget: frv-*-*linux* #notarget: frv-*-*linux* *-*-linux*aout *-*-linux*oldld
#... #...
0+0 T _start 0+0 T _start
#... #...

View file

@ -11,8 +11,9 @@
Sections: Sections:
Idx +Name +Size +VMA +LMA +File off +Algn +Flags Idx +Name +Size +VMA +LMA +File off +Algn +Flags
0 .sec0 +0+2 +0+02000 +0+2000 +0+02000 +.* 0 .sec0 +0+4 +0+02000 +0+2000 +0+02000 +.*
1 .sec1 +0+2 +0+01000 +0+012c +0+01000 +.* 1 .sec1 +0+4 +0+01000 +0+012c +0+01000 +.*
2 .sec2 +0+2 +0+04000 +0+603c +0+04000 +.* 2 .sec2 +0+4 +0+04000 +0+603c +0+04000 +.*
3 .sec3 +0+2 +0+05000 +0+412c +0+03000 +.* 3 .sec3 +0+4 +0+05000 +0+412c +0+03000 +.*
4 .sec4 +0+2 +0+02002 +0+2002 +0+02002 +.* 4 .sec4 +0+4 +0+02004 +0+2004 +0+02004 +.*
#pass

View file

@ -1,14 +1,14 @@
.section .sec0, "a" .section .sec0, "a"
.word 0 .long 0
.section .sec1, "a" .section .sec1, "a"
.word 0x11 .long 0x11
.section .sec2, "a" .section .sec2, "a"
.word 0x22 .long 0x22
.section .sec3, "a" .section .sec3, "a"
.word 0x33 .long 0x33
.section .sec4, "a" .section .sec4, "a"
.word 0x44 .long 0x44