aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2asm.h
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2005-11-03 19:57:55 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2005-11-03 19:57:55 +0000
commitb03e9863c9802d3c143c07613be95b0a91518e18 (patch)
tree262c3cfc442253a7dd1a33f90c4f37cc51a23e39 /gcc/dwarf2asm.h
parenta39041fae9f62c038e457f754c7578fb7e772dbb (diff)
downloadgcc-b03e9863c9802d3c143c07613be95b0a91518e18.zip
gcc-b03e9863c9802d3c143c07613be95b0a91518e18.tar.gz
gcc-b03e9863c9802d3c143c07613be95b0a91518e18.tar.bz2
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
Diffstat (limited to 'gcc/dwarf2asm.h')
-rw-r--r--gcc/dwarf2asm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/dwarf2asm.h b/gcc/dwarf2asm.h
index b81a89b..c57e3e9 100644
--- a/gcc/dwarf2asm.h
+++ b/gcc/dwarf2asm.h
@@ -38,9 +38,9 @@ extern void dw2_asm_output_addr (int, const char *, const char *, ...)
extern void dw2_asm_output_addr_rtx (int, rtx, const char *, ...)
ATTRIBUTE_NULL_PRINTF_3;
-extern void dw2_asm_output_encoded_addr_rtx (int, rtx,
+extern void dw2_asm_output_encoded_addr_rtx (int, rtx, bool,
const char *, ...)
- ATTRIBUTE_NULL_PRINTF_3;
+ ATTRIBUTE_NULL_PRINTF_4;
extern void dw2_asm_output_nstring (const char *, size_t,
const char *, ...)