mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-28 07:08:01 +08:00
* gas/mmix/weak1.d, gas/mmix/weak1.d: New test.
This commit is contained in:
@ -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>
|
2002-03-05 Paul Koning <pkoning@equallogic.com>
|
||||||
|
|
||||||
* gas/pdp11/pdp11.exp: New file.
|
* 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
|
Reference in New Issue
Block a user