All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] arch/powerpc/config.mk: Pass -fno-ira-hoist-pressure when possible
@ 2015-10-17 12:13 Tom Rini
  2015-10-20  0:07 ` [U-Boot] " Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Tom Rini @ 2015-10-17 12:13 UTC (permalink / raw
  To: u-boot

There are various toolchain issues that cause us to produce invalid
binaries with certain gcc 4.8.x and 4.9.x versions when we don't pass
this flag in.

Tested-by: Joakim Tjernlund <joakim.tjernlund@transmode.se>
Signed-off-by: Tom Rini <trini@konsulko.com>
---
 arch/powerpc/config.mk |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/powerpc/config.mk b/arch/powerpc/config.mk
index 83b49b5..6b44a37 100644
--- a/arch/powerpc/config.mk
+++ b/arch/powerpc/config.mk
@@ -15,7 +15,8 @@ LDFLAGS_FINAL += --bss-plt
 PLATFORM_RELFLAGS += -fpic -mrelocatable -ffunction-sections \
 -fdata-sections -mcall-linux
 
-PLATFORM_CPPFLAGS += -D__powerpc__ -ffixed-r2 -m32
+PF_CPPFLAGS_POWERPC	:= $(call cc-option,-fno-ira-hoist-pressure,)
+PLATFORM_CPPFLAGS += -D__powerpc__ -ffixed-r2 -m32 $(PF_CPPFLAGS_POWERPC)
 PLATFORM_LDFLAGS  += -m32 -melf32ppclinux
 
 #
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] arch/powerpc/config.mk: Pass -fno-ira-hoist-pressure when possible
  2015-10-17 12:13 [U-Boot] [PATCH] arch/powerpc/config.mk: Pass -fno-ira-hoist-pressure when possible Tom Rini
@ 2015-10-20  0:07 ` Tom Rini
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2015-10-20  0:07 UTC (permalink / raw
  To: u-boot

On Sat, Oct 17, 2015 at 08:13:54AM -0400, Tom Rini wrote:

> There are various toolchain issues that cause us to produce invalid
> binaries with certain gcc 4.8.x and 4.9.x versions when we don't pass
> this flag in.
> 
> Tested-by: Joakim Tjernlund <joakim.tjernlund@transmode.se>
> Signed-off-by: Tom Rini <trini@konsulko.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151019/4937ee95/attachment.sig>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-10-20  0:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-17 12:13 [U-Boot] [PATCH] arch/powerpc/config.mk: Pass -fno-ira-hoist-pressure when possible Tom Rini
2015-10-20  0:07 ` [U-Boot] " Tom Rini

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.