diff options
author | Ian Lance Taylor <ian@airs.com> | 1994-08-24 21:17:40 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1994-08-24 21:17:40 +0000 |
commit | 5a53b1c1783207222857e0c5c7f7d259d7ae5031 (patch) | |
tree | 7c7be81e8321d5cccf4e3f4f6b53c3ecc1893363 /bfd/coffgen.c | |
parent | 3d19ff2b13614924624b45a044aa6e31b88012ae (diff) | |
download | gdb-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/coffgen.c')
-rw-r--r-- | bfd/coffgen.c | 2 |
1 files changed, 1 insertions, 1 deletions
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", |