mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
560b3fe208
2021-10-22 Chenghua Xu <xuchenghua@loongson.cn> Zhensong Liu <liuzhensong@loongson.cn> Weinan Liu <liuweinan@loongson.cn> Xiaolin Tang <tangxiaolin@loongson.cn> ld/ * Makefile.am: Add LoongArch. * NEWS: Mention LoongArch support. * configure.tgt: Add LoongArch. * emulparams/elf32loongarch-defs.sh: New. * emulparams/elf32loongarch.sh: Likewise. * emulparams/elf64loongarch-defs.sh: Likewise. * emulparams/elf64loongarch.sh: Likewise. * emultempl/loongarchelf.em: Likewise. * Makefile.in: Regenerate. * po/BLD-POTFILES.in: Regenerate. ld/testsuite/ * ld-loongarch-elf/disas-jirl.d: New. * ld-loongarch-elf/disas-jirl.s: Likewise. * ld-loongarch-elf/jmp_op.d: Likewise. * ld-loongarch-elf/jmp_op.s: Likewise. * ld-loongarch-elf/ld-loongarch-elf.exp: Likewise. * ld-loongarch-elf/macro_op.d: Likewise. * ld-loongarch-elf/macro_op.s: Likewise. * ld-loongarch-elf/syscall-0.s: Likewise. * ld-loongarch-elf/syscall-1.s: Likewise. * ld-loongarch-elf/syscall.d: Likewise. * ld-srec/srec.exp: Add LoongArch. * ld-unique/pr21529.d: Likewise.
30 lines
556 B
ArmAsm
30 lines
556 B
ArmAsm
.L1:
|
|
li.w $r4,0
|
|
li.w $r4,0xffffffff
|
|
li.d $r4,0
|
|
li.d $r4,0xffffffffffffffff
|
|
la $r4,L1
|
|
la.global $r4,L1
|
|
la.global $r4,$r5,L1
|
|
la.global $r4,L1
|
|
la.global $r4,$r5,L1
|
|
la.global $r4,L1
|
|
la.global $r4,$r5,L1
|
|
la.local $r4,L1
|
|
la.local $r4,$r5,L1
|
|
la.local $r4,L1
|
|
la.local $r4,$r5,L1
|
|
la.abs $r4,L1
|
|
la.pcrel $r4,L1
|
|
la.pcrel $r4,L1
|
|
la.pcrel $r4,$r5,L1
|
|
la.got $r4,L1
|
|
la.got $r4,$r5,L1
|
|
la.tls.le $r4,L1
|
|
la.tls.ie $r4,L1
|
|
la.tls.ie $r4,$r5,L1
|
|
la.tls.ld $r4,L1
|
|
la.tls.ld $r4,$r5,L1
|
|
la.tls.gd $r4,L1
|
|
la.tls.gd $r4,$r5,L1
|