summaryrefslogtreecommitdiff
path: root/bfd/bfd.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2009-08-30 05:46:27 +0000
committerAlan Modra <amodra@bigpond.net.au>2009-08-30 05:46:27 +0000
commit49588ae64ef45c0c0091457f8223215e56183ed6 (patch)
tree41bb76dd36b873dc7fe5a89b3b9918efd8cc5536 /bfd/bfd.c
parent742de9daa518c83883ba47bbcefb4f6215bedef2 (diff)
downloadbinutils-redhat-49588ae64ef45c0c0091457f8223215e56183ed6.tar.gz
PR ld/10569
* bfd.c (bfd_emul_get_maxpagesize): Don't abort. (bfd_emul_get_commonpagesize): Likewise.
Diffstat (limited to 'bfd/bfd.c')
-rw-r--r--bfd/bfd.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/bfd/bfd.c b/bfd/bfd.c
index 4a1b5caa08..549e8526a0 100644
--- a/bfd/bfd.c
+++ b/bfd/bfd.c
@@ -1703,8 +1703,7 @@ DESCRIPTION
emulation.
RETURNS
- Returns the maximum page size in bytes for ELF, abort
- otherwise.
+ Returns the maximum page size in bytes for ELF, 0 otherwise.
*/
bfd_vma
@@ -1717,7 +1716,6 @@ bfd_emul_get_maxpagesize (const char *emul)
&& target->flavour == bfd_target_elf_flavour)
return xvec_get_elf_backend_data (target)->maxpagesize;
- abort ();
return 0;
}
@@ -1776,7 +1774,7 @@ DESCRIPTION
emulation.
RETURNS
- Returns the common page size in bytes for ELF, abort otherwise.
+ Returns the common page size in bytes for ELF, 0 otherwise.
*/
bfd_vma
@@ -1789,7 +1787,6 @@ bfd_emul_get_commonpagesize (const char *emul)
&& target->flavour == bfd_target_elf_flavour)
return xvec_get_elf_backend_data (target)->commonpagesize;
- abort ();
return 0;
}