X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gold%2Fconfigure.tgt;h=aa7ec552aec149dffd1b3500b8dddf0147d1f8c8;hb=0ac553107c601cc9c4c340338e0fc7e0ce8375cc;hp=ffdab8cbf4a6709b405a39da3b4659140e5b5ea8;hpb=cd536b21e2a977c360c5bd570917428644230df8;p=deliverable%2Fbinutils-gdb.git diff --git a/gold/configure.tgt b/gold/configure.tgt index ffdab8cbf4..aa7ec552ae 100644 --- a/gold/configure.tgt +++ b/gold/configure.tgt @@ -1,6 +1,6 @@ # configure.tgt -- target configuration for gold -*- sh -*- -# Copyright 2006, 2007, 2008 Free Software Foundation, Inc. +# Copyright (C) 2006-2020 Free Software Foundation, Inc. # Written by Ian Lance Taylor . # This file is part of gold. @@ -36,6 +36,7 @@ # targ_extra_size extra targ_size setting for the target # targ_big_endian whether the target is big-endian--true or false # targ_extra_big_endian extra targ_big_endian setting for the target +# targ_osabi EI_OSABI value # If the target is not recognized targ_obj is set to "UNKNOWN". @@ -45,12 +46,18 @@ targ_size= targ_extra_size= targ_big_endian= targ_extra_big_endian= +targ_osabi=ELFOSABI_NONE case "$targ" in i?86-*) targ_obj=i386 targ_machine=EM_386 targ_size=32 targ_big_endian=false + case "$targ" in + i?86-*-freebsd*) + targ_osabi=ELFOSABI_FREEBSD + ;; + esac ;; x86_64*) targ_obj=x86_64 @@ -59,6 +66,19 @@ x86_64*) targ_size=64 targ_extra_size=32 targ_big_endian=false + case "$targ" in + x86_64-*-freebsd*) + targ_osabi=ELFOSABI_FREEBSD + ;; + esac + ;; +tilegx*) + targ_obj=tilegx + targ_machine=EM_TILEGX + targ_size=64 + targ_extra_size=32 + targ_big_endian=false + targ_extra_big_endian=true ;; sparc-*) targ_obj=sparc @@ -84,6 +104,14 @@ powerpc-*) targ_big_endian=true targ_extra_big_endian=false ;; +powerpcle-*) + targ_obj=powerpc + targ_machine=EM_PPC + targ_size=32 + targ_extra_size=64 + targ_big_endian=false + targ_extra_big_endian=true + ;; powerpc64-*) targ_obj=powerpc targ_machine=EM_PPC64 @@ -92,6 +120,67 @@ powerpc64-*) targ_big_endian=true targ_extra_big_endian=false ;; +powerpc64le-*) + targ_obj=powerpc + targ_machine=EM_PPC64 + targ_size=64 + targ_extra_size=32 + targ_big_endian=false + targ_extra_big_endian=true + ;; +armeb*-*-*|armbe*-*-*) + targ_obj=arm + targ_extra_obj=arm-reloc-property + targ_machine=EM_ARM + targ_size=32 + targ_big_endian=true + targ_extra_big_endian=false + ;; +arm*-*-*) + targ_obj=arm + targ_extra_obj=arm-reloc-property + targ_machine=EM_ARM + targ_size=32 + targ_big_endian=false + targ_extra_big_endian=true + ;; +aarch64*-*) + targ_obj=aarch64 + targ_extra_obj=aarch64-reloc-property + targ_machine=EM_AARCH64 + targ_size=64 + targ_extra_size=32 + targ_big_endian=false + targ_extra_big_endian=true + ;; +mips*el*-*-*|mips*le*-*-*) + targ_obj=mips + targ_machine=EM_MIPS_RS3_LE + targ_size=32 + targ_big_endian=false + targ_extra_big_endian=true + ;; +mips*-*-*) + targ_obj=mips + targ_machine=EM_MIPS + targ_size=32 + targ_big_endian=true + targ_extra_big_endian=false + ;; +s390-*-*) + targ_obj=s390 + targ_machine=EM_S390 + targ_size=32 + targ_big_endian=true + targ_extra_big_endian=false + ;; +s390x-*-*) + targ_obj=s390 + targ_machine=EM_S390 + targ_size=64 + targ_big_endian=true + targ_extra_big_endian=false + ;; *) targ_obj=UNKNOWN ;;