mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
0672748ac0
bfd/ 2010-04-30 H.J. Lu <hongjiu.lu@intel.com> PR ld/11542 * elf-bfd.h (RELOC_AGAINST_DISCARDED_SECTION): New. * elf32-i386.c (elf_i386_relocate_section): Use it. * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. ld/testsuite/ 2010-04-30 H.J. Lu <hongjiu.lu@intel.com> PR ld/11542 * ld-elf/discard.ld: New. * ld-elf/discard1.d: Likewise. * ld-elf/discard1.s: Likewise. * ld-elf/discard2.d: Likewise. * ld-elf/discard2.s: Likewise. * ld-elf/discard3.d: Likewise.
13 lines
169 B
ArmAsm
13 lines
169 B
ArmAsm
.globl here
|
|
.data
|
|
here:
|
|
.long 1
|
|
.globl there
|
|
.section .discard,"aw",%progbits
|
|
.align 4
|
|
there:
|
|
.long 2
|
|
.section .debug_info,"",%progbits
|
|
.long here
|
|
.long there
|