aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf32-ppc.c5
2 files changed, 5 insertions, 5 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 7f999f7..c34cff6 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,10 @@
2018-04-14 Alan Modra <amodra@gmail.com>
+ * elf32-ppc.c (ELF_MAXPAGESIZE, ELF_COMMONPAGESIZE): Don't depend
+ on __QNXTARGET__ define.
+
+2018-04-14 Alan Modra <amodra@gmail.com>
+
* config.bfd: Add powerpc-*-lynxos* and powerpc-*-windiss*
to obsolete list.
diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c
index 7f51fac..8629380 100644
--- a/bfd/elf32-ppc.c
+++ b/bfd/elf32-ppc.c
@@ -11389,13 +11389,8 @@ ppc_elf_finish_dynamic_sections (bfd *output_bfd,
#define ELF_ARCH bfd_arch_powerpc
#define ELF_TARGET_ID PPC32_ELF_DATA
#define ELF_MACHINE_CODE EM_PPC
-#ifdef __QNXTARGET__
-#define ELF_MAXPAGESIZE 0x1000
-#define ELF_COMMONPAGESIZE 0x1000
-#else
#define ELF_MAXPAGESIZE 0x10000
#define ELF_COMMONPAGESIZE 0x10000
-#endif
#define ELF_MINPAGESIZE 0x1000
#define elf_info_to_howto ppc_elf_info_to_howto