diff options
Diffstat (limited to 'ld/emulparams')
-rw-r--r-- | ld/emulparams/elf32lppc.sh | 2 | ||||
-rw-r--r-- | ld/emulparams/elf32lppclinux.sh | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/ld/emulparams/elf32lppc.sh b/ld/emulparams/elf32lppc.sh index 18cce4898e..8d4e3a0c07 100644 --- a/ld/emulparams/elf32lppc.sh +++ b/ld/emulparams/elf32lppc.sh @@ -1,5 +1,5 @@ # If you change this file, please also look at files which source this one: -# elf32lppcsim.sh +# elf32lppcsim.sh elf32lppclinux.sh . ${srcdir}/emulparams/elf32ppc.sh OUTPUT_FORMAT="elf32-powerpcle" diff --git a/ld/emulparams/elf32lppclinux.sh b/ld/emulparams/elf32lppclinux.sh new file mode 100644 index 0000000000..9a56372ef9 --- /dev/null +++ b/ld/emulparams/elf32lppclinux.sh @@ -0,0 +1,8 @@ +. ${srcdir}/emulparams/elf32lppc.sh +TEXT_START_ADDR=0x10000000 +unset EXECUTABLE_SYMBOLS +unset OTHER_END_SYMBOLS +test -z "${RELOCATING}" || OTHER_SECTIONS="/DISCARD/ : { *(.fixup) }" +OTHER_RELRO_SECTIONS=" + .got1 ${RELOCATING-0} : { *(.got1) } + .got2 ${RELOCATING-0} : { *(.got2) }" |