diff options
Diffstat (limited to 'ld/emulparams/elf64alpha.sh')
-rw-r--r-- | ld/emulparams/elf64alpha.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ld/emulparams/elf64alpha.sh b/ld/emulparams/elf64alpha.sh index 093c8dfd8e..47a0bb009c 100644 --- a/ld/emulparams/elf64alpha.sh +++ b/ld/emulparams/elf64alpha.sh @@ -12,7 +12,13 @@ ARCH=alpha MACHINE= GENERATE_SHLIB_SCRIPT=yes GENERATE_PIE_SCRIPT=yes -DATA_PLT= + +# Yes, we want duplicate .plt sections. The linker chooses the +# appropriate one magically in alpha_after_open. +PLT=".plt ${RELOCATING-0} : SPECIAL { *(.plt) }" +DATA_PLT=yes +TEXT_PLT=yes + # Note that the number is always big-endian, thus we have to # reverse the digit string. NOP=0x0000fe2f1f04ff47 # unop; nop |