From b134237006c3ca03ab8a97e0334257885f578f5c Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Fri, 28 Jan 2005 17:58:24 +0000 Subject: * 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. --- bfd/elfcode.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bfd/elfcode.h') diff --git a/bfd/elfcode.h b/bfd/elfcode.h index 0e22c33..e1e995a 100644 --- a/bfd/elfcode.h +++ b/bfd/elfcode.h @@ -1,6 +1,6 @@ /* ELF executable support for BFD. Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, - 2001, 2002, 2003, 2004 Free Software Foundation, Inc. + 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. Written by Fred Fish @ Cygnus Support, from information published in "UNIX System V Release 4, Programmers Guide: ANSI C and @@ -680,7 +680,7 @@ elf_object_p (bfd *abfd) && (i_shdrp[shindex].sh_flags & SHF_ALLOC) != 0 && i_shdrp[shindex].sh_type != SHT_NOBITS && (((i_shdrp[shindex].sh_addr - i_shdrp[shindex].sh_offset) - % ebd->maxpagesize) + % ebd->minpagesize) != 0)) abfd->flags &= ~D_PAGED; } -- cgit v1.1