1# This is the binutils target specific file. This is invoked by the 2# autoconf generated configure script. Putting it in a separate shell 3# file lets us skip running autoconf when modifying target specific 4# information. 5 6# Copyright (C) 2012-2017 Free Software Foundation, Inc. 7# 8# This file is free software; you can redistribute it and/or modify 9# it under the terms of the GNU General Public License as published by 10# the Free Software Foundation; either version 3 of the License, or 11# (at your option) any later version. 12# 13# This program is distributed in the hope that it will be useful, 14# but WITHOUT ANY WARRANTY; without even the implied warranty of 15# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16# GNU General Public License for more details. 17# 18# You should have received a copy of the GNU General Public License 19# along with this program; see the file COPYING3. If not see 20# <http://www.gnu.org/licenses/>. 21 22# This file switches on the shell variable ${targ}, and sets the 23# following shell variables: 24# targ_emul name of emulation to use 25# targ_emul_vector name of vector to use 26 27case "${targ}" in 28 powerpc-*-aix[5-9]* | rs6000-*-aix[5-9]*) 29 targ_emul=aix 30 targ_emul_vector=bin_aix_emulation 31 ;; 32 33 powerpc-*-aix4.3* | rs6000-*-aix4.3*) 34 targ_emul=aix 35 targ_emul_vector=bin_aix_emulation 36 ;; 37 38 *) 39 targ_emul=vanilla 40 targ_emul_vector=bin_vanilla_emulation 41 ;; 42esac 43