dwarf2asm.c (dw2_force_const_mem): Add new parameter 'public'.
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 3 Nov 2005 19:57:55 +0000 (19:57 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Thu, 3 Nov 2005 19:57:55 +0000 (19:57 +0000)
commitb03e9863c9802d3c143c07613be95b0a91518e18
tree262c3cfc442253a7dd1a33f90c4f37cc51a23e39
parenta39041fae9f62c038e457f754c7578fb7e772dbb
dwarf2asm.c (dw2_force_const_mem): Add new parameter 'public'.

* 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.

From-SVN: r106445
gcc/ChangeLog
gcc/dwarf2asm.c
gcc/dwarf2asm.h
gcc/dwarf2out.c
gcc/except.c