Browse Source
2005-11-07 Jan Beulich <jbeulich@novell.com> * gas/all/redef2.[sd]: New. * gas/all/gas.exp: Run new test. * gas/elf/redef.d: New. * gas/elf/elf.exp: Run new test.readline_5_1-import-branch
6 changed files with 57 additions and 0 deletions
@ -0,0 +1,13 @@ |
|||
#objdump: -rsj .data |
|||
#name: .equ redefinitions (2) |
|||
|
|||
.*: .* |
|||
|
|||
RELOCATION RECORDS FOR .* |
|||
.* |
|||
0+0.*(here|\.data) |
|||
0+8.*xtrn |
|||
#... |
|||
Contents of section \.data: |
|||
0000 00000000 11111111 00000000 22222222[ ]+................[ ]* |
|||
#pass |
|||
@ -0,0 +1,10 @@ |
|||
.data |
|||
here: |
|||
.set sym, here |
|||
.long sym |
|||
.set sym, 0x11111111 |
|||
.long sym |
|||
.set sym, xtrn |
|||
.long sym |
|||
.set sym, 0x22222222 |
|||
.long sym |
|||
@ -0,0 +1,14 @@ |
|||
#objdump: -t |
|||
#name: .equ redefinitions (ELF) |
|||
#source: ../all/redef2.s |
|||
|
|||
.*: .* |
|||
|
|||
SYMBOL TABLE: |
|||
#... |
|||
0+[ ]+l[ ].*[ ]here |
|||
#... |
|||
0*2+[ ]+l[ ]+\*ABS\*[ ].*[ ]sym |
|||
#... |
|||
0+[ ]+\*UND\*[ ].*[ ]xtrn |
|||
#... |
|||
Loading…
Reference in new issue