diff options
author | Daniel Jacobowitz <dan@debian.org> | 2005-01-28 17:58:24 +0000 |
---|---|---|
committer | Daniel Jacobowitz <dan@debian.org> | 2005-01-28 17:58:24 +0000 |
commit | 7cb61e4699f3f41d0fc1e24e496160b36660c328 (patch) | |
tree | fbff30204bfd159d7c9b0dd94fd72e1090663c69 /bfd/elfcode.h | |
parent | e9144f37e22e6f3c841bd3b9c3be6f8dab9988ec (diff) | |
download | gdb-7cb61e4699f3f41d0fc1e24e496160b36660c328.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/elfcode.h')
-rw-r--r-- | bfd/elfcode.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elfcode.h b/bfd/elfcode.h index 0e22c33c47a..e1e995a505e 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; } |