mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
56d4289c6c
bfd/ 2010-08-13 H.J. Lu <hongjiu.lu@intel.com> PR ld/11913 * elf32-i386.c (elf_i386_finish_dynamic_sections): Check if .got.plt section is discarded. * elf64-x86-64.c (elf64_x86_64_finish_dynamic_sections): Likewise. ld/testsuite/ 2010-08-13 H.J. Lu <hongjiu.lu@intel.com> PR ld/11913 * ld-i386/discarded1.d: New. * ld-i386/discarded1.s: Likewise. * ld-i386/discarded1.t: Likewise. * ld-x86-64/discarded1.d: Likewise. * ld-x86-64/discarded1.s: Likewise. * ld-x86-64/discarded1.t: Likewise. * ld-i386/i386.exp: Run discarded1. * ld-x86-64/x86-64.exp: Likewise.
14 lines
170 B
ArmAsm
14 lines
170 B
ArmAsm
.text
|
|
.globl _start
|
|
.type _start, @function
|
|
_start:
|
|
movl x@GOT(%ecx), %eax
|
|
.size _start, .-_start
|
|
.globl x
|
|
.data
|
|
.align 4
|
|
.type x, @object
|
|
.size x, 4
|
|
x:
|
|
.long 2
|