mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-04 16:50:57 +00:00
21 lines
329 B
ArmAsm
21 lines
329 B
ArmAsm
@ Test intended to fail for ALU group relocations.
|
|
@
|
|
@ Beware when editing this file: it is carefully crafted so that
|
|
@ a specific PC-relative offset arises.
|
|
|
|
@ We will place .text at 0x8000.
|
|
|
|
.text
|
|
.globl _start
|
|
|
|
_start:
|
|
add r0, r0, #:pc_g0:(bar)
|
|
|
|
@ We will place the section foo at 0x9004.
|
|
|
|
.section foo
|
|
|
|
bar:
|
|
mov r0, #0
|
|
|