aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNate Williams <nate@FreeBSD.org>1995-03-11 04:07:26 +0000
committerNate Williams <nate@FreeBSD.org>1995-03-11 04:07:26 +0000
commitc6bc11c2f6e7fda63ee45e28d1282cd3c5399ad8 (patch)
tree44f8a17428a0bfc70908a85238de67a1b0baeca3
parentb18f8c1ddab6d78c05e0c70a81c390051764fb1d (diff)
downloadsrc-c6bc11c2f6e7fda63ee45e28d1282cd3c5399ad8.tar.gz
src-c6bc11c2f6e7fda63ee45e28d1282cd3c5399ad8.zip
Added support for #pragma weak.
Obtained from: NetBSD
Notes
Notes: svn path=/head/; revision=6997
-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 a3cd69434d4e..e6286131a2ff 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