aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf-bfd.h
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2005-01-28 17:58:24 +0000
committerDaniel Jacobowitz <drow@false.org>2005-01-28 17:58:24 +0000
commitb134237006c3ca03ab8a97e0334257885f578f5c (patch)
treedaf04cb932437d9f82462aa5d8f2bfc21fa347ab /bfd/elf-bfd.h
parent319850b45155323419e8862ee9e1b20d12b3a62d (diff)
downloadgdb-b134237006c3ca03ab8a97e0334257885f578f5c.zip
gdb-b134237006c3ca03ab8a97e0334257885f578f5c.tar.gz
gdb-b134237006c3ca03ab8a97e0334257885f578f5c.tar.bz2
* elf-bfd.h (struct elf_backend_data): Add minpagesize.
* elf32-arm.c (ELF_MINPAGESIZE): Define. * elf32-ppc.c (ELF_MINPAGESIZE): Define. * elfcode.h (elf_object_p): Use minpagesize instead of maxpagesize. * elfxx-target.h (ELF_MINPAGESIZE): Default to ELF_MAXPAGESIZE. (elfNN_bed): Include ELF_MINPAGESIZE.
Diffstat (limited to 'bfd/elf-bfd.h')
-rw-r--r--bfd/elf-bfd.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h
index 9387915..6645c9a 100644
--- a/bfd/elf-bfd.h
+++ b/bfd/elf-bfd.h
@@ -551,6 +551,11 @@ struct elf_backend_data
/* The maximum page size for this backend. */
bfd_vma maxpagesize;
+ /* The minimum page size for this backend. An input object will not be
+ considered page aligned unless its sections are correctly aligned for
+ pages at least this large. May be smaller than maxpagesize. */
+ bfd_vma minpagesize;
+
/* The BFD flags applied to sections created for dynamic linking. */
flagword dynamic_sec_flags;