summaryrefslogtreecommitdiff
path: root/gcc/cpplib.h
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2001-02-04 08:29:46 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2001-02-04 08:29:46 +0000
commit21419a5e9e736f80c0a3494249260bd3dd7a7f13 (patch)
tree815541fa1776fda28adf6a72453ad1d34ecb1aaf /gcc/cpplib.h
parent3b44c686f2c88d55af068cb05886129fe331d3d4 (diff)
downloadgcc-21419a5e9e736f80c0a3494249260bd3dd7a7f13.tar.gz
* cppinit.c (BC): New macro.
(builtin_array): Add __GXX_WEAK__. * cpplib.h (builtin_type): Add BT_WEAK. * cppmacro.c (builtin_macro): Handle BT_WEAK. * defaults.h (SUPPORTS_ONE_ONLY): Define. * varasm.c (SUPPORTS_ONE_ONLY): Do not define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39436 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cpplib.h')
-rw-r--r--gcc/cpplib.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/cpplib.h b/gcc/cpplib.h
index 9d0b8e253fb..eec4f1eb435 100644
--- a/gcc/cpplib.h
+++ b/gcc/cpplib.h
@@ -462,7 +462,9 @@ enum builtin_type
BT_BASE_FILE, /* `__BASE_FILE__' */
BT_INCLUDE_LEVEL, /* `__INCLUDE_LEVEL__' */
BT_TIME, /* `__TIME__' */
- BT_STDC /* `__STDC__' */
+ BT_STDC, /* `__STDC__' */
+ BT_WEAK /* Whether or not G++ supports weak
+ symbols. */
};
/* There is a slot in the hashnode for use by front ends when integrated