summaryrefslogtreecommitdiff
path: root/bfd/pef.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2005-02-16 02:38:53 +0000
committerAlan Modra <amodra@bigpond.net.au>2005-02-16 02:38:53 +0000
commit6c3b0eee6dfc16b19bc74a2b6e45a9b13b8e87e7 (patch)
tree9ac37cee4cb5993497ff10c663e387b3f4a63574 /bfd/pef.c
parent8bf410a96a3e03c095f62f10881b9c19c5914b20 (diff)
downloadbinutils-redhat-6c3b0eee6dfc16b19bc74a2b6e45a9b13b8e87e7.tar.gz
* coff-arm.c (coff_arm_is_local_label_name): Warning fix.
* elf32-frv.c (frvfdpic_relocs_info_hash): Likewise. * pef.c (bfd_pef_scan): Don't ignore return value of bfd_pef_scan_start_address.
Diffstat (limited to 'bfd/pef.c')
-rw-r--r--bfd/pef.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/pef.c b/bfd/pef.c
index 7f266c5cff..22d302f319 100644
--- a/bfd/pef.c
+++ b/bfd/pef.c
@@ -1,5 +1,5 @@
/* PEF support for BFD.
- Copyright 1999, 2000, 2001, 2002, 2003, 2004
+ Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005
Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
@@ -600,7 +600,7 @@ bfd_pef_scan (abfd, header, mdata)
}
if (bfd_pef_scan_start_address (abfd) < 0)
- ;
+ return -1;
abfd->tdata.pef_data = mdata;