mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-21 01:12:32 +08:00
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:
parent
4758f280d4
commit
465e2c43ad
@ -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.
|
||||
|
13
ld/testsuite/ld-mmix/loc10.d
Normal file
13
ld/testsuite/ld-mmix/loc10.d
Normal 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 .*
|
1
ld/testsuite/ld-mmix/loc10.s
Normal file
1
ld/testsuite/ld-mmix/loc10.s
Normal file
@ -0,0 +1 @@
|
||||
Boot GETA $0,Boot %set dynamic- and forced-trap handler
|
10
ld/testsuite/ld-mmix/loc10m.d
Normal file
10
ld/testsuite/ld-mmix/loc10m.d
Normal 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 .*
|
13
ld/testsuite/ld-mmix/loc8.d
Normal file
13
ld/testsuite/ld-mmix/loc8.d
Normal 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 .*
|
3
ld/testsuite/ld-mmix/loc8.s
Normal file
3
ld/testsuite/ld-mmix/loc8.s
Normal file
@ -0,0 +1,3 @@
|
||||
.globl __.MMIX.start..text
|
||||
.set __.MMIX.start..text,0x8000000000000000
|
||||
Boot GETA $0,Boot %set dynamic- and forced-trap handler
|
10
ld/testsuite/ld-mmix/loc8m.d
Normal file
10
ld/testsuite/ld-mmix/loc8m.d
Normal 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 .*
|
13
ld/testsuite/ld-mmix/loc9.d
Normal file
13
ld/testsuite/ld-mmix/loc9.d
Normal 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 .*
|
3
ld/testsuite/ld-mmix/loc9.s
Normal file
3
ld/testsuite/ld-mmix/loc9.s
Normal file
@ -0,0 +1,3 @@
|
||||
LOC #8000000000000000
|
||||
Boot GETA $0,Boot %set dynamic- and forced-trap handler
|
||||
.globl Boot
|
14
ld/testsuite/ld-mmix/loc9m.d
Normal file
14
ld/testsuite/ld-mmix/loc9m.d
Normal 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 .*
|
Loading…
Reference in New Issue
Block a user