* coffgen.c (coff_print_symbol): Cast pointer different to long
authorIan Lance Taylor <ian@airs.com>
Wed, 24 Aug 1994 21:17:40 +0000 (21:17 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 24 Aug 1994 21:17:40 +0000 (21:17 +0000)
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.

bfd/ChangeLog
bfd/coffgen.c

index c0dc0f782fa7b4c4455fef909191493add0a0696..fea7f4d96d0da3216c49f3737bc6524752213d70 100644 (file)
@@ -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,
index 48b768f2d3a31ac28ad5642db2986e537ee8ceff..386f8dd112bb90fc5b0d32d880c5271fb1793be5 100644 (file)
@@ -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",