mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
17a6716ad0
* ld-mips-elf/mips-elf.exp: Run it.
29 lines
390 B
ArmAsm
29 lines
390 B
ArmAsm
.section .rodata.str1.4,"aMS", @progbits, 1
|
|
.macro fillstr char
|
|
.rept 0x3fff - \char
|
|
.byte \char
|
|
.endr
|
|
.byte 0
|
|
.endm
|
|
fillstr 'a'
|
|
fillstr 'h'
|
|
fillstr 'c'
|
|
fillstr 'd'
|
|
fillstr 'g'
|
|
fillstr 'f'
|
|
g:
|
|
fillstr 'g'
|
|
fillstr 'h'
|
|
|
|
.text
|
|
.globl __start
|
|
.ent __start
|
|
.type __start, @function
|
|
__start:
|
|
lui $2, %hi(g)
|
|
addiu $3, $2, %lo(g)
|
|
addiu $2, $2, %lo(g)
|
|
.end __start
|
|
|
|
.space 16
|