diff options
author | Alan Modra <amodra@gmail.com> | 2001-08-17 16:01:49 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2001-08-17 16:01:49 +0000 |
commit | 23fe39dfb99274ef30821e32a42e5094433422e7 (patch) | |
tree | 68dea25361bfb2878b9e965894702924e84fee8a /gas/ecoff.c | |
parent | c0846b239705bd8528996e60dbabe16344410b2d (diff) | |
download | gdb-23fe39dfb99274ef30821e32a42e5094433422e7.zip gdb-23fe39dfb99274ef30821e32a42e5094433422e7.tar.gz gdb-23fe39dfb99274ef30821e32a42e5094433422e7.tar.bz2 |
* ecoff.c (ecoff_frob_symbol): Remove casts from bfd_get_gp_size.
(ecoff_build_symbols): Likewise.
* read.c (s_lcomm_internal): Fix signed/unsigned warning.
Diffstat (limited to 'gas/ecoff.c')
-rw-r--r-- | gas/ecoff.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gas/ecoff.c b/gas/ecoff.c index d9984ed..cbcdd9f 100644 --- a/gas/ecoff.c +++ b/gas/ecoff.c @@ -3616,7 +3616,7 @@ ecoff_frob_symbol (sym) { if (S_IS_COMMON (sym) && S_GET_VALUE (sym) > 0 - && S_GET_VALUE (sym) <= (unsigned) bfd_get_gp_size (stdoutput)) + && S_GET_VALUE (sym) <= bfd_get_gp_size (stdoutput)) { static asection scom_section; static asymbol scom_symbol; @@ -4081,7 +4081,7 @@ ecoff_build_symbols (backend, buf, bufend, offset) s = symbol_get_obj (as_sym)->ecoff_extern_size; if (s == 0 - || s > (unsigned) bfd_get_gp_size (stdoutput)) + || s > bfd_get_gp_size (stdoutput)) sc = sc_Undefined; else { @@ -4096,7 +4096,7 @@ ecoff_build_symbols (backend, buf, bufend, offset) { if (S_GET_VALUE (as_sym) > 0 && (S_GET_VALUE (as_sym) - <= (unsigned) bfd_get_gp_size (stdoutput))) + <= bfd_get_gp_size (stdoutput))) sc = sc_SCommon; else sc = sc_Common; |