Re: pdp-11 TARGET_PAGE_SIZE mismatch in 2.25

2015-11-20 Thread Nick Clifton
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 smalle

Re: pdp-11 TARGET_PAGE_SIZE mismatch in 2.25

2015-10-30 Thread David Bridgham
In my previous message I jumped to the fix, rather than giving you just the problem. Sorry about that. Here's a little program: crt0.s: .text .even .globl _start _start: mov$014, sp movsp, r5 movargv, -(sp)/* argv */ mov$1, -(sp)/* argc */

pdp-11 TARGET_PAGE_SIZE mismatch in 2.25

2015-10-30 Thread David Bridgham
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