* target.h (encode_section_info): Add new argument carrying
commit2c129d7022214a9fa3be36ae6764fe9835c8b597
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 20 Apr 2003 18:20:39 +0000 (20 18:20 +0000)
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 20 Apr 2003 18:20:39 +0000 (20 18:20 +0000)
tree6af2bc9bef24c55c4233dbdc955842df62042749
parent819b6b3a39198c51b8e3199d11a097aaa322d1e6
* 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
25 files changed:
gcc/ChangeLog
gcc/config/arm/arm-protos.h
gcc/config/arm/arm.c
gcc/config/arm/pe.c
gcc/config/darwin-protos.h
gcc/config/darwin.c
gcc/config/darwin.h
gcc/config/h8300/h8300.c
gcc/config/i386/i386-protos.h
gcc/config/i386/winnt.c
gcc/config/m32r/m32r.c
gcc/config/m68hc11/m68hc11.c
gcc/config/m88k/m88k.c
gcc/config/mcore/mcore.c
gcc/config/mips/mips.c
gcc/config/mmix/mmix.c
gcc/config/pa/pa.c
gcc/config/romp/romp.c
gcc/config/rs6000/rs6000.c
gcc/config/s390/s390.c
gcc/config/v850/v850.c
gcc/doc/tm.texi
gcc/output.h
gcc/target.h
gcc/varasm.c