mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
a22a803903
* elf32-vax.c (elf_vax_adjust_dynamic_symbol): Don't allocate PLT slots for local symbols. ld/testsuite/ * ld-vax-elf: New directory. * ld-vax-elf/plt-local-lib.dd: New test. * ld-vax-elf/plt-local-lib.ld: New test linker script. * ld-vax-elf/plt-local-lib.s: New test source. * ld-vax-elf/plt-local.dd: New test. * ld-vax-elf/plt-local.ld: New test linker script. * ld-vax-elf/plt-local.s: New test source. * ld-vax-elf/plt-local-hidden-pic.s: New test source. * ld-vax-elf/plt-local-rehidden-pic.s: New test source. * ld-vax-elf/vax-elf.exp: New test script.
19 lines
277 B
Plaintext
19 lines
277 B
Plaintext
SECTIONS
|
|
{
|
|
. = 0;
|
|
.hash : { *(.hash) }
|
|
.dynsym : { *(.dynsym) }
|
|
.dynstr : { *(.dynstr) }
|
|
.rela.plt : { *(.rela.plt) }
|
|
|
|
. = 0x1000;
|
|
.plt : { *(.plt) }
|
|
|
|
. = 0x2000;
|
|
.text : { *(.text) }
|
|
|
|
. = 0x3000;
|
|
.dynamic : { *(.dynamic) }
|
|
.got : { *(.got.plt) }
|
|
}
|