aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1995-09-05 19:04:22 +0000
committerKen Raeburn <raeburn@cygnus>1995-09-05 19:04:22 +0000
commitaf0786b4013325351bbb5e0c50d0b0510cea62c2 (patch)
treee6cf4c761c911cd6451258e13f8880e8a0a917d6
parent109eb06cce362f040b062107897826fc1b01431e (diff)
downloadgdb-af0786b4013325351bbb5e0c50d0b0510cea62c2.zip
gdb-af0786b4013325351bbb5e0c50d0b0510cea62c2.tar.gz
gdb-af0786b4013325351bbb5e0c50d0b0510cea62c2.tar.bz2
some ns32k updates from Ian Dall
-rw-r--r--gprof/ChangeLog8
-rwxr-xr-xgprof/configure2
-rw-r--r--gprof/configure.in2
-rw-r--r--gprof/ns532.c12
-rw-r--r--gprof/ns532.h8
-rw-r--r--ld/ChangeLog9
-rw-r--r--ld/configure.in25
7 files changed, 47 insertions, 19 deletions
diff --git a/gprof/ChangeLog b/gprof/ChangeLog
index b094852..427c0c9 100644
--- a/gprof/ChangeLog
+++ b/gprof/ChangeLog
@@ -1,3 +1,11 @@
+Fri Aug 25 15:30:05 1995 Ken Raeburn <raeburn@cygnus.com>
+
+ NS32K changes from Ian Dall:
+ * configure.in: Use ns32k, not ns532.
+ * ns532.c: Include symtab.h.
+ (find_call): Renamed from findcall. Print a message.
+ * ns532.h: Remove dummy.h comments.
+
Tue Aug 22 10:00:45 1995 Jeffrey A. Law <law@rtl.cygnus.com>
* Makefile.in (install): Remove "brokensed" hack, unnecessary now
diff --git a/gprof/configure b/gprof/configure
index b9a6fca..2408cbd 100755
--- a/gprof/configure
+++ b/gprof/configure
@@ -603,7 +603,7 @@ i[345]86-*-*) MY_TARGET=i386 ;;
sparc-*-*) MY_TARGET=sparc ;;
tahoe-*-*) MY_TARGET=tahoe ;;
vax-*-*) MY_TARGET=vax ;;
-ns532-*-*|*-pc532-*) MY_TARGET=ns532;;
+ns32k-*-*|*-pc532-*) MY_TARGET=ns532;;
*-*-*) MY_TARGET=dummy ;;
esac
diff --git a/gprof/configure.in b/gprof/configure.in
index d75454c..7849a85 100644
--- a/gprof/configure.in
+++ b/gprof/configure.in
@@ -16,7 +16,7 @@ changequote([,])dnl
sparc-*-*) MY_TARGET=sparc ;;
tahoe-*-*) MY_TARGET=tahoe ;;
vax-*-*) MY_TARGET=vax ;;
-ns532-*-*|*-pc532-*) MY_TARGET=ns532;;
+ns32k-*-*) MY_TARGET=ns532;;
*-*-*) MY_TARGET=dummy ;;
esac
diff --git a/gprof/ns532.c b/gprof/ns532.c
index ae3f801..c68fae4 100644
--- a/gprof/ns532.c
+++ b/gprof/ns532.c
@@ -1,13 +1,17 @@
#include "gprof.h"
+#include "symtab.h"
/*
* dummy.c -- This file should be used for an unsupported processor type.
* It does nothing, but prevents findcall() from being unresolved.
*/
-findcall (parentp, p_lowpc, p_highpc)
- nltype *parentp;
- unsigned long p_lowpc;
- unsigned long p_highpc;
+void
+find_call (parent, p_lowpc, p_highpc)
+ Sym *parent;
+ bfd_vma p_lowpc;
+ bfd_vma p_highpc;
{
+ fprintf (stderr, "%s: -c supported on this machine architecture\n",
+ whoami);
}
diff --git a/gprof/ns532.h b/gprof/ns532.h
index 9eb92a5..2fa2233 100644
--- a/gprof/ns532.h
+++ b/gprof/ns532.h
@@ -34,13 +34,9 @@
*/
/*
- * dummy.h -- This file should be used when a processor is not yet supported.
+ * offset (in bytes) of the code from the entry address of a routine.
+ * (see asgnsamples for use and explanation.)
*/
-
- /*
- * offset (in bytes) of the code from the entry address of a routine.
- * (see asgnsamples for use and explanation.)
- */
#ifdef MACH
#include <machine/mach_param.h>
#define hertz() (HZ)
diff --git a/ld/ChangeLog b/ld/ChangeLog
index f5a8067..794cf60 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,12 @@
+Tue Sep 5 14:55:24 1995 Ken Raeburn <raeburn@cygnus.com>
+
+ * configure.in: Treat ns32k-pc532-ux* like ns32k-pc532-mach*, and
+ ns32k-pc532-lites* like ns32k-pc532-netbsd*. From Ian Dall.
+
+Fri Sep 1 22:29:52 1995 Doug Evans <dje@canuck.cygnus.com>
+
+ * scripttempl/pe.sc: Fix typo in spelling of .ctors/.dtors.
+
Fri Sep 1 13:13:29 1995 Ian Lance Taylor <ian@cygnus.com>
* ldmain.c (warning_callback): Add abfd, section, and address
diff --git a/ld/configure.in b/ld/configure.in
index ba5e5b8..5bc6959 100644
--- a/ld/configure.in
+++ b/ld/configure.in
@@ -39,7 +39,7 @@ for targ in $target $canon_targets
do
case "${targ}" in
-
+ arm-*-pe) ld_target=arm-pe ;;
# start-sanitize-arc
arc-*-elf*) ld_target=arc-elf ;;
# end-sanitize-arc
@@ -75,6 +75,7 @@ case "${targ}" in
i[345]86-*-bsdi*) ld_target=i386-bsd ;;
i[345]86-*-aout) ld_target=i386-aout ;;
i[345]86-*-linuxaout*) ld_target=i386-laout ;;
+ i[345]86-*-linuxoldld) ld_target=i386-laout ;;
i[345]86-*-linux*) ld_target=i386-linux ;;
i[345]86-*-sysv4*) ld_target=i386-elf ;;
i[345]86-*-unixware) ld_target=i386-elf ;;
@@ -83,15 +84,21 @@ case "${targ}" in
i[345]86-*-elf*) ld_target=i386-elf ;;
i[345]86-*-sysv*) ld_target=i386-coff ;;
i[345]86-*-mach*) ld_target=i386-mach ;;
- i[345]86-*-gnuelf*) ld_target=i386-gelf ;;
- i[345]86-*-gnu*) ld_target=i386-gnu ;;
+ i[345]86-*-gnu*) ld_target=i386-gelf ;;
+ i[345]86-*-msdos*) ld_target=i386-msdos ;;
+ i[345]86-*-moss*) ld_target=i386-moss ;;
+ i[345]86-*-winnt) ld_target=i386-pe ;;
+ i[345]86-*-pe) ld_target=i386-pe ;;
+ i[345]86-*-win32) ld_target=i386-pe ;;
m8*-*-*) ld_target=m88k-bcs ;;
a29k-*-udi) ld_target=sa29200 ;;
a29k-*-ebmon) ld_target=ebmon29k ;;
a29k-*-*) ld_target=coff-a29k ;;
# arm-*-riscix*) ld_target=riscix ;;
+ arm-*-aout | armel-*-aout)
+ ld_target=arml-aout ;;
+ armeb-*-aout) ld_target=armb-aout ;;
h8300-*-hms) ld_target=coff-h8300 ;;
- h8300h-*-hms) ld_target=cf-h8300h ;;
h8500-*-hms) ld_target=coff-h8500 ;;
sh-*-*) ld_target=coff-sh ;;
# start-sanitize-rce
@@ -117,13 +124,17 @@ case "${targ}" in
mips*el-*-ecoff*) ld_target=mipsl-idt ;;
mips*-*-ecoff*) ld_target=mips-idt ;;
mips*-dec-bsd*) ld_target=mipsbsd ;;
+# CYGNUS LOCAL jsmith
+ mips*vr4300el-*-elf*) ld_target=mips-vr4300el ;;
+ mips*vr4300-*-elf*) ld_target=mips-vr4300 ;;
+# END CYGNUS LOCAL
mips*el-*-elf*) ld_target=mipsl-elf32 ;;
mips*-*-elf*) ld_target=mipsb-elf32 ;;
alpha-*-osf*) ld_target=alpha ;;
alpha-*-netware*) ld_target=alpha ;;
- z8k-*-sim | z8k-*-coff) ld_target=z8ksim ;;
- ns32k-pc532-mach) ld_target=pc532mach ;;
- ns32k-pc532-netbsd*) ld_target=ns32k-nbsd ;;
+ z8k-*-coff) ld_target=z8k-coff ;;
+ ns32k-pc532-mach* | ns32k-pc532-ux*) ld_target=pc532mach ;;
+ ns32k-pc532-netbsd* | ns32k-pc532-lites*) ld_target=ns32k-nbsd ;;
powerpc-*-elf* | powerpc-*-eabi*) ld_target=ppc-elf32 ;;
powerpcle-*-elf* | powerpcle-*-eabi*) ld_target=ppcle-elf32 ;;
powerpc-*-netware*) ld_target=ppc-nw ;;