mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
cbf097d7b0
bfd/ PR ld/26918 * elf64-s390.c (elf_s390_finish_dynamic_sections): Set .got sh_entsize only if .got size > 0. ld: PR ld/26918 * testsuite/ld-s390/pr26918-1.d: New file. * testsuite/ld-s390/pr26918-1.s: Likewise. * testsuite/ld-s390/s390.exp: Run all *.d tests.
20 lines
254 B
ArmAsm
20 lines
254 B
ArmAsm
.machinemode zarch
|
|
.machine "z900"
|
|
.text
|
|
.align 8
|
|
.globl start
|
|
.type start, @function
|
|
start:
|
|
larl %r1,foo@GOTENT
|
|
lg %r1,0(%r1)
|
|
lgf %r2,0(%r1)
|
|
br %r14
|
|
.size start, .-start
|
|
.globl foo
|
|
.bss
|
|
.align 4
|
|
.type foo, @object
|
|
.size foo, 4
|
|
foo:
|
|
.zero 4
|