6 changed files with 28 additions and 1 deletions
@ -0,0 +1,8 @@ |
|||
#name: JAL overflow 2 |
|||
#source: jaloverflow-2.s |
|||
#as: |
|||
#ld: -Ttext=0x10000000 -e start |
|||
#objdump: -dr |
|||
#... |
|||
0*10000000: 0c000000.* |
|||
#pass |
|||
@ -0,0 +1,7 @@ |
|||
# jal relocs against undefined weak symbols should not be treated as |
|||
# overflowing |
|||
|
|||
.globl start |
|||
.weak foo |
|||
start: |
|||
jal foo |
|||
Loading…
Reference in new issue