From e310d205fb705c09b6869c4f97b5a88bd3d00e94 Mon Sep 17 00:00:00 2001 From: Fredrik Holmqvist Date: Sat, 3 Dec 2011 10:14:13 +0100 Subject: [PATCH] Add Haiku to list of elf-target so that is_elf is true. This enables --enable-gold flag to be used (doesn't compile yet though). The gold linker promises up to five times faster linking than ld, it is also possible to use link-time optimizations. --- binutils/configure | 2 +- binutils/configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/binutils/configure b/binutils/configure index a8cf680742..e324d21024 100755 --- a/binutils/configure +++ b/binutils/configure @@ -2049,7 +2049,7 @@ if test "${ENABLE_GOLD}" = "yes"; then is_elf=no case "${target}" in *-*-elf* | *-*-sysv4* | *-*-unixware* | *-*-eabi* | hppa*64*-*-hpux* \ - | *-*-linux* | frv-*-uclinux* | *-*-irix5* | *-*-irix6* \ + | *-*-linux* | frv-*-uclinux* | *-*-irix5* | *-*-irix6* | *-*-haiku* \ | *-*-netbsd* | *-*-openbsd* | *-*-freebsd* | *-*-solaris2*) case "${target}" in *-*-linux*aout* | *-*-linux*oldld*) diff --git a/binutils/configure.ac b/binutils/configure.ac index 78c8390a4a..3093f1ee07 100644 --- a/binutils/configure.ac +++ b/binutils/configure.ac @@ -304,7 +304,7 @@ if test "${ENABLE_GOLD}" = "yes"; then is_elf=no case "${target}" in *-*-elf* | *-*-sysv4* | *-*-unixware* | *-*-eabi* | hppa*64*-*-hpux* \ - | *-*-linux* | frv-*-uclinux* | *-*-irix5* | *-*-irix6* \ + | *-*-linux* | frv-*-uclinux* | *-*-irix5* | *-*-irix6* | *-*-haiku* \ | *-*-netbsd* | *-*-openbsd* | *-*-freebsd* | *-*-solaris2*) case "${target}" in *-*-linux*aout* | *-*-linux*oldld*)