[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171030163816.GA27404@n2100.armlinux.org.uk>
Date: Mon, 30 Oct 2017 16:38:17 +0000
From: Russell King - ARM Linux <linux@...linux.org.uk>
To: Gregory CLEMENT <gregory.clement@...e-electrons.com>
Cc: Arnd Bergmann <arnd@...db.de>,
Ard Biesheuvel <ard.biesheuvel@...aro.org>,
Robert Jarzmik <robert.jarzmik@...e.fr>,
Aaro Koskinen <aaro.koskinen@....fi>,
LKML <linux-kernel@...r.kernel.org>,
Andrea Adami <andrea.adami@...il.com>,
Romain Izard <romain.izard.pro@...il.com>,
Sven Schmidt <4sschmid@...ormatik.uni-hamburg.de>,
Petr Cvek <petrcvekcz@...il.com>,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH] ARM: add a private asm/unaligned.h
On Mon, Oct 30, 2017 at 05:24:34PM +0100, Gregory CLEMENT wrote:
> Hi Russell King,
>
> Here you will find all the objects included the vmlinux:
>
> http://free-electrons.com/~gregory/pub/compressed.tgz
Thanks. Unfortunately, nothing stands out, but I do see a difference
between the output of your linker from mine.
Yours:
Idx Name Size VMA LMA File off Algn
0 .text 00005ef8 00000000 00000000 00010000 2**5
CONTENTS, ALLOC, LOAD, READONLY, CODE
Mine:
Idx Name Size VMA LMA File off Algn
0 .text 00005f00 00000000 00000000 00010000 2**5
CONTENTS, ALLOC, LOAD, READONLY, CODE
That has the effect of moving the addresses of the following
sections in your vmlinux down by 8 bytes. However, I don't think
that's the cause of this - but it does hint at something being
different in binutils in the way sections are processed in the
linker.
Please add to your linker script after the assignment of _edata:
.image_end (NOLOAD) : {
_edata_foo = .;
}
relink the decompressor, and see what value _edata_foo ends up with
compared to _edata? They should be the same, but I suspect using
your linker, they will be different.
Also try adding
BYTE(0);
after the _edata_foo assignment as a separate test, and see whether
that makes any difference - with that you should end up with the
.image_end section in the output image.
--
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line in suburbia: sync at 8.8Mbps down 630kbps up
According to speedtest.net: 8.21Mbps down 510kbps up
Powered by blists - more mailing lists