diff -rupN binutils-2.18/bfd/config.bfd /Volumes/Develop/Haiku/buildtools/binutils-2.18/bfd/config.bfd
old
|
new
|
case "${targ}" in
|
270 | 270 | ;; |
271 | 271 | arm-*-elf | arm-*-freebsd* | arm*-*-linux-* | arm*-*-conix* | \ |
272 | 272 | arm*-*-uclinux* | arm-*-kfreebsd*-gnu | \ |
273 | | arm*-*-eabi* ) |
| 273 | arm*-*-eabi* | arm*-*-haiku*) |
274 | 274 | targ_defvec=bfd_elf32_littlearm_vec |
275 | 275 | targ_selvecs=bfd_elf32_bigarm_vec |
276 | 276 | ;; |
… |
… |
case "${targ}" in
|
634 | 634 | targ_defvec=bfd_elf32_i386_vec |
635 | 635 | targ_selvecs="i386pe_vec i386pei_vec" |
636 | 636 | ;; |
| 637 | i[3-7]86-*-haiku*) |
| 638 | targ_defvec=bfd_elf32_i386_vec |
| 639 | ;; |
637 | 640 | i[3-7]86-*-interix*) |
638 | 641 | targ_defvec=i386pei_vec |
639 | 642 | targ_selvecs="i386pe_vec" |
… |
… |
case "${targ}" in
|
815 | 818 | targ_selvecs=ieee_vec |
816 | 819 | targ_underscore=yes |
817 | 820 | ;; |
| 821 | m68*-*-haiku*) |
| 822 | targ_defvec=bfd_elf32_m68k_vec |
| 823 | targ_selvecs="m68kcoff_vec ieee_vec" |
| 824 | ;; |
818 | 825 | |
819 | 826 | m88*-harris-cxux* | m88*-*-dgux* | m88*-*-sysv4*) |
820 | 827 | targ_defvec=bfd_elf32_m88k_vec |
… |
… |
case "${targ}" in
|
1102 | 1109 | targ_selvecs="mach_o_be_vec mach_o_le_vec mach_o_fat_vec pef_vec pef_xlib_vec sym_vec" |
1103 | 1110 | targ_archs="bfd_powerpc_arch bfd_rs6000_arch bfd_i386_arch" |
1104 | 1111 | ;; |
| 1112 | powerpc-*-haiku*) |
| 1113 | targ_defvec=bfd_elf32_powerpc_vec |
| 1114 | targ_cflags=-D__HAIKU_TARGET__ |
| 1115 | ;; |
1105 | 1116 | powerpc-*-macos*) |
1106 | 1117 | targ_defvec=pmac_xcoff_vec |
1107 | 1118 | ;; |
diff -rupN binutils-2.18/bfd/elf32-ppc.c /Volumes/Develop/Haiku/buildtools/binutils-2.18/bfd/elf32-ppc.c
old
|
new
|
ppc_elf_finish_dynamic_sections (bfd *ou
|
7580 | 7580 | #define TARGET_BIG_NAME "elf32-powerpc" |
7581 | 7581 | #define ELF_ARCH bfd_arch_powerpc |
7582 | 7582 | #define ELF_MACHINE_CODE EM_PPC |
7583 | | #ifdef __QNXTARGET__ |
| 7583 | #if defined(__QNXTARGET__) || defined(__HAIKU_TARGET__) |
7584 | 7584 | #define ELF_MAXPAGESIZE 0x1000 |
7585 | 7585 | #else |
7586 | 7586 | #define ELF_MAXPAGESIZE 0x10000 |
diff -rupN binutils-2.18/gas/config/te-beos.h /Volumes/Develop/Haiku/buildtools/binutils-2.18/gas/config/te-beos.h
old
|
new
|
|
| 1 | /* Target environment for BeOS/haiku. It is the same as the generic |
| 2 | target, except that it arranges via the TE_BeOS define to |
| 3 | suppress the use of "/" as a comment character. Some code in the |
| 4 | haiku kernel uses "/" to mean division. (What a concept!) */ |
| 5 | #define TE_BeOS 1 |
| 6 | |
| 7 | #define LOCAL_LABELS_DOLLAR 1 |
| 8 | #define LOCAL_LABELS_FB 1 |
| 9 | |
| 10 | #include "obj-format.h" |
diff -rupN binutils-2.18/gas/config/te-haiku.h /Volumes/Develop/Haiku/buildtools/binutils-2.18/gas/config/te-haiku.h
old
|
new
|
|
| 1 | /* Target environment for BeOS/haiku. It is the same as the generic |
| 2 | target, except that it arranges via the TE_BeOS define to |
| 3 | suppress the use of "/" as a comment character. Some code in the |
| 4 | haiku kernel uses "/" to mean division. (What a concept!) */ |
| 5 | #define TE_BeOS 1 |
| 6 | |
| 7 | #define LOCAL_LABELS_DOLLAR 1 |
| 8 | #define LOCAL_LABELS_FB 1 |
| 9 | |
| 10 | #include "obj-format.h" |
diff -rupN binutils-2.18/gas/configure.tgt /Volumes/Develop/Haiku/buildtools/binutils-2.18/gas/configure.tgt
old
|
new
|
case ${generic_target} in
|
123 | 123 | arm-wince-pe | arm-*-wince) fmt=coff em=wince-pe ;; |
124 | 124 | arm-*-pe | thumb-*-pe) fmt=coff em=pe ;; |
125 | 125 | arm-*-riscix*) fmt=aout em=riscix ;; |
| 126 | arm*-*-haiku*) fmt=elf em=haiku ;; |
126 | 127 | |
127 | 128 | avr-*-*) fmt=elf bfd_gas=yes ;; |
128 | 129 | bfin-*-*) fmt=elf bfd_gas=yes ;; |
… |
… |
case ${generic_target} in
|
173 | 174 | i386-*-beos*) fmt=elf ;; |
174 | 175 | i386-*-coff) fmt=coff ;; |
175 | 176 | i386-*-elf) fmt=elf ;; |
| 177 | i386-*-haiku) fmt=elf em=haiku ;; |
176 | 178 | i386-*-kaos*) fmt=elf ;; |
177 | 179 | i386-*-bsd*) fmt=aout em=386bsd ;; |
178 | 180 | i386-*-netbsd0.8) fmt=aout em=386bsd ;; |
… |
… |
case ${generic_target} in
|
258 | 260 | m68k-*-netbsd*) fmt=aout em=nbsd bfd_gas=yes ;; |
259 | 261 | m68k-*-openbsd*) fmt=aout em=nbsd bfd_gas=yes ;; |
260 | 262 | m68k-*-psos*) fmt=elf em=psos;; |
| 263 | m68k-*-haiku*) fmt=elf em=haiku ;; |
261 | 264 | |
262 | 265 | maxq-*-coff) fmt=coff bfd_gas=yes ;; |
263 | 266 | |
… |
… |
case ${generic_target} in
|
317 | 320 | ppc-*-beos*) fmt=coff ;; |
318 | 321 | ppc-*-*n*bsd* | ppc-*-elf*) fmt=elf ;; |
319 | 322 | ppc-*-eabi* | ppc-*-sysv4*) fmt=elf ;; |
| 323 | ppc-*-haiku*) fmt=elf em=haiku ;; |
320 | 324 | ppc-*-linux-*) fmt=elf em=linux ;; |
321 | 325 | ppc-*-solaris*) fmt=elf ;; |
322 | 326 | ppc-*-rtems*) fmt=elf ;; |
diff -rupN binutils-2.18/ld/Makefile.am /Volumes/Develop/Haiku/buildtools/binutils-2.18/ld/Makefile.am
old
|
new
|
ALL_EMULATIONS = \
|
121 | 121 | earmelf.o \ |
122 | 122 | earmelfb.o \ |
123 | 123 | earmelf_fbsd.o \ |
| 124 | earmelf_haiku.o \ |
124 | 125 | earmelf_linux.o \ |
125 | 126 | earmelf_linux_eabi.o \ |
126 | 127 | earmelfb_linux.o \ |
… |
… |
ALL_EMULATIONS = \
|
204 | 205 | eelf_i386_be.o \ |
205 | 206 | eelf_i386_chaos.o \ |
206 | 207 | eelf_i386_fbsd.o \ |
| 208 | eelf_i386_haiku.o \ |
207 | 209 | eelf_i386_ldso.o \ |
| 210 | eelf_ppc_haiku.o \ |
208 | 211 | eelf_i386_vxworks.o \ |
209 | 212 | eelf_s390.o \ |
210 | 213 | egld960.o \ |
… |
… |
earmelf_fbsd.c: $(srcdir)/emulparams/arm
|
531 | 534 | $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \ |
532 | 535 | $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
533 | 536 | ${GENSCRIPTS} armelf_fbsd "$(tdir_armelf_fbsd)" |
| 537 | earmelf_haiku.c: $(srcdir)/emulparams/armelf_haiku.sh \ |
| 538 | $(srcdir)/emulparams/armelf.sh \ |
| 539 | $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \ |
| 540 | $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 541 | ${GENSCRIPTS} armelf_haiku "$(tdir_armelf_haiku)" |
534 | 542 | earmelf_linux.c: $(srcdir)/emulparams/armelf_linux.sh \ |
535 | 543 | $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \ |
536 | 544 | $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
… |
… |
eelf_i386_fbsd.c: $(srcdir)/emulparams/e
|
998 | 1006 | $(srcdir)/emulparams/elf_i386.sh \ |
999 | 1007 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
1000 | 1008 | ${GENSCRIPTS} elf_i386_fbsd "$(tdir_elf_i386_fbsd)" |
| 1009 | eelf_i386_haiku.c: $(srcdir)/emulparams/elf_i386_haiku.sh \ |
| 1010 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 1011 | ${GENSCRIPTS} elf_i386_haiku "$(tdir_elf_i386_haiku)" |
1001 | 1012 | eelf_i386_ldso.c: $(srcdir)/emulparams/elf_i386_ldso.sh \ |
1002 | 1013 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
1003 | 1014 | ${GENSCRIPTS} elf_i386_ldso "$(tdir_elf_i386_ldso)" |
| 1015 | eelf_ppc_haiku:c $(srcdir)/emulparams/elf_ppc_haiku.sh \ |
| 1016 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 1017 | ${GENSCRIPTS} elf_ppc_haiku "$(tdir_elf_ppc_haiku)" |
1004 | 1018 | eelf_i386_vxworks.c: $(srcdir)/emulparams/elf_i386_vxworks.sh \ |
1005 | 1019 | $(srcdir)/emulparams/vxworks.sh $(srcdir)/emultempl/vxworks.em \ |
1006 | 1020 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
diff -rupN binutils-2.18/ld/Makefile.in /Volumes/Develop/Haiku/buildtools/binutils-2.18/ld/Makefile.in
old
|
new
|
ALL_EMULATIONS = \
|
368 | 368 | earmelf.o \ |
369 | 369 | earmelfb.o \ |
370 | 370 | earmelf_fbsd.o \ |
| 371 | earmelf_haiku.o \ |
371 | 372 | earmelf_linux.o \ |
372 | 373 | earmelf_linux_eabi.o \ |
373 | 374 | earmelfb_linux.o \ |
… |
… |
ALL_EMULATIONS = \
|
451 | 452 | eelf_i386_be.o \ |
452 | 453 | eelf_i386_chaos.o \ |
453 | 454 | eelf_i386_fbsd.o \ |
| 455 | eelf_i386_haiku.o \ |
454 | 456 | eelf_i386_ldso.o \ |
| 457 | eelf_ppc_haiku.o \ |
455 | 458 | eelf_i386_vxworks.o \ |
456 | 459 | eelf_s390.o \ |
457 | 460 | egld960.o \ |
… |
… |
earmelf_fbsd.c: $(srcdir)/emulparams/arm
|
1357 | 1360 | $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \ |
1358 | 1361 | $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
1359 | 1362 | ${GENSCRIPTS} armelf_fbsd "$(tdir_armelf_fbsd)" |
| 1363 | earmelf_haiku.c: $(srcdir)/emulparams/armelf_haiku.sh \ |
| 1364 | $(srcdir)/emulparams/armelf.sh \ |
| 1365 | $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \ |
| 1366 | $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 1367 | ${GENSCRIPTS} armelf_haiku "$(tdir_armelf_haiku)" |
1360 | 1368 | earmelf_linux.c: $(srcdir)/emulparams/armelf_linux.sh \ |
1361 | 1369 | $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \ |
1362 | 1370 | $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
… |
… |
eelf_i386_fbsd.c: $(srcdir)/emulparams/e
|
1824 | 1832 | $(srcdir)/emulparams/elf_i386.sh \ |
1825 | 1833 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
1826 | 1834 | ${GENSCRIPTS} elf_i386_fbsd "$(tdir_elf_i386_fbsd)" |
| 1835 | eelf_i386_haiku.c: $(srcdir)/emulparams/elf_i386_haiku.sh \ |
| 1836 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 1837 | ${GENSCRIPTS} elf_i386_haiku "$(tdir_elf_i386_haiku)" |
1827 | 1838 | eelf_i386_ldso.c: $(srcdir)/emulparams/elf_i386_ldso.sh \ |
1828 | 1839 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
1829 | 1840 | ${GENSCRIPTS} elf_i386_ldso "$(tdir_elf_i386_ldso)" |
| 1841 | eelf_ppc_haiku.c: $(srcdir)/emulparams/elf_ppc_haiku.sh \ |
| 1842 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 1843 | ${GENSCRIPTS} elf_ppc_haiku "$(tdir_elf_ppc_haiku)" |
1830 | 1844 | eelf_i386_vxworks.c: $(srcdir)/emulparams/elf_i386_vxworks.sh \ |
1831 | 1845 | $(srcdir)/emulparams/vxworks.sh $(srcdir)/emultempl/vxworks.em \ |
1832 | 1846 | $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
diff -rupN binutils-2.18/ld/configure.tgt /Volumes/Develop/Haiku/buildtools/binutils-2.18/ld/configure.tgt
old
|
new
|
arm*-*-uclinux*) targ_emul=armelf_linux
|
93 | 93 | ;; |
94 | 94 | arm-*-vxworks) targ_emul=armelf_vxworks ;; |
95 | 95 | arm*-*-conix*) targ_emul=armelf ;; |
| 96 | arm*-*-haiku*) targ_emul=armelf_haiku |
| 97 | targ_extra_emuls="armelf" ;; |
96 | 98 | thumb-*-linux-* | thumb-*-uclinux*) targ_emul=armelf_linux; targ_extra_emuls=armelf ;; |
97 | 99 | strongarm-*-coff) targ_emul=armcoff ;; |
98 | 100 | strongarm-*-elf) targ_emul=armelf ;; |
… |
… |
i[3-7]86-*-interix*) targ_emul=i386pe_po
|
269 | 271 | targ_extra_ofiles="deffilep.o pe-dll.o" ;; |
270 | 272 | i[3-7]86-*-beospe*) targ_emul=i386beos ;; |
271 | 273 | i[3-7]86-*-beos*) targ_emul=elf_i386_be ;; |
| 274 | i[3-7]86-*-haiku*) targ_emul=elf_i386_haiku ;; |
272 | 275 | i[3-7]86-*-vxworks*) targ_emul=elf_i386_vxworks ;; |
273 | 276 | i[3-7]86-*-chaos) targ_emul=elf_i386_chaos |
274 | 277 | ;; |
… |
… |
m68*-*-psos*) targ_emul=m68kpsos ;;
|
337 | 340 | m68*-*-rtemscoff*) targ_emul=m68kcoff ;; |
338 | 341 | m68*-*-rtems*) targ_emul=m68kelf |
339 | 342 | ;; |
| 343 | m68*-*-haiku*) targ_emul=m68kelf |
| 344 | targ_extra_emuls=m68kcoff |
| 345 | ;; |
340 | 346 | m8*-*-*) targ_emul=m88kbcs |
341 | 347 | ;; |
342 | 348 | maxq-*-coff) targ_emul=maxqcoff |
… |
… |
powerpc-*-aix5*) targ_emul=aix5ppc ;;
|
480 | 486 | powerpc-*-aix*) targ_emul=aixppc ;; |
481 | 487 | powerpc-*-beos*) targ_emul=aixppc ;; |
482 | 488 | powerpc-*-windiss*) targ_emul=elf32ppcwindiss ;; |
| 489 | powerpc-*-haiku*) targ_emul=elf_ppc_haiku ;; |
483 | 490 | powerpc-*-lynxos*) targ_emul=ppclynx ;; |
484 | 491 | rs6000-*-aix5*) targ_emul=aix5rs6 ;; |
485 | 492 | rs6000-*-aix*) targ_emul=aixrs6 |
diff -rupN binutils-2.18/ld/emulparams/armelf_haiku.sh /Volumes/Develop/Haiku/buildtools/binutils-2.18/ld/emulparams/armelf_haiku.sh
old
|
new
|
|
| 1 | . ${srcdir}/emulparams/armelf.sh |
| 2 | TEXT_START_ADDR=0x200000 |
| 3 | NONPAGED_TEXT_START_ADDR=0x200000 |
| 4 | MAXPAGESIZE=0x1000 |
| 5 | COMMONPAGESIZE=0x1000 |
| 6 | GENERATE_SHLIB_SCRIPT=yes |
| 7 | TARGET2_TYPE=got-rel |
diff -rupN binutils-2.18/ld/emulparams/elf_i386_haiku.sh /Volumes/Develop/Haiku/buildtools/binutils-2.18/ld/emulparams/elf_i386_haiku.sh
old
|
new
|
|
| 1 | SCRIPT_NAME=elf |
| 2 | OUTPUT_FORMAT="elf32-i386" |
| 3 | TEXT_START_ADDR=0x200000 |
| 4 | NONPAGED_TEXT_START_ADDR=0x200000 |
| 5 | MAXPAGESIZE=0x1000 |
| 6 | ARCH=i386 |
| 7 | MACHINE= |
| 8 | NOP=0x90909090 |
| 9 | TEMPLATE_NAME=elf32 |
| 10 | GENERATE_SHLIB_SCRIPT=yes |
| 11 | NO_SMALL_DATA=yes |
diff -rupN binutils-2.18/ld/emulparams/elf_ppc_haiku.sh /Volumes/Develop/Haiku/buildtools/binutils-2.18/ld/emulparams/elf_ppc_haiku.sh
old
|
new
|
|
| 1 | SCRIPT_NAME=elf |
| 2 | OUTPUT_FORMAT="elf32-powerpc" |
| 3 | TEXT_START_ADDR=0x200000 |
| 4 | NONPAGED_TEXT_START_ADDR=0x200000 |
| 5 | MAXPAGESIZE=0x1000 |
| 6 | ARCH=powerpc |
| 7 | MACHINE= |
| 8 | NOP=0x60000000 |
| 9 | TEMPLATE_NAME=elf32 |
| 10 | GENERATE_SHLIB_SCRIPT=yes |
| 11 | 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 | " |
diff -rupN binutils-2.18/libtool.m4 /Volumes/Develop/Haiku/buildtools/binutils-2.18/libtool.m4
old
|
new
|
else
|
1598 | 1598 | lt_cv_dlopen_libs= |
1599 | 1599 | |
1600 | 1600 | case $host_os in |
1601 | | beos*) |
| 1601 | beos* | haiku*) |
1602 | 1602 | lt_cv_dlopen="load_add_on" |
1603 | 1603 | lt_cv_dlopen_libs= |
1604 | 1604 | lt_cv_dlopen_self=yes |
… |
… |
beos*)
|
2053 | 2053 | shlibpath_var=LIBRARY_PATH |
2054 | 2054 | ;; |
2055 | 2055 | |
| 2056 | haiku*) |
| 2057 | library_names_spec='${libname}.so' |
| 2058 | dynamic_linker="$host_os ld.so" |
| 2059 | shlibpath_var=LIBRARY_PATH |
| 2060 | ;; |
| 2061 | |
2056 | 2062 | bsdi[[45]]*) |
2057 | 2063 | version_type=linux |
2058 | 2064 | need_version=no |
… |
… |
gnu*)
|
2891 | 2897 | lt_cv_deplibs_check_method=pass_all |
2892 | 2898 | ;; |
2893 | 2899 | |
| 2900 | haiku*) |
| 2901 | lt_cv_deplibs_check_method=pass_all |
| 2902 | ;; |
| 2903 | |
2894 | 2904 | hpux10.20* | hpux11*) |
2895 | 2905 | lt_cv_file_magic_cmd=/usr/bin/file |
2896 | 2906 | case $host_cpu in |
… |
… |
AC_DEFUN([LT_LIB_M],
|
3110 | 3120 | [AC_REQUIRE([AC_CANONICAL_HOST])dnl |
3111 | 3121 | LIBM= |
3112 | 3122 | case $host in |
3113 | | *-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*) |
| 3123 | *-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin* | *-*-haiku*) |
3114 | 3124 | # These system don't have libm, or don't need it |
3115 | 3125 | ;; |
3116 | 3126 | *-ncr-sysv4.3*) |
… |
… |
m4_if([$1], [CXX], [
|
3411 | 3421 | _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' |
3412 | 3422 | fi |
3413 | 3423 | ;; |
3414 | | beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) |
| 3424 | beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5* | haiku*) |
3415 | 3425 | # PIC is the default for these OSes. |
3416 | 3426 | ;; |
3417 | 3427 | mingw* | cygwin* | os2* | pw32*) |
… |
… |
m4_if([$1], [CXX], [
|
3706 | 3716 | fi |
3707 | 3717 | ;; |
3708 | 3718 | |
3709 | | beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) |
| 3719 | beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5* | haiku*) |
3710 | 3720 | # PIC is the default for these OSes. |
3711 | 3721 | ;; |
3712 | 3722 | |
… |
… |
_LT_EOF
|
4124 | 4134 | _LT_TAGVAR(ld_shlibs, $1)=no |
4125 | 4135 | ;; |
4126 | 4136 | |
4127 | | beos*) |
| 4137 | beos* | haiku*) |
4128 | 4138 | if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
4129 | 4139 | _LT_TAGVAR(allow_undefined_flag, $1)=unsupported |
4130 | 4140 | # Joseph Beckenbach <jrb3@best.com> says some releases of gcc |
… |
… |
if test "$_lt_caught_CXX_error" != yes;
|
5448 | 5458 | fi |
5449 | 5459 | ;; |
5450 | 5460 | |
5451 | | beos*) |
| 5461 | beos* | haiku*) |
5452 | 5462 | if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
5453 | 5463 | _LT_TAGVAR(allow_undefined_flag, $1)=unsupported |
5454 | 5464 | # Joseph Beckenbach <jrb3@best.com> says some releases of gcc |
diff -rupN binutils-2.18/ltmain.sh /Volumes/Develop/Haiku/buildtools/binutils-2.18/ltmain.sh
old
|
new
|
func_mode_link ()
|
3073 | 3073 | -l*) |
3074 | 3074 | if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then |
3075 | 3075 | case $host in |
3076 | | *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos*) |
| 3076 | *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-*-haiku*) |
3077 | 3077 | # These systems don't actually have a C or math library (as such) |
3078 | 3078 | continue |
3079 | 3079 | ;; |
… |
… |
func_mode_link ()
|
4996 | 4996 | if test "$build_libtool_libs" = yes; then |
4997 | 4997 | if test -n "$rpath"; then |
4998 | 4998 | case $host in |
4999 | | *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos*) |
| 4999 | *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-*-haiku*) |
5000 | 5000 | # these systems don't actually have a c library (as such)! |
5001 | 5001 | ;; |
5002 | 5002 | *-*-rhapsody* | *-*-darwin1.[012]) |