configure.tgt 1.4 KB

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