diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-01-27 16:17:39 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-01-27 16:17:39 +0000 |
commit | b864739b5b1c4686d914702ad358ea4d8f898a8f (patch) | |
tree | 612feb4365b6606ca8a5b752114f712698b2215a /gcc/config/i386/winnt.c | |
parent | 96902dabaf9ebee35b792cc744ccb860877985fa (diff) | |
download | gcc-b864739b5b1c4686d914702ad358ea4d8f898a8f.tar.gz |
* doc/rtl.texi (SYMBOL_REF_DATA): Adjust documentation for new
opaque type.
* optabs.c (init_one_libfunc): Use SET_SYMBOL_REF_DECL.
* varasm.c (make_decl_rtl, build_constant_desc): Likewise.
(force_const_mem): Use SET_SYMBOL_REF_CONSTANT.
* rtl.h (rtunion_def): Remove rt_ptr.
(X0PTR): Delete.
(SYMBOL_REF_DATA): Use X0ANY instead of X0PTR.
(SET_SYMBOL_REF_DECL, SET_SYMBOL_REF_CONSTANT): New macros.
* config/i386/winnt.c (i386_pe_mark_dllexport)
(i386_pe_mark_dllimport): Use SET_SYMBOL_REF_DECL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110300 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386/winnt.c')
-rw-r--r-- | gcc/config/i386/winnt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/i386/winnt.c b/gcc/config/i386/winnt.c index 711766c84f5..c7eae6cb85d 100644 --- a/gcc/config/i386/winnt.c +++ b/gcc/config/i386/winnt.c @@ -229,7 +229,7 @@ i386_pe_mark_dllexport (tree decl) idp = get_identifier (newname); symref = gen_rtx_SYMBOL_REF (Pmode, IDENTIFIER_POINTER (idp)); - SYMBOL_REF_DATA (symref) = decl; + SET_SYMBOL_REF_DECL (symref, decl); XEXP (DECL_RTL (decl), 0) = symref; } @@ -274,7 +274,7 @@ i386_pe_mark_dllimport (tree decl) idp = get_identifier (newname); symref = gen_rtx_SYMBOL_REF (Pmode, IDENTIFIER_POINTER (idp)); - SYMBOL_REF_DATA (symref) = decl; + SET_SYMBOL_REF_DECL (symref, decl); newrtl = gen_rtx_MEM (Pmode,symref); XEXP (DECL_RTL (decl), 0) = newrtl; |