aboutsummaryrefslogtreecommitdiff
path: root/bfd/mach-o.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2005-02-16 04:45:23 +0000
committerAlan Modra <amodra@gmail.com>2005-02-16 04:45:23 +0000
commit7e3102a71060e1436b74010e8783334c3f282885 (patch)
treefc222f59f2be7c5cfbfd7be9c9e477b6a91a5ca6 /bfd/mach-o.c
parent7124f6fbb462b50a4b17c2bd4e0e08df1efd3ad8 (diff)
downloadgdb-7e3102a71060e1436b74010e8783334c3f282885.zip
gdb-7e3102a71060e1436b74010e8783334c3f282885.tar.gz
gdb-7e3102a71060e1436b74010e8783334c3f282885.tar.bz2
* mach-o.c (bfd_mach_o_scan): Don't ignore return value of
bfd_mach_o_scan_start_address. * elfxx-ia64.c (elfNN_ia64_relax_brl): Rewrite for 32-bit bfd_vma. * elfxx-mips.c: Remove unnecessary prototypes. (sort_dynamic_relocs_64): Abort if not BFD64.
Diffstat (limited to 'bfd/mach-o.c')
-rw-r--r--bfd/mach-o.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/mach-o.c b/bfd/mach-o.c
index 7efc1a9..8337f19 100644
--- a/bfd/mach-o.c
+++ b/bfd/mach-o.c
@@ -1,5 +1,5 @@
/* Mach-O 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.
@@ -1657,7 +1657,7 @@ bfd_mach_o_scan (abfd, header, mdata)
}
if (bfd_mach_o_scan_start_address (abfd) < 0)
- ;
+ return -1;
bfd_mach_o_flatten_sections (abfd);
return 0;