Re: [PATCH 2/5] MIPS: Fix vmlinux.64 target for CONFIG_RELOCATABLE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 24/11/16 09:14, Matt Redfearn wrote:


On 23/11/16 12:15, Steven J. Hill wrote:
On 11/22/2016 03:05 PM, Matt Redfearn wrote:
Please could you see if https://patchwork.linux-mips.org/patch/14554/ fixes this issue?

Hey Matt.

Unfortunately when objcopy runs, I get a segfault and my image is
corrupted. I can send you the output when I add the 'V=1' flag if
you would like.

Steve

Hi Steve,
From your output it looks like th relocs tool has not been run before the objcopy is attempted. As the comment in the original code said, objcopy has issues copying the relocs so they have to be removed by the tool before that is done. What version kernel are your patches based on? The commit that I referenced in the patch (fbe6e37dab97) is only present in v4.9-rc1 onwards. Without that commit this patch will not work.

Thanks,
Matt


Hi Steve,

I applied the patch series to test it and confirmed that on v4.9rc-6, which includes fbe6e37dab97, and https://patchwork.linux-mips.org/patch/14554 applied patch v2 is not necessary.

Thanks,

Matt





[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux