aboutsummaryrefslogtreecommitdiff
path: root/binutils/objdump.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>1999-05-11 21:06:16 +0000
committerDJ Delorie <dj@redhat.com>1999-05-11 21:06:16 +0000
commit09cda596de63a115baf24952deae289298a67a87 (patch)
treea052a9fcba4ca4a13957a6b7bb678e9e388d143d /binutils/objdump.c
parentec0ef80e9f48ae59958cfe0ff8a998881833ca12 (diff)
downloadgdb-09cda596de63a115baf24952deae289298a67a87.zip
gdb-09cda596de63a115baf24952deae289298a67a87.tar.gz
gdb-09cda596de63a115baf24952deae289298a67a87.tar.bz2
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 811dd0e..5baf235 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);
}