diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-07-17 10:37:37 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-07-17 10:37:37 +0000 |
commit | fad150a1dd9a382bfe3bce39c1dab51191042d47 (patch) | |
tree | 8b477801e1b185a3dcb0662585b186128991f6fe /gcc/dwarf2asm.c | |
parent | 568aa6455bee169296c908fe07e629f3db0748b8 (diff) | |
download | gcc-fad150a1dd9a382bfe3bce39c1dab51191042d47.tar.gz |
2008-07-17 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk r137918
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@137920 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dwarf2asm.c')
-rw-r--r-- | gcc/dwarf2asm.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/dwarf2asm.c b/gcc/dwarf2asm.c index ea19b793df5..43d57e9fa8f 100644 --- a/gcc/dwarf2asm.c +++ b/gcc/dwarf2asm.c @@ -730,11 +730,11 @@ splay_tree_compare_strings (splay_tree_key k1, splay_tree_key k2) /* Put X, a SYMBOL_REF, in memory. Return a SYMBOL_REF to the allocated memory. Differs from force_const_mem in that a single pool is used for the entire unit of translation, and the memory is not guaranteed to be - "near" the function in any interesting sense. PUBLIC controls whether + "near" the function in any interesting sense. IS_PUBLIC controls whether the symbol can be shared across the entire application (or DSO). */ static rtx -dw2_force_const_mem (rtx x, bool public) +dw2_force_const_mem (rtx x, bool is_public) { splay_tree_node node; const char *str; @@ -755,7 +755,7 @@ dw2_force_const_mem (rtx x, bool public) { tree id; - if (public && USE_LINKONCE_INDIRECT) + if (is_public && USE_LINKONCE_INDIRECT) { char *ref_name = XALLOCAVEC (char, strlen (str) + sizeof "DW.ref."); @@ -829,7 +829,7 @@ dw2_output_indirect_constants (void) reference is shared across the entire application (or DSO). */ void -dw2_asm_output_encoded_addr_rtx (int encoding, rtx addr, bool public, +dw2_asm_output_encoded_addr_rtx (int encoding, rtx addr, bool is_public, const char *comment, ...) { int size; @@ -870,7 +870,7 @@ dw2_asm_output_encoded_addr_rtx (int encoding, rtx addr, bool public, the constant pool for this function. Moreover, we'd like to share these constants across the entire unit of translation and even, if possible, across the entire application (or DSO). */ - addr = dw2_force_const_mem (addr, public); + addr = dw2_force_const_mem (addr, is_public); encoding &= ~DW_EH_PE_indirect; goto restart; } |