Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/binutils/ld/Makefile.am b/binutils/ld/Makefile.am
- index 406f79f..bc419ec 100644
- --- a/binutils/ld/Makefile.am
- +++ b/binutils/ld/Makefile.am
- @@ -1303,6 +1303,9 @@ eelf_i386_sol2.c: $(srcdir)/emulparams/elf_i386_sol2.sh \
- $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
- ${GENSCRIPTS} elf_i386_sol2 "$(tdir_elf_i386_sol2)"
- eelf_ppc_haiku.c: $(srcdir)/emulparams/elf_ppc_haiku.sh \
- + $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
- + $(srcdir)/emultempl/ppc32elf.em \
- + ldemul-list.h $(ELF_DEPS) \
- $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
- ${GENSCRIPTS} elf_ppc_haiku "$(tdir_elf_ppc_haiku)"
- eelf_mipsel_haiku.c: $(srcdir)/emulparams/elf_mipsel_haiku.sh \
- diff --git a/binutils/ld/Makefile.in b/binutils/ld/Makefile.in
- index fbe1458..0fb8129 100644
- --- a/binutils/ld/Makefile.in
- +++ b/binutils/ld/Makefile.in
- @@ -2780,6 +2780,9 @@ eelf_mipsel_haiku.c: $(srcdir)/emulparams/elf_mipsel_haiku.sh \
- $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
- ${GENSCRIPTS} elf_mipsel_haiku "$(tdir_elf_mipsel_haiku)"
- eelf_ppc_haiku.c: $(srcdir)/emulparams/elf_ppc_haiku.sh \
- + $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
- + $(srcdir)/emultempl/ppc32elf.em \
- + ldemul-list.h $(ELF_DEPS) \
- $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
- ${GENSCRIPTS} elf_ppc_haiku "$(tdir_elf_ppc_haiku)"
- eelf_i386_nacl.c: $(srcdir)/emulparams/elf_i386_nacl.sh \
- diff --git a/binutils/ld/configure.tgt b/binutils/ld/configure.tgt
- index 7fc7940..0b65ab5 100644
- --- a/binutils/ld/configure.tgt
- +++ b/binutils/ld/configure.tgt
- @@ -599,7 +599,8 @@ powerpcle-*-pe | powerpcle-*-winnt* | powerpcle-*-cygwin*)
- powerpc-*-aix[5-9]*) targ_emul=aix5ppc ;;
- powerpc-*-aix*) targ_emul=aixppc ;;
- powerpc-*-beos*) targ_emul=aixppc ;;
- -powerpc-*-haiku*) targ_emul=elf_ppc_haiku ;;
- +powerpc-*-haiku*) targ_emul=elf_ppc_haiku
- + targ_extra_emuls="elf32ppc elf32ppclinux elf32ppcsim" ;;
- powerpc-*-windiss*) targ_emul=elf32ppcwindiss ;;
- powerpc-*-lynxos*) targ_emul=ppclynx ;;
- rs6000-*-aix[5-9]*) targ_emul=aix5rs6 ;;
- diff --git a/binutils/ld/emulparams/elf_ppc_haiku.sh b/binutils/ld/emulparams/elf_ppc_haiku.sh
- index 5a65cd4..bd68ce7 100644
- --- a/binutils/ld/emulparams/elf_ppc_haiku.sh
- +++ b/binutils/ld/emulparams/elf_ppc_haiku.sh
- @@ -1,20 +1,10 @@
- -SCRIPT_NAME=elf
- -OUTPUT_FORMAT="elf32-powerpc"
- +#. ${srcdir}/emulparams/elf32ppccommon.sh
- +. ${srcdir}/emulparams/elf32ppc.sh
- TEXT_START_ADDR=0x200000
- NONPAGED_TEXT_START_ADDR=0x200000
- MAXPAGESIZE=0x1000
- ARCH=powerpc
- -MACHINE=
- NOP=0x60000000
- -TEMPLATE_NAME=elf32
- GENERATE_SHLIB_SCRIPT=yes
- BSS_PLT=
- -OTHER_RELRO_SECTIONS="
- - .fixup ${RELOCATING-0} : { *(.fixup) }
- - .got1 ${RELOCATING-0} : { *(.got1) }
- - .got2 ${RELOCATING-0} : { *(.got2) }
- -"
- -OTHER_GOT_RELOC_SECTIONS="
- - .rela.got1 ${RELOCATING-0} : { *(.rela.got1) }
- - .rela.got2 ${RELOCATING-0} : { *(.rela.got2) }
- -"
- +LIBPATH_SUFFIX=
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement