* dwarf2asm.c (dw2_force_const_mem): Add new parameter 'public'.
commit42e07529247dbd05d4dfd64340cda771b66a0f59
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 Nov 2005 19:57:55 +0000 (3 19:57 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 Nov 2005 19:57:55 +0000 (3 19:57 +0000)
tree262c3cfc442253a7dd1a33f90c4f37cc51a23e39
parentcfdc832f0d9472709f297ae5cbd37cfa34c2030f
* dwarf2asm.c (dw2_force_const_mem): Add new parameter 'public'.
On USE_LINKONCE_INDIRECT platforms, build a DECL_ONE_ONLY indirect
reference only if 'public' is true.
(dw2_output_indirect_constant_1): On USE_LINKONCE_INDIRECT platforms,
emit the .hidden directive only if the indirect reference is public.
(dw2_asm_output_encoded_addr_rtx): Add new parameter 'public'.
Pass it to dw2_force_const_mem.
* dwarf2asm.h (dw2_asm_output_encoded_addr_rtx): New param 'public'.
* dwarf2out.c (output_cfi): Adjust calls to above function.
(output_call_frame_info): Likewise.
* except.c (output_ttype): Pass TREE_PUBLIC of the type_info object
as 'public' argument to dw2_asm_output_encoded_addr_rtx.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106445 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/dwarf2asm.c
gcc/dwarf2asm.h
gcc/dwarf2out.c
gcc/except.c