alpha-protos.h (literal_section): Add prototype.
* alpha/alpha-protos.h (literal_section): Add prototype. (alpha_need_linkage, alpha_start_function,alpha_end_function): Constify a char*. * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add prototype. (alpha_start_function, alpha_end_function, float_strings, alpha_need_linkage): Constify a char* * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise. * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise. * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise. * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise. From-SVN: r30264
This commit is contained in:
parent
a8f227e703
commit
e03c5670a9
@ -1,3 +1,22 @@
|
||||
Fri Oct 29 13:53:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||
|
||||
* alpha/alpha-protos.h (literal_section): Add prototype.
|
||||
(alpha_need_linkage, alpha_start_function,alpha_end_function):
|
||||
Constify a char*.
|
||||
|
||||
* alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
|
||||
prototype.
|
||||
(alpha_start_function, alpha_end_function, float_strings,
|
||||
alpha_need_linkage): Constify a char*
|
||||
|
||||
* alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
|
||||
|
||||
* alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
|
||||
|
||||
* alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
|
||||
|
||||
* alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
|
||||
|
||||
Fri Oct 29 13:49:39 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||
|
||||
* flow.c (debug_flow_info): Add prototype.
|
||||
|
@ -18,6 +18,7 @@ along with GNU CC; see the file COPYING. If not, write to
|
||||
the Free Software Foundation, 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
extern void literal_section PROTO ((void));
|
||||
extern void override_options PROTO ((void));
|
||||
extern int zap_mask PROTO ((HOST_WIDE_INT));
|
||||
extern int direct_return PROTO ((void));
|
||||
@ -103,7 +104,7 @@ extern rtx alpha_arg_info_reg_val PROTO ((CUMULATIVE_ARGS));
|
||||
extern void alpha_write_linkage PROTO ((FILE *));
|
||||
#endif /* OPEN_VMS */
|
||||
|
||||
extern void alpha_need_linkage PROTO ((char *, int));
|
||||
extern void alpha_need_linkage PROTO ((const char *, int));
|
||||
|
||||
#ifdef TREE_CODE
|
||||
extern tree alpha_build_va_list PROTO ((void));
|
||||
@ -112,6 +113,6 @@ extern void alpha_va_start PROTO ((int, tree, rtx));
|
||||
extern rtx alpha_va_arg PROTO ((tree, tree));
|
||||
#endif
|
||||
extern int vms_valid_decl_attribute_p PROTO ((tree, tree, tree, tree));
|
||||
extern void alpha_start_function PROTO ((FILE *, char *, tree));
|
||||
extern void alpha_end_function PROTO ((FILE *, char *, tree));
|
||||
extern void alpha_start_function PROTO ((FILE *, const char *, tree));
|
||||
extern void alpha_end_function PROTO ((FILE *, const char *, tree));
|
||||
#endif /* TREE CODE */
|
||||
|
@ -114,6 +114,8 @@ static void alpha_init_machine_status
|
||||
PROTO((struct function *p));
|
||||
static void alpha_mark_machine_status
|
||||
PROTO((struct function *p));
|
||||
static int alpha_ra_ever_killed PROTO((void));
|
||||
static rtx set_frame_related_p PROTO((void));
|
||||
|
||||
|
||||
/* Get the number of args of a function in one of two ways. */
|
||||
@ -3721,7 +3723,7 @@ alpha_expand_prologue ()
|
||||
void
|
||||
alpha_start_function (file, fnname, decl)
|
||||
FILE *file;
|
||||
char *fnname;
|
||||
const char *fnname;
|
||||
tree decl ATTRIBUTE_UNUSED;
|
||||
{
|
||||
unsigned long imask = 0;
|
||||
@ -4112,7 +4114,7 @@ alpha_expand_epilogue ()
|
||||
void
|
||||
alpha_end_function (file, fnname, decl)
|
||||
FILE *file;
|
||||
char *fnname;
|
||||
const char *fnname;
|
||||
tree decl ATTRIBUTE_UNUSED;
|
||||
{
|
||||
/* End the function. */
|
||||
@ -5104,7 +5106,7 @@ alpha_reorg (insns)
|
||||
|
||||
/* Check a floating-point value for validity for a particular machine mode. */
|
||||
|
||||
static char * const float_strings[] =
|
||||
static const char * const float_strings[] =
|
||||
{
|
||||
/* These are for FLOAT_VAX. */
|
||||
"1.70141173319264430e+38", /* 2^127 (2^24 - 1) / 2^24 */
|
||||
@ -5236,7 +5238,7 @@ static struct alpha_links *alpha_links_base = 0;
|
||||
|
||||
void
|
||||
alpha_need_linkage (name, is_local)
|
||||
char *name;
|
||||
const char *name;
|
||||
int is_local;
|
||||
{
|
||||
rtx x;
|
||||
@ -5316,7 +5318,7 @@ alpha_write_linkage (stream)
|
||||
|
||||
void
|
||||
alpha_need_linkage (name, is_local)
|
||||
char *name ATTRIBUTE_UNUSED;
|
||||
const char *name ATTRIBUTE_UNUSED;
|
||||
int is_local ATTRIBUTE_UNUSED;
|
||||
{
|
||||
}
|
||||
|
@ -2098,12 +2098,12 @@ literal_section () \
|
||||
#define ASM_OUTPUT_ASCII(MYFILE, MYSTRING, MYLENGTH) \
|
||||
do { \
|
||||
FILE *_hide_asm_out_file = (MYFILE); \
|
||||
unsigned char *_hide_p = (unsigned char *) (MYSTRING); \
|
||||
const unsigned char *_hide_p = (const unsigned char *) (MYSTRING); \
|
||||
int _hide_thissize = (MYLENGTH); \
|
||||
int _size_so_far = 0; \
|
||||
{ \
|
||||
FILE *asm_out_file = _hide_asm_out_file; \
|
||||
unsigned char *p = _hide_p; \
|
||||
const unsigned char *p = _hide_p; \
|
||||
int thissize = _hide_thissize; \
|
||||
int i; \
|
||||
fprintf (asm_out_file, "\t.ascii \""); \
|
||||
@ -2222,7 +2222,7 @@ literal_section () \
|
||||
|
||||
#define ASM_OUTPUT_MI_THUNK(FILE, THUNK_FNDECL, DELTA, FUNCTION) \
|
||||
do { \
|
||||
char *fn_name = XSTR (XEXP (DECL_RTL (FUNCTION), 0), 0); \
|
||||
const char *fn_name = XSTR (XEXP (DECL_RTL (FUNCTION), 0), 0); \
|
||||
int reg; \
|
||||
\
|
||||
/* Mark end of prologue. */ \
|
||||
|
@ -85,7 +85,7 @@ Boston, MA 02111-1307, USA. */
|
||||
#undef ASM_OUTPUT_MI_THUNK
|
||||
#define ASM_OUTPUT_MI_THUNK(FILE, THUNK_FNDECL, DELTA, FUNCTION) \
|
||||
do { \
|
||||
char *op, *fn_name = XSTR (XEXP (DECL_RTL (FUNCTION), 0), 0); \
|
||||
const char *op, *fn_name = XSTR (XEXP (DECL_RTL (FUNCTION), 0), 0); \
|
||||
int reg; \
|
||||
\
|
||||
/* Mark end of prologue. */ \
|
||||
|
@ -446,7 +446,7 @@ void FN () \
|
||||
|
||||
#define ASM_FINISH_DECLARE_OBJECT(FILE, DECL, TOP_LEVEL, AT_END) \
|
||||
do { \
|
||||
char *name = XSTR (XEXP (DECL_RTL (DECL), 0), 0); \
|
||||
const char *name = XSTR (XEXP (DECL_RTL (DECL), 0), 0); \
|
||||
HOST_WIDE_INT size; \
|
||||
if (!flag_inhibit_size_directive \
|
||||
&& DECL_SIZE (DECL) \
|
||||
|
@ -445,7 +445,7 @@ extern int vms_valid_decl_attribute_p ();
|
||||
#define ASM_OUTPUT_SECTION_NAME(FILE,DECL,NAME,RELOC) \
|
||||
do \
|
||||
{ \
|
||||
char *flags; \
|
||||
const char *flags; \
|
||||
int ovr = 0; \
|
||||
if (DECL && DECL_MACHINE_ATTRIBUTES (DECL) \
|
||||
&& lookup_attribute \
|
||||
|
Loading…
x
Reference in New Issue
Block a user