diff options
author | Daniel Jacobowitz <drow@false.org> | 2005-01-28 17:58:24 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2005-01-28 17:58:24 +0000 |
commit | b134237006c3ca03ab8a97e0334257885f578f5c (patch) | |
tree | daf04cb932437d9f82462aa5d8f2bfc21fa347ab /bfd/elfcode.h | |
parent | 319850b45155323419e8862ee9e1b20d12b3a62d (diff) | |
download | gdb-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/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 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; } |