diff options
author | Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> | 2009-05-14 10:10:23 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2009-05-14 10:10:23 +0000 |
commit | fe04903344e9e5d24c56dbd086e0bd66f1f1902c (patch) | |
tree | b7c44cfb644847169ff31f4d6ee24a3e979eb3a7 /gcc/mips-tfile.c | |
parent | 6de7294fd4a37431a5c9df578feca6fece431077 (diff) | |
download | gcc-fe04903344e9e5d24c56dbd086e0bd66f1f1902c.tar.gz |
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
Diffstat (limited to 'gcc/mips-tfile.c')
-rw-r--r-- | gcc/mips-tfile.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/gcc/mips-tfile.c b/gcc/mips-tfile.c index f8bb492b381..4bd716eb4b9 100644 --- a/gcc/mips-tfile.c +++ b/gcc/mips-tfile.c @@ -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 { |