Hi David,
In binutils-2.25 the files pfd/pdp11.c and ld/emulparams/pdp11.sh both define TARGET_PAGE_SIZE but the values are different. This causes weirdness in the linker output, namely symbol values are set by one while the sections' lma/vma values are set by the other. I went with the smaller value (256 instead of 1024) for my purposes because the pdp-11 is so memory limited but maybe somewhere else there's good reason for the larger number.
Thanks very much for pointing this out. I have checked in the patch you suggested along with this changelog entry.
Cheers Nick bfd/ChangeLog 2015-11-20 David Bridgham <d...@froghouse.org> * pdp11.c (TARGET_PAGE_SIZE): Set to 256 to match definition in ld/emulparams/pdp11.sh. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils