* gas/mmix/weak1.d, gas/mmix/weak1.d: New test.
This commit is contained in:
parent
2be11e7ecc
commit
c5096a3c51
3 changed files with 34 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2002-03-14 Hans-Peter Nilsson <hp@bitrange.com>
|
||||
|
||||
* gas/mmix/weak1.d, gas/mmix/weak1.d: New test.
|
||||
|
||||
2002-03-05 Paul Koning <pkoning@equallogic.com>
|
||||
|
||||
* gas/pdp11/pdp11.exp: New file.
|
||||
|
|
23
gas/testsuite/gas/mmix/weak1.d
Normal file
23
gas/testsuite/gas/mmix/weak1.d
Normal file
|
@ -0,0 +1,23 @@
|
|||
#as: -x
|
||||
#objdump: -str
|
||||
|
||||
# Relaxation thought a weak symbol was within reach.
|
||||
|
||||
.*: file format elf64-mmix
|
||||
|
||||
SYMBOL TABLE:
|
||||
0+ l d \.text 0+
|
||||
0+ l d \.data 0+
|
||||
0+ l d \.bss 0+
|
||||
0+ w \.text 0+ foo
|
||||
0+4 g \.text 0+ main
|
||||
|
||||
RELOCATION RECORDS FOR \[\.text\]:
|
||||
OFFSET TYPE VALUE
|
||||
0+18 R_MMIX_64 foo
|
||||
0+4 R_MMIX_PUSHJ foo
|
||||
|
||||
Contents of section \.text:
|
||||
0000 f8010000 f20f0000 fd000000 fd000000 .*
|
||||
0010 fd000000 fd000000 00000000 00000000 .*
|
||||
Contents of section \.data:
|
7
gas/testsuite/gas/mmix/weak1.s
Normal file
7
gas/testsuite/gas/mmix/weak1.s
Normal file
|
@ -0,0 +1,7 @@
|
|||
.weak foo
|
||||
foo:
|
||||
POP 1,0
|
||||
.global main
|
||||
main:
|
||||
PUSHJ $15,foo
|
||||
.quad foo
|
Loading…
Reference in a new issue