diff options
author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-04-20 18:20:39 +0000 |
---|---|---|
committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-04-20 18:20:39 +0000 |
commit | 2c129d7022214a9fa3be36ae6764fe9835c8b597 (patch) | |
tree | 6af2bc9bef24c55c4233dbdc955842df62042749 /gcc/config/i386/winnt.c | |
parent | 819b6b3a39198c51b8e3199d11a097aaa322d1e6 (diff) | |
download | gcc-2c129d7022214a9fa3be36ae6764fe9835c8b597.tar.gz |
* target.h (encode_section_info): Add new argument carrying
the RTL to be modified by the hook.
* varasm.c (make_decl_rtl, output_constant_def): Update calls
to encode_section_info.
(default_encode_section_info): Take and use RTL argument,
don't use TREE_CST_RTL or DECL_RTL.
* output.h: Update prototype of default_encode_section_info.
* config/darwin.h (ASM_DECLARE_OBJECT_NAME)
(ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_ALIGNED_DECL_LOCAL):
Update calls to encode_section_info.
* config/darwin.c, config/arm/arm.c, config/arm/pe.c
* config/h8300/h8300.c, config/i386/winnt.c, config/m32r/m32r.c
* config/m68hc11/m68hc11.c, config/m88k/m88k.c, config/mcore/mcore.c
* config/mips/mips.c, config/mmix/mmix.c, config/pa/pa.c
* config/romp/romp.c, config/rs6000/rs6000.c, config/s390/s390.c
* config/v850/v850.c (TARGET_ENCODE_SECTION_INFO definitions):
Take and use RTL argument, don't use TREE_CST_RTL or DECL_RTL,
except for PE dllimport/dllexport. Update calls to
default_encode_section_info.
* config/darwin-protos.h, config/arm/arm-protos.h, config/i386-protos.h:
Update prototypes.
* doc/tm.texi (TARGET_ENCODE_SECTION_INFO): Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65859 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386/winnt.c')
-rw-r--r-- | gcc/config/i386/winnt.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/config/i386/winnt.c b/gcc/config/i386/winnt.c index 98e57922057..ee3448da339 100644 --- a/gcc/config/i386/winnt.c +++ b/gcc/config/i386/winnt.c @@ -420,14 +420,15 @@ gen_stdcall_suffix (decl) } void -i386_pe_encode_section_info (decl, first) +i386_pe_encode_section_info (decl, rtl, first) tree decl; + rtx rtl; int first; { if (!first) return; - default_encode_section_info (decl, first); + default_encode_section_info (decl, rtl, first); if (TREE_CODE (decl) == FUNCTION_DECL) { |