summaryrefslogtreecommitdiff
path: root/binutils/objdump.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>1999-05-11 21:06:16 +0000
committerDJ Delorie <dj@delorie.com>1999-05-11 21:06:16 +0000
commita32a6d24adae19034a728286cab67ec5d61cc6f0 (patch)
tree955a47f0b13be4b7c5b1f2fbb02a1a7d0af830dc /binutils/objdump.c
parent72542c1f88daf3c249aebc927670a54ce9da43be (diff)
downloadbinutils-redhat-a32a6d24adae19034a728286cab67ec5d61cc6f0.tar.gz
1999-05-10 DJ Delorie <dj@cygnus.com>
* windres.c (quot): Quote shell metacharacters in a string (main): quote parameters to cpp that might have metacharacters in them. Allow -D as an alias for --define to allow for sharing make macros with gcc. * objdump.c (dump_reloc_set): don't core if howto->name is NULL * Makefile.am: Give rescoff.c a cpu-specific -D so it can set the correct BFD. * Makefile.in: ditto * rescoff.c (write_coff_file): Set the correct BFD
Diffstat (limited to 'binutils/objdump.c')
-rw-r--r--binutils/objdump.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/binutils/objdump.c b/binutils/objdump.c
index 811dd0eff1..5baf235ebb 100644
--- a/binutils/objdump.c
+++ b/binutils/objdump.c
@@ -2468,7 +2468,10 @@ dump_reloc_set (abfd, sec, relpp, relcount)
if (sym_name)
{
printf_vma (q->address);
- printf (" %-16s ", q->howto->name);
+ if (q->howto->name)
+ printf (" %-16s ", q->howto->name);
+ else
+ printf (" %-16d ", q->howto->type);
objdump_print_symname (abfd, (struct disassemble_info *) NULL,
*q->sym_ptr_ptr);
}