diff options
author | Alan Modra <amodra@gmail.com> | 2007-07-10 13:52:39 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2007-07-10 13:52:39 +0000 |
commit | 5184c2ae47954b52118a7ea757407834b59038cf (patch) | |
tree | bf8e41d7640d309b914d1d3d77b846cbdd5b3d0e /binutils/objdump.c | |
parent | 329b43c490f3fa2573f65f3b1a7e717d4f1a43c3 (diff) | |
download | gdb-5184c2ae47954b52118a7ea757407834b59038cf.zip gdb-5184c2ae47954b52118a7ea757407834b59038cf.tar.gz gdb-5184c2ae47954b52118a7ea757407834b59038cf.tar.bz2 |
* objdump.c (dump_dwarf): Correct setting of is_relocatable.
Diffstat (limited to 'binutils/objdump.c')
-rw-r--r-- | binutils/objdump.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/binutils/objdump.c b/binutils/objdump.c index 8ab69a4..03bc4d6 100644 --- a/binutils/objdump.c +++ b/binutils/objdump.c @@ -2166,8 +2166,7 @@ check_mach_o_dwarf (bfd *abfd) static void dump_dwarf (bfd *abfd) { - is_relocatable = ((abfd->flags & (HAS_RELOC | EXEC_P | DYNAMIC)) - == HAS_RELOC); + is_relocatable = (abfd->flags & (EXEC_P | DYNAMIC)) == 0; /* FIXME: bfd_get_arch_size may return -1. We assume that 64bit targets will return 64. */ |