Commit ec940faa by Kaveh R. Ghazi Committed by Kaveh Ghazi

output.h (assemble_name): Constify a char*.

        * output.h (assemble_name): Constify a char*.

        * varasm.c (UNIQUE_SECTION, assemble_start_function,
        assemble_variable, assemble_name): Likewise.

        * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.

        * arm/pe.c (arm_pe_unique_section): Likewise.

        * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.

        * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.

        * i386/interix.c (i386_pe_unique_section): Likewise.

        * i386/win32.h (STRIP_NAME_ENCODING): Likewise.

        * i386/winnt.c (i386_pe_unique_section): Likewise.

        * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.

        * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.

        * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.

        * pa/pa.c (output_call): Likewise.

        * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.

        * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.

        * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
        Likewise.

        * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
        Likewise.

        * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.

        * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
        STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.

        * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.

From-SVN: r28644
parent 4c71b22f
Tue Aug 10 09:21:46 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* output.h (assemble_name): Constify a char*.
* varasm.c (UNIQUE_SECTION, assemble_start_function,
assemble_variable, assemble_name): Likewise.
* dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
* arm/pe.c (arm_pe_unique_section): Likewise.
* i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
* i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
* i386/interix.c (i386_pe_unique_section): Likewise.
* i386/win32.h (STRIP_NAME_ENCODING): Likewise.
* i386/winnt.c (i386_pe_unique_section): Likewise.
* m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
* mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
* mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
* pa/pa.c (output_call): Likewise.
* pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
* pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
* rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
Likewise.
* rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
Likewise.
* rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
* rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
* v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
Mon Aug 9 19:54:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> Mon Aug 9 19:54:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy. * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
......
...@@ -411,7 +411,7 @@ arm_pe_unique_section (decl, reloc) ...@@ -411,7 +411,7 @@ arm_pe_unique_section (decl, reloc)
int reloc; int reloc;
{ {
int len; int len;
char * name; const char * name;
char * string; char * string;
char * prefix; char * prefix;
......
...@@ -299,16 +299,17 @@ extern void i386_pe_encode_section_info (); ...@@ -299,16 +299,17 @@ extern void i386_pe_encode_section_info ();
#undef STRIP_NAME_ENCODING #undef STRIP_NAME_ENCODING
#define STRIP_NAME_ENCODING(VAR,SYMBOL_NAME) \ #define STRIP_NAME_ENCODING(VAR,SYMBOL_NAME) \
do { \ do { \
char *_p; \ const char *_p; \
char *_name = I386_PE_STRIP_ENCODING (SYMBOL_NAME); \ const char *_name = I386_PE_STRIP_ENCODING (SYMBOL_NAME); \
for (_p = _name; *_p && *_p != '@'; ++_p) \ for (_p = _name; *_p && *_p != '@'; ++_p) \
; \ ; \
if (*_p == '@') \ if (*_p == '@') \
{ \ { \
int _len = _p - _name; \ int _len = _p - _name; \
(VAR) = (char *) alloca (_len + 1); \ char *_new_name = (char *) alloca (_len + 1); \
strncpy ((VAR), _name, _len); \ strncpy (_new_name, _name, _len); \
(VAR)[_len] = '\0'; \ _new_name[_len] = '\0'; \
(VAR) = _new_name; \
} \ } \
else \ else \
(VAR) = _name; \ (VAR) = _name; \
......
...@@ -482,16 +482,17 @@ while (0) ...@@ -482,16 +482,17 @@ while (0)
#undef STRIP_NAME_ENCODING #undef STRIP_NAME_ENCODING
#define STRIP_NAME_ENCODING(VAR,SYMBOL_NAME) \ #define STRIP_NAME_ENCODING(VAR,SYMBOL_NAME) \
do { \ do { \
char *_p; \ const char *_p; \
char *_name = SYMBOL_NAME; \ const char *_name = SYMBOL_NAME; \
for (_p = _name; *_p && *_p != '@'; ++_p) \ for (_p = _name; *_p && *_p != '@'; ++_p) \
; \ ; \
if (*_p == '@') \ if (*_p == '@') \
{ \ { \
int _len = _p - _name; \ int _len = _p - _name; \
(VAR) = (char *) alloca (_len + 1); \ _new_name = (char *) alloca (_len + 1); \
strncpy ((VAR), _name, _len); \ strncpy (_new_name, _name, _len); \
(VAR)[_len] = '\0'; \ _new_name[_len] = '\0'; \
(VAR) = _new_name; \
} \ } \
else \ else \
(VAR) = _name; \ (VAR) = _name; \
......
...@@ -78,7 +78,8 @@ i386_pe_unique_section (decl, reloc) ...@@ -78,7 +78,8 @@ i386_pe_unique_section (decl, reloc)
int reloc; int reloc;
{ {
int len; int len;
char *name,*string,*prefix; const char *name;
char *string,*prefix;
name = IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (decl)); name = IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (decl));
/* Strip off any encoding in fnname. */ /* Strip off any encoding in fnname. */
......
...@@ -186,16 +186,17 @@ while (0) ...@@ -186,16 +186,17 @@ while (0)
#undef STRIP_NAME_ENCODING #undef STRIP_NAME_ENCODING
#define STRIP_NAME_ENCODING(VAR,SYMBOL_NAME) \ #define STRIP_NAME_ENCODING(VAR,SYMBOL_NAME) \
do { \ do { \
char *_p; \ const char *_p; \
char *_name = ((SYMBOL_NAME) + ((SYMBOL_NAME)[0] == '*')); \ const char *_name = ((SYMBOL_NAME) + ((SYMBOL_NAME)[0] == '*')); \
for (_p = _name; *_p && *_p != '@'; ++_p) \ for (_p = _name; *_p && *_p != '@'; ++_p) \
; \ ; \
if (*_p == '@') \ if (*_p == '@') \
{ \ { \
int _len = _p - _name; \ int _len = _p - _name; \
(VAR) = (char *) alloca (_len + 1); \ char *_new_name = (char *) alloca (_len + 1); \
strncpy ((VAR), _name, _len); \ strncpy (_new_name, _name, _len); \
(VAR)[_len] = '\0'; \ _new_name[_len] = '\0'; \
(VAR) = _new_name; \
} \ } \
else \ else \
(VAR) = _name; \ (VAR) = _name; \
......
...@@ -463,7 +463,8 @@ i386_pe_unique_section (decl, reloc) ...@@ -463,7 +463,8 @@ i386_pe_unique_section (decl, reloc)
int reloc; int reloc;
{ {
int len; int len;
char *name,*string,*prefix; const char *name;
char *string,*prefix;
name = IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (decl)); name = IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (decl));
/* Strip off any encoding in fnname. */ /* Strip off any encoding in fnname. */
......
...@@ -1649,7 +1649,7 @@ do { \ ...@@ -1649,7 +1649,7 @@ do { \
#undef ASM_OUTPUT_LABELREF #undef ASM_OUTPUT_LABELREF
#define ASM_OUTPUT_LABELREF(FILE, NAME) \ #define ASM_OUTPUT_LABELREF(FILE, NAME) \
do { \ do { \
char * real_name; \ const char * real_name; \
STRIP_NAME_ENCODING (real_name, (NAME)); \ STRIP_NAME_ENCODING (real_name, (NAME)); \
asm_fprintf (FILE, "%U%s", real_name); \ asm_fprintf (FILE, "%U%s", real_name); \
} while (0) } while (0)
......
...@@ -898,7 +898,7 @@ do { char dstr[30]; \ ...@@ -898,7 +898,7 @@ do { char dstr[30]; \
#undef ASM_OUTPUT_LABELREF #undef ASM_OUTPUT_LABELREF
#define ASM_OUTPUT_LABELREF(FILE, NAME) \ #define ASM_OUTPUT_LABELREF(FILE, NAME) \
do { \ do { \
char* real_name; \ const char* real_name; \
STRIP_NAME_ENCODING (real_name, (NAME)); \ STRIP_NAME_ENCODING (real_name, (NAME)); \
fprintf (FILE, "_%s", real_name); \ fprintf (FILE, "_%s", real_name); \
} while (0) } while (0)
......
...@@ -897,7 +897,7 @@ do { char dstr[30]; \ ...@@ -897,7 +897,7 @@ do { char dstr[30]; \
#undef ASM_OUTPUT_LABELREF #undef ASM_OUTPUT_LABELREF
#define ASM_OUTPUT_LABELREF(FILE, NAME) \ #define ASM_OUTPUT_LABELREF(FILE, NAME) \
do { \ do { \
char* real_name; \ const char* real_name; \
STRIP_NAME_ENCODING (real_name, (NAME)); \ STRIP_NAME_ENCODING (real_name, (NAME)); \
fprintf (FILE, "_%s", real_name); \ fprintf (FILE, "_%s", real_name); \
} while (0) } while (0)
......
...@@ -5390,7 +5390,7 @@ output_call (insn, call_dest) ...@@ -5390,7 +5390,7 @@ output_call (insn, call_dest)
{ {
struct obstack *ambient_obstack = current_obstack; struct obstack *ambient_obstack = current_obstack;
struct obstack *ambient_rtl_obstack = rtl_obstack; struct obstack *ambient_rtl_obstack = rtl_obstack;
char *real_name; const char *real_name;
/* Any RTL we create here needs to live until the end of /* Any RTL we create here needs to live until the end of
the compilation unit and therefore must live on the the compilation unit and therefore must live on the
......
...@@ -1074,7 +1074,7 @@ extern struct rtx_def *hppa_compare_op0, *hppa_compare_op1; ...@@ -1074,7 +1074,7 @@ extern struct rtx_def *hppa_compare_op0, *hppa_compare_op1;
extern enum cmp_type hppa_branch_type; extern enum cmp_type hppa_branch_type;
#define ASM_OUTPUT_MI_THUNK(FILE, THUNK_FNDECL, DELTA, FUNCTION) \ #define ASM_OUTPUT_MI_THUNK(FILE, THUNK_FNDECL, DELTA, FUNCTION) \
{ char *target_name = XSTR (XEXP (DECL_RTL (FUNCTION), 0), 0); \ { const char *target_name = XSTR (XEXP (DECL_RTL (FUNCTION), 0), 0); \
STRIP_NAME_ENCODING (target_name, target_name); \ STRIP_NAME_ENCODING (target_name, target_name); \
output_function_prologue (FILE, 0); \ output_function_prologue (FILE, 0); \
if (VAL_14_BITS_P (DELTA)) \ if (VAL_14_BITS_P (DELTA)) \
......
...@@ -121,7 +121,7 @@ do { \ ...@@ -121,7 +121,7 @@ do { \
that the section name will have a "." prefix. */ that the section name will have a "." prefix. */
#define ASM_OUTPUT_FUNCTION_PREFIX(FILE, NAME) \ #define ASM_OUTPUT_FUNCTION_PREFIX(FILE, NAME) \
{ \ { \
char *name; \ const char *name; \
STRIP_NAME_ENCODING (name, NAME); \ STRIP_NAME_ENCODING (name, NAME); \
if (TARGET_GAS && in_section == in_text) \ if (TARGET_GAS && in_section == in_text) \
fputs ("\t.NSUBSPA $CODE$,QUAD=0,ALIGN=8,ACCESS=44,CODE_ONLY\n", FILE); \ fputs ("\t.NSUBSPA $CODE$,QUAD=0,ALIGN=8,ACCESS=44,CODE_ONLY\n", FILE); \
......
...@@ -4014,7 +4014,7 @@ rs6000_output_load_toc_table (file, reg) ...@@ -4014,7 +4014,7 @@ rs6000_output_load_toc_table (file, reg)
if (rs6000_pic_func_labelno != rs6000_pic_labelno) if (rs6000_pic_func_labelno != rs6000_pic_labelno)
{ {
const char *init_ptr = TARGET_32BIT ? ".long" : ".quad"; const char *init_ptr = TARGET_32BIT ? ".long" : ".quad";
char *buf_ptr; const char *buf_ptr;
ASM_OUTPUT_INTERNAL_LABEL (file, "LCL", rs6000_pic_labelno); ASM_OUTPUT_INTERNAL_LABEL (file, "LCL", rs6000_pic_labelno);
...@@ -4949,7 +4949,7 @@ output_toc (file, x, labelno) ...@@ -4949,7 +4949,7 @@ output_toc (file, x, labelno)
{ {
char buf[256]; char buf[256];
char *name = buf; char *name = buf;
char *real_name; const char *real_name;
rtx base = x; rtx base = x;
int offset = 0; int offset = 0;
......
...@@ -2755,7 +2755,7 @@ extern int toc_initialized; ...@@ -2755,7 +2755,7 @@ extern int toc_initialized;
#define RS6000_OUTPUT_BASENAME(FILE, NAME) \ #define RS6000_OUTPUT_BASENAME(FILE, NAME) \
{ \ { \
char *_p; \ const char *_p; \
\ \
STRIP_NAME_ENCODING (_p, (NAME)); \ STRIP_NAME_ENCODING (_p, (NAME)); \
assemble_name ((FILE), _p); \ assemble_name ((FILE), _p); \
...@@ -2766,7 +2766,7 @@ extern int toc_initialized; ...@@ -2766,7 +2766,7 @@ extern int toc_initialized;
#define STRIP_NAME_ENCODING(VAR,NAME) \ #define STRIP_NAME_ENCODING(VAR,NAME) \
do \ do \
{ \ { \
char *_name = (NAME); \ const char *_name = (NAME); \
int _len; \ int _len; \
if (_name[0] == '*') \ if (_name[0] == '*') \
_name++; \ _name++; \
...@@ -2775,9 +2775,10 @@ extern int toc_initialized; ...@@ -2775,9 +2775,10 @@ extern int toc_initialized;
(VAR) = _name; \ (VAR) = _name; \
else \ else \
{ \ { \
(VAR) = (char *) alloca (_len + 1); \ char *_new_name = (char *) alloca (_len + 1); \
strcpy ((VAR), _name); \ strcpy (_new_name, _name); \
(VAR)[_len - 4] = '\0'; \ _new_name[_len - 4] = '\0'; \
(VAR) = _new_name; \
} \ } \
} \ } \
while (0) while (0)
......
...@@ -102,7 +102,7 @@ do { \ ...@@ -102,7 +102,7 @@ do { \
do \ do \
{ \ { \
static int sym_lineno = 1; \ static int sym_lineno = 1; \
char *_p; \ const char *_p; \
fprintf (file, "\t.stabd 68,0,%d,.LM%d-", \ fprintf (file, "\t.stabd 68,0,%d,.LM%d-", \
line, sym_lineno); \ line, sym_lineno); \
STRIP_NAME_ENCODING (_p, XSTR (XEXP (DECL_RTL (current_function_decl), 0), 0)); \ STRIP_NAME_ENCODING (_p, XSTR (XEXP (DECL_RTL (current_function_decl), 0), 0)); \
......
...@@ -627,13 +627,14 @@ extern int rs6000_pic_labelno; ...@@ -627,13 +627,14 @@ extern int rs6000_pic_labelno;
#undef ASM_DECLARE_FUNCTION_NAME #undef ASM_DECLARE_FUNCTION_NAME
#define ASM_DECLARE_FUNCTION_NAME(FILE, NAME, DECL) \ #define ASM_DECLARE_FUNCTION_NAME(FILE, NAME, DECL) \
do { \ do { \
char *orig_name; \ const char *orig_name; \
char *init_ptr = (TARGET_64BIT) ? ".quad" : ".long"; \ const char *init_ptr = (TARGET_64BIT) ? ".quad" : ".long"; \
STRIP_NAME_ENCODING (orig_name, NAME); \ STRIP_NAME_ENCODING (orig_name, NAME); \
\ \
if (TARGET_RELOCATABLE && (get_pool_size () != 0 || profile_flag)) \ if (TARGET_RELOCATABLE && (get_pool_size () != 0 || profile_flag)) \
{ \ { \
char buf[256], *buf_ptr; \ char buf[256]; \
const char *buf_ptr; \
\ \
ASM_OUTPUT_INTERNAL_LABEL (FILE, "LCL", rs6000_pic_labelno); \ ASM_OUTPUT_INTERNAL_LABEL (FILE, "LCL", rs6000_pic_labelno); \
\ \
...@@ -652,7 +653,7 @@ extern int rs6000_pic_labelno; ...@@ -652,7 +653,7 @@ extern int rs6000_pic_labelno;
\ \
if (DEFAULT_ABI == ABI_AIX || DEFAULT_ABI == ABI_NT) \ if (DEFAULT_ABI == ABI_AIX || DEFAULT_ABI == ABI_NT) \
{ \ { \
char *desc_name = orig_name; \ const char *desc_name = orig_name; \
\ \
while (*desc_name == '.') \ while (*desc_name == '.') \
desc_name++; \ desc_name++; \
...@@ -770,7 +771,8 @@ do { \ ...@@ -770,7 +771,8 @@ do { \
&& CONSTANT_P (VALUE)) \ && CONSTANT_P (VALUE)) \
{ \ { \
static int labelno = 0; \ static int labelno = 0; \
char buf[256], *p; \ char buf[256]; \
const char *p; \
\ \
recurse = 1; \ recurse = 1; \
ASM_GENERATE_INTERNAL_LABEL (buf, "LCP", labelno++); \ ASM_GENERATE_INTERNAL_LABEL (buf, "LCP", labelno++); \
...@@ -835,7 +837,7 @@ extern void rs6000_encode_section_info (); ...@@ -835,7 +837,7 @@ extern void rs6000_encode_section_info ();
#undef STRIP_NAME_ENCODING #undef STRIP_NAME_ENCODING
#define STRIP_NAME_ENCODING(VAR,SYMBOL_NAME) \ #define STRIP_NAME_ENCODING(VAR,SYMBOL_NAME) \
do { \ do { \
char *_name = SYMBOL_NAME; \ const char *_name = SYMBOL_NAME; \
while (*_name == '*' || *_name == '@') \ while (*_name == '*' || *_name == '@') \
_name++; \ _name++; \
(VAR) = _name; \ (VAR) = _name; \
...@@ -847,7 +849,7 @@ do { \ ...@@ -847,7 +849,7 @@ do { \
#undef ASM_OUTPUT_LABELREF #undef ASM_OUTPUT_LABELREF
#define ASM_OUTPUT_LABELREF(FILE,NAME) \ #define ASM_OUTPUT_LABELREF(FILE,NAME) \
do { \ do { \
char *_name = NAME; \ const char *_name = NAME; \
while (*_name == '*' || *_name == '@') \ while (*_name == '*' || *_name == '@') \
_name++; \ _name++; \
fputs (_name, FILE); \ fputs (_name, FILE); \
......
...@@ -1342,7 +1342,7 @@ do { char dstr[30]; \ ...@@ -1342,7 +1342,7 @@ do { char dstr[30]; \
#undef ASM_OUTPUT_LABELREF #undef ASM_OUTPUT_LABELREF
#define ASM_OUTPUT_LABELREF(FILE, NAME) \ #define ASM_OUTPUT_LABELREF(FILE, NAME) \
do { \ do { \
char* real_name; \ const char* real_name; \
STRIP_NAME_ENCODING (real_name, (NAME)); \ STRIP_NAME_ENCODING (real_name, (NAME)); \
fprintf (FILE, "_%s", real_name); \ fprintf (FILE, "_%s", real_name); \
} while (0) } while (0)
......
...@@ -2744,7 +2744,7 @@ static char debug_line_section_label[MAX_ARTIFICIAL_LABEL_BYTES]; ...@@ -2744,7 +2744,7 @@ static char debug_line_section_label[MAX_ARTIFICIAL_LABEL_BYTES];
dyn_string_append (STR, NAME + 1); \ dyn_string_append (STR, NAME + 1); \
else \ else \
{ \ { \
char *newstr; \ const char *newstr; \
STRIP_NAME_ENCODING (newstr, NAME); \ STRIP_NAME_ENCODING (newstr, NAME); \
dyn_string_append (STR, user_label_prefix); \ dyn_string_append (STR, user_label_prefix); \
dyn_string_append (STR, newstr); \ dyn_string_append (STR, newstr); \
......
...@@ -279,7 +279,7 @@ extern void assemble_label PROTO((char *)); ...@@ -279,7 +279,7 @@ extern void assemble_label PROTO((char *));
Otherwise NAME is transformed in an implementation-defined way Otherwise NAME is transformed in an implementation-defined way
(usually by the addition of an underscore). (usually by the addition of an underscore).
Many macros in the tm file are defined to call this function. */ Many macros in the tm file are defined to call this function. */
extern void assemble_name PROTO((FILE *, char *)); extern void assemble_name PROTO((FILE *, const char *));
#ifdef RTX_CODE #ifdef RTX_CODE
/* Assemble the integer constant X into an object of SIZE bytes. /* Assemble the integer constant X into an object of SIZE bytes.
......
...@@ -286,7 +286,8 @@ named_section (decl, name, reloc) ...@@ -286,7 +286,8 @@ named_section (decl, name, reloc)
#define UNIQUE_SECTION(DECL,RELOC) \ #define UNIQUE_SECTION(DECL,RELOC) \
do { \ do { \
int len; \ int len; \
char *name, *string; \ const char *name; \
char *string; \
\ \
name = IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (DECL)); \ name = IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (DECL)); \
/* Strip off any encoding in name. */ \ /* Strip off any encoding in name. */ \
...@@ -1000,7 +1001,7 @@ assemble_start_function (decl, fnname) ...@@ -1000,7 +1001,7 @@ assemble_start_function (decl, fnname)
{ {
if (! first_global_object_name) if (! first_global_object_name)
{ {
char *p; const char *p;
char **name; char **name;
if (! DECL_WEAK (decl) && ! DECL_ONE_ONLY (decl)) if (! DECL_WEAK (decl) && ! DECL_ONE_ONLY (decl))
...@@ -1279,7 +1280,7 @@ assemble_variable (decl, top_level, at_end, dont_output_data) ...@@ -1279,7 +1280,7 @@ assemble_variable (decl, top_level, at_end, dont_output_data)
&& ! DECL_WEAK (decl) && ! DECL_WEAK (decl)
&& ! DECL_ONE_ONLY (decl)) && ! DECL_ONE_ONLY (decl))
{ {
char *p; const char *p;
STRIP_NAME_ENCODING (p, name); STRIP_NAME_ENCODING (p, name);
first_global_object_name = permalloc (strlen (p) + 1); first_global_object_name = permalloc (strlen (p) + 1);
...@@ -1680,9 +1681,9 @@ assemble_label (name) ...@@ -1680,9 +1681,9 @@ assemble_label (name)
void void
assemble_name (file, name) assemble_name (file, name)
FILE *file; FILE *file;
char *name; const char *name;
{ {
char *real_name; const char *real_name;
tree id; tree id;
STRIP_NAME_ENCODING (real_name, name); STRIP_NAME_ENCODING (real_name, name);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment