From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Tue, 21 Feb 2012 20:52:16 +0100 Subject: [U-Boot] [PATCH v3 6/7] arm: add a common .lds link script In-Reply-To: References: <1329805072-9572-7-git-send-email-sjg@chromium.org> <4F4397F4.3040301@aribaud.net> Message-ID: <4F43F5F0.30409@aribaud.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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.