Commit fe049033 by Rainer Orth Committed by Rainer Orth

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
parent 6de7294f
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> 2009-05-13 Adam Nemet <anemet@caviumnetworks.com>
* config/mips/mips.c (mips_print_operand) <REG, MEM, default>: * config/mips/mips.c (mips_print_operand) <REG, MEM, default>:
......
...@@ -5488,7 +5488,7 @@ alpha_initialize_trampoline (rtx tramp, rtx fnaddr, rtx cxt, ...@@ -5488,7 +5488,7 @@ alpha_initialize_trampoline (rtx tramp, rtx fnaddr, rtx cxt,
#ifdef ENABLE_EXECUTE_STACK #ifdef ENABLE_EXECUTE_STACK
emit_library_call (init_one_libfunc ("__enable_execute_stack"), emit_library_call (init_one_libfunc ("__enable_execute_stack"),
0, VOIDmode, 1, tramp, Pmode); LCT_NORMAL, VOIDmode, 1, tramp, Pmode);
#endif #endif
if (jmpofs >= 0) if (jmpofs >= 0)
......
...@@ -1116,7 +1116,7 @@ print_file_desc (FDR *fdp, int number) ...@@ -1116,7 +1116,7 @@ print_file_desc (FDR *fdp, int number)
(fdp->fBigendian) ? "BIG" : "LITTLE"); (fdp->fBigendian) ? "BIG" : "LITTLE");
printf (" Debug level = %-10s Language = %s\n", 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)); lang_to_string((lang_t) fdp->lang));
printf (" Adr = 0x%08lx\n\n", (long) fdp->adr); printf (" Adr = 0x%08lx\n\n", (long) fdp->adr);
......
...@@ -1939,8 +1939,8 @@ add_ext_symbol (EXTR *esym, int ifd) ...@@ -1939,8 +1939,8 @@ add_ext_symbol (EXTR *esym, int ifd)
if (debug > 1) if (debug > 1)
{ {
long value = esym->asym.value; long value = esym->asym.value;
const char *sc_str = sc_to_string (esym->asym.sc); const char *sc_str = sc_to_string ((sc_t) esym->asym.sc);
const char *st_str = st_to_string (esym->asym.st); const char *st_str = st_to_string ((st_t) esym->asym.st);
fprintf (stderr, fprintf (stderr,
"\tesym\tv= %10ld, ifd= %2d, sc= %-12s", "\tesym\tv= %10ld, ifd= %2d, sc= %-12s",
...@@ -3475,7 +3475,8 @@ mark_stabs (const char *start ATTRIBUTE_UNUSED) ...@@ -3475,7 +3475,8 @@ mark_stabs (const char *start ATTRIBUTE_UNUSED)
stabs_seen = 1; stabs_seen = 1;
(void) add_local_symbol (stabs_symbol, (void) add_local_symbol (stabs_symbol,
stabs_symbol + sizeof (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 */ ...@@ -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. */ /* Traditionally, N_LBRAC and N_RBRAC are *not* relocated. */
if (code == (int) N_LBRAC || code == (int) N_RBRAC) if (code == (int) N_LBRAC || code == (int) N_RBRAC)
{ {
sc = scNil; sc = (sc_t) scNil;
st = stNil; st = (st_t) stNil;
} }
else else
{ {
......
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