Enable `#pragma weak'

This commit is contained in:
pk 1994-12-23 21:16:50 +00:00
parent 2a1aad2b21
commit 7f13497f11
4 changed files with 16 additions and 5 deletions

View File

@ -1,6 +1,6 @@
/* Configuration for an i386 running NetBSD as the target machine.
$Id: tm.h,v 1.7 1994/12/21 11:24:58 cgd Exp $
$Id: tm.h,v 1.8 1994/12/23 21:16:50 pk Exp $
*/
/* This is tested by i386gas.h. */
@ -82,9 +82,10 @@
/*
* Some imports from svr4.h in support of shared libraries.
* Currently, we need the DECLARE_OBJECT_SIZE stuff.
*/
#define HANDLE_SYSV_PRAGMA
/* Define the strings used for the special svr4 .type and .size directives.
These strings generally do not vary from one system running svr4 to
another, but if a given system (e.g. m88k running svr) needs to use
@ -94,6 +95,7 @@
#define TYPE_ASM_OP ".type"
#define SIZE_ASM_OP ".size"
#define WEAK_ASM_OP ".weak"
#define SET_ASM_OP ".set"
/* The following macro defines the format used to output the second
operand of the .type assembler directive. Different svr4 assemblers

View File

@ -1,4 +1,4 @@
/* $Id: tm.h,v 1.4 1994/12/21 11:25:22 cgd Exp $ */
/* $Id: tm.h,v 1.5 1994/12/23 21:16:58 pk Exp $ */
#include <machine/ansi.h>
#include "m68k/m68k.h"
@ -79,6 +79,8 @@
* Some imports from svr4.h in support of shared libraries.
*/
#define HANDLE_SYSV_PRAGMA
/* Define the strings used for the special svr4 .type and .size directives.
These strings generally do not vary from one system running svr4 to
another, but if a given system (e.g. m88k running svr) needs to use
@ -88,6 +90,7 @@
#define TYPE_ASM_OP ".type"
#define SIZE_ASM_OP ".size"
#define WEAK_ASM_OP ".weak"
#define SET_ASM_OP ".set"
/* The following macro defines the format used to output the second
operand of the .type assembler directive. Different svr4 assemblers

View File

@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License
along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
$Id: tm.h,v 1.4 1994/12/21 11:25:35 cgd Exp $
$Id: tm.h,v 1.5 1994/12/23 21:17:00 pk Exp $
*/
#if 0
@ -130,6 +130,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
* Some imports from svr4.h in support of shared libraries.
*/
#define HANDLE_SYSV_PRAGMA
/* Define the strings used for the special svr4 .type and .size directives.
These strings generally do not vary from one system running svr4 to
another, but if a given system (e.g. m88k running svr) needs to use
@ -139,6 +141,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
#define TYPE_ASM_OP ".type"
#define SIZE_ASM_OP ".size"
#define WEAK_ASM_OP ".weak"
#define SET_ASM_OP ".set"
/* The following macro defines the format used to output the second
operand of the .type assembler directive. Different svr4 assemblers

View File

@ -1,5 +1,5 @@
/* Configuration for NetBSD Sparc */
/* $Id: tm.h,v 1.7 1994/12/21 11:25:51 cgd Exp $ */
/* $Id: tm.h,v 1.8 1994/12/23 21:17:02 pk Exp $ */
#include "sparc/sparc.h"
@ -22,6 +22,8 @@
* Some imports from svr4.h in support of shared libraries.
*/
#define HANDLE_SYSV_PRAGMA
/* Define the strings used for the special svr4 .type and .size directives.
These strings generally do not vary from one system running svr4 to
another, but if a given system (e.g. m88k running svr) needs to use
@ -31,6 +33,7 @@
#define TYPE_ASM_OP ".type"
#define SIZE_ASM_OP ".size"
#define WEAK_ASM_OP ".weak"
#define SET_ASM_OP ".set"
/* The following macro defines the format used to output the second
operand of the .type assembler directive. Different svr4 assemblers