aboutsummaryrefslogtreecommitdiff
path: root/gdb/tm-sunos.h
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1992-09-02 08:03:42 +0000
committerJohn Gilmore <gnu@cygnus>1992-09-02 08:03:42 +0000
commitebb3a1e550d0ac57495d66c5cda81b8d72af91e4 (patch)
tree5c49ca57d2436cb6fb9a105ee0af1a3f75a3b56a /gdb/tm-sunos.h
parentef2810d07e5c8590a541b9e1705790c5526616d6 (diff)
downloadgdb-ebb3a1e550d0ac57495d66c5cda81b8d72af91e4.zip
gdb-ebb3a1e550d0ac57495d66c5cda81b8d72af91e4.tar.gz
gdb-ebb3a1e550d0ac57495d66c5cda81b8d72af91e4.tar.bz2
* configure.in (*-*-sunos*): Use trailing * to match all
sub-variants of SunOS, e.g. sunos4* to match sunos4.1.1. (sparc-*-sunos3): Remove host & target. Sunos3 never shipped in production on Sun-4. ({a29k,i[34]86,i960}-*-elf): Add targets, equivalent to coff. (m68k-*-{aout,coff,elf}): Add targets, w/new config and tm files. (sparc-*-{aout,coff,elf}): Add targets, w/new config and tm files. * tm-68k-un.h, tm-68k-noun.h, tm-spc-un.h, tm-spc-noun.h: New target definitions for embedded with and without underlines on identifiers. FIXME -- this ought to be known by BFD instead. * tm-sparc.h, tm-sun2.h, tm-sun3.h: Delete NAMES_HAVE_UNDERSCORE: not a parameter of the CPU, but of the development environment. * tm-es1800.h, tm-sunos.h, tm-vx68.h: Add NAMES_HAVE_UNDERSCORE.
Diffstat (limited to 'gdb/tm-sunos.h')
-rw-r--r--gdb/tm-sunos.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/gdb/tm-sunos.h b/gdb/tm-sunos.h
index 8a23246..551def8 100644
--- a/gdb/tm-sunos.h
+++ b/gdb/tm-sunos.h
@@ -1,4 +1,6 @@
-/* Copyright (C) 1990, 1991 Free Software Foundation, Inc.
+/* Target machine sub-description for SunOS version 4.
+ This is included by other tm-*.h files to specify SunOS-specific stuff.
+ Copyright 1990, 1991, 1992 Free Software Foundation, Inc.
This file is part of GDB.
@@ -16,6 +18,9 @@ You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
-/* This is for SunOS version 4, not for earlier versions. */
+/* The C compiler puts an underscore at the front
+ of external names before giving them to the linker. */
+
+#define NAMES_HAVE_UNDERSCORE
#include "solib.h" /* Support for shared libraries. */