summaryrefslogtreecommitdiff
path: root/bfd/elf-bfd.h
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2005-01-28 17:58:24 +0000
committerDaniel Jacobowitz <dan@debian.org>2005-01-28 17:58:24 +0000
commitc50ae848a1c0b3aec42b6303fcff2efbc37f824f (patch)
treefa0dd6936cea08af62260b7a82c6d9c3325efc32 /bfd/elf-bfd.h
parent288d2c7a9e461ee75379689218b91bc70695abae (diff)
downloadbinutils-redhat-c50ae848a1c0b3aec42b6303fcff2efbc37f824f.tar.gz
* 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 938791563b..6645c9a90c 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;