diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-04-29 07:09:48 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-04-29 07:09:48 +0000 |
commit | 52998d3077131201c5a63a270806b31172293371 (patch) | |
tree | 5c5210e690540cdbb7c2120ef248afb78350b1a0 /gnu/usr.bin/gcc/config | |
parent | e749b0aa3557a4a6223ff81376f89bad06a5eefb (diff) |
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...
Diffstat (limited to 'gnu/usr.bin/gcc/config')
-rw-r--r-- | gnu/usr.bin/gcc/config/i386/netbsd.h | 4 | ||||
-rw-r--r-- | gnu/usr.bin/gcc/config/i386/openbsd.h | 2 | ||||
-rw-r--r-- | gnu/usr.bin/gcc/config/netbsd.h | 14 | ||||
-rw-r--r-- | gnu/usr.bin/gcc/config/openbsd.h | 14 |
4 files changed, 21 insertions, 13 deletions
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. */ |