aboutsummaryrefslogtreecommitdiff
path: root/bfd/pef.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2005-02-16 02:38:53 +0000
committerAlan Modra <amodra@gmail.com>2005-02-16 02:38:53 +0000
commit5ff625e9757a8839b58ee06e09844dc97b6c23d4 (patch)
tree9caf2c89a36106a50b903fd447d7cb1e94ad75da /bfd/pef.c
parent92b7a70fca9da1403097b63f62afb5f4e634b6a8 (diff)
downloadgdb-5ff625e9757a8839b58ee06e09844dc97b6c23d4.zip
gdb-5ff625e9757a8839b58ee06e09844dc97b6c23d4.tar.gz
gdb-5ff625e9757a8839b58ee06e09844dc97b6c23d4.tar.bz2
* 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 7f266c5..22d302f 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;