From: niklas Date: Mon, 29 Apr 1996 07:09:44 +0000 (+0000) Subject: From NetBSD: X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=2e5de1e466eed43fd330dd475822f79625f65eff;p=openbsd From NetBSD: Re-enable weak alias and sysv pragma support that was lost when we upgraded to gcc-2.7. These changes have been submitted to the gcc maintainers. With luck, we won't have this problem again... --- diff --git a/gnu/usr.bin/gcc/config/i386/netbsd.h b/gnu/usr.bin/gcc/config/i386/netbsd.h index 180ff3533f7..bb5aba20ff4 100644 --- a/gnu/usr.bin/gcc/config/i386/netbsd.h +++ b/gnu/usr.bin/gcc/config/i386/netbsd.h @@ -1,3 +1,5 @@ +/* $OpenBSD: netbsd.h,v 1.2 1996/04/29 07:09:47 niklas Exp $ */ + /* This goes away when the math-emulator is fixed */ #define TARGET_CPU_DEFAULT 0400 /* TARGET_NO_FANCY_MATH_387 */ @@ -30,8 +32,6 @@ #undef WCHAR_TYPE_SIZE #define WCHAR_TYPE_SIZE 32 -#define HANDLE_SYSV_PRAGMA - /* There are conflicting reports about whether this system uses a different assembler syntax. wilson@cygnus.com says # is right. */ #undef COMMENT_BEGIN diff --git a/gnu/usr.bin/gcc/config/i386/openbsd.h b/gnu/usr.bin/gcc/config/i386/openbsd.h index b64352e15a7..71efeffafd6 100644 --- a/gnu/usr.bin/gcc/config/i386/openbsd.h +++ b/gnu/usr.bin/gcc/config/i386/openbsd.h @@ -31,7 +31,7 @@ #undef WCHAR_TYPE_SIZE #define WCHAR_TYPE_SIZE 32 -#define HANDLE_SYSV_PRAGMA +/* $OpenBSD: openbsd.h,v 1.2 1996/04/29 07:09:47 niklas Exp $ */ /* There are conflicting reports about whether this system uses a different assembler syntax. wilson@cygnus.com says # is right. */ diff --git a/gnu/usr.bin/gcc/config/netbsd.h b/gnu/usr.bin/gcc/config/netbsd.h index 8c0974ade4d..1c3c95ae56e 100644 --- a/gnu/usr.bin/gcc/config/netbsd.h +++ b/gnu/usr.bin/gcc/config/netbsd.h @@ -1,3 +1,5 @@ +/* $OpenBSD: netbsd.h,v 1.2 1996/04/29 07:09:44 niklas Exp $ */ + /* NETBSD_NATIVE is defined when gcc is integrated into the NetBSD source tree so it can be configured appropriately without using the GNU configure/build mechanism. */ @@ -74,16 +76,18 @@ * Currently, we need the DECLARE_OBJECT_SIZE stuff. */ -/* 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 - different pseudo-op names for these, they may be overridden in the - file which includes this one. */ +/* Define the strings used for the .type, .size, and .set directives. + These strings generally do not vary from one system running netbsd + to another, but if a given system needs to use different pseudo-op + names for these, they may be overridden in the file which includes + this one. */ #undef TYPE_ASM_OP #undef SIZE_ASM_OP +#undef SET_ASM_OP #define TYPE_ASM_OP ".type" #define SIZE_ASM_OP ".size" +#define SET_ASM_OP ".set" /* This is how we tell the assembler that a symbol is weak. */ diff --git a/gnu/usr.bin/gcc/config/openbsd.h b/gnu/usr.bin/gcc/config/openbsd.h index 99928328df6..549d56c850e 100644 --- a/gnu/usr.bin/gcc/config/openbsd.h +++ b/gnu/usr.bin/gcc/config/openbsd.h @@ -1,3 +1,5 @@ +/* $OpenBSD: openbsd.h,v 1.3 1996/04/29 07:09:45 niklas Exp $ */ + /* OPENBSD_NATIVE is defined when gcc is integrated into the OpenBSD source tree so it can be configured appropriately when using the 'wrapper' makefile with the GNU configure/build mechanism. The @@ -64,16 +66,18 @@ * Currently, we need the DECLARE_OBJECT_SIZE stuff. */ -/* 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 - different pseudo-op names for these, they may be overridden in the - file which includes this one. */ +/* Define the strings used for the .type, .size, and .set directives. + These strings generally do not vary from one system running openbsd + to another, but if a given system needs to use different pseudo-op + names for these, they may be overridden in the file which includes + this one. */ #undef TYPE_ASM_OP #undef SIZE_ASM_OP +#undef SET_ASM_OP #define TYPE_ASM_OP ".type" #define SIZE_ASM_OP ".size" +#define SET_ASM_OP ".set" /* This is how we tell the assembler that a symbol is weak. */