From: Ian Lance Taylor Date: Wed, 24 Aug 1994 21:17:40 +0000 (+0000) Subject: * coffgen.c (coff_print_symbol): Cast pointer different to long X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5a53b1c1783207222857e0c5c7f7d259d7ae5031;p=binutils-gdb.git * coffgen.c (coff_print_symbol): Cast pointer different to long and use %ld to print it. * osf-core.c (osf_core_core_file_p): Remove unused variable dseccnt. * ecoffswap.h (ecoff_swap_ext_out): If ECOFF_64, clear remaining bytes in bits2. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index c0dc0f782fa..fea7f4d96d0 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,12 @@ Wed Aug 24 11:49:19 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + * coffgen.c (coff_print_symbol): Cast pointer different to long + and use %ld to print it. + * osf-core.c (osf_core_core_file_p): Remove unused variable + dseccnt. + * ecoffswap.h (ecoff_swap_ext_out): If ECOFF_64, clear remaining + bytes in bits2. + * configure.host, config.bfd: Change i[34]86 to i[345]86. * coffgen.c (coff_real_object_p): Set obj_conv_table_size here, diff --git a/bfd/coffgen.c b/bfd/coffgen.c index 48b768f2d3a..386f8dd112b 100644 --- a/bfd/coffgen.c +++ b/bfd/coffgen.c @@ -1524,7 +1524,7 @@ coff_print_symbol (abfd, filep, symbol, how) combined_entry_type *root = obj_raw_syments (abfd); struct lineno_cache_entry *l = coffsymbol(symbol)->lineno; - fprintf (file,"[%3d]", combined - root); + fprintf (file,"[%3ld]", (long) (combined - root)); fprintf (file, "(sc %2d)(fl 0x%02x)(ty %3x)(sc %3d) (nx %d) 0x%08lx %s",