From 3853976a17007b04282b670bac7ca324680ad71c Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Fri, 17 Aug 2001 16:01:49 +0000 Subject: [PATCH] * 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. --- gas/ChangeLog | 16 +++++++++++----- gas/ecoff.c | 6 +++--- gas/read.c | 2 +- 3 files changed, 15 insertions(+), 9 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 5b4052b78..2a2d54183 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2001-08-17 Alan Modra + + * 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. + 2001-08-16 Thiemo Seufer * config/tc-mips.c (mips_elf_final_processing): Set elf header flags @@ -1538,7 +1544,7 @@ * dwarf2dbg.c (dwarf2_directive_file): Call s_app_file (0) if BFD_ASSEMBLER is not defined. -2001-02-23 Richard Sandiford +2001-02-23 Richard Sandiford * config/tc-mn10300.c (md_apply_fix3): Don't mark a fixup as done if it's against a symbol. @@ -1742,7 +1748,7 @@ Mon Feb 12 17:45:50 CET 2001 Jan Hubicka * config/tc-sh.c (md_pseudo_table): Add uaquad. Use s_uacons for 2byte, 4byte and 8byte. -2001-02-08 Alan Modra +2001-02-08 Alan Modra * config/tc-hppa.c (pa_build_unwind_subspace): Don't call md_number_to_chars with size > sizeof (valueT). @@ -2445,7 +2451,7 @@ Mon Dec 11 14:35:42 MET 2000 Jan hubicka * doc/as.texinfo: Correct description of MIPS -mcpu option, by copying some of the text from doc/c-mips.texi. -2000-12-01 Joel Sherrill +2000-12-01 Joel Sherrill * configure.in (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*): New targets. @@ -5956,7 +5962,7 @@ Fri Feb 11 14:21:51 2000 Jeffrey A Law (law@cygnus.com) * config/tc-ppc.c (ppc_fix_adjustable): Don't look at the frag of a symbol when we really care about its value. -2000-01-19 Chandra Chavva +2000-01-19 Chandra Chavva * config/tc-mcore.c (md_assemble): Give warning message if operands passes to instruction are more than the spec. @@ -5965,7 +5971,7 @@ Fri Feb 11 14:21:51 2000 Jeffrey A Law (law@cygnus.com) * config/tc-arm.c (armadjust_symtab): If the assembler is in Thumb mode but the label seen was not declared as '.thumb_func' - then set the ST_INFO type to STT_ARM_16BIT mode. This allows + then set the ST_INFO type to STT_ARM_16BIT mode. This allows correct disassembly of Thumb code bounded by non function labels. 2000-01-27 Alan Modra diff --git a/gas/ecoff.c b/gas/ecoff.c index d9984ed98..cbcdd9fb7 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; diff --git a/gas/read.c b/gas/read.c index 1e13698f9..17bd4564e 100644 --- a/gas/read.c +++ b/gas/read.c @@ -1988,7 +1988,7 @@ s_lcomm_internal (needs_align, bytes_p) || OUTPUT_FLAVOR == bfd_target_elf_flavour) { /* For MIPS and Alpha ECOFF or ELF, small objects are put in .sbss. */ - if (temp <= bfd_get_gp_size (stdoutput)) + if ((unsigned) temp <= bfd_get_gp_size (stdoutput)) { bss_seg = subseg_new (".sbss", 1); seg_info (bss_seg)->bss = 1; -- 2.11.4.GIT