Messages in this thread | | | Subject | Re: [PATCH] MIPS: Use Makefile.postlink to insert relocations into vmlinux | From | "Steven J. Hill" <> | Date | Fri, 2 Dec 2016 13:06:17 -0600 |
| |
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@imgtec.com> > Tested on OCTEON III with relocatable kernel.
Tested-by: Steven J. Hill <steven.hill@cavium.com>
| |