aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2006-08-08 18:57:25 +0000
committerDaniel Jacobowitz <drow@false.org>2006-08-08 18:57:25 +0000
commitce928021ab9b37594f8caa625b84783793ee5095 (patch)
treef4c08bdf65384d313ce82f462a7922af8086f106 /sim
parent9bdcbae7fe5d41beb308223fd65123fb700e2e1d (diff)
downloadfsf-binutils-gdb-ce928021ab9b37594f8caa625b84783793ee5095.zip
fsf-binutils-gdb-ce928021ab9b37594f8caa625b84783793ee5095.tar.gz
fsf-binutils-gdb-ce928021ab9b37594f8caa625b84783793ee5095.tar.bz2
gdb/
* config/sparc/embed.mt: New file. * configure.tgt (sparc-*-rtems*): Use embed.mt. sim/ * configure.ac (sparc-*-rtems*|sparc-*-elf*): Enable erc32 simulator. * Makefile.in (FLAGS_TO_PASS): Include libdir. * configure: Regenerated. sim/erc32/ * Makefile.in (func.o, help.o): Correct dependencies. * Makefile.in (install-sis): Honor DESTDIR.
Diffstat (limited to 'sim')
-rw-r--r--sim/ChangeLog6
-rw-r--r--sim/Makefile.in1
-rwxr-xr-xsim/configure9
-rw-r--r--sim/configure.ac5
-rw-r--r--sim/erc32/ChangeLog8
-rw-r--r--sim/erc32/Makefile.in6
6 files changed, 32 insertions, 3 deletions
diff --git a/sim/ChangeLog b/sim/ChangeLog
index 7975de3..b68d793 100644
--- a/sim/ChangeLog
+++ b/sim/ChangeLog
@@ -1,3 +1,9 @@
+2006-08-08 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * configure.ac (sparc-*-rtems*|sparc-*-elf*): Enable erc32 simulator.
+ * Makefile.in (FLAGS_TO_PASS): Include libdir.
+ * configure: Regenerated.
+
2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
* cris/configure: Regenerated.
diff --git a/sim/Makefile.in b/sim/Makefile.in
index 3960620..28ed0a8 100644
--- a/sim/Makefile.in
+++ b/sim/Makefile.in
@@ -84,6 +84,7 @@ FLAGS_TO_PASS = \
"exec_prefix=$(exec_prefix)" \
"bindir=$(bindir)" \
"mandir=$(mandir)" \
+ "libdir=$(libdir)" \
"against=$(against)" \
"AR=$(AR)" \
"AR_FLAGS=$(AR_FLAGS)" \
diff --git a/sim/configure b/sim/configure
index 8346c59..cc9a915 100755
--- a/sim/configure
+++ b/sim/configure
@@ -286,6 +286,7 @@ ac_subdirs_all="$ac_subdirs_all mips"
ac_subdirs_all="$ac_subdirs_all mn10300"
ac_subdirs_all="$ac_subdirs_all sh64"
ac_subdirs_all="$ac_subdirs_all sh"
+ac_subdirs_all="$ac_subdirs_all erc32"
ac_subdirs_all="$ac_subdirs_all ppc"
ac_subdirs_all="$ac_subdirs_all v850"
ac_subdirs_all="$ac_subdirs_all testsuite"
@@ -3525,6 +3526,14 @@ subdirs="$subdirs sh"
testsuite=yes
common=yes
;;
+ sparc-*-rtems*|sparc-*-elf*)
+
+
+subdirs="$subdirs erc32"
+
+ testsuite=yes
+ common=yes
+ ;;
powerpc*-*-* )
diff --git a/sim/configure.ac b/sim/configure.ac
index 205482b..b58206e 100644
--- a/sim/configure.ac
+++ b/sim/configure.ac
@@ -115,6 +115,11 @@ if test "${enable_sim}" != no; then
testsuite=yes
common=yes
;;
+ sparc-*-rtems*|sparc-*-elf*)
+ AC_CONFIG_SUBDIRS(erc32)
+ testsuite=yes
+ common=yes
+ ;;
powerpc*-*-* )
AC_CONFIG_SUBDIRS(ppc)
common=yes
diff --git a/sim/erc32/ChangeLog b/sim/erc32/ChangeLog
index e885bda..7cb028f 100644
--- a/sim/erc32/ChangeLog
+++ b/sim/erc32/ChangeLog
@@ -1,3 +1,11 @@
+2006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * Makefile.in (func.o, help.o): Correct dependencies.
+
+2006-08-08 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * Makefile.in (install-sis): Honor DESTDIR.
+
2006-06-13 Richard Earnshaw <rearnsha@arm.com>
* configure: Regenerated.
diff --git a/sim/erc32/Makefile.in b/sim/erc32/Makefile.in
index 845815a..bb4396b 100644
--- a/sim/erc32/Makefile.in
+++ b/sim/erc32/Makefile.in
@@ -53,7 +53,7 @@ end.h: end
# Copy the files into directories where they will be run.
install-sis: installdirs
n=`echo sis | sed '$(program_transform_name)'`; \
- $(INSTALL_PROGRAM) sis$(EXEEXT) $(bindir)/$$n$(EXEEXT)
+ $(INSTALL_PROGRAM) sis$(EXEEXT) $(DESTDIR)$(bindir)/$$n$(EXEEXT)
clean-sis:
rm -f sis end end.h
@@ -69,7 +69,7 @@ configure:
erc32.o: erc32.c sis.h end.h
exec.o: exec.c sis.h end.h
float.o: float.c sis.h end.h
-func.o: func.c
-help.o: help.c
+func.o: func.c sis.h end.h
+help.o: help.c sis.h end.h
interf.o: interf.c sis.h end.h
sis.o: sis.c sis.h end.h