PR gas/6607

* ld-mmix/loc10.d, ld-mmix/loc10.s, ld-mmix/loc10m.d, ld-mmix/loc8.d,
	ld-mmix/loc8.s, ld-mmix/loc8m.d, ld-mmix/loc9.d, ld-mmix/loc9.s,
	ld-mmix/loc9m.d: New tests.
This commit is contained in:
Hans-Peter Nilsson 2008-06-16 15:07:01 +00:00
parent 4758f280d4
commit 465e2c43ad
10 changed files with 87 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2008-06-16 Hans-Peter Nilsson <hp@bitrange.com>
PR gas/6607
* ld-mmix/loc10.d, ld-mmix/loc10.s, ld-mmix/loc10m.d, ld-mmix/loc8.d,
ld-mmix/loc8.s, ld-mmix/loc8m.d, ld-mmix/loc9.d, ld-mmix/loc9.s,
ld-mmix/loc9m.d: New tests.
2008-06-12 Nick Clifton <nickc@redhat.com>
* ld-scripts/overlay-size.t (end_of_bss_overlays): Define.

View File

@ -0,0 +1,13 @@
#ld: -m elf64mmix --defsym __.MMIX.start..text=0x8000000000000000
#objdump: -str
# Setting file start through the special symbol.
.*: file format elf64-mmix
SYMBOL TABLE:
#...
8000000000000000 g \*ABS\* 0+ __\.MMIX\.start\.\.text
#...
Contents of section \.text:
8000000000000000 f4000000 .*

View File

@ -0,0 +1 @@
Boot GETA $0,Boot %set dynamic- and forced-trap handler

View File

@ -0,0 +1,10 @@
#source: loc10.s
#ld: -m mmo --defsym __.MMIX.start..text=0x8000000000000000
#objdump: -str
# Setting file start through the special symbol, mmo version.
.*: file format mmo
#...
Contents of section \.text:
8000000000000000 f4000000 .*

View File

@ -0,0 +1,13 @@
#ld: -m elf64mmix
#objdump: -str
# Setting file start through the special symbol, in-source.
.*: file format elf64-mmix
SYMBOL TABLE:
#...
8000000000000000 g \*ABS\* 0+ __\.MMIX\.start\.\.text
#...
Contents of section \.text:
8000000000000000 f4000000 .*

View File

@ -0,0 +1,3 @@
.globl __.MMIX.start..text
.set __.MMIX.start..text,0x8000000000000000
Boot GETA $0,Boot %set dynamic- and forced-trap handler

View File

@ -0,0 +1,10 @@
#source: loc8.s
#ld: -m mmo
#objdump: -str
# Setting file start through the special symbol, in-source, mmo version.
.*: file format mmo
#...
Contents of section \.text:
8000000000000000 f4000000 .*

View File

@ -0,0 +1,13 @@
#ld: -m elf64mmix
#objdump: -str
# Setting file start through the LOC pseudo, see PR 6607.
.*: file format elf64-mmix
SYMBOL TABLE:
#...
8000000000000000 g \*ABS\* 0+ __\.MMIX\.start\.\.text
#...
Contents of section \.text:
8000000000000000 f4000000 .*

View File

@ -0,0 +1,3 @@
LOC #8000000000000000
Boot GETA $0,Boot %set dynamic- and forced-trap handler
.globl Boot

View File

@ -0,0 +1,14 @@
#source: loc9.s
#ld: -e Boot -m mmo
#objdump: -str
# Setting file start through the LOC pseudo, see PR 6607, mmo version.
.*: file format mmo
SYMBOL TABLE:
#...
8000000000000000 g \.text Boot
#...
Contents of section \.text:
8000000000000000 f4000000 .*