Summary: | PDP11 TARGET_PAGE_SIZE is incorrect | ||
---|---|---|---|
Product: | binutils | Reporter: | Stephen Casner <casner> |
Component: | ld | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | cptjustice, nickc |
Priority: | P2 | ||
Version: | 2.27 | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Last reconfirmed: |
Description
Stephen Casner
2016-10-17 07:06:40 UTC
8192 is the correct page size for the PDP-11. There are two spots where it will need to be changed. The linker and the bfd both are at 256. Once I can test an actual executable on 2.11BSD and UNIX v7, I'll submit a patch. Thanks for picking up this bug. Do you need assistance with bringing up 2.11BSD and UNIX v7 systems on an emulated PDP11? Those systems are included as examples prepared to run on the PiDP11/70 recreated model front panel that Oscar Vermeulen has produced that uses simh as the emulation and Blinkenbone as the communication API. I could assist with running whatever tests you would like to see. The master branch has been updated by Nick Clifton <nickc@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=0d1cc75df1c9a356dfa47932e9ec52fca7d8f5ab commit 0d1cc75df1c9a356dfa47932e9ec52fca7d8f5ab Author: Lars Brinkhoff <lars@nocrew.org> Date: Wed Jan 15 14:18:54 2020 +0000 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. Patch applied. Thanks for making this fix. I can’t do any testing immediately but will do so in a couple of weeks. I have tested with a build from the git repository and concur that this bug is fixed. Thanks. |