mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
ac2df442ac
* elf64-ppc.c (ADDI_R12_R12, LD_R11_0R2, LD_R2_0R2): Define. Update stub comments. (build_plt_stub): Build two variants, one without "addis". (ppc_build_one_stub): Build stubs without "addis" if possible. (ppc_size_one_stub): Size new stubs. ld/testsuite/ * ld-powerpc/relbrlt.s (.text.pad2): Adjust space. * ld-powerpc/relbrlt.d: Update. * ld-powerpc/tlsexe.d: Update. * ld-powerpc/tlsexe.g: Update. * ld-powerpc/tlsexe.r: Update. * ld-powerpc/tlsexetoc.d: Update. * ld-powerpc/tlsexetoc.g: Update. * ld-powerpc/tlsexetoc.r: Update. * ld-powerpc/tlsso.d: Update. * ld-powerpc/tlsso.g: Update. * ld-powerpc/tlsso.r: Update. * ld-powerpc/tlstocso.d: Update. * ld-powerpc/tlstocso.g: Update.
35 lines
363 B
ArmAsm
35 lines
363 B
ArmAsm
.text
|
|
.global _start
|
|
_start:
|
|
1:
|
|
bl far
|
|
nop
|
|
bl far2far
|
|
nop
|
|
bl huge
|
|
nop
|
|
.long 0
|
|
b 1b
|
|
.space 0x1bf0000
|
|
|
|
.section .text.pad1,"ax"
|
|
.space 0x1bf0000
|
|
|
|
.section .text.far,"ax"
|
|
far:
|
|
blr
|
|
|
|
.section .text.pad2,"ax"
|
|
.space 0x40ffe0
|
|
|
|
.section .text.far2far,"ax"
|
|
far2far:
|
|
blr
|
|
|
|
.section .text.pad3,"ax"
|
|
.space 0x1bf0000
|
|
|
|
.section .text.huge,"ax"
|
|
huge:
|
|
blr
|