diff options
author | Mark Mitchell <mark@codesourcery.com> | 2001-02-04 08:29:46 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2001-02-04 08:29:46 +0000 |
commit | 1ca894a0e403de4be67483069f8b59059ad53a31 (patch) | |
tree | 815541fa1776fda28adf6a72453ad1d34ecb1aaf /gcc/cpplib.h | |
parent | 52b357ea122caec736f311fecec2b3b9a0296da9 (diff) | |
download | gcc-1ca894a0e403de4be67483069f8b59059ad53a31.zip gcc-1ca894a0e403de4be67483069f8b59059ad53a31.tar.gz gcc-1ca894a0e403de4be67483069f8b59059ad53a31.tar.bz2 |
cppinit.c (BC): New macro.
* 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.
From-SVN: r39436
Diffstat (limited to 'gcc/cpplib.h')
-rw-r--r-- | gcc/cpplib.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/cpplib.h b/gcc/cpplib.h index 9d0b8e2..eec4f1e 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 |