mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
8f5e83fb73
These were discovered when running --hash-style=gnu as default, the previous batch being --hash-style=both. * testsuite/ld-aarch64/ifunc-1-local.d: Run ld with --hash-style=sysv. * testsuite/ld-aarch64/ifunc-2-local.d: Likewise. * testsuite/ld-aarch64/ifunc-3a.d: Likewise. * testsuite/ld-frv/fdpic-pie-1.d: Likewise. * testsuite/ld-frv/fdpic-pie-2.d: Likewise. * testsuite/ld-frv/fdpic-pie-7.d: Likewise. * testsuite/ld-frv/fdpic-pie-8.d: Likewise. * testsuite/ld-arm/arm-elf.exp: Add --hash-style=sysv to "Using Thumb lib by another lib" test's ld options. * testsuite/ld-elf/note-3.l: Match .gnu.hash. * testsuite/ld-elf/note-3.t: Add .gnu.hash output section.
24 lines
514 B
Raku
24 lines
514 B
Raku
PHDRS
|
|
{
|
|
text PT_LOAD FILEHDR PHDRS ;
|
|
note PT_NOTE;
|
|
}
|
|
SECTIONS
|
|
{
|
|
. = . + SIZEOF_HEADERS ;
|
|
.text : { *(.text) *(.rodata) } :text
|
|
.note : { *(.note) } :note :text
|
|
|
|
/* BUG: This linker script is broken here. It has not reset the
|
|
output segment for the following sections, so they are all
|
|
treated as notes... */
|
|
|
|
.hash : { *(.hash) }
|
|
.gnu.hash : { *(.gnu.hash) }
|
|
|
|
.dynstr : { *(.dynstr) }
|
|
.dynsym : { *(.dynsym) }
|
|
.got.plt : { *(.got.plt) *(.igot.plt) }
|
|
/DISCARD/ : { *(*) }
|
|
}
|