Re: [PATCH] MIPS: Fix computation on entry point
From: Paul Burton
Date: Wed Aug 29 2018 - 13:57:59 EST
On Tue, Aug 28, 2018 at 05:52:50PM +0200, Philippe Reynes wrote:
> Since commit 27c524d17430 ("MIPS: Use the entry point from the ELF
> file header"), the kernel entry point is computed with a grep on
> "start address" on the output of objdump. It works fine when the
> default language is english but it may fail on other language (for
> example in French, the grep should be done on "adresse de départ").
> To fix this computation on most machine, I propose to force the
> language to english with "LC_ALL=C".
I wonder if it's time to bite the bullet & just write a little custom
program to do what we need, rather than trying to wrangle standard tools
that *almost* do what we need but not quite... Patch incoming.