aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-07-15 11:27:08 +0000
committerIan Lance Taylor <ian@airs.com>1999-07-15 11:27:08 +0000
commit966ed0b4d804bb98a0a6d531298f693861e58f45 (patch)
tree076a50adf9f4b18e05926ffa1d160ec978fc4788
parent6e2bf930a090b0676148d9d908a672fbbf787edd (diff)
downloadfsf-binutils-gdb-966ed0b4d804bb98a0a6d531298f693861e58f45.zip
fsf-binutils-gdb-966ed0b4d804bb98a0a6d531298f693861e58f45.tar.gz
fsf-binutils-gdb-966ed0b4d804bb98a0a6d531298f693861e58f45.tar.bz2
* dwarf2dbg.c (dwarf2_gen_line_info): Don't assume that long long
or %llx work.
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/dwarf2dbg.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index fd5ffac..e9bbbc7 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+1999-07-15 Ian Lance Taylor <ian@zembu.com>
+
+ * dwarf2dbg.c (dwarf2_gen_line_info): Don't assume that long long
+ or %llx work.
+
Thu Jul 15 02:45:30 1999 Jeffrey A Law (law@cygnus.com)
* config/tc-hppa.c (md_pseudo_table): Add ".dword" pseudo-op.
diff --git a/gas/dwarf2dbg.c b/gas/dwarf2dbg.c
index a148972..5e447ab 100644
--- a/gas/dwarf2dbg.c
+++ b/gas/dwarf2dbg.c
@@ -409,8 +409,8 @@ dwarf2_gen_line_info (addr, l)
segT saved_seg;
if (flag_debug)
- fprintf (stderr, "line: addr %llx file `%s' line %u col %u flags %x\n",
- (long long) addr, l->filename, l->line, l->column, l->flags);
+ fprintf (stderr, "line: addr %lx file `%s' line %u col %u flags %x\n",
+ (unsigned long) addr, l->filename, l->line, l->column, l->flags);
if (filenum > 0 && !l->filename)
{