* 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.
This commit is contained in:
Ian Lance Taylor 1994-08-24 21:17:40 +00:00
parent 3d19ff2b13
commit 5a53b1c178
2 changed files with 8 additions and 1 deletions

View 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,

View 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",