diff options
author | Alan Modra <amodra@gmail.com> | 2009-08-30 05:46:27 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2009-08-30 05:46:27 +0000 |
commit | 095106a28929849695bf377fdfffdd67015704b7 (patch) | |
tree | feb5359be4d7a093214be04522478187a6387343 /bfd/bfd.c | |
parent | 2c80e9338b440b6df8f8893e069723ac9441628f (diff) | |
download | binutils-095106a28929849695bf377fdfffdd67015704b7.zip binutils-095106a28929849695bf377fdfffdd67015704b7.tar.gz binutils-095106a28929849695bf377fdfffdd67015704b7.tar.bz2 |
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.c | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -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; } |