From 58dbaabdda7e6d768402df566df006492382b688 Mon Sep 17 00:00:00 2001 From: John Gilmore Date: Thu, 25 Feb 1993 03:21:32 +0000 Subject: [PATCH] Remove remnants of NAMES_HAVE_UNDERSCORE. --- gdb/tm-29k.h | 7 +------ gdb/tm-3b1.h | 5 ----- gdb/tm-68k-un.h | 7 +------ gdb/tm-altos.h | 5 ----- gdb/tm-arm.h | 7 +------ gdb/tm-convex.h | 7 +------ gdb/tm-es1800.h | 7 +------ gdb/tm-h8300.h | 5 +---- gdb/tm-hp300bsd.h | 7 +------ gdb/tm-hp300hpux.h | 7 +------ gdb/tm-hppa.h | 11 +++-------- gdb/tm-i386bsd.h | 4 ---- gdb/tm-i386v.h | 5 ----- gdb/tm-i960.h | 8 +------- gdb/tm-irix3.h | 7 +------ gdb/tm-isi.h | 7 +------ gdb/tm-linux.h | 15 +++++++-------- gdb/tm-m88k.h | 8 ++------ gdb/tm-merlin.h | 7 +------ gdb/tm-mips.h | 5 ----- gdb/tm-news.h | 7 +------ gdb/tm-np1.h | 6 +----- gdb/tm-pn.h | 5 +---- gdb/tm-pyr.h | 7 +------ gdb/tm-rs6000.h | 5 ----- gdb/tm-spc-un.h | 7 +------ gdb/tm-sun386.h | 3 +-- gdb/tm-sunos.h | 7 +------ gdb/tm-symmetry.h | 7 +------ gdb/tm-sysv4.h | 8 +------- gdb/tm-tahoe.h | 7 +------ gdb/tm-umax.h | 7 +------ gdb/tm-vax.h | 7 +------ gdb/tm-vx68.h | 7 +------ gdb/tm-z8k.h | 10 +--------- 35 files changed, 38 insertions(+), 203 deletions(-) diff --git a/gdb/tm-29k.h b/gdb/tm-29k.h index ab89a2aae4..206f9d486b 100644 --- a/gdb/tm-29k.h +++ b/gdb/tm-29k.h @@ -1,5 +1,5 @@ /* Parameters for target machine of AMD 29000, for GDB, the GNU debugger. - Copyright 1990, 1991 Free Software Foundation, Inc. + Copyright 1990, 1991, 1993 Free Software Foundation, Inc. Contributed by Cygnus Support. Written by Jim Kingdon. This file is part of GDB. @@ -35,11 +35,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ /* Recognize our magic number. */ #define BADMAG(x) ((x).f_magic != 0572) -/* Define this if the C compiler puts an underscore at the front - of external names before giving them to the linker. */ - -#define NAMES_HAVE_UNDERSCORE - /* Offset from address of function to start of its code. Zero on most machines. */ diff --git a/gdb/tm-3b1.h b/gdb/tm-3b1.h index 281b1d33e5..521364a66c 100644 --- a/gdb/tm-3b1.h +++ b/gdb/tm-3b1.h @@ -22,11 +22,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #define BPT_VECTOR 0x1 -/* Define this if the C compiler puts an underscore at the front - of external names before giving them to the linker. */ - -#define NAMES_HAVE_UNDERSCORE - /* Address of end of stack space. */ #define STACK_END_ADDR 0x300000 diff --git a/gdb/tm-68k-un.h b/gdb/tm-68k-un.h index 36a67eafc3..51054ffece 100644 --- a/gdb/tm-68k-un.h +++ b/gdb/tm-68k-un.h @@ -1,6 +1,6 @@ /* Target machine parameters for an embedded m68k, for GDB, the GNU debugger. This is for object file formats that do have underlines on symbols. - Copyright 1992 Free Software Foundation, Inc. + Copyright 1992, 1993 Free Software Foundation, Inc. This file is part of GDB. @@ -18,9 +18,4 @@ 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. */ -/* Define this if the C compiler puts an underscore at the front - of external names before giving them to the linker. */ - -#define NAMES_HAVE_UNDERSCORE - #include "tm-68k-noun.h" diff --git a/gdb/tm-altos.h b/gdb/tm-altos.h index bc0ca81028..db7a6eb796 100644 --- a/gdb/tm-altos.h +++ b/gdb/tm-altos.h @@ -22,11 +22,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #define BPT_VECTOR 0xe -/* Define this if the C compiler puts an underscore at the front - of external names before giving them to the linker. */ - -#undef NAMES_HAVE_UNDERSCORE - /* Address of end of stack space. */ /*#define STACK_END_ADDR (0xffffff)*/ diff --git a/gdb/tm-arm.h b/gdb/tm-arm.h index 8715195079..42263dc53f 100644 --- a/gdb/tm-arm.h +++ b/gdb/tm-arm.h @@ -1,5 +1,5 @@ /* Definitions to make GDB target for an ARM under RISCiX (4.3bsd). - Copyright (C) 1986, 1987, 1989, 1991 Free Software Foundation, Inc. + Copyright 1986, 1987, 1989, 1991, 1993 Free Software Foundation, Inc. This file is part of GDB. @@ -27,11 +27,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #define XFER_CORE_FILE -/* Define this if the C compiler puts an underscore at the front - of external names before giving them to the linker. */ - -#define NAMES_HAVE_UNDERSCORE - /* Offset from address of function to start of its code. Zero on most machines. */ diff --git a/gdb/tm-convex.h b/gdb/tm-convex.h index f0d236b1bd..ab7e66d980 100644 --- a/gdb/tm-convex.h +++ b/gdb/tm-convex.h @@ -1,5 +1,5 @@ /* Definitions to make GDB run on Convex Unix (4bsd) - Copyright (C) 1989, 1991 Free Software Foundation, Inc. + Copyright 1989, 1991, 1993 Free Software Foundation, Inc. This file is part of GDB. @@ -19,11 +19,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #define TARGET_BYTE_ORDER BIG_ENDIAN -/* Define this if the C compiler puts an underscore at the front - of external names before giving them to the linker. */ - -#define NAMES_HAVE_UNDERSCORE - /* There is come problem with the debugging symbols generated by the compiler such that the debugging symbol for the first line of a function overlap with the function prologue. */ diff --git a/gdb/tm-es1800.h b/gdb/tm-es1800.h index a1d34b1c35..18bd9c25ad 100644 --- a/gdb/tm-es1800.h +++ b/gdb/tm-es1800.h @@ -2,7 +2,7 @@ The code was originally written by Johan Holmberg TT/SJ Ericsson Telecom AB and later modified by Johan Henriksson TT/SJ. It was adapted to GDB 4.0 by Jan Norden TX/DK. - Copyright 1986, 1987, 1989, 1991, 1992 Free Software Foundation, Inc. + Copyright 1986, 1987, 1989, 1991, 1992, 1993 Free Software Foundation, Inc. This file is part of GDB. @@ -28,11 +28,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "tm-68k.h" -/* Define this if the C compiler puts an underscore at the front - of external names before giving them to the linker. */ - -#define NAMES_HAVE_UNDERSCORE - /* Longjmp stuff borrowed from sun3 configuration. Don't know if correct. FIXME. */ /* Offsets (in target ints) into jmp_buf. Not defined by Sun, but at least diff --git a/gdb/tm-h8300.h b/gdb/tm-h8300.h index 2f99c10071..a583ecc5a5 100644 --- a/gdb/tm-h8300.h +++ b/gdb/tm-h8300.h @@ -1,5 +1,5 @@ /* Parameters for execution on a H8/300 series machine. - Copyright (C) 1992 Free Software Foundation, Inc. + Copyright 1992, 1993 Free Software Foundation, Inc. This file is part of GDB. @@ -292,9 +292,6 @@ UNSIGNED_SHORT(read_memory_integer (read_register (SP_REGNUM), 2)) #define BEFORE_MAIN_LOOP_HOOK \ hms_before_main_loop(); - -#define NAMES_HAVE_UNDERSCORE - typedef unsigned short INSN_WORD; #define ADDR_BITS_REMOVE(addr) ((addr) & 0xffff) diff --git a/gdb/tm-hp300bsd.h b/gdb/tm-hp300bsd.h index 4edcbd3a80..24231a03fa 100644 --- a/gdb/tm-hp300bsd.h +++ b/gdb/tm-hp300bsd.h @@ -1,5 +1,5 @@ /* Parameters for target machine Hewlett-Packard 9000/300, running bsd. - Copyright (C) 1986, 1987, 1989, 1991 Free Software Foundation, Inc. + Copyright 1986, 1987, 1989, 1991, 1992, 1993 Free Software Foundation, Inc. This file is part of GDB. @@ -30,11 +30,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #define BPT_VECTOR 0x2 -/* Define this if the C compiler puts an underscore at the front - of external names before giving them to the linker. */ - -#define NAMES_HAVE_UNDERSCORE - #define TARGET_NBPG 4096 #define TARGET_UPAGES 3 diff --git a/gdb/tm-hp300hpux.h b/gdb/tm-hp300hpux.h index d900ba8145..49fb111be9 100644 --- a/gdb/tm-hp300hpux.h +++ b/gdb/tm-hp300hpux.h @@ -1,5 +1,5 @@ /* Parameters for execution on an HP 9000 model 320, for GDB, the GNU debugger. - Copyright (C) 1986, 1987, 1989, 1991 Free Software Foundation, Inc. + Copyright 1986, 1987, 1989, 1991, 1992, 1993 Free Software Foundation, Inc. This file is part of GDB. @@ -24,11 +24,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #define BPT_VECTOR 0x1 -/* Define this if the C compiler puts an underscore at the front - of external names before giving them to the linker. */ - -#define NAMES_HAVE_UNDERSCORE - /* Address of end of stack space. */ #define STACK_END_ADDR 0xFFF00000 diff --git a/gdb/tm-hppa.h b/gdb/tm-hppa.h index 872cd0d249..cdb6d85560 100644 --- a/gdb/tm-hppa.h +++ b/gdb/tm-hppa.h @@ -1,6 +1,6 @@ -/* Parameters for execution on a Hewlett-Packard PA-RISC machine, running - HPUX or BSD. - Copyright 1986, 1987, 1989, 1990, 1991, 1992 Free Software Foundation, Inc. +/* Parameters for execution on any Hewlett-Packard PA-RISC machine. + Copyright 1986, 1987, 1989, 1990, 1991, 1992, 1993 + Free Software Foundation, Inc. Contributed by the Center for Software Science at the University of Utah (pa-gdb-bugs@cs.utah.edu). @@ -50,11 +50,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #define ARGS_GROW_DOWN -/* Define this if the C compiler puts an underscore at the front - of external names before giving them to the linker. */ - -/* #define NAMES_HAVE_UNDERSCORE */ - /* Offset from address of function to start of its code. Zero on most machines. */ diff --git a/gdb/tm-i386bsd.h b/gdb/tm-i386bsd.h index bb884b11d7..1027233e57 100644 --- a/gdb/tm-i386bsd.h +++ b/gdb/tm-i386bsd.h @@ -23,10 +23,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ /* Most definitions from sysv could be used. */ #include "tm-i386v.h" -/* Define this if the C compiler puts an underscore at the front - of external names before giving them to the linker. */ -#define NAMES_HAVE_UNDERSCORE - /* 386BSD cannot handle the segment registers. */ #undef NUM_REGS #define NUM_REGS 11 diff --git a/gdb/tm-i386v.h b/gdb/tm-i386v.h index e317ca23ca..c9557d30a5 100644 --- a/gdb/tm-i386v.h +++ b/gdb/tm-i386v.h @@ -30,11 +30,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ /* turn this on when rest of gdb is ready */ #define IEEE_FLOAT -/* Define this if the C compiler puts an underscore at the front - of external names before giving them to the linker. */ - -/* #define NAMES_HAVE_UNDERSCORE */ - /* number of traps that happen between exec'ing the shell * to run an inferior, and when we finally get to * the inferior code. This is 2 on most implementations. diff --git a/gdb/tm-i960.h b/gdb/tm-i960.h index d7f74bd64e..773a8b7c1d 100644 --- a/gdb/tm-i960.h +++ b/gdb/tm-i960.h @@ -1,5 +1,5 @@ /* Parameters for target machine Intel 960, for GDB, the GNU debugger. - Copyright (C) 1990-1991 Free Software Foundation, Inc. + Copyright (C) 1990, 1991, 1993 Free Software Foundation, Inc. Contributed by Intel Corporation. This file is part of GDB. @@ -41,12 +41,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #define IEEE_FLOAT -/* Define this if the C compiler puts an underscore at the front - of external names before giving them to the linker. */ - -#define NAMES_HAVE_UNDERSCORE - - /* Offset from address of function to start of its code. Zero on most machines. */ diff --git a/gdb/tm-irix3.h b/gdb/tm-irix3.h index bcb2ab325f..e418b27a0e 100644 --- a/gdb/tm-irix3.h +++ b/gdb/tm-irix3.h @@ -1,5 +1,5 @@ /* Target machine description for SGI Iris under Irix, for GDB. - Copyright 1990, 1991, 1992 Free Software Foundation, Inc. + Copyright 1990, 1991, 1992, 1993 Free Software Foundation, Inc. This file is part of GDB. @@ -25,11 +25,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ /* Floating point is IEEE compliant */ #define IEEE_FLOAT -/* Define this if the C compiler puts an underscore at the front - of external names before giving them to the linker. */ - -/*#define NAMES_HAVE_UNDERSCORE*/ - /* SGI's assembler doesn't grok dollar signs in identifiers. So we use dots instead. This item must be coordinated with G++. */ #undef CPLUS_MARKER diff --git a/gdb/tm-isi.h b/gdb/tm-isi.h index e4e64923a6..558c8ba588 100644 --- a/gdb/tm-isi.h +++ b/gdb/tm-isi.h @@ -1,5 +1,5 @@ /* Definitions to target GDB on an ISI Optimum V (3.05) under 4.3bsd. - Copyright (C) 1987, 1989, 1991 Free Software Foundation, Inc. + Copyright (C) 1987, 1989, 1991, 1993 Free Software Foundation, Inc. This file is part of GDB. @@ -22,11 +22,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #define HAVE_68881 -/* Define this if the C compiler puts an underscore at the front - of external names before giving them to the linker. */ - -#define NAMES_HAVE_UNDERSCORE - /* Address of end of stack space. */ #define STACK_END_ADDR 0xfffe000 diff --git a/gdb/tm-linux.h b/gdb/tm-linux.h index f36505f5ac..671918d76b 100644 --- a/gdb/tm-linux.h +++ b/gdb/tm-linux.h @@ -1,27 +1,26 @@ -/* Macro definitions for linux. - Copyright (C) 1992 Free Software Foundation, Inc. +/* Definitions to target GDB to Linux on 386. + Copyright 1992, 1993 Free Software Foundation, Inc. + This file is part of GDB. + This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. + 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. */ -#if !defined (TM_LINUX_H) -#define TM_LINUX_H 1 /* number of traps that happen between exec'ing the shell * to run an inferior, and when we finally get to * the inferior code. This is 2 on most implementations. */ #define START_INFERIOR_TRAPS_EXPECTED 2 + #include "tm-i386v.h" -/* Define this if the C compiler puts an underscore at the front - of external names before giving them to the linker. */ -#define NAMES_HAVE_UNDERSCORE -#endif /* !defined (TM_LINUX_H) */ diff --git a/gdb/tm-m88k.h b/gdb/tm-m88k.h index 287d74f30e..cfcc5a27d5 100644 --- a/gdb/tm-m88k.h +++ b/gdb/tm-m88k.h @@ -1,5 +1,6 @@ /* Target machine description for generic Motorola 88000, for GDB. - Copyright 1986, 1987, 1988, 1989, 1990, 1991 Free Software Foundation, Inc. + Copyright 1986, 1987, 1988, 1989, 1990, 1991, 1993 + Free Software Foundation, Inc. This file is part of GDB. @@ -42,11 +43,6 @@ extern void init_extra_frame_info (); #define IEEE_FLOAT -/* Define this if the C compiler puts an underscore at the front - of external names before giving them to the linker. */ - -#define NAMES_HAVE_UNDERSCORE - /* Offset from address of function to start of its code. Zero on most machines. */ diff --git a/gdb/tm-merlin.h b/gdb/tm-merlin.h index b73aa27fcb..4191b04ed8 100644 --- a/gdb/tm-merlin.h +++ b/gdb/tm-merlin.h @@ -1,5 +1,5 @@ /* Definitions to target GDB to a merlin under utek 2.1 - Copyright (C) 1986, 1987, 1989, 1991 Free Software Foundation, Inc. + Copyright 1986, 1987, 1989, 1991, 1993 Free Software Foundation, Inc. This file is part of GDB. @@ -19,11 +19,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #define TARGET_BYTE_ORDER LITTLE_ENDIAN -/* Define this if the C compiler puts an underscore at the front - of external names before giving them to the linker. */ - -#define NAMES_HAVE_UNDERSCORE - /* Offset from address of function to start of its code. Zero on most machines. */ diff --git a/gdb/tm-mips.h b/gdb/tm-mips.h index 9096b06f57..5537ff8da2 100644 --- a/gdb/tm-mips.h +++ b/gdb/tm-mips.h @@ -39,11 +39,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ whether there is one or not. */ extern int mips_fpu; -/* Define this if the C compiler puts an underscore at the front - of external names before giving them to the linker. */ - -/*#define NAMES_HAVE_UNDERSCORE*/ - /* Offset from address of function to start of its code. Zero on most machines. */ diff --git a/gdb/tm-news.h b/gdb/tm-news.h index 6ec1fab0c1..d2490b311c 100644 --- a/gdb/tm-news.h +++ b/gdb/tm-news.h @@ -1,5 +1,5 @@ /* Parameters for execution on a Sony/NEWS, for GDB, the GNU debugger. - Copyright (C) 1987, 1989, 1991 Free Software Foundation, Inc. + Copyright 1987, 1989, 1991, 1993 Free Software Foundation, Inc. This file is part of GDB. @@ -29,11 +29,6 @@ Here is an m-news.h file for gdb. It supports the 68881 registers. #define HAVE_68881 -/* Define this if the C compiler puts an underscore at the front - of external names before giving them to the linker. */ - -#define NAMES_HAVE_UNDERSCORE - /* Use to compute STACK_END_ADDR. */ #define TARGET_UPAGES 2 #define TARGET_NBPG 4096 diff --git a/gdb/tm-np1.h b/gdb/tm-np1.h index 75a36aff0f..b7ea7d9f1f 100644 --- a/gdb/tm-np1.h +++ b/gdb/tm-np1.h @@ -1,5 +1,5 @@ /* Parameters for targeting on a Gould NP1, for GDB, the GNU debugger. - Copyright (C) 1986, 1987, 1989, 1991 Free Software Foundation, Inc. + Copyright 1986, 1987, 1989, 1991, 1993 Free Software Foundation, Inc. This file is part of GDB. @@ -74,10 +74,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #define NS32GMAGIC GNP1MAGIC #define NS32SMAGIC GPNMAGIC -/* Define this if the C compiler puts an underscore at the front - of external names before giving them to the linker. */ -#define NAMES_HAVE_UNDERSCORE - /* Address of blocks in N_LBRAC and N_RBRAC symbols are absolute addresses, not relative to start of source address. */ #define BLOCK_ADDRESS_ABSOLUTE diff --git a/gdb/tm-pn.h b/gdb/tm-pn.h index 3300c8c6da..37586c2bfd 100644 --- a/gdb/tm-pn.h +++ b/gdb/tm-pn.h @@ -1,5 +1,5 @@ /* Parameters for targe of a Gould Powernode, for GDB, the GNU debugger. - Copyright (C) 1986, 1987, 1989, 1991 Free Software Foundation, Inc. + Copyright 1986, 1987, 1989, 1991, 1993 Free Software Foundation, Inc. This file is part of GDB. @@ -75,9 +75,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ /* Define COFF and other symbolic names needed on NP1 */ #define NS32GMAGIC GDPMAGIC #define NS32SMAGIC PN_MAGIC -/* Define this if the C compiler puts an underscore at the front - of external names before giving them to the linker. */ -#define NAMES_HAVE_UNDERSCORE /* Offset from address of function to start of its code. Zero on most machines. */ diff --git a/gdb/tm-pyr.h b/gdb/tm-pyr.h index 0e2fea4530..e29eff993a 100644 --- a/gdb/tm-pyr.h +++ b/gdb/tm-pyr.h @@ -1,5 +1,5 @@ /* Definitions to make GDB run on a Pyramid under OSx 4.0 (4.2bsd). - Copyright (C) 1988, 1989, 1991 Free Software Foundation, Inc. + Copyright 1988, 1989, 1991, 1993 Free Software Foundation, Inc. This file is part of GDB. @@ -43,11 +43,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ (Older processors do not have IEEE NaNs). */ #define IEEE_FLOAT -/* Define this if the C compiler puts an underscore at the front - of external names before giving them to the linker. */ - -#define NAMES_HAVE_UNDERSCORE - /* Offset from address of function to start of its code. Zero on most machines. */ diff --git a/gdb/tm-rs6000.h b/gdb/tm-rs6000.h index 3d8e64e0ee..2f38f2c346 100644 --- a/gdb/tm-rs6000.h +++ b/gdb/tm-rs6000.h @@ -95,11 +95,6 @@ function_frame_info PARAMS ((CORE_ADDR, struct aix_framedata *)); #define TARGET_BYTE_ORDER BIG_ENDIAN -/* Define this if the C compiler puts an underscore at the front - of external names before giving them to the linker. */ - -#undef NAMES_HAVE_UNDERSCORE - /* AIX's assembler doesn't grok dollar signs in identifiers. So we use dots instead. This item must be coordinated with G++. */ #undef CPLUS_MARKER diff --git a/gdb/tm-spc-un.h b/gdb/tm-spc-un.h index 60821e9b85..128399b472 100644 --- a/gdb/tm-spc-un.h +++ b/gdb/tm-spc-un.h @@ -1,6 +1,6 @@ /* Target machine definitions for GDB for an embedded SPARC, that uses a file format where symbols have a leading underscore. - Copyright (C) 1989, 1992 Free Software Foundation, Inc. + Copyright 1989, 1992, 1993 Free Software Foundation, Inc. This file is part of GDB. @@ -19,8 +19,3 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "tm-spc-noun.h" - -/* The C compiler puts an underscore at the front - of external names before giving them to the linker. */ - -#define NAMES_HAVE_UNDERSCORE diff --git a/gdb/tm-sun386.h b/gdb/tm-sun386.h index e4da6a601a..28fec6a092 100644 --- a/gdb/tm-sun386.h +++ b/gdb/tm-sun386.h @@ -1,5 +1,5 @@ /* Parameters for a Sun 386i target machine, for GDB, the GNU debugger. - Copyright 1986, 1987, 1991, 1992 Free Software Foundation, Inc. + Copyright 1986, 1987, 1991, 1992, 1993 Free Software Foundation, Inc. This file is part of GDB. @@ -30,7 +30,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #define COFF_ENCAPSULATE #ifdef COFF_ENCAPSULATE -#define NAMES_HAVE_UNDERSCORE /* Avoid conflicts between our include files and (maybe not needed anymore). */ #define _EXEC_ diff --git a/gdb/tm-sunos.h b/gdb/tm-sunos.h index 551def8df6..2559efc912 100644 --- a/gdb/tm-sunos.h +++ b/gdb/tm-sunos.h @@ -1,6 +1,6 @@ /* 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. + Copyright 1990, 1991, 1992, 1993 Free Software Foundation, Inc. This file is part of GDB. @@ -18,9 +18,4 @@ 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. */ -/* 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. */ diff --git a/gdb/tm-symmetry.h b/gdb/tm-symmetry.h index 90c212e507..465e645186 100644 --- a/gdb/tm-symmetry.h +++ b/gdb/tm-symmetry.h @@ -1,6 +1,6 @@ /* Target machine definitions for GDB on a Sequent Symmetry under dynix 3.0, with Weitek 1167 and i387 support. - Copyright 1986, 1987, 1989, 1991, 1992 Free Software Foundation, Inc. + Copyright 1986, 1987, 1989, 1991, 1992, 1993 Free Software Foundation, Inc. Symmetry version by Jay Vosburgh (uunet!sequent!fubar). This file is part of GDB. @@ -25,11 +25,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #define TARGET_BYTE_ORDER LITTLE_ENDIAN -/* Define this if the C compiler puts an underscore at the front - of external names before giving them to the linker. */ - -#define NAMES_HAVE_UNDERSCORE - /* Offset from address of function to start of its code. Zero on most machines. */ diff --git a/gdb/tm-sysv4.h b/gdb/tm-sysv4.h index a058e8f3bf..f63d1749d9 100644 --- a/gdb/tm-sysv4.h +++ b/gdb/tm-sysv4.h @@ -1,5 +1,5 @@ /* Macro definitions for GDB on all SVR4 target systems. - Copyright (C) 1991, 1992, Free Software Foundation, Inc. + Copyright 1991, 1992, 1993 Free Software Foundation, Inc. Written by Fred Fish at Cygnus Support (fnf@cygnus.com). This file is part of GDB. @@ -34,12 +34,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #define IN_SOLIB_TRAMPOLINE(pc,name) ((name) && (STREQ ("_init", name))) -/* In SVR4 ELF files, the ABI defines (pg. 4-25) that "External C symbols - have the same names in C, assembly code, and object files' symbol - tables." So... */ - -#undef NAMES_HAVE_UNDERSCORE - /* It is unknown which, if any, SVR4 assemblers do not accept dollar signs in identifiers. The default in G++ is to use dots instead, for all SVR4 systems, so we make that our default also. FIXME: There should be some diff --git a/gdb/tm-tahoe.h b/gdb/tm-tahoe.h index 748316a9e8..df6de14592 100644 --- a/gdb/tm-tahoe.h +++ b/gdb/tm-tahoe.h @@ -1,5 +1,5 @@ /* Definitions to make GDB target for a tahoe running 4.3-Reno. - Copyright 1986, 1987, 1989, 1991, 1992 Free Software Foundation, Inc. + Copyright 1986, 1987, 1989, 1991, 1992, 1993 Free Software Foundation, Inc. This file is part of GDB. @@ -25,11 +25,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #define TARGET_BYTE_ORDER BIG_ENDIAN #define BITS_BIG_ENDIAN 0 -/* Define this if the C compiler puts an underscore at the front - of external names before giving them to the linker. */ - -#define NAMES_HAVE_UNDERSCORE - /* Offset from address of function to start of its code. Zero on most machines. */ diff --git a/gdb/tm-umax.h b/gdb/tm-umax.h index 0e74b92ad6..3ec6852a47 100644 --- a/gdb/tm-umax.h +++ b/gdb/tm-umax.h @@ -1,5 +1,5 @@ /* Definitions to make GDB run on an encore under umax 4.2 - Copyright (C) 1987, 1989, 1991 Free Software Foundation, Inc. + Copyright 1987, 1989, 1991, 1993 Free Software Foundation, Inc. This file is part of GDB. @@ -19,11 +19,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #define TARGET_BYTE_ORDER LITTLE_ENDIAN -/* Define this if the C compiler puts an underscore at the front - of external names before giving them to the linker. */ - -#define NAMES_HAVE_UNDERSCORE - /* Need to get function ends by adding this to epilogue address from .bf record, not using x_fsize field. */ #define FUNCTION_EPILOGUE_SIZE 4 diff --git a/gdb/tm-vax.h b/gdb/tm-vax.h index e6e27d644d..8631e04ea2 100644 --- a/gdb/tm-vax.h +++ b/gdb/tm-vax.h @@ -1,5 +1,5 @@ /* Definitions to make GDB run on a vax under 4.2bsd. - Copyright (C) 1986, 1987, 1989, 1991 Free Software Foundation, Inc. + Copyright 1986, 1987, 1989, 1991, 1993 Free Software Foundation, Inc. This file is part of GDB. @@ -40,11 +40,6 @@ fix to bug-gdb@prep.ai.mit.edu. */ #define TARGET_BYTE_ORDER LITTLE_ENDIAN -/* Define this if the C compiler puts an underscore at the front - of external names before giving them to the linker. */ - -#define NAMES_HAVE_UNDERSCORE - /* Offset from address of function to start of its code. Zero on most machines. */ diff --git a/gdb/tm-vx68.h b/gdb/tm-vx68.h index bafbf28c04..6f2ae25dfa 100644 --- a/gdb/tm-vx68.h +++ b/gdb/tm-vx68.h @@ -1,5 +1,5 @@ /* Target machine description for VxWorks 68k's, for GDB, the GNU debugger. - Copyright 1986, 1987, 1989, 1991, 1992 Free Software Foundation, Inc. + Copyright 1986, 1987, 1989, 1991, 1992, 1993 Free Software Foundation, Inc. Contributed by Cygnus Support. This file is part of GDB. @@ -29,11 +29,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "tm-68k.h" -/* Define this if the C compiler puts an underscore at the front - of external names before giving them to the linker. */ - -#define NAMES_HAVE_UNDERSCORE - /* We are guaranteed to have a zero frame pointer at bottom of stack, too. */ #undef FRAME_CHAIN #undef FRAME_CHAIN_VALID diff --git a/gdb/tm-z8k.h b/gdb/tm-z8k.h index 945c176dec..6be940395d 100644 --- a/gdb/tm-z8k.h +++ b/gdb/tm-z8k.h @@ -1,5 +1,5 @@ /* Parameters for execution on a z8000 series machine. - Copyright 1992,1993 Free Software Foundation, Inc. + Copyright 1992, 1993 Free Software Foundation, Inc. This file is part of GDB. @@ -17,8 +17,6 @@ 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. */ - - #define IEEE_FLOAT 1 #undef TARGET_INT_BIT @@ -304,11 +302,5 @@ int z8001_mode; #define PRINT_REGISTER_HOOK(regno) print_register_hook(regno) -/* Define this if the C compiler puts an underscore at the front - of external names before giving them to the linker. */ - -#define NAMES_HAVE_UNDERSCORE - - #define INIT_EXTRA_SYMTAB_INFO \ z8k_set_pointer_size(objfile->obfd->arch_info->bits_per_address); -- 2.34.1