aboutsummaryrefslogtreecommitdiff
path: root/bfd/configure.in
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1996-12-28 04:09:34 +0000
committerFred Fish <fnf@specifix.com>1996-12-28 04:09:34 +0000
commitcd6213ffae0d56407113218fe4241078e8bf29f6 (patch)
treea958ecbb0af6558cf9a92fd2aaa565d19925351f /bfd/configure.in
parent0b019fa141e52458e9e463bc088cb11191c37b47 (diff)
downloadgdb-cd6213ffae0d56407113218fe4241078e8bf29f6.zip
gdb-cd6213ffae0d56407113218fe4241078e8bf29f6.tar.gz
gdb-cd6213ffae0d56407113218fe4241078e8bf29f6.tar.bz2
(Lay some groundwork for TIc80 port that will be filled in incrementally.)
* TODO: Correct a misspelling. start-sanitize-tic80 * coff-tic80.c: New file for TI TMS320C80 (MVP). * cpu-tic80.c: New file for TI TMS320C80 (MVP). * configure.in (case $vec): Add tic80coff_vec entry. * configure: Regenerate with autoconf. * archures.c (bfd_tic80_arch): Declare. * bfd-in2.h (enum bfd_architecture): Add bfd_arch_tic80. * config.bfd (case ${targ}): Add tic80*-*-coff* target. * targets.c (tic80coff_vec): Add decl as extern bfd_target. (bfd_target_vector): Add tic80coff_vec entry. end-sanitize-tic80
Diffstat (limited to 'bfd/configure.in')
-rw-r--r--bfd/configure.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/bfd/configure.in b/bfd/configure.in
index 467db82..621ca7f 100644
--- a/bfd/configure.in
+++ b/bfd/configure.in
@@ -143,6 +143,7 @@ BFD_NEED_DECLARATION(strstr)
BFD_NEED_DECLARATION(malloc)
BFD_NEED_DECLARATION(realloc)
BFD_NEED_DECLARATION(free)
+BFD_NEED_DECLARATION(getenv)
# If we are configured native, pick a core file support file.
COREFILE=
@@ -232,6 +233,7 @@ changequote([,])dnl
;;
mips-sgi-irix4*) COREFILE=irix-core.o ;;
mips-sgi-irix5*) COREFILE=irix-core.o ;;
+ mips-sgi-irix6*) COREFILE=irix-core.o ;;
mips-*-mach3*)
COREFILE=trad-core.o
AC_DEFINE(TRAD_HEADER,"hosts/mipsmach3.h")
@@ -541,6 +543,9 @@ do
sunos_big_vec) tb="$tb sunos.o aout32.o" ;;
symbolsrec_vec) tb="$tb srec.o" ;;
tekhex_vec) tb="$tb tekhex.o" ;;
+# start-sanitize-tic80
+ tic80coff_vec) tp="$tp coff-tic80.o" ;;
+# end-sanitize-tic80
we32kcoff_vec) tb="$tb coff-we32k.o" ;;
z8kcoff_vec) tb="$tb coff-z8k.o reloc16.o" ;;
w65_vec) tb="$tb coff-w65.o reloc16.o" ;;
@@ -580,9 +585,13 @@ if test x${all_targets} = xtrue ; then
bfd_backends="${bfd_backends}"' $(ALL_BACKENDS)'
bfd_machines="${bfd_machines}"' $(ALL_MACHINES)'
selvecs=
+ havevecs=
selarchs=
else # all_targets is true
# Only set these if they will be nonempty, for the clever echo.
+ havevecs=
+ test -n "$selvecs" &&
+ havevecs=`echo $selvecs | sed -e 's/^/-DHAVE_/' -e 's/ \(.\)/ -DHAVE_\1/g'`
test -n "$selvecs" &&
selvecs=`echo $selvecs | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
test -n "$selarchs" &&
@@ -613,6 +622,7 @@ tdefaults=""
test -n "${defvec}" && tdefaults="${tdefaults} -DDEFAULT_VECTOR=${defvec}"
test -n "${selvecs}" && tdefaults="${tdefaults} -DSELECT_VECS='${selvecs}'"
test -n "${selarchs}" && tdefaults="${tdefaults} -DSELECT_ARCHITECTURES='${selarchs}'"
+test -n "${havevecs}" && tdefaults="${tdefaults} ${havevecs}"
AC_SUBST(tdefaults)
dnl AC_CHECK_HEADERS(sys/mman.h)