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
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 */
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