2007-08-20 Jan Kratochvil <jan.kratochvil@redhat.com>
* elfxx-target.h [ELF_COMMONPAGESIZE && ELF_MAXPAGESIZE] (ELF_MINPAGESIZE): Fixed its size guess. Sanity checked its size. (ELF_COMMONPAGESIZE, ELF_MAXPAGESIZE): Sanity checked their size.
This commit is contained in:
parent
75ea273619
commit
19ec0de70a
2 changed files with 18 additions and 5 deletions
|
@ -1,3 +1,9 @@
|
|||
2007-08-20 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
* elfxx-target.h [ELF_COMMONPAGESIZE && ELF_MAXPAGESIZE]
|
||||
(ELF_MINPAGESIZE): Fixed its size guess. Sanity checked its size.
|
||||
(ELF_COMMONPAGESIZE, ELF_MAXPAGESIZE): Sanity checked their size.
|
||||
|
||||
2007-08-20 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* elflink.c (elf_fixup_link_order): Rewrite conversion of
|
||||
|
|
|
@ -298,18 +298,25 @@
|
|||
#endif
|
||||
|
||||
#ifndef ELF_MAXPAGESIZE
|
||||
#error ELF_MAXPAGESIZE is not defined
|
||||
# error ELF_MAXPAGESIZE is not defined
|
||||
#define ELF_MAXPAGESIZE 1
|
||||
#endif
|
||||
|
||||
#ifndef ELF_MINPAGESIZE
|
||||
#define ELF_MINPAGESIZE ELF_MAXPAGESIZE
|
||||
#endif
|
||||
|
||||
#ifndef ELF_COMMONPAGESIZE
|
||||
#define ELF_COMMONPAGESIZE ELF_MAXPAGESIZE
|
||||
#endif
|
||||
|
||||
#ifndef ELF_MINPAGESIZE
|
||||
#define ELF_MINPAGESIZE ELF_COMMONPAGESIZE
|
||||
#endif
|
||||
|
||||
#if ELF_COMMONPAGESIZE > ELF_MAXPAGESIZE
|
||||
# error ELF_COMMONPAGESIZE > ELF_MAXPAGESIZE
|
||||
#endif
|
||||
#if ELF_MINPAGESIZE > ELF_COMMONPAGESIZE
|
||||
# error ELF_MINPAGESIZE > ELF_COMMONPAGESIZE
|
||||
#endif
|
||||
|
||||
#ifndef ELF_DYNAMIC_SEC_FLAGS
|
||||
/* Note that we set the SEC_IN_MEMORY flag for these sections. */
|
||||
#define ELF_DYNAMIC_SEC_FLAGS \
|
||||
|
|
Loading…
Reference in a new issue