summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/cc
diff options
context:
space:
mode:
authornate <nate@FreeBSD.org>1995-03-11 04:07:26 +0000
committernate <nate@FreeBSD.org>1995-03-11 04:07:26 +0000
commitbf749b932cc994dab8c2931aad49aaa58eb395e8 (patch)
tree44f8a17428a0bfc70908a85238de67a1b0baeca3 /gnu/usr.bin/cc
parentdef41e081c88907cd33f369609fa63b7f4ddc285 (diff)
downloadFreeBSD-src-bf749b932cc994dab8c2931aad49aaa58eb395e8.zip
FreeBSD-src-bf749b932cc994dab8c2931aad49aaa58eb395e8.tar.gz
Added support for #pragma weak.
Obtained from: NetBSD
Diffstat (limited to 'gnu/usr.bin/cc')
-rw-r--r--gnu/usr.bin/cc/include/tm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/usr.bin/cc/include/tm.h b/gnu/usr.bin/cc/include/tm.h
index a3cd694..e6286131 100644
--- a/gnu/usr.bin/cc/include/tm.h
+++ b/gnu/usr.bin/cc/include/tm.h
@@ -124,6 +124,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
* 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
@@ -133,6 +135,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
OpenPOWER on IntegriCloud