From 0d1cc75df1c9a356dfa47932e9ec52fca7d8f5ab Mon Sep 17 00:00:00 2001 From: Lars Brinkhoff Date: Wed, 15 Jan 2020 14:18:54 +0000 Subject: [PATCH] Set the default page size of the PDP11 target to 8192 bytes. PR 20694 bfd * pdp11.c (TARGET_PAGE_SIZE): Set to 8192. ld * temulparams/pdp11.sh (TARGET_PAGE_SIZE): Set to 8192. --- bfd/ChangeLog | 5 +++++ bfd/pdp11.c | 2 +- ld/ChangeLog | 5 +++++ ld/emulparams/pdp11.sh | 2 +- 4 files changed, 12 insertions(+), 2 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 21f6769ba46..c9c708c2dac 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2020-01-15 Lars Brinkhoff + + PR 20694 + * pdp11.c (TARGET_PAGE_SIZE): Set to 8192. + 2020-01-15 Alan Modra PR 25384 diff --git a/bfd/pdp11.c b/bfd/pdp11.c index 7b9c67e1753..1ab30333638 100644 --- a/bfd/pdp11.c +++ b/bfd/pdp11.c @@ -37,7 +37,7 @@ #define ARCH_SIZE 16 #undef TARGET_IS_BIG_ENDIAN_P -#define TARGET_PAGE_SIZE 256 +#define TARGET_PAGE_SIZE 8192 #define SEGMENT__SIZE TARGET_PAGE_SIZE #define DEFAULT_ARCH bfd_arch_pdp11 diff --git a/ld/ChangeLog b/ld/ChangeLog index 7e83e2b822e..5208f62cfe4 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2020-01-15 Lars Brinkhoff + + PR 20694 + * temulparams/pdp11.sh (TARGET_PAGE_SIZE): Set to 8192. + 2020-01-15 Jozef Lawrynowicz * testsuite/ld-msp430-elf/msp430-elf.exp: Run new test. diff --git a/ld/emulparams/pdp11.sh b/ld/emulparams/pdp11.sh index aaf955afc87..9b6bbbbd25b 100644 --- a/ld/emulparams/pdp11.sh +++ b/ld/emulparams/pdp11.sh @@ -1,5 +1,5 @@ SCRIPT_NAME=aout OUTPUT_FORMAT="a.out-pdp11" TEXT_START_ADDR=0 -TARGET_PAGE_SIZE=256 +TARGET_PAGE_SIZE=8192 ARCH=pdp11 -- 2.30.2