aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-08-24 21:17:40 +0000
committerIan Lance Taylor <ian@airs.com>1994-08-24 21:17:40 +0000
commit5a53b1c1783207222857e0c5c7f7d259d7ae5031 (patch)
tree7c7be81e8321d5cccf4e3f4f6b53c3ecc1893363 /bfd
parent3d19ff2b13614924624b45a044aa6e31b88012ae (diff)
downloadgdb-5a53b1c1783207222857e0c5c7f7d259d7ae5031.zip
gdb-5a53b1c1783207222857e0c5c7f7d259d7ae5031.tar.gz
gdb-5a53b1c1783207222857e0c5c7f7d259d7ae5031.tar.bz2
* 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.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog7
-rw-r--r--bfd/coffgen.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index c0dc0f7..fea7f4d 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 48b768f..386f8dd 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",