All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Warren <swarren@wwwdotorg.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 11/12] arm: lib: Split asm symbols into different .text subsections
Date: Fri, 3 Jun 2016 10:02:52 -0600	[thread overview]
Message-ID: <5751AA2C.1010700@wwwdotorg.org> (raw)
In-Reply-To: <1464278507-5092-11-git-send-email-marex@denx.de>

On 05/26/2016 10:01 AM, Marek Vasut wrote:
> Split each symbol in lib1funcs into different .text.foo section instead
> of placing all of them into plain .text . This allows the linker to collect
> and discard unused assembler symbols.

This patch causes Tegra-boards-that-use-SPL (i.e. all ARMv7 boards but 
not ARMv8) to fail to boot with zero output. Taking u-boot.git master 
branch and reverting this one patch is enough to make U-Boot work again.

I haven't investigated how to solve this yet. Likely relevant background:

32-bit Tegra SPL runs on an ARM1176 CPU whereas main U-Boot runs on an 
ARMv7 CPU. We need to use PRIVATE_LIBGCC (at least for SPL) since the 
libgcc in the toolchains we use is compiled for ARMv7, and hence picking 
it up in SPL breaks boot. I wonder if these section name changes are 
causing the linker to pull in the toolchain's libgcc rather than using 
U-Boot's copy compiled for ARM1176?

  parent reply	other threads:[~2016-06-03 16:02 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-26 16:01 [U-Boot] [PATCH 01/12] arm: config: Introduce CONFIG_SYS_ARM_ARCH Marek Vasut
2016-05-26 16:01 ` [U-Boot] [PATCH 02/12] arm: include: Import unified.h from Linux kernel Marek Vasut
2016-06-02 13:05   ` Tom Rini
2016-06-03 13:59   ` [U-Boot] [U-Boot, " Tom Rini
2016-05-26 16:01 ` [U-Boot] [PATCH 03/12] arm: lib: Drop underscore from private libgcc filenames Marek Vasut
2016-06-02 13:05   ` Tom Rini
2016-06-03 13:59   ` [U-Boot] [U-Boot, " Tom Rini
2016-05-26 16:01 ` [U-Boot] [PATCH 04/12] arm: lib: Sync libgcc shift operations Marek Vasut
2016-06-02 13:05   ` Tom Rini
2016-06-03 13:59   ` [U-Boot] [U-Boot,04/12] " Tom Rini
2016-05-26 16:01 ` [U-Boot] [PATCH 05/12] arm: lib: Sync libgcc 32b division/modulo operations Marek Vasut
2016-06-02 13:05   ` Tom Rini
2016-06-03 13:59   ` [U-Boot] [U-Boot, " Tom Rini
2016-05-26 16:01 ` [U-Boot] [PATCH 06/12] arm: lib: Fix uldivmod.S build on Thumb2 Marek Vasut
2016-06-02 13:05   ` Tom Rini
2016-06-03 13:59   ` [U-Boot] [U-Boot, " Tom Rini
2016-05-26 16:01 ` [U-Boot] [PATCH 07/12] arm: lib: Import __do_div64 from Linux Marek Vasut
2016-06-02 13:05   ` Tom Rini
2016-06-03 13:59   ` [U-Boot] [U-Boot,07/12] " Tom Rini
2016-05-26 16:01 ` [U-Boot] [PATCH 08/12] arm: lib: Repair Warning: conditional infixes are deprecated in unified syntax Marek Vasut
2016-06-02 13:05   ` Tom Rini
2016-06-03 13:59   ` [U-Boot] [U-Boot, " Tom Rini
2016-05-26 16:01 ` [U-Boot] [PATCH 09/12] arm: lib: import muldi3.S from Linux Marek Vasut
2016-06-02 13:06   ` Tom Rini
2016-06-03 13:59   ` [U-Boot] [U-Boot,09/12] " Tom Rini
2016-05-26 16:01 ` [U-Boot] [PATCH 10/12] arm: lib: Import Thumb1 functions Marek Vasut
2016-06-02 13:06   ` Tom Rini
2016-06-03 13:59   ` [U-Boot] [U-Boot,10/12] " Tom Rini
2016-05-26 16:01 ` [U-Boot] [PATCH 11/12] arm: lib: Split asm symbols into different .text subsections Marek Vasut
2016-06-02 13:06   ` Tom Rini
2016-06-03 14:00   ` [U-Boot] [U-Boot, " Tom Rini
2016-06-03 16:02   ` Stephen Warren [this message]
2016-05-26 16:01 ` [U-Boot] [PATCH 12/12] lib: Enable private libgcc by default Marek Vasut
2016-06-02 13:06   ` Tom Rini
2016-06-03 14:00   ` [U-Boot] [U-Boot,12/12] " Tom Rini
2016-06-06 17:35     ` Simon Glass
2016-06-06 17:46       ` Michael Zimmermann
2016-06-02 13:05 ` [U-Boot] [PATCH 01/12] arm: config: Introduce CONFIG_SYS_ARM_ARCH Tom Rini
2016-06-03 13:59 ` [U-Boot] [U-Boot, " Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5751AA2C.1010700@wwwdotorg.org \
    --to=swarren@wwwdotorg.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.