alpha.c (alpha_initialize_trampoline): Change 0 to LCT_NORMAL in function call.

* config/alpha/alpha.c (alpha_initialize_trampoline): Change 0 to
	LCT_NORMAL in function call.
	* mips-tdump.c (print_file_desc): Add cast to enum type.
	* mips-tfile.c (add_ext_symbol): Add casts to enum types.
	(mark_stabs): Add casts to enum types.
	(parse_stabs_common): Add casts to enum types.

From-SVN: r147529
This commit is contained in:
Rainer Orth 2009-05-14 10:10:23 +00:00 committed by Rainer Orth
parent 6de7294fd4
commit fe04903344
4 changed files with 17 additions and 7 deletions

View File

@ -1,3 +1,12 @@
2009-05-14 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* config/alpha/alpha.c (alpha_initialize_trampoline): Change 0 to
LCT_NORMAL in function call.
* mips-tdump.c (print_file_desc): Add cast to enum type.
* mips-tfile.c (add_ext_symbol): Add casts to enum types.
(mark_stabs): Add casts to enum types.
(parse_stabs_common): Add casts to enum types.
2009-05-13 Adam Nemet <anemet@caviumnetworks.com>
* config/mips/mips.c (mips_print_operand) <REG, MEM, default>:

View File

@ -5488,7 +5488,7 @@ alpha_initialize_trampoline (rtx tramp, rtx fnaddr, rtx cxt,
#ifdef ENABLE_EXECUTE_STACK
emit_library_call (init_one_libfunc ("__enable_execute_stack"),
0, VOIDmode, 1, tramp, Pmode);
LCT_NORMAL, VOIDmode, 1, tramp, Pmode);
#endif
if (jmpofs >= 0)

View File

@ -1116,7 +1116,7 @@ print_file_desc (FDR *fdp, int number)
(fdp->fBigendian) ? "BIG" : "LITTLE");
printf (" Debug level = %-10s Language = %s\n",
glevel_to_string (fdp->glevel),
glevel_to_string ((glevel_t) fdp->glevel),
lang_to_string((lang_t) fdp->lang));
printf (" Adr = 0x%08lx\n\n", (long) fdp->adr);

View File

@ -1939,8 +1939,8 @@ add_ext_symbol (EXTR *esym, int ifd)
if (debug > 1)
{
long value = esym->asym.value;
const char *sc_str = sc_to_string (esym->asym.sc);
const char *st_str = st_to_string (esym->asym.st);
const char *sc_str = sc_to_string ((sc_t) esym->asym.sc);
const char *st_str = st_to_string ((st_t) esym->asym.st);
fprintf (stderr,
"\tesym\tv= %10ld, ifd= %2d, sc= %-12s",
@ -3475,7 +3475,8 @@ mark_stabs (const char *start ATTRIBUTE_UNUSED)
stabs_seen = 1;
(void) add_local_symbol (stabs_symbol,
stabs_symbol + sizeof (stabs_symbol),
stNil, scInfo, -1, MIPS_MARK_STAB (0));
(st_t) stNil, (sc_t) scInfo, -1,
MIPS_MARK_STAB (0));
}
}
@ -3668,8 +3669,8 @@ parse_stabs_common (const char *string_start, /* start of string or NULL */
/* Traditionally, N_LBRAC and N_RBRAC are *not* relocated. */
if (code == (int) N_LBRAC || code == (int) N_RBRAC)
{
sc = scNil;
st = stNil;
sc = (sc_t) scNil;
st = (st_t) stNil;
}
else
{