summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-05-12 00:26:17 -0400
committerMike Frysinger <vapier@gentoo.org>2021-05-18 11:07:27 -0400
commit7d3711a5a58674bd17b19bcf4e3f2edd60ba76c1 (patch)
treeaf629d58bbb6e0fe1b53133788255d124073a024 /config
parentFortran/OpenMP: Add missing EXEC_OMP_DEPOBJ case val [PR100642] (diff)
downloadgcc-7d3711a5a58674bd17b19bcf4e3f2edd60ba76c1.tar.gz
gcc-7d3711a5a58674bd17b19bcf4e3f2edd60ba76c1.tar.bz2
gcc-7d3711a5a58674bd17b19bcf4e3f2edd60ba76c1.tar.xz
config: delete unused sim macros
Nothing in gcc or binutils or gdb or anything anywhere uses these. config/ * acinclude.m4 (CYG_AC_PATH_SIM, CYG_AC_PATH_DEVO): Delete.
Diffstat (limited to 'config')
-rw-r--r--config/acinclude.m4102
1 files changed, 0 insertions, 102 deletions
diff --git a/config/acinclude.m4 b/config/acinclude.m4
index 8242b2c7a8a..0abccafa035 100644
--- a/config/acinclude.m4
+++ b/config/acinclude.m4
@@ -374,88 +374,6 @@ AC_SUBST(INTLLIB)
374]) 374])
375 375
376dnl ==================================================================== 376dnl ====================================================================
377dnl Find the simulator library.
378AC_DEFUN([CYG_AC_PATH_SIM], [
379dirlist=".. ../../ ../../../ ../../../../ ../../../../../ ../../../../../../ ../../../../../../.. ../../../../../../../.. ../../../../../../../../.. ../../../../../../../../../.. ../../../../../../../../../.."
380case "$target_cpu" in
381 powerpc) target_dir=ppc ;;
382 sparc*) target_dir=erc32 ;;
383 mips*) target_dir=mips ;;
384 *) target_dir=$target_cpu ;;
385esac
386dnl First look for the header file
387AC_MSG_CHECKING(for the simulator header file)
388AC_CACHE_VAL(ac_cv_c_simh,[
389for i in $dirlist; do
390 if test -f "${srcdir}/$i/include/remote-sim.h" ; then
391 ac_cv_c_simh=`(cd ${srcdir}/$i/include; ${PWDCMD-pwd})`
392 break
393 fi
394done
395])
396if test x"${ac_cv_c_simh}" != x; then
397 SIMHDIR="-I${ac_cv_c_simh}"
398 AC_MSG_RESULT(${ac_cv_c_simh})
399else
400 AC_MSG_RESULT(none)
401fi
402AC_SUBST(SIMHDIR)
403
404dnl See whether it's a devo or Foundry branch simulator
405AC_MSG_CHECKING(Whether this is a devo simulator )
406AC_CACHE_VAL(ac_cv_c_simdevo,[
407 CPPFLAGS="$CPPFLAGS $SIMHDIR"
408 AC_EGREP_HEADER([SIM_DESC sim_open.*struct _bfd], remote-sim.h,
409 ac_cv_c_simdevo=yes,
410 ac_cv_c_simdevo=no)
411])
412if test x"$ac_cv_c_simdevo" = x"yes" ; then
413 AC_DEFINE(HAVE_DEVO_SIM)
414fi
415AC_MSG_RESULT(${ac_cv_c_simdevo})
416AC_SUBST(HAVE_DEVO_SIM)
417
418dnl Next look for the library
419AC_MSG_CHECKING(for the simulator library)
420AC_CACHE_VAL(ac_cv_c_simlib,[
421for i in $dirlist; do
422 if test -f "$i/sim/$target_dir/Makefile" ; then
423 ac_cv_c_simlib=`(cd $i/sim/$target_dir; ${PWDCMD-pwd})`
424 fi
425done
426])
427if test x"${ac_cv_c_simlib}" != x; then
428 SIMLIB="-L${ac_cv_c_simlib}"
429else
430 AC_MSG_RESULT(none)
431 dnl FIXME: this is kinda bogus, cause umtimately the TM will build
432 dnl all the libraries for several architectures. But for now, this
433 dnl will work till then.
434dnl AC_MSG_CHECKING(for the simulator installed with the compiler libraries)
435 dnl Transform the name of the compiler to it's cross variant, unless
436 dnl CXX is set. This is also what CXX gets set to in the generated
437 dnl Makefile.
438 CROSS_GCC=`echo gcc | sed -e "s/^/$target/"`
439
440 dnl Get G++'s full path to libgcc.a
441changequote(,)
442 gccpath=`${CROSS_GCC} --print-libgcc | sed -e 's:[a-z0-9A-Z\.\-]*/libgcc.a::' -e 's:lib/gcc-lib/::'`lib
443changequote([,])
444 if test -f $gccpath/libsim.a -o -f $gccpath/libsim.so ; then
445 ac_cv_c_simlib="$gccpath/"
446 SIMLIB="-L${ac_cv_c_simlib}"
447 AC_MSG_RESULT(${ac_cv_c_simlib})
448 else
449 AM_CONDITIONAL(PSIM, test x$psim = xno)
450 SIMLIB=""
451 AC_MSG_RESULT(none)
452dnl ac_cv_c_simlib=none
453 fi
454fi
455AC_SUBST(SIMLIB)
456])
457
458dnl ====================================================================
459dnl Find the libiberty library. 377dnl Find the libiberty library.
460AC_DEFUN([CYG_AC_PATH_LIBIBERTY], [ 378AC_DEFUN([CYG_AC_PATH_LIBIBERTY], [
461AC_MSG_CHECKING(for the libiberty library in the build tree) 379AC_MSG_CHECKING(for the libiberty library in the build tree)
@@ -477,26 +395,6 @@ AC_SUBST(LIBIBERTY)
477]) 395])
478 396
479dnl ==================================================================== 397dnl ====================================================================
480AC_DEFUN([CYG_AC_PATH_DEVO], [
481AC_MSG_CHECKING(for devo headers in the source tree)
482dirlist=".. ../../ ../../../ ../../../../ ../../../../../ ../../../../../../ ../../../../../../.. ../../../../../../../.. ../../../../../../../../.. ../../../../../../../../../.."
483AC_CACHE_VAL(ac_cv_c_devoh,[
484for i in $dirlist; do
485 if test -f "${srcdir}/$i/include/remote-sim.h" ; then
486 ac_cv_c_devoh=`(cd ${srcdir}/$i/include; ${PWDCMD-pwd})`
487 fi
488done
489])
490if test x"${ac_cv_c_devoh}" != x; then
491 DEVOHDIR="-I${ac_cv_c_devoh}"
492 AC_MSG_RESULT(${ac_cv_c_devoh})
493else
494 AC_MSG_RESULT(none)
495fi
496AC_SUBST(DEVOHDIR)
497])
498
499dnl ====================================================================
500dnl Find all the ILU headers and libraries 398dnl Find all the ILU headers and libraries
501AC_DEFUN([CYG_AC_PATH_ILU], [ 399AC_DEFUN([CYG_AC_PATH_ILU], [
502AC_MSG_CHECKING(for ILU kernel headers in the source tree) 400AC_MSG_CHECKING(for ILU kernel headers in the source tree)