[PATCH v2 03/12] sandbox: Migrate getopt section to linker list

Tom Rini trini at konsulko.com
Fri Apr 29 17:11:20 CEST 2022


On Thu, Apr 14, 2022 at 01:59:32PM +0000, Andrew Scull wrote:

> Use the common infrastructure to create a linker list of the sandbox
> command line flags rather than using a custom method.
> 
> The list is changed from containing pointers to containing structs and
> the uses are updated accordingly.
> 
> Signed-off-by: Andrew Scull <ascull at google.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> ---
>  arch/sandbox/cpu/os.c               | 21 ++++++++++-----------
>  arch/sandbox/cpu/start.c            | 10 +++++-----
>  arch/sandbox/cpu/u-boot-spl.lds     |  6 ------
>  arch/sandbox/cpu/u-boot.lds         |  6 ------
>  arch/sandbox/include/asm/getopt.h   | 19 ++++++++++++-------
>  arch/sandbox/include/asm/sections.h | 25 -------------------------
>  6 files changed, 27 insertions(+), 60 deletions(-)

This particular test causes all of the pytest infrastructure to fail.  I
believe "make qcheck" will show this, even, for a possibly easier
reproducer.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220429/96843664/attachment.sig>


More information about the U-Boot mailing list