diff --git a/bfd/ChangeLog b/bfd/ChangeLog index ee9a316b833..6f8051c6dc1 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2007-07-15 Mike Frysinger + + * trad-core.c (NBPG): If not defined, set to getpagesize(). + 2007-07-13 Roland McGrath * elf-bfd.h (struct elf_obj_tdata): Revert last change. diff --git a/bfd/trad-core.c b/bfd/trad-core.c index 43c06dfdf0e..e3485143185 100644 --- a/bfd/trad-core.c +++ b/bfd/trad-core.c @@ -48,6 +48,10 @@ #include TRAD_HEADER #endif +#ifndef NBPG +# define NBPG getpagesize() +#endif + struct trad_core_struct { asection *data_section;