mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
4bd7c90276
PowerPC version of git commit d1bcae833b
.
bfd/
* elf32-ppc.c: Delete outdated comment.
(TARGET_KEEP_UNUSED_SECTION_SYMBOLS): Define.
* elf64-ppc.c (TARGET_KEEP_UNUSED_SECTION_SYMBOLS): Define.
gas/
* testsuite/gas/ppc/power4.d: Adjust for removal of section sym.
* testsuite/gas/ppc/test1elf32.d: Likewise.
* testsuite/gas/ppc/test1elf64.d: Likewise.
ld/
* testsuite/ld-powerpc/relbrlt.s: Make symbols global.
* testsuite/ld-powerpc/relbrlt.d: Adjust to suit.
* testsuite/ld-powerpc/tlsget.d: Adjust for reordered stubs.
* testsuite/ld-powerpc/tlsget.wf: Likewise.
* testsuite/ld-powerpc/tlsget2.d: Likewise.
* testsuite/ld-powerpc/tlsget2.wf: Likewise.
* testsuite/ld-powerpc/tlsexe.r: Adjust for removed section syms.
* testsuite/ld-powerpc/tlsexe32.r: Likewise.
* testsuite/ld-powerpc/tlsexe32no.r: Likewise.
* testsuite/ld-powerpc/tlsexeno.r: Likewise.
* testsuite/ld-powerpc/tlsexenors.r: Likewise.
* testsuite/ld-powerpc/tlsexers.r: Likewise.
* testsuite/ld-powerpc/tlsexetoc.r: Likewise.
* testsuite/ld-powerpc/tlsexetocrs.r: Likewise.
* testsuite/ld-powerpc/tlsso.r: Likewise.
* testsuite/ld-powerpc/tlsso32.r: Likewise.
* testsuite/ld-powerpc/tlstocso.r: Likewise.
38 lines
404 B
ArmAsm
38 lines
404 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"
|
|
.globl far
|
|
far:
|
|
blr
|
|
|
|
.section .text.pad2,"ax"
|
|
.space 0x40fff0
|
|
|
|
.section .text.far2far,"ax"
|
|
.globl far2far
|
|
far2far:
|
|
blr
|
|
|
|
.section .text.pad3,"ax"
|
|
.space 0x1bf0000
|
|
|
|
.section .text.huge,"ax"
|
|
.globl huge
|
|
huge:
|
|
blr
|