bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pdp-11 TARGET_PAGE_SIZE mismatch in 2.25


From: Nick Clifton
Subject: Re: pdp-11 TARGET_PAGE_SIZE mismatch in 2.25
Date: Fri, 20 Nov 2015 12:59:59 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

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  <address@hidden>

        * pdp11.c (TARGET_PAGE_SIZE): Set to 256 to match definition in
        ld/emulparams/pdp11.sh.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]