[U-Boot] [PATCH v3 6/7] arm: add a common .lds link script

Albert ARIBAUD albert.u.boot at aribaud.net
Tue Feb 21 20:52:16 CET 2012


Hi Simon,

Le 21/02/2012 18:02, Simon Glass a écrit :

>>> +       . = ALIGN(4);
>>
>>
>> This "ALIGN(4)" is what upsets my edminiv2 build and makes it not
>> binary-identical. It is not in the current arm926ejs liner script. I will
>> check if adding it to the current arm926ejs script produces a working and
>> binary-identical u-boot.
>
> OK, but realistically we copy a word at a time (at least) and the
> .rel.dyn region is going to be word-aligned I think. All we are doing
> here is making sure that the image ends on a word boundary, which
> seems reasonable to me.
>
> In other words, I would like the __image_copy_start and
> __image_copy_end symbols to be word-aligned.

I understand the requirement and agree to it -- only, it seems to me it 
is already fulfilled in the current lds files, so I still fail to see 
what breaks 'near binary identity'.

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list