aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf-eh-frame.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2006-05-02 01:41:20 +0000
committerAlan Modra <amodra@gmail.com>2006-05-02 01:41:20 +0000
commite460dd0d29973affa0b660495c1426c16d797e4c (patch)
tree8542592e7efcbdb348cc15b8b18da9395099c2e0 /bfd/elf-eh-frame.c
parent641a3af4ae8c3f932f47b25aae158b55cd73618f (diff)
downloadgdb-e460dd0d29973affa0b660495c1426c16d797e4c.zip
gdb-e460dd0d29973affa0b660495c1426c16d797e4c.tar.gz
gdb-e460dd0d29973affa0b660495c1426c16d797e4c.tar.bz2
* dwarf2.c: Formatting.
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Simplify output section check. * elf32-i370.c: Warning fixes inside #ifdef DEBUG. * elf32-m32c.c: Similarly. * elf32-ppc.c: Similarly. * elf32-v850.c: Similarly. * nlm32-sparc.c: Similarly. * elfcode.h: Similarly. (elf_symbol_flags): Delete. * elflink.c (elf_link_input_bfd): Comment typo.
Diffstat (limited to 'bfd/elf-eh-frame.c')
-rw-r--r--bfd/elf-eh-frame.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/bfd/elf-eh-frame.c b/bfd/elf-eh-frame.c
index ab0b995..4f9ed4a 100644
--- a/bfd/elf-eh-frame.c
+++ b/bfd/elf-eh-frame.c
@@ -390,8 +390,7 @@ _bfd_elf_discard_section_eh_frame
return FALSE;
}
- if ((sec->output_section != NULL
- && bfd_is_abs_section (sec->output_section)))
+ if (bfd_is_abs_section (sec->output_section))
{
/* At least one of the sections is being discarded from the
link, so we should just ignore them. */