[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <886bbe44-0ad5-dcaa-f27f-ab502e05b4a0@cavium.com>
Date: Fri, 2 Dec 2016 13:06:17 -0600
From: "Steven J. Hill" <Steven.Hill@...ium.com>
To: Matt Redfearn <matt.redfearn@...tec.com>,
Ralf Baechle <ralf@...ux-mips.org>
CC: <linux-mips@...ux-mips.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] MIPS: Use Makefile.postlink to insert relocations into
vmlinux
On 11/10/2016 04:02 AM, Matt Redfearn wrote:
> When relocatable support for MIPS was merged, there was no support for
> an architecture to add a postlink step for vmlinux. This meant that only
> invoking a target within the boot directory, such as uImage, caused the
> relocations to be inserted into vmlinux. Building just the vmlinux
> target would result in a relocatable kernel with no relocation
> information present.
>
> Commit fbe6e37dab97 ("kbuild: add arch specific post-link Makefile")
> recified this situation, so MIPS can now define a postlink step to add
> relocation information into vmlinux, and remove the additional steps
> tacked onto boot targets.
>
> Signed-off-by: Matt Redfearn <matt.redfearn@...tec.com>
>
Tested on OCTEON III with relocatable kernel.
Tested-by: Steven J. Hill <steven.hill@...ium.com>
Powered by blists - more mailing lists