diff options
author | Lorry Tar Creator <lorry-tar-importer@baserock.org> | 2014-10-30 09:35:42 +0000 |
---|---|---|
committer | <> | 2015-01-09 11:51:27 +0000 |
commit | c27a97d04853380f1e80525391b3f0d156ed4c84 (patch) | |
tree | 68ffaade7c605bc80cffa18360799c98a810976f /gcc/dwarf2asm.c | |
parent | 6af3fdec2262dd94954acc5e426ef71cbd4521d3 (diff) | |
download | gcc-tarball-c27a97d04853380f1e80525391b3f0d156ed4c84.tar.gz |
Imported from /home/lorry/working-area/delta_gcc-tarball/gcc-4.9.2.tar.bz2.gcc-4.9.2
Diffstat (limited to 'gcc/dwarf2asm.c')
-rw-r--r-- | gcc/dwarf2asm.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/dwarf2asm.c b/gcc/dwarf2asm.c index fe305d3ed4..1372b23adf 100644 --- a/gcc/dwarf2asm.c +++ b/gcc/dwarf2asm.c @@ -1,6 +1,5 @@ /* Dwarf2 assembler output helper routines. - Copyright (C) 2001, 2002, 2003, 2004, 2005, 2007, 2008, 2009, 2010, 2011 - Free Software Foundation, Inc. + Copyright (C) 2001-2014 Free Software Foundation, Inc. This file is part of GCC. @@ -25,6 +24,8 @@ along with GCC; see the file COPYING3. If not see #include "tm.h" #include "flags.h" #include "tree.h" +#include "stringpool.h" +#include "varasm.h" #include "rtl.h" #include "output.h" #include "target.h" @@ -161,7 +162,7 @@ dw2_asm_output_vms_delta (int size ATTRIBUTE_UNUSED, va_start (ap, comment); #ifndef ASM_OUTPUT_DWARF_VMS_DELTA - /* VMS Delta is only special on ia64-vms, but this funtion also gets + /* VMS Delta is only special on ia64-vms, but this function also gets called on alpha-vms so it has to do something sane. */ dw2_asm_output_delta (size, lab1, lab2, comment); #else @@ -316,7 +317,7 @@ dw2_asm_output_nstring (const char *str, size_t orig_len, int c = str[i]; if (c == '\"' || c == '\\') fputc ('\\', asm_out_file); - if (ISPRINT(c)) + if (ISPRINT (c)) fputc (c, asm_out_file); else fprintf (asm_out_file, "\\%o", c); @@ -907,6 +908,7 @@ dw2_output_indirect_constant_1 (splay_tree_node node, DECL_IGNORED_P (decl) = 1; DECL_INITIAL (decl) = decl; TREE_READONLY (decl) = 1; + TREE_STATIC (decl) = 1; if (TREE_PUBLIC (id)) { @@ -915,8 +917,6 @@ dw2_output_indirect_constant_1 (splay_tree_node node, if (USE_LINKONCE_INDIRECT) DECL_VISIBILITY (decl) = VISIBILITY_HIDDEN; } - else - TREE_STATIC (decl) = 1; sym_ref = gen_rtx_SYMBOL_REF (Pmode, sym); assemble_variable (decl, 1, 1, 1); |