diff options
author | Jason Merrill <merrill@gnu.org> | 1995-05-16 01:02:59 +0000 |
---|---|---|
committer | Jason Merrill <merrill@gnu.org> | 1995-05-16 01:02:59 +0000 |
commit | daefd78b4ccc28ce52e5c8a7abebe5b6fc903cc3 (patch) | |
tree | 9d5f3bb804d2bbfb71d3beebd8c3bc2c6f1f2499 /gcc/tree.h | |
parent | 27a2e668fddbb747a6f62e3c2388ca846319ebe5 (diff) | |
download | gcc-daefd78b4ccc28ce52e5c8a7abebe5b6fc903cc3.zip gcc-daefd78b4ccc28ce52e5c8a7abebe5b6fc903cc3.tar.gz gcc-daefd78b4ccc28ce52e5c8a7abebe5b6fc903cc3.tar.bz2 |
Update weak symbol support
From-SVN: r9697
Diffstat (limited to 'gcc/tree.h')
-rw-r--r-- | gcc/tree.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -958,6 +958,9 @@ struct tree_type /* Used to indicate that this DECL represents a compiler-generated entity. */ #define DECL_ARTIFICIAL(NODE) ((NODE)->decl.artificial_flag) +/* Used to indicate that this DECL has weak linkage. */ +#define DECL_WEAK(NODE) ((NODE)->decl.weak_flag) + /* Additional flags for language-specific uses. */ #define DECL_LANG_FLAG_0(NODE) ((NODE)->decl.lang_flag_0) #define DECL_LANG_FLAG_1(NODE) ((NODE)->decl.lang_flag_1) @@ -997,7 +1000,8 @@ struct tree_decl unsigned static_ctor_flag : 1; unsigned static_dtor_flag : 1; unsigned artificial_flag : 1; - /* room for one more */ + unsigned weak_flag : 1; + /* room for no more */ unsigned lang_flag_0 : 1; unsigned lang_flag_1 : 1; |