diff options
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/config.bfd | 1 | ||||
-rw-r--r-- | ld/ChangeLog | 5 | ||||
-rw-r--r-- | ld/emulparams/elf32ppcwindiss.sh | 9 | ||||
-rw-r--r-- | ld/emulparams/ppclynx.sh | 15 |
5 files changed, 15 insertions, 20 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index d396af1..7f999f7 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2018-04-14 Alan Modra <amodra@gmail.com> + + * config.bfd: Add powerpc-*-lynxos* and powerpc-*-windiss* + to obsolete list. + 2018-04-11 Alan Modra <amodra@gmail.com> * aout-adobe.c: Delete. diff --git a/bfd/config.bfd b/bfd/config.bfd index 881c48c..a77a7ba 100644 --- a/bfd/config.bfd +++ b/bfd/config.bfd @@ -98,6 +98,7 @@ case $targ in mips*-sgi-* | mips*-*-bsd* | \ mips*-*-lnews* | \ mips*-*-sysv* | mips*-*-riscos* | \ + powerpc-*-lynxos* | powerpc-*-windiss* | \ sh*-*-symbianelf* | \ sparclet-*-aout* | \ sparc86x-*-aout* | \ diff --git a/ld/ChangeLog b/ld/ChangeLog index f8260c0..9d5bc2d 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2018-04-14 Alan Modra <amodra@gmail.com> + + * emulparams/elf32ppcwindiss.sh: Rewrite to use elf32ppc.sh. + * emulparams/ppclynx.sh: Likewise. + 2018-04-11 Alan Modra <amodra@gmail.com> * emulparams/coff_i860.sh: Delete. diff --git a/ld/emulparams/elf32ppcwindiss.sh b/ld/emulparams/elf32ppcwindiss.sh index b40d782..d454799 100644 --- a/ld/emulparams/elf32ppcwindiss.sh +++ b/ld/emulparams/elf32ppcwindiss.sh @@ -1,11 +1,6 @@ -TEMPLATE_NAME=elf32 -SCRIPT_NAME=elf -OUTPUT_FORMAT="elf32-powerpc" -NO_REL_RELOCS=yes -ARCH=powerpc -MACHINE= +. ${srcdir}/emulparams/elf32ppc.sh + EMBEDDED=yes -MAXPAGESIZE="CONSTANT (MAXPAGESIZE)" # The data below is taken from the windiss.dld linker script that comes with # the Diab linker. diff --git a/ld/emulparams/ppclynx.sh b/ld/emulparams/ppclynx.sh index 76aefd6..7451678 100644 --- a/ld/emulparams/ppclynx.sh +++ b/ld/emulparams/ppclynx.sh @@ -1,23 +1,12 @@ -SCRIPT_NAME=elf -OUTPUT_FORMAT="elf32-powerpc" -NO_REL_RELOCS=yes +. ${srcdir}/emulparams/elf32ppc.sh + TEXT_BASE=0x00002000 DYN_TEXT_BASE=0x00400000 TEXT_START_ADDR="(DEFINED(_DYNAMIC) ? ${DYN_TEXT_BASE} : ${TEXT_BASE})" -MAXPAGESIZE="CONSTANT (MAXPAGESIZE)" case ${LD_FLAG} in n|N) TEXT_START_ADDR=0x1000 ;; esac -ARCH=powerpc -MACHINE= -TEMPLATE_NAME=elf32 -GENERATE_SHLIB_SCRIPT=yes ELF_INTERPRETER_NAME=\"/usr/lib/ld.so.1\" # Leave room of SIZEOF_HEADERS before text. EMBEDDED= -# PLT on PowerPC is generated at run-time. -BSS_PLT= -OTHER_READWRITE_SECTIONS=" - .got1 ${RELOCATING-0} : { *(.got1) } - .got2 ${RELOCATING-0} : { *(.got2) }" |