head 1.49; access; symbols netbsd-11-0-RC4:1.47 netbsd-11-0-RC3:1.47 netbsd-11-0-RC2:1.47 binutils-2-46:1.1.1.12 netbsd-11-0-RC1:1.47 binutils-2-45:1.1.1.11 perseant-exfatfs-base-20250801:1.47 netbsd-11:1.47.0.2 netbsd-11-base:1.47 netbsd-10-1-RELEASE:1.37 perseant-exfatfs-base-20240630:1.47 binutils-2-42:1.1.1.10 perseant-exfatfs:1.46.0.2 perseant-exfatfs-base:1.46 netbsd-8-3-RELEASE:1.26 netbsd-9-4-RELEASE:1.32 netbsd-10-0-RELEASE:1.37 netbsd-10-0-RC6:1.37 netbsd-10-0-RC5:1.37 netbsd-10-0-RC4:1.37 netbsd-10-0-RC3:1.37 netbsd-10-0-RC2:1.37 netbsd-10-0-RC1:1.37 binutils-2-39:1.1.1.9 netbsd-10:1.37.0.6 netbsd-10-base:1.37 netbsd-9-3-RELEASE:1.32 cjep_sun2x-base1:1.37 cjep_sun2x:1.37.0.4 cjep_sun2x-base:1.37 cjep_staticlib_x-base1:1.37 netbsd-9-2-RELEASE:1.32 cjep_staticlib_x:1.37.0.2 cjep_staticlib_x-base:1.37 netbsd-9-1-RELEASE:1.32 phil-wifi-20200421:1.34 phil-wifi-20200411:1.34 is-mlppp:1.32.0.4 is-mlppp-base:1.32 phil-wifi-20200406:1.33 binutils-2-34:1.1.1.8 netbsd-8-2-RELEASE:1.26 netbsd-9-0-RELEASE:1.32 netbsd-9-0-RC2:1.32 netbsd-9-0-RC1:1.32 phil-wifi-20191119:1.32 netbsd-9:1.32.0.2 netbsd-9-base:1.32 phil-wifi-20190609:1.32 netbsd-8-1-RELEASE:1.26 netbsd-8-1-RC1:1.26 pgoyette-compat-merge-20190127:1.26.12.3 pgoyette-compat-20190127:1.31 pgoyette-compat-20190118:1.31 pgoyette-compat-1226:1.28 pgoyette-compat-1126:1.28 binutils-2-31-1:1.1.1.7 pgoyette-compat-1020:1.27 pgoyette-compat-0930:1.27 pgoyette-compat-0906:1.27 netbsd-7-2-RELEASE:1.17 pgoyette-compat-0728:1.27 netbsd-8-0-RELEASE:1.26 phil-wifi:1.27.0.2 phil-wifi-base:1.27 pgoyette-compat-0625:1.27 netbsd-8-0-RC2:1.26 pgoyette-compat-0521:1.27 pgoyette-compat-0502:1.27 pgoyette-compat-0422:1.27 netbsd-8-0-RC1:1.26 pgoyette-compat-0415:1.26 binutils-2-30:1.1.1.6 pgoyette-compat-0407:1.26 pgoyette-compat-0330:1.26 pgoyette-compat-0322:1.26 pgoyette-compat-0315:1.26 netbsd-7-1-2-RELEASE:1.17 pgoyette-compat:1.26.0.12 pgoyette-compat-base:1.26 netbsd-7-1-1-RELEASE:1.17 matt-nb8-mediatek:1.26.0.10 matt-nb8-mediatek-base:1.26 perseant-stdc-iso10646:1.26.0.8 perseant-stdc-iso10646-base:1.26 netbsd-8:1.26.0.6 netbsd-8-base:1.26 prg-localcount2-base3:1.26 prg-localcount2-base2:1.26 prg-localcount2-base1:1.26 prg-localcount2:1.26.0.4 prg-localcount2-base:1.26 pgoyette-localcount-20170426:1.26 bouyer-socketcan-base1:1.26 pgoyette-localcount-20170320:1.26 netbsd-7-1:1.17.0.8 netbsd-7-1-RELEASE:1.17 netbsd-7-1-RC2:1.17 netbsd-7-nhusb-base-20170116:1.17 bouyer-socketcan:1.26.0.2 bouyer-socketcan-base:1.26 pgoyette-localcount-20170107:1.26 netbsd-7-1-RC1:1.17 pgoyette-localcount-20161104:1.26 binutils-2-27:1.1.1.5 netbsd-7-0-2-RELEASE:1.17 localcount-20160914:1.23 netbsd-7-nhusb:1.17.0.6 netbsd-7-nhusb-base:1.17 pgoyette-localcount-20160806:1.23 binutils-2-26-1:1.1.1.4 pgoyette-localcount-20160726:1.23 pgoyette-localcount:1.23.0.2 pgoyette-localcount-base:1.23 netbsd-7-0-1-RELEASE:1.17 binutils-2-26:1.1.1.4 netbsd-7-0:1.17.0.4 netbsd-7-0-RELEASE:1.17 netbsd-7-0-RC3:1.17 netbsd-7-0-RC2:1.17 netbsd-7-0-RC1:1.17 netbsd-6-0-6-RELEASE:1.7 netbsd-6-1-5-RELEASE:1.7 netbsd-7:1.17.0.2 netbsd-7-base:1.17 yamt-pagecache-base9:1.16 yamt-pagecache-tag8:1.7.2.1 netbsd-6-1-4-RELEASE:1.7 netbsd-6-0-5-RELEASE:1.7 tls-earlyentropy:1.16.0.2 tls-earlyentropy-base:1.16 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.16 riastradh-drm2-base3:1.16 netbsd-6-1-3-RELEASE:1.7 netbsd-6-0-4-RELEASE:1.7 binutils-2-23-2:1.1.1.3 netbsd-6-1-2-RELEASE:1.7 netbsd-6-0-3-RELEASE:1.7 netbsd-6-1-1-RELEASE:1.7 riastradh-drm2-base2:1.9 riastradh-drm2-base1:1.9 riastradh-drm2:1.8.0.4 riastradh-drm2-base:1.8 netbsd-6-1:1.7.0.10 netbsd-6-0-2-RELEASE:1.7 netbsd-6-1-RELEASE:1.7 netbsd-6-1-RC4:1.7 netbsd-6-1-RC3:1.7 agc-symver:1.8.0.6 agc-symver-base:1.8 netbsd-6-1-RC2:1.7 netbsd-6-1-RC1:1.7 yamt-pagecache-base8:1.8 netbsd-6-0-1-RELEASE:1.7 yamt-pagecache-base7:1.8 matt-nb6-plus-nbase:1.7 yamt-pagecache-base6:1.8 netbsd-6-0:1.7.0.8 netbsd-6-0-RELEASE:1.7 netbsd-6-0-RC2:1.7 tls-maxphys:1.8.0.2 tls-maxphys-base:1.17 matt-nb6-plus:1.7.0.6 matt-nb6-plus-base:1.7 netbsd-6-0-RC1:1.7 yamt-pagecache-base5:1.7 yamt-pagecache-base4:1.7 netbsd-6:1.7.0.4 netbsd-6-base:1.7 yamt-pagecache-base3:1.7 yamt-pagecache-base2:1.7 yamt-pagecache:1.7.0.2 yamt-pagecache-base:1.7 binutils-2-21-1a:1.1.1.2 cherry-xenmp:1.6.0.4 cherry-xenmp-base:1.6 bouyer-quota2-nbase:1.6 bouyer-quota2:1.6.0.2 bouyer-quota2-base:1.6 matt-mips64-premerge-20101231:1.6 binutils-2-19-1-20090402:1.1.1.1 matt-premerge-20091211:1.4 binutils-2-19-1:1.1.1.1 FSF:1.1.1; locks; strict; comment @# @; 1.49 date 2026.02.11.20.15.02; author christos; state Exp; branches; next 1.48; commitid 2ZnkVhvajDjbVZtG; 1.48 date 2025.08.25.15.47.41; author christos; state Exp; branches; next 1.47; commitid 83YQOH8LeFn9V78G; 1.47 date 2024.06.30.16.10.19; author christos; state Exp; branches; next 1.46; commitid YLzDDRlomJFmz1gF; 1.46 date 2023.08.28.02.26.35; author rin; state Exp; branches 1.46.2.1; next 1.45; commitid etgzAFWM7c1VSuCE; 1.45 date 2023.08.28.02.18.16; author rin; state Exp; branches; next 1.44; commitid 791VdJJolS6uQuCE; 1.44 date 2023.02.07.20.39.01; author christos; state Exp; branches; next 1.43; commitid nJ94baX0zL9IqDcE; 1.43 date 2023.01.16.15.52.18; author christos; state Exp; branches; next 1.42; commitid K3rhGuWqjQEdyM9E; 1.42 date 2023.01.16.08.31.49; author skrll; state Exp; branches; next 1.41; commitid L6VWx9aBBR647K9E; 1.41 date 2023.01.16.08.27.22; author skrll; state Exp; branches; next 1.40; commitid zKQvK5Cbtiou5K9E; 1.40 date 2023.01.15.23.31.51; author christos; state Exp; branches; next 1.39; commitid TwpXmd3MyzGP7H9E; 1.39 date 2023.01.06.15.47.38; author christos; state Exp; branches; next 1.38; commitid Aaaki8OsNrbtPu8E; 1.38 date 2022.12.24.20.17.07; author christos; state Exp; branches; next 1.37; commitid y5TadmP38ddHKQ6E; 1.37 date 2021.04.26.15.38.11; author christos; state Exp; branches; next 1.36; commitid 3CqQbUoh93aTIOQC; 1.36 date 2021.04.25.23.35.52; author christos; state Exp; branches; next 1.35; commitid QjrB1TeU0tyKoJQC; 1.35 date 2020.09.13.21.14.01; author mrg; state Exp; branches; next 1.34; commitid zVHTPxR57a3tOVnC; 1.34 date 2020.04.09.16.12.28; author skrll; state Exp; branches; next 1.33; commitid 3yKIvY3aN1QUbJ3C; 1.33 date 2020.04.03.23.48.48; author christos; state Exp; branches; next 1.32; commitid 23XN8arVUk87UZ2C; 1.32 date 2019.04.18.10.07.24; author mrg; state Exp; branches; next 1.31; commitid PGS633AmhKRaEOjB; 1.31 date 2018.12.28.20.43.25; author christos; state Exp; branches; next 1.30; commitid rrTeFeyTrR1vJB5B; 1.30 date 2018.12.28.15.46.30; author christos; state Exp; branches; next 1.29; commitid 6ctFHXdLWZTC5A5B; 1.29 date 2018.12.28.15.28.36; author christos; state Exp; branches; next 1.28; commitid aDHCBHvOqp5yZz5B; 1.28 date 2018.11.07.01.13.54; author christos; state Exp; branches; next 1.27; commitid fBTCYRhE5Q1XTWYA; 1.27 date 2018.04.15.20.06.03; author christos; state Exp; branches 1.27.2.1; next 1.26; commitid MpiHxWBBfLwGMzyA; 1.26 date 2016.10.26.18.43.26; author christos; state Exp; branches 1.26.12.1; next 1.25; commitid icdZ2D2VouhuyGrz; 1.25 date 2016.10.19.19.09.42; author mrg; state Exp; branches; next 1.24; commitid 5ivzhGL2GuXJVMqz; 1.24 date 2016.10.18.12.52.32; author christos; state Exp; branches; next 1.23; commitid GlM7hIQK1utmSCqz; 1.23 date 2016.03.26.08.41.16; author skrll; state Exp; branches 1.23.2.1; next 1.22; commitid mYFXkc0hQQQG680z; 1.22 date 2016.03.26.08.39.55; author skrll; state Exp; branches; next 1.21; commitid bhvHd9TUF7Ja680z; 1.21 date 2016.02.26.14.34.06; author christos; state Exp; branches; next 1.20; commitid mUtWeHDSRF1tZqWy; 1.20 date 2016.01.29.14.42.46; author christos; state Exp; branches; next 1.19; commitid QJ5IMUNnZ6y2WPSy; 1.19 date 2014.09.19.17.19.53; author matt; state Exp; branches; next 1.18; commitid KpEumofMzp0wMYQx; 1.18 date 2014.09.03.19.01.16; author matt; state Exp; branches; next 1.17; commitid hP3IkZkjKc2XQVOx; 1.17 date 2014.08.10.05.57.30; author matt; state Exp; branches; next 1.16; commitid gGKJLbfxyXHhiMLx; 1.16 date 2014.03.07.04.13.46; author matt; state Exp; branches; next 1.15; commitid hGOIzPueUrzjJIrx; 1.15 date 2014.01.31.07.32.53; author matt; state Exp; branches; next 1.14; commitid 7taxS5z2nG3vXenx; 1.14 date 2014.01.29.23.16.14; author matt; state Exp; branches; next 1.13; commitid 6w1fpb4pJNSff4nx; 1.13 date 2014.01.29.22.39.47; author matt; state Exp; branches; next 1.12; commitid In8F9w0YzhZI24nx; 1.12 date 2013.11.29.23.01.54; author joerg; state Exp; branches; next 1.11; commitid R7o7C46tMukQ7efx; 1.11 date 2013.09.29.14.03.31; author christos; state Exp; branches; next 1.10; commitid M0UvZ6fnBgRH4l7x; 1.10 date 2013.08.04.22.19.42; author matt; state Exp; branches; next 1.9; commitid oQsZtFqbsxlyEb0x; 1.9 date 2013.07.19.16.01.33; author matt; state Exp; branches; next 1.8; commitid KHtNyKjSL4zy46Yw; 1.8 date 2012.08.05.04.03.03; author matt; state Exp; branches 1.8.2.1 1.8.4.1; next 1.7; 1.7 date 2011.09.25.04.32.43; author christos; state Exp; branches 1.7.2.1; next 1.6; 1.6 date 2010.01.29.06.05.32; author matt; state Exp; branches; next 1.5; 1.5 date 2009.12.14.02.52.08; author mrg; state Exp; branches; next 1.4; 1.4 date 2009.11.15.10.25.17; author skrll; state Exp; branches; next 1.3; 1.3 date 2009.08.21.15.15.09; author skrll; state Exp; branches; next 1.2; 1.2 date 2009.08.19.07.19.31; author skrll; state Exp; branches; next 1.1; 1.1 date 2009.08.18.10.16.42; author skrll; state Exp; branches 1.1.1.1; next ; 1.46.2.1 date 2024.07.01.01.00.18; author perseant; state Exp; branches; next ; commitid NkoYLLCQWWw9v4gF; 1.27.2.1 date 2019.06.10.21.52.22; author christos; state Exp; branches; next 1.27.2.2; commitid jtc8rnCzWiEEHGqB; 1.27.2.2 date 2020.04.08.14.04.46; author martin; state Exp; branches; next ; commitid Qli2aW9E74UFuA3C; 1.26.12.1 date 2018.04.22.07.20.13; author pgoyette; state Exp; branches; next 1.26.12.2; commitid W6xykws0Zbl4kpzA; 1.26.12.2 date 2018.11.26.01.50.19; author pgoyette; state Exp; branches; next 1.26.12.3; commitid Zj4q5SspGdKXto1B; 1.26.12.3 date 2019.01.18.08.48.45; author pgoyette; state Exp; branches; next ; commitid Lmlzg3OVT2cd6f8B; 1.23.2.1 date 2016.11.04.14.43.21; author pgoyette; state Exp; branches; next ; commitid 2m1JRwYmpwPkOOsz; 1.8.2.1 date 2014.08.19.23.52.44; author tls; state Exp; branches; next ; commitid jTnpym9Qu0o4R1Nx; 1.8.4.1 date 2013.07.23.21.07.25; author riastradh; state Exp; branches; next ; commitid rochtllMBJfBDDYw; 1.7.2.1 date 2012.10.30.18.56.40; author yamt; state Exp; branches; next 1.7.2.2; 1.7.2.2 date 2014.05.22.15.54.30; author yamt; state Exp; branches; next ; commitid LcfsdHQ4HK08ayBx; 1.1.1.1 date 2009.08.18.10.16.42; author skrll; state Exp; branches; next 1.1.1.2; 1.1.1.2 date 2011.09.24.22.19.26; author christos; state Exp; branches; next 1.1.1.3; 1.1.1.3 date 2013.09.29.13.45.23; author christos; state Exp; branches; next 1.1.1.4; commitid TyuuzSx830x3Yk7x; 1.1.1.4 date 2016.01.29.12.45.12; author christos; state Exp; branches; next 1.1.1.5; commitid B0qHLT45wK2yhPSy; 1.1.1.5 date 2016.10.26.17.30.18; author christos; state Exp; branches; next 1.1.1.6; commitid su5ccdRz6qdh9Grz; 1.1.1.6 date 2018.04.14.22.17.18; author christos; state Exp; branches; next 1.1.1.7; commitid ShNerhdmcUZyxsyA; 1.1.1.7 date 2018.11.06.21.19.02; author christos; state Exp; branches; next 1.1.1.8; commitid 6Ndf2Zuj4yZRAVYA; 1.1.1.8 date 2020.04.03.23.40.01; author christos; state Exp; branches; next 1.1.1.9; commitid qJOWzDWs5P5cQZ2C; 1.1.1.9 date 2022.12.23.19.01.11; author christos; state Exp; branches; next 1.1.1.10; commitid AaAP7ITTx5JnmI6E; 1.1.1.10 date 2024.06.30.16.01.09; author christos; state Exp; branches; next 1.1.1.11; commitid Eqxmo2uubpM9w1gF; 1.1.1.11 date 2025.08.25.14.43.24; author christos; state Exp; branches; next 1.1.1.12; commitid aUBKFf4jmEzPv78G; 1.1.1.12 date 2026.02.11.19.50.27; author christos; state Exp; branches; next ; commitid vybCSY05tblOMZtG; desc @@ 1.49 log @Merge conflicts between 2.45 and 2.46, regen x86 @ text @# configure.tgt # # Copyright (C) 2013-2026 Free Software Foundation, Inc. # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; see the file COPYING3. If not see # . # This is the linker target specific file. This is invoked by the # autoconf generated configure script. Putting it in a separate shell # file lets us skip running autoconf when modifying target specific # information. # This file switches on the shell variable ${targ}, and sets the # following shell variables: # targ_emul name of linker emulation to use # targ_extra_emuls additional linker emulations to provide # targ_extra_libpath additional linker emulations using LIB_PATH # targ_extra_ofiles additional host-compiled objects needed by the emulation # targ64_extra_emuls additional linker emulations to provide if # --enable-64-bit-bfd is given or if host is 64 bit. # targ64_extra_libpath additional linker emulations using LIB_PATH if # --enable-64-bit-bfd is given or if host is 64 bit. # NATIVE_LIB_DIRS library directories to search on this host # (if we are a native or sysrooted linker) targ_extra_emuls= targ_extra_libpath= targ_extra_ofiles="ldelf.o ldelfgen.o" targ64_extra_emuls= targ64_extra_libpath= # By default the linker will generate warnings if it is creating an # executable stack or a segment with all three of read, write and # execute permissions. These settings are not appropriate for all # targets however, so we can change them here: if test "${ac_default_ld_warn_rwx_segments}" = unset; then case "${targ}" in # The CRIS and V850 default linker scripts yields just one segment # as intended, so a rwx segment warning is not helpful. # The HPPA's and SPARC's PLT sections use a constructed trampoline # hence it needs to have a RWX segment. # Many MIPS targets use executable segments. cris-*-* | crisv32-*-* | \ hppa*-*-* | \ mips*-*-* | \ microblaze*-*-* | \ sparc*-*-* | \ v850*-*-*) ac_default_ld_warn_rwx_segments=0 ;; *) ;; esac fi if test "${ac_default_ld_warn_execstack}" = 2; then case "${targ}" in # The HPPA port needs to support older kernels that # use executable stacks for signals and syscalls. # Many MIPS targets use executable stacks. hppa*-*-* | \ mips*-*-*) ac_default_ld_warn_execstack=0 ;; *) ;; esac fi # Please try to keep this table more or less in alphabetic order - it # makes it much easier to lookup a specific archictecture. case "${targ}" in aarch64_be-*-netbsd*) targ_emul=aarch64nbsdb targ_extra_emuls="aarch64nbsd aarch64elfb aarch64elf armelfb_nbsd_eabihf armelf_nbsd_eabihf armelfb_nbsd_eabi armelf_nbsd_eabi armelfb_nbsd armelf_nbsd armelf armelfb" ;; aarch64_be-*-elf) targ_emul=aarch64elfb targ_extra_emuls="aarch64elf aarch64elf32 aarch64elf32b armelfb armelf" ;; aarch64-*-netbsd*) targ_emul=aarch64nbsd targ_extra_emuls="aarch64nbsdb aarch64elf aarch64elfb armelf_nbsd_eabihf armelfb_nbsd_eabihf armelf_nbsd_eabi armelfb_nbsd_eabi armelf_nbsd armelfb_nbsd armelf armelfb" ;; aarch64-*-elf | aarch64-*-rtems* | aarch64-*-genode*) targ_emul=aarch64elf targ_extra_emuls="aarch64elf32 aarch64elf32b aarch64elfb armelf armelfb" ;; aarch64-*-freebsd*) targ_emul=aarch64fbsd targ_extra_emuls="aarch64fbsdb aarch64elf" ;; aarch64-*-fuchsia*) targ_emul=aarch64elf targ_extra_emuls="aarch64elfb armelf armelfb" ;; aarch64_be-*-linux-gnu_ilp32) targ_emul=aarch64linux32b targ_extra_libpath="aarch64linuxb aarch64linux aarch64linux32 armelfb_linux_eabi armelf_linux_eabi" targ_extra_emuls="aarch64elfb aarch64elf aarch64elf32 aarch64elf32b armelfb armelf" ;; aarch64-*-linux-gnu_ilp32) targ_emul=aarch64linux32 targ_extra_libpath="aarch64linux aarch64linuxb aarch64linux32b armelfb_linux_eabi armelf_linux_eabi" targ_extra_emuls="aarch64elf aarch64elf32 aarch64elf32b aarch64elfb armelf armelfb" ;; aarch64_be-*-linux*) targ_emul=aarch64linuxb targ_extra_libpath="aarch64linux aarch64linux32 aarch64linux32b armelfb_linux_eabi armelf_linux_eabi" targ_extra_emuls="aarch64elfb aarch64elf aarch64elf32 aarch64elf32b armelfb armelf" ;; aarch64-*-linux*) targ_emul=aarch64linux targ_extra_libpath="aarch64linuxb aarch64linux32 aarch64linux32b armelfb_linux_eabi armelf_linux_eabi" targ_extra_emuls="aarch64elf aarch64elf32 aarch64elf32b aarch64elfb armelf armelfb" ;; # This has to come after aarch64-*-linux* for aarch64-*-linux-gnu to hit the Linux branch. aarch64-*-gnu*) targ_emul=aarch64gnu targ_extra_emuls="aarch64elf aarch64elfb armelf armelfb" ;; aarch64-*-haiku*) targ_emul=aarch64haiku targ_extra_emuls="aarch64elf aarch64elf32 aarch64elf32b aarch64elfb armelf armelfb armelf_haiku" ;; aarch64-*-nto*) targ_emul=aarch64nto targ_extra_emuls="aarch64elf aarch64elf32 aarch64elf32b aarch64elfb armelf armelfb" ;; aarch64-*-pe* | aarch64-*-mingw*) targ_emul=aarch64pe targ_extra_emuls="arm64pe" targ_extra_ofiles="deffilep.o pep-dll-aarch64.o pe-dll.o pdb.o" ;; alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu) targ_emul=elf64alpha_fbsd targ_extra_emuls="elf64alpha alpha" tdir_alpha=`echo ${targ_alias} | sed -e 's/freebsd/freebsdecoff/'` ;; alpha*-*-linux*ecoff*) targ_emul=alpha targ_extra_emuls=elf64alpha tdir_elf64alpha=`echo ${targ_alias} | sed -e 's/ecoff//'` ;; alpha*-*-linux-*) targ_emul=elf64alpha targ_extra_emuls=alpha tdir_alpha=`echo ${targ_alias} | sed -e 's/linux\(-gnu\)*/linux\1ecoff/'` ;; alpha*-*-osf*) targ_emul=alpha targ_extra_ofiles= ;; alpha*-*-gnu*) targ_emul=elf64alpha ;; alpha*-*-netbsd*) targ_emul=elf64alpha_nbsd ;; alpha*-*-openbsd*) targ_emul=elf64alpha ;; alpha*-*-*vms*) targ_emul=alphavms targ_extra_ofiles= ;; am33_2.0-*-linux*) targ_emul=elf32am33lin # mn10300 variant ;; arc*-*-elf*) targ_emul=arcelf targ_extra_emuls="arclinux arclinux_nps arcv2elf arcv2elfx" ;; arc*-*-linux*) case "${with_cpu}" in nps400) targ_emul=arclinux_nps targ_extra_emuls=arclinux ;; *) targ_emul=arclinux targ_extra_emuls=arclinux_nps ;; esac targ_extra_emuls="${targ_extra_emuls} arcelf arcv2elf arcv2elfx" ;; arm*-*-cegcc*) targ_emul=arm_wince_pe targ_extra_ofiles="deffilep.o pe-dll.o" LIB_PATH='${tooldir}/lib/w32api' ;; arm-wince-pe | arm-*-wince | arm*-*-mingw32ce*) targ_emul=arm_wince_pe targ_extra_ofiles="deffilep.o pe-dll.o" ;; arm-*-pe) targ_emul=armpe targ_extra_ofiles="deffilep.o pe-dll.o" ;; arm*b-*-freebsd*) targ_emul=armelfb_fbsd targ_extra_emuls="armelf_fbsd armelf" ;; arm*-*-freebsd* | arm-*-kfreebsd*-gnu) targ_emul=armelf_fbsd targ_extra_emuls="armelfb_fbsd armelf" ;; arm*eb-*-netbsd*-*eabihf*) targ_emul=armelfb_nbsd_eabihf targ_extra_emuls="armelf_nbsd_eabihf armelf_nbsd_eabi armelfb_nbsd_eabi armelf_nbsd armelfb_nbsd armelf" ;; arm*eb-*-netbsd*-*eabi*) targ_emul=armelfb_nbsd_eabi targ_extra_emuls="armelf_nbsd_eabi armelf_nbsd_eabihf armelfb_nbsd_eabihf armelf_nbsd armelfb_nbsd armelf" ;; arm*-*-netbsd*-*eabihf*) targ_emul=armelf_nbsd_eabihf targ_extra_emuls="armelfb_nbsd_eabihf armelf_nbsd_eabi armelfb_nbsd_eabi armelf_nbsd armelfb_nbsd armelf" ;; arm*-*-netbsd*-*eabi*) targ_emul=armelf_nbsd_eabi targ_extra_emuls="armelfb_nbsd_eabi armelf_nbsd_eabihf armelfb_nbsd_eabihf armelf_nbsd armelfb_nbsd armelf" ;; arm*eb-*-netbsd*) targ_emul=armelfb_nbsd targ_extra_emuls="armelf_nbsd armelf" ;; arm*-*-netbsd*) targ_emul=armelf_nbsd targ_extra_emuls="armelfb_nbsd armelf" ;; arm-*-nto*) targ_emul=armnto ;; arm-*-phoenix*) targ_emul=armelf ;; armeb-*-elf | armeb-*-eabi*) targ_emul=armelfb ;; arm-*-elf | arm*-*-eabi* | arm-*-rtems* | arm-*-genode*) targ_emul=armelf ;; arm-*-kaos*) targ_emul=armelf ;; arm9e-*-elf) targ_emul=armelf ;; arm*b-*-linux-*eabi*) targ_emul=armelfb_linux_eabi targ_extra_libpath=armelf_linux_eabi ;; arm*b-*-linux-*) targ_emul=armelfb_linux targ_extra_emuls="armelfb armelf armelf_linux" targ_extra_libpath="armelf_linux" ;; arm*-*-linux-*eabi*) targ_emul=armelf_linux_eabi targ_extra_libpath=armelfb_linux_eabi ;; arm*-*-uclinuxfdpiceabi) targ_emul=armelf_linux_eabi targ_extra_libpath="armelfb_linux_eabi armelf_linux_fdpiceabi armelfb_linux_fdpiceabi" ;; arm*-*-linux-*) targ_emul=armelf_linux targ_extra_emuls="armelf armelfb armelfb_linux" targ_extra_libpath="armelfb_linux" ;; arm*-*-uclinux*eabi*) targ_emul=armelf_linux_eabi targ_extra_libpath=armelfb_linux_eabi ;; arm*-*-uclinux*) targ_emul=armelf_linux targ_extra_emuls="armelf armelfb armelfb_linux" targ_extra_libpath="armelfb_linux" ;; arm-*-vxworks) targ_emul=armelf_vxworks ;; arm*-*-conix*) targ_emul=armelf ;; arm*-*-fuchsia*) targ_emul=armelf_fuchsia targ_extra_emuls="armelfb_fuchsia armelf armelfb" ;; arm*-*-haiku*) targ_emul=armelf_haiku targ_extra_emuls=armelf ;; avr-*-*) targ_emul=avr2 targ_extra_emuls="avr1 avr25 avr3 avr31 avr35 avr4 avr5 avr51 avr6 avrxmega1 avrxmega2 avrxmega2_flmap avrxmega3 avrxmega4 avrxmega4_flmap avrxmega5 avrxmega6 avrxmega7 avrtiny" ;; bfin-*-elf | bfin-*-rtems*) targ_emul=elf32bfin targ_extra_libpath=elf32bfinfd ;; bfin-*-uclinux*) targ_emul=elf32bfin; targ_extra_libpath=elf32bfinfd ;; bfin-*-linux-uclibc*) targ_emul=elf32bfinfd; targ_extra_libpath=elf32bfin ;; bpf-*-*) targ_emul=elf64bpf ;; cr16-*-elf*) targ_emul=elf32cr16 ;; cris-*-*aout*) targ_emul=crisaout targ_extra_libpath="criself crislinux" ;; cris-*-linux-* | crisv32-*-linux-*) targ_emul=crislinux ;; cris-*-* | crisv32-*-*) targ_emul=criself targ_extra_libpath="crisaout crislinux" ;; crx-*-elf*) targ_emul=elf32crx ;; csky-*-elf*) targ_emul=cskyelf ;; csky-*-linux*) targ_emul=cskyelf_linux ;; d10v-*-*) targ_emul=d10velf ;; d30v-*-*ext*) targ_emul=d30v_e targ_extra_emuls="d30velf d30v_o" targ_extra_ofiles=ldelfgen.o ;; d30v-*-*onchip*) targ_emul=d30v_o targ_extra_emuls="d30velf d30v_e" targ_extra_ofiles=ldelfgen.o ;; d30v-*-*) targ_emul=d30velf targ_extra_emuls="d30v_e d30v_o" targ_extra_ofiles=ldelfgen.o ;; dlx-*-elf*) targ_emul=elf32_dlx targ_extra_ofiles=ldelfgen.o ;; epiphany-*-*) targ_emul=elf32epiphany targ_extra_emuls="elf32epiphany_4x4" ;; fido*-*-elf*) targ_emul=m68kelf ;; fr30-*-*) targ_emul=elf32fr30 targ_extra_ofiles=ldelfgen.o ;; frv-*-*linux*) targ_emul=elf32frvfd ;; frv-*-*) targ_emul=elf32frv targ_extra_emuls="elf32frvfd" ;; ft32-*-*) targ_emul=elf32ft32 targ_extra_ofiles=ldelfgen.o ;; h8300-*-elf* | h8300-*-rtems*) targ_emul=h8300elf; targ_extra_emuls="h8300helf h8300self h8300hnelf h8300snelf h8300sxelf h8300sxnelf" ;; h8300-*-linux*) targ_emul=h8300elf_linux; targ_extra_emuls="h8300helf_linux h8300self_linux h8300sxelf_linux" ;; hppa*64*-*-linux-*) targ_emul=hppa64linux ;; hppa*64*-hpux*) targ_emul=elf64hppa ;; hppa*-*-linux-*) targ_emul=hppalinux ;; hppa*-*-*elf*) targ_emul=hppaelf ;; hppa*-*-lites*) targ_emul=hppaelf ;; hppa*-*-netbsd*) targ_emul=hppanbsd ;; hppa*-*-openbsd*) targ_emul=hppaobsd ;; i[3-7]86-*-nto-qnx*) targ_emul=i386nto ;; i[3-7]86-*-go32) targ_emul=i386go32 targ_extra_ofiles= ;; i[3-7]86-*-msdosdjgpp*) targ_emul=i386go32 targ_extra_ofiles= ;; i[3-7]86-*-lynxos*) targ_emul=i386lynx ;; i[3-7]86-*-aros*) targ_emul=elf_i386 targ_extra_emuls=elf_iamcu ;; i[3-7]86-*-rdos*) targ_emul=elf_i386 targ_extra_emuls=elf_iamcu ;; i[3-7]86-*-bsd) targ_emul=i386bsd targ_extra_ofiles= ;; i[3-7]86-*-bsd386) targ_emul=i386bsd targ_extra_ofiles= ;; i[3-7]86-*-bsdi*) targ_emul=i386bsd targ_extra_ofiles= ;; i[3-7]86-*-linux-*) targ_emul=elf_i386 targ_extra_emuls="elf_iamcu" targ64_extra_libpath="elf_x86_64 elf32_x86_64" ;; i[3-7]86-*-redox*) targ_emul=elf_i386 targ_extra_emuls=elf_x86_64 ;; i[3-7]86-*-solaris2*) targ_emul=elf_i386_sol2 targ_extra_emuls=elf_i386 targ64_extra_libpath=elf_x86_64_sol2 targ64_extra_emuls=elf_x86_64 ;; i[3-7]86-*-solaris*) targ_emul=elf_i386_sol2 targ_extra_emuls=elf_i386 ;; i[3-7]86-*-netbsd* | \ i[3-7]86-*-netbsd*-gnu* | \ i[3-7]86-*-knetbsd*-gnu | \ i[3-7]86-*-openbsd*) targ_emul=elf_i386 targ_extra_emuls="elf_iamcu" ;; i[3-7]86-*-elfiamcu) targ_emul=elf_iamcu targ_extra_emuls=elf_i386 ;; i[3-7]86-*-elf* | i[3-7]86-*-rtems* | i[3-7]86-*-genode*) targ_emul=elf_i386 targ_extra_emuls=elf_iamcu ;; i[3-7]86-*-dragonfly*) targ_emul=elf_i386 targ_extra_emuls="elf_iamcu i386bsd" ;; i[3-7]86-*-freebsd* | i[3-7]86-*-kfreebsd*-gnu) targ_emul=elf_i386_fbsd targ_extra_emuls="elf_i386 elf_iamcu i386bsd" ;; i[3-7]86-*-gnu*) targ_emul=elf_i386 targ_extra_emuls=elf_iamcu ;; i[3-7]86-*-msdos*) targ_emul=i386msdos targ_extra_emuls=i386aout targ_extra_ofiles= ;; i[3-7]86-*-moss*) targ_emul=i386moss targ_extra_emuls=i386msdos ;; i[3-7]86-*-winnt*) targ_emul=i386pe ; targ_extra_ofiles="deffilep.o pdb.o pe-dll.o" ;; i[3-7]86-*-pe) targ_emul=i386pe ; targ_extra_ofiles="deffilep.o pdb.o pe-dll.o" ;; i[3-7]86-*-cygwin*) targ_emul=i386pe ; targ_extra_ofiles="deffilep.o pdb.o pe-dll.o" ; test "$targ" != "$host" && LIB_PATH='${tooldir}/lib/w32api' ;; i[3-7]86-*-mingw32*) targ_emul=i386pe ; targ_extra_ofiles="deffilep.o pdb.o pe-dll.o" ;; i[3-7]86-*-interix*) targ_emul=i386pe_posix; targ_extra_ofiles="deffilep.o pe-dll.o" ;; i[3-7]86-*-beospe*) targ_emul=i386beos targ_extra_ofiles= ;; i[3-7]86-*-beos*) targ_emul=elf_i386_be ;; i[3-7]86-*-haiku*) targ_emul=elf_i386_haiku ;; i[3-7]86-*-vxworks*) targ_emul=elf_i386_vxworks ;; i[3-7]86-*-chaos) targ_emul=elf_i386_chaos ;; ia16-*-elf*) targ_emul=elf_i386 targ_extra_emuls=i386msdos ;; ia64-*-elf*) targ_emul=elf64_ia64 ;; ia64-*-freebsd* | ia64-*-kfreebsd*-gnu) targ_emul=elf64_ia64_fbsd targ_extra_emuls="elf64_ia64" ;; ia64-*-netbsd*) targ_emul=elf64_ia64 ;; ia64-*-linux*) targ_emul=elf64_ia64 ;; ia64-*-*vms*) targ_emul=elf64_ia64_vms targ_extra_ofiles=ldelfgen.o ;; ia64-*-aix*) targ_emul=elf64_aix ;; ip2k-*-elf) targ_emul=elf32ip2k ;; iq2000-*-elf) targ_emul=elf32iq2000 targ_extra_emuls="elf32iq10" targ_extra_ofiles=ldelfgen.o ;; lm32-*-*linux*) targ_emul=elf32lm32fd ;; lm32-*-*) targ_emul=elf32lm32 targ_extra_emuls="elf32lm32fd" ;; kvx-*-linux*) targ_emul=elf64kvx_linux targ_extra_emuls="elf64kvx" ;; kvx-*-*) targ_emul=elf64kvx; targ_extra_emuls="elf64kvx_linux elf32kvx" ;; m32c-*-elf) targ_emul=elf32m32c ;; m32r*le-*-elf*) targ_emul=m32rlelf ;; m32r*-*-elf*) targ_emul=m32relf ;; m32r*le-*-linux-*) targ_emul=m32rlelf_linux ;; m32r*-*-linux-*) targ_emul=m32relf_linux ;; m68hc11-*-*|m6811-*-*) targ_emul=m68hc11elf targ_extra_emuls="m68hc11elfb m68hc12elf m68hc12elfb" ;; m68hc12-*-*|m6812-*-*) targ_emul=m68hc12elf targ_extra_emuls="m68hc12elfb m68hc11elf m68hc11elfb" ;; m68*-*-netbsd*) targ_emul=m68kelfnbsd ;; m68*-*-haiku*) targ_emul=m68kelf ;; m68*-*-*) targ_emul=m68kelf ;; mcore-*-pe) targ_emul=mcorepe ; targ_extra_ofiles="deffilep.o pe-dll.o" ;; mcore-*-elf) targ_emul=elf32mcore ;; mep-*-elf) targ_emul=elf32mep ;; metag-*-*) targ_emul=elf32metag ;; microblazeel*-linux*) targ_emul="elf32mbel_linux" targ_extra_emuls="elf32mb_linux" ;; microblaze*-linux*) targ_emul="elf32mb_linux" targ_extra_emuls="elf32mbel_linux" ;; microblazeel*) targ_emul=elf32microblazeel targ_extra_emuls=elf32microblaze ;; microblaze*) targ_emul=elf32microblaze targ_extra_emuls=elf32microblazeel ;; mips*-sgi-irix5*) targ_emul=elf32bsmip ;; mips*-sgi-irix6*) targ_emul=elf32bmipn32 targ_extra_libpath="elf32bsmip elf64bmip" ;; mips*el-*-haiku*) targ_emul=elf_mipsel_haiku targ_extra_emuls="elf32ltsmip elf32btsmip elf32ltsmipn32 elf64ltsmip elf32btsmipn32 elf64btsmip" ;; mips64*el-*-netbsd*) targ_emul=elf32ltsmipn32 targ_extra_emuls="elf64btsmip elf64ltsmip elf32ltsmip elf32btsmipn32 elf32btsmip" targ_extra_libpath=$targ_extra_emuls ;; mips64*-*-netbsd*) targ_emul=elf32btsmipn32 targ_extra_emuls="elf64ltsmip elf64btsmip elf32btsmip elf32ltsmipn32 elf32ltsmip" targ_extra_libpath=$targ_extra_emuls ;; mipsn64*el-*-netbsd*) targ_emul=elf64ltsmip targ_extra_emuls="elf64btsmip elf32ltsmip elf32btsmip elf32btsmipn32 elf32ltsmipn32" targ_extra_libpath=$targ_extra_emuls ;; mipsn64*-*-netbsd*) targ_emul=elf64btsmip targ_extra_emuls="elf64ltsmip elf64btsmip elf32ltsmip elf32btsmip elf32ltsmipn32 elf32btsmipn32" targ_extra_libpath=$targ_extra_emuls ;; mips*el-*-netbsd*) targ_emul=elf32ltsmip targ_extra_emuls="elf32btsmip elf64ltsmip elf64btsmip" ;; mips*-*-netbsd*) targ_emul=elf32btsmip targ_extra_emuls="elf32ltsmip elf64btsmip elf64ltsmip" ;; mips64el-*-openbsd*) targ_emul=elf64ltsmip targ_extra_emuls=elf64btsmip ;; mips64-*-openbsd*) targ_emul=elf64btsmip targ_extra_emuls=elf64ltsmip ;; mips*vr4300el-*-elf*) targ_emul=elf32l4300 ;; mips*vr4300-*-elf*) targ_emul=elf32b4300 ;; mips*vr4100el-*-elf*) targ_emul=elf32l4300 ;; mips*vr4100-*-elf*) targ_emul=elf32b4300 ;; mips*vr5000el-*-elf*) targ_emul=elf32l4300 ;; mips*vr5000-*-elf*) targ_emul=elf32b4300 ;; mips*el-sde-elf* | mips*el-mti-elf* | mips*el-img-elf*) targ_emul=elf32ltsmip targ_extra_emuls="elf32btsmip elf32ltsmipn32 elf64ltsmip elf32btsmipn32 elf64btsmip" ;; mips*-sde-elf* | mips*-mti-elf* | mips*-img-elf*) targ_emul=elf32btsmip targ_extra_emuls="elf32ltsmip elf32btsmipn32 elf64btsmip elf32ltsmipn32 elf64ltsmip" ;; mips64*el-ps2-elf*) targ_emul=elf32lr5900n32 targ_extra_libpath=elf32lr5900 ;; mips*el-ps2-elf*) targ_emul=elf32lr5900 targ_extra_libpath=elf32lr5900n32 ;; mips*el-*-elf*) targ_emul=elf32elmip ;; mips*-*-elf* | mips*-*-rtems*) targ_emul=elf32ebmip ;; mips*el-*-vxworks*) targ_emul=elf32elmipvxworks targ_extra_emuls="elf32ebmipvxworks" ;; mips*-*-vxworks*) targ_emul=elf32ebmipvxworks targ_extra_emuls="elf32elmipvxworks" ;; mips*-*-windiss) targ_emul=elf32mipswindiss ;; mips64*el-*-linux-gnuabi64) targ_emul=elf64ltsmip targ_extra_libpath="elf64btsmip elf32ltsmipn32 elf32btsmipn32 elf32ltsmip elf32btsmip" ;; mips64*el-*-linux-*) targ_emul=elf32ltsmipn32 targ_extra_libpath="elf32btsmipn32 elf32ltsmip elf32btsmip elf64ltsmip elf64btsmip" ;; mips64*-*-linux-gnuabi64) targ_emul=elf64btsmip targ_extra_libpath="elf64ltsmip elf32btsmipn32 elf32ltsmipn32 elf32btsmip elf32ltsmip" ;; mips64*-*-linux-*) targ_emul=elf32btsmipn32 targ_extra_libpath="elf32ltsmipn32 elf32btsmip elf32ltsmip elf64btsmip elf64ltsmip" ;; mips*el-*-linux-*) targ_emul=elf32ltsmip targ_extra_libpath="elf32btsmip elf32ltsmipn32 elf64ltsmip elf32btsmipn32 elf64btsmip" ;; mips*-*-linux-*) targ_emul=elf32btsmip targ_extra_libpath="elf32ltsmip elf32btsmipn32 elf64btsmip elf32ltsmipn32 elf64ltsmip" ;; mips64*el-*-freebsd* | mips64*el-*-kfreebsd*-gnu) targ_emul=elf32ltsmipn32_fbsd targ_extra_libpath="elf32ltsmip elf32btsmip elf32ltsmipn32 elf32btsmipn32 elf64ltsmip elf64btsmip elf32ltsmip_fbsd elf32btsmip_fbsd elf32btsmipn32_fbsd elf64ltsmip_fbsd elf64btsmip_fbsd" ;; mips64*-*-freebsd* | mips64*-*-kfreebsd*-gnu) targ_emul=elf32btsmipn32_fbsd targ_extra_libpath="elf32ltsmip elf32btsmip elf32ltsmipn32 elf32btsmipn32 elf64ltsmip elf64btsmip elf32ltsmip_fbsd elf32btsmip_fbsd elf32ltsmipn32_fbsd elf64ltsmip_fbsd elf64btsmip_fbsd" ;; mips*el-*-freebsd* | mips*el-*-kfreebsd*-gnu) targ_emul=elf32ltsmip_fbsd targ_extra_libpath="elf32ltsmip elf32btsmip elf32ltsmipn32 elf32btsmipn32 elf64ltsmip elf64btsmip elf32ltsmipn32_fbsd elf32btsmip_fbsd elf32btsmipn32_fbsd elf64ltsmip_fbsd elf64btsmip_fbsd" ;; mips*-*-freebsd* | mips*-*-kfreebsd*-gnu) targ_emul=elf32btsmip_fbsd targ_extra_libpath="elf32ltsmip elf32btsmip elf32ltsmipn32 elf32btsmipn32 elf64ltsmip elf64btsmip elf32ltsmip_fbsd elf32btsmipn32_fbsd elf32ltsmipn32_fbsd elf64ltsmip_fbsd elf64btsmip_fbsd" ;; mips*-*-sysv4*) targ_emul=elf32btsmip ;; mmix-*-*) targ_emul=mmo targ_extra_emuls=elf64mmix ;; mn10200-*-*) targ_emul=mn10200 targ_extra_ofiles=ldelfgen.o ;; mn10300-*-*) targ_emul=mn10300 ;; moxie-*-moxiebox*) targ_emul=moxiebox targ_extra_ofiles=ldelfgen.o ;; moxie-*-*) targ_emul=elf32moxie ;; msp430-*-*) targ_emul=msp430elf targ_extra_emuls="msp430X" targ_extra_ofiles=ldelfgen.o ;; mt-*elf) targ_emul=elf32mt targ_extra_ofiles=ldelfgen.o ;; nds32*le-*-elf*) targ_emul=nds32elf targ_extra_emuls="nds32elf16m nds32belf nds32belf16m" ;; nds32*be-*-elf*) targ_emul=nds32belf targ_extra_emuls="nds32elf nds32elf16m nds32belf16m" ;; nds32*le-*-linux-gnu*) targ_emul=nds32elf_linux ;; nds32*be-*-linux-gnu*) targ_emul=nds32belf_linux ;; ns32k-pc532-mach* | ns32k-pc532-ux*) targ_emul=pc532macha targ_extra_ofiles= ;; ns32k-*-*bsd* | ns32k-pc532-lites*) targ_emul=ns32knbsd targ_extra_ofiles= ;; or1k-*-elf | or1knd-*-elf | or1k-*-rtems* | or1knd-*-rtems*) targ_emul=elf32or1k ;; or1k-*-netbsd* | or1knd-*-netbsd*) targ_emul=elf32or1k_nbsd ;; or1k-*-linux* | or1knd-*-linux*) targ_emul=elf32or1k_linux ;; powerpc-*-netbsd*) targ_emul=elf32ppc_nbsd targ_extra_emuls="elf32ppc elf32ppcsim" targ_extra_libpath=elf32ppc; tdir_elf32ppcsim=`echo ${targ_alias} | sed -e 's/ppc/ppcsim/'` targ64_extra_emuls=elf64ppc targ64_extra_libpath=elf64ppc ;; powerpc64-*-netbsd*) targ_emul=elf64ppc targ_extra_emuls="elf32ppc elf32ppc_nbsd elf32ppcsim" targ_extra_libpath="elf32ppc_nbsd elf32ppc" tdir_elf32ppc=`echo "${targ_alias}" | sed -e 's/64//'` tdir_elf32ppc_fbsd=$tdir_elf32ppc ;; pdp11-*-*) targ_emul=pdp11 targ_extra_ofiles= ;; pjl*-*-*) targ_emul=pjlelf targ_extra_emuls="elf_i386 elf_iamcu" ;; pj*-*-*) targ_emul=pjelf targ_extra_ofiles=ldelfgen.o ;; powerpc-*-freebsd* | powerpc-*-kfreebsd*-gnu) targ_emul=elf32ppc_fbsd targ_extra_emuls=elf32ppcsim targ_extra_libpath=elf32ppc tdir_elf32ppcsim=`echo ${targ_alias} | sed -e 's/ppc/ppcsim/'` ;; powerpc64-*-freebsd*) targ_emul=elf64ppc_fbsd targ_extra_emuls=elf64ppc targ_extra_libpath="elf32ppc_fbsd elf32ppc" tdir_elf32ppc=`echo "${targ_alias}" | sed -e 's/64//'` tdir_elf32ppc_fbsd=$tdir_elf32ppc ;; powerpc64le-*-freebsd*) targ_emul=elf64lppc_fbsd targ_extra_emuls="elf64lppc" ;; powerpc-*-vxworks*) targ_emul=elf32ppcvxworks targ_extra_emuls="elf32ppc elf32ppclinux elf32ppcsim" ;; powerpc*-*-elf* | powerpc*-*-eabi* | powerpc*-*-sysv* \ | powerpc*-*-linux* | powerpc*-*-netbsd* | powerpc*-*-openbsd* \ | powerpc*-*-rtems* \ | powerpc*-*-kaos* | powerpc*-*-vxworks*) case "${targ}" in powerpc64*) targ_emul=elf64ppc targ_extra_emuls=elf32ppcsim targ_extra_libpath="elf32ppc elf32ppclinux" ;; *linux*) targ_emul=elf32ppclinux targ_extra_emuls=elf32ppcsim targ_extra_libpath=elf32ppc targ64_extra_libpath=elf64ppc ;; *) targ_emul=elf32ppc targ_extra_emuls=elf32ppcsim targ_extra_libpath=elf32ppclinux targ64_extra_libpath=elf64ppc ;; esac td=tdir_elf32ppc td64=tdir_elf64ppc s=s/ppc/lppc/g case "${targ}" in powerpcle-* | powerpc64le-*) for z in td td64 targ_emul targ_extra_emuls \ targ_extra_libpath targ64_extra_emuls \ targ64_extra_libpath do eval ${z}=\"\`echo \$${z} \| sed -e $s\`\" done s=s/lppc/ppc/g ;; esac # Why oh why did we set tooldir based on target_alias # rather than on target? eval tdir_${targ_emul}="${targ_alias}" cpu=`echo "${targ_alias}" | sed -e 's/-.*//'` rest=`echo "${targ_alias}" | sed -e 's/^[^-]*//'` le=le case "${cpu}" in *little) le=little esac ta32=`echo "${cpu}" | sed -e s/64//`"${rest}" ta64=`echo "${cpu}" | sed -e 's/64//;s/$/64/;s/'${le}'64$/64'${le}'/;s/be64$/64be/'`"${rest}" eval test -n \"\$${td}\" || eval ${td}="${ta32}" eval test -n \"\$${td}linux\" || eval ${td}linux="${ta32}" eval test -n \"\$${td}sim\" || eval ${td}sim="${ta32}" eval test -n \"\$${td64}\" || eval ${td64}="${ta64}" # Now provide the other endian for z in targ_extra_emuls targ_extra_libpath do eval ${z}=\"\$${z} \`echo ${targ_emul} \$${z} \| sed -e $s\`\" done for z in targ64_extra_emuls targ64_extra_libpath do eval ${z}=\"\$${z} \`echo \$${z} \| sed -e $s\`\" done td=`echo "${td}" | sed -e $s` td64=`echo "${td64}" | sed -e $s` case "${targ}" in powerpcle-* | powerpc64le-*) cpu=`echo "${cpu}" | sed -e s/${le}\$//` ;; *) cpu=`echo "${cpu}" | sed -e s/be\$//`${le} ;; esac ta32=`echo "${cpu}" | sed -e s/64//`"${rest}" ta64=`echo "${cpu}" | sed -e 's/64//;s/$/64/;s/'${le}'64$/64'${le}/`"${rest}" eval test -n \"\$${td}\" || eval ${td}="${ta32}" eval test -n \"\$${td}linux\" || eval ${td}linux="${ta32}" eval test -n \"\$${td}sim\" || eval ${td}sim="${ta32}" eval test -n \"\$${td64}\" || eval ${td64}="${ta64}" ;; powerpc-*-nto*) targ_emul=elf32ppcnto ;; powerpcle-*-nto*) targ_emul=elf32lppcnto ;; powerpc-*-macos*) targ_emul=ppcmacos targ_extra_ofiles= ;; powerpc-*-aix[5-9]*) targ_emul=aix5ppc targ_extra_ofiles= ;; powerpc-*-aix*) targ_emul=aixppc targ_extra_ofiles= ;; powerpc-*-beos*) targ_emul=aixppc targ_extra_ofiles= ;; powerpc-*-haiku*) targ_emul=elf32ppchaiku ;; powerpc-*-windiss*) targ_emul=elf32ppcwindiss ;; pru*-*-*) targ_emul=pruelf ;; riscv32be*-*-linux* | riscv32be*-*-netbsd*) targ_emul=elf32briscv targ_extra_libpath="elf32briscv_ilp32f elf32briscv_ilp32 elf64briscv elf64briscv_lp64f elf64briscv_lp64 elf32lriscv elf32lriscv_ilp32f elf32lriscv_ilp32 elf64lriscv elf64lriscv_lp64f elf64lriscv_lp64" ;; riscv32*-*-linux* | riscv-*-netbsd* | riscv32*-*-netbsd*) targ_emul=elf32lriscv targ_extra_libpath="elf32lriscv_ilp32f elf32lriscv_ilp32 elf64lriscv elf64lriscv_lp64f elf64lriscv_lp64 elf32briscv elf32briscv_ilp32f elf32briscv_ilp32 elf64briscv elf64briscv_lp64f elf64briscv_lp64" ;; riscvbe-*-* | riscv32be*-*-*) targ_emul=elf32briscv targ_extra_libpath="elf64briscv elf32lriscv elf64lriscv" ;; riscv-*-* | riscv32*-*-*) targ_emul=elf32lriscv targ_extra_libpath="elf64lriscv elf32briscv elf64briscv" ;; riscv64be*-*-linux* | riscv64be*-*-netbsd*) targ_emul=elf64briscv targ_extra_libpath="elf64briscv_lp64f elf64briscv_lp64 elf32briscv elf32briscv_ilp32f elf32briscv_ilp32 elf64lriscv elf64lriscv_lp64f elf64lriscv_lp64 elf32lriscv elf32lriscv_ilp32f elf32lriscv_ilp32" ;; riscv64*-*-linux* | riscv64*-*-netbsd*) targ_emul=elf64lriscv targ_extra_libpath="elf64lriscv_lp64f elf64lriscv_lp64 elf32lriscv elf32lriscv_ilp32f elf32lriscv_ilp32 elf64briscv elf64briscv_lp64f elf64briscv_lp64 elf32briscv elf32briscv_ilp32f elf32briscv_ilp32" ;; riscv64be*-*-*) targ_emul=elf64briscv targ_extra_libpath="elf32briscv elf64lriscv elf32lriscv" ;; riscv64*-*-*) targ_emul=elf64lriscv targ_extra_libpath="elf32lriscv elf64briscv elf32briscv" ;; rs6000-*-aix[5-9]*) targ_emul=aix5rs6 targ_extra_ofiles= ;; rs6000-*-aix*) targ_emul=aixrs6 targ_extra_ofiles= ;; rl78-*-*) targ_emul=elf32rl78 ;; rx-*-linux*) targ_emul=elf32rx_linux ;; rx-*-*) targ_emul=elf32rx ;; s12z-*-*) targ_emul=m9s12zelf targ_extra_ofiles=ldelfgen.o ;; s390x-*-linux*) targ_emul=elf64_s390 targ_extra_libpath=elf_s390 tdir_elf_s390=`echo ${targ_alias} | sed -e 's/s390x/s390/'` ;; s390x-*-tpf*) targ_emul=elf64_s390 tdir_elf_s390=`echo ${targ_alias} | sed -e 's/s390x/s390/'` ;; s390-*-linux*) targ_emul=elf_s390 targ64_extra_libpath=elf64_s390 tdir_elf64_s390=`echo ${targ_alias} | sed -e 's/s390/s390x/'` ;; score-*-elf) targ_emul=score7_elf targ_extra_emuls=score3_elf ;; sh-*-linux*) targ_emul=shlelf_linux targ_extra_emuls="shlelf_fd shelf_fd" targ_extra_libpath=shelf_linux ;; sh*eb-*-linux*) targ_emul=shelf_linux targ_extra_emuls="shelf_fd" ;; sh*-*-linux*) targ_emul=shlelf_linux targ_extra_emuls="shlelf_fd" ;; sh*l*-*-netbsd*) targ_emul=shlelf_nbsd targ_extra_emuls=shelf_nbsd ;; sh*-*-netbsd*) targ_emul=shelf_nbsd targ_extra_emuls=shlelf_nbsd ;; shle*-*-elf* | sh[1234]*le*-*-elf | shle*-*-kaos*) targ_emul=shlelf targ_extra_emuls="shelf shl sh" ;; sh-*-elf* | sh[1234]*-*-elf | sh-*-rtems* | sh-*-kaos*) targ_emul=shelf targ_extra_emuls="shlelf sh shl" ;; sh-*-uclinux* | sh[12]-*-uclinux*) targ_emul=shelf_uclinux targ_extra_emuls="shelf shlelf sh shl shelf_fd shlelf_fd" ;; sh-*-vxworks) targ_emul=shelf_vxworks targ_extra_emuls=shlelf_vxworks ;; sh-*-nto*) targ_emul=shelf_nto targ_extra_emuls=shlelf_nto ;; sh-*-pe) targ_emul=shpe ; targ_extra_ofiles="deffilep.o pe-dll.o" ;; sh-*-*) targ_emul=sh; targ_extra_emuls=shl targ_extra_ofiles= ;; sparc64-*-freebsd* | sparcv9-*-freebsd* | sparc64-*-kfreebsd*-gnu | sparcv9-*-kfreebsd*-gnu) targ_emul=elf64_sparc_fbsd targ_extra_libpath="elf64_sparc elf32_sparc" tdir_elf32_sparc=`echo ${targ_alias} | sed -e 's/64//'` ;; sparc64-*-linux-*) targ_emul=elf64_sparc targ_extra_libpath=elf32_sparc tdir_elf32_sparc=`echo ${targ_alias} | sed -e 's/64//'` ;; sparc64-*-*bsd*) targ_emul=elf64_sparc targ_extra_emuls="elf32_sparc" ;; sparc64-*-solaris2* | sparcv9-*-solaris2*) targ_emul=elf64_sparc_sol2 targ_extra_libpath=elf32_sparc_sol2 targ_extra_emuls="elf64_sparc elf32_sparc" ;; sparc64-*-haiku*) targ_emul=elf64_sparc ;; sparc64-*-*) targ_emul=elf64_sparc ;; sparc*-*-linux-*) targ_emul=elf32_sparc targ_extra_libpath=elf64_sparc tdir_elf64_sparc=`echo ${targ_alias} | sed -e 's/32//'` ;; sparc64-*-netbsd*) targ_emul=elf64_sparc targ_extra_emuls="elf32_sparc" ;; sparc*-*-netbsd*) targ_emul=elf32_sparc ;; sparc-*-solaris2*) targ_emul=elf32_sparc_sol2 targ_extra_emuls=elf32_sparc targ64_extra_libpath=elf64_sparc_sol2 targ64_extra_emuls=elf64_sparc ;; sparc*-*-solaris*) targ_emul=elf32_sparc_sol2 targ_extra_emuls=elf32_sparc ;; sparc*-*-vxworks*) targ_emul=elf32_sparc_vxworks ;; sparc*-*-*) targ_emul=elf32_sparc ;; spu-*-elf*) targ_emul=elf32_spu ;; tic30-*-*coff*) targ_emul=tic30coff targ_extra_ofiles= ;; tic4x-*-* | c4x-*-*) targ_emul=tic4xcoff targ_extra_emuls="tic3xcoff tic3xcoff_onchip" targ_extra_ofiles= ;; tic54x-*-* | c54x*-*-*) targ_emul=tic54xcoff targ_extra_ofiles= ;; tic6x-*-elf) targ_emul=elf32_tic6x_elf_le targ_extra_libpath="elf32_tic6x_elf_be elf32_tic6x_le elf32_tic6x_be" ;; tic6x-*-uclinux) targ_emul=elf32_tic6x_linux_le targ_extra_libpath="elf32_tic6x_linux_be elf32_tic6x_le elf32_tic6x_be" ;; tilegx-*-*) targ_emul=elf64tilegx targ_extra_libpath="elf64tilegx_be elf32tilegx elf32tilegx_be" ;; tilegxbe-*-*) targ_emul=elf64tilegx_be targ_extra_libpath="elf64tilegx elf32tilegx elf32tilegx_be" ;; tilepro-*-*) targ_emul=elf32tilepro ;; v850*-*-*) targ_emul=v850_rh850 targ_extra_emuls=v850 ;; vax-*-netbsdaout*) targ_emul=vaxnbsd targ_extra_emuls=elf32vax ;; vax-*-netbsd*) targ_emul=elf32vax targ_extra_emuls=vaxnbsd ;; vax-*-linux-*) targ_emul=elf32vax ;; visium-*-elf) targ_emul=elf32visium ;; x86_64-*-rdos*) targ_emul=elf64rdos ;; x86_64-*-haiku*) targ_emul=elf_x86_64_haiku targ_extra_emuls="elf_x86_64 elf_i386_haiku" ;; x86_64-*-linux-gnux32) targ_emul=elf32_x86_64 targ_extra_libpath="elf_i386 elf_iamcu elf_x86_64" tdir_elf_iamcu=`echo ${targ_alias} | sed -e 's/x86_64/i386/' -e 's/-linux-gnux32/-linux-gnu/'` tdir_elf_i386=`echo ${targ_alias} | sed -e 's/x86_64/i386/' -e 's/-linux-gnux32/-linux-gnu/'` ;; x86_64-*-linux-*) targ_emul=elf_x86_64 targ_extra_emuls=elf_iamcu targ_extra_libpath="elf_i386 elf32_x86_64" tdir_elf_i386=`echo ${targ_alias} | sed -e 's/x86_64/i386/'` ;; x86_64-*-redox*) targ_emul=elf_x86_64 targ_extra_emuls=elf_i386 ;; x86_64-*-solaris2*) targ_emul=elf_x86_64_sol2 targ_extra_libpath=elf_i386_sol2 targ_extra_emuls="elf_x86_64 elf_i386" ;; x86_64-*-netbsd* | x86_64-*-openbsd*) targ_emul=elf_x86_64 targ_extra_emuls="elf_i386 elf_iamcu" tdir_elf_iamcu=`echo ${targ_alias} | \ sed -e 's/x86_64/i386/' -e 's/aout//'` tdir_elf_i386=`echo ${targ_alias} | \ sed -e 's/x86_64/i386/' -e 's/aout//'` ;; x86_64-*-elf* | x86_64-*-rtems* | x86_64-*-fuchsia* | x86_64-*-genode*) targ_emul=elf_x86_64 targ_extra_libpath="elf_i386 elf_iamcu elf32_x86_64" tdir_elf_i386=`echo ${targ_alias} | sed -e 's/x86_64/i386/'` ;; x86_64-*-dragonfly*) targ_emul=elf_x86_64 targ_extra_emuls="elf_i386 elf_iamcu" ;; x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu) targ_emul=elf_x86_64_fbsd targ_extra_emuls="elf_x86_64 elf_i386 elf_iamcu" targ_extra_libpath="elf_i386_fbsd" tdir_elf_i386_fbsd=`echo ${targ_alias} \ | sed -e 's/x86_64/i386/'` tdir_elf_iamcu=`echo ${targ_alias} \ | sed -e 's/x86_64/i386/'` tdir_elf_i386=`echo ${targ_alias} \ | sed -e 's/x86_64/i386/'` ;; x86_64-*-pe | x86_64-*-pep) targ_emul=i386pep ; targ_extra_emuls=i386pe ; targ_extra_ofiles="deffilep.o pdb.o pep-dll-x86_64.o pe-dll.o" ;; x86_64-*-cygwin) targ_emul=i386pep ; targ_extra_emuls=i386pe targ_extra_ofiles="deffilep.o pdb.o pep-dll.o pe-dll.o" test "$targ" != "$host" && LIB_PATH='${tooldir}/lib/w32api' ;; x86_64-*-mingw*) targ_emul=i386pep ; targ_extra_emuls=i386pe targ_extra_ofiles="deffilep.o pdb.o pep-dll.o pe-dll.o" ;; x86_64-*-gnu*) targ_emul=elf_x86_64 targ_extra_emuls=elf_iamcu targ_extra_libpath="elf_i386 elf32_x86_64" tdir_elf_i386=`echo ${targ_alias} | sed -e 's/x86_64/i386/'` ;; xgate-*-*) targ_emul=xgateelf targ_extra_ofiles=ldelfgen.o ;; xstormy16-*-*) targ_emul=elf32xstormy16 ;; xtensa*-*-*) targ_emul=elf32xtensa ;; z80-*-elf*) targ_emul=elf32z80 targ_extra_ofiles="ldelf.o ldelfgen.o" ;; z80-*-coff) targ_emul=z80 targ_extra_ofiles= ;; z8k-*-coff) targ_emul=z8002 targ_extra_emuls=z8001 targ_extra_ofiles= ;; loongarch32-*) targ_emul=elf32loongarch ;; loongarch64-*) targ_emul=elf64loongarch ;; *-*-ieee*) targ_emul=vanilla targ_extra_ofiles= ;; *) echo 2>&1 "*** ld does not support target ${targ}" echo 2>&1 "*** see ld/configure.tgt for supported targets" exit 1 esac NATIVE_LIB_DIRS='/usr/local/lib /lib /usr/lib' case "${target}" in *-*-dragonfly*) NATIVE_LIB_DIRS='/lib /usr/lib /usr/pkg/lib /usr/local/lib' ;; *-*-freebsd*) NATIVE_LIB_DIRS='/lib /usr/lib /usr/local/lib /usr/lib32' ;; hppa*64*-*-hpux11*) NATIVE_LIB_DIRS=/usr/lib/pa20_64 ;; i[3-7]86-*-sysv4*) NATIVE_LIB_DIRS='/usr/local/lib /usr/ccs/lib /lib /usr/lib' ;; i[3-7]86-pc-interix*) NATIVE_LIB_DIRS='/usr/local/lib $$INTERIX_ROOT/usr/lib /lib /usr/lib' ;; ia64-*-aix*) NATIVE_LIB_DIRS='/usr/local/lib /usr/lib/ia64l64 /lib /usr/lib' ;; spu-*-elf*) # This allows one to build a pair of PPU/SPU toolchains with common sysroot. NATIVE_LIB_DIRS='/lib' ;; i[03-9x]86-*-cygwin* | x86_64-*-cygwin*) NATIVE_LIB_DIRS='/usr/lib /usr/lib/w32api' ;; *-*-linux*) ;; *-*-netbsd*) ;; alpha*-*-*) NATIVE_LIB_DIRS='/usr/local/lib /usr/ccs/lib /lib /usr/lib' ;; esac case "${target}" in frv-*-* | hppa*-*-* | ia64-*-* | mips*-*-*) # Don't enable -z relro by default since many relro tests fail on these # targets: # FAIL: strip -z relro (relro1) # FAIL: strip -z relro -shared (relro1) # FAIL: objcopy -z relro (relro1) # FAIL: objcopy -z relro -shared (relro1) # FAIL: objcopy -z relro (tdata1) # FAIL: objcopy -shared -z relro (tdata1) # FAIL: objcopy -z relro (tdata2) # FAIL: objcopy -shared -z relro (tdata2) # FAIL: objcopy -z relro (tdata3) # FAIL: objcopy -shared -z relro (tdata3) # FAIL: objcopy -shared -z relro (tbss1) # FAIL: objcopy -shared -z relro (tbss2) # FAIL: objcopy -shared -z relro (tbss3) ;; *-*-linux*) if test ${ac_default_ld_z_relro} = unset; then ac_default_ld_z_relro=1 fi ;; esac # Enable -z separate-code and --warn-textrel by default for Linux/x86. case "${target}" in i[3-7]86-*-linux-* | x86_64-*-linux-* | i[3-7]86-*-netbsd* | x86_64-*-netbsd*) if test ${ac_default_ld_z_separate_code} = unset; then ac_default_ld_z_separate_code=1 fi if test ${ac_default_ld_textrel_check} = unset; then ac_default_ld_textrel_check=yes fi ;; esac @ 1.48 log @merge conflicts @ text @d3 1 a3 1 # Copyright (C) 2013-2025 Free Software Foundation, Inc. a97 3 aarch64-*-cloudabi*) targ_emul=aarch64cloudabi targ_extra_emuls=aarch64cloudabib ;; d107 1 a107 1 targ_extra_emuls="aarch64elfb aarch64elf aarch64elf32 aarch64elf32b armelfb armelf $targ_extra_libpath" d112 1 a112 1 targ_extra_emuls="aarch64elf aarch64elf32 aarch64elf32b aarch64elfb armelf armelfb $targ_extra_libpath" d116 1 a116 1 targ_extra_emuls="aarch64elfb aarch64elf aarch64elf32 aarch64elf32b armelfb armelf $targ_extra_libpath" d120 1 a120 1 targ_extra_emuls="aarch64elf aarch64elf32 aarch64elf32b aarch64elfb armelf armelfb $targ_extra_libpath" d128 1 a128 1 targ_extra_emuls="aarch64elf aarch64elf32 aarch64elf32b aarch64elfb armelf armelfb armelf_haiku $targ_extra_libpath" d233 1 a233 2 targ_extra_emuls=armelf_linux_eabi targ_extra_libpath=$targ_extra_emuls d240 1 a240 2 targ_extra_emuls="armelfb_linux_eabi" targ_extra_libpath=$targ_extra_emuls d244 1 a244 2 targ_extra_emuls="armelfb_linux_eabi armelf_linux_fdpiceabi armelfb_linux_fdpiceabi" targ_extra_libpath=$targ_extra_emuls a249 8 arm*b-*-nacl*) targ_emul=armelfb_nacl targ_extra_emuls="armelf_nacl" targ_extra_libpath=$targ_extra_emuls ;; arm*-*-nacl*) targ_emul=armelf_nacl targ_extra_emuls="armelfb_nacl" targ_extra_libpath=$targ_extra_emuls ;; d251 1 a251 2 targ_extra_emuls=armelfb_linux_eabi targ_extra_libpath=$targ_extra_emuls d272 1 a272 2 targ_extra_emuls="elf32bfinfd" targ_extra_libpath=$targ_extra_emuls d275 1 a275 2 targ_extra_emuls="elf32bfinfd" targ_extra_libpath=$targ_extra_emuls d278 1 a278 2 targ_extra_emuls="elf32bfin" targ_extra_libpath=$targ_extra_emuls d285 1 a285 2 targ_extra_emuls="criself crislinux" targ_extra_libpath=$targ_extra_emuls d291 1 a291 2 targ_extra_emuls="crisaout crislinux" targ_extra_libpath=$targ_extra_emuls a382 1 targ64_extra_emuls="elf_x86_64 elf32_x86_64" d388 5 a392 3 i[3-7]86-*-solaris2*) targ_emul=elf_i386_sol2 targ_extra_emuls="elf_i386_ldso elf_i386 elf_iamcu elf_x86_64_sol2 elf_x86_64" targ_extra_libpath=$targ_extra_emuls d394 3 a396 3 i[3-7]86-*-solaris*) targ_emul=elf_i386_ldso targ_extra_emuls="elf_i386" targ_extra_libpath=$targ_extra_emuls d539 1 a539 2 targ_extra_emuls="elf32bsmip elf64bmip" targ_extra_libpath=$targ_extra_emuls d593 1 a593 2 targ_extra_emuls="elf32lr5900" targ_extra_libpath=$targ_extra_emuls d596 1 a596 2 targ_extra_emuls="elf32lr5900n32" targ_extra_libpath=$targ_extra_emuls d613 1 a613 2 targ_extra_emuls="elf64btsmip elf32ltsmipn32 elf32btsmipn32 elf32ltsmip elf32btsmip" targ_extra_libpath=$targ_extra_emuls d616 1 a616 2 targ_extra_emuls="elf32btsmipn32 elf32ltsmip elf32btsmip elf64ltsmip elf64btsmip" targ_extra_libpath=$targ_extra_emuls d620 1 a620 2 targ_extra_emuls="elf64ltsmip elf32btsmipn32 elf32ltsmipn32 elf32btsmip elf32ltsmip" targ_extra_libpath=$targ_extra_emuls d623 1 a623 2 targ_extra_emuls="elf32ltsmipn32 elf32btsmip elf32ltsmip elf64btsmip elf64ltsmip" targ_extra_libpath=$targ_extra_emuls d626 1 a626 2 targ_extra_emuls="elf32btsmip elf32ltsmipn32 elf64ltsmip elf32btsmipn32 elf64btsmip" targ_extra_libpath=$targ_extra_emuls d629 1 a629 2 targ_extra_emuls="elf32ltsmip elf32btsmipn32 elf64btsmip elf32ltsmipn32 elf64ltsmip" targ_extra_libpath=$targ_extra_emuls d633 1 a633 2 targ_extra_emuls="elf32ltsmip elf32btsmip elf32ltsmipn32 elf32btsmipn32 elf64ltsmip elf64btsmip elf32ltsmip_fbsd elf32btsmip_fbsd elf32btsmipn32_fbsd elf64ltsmip_fbsd elf64btsmip_fbsd" targ_extra_libpath=$targ_extra_emuls d637 1 a637 2 targ_extra_emuls="elf32ltsmip elf32btsmip elf32ltsmipn32 elf32btsmipn32 elf64ltsmip elf64btsmip elf32ltsmip_fbsd elf32btsmip_fbsd elf32ltsmipn32_fbsd elf64ltsmip_fbsd elf64btsmip_fbsd" targ_extra_libpath=$targ_extra_emuls d641 1 a641 2 targ_extra_emuls="elf32ltsmip elf32btsmip elf32ltsmipn32 elf32btsmipn32 elf64ltsmip elf64btsmip elf32ltsmipn32_fbsd elf32btsmip_fbsd elf32btsmipn32_fbsd elf64ltsmip_fbsd elf64btsmip_fbsd" targ_extra_libpath=$targ_extra_emuls d645 1 a645 2 targ_extra_emuls="elf32ltsmip elf32btsmip elf32ltsmipn32 elf32btsmipn32 elf64ltsmip elf64btsmip elf32ltsmip_fbsd elf32btsmipn32_fbsd elf32ltsmipn32_fbsd elf64ltsmip_fbsd elf64btsmip_fbsd" targ_extra_libpath=$targ_extra_emuls d718 2 a719 2 targ_extra_emuls="elf32ppc elf32ppcsim" targ_extra_libpath=elf32ppc; d724 1 a724 1 targ_extra_emuls="elf64ppc elf32ppc_fbsd elf32ppc" d740 1 a740 1 | powerpc*-*-solaris* | powerpc*-*-kaos* | powerpc*-*-vxworks*) d744 1 a744 1 targ_extra_emuls="elf32ppc elf32ppclinux elf32ppcsim" d748 1 a748 1 targ_extra_emuls="elf32ppc elf32ppcsim" a749 1 targ64_extra_emuls=elf64ppc d753 1 a753 1 targ_extra_emuls="elf32ppclinux elf32ppcsim" a754 1 targ64_extra_emuls=elf64ppc d831 2 a832 4 riscv32be*-*-linux* | riscv32be*-*-netbsd*) targ_emul=elf32briscv targ_extra_emuls="elf32briscv_ilp32f elf32briscv_ilp32 elf64briscv elf64briscv_lp64f elf64briscv_lp64 elf32lriscv elf32lriscv_ilp32f elf32lriscv_ilp32 elf64lriscv elf64lriscv_lp64f elf64lriscv_lp64" targ_extra_libpath=$targ_extra_emuls d834 2 a835 4 riscv32*-*-linux* | riscv-*-netbsd* | riscv32*-*-netbsd*) targ_emul=elf32lriscv targ_extra_emuls="elf32lriscv_ilp32f elf32lriscv_ilp32 elf64lriscv elf64lriscv_lp64f elf64lriscv_lp64 elf32briscv elf32briscv_ilp32f elf32briscv_ilp32 elf64briscv elf64briscv_lp64f elf64briscv_lp64" targ_extra_libpath=$targ_extra_emuls d839 1 a839 2 targ_extra_emuls="elf64briscv elf32lriscv elf64lriscv" targ_extra_libpath=$targ_extra_emuls d843 1 a843 2 targ_extra_emuls="elf64lriscv elf32briscv elf64briscv" targ_extra_libpath=$targ_extra_emuls d845 2 a846 4 riscv64be*-*-linux* | riscv64be*-*-netbsd*) targ_emul=elf64briscv targ_extra_emuls="elf64briscv_lp64f elf64briscv_lp64 elf32briscv elf32briscv_ilp32f elf32briscv_ilp32 elf64lriscv elf64lriscv_lp64f elf64lriscv_lp64 elf32lriscv elf32lriscv_ilp32f elf32lriscv_ilp32" targ_extra_libpath=$targ_extra_emuls d848 2 a849 4 riscv64*-*-linux* | riscv64*-*-netbsd*) targ_emul=elf64lriscv targ_extra_emuls="elf64lriscv_lp64f elf64lriscv_lp64 elf32lriscv elf32lriscv_ilp32f elf32lriscv_ilp32 elf64briscv elf64briscv_lp64f elf64briscv_lp64 elf32briscv elf32briscv_ilp32f elf32briscv_ilp32" targ_extra_libpath=$targ_extra_emuls d852 1 a852 2 targ_extra_emuls="elf32briscv elf64lriscv elf32lriscv" targ_extra_libpath=$targ_extra_emuls d855 1 a855 2 targ_extra_emuls="elf32lriscv elf64briscv elf32briscv" targ_extra_libpath=$targ_extra_emuls d873 1 a873 2 targ_extra_emuls=elf_s390 targ_extra_libpath=$targ_extra_emuls a879 1 targ64_extra_emuls=elf64_s390 d887 1 a887 1 targ_extra_emuls="shelf_linux shlelf_fd shelf_fd" d929 1 a929 2 targ_extra_emuls="elf64_sparc elf32_sparc" targ_extra_libpath=$targ_extra_emuls a932 1 targ_extra_emuls="elf32_sparc" d941 2 a942 3 targ_extra_emuls="elf64_sparc elf32_sparc_sol2 elf32_sparc" targ_extra_libpath=$targ_extra_emuls tdir_elf32_sparc=`echo ${targ_alias} | sed -e 's/64//'` a948 1 targ_extra_emuls="elf64_sparc" d957 1 a957 1 sparc-*-solaris2.[0-6] | sparc-*-solaris2.[0-6].*) d960 2 d963 3 a965 4 sparc-*-solaris2*) targ_emul=elf32_sparc_sol2 targ_extra_emuls="elf32_sparc elf64_sparc_sol2 elf64_sparc" targ_extra_libpath=$targ_extra_emuls tdir_elf64_sparc=`echo ${targ_alias} | sed -e 's/32//'` d984 1 a984 2 targ_extra_emuls="elf32_tic6x_elf_be elf32_tic6x_le elf32_tic6x_be" targ_extra_libpath=$targ_extra_emuls d987 1 a987 2 targ_extra_emuls="elf32_tic6x_linux_be elf32_tic6x_le elf32_tic6x_be" targ_extra_libpath=$targ_extra_emuls d990 1 a990 2 targ_extra_emuls="elf64tilegx_be elf32tilegx elf32tilegx_be" targ_extra_libpath=$targ_extra_emuls d993 1 a993 2 targ_extra_emuls="elf64tilegx elf32tilegx elf32tilegx_be" targ_extra_libpath=$targ_extra_emuls a1011 2 x86_64-*-cloudabi*) targ_emul=elf_x86_64_cloudabi ;; a1015 1 targ_extra_emuls="elf_x86_64 elf_i386 elf_iamcu" d1021 1 a1021 1 targ_extra_emuls="elf32_x86_64 elf_i386 elf_iamcu" d1028 4 a1031 4 x86_64-*-solaris2*) targ_emul=elf_x86_64_sol2 targ_extra_emuls="elf_x86_64 elf_i386_sol2 elf_i386_ldso elf_i386 elf_iamcu" targ_extra_libpath=$targ_extra_emuls tdir_elf_i386=`echo ${targ_alias} | sed -e 's/x86_64/i386/'` a1042 1 targ_extra_emuls="elf_i386 elf_iamcu elf32_x86_64" d1051 1 a1051 1 targ_extra_emuls="elf_i386_fbsd elf_x86_64 elf_i386 elf_iamcu" d1074 1 a1074 1 targ_extra_emuls="elf32_x86_64 elf_iamcu elf_i386" a1127 4 i[3-7]86-*-solaris*) NATIVE_LIB_DIRS='/usr/local/lib /usr/ccs/lib /lib /usr/lib' ;; a1135 4 sparc*-*-solaris2*) NATIVE_LIB_DIRS='/usr/local/lib /usr/ccs/lib /lib /usr/lib' ;; @ 1.47 log @Merge conflicts between 2.39 and 2.42 @ text @d3 1 a3 1 # Copyright (C) 2013-2024 Free Software Foundation, Inc. a710 4 nios2*-*-linux*) targ_emul=nios2linux ;; nios2*-*-*) targ_emul=nios2elf ;; d1176 1 a1176 1 NATIVE_LIB_DIRS='/lib /usr/lib /usr/local/lib' @ 1.46 log @binutils/ld: Misc cleanup. NFC - Drop a.out support for NetBSD/sparc. - Reduce diff with upstream for irrelevant parts. @ text @d3 1 a3 1 # Copyright (C) 2013-2022 Free Software Foundation, Inc. d50 1 a50 1 # The CRIS default linker script yields just one segment d58 3 a60 1 sparc*-*-*) d125 5 d133 8 d283 1 a283 1 targ_extra_emuls="avr1 avr25 avr3 avr31 avr35 avr4 avr5 avr51 avr6 avrxmega1 avrxmega2 avrxmega3 avrxmega4 avrxmega5 avrxmega6 avrxmega7 avrtiny" a408 3 i[3-7]86-*-sysv[45]*) targ_emul=elf_i386 targ_extra_emuls=elf_iamcu ;; a412 3 i[3-7]86-*-unixware) targ_emul=elf_i386 targ_extra_emuls=elf_iamcu ;; a416 3 i[3-7]86-*-netbsdpe*) targ_emul=i386pe targ_extra_ofiles="deffilep.o pe-dll.o" ;; d449 1 a449 1 targ_extra_ofiles="deffilep.o pe-dll.o" d452 1 a452 1 targ_extra_ofiles="deffilep.o pe-dll.o" d455 1 a455 1 targ_extra_ofiles="deffilep.o pe-dll.o" ; d459 1 a459 1 targ_extra_ofiles="deffilep.o pe-dll.o" d504 6 d633 5 d642 5 a947 6 sh*l*-*-netbsdaout*) targ_emul=shl targ_extra_emuls=sh ;; sh*-*-netbsdaout*) targ_emul=sh targ_extra_emuls=shl ;; d1125 1 a1125 1 targ_extra_ofiles="deffilep.o pep-dll.o pe-dll.o" d1129 1 a1129 1 targ_extra_ofiles="deffilep.o pep-dll.o pe-dll.o" d1134 6 a1139 1 targ_extra_ofiles="deffilep.o pep-dll.o pe-dll.o" @ 1.46.2.1 log @Sync with HEAD. @ text @d3 1 a3 1 # Copyright (C) 2013-2024 Free Software Foundation, Inc. d50 1 a50 1 # The CRIS and V850 default linker scripts yields just one segment d58 1 a58 3 microblaze*-*-* | \ sparc*-*-* | \ v850*-*-*) a122 5 # This has to come after aarch64-*-linux* for aarch64-*-linux-gnu to hit the Linux branch. aarch64-*-gnu*) targ_emul=aarch64gnu targ_extra_emuls="aarch64elf aarch64elfb armelf armelfb" ;; a125 8 aarch64-*-nto*) targ_emul=aarch64nto targ_extra_emuls="aarch64elf aarch64elf32 aarch64elf32b aarch64elfb armelf armelfb" ;; aarch64-*-pe* | aarch64-*-mingw*) targ_emul=aarch64pe targ_extra_emuls="arm64pe" targ_extra_ofiles="deffilep.o pep-dll-aarch64.o pe-dll.o pdb.o" ;; d268 1 a268 1 targ_extra_emuls="avr1 avr25 avr3 avr31 avr35 avr4 avr5 avr51 avr6 avrxmega1 avrxmega2 avrxmega2_flmap avrxmega3 avrxmega4 avrxmega4_flmap avrxmega5 avrxmega6 avrxmega7 avrtiny" d394 3 d401 3 d408 3 d443 1 a443 1 targ_extra_ofiles="deffilep.o pdb.o pe-dll.o" d446 1 a446 1 targ_extra_ofiles="deffilep.o pdb.o pe-dll.o" d449 1 a449 1 targ_extra_ofiles="deffilep.o pdb.o pe-dll.o" ; d453 1 a453 1 targ_extra_ofiles="deffilep.o pdb.o pe-dll.o" a497 6 kvx-*-linux*) targ_emul=elf64kvx_linux targ_extra_emuls="elf64kvx" ;; kvx-*-*) targ_emul=elf64kvx; targ_extra_emuls="elf64kvx_linux elf32kvx" ;; a620 5 mips64*el-*-linux-gnuabi64) targ_emul=elf64ltsmip targ_extra_emuls="elf64btsmip elf32ltsmipn32 elf32btsmipn32 elf32ltsmip elf32btsmip" targ_extra_libpath=$targ_extra_emuls ;; a624 5 mips64*-*-linux-gnuabi64) targ_emul=elf64btsmip targ_extra_emuls="elf64ltsmip elf32btsmipn32 elf32ltsmipn32 elf32btsmip elf32ltsmip" targ_extra_libpath=$targ_extra_emuls ;; d926 6 d1109 1 a1109 1 targ_extra_ofiles="deffilep.o pdb.o pep-dll-x86_64.o pe-dll.o" d1113 1 a1113 1 targ_extra_ofiles="deffilep.o pdb.o pep-dll.o pe-dll.o" d1118 1 a1118 6 targ_extra_ofiles="deffilep.o pdb.o pep-dll.o pe-dll.o" ;; x86_64-*-gnu*) targ_emul=elf_x86_64 targ_extra_emuls="elf32_x86_64 elf_iamcu elf_i386" targ_extra_libpath="elf_i386 elf32_x86_64" tdir_elf_i386=`echo ${targ_alias} | sed -e 's/x86_64/i386/'` @ 1.45 log @binutils/ld: Clean up targets for arm - Consistently use netbsd* instead of netbsdelf*. - Consistently use arm*- and arm*eb- for OABI. - Style sync with upstream codes. @ text @d547 2 a548 1 targ_extra_libpath=$targ_extra_emuls ;; d995 1 a995 6 sparc64-*-openbsd*) targ_emul=elf64_sparc targ_extra_emuls="elf32_sparc" ;; sparc*-*-netbsd*elf*) targ_emul=elf32_sparc ;; sparc*-*-netbsd*) targ_emul=sparcnbsd @ 1.44 log @fix and regen mips64 @ text @d184 20 a203 16 arm*eb-*-netbsdelf*-*eabihf*) targ_emul=armelfb_nbsd_eabihf; targ_extra_emuls="armelf_nbsd_eabihf armelf_nbsd_eabi armelfb_nbsd_eabi armelf_nbsd armelfb_nbsd armelf" ;; arm*eb-*-netbsdelf*-*eabi*) targ_emul=armelfb_nbsd_eabi; targ_extra_emuls="armelf_nbsd_eabi armelf_nbsd_eabihf armelfb_nbsd_eabihf armelf_nbsd armelfb_nbsd armelf" ;; arm*-*-netbsdelf*-*eabihf*) targ_emul=armelf_nbsd_eabihf; targ_extra_emuls="armelfb_nbsd_eabihf armelf_nbsd_eabi armelfb_nbsd_eabi armelf_nbsd armelfb_nbsd armelf" ;; arm*-*-netbsdelf*-*eabi*) targ_emul=armelf_nbsd_eabi; targ_extra_emuls="armelfb_nbsd_eabi armelf_nbsd_eabihf armelfb_nbsd_eabihf armelf_nbsd armelfb_nbsd armelf" ;; arm*eb-*-netbsdelf*) targ_emul=armelfb_nbsd; targ_extra_emuls="armelf_nbsd armelf" ;; arm-*-netbsdelf*) targ_emul=armelf_nbsd; @ 1.43 log @put back or1k @ text @d547 2 a548 2 mipsn64*el-*-netbsd*) targ_emul=elf64ltsmip targ_extra_emuls="elf64btsmip elf32ltsmip elf32btsmip elf32btsmipn32 elf32ltsmipn32" d550 1 a550 1 ;; d555 4 @ 1.42 log @Remove the trailing whitespace I added. oops. @ text @d693 2 @ 1.41 log @Restore netbsd riscv targets @ text @d861 1 a861 1 riscv64*-*-linux* | riscv64*-*-netbsd*) @ 1.40 log @put back all our mips stuff. @ text @d836 2 a837 1 riscv32be*-*-linux*) targ_emul=elf32briscv d841 2 a842 1 riscv32*-*-linux*) targ_emul=elf32lriscv d856 2 a857 1 riscv64be*-*-linux*) targ_emul=elf64briscv d861 2 a862 1 riscv64*-*-linux*) targ_emul=elf64lriscv @ 1.39 log @Turn on -z separate-code for x86, like linux has done. This splits the text and data segment load sections into two pieces, for at total of 4 PT_LOAD sections: two for text (r--, r-x) and two for data (r--, rw-). For x86_64 this changes the default max page size from 2M to 4K. @ text @a543 4 mips64*el-*-netbsd*) targ_emul=elf32ltsmipn32 targ_extra_emuls="elf64btsmip elf64ltsmip elf32ltsmip elf32btsmipn32 elf32btsmip" targ_extra_libpath=$targ_extra_emuls ;; d555 10 a570 4 mipsn64*-*-netbsd*) targ_emul=elf64btsmip targ_extra_emuls="elf64ltsmip elf64btsmip elf32ltsmip elf32btsmip elf32ltsmipn32 elf32btsmipn32" targ_extra_libpath=$targ_extra_emuls ;; @ 1.38 log @Merge conflicts between 2.34 and 2.39, and regen for x86_64 @ text @d1222 1 a1222 1 i[3-7]86-*-linux-* | x86_64-*-linux-*) @ 1.37 log @fix typos @ text @d3 1 a3 1 # Copyright (C) 2013-2020 Free Software Foundation, Inc. d43 37 d83 3 d89 4 a92 1 aarch64-*-elf | aarch64-*-rtems*) d123 2 a124 5 aarch64_be-*-netbsd*) targ_emul=aarch64nbsdb targ_extra_emuls="aarch64nbsd aarch64elfb aarch64elf armelfb_nbsd_eabihf armelf_nbsd_eabihf armelfb_nbsd_eabi armelf_nbsd_eabi armelfb_nbsd armelf_nbsd armelf armelfb" ;; aarch64-*-netbsd*) targ_emul=aarch64nbsd targ_extra_emuls="aarch64nbsdb aarch64elf aarch64elfb armelf_nbsd_eabihf armelfb_nbsd_eabihf armelf_nbsd_eabi armelfb_nbsd_eabi armelf_nbsd armelfb_nbsd armelf armelfb" d182 3 a184 1 targ_extra_emuls="armelfb_fbsd armelf" ;; d200 2 a201 2 targ_extra_emuls="armelfb_nbsd armelf" ;; d209 1 a209 1 arm-*-elf | arm*-*-eabi* | arm-*-rtems*) a211 1 arm*-*-symbianelf*) targ_emul=armsymbian;; d238 1 a238 1 targ_extra_emuls="armelf_nacl elf_i386_nacl" a239 2 targ64_extra_emuls="elf32_x86_64_nacl elf_x86_64_nacl" targ64_extra_libpath=$targ64_extra_emuls d242 1 a242 1 targ_extra_emuls="armelfb_nacl elf_i386_nacl" a243 2 targ64_extra_emuls="elf32_x86_64_nacl elf_x86_64_nacl" targ64_extra_libpath=$targ64_extra_emuls d260 3 d384 1 a384 1 targ64_extra_emuls="elf_x86_64 elf32_x86_64 elf_l1om elf_k1om" d394 1 a394 1 targ_extra_emuls="elf_i386_ldso elf_i386 elf_iamcu elf_x86_64_sol2 elf_x86_64 elf_l1om elf_k1om" d404 4 a407 1 i[3-7]86-*-netbsdelf* | \ d409 2 a410 1 i[3-7]86-*-knetbsd*-gnu) a413 3 i[3-7]86-*-netbsdpe*) targ_emul=i386pe targ_extra_ofiles="deffilep.o pe-dll.o" ;; d417 1 a417 1 i[3-7]86-*-elf* | i[3-7]86-*-rtems*) a436 1 targ_extra_ofiles= d459 2 a464 6 i[3-7]86-*-nacl*) targ_emul=elf_i386_nacl targ_extra_emuls="armelf_nacl armelfb_nacl" targ_extra_libpath=$targ_extra_emuls targ64_extra_emuls="elf32_x86_64_nacl elf_x86_64_nacl" targ64_extra_libpath=$targ64_extra_emuls ;; d494 1 a494 1 m32c-*-elf | m32c-*-rtems*) d499 1 a499 1 m32r*-*-elf* | m32r*-*-rtems*) d512 3 a514 1 m68*-*-netbsdelf*) targ_emul=m68kelfnbsd d548 3 a558 10 mipsn64*-*-netbsd*) targ_emul=elf64btsmip targ_extra_emuls="elf64ltsmip elf64btsmip elf32ltsmip elf32btsmip elf32ltsmipn32 elf32btsmipn32" targ_extra_libpath=$targ_extra_emuls ;; mips*el-*-netbsd*) targ_emul=elf32ltsmip targ_extra_emuls="elf32btsmip elf64ltsmip elf64btsmip" ;; mips*-*-netbsd*) targ_emul=elf32btsmip targ_extra_emuls="elf32ltsmip elf64btsmip elf64ltsmip" ;; d565 4 d685 1 a685 1 ns32k-*-netbsd* | ns32k-pc532-lites*) targ_emul=ns32knbsd d693 15 d730 3 a732 14 powerpc-*-netbsd*) targ_emul=elf32ppc_nbsd targ_extra_emuls="elf32ppc elf32ppcsim" targ_extra_libpath=elf32ppc; tdir_elf32ppcsim=`echo ${targ_alias} | sed -e 's/ppc/ppcsim/'` targ64_extra_emuls=elf64ppc targ64_extra_libpath=elf64ppc ;; powerpc64-*-netbsd*) targ_emul=elf64ppc targ_extra_emuls="elf32ppc elf32ppc_nbsd elf32ppcsim" targ_extra_libpath="elf32ppc_nbsd elf32ppc" tdir_elf32ppc=`echo "${targ_alias}" | sed -e 's/64//'` tdir_elf32ppc_fbsd=$tdir_elf32ppc a818 4 powerpcle-*-pe | powerpcle-*-winnt* | powerpcle-*-cygwin*) targ_emul=ppcpe targ_extra_ofiles="deffilep.o pe-dll.o" ;; d828 2 d832 1 a832 1 powerpc-*-lynxos*) targ_emul=ppclynx d834 7 a840 1 pru*-*-*) targ_emul=pruelf d842 3 a844 3 riscv32*-*-linux* | riscv-*-netbsd* | riscv32*-*-netbsd*) targ_emul=elf32lriscv targ_extra_emuls="elf32lriscv_ilp32f elf32lriscv_ilp32 elf64lriscv elf64lriscv_lp64f elf64lriscv_lp64" d849 5 a853 1 targ_extra_emuls="elf64lriscv" d856 6 a861 3 riscv64*-*-linux* | riscv64*-*-netbsd*) targ_emul=elf64lriscv targ_extra_emuls="elf64lriscv_lp64f elf64lriscv_lp64 elf32lriscv elf32lriscv_ilp32f elf32lriscv_ilp32" d865 1 a865 1 targ_extra_emuls="elf32lriscv" d876 2 d909 7 a915 1 sh*l*-*-netbsdelf*) targ_emul=shlelf_nbsd d918 1 a918 1 sh*-*-netbsdelf*) targ_emul=shelf_nbsd d966 2 a999 3 tic30-*-*aout*) targ_emul=tic30aout targ_extra_ofiles= ;; d1031 4 a1034 1 vax-*-netbsdelf*) targ_emul=elf32vax a1036 4 vax-*-netbsdaout* | vax-*-netbsd*) targ_emul=vaxnbsd targ_extra_emuls=elf32vax ;; d1045 3 d1049 2 a1050 2 targ_extra_emuls="elf_x86_64 elf_i386 elf_iamcu elf_l1om elf_k1om" targ_extra_libpath="elf_i386 elf_iamcu elf_x86_64 elf_l1om elf_k1om" d1055 2 a1056 2 targ_extra_emuls="elf32_x86_64 elf_i386 elf_iamcu elf_l1om elf_k1om" targ_extra_libpath="elf_i386 elf32_x86_64 elf_l1om elf_k1om" d1063 1 a1063 1 targ_extra_emuls="elf_x86_64 elf_i386_sol2 elf_i386_ldso elf_i386 elf_iamcu elf_l1om elf_k1om" d1067 3 a1069 2 x86_64-*-netbsd*) targ_emul=elf_x86_64 targ_extra_emuls="elf_i386 elf_iamcu elf_l1om elf_k1om" d1071 1 a1071 6 sed -e 's/x86_64/i386/'` case "${tdir_elf_iamcu}" in *-netbsdelf*) ;; *) tdir_elf_iamcu=`echo ${tdir_elf_iamcu} | \ sed -e 's/netbsd/netbsdelf/'`;; esac d1073 1 a1073 6 sed -e 's/x86_64/i386/'` case "${tdir_elf_i386}" in *-netbsdelf*) ;; *) tdir_elf_i386=`echo ${tdir_elf_i386} | \ sed -e 's/netbsd/netbsdelf/'`;; esac d1075 1 a1075 1 x86_64-*-elf* | x86_64-*-rtems* | x86_64-*-fuchsia*) d1077 2 a1078 2 targ_extra_emuls="elf_i386 elf_iamcu elf32_x86_64 elf_l1om elf_k1om" targ_extra_libpath="elf_i386 elf_iamcu elf32_x86_64 elf_l1om elf_k1om" d1082 1 a1082 1 targ_extra_emuls="elf_i386 elf_iamcu elf_l1om elf_k1om" d1086 1 a1086 1 targ_extra_emuls="elf_i386_fbsd elf_x86_64 elf_i386 elf_iamcu elf_l1om elf_l1om_fbsd elf_k1om elf_k1om_fbsd" a1107 8 x86_64-*-nacl*) targ_emul=elf32_x86_64_nacl targ_extra_emuls="elf_i386_nacl elf_x86_64_nacl armelf_nacl armelfb_nacl" targ_extra_libpath=$targ_extra_emuls tdir_elf_i386_nacl=`echo ${targ_alias} | sed -e 's/x86_64/i386/'` ;; xc16x-*-elf) targ_emul=elf32xc16x targ_extra_emuls="elf32xc16xl elf32xc16xs" ;; d1125 4 d1175 1 a1175 1 # This allows to build a pair of PPU/SPU toolchains with common sysroot. d1220 1 a1220 1 # Enable -z separate-code by default for Linux/x86. d1226 3 @ 1.36 log @Add a mipsn64 target @ text @d511 1 a511 1 targ_extra_emuls="elf64btsmip elf64ltsmip elf32ltsmip elf32btsmip elf32btsmipn32 elf32ltsmip32" @ 1.35 log @merge riscv*-netbsd* target support. @ text @d509 4 d517 4 @ 1.34 log @Fix aarch64 binutils tools build @ text @d791 2 a792 1 riscv32*-*-linux*) targ_emul=elf32lriscv d801 2 a802 1 riscv64*-*-linux*) targ_emul=elf64lriscv @ 1.33 log @Merge conflicts @ text @d78 2 a79 1 targ_extra_emuls="aarch64elf aarch64elf32 aarch64elf32b aarch64elfb armelf armelfb $targ_extra_libpath" ;; d81 2 a82 1 targ_extra_emuls="aarch64nbsd aarch64elfb aarch64elf armelfb_nbsd_eabihf armelf_nbsd_eabihf armelfb_nbsd_eabi armelf_nbsd_eabi armelfb_nbsd armelf_nbsd armelf armelfb" ;; d84 2 a85 1 targ_extra_emuls="aarch64nbsdb aarch64elf aarch64elfb armelf_nbsd_eabihf armelfb_nbsd_eabihf armelf_nbsd_eabi armelfb_nbsd_eabi armelf_nbsd armelfb_nbsd armelf armelfb" ;; @ 1.32 log @- use the same set of emulations for riscv* on netbsd as linux does - for riscv64-*netbsd* hosts and 32 bit target, set LIB_PATH - build the other target emulations for riscv32 on riscv64 - regen riscv64 mknative for ld updates @ text @d3 1 a3 1 # Copyright (C) 2013-2018 Free Software Foundation, Inc. d39 1 a39 1 targ_extra_ofiles= d43 2 a44 4 # Please try to keep this table in alphabetic order - it makes it # much easier to lookup a specific archictecture. Naturally any # architecture variants should be kept together even if their names # break the alpha sorting. d47 2 a48 1 targ_extra_emuls="aarch64elf aarch64elf32 aarch64elf32b armelfb armelf" ;; d51 2 a52 1 targ_extra_emuls="aarch64elf32 aarch64elf32b aarch64elfb armelf armelfb" ;; d54 2 a55 1 targ_extra_emuls=aarch64cloudabib ;; d57 2 a58 1 targ_extra_emuls="aarch64fbsdb aarch64elf" ;; d60 2 a61 1 targ_extra_emuls="aarch64elfb armelf armelfb" ;; d65 2 a66 1 targ_extra_emuls="aarch64elfb aarch64elf aarch64elf32 aarch64elf32b armelfb armelf $targ_extra_libpath" ;; d70 2 a71 1 targ_extra_emuls="aarch64elf aarch64elf32 aarch64elf32b aarch64elfb armelf armelfb $targ_extra_libpath" ;; d74 2 a75 1 targ_extra_emuls="aarch64elfb aarch64elf aarch64elf32 aarch64elf32b armelfb armelf $targ_extra_libpath" ;; d86 19 a104 9 tdir_alpha=`echo ${targ_alias} | sed -e 's/freebsd/freebsdecoff/'` ;; alpha*-*-linux*ecoff*) targ_emul=alpha targ_extra_emuls=elf64alpha tdir_elf64alpha=`echo ${targ_alias} | sed -e 's/ecoff//'` ;; alpha*-*-linux-*) targ_emul=elf64alpha targ_extra_emuls=alpha tdir_alpha=`echo ${targ_alias} | sed -e 's/linux\(-gnu\)*/linux\1ecoff/'` ;; alpha*-*-osf*) targ_emul=alpha ;; alpha*-*-gnu*) targ_emul=elf64alpha ;; alpha*-*-netbsd*) targ_emul=elf64alpha_nbsd ;; alpha*-*-openbsd*) targ_emul=elf64alpha ;; d106 3 d111 1 a111 1 targ_extra_emuls="arcelf_prof arclinux arclinux_nps arclinux_prof arcv2elf arcv2elfx" d121 5 a125 1 targ_extra_emuls="${targ_extra_emuls} arclinux_prof arcelf arcelf_prof arcv2elf arcv2elfx" a126 2 arm*-*-cegcc*) targ_emul=arm_wince_pe ; targ_extra_ofiles="deffilep.o pe-dll.o" LIB_PATH='${tooldir}/lib/w32api' ;; d128 6 a133 2 targ_emul=arm_wince_pe ; targ_extra_ofiles="deffilep.o pe-dll.o" ;; arm-*-pe) targ_emul=armpe ; targ_extra_ofiles="deffilep.o pe-dll.o" ;; d135 2 a136 1 targ_extra_emuls="armelf_fbsd armelf" ;; d155 6 a160 3 targ_extra_emuls="armelfb_nbsd armelf" ;; arm-*-nto*) targ_emul=armnto ;; arm-*-phoenix*) targ_emul=armelf ;; d162 2 a163 1 targ_emul=armelfb ;; d165 2 a166 1 targ_emul=armelf ;; d168 4 a171 2 arm-*-kaos*) targ_emul=armelf ;; arm9e-*-elf) targ_emul=armelf ;; d213 4 a216 2 arm-*-vxworks) targ_emul=armelf_vxworks ;; arm*-*-conix*) targ_emul=armelf ;; d236 3 a238 2 cr16-*-elf*) targ_emul=elf32cr16 ;; cr16c-*-elf*) targ_emul=elf32cr16c d242 2 a243 1 targ_extra_libpath=$targ_extra_emuls ;; d245 2 a246 1 targ_emul=crislinux ;; d253 19 a271 4 d10v-*-*) targ_emul=d10velf ;; d30v-*-*ext*) targ_emul=d30v_e; targ_extra_emuls="d30velf d30v_o" ;; d30v-*-*onchip*) targ_emul=d30v_o; targ_extra_emuls="d30velf d30v_e" ;; d30v-*-*) targ_emul=d30velf; targ_extra_emuls="d30v_e d30v_o" d274 1 d279 2 a280 1 fido*-*-elf*) targ_emul=m68kelf ;; d282 1 d284 1 a284 2 frv-*-*linux*) targ_emul=elf32frvfd ;; frv-*-*) targ_emul=elf32frv ; targ_extra_emuls="elf32frvfd" d286 2 a287 1 moxie-*-moxiebox*) targ_emul=moxiebox d289 2 a290 1 moxie-*-*) targ_emul=elf32moxie d294 2 a295 1 targ_extra_emuls="h8300helf h8300self h8300hnelf h8300snelf h8300sxelf h8300sxnelf" ;; d298 14 a311 7 targ_extra_emuls="h8300helf_linux h8300self_linux h8300sxelf_linux" ;; hppa*64*-*-linux-*) targ_emul=hppa64linux ;; hppa*64*-hpux*) targ_emul=elf64hppa ;; hppa*-*-linux-*) targ_emul=hppalinux ;; hppa*-*-*elf*) targ_emul=hppaelf ;; hppa*-*-lites*) targ_emul=hppaelf ;; hppa*-*-netbsd*) targ_emul=hppanbsd ;; d314 10 a323 4 i[3-7]86-*-nto-qnx*) targ_emul=i386nto ;; i[3-7]86-*-go32) targ_emul=i386go32 ;; i[3-7]86-*-msdosdjgpp*) targ_emul=i386go32 ;; i[3-7]86-*-lynxos*) targ_emul=i386lynx ;; d325 2 a326 1 targ_extra_emuls=elf_iamcu ;; d328 11 a338 6 targ_extra_emuls=elf_iamcu ;; x86_64-*-rdos*) targ_emul=elf64rdos ;; x86_64-*-cloudabi*) targ_emul=elf_x86_64_cloudabi ;; i[3-7]86-*-bsd) targ_emul=i386bsd ;; i[3-7]86-*-bsd386) targ_emul=i386bsd ;; i[3-7]86-*-bsdi*) targ_emul=i386bsd ;; d342 2 a343 10 targ64_extra_libpath="elf_x86_64 elf32_x86_64" ;; x86_64-*-linux-gnux32) targ_emul=elf32_x86_64 targ_extra_emuls="elf_x86_64 elf_i386 elf_iamcu elf_l1om elf_k1om" targ_extra_libpath="elf_i386 elf_iamcu elf_x86_64 elf_l1om elf_k1om" tdir_elf_iamcu=`echo ${targ_alias} | sed -e 's/x86_64/i386/' -e 's/-linux-gnux32/-linux-gnu/'` tdir_elf_i386=`echo ${targ_alias} | sed -e 's/x86_64/i386/' -e 's/-linux-gnux32/-linux-gnu/'` ;; x86_64-*-linux-*) targ_emul=elf_x86_64 targ_extra_emuls="elf32_x86_64 elf_i386 elf_iamcu elf_l1om elf_k1om" targ_extra_libpath="elf_i386 elf32_x86_64 elf_l1om elf_k1om" tdir_elf_i386=`echo ${targ_alias} | sed -e 's/x86_64/i386/'` ;; d345 2 a346 3 targ_extra_emuls=elf_x86_64 ;; x86_64-*-redox*) targ_emul=elf_x86_64 targ_extra_emuls=elf_i386 ;; d348 2 a349 1 targ_extra_emuls=elf_iamcu ;; a353 5 x86_64-*-solaris2*) targ_emul=elf_x86_64_sol2 targ_extra_emuls="elf_x86_64 elf_i386_sol2 elf_i386_ldso elf_i386 elf_iamcu elf_l1om elf_k1om" targ_extra_libpath=$targ_extra_emuls tdir_elf_i386=`echo ${targ_alias} | sed -e 's/x86_64/i386/'` ;; d355 2 a356 1 targ_extra_emuls=elf_iamcu ;; d365 2 a366 1 targ_extra_emuls="elf_iamcu" ;; d368 2 a369 17 targ_extra_ofiles="deffilep.o pe-dll.o" ;; x86_64-*-netbsd*) targ_emul=elf_x86_64 targ_extra_emuls="elf_i386 elf_iamcu elf_l1om elf_k1om" tdir_elf_iamcu=`echo ${targ_alias} | \ sed -e 's/x86_64/i386/'` case "${tdir_elf_iamcu}" in *-netbsdelf*) ;; *) tdir_elf_iamcu=`echo ${tdir_elf_iamcu} | \ sed -e 's/netbsd/netbsdelf/'`;; esac tdir_elf_i386=`echo ${targ_alias} | \ sed -e 's/x86_64/i386/'` case "${tdir_elf_i386}" in *-netbsdelf*) ;; *) tdir_elf_i386=`echo ${tdir_elf_i386} | \ sed -e 's/netbsd/netbsdelf/'`;; esac ;; d371 2 a372 1 targ_extra_emuls=elf_i386 ;; d375 1 a375 6 targ_extra_emuls=elf_iamcu ;; x86_64-*-elf* | x86_64-*-rtems* | x86_64-*-fuchsia*) targ_emul=elf_x86_64 targ_extra_emuls="elf_i386 elf_iamcu elf32_x86_64 elf_l1om elf_k1om" targ_extra_libpath="elf_i386 elf_iamcu elf32_x86_64 elf_l1om elf_k1om" tdir_elf_i386=`echo ${targ_alias} | sed -e 's/x86_64/i386/'` a376 1 i[3-7]86-*-kaos*) targ_emul=elf_i386 ;; d378 2 a379 3 targ_extra_emuls="elf_iamcu i386bsd" ;; x86_64-*-dragonfly*) targ_emul=elf_x86_64 targ_extra_emuls="elf_i386 elf_iamcu elf_l1om elf_k1om" ;; d382 2 a383 11 targ_extra_emuls="elf_i386 elf_iamcu i386bsd" ;; x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu) targ_emul=elf_x86_64_fbsd targ_extra_emuls="elf_i386_fbsd elf_x86_64 elf_i386 elf_iamcu elf_l1om elf_l1om_fbsd elf_k1om elf_k1om_fbsd" targ_extra_libpath="elf_i386_fbsd" tdir_elf_i386_fbsd=`echo ${targ_alias} \ | sed -e 's/x86_64/i386/'` tdir_elf_iamcu=`echo ${targ_alias} \ | sed -e 's/x86_64/i386/'` tdir_elf_i386=`echo ${targ_alias} \ | sed -e 's/x86_64/i386/'` ;; d385 10 a394 3 targ_extra_emuls=elf_iamcu ;; i[3-7]86-*-msdos*) targ_emul=i386msdos; targ_extra_emuls=i386aout ;; i[3-7]86-*-moss*) targ_emul=i386moss; targ_extra_emuls=i386msdos ;; d396 2 a397 1 targ_extra_ofiles="deffilep.o pe-dll.o" ;; d399 2 a400 1 targ_extra_ofiles="deffilep.o pe-dll.o" ;; d403 2 a404 1 test "$targ" != "$host" && LIB_PATH='${tooldir}/lib/w32api' ;; d406 2 a407 11 targ_extra_ofiles="deffilep.o pe-dll.o" ;; x86_64-*-pe | x86_64-*-pep) targ_emul=i386pep ; targ_extra_emuls=i386pe ; targ_extra_ofiles="deffilep.o pep-dll.o pe-dll.o" ;; x86_64-*-cygwin) targ_emul=i386pep ; targ_extra_emuls=i386pe targ_extra_ofiles="deffilep.o pep-dll.o pe-dll.o" test "$targ" != "$host" && LIB_PATH='${tooldir}/lib/w32api' ;; x86_64-*-mingw*) targ_emul=i386pep ; targ_extra_emuls=i386pe targ_extra_ofiles="deffilep.o pep-dll.o pe-dll.o" ;; d409 9 a417 4 targ_extra_ofiles="deffilep.o pe-dll.o" ;; i[3-7]86-*-beospe*) targ_emul=i386beos ;; i[3-7]86-*-beos*) targ_emul=elf_i386_be ;; i[3-7]86-*-vxworks*) targ_emul=elf_i386_vxworks ;; d426 4 a429 4 x86_64-*-nacl*) targ_emul=elf32_x86_64_nacl targ_extra_emuls="elf_i386_nacl elf_x86_64_nacl armelf_nacl armelfb_nacl" targ_extra_libpath=$targ_extra_emuls tdir_elf_i386_nacl=`echo ${targ_alias} | sed -e 's/x86_64/i386/'` a430 2 ia16-*-elf*) targ_emul=elf_i386 targ_extra_emuls=i386msdos ;; ia64-*-elf*) targ_emul=elf64_ia64 ;; d433 9 a441 4 targ_extra_emuls="elf64_ia64" ;; ia64-*-netbsd*) targ_emul=elf64_ia64 ;; ia64-*-linux*) targ_emul=elf64_ia64 ;; ia64-*-*vms*) targ_emul=elf64_ia64_vms ;; d446 5 a450 1 iq2000-*-elf) targ_emul=elf32iq2000 ; targ_extra_emuls="elf32iq10" d452 2 a453 2 lm32-*-*linux*) targ_emul=elf32lm32fd ;; lm32-*-*) targ_emul=elf32lm32 ; targ_extra_emuls="elf32lm32fd" d458 2 a459 1 m32r*le-*-elf*) targ_emul=m32rlelf ;; d461 4 a464 2 targ_emul=m32relf ;; m32r*le-*-linux-*) targ_emul=m32rlelf_linux ;; d468 2 a469 1 targ_extra_emuls="m68hc11elfb m68hc12elf m68hc12elfb" ;; d471 5 a475 5 targ_extra_emuls="m68hc12elfb m68hc11elf m68hc11elfb" ;; m68*-*-netbsdelf* | m5407*-*-netbsdelf*) targ_emul=m68kelfnbsd ;; m68*-*-*) targ_emul=m68kelf ;; s12z-*-*) targ_emul=m9s12zelf d478 2 a479 1 targ_extra_ofiles="deffilep.o pe-dll.o" ;; d482 4 a485 2 mep-*-elf) targ_emul=elf32mep ;; metag-*-*) targ_emul=elf32metag ;; d498 2 a499 1 mips*-sgi-irix5*) targ_emul=elf32bsmip ;; d523 12 a534 6 mips*vr4300el-*-elf*) targ_emul=elf32l4300 ;; mips*vr4300-*-elf*) targ_emul=elf32b4300 ;; mips*vr4100el-*-elf*) targ_emul=elf32l4300 ;; mips*vr4100-*-elf*) targ_emul=elf32b4300 ;; mips*vr5000el-*-elf*) targ_emul=elf32l4300 ;; mips*vr5000-*-elf*) targ_emul=elf32b4300 ;; d537 2 a538 1 targ_extra_emuls="elf32btsmip elf32ltsmipn32 elf64ltsmip elf32btsmipn32 elf64btsmip" ;; d541 2 a542 1 targ_extra_emuls="elf32ltsmip elf32btsmipn32 elf64btsmip elf32ltsmipn32 elf64ltsmip" ;; d545 2 a546 1 targ_extra_libpath=$targ_extra_emuls ;; d549 4 a552 2 targ_extra_libpath=$targ_extra_emuls ;; mips*el-*-elf*) targ_emul=elf32elmip ;; d554 2 a555 1 targ_emul=elf32ebmip ;; d557 2 a558 1 targ_extra_emuls="elf32ebmipvxworks" ;; d560 4 a563 2 targ_extra_emuls="elf32elmipvxworks" ;; mips*-*-windiss) targ_emul=elf32mipswindiss ;; d566 2 a567 1 targ_extra_libpath=$targ_extra_emuls ;; d570 2 a571 1 targ_extra_libpath=$targ_extra_emuls ;; d574 2 a575 1 targ_extra_libpath=$targ_extra_emuls ;; d578 2 a579 1 targ_extra_libpath=$targ_extra_emuls ;; d583 2 a584 1 targ_extra_libpath=$targ_extra_emuls ;; d588 2 a589 1 targ_extra_libpath=$targ_extra_emuls ;; d593 2 a594 1 targ_extra_libpath=$targ_extra_emuls ;; d598 2 a599 1 targ_extra_libpath=$targ_extra_emuls ;; d605 3 a607 2 am33_2.0-*-linux*) targ_emul=elf32am33lin ;; mn10200-*-*) targ_emul=mn10200 ;; d610 4 a613 1 mt-*elf) targ_emul=elf32mt d617 4 d628 11 a638 5 nds32*le-*-linux-gnu*) targ_emul=nds32elf_linux ;; nds32*be-*-linux-gnu*) targ_emul=nds32belf_linux ;; nios2*-*-linux*) targ_emul=nios2linux ;; nios2*-*-*) targ_emul=nios2elf ;; ns32k-pc532-mach* | ns32k-pc532-ux*) targ_emul=pc532macha ;; d640 1 d643 4 a646 2 targ_emul=elf32or1k ;; or1k-*-linux* | or1knd-*-linux*) targ_emul=elf32or1k_linux ;; d648 1 d651 2 a652 1 targ_extra_emuls="elf_i386 elf_iamcu" ;; d654 1 d660 2 a661 1 tdir_elf32ppcsim=`echo ${targ_alias} | sed -e 's/ppc/ppcsim/'` ;; d686 2 a687 1 targ_extra_emuls="elf32ppc elf32ppclinux elf32ppcsim" ;; d762 7 a768 3 powerpc-*-nto*) targ_emul=elf32ppcnto ;; powerpcle-*-nto*) targ_emul=elf32lppcnto ;; powerpc-*-macos*) targ_emul=ppcmacos ;; d771 18 a788 9 targ_extra_ofiles="deffilep.o pe-dll.o" ;; powerpc-*-aix[5-9]*) targ_emul=aix5ppc ;; powerpc-*-aix*) targ_emul=aixppc ;; powerpc-*-beos*) targ_emul=aixppc ;; powerpc-*-windiss*) targ_emul=elf32ppcwindiss ;; powerpc-*-lynxos*) targ_emul=ppclynx ;; pru*-*-*) targ_emul=pruelf ;; riscv32*-*-linux* | riscv-*-netbsd* | riscv32*-*-netbsd*) targ_emul=elf32lriscv d790 2 a791 1 targ_extra_libpath=$targ_extra_emuls ;; d795 3 a797 3 targ_extra_libpath=$targ_extra_emuls ;; riscv64*-*-linux* | riscv64*-*-netbsd*) targ_emul=elf64lriscv d799 2 a800 1 targ_extra_libpath=$targ_extra_emuls ;; d803 5 a807 2 targ_extra_libpath=$targ_extra_emuls ;; rs6000-*-aix[5-9]*) targ_emul=aix5rs6 ;; d809 8 a817 2 rl78-*-*) targ_emul=elf32rl78 ;; rx-*-*) targ_emul=elf32rx ;; d821 2 a822 1 tdir_elf_s390=`echo ${targ_alias} | sed -e 's/s390x/s390/'` ;; d824 2 a825 1 tdir_elf_s390=`echo ${targ_alias} | sed -e 's/s390x/s390/'` ;; d832 2 a833 1 targ_extra_emuls=score3_elf ;; d836 2 a837 1 targ_extra_libpath=shelf_linux ;; d839 2 a840 1 targ_extra_emuls="shelf_fd" ;; d842 2 a843 1 targ_extra_emuls="shlelf_fd" ;; d845 2 a846 1 targ_extra_emuls=shelf_nbsd ;; d848 2 a849 1 targ_extra_emuls=shlelf_nbsd ;; d852 2 a853 1 targ_extra_emuls="shelf shl sh" ;; d856 2 a857 1 targ_extra_emuls="shlelf sh shl" ;; d860 2 a861 1 targ_extra_emuls="shelf shlelf sh shl shelf_fd shlelf_fd" ;; d863 2 a864 1 targ_extra_emuls=shlelf_vxworks ;; d866 2 a867 1 targ_extra_emuls=shlelf_nto ;; d869 6 a874 2 targ_extra_ofiles="deffilep.o pe-dll.o" ;; sh-*-*) targ_emul=sh; targ_extra_emuls=shl ;; d879 2 a880 1 tdir_elf32_sparc=`echo ${targ_alias} | sed -e 's/64//'` ;; d884 2 a885 1 tdir_elf32_sparc=`echo ${targ_alias} | sed -e 's/64//'` ;; d887 2 a888 1 targ_extra_emuls="elf32_sparc" ;; d893 4 a896 2 tdir_elf32_sparc=`echo ${targ_alias} | sed -e 's/64//'` ;; sparc64-*-*) targ_emul=elf64_sparc ;; d900 2 a901 1 tdir_elf64_sparc=`echo ${targ_alias} | sed -e 's/32//'` ;; d910 2 a911 1 sparc*-*-netbsd*) targ_emul=sparcnbsd ;; d914 2 a915 1 targ_extra_emuls=elf32_sparc ;; d919 21 a939 8 tdir_elf64_sparc=`echo ${targ_alias} | sed -e 's/32//'` ;; sparc*-*-vxworks*) targ_emul=elf32_sparc_vxworks ;; sparc*-*-*) targ_emul=elf32_sparc ;; spu-*-elf*) targ_emul=elf32_spu ;; tic30-*-*aout*) targ_emul=tic30aout ;; tic30-*-*coff*) targ_emul=tic30coff ;; tic4x-*-* | c4x-*-*) targ_emul=tic4xcoff ; targ_extra_emuls="tic3xcoff tic3xcoff_onchip" ;; tic54x-*-* | c54x*-*-*) targ_emul=tic54xcoff ;; a947 2 tic80-*-*) targ_emul=tic80coff ;; d950 2 a951 1 targ_extra_libpath=$targ_extra_emuls ;; d954 3 a956 3 targ_extra_libpath=$targ_extra_emuls ;; tilepro-*-*) targ_emul=elf32tilepro ;; ft32-*-*) targ_emul=elf32ft32 d962 2 a963 1 targ_extra_emuls=vaxnbsd ;; d966 2 a967 1 targ_extra_emuls=elf32vax ;; d972 78 d1053 3 d1060 2 a1061 1 xgate-*-*) targ_emul=xgateelf d1064 1 d1066 3 a1068 1 z8k-*-coff) targ_emul=z8002; targ_extra_emuls=z8001 d1071 1 @ 1.31 log @remove armnbsd which is not supported anymore. @ text @d672 2 a673 1 riscv32*-*-linux*) targ_emul=elf32lriscv d680 2 a681 1 riscv64*-*-linux*) targ_emul=elf64lriscv @ 1.30 log @remove m68k a.out/4k and sh64 vectors that are not supported anymore. @ text @d116 1 a116 1 targ_extra_emuls="armelf_nbsd_eabihf armelf_nbsd_eabi armelfb_nbsd_eabi armelf_nbsd armelfb_nbsd armelf armnbsd" ;; d119 1 a119 1 targ_extra_emuls="armelf_nbsd_eabi armelf_nbsd_eabihf armelfb_nbsd_eabihf armelf_nbsd armelfb_nbsd armelf armnbsd" ;; d122 1 a122 1 targ_extra_emuls="armelfb_nbsd_eabihf armelf_nbsd_eabi armelfb_nbsd_eabi armelf_nbsd armelfb_nbsd armelf armnbsd" ;; d125 1 a125 1 targ_extra_emuls="armelfb_nbsd_eabi armelf_nbsd_eabihf armelfb_nbsd_eabihf armelf_nbsd armelfb_nbsd armelf armnbsd" ;; d127 1 a127 1 targ_extra_emuls="armelf_nbsd armelf armnbsd" ;; @ 1.29 log @remove sparc a.out emulations (not supported anymore) @ text @a418 2 m68*-*-netbsd*4k*) targ_emul=m68k4knbsd targ_extra_emuls="m68knbsd m68kelfnbsd" ;; d420 1 a420 5 targ_emul=m68kelfnbsd targ_extra_emuls="m68knbsd m68k4knbsd" ;; m68*-*-netbsdaout* | m68*-*-netbsd*) targ_emul=m68knbsd targ_extra_emuls="m68kelfnbsd m68k4knbsd" ;; @ 1.28 log @merge conflicts @ text @d758 1 a758 1 targ_extra_emuls="elf32_sparc sparcnbsd" a763 1 targ_extra_emuls=sparcnbsd @ 1.27 log @- merge conflicts for 2.30 - bump libraries - regen for x86 @ text @a86 1 alpha*-*-netware*) targ_emul=alpha ;; a103 1 arm-epoc-pe) targ_emul=arm_epoc_pe ; targ_extra_ofiles="deffilep.o pe-dll.o" ;; a108 3 arm-*-aout | armel-*-aout) targ_emul=armaoutl ;; armeb-*-aout) targ_emul=armaoutb ;; arm-*-coff) targ_emul=armcoff ;; d129 1 a129 3 targ_extra_emuls="armelfb_nbsd armelf armnbsd" ;; arm-*-netbsd*) targ_emul=armnbsd; targ_extra_emuls="armelf armelf_nbsd armelfb_nbsd" ;; a130 1 arm-*-openbsd*) targ_emul=armnbsd ;; d148 6 a153 1 targ_extra_emuls=armelfb_linux_eabi a234 2 h8300-*-hms* | h8300-*-coff*) targ_emul=h8300; targ_extra_emuls="h8300h h8300s h8300hn h8300sn h8300sx h8300sxn" ;; a240 4 h8500-*-hms* | h8500-*-coff* | h8500-*-rtems*) targ_emul=h8500 targ_extra_emuls="h8500s h8500b h8500m h8500c" ;; a248 2 i370-*-elf* | i370-*-linux-*) targ_emul=elf32i370 ;; a249 1 i[3-7]86-*-vsta) targ_emul=vsta ;; a251 3 i[3-7]86-*-aix*) targ_emul=i386coff ;; i[3-7]86-*-sco*) targ_emul=i386coff ;; i[3-7]86-*-isc*) targ_emul=i386coff ;; a252 1 i[3-7]86-*-coff) targ_emul=i386coff ;; a261 7 i[3-7]86-*-aout) targ_emul=i386aout ;; i[3-7]86-*-linux*aout*) targ_emul=i386linux targ_extra_emuls="elf_i386 elf_iamcu" tdir_elf_iamcu=`echo ${targ_alias} | sed -e 's/aout//'` tdir_elf_i386=`echo ${targ_alias} | sed -e 's/aout//'` ;; i[3-7]86-*-linux*oldld) targ_emul=i386linux targ_extra_emuls="elf_i386 elf_iamcu" ;; d263 1 a263 1 targ_extra_emuls="i386linux elf_iamcu" d265 1 a265 2 targ64_extra_libpath="elf_x86_64 elf32_x86_64" tdir_i386linux=${targ_alias}aout ;; d267 1 a267 1 targ_extra_emuls="elf_x86_64 elf_i386 elf_iamcu i386linux elf_l1om elf_k1om" a268 1 tdir_i386linux=`echo ${targ_alias}aout | sed -e 's/x86_64/i386/' -e 's/-linux-gnux32/-linux-gnu/'` d272 1 a272 1 targ_extra_emuls="elf32_x86_64 elf_i386 elf_iamcu i386linux elf_l1om elf_k1om" a273 1 tdir_i386linux=`echo ${targ_alias}aout | sed -e 's/x86_64/i386/'` d300 1 a300 1 targ_extra_emuls="elf_iamcu i386nbsd" ;; a302 2 i[3-7]86-*-netbsd*) targ_emul=i386nbsd targ_extra_emuls=elf_i386 ;; d304 1 a304 1 targ_extra_emuls="elf_i386 elf_iamcu i386nbsd elf_l1om elf_k1om" a318 1 i[3-7]86-*-netware) targ_emul=i386nw ;; a330 2 i[3-7]86-*-freebsdaout* | i[3-7]86-*-freebsd[12].* | i[3-7]86-*-freebsd[12]) targ_emul=i386bsd ;; a347 3 i[3-7]86-*-sysv*) targ_emul=i386coff ;; i[3-7]86-*-ptx*) targ_emul=i386coff ;; i[3-7]86-*-mach*) targ_emul=i386mach ;; a388 11 i860-*-coff) targ_emul=coff_i860 ;; i860-stardent-sysv4* | i860-stardent-elf*) targ_emul=elf32_i860 ;; i960-wrs-vxworks5.0*) targ_emul=gld960 ;; i960-wrs-vxworks5*) targ_emul=gld960coff ;; i960-wrs-vxworks*) targ_emul=gld960 ;; i960-*-coff) targ_emul=gld960coff ;; i960-intel-nindy) targ_emul=gld960 ;; i960-*-elf*) targ_emul=elf32_i960 ;; a418 20 m68*-sun-sunos[34]*) targ_emul=sun3 ;; m68*-wrs-vxworks*) targ_emul=sun3 ;; m68*-ericsson-ose) targ_emul=sun3 ;; m68*-apple-aux*) targ_emul=m68kaux ;; m68k-sony-*) targ_emul=news ;; m68k-hp-bsd*) targ_emul=hp300bsd ;; m68*-motorola-sysv*) targ_emul=delta68 ;; m68*-*-aout) targ_emul=m68kaout ;; m68*-*-coff) targ_emul=m68kcoff ;; m68*-*-elf | m68*-*-rtems*) targ_emul=m68kelf ;; m68*-*-hpux*) targ_emul=hp3hpux ;; m68k-*-linux*aout*) targ_emul=m68klinux targ_extra_emuls=m68kelf tdir_m68kelf=`echo ${targ_alias} | sed -e 's/aout//'` ;; m68k-*-linux-*) targ_emul=m68kelf targ_extra_emuls=m68klinux tdir_m68klinux=`echo ${targ_alias} | sed -e 's/linux/linuxaout/'` ;; m68k-*-uclinux*) targ_emul=m68kelf ;; m68*-*-gnu*) targ_emul=m68kelf ;; d427 2 a428 2 m68*-*-psos*) targ_emul=m68kpsos ;; m8*-*-*) targ_emul=m88kbcs a668 1 powerpc-*-netware*) targ_emul=ppcnw ;; d678 5 a682 1 riscv32*-*-*) targ_emul=elf32lriscv d685 3 a711 5 sh64eb-*-linux*) targ_emul=shelf32_linux targ_extra_emuls="shlelf32_linux" ;; sh64-*-linux*) targ_emul=shlelf32_linux targ_extra_emuls="shelf32_linux" targ_extra_libpath=shelf32_linux ;; a715 8 sh5le-*-netbsd*) targ_emul=shlelf32_nbsd targ_extra_emuls="shelf32_nbsd shelf64_nbsd shlelf64_nbsd shelf_nbsd shlelf_nbsd" ;; sh5-*-netbsd*) targ_emul=shelf32_nbsd targ_extra_emuls="shlelf32_nbsd shelf64_nbsd shlelf64_nbsd shelf_nbsd shlelf_nbsd" ;; sh64le-*-netbsd*) targ_emul=shlelf64_nbsd targ_extra_emuls="shelf64_nbsd shelf32_nbsd shlelf32_nbsd shelf_nbsd shlelf_nbsd" ;; sh64-*-netbsd*) targ_emul=shelf64_nbsd targ_extra_emuls="shlelf64_nbsd shelf32_nbsd shlelf32_nbsd shelf_nbsd shlelf_nbsd" ;; a719 1 sh*-*-symbianelf*) targ_emul=shlsymbian ;; a735 19 sh64le-*-elf*) targ_emul=shlelf targ_extra_emuls="shelf shlelf32 shelf32 shlelf64 shelf64" targ_extra_libpath=$targ_extra_emuls ;; sh64-*-elf*) targ_emul=shelf targ_extra_emuls="shlelf shelf32 shlelf32 shelf64 shlelf64" targ_extra_libpath=$targ_extra_emuls ;; sparc64-*-aout*) targ_emul=sparcaout ;; sparc64-*-elf* | sparc64-*-rtems*) targ_emul=elf64_sparc ;; sparc-sun-sunos4*) targ_emul=sun4 ;; sparclite*-*-elf) targ_emul=elf32_sparc ;; sparclite*-*-coff) targ_emul=coff_sparc ;; sparclite*-fujitsu-*) targ_emul=sparcaout ;; sparc*-*-aout) targ_emul=sparcaout ;; sparc*-*-coff) targ_emul=coff_sparc ;; sparc*-*-elf | sparc-*-rtems*) targ_emul=elf32_sparc ;; sparc*-*-sysv4*) targ_emul=elf32_sparc ;; sparc*-*-vxworks*) targ_emul=elf32_sparc_vxworks ;; a740 4 sparc*-*-linux*aout*) targ_emul=sparclinux targ_extra_emuls="elf32_sparc sun4" tdir_elf32_sparc=`echo ${targ_alias} | sed -e 's/aout//'` tdir_sun4=sparc-sun-sunos4 ;; d742 1 a742 1 targ_extra_emuls="elf32_sparc sparclinux sun4" d744 9 a752 3 tdir_elf32_sparc=`echo ${targ_alias} | sed -e 's/64//'` tdir_sparclinux=${tdir_elf32_sparc}aout tdir_sun4=sparc-sun-sunos4 ;; d754 1 a754 1 targ_extra_emuls="sparclinux elf64_sparc sun4" d756 1 a756 3 tdir_sparclinux=${targ_alias}aout tdir_elf64_sparc=`echo ${targ_alias} | sed -e 's/32//'` tdir_sun4=sparc-sun-sunos4 ;; d774 2 a775 7 sparcv9-*-solaris2* | sparc64-*-solaris2*) targ_emul=elf64_sparc_sol2 targ_extra_emuls="elf64_sparc elf32_sparc_sol2 elf32_sparc" targ_extra_libpath=$targ_extra_emuls tdir_elf32_sparc=`echo ${targ_alias} | sed -e 's/64//'` ;; sparc*-*-solaris2*) targ_emul=elf32_sparc ;; sparc*-wrs-vxworks*) targ_emul=sparcaout ;; a802 1 vax-dec-ultrix* | vax-dec-bsd*) targ_emul=vax ;; a811 2 w65-*-*) targ_emul=w65 ;; a826 2 *-tandem-none) targ_emul=st2000 ;; d914 9 @ 1.27.2.1 log @Sync with HEAD @ text @d87 1 d105 1 d111 3 d121 1 a121 1 targ_extra_emuls="armelf_nbsd_eabihf armelf_nbsd_eabi armelfb_nbsd_eabi armelf_nbsd armelfb_nbsd armelf" ;; d124 1 a124 1 targ_extra_emuls="armelf_nbsd_eabi armelf_nbsd_eabihf armelfb_nbsd_eabihf armelf_nbsd armelfb_nbsd armelf" ;; d127 1 a127 1 targ_extra_emuls="armelfb_nbsd_eabihf armelf_nbsd_eabi armelfb_nbsd_eabi armelf_nbsd armelfb_nbsd armelf" ;; d130 1 a130 1 targ_extra_emuls="armelfb_nbsd_eabi armelf_nbsd_eabihf armelfb_nbsd_eabihf armelf_nbsd armelfb_nbsd armelf" ;; d132 1 a132 1 targ_extra_emuls="armelf_nbsd armelf" ;; d134 3 a136 1 targ_extra_emuls="armelfb_nbsd armelf" ;; d138 1 d156 1 a156 6 targ_extra_emuls="armelfb_linux_eabi" targ_extra_libpath=$targ_extra_emuls ;; arm*-*-uclinuxfdpiceabi) targ_emul=armelf_linux_eabi targ_extra_emuls="armelfb_linux_eabi armelf_linux_fdpiceabi armelfb_linux_fdpiceabi" d238 2 d246 4 d258 2 d261 1 d264 3 d268 1 d278 7 d286 1 a286 1 targ_extra_emuls="elf_iamcu" d288 2 a289 1 targ64_extra_libpath="elf_x86_64 elf32_x86_64" ;; d291 1 a291 1 targ_extra_emuls="elf_x86_64 elf_i386 elf_iamcu elf_l1om elf_k1om" d293 1 d297 1 a297 1 targ_extra_emuls="elf32_x86_64 elf_i386 elf_iamcu elf_l1om elf_k1om" d299 1 d326 1 a326 1 targ_extra_emuls="elf_iamcu" ;; d329 2 d332 1 a332 1 targ_extra_emuls="elf_i386 elf_iamcu elf_l1om elf_k1om" d347 1 d360 2 d379 3 d423 11 d464 22 d487 7 a493 3 targ_emul=m68kelfnbsd ;; m68*-*-*) targ_emul=m68kelf ;; s12z-*-*) targ_emul=m9s12zelf d734 1 d744 1 a744 6 riscv32*-*-linux* | riscv-*-netbsd* | riscv32*-*-netbsd*) targ_emul=elf32lriscv targ_extra_emuls="elf32lriscv_ilp32f elf32lriscv_ilp32 elf64lriscv elf64lriscv_lp64f elf64lriscv_lp64" targ_extra_libpath=$targ_extra_emuls ;; riscv-*-* | riscv32*-*-*) targ_emul=elf32lriscv a746 4 riscv64*-*-linux* | riscv64*-*-netbsd*) targ_emul=elf64lriscv targ_extra_emuls="elf64lriscv_lp64f elf64lriscv_lp64 elf32lriscv elf32lriscv_ilp32f elf32lriscv_ilp32" targ_extra_libpath=$targ_extra_emuls ;; d771 5 d780 8 d792 1 d809 19 d833 4 d838 1 a838 1 targ_extra_emuls="elf32_sparc" d840 3 a842 9 tdir_elf32_sparc=`echo ${targ_alias} | sed -e 's/64//'` ;; sparc64-*-*bsd*) targ_emul=elf64_sparc targ_extra_emuls="elf32_sparc" ;; sparc64-*-solaris2* | sparcv9-*-solaris2*) targ_emul=elf64_sparc_sol2 targ_extra_emuls="elf64_sparc elf32_sparc_sol2 elf32_sparc" targ_extra_libpath=$targ_extra_emuls tdir_elf32_sparc=`echo ${targ_alias} | sed -e 's/64//'` ;; sparc64-*-*) targ_emul=elf64_sparc ;; d844 1 a844 1 targ_extra_emuls="elf64_sparc" d846 3 a848 1 tdir_elf64_sparc=`echo ${targ_alias} | sed -e 's/32//'` ;; d850 1 a850 1 targ_extra_emuls="elf32_sparc" d856 1 d866 7 a872 2 sparc*-*-vxworks*) targ_emul=elf32_sparc_vxworks ;; sparc*-*-*) targ_emul=elf32_sparc ;; d900 1 d910 2 d927 2 a1015 9 # Enable -z separate-code by default for Linux/x86. case "${target}" in i[3-7]86-*-linux-* | x86_64-*-linux-*) if test ${ac_default_ld_z_separate_code} = unset; then ac_default_ld_z_separate_code=1 fi ;; esac @ 1.27.2.2 log @Merge changes from current as of 20200406 @ text @d3 1 a3 1 # Copyright (C) 2013-2020 Free Software Foundation, Inc. d39 1 a39 1 targ_extra_ofiles="ldelf.o ldelfgen.o" d43 4 a46 2 # Please try to keep this table more or less in alphabetic order - it # makes it much easier to lookup a specific archictecture. d49 1 a49 2 targ_extra_emuls="aarch64elf aarch64elf32 aarch64elf32b armelfb armelf" ;; d52 1 a52 2 targ_extra_emuls="aarch64elf32 aarch64elf32b aarch64elfb armelf armelfb" ;; d54 1 a54 2 targ_extra_emuls=aarch64cloudabib ;; d56 1 a56 2 targ_extra_emuls="aarch64fbsdb aarch64elf" ;; d58 1 a58 2 targ_extra_emuls="aarch64elfb armelf armelfb" ;; d62 1 a62 2 targ_extra_emuls="aarch64elfb aarch64elf aarch64elf32 aarch64elf32b armelfb armelf $targ_extra_libpath" ;; d66 1 a66 2 targ_extra_emuls="aarch64elf aarch64elf32 aarch64elf32b aarch64elfb armelf armelfb $targ_extra_libpath" ;; d69 1 a69 2 targ_extra_emuls="aarch64elfb aarch64elf aarch64elf32 aarch64elf32b armelfb armelf $targ_extra_libpath" ;; d80 9 a88 19 tdir_alpha=`echo ${targ_alias} | sed -e 's/freebsd/freebsdecoff/'` ;; alpha*-*-linux*ecoff*) targ_emul=alpha targ_extra_emuls=elf64alpha tdir_elf64alpha=`echo ${targ_alias} | sed -e 's/ecoff//'` ;; alpha*-*-linux-*) targ_emul=elf64alpha targ_extra_emuls=alpha tdir_alpha=`echo ${targ_alias} | sed -e 's/linux\(-gnu\)*/linux\1ecoff/'` ;; alpha*-*-osf*) targ_emul=alpha targ_extra_ofiles= ;; alpha*-*-gnu*) targ_emul=elf64alpha ;; alpha*-*-netbsd*) targ_emul=elf64alpha_nbsd ;; alpha*-*-openbsd*) targ_emul=elf64alpha ;; a89 3 targ_extra_ofiles= ;; am33_2.0-*-linux*) targ_emul=elf32am33lin # mn10300 variant d92 1 a92 1 targ_extra_emuls="arclinux arclinux_nps arcv2elf arcv2elfx" d102 1 a102 5 targ_extra_emuls="${targ_extra_emuls} arcelf arcv2elf arcv2elfx" ;; arm*-*-cegcc*) targ_emul=arm_wince_pe targ_extra_ofiles="deffilep.o pe-dll.o" LIB_PATH='${tooldir}/lib/w32api' d104 2 d107 2 a108 6 targ_emul=arm_wince_pe targ_extra_ofiles="deffilep.o pe-dll.o" ;; arm-*-pe) targ_emul=armpe targ_extra_ofiles="deffilep.o pe-dll.o" ;; d110 1 a110 2 targ_extra_emuls="armelf_fbsd armelf" ;; d129 3 a131 6 targ_extra_emuls="armelfb_nbsd armelf" ;; arm-*-nto*) targ_emul=armnto ;; arm-*-phoenix*) targ_emul=armelf ;; d133 1 a133 2 targ_emul=armelfb ;; d135 1 a135 2 targ_emul=armelf ;; d137 2 a138 4 arm-*-kaos*) targ_emul=armelf ;; arm9e-*-elf) targ_emul=armelf ;; d180 2 a181 4 arm-*-vxworks) targ_emul=armelf_vxworks ;; arm*-*-conix*) targ_emul=armelf ;; d201 2 a202 3 bpf-*-*) targ_emul=elf64bpf ;; cr16-*-elf*) targ_emul=elf32cr16 d206 1 a206 2 targ_extra_libpath=$targ_extra_emuls ;; d208 1 a208 2 targ_emul=crislinux ;; d215 4 a218 19 csky-*-elf*) targ_emul=cskyelf ;; csky-*-linux*) targ_emul=cskyelf_linux ;; d10v-*-*) targ_emul=d10velf ;; d30v-*-*ext*) targ_emul=d30v_e targ_extra_emuls="d30velf d30v_o" targ_extra_ofiles=ldelfgen.o ;; d30v-*-*onchip*) targ_emul=d30v_o targ_extra_emuls="d30velf d30v_e" targ_extra_ofiles=ldelfgen.o ;; d30v-*-*) targ_emul=d30velf targ_extra_emuls="d30v_e d30v_o" targ_extra_ofiles=ldelfgen.o a220 1 targ_extra_ofiles=ldelfgen.o d225 1 a225 2 fido*-*-elf*) targ_emul=m68kelf ;; a226 1 targ_extra_ofiles=ldelfgen.o d228 2 a229 1 frv-*-*linux*) targ_emul=elf32frvfd d231 1 a231 2 frv-*-*) targ_emul=elf32frv targ_extra_emuls="elf32frvfd" d233 1 a233 2 ft32-*-*) targ_emul=elf32ft32 targ_extra_ofiles=ldelfgen.o d237 1 a237 2 targ_extra_emuls="h8300helf h8300self h8300hnelf h8300snelf h8300sxelf h8300sxnelf" ;; d240 7 a246 14 targ_extra_emuls="h8300helf_linux h8300self_linux h8300sxelf_linux" ;; hppa*64*-*-linux-*) targ_emul=hppa64linux ;; hppa*64*-hpux*) targ_emul=elf64hppa ;; hppa*-*-linux-*) targ_emul=hppalinux ;; hppa*-*-*elf*) targ_emul=hppaelf ;; hppa*-*-lites*) targ_emul=hppaelf ;; hppa*-*-netbsd*) targ_emul=hppanbsd ;; d249 4 a252 10 i[3-7]86-*-nto-qnx*) targ_emul=i386nto ;; i[3-7]86-*-go32) targ_emul=i386go32 targ_extra_ofiles= ;; i[3-7]86-*-msdosdjgpp*) targ_emul=i386go32 targ_extra_ofiles= ;; i[3-7]86-*-lynxos*) targ_emul=i386lynx ;; d254 1 a254 2 targ_extra_emuls=elf_iamcu ;; d256 6 a261 11 targ_extra_emuls=elf_iamcu ;; i[3-7]86-*-bsd) targ_emul=i386bsd targ_extra_ofiles= ;; i[3-7]86-*-bsd386) targ_emul=i386bsd targ_extra_ofiles= ;; i[3-7]86-*-bsdi*) targ_emul=i386bsd targ_extra_ofiles= ;; d265 10 a274 2 targ64_extra_libpath="elf_x86_64 elf32_x86_64" ;; d276 3 a278 2 targ_extra_emuls=elf_x86_64 ;; d280 1 a280 2 targ_extra_emuls=elf_iamcu ;; d285 5 d291 1 a291 2 targ_extra_emuls=elf_iamcu ;; d300 1 a300 2 targ_extra_emuls="elf_iamcu" ;; d302 17 a318 2 targ_extra_ofiles="deffilep.o pe-dll.o" ;; d320 1 a320 2 targ_extra_emuls=elf_i386 ;; d323 6 a328 1 targ_extra_emuls=elf_iamcu d330 1 d332 3 a334 2 targ_extra_emuls="elf_iamcu i386bsd" ;; d337 11 a347 2 targ_extra_emuls="elf_i386 elf_iamcu i386bsd" ;; d349 3 a351 10 targ_extra_emuls=elf_iamcu ;; i[3-7]86-*-msdos*) targ_emul=i386msdos targ_extra_emuls=i386aout targ_extra_ofiles= ;; i[3-7]86-*-moss*) targ_emul=i386moss targ_extra_emuls=i386msdos targ_extra_ofiles= ;; d353 1 a353 2 targ_extra_ofiles="deffilep.o pe-dll.o" ;; d355 1 a355 2 targ_extra_ofiles="deffilep.o pe-dll.o" ;; d358 1 a358 2 test "$targ" != "$host" && LIB_PATH='${tooldir}/lib/w32api' ;; d360 11 a370 2 targ_extra_ofiles="deffilep.o pe-dll.o" ;; d372 4 a375 9 targ_extra_ofiles="deffilep.o pe-dll.o" ;; i[3-7]86-*-beospe*) targ_emul=i386beos targ_extra_ofiles= ;; i[3-7]86-*-beos*) targ_emul=elf_i386_be ;; i[3-7]86-*-vxworks*) targ_emul=elf_i386_vxworks ;; d384 4 a387 4 ia16-*-elf*) targ_emul=elf_i386 targ_extra_emuls=i386msdos ;; ia64-*-elf*) targ_emul=elf64_ia64 d389 2 d393 4 a396 9 targ_extra_emuls="elf64_ia64" ;; ia64-*-netbsd*) targ_emul=elf64_ia64 ;; ia64-*-linux*) targ_emul=elf64_ia64 ;; ia64-*-*vms*) targ_emul=elf64_ia64_vms targ_extra_ofiles=ldelfgen.o ;; d401 1 a401 5 iq2000-*-elf) targ_emul=elf32iq2000 targ_extra_emuls="elf32iq10" targ_extra_ofiles=ldelfgen.o ;; lm32-*-*linux*) targ_emul=elf32lm32fd d403 2 a404 2 lm32-*-*) targ_emul=elf32lm32 targ_extra_emuls="elf32lm32fd" d409 1 a409 2 m32r*le-*-elf*) targ_emul=m32rlelf ;; d411 2 a412 4 targ_emul=m32relf ;; m32r*le-*-linux-*) targ_emul=m32rlelf_linux ;; d416 1 a416 2 targ_extra_emuls="m68hc11elfb m68hc12elf m68hc12elfb" ;; d418 5 a422 5 targ_extra_emuls="m68hc12elfb m68hc11elf m68hc11elfb" ;; m68*-*-netbsdelf*) targ_emul=m68kelfnbsd ;; m68*-*-*) targ_emul=m68kelf d425 1 a425 2 targ_extra_ofiles="deffilep.o pe-dll.o" ;; d428 2 a429 4 mep-*-elf) targ_emul=elf32mep ;; metag-*-*) targ_emul=elf32metag ;; d442 1 a442 2 mips*-sgi-irix5*) targ_emul=elf32bsmip ;; d466 6 a471 12 mips*vr4300el-*-elf*) targ_emul=elf32l4300 ;; mips*vr4300-*-elf*) targ_emul=elf32b4300 ;; mips*vr4100el-*-elf*) targ_emul=elf32l4300 ;; mips*vr4100-*-elf*) targ_emul=elf32b4300 ;; mips*vr5000el-*-elf*) targ_emul=elf32l4300 ;; mips*vr5000-*-elf*) targ_emul=elf32b4300 ;; d474 1 a474 2 targ_extra_emuls="elf32btsmip elf32ltsmipn32 elf64ltsmip elf32btsmipn32 elf64btsmip" ;; d477 1 a477 2 targ_extra_emuls="elf32ltsmip elf32btsmipn32 elf64btsmip elf32ltsmipn32 elf64ltsmip" ;; d480 1 a480 2 targ_extra_libpath=$targ_extra_emuls ;; d483 2 a484 4 targ_extra_libpath=$targ_extra_emuls ;; mips*el-*-elf*) targ_emul=elf32elmip ;; d486 1 a486 2 targ_emul=elf32ebmip ;; d488 1 a488 2 targ_extra_emuls="elf32ebmipvxworks" ;; d490 2 a491 4 targ_extra_emuls="elf32elmipvxworks" ;; mips*-*-windiss) targ_emul=elf32mipswindiss ;; d494 1 a494 2 targ_extra_libpath=$targ_extra_emuls ;; d497 1 a497 2 targ_extra_libpath=$targ_extra_emuls ;; d500 1 a500 2 targ_extra_libpath=$targ_extra_emuls ;; d503 1 a503 2 targ_extra_libpath=$targ_extra_emuls ;; d507 1 a507 2 targ_extra_libpath=$targ_extra_emuls ;; d511 1 a511 2 targ_extra_libpath=$targ_extra_emuls ;; d515 1 a515 2 targ_extra_libpath=$targ_extra_emuls ;; d519 1 a519 2 targ_extra_libpath=$targ_extra_emuls ;; d525 2 a526 3 mn10200-*-*) targ_emul=mn10200 targ_extra_ofiles=ldelfgen.o ;; d529 1 a529 4 moxie-*-moxiebox*) targ_emul=moxiebox targ_extra_ofiles=ldelfgen.o ;; moxie-*-*) targ_emul=elf32moxie a532 4 targ_extra_ofiles=ldelfgen.o ;; mt-*elf) targ_emul=elf32mt targ_extra_ofiles=ldelfgen.o d540 5 a544 11 nds32*le-*-linux-gnu*) targ_emul=nds32elf_linux ;; nds32*be-*-linux-gnu*) targ_emul=nds32belf_linux ;; nios2*-*-linux*) targ_emul=nios2linux ;; nios2*-*-*) targ_emul=nios2elf ;; ns32k-pc532-mach* | ns32k-pc532-ux*) targ_emul=pc532macha targ_extra_ofiles= ;; a545 1 targ_extra_ofiles= d548 2 a549 4 targ_emul=elf32or1k ;; or1k-*-linux* | or1knd-*-linux*) targ_emul=elf32or1k_linux ;; a550 1 targ_extra_ofiles= d553 1 a553 2 targ_extra_emuls="elf_i386 elf_iamcu" ;; a554 1 targ_extra_ofiles=ldelfgen.o d560 1 a560 2 tdir_elf32ppcsim=`echo ${targ_alias} | sed -e 's/ppc/ppcsim/'` ;; d585 1 a585 2 targ_extra_emuls="elf32ppc elf32ppclinux elf32ppcsim" ;; d660 3 a662 7 powerpc-*-nto*) targ_emul=elf32ppcnto ;; powerpcle-*-nto*) targ_emul=elf32lppcnto ;; powerpc-*-macos*) targ_emul=ppcmacos targ_extra_ofiles= ;; d665 9 a673 18 targ_extra_ofiles="deffilep.o pe-dll.o" ;; powerpc-*-aix[5-9]*) targ_emul=aix5ppc targ_extra_ofiles= ;; powerpc-*-aix*) targ_emul=aixppc targ_extra_ofiles= ;; powerpc-*-beos*) targ_emul=aixppc targ_extra_ofiles= ;; powerpc-*-windiss*) targ_emul=elf32ppcwindiss ;; powerpc-*-lynxos*) targ_emul=ppclynx ;; pru*-*-*) targ_emul=pruelf ;; riscv32*-*-linux*) targ_emul=elf32lriscv d675 1 a675 2 targ_extra_libpath=$targ_extra_emuls ;; d679 3 a681 3 targ_extra_libpath=$targ_extra_emuls ;; riscv64*-*-linux*) targ_emul=elf64lriscv d683 1 a683 2 targ_extra_libpath=$targ_extra_emuls ;; d686 2 a687 5 targ_extra_libpath=$targ_extra_emuls ;; rs6000-*-aix[5-9]*) targ_emul=aix5rs6 targ_extra_ofiles= ;; a688 8 targ_extra_ofiles= ;; rl78-*-*) targ_emul=elf32rl78 ;; rx-*-*) targ_emul=elf32rx ;; s12z-*-*) targ_emul=m9s12zelf targ_extra_ofiles=ldelfgen.o d690 2 d695 1 a695 2 tdir_elf_s390=`echo ${targ_alias} | sed -e 's/s390x/s390/'` ;; d697 1 a697 2 tdir_elf_s390=`echo ${targ_alias} | sed -e 's/s390x/s390/'` ;; d704 1 a704 2 targ_extra_emuls=score3_elf ;; d707 1 a707 2 targ_extra_libpath=shelf_linux ;; d709 1 a709 2 targ_extra_emuls="shelf_fd" ;; d711 1 a711 2 targ_extra_emuls="shlelf_fd" ;; d713 1 a713 2 targ_extra_emuls=shelf_nbsd ;; d715 1 a715 2 targ_extra_emuls=shlelf_nbsd ;; d718 1 a718 2 targ_extra_emuls="shelf shl sh" ;; d721 1 a721 2 targ_extra_emuls="shlelf sh shl" ;; d724 1 a724 2 targ_extra_emuls="shelf shlelf sh shl shelf_fd shlelf_fd" ;; d726 1 a726 2 targ_extra_emuls=shlelf_vxworks ;; d728 1 a728 2 targ_extra_emuls=shlelf_nto ;; d730 2 a731 6 targ_extra_ofiles="deffilep.o pe-dll.o" ;; sh-*-*) targ_emul=sh; targ_extra_emuls=shl targ_extra_ofiles= ;; d736 1 a736 2 tdir_elf32_sparc=`echo ${targ_alias} | sed -e 's/64//'` ;; d740 1 a740 2 tdir_elf32_sparc=`echo ${targ_alias} | sed -e 's/64//'` ;; d742 1 a742 2 targ_extra_emuls="elf32_sparc" ;; d747 2 a748 4 tdir_elf32_sparc=`echo ${targ_alias} | sed -e 's/64//'` ;; sparc64-*-*) targ_emul=elf64_sparc ;; d752 1 a752 2 tdir_elf64_sparc=`echo ${targ_alias} | sed -e 's/32//'` ;; d761 1 a761 2 sparc*-*-netbsd*) targ_emul=sparcnbsd ;; d764 1 a764 2 targ_extra_emuls=elf32_sparc ;; d768 8 a775 21 tdir_elf64_sparc=`echo ${targ_alias} | sed -e 's/32//'` ;; sparc*-*-vxworks*) targ_emul=elf32_sparc_vxworks ;; sparc*-*-*) targ_emul=elf32_sparc ;; spu-*-elf*) targ_emul=elf32_spu ;; tic30-*-*aout*) targ_emul=tic30aout targ_extra_ofiles= ;; tic30-*-*coff*) targ_emul=tic30coff targ_extra_ofiles= ;; tic4x-*-* | c4x-*-*) targ_emul=tic4xcoff targ_extra_emuls="tic3xcoff tic3xcoff_onchip" targ_extra_ofiles= ;; tic54x-*-* | c54x*-*-*) targ_emul=tic54xcoff targ_extra_ofiles= ;; d784 2 d788 1 a788 2 targ_extra_libpath=$targ_extra_emuls ;; d791 3 a793 3 targ_extra_libpath=$targ_extra_emuls ;; tilepro-*-*) targ_emul=elf32tilepro d799 1 a799 2 targ_extra_emuls=vaxnbsd ;; d802 1 a802 2 targ_extra_emuls=elf32vax ;; a806 78 x86_64-*-rdos*) targ_emul=elf64rdos ;; x86_64-*-cloudabi*) targ_emul=elf_x86_64_cloudabi ;; x86_64-*-linux-gnux32) targ_emul=elf32_x86_64 targ_extra_emuls="elf_x86_64 elf_i386 elf_iamcu elf_l1om elf_k1om" targ_extra_libpath="elf_i386 elf_iamcu elf_x86_64 elf_l1om elf_k1om" tdir_elf_iamcu=`echo ${targ_alias} | sed -e 's/x86_64/i386/' -e 's/-linux-gnux32/-linux-gnu/'` tdir_elf_i386=`echo ${targ_alias} | sed -e 's/x86_64/i386/' -e 's/-linux-gnux32/-linux-gnu/'` ;; x86_64-*-linux-*) targ_emul=elf_x86_64 targ_extra_emuls="elf32_x86_64 elf_i386 elf_iamcu elf_l1om elf_k1om" targ_extra_libpath="elf_i386 elf32_x86_64 elf_l1om elf_k1om" tdir_elf_i386=`echo ${targ_alias} | sed -e 's/x86_64/i386/'` ;; x86_64-*-redox*) targ_emul=elf_x86_64 targ_extra_emuls=elf_i386 ;; x86_64-*-solaris2*) targ_emul=elf_x86_64_sol2 targ_extra_emuls="elf_x86_64 elf_i386_sol2 elf_i386_ldso elf_i386 elf_iamcu elf_l1om elf_k1om" targ_extra_libpath=$targ_extra_emuls tdir_elf_i386=`echo ${targ_alias} | sed -e 's/x86_64/i386/'` ;; x86_64-*-netbsd*) targ_emul=elf_x86_64 targ_extra_emuls="elf_i386 elf_iamcu elf_l1om elf_k1om" tdir_elf_iamcu=`echo ${targ_alias} | \ sed -e 's/x86_64/i386/'` case "${tdir_elf_iamcu}" in *-netbsdelf*) ;; *) tdir_elf_iamcu=`echo ${tdir_elf_iamcu} | \ sed -e 's/netbsd/netbsdelf/'`;; esac tdir_elf_i386=`echo ${targ_alias} | \ sed -e 's/x86_64/i386/'` case "${tdir_elf_i386}" in *-netbsdelf*) ;; *) tdir_elf_i386=`echo ${tdir_elf_i386} | \ sed -e 's/netbsd/netbsdelf/'`;; esac ;; x86_64-*-elf* | x86_64-*-rtems* | x86_64-*-fuchsia*) targ_emul=elf_x86_64 targ_extra_emuls="elf_i386 elf_iamcu elf32_x86_64 elf_l1om elf_k1om" targ_extra_libpath="elf_i386 elf_iamcu elf32_x86_64 elf_l1om elf_k1om" tdir_elf_i386=`echo ${targ_alias} | sed -e 's/x86_64/i386/'` ;; x86_64-*-dragonfly*) targ_emul=elf_x86_64 targ_extra_emuls="elf_i386 elf_iamcu elf_l1om elf_k1om" ;; x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu) targ_emul=elf_x86_64_fbsd targ_extra_emuls="elf_i386_fbsd elf_x86_64 elf_i386 elf_iamcu elf_l1om elf_l1om_fbsd elf_k1om elf_k1om_fbsd" targ_extra_libpath="elf_i386_fbsd" tdir_elf_i386_fbsd=`echo ${targ_alias} \ | sed -e 's/x86_64/i386/'` tdir_elf_iamcu=`echo ${targ_alias} \ | sed -e 's/x86_64/i386/'` tdir_elf_i386=`echo ${targ_alias} \ | sed -e 's/x86_64/i386/'` ;; x86_64-*-pe | x86_64-*-pep) targ_emul=i386pep ; targ_extra_emuls=i386pe ; targ_extra_ofiles="deffilep.o pep-dll.o pe-dll.o" ;; x86_64-*-cygwin) targ_emul=i386pep ; targ_extra_emuls=i386pe targ_extra_ofiles="deffilep.o pep-dll.o pe-dll.o" test "$targ" != "$host" && LIB_PATH='${tooldir}/lib/w32api' ;; x86_64-*-mingw*) targ_emul=i386pep ; targ_extra_emuls=i386pe targ_extra_ofiles="deffilep.o pep-dll.o pe-dll.o" ;; x86_64-*-nacl*) targ_emul=elf32_x86_64_nacl targ_extra_emuls="elf_i386_nacl elf_x86_64_nacl armelf_nacl armelfb_nacl" targ_extra_libpath=$targ_extra_emuls tdir_elf_i386_nacl=`echo ${targ_alias} | sed -e 's/x86_64/i386/'` ;; a809 3 xgate-*-*) targ_emul=xgateelf targ_extra_ofiles=ldelfgen.o ;; d814 1 a814 2 z80-*-elf*) targ_emul=elf32z80 targ_extra_ofiles="ldelf.o ldelfgen.o" a816 1 targ_extra_ofiles= d818 1 a818 3 z8k-*-coff) targ_emul=z8002 targ_extra_emuls=z8001 targ_extra_ofiles= a820 1 targ_extra_ofiles= @ 1.26 log @merge conflicts, disable testsuite @ text @d3 1 a3 1 # Copyright (C) 2013-2016 Free Software Foundation, Inc. d31 1 a31 1 # --enable-64-bit-bfd is given or if host is 64 bit. d33 1 a33 1 # --enable-64-bit-bfd is given or if host is 64 bit. d57 10 d78 1 a78 1 targ_emul=elf64alpha_fbsd d93 11 a103 4 targ_extra_emuls="arcelf_prof arclinux arclinux_prof arcv2elf arcv2elfx" ;; arc*-*-linux*) targ_emul=arclinux targ_extra_emuls="arclinux_prof arcelf arcelf_prof arcv2elf arcv2elfx" d117 2 a118 2 targ_emul=armelf_fbsd targ_extra_emuls="armelf" ;; d136 1 a136 1 targ_extra_emuls="armelf armelf_nbsd armelfb_nbsd" ;; a139 1 arm-*-rtems*) targ_emul=armelf ;; d142 3 a144 3 arm-*-elf | arm*-*-eabi*) targ_emul=armelf ;; arm*-*-symbianelf*) targ_emul=armsymbian;; d159 1 a159 1 arm*-*-linux-*) targ_emul=armelf_linux d185 3 d191 2 a192 5 bfin-*-elf) targ_emul=elf32bfin; targ_extra_emuls="elf32bfinfd" targ_extra_libpath=$targ_extra_emuls ;; bfin-*-rtems*) targ_emul=elf32bfin; d204 2 a205 2 cr16-*-elf*) targ_emul=elf32cr16 ;; cr16c-*-elf*) targ_emul=elf32cr16c d225 1 a225 1 epiphany-*-elf) targ_emul=elf32epiphany d238 1 a238 1 h8300-*-hms* | h8300-*-coff* | h8300-*-rtemscoff*) a268 2 i[3-7]86-*-rtems*) targ_emul=elf_i386 targ_extra_emuls=elf_iamcu ;; d288 1 a288 2 targ64_extra_libpath=elf_x86_64 targ_extra_libpath=elf32_x86_64 d301 4 d308 1 a308 1 targ_extra_emuls="elf_i386_ldso elf_i386 elf_iamcu elf_x86_64_sol2 elf_x86_64 elf_l1om elf_k1om" d310 1 a310 1 ;; d319 1 a319 1 targ_extra_emuls="elf_i386" d321 1 a321 1 ;; d338 1 a338 1 sed -e 's/netbsd/netbsdelf/'`;; d345 1 a345 1 sed -e 's/netbsd/netbsdelf/'`;; d350 2 a351 1 i[3-7]86-*-elf*) targ_emul=elf_i386 d353 1 a353 1 x86_64-*-elf* | x86_64-*-rtems*) d367 1 a367 1 targ_emul=elf_i386_fbsd d406 1 a406 1 targ_extra_ofiles="deffilep.o pe-dll.o" ;; a431 1 i960-*-rtems*) targ_emul=gld960coff ;; d434 1 d437 1 a437 1 targ_emul=elf64_ia64_fbsd d446 4 a449 1 iq2000-*-elf) targ_emul=elf32iq2000 ; targ_extra_emuls="elf32iq10" a450 3 lm32-*-*linux*) targ_emul=elf32lm32fd ;; lm32-*-*) targ_emul=elf32lm32 ; targ_extra_emuls="elf32lm32fd" ;; d454 1 a454 1 m32r*le-*-elf*) targ_emul=m32rlelf ;; d457 2 a458 2 m32r*le-*-linux-*) targ_emul=m32rlelf_linux ;; m32r*-*-linux-*) targ_emul=m32relf_linux d473 2 a474 1 m68*-*-elf) targ_emul=m68kelf ;; d479 1 a479 1 m68k-*-linux-*) targ_emul=m68kelf a492 3 m68*-*-rtemscoff*) targ_emul=m68kcoff ;; m68*-*-rtems*) targ_emul=m68kelf ;; d515 1 a515 1 targ_extra_emuls="elf32bsmip elf64bmip" d531 6 a536 1 mips*-*-bsd*) targ_emul=mipsbig ;; d556 2 a557 2 mips*-*-elf*) targ_emul=elf32ebmip ;; mips*-*-rtems*) targ_emul=elf32ebmip ;; d561 1 a561 1 targ_extra_emuls="elf32elmipvxworks" ;; d591 1 a591 1 mips*-*-sysv4*) targ_emul=elf32btsmip d600 1 a600 1 mt-*elf) targ_emul=elf32mt d602 1 a602 1 msp430-*-*) targ_emul=msp430elf d618 2 a619 1 or1k-*-elf | or1knd-*-elf) targ_emul=elf32or1k ;; a620 3 or1k-*-netbsd* | or1knd-*-netbsd*) targ_emul=elf32or1k_nbsd ;; or1k-*-rtems* | or1knd-*-rtems*) targ_emul=elf32or1k ;; d623 1 a623 1 pjl*-*-*) targ_emul=pjlelf d625 1 a625 1 pj*-*-*) targ_emul=pjelf d658 2 a659 1 | powerpc*-*-linux* | powerpc*-*-openbsd* \ d662 38 a699 22 *64*) targ_emul=elf64ppc targ_extra_emuls="elf32ppc elf32ppclinux elf32ppcsim" targ_extra_libpath="elf32ppc elf32ppclinux" td=tdir_elf32ppc case "${targ}" in powerpc*le-*) td=tdir_elf32lppc;; esac eval ${td}=`echo "${targ_alias}" | sed -e 's/64//'` eval ${td}linux=\$${td} eval ${td}sim=\$${td} ;; *linux*) targ_emul=elf32ppclinux targ_extra_emuls="elf32ppc elf32ppcsim" targ_extra_libpath=elf32ppc targ64_extra_emuls=elf64ppc targ64_extra_libpath=elf64ppc ;; *) targ_emul=elf32ppc targ_extra_emuls="elf32ppclinux elf32ppcsim" targ_extra_libpath=elf32ppclinux targ64_extra_emuls=elf64ppc targ64_extra_libpath=elf64ppc d701 17 d719 14 a732 12 powerpc*le-*) # PR 19985: Include big endian emulations. for z in targ_extra_emuls targ_extra_libpath targ64_extra_emuls targ64_extra_libpath do eval ${z}=\"\$${z} `eval echo \\$${z} | sed -e 's/ppc/lppc/g'`\" done targ_extra_emuls="$targ_extra_emuls $targ_emul" eval targ_emul=\"`eval echo \\$targ_emul | sed -e 's/ppc/lppc/g'`\" esac ;; powerpc-*-nto*) targ_emul=elf32ppcnto ;; powerpcle-*-nto*) targ_emul=elf32lppcnto ;; powerpc-*-rtems*) targ_emul=elf32ppc ;; d743 2 a744 1 riscv32-*-*) targ_emul=elf32lriscv d747 1 a747 1 riscv*-*-*) targ_emul=elf64lriscv d755 1 a755 1 s390x-*-linux*) targ_emul=elf64_s390 d761 1 a761 1 s390-*-linux*) targ_emul=elf_s390 d766 1 a766 1 score-*-elf) targ_emul=score7_elf a795 1 sh-*-rtemscoff*) targ_emul=sh; targ_extra_emuls=shl ;; d816 3 a818 3 sparc64-*-elf*) targ_emul=elf64_sparc ;; sparc64-*-rtems*) targ_emul=elf64_sparc ;; sparc-sun-sunos4*) targ_emul=sun4 ;; d824 2 a825 1 sparc*-*-elf) targ_emul=elf32_sparc ;; a872 2 sparc-*-rtems*) targ_emul=elf32_sparc ;; d876 1 a876 1 tic4x-*-* | c4x-*-*) targ_emul=tic4xcoff ; targ_extra_emuls="tic3xcoff tic3xcoff_onchip" ;; d906 1 a906 1 vax-*-linux-*) targ_emul=elf32vax d913 2 a914 2 targ_extra_emuls="elf32xc16xl elf32xc16xs" ;; d919 1 a919 1 xgate-*-*) targ_emul=xgateelf d923 1 a923 1 z8k-*-coff) targ_emul=z8002; targ_extra_emuls=z8001 @ 1.26.12.1 log @Sync with HEAD @ text @d3 1 a3 1 # Copyright (C) 2013-2018 Free Software Foundation, Inc. d31 1 a31 1 # --enable-64-bit-bfd is given or if host is 64 bit. d33 1 a33 1 # --enable-64-bit-bfd is given or if host is 64 bit. a56 10 aarch64-*-fuchsia*) targ_emul=aarch64elf targ_extra_emuls="aarch64elfb armelf armelfb" ;; aarch64_be-*-linux-gnu_ilp32) targ_emul=aarch64linux32b targ_extra_libpath="aarch64linuxb aarch64linux aarch64linux32 armelfb_linux_eabi armelf_linux_eabi" targ_extra_emuls="aarch64elfb aarch64elf aarch64elf32 aarch64elf32b armelfb armelf $targ_extra_libpath" ;; aarch64-*-linux-gnu_ilp32) targ_emul=aarch64linux32 targ_extra_libpath="aarch64linux aarch64linuxb aarch64linux32b armelfb_linux_eabi armelf_linux_eabi" targ_extra_emuls="aarch64elf aarch64elf32 aarch64elf32b aarch64elfb armelf armelfb $targ_extra_libpath" ;; d68 1 a68 1 targ_emul=elf64alpha_fbsd d83 4 a86 11 targ_extra_emuls="arcelf_prof arclinux arclinux_nps arclinux_prof arcv2elf arcv2elfx" ;; arc*-*-linux*) case "${with_cpu}" in nps400) targ_emul=arclinux_nps targ_extra_emuls=arclinux ;; *) targ_emul=arclinux targ_extra_emuls=arclinux_nps ;; esac targ_extra_emuls="${targ_extra_emuls} arclinux_prof arcelf arcelf_prof arcv2elf arcv2elfx" d100 2 a101 2 targ_emul=armelf_fbsd targ_extra_emuls="armelfb_fbsd armelf" ;; d119 1 a119 1 targ_extra_emuls="armelf armelf_nbsd armelfb_nbsd" ;; d123 1 d126 3 a128 3 arm-*-elf | arm*-*-eabi* | arm-*-rtems*) targ_emul=armelf ;; arm*-*-symbianelf*) targ_emul=armsymbian;; d143 1 a143 1 arm*-*-linux-*) targ_emul=armelf_linux a168 3 arm*-*-fuchsia*) targ_emul=armelf_fuchsia targ_extra_emuls="armelfb_fuchsia armelf armelfb" ;; d172 5 a176 2 bfin-*-elf | bfin-*-rtems*) targ_emul=elf32bfin d188 2 a189 2 cr16-*-elf*) targ_emul=elf32cr16 ;; cr16c-*-elf*) targ_emul=elf32cr16c d209 1 a209 1 epiphany-*-*) targ_emul=elf32epiphany d222 1 a222 1 h8300-*-hms* | h8300-*-coff*) d253 2 d274 2 a275 1 targ64_extra_libpath="elf_x86_64 elf32_x86_64" a287 4 i[3-7]86-*-redox*) targ_emul=elf_i386 targ_extra_emuls=elf_x86_64 ;; x86_64-*-redox*) targ_emul=elf_x86_64 targ_extra_emuls=elf_i386 ;; d291 1 a291 1 targ_extra_emuls="elf_i386_ldso elf_i386 elf_iamcu elf_x86_64_sol2 elf_x86_64 elf_l1om elf_k1om" d293 1 a293 1 ;; d302 1 a302 1 targ_extra_emuls="elf_i386" d304 1 a304 1 ;; d321 1 a321 1 sed -e 's/netbsd/netbsdelf/'`;; d328 1 a328 1 sed -e 's/netbsd/netbsdelf/'`;; d333 1 a333 2 i[3-7]86-*-elf* | i[3-7]86-*-rtems*) targ_emul=elf_i386 d335 1 a335 1 x86_64-*-elf* | x86_64-*-rtems* | x86_64-*-fuchsia*) d349 1 a349 1 targ_emul=elf_i386_fbsd d388 1 a388 1 targ_extra_ofiles="deffilep.o pe-dll.o" ;; d414 1 a416 1 ia16-*-elf*) targ_emul=elf_i386 targ_extra_emuls=i386msdos ;; d419 1 a419 1 targ_emul=elf64_ia64_fbsd d428 1 a428 4 iq2000-*-elf) targ_emul=elf32iq2000 ; targ_extra_emuls="elf32iq10" ;; lm32-*-*linux*) targ_emul=elf32lm32fd ;; lm32-*-*) targ_emul=elf32lm32 ; targ_extra_emuls="elf32lm32fd" d430 3 d436 1 a436 1 m32r*le-*-elf*) targ_emul=m32rlelf ;; d439 2 a440 2 m32r*le-*-linux-*) targ_emul=m32rlelf_linux ;; m32r*-*-linux-*) targ_emul=m32relf_linux d455 1 a455 2 m68*-*-elf | m68*-*-rtems*) targ_emul=m68kelf ;; d460 1 a460 1 m68k-*-linux-*) targ_emul=m68kelf d474 3 d499 1 a499 1 targ_extra_emuls="elf32bsmip elf64bmip" d515 1 a515 6 mips64el-*-openbsd*) targ_emul=elf64ltsmip targ_extra_emuls=elf64btsmip ;; mips64-*-openbsd*) targ_emul=elf64btsmip targ_extra_emuls=elf64ltsmip ;; d535 2 a536 2 mips*-*-elf* | mips*-*-rtems*) targ_emul=elf32ebmip ;; d540 1 a540 1 targ_extra_emuls="elf32elmipvxworks" ;; d570 1 a570 1 mips*-*-sysv4*) targ_emul=elf32btsmip d579 1 a579 1 mt-*elf) targ_emul=elf32mt d581 1 a581 1 msp430-*-*) targ_emul=msp430elf d597 1 a597 2 or1k-*-elf | or1knd-*-elf | or1k-*-rtems* | or1knd-*-rtems*) targ_emul=elf32or1k ;; d599 3 d604 1 a604 1 pjl*-*-*) targ_emul=pjlelf d606 1 a606 1 pj*-*-*) targ_emul=pjelf d639 1 a639 2 | powerpc*-*-linux* | powerpc*-*-netbsd* | powerpc*-*-openbsd* \ | powerpc*-*-rtems* \ d642 22 a663 16 powerpc64*) targ_emul=elf64ppc targ_extra_emuls="elf32ppc elf32ppclinux elf32ppcsim" targ_extra_libpath="elf32ppc elf32ppclinux" ;; *linux*) targ_emul=elf32ppclinux targ_extra_emuls="elf32ppc elf32ppcsim" targ_extra_libpath=elf32ppc targ64_extra_emuls=elf64ppc targ64_extra_libpath=elf64ppc ;; *) targ_emul=elf32ppc targ_extra_emuls="elf32ppclinux elf32ppcsim" targ_extra_libpath=elf32ppclinux targ64_extra_emuls=elf64ppc targ64_extra_libpath=elf64ppc ;; a664 3 td=tdir_elf32ppc td64=tdir_elf64ppc s=s/ppc/lppc/g d666 12 a677 50 powerpcle-* | powerpc64le-*) for z in td td64 targ_emul targ_extra_emuls \ targ_extra_libpath targ64_extra_emuls \ targ64_extra_libpath do eval ${z}=\"\`echo \$${z} \| sed -e $s\`\" done s=s/lppc/ppc/g ;; esac # Why oh why did we set tooldir based on target_alias # rather than on target? eval tdir_${targ_emul}="${targ_alias}" cpu=`echo "${targ_alias}" | sed -e 's/-.*//'` rest=`echo "${targ_alias}" | sed -e 's/^[^-]*//'` le=le case "${cpu}" in *little) le=little esac ta32=`echo "${cpu}" | sed -e s/64//`"${rest}" ta64=`echo "${cpu}" | sed -e 's/64//;s/$/64/;s/'${le}'64$/64'${le}'/;s/be64$/64be/'`"${rest}" eval test -n \"\$${td}\" || eval ${td}="${ta32}" eval test -n \"\$${td}linux\" || eval ${td}linux="${ta32}" eval test -n \"\$${td}sim\" || eval ${td}sim="${ta32}" eval test -n \"\$${td64}\" || eval ${td64}="${ta64}" # Now provide the other endian for z in targ_extra_emuls targ_extra_libpath do eval ${z}=\"\$${z} \`echo ${targ_emul} \$${z} \| sed -e $s\`\" done for z in targ64_extra_emuls targ64_extra_libpath do eval ${z}=\"\$${z} \`echo \$${z} \| sed -e $s\`\" done td=`echo "${td}" | sed -e $s` td64=`echo "${td64}" | sed -e $s` case "${targ}" in powerpcle-* | powerpc64le-*) cpu=`echo "${cpu}" | sed -e s/${le}\$//` ;; *) cpu=`echo "${cpu}" | sed -e s/be\$//`${le} ;; esac ta32=`echo "${cpu}" | sed -e s/64//`"${rest}" ta64=`echo "${cpu}" | sed -e 's/64//;s/$/64/;s/'${le}'64$/64'${le}/`"${rest}" eval test -n \"\$${td}\" || eval ${td}="${ta32}" eval test -n \"\$${td}linux\" || eval ${td}linux="${ta32}" eval test -n \"\$${td}sim\" || eval ${td}sim="${ta32}" eval test -n \"\$${td64}\" || eval ${td64}="${ta64}" ;; powerpc-*-nto*) targ_emul=elf32ppcnto ;; powerpcle-*-nto*) targ_emul=elf32lppcnto ;; d688 1 a688 2 pru*-*-*) targ_emul=pruelf ;; riscv32*-*-*) targ_emul=elf32lriscv d691 1 a691 1 riscv64*-*-*) targ_emul=elf64lriscv d699 1 a699 1 s390x-*-linux*) targ_emul=elf64_s390 d705 1 a705 1 s390-*-linux*) targ_emul=elf_s390 d710 1 a710 1 score-*-elf) targ_emul=score7_elf d740 1 d761 3 a763 3 sparc64-*-elf* | sparc64-*-rtems*) targ_emul=elf64_sparc ;; sparc-sun-sunos4*) targ_emul=sun4 ;; d769 1 a769 2 sparc*-*-elf | sparc-*-rtems*) targ_emul=elf32_sparc ;; d817 2 d822 1 a822 1 tic4x-*-* | c4x-*-*) targ_emul=tic4xcoff ; targ_extra_emuls="tic3xcoff tic3xcoff_onchip" ;; d852 1 a852 1 vax-*-linux-*) targ_emul=elf32vax d859 2 a860 2 targ_extra_emuls="elf32xc16xl elf32xc16xs" ;; d865 1 a865 1 xgate-*-*) targ_emul=xgateelf d869 1 a869 1 z8k-*-coff) targ_emul=z8002; targ_extra_emuls=z8001 @ 1.26.12.2 log @Sync with HEAD, resolve a couple of conflicts @ text @d87 1 d105 1 d111 3 d134 3 a136 1 targ_extra_emuls="armelfb_nbsd armelf" ;; d138 1 d156 1 a156 6 targ_extra_emuls="armelfb_linux_eabi" targ_extra_libpath=$targ_extra_emuls ;; arm*-*-uclinuxfdpiceabi) targ_emul=armelf_linux_eabi targ_extra_emuls="armelfb_linux_eabi armelf_linux_fdpiceabi armelfb_linux_fdpiceabi" d238 2 d246 4 d258 2 d261 1 d264 3 d268 1 d278 7 d286 1 a286 1 targ_extra_emuls="elf_iamcu" d288 2 a289 1 targ64_extra_libpath="elf_x86_64 elf32_x86_64" ;; d291 1 a291 1 targ_extra_emuls="elf_x86_64 elf_i386 elf_iamcu elf_l1om elf_k1om" d293 1 d297 1 a297 1 targ_extra_emuls="elf32_x86_64 elf_i386 elf_iamcu elf_l1om elf_k1om" d299 1 d326 1 a326 1 targ_extra_emuls="elf_iamcu" ;; d329 2 d332 1 a332 1 targ_extra_emuls="elf_i386 elf_iamcu elf_l1om elf_k1om" d347 1 d360 2 d379 3 d423 11 d464 20 d492 2 a493 2 m68*-*-*) targ_emul=m68kelf ;; s12z-*-*) targ_emul=m9s12zelf d734 1 d744 1 a744 5 riscv32*-*-linux*) targ_emul=elf32lriscv targ_extra_emuls="elf32lriscv_ilp32f elf32lriscv_ilp32 elf64lriscv elf64lriscv_lp64f elf64lriscv_lp64" targ_extra_libpath=$targ_extra_emuls ;; riscv-*-* | riscv32*-*-*) targ_emul=elf32lriscv a746 3 riscv64*-*-linux*) targ_emul=elf64lriscv targ_extra_emuls="elf64lriscv_lp64f elf64lriscv_lp64 elf32lriscv elf32lriscv_ilp32f elf32lriscv_ilp32" targ_extra_libpath=$targ_extra_emuls ;; d771 5 d780 8 d792 1 d809 19 d833 4 d838 1 a838 1 targ_extra_emuls="elf32_sparc" d840 3 a842 9 tdir_elf32_sparc=`echo ${targ_alias} | sed -e 's/64//'` ;; sparc64-*-*bsd*) targ_emul=elf64_sparc targ_extra_emuls="elf32_sparc" ;; sparc64-*-solaris2* | sparcv9-*-solaris2*) targ_emul=elf64_sparc_sol2 targ_extra_emuls="elf64_sparc elf32_sparc_sol2 elf32_sparc" targ_extra_libpath=$targ_extra_emuls tdir_elf32_sparc=`echo ${targ_alias} | sed -e 's/64//'` ;; sparc64-*-*) targ_emul=elf64_sparc ;; d844 1 a844 1 targ_extra_emuls="elf64_sparc" d846 3 a848 1 tdir_elf64_sparc=`echo ${targ_alias} | sed -e 's/32//'` ;; d866 7 a872 2 sparc*-*-vxworks*) targ_emul=elf32_sparc_vxworks ;; sparc*-*-*) targ_emul=elf32_sparc ;; d900 1 d910 2 d927 2 a1015 9 # Enable -z separate-code by default for Linux/x86. case "${target}" in i[3-7]86-*-linux-* | x86_64-*-linux-*) if test ${ac_default_ld_z_separate_code} = unset; then ac_default_ld_z_separate_code=1 fi ;; esac @ 1.26.12.3 log @Synch with HEAD @ text @d116 1 a116 1 targ_extra_emuls="armelf_nbsd_eabihf armelf_nbsd_eabi armelfb_nbsd_eabi armelf_nbsd armelfb_nbsd armelf" ;; d119 1 a119 1 targ_extra_emuls="armelf_nbsd_eabi armelf_nbsd_eabihf armelfb_nbsd_eabihf armelf_nbsd armelfb_nbsd armelf" ;; d122 1 a122 1 targ_extra_emuls="armelfb_nbsd_eabihf armelf_nbsd_eabi armelfb_nbsd_eabi armelf_nbsd armelfb_nbsd armelf" ;; d125 1 a125 1 targ_extra_emuls="armelfb_nbsd_eabi armelf_nbsd_eabihf armelfb_nbsd_eabihf armelf_nbsd armelfb_nbsd armelf" ;; d127 1 a127 1 targ_extra_emuls="armelf_nbsd armelf" ;; d419 2 d422 5 a426 1 targ_emul=m68kelfnbsd ;; d758 1 a758 1 targ_extra_emuls="elf32_sparc" d764 1 @ 1.25 log @fix the armeb target list. @ text @d3 1 a3 1 # Copyright (C) 2013-2015 Free Software Foundation, Inc. d50 2 a51 1 aarch64-*-elf) targ_emul=aarch64elf d85 1 a85 1 arc*-*-linux-uclibc*) targ_emul=arclinux d122 1 d335 2 a336 1 x86_64-*-elf*) targ_emul=elf_x86_64 d522 2 a523 1 mips*el-sde-elf*) targ_emul=elf32ltsmip a574 1 am34-*-linux*) targ_emul=elf32am33lin ;; d667 2 a668 1 for z in targ_emul targ_extra_emuls targ_extra_libpath targ64_extra_emuls targ64_extra_libpath d670 1 a670 1 eval ${z}=\"`eval echo \\$${z} | sed -e 's/ppc/lppc/g'`\" d672 2 d937 25 @ 1.24 log @fix typo. @ text @a113 2 targ_extra_emuls="armelfb_nbsd armelf" ;; armeb-*-netbsdelf*) targ_emul=armelfb_nbsd; @ 1.23 log @Too many ;; in previous @ text @d114 1 a114 1 targ_extra_emuls="armelfb_fbsd armelf" ;; @ 1.23.2.1 log @Sync with HEAD @ text @d3 1 a3 1 # Copyright (C) 2013-2016 Free Software Foundation, Inc. d50 1 a50 2 aarch64-*-elf | aarch64-*-rtems*) targ_emul=aarch64elf d84 1 a84 1 arc*-*-linux*) targ_emul=arclinux d114 2 a122 1 arm-*-phoenix*) targ_emul=armelf ;; d335 1 a335 2 x86_64-*-elf* | x86_64-*-rtems*) targ_emul=elf_x86_64 d521 1 a521 2 mips*el-sde-elf* | mips*el-mti-elf* | mips*el-img-elf*) targ_emul=elf32ltsmip d573 1 d666 1 a666 2 # PR 19985: Include big endian emulations. for z in targ_extra_emuls targ_extra_libpath targ64_extra_emuls targ64_extra_libpath d668 1 a668 1 eval ${z}=\"\$${z} `eval echo \\$${z} | sed -e 's/ppc/lppc/g'`\" a669 2 targ_extra_emuls="$targ_extra_emuls $targ_emul" eval targ_emul=\"`eval echo \\$targ_emul | sed -e 's/ppc/lppc/g'`\" a932 25 case "${target}" in frv-*-* | hppa*-*-* | ia64-*-* | mips*-*-*) # Don't enable -z relro by default since many relro tests fail on these # targets: # FAIL: strip -z relro (relro1) # FAIL: strip -z relro -shared (relro1) # FAIL: objcopy -z relro (relro1) # FAIL: objcopy -z relro -shared (relro1) # FAIL: objcopy -z relro (tdata1) # FAIL: objcopy -shared -z relro (tdata1) # FAIL: objcopy -z relro (tdata2) # FAIL: objcopy -shared -z relro (tdata2) # FAIL: objcopy -z relro (tdata3) # FAIL: objcopy -shared -z relro (tdata3) # FAIL: objcopy -shared -z relro (tbss1) # FAIL: objcopy -shared -z relro (tbss2) # FAIL: objcopy -shared -z relro (tbss3) ;; *-*-linux*) if test ${ac_default_ld_z_relro} = unset; then ac_default_ld_z_relro=1 fi ;; esac @ 1.22 log @Attempt to fix mergo for mips @ text @d502 1 a502 1 targ_extra_libpath=$targ_extra_emuls ;; d506 1 a506 1 targ_extra_libpath=$targ_extra_emuls ;; @ 1.21 log @Restore old netbsd emulation names, requested by joerg. @ text @d500 8 a514 3 mips64*-*-netbsd*) targ_emul=elf32btsmipn32 targ_extra_emuls="elf64ltsmip elf64btsmip elf32btsmip elf32ltsmipn32 elf32ltsmip" ;; @ 1.20 log @merge conflicts, regen for x86. @ text @d614 15 d633 1 a633 1 | powerpc*-*-linux* | powerpc*-*-netbsd* | powerpc*-*-openbsd* \ @ 1.19 log @Add RISC-V support. @ text @d1 18 d29 1 a29 1 # targ_extra_ofiles additional objects needed by the emulation d49 1 a49 1 targ_extra_emuls="aarch64elf armelfb armelf" ;; d51 5 a55 1 targ_extra_emuls="aarch64elfb armelf armelfb" ;; d57 2 a58 1 targ_extra_emuls="aarch64linux aarch64elfb aarch64elf armelfb_linux_eabi armelf_linux_eabi armelfb armelf" ;; d60 2 a61 1 targ_extra_emuls="aarch64linuxb aarch64elf aarch64elfb armelf_linux_eabi armelfb_linux_eabi armelf armelfb" ;; d70 1 a70 1 alpha*-*-linuxecoff*) targ_emul=alpha targ_extra_emuls=elf64alpha d73 1 a73 1 tdir_alpha=`echo ${targ_alias} | sed -e 's/linux/linuxecoff/'` ;; d81 5 a85 1 arc-*-elf*) targ_emul=arcelf d96 3 a98 1 arm-*-freebsd* | arm-*-kfreebsd*-gnu) d114 2 d124 2 a125 1 armeb-*-elf) targ_emul=armelfb ;; d170 1 a170 1 targ_extra_emuls="avr1 avr25 avr3 avr31 avr35 avr4 avr5 avr51 avr6 avrxmega1 avrxmega2 avrxmega3 avrxmega4 avrxmega5 avrxmega6 avrxmega7" d210 1 d218 2 d227 3 d253 8 a260 3 i[3-7]86-*-rtems*) targ_emul=elf_i386 ;; i[3-7]86-*-aros*) targ_emul=elf_i386 ;; i[3-7]86-*-rdos*) targ_emul=elf_i386 ;; d266 2 a267 1 targ_extra_emuls=elf_i386 d269 2 a270 1 i[3-7]86-*-linux*oldld) targ_emul=i386linux; targ_extra_emuls=elf_i386 ;; d272 1 a272 1 targ_extra_emuls=i386linux d278 2 a279 2 targ_extra_emuls="elf_x86_64 elf_i386 i386linux elf_l1om elf_k1om" targ_extra_libpath="elf_i386 elf_x86_64 elf_l1om elf_k1om" d281 1 d284 1 a284 1 targ_extra_emuls="elf32_x86_64 elf_i386 i386linux elf_l1om elf_k1om" d288 2 a289 1 i[3-7]86-*-sysv[45]*) targ_emul=elf_i386 ;; d291 1 a291 1 targ_extra_emuls="elf_i386_ldso elf_i386 elf_x86_64_sol2 elf_x86_64 elf_l1om elf_k1om" d296 1 a296 1 targ_extra_emuls="elf_x86_64 elf_i386_sol2 elf_i386_ldso elf_i386 elf_l1om elf_k1om" d299 2 a300 1 i[3-7]86-*-unixware) targ_emul=elf_i386 ;; d309 1 a309 1 targ_extra_emuls=i386nbsd ;; d315 8 a322 1 targ_extra_emuls="elf_i386 i386nbsd elf_l1om elf_k1om" d331 4 a334 1 i[3-7]86-*-elf*) targ_emul=elf_i386 ;; d336 3 a338 1 targ_extra_emuls="elf_i386 elf_l1om elf_k1om" d344 1 a344 1 targ_extra_emuls="i386bsd" ;; d346 1 a346 1 targ_extra_emuls="elf_i386 elf_l1om elf_k1om" ;; d349 1 a349 1 targ_extra_emuls="elf_i386 i386bsd" ;; d352 1 a352 1 targ_extra_emuls="elf_i386_fbsd elf_x86_64 elf_i386 elf_l1om elf_l1om_fbsd elf_k1om elf_k1om_fbsd" d356 2 d363 2 a364 1 i[3-7]86-*-gnu*) targ_emul=elf_i386 ;; d372 1 a372 1 targ_extra_ofiles="deffilep.o pe-dll.o" d379 4 d483 13 a495 7 microblaze*-linux*) targ_emul="elf32mb_linux" ;; microblaze*) targ_emul=elf32microblaze ;; mips*-*-pe) targ_emul=mipspe ; targ_extra_ofiles="deffilep.o pe-dll.o" ;; mips*-dec-ultrix*) targ_emul=mipslit ;; mips*-dec-osf*) targ_emul=mipslit ;; a499 9 mips*-sgi-irix*) targ_emul=mipsbig ;; mips*el-*-ecoff*) targ_emul=mipsidtl ;; mips*-*-ecoff*) targ_emul=mipsidt ;; mips64*el-*-netbsd*) targ_emul=elf32ltsmipn32 targ_extra_emuls="elf64btsmip elf64ltsmip elf32ltsmip elf32btsmipn32 elf32btsmip" ;; mips64*-*-netbsd*) targ_emul=elf32btsmipn32 targ_extra_emuls="elf64ltsmip elf64btsmip elf32btsmip elf32ltsmipn32 elf32ltsmip" ;; d507 3 d518 2 a519 1 mips*-sde-elf*) targ_emul=elf32btsmip d521 6 a562 1 mips*-*-lnews*) targ_emul=mipslnews ;; d575 5 a579 2 msp430-*-*) targ_emul=msp430x110 targ_extra_emuls="msp430x112 msp430x1101 msp430x1111 msp430x1121 msp430x1122 msp430x1132 msp430x122 msp430x123 msp430x1222 msp430x1232 msp430x133 msp430x135 msp430x1331 msp430x1351 msp430x147 msp430x148 msp430x149 msp430x155 msp430x156 msp430x157 msp430x167 msp430x168 msp430x169 msp430x1610 msp430x1611 msp430x1612 msp430x2101 msp430x2111 msp430x2121 msp430x2131 msp430x311 msp430x312 msp430x313 msp430x314 msp430x315 msp430x323 msp430x325 msp430x336 msp430x337 msp430x412 msp430x413 msp430x415 msp430x417 msp430xE423 msp430xE425 msp430xE427 msp430xW423 msp430xW425 msp430xW427 msp430xG437 msp430xG438 msp430xG439 msp430x435 msp430x436 msp430x437 msp430x447 msp430x448 msp430x449" d581 7 d594 2 a595 2 or1k-*-rtems* | or1knd-*-rtems*) targ_emul=elf32or1k ;; d598 2 a599 1 pjl*-*-*) targ_emul=pjlelf ; targ_extra_emuls="elf_i386" ;; d614 7 a620 1 powerpc*-*-linux*) case "${targ}" in d622 9 a630 5 targ_extra_emuls="elf32ppclinux elf32ppc elf32ppcsim" targ_extra_libpath="elf32ppclinux elf32ppc" tdir_elf32ppc=`echo "${targ_alias}" | sed -e 's/64//'` tdir_elf32ppclinux=$tdir_elf32ppc tdir_elf32ppcsim=$tdir_elf32ppc d632 1 a632 1 *) targ_emul=elf32ppclinux a637 31 esac ;; powerpc*le-*-elf* | powerpc*le-*-eabi* | powerpc*le-*-solaris* \ | powerpc*le-*-sysv* | powerpc*le-*-vxworks*) case "${targ}" in *64*) targ_emul=elf64lppc targ_extra_emuls="elf32lppc elf32lppcsim" tdir_elf32lppc=`echo "${targ_alias}" | sed -e 's/64//'` tdir_elf32lppcsim=$tdir_elf32lppc ;; *) targ_emul=elf32lppc targ_extra_emuls="elf32ppcsim" ;; esac ;; powerpc64*-*-netbsd*) targ_emul=elf64ppc targ_extra_emuls="elf32ppc elf32ppc_nbsd elf32ppcsim" tdir_elf32ppc=`echo "${targ_alias}" | sed -e 's/64//'` tdir_elf32ppc_nbsd=$tdir_elf32ppc tdir_elf32ppcsim=$tdir_elf32ppc ;; powerpc*-*-netbsd*) targ_emul=elf32ppc_nbsd targ_extra_emuls="elf32ppc elf32ppcsim" ;; powerpc*-*-elf* | powerpc*-*-eabi* | powerpc*-*-sysv* \ | powerpc-*-openbsd* | powerpc*-*-kaos*) case "${targ}" in *64*) targ_emul=elf64ppc targ_extra_emuls="elf32ppc elf32ppclinux elf32ppcsim" tdir_elf32ppc=`echo "${targ_alias}" | sed -e 's/64//'` tdir_elf32ppclinux=$tdir_elf32ppc tdir_elf32ppcsim=$tdir_elf32ppc ;; d639 11 a649 1 targ_extra_emuls="elf32ppclinux elf32ppcsim" ;; a650 3 powerpc-*-vxworks*) targ_emul=elf32ppcvxworks targ_extra_emuls="elf32ppc elf32ppclinux elf32ppcsim" ;; d656 3 a658 3 powerpcle-*-pe) targ_emul=ppcpe ;; powerpcle-*-winnt*) targ_emul=ppcpe ;; powerpcle-*-cygwin*) targ_emul=ppcpe ;; d689 1 a689 1 targ_extra_emuls=shelf_linux d696 4 a699 2 sh*eb-*-linux*) targ_emul=shelf_linux ;; sh*-*-linux*) targ_emul=shlelf_linux ;; d817 4 a820 1 v850*-*-*) targ_emul=v850 d830 2 d841 1 a841 1 xgate-*-*) targ_emul=xgateelf d862 1 a862 1 NATIVE_LIB_DIRS='/usr/lib /usr/pkg/lib /usr/local/lib' d898 1 a898 1 i[03-9x]86-*-cygwin*) @ 1.18 log @Merge in OR1K support from top of binutils-gdb GIT repository. This replaces the existing support and most imporantly adds support for shared libraries. @ text @d593 6 @ 1.17 log @Changes to existing files to enable building AARCH64 userland. evbarm64-el This is clang only. While gcc4.8 supports aarch64, no netbsd support has been written for aarch64 with gcc4.8. @ text @d507 5 a511 5 openrisc-*-*) targ_emul=elf32openrisc ;; or32-*-coff) targ_emul=or32 ;; or32-*-elf) targ_emul=or32elf ;; or32-*-rtems*) targ_emul=or32elf ;; @ 1.16 log @Add support for setting LIB_PATH for powerpc*-netbsd* on powerpc64*-netbsd* @ text @d38 4 @ 1.15 log @Use separate emulations for EABI hardfloat / softfloat. @ text @d551 10 d562 1 a562 1 | powerpc*-*-netbsd* | powerpc-*-openbsd* | powerpc*-*-kaos*) @ 1.14 log @Fix typo bsd -> nbsd @ text @d67 3 d72 4 a75 1 targ_extra_emuls="armelf_nbsd_eabi armelf_nbsd armelfb_nbsd armelf armnbsd" ;; d78 1 a78 1 targ_extra_emuls="armelfb_nbsd_eabi armelf_nbsd armelfb_nbsd armelf armnbsd" ;; @ 1.13 log @Add missing emulations for armelf{,b}_nbsd @ text @d69 1 a69 1 targ_extra_emuls="armelf_nbsd_eabi armelf_nbsd armelfb_bsd armelf armnbsd" ;; d72 1 a72 1 targ_extra_emuls="armelfb_nbsd_eabi armelf_nbsd armelfb_bsd armelf armnbsd" ;; @ 1.12 log @Allow gnueabi to be matched for the relevant cases as well. @ text @d69 1 a69 1 targ_extra_emuls="armelf_nbsd_eabi armelf armnbsd" ;; d72 1 a72 1 targ_extra_emuls="armelfb_nbsd_eabi armelf armnbsd" ;; @ 1.11 log @resolve conflicts @ text @d67 1 a67 1 arm*eb-*-netbsdelf*-eabi*) d70 1 a70 1 arm*-*-netbsdelf*-eabi*) @ 1.10 log @match armv[467]*--netbsdelf* @ text @d30 8 d88 1 a88 1 arm*b-*-linux-*eabi) targ_emul=armelfb_linux_eabi d96 1 a96 1 arm*-*-linux-*eabi) targ_emul=armelf_linux_eabi d104 13 a116 1 arm*-*-uclinux*eabi) targ_emul=armelf_linux_eabi a125 13 thumb-*-linux-* | thumb-*-uclinux*) targ_emul=armelf_linux; targ_extra_emuls=armelf ;; strongarm-*-coff) targ_emul=armcoff ;; strongarm-*-elf) targ_emul=armelf ;; strongarm-*-kaos*) targ_emul=armelf ;; thumb-*-coff) targ_emul=armcoff ;; thumb-*-elf) targ_emul=armelf ;; thumb-epoc-pe) targ_emul=arm_epoc_pe ; targ_extra_ofiles="deffilep.o pe-dll.o" ;; thumb-*-pe) targ_emul=armpe ; targ_extra_ofiles="deffilep.o pe-dll.o" ;; xscale-*-coff) targ_emul=armcoff ;; xscale-*-elf) targ_emul=armelf ;; d127 1 a127 1 targ_extra_emuls="avr1 avr25 avr3 avr31 avr35 avr4 avr5 avr51 avr6" d166 2 d174 1 a174 1 moxie-*-*) targ_emul=elf32moxie d217 1 a217 1 targ64_extra_emuls="elf_x86_64 elf_l1om" d219 1 d221 5 d227 2 a228 2 targ_extra_emuls="elf_i386 i386linux elf_l1om" targ_extra_libpath=elf_i386 d233 1 a233 1 targ_extra_emuls="elf_i386_ldso elf_i386 elf_x86_64_sol2 elf_x86_64 elf_l1om" d238 2 a239 2 targ_extra_emuls="elf_x86_64 elf_i386_sol2 elf_i386_ldso elf_i386 elf_l1om" targ_extra_libpath=elf_i386 d256 1 a256 1 targ_extra_emuls="elf_i386 i386nbsd elf_l1om" d267 1 a267 1 targ_extra_emuls="elf_i386 elf_l1om" d275 1 a275 1 targ_extra_emuls="elf_i386 elf_l1om" ;; d281 1 a281 1 targ_extra_emuls="elf_i386_fbsd elf_x86_64 elf_i386 elf_l1om elf_l1om_fbsd" d302 3 d315 11 d344 1 d352 1 a352 1 lm32-*-*) targ_emul=elf32lm32 ; targ_extra_emuls="elf32lm32fd" d363 1 a363 1 m68hc11-*-*|m6811-*-*) targ_emul=m68hc11elf d365 1 a365 1 m68hc12-*-*|m6812-*-*) targ_emul=m68hc12elf d462 16 d508 2 a509 2 targ_emul=elf32ppc_fbsd; targ_extra_emuls="elf32ppc elf32ppcsim"; d512 7 d576 1 d701 7 a707 2 tic6x-*-*) targ_emul=elf32_tic6x_le targ_extra_emuls="elf32_tic6x_be" d711 8 a718 3 v850-*-*) targ_emul=v850 ;; v850e-*-*) targ_emul=v850 ;; v850ea-*-*) targ_emul=v850 d730 1 a730 1 xc16x-*-elf) targ_emul=elf32xc16x d737 2 @ 1.9 log @Allow alias of m5407--netbsdelf for m68k--netbsdself @ text @d59 1 a59 1 armeb-*-netbsdelf*-eabi*) d62 2 a63 1 arm-*-netbsdelf*-eabi*) targ_emul=armelf_nbsd_eabi; d65 1 a65 1 armeb-*-netbsdelf*) targ_emul=armelfb_nbsd; @ 1.8 log @Add arm{,eb}--netbsdelf-eabi support. @ text @d357 2 a358 1 m68*-*-netbsdelf*) targ_emul=m68kelfnbsd @ 1.8.2.1 log @Rebase to HEAD as of a few days ago. @ text @a29 12 aarch64_be-*-elf) targ_emul=aarch64elfb targ_extra_emuls="aarch64elf armelfb armelf" ;; aarch64-*-elf) targ_emul=aarch64elf targ_extra_emuls="aarch64elfb armelf armelfb" ;; aarch64_be-*-linux*) targ_emul=aarch64linuxb targ_extra_emuls="aarch64linux aarch64elfb aarch64elf armelfb_linux_eabi armelf_linux_eabi armelfb armelf" ;; aarch64-*-linux*) targ_emul=aarch64linux targ_extra_emuls="aarch64linuxb aarch64elf aarch64elfb armelf_linux_eabi armelfb_linux_eabi armelf armelfb" ;; aarch64_be-*-netbsd*) targ_emul=aarch64nbsdb targ_extra_emuls="aarch64nbsd aarch64elfb aarch64elf armelfb_nbsd_eabihf armelf_nbsd_eabihf armelfb_nbsd_eabi armelf_nbsd_eabi armelfb_nbsd armelf_nbsd armelf armelfb" ;; aarch64-*-netbsd*) targ_emul=aarch64nbsd targ_extra_emuls="aarch64nbsdb aarch64elf aarch64elfb armelf_nbsd_eabihf armelfb_nbsd_eabihf armelf_nbsd_eabi armelfb_nbsd_eabi armelf_nbsd armelfb_nbsd armelf armelfb" ;; d59 1 a59 4 arm*eb-*-netbsdelf*-*eabihf*) targ_emul=armelfb_nbsd_eabihf; targ_extra_emuls="armelf_nbsd_eabihf armelf_nbsd_eabi armelfb_nbsd_eabi armelf_nbsd armelfb_nbsd armelf armnbsd" ;; arm*eb-*-netbsdelf*-*eabi*) d61 4 a64 8 targ_extra_emuls="armelf_nbsd_eabi armelf_nbsd_eabihf armelfb_nbsd_eabihf armelf_nbsd armelfb_nbsd armelf armnbsd" ;; arm*-*-netbsdelf*-*eabihf*) targ_emul=armelf_nbsd_eabihf; targ_extra_emuls="armelfb_nbsd_eabihf armelf_nbsd_eabi armelfb_nbsd_eabi armelf_nbsd armelfb_nbsd armelf armnbsd" ;; arm*-*-netbsdelf*-*eabi*) targ_emul=armelf_nbsd_eabi; targ_extra_emuls="armelfb_nbsd_eabi armelf_nbsd_eabihf armelfb_nbsd_eabihf armelf_nbsd armelfb_nbsd armelf armnbsd" ;; arm*eb-*-netbsdelf*) targ_emul=armelfb_nbsd; d79 1 a79 1 arm*b-*-linux-*eabi*) targ_emul=armelfb_linux_eabi d87 1 a87 1 arm*-*-linux-*eabi*) targ_emul=armelf_linux_eabi d95 1 a95 13 arm*b-*-nacl*) targ_emul=armelfb_nacl targ_extra_emuls="armelf_nacl elf_i386_nacl" targ_extra_libpath=$targ_extra_emuls targ64_extra_emuls="elf32_x86_64_nacl elf_x86_64_nacl" targ64_extra_libpath=$targ64_extra_emuls ;; arm*-*-nacl*) targ_emul=armelf_nacl targ_extra_emuls="armelfb_nacl elf_i386_nacl" targ_extra_libpath=$targ_extra_emuls targ64_extra_emuls="elf32_x86_64_nacl elf_x86_64_nacl" targ64_extra_libpath=$targ64_extra_emuls ;; arm*-*-uclinux*eabi*) targ_emul=armelf_linux_eabi d105 13 d119 1 a119 1 targ_extra_emuls="avr1 avr25 avr3 avr31 avr35 avr4 avr5 avr51 avr6 avrxmega1 avrxmega2 avrxmega3 avrxmega4 avrxmega5 avrxmega6 avrxmega7" a157 2 epiphany-*-elf) targ_emul=elf32epiphany ;; d164 1 a164 1 moxie-*-*) targ_emul=elf32moxie d207 1 a207 1 targ64_extra_emuls="elf_x86_64 elf32_x86_64 elf_l1om elf_k1om" a208 1 targ_extra_libpath=elf32_x86_64 a209 5 x86_64-*-linux-gnux32) targ_emul=elf32_x86_64 targ_extra_emuls="elf_x86_64 elf_i386 i386linux elf_l1om elf_k1om" targ_extra_libpath="elf_i386 elf_x86_64 elf_l1om elf_k1om" tdir_i386linux=`echo ${targ_alias}aout | sed -e 's/x86_64/i386/' -e 's/-linux-gnux32/-linux-gnu/'` tdir_elf_i386=`echo ${targ_alias} | sed -e 's/x86_64/i386/' -e 's/-linux-gnux32/-linux-gnu/'` ;; d211 2 a212 2 targ_extra_emuls="elf32_x86_64 elf_i386 i386linux elf_l1om elf_k1om" targ_extra_libpath="elf_i386 elf32_x86_64 elf_l1om elf_k1om" d217 1 a217 1 targ_extra_emuls="elf_i386_ldso elf_i386 elf_x86_64_sol2 elf_x86_64 elf_l1om elf_k1om" d222 2 a223 2 targ_extra_emuls="elf_x86_64 elf_i386_sol2 elf_i386_ldso elf_i386 elf_l1om elf_k1om" targ_extra_libpath=$targ_extra_emuls d240 1 a240 1 targ_extra_emuls="elf_i386 i386nbsd elf_l1om elf_k1om" d251 1 a251 1 targ_extra_emuls="elf_i386 elf_l1om elf_k1om" d259 1 a259 1 targ_extra_emuls="elf_i386 elf_l1om elf_k1om" ;; d265 1 a265 1 targ_extra_emuls="elf_i386_fbsd elf_x86_64 elf_i386 elf_l1om elf_l1om_fbsd elf_k1om elf_k1om_fbsd" a285 3 x86_64-*-pe | x86_64-*-pep) targ_emul=i386pep ; targ_extra_emuls=i386pe ; targ_extra_ofiles="deffilep.o pep-dll.o pe-dll.o" ;; a295 11 i[3-7]86-*-nacl*) targ_emul=elf_i386_nacl targ_extra_emuls="armelf_nacl armelfb_nacl" targ_extra_libpath=$targ_extra_emuls targ64_extra_emuls="elf32_x86_64_nacl elf_x86_64_nacl" targ64_extra_libpath=$targ64_extra_emuls ;; x86_64-*-nacl*) targ_emul=elf32_x86_64_nacl targ_extra_emuls="elf_i386_nacl elf_x86_64_nacl armelf_nacl armelfb_nacl" targ_extra_libpath=$targ_extra_emuls tdir_elf_i386_nacl=`echo ${targ_alias} | sed -e 's/x86_64/i386/'` ;; a313 1 ia64-*-*vms*) targ_emul=elf64_ia64_vms ;; d321 1 a321 1 lm32-*-*) targ_emul=elf32lm32 ; targ_extra_emuls="elf32lm32fd" d332 1 a332 1 m68hc11-*-*|m6811-*-*) targ_emul=m68hc11elf d334 1 a334 1 m68hc12-*-*|m6812-*-*) targ_emul=m68hc12elf d357 1 a357 2 m68*-*-netbsdelf* | m5407*-*-netbsdelf*) targ_emul=m68kelfnbsd a429 16 mips64*el-*-freebsd* | mips64*el-*-kfreebsd*-gnu) targ_emul=elf32ltsmipn32_fbsd targ_extra_emuls="elf32ltsmip elf32btsmip elf32ltsmipn32 elf32btsmipn32 elf64ltsmip elf64btsmip elf32ltsmip_fbsd elf32btsmip_fbsd elf32btsmipn32_fbsd elf64ltsmip_fbsd elf64btsmip_fbsd" targ_extra_libpath=$targ_extra_emuls ;; mips64*-*-freebsd* | mips64*-*-kfreebsd*-gnu) targ_emul=elf32btsmipn32_fbsd targ_extra_emuls="elf32ltsmip elf32btsmip elf32ltsmipn32 elf32btsmipn32 elf64ltsmip elf64btsmip elf32ltsmip_fbsd elf32btsmip_fbsd elf32ltsmipn32_fbsd elf64ltsmip_fbsd elf64btsmip_fbsd" targ_extra_libpath=$targ_extra_emuls ;; mips*el-*-freebsd* | mips*el-*-kfreebsd*-gnu) targ_emul=elf32ltsmip_fbsd targ_extra_emuls="elf32ltsmip elf32btsmip elf32ltsmipn32 elf32btsmipn32 elf64ltsmip elf64btsmip elf32ltsmipn32_fbsd elf32btsmip_fbsd elf32btsmipn32_fbsd elf64ltsmip_fbsd elf64btsmip_fbsd" targ_extra_libpath=$targ_extra_emuls ;; mips*-*-freebsd* | mips*-*-kfreebsd*-gnu) targ_emul=elf32btsmip_fbsd targ_extra_emuls="elf32ltsmip elf32btsmip elf32ltsmipn32 elf32btsmipn32 elf64ltsmip elf64btsmip elf32ltsmip_fbsd elf32btsmipn32_fbsd elf32ltsmipn32_fbsd elf64ltsmip_fbsd elf64btsmip_fbsd" targ_extra_libpath=$targ_extra_emuls ;; d460 2 a461 2 targ_emul=elf32ppc_fbsd targ_extra_emuls="elf32ppc elf32ppcsim" a463 7 powerpc64-*-freebsd*) targ_emul=elf64ppc_fbsd targ_extra_emuls="elf64ppc elf32ppc_fbsd elf32ppc" targ_extra_libpath="elf32ppc_fbsd elf32ppc" tdir_elf32ppc=`echo "${targ_alias}" | sed -e 's/64//'` tdir_elf32ppc_fbsd=$tdir_elf32ppc ;; a489 10 powerpc64*-*-netbsd*) targ_emul=elf64ppc targ_extra_emuls="elf32ppc elf32ppc_nbsd elf32ppcsim" tdir_elf32ppc=`echo "${targ_alias}" | sed -e 's/64//'` tdir_elf32ppc_nbsd=$tdir_elf32ppc tdir_elf32ppcsim=$tdir_elf32ppc ;; powerpc*-*-netbsd*) targ_emul=elf32ppc_nbsd targ_extra_emuls="elf32ppc elf32ppcsim" ;; d491 1 a491 1 | powerpc-*-openbsd* | powerpc*-*-kaos*) a520 1 rl78-*-*) targ_emul=elf32rl78 ;; d645 2 a646 7 tic6x-*-elf) targ_emul=elf32_tic6x_elf_le targ_extra_emuls="elf32_tic6x_elf_be elf32_tic6x_le elf32_tic6x_be" targ_extra_libpath=$targ_extra_emuls ;; tic6x-*-uclinux) targ_emul=elf32_tic6x_linux_le targ_extra_emuls="elf32_tic6x_linux_be elf32_tic6x_le elf32_tic6x_be" targ_extra_libpath=$targ_extra_emuls d650 3 a652 8 tilegx-*-*) targ_emul=elf64tilegx targ_extra_emuls="elf64tilegx_be elf32tilegx elf32tilegx_be" targ_extra_libpath=$targ_extra_emuls ;; tilegxbe-*-*) targ_emul=elf64tilegx_be targ_extra_emuls="elf64tilegx elf32tilegx elf32tilegx_be" targ_extra_libpath=$targ_extra_emuls ;; tilepro-*-*) targ_emul=elf32tilepro ;; v850*-*-*) targ_emul=v850 d664 1 a664 1 xc16x-*-elf) targ_emul=elf32xc16x a670 2 xgate-*-*) targ_emul=xgateelf ;; @ 1.8.4.1 log @sync with HEAD @ text @d357 1 a357 2 m68*-*-netbsdelf* | m5407*-*-netbsdelf*) targ_emul=m68kelfnbsd @ 1.7 log @Merge new binutils. Only x86_64 works now; the rest will need to run mknative again (at least). @ text @d59 5 @ 1.7.2.1 log @sync with head @ text @a58 5 armeb-*-netbsdelf*-eabi*) targ_emul=armelfb_nbsd_eabi; targ_extra_emuls="armelf_nbsd_eabi armelf armnbsd" ;; arm-*-netbsdelf*-eabi*) targ_emul=armelf_nbsd_eabi; targ_extra_emuls="armelfb_nbsd_eabi armelf armnbsd" ;; @ 1.7.2.2 log @sync with head. for a reference, the tree before this commit was tagged as yamt-pagecache-tag8. this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments") @ text @a29 8 aarch64_be-*-elf) targ_emul=aarch64elfb targ_extra_emuls="aarch64elf armelfb armelf" ;; aarch64-*-elf) targ_emul=aarch64elf targ_extra_emuls="aarch64elfb armelf armelfb" ;; aarch64_be-*-linux*) targ_emul=aarch64linuxb targ_extra_emuls="aarch64linux aarch64elfb aarch64elf armelfb_linux_eabi armelf_linux_eabi armelfb armelf" ;; aarch64-*-linux*) targ_emul=aarch64linux targ_extra_emuls="aarch64linuxb aarch64elf aarch64elfb armelf_linux_eabi armelfb_linux_eabi armelf armelfb" ;; d59 1 a59 4 arm*eb-*-netbsdelf*-*eabihf*) targ_emul=armelfb_nbsd_eabihf; targ_extra_emuls="armelf_nbsd_eabihf armelf_nbsd_eabi armelfb_nbsd_eabi armelf_nbsd armelfb_nbsd armelf armnbsd" ;; arm*eb-*-netbsdelf*-*eabi*) d61 4 a64 8 targ_extra_emuls="armelf_nbsd_eabi armelf_nbsd_eabihf armelfb_nbsd_eabihf armelf_nbsd armelfb_nbsd armelf armnbsd" ;; arm*-*-netbsdelf*-*eabihf*) targ_emul=armelf_nbsd_eabihf; targ_extra_emuls="armelfb_nbsd_eabihf armelf_nbsd_eabi armelfb_nbsd_eabi armelf_nbsd armelfb_nbsd armelf armnbsd" ;; arm*-*-netbsdelf*-*eabi*) targ_emul=armelf_nbsd_eabi; targ_extra_emuls="armelfb_nbsd_eabi armelf_nbsd_eabihf armelfb_nbsd_eabihf armelf_nbsd armelfb_nbsd armelf armnbsd" ;; arm*eb-*-netbsdelf*) targ_emul=armelfb_nbsd; d79 1 a79 1 arm*b-*-linux-*eabi*) targ_emul=armelfb_linux_eabi d87 1 a87 1 arm*-*-linux-*eabi*) targ_emul=armelf_linux_eabi d95 1 a95 13 arm*b-*-nacl*) targ_emul=armelfb_nacl targ_extra_emuls="armelf_nacl elf_i386_nacl" targ_extra_libpath=$targ_extra_emuls targ64_extra_emuls="elf32_x86_64_nacl elf_x86_64_nacl" targ64_extra_libpath=$targ64_extra_emuls ;; arm*-*-nacl*) targ_emul=armelf_nacl targ_extra_emuls="armelfb_nacl elf_i386_nacl" targ_extra_libpath=$targ_extra_emuls targ64_extra_emuls="elf32_x86_64_nacl elf_x86_64_nacl" targ64_extra_libpath=$targ64_extra_emuls ;; arm*-*-uclinux*eabi*) targ_emul=armelf_linux_eabi d105 13 d119 1 a119 1 targ_extra_emuls="avr1 avr25 avr3 avr31 avr35 avr4 avr5 avr51 avr6 avrxmega1 avrxmega2 avrxmega3 avrxmega4 avrxmega5 avrxmega6 avrxmega7" a157 2 epiphany-*-elf) targ_emul=elf32epiphany ;; d164 1 a164 1 moxie-*-*) targ_emul=elf32moxie d207 1 a207 1 targ64_extra_emuls="elf_x86_64 elf32_x86_64 elf_l1om elf_k1om" a208 1 targ_extra_libpath=elf32_x86_64 a209 5 x86_64-*-linux-gnux32) targ_emul=elf32_x86_64 targ_extra_emuls="elf_x86_64 elf_i386 i386linux elf_l1om elf_k1om" targ_extra_libpath="elf_i386 elf_x86_64 elf_l1om elf_k1om" tdir_i386linux=`echo ${targ_alias}aout | sed -e 's/x86_64/i386/' -e 's/-linux-gnux32/-linux-gnu/'` tdir_elf_i386=`echo ${targ_alias} | sed -e 's/x86_64/i386/' -e 's/-linux-gnux32/-linux-gnu/'` ;; d211 2 a212 2 targ_extra_emuls="elf32_x86_64 elf_i386 i386linux elf_l1om elf_k1om" targ_extra_libpath="elf_i386 elf32_x86_64 elf_l1om elf_k1om" d217 1 a217 1 targ_extra_emuls="elf_i386_ldso elf_i386 elf_x86_64_sol2 elf_x86_64 elf_l1om elf_k1om" d222 2 a223 2 targ_extra_emuls="elf_x86_64 elf_i386_sol2 elf_i386_ldso elf_i386 elf_l1om elf_k1om" targ_extra_libpath=$targ_extra_emuls d240 1 a240 1 targ_extra_emuls="elf_i386 i386nbsd elf_l1om elf_k1om" d251 1 a251 1 targ_extra_emuls="elf_i386 elf_l1om elf_k1om" d259 1 a259 1 targ_extra_emuls="elf_i386 elf_l1om elf_k1om" ;; d265 1 a265 1 targ_extra_emuls="elf_i386_fbsd elf_x86_64 elf_i386 elf_l1om elf_l1om_fbsd elf_k1om elf_k1om_fbsd" a285 3 x86_64-*-pe | x86_64-*-pep) targ_emul=i386pep ; targ_extra_emuls=i386pe ; targ_extra_ofiles="deffilep.o pep-dll.o pe-dll.o" ;; a295 11 i[3-7]86-*-nacl*) targ_emul=elf_i386_nacl targ_extra_emuls="armelf_nacl armelfb_nacl" targ_extra_libpath=$targ_extra_emuls targ64_extra_emuls="elf32_x86_64_nacl elf_x86_64_nacl" targ64_extra_libpath=$targ64_extra_emuls ;; x86_64-*-nacl*) targ_emul=elf32_x86_64_nacl targ_extra_emuls="elf_i386_nacl elf_x86_64_nacl armelf_nacl armelfb_nacl" targ_extra_libpath=$targ_extra_emuls tdir_elf_i386_nacl=`echo ${targ_alias} | sed -e 's/x86_64/i386/'` ;; a313 1 ia64-*-*vms*) targ_emul=elf64_ia64_vms ;; d321 1 a321 1 lm32-*-*) targ_emul=elf32lm32 ; targ_extra_emuls="elf32lm32fd" d332 1 a332 1 m68hc11-*-*|m6811-*-*) targ_emul=m68hc11elf d334 1 a334 1 m68hc12-*-*|m6812-*-*) targ_emul=m68hc12elf d357 1 a357 2 m68*-*-netbsdelf* | m5407*-*-netbsdelf*) targ_emul=m68kelfnbsd a429 16 mips64*el-*-freebsd* | mips64*el-*-kfreebsd*-gnu) targ_emul=elf32ltsmipn32_fbsd targ_extra_emuls="elf32ltsmip elf32btsmip elf32ltsmipn32 elf32btsmipn32 elf64ltsmip elf64btsmip elf32ltsmip_fbsd elf32btsmip_fbsd elf32btsmipn32_fbsd elf64ltsmip_fbsd elf64btsmip_fbsd" targ_extra_libpath=$targ_extra_emuls ;; mips64*-*-freebsd* | mips64*-*-kfreebsd*-gnu) targ_emul=elf32btsmipn32_fbsd targ_extra_emuls="elf32ltsmip elf32btsmip elf32ltsmipn32 elf32btsmipn32 elf64ltsmip elf64btsmip elf32ltsmip_fbsd elf32btsmip_fbsd elf32ltsmipn32_fbsd elf64ltsmip_fbsd elf64btsmip_fbsd" targ_extra_libpath=$targ_extra_emuls ;; mips*el-*-freebsd* | mips*el-*-kfreebsd*-gnu) targ_emul=elf32ltsmip_fbsd targ_extra_emuls="elf32ltsmip elf32btsmip elf32ltsmipn32 elf32btsmipn32 elf64ltsmip elf64btsmip elf32ltsmipn32_fbsd elf32btsmip_fbsd elf32btsmipn32_fbsd elf64ltsmip_fbsd elf64btsmip_fbsd" targ_extra_libpath=$targ_extra_emuls ;; mips*-*-freebsd* | mips*-*-kfreebsd*-gnu) targ_emul=elf32btsmip_fbsd targ_extra_emuls="elf32ltsmip elf32btsmip elf32ltsmipn32 elf32btsmipn32 elf64ltsmip elf64btsmip elf32ltsmip_fbsd elf32btsmipn32_fbsd elf32ltsmipn32_fbsd elf64ltsmip_fbsd elf64btsmip_fbsd" targ_extra_libpath=$targ_extra_emuls ;; d460 2 a461 2 targ_emul=elf32ppc_fbsd targ_extra_emuls="elf32ppc elf32ppcsim" a463 7 powerpc64-*-freebsd*) targ_emul=elf64ppc_fbsd targ_extra_emuls="elf64ppc elf32ppc_fbsd elf32ppc" targ_extra_libpath="elf32ppc_fbsd elf32ppc" tdir_elf32ppc=`echo "${targ_alias}" | sed -e 's/64//'` tdir_elf32ppc_fbsd=$tdir_elf32ppc ;; a489 10 powerpc64*-*-netbsd*) targ_emul=elf64ppc targ_extra_emuls="elf32ppc elf32ppc_nbsd elf32ppcsim" tdir_elf32ppc=`echo "${targ_alias}" | sed -e 's/64//'` tdir_elf32ppc_nbsd=$tdir_elf32ppc tdir_elf32ppcsim=$tdir_elf32ppc ;; powerpc*-*-netbsd*) targ_emul=elf32ppc_nbsd targ_extra_emuls="elf32ppc elf32ppcsim" ;; d491 1 a491 1 | powerpc-*-openbsd* | powerpc*-*-kaos*) a520 1 rl78-*-*) targ_emul=elf32rl78 ;; d645 2 a646 7 tic6x-*-elf) targ_emul=elf32_tic6x_elf_le targ_extra_emuls="elf32_tic6x_elf_be elf32_tic6x_le elf32_tic6x_be" targ_extra_libpath=$targ_extra_emuls ;; tic6x-*-uclinux) targ_emul=elf32_tic6x_linux_le targ_extra_emuls="elf32_tic6x_linux_be elf32_tic6x_le elf32_tic6x_be" targ_extra_libpath=$targ_extra_emuls d650 3 a652 8 tilegx-*-*) targ_emul=elf64tilegx targ_extra_emuls="elf64tilegx_be elf32tilegx elf32tilegx_be" targ_extra_libpath=$targ_extra_emuls ;; tilegxbe-*-*) targ_emul=elf64tilegx_be targ_extra_emuls="elf64tilegx elf32tilegx elf32tilegx_be" targ_extra_libpath=$targ_extra_emuls ;; tilepro-*-*) targ_emul=elf32tilepro ;; v850*-*-*) targ_emul=v850 d664 1 a664 1 xc16x-*-elf) targ_emul=elf32xc16x a670 2 xgate-*-*) targ_emul=xgateelf ;; @ 1.6 log @Remove redundant mips*-*-netbsd* clause @ text @d42 2 a43 1 alpha*-*-openbsd*) targ_emul=elf64alpha d48 4 a51 1 arm-wince-pe | arm-*-wince) targ_emul=arm_wince_pe ; targ_extra_ofiles="deffilep.o pe-dll.o" ;; d159 2 d171 1 a171 1 hppa*64*-*) targ_emul=elf64hppa ;; d202 1 a202 1 targ64_extra_emuls=elf_x86_64 d206 1 a206 1 targ_extra_emuls="elf_i386 i386linux" d211 2 a212 2 i[3-7]86-*-solaris2*) targ_emul=elf_i386_ldso targ_extra_emuls="elf_i386 elf_x86_64" d216 2 a217 2 targ_emul=elf_x86_64 targ_extra_emuls="elf_i386 elf_i386_ldso" d235 1 a235 1 targ_extra_emuls="elf_i386 i386nbsd" d246 1 a246 1 targ_extra_emuls=elf_i386 d251 5 a255 1 i[3-7]86-*-freebsd* | i[3-7]86-*-kfreebsd*-gnu | i[3-7]86-*-dragonfly*) d260 1 a260 1 targ_extra_emuls="elf_i386_fbsd elf_x86_64 elf_i386" d282 2 a283 1 targ_extra_ofiles="deffilep.o pep-dll.o" ;; d315 5 a319 1 m32c-*-elf) targ_emul=elf32m32c d322 2 a323 1 m32r*-*-elf*) targ_emul=m32relf ;; a362 2 maxq-*-coff) targ_emul=maxqcoff ;; d368 3 d508 1 a508 1 powerpc-*-aix5*) targ_emul=aix5ppc ;; d513 1 a513 1 rs6000-*-aix5*) targ_emul=aix5rs6 ;; d516 1 d528 2 a529 1 score-*-elf) targ_emul=scoreelf ;; d562 1 a562 1 targ_extra_emuls="shelf shlelf sh shl" ;; d578 1 d620 4 a623 3 targ_emul=elf32_sparc ;; sparc-*-solaris2*) targ_emul=elf32_sparc targ_extra_emuls="elf64_sparc" d627 2 a628 2 targ_emul=elf64_sparc targ_extra_emuls="elf32_sparc" d633 1 a633 1 sparc*-*-rtems*) targ_emul=elf32_sparc d640 3 d684 5 a688 1 *-*-freebsd* | *-*-dragonfly*) d718 1 a718 1 NATIVE_LIB_DIRS='/usr/spu/lib' a727 3 *-*-freebsd* | *-*-dragonfly*) ;; @ 1.5 log @default netbsd*mips64 to n32. from matt-nb5-mips64. @ text @a376 3 mips*-*-netbsd*) targ_emul=elf32btsmip targ_extra_emuls="elf32ltsmip elf64btsmip elf64ltsmip" ;; @ 1.4 log @Pull across most of the changes from matt-nb5-mips64. Only remaining change is bfd/elf.c:_bfd_elf_is_local_label_name which should probably be done via mips_elf_is_local_label_name. @ text @d365 2 a366 2 mips64*el-*-netbsd*) targ_emul=elf64ltsmip targ_extra_emuls="elf64btsmip elf32ltsmipn32 elf32ltsmip elf32btsmipn32 elf32btsmip" d368 2 a369 2 mips64*-*-netbsd*) targ_emul=elf64btsmip targ_extra_emuls="elf64ltsmip elf32btsmipn32 elf32btsmip elf32ltsmipn32 elf32ltsmip" @ 1.3 log @Default to N32 for mips64. @ text @d365 2 a366 2 mips64*el-*-netbsd*) targ_emul=elf32ltsmipn32 targ_extra_emuls="elf64btsmip elf64ltsmip elf32ltsmip elf32btsmipn32 elf32btsmip" d368 2 a369 2 mips64*-*-netbsd*) targ_emul=elf32btsmipn32 targ_extra_emuls="elf64ltsmip elf64btsmip elf32btsmip elf32ltsmipn32 elf32ltsmip" @ 1.2 log @Merge changes to binutils 2.16.1 in src/gnu/dist/binutils into 2.19.1. @ text @d365 2 a366 2 mips64*el-*-netbsd*) targ_emul=elf64ltsmip targ_extra_emuls="elf64btsmip elf32ltsmipn32 elf32ltsmip elf32btsmipn32 elf32btsmip" d368 2 a369 2 mips64*-*-netbsd*) targ_emul=elf64btsmip targ_extra_emuls="elf64ltsmip elf32btsmipn32 elf32btsmip elf32ltsmipn32 elf32ltsmip" @ 1.1 log @Initial revision @ text @d365 6 d376 3 d592 9 a600 4 sparc64-*-netbsd* | sparc64-*-openbsd*) targ_emul=elf64_sparc targ_extra_emuls="elf32_sparc" ;; sparc*-*-netbsd*elf*) targ_emul=elf32_sparc ;; @ 1.1.1.1 log @Import binutils 2.19.1 as requested by matt@@ OK'ed by board@@ @ text @@ 1.1.1.2 log @from ftp.gnu.org @ text @d42 1 a42 2 alpha*-*-openbsd*) targ_emul=elf64alpha ;; alpha*-*-*vms*) targ_emul=alphavms d47 1 a47 4 arm*-*-cegcc*) targ_emul=arm_wince_pe ; targ_extra_ofiles="deffilep.o pe-dll.o" LIB_PATH='${tooldir}/lib/w32api' ;; arm-wince-pe | arm-*-wince | arm*-*-mingw32ce*) targ_emul=arm_wince_pe ; targ_extra_ofiles="deffilep.o pe-dll.o" ;; a154 2 moxie-*-*) targ_emul=elf32moxie ;; d165 1 a165 1 hppa*64*-hpux*) targ_emul=elf64hppa ;; d196 1 a196 1 targ64_extra_emuls="elf_x86_64 elf_l1om" d200 1 a200 1 targ_extra_emuls="elf_i386 i386linux elf_l1om" d205 2 a206 2 i[3-7]86-*-solaris2*) targ_emul=elf_i386_sol2 targ_extra_emuls="elf_i386_ldso elf_i386 elf_x86_64_sol2 elf_x86_64 elf_l1om" d210 2 a211 2 targ_emul=elf_x86_64_sol2 targ_extra_emuls="elf_x86_64 elf_i386_sol2 elf_i386_ldso elf_i386 elf_l1om" d229 1 a229 1 targ_extra_emuls="elf_i386 i386nbsd elf_l1om" d240 1 a240 1 targ_extra_emuls="elf_i386 elf_l1om" d245 1 a245 5 i[3-7]86-*-dragonfly*) targ_emul=elf_i386 targ_extra_emuls="i386bsd" ;; x86_64-*-dragonfly*) targ_emul=elf_x86_64 targ_extra_emuls="elf_i386 elf_l1om" ;; i[3-7]86-*-freebsd* | i[3-7]86-*-kfreebsd*-gnu) d250 1 a250 1 targ_extra_emuls="elf_i386_fbsd elf_x86_64 elf_i386 elf_l1om elf_l1om_fbsd" d272 1 a272 2 targ_extra_emuls=i386pe targ_extra_ofiles="deffilep.o pep-dll.o pe-dll.o" ;; d304 1 a304 5 lm32-*-*linux*) targ_emul=elf32lm32fd ;; lm32-*-*) targ_emul=elf32lm32 ; targ_extra_emuls="elf32lm32fd" ;; m32c-*-elf | m32c-*-rtems*) targ_emul=elf32m32c d307 1 a307 2 m32r*-*-elf* | m32r*-*-rtems*) targ_emul=m32relf ;; d347 2 a353 3 microblaze*-linux*) targ_emul="elf32mb_linux" ;; microblaze*) targ_emul=elf32microblaze ;; d485 1 a485 1 powerpc-*-aix[5-9]*) targ_emul=aix5ppc ;; d490 1 a490 1 rs6000-*-aix[5-9]*) targ_emul=aix5rs6 ;; a492 1 rx-*-*) targ_emul=elf32rx ;; d504 1 a504 2 score-*-elf) targ_emul=score7_elf targ_extra_emuls=score3_elf ;; d537 1 a537 1 targ_extra_emuls="shelf shlelf sh shl shelf_fd shlelf_fd" ;; a552 1 sparc64-*-rtems*) targ_emul=elf64_sparc ;; d589 3 a591 4 targ_emul=elf32_sparc_sol2 targ_extra_emuls=elf32_sparc ;; sparc-*-solaris2*) targ_emul=elf32_sparc_sol2 targ_extra_emuls="elf32_sparc elf64_sparc_sol2 elf64_sparc" d595 2 a596 2 targ_emul=elf64_sparc_sol2 targ_extra_emuls="elf64_sparc elf32_sparc_sol2 elf32_sparc" d601 1 a601 1 sparc-*-rtems*) targ_emul=elf32_sparc a607 3 tic6x-*-*) targ_emul=elf32_tic6x_le targ_extra_emuls="elf32_tic6x_be" ;; d649 1 a649 5 *-*-dragonfly*) NATIVE_LIB_DIRS='/usr/lib /usr/pkg/lib /usr/local/lib' ;; *-*-freebsd*) d679 1 a679 1 NATIVE_LIB_DIRS='/lib' d689 3 @ 1.1.1.3 log @from ftp.gnu.org @ text @a29 8 aarch64_be-*-elf) targ_emul=aarch64elfb targ_extra_emuls="aarch64elf armelfb armelf" ;; aarch64-*-elf) targ_emul=aarch64elf targ_extra_emuls="aarch64elfb armelf armelfb" ;; aarch64_be-*-linux*) targ_emul=aarch64linuxb targ_extra_emuls="aarch64linux aarch64elfb aarch64elf armelfb_linux_eabi armelf_linux_eabi armelfb armelf" ;; aarch64-*-linux*) targ_emul=aarch64linux targ_extra_emuls="aarch64linuxb aarch64elf aarch64elfb armelf_linux_eabi armelfb_linux_eabi armelf armelfb" ;; d74 1 a74 1 arm*b-*-linux-*eabi*) targ_emul=armelfb_linux_eabi d82 1 a82 1 arm*-*-linux-*eabi*) targ_emul=armelf_linux_eabi d90 1 a90 13 arm*b-*-nacl*) targ_emul=armelfb_nacl targ_extra_emuls="armelf_nacl elf_i386_nacl" targ_extra_libpath=$targ_extra_emuls targ64_extra_emuls="elf32_x86_64_nacl elf_x86_64_nacl" targ64_extra_libpath=$targ64_extra_emuls ;; arm*-*-nacl*) targ_emul=armelf_nacl targ_extra_emuls="armelfb_nacl elf_i386_nacl" targ_extra_libpath=$targ_extra_emuls targ64_extra_emuls="elf32_x86_64_nacl elf_x86_64_nacl" targ64_extra_libpath=$targ64_extra_emuls ;; arm*-*-uclinux*eabi*) targ_emul=armelf_linux_eabi d100 13 d114 1 a114 1 targ_extra_emuls="avr1 avr25 avr3 avr31 avr35 avr4 avr5 avr51 avr6 avrxmega1 avrxmega2 avrxmega3 avrxmega4 avrxmega5 avrxmega6 avrxmega7" a152 2 epiphany-*-elf) targ_emul=elf32epiphany ;; d159 1 a159 1 moxie-*-*) targ_emul=elf32moxie d202 1 a202 1 targ64_extra_emuls="elf_x86_64 elf32_x86_64 elf_l1om elf_k1om" a203 1 targ_extra_libpath=elf32_x86_64 a204 5 x86_64-*-linux-gnux32) targ_emul=elf32_x86_64 targ_extra_emuls="elf_x86_64 elf_i386 i386linux elf_l1om elf_k1om" targ_extra_libpath="elf_i386 elf_x86_64 elf_l1om elf_k1om" tdir_i386linux=`echo ${targ_alias}aout | sed -e 's/x86_64/i386/' -e 's/-linux-gnux32/-linux-gnu/'` tdir_elf_i386=`echo ${targ_alias} | sed -e 's/x86_64/i386/' -e 's/-linux-gnux32/-linux-gnu/'` ;; d206 2 a207 2 targ_extra_emuls="elf32_x86_64 elf_i386 i386linux elf_l1om elf_k1om" targ_extra_libpath="elf_i386 elf32_x86_64 elf_l1om elf_k1om" d212 1 a212 1 targ_extra_emuls="elf_i386_ldso elf_i386 elf_x86_64_sol2 elf_x86_64 elf_l1om elf_k1om" d217 2 a218 2 targ_extra_emuls="elf_x86_64 elf_i386_sol2 elf_i386_ldso elf_i386 elf_l1om elf_k1om" targ_extra_libpath=$targ_extra_emuls d235 1 a235 1 targ_extra_emuls="elf_i386 i386nbsd elf_l1om elf_k1om" d246 1 a246 1 targ_extra_emuls="elf_i386 elf_l1om elf_k1om" d254 1 a254 1 targ_extra_emuls="elf_i386 elf_l1om elf_k1om" ;; d260 1 a260 1 targ_extra_emuls="elf_i386_fbsd elf_x86_64 elf_i386 elf_l1om elf_l1om_fbsd elf_k1om elf_k1om_fbsd" a280 3 x86_64-*-pe | x86_64-*-pep) targ_emul=i386pep ; targ_extra_emuls=i386pe ; targ_extra_ofiles="deffilep.o pep-dll.o pe-dll.o" ;; a290 11 i[3-7]86-*-nacl*) targ_emul=elf_i386_nacl targ_extra_emuls="armelf_nacl armelfb_nacl" targ_extra_libpath=$targ_extra_emuls targ64_extra_emuls="elf32_x86_64_nacl elf_x86_64_nacl" targ64_extra_libpath=$targ64_extra_emuls ;; x86_64-*-nacl*) targ_emul=elf32_x86_64_nacl targ_extra_emuls="elf_i386_nacl elf_x86_64_nacl armelf_nacl armelfb_nacl" targ_extra_libpath=$targ_extra_emuls tdir_elf_i386_nacl=`echo ${targ_alias} | sed -e 's/x86_64/i386/'` ;; a308 1 ia64-*-*vms*) targ_emul=elf64_ia64_vms ;; d316 1 a316 1 lm32-*-*) targ_emul=elf32lm32 ; targ_extra_emuls="elf32lm32fd" d327 1 a327 1 m68hc11-*-*|m6811-*-*) targ_emul=m68hc11elf d329 1 a329 1 m68hc12-*-*|m6812-*-*) targ_emul=m68hc12elf a418 16 mips64*el-*-freebsd* | mips64*el-*-kfreebsd*-gnu) targ_emul=elf32ltsmipn32_fbsd targ_extra_emuls="elf32ltsmip elf32btsmip elf32ltsmipn32 elf32btsmipn32 elf64ltsmip elf64btsmip elf32ltsmip_fbsd elf32btsmip_fbsd elf32btsmipn32_fbsd elf64ltsmip_fbsd elf64btsmip_fbsd" targ_extra_libpath=$targ_extra_emuls ;; mips64*-*-freebsd* | mips64*-*-kfreebsd*-gnu) targ_emul=elf32btsmipn32_fbsd targ_extra_emuls="elf32ltsmip elf32btsmip elf32ltsmipn32 elf32btsmipn32 elf64ltsmip elf64btsmip elf32ltsmip_fbsd elf32btsmip_fbsd elf32ltsmipn32_fbsd elf64ltsmip_fbsd elf64btsmip_fbsd" targ_extra_libpath=$targ_extra_emuls ;; mips*el-*-freebsd* | mips*el-*-kfreebsd*-gnu) targ_emul=elf32ltsmip_fbsd targ_extra_emuls="elf32ltsmip elf32btsmip elf32ltsmipn32 elf32btsmipn32 elf64ltsmip elf64btsmip elf32ltsmipn32_fbsd elf32btsmip_fbsd elf32btsmipn32_fbsd elf64ltsmip_fbsd elf64btsmip_fbsd" targ_extra_libpath=$targ_extra_emuls ;; mips*-*-freebsd* | mips*-*-kfreebsd*-gnu) targ_emul=elf32btsmip_fbsd targ_extra_emuls="elf32ltsmip elf32btsmip elf32ltsmipn32 elf32btsmipn32 elf64ltsmip elf64btsmip elf32ltsmip_fbsd elf32btsmipn32_fbsd elf32ltsmipn32_fbsd elf64ltsmip_fbsd elf64btsmip_fbsd" targ_extra_libpath=$targ_extra_emuls ;; d449 2 a450 2 targ_emul=elf32ppc_fbsd targ_extra_emuls="elf32ppc elf32ppcsim" a452 7 powerpc64-*-freebsd*) targ_emul=elf64ppc_fbsd targ_extra_emuls="elf64ppc elf32ppc_fbsd elf32ppc" targ_extra_libpath="elf32ppc_fbsd elf32ppc" tdir_elf32ppc=`echo "${targ_alias}" | sed -e 's/64//'` tdir_elf32ppc_fbsd=$tdir_elf32ppc ;; a509 1 rl78-*-*) targ_emul=elf32rl78 ;; d629 2 a630 7 tic6x-*-elf) targ_emul=elf32_tic6x_elf_le targ_extra_emuls="elf32_tic6x_elf_be elf32_tic6x_le elf32_tic6x_be" targ_extra_libpath=$targ_extra_emuls ;; tic6x-*-uclinux) targ_emul=elf32_tic6x_linux_le targ_extra_emuls="elf32_tic6x_linux_be elf32_tic6x_le elf32_tic6x_be" targ_extra_libpath=$targ_extra_emuls d634 3 a636 8 tilegx-*-*) targ_emul=elf64tilegx targ_extra_emuls="elf64tilegx_be elf32tilegx elf32tilegx_be" targ_extra_libpath=$targ_extra_emuls ;; tilegxbe-*-*) targ_emul=elf64tilegx_be targ_extra_emuls="elf64tilegx elf32tilegx elf32tilegx_be" targ_extra_libpath=$targ_extra_emuls ;; tilepro-*-*) targ_emul=elf32tilepro ;; v850*-*-*) targ_emul=v850 d648 1 a648 1 xc16x-*-elf) targ_emul=elf32xc16x a654 2 xgate-*-*) targ_emul=xgateelf ;; @ 1.1.1.4 log @Import binutils-2.26 @ text @a0 18 # configure.tgt # # Copyright (C) 2013-2015 Free Software Foundation, Inc. # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; see the file COPYING3. If not see # . d11 1 a11 1 # targ_extra_ofiles additional host-compiled objects needed by the emulation d31 1 a31 1 targ_extra_emuls="aarch64elf aarch64elf32 aarch64elf32b armelfb armelf" ;; d33 1 a33 5 targ_extra_emuls="aarch64elf32 aarch64elf32b aarch64elfb armelf armelfb" ;; aarch64-*-cloudabi*) targ_emul=aarch64cloudabi targ_extra_emuls=aarch64cloudabib ;; aarch64-*-freebsd*) targ_emul=aarch64fbsd targ_extra_emuls="aarch64fbsdb aarch64elf" ;; d35 1 a35 2 targ_extra_libpath="aarch64linux aarch64linux32 aarch64linux32b armelfb_linux_eabi armelf_linux_eabi" targ_extra_emuls="aarch64elfb aarch64elf aarch64elf32 aarch64elf32b armelfb armelf $targ_extra_libpath" ;; d37 1 a37 2 targ_extra_libpath="aarch64linuxb aarch64linux32 aarch64linux32b armelfb_linux_eabi armelf_linux_eabi" targ_extra_emuls="aarch64elf aarch64elf32 aarch64elf32b aarch64elfb armelf armelfb $targ_extra_libpath" ;; d42 1 a42 1 alpha*-*-linux*ecoff*) targ_emul=alpha targ_extra_emuls=elf64alpha d45 1 a45 1 tdir_alpha=`echo ${targ_alias} | sed -e 's/linux\(-gnu\)*/linux\1ecoff/'` ;; d53 1 a53 5 arc*-*-elf*) targ_emul=arcelf targ_extra_emuls="arcelf_prof arclinux arclinux_prof arcv2elf arcv2elfx" ;; arc*-*-linux-uclibc*) targ_emul=arclinux targ_extra_emuls="arclinux_prof arcelf arcelf_prof arcv2elf arcv2elfx" d64 1 a64 3 arm*b-*-freebsd*) targ_emul=armelfb_fbsd targ_extra_emuls="armelf_fbsd armelf" ;; arm*-*-freebsd* | arm-*-kfreebsd*-gnu) d66 1 a66 1 targ_extra_emuls="armelfb_fbsd armelf" ;; d76 1 a76 2 armeb-*-elf | armeb-*-eabi*) targ_emul=armelfb ;; d121 1 a121 1 targ_extra_emuls="avr1 avr25 avr3 avr31 avr35 avr4 avr5 avr51 avr6 avrxmega1 avrxmega2 avrxmega3 avrxmega4 avrxmega5 avrxmega6 avrxmega7 avrtiny" a160 1 targ_extra_emuls="elf32epiphany_4x4" a167 2 moxie-*-moxiebox*) targ_emul=moxiebox ;; a174 3 h8300-*-linux*) targ_emul=h8300elf_linux; targ_extra_emuls="h8300helf_linux h8300self_linux h8300sxelf_linux" ;; d198 3 a200 8 i[3-7]86-*-rtems*) targ_emul=elf_i386 targ_extra_emuls=elf_iamcu ;; i[3-7]86-*-aros*) targ_emul=elf_i386 targ_extra_emuls=elf_iamcu ;; i[3-7]86-*-rdos*) targ_emul=elf_i386 targ_extra_emuls=elf_iamcu ;; x86_64-*-rdos*) targ_emul=elf64rdos ;; x86_64-*-cloudabi*) targ_emul=elf_x86_64_cloudabi ;; d206 1 a206 2 targ_extra_emuls="elf_i386 elf_iamcu" tdir_elf_iamcu=`echo ${targ_alias} | sed -e 's/aout//'` d208 1 a208 2 i[3-7]86-*-linux*oldld) targ_emul=i386linux targ_extra_emuls="elf_i386 elf_iamcu" ;; d210 1 a210 1 targ_extra_emuls="i386linux elf_iamcu" d216 2 a217 2 targ_extra_emuls="elf_x86_64 elf_i386 elf_iamcu i386linux elf_l1om elf_k1om" targ_extra_libpath="elf_i386 elf_iamcu elf_x86_64 elf_l1om elf_k1om" a218 1 tdir_elf_iamcu=`echo ${targ_alias} | sed -e 's/x86_64/i386/' -e 's/-linux-gnux32/-linux-gnu/'` d221 1 a221 1 targ_extra_emuls="elf32_x86_64 elf_i386 elf_iamcu i386linux elf_l1om elf_k1om" d225 1 a225 2 i[3-7]86-*-sysv[45]*) targ_emul=elf_i386 targ_extra_emuls=elf_iamcu ;; d227 1 a227 1 targ_extra_emuls="elf_i386_ldso elf_i386 elf_iamcu elf_x86_64_sol2 elf_x86_64 elf_l1om elf_k1om" d232 1 a232 1 targ_extra_emuls="elf_x86_64 elf_i386_sol2 elf_i386_ldso elf_i386 elf_iamcu elf_l1om elf_k1om" d235 1 a235 2 i[3-7]86-*-unixware) targ_emul=elf_i386 targ_extra_emuls=elf_iamcu ;; d244 1 a244 1 targ_extra_emuls="elf_iamcu i386nbsd" ;; d250 1 a250 8 targ_extra_emuls="elf_i386 elf_iamcu i386nbsd elf_l1om elf_k1om" tdir_elf_iamcu=`echo ${targ_alias} | \ sed -e 's/x86_64/i386/'` case "${tdir_elf_iamcu}" in *-netbsdelf*) ;; *) tdir_elf_iamcu=`echo ${tdir_elf_iamcu} | \ sed -e 's/netbsd/netbsdelf/'`;; esac d259 1 a259 4 i[3-7]86-*-elfiamcu) targ_emul=elf_iamcu targ_extra_emuls=elf_i386 ;; i[3-7]86-*-elf*) targ_emul=elf_i386 targ_extra_emuls=elf_iamcu ;; d261 1 a261 3 targ_extra_emuls="elf_i386 elf_iamcu elf32_x86_64 elf_l1om elf_k1om" targ_extra_libpath="elf_i386 elf_iamcu elf32_x86_64 elf_l1om elf_k1om" tdir_elf_i386=`echo ${targ_alias} | sed -e 's/x86_64/i386/'` d267 1 a267 1 targ_extra_emuls="elf_iamcu i386bsd" ;; d269 1 a269 1 targ_extra_emuls="elf_i386 elf_iamcu elf_l1om elf_k1om" ;; d272 1 a272 1 targ_extra_emuls="elf_i386 elf_iamcu i386bsd" ;; d275 1 a275 1 targ_extra_emuls="elf_i386_fbsd elf_x86_64 elf_i386 elf_iamcu elf_l1om elf_l1om_fbsd elf_k1om elf_k1om_fbsd" a278 2 tdir_elf_iamcu=`echo ${targ_alias} \ | sed -e 's/x86_64/i386/'` d284 1 a284 2 i[3-7]86-*-gnu*) targ_emul=elf_i386 targ_extra_emuls=elf_iamcu ;; d292 1 a292 1 targ_extra_ofiles="deffilep.o pe-dll.o" ; a298 4 x86_64-*-cygwin) targ_emul=i386pep ; targ_extra_emuls=i386pe targ_extra_ofiles="deffilep.o pep-dll.o pe-dll.o" test "$targ" != "$host" && LIB_PATH='${tooldir}/lib/w32api' ;; d398 7 a404 13 metag-*-*) targ_emul=elf32metag ;; microblazeel*-linux*) targ_emul="elf32mbel_linux" targ_extra_emuls="elf32mb_linux" ;; microblaze*-linux*) targ_emul="elf32mb_linux" targ_extra_emuls="elf32mbel_linux" ;; microblazeel*) targ_emul=elf32microblazeel targ_extra_emuls=elf32microblaze ;; microblaze*) targ_emul=elf32microblaze targ_extra_emuls=elf32microblazeel ;; d409 3 d418 1 d427 1 a427 2 mips*-sde-elf* | mips*-mti-elf* | mips*-img-elf*) targ_emul=elf32btsmip a428 6 mips64*el-ps2-elf*) targ_emul=elf32lr5900n32 targ_extra_emuls="elf32lr5900" targ_extra_libpath=$targ_extra_emuls ;; mips*el-ps2-elf*) targ_emul=elf32lr5900 targ_extra_emuls="elf32lr5900n32" targ_extra_libpath=$targ_extra_emuls ;; d465 1 d478 2 a479 8 msp430-*-*) targ_emul=msp430elf targ_extra_emuls="msp430X" ;; nds32*le-*-elf*) targ_emul=nds32elf targ_extra_emuls="nds32elf16m nds32belf nds32belf16m" ;; nds32*be-*-elf*) targ_emul=nds32belf targ_extra_emuls="nds32elf nds32elf16m nds32belf16m" a480 4 nds32*le-*-linux-gnu*) targ_emul=nds32elf_linux ;; nds32*be-*-linux-gnu*) targ_emul=nds32belf_linux ;; nios2*-*-linux*) targ_emul=nios2linux ;; nios2*-*-*) targ_emul=nios2elf ;; d484 4 a487 3 or1k-*-elf | or1knd-*-elf) targ_emul=elf32or1k ;; or1k-*-linux* | or1knd-*-linux*) targ_emul=elf32or1k_linux ;; or1k-*-rtems* | or1knd-*-rtems*) targ_emul=elf32or1k d491 1 a491 2 pjl*-*-*) targ_emul=pjlelf targ_extra_emuls="elf_i386 elf_iamcu" ;; d506 1 a506 7 powerpc-*-vxworks*) targ_emul=elf32ppcvxworks targ_extra_emuls="elf32ppc elf32ppclinux elf32ppcsim" ;; powerpc*-*-elf* | powerpc*-*-eabi* | powerpc*-*-sysv* \ | powerpc*-*-linux* | powerpc*-*-netbsd* | powerpc*-*-openbsd* \ | powerpc*-*-solaris* | powerpc*-*-kaos* | powerpc*-*-vxworks*) case "${targ}" in d508 5 a512 9 targ_extra_emuls="elf32ppc elf32ppclinux elf32ppcsim" targ_extra_libpath="elf32ppc elf32ppclinux" td=tdir_elf32ppc case "${targ}" in powerpc*le-*) td=tdir_elf32lppc;; esac eval ${td}=`echo "${targ_alias}" | sed -e 's/64//'` eval ${td}linux=\$${td} eval ${td}sim=\$${td} d514 1 a514 1 *linux*) targ_emul=elf32ppclinux d520 21 d542 1 a542 12 targ_extra_emuls="elf32ppclinux elf32ppcsim" targ_extra_libpath=elf32ppclinux targ64_extra_emuls=elf64ppc targ64_extra_libpath=elf64ppc ;; esac case "${targ}" in powerpc*le-*) for z in targ_emul targ_extra_emuls targ_extra_libpath targ64_extra_emuls targ64_extra_libpath do eval ${z}=\"`eval echo \\$${z} | sed -e 's/ppc/lppc/g'`\" done d544 3 d552 3 a554 3 powerpcle-*-pe | powerpcle-*-winnt* | powerpcle-*-cygwin*) targ_emul=ppcpe targ_extra_ofiles="deffilep.o pe-dll.o" ;; d579 1 a579 1 targ_extra_emuls="shelf_linux shlelf_fd shelf_fd" d586 2 a587 4 sh*eb-*-linux*) targ_emul=shelf_linux targ_extra_emuls="shelf_fd" ;; sh*-*-linux*) targ_emul=shlelf_linux targ_extra_emuls="shlelf_fd" ;; d700 1 a700 4 ft32-*-*) targ_emul=elf32ft32 ;; v850*-*-*) targ_emul=v850_rh850 targ_extra_emuls=v850 a709 2 visium-*-elf) targ_emul=elf32visium ;; d719 1 a719 1 xgate-*-*) targ_emul=xgateelf d740 1 a740 1 NATIVE_LIB_DIRS='/lib /usr/lib /usr/pkg/lib /usr/local/lib' d776 1 a776 1 i[03-9x]86-*-cygwin* | x86_64-*-cygwin*) @ 1.1.1.5 log @Import binutils-2.27 minus the testsuites @ text @d3 1 a3 1 # Copyright (C) 2013-2016 Free Software Foundation, Inc. d50 1 a50 2 aarch64-*-elf | aarch64-*-rtems*) targ_emul=aarch64elf d80 1 a80 1 arc*-*-linux*) targ_emul=arclinux a104 1 arm-*-phoenix*) targ_emul=armelf ;; d317 1 a317 2 x86_64-*-elf* | x86_64-*-rtems*) targ_emul=elf_x86_64 d493 1 a493 2 mips*el-sde-elf* | mips*el-mti-elf* | mips*el-img-elf*) targ_emul=elf32ltsmip d545 1 d623 1 a623 2 # PR 19985: Include big endian emulations. for z in targ_extra_emuls targ_extra_libpath targ64_extra_emuls targ64_extra_libpath d625 1 a625 1 eval ${z}=\"\$${z} `eval echo \\$${z} | sed -e 's/ppc/lppc/g'`\" a626 2 targ_extra_emuls="$targ_extra_emuls $targ_emul" eval targ_emul=\"`eval echo \\$targ_emul | sed -e 's/ppc/lppc/g'`\" a878 25 case "${target}" in frv-*-* | hppa*-*-* | ia64-*-* | mips*-*-*) # Don't enable -z relro by default since many relro tests fail on these # targets: # FAIL: strip -z relro (relro1) # FAIL: strip -z relro -shared (relro1) # FAIL: objcopy -z relro (relro1) # FAIL: objcopy -z relro -shared (relro1) # FAIL: objcopy -z relro (tdata1) # FAIL: objcopy -shared -z relro (tdata1) # FAIL: objcopy -z relro (tdata2) # FAIL: objcopy -shared -z relro (tdata2) # FAIL: objcopy -z relro (tdata3) # FAIL: objcopy -shared -z relro (tdata3) # FAIL: objcopy -shared -z relro (tbss1) # FAIL: objcopy -shared -z relro (tbss2) # FAIL: objcopy -shared -z relro (tbss3) ;; *-*-linux*) if test ${ac_default_ld_z_relro} = unset; then ac_default_ld_z_relro=1 fi ;; esac @ 1.1.1.6 log @2018-01-10 Nick Clifton * config-ml.in: Sync with gcc sources. * config.guess: Likewise. * config.sub: Likewise. * configure.ac: Likewise. * configure: Regenerate. 2017-12-14 Nick Clifton * COPYING.LIBGLOSS: Update address of FSF in copyright notice. 2017-12-12 Stafford Horne * configure.ac: Remove logic adding gdb to noconfigsdirs for or1k. * configure: Regenerate. 2017-09-15 Nick Clifton * src-release.sh (LZIPPROG): New define. Provides the name of the lzip program. (do_lz): New function. Compresses a tarball using the lzip program. (do_compress): Add support for lzip compression. (usage): Mention -l option. (build_release): Support -l option to invoke lzip compression. 2017-09-15 Alan Modra * src-release.sh (do_proto_toplev): Revert last patch. Enable or disable binutils, gas, gdb, gold, gprof, ld, libdecnumber, readline, and sim depending on $tool and $support_files. Echo configure line. 2017-09-14 Matt Rice * src-release.sh (do_proto_toplev): Enable gold during release process. 2017-04-13 Andrew Jenner * config.sub: Sync with master version in config project. 2017-04-03 Andrew Jenner * config.sub: Handle ia16 in $basic_machine. bfd/ * config.bfd: Handle ia16. gas/ * configure.tgt: Handle ia16. ld/ * configure.tgt: Handle ia16. 2017-03-22 Nick Clifton * config.sub: Sync with master version in config project. * config.guess: Likewise. 2017-01-23 Nick Clifton * configure.ac: Update year in copyright notice. Sync from FSF GCC mainline, bringing in the following patches. * Makefile.def: Likewise. * Makefile.tpl: Likewise. * configure: Regenerate. * Makefile.in: Regenerate. 2016-12-21 Jakub Jelinek * configure.ac: Don't bootstrap libmpx unless --with-build-config includes bootstrap-mpx. 2016-12-01 Matthias Klose * configure.ac: Don't use pkg-config to check for bdw-gc. 2016-11-30 Matthias Klose * Makefile.def: Remove reference to boehm-gc target module. * configure.ac: Include pkg.m4, check for --with-target-bdw-gc options and for the bdw-gc pkg-config module. 2016-11-15 Matthias Klose * config-ml.in: Remove references to GCJ. * configure.ac: Likewise. 2016-09-30 Jakub Jelinek * configure.ac: Add target-libffi to target_libraries. Readd libgcj target disablings, modified to only target-libffi. Readd target addition of go to unsupported languages. 2016-09-30 Andrew Haley * Makefile.def: Remove libjava. * Makefile.tpl: Likewise. * configure.ac: Likewise. 2016-09-26 Anton Kolesov * configure.ac: Disable "sim" directory for arc*-*-*. 2016-09-12 Maciej W. Rozycki * configure.ac: Check for the minimum in-tree MPFR version handled. 2016-12-31 Alan Modra * config.sub: Import from upstream. 2016-12-08 Alan Modra * configure: Regenerate. 2016-12-02 Josh Conner * configure.ac: Add fuchsia to targets that use ELF. * configure: Regenerated. 2016-11-07 Doug Evans * config.sub: Sync with upstream version 2016-11-03. git://git.sv.gnu.org/config.git * config.guess: Sync with upstream version 2016-10-02. 2016-09-27 Simon Marchi * .gitignore: Add archives and make stamps. 2016-07-20 Yan-Ting Lin * configure.ac (nds32*-*-*): Remove entry to enable gdb. * configure: Regenerated. @ text @d3 1 a3 1 # Copyright (C) 2013-2018 Free Software Foundation, Inc. d31 1 a31 1 # --enable-64-bit-bfd is given or if host is 64 bit. d33 1 a33 1 # --enable-64-bit-bfd is given or if host is 64 bit. a56 10 aarch64-*-fuchsia*) targ_emul=aarch64elf targ_extra_emuls="aarch64elfb armelf armelfb" ;; aarch64_be-*-linux-gnu_ilp32) targ_emul=aarch64linux32b targ_extra_libpath="aarch64linuxb aarch64linux aarch64linux32 armelfb_linux_eabi armelf_linux_eabi" targ_extra_emuls="aarch64elfb aarch64elf aarch64elf32 aarch64elf32b armelfb armelf $targ_extra_libpath" ;; aarch64-*-linux-gnu_ilp32) targ_emul=aarch64linux32 targ_extra_libpath="aarch64linux aarch64linuxb aarch64linux32b armelfb_linux_eabi armelf_linux_eabi" targ_extra_emuls="aarch64elf aarch64elf32 aarch64elf32b aarch64elfb armelf armelfb $targ_extra_libpath" ;; d64 1 a64 1 targ_emul=elf64alpha_fbsd d79 4 a82 11 targ_extra_emuls="arcelf_prof arclinux arclinux_nps arclinux_prof arcv2elf arcv2elfx" ;; arc*-*-linux*) case "${with_cpu}" in nps400) targ_emul=arclinux_nps targ_extra_emuls=arclinux ;; *) targ_emul=arclinux targ_extra_emuls=arclinux_nps ;; esac targ_extra_emuls="${targ_extra_emuls} arclinux_prof arcelf arcelf_prof arcv2elf arcv2elfx" d96 1 a96 1 targ_emul=armelf_fbsd d103 1 a103 1 targ_extra_emuls="armelf armelf_nbsd armelfb_nbsd" ;; d107 1 d110 3 a112 3 arm-*-elf | arm*-*-eabi* | arm-*-rtems*) targ_emul=armelf ;; arm*-*-symbianelf*) targ_emul=armsymbian;; d127 1 a127 1 arm*-*-linux-*) targ_emul=armelf_linux a152 3 arm*-*-fuchsia*) targ_emul=armelf_fuchsia targ_extra_emuls="armelfb_fuchsia armelf armelfb" ;; d156 5 a160 2 bfin-*-elf | bfin-*-rtems*) targ_emul=elf32bfin d172 2 a173 2 cr16-*-elf*) targ_emul=elf32cr16 ;; cr16c-*-elf*) targ_emul=elf32cr16c d193 1 a193 1 epiphany-*-*) targ_emul=elf32epiphany d206 1 a206 1 h8300-*-hms* | h8300-*-coff*) d237 2 d258 2 a259 1 targ64_extra_libpath="elf_x86_64 elf32_x86_64" a271 4 i[3-7]86-*-redox*) targ_emul=elf_i386 targ_extra_emuls=elf_x86_64 ;; x86_64-*-redox*) targ_emul=elf_x86_64 targ_extra_emuls=elf_i386 ;; d275 1 a275 1 targ_extra_emuls="elf_i386_ldso elf_i386 elf_iamcu elf_x86_64_sol2 elf_x86_64 elf_l1om elf_k1om" d277 1 a277 1 ;; d286 1 a286 1 targ_extra_emuls="elf_i386" d288 1 a288 1 ;; d305 1 a305 1 sed -e 's/netbsd/netbsdelf/'`;; d312 1 a312 1 sed -e 's/netbsd/netbsdelf/'`;; d317 1 a317 2 i[3-7]86-*-elf* | i[3-7]86-*-rtems*) targ_emul=elf_i386 d319 1 a319 1 x86_64-*-elf* | x86_64-*-rtems* | x86_64-*-fuchsia*) d333 1 a333 1 targ_emul=elf_i386_fbsd d372 1 a372 1 targ_extra_ofiles="deffilep.o pe-dll.o" ;; d398 1 a400 1 ia16-*-elf*) targ_emul=elf_i386 targ_extra_emuls=i386msdos ;; d403 1 a403 1 targ_emul=elf64_ia64_fbsd d412 1 a412 4 iq2000-*-elf) targ_emul=elf32iq2000 ; targ_extra_emuls="elf32iq10" ;; lm32-*-*linux*) targ_emul=elf32lm32fd ;; lm32-*-*) targ_emul=elf32lm32 ; targ_extra_emuls="elf32lm32fd" d414 3 d420 1 a420 1 m32r*le-*-elf*) targ_emul=m32rlelf ;; d423 2 a424 2 m32r*le-*-linux-*) targ_emul=m32rlelf_linux ;; m32r*-*-linux-*) targ_emul=m32relf_linux d439 1 a439 2 m68*-*-elf | m68*-*-rtems*) targ_emul=m68kelf ;; d444 1 a444 1 m68k-*-linux-*) targ_emul=m68kelf d457 3 d482 1 a482 1 targ_extra_emuls="elf32bsmip elf64bmip" d489 1 a489 7 ;; mips64el-*-openbsd*) targ_emul=elf64ltsmip targ_extra_emuls=elf64btsmip ;; mips64-*-openbsd*) targ_emul=elf64btsmip targ_extra_emuls=elf64ltsmip ;; d509 2 a510 2 mips*-*-elf* | mips*-*-rtems*) targ_emul=elf32ebmip ;; d514 1 a514 1 targ_extra_emuls="elf32elmipvxworks" ;; d544 1 a544 1 mips*-*-sysv4*) targ_emul=elf32btsmip d553 1 a553 1 mt-*elf) targ_emul=elf32mt d555 1 a555 1 msp430-*-*) targ_emul=msp430elf d571 1 a571 2 or1k-*-elf | or1knd-*-elf | or1k-*-rtems* | or1knd-*-rtems*) targ_emul=elf32or1k ;; d573 2 d577 1 a577 1 pjl*-*-*) targ_emul=pjlelf d579 1 a579 1 pj*-*-*) targ_emul=pjelf a597 1 | powerpc*-*-rtems* \ d600 23 a622 16 powerpc64*) targ_emul=elf64ppc targ_extra_emuls="elf32ppc elf32ppclinux elf32ppcsim" targ_extra_libpath="elf32ppc elf32ppclinux" ;; *linux*) targ_emul=elf32ppclinux targ_extra_emuls="elf32ppc elf32ppcsim" targ_extra_libpath=elf32ppc targ64_extra_emuls=elf64ppc targ64_extra_libpath=elf64ppc ;; *) targ_emul=elf32ppc targ_extra_emuls="elf32ppclinux elf32ppcsim" targ_extra_libpath=elf32ppclinux targ64_extra_emuls=elf64ppc targ64_extra_libpath=elf64ppc ;; a623 3 td=tdir_elf32ppc td64=tdir_elf64ppc s=s/ppc/lppc/g d625 12 a636 50 powerpcle-* | powerpc64le-*) for z in td td64 targ_emul targ_extra_emuls \ targ_extra_libpath targ64_extra_emuls \ targ64_extra_libpath do eval ${z}=\"\`echo \$${z} \| sed -e $s\`\" done s=s/lppc/ppc/g ;; esac # Why oh why did we set tooldir based on target_alias # rather than on target? eval tdir_${targ_emul}="${targ_alias}" cpu=`echo "${targ_alias}" | sed -e 's/-.*//'` rest=`echo "${targ_alias}" | sed -e 's/^[^-]*//'` le=le case "${cpu}" in *little) le=little esac ta32=`echo "${cpu}" | sed -e s/64//`"${rest}" ta64=`echo "${cpu}" | sed -e 's/64//;s/$/64/;s/'${le}'64$/64'${le}'/;s/be64$/64be/'`"${rest}" eval test -n \"\$${td}\" || eval ${td}="${ta32}" eval test -n \"\$${td}linux\" || eval ${td}linux="${ta32}" eval test -n \"\$${td}sim\" || eval ${td}sim="${ta32}" eval test -n \"\$${td64}\" || eval ${td64}="${ta64}" # Now provide the other endian for z in targ_extra_emuls targ_extra_libpath do eval ${z}=\"\$${z} \`echo ${targ_emul} \$${z} \| sed -e $s\`\" done for z in targ64_extra_emuls targ64_extra_libpath do eval ${z}=\"\$${z} \`echo \$${z} \| sed -e $s\`\" done td=`echo "${td}" | sed -e $s` td64=`echo "${td64}" | sed -e $s` case "${targ}" in powerpcle-* | powerpc64le-*) cpu=`echo "${cpu}" | sed -e s/${le}\$//` ;; *) cpu=`echo "${cpu}" | sed -e s/be\$//`${le} ;; esac ta32=`echo "${cpu}" | sed -e s/64//`"${rest}" ta64=`echo "${cpu}" | sed -e 's/64//;s/$/64/;s/'${le}'64$/64'${le}/`"${rest}" eval test -n \"\$${td}\" || eval ${td}="${ta32}" eval test -n \"\$${td}linux\" || eval ${td}linux="${ta32}" eval test -n \"\$${td}sim\" || eval ${td}sim="${ta32}" eval test -n \"\$${td64}\" || eval ${td64}="${ta64}" ;; powerpc-*-nto*) targ_emul=elf32ppcnto ;; powerpcle-*-nto*) targ_emul=elf32lppcnto ;; a646 7 pru*-*-*) targ_emul=pruelf ;; riscv32*-*-*) targ_emul=elf32lriscv targ_extra_emuls="elf64lriscv" targ_extra_libpath=$targ_extra_emuls ;; riscv64*-*-*) targ_emul=elf64lriscv targ_extra_emuls="elf32lriscv" targ_extra_libpath=$targ_extra_emuls ;; d652 1 a652 1 s390x-*-linux*) targ_emul=elf64_s390 d658 1 a658 1 s390-*-linux*) targ_emul=elf_s390 d663 1 a663 1 score-*-elf) targ_emul=score7_elf d693 1 d714 3 a716 3 sparc64-*-elf* | sparc64-*-rtems*) targ_emul=elf64_sparc ;; sparc-sun-sunos4*) targ_emul=sun4 ;; d722 1 a722 2 sparc*-*-elf | sparc-*-rtems*) targ_emul=elf32_sparc ;; d765 2 d770 1 a770 1 tic4x-*-* | c4x-*-*) targ_emul=tic4xcoff ; targ_extra_emuls="tic3xcoff tic3xcoff_onchip" ;; d800 1 a800 1 vax-*-linux-*) targ_emul=elf32vax d807 2 a808 2 targ_extra_emuls="elf32xc16xl elf32xc16xs" ;; d813 1 a813 1 xgate-*-*) targ_emul=xgateelf d817 1 a817 1 z8k-*-coff) targ_emul=z8002; targ_extra_emuls=z8001 @ 1.1.1.7 log @2018-07-18 Nick Clifton 2.31.1 Release point. 2018-07-18 Nick Clifton * (DEVO_SUPPORT): Fix typo in previous delta. (do_proto_toplev): Add --quiet option to configure command line. 2018-07-16 Nick Clifton * src-release.sh (DEVO_SUPPORT): Add test-driver and ar-lib. 2018-07-06 Sebastian Huber * config.sub: Sync with upstream version 2018-07-03. 2018-07-05 Sebastian Huber * config.guess: Sync with upstream version 2018-06-26. * config.sub: Sync with upstream version 2018-07-02. 2018-06-24 Nick Clifton * configure: Regenerate. 2018-06-19 Simon Marchi * libtool.m4: Use AC_LANG_SOURCE. * configure.ac: Remove AC_PREREQ, use AC_LANG_SOURCE. * README-maintainer-mode: Update version requirements. * ar-lib: New file. * test-driver: New file. * configure: Re-generate. 2018-06-18 Eric Botcazou * Makefile.def (fortran): Add check-target-libgomp-fortran. * Makefile.tpl (check-target-libgomp-fortran): New phony target. * Makefile.in: Regenerate. * configure: Regenerate. 2018-06-18 Simon Marchi * configure.ac: Sync with GCC, remove MPX-related things. 2018-05-01 Nick Clifton * config.guess: Synchronize with config project master sources. * config.sub: Likewise. 2018-05-01 Francois H. Theron * configure.ac: Added "nfp" target. * configure: Regenerate. 2018-02-13 Maciej W. Rozycki * configure.ac (noconfigdirs): Add `ld'. * configure: Regenerate. 2018-01-30 Nick Clifton * src-release.sh (do_proto_toplev): Add patterns for more junk files to delete before creating the tarball. 2018-01-29 Nick Clifton * src-release.sh (do_proto_toplev): Strip patch remnant files from the sources before creating the tarball. 2018-01-13 Nick Clifton * src-release.sh: Update copyright notice. Change reference to devo to be a reference to root. @ text @d83 1 d101 1 d107 3 d116 1 a116 1 targ_extra_emuls="armelf_nbsd armelf" ;; d118 3 a120 1 targ_extra_emuls="armelfb_nbsd armelf" ;; d122 1 d140 1 a140 6 targ_extra_emuls="armelfb_linux_eabi" targ_extra_libpath=$targ_extra_emuls ;; arm*-*-uclinuxfdpiceabi) targ_emul=armelf_linux_eabi targ_extra_emuls="armelfb_linux_eabi armelf_linux_fdpiceabi armelfb_linux_fdpiceabi" d222 2 d230 4 d242 2 d245 1 d248 3 d252 1 d262 7 d270 1 a270 1 targ_extra_emuls="elf_iamcu" d272 2 a273 1 targ64_extra_libpath="elf_x86_64 elf32_x86_64" ;; d275 1 a275 1 targ_extra_emuls="elf_x86_64 elf_i386 elf_iamcu elf_l1om elf_k1om" d277 1 d281 1 a281 1 targ_extra_emuls="elf32_x86_64 elf_i386 elf_iamcu elf_l1om elf_k1om" d283 1 d310 1 a310 1 targ_extra_emuls="elf_iamcu" ;; d313 2 d316 1 a316 1 targ_extra_emuls="elf_i386 elf_iamcu elf_l1om elf_k1om" d331 1 d344 2 d363 3 d407 11 d448 29 a476 3 m68*-*-netbsdelf*) targ_emul=m68kelfnbsd ;; m68*-*-*) targ_emul=m68kelf ;; s12z-*-*) targ_emul=m9s12zelf d694 1 d704 1 a704 5 riscv32*-*-linux*) targ_emul=elf32lriscv targ_extra_emuls="elf32lriscv_ilp32f elf32lriscv_ilp32 elf64lriscv elf64lriscv_lp64f elf64lriscv_lp64" targ_extra_libpath=$targ_extra_emuls ;; riscv-*-* | riscv32*-*-*) targ_emul=elf32lriscv a706 3 riscv64*-*-linux*) targ_emul=elf64lriscv targ_extra_emuls="elf64lriscv_lp64f elf64lriscv_lp64 elf32lriscv elf32lriscv_ilp32f elf32lriscv_ilp32" targ_extra_libpath=$targ_extra_emuls ;; d731 5 d740 8 d752 1 d769 19 d793 4 d798 1 a798 1 targ_extra_emuls="elf32_sparc" d800 3 a802 9 tdir_elf32_sparc=`echo ${targ_alias} | sed -e 's/64//'` ;; sparc64-*-*bsd*) targ_emul=elf64_sparc targ_extra_emuls="elf32_sparc" ;; sparc64-*-solaris2* | sparcv9-*-solaris2*) targ_emul=elf64_sparc_sol2 targ_extra_emuls="elf64_sparc elf32_sparc_sol2 elf32_sparc" targ_extra_libpath=$targ_extra_emuls tdir_elf32_sparc=`echo ${targ_alias} | sed -e 's/64//'` ;; sparc64-*-*) targ_emul=elf64_sparc ;; d804 1 a804 1 targ_extra_emuls="elf64_sparc" d806 8 a813 1 tdir_elf64_sparc=`echo ${targ_alias} | sed -e 's/32//'` ;; d821 7 a827 2 sparc*-*-vxworks*) targ_emul=elf32_sparc_vxworks ;; sparc*-*-*) targ_emul=elf32_sparc ;; d855 1 d865 2 d882 2 a970 9 # Enable -z separate-code by default for Linux/x86. case "${target}" in i[3-7]86-*-linux-* | x86_64-*-linux-*) if test ${ac_default_ld_z_separate_code} = unset; then ac_default_ld_z_separate_code=1 fi ;; esac @ 1.1.1.8 log @Import binutils-2.34 2020-01-18 Nick Clifton Binutils 2.34 branch created. 2020-01-18 Nick Clifton Synchronize top level configure files with master version: 2020-01-01 Ben Elliston * config.guess: Update copyright years. * config.sub: Likewise. 2019-12-21 Ben Elliston * config.guess (set_cc_for_build): Prevent multiple calls by checking if $tmp is already set. We can't check CC_FOR_BUILD as the user may set it externally. Thanks to Torbjörn Granlund for the bug report. 2019-12-21 Torbjörn Granlund * config.guess (alpha:Linux:*:*): Guard against missing /proc/cpuinfo by redirecting standard error to /dev/null. 2019-09-12 Daniel Bittman * config.guess (*:Twizzler:*:*): New. * config.sub (-twizzler*): New. 2019-07-24 Ben Elliston * config.guess (mips:OSF1:*.*): Whitespace cleanup. 2019-06-30 Ben Elliston * config.sub (case $os): Match nsk* and powerunix. Don't later match nsk* and set os=nsk which removes the OS version number. 2019-06-30 Ben Elliston * config.sub: Recognise os108*. 2019-06-26 Ben Elliston * config.sub (hp300): Set $os to hpux. 2019-06-26 Ben Elliston * config.sub (vsta): Move into alphabetical order. 2019-06-10 Ben Elliston * config.guess (*:OS108:*:*): Recognise new OS. 2019-05-28 Ben Elliston * config.guess (*:Darwin:*:*): Run xcode-select to determine if a system compiler is installed. If not, do not run set_cc_for_build, as the default cc will open a dialog box asking to install Xcode. If no C compiler is available, guess based on uname -p and uname -m. 2019-05-28 Ben Elliston * config.guess (*:Darwin:*:*): Simplify UNAME_PROCESSOR. 2020-01-17 Simon Marchi * Makefile.def: Add dependencies of all-gdbsupport on all-bfd. * Makefile.in: Re-generate. 2020-01-14 Tom Tromey * src-release.sh (GDB_SUPPORT_DIRS): Add gdbsupport. * MAINTAINERS: Add gdbsupport. * configure: Rebuild. * configure.ac (configdirs): Add gdbsupport. * gdbsupport: New directory, move from gdb/gdbsupport. * Makefile.def (host_modules, dependencies): Add gnulib. * Makefile.in: Rebuild. 2020-01-09 Aaron Merey * config/debuginfod.m4: New file. Add macro AC_DEBUGINFOD. Adds new configure option --with-debuginfod. * configure: Regenerate. * configure.ac: Call AC_DEBUGINFOD. 2019-12-26 Christian Biesinger * .gitignore: Add perf.data and perf.data.old. 2019-10-17 Sergio Durigan Junior * src-release.sh (GDB_SUPPORT_DIRS): Add libctf. 2019-10-17 Alan Modra PR 29 * src-release.sh (getver): Replace "head -1" with "head -n 1". 2019-07-30 Nick Alcock * Makefile.def (host_modules): libctf is no longer no_install. * Makefile.in: Regenerated. 2019-07-13 Nick Alcock * Makefile.def (dependencies): all-ld depends on all-libctf. * Makefile.in: Regenerated. 2019-09-09 Phil Blundell binutils 2.33 branch created 2019-08-19 Tom Tromey * configure: Rebuild. * configure.ac: Add --with-static-standard-libraries. 2019-08-09 Nick Clifton * libiberty: Sync with gcc. Bring in: 2019-08-08 Martin Liska PR bootstrap/91352 * lrealpath.c (is_valid_fd): New function. 2019-07-24 Martin Liska PR lto/91228 * simple-object-elf.c (simple_object_elf_copy_lto_debug_sections): Find first '\0' starting from gnu_lto + 1. 2019-07-12 Ren Kimura * simple-object-elf.c (simple_object_elf_match): Check zero value shstrndx. This fixes a Bug 90924. 2019-07-22 Martin Liska * simple-object-elf.c (simple_object_elf_copy_lto_debug_sections): Do not search for gnu_lto_v1, but search for first '\0'. 2019-07-18 Eduard-Mihai Burtescu * cplus-dem.c: Include rust-demangle.h. * rust-demangle.c: Include rust-demangle.h. * rust-demangle.h: New file. 2019-05-31 Michael Forney * cp-demangle.c: Don't define CP_DYNAMIC_ARRAYS if __STDC_NO_VLA__ is non-zero. 2019-04-30 Ben L * d-demangle.c (dlang_parse_assocarray): Correctly handle error result. * testsuite/d-demangle-expected: Add testcase. * d-demangle.c (dlang_parse_tuple): Correctly handle error result. * testsuite/d-demangle-expected: Add testcase. * d-demangle.c (dlang_parse_structlit): Correctly handle error result. * testsuite/d-demangle-expected: Add testcase. * d-demangle.c (dlang_parse_arrayliteral): Correctly handle error result. * testsuite/d-demangle-expected: Add testcase. * d-demangle.c (dlang_parse_integer): Fix stack underflow. * testsuite/d-demangle-expected: Add testcase. * cp-demangle (d_print_comp_inner): Guard against a NULL 'typed_name'. * testsuite/demangle-expected: Add testcase. * cp-demangle.c (d_encoding): Guard against NULL return values from d_right (dc). * testsuite/demangle-expected: Add testcase. 2019-04-29 Ben L * cp-demangle.c (d_expression_1): Don't peek ahead unless the current char is valid. * testsuite/demangle-expected: Add testcase. 2019-04-10 Nick Clifton PR 89394 * cp-demangle.c (cplus_demangle_fill_name): Reject negative lengths. (d_count_templates_scopes): Replace num_templates and num_scopes parameters with a struct d_print_info pointer parameter. Adjust body of the function accordingly. Add recursion counter and check that the recursion limit is not reached. (d_print_init): Pass dpi parameter to d_count_templates_scopes. Reset recursion counter afterwards, unless the recursion limit was reached. 2019-07-13 Joel Brobecker * src-release (getver): If $tool/gdbsupport/create-version.sh exists, use that to determine the version number. 2019-06-21 Andreas Schwab * src-release.sh (GDB_SUPPORT_DIRS): Add gnulib. 2019-06-14 Tom Tromey * MAINTAINERS: Add gnulib. * gnulib: New directory, move from gdb/gnulib. * configure.ac (host_libs): Add gnulib. * configure: Rebuild. * Makefile.def (host_modules, dependencies): Add gnulib. * Makefile.in: Rebuild. 2019-06-03 Nick Clifton Revert: 2019-05-29 Nick Clifton * configure.ac (noconfigdirs): Add libctf if the target does not use the ELF file format. * configure: Regenerate. 2019-05-29 Nick Clifton * src-release.sh (do_proto_toplev): Add libctf to list of directories that can be disabled. 2019-05-29 Nick Clifton * configure.ac (noconfigdirs): Add libctf if the target does not use the ELF file format. * configure: Regenerate. 2019-05-28 Nick Alcock * Makefile.def (dependencies): configure-libctf depends on all-bfd and all its deps. * Makefile.in: Regenerated. 2019-05-28 Nick Alcock * MAINTAINERS: Add libctf. 2019-05-28 Nick Alcock * Makefile.def (host_modules): Add libctf. * Makefile.def (dependencies): Likewise. libctf depends on zlib, libiberty, and bfd. * Makefile.in: Regenerated. * configure.ac (host_libs): Add libctf. * configure: Regenerated. 2019-05-23 Jose E. Marchesi * config.guess: Synchronize with config project master sources. * config.sub: Likewise. * readline/support/config.guess: Likewise. * readline/support/config.sub: Likewise. 2019-04-10 Nick Clifton * libiberty: Sync with gcc. Bring in: 2019-04-10 Nick Clifton PR 89394 * cp-demangle.c (cplus_demangle_fill_name): Reject negative lengths. (d_count_templates_scopes): Replace num_templates and num_scopes parameters with a struct d_print_info pointer parameter. Adjust body of the function accordingly. Add recursion counter and check that the recursion limit is not reached. (d_print_init): Pass dpi parameter to d_count_templates_scopes. Reset recursion counter afterwards, unless the recursion limit was reached. 2018-06-24 Nick Clifton 2.32 branch created. 2019-01-14 Rainer Orth Merge from GCC: PR target/88535 * config.guess: Import upstream version 2019-01-03. * config.sub: Import upstream version 2019-01-01. 2019-01-10 Nick Clifton * libiberty: Sync with gcc. Bring in: 2019-01-09 Sandra Loosemore PR other/16615 * cp-demangle.c: Mechanically replace "can not" with "cannot". * floatformat.c: Likewise. * strerror.c: Likewise. 2018-12-22 Jason Merrill Remove support for demangling GCC 2.x era mangling schemes. * cplus-dem.c: Remove cplus_mangle_opname, cplus_demangle_opname, internal_cplus_demangle, and all subroutines. (libiberty_demanglers): Remove entries for ancient GNU (pre-3.0), Lucid, ARM, HP, and EDG demangling styles. (cplus_demangle): Remove 'work' variable. Don't call internal_cplus_demangle. 2019-01-03 Дилян Палаузов * configure.ac: Don't configure readline if --with-system-readline is used. * configure: Re-generate. 2018-10-31 Joseph Myers Merge from GCC: PR bootstrap/82856 * multilib.am: New file. From automake. 2018-09-12 Sergio Durigan Junior * src-release.sh (GDB_SUPPORT_DIRS): Add "contrib". 2018-07-16 Nick Clifton @@ -20,6 +338,18 @@@@ * config.guess: Sync with upstream version 2018-06-26. * config.sub: Sync with upstream version 2018-07-02. 2018-06-29 Alexandre Oliva * configure.ac: Introduce support for @@unless/@@endunless. * Makefile.tpl (dep-kind): Rewrite with cond; return postbootstrap in some cases. (make-postboot-dep, postboot-targets): New. (dependencies): Do not output postbootstrap dependencies at first. Output non-target ones changed for configure to depend on stage_last @@if gcc-bootstrap, and the original deps @@unless gcc-bootstrap. * configure.in, Makefile.in: Rebuilt. 2018-06-24 Nick Clifton * configure: Regenerate. @ text @d3 1 a3 1 # Copyright (C) 2013-2020 Free Software Foundation, Inc. d39 1 a39 1 targ_extra_ofiles="ldelf.o ldelfgen.o" d43 4 a46 2 # Please try to keep this table more or less in alphabetic order - it # makes it much easier to lookup a specific archictecture. d49 1 a49 2 targ_extra_emuls="aarch64elf aarch64elf32 aarch64elf32b armelfb armelf" ;; d52 1 a52 2 targ_extra_emuls="aarch64elf32 aarch64elf32b aarch64elfb armelf armelfb" ;; d54 1 a54 2 targ_extra_emuls=aarch64cloudabib ;; d56 1 a56 2 targ_extra_emuls="aarch64fbsdb aarch64elf" ;; d58 1 a58 2 targ_extra_emuls="aarch64elfb armelf armelfb" ;; d62 1 a62 2 targ_extra_emuls="aarch64elfb aarch64elf aarch64elf32 aarch64elf32b armelfb armelf $targ_extra_libpath" ;; d66 1 a66 2 targ_extra_emuls="aarch64elf aarch64elf32 aarch64elf32b aarch64elfb armelf armelfb $targ_extra_libpath" ;; d69 1 a69 2 targ_extra_emuls="aarch64elfb aarch64elf aarch64elf32 aarch64elf32b armelfb armelf $targ_extra_libpath" ;; d72 1 a72 2 targ_extra_emuls="aarch64elf aarch64elf32 aarch64elf32b aarch64elfb armelf armelfb $targ_extra_libpath" ;; d76 9 a84 19 tdir_alpha=`echo ${targ_alias} | sed -e 's/freebsd/freebsdecoff/'` ;; alpha*-*-linux*ecoff*) targ_emul=alpha targ_extra_emuls=elf64alpha tdir_elf64alpha=`echo ${targ_alias} | sed -e 's/ecoff//'` ;; alpha*-*-linux-*) targ_emul=elf64alpha targ_extra_emuls=alpha tdir_alpha=`echo ${targ_alias} | sed -e 's/linux\(-gnu\)*/linux\1ecoff/'` ;; alpha*-*-osf*) targ_emul=alpha targ_extra_ofiles= ;; alpha*-*-gnu*) targ_emul=elf64alpha ;; alpha*-*-netbsd*) targ_emul=elf64alpha_nbsd ;; alpha*-*-openbsd*) targ_emul=elf64alpha ;; a85 3 targ_extra_ofiles= ;; am33_2.0-*-linux*) targ_emul=elf32am33lin # mn10300 variant d88 1 a88 1 targ_extra_emuls="arclinux arclinux_nps arcv2elf arcv2elfx" d98 1 a98 5 targ_extra_emuls="${targ_extra_emuls} arcelf arcv2elf arcv2elfx" ;; arm*-*-cegcc*) targ_emul=arm_wince_pe targ_extra_ofiles="deffilep.o pe-dll.o" LIB_PATH='${tooldir}/lib/w32api' d100 2 d103 2 a104 6 targ_emul=arm_wince_pe targ_extra_ofiles="deffilep.o pe-dll.o" ;; arm-*-pe) targ_emul=armpe targ_extra_ofiles="deffilep.o pe-dll.o" ;; d106 1 a106 2 targ_extra_emuls="armelf_fbsd armelf" ;; d109 1 a109 2 targ_extra_emuls="armelfb_fbsd armelf" ;; d111 1 a111 2 targ_extra_emuls="armelf_nbsd armelf" ;; d113 3 a115 6 targ_extra_emuls="armelfb_nbsd armelf" ;; arm-*-nto*) targ_emul=armnto ;; arm-*-phoenix*) targ_emul=armelf ;; d117 1 a117 2 targ_emul=armelfb ;; d119 1 a119 2 targ_emul=armelf ;; d121 2 a122 4 arm-*-kaos*) targ_emul=armelf ;; arm9e-*-elf) targ_emul=armelf ;; d164 2 a165 4 arm-*-vxworks) targ_emul=armelf_vxworks ;; arm*-*-conix*) targ_emul=armelf ;; d185 2 a186 3 bpf-*-*) targ_emul=elf64bpf ;; cr16-*-elf*) targ_emul=elf32cr16 d190 1 a190 2 targ_extra_libpath=$targ_extra_emuls ;; d192 1 a192 2 targ_emul=crislinux ;; d199 4 a202 19 csky-*-elf*) targ_emul=cskyelf ;; csky-*-linux*) targ_emul=cskyelf_linux ;; d10v-*-*) targ_emul=d10velf ;; d30v-*-*ext*) targ_emul=d30v_e targ_extra_emuls="d30velf d30v_o" targ_extra_ofiles=ldelfgen.o ;; d30v-*-*onchip*) targ_emul=d30v_o targ_extra_emuls="d30velf d30v_e" targ_extra_ofiles=ldelfgen.o ;; d30v-*-*) targ_emul=d30velf targ_extra_emuls="d30v_e d30v_o" targ_extra_ofiles=ldelfgen.o a204 1 targ_extra_ofiles=ldelfgen.o d209 1 a209 2 fido*-*-elf*) targ_emul=m68kelf ;; a210 1 targ_extra_ofiles=ldelfgen.o d212 2 a213 1 frv-*-*linux*) targ_emul=elf32frvfd d215 1 a215 2 frv-*-*) targ_emul=elf32frv targ_extra_emuls="elf32frvfd" d217 1 a217 2 ft32-*-*) targ_emul=elf32ft32 targ_extra_ofiles=ldelfgen.o d221 1 a221 2 targ_extra_emuls="h8300helf h8300self h8300hnelf h8300snelf h8300sxelf h8300sxnelf" ;; d224 7 a230 14 targ_extra_emuls="h8300helf_linux h8300self_linux h8300sxelf_linux" ;; hppa*64*-*-linux-*) targ_emul=hppa64linux ;; hppa*64*-hpux*) targ_emul=elf64hppa ;; hppa*-*-linux-*) targ_emul=hppalinux ;; hppa*-*-*elf*) targ_emul=hppaelf ;; hppa*-*-lites*) targ_emul=hppaelf ;; hppa*-*-netbsd*) targ_emul=hppanbsd ;; d233 4 a236 10 i[3-7]86-*-nto-qnx*) targ_emul=i386nto ;; i[3-7]86-*-go32) targ_emul=i386go32 targ_extra_ofiles= ;; i[3-7]86-*-msdosdjgpp*) targ_emul=i386go32 targ_extra_ofiles= ;; i[3-7]86-*-lynxos*) targ_emul=i386lynx ;; d238 1 a238 2 targ_extra_emuls=elf_iamcu ;; d240 6 a245 11 targ_extra_emuls=elf_iamcu ;; i[3-7]86-*-bsd) targ_emul=i386bsd targ_extra_ofiles= ;; i[3-7]86-*-bsd386) targ_emul=i386bsd targ_extra_ofiles= ;; i[3-7]86-*-bsdi*) targ_emul=i386bsd targ_extra_ofiles= ;; d249 10 a258 2 targ64_extra_libpath="elf_x86_64 elf32_x86_64" ;; d260 3 a262 2 targ_extra_emuls=elf_x86_64 ;; d264 1 a264 2 targ_extra_emuls=elf_iamcu ;; d269 5 d275 1 a275 2 targ_extra_emuls=elf_iamcu ;; d284 1 a284 2 targ_extra_emuls="elf_iamcu" ;; d286 17 a302 2 targ_extra_ofiles="deffilep.o pe-dll.o" ;; d304 1 a304 2 targ_extra_emuls=elf_i386 ;; d307 6 a312 1 targ_extra_emuls=elf_iamcu d314 1 d316 3 a318 2 targ_extra_emuls="elf_iamcu i386bsd" ;; d321 11 a331 2 targ_extra_emuls="elf_i386 elf_iamcu i386bsd" ;; d333 3 a335 10 targ_extra_emuls=elf_iamcu ;; i[3-7]86-*-msdos*) targ_emul=i386msdos targ_extra_emuls=i386aout targ_extra_ofiles= ;; i[3-7]86-*-moss*) targ_emul=i386moss targ_extra_emuls=i386msdos targ_extra_ofiles= ;; d337 1 a337 2 targ_extra_ofiles="deffilep.o pe-dll.o" ;; d339 1 a339 2 targ_extra_ofiles="deffilep.o pe-dll.o" ;; d342 1 a342 2 test "$targ" != "$host" && LIB_PATH='${tooldir}/lib/w32api' ;; d344 11 a354 2 targ_extra_ofiles="deffilep.o pe-dll.o" ;; d356 4 a359 9 targ_extra_ofiles="deffilep.o pe-dll.o" ;; i[3-7]86-*-beospe*) targ_emul=i386beos targ_extra_ofiles= ;; i[3-7]86-*-beos*) targ_emul=elf_i386_be ;; i[3-7]86-*-vxworks*) targ_emul=elf_i386_vxworks ;; d368 4 a371 4 ia16-*-elf*) targ_emul=elf_i386 targ_extra_emuls=i386msdos ;; ia64-*-elf*) targ_emul=elf64_ia64 d373 2 d377 4 a380 9 targ_extra_emuls="elf64_ia64" ;; ia64-*-netbsd*) targ_emul=elf64_ia64 ;; ia64-*-linux*) targ_emul=elf64_ia64 ;; ia64-*-*vms*) targ_emul=elf64_ia64_vms targ_extra_ofiles=ldelfgen.o ;; d385 1 a385 3 iq2000-*-elf) targ_emul=elf32iq2000 targ_extra_emuls="elf32iq10" targ_extra_ofiles=ldelfgen.o d387 2 a388 4 lm32-*-*linux*) targ_emul=elf32lm32fd ;; lm32-*-*) targ_emul=elf32lm32 targ_extra_emuls="elf32lm32fd" d393 1 a393 2 m32r*le-*-elf*) targ_emul=m32rlelf ;; d395 2 a396 4 targ_emul=m32relf ;; m32r*le-*-linux-*) targ_emul=m32rlelf_linux ;; d400 1 a400 2 targ_extra_emuls="m68hc11elfb m68hc12elf m68hc12elfb" ;; d402 4 a405 5 targ_extra_emuls="m68hc12elfb m68hc11elf m68hc11elfb" ;; m68*-*-netbsdelf*) targ_emul=m68kelfnbsd ;; m68*-*-*) targ_emul=m68kelf d408 1 a408 2 targ_extra_ofiles="deffilep.o pe-dll.o" ;; d411 2 a412 4 mep-*-elf) targ_emul=elf32mep ;; metag-*-*) targ_emul=elf32metag ;; d425 1 a425 2 mips*-sgi-irix5*) targ_emul=elf32bsmip ;; d428 1 a428 2 targ_extra_libpath=$targ_extra_emuls ;; d441 6 a446 12 mips*vr4300el-*-elf*) targ_emul=elf32l4300 ;; mips*vr4300-*-elf*) targ_emul=elf32b4300 ;; mips*vr4100el-*-elf*) targ_emul=elf32l4300 ;; mips*vr4100-*-elf*) targ_emul=elf32b4300 ;; mips*vr5000el-*-elf*) targ_emul=elf32l4300 ;; mips*vr5000-*-elf*) targ_emul=elf32b4300 ;; d449 1 a449 2 targ_extra_emuls="elf32btsmip elf32ltsmipn32 elf64ltsmip elf32btsmipn32 elf64btsmip" ;; d452 1 a452 2 targ_extra_emuls="elf32ltsmip elf32btsmipn32 elf64btsmip elf32ltsmipn32 elf64ltsmip" ;; d455 1 a455 2 targ_extra_libpath=$targ_extra_emuls ;; d458 2 a459 4 targ_extra_libpath=$targ_extra_emuls ;; mips*el-*-elf*) targ_emul=elf32elmip ;; d461 1 a461 2 targ_emul=elf32ebmip ;; d463 1 a463 2 targ_extra_emuls="elf32ebmipvxworks" ;; d465 2 a466 4 targ_extra_emuls="elf32elmipvxworks" ;; mips*-*-windiss) targ_emul=elf32mipswindiss ;; d469 1 a469 2 targ_extra_libpath=$targ_extra_emuls ;; d472 1 a472 2 targ_extra_libpath=$targ_extra_emuls ;; d475 1 a475 2 targ_extra_libpath=$targ_extra_emuls ;; d478 1 a478 2 targ_extra_libpath=$targ_extra_emuls ;; d482 1 a482 2 targ_extra_libpath=$targ_extra_emuls ;; d486 1 a486 2 targ_extra_libpath=$targ_extra_emuls ;; d490 1 a490 2 targ_extra_libpath=$targ_extra_emuls ;; d494 1 a494 2 targ_extra_libpath=$targ_extra_emuls ;; d500 2 a501 3 mn10200-*-*) targ_emul=mn10200 targ_extra_ofiles=ldelfgen.o ;; d504 1 a504 4 moxie-*-moxiebox*) targ_emul=moxiebox targ_extra_ofiles=ldelfgen.o ;; moxie-*-*) targ_emul=elf32moxie a507 4 targ_extra_ofiles=ldelfgen.o ;; mt-*elf) targ_emul=elf32mt targ_extra_ofiles=ldelfgen.o d515 5 a519 11 nds32*le-*-linux-gnu*) targ_emul=nds32elf_linux ;; nds32*be-*-linux-gnu*) targ_emul=nds32belf_linux ;; nios2*-*-linux*) targ_emul=nios2linux ;; nios2*-*-*) targ_emul=nios2elf ;; ns32k-pc532-mach* | ns32k-pc532-ux*) targ_emul=pc532macha targ_extra_ofiles= ;; a520 1 targ_extra_ofiles= d523 2 a524 4 targ_emul=elf32or1k ;; or1k-*-linux* | or1knd-*-linux*) targ_emul=elf32or1k_linux ;; a525 1 targ_extra_ofiles= d528 1 a528 2 targ_extra_emuls="elf_i386 elf_iamcu" ;; a529 1 targ_extra_ofiles=ldelfgen.o d535 1 a535 2 tdir_elf32ppcsim=`echo ${targ_alias} | sed -e 's/ppc/ppcsim/'` ;; d545 1 a545 2 targ_extra_emuls="elf32ppc elf32ppclinux elf32ppcsim" ;; d620 3 a622 7 powerpc-*-nto*) targ_emul=elf32ppcnto ;; powerpcle-*-nto*) targ_emul=elf32lppcnto ;; powerpc-*-macos*) targ_emul=ppcmacos targ_extra_ofiles= ;; d625 7 a631 17 targ_extra_ofiles="deffilep.o pe-dll.o" ;; powerpc-*-aix[5-9]*) targ_emul=aix5ppc targ_extra_ofiles= ;; powerpc-*-aix*) targ_emul=aixppc targ_extra_ofiles= ;; powerpc-*-beos*) targ_emul=aixppc targ_extra_ofiles= ;; powerpc-*-windiss*) targ_emul=elf32ppcwindiss ;; powerpc-*-lynxos*) targ_emul=ppclynx ;; pru*-*-*) targ_emul=pruelf ;; d634 1 a634 2 targ_extra_libpath=$targ_extra_emuls ;; d638 1 a638 2 targ_extra_libpath=$targ_extra_emuls ;; d641 1 a641 2 targ_extra_libpath=$targ_extra_emuls ;; d644 2 a645 5 targ_extra_libpath=$targ_extra_emuls ;; rs6000-*-aix[5-9]*) targ_emul=aix5rs6 targ_extra_ofiles= ;; a646 8 targ_extra_ofiles= ;; rl78-*-*) targ_emul=elf32rl78 ;; rx-*-*) targ_emul=elf32rx ;; s12z-*-*) targ_emul=m9s12zelf targ_extra_ofiles=ldelfgen.o d648 2 d653 1 a653 2 tdir_elf_s390=`echo ${targ_alias} | sed -e 's/s390x/s390/'` ;; d655 1 a655 2 tdir_elf_s390=`echo ${targ_alias} | sed -e 's/s390x/s390/'` ;; d662 1 a662 2 targ_extra_emuls=score3_elf ;; d665 1 a665 2 targ_extra_libpath=shelf_linux ;; d667 1 a667 2 targ_extra_emuls="shelf_fd" ;; d669 1 a669 2 targ_extra_emuls="shlelf_fd" ;; d671 1 a671 2 targ_extra_emuls=shelf_nbsd ;; d673 1 a673 2 targ_extra_emuls=shlelf_nbsd ;; d676 1 a676 2 targ_extra_emuls="shelf shl sh" ;; d679 1 a679 2 targ_extra_emuls="shlelf sh shl" ;; d682 1 a682 2 targ_extra_emuls="shelf shlelf sh shl shelf_fd shlelf_fd" ;; d684 1 a684 2 targ_extra_emuls=shlelf_vxworks ;; d686 1 a686 2 targ_extra_emuls=shlelf_nto ;; d688 2 a689 6 targ_extra_ofiles="deffilep.o pe-dll.o" ;; sh-*-*) targ_emul=sh; targ_extra_emuls=shl targ_extra_ofiles= ;; d694 1 a694 2 tdir_elf32_sparc=`echo ${targ_alias} | sed -e 's/64//'` ;; d698 1 a698 2 tdir_elf32_sparc=`echo ${targ_alias} | sed -e 's/64//'` ;; d700 1 a700 2 targ_extra_emuls="elf32_sparc" ;; d705 2 a706 4 tdir_elf32_sparc=`echo ${targ_alias} | sed -e 's/64//'` ;; sparc64-*-*) targ_emul=elf64_sparc ;; d710 1 a710 2 tdir_elf64_sparc=`echo ${targ_alias} | sed -e 's/32//'` ;; d713 1 a713 2 targ_extra_emuls=elf32_sparc ;; d717 8 a724 21 tdir_elf64_sparc=`echo ${targ_alias} | sed -e 's/32//'` ;; sparc*-*-vxworks*) targ_emul=elf32_sparc_vxworks ;; sparc*-*-*) targ_emul=elf32_sparc ;; spu-*-elf*) targ_emul=elf32_spu ;; tic30-*-*aout*) targ_emul=tic30aout targ_extra_ofiles= ;; tic30-*-*coff*) targ_emul=tic30coff targ_extra_ofiles= ;; tic4x-*-* | c4x-*-*) targ_emul=tic4xcoff targ_extra_emuls="tic3xcoff tic3xcoff_onchip" targ_extra_ofiles= ;; tic54x-*-* | c54x*-*-*) targ_emul=tic54xcoff targ_extra_ofiles= ;; d733 2 d737 1 a737 2 targ_extra_libpath=$targ_extra_emuls ;; d740 3 a742 3 targ_extra_libpath=$targ_extra_emuls ;; tilepro-*-*) targ_emul=elf32tilepro d748 1 a748 2 targ_extra_emuls=vaxnbsd ;; d751 1 a751 2 targ_extra_emuls=elf32vax ;; a755 78 x86_64-*-rdos*) targ_emul=elf64rdos ;; x86_64-*-cloudabi*) targ_emul=elf_x86_64_cloudabi ;; x86_64-*-linux-gnux32) targ_emul=elf32_x86_64 targ_extra_emuls="elf_x86_64 elf_i386 elf_iamcu elf_l1om elf_k1om" targ_extra_libpath="elf_i386 elf_iamcu elf_x86_64 elf_l1om elf_k1om" tdir_elf_iamcu=`echo ${targ_alias} | sed -e 's/x86_64/i386/' -e 's/-linux-gnux32/-linux-gnu/'` tdir_elf_i386=`echo ${targ_alias} | sed -e 's/x86_64/i386/' -e 's/-linux-gnux32/-linux-gnu/'` ;; x86_64-*-linux-*) targ_emul=elf_x86_64 targ_extra_emuls="elf32_x86_64 elf_i386 elf_iamcu elf_l1om elf_k1om" targ_extra_libpath="elf_i386 elf32_x86_64 elf_l1om elf_k1om" tdir_elf_i386=`echo ${targ_alias} | sed -e 's/x86_64/i386/'` ;; x86_64-*-redox*) targ_emul=elf_x86_64 targ_extra_emuls=elf_i386 ;; x86_64-*-solaris2*) targ_emul=elf_x86_64_sol2 targ_extra_emuls="elf_x86_64 elf_i386_sol2 elf_i386_ldso elf_i386 elf_iamcu elf_l1om elf_k1om" targ_extra_libpath=$targ_extra_emuls tdir_elf_i386=`echo ${targ_alias} | sed -e 's/x86_64/i386/'` ;; x86_64-*-netbsd*) targ_emul=elf_x86_64 targ_extra_emuls="elf_i386 elf_iamcu elf_l1om elf_k1om" tdir_elf_iamcu=`echo ${targ_alias} | \ sed -e 's/x86_64/i386/'` case "${tdir_elf_iamcu}" in *-netbsdelf*) ;; *) tdir_elf_iamcu=`echo ${tdir_elf_iamcu} | \ sed -e 's/netbsd/netbsdelf/'`;; esac tdir_elf_i386=`echo ${targ_alias} | \ sed -e 's/x86_64/i386/'` case "${tdir_elf_i386}" in *-netbsdelf*) ;; *) tdir_elf_i386=`echo ${tdir_elf_i386} | \ sed -e 's/netbsd/netbsdelf/'`;; esac ;; x86_64-*-elf* | x86_64-*-rtems* | x86_64-*-fuchsia*) targ_emul=elf_x86_64 targ_extra_emuls="elf_i386 elf_iamcu elf32_x86_64 elf_l1om elf_k1om" targ_extra_libpath="elf_i386 elf_iamcu elf32_x86_64 elf_l1om elf_k1om" tdir_elf_i386=`echo ${targ_alias} | sed -e 's/x86_64/i386/'` ;; x86_64-*-dragonfly*) targ_emul=elf_x86_64 targ_extra_emuls="elf_i386 elf_iamcu elf_l1om elf_k1om" ;; x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu) targ_emul=elf_x86_64_fbsd targ_extra_emuls="elf_i386_fbsd elf_x86_64 elf_i386 elf_iamcu elf_l1om elf_l1om_fbsd elf_k1om elf_k1om_fbsd" targ_extra_libpath="elf_i386_fbsd" tdir_elf_i386_fbsd=`echo ${targ_alias} \ | sed -e 's/x86_64/i386/'` tdir_elf_iamcu=`echo ${targ_alias} \ | sed -e 's/x86_64/i386/'` tdir_elf_i386=`echo ${targ_alias} \ | sed -e 's/x86_64/i386/'` ;; x86_64-*-pe | x86_64-*-pep) targ_emul=i386pep ; targ_extra_emuls=i386pe ; targ_extra_ofiles="deffilep.o pep-dll.o pe-dll.o" ;; x86_64-*-cygwin) targ_emul=i386pep ; targ_extra_emuls=i386pe targ_extra_ofiles="deffilep.o pep-dll.o pe-dll.o" test "$targ" != "$host" && LIB_PATH='${tooldir}/lib/w32api' ;; x86_64-*-mingw*) targ_emul=i386pep ; targ_extra_emuls=i386pe targ_extra_ofiles="deffilep.o pep-dll.o pe-dll.o" ;; x86_64-*-nacl*) targ_emul=elf32_x86_64_nacl targ_extra_emuls="elf_i386_nacl elf_x86_64_nacl armelf_nacl armelfb_nacl" targ_extra_libpath=$targ_extra_emuls tdir_elf_i386_nacl=`echo ${targ_alias} | sed -e 's/x86_64/i386/'` ;; a758 3 xgate-*-*) targ_emul=xgateelf targ_extra_ofiles=ldelfgen.o ;; d763 1 a763 2 z80-*-elf*) targ_emul=elf32z80 targ_extra_ofiles="ldelf.o ldelfgen.o" a765 1 targ_extra_ofiles= d767 1 a767 3 z8k-*-coff) targ_emul=z8002 targ_extra_emuls=z8001 targ_extra_ofiles= a769 1 targ_extra_ofiles= @ 1.1.1.9 log @Update binutils from 2.34 to 2.39 2022-07-08 Nick Clifton * 2.39 branch created. 2022-07-04 Nick Clifton * libiberty: Synchronize with GCC. Bring in: 2022-07-01 Nick Clifton PR demangler/105039 * rust-demangle.c (demangle_const): Add recursion limit. 2022-06-26 Simon Marchi * configure.ac: Add AC_CONFIG_MACRO_DIRS call. * configure: Re-generate. 2022-04-12 Nick Clifton * zlib: Rebase to the 1.2.12 release. 2022-04-08 Simon Marchi * configure.ac: Add AC_SUBST(PKG_CONFIG_PATH). * configure: Re-generate. * Makefile.tpl (HOST_EXPORTS): Pass PKG_CONFIG_PATH. (PKG_CONFIG_PATH): New. * Makefile.in: Re-generate. 2022-03-15 Jose E. Marchesi * gprofng/src/gp-collect-app.cc (collect::check_args): Use fallthrough comment instead of attribute. 2022-03-11 Vladimir Mezentsev * Makefile.def: Add gprofng module. * configure.ac: Add --enable-gprofng option. * src-release.sh: Add gprofng. * Makefile.in: Regenerate. * configure: Regenerate. * gprofng: New directory. 2022-01-22 Nick Clifton * 2.38 release branch created. 2022-01-17 Nick Clifton Update config.[guess|sub] from upstream: 2022-01-09 Idan Horowitz config.guess: recognize SerenityOS * config.guess (*:SerenityOS:*:*): Recognize. (timestamp): Update. 2022-01-03 Bernhard Voelker Fix GPLv3 license headers to use a comma instead of semicolon See: https://www.gnu.org/licenses/gpl-3.0.html#howto Update license headers automatically using the following script: $ git grep -l 'Foundation; either version 3' \ | xargs sed -i '/Foundation; either version 3/ s/n; e/n, e/' * config.guess: Adjust via the above command. (timestamp): Update. * config.sub: Likewise. * doc/config.guess.1: Regenerate. * doc/config.sub.1: Likewise. 2022-01-01 Dmitry V. Levin Update copyright years * config.guess: Update copyright years. * config.sub: Likewise. 2021-12-25 Dmitry V. Levin config.sub: alias armh to armv7l ALT uses armh as an alias for armv7l-alt-linux-gnueabihf since 2012. * config.sub (armh-unknown|armh-alt): Set cpu, vendor, and basic_os. (timestamp): Update. 2021-12-24 Dmitry V. Levin config.sub: alias aarch64le to aarch64 Apparently, QNX reports aarch64 as aarch64le on little-endian machines. * config.sub (aarch64le-*): Set cpu to aarch64. (timestamp): Update. 2021-12-13 Dmitry V. Levin config.sub: fix typo in timestamp * config.sub: Fix timestamp. 2021-11-30 Andreas F. Borchert config.guess: x86_64-pc-solaris2.11 is not properly recognized config.guess guesses Solaris 11 to run on a 32-bit platform despite Solaris 11 no longer supporting any 32-bit platform. See the following code at lines 434 to 445: | SUN_ARCH=i386 | # If there is a compiler, see if it is configured for 64-bit objects. | # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. | # This test works for both compilers. | if test "$CC_FOR_BUILD" != no_compiler_found; then | if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ | (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ | grep IS_64BIT_ARCH >/dev/null | then | SUN_ARCH=x86_64 | fi | fi If "cc" is installed, i.e. the Oracle Studio compiler, this one is chosen for $CC_FOR_BUILD. This compiler, the gcc provided by Oracle and also gcc bootstrapped from sources on that platform with a default configuration will by default generate 32-bit binaries -- even on a 64-bit platform. And __amd64 will not be defined for compilations targeting a 32-bit platform. This is different from the corresponding behaviour on GNU/Linux systems where the local platform is targeted by default. Thus, as long as you do not add "-m64" or if you have a custom-built gcc which defaults to 64 bit, you will get 32-bit binaries on Solaris despite living on a 64-bit platform. * config.guess (i86pc:SunOS:5.*:* || i86xen:SunOS:5.*:*): Adapt the test by adding the "-m64" flag. This will work properly for Solaris 10 as well (the last Solaris release that supported x86 32-bit platforms). 2021-10-27 Jordi Sanfeliu Recognize Fiwix $ make check cd testsuite && bash config-guess.sh && rm uname PASS: config.guess checks (137 tests) cd testsuite && bash config-sub.sh PASS: config.sub checks (882 tests) PASS: config.sub idempotency checks (819 tests) PASS: config.sub canonicalise each config.guess testcase (137 tests) * config.guess (i*86:Fiwix:*:*): Recognize. * config.sub (fiwix*): Likewise. 2021-10-18 Kinshuk Dua config.sub: Fix typo in comment Fixes: 5e531d391852a54e7fab2d8ff55625fca514b305 2021-08-14 Nick Bowler config.sub: work around command assignment bug in some shells When combining variable assignments with a shell command, some older shells (notably heirloom-sh and presumably also Solaris 10 /bin/sh) have a bug which causes the assignment to alter the current execution environment whenever the command is a shell built-in. For example: % dash -c 'x=good; x=bad echo >/dev/null; echo $x' good % jsh -c 'x=good; x=bad echo >/dev/null; echo $x' bad The config.sub script contains a few commands of the form: IFS=- read ... which triggers this bug, causing the IFS assignment to persist for the remainder of the script. This can cause misbehaviour in certain cases, for example: % jsh config.sub i386-linux-gnu config.sub: test: unknown operator gnu % jsh config.sub i386-gnu/linux sed: can't read s|gnu/linux|gnu|: No such file or directory Invalid configuration `i386-gnu/linux': OS `' not recognized * config.sub: Save and restore IFS explicitly to avoid shell bugs. * doc/config.sub.1: Regenerate. 2021-08-04 Jeremy Soller config.sub: add Linux Relibc Target $ make check cd testsuite && bash config-guess.sh && rm uname PASS: config.guess checks (136 tests) cd testsuite && bash config-sub.sh PASS: config.sub checks (881 tests) PASS: config.sub idempotency checks (818 tests) PASS: config.sub canonicalise each config.guess testcase (136 tests) * config.sub (relibc*): Recognize. * doc/config.sub.1: Regenerate. * testsuite/config-sub.data (x86_64-linux-relibc): New test. 2021-07-06 Stephanos Ioannidis config.sub: add Zephyr RTOS support This adds the Zephyr RTOS targets in preparation for implementing the Zephyr RTOS-specific toolchain support. $ make check cd testsuite && bash config-guess.sh && rm uname PASS: config.guess checks (136 tests) cd testsuite && bash config-sub.sh PASS: config.sub checks (880 tests) PASS: config.sub idempotency checks (817 tests) PASS: config.sub canonicalise each config.guess testcase (136 tests) * config.sub (zephyr*): Recognize. * doc/config.sub.1: Regenerate. * testsuite/config-sub.data: Add testcases for *-zephyr. 2021-07-03 Ozkan Sezer config.sub: disable shellcheck SC2006 / SC2268 warnings This is in line with the recent config.guess change in commit 12fcf67c9108f4c4b581eaa302088782f0ee40ea * config.sub (shellcheck disable): Add SC2006,SC2268. Suggested-by: Jacob Bachmeyer 2021-07-03 Ozkan Sezer config.sub: normalize the quoting in the `echo FOO | sed ...` Some cases quote the argument to echo and some do not. At runtime it probably does not matter because the substituted values will never contain whitespace, but quoting them all would make shellcheck more useful. * config.sub: Consistently quote the argument of echo. * doc/config.sub.1: Regenerate. Suggested-by: Jacob Bachmeyer 2021-07-02 Ozkan Sezer config.sub: replace POSIX $( ) with classic ` ` throughout This is in line with the recent config.guess change in commit d70c4fa934de164178054c3a60aaa0024ed07c91. The patch was generated using patch-6.gawk script introduced in that commit. * config.sub: Revert POSIX command substitutions to classic form. 2021-06-04 Vineet Gupta Recognize arc32 This is the 32-bit variant of ARCv3 ISA (which is not compatible with the 32-bit ARCv2 ISA) | make check | cd testsuite && bash config-guess.sh && rm uname | PASS: config.guess checks (136 tests) | cd testsuite && bash config-sub.sh | PASS: config.sub checks (864 tests) | PASS: config.sub idempotency checks (801 tests) | PASS: config.sub canonicalise each config.guess testcase (136 tests) * config.guess (arc32:Linux:*:*): Recognize. * config.sub (arc32): Likewise. 2021-05-27 Jacob Bachmeyer Remove automatic patch generators These tools have served their purposes and need not be kept outside of the repository history any longer. This patch as a diff also collects the contents of the various tools in one convenient place. * patch-1.gawk: Remove. * patch-3.gawk: Likewise. * patch-6.gawk: Likewise. 2021-05-26 Jacob Bachmeyer config.guess: manual fixups after previous automatic patch The tool could not handle command substitutions that span lines, but fortunately there were only two such substitutions in the script. The test for which universe is active on Pyramid is rewritten into a case block because it was the only use of a command substitution as an argument to the test command, which would require quoting. * config.guess: Rewrite "if" for Pyramid systems to "case". 2021-05-26 Jacob Bachmeyer config.guess: replace POSIX $( ) with classic ` ` throughout The previous replacement of backticks with POSIX command substitutions was ill-considered and illogical: this script recognizes many archaic machine types that probably never had POSIX shells, therefore it needs to be able to run successfully under pre-POSIX shells. This patch was generated using the included GNU Awk program. * config.guess: Revert POSIX command substitutions to classic form. * patch-6.gawk: Store the tool that produced the automated patch. 2021-05-26 Jacob Bachmeyer config.guess: manual fixup after previous automated patches This patch provides the special handling for the GNU system. As these were two small and unique edits, they were not included in the scripts. This patch also cleans up other minor issues that must be addressed before reverting to classic command substitutions and updates "shellcheck" directives to account for changes in this script and the change in "shellcheck" towards reporting individual portability issues. 2021-05-26 Jacob Bachmeyer config.guess: automatic fixups after previous automated patch This patch was generated using the following command: sed -i config.guess \ -e '/="[^"]\+"\(-\|$\)/s/="\([^"([:space:])]\+\)"/=\1/' \ -e '/="[^"]\+"[[:alnum:]]/s/="\$\([^([:space:])]\+\)"/=${\1}/' \ -e \ '/\$(echo[^|]\+|/s/\([^[:space:]]\)[[:space:]]*|[[:space:]]*sed/\1 | sed/g' * config.guess: Remove unneeded quotes in other variable assignments, standardize spacing for "echo ... | sed" substitutions. 2021-05-26 Jacob Bachmeyer config.guess: remove unneeded quotes and factor command substitutions This is further cleanup and simplifies some constructs that can confuse Emacs' syntax highlighting while generally reducing required quoting. This patch was generated using the included GNU Awk program. * config.guess: Remove unneeded variable quotes and factor out command substitutions when setting GUESS. * patch-3.gawk: Store the tool that produced the automated patch. 2021-05-25 Jacob Bachmeyer config.guess: manual fixups after previous automatic patch * config.guess: Adjust a few "leftover" cases that the tool could not easily recognize and fixes comment indentation in a few other special cases. 2021-05-25 Jacob Bachmeyer config.guess: use intermediate variable with uname results This will allow quoting to be significantly simplified in another pass through the file. This patch was generated using the included GNU Awk program. * config.guess: Use GUESS variable to hold results of uname analysis. * patch-1.gawk: Store the tool that produced the automated patch. 2021-05-25 Jacob Bachmeyer config.guess: introduce intermediate variable with uname results This will allow quoting to be significantly simplified in another pass through the file. * config.guess: Introduce GUESS variable to hold results of uname analysis. 2021-05-24 Dmitry V. Levin config.guess: fix shellcheck warning SC2154 While, according to Plan 9 documentation, the environment variable $cputype is set to the name of the kernel's CPU's architecture, shellcheck warns that cputype is referenced but not assigned. Be on the safe side and do not use cputype if it is not defined or empty. * config.guess (*:Plan9:*:*): Fix shellcheck warning SC2154. 2021-05-24 Dmitry V. Levin config.guess: remove redundant quotes in case commands According to the GNU Autoconf Portable Shell Programming manual, the Bourne shell does not systematically split variables and back-quoted expressions, in particular on the right-hand side of assignments and in the argument of 'case'. The change is made automatically using the following command: $ sed -E -i 's/(\)/\1\2\3/' config.guess * config.guess: Simplify case commands by removing quotes around the argument. Suggested-by: Jacob Bachmeyer 2021-05-24 Dmitry V. Levin config.guess: simplify exit status workaround on alphaev67-dec-osf5.1 Commit 29865ea8a5622cdd80b7a69a0afa78004b4cd311 introduced an exit trap reset before exiting to avoid a spurious non-zero exit status on alphaev67-dec-osf5.1. Simplify that code a bit by moving the exit trap reset around. * config.guess (alpha:OSF1:*:*): Reset exit trap earlier. * doc/config.guess.1: Regenerate. 2021-10-29 Eli Zaretskii * gdb/doc/gdb.texinfo (Command Options): (Data): Document '-memory-tag-violations'. Update the example. 2021-09-28 Andrew Burgess * src-release.sh (GDB_SUPPPORT_DIRS): Add libbacktrace. 2021-09-27 Nick Alcock PR libctf/27967 * libtool.m4 (LT_PATH_NM): Try BSDization flags with a user-provided NM, if there is one. Run nm on itself, not on /dev/null, to avoid errors from nms that refuse to work on non-regular files. Remove other workarounds for this problem. Strip out blank lines from the nm output. 2021-09-27 Nick Alcock PR libctf/27967 * libtool.m4 (lt_cv_sys_global_symbol_pipe): Augment symcode for Solaris 11. 2021-07-03 Nick Clifton * 2.37 release branch created. 2021-07-03 Nick Clifton * libiberty: Sync with gcc. Bring in: 2021-06-30 Gerald Pfeifer * make-temp-file.c (usrtmp): Remove. (choose_tmpdir): Remove use of usrtmp. 2021-06-28 Indu Bhagat * simple-object.c (handle_lto_debug_sections): Copy over .BTF section. 2021-06-28 Indu Bhagat David Faust Jose E. Marchesi Weimin Pan * simple-object.c (handle_lto_debug_sections): Copy over .ctf sections. 2021-06-05 John David Anglin PR target/100734 * configure.ac: Use libiberty snprintf and vsnprintf on hppa*-*-hpux*. * configure: Regenerate. 2021-05-06 Tom Tromey * hashtab.c (htab_eq_string): New function. 2021-05-04 Eric Botcazou * configure.ac: Make test for variables more robust. * configure: Regenerate. 2021-05-03 H.J. Lu PR bootstrap/99703 * configure: Regenerated. 2021-04-21 Andreas Schwab PR demangler/100177 * rust-demangle.c (demangle_const_char): Properly print the character value. 2021-03-31 Patrick Palka PR c++/88115 * cp-demangle.c (d_dump, d_make_comp, d_expression_1) (d_count_templates_scopes): Handle DEMANGLE_COMPONENT_VENDOR_EXPR. (d_print_comp_inner): Likewise. : Revert r11-4926 change. : Likewise. * testsuite/demangle-expected: Adjust __alignof__ tests. 2021-03-16 Nick Clifton * sha1.c (sha1_process_bytes): Use memmove in place of memcpy. 2021-02-20 Mike Frysinger * Makefile.in (ACLOCAL, ACLOCAL_AMFLAGS, $(srcdir)/aclocal.m4): Define. (configure_deps): Rename to ... (aclocal_deps): ... this. Replace aclocal.m4 with acinclude.m4. ($(srcdir)/configure): Replace $(configure_deps) with $(srcdir)/aclocal.m4. * aclocal.m4: Move libiberty macros to acinclude.m4, then regenerate. * acinclude.m4: New file. * configure: Regenerate. 2021-02-19 Ayush Mittal * argv.c (expandargv): free allocated buffer if read fails. 2021-02-01 Martin Sebor * dyn-string.c (dyn_string_insert_cstr): Use memcpy instead of strncpy to avoid -Wstringop-truncation. 2021-05-29 Mike Frysinger * configure.ac: Add gnulib to configdirs for sim. * configure: Regenerate. 2021-05-24 Maciej W. Rozycki * MAINTAINERS: Update path to readline config.{sub,guess} files. 2021-05-24 Maciej W. Rozycki * config.guess: Import from upstream. * config.sub: Likewise. 2021-05-18 Mike Frysinger * Makefile.def: Add configure-sim dependency on all-gnulib. * Makefile.in: Regenerated. 2021-05-04 Nick Clifton * configure.ac (AC_PROG_CC): Replace with AC_PROG_CC_C99. * configure: Regenerate. 2021-03-18 Nick Alcock PR libctf/27482 * Makefile.def: Add install-bfd dependencies for install-libctf and install-ld, and install-strip-bfd dependencies for install-strip-libctf and install-strip-ld; move the install-ld dependency on install-libctf to join it. * Makefile.in: Regenerated. 2021-03-12 Mike Frysinger * Makefile.def: Remove all-sim dependency on configure-gdb. * Makefile.in: Regenerated. 2021-02-28 H.J. Lu PR binutils/26766 * Makefile.tpl (PGO_BUILD_TRAINING_FLAGS_TO_PASS): Add PGO_BUILD_TRAINING=yes. (PGO_BUILD_TRAINING_MFLAGS): New. (all): Pass $(PGO_BUILD_TRAINING_MFLAGS) to the PGO build. 2021-02-09 Alan Modra * configure.ac: Delete arm*-*-symbianelf* entry. * configure: Regenerate. 2021-01-26 Nick Alcock * Makefile.def: Add install-libctf dependency to install-ld. * Makefile.in: Regenerated. 2021-01-12 Mike Frysinger * src-release.sh (do_proto_toplev): Rewrite indentation. 2021-01-11 H.J. Lu PR binutils/26766 * configure.ac: * configure: Regenerated. 2021-01-11 H.J. Lu PR ld/27173 * configure: Regenerated. * libtool.m4 (_LT_CMD_OLD_ARCHIVE): Check if AR works with --plugin and rc before enabling --plugin. 2021-01-09 H.J. Lu PR binutils/26766 * Makefile.tpl (BUILD_CFLAGS): New. (CFLAGS): Append $(BUILD_CFLAGS). (CXXFLAGS): Likewise. (PGO_BUILD_GEN_FLAGS_TO_PASS): New. (PGO_BUILD_TRAINING_CFLAGS): Likewise. (PGO_BUILD_TRAINING_CXXFLAGS): Likewise. (PGO_BUILD_TRAINING_FLAGS_TO_PASS): Likewise. (PGO_BUILD_TRAINING_MFLAGS): Likewise. (PGO_BUILD_USE_FLAGS_TO_PASS): Likewise. (PGO-TRAINING-TARGETS): Likewise. (PGO_BUILD_TRAINING): Likewise. (all): Add '+' to the command line for recursive make. Support the PGO build. * configure.ac: Add --enable-pgo-build[=lto]. AC_SUBST PGO_BUILD_GEN_CFLAGS, PGO_BUILD_USE_CFLAGS and PGO_BUILD_LTO_CFLAGS. Enable the PGO build in Makefile. * Makefile.in: Regenerated. * configure: Likewise. 2021-01-09 H.J. Lu * Makefile.tpl (AR): Add @@AR_PLUGIN_OPTION@@ (RANLIB): Add @@RANLIB_PLUGIN_OPTION@@. * configure.ac: Include config/gcc-plugin.m4. AC_SUBST AR_PLUGIN_OPTION and RANLIB_PLUGIN_OPTION. * libtool.m4 (_LT_CMD_OLD_ARCHIVE): Pass --plugin to AR and RANLIB if possible. * Makefile.in: Regenerated. * configure: Likewise. 2021-01-09 Nick Clifton * 2.36 release branch crated. 2021-01-07 Samuel Thibault * libtool.m4: Match gnu* along with other GNU systems. 2021-01-07 Alan Modra * config.sub: Accept OS of eabi* and gnueabi*. 2021-01-05 Nick Alcock * Makefile.def (libctf): No longer no_check. Checking depends on all-ld. * Makefile.in: Regenerated. 2021-01-05 Nick Clifton * libiberty: Sync with gcc. Bring in: 2021-01-04 Martin Liska * strverscmp.c: Convert to utf8 from iso8859. 2020-12-22 Jason Merrill PR c++/67343 * cp-demangle.h (struct d_info): Add unresolved_name_state. * cp-demangle.c (d_prefix): Add subst parm. (d_nested_name): Pass it. (d_unresolved_name): Split out from... (d_expression_1): ...here. (d_demangle_callback): Maybe retry with old sr mangling. * testsuite/demangle-expected: Add test. 2020-12-21 Jason Merrill * cp-demangle.c (d_expression_1): Recognize qualified-id on RHS of dt/pt. * testsuite/demangle-expected: Add test. 2020-12-21 Jason Merrill * cp-demangle.c (d_unqualified_name): Clear is_expression. * testsuite/demangle-expected: Add tests. 2020-11-25 Matthew Malcomson * configure: Regenerate. * configure.ac: Avoid using sanitizer. 2020-11-13 Eduard-Mihai Burtescu * rust-demangle.c (struct rust_demangler): Add skipping_printing and bound_lifetime_depth fields. (eat): Add (v0-only). (parse_integer_62): Add (v0-only). (parse_opt_integer_62): Add (v0-only). (parse_disambiguator): Add (v0-only). (struct rust_mangled_ident): Add punycode{,_len} fields. (parse_ident): Support v0 identifiers. (print_str): Respect skipping_printing. (print_uint64): Add (v0-only). (print_uint64_hex): Add (v0-only). (print_ident): Respect skipping_printing, Support v0 identifiers. (print_lifetime_from_index): Add (v0-only). (demangle_binder): Add (v0-only). (demangle_path): Add (v0-only). (demangle_generic_arg): Add (v0-only). (demangle_type): Add (v0-only). (demangle_path_maybe_open_generics): Add (v0-only). (demangle_dyn_trait): Add (v0-only). (demangle_const): Add (v0-only). (demangle_const_uint): Add (v0-only). (basic_type): Add (v0-only). (rust_demangle_callback): Support v0 symbols. * testsuite/rust-demangle-expected: Add v0 testcases. 2020-11-13 Seija Kijin * strstr.c (strstr): Make implementation ANSI/POSIX compliant. 2020-11-11 Patrick Palka PR c++/88115 * cp-demangle.c (d_print_comp_inner) : Don't print the "operator " prefix for __alignof__. : Always print parens around the operand of __alignof__. * testsuite/demangle-expected: Test demangling for __alignof__. 2020-11-09 Christophe Lyon * pex-win32.c (pex_win32_exec_child): Initialize orig_err. 2020-10-06 Martin Liska PR lto/97290 * simple-object-elf.c (simple_object_elf_copy_lto_debug_sections): Use sh_link of a .symtab_shndx section. 2021-01-05 Alan Modra * config.guess: Import from upstream. * config.sub: Likewise. 2020-12-16 Martin Liska Tom de Vries * gdb/debuginfod-support.c (struct user_data): Remove has_printed field. Add meter field. (progressfn): Print progress using meter. 2020-12-02 Enze Li * .gitignore: Add gnu global outputs. 2020-12-02 Simon Marchi * .gitignore: Sync with gcc. 2020-10-26 Andreas Rammhold * src-release.sh: Use sha256sum instead of md5sum. 2020-10-14 Andrew Burgess * Makefile.in: Rebuild. * Makefile.def: Make distclean-gnulib depend on distclean-gdb and distclean-gdbserver. 2020-07-24 Aaron Merey * configure: Rebuild. * configure.ac: Remove AC_DEBUGINFOD. 2020-07-04 Nick Clifton Binutils 2.35 branch created. 2020-04-21 Stephen Casner PR 25830 * configure.ac (noconfigdirs): Exclude gdb & gprof for pdp11. * configure: Rebuild. 2020-03-12 Tom Tromey * Makefile.in: Rebuild. * Makefile.def (gdbserver): Depend on gdbsupport. 2020-03-12 Tom Tromey * Makefile.in: Rebuild. * Makefile.def (gdbsupport): Don't depend on bfd. 2020-03-12 Tom Tromey * Makefile.in: Rebuild. * Makefile.def (gdbsupport): Depend on intl. 2020-02-17 Tom Tromey * configure: Rebuild. * configure.ac (configdirs): Add gnulib and gdbsupport when building gdbserver. 2020-02-14 Tom Tromey * Makefile.in: Rebuild. * Makefile.def: Make gdbserver require gnulib and libiberty. 2020-02-07 Tom Tromey Pedro Alves * src-release.sh (GDB_SUPPORT_DIRS): Add gdbserver. * gdbserver: New directory, moved from gdb/gdbserver. * configure.ac (host_tools): Add gdbserver. Only build gdbserver on certain systems. * Makefile.in, configure: Rebuild. * Makefile.def (host_modules, dependencies): Add gdbserver. * MAINTAINERS: Add gdbserver. 2020-01-28 Sergio Durigan Junior * src-release.sh (getver): Look for gdbsupport's create-version.sh script at the current directory if tool is "gdb". 2020-01-19 Simon Marchi * remote-sim.c (gdbsim_target::wait): Return sim_data->remote_sim_ptid instead of inferior_ptid. @ text @d3 1 a3 1 # Copyright (C) 2013-2022 Free Software Foundation, Inc. a42 37 # By default the linker will generate warnings if it is creating an # executable stack or a segment with all three of read, write and # execute permissions. These settings are not appropriate for all # targets however, so we can change them here: if test "${ac_default_ld_warn_rwx_segments}" = unset; then case "${targ}" in # The CRIS default linker script yields just one segment # as intended, so a rwx segment warning is not helpful. # The HPPA's and SPARC's PLT sections use a constructed trampoline # hence it needs to have a RWX segment. # Many MIPS targets use executable segments. cris-*-* | crisv32-*-* | \ hppa*-*-* | \ mips*-*-* | \ sparc*-*-*) ac_default_ld_warn_rwx_segments=0 ;; *) ;; esac fi if test "${ac_default_ld_warn_execstack}" = 2; then case "${targ}" in # The HPPA port needs to support older kernels that # use executable stacks for signals and syscalls. # Many MIPS targets use executable stacks. hppa*-*-* | \ mips*-*-*) ac_default_ld_warn_execstack=0 ;; *) ;; esac fi d49 1 a49 1 aarch64-*-elf | aarch64-*-rtems* | aarch64-*-genode*) a79 3 aarch64-*-haiku*) targ_emul=aarch64haiku targ_extra_emuls="aarch64elf aarch64elf32 aarch64elf32b aarch64elfb armelf armelfb armelf_haiku $targ_extra_libpath" ;; d138 1 a138 1 armeb-*-netbsd*) targ_emul=armelfb_nbsd; d141 1 a141 1 arm-*-netbsd*) targ_emul=armelf_nbsd; d151 1 a151 1 arm-*-elf | arm*-*-eabi* | arm-*-rtems* | arm-*-genode*) d154 1 d181 1 a181 1 targ_extra_emuls="armelf_nacl" d183 2 d187 1 a187 1 targ_extra_emuls="armelfb_nacl" d189 2 a206 3 arm*-*-haiku*) targ_emul=armelf_haiku targ_extra_emuls=armelf ;; d328 1 a328 1 targ64_extra_emuls="elf_x86_64 elf32_x86_64" d338 1 a338 1 targ_extra_emuls="elf_i386_ldso elf_i386 elf_iamcu elf_x86_64_sol2 elf_x86_64" d348 1 a348 4 i[3-7]86-*-netbsdpe*) targ_emul=i386pe targ_extra_ofiles="deffilep.o pe-dll.o" ;; i[3-7]86-*-netbsd* | \ d350 1 a350 2 i[3-7]86-*-knetbsd*-gnu | \ i[3-7]86-*-openbsd*) d354 3 d360 1 a360 1 i[3-7]86-*-elf* | i[3-7]86-*-rtems* | i[3-7]86-*-genode*) d380 1 a402 2 i[3-7]86-*-haiku*) targ_emul=elf_i386_haiku ;; d407 6 d442 1 a442 1 m32c-*-elf) d447 1 a447 1 m32r*-*-elf*) d460 1 a460 3 m68*-*-netbsd*) targ_emul=m68kelfnbsd ;; m68*-*-haiku*) targ_emul=m68kelf a490 3 mips*el-*-haiku*) targ_emul=elf_mipsel_haiku targ_extra_emuls="elf32ltsmip elf32btsmip elf32ltsmipn32 elf64ltsmip elf32btsmipn32 elf64btsmip" ;; d619 1 a619 1 ns32k-*-*bsd* | ns32k-pc532-lites*) targ_emul=ns32knbsd a648 4 powerpc64le-*-freebsd*) targ_emul=elf64lppc_fbsd targ_extra_emuls="elf64lppc" ;; d734 4 d747 1 a747 1 powerpc-*-haiku*) targ_emul=elf32ppchaiku d749 1 a749 1 powerpc-*-windiss*) targ_emul=elf32ppcwindiss a752 4 riscv32be*-*-linux*) targ_emul=elf32briscv targ_extra_emuls="elf32briscv_ilp32f elf32briscv_ilp32 elf64briscv elf64briscv_lp64f elf64briscv_lp64 elf32lriscv elf32lriscv_ilp32f elf32lriscv_ilp32 elf64lriscv elf64lriscv_lp64f elf64lriscv_lp64" targ_extra_libpath=$targ_extra_emuls ;; d754 1 a754 6 targ_extra_emuls="elf32lriscv_ilp32f elf32lriscv_ilp32 elf64lriscv elf64lriscv_lp64f elf64lriscv_lp64 elf32briscv elf32briscv_ilp32f elf32briscv_ilp32 elf64briscv elf64briscv_lp64f elf64briscv_lp64" targ_extra_libpath=$targ_extra_emuls ;; riscvbe-*-* | riscv32be*-*-*) targ_emul=elf32briscv targ_extra_emuls="elf64briscv elf32lriscv elf64lriscv" d759 1 a759 5 targ_extra_emuls="elf64lriscv elf32briscv elf64briscv" targ_extra_libpath=$targ_extra_emuls ;; riscv64be*-*-linux*) targ_emul=elf64briscv targ_extra_emuls="elf64briscv_lp64f elf64briscv_lp64 elf32briscv elf32briscv_ilp32f elf32briscv_ilp32 elf64lriscv elf64lriscv_lp64f elf64lriscv_lp64 elf32lriscv elf32lriscv_ilp32f elf32lriscv_ilp32" d763 1 a763 5 targ_extra_emuls="elf64lriscv_lp64f elf64lriscv_lp64 elf32lriscv elf32lriscv_ilp32f elf32lriscv_ilp32 elf64briscv elf64briscv_lp64f elf64briscv_lp64 elf32briscv elf32briscv_ilp32f elf32briscv_ilp32" targ_extra_libpath=$targ_extra_emuls ;; riscv64be*-*-*) targ_emul=elf64briscv targ_extra_emuls="elf32briscv elf64lriscv elf32lriscv" d767 1 a767 1 targ_extra_emuls="elf32lriscv elf64briscv elf32briscv" a777 2 rx-*-linux*) targ_emul=elf32rx_linux ;; d809 1 a809 7 sh*l*-*-netbsdaout*) targ_emul=shl targ_extra_emuls=sh ;; sh*-*-netbsdaout*) targ_emul=sh targ_extra_emuls=shl ;; sh*l*-*-netbsd*) targ_emul=shlelf_nbsd d812 1 a812 1 sh*-*-netbsd*) targ_emul=shelf_nbsd a859 2 sparc64-*-haiku*) targ_emul=elf64_sparc ;; d882 3 d916 5 a920 1 vax-*-netbsdaout*) targ_emul=vaxnbsd a922 3 vax-*-netbsd*) targ_emul=elf32vax targ_extra_emuls=vaxnbsd ;; a930 3 x86_64-*-haiku*) targ_emul=elf_x86_64_haiku targ_extra_emuls="elf_x86_64 elf_i386_haiku" ;; d932 2 a933 2 targ_extra_emuls="elf_x86_64 elf_i386 elf_iamcu" targ_extra_libpath="elf_i386 elf_iamcu elf_x86_64" d938 2 a939 2 targ_extra_emuls="elf32_x86_64 elf_i386 elf_iamcu" targ_extra_libpath="elf_i386 elf32_x86_64" d946 1 a946 1 targ_extra_emuls="elf_x86_64 elf_i386_sol2 elf_i386_ldso elf_i386 elf_iamcu" d950 2 a951 3 x86_64-*-netbsd* | x86_64-*-openbsd*) targ_emul=elf_x86_64 targ_extra_emuls="elf_i386 elf_iamcu" d953 6 a958 1 sed -e 's/x86_64/i386/' -e 's/aout//'` d960 6 a965 1 sed -e 's/x86_64/i386/' -e 's/aout//'` d967 1 a967 1 x86_64-*-elf* | x86_64-*-rtems* | x86_64-*-fuchsia* | x86_64-*-genode*) d969 2 a970 2 targ_extra_emuls="elf_i386 elf_iamcu elf32_x86_64" targ_extra_libpath="elf_i386 elf_iamcu elf32_x86_64" d974 1 a974 1 targ_extra_emuls="elf_i386 elf_iamcu" d978 1 a978 1 targ_extra_emuls="elf_i386_fbsd elf_x86_64 elf_i386 elf_iamcu" d1000 8 a1024 4 loongarch32-*) targ_emul=elf32loongarch ;; loongarch64-*) targ_emul=elf64loongarch ;; d1071 1 a1071 1 # This allows one to build a pair of PPU/SPU toolchains with common sysroot. d1116 1 a1116 1 # Enable -z separate-code and --warn-textrel by default for Linux/x86. a1121 3 if test ${ac_default_ld_textrel_check} = unset; then ac_default_ld_textrel_check=yes fi @ 1.1.1.10 log @Import binutils-2.42 (last was 2.39) 2024-01-15 Nick Clifton * 2.42 branch point. 2023-11-15 Arsen Arsenović * intl: Remove directory. Replaced with out-of-tree GNU gettext. * .gitignore: Add '/gettext*'. * configure.ac (host_libs): Replace intl with gettext. (hbaseargs, bbaseargs, baseargs): Split baseargs into {h,b}baseargs. (skip_barg): New flag. Skips appending current flag to bbaseargs. : Exempt --with-libintl-{type,prefix} from target and build machine argument passing. * configure: Regenerate. * Makefile.def (host_modules): Replace intl module with gettext module. (configure-ld): Depend on configure-gettext. * Makefile.in: Regenerate. * src-release.sh: Remove references to the intl/ directory. 2023-07-03 Nick Clifton 2.41 Branch Point. 2023-06-26 Nick Clifton * Import these updates to the config scripts commit 4ad4bb7c30aca1e705448ba8d51a210bbd47bb52 Author: Paul Eggert Date: Fri Jun 23 09:55:10 2023 -0700 Quote 'like this', not `like this'. commit 63acb96f92473ceb5e21d873d7c0aee266b3d6d3 Author: Paul Eggert Date: Sat Jan 21 00:15:01 2023 -0600 Fix config.sub spelling typo for "athlon" commit 4ce12a5c9125cedc0d0ba584444a6865396923ec Author: Dmitry V. Levin Date: Sun Jan 1 08:00:00 2023 +0000 Update copyright years commit c397e2c040bce50bcdccb131f90115ba7e8bfc19 Author: Arsen Arsenovi Date: Sat Sep 17 23:34:48 2022 +0200 config.sub: add linux-mlibc targets commit 9f9f9b0b13197269848c76e3e057a3ed0680b4bf Author: Arsen Arsenovi Date: Sat Sep 17 23:34:47 2022 +0200 config.guess: support running on Managarm systems commit 87e6687749da7bb2ab158a79fa83721c19ed9246 Author: Arsen Arsenovi Date: Sat Sep 17 23:34:46 2022 +0200 config.sub: add managarm-{mlibc,kernel} targets commit 20403c5701973a4cbd7e0b4bbeb627fcd424a0f1 Author: Xiaotian Wu Date: Mon Aug 1 16:05:29 2022 +0800 Remove loongarchx32 commit 02ba26b218d3d3db6c56e014655faf463cefa983 Author: Alexander von Gluck IV Date: Wed May 25 15:43:13 2022 -0500 config.guess: Update Haiku guesses commit f56a7140386d08a531bcfd444d632b28c61a6329 Author: Bruno Haible Date: Sun May 8 19:08:08 2022 +0200 config.guess (x86_64:Linux:*:*): Detect 32-bit ABI. 2023-04-20 Nick Clifton * SECURITY.txt: New file. * src-release.sh (DEVO_SUPPORT): Add SECURITY.txt. 2022-12-31 Nick Clifton * 2.40 binutils branch created. 2022-10-10 Nick Clifton * src-release.sh: Add "-r " option to create reproducible tarballs based upon a fixed timestamp of . * binutils/README-how-to-make-a-release: Add a line showing how to use -r when creating a binutils release. 2022-10-04 Nick Clifton * README-maintainer-mode: Add a minimum version of dejagnu requirement. 2022-09-08 Nick Clifton * README-maintainer-mode: Update minimum version of gettext required. @ text @d3 1 a3 1 # Copyright (C) 2013-2024 Free Software Foundation, Inc. d50 1 a50 1 # The CRIS and V850 default linker scripts yields just one segment d58 1 a58 3 microblaze*-*-* | \ sparc*-*-* | \ v850*-*-*) a116 5 # This has to come after aarch64-*-linux* for aarch64-*-linux-gnu to hit the Linux branch. aarch64-*-gnu*) targ_emul=aarch64gnu targ_extra_emuls="aarch64elf aarch64elfb armelf armelfb" ;; a119 8 aarch64-*-nto*) targ_emul=aarch64nto targ_extra_emuls="aarch64elf aarch64elf32 aarch64elf32b aarch64elfb armelf armelfb" ;; aarch64-*-pe* | aarch64-*-mingw*) targ_emul=aarch64pe targ_extra_emuls="arm64pe" targ_extra_ofiles="deffilep.o pep-dll-aarch64.o pe-dll.o pdb.o" ;; d246 1 a246 1 targ_extra_emuls="avr1 avr25 avr3 avr31 avr35 avr4 avr5 avr51 avr6 avrxmega1 avrxmega2 avrxmega2_flmap avrxmega3 avrxmega4 avrxmega4_flmap avrxmega5 avrxmega6 avrxmega7 avrtiny" d372 3 d379 3 d386 3 d421 1 a421 1 targ_extra_ofiles="deffilep.o pdb.o pe-dll.o" d424 1 a424 1 targ_extra_ofiles="deffilep.o pdb.o pe-dll.o" d427 1 a427 1 targ_extra_ofiles="deffilep.o pdb.o pe-dll.o" ; d431 1 a431 1 targ_extra_ofiles="deffilep.o pdb.o pe-dll.o" a475 6 kvx-*-linux*) targ_emul=elf64kvx_linux targ_extra_emuls="elf64kvx" ;; kvx-*-*) targ_emul=elf64kvx; targ_extra_emuls="elf64kvx_linux elf32kvx" ;; a582 5 mips64*el-*-linux-gnuabi64) targ_emul=elf64ltsmip targ_extra_emuls="elf64btsmip elf32ltsmipn32 elf32btsmipn32 elf32ltsmip elf32btsmip" targ_extra_libpath=$targ_extra_emuls ;; a586 5 mips64*-*-linux-gnuabi64) targ_emul=elf64btsmip targ_extra_emuls="elf64ltsmip elf32btsmipn32 elf32ltsmipn32 elf32btsmip elf32ltsmip" targ_extra_libpath=$targ_extra_emuls ;; d867 6 d1045 1 a1045 1 targ_extra_ofiles="deffilep.o pdb.o pep-dll-x86_64.o pe-dll.o" d1049 1 a1049 1 targ_extra_ofiles="deffilep.o pdb.o pep-dll.o pe-dll.o" d1054 1 a1054 6 targ_extra_ofiles="deffilep.o pdb.o pep-dll.o pe-dll.o" ;; x86_64-*-gnu*) targ_emul=elf_x86_64 targ_extra_emuls="elf32_x86_64 elf_iamcu elf_i386" targ_extra_libpath="elf_i386 elf32_x86_64" tdir_elf_i386=`echo ${targ_alias} | sed -e 's/x86_64/i386/'` @ 1.1.1.11 log @Import binutils 2.45 (previous was 2.42) 2.45 Release Notes ------------------ Assembler: All sframe information generated by the assembler is now in compliance with the SFrame V2 specification. The assembler now supports .errif and .warnif directives, permitting user-controlled diagnostics with conditionals that are evaluated only at the end of assembly. The assembler predefines the symbol "GAS(version)". The assembler now supports the generation of SFrame stack trace information (.sframe) from CFI directives on s390 64-bit (s390x). For RISC-V, the ".option arch, -ext" format is deprecated due to its controversial use. For RISC-V, stop generating mapping symbols $x and replace with $x. The $x was defined to have the same ISA as previous $x, but now is defined to have the same ISA as elf architecture attribute. Once both used .option arch/rvc/norvc/push/pop directives (some code have different architectures with file attribute) and data directives in text, then the file need to be rebuilt since 2.45. The assembler supports the latest architecture extensions for the RISC-V, LoongArch and AArch64 architectures. Linker: The linker's --stats option can take an optional argument which if used is interpreted as a filename into which resource usage information should be stored. As an alternative mechanism the LD_STATS environment variable can also be used to achieve the same results. Resource usage information for various phases of the linking operation is now included in the report. If a map file is being produced then the information is also included there. The --no-stats option can be used to disable stat reporting, should it have been enabled. On s390 64-bit (s390x), generate SFrame stack trace information (.sframe) for the linker generated .plt section. On s390 32-bit, generate ".eh_frame" unwind information for the linker generated .plt section. Both features are enabled by default and can be disabled using linker option --no-ld-generated-unwind-info. On RISC-V, add new PLT formats, and GNU property merge rules for zicfiss and zicfilp extensions. On AVR, the default linker scripts now assert that the .progmem sections don't extend past 0xffff since they are accessed by means of LPM. For data in program memory that may be located past 0xffff, a .progmemx section should be used. On LoongArch, linker relaxation time complexity is no longer quadratic with respect to relocation counts. Linking time of large software should be improved. In addition R_LARCH_32_PCREL records are now checked for overflow. Other binary utilities: New versioned release of libsframe: libsframe.so.2. This release introduces versioned symbols with version node name LIBSFRAME_2.0. Some new symbols have been added to support the new flag SFRAME_F_FDE_FUNC_START_PCREL and retrieving flags from SFrame decoder and encoder objects: - Addition of sframe_decoder_get_flags, sframe_decoder_get_offsetof_fde_start_addr, sframe_encoder_get_flags, sframe_encoder_get_offsetof_fde_start_addr. This release also includes backward-incompatible ABI changes: - Removal of sframe_get_funcdesc_with_addr. - Change in the behavior of sframe_decoder_get_funcdesc_v2, sframe_encoder_add_funcdesc_v2 and sframe_encoder_write. For SFrame stack trace format, the function start address in each SFrame FDE has a changed encoding: The 32-bit signed integer now holds the offset of the start PC of the associated function from the sfde_func_start_address field itself (instead of the earlier where it was the offset from the start of the SFrame section itself). All SFrame sections generated by gas and ld now default to this new encoding, setting the (new) SFRAME_F_FDE_FUNC_START_PCREL flag. Relocatable SFrame links are now fixed. Readelf now recognizes RISC-V GNU_PROPERTY_RISCV_FEATURE_1_CFI_SS and GNU_PROPERTY_RISCV_FEATURE_1_CFI_LP_UNLABELED for zicfiss and zicfilp extensions. The LoongArch disassembler now properly accepts multiple disassembly options given by -M, such as "-M no-aliases,numeric". (Previously only the first option took effect.) 2.44 Release Notes ------------------ Assembler: Support for new architecture extensions for AArch64, Risc-V and x86. Linker: The default maximum page size was changed from 16KiB to 64KiB for LoongArch. This now supports mixed LTO and non-LTO object files in relocatable output. The ELF forms of the linker support a --image-base= option for compatibility with LLD. The --build-id= option now accepts an argument of "xx" which enables the use of the xxhash library. This produces a 128-bit hash and is 2-4x faster than md5 or sha1. The ELF linker option --package-metadata supports percent-encoded and %[string] encoded JSON payloads. Disassembler: The RISC-V disassembler now supports -M,max option like QEMU to dump instruction without checking architecture support as usual. GprofNG: Support added for hardware event counters for Neoverse-N1, Ampere-1, and Appliedmicro processors. Support for the Nios II target has been removed. 2.43 Release Notes ------------------ Assembler: * Add a .base64 directive to the assembler which allows base64 encoded binary data to be provided as strings. * Assembler macros as well as the bodies of .irp / .irpc / .rept can now use the syntax \+ to access the number of times a given macro has been executed. This is similar to the already existing \@@ syntax, except that the count is maintained on a per-macro basis. * References to FB and dollar labels, when supported, are no longer permitted in a radix other than 10. (Note that definitions of such labels were already thus restricted, except that leading zeroes were permitted). Linker: * Add support for DT_RELR type compressed runtime relocations for the AArch64 and LoongArch architectures. * Add --rosegment option which changes the -z separate-code option so that only one read-only segment is created (instead of two). * Add --section-ordering-file option to add extra mapping of input sections to output sections. * Add -plugin-save-temps to store plugin intermediate files permanently. Utilities: * Readelf will now display DT_RELR relocations in full detail. * Readelf now has a -j/--display-section option which takes the name or index of a section and displays its contents according to its type. The option can be used multiple times on the command line to display multiple sections. * When objdump or readelf are used to display the contents of a .eh_frame section they will now also display the contents of the .eh_frame_hdr section, if present. Gprofng: * Improved the support for hardware event counters: - Re-designed and streamlined the implementation. - Defined a common set of events for ARM processors. - Added specific events for AMD ZEN3 / ZEN4, and Intel Ice Lake processors. * Added a minimal support for RISC-V. General: * Target specific improvements for many architectures. @ text @d3 1 a3 1 # Copyright (C) 2013-2025 Free Software Foundation, Inc. d673 4 d1116 1 a1116 1 NATIVE_LIB_DIRS='/lib /usr/lib /usr/local/lib /usr/lib32' @ 1.1.1.12 log @Import binutils-2.46.0 (previous was 2.45) Changes in 2.45: * New versioned release of libsframe: libsframe.so.2. This release introduces versioned symbols with version node name LIBSFRAME_2.0. Some new symbols have been added to support the new flag SFRAME_F_FDE_FUNC_START_PCREL and retrieving flags from SFrame decoder and encoder objects: - Addition of sframe_decoder_get_flags, sframe_decoder_get_offsetof_fde_start_addr, sframe_encoder_get_flags, sframe_encoder_get_offsetof_fde_start_addr. This release also includes backward-incompatible ABI changes: - Removal of sframe_get_funcdesc_with_addr. - Change in the behavior of sframe_decoder_get_funcdesc_v2, sframe_encoder_add_funcdesc_v2 and sframe_encoder_write. * On s390 64-bit (s390x), gas, ld, objdump, and readelf now support generating and processing SFrame V2 stack trace information (.sframe). The assembler generates SFrame info from CFI directives with option "--gsframe". The linker generates SFrame info for the linker-generated .plt section and merges all .sframe sections. Both objdump and readelf dump SFrame info with option "--sframe[=]". * For SFrame stack trace format, the function start address in each SFrame FDE has a changed encoding: The 32-bit signed integer now holds the offset of the start PC of the associated function from the sfde_func_start_address field itself (instead of the earlier where it was the offset from the start of the SFrame section itself). All SFrame sections generated by gas and ld now default to this new encoding, setting the (new) SFRAME_F_FDE_FUNC_START_PCREL flag. Relocatable SFrame links are now fixed. * Readelf now recognizes RISC-V GNU_PROPERTY_RISCV_FEATURE_1_CFI_SS and GNU_PROPERTY_RISCV_FEATURE_1_CFI_LP_UNLABELED for zicfiss and zicfilp extensions. * For RISC-V dis-assembler, the definition of mapping symbol $x is changed, so the file needs to be rebuilt since 2.45 once used .option arch directives. * The LoongArch disassembler now properly accepts multiple disassembly options given by -M, such as "-M no-aliases,numeric". (Previously only the first option took effect.) @ text @d3 1 a3 1 # Copyright (C) 2013-2026 Free Software Foundation, Inc. d92 3 d104 1 a104 1 targ_extra_emuls="aarch64elfb aarch64elf aarch64elf32 aarch64elf32b armelfb armelf" d109 1 a109 1 targ_extra_emuls="aarch64elf aarch64elf32 aarch64elf32b aarch64elfb armelf armelfb" d113 1 a113 1 targ_extra_emuls="aarch64elfb aarch64elf aarch64elf32 aarch64elf32b armelfb armelf" d117 1 a117 1 targ_extra_emuls="aarch64elf aarch64elf32 aarch64elf32b aarch64elfb armelf armelfb" d125 1 a125 1 targ_extra_emuls="aarch64elf aarch64elf32 aarch64elf32b aarch64elfb armelf armelfb armelf_haiku" d214 2 a215 1 targ_extra_libpath=armelf_linux_eabi d222 2 a223 1 targ_extra_libpath=armelfb_linux_eabi d227 2 a228 1 targ_extra_libpath="armelfb_linux_eabi armelf_linux_fdpiceabi armelfb_linux_fdpiceabi" d234 8 d243 2 a244 1 targ_extra_libpath=armelfb_linux_eabi d265 2 a266 1 targ_extra_libpath=elf32bfinfd d269 2 a270 1 targ_extra_libpath=elf32bfinfd d273 2 a274 1 targ_extra_libpath=elf32bfin d281 2 a282 1 targ_extra_libpath="criself crislinux" d288 2 a289 1 targ_extra_libpath="crisaout crislinux" d381 1 d387 7 a393 9 i[3-7]86-*-solaris2*) targ_emul=elf_i386_sol2 targ_extra_emuls=elf_i386 targ64_extra_libpath=elf_x86_64_sol2 targ64_extra_emuls=elf_x86_64 ;; i[3-7]86-*-solaris*) targ_emul=elf_i386_sol2 targ_extra_emuls=elf_i386 d536 2 a537 1 targ_extra_libpath="elf32bsmip elf64bmip" d575 2 a576 1 targ_extra_libpath=elf32lr5900 d579 2 a580 1 targ_extra_libpath=elf32lr5900n32 d597 2 a598 1 targ_extra_libpath="elf64btsmip elf32ltsmipn32 elf32btsmipn32 elf32ltsmip elf32btsmip" d601 2 a602 1 targ_extra_libpath="elf32btsmipn32 elf32ltsmip elf32btsmip elf64ltsmip elf64btsmip" d606 2 a607 1 targ_extra_libpath="elf64ltsmip elf32btsmipn32 elf32ltsmipn32 elf32btsmip elf32ltsmip" d610 2 a611 1 targ_extra_libpath="elf32ltsmipn32 elf32btsmip elf32ltsmip elf64btsmip elf64ltsmip" d614 2 a615 1 targ_extra_libpath="elf32btsmip elf32ltsmipn32 elf64ltsmip elf32btsmipn32 elf64btsmip" d618 2 a619 1 targ_extra_libpath="elf32ltsmip elf32btsmipn32 elf64btsmip elf32ltsmipn32 elf64ltsmip" d623 2 a624 1 targ_extra_libpath="elf32ltsmip elf32btsmip elf32ltsmipn32 elf32btsmipn32 elf64ltsmip elf64btsmip elf32ltsmip_fbsd elf32btsmip_fbsd elf32btsmipn32_fbsd elf64ltsmip_fbsd elf64btsmip_fbsd" d628 2 a629 1 targ_extra_libpath="elf32ltsmip elf32btsmip elf32ltsmipn32 elf32btsmipn32 elf64ltsmip elf64btsmip elf32ltsmip_fbsd elf32btsmip_fbsd elf32ltsmipn32_fbsd elf64ltsmip_fbsd elf64btsmip_fbsd" d633 2 a634 1 targ_extra_libpath="elf32ltsmip elf32btsmip elf32ltsmipn32 elf32btsmipn32 elf64ltsmip elf64btsmip elf32ltsmipn32_fbsd elf32btsmip_fbsd elf32btsmipn32_fbsd elf64ltsmip_fbsd elf64btsmip_fbsd" d638 2 a639 1 targ_extra_libpath="elf32ltsmip elf32btsmip elf32ltsmipn32 elf32btsmipn32 elf64ltsmip elf64btsmip elf32ltsmip_fbsd elf32btsmipn32_fbsd elf32ltsmipn32_fbsd elf64ltsmip_fbsd elf64btsmip_fbsd" d695 2 a696 2 targ_extra_emuls=elf32ppcsim targ_extra_libpath=elf32ppc d701 1 a701 1 targ_extra_emuls=elf64ppc d717 1 a717 1 | powerpc*-*-kaos* | powerpc*-*-vxworks*) d721 1 a721 1 targ_extra_emuls=elf32ppcsim d725 1 a725 1 targ_extra_emuls=elf32ppcsim d727 1 d731 1 a731 1 targ_extra_emuls=elf32ppcsim d733 1 d811 2 a812 1 targ_extra_libpath="elf32briscv_ilp32f elf32briscv_ilp32 elf64briscv elf64briscv_lp64f elf64briscv_lp64 elf32lriscv elf32lriscv_ilp32f elf32lriscv_ilp32 elf64lriscv elf64lriscv_lp64f elf64lriscv_lp64" d815 2 a816 1 targ_extra_libpath="elf32lriscv_ilp32f elf32lriscv_ilp32 elf64lriscv elf64lriscv_lp64f elf64lriscv_lp64 elf32briscv elf32briscv_ilp32f elf32briscv_ilp32 elf64briscv elf64briscv_lp64f elf64briscv_lp64" d820 2 a821 1 targ_extra_libpath="elf64briscv elf32lriscv elf64lriscv" d825 2 a826 1 targ_extra_libpath="elf64lriscv elf32briscv elf64briscv" d829 2 a830 1 targ_extra_libpath="elf64briscv_lp64f elf64briscv_lp64 elf32briscv elf32briscv_ilp32f elf32briscv_ilp32 elf64lriscv elf64lriscv_lp64f elf64lriscv_lp64 elf32lriscv elf32lriscv_ilp32f elf32lriscv_ilp32" d833 2 a834 1 targ_extra_libpath="elf64lriscv_lp64f elf64lriscv_lp64 elf32lriscv elf32lriscv_ilp32f elf32lriscv_ilp32 elf64briscv elf64briscv_lp64f elf64briscv_lp64 elf32briscv elf32briscv_ilp32f elf32briscv_ilp32" d837 2 a838 1 targ_extra_libpath="elf32briscv elf64lriscv elf32lriscv" d841 2 a842 1 targ_extra_libpath="elf32lriscv elf64briscv elf32briscv" d860 2 a861 1 targ_extra_libpath=elf_s390 d868 1 d876 1 a876 1 targ_extra_emuls="shlelf_fd shelf_fd" d918 2 a919 1 targ_extra_libpath="elf64_sparc elf32_sparc" d923 1 d932 3 a934 2 targ_extra_libpath=elf32_sparc_sol2 targ_extra_emuls="elf64_sparc elf32_sparc" d941 1 d945 1 a945 1 sparc-*-solaris2*) a947 2 targ64_extra_libpath=elf64_sparc_sol2 targ64_extra_emuls=elf64_sparc d949 4 a952 3 sparc*-*-solaris*) targ_emul=elf32_sparc_sol2 targ_extra_emuls=elf32_sparc d971 2 a972 1 targ_extra_libpath="elf32_tic6x_elf_be elf32_tic6x_le elf32_tic6x_be" d975 2 a976 1 targ_extra_libpath="elf32_tic6x_linux_be elf32_tic6x_le elf32_tic6x_be" d979 2 a980 1 targ_extra_libpath="elf64tilegx_be elf32tilegx elf32tilegx_be" d983 2 a984 1 targ_extra_libpath="elf64tilegx elf32tilegx elf32tilegx_be" d1003 2 d1009 1 d1015 1 a1015 1 targ_extra_emuls=elf_iamcu d1022 4 a1025 4 x86_64-*-solaris2*) targ_emul=elf_x86_64_sol2 targ_extra_libpath=elf_i386_sol2 targ_extra_emuls="elf_x86_64 elf_i386" d1037 1 d1046 1 a1046 1 targ_extra_emuls="elf_x86_64 elf_i386 elf_iamcu" d1069 1 a1069 1 targ_extra_emuls=elf_iamcu d1123 4 d1135 4 @