* ld-elf/empty.s: Define "start".

* ld-elf/merge2.d: xfail arc-*-* and dlx-*-*.
	* ld-scripts/empty-aligned.s: No .data section.
	* ld-scripts/empty-aligned.t: Discard most sections.
	* ld-scripts/empty-aligned.d: Adjust.
This commit is contained in:
Alan Modra 2005-08-15 14:08:58 +00:00
parent 93165da9a0
commit 8bf3b8c251
6 changed files with 14 additions and 5 deletions

View File

@ -1,3 +1,11 @@
2005-08-15 Alan Modra <amodra@bigpond.net.au>
* ld-elf/empty.s: Define "start".
* ld-elf/merge2.d: xfail arc-*-* and dlx-*-*.
* ld-scripts/empty-aligned.s: No .data section.
* ld-scripts/empty-aligned.t: Discard most sections.
* ld-scripts/empty-aligned.d: Adjust.
2005-08-11 Hans-Peter Nilsson <hp@axis.com>
* ld-cris/expdyn1.s (expobj): Set size here, at definition...

View File

@ -1,6 +1,9 @@
.section .bss
bar:
.text
.type start,"function"
.global start
start:
.type _start,"function"
.global _start
_start:

View File

@ -1,6 +1,7 @@
#source: merge2.s
#ld: -T merge.ld
#objdump: -s
#xfail: "arc-*-*" "dlx-*-*"
.*: file format .*elf.*

View File

@ -9,4 +9,4 @@ Program Headers:
Section to Segment mapping:
+Segment Sections\.\.\.
+00.*\.text.*\.data.*
+00 +.text

View File

@ -1,4 +1,2 @@
.text
.long 123
.data
.long 123

View File

@ -25,6 +25,5 @@ SECTIONS
{
*(.text4)
}
.data : { *(.data) }
.bss : { *(.bss) }
/DISCARD/ : { *(*) }
}