--- gold/configure.tgt.orig 2016-08-03 07:36:53 UTC +++ gold/configure.tgt @@ -54,6 +54,9 @@ i?86-*) targ_size=32 targ_big_endian=false case "$targ" in + i?86-*-bsdsunix*) + targ_osabi=ELFOSABI_BSDSUNIX + ;; i?86-*-freebsd*) targ_osabi=ELFOSABI_FREEBSD ;; @@ -67,6 +70,9 @@ x86_64*) targ_extra_size=32 targ_big_endian=false case "$targ" in + x86_64-*-bsdsunix*) + targ_osabi=ELFOSABI_BSDSUNIX + ;; x86_64-*-freebsd*) targ_osabi=ELFOSABI_FREEBSD ;;