diff --git a/binutils/ld/Makefile.am b/binutils/ld/Makefile.am
index 406f79f..bc419ec 100644
a
|
b
|
eelf_i386_sol2.c: $(srcdir)/emulparams/elf_i386_sol2.sh \
|
1303 | 1303 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
1304 | 1304 | ${GENSCRIPTS} elf_i386_sol2 "$(tdir_elf_i386_sol2)" |
1305 | 1305 | eelf_ppc_haiku.c: $(srcdir)/emulparams/elf_ppc_haiku.sh \ |
| 1306 | $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \ |
| 1307 | $(srcdir)/emultempl/ppc32elf.em \ |
| 1308 | ldemul-list.h $(ELF_DEPS) \ |
1306 | 1309 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
1307 | 1310 | ${GENSCRIPTS} elf_ppc_haiku "$(tdir_elf_ppc_haiku)" |
1308 | 1311 | 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
|
b
|
eelf_mipsel_haiku.c: $(srcdir)/emulparams/elf_mipsel_haiku.sh \
|
2780 | 2780 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
2781 | 2781 | ${GENSCRIPTS} elf_mipsel_haiku "$(tdir_elf_mipsel_haiku)" |
2782 | 2782 | eelf_ppc_haiku.c: $(srcdir)/emulparams/elf_ppc_haiku.sh \ |
| 2783 | $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \ |
| 2784 | $(srcdir)/emultempl/ppc32elf.em \ |
| 2785 | ldemul-list.h $(ELF_DEPS) \ |
2783 | 2786 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
2784 | 2787 | ${GENSCRIPTS} elf_ppc_haiku "$(tdir_elf_ppc_haiku)" |
2785 | 2788 | 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
|
b
|
powerpcle-*-pe | powerpcle-*-winnt* | powerpcle-*-cygwin*)
|
599 | 599 | powerpc-*-aix[5-9]*) targ_emul=aix5ppc ;; |
600 | 600 | powerpc-*-aix*) targ_emul=aixppc ;; |
601 | 601 | powerpc-*-beos*) targ_emul=aixppc ;; |
602 | | powerpc-*-haiku*) targ_emul=elf_ppc_haiku ;; |
| 602 | powerpc-*-haiku*) targ_emul=elf_ppc_haiku |
| 603 | targ_extra_emuls="elf32ppc elf32ppclinux elf32ppcsim" ;; |
603 | 604 | powerpc-*-windiss*) targ_emul=elf32ppcwindiss ;; |
604 | 605 | powerpc-*-lynxos*) targ_emul=ppclynx ;; |
605 | 606 | 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
|
b
|
|
1 | | SCRIPT_NAME=elf |
2 | | OUTPUT_FORMAT="elf32-powerpc" |
| 1 | #. ${srcdir}/emulparams/elf32ppccommon.sh |
| 2 | . ${srcdir}/emulparams/elf32ppc.sh |
3 | 3 | TEXT_START_ADDR=0x200000 |
4 | 4 | NONPAGED_TEXT_START_ADDR=0x200000 |
5 | 5 | MAXPAGESIZE=0x1000 |
6 | 6 | ARCH=powerpc |
7 | | MACHINE= |
8 | 7 | NOP=0x60000000 |
9 | | TEMPLATE_NAME=elf32 |
10 | 8 | GENERATE_SHLIB_SCRIPT=yes |
11 | 9 | BSS_PLT= |
12 | | OTHER_RELRO_SECTIONS=" |
13 | | .fixup ${RELOCATING-0} : { *(.fixup) } |
14 | | .got1 ${RELOCATING-0} : { *(.got1) } |
15 | | .got2 ${RELOCATING-0} : { *(.got2) } |
16 | | " |
17 | | OTHER_GOT_RELOC_SECTIONS=" |
18 | | .rela.got1 ${RELOCATING-0} : { *(.rela.got1) } |
19 | | .rela.got2 ${RELOCATING-0} : { *(.rela.got2) } |
20 | | " |
| 10 | LIBPATH_SUFFIX= |