(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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30264
138bc75d-0d04-0410-961f-
82ee72b054a4
+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.
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));
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));
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 */
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. */
void
alpha_start_function (file, fnname, decl)
FILE *file;
- char *fnname;
+ const char *fnname;
tree decl ATTRIBUTE_UNUSED;
{
unsigned long imask = 0;
void
alpha_end_function (file, fnname, decl)
FILE *file;
- char *fnname;
+ const char *fnname;
tree decl ATTRIBUTE_UNUSED;
{
/* End the function. */
\f
/* 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 */
void
alpha_need_linkage (name, is_local)
- char *name;
+ const char *name;
int is_local;
{
rtx x;
void
alpha_need_linkage (name, is_local)
- char *name ATTRIBUTE_UNUSED;
+ const char *name ATTRIBUTE_UNUSED;
int is_local ATTRIBUTE_UNUSED;
{
}
#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 \""); \
#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. */ \
#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. */ \
#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) \
#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 \