All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rick Chen <rickchen36@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [RFC PATCH 2/2] config.mk: Remove duplicated -fno-strict-aliasing
Date: Tue, 11 Sep 2018 09:54:42 +0800	[thread overview]
Message-ID: <CAN5B=eKzcN3+yjVY7QqH_p1n_oJrZW8SCuxotxf5cKzHq40HDA@mail.gmail.com> (raw)
In-Reply-To: <752D002CFF5D0F4FA35C0100F1D73F3F6BCBEC7A@ATCPCS16.andestech.com>

 > From: Bin Meng [mailto:bmeng.cn at gmail.com]
 > Sent: Monday, September 10, 2018 9:54 PM
 > To: Simon Glass; Tom Rini; Rick Jian-Zhi Chen(陳建志); U-Boot Mailing List
 > Cc: Tuomas Tynkkynen
 > Subject: [RFC PATCH 2/2] config.mk: Remove duplicated -fno-strict-aliasing
 >
 > Now that we already disable the "strict-aliasing" globally, remove
the duplicates
 > in the nds32/riscv/x86 arch-specific Makefiles.
 >
 > Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
 >
 > ---
 >
 >  arch/nds32/config.mk | 2 +-
 >  arch/riscv/config.mk | 2 +-
 >  arch/x86/config.mk   | 1 -
 >  3 files changed, 2 insertions(+), 3 deletions(-)
 >
 > diff --git a/arch/nds32/config.mk b/arch/nds32/config.mk index
cb3d8b3..c5520fd
 > 100644
 > --- a/arch/nds32/config.mk
 > +++ b/arch/nds32/config.mk
 > @@ -15,7 +15,7 @@ endif
 >  CONFIG_STANDALONE_LOAD_ADDR = 0x300000 \
 >                             -T $(srctree)/examples/standalone/nds32.lds
 >
 > -PLATFORM_RELFLAGS    += -fno-strict-aliasing -fno-common -mrelax
 > +PLATFORM_RELFLAGS    += -fno-common -mrelax
 >  PLATFORM_RELFLAGS    += -gdwarf-2
 >  PLATFORM_CPPFLAGS    += -D__nds32__ -G0 -ffixed-10 -fpie
 >
 > diff --git a/arch/riscv/config.mk b/arch/riscv/config.mk index
219e666..c0b3858
 > 100644
 > --- a/arch/riscv/config.mk
 > +++ b/arch/riscv/config.mk
 > @@ -31,7 +31,7 @@ CONFIG_STANDALONE_LOAD_ADDR = 0x00000000 \
 >                             -T $(srctree)/examples/standalone/riscv.lds
 >
 >  PLATFORM_CPPFLAGS    += -ffixed-gp -fpic
 > -PLATFORM_RELFLAGS += -fno-strict-aliasing -fno-common -gdwarf-2
 > -ffunction-sections
 > +PLATFORM_RELFLAGS += -fno-common -gdwarf-2 -ffunction-sections
 >  LDFLAGS_u-boot += --gc-sections -static -pie
 >

Reviewed-by: Rick Chen <rick@andestech.com>


 >  EFI_CRT0             := crt0_riscv_efi.o
 > diff --git a/arch/x86/config.mk b/arch/x86/config.mk index 5b04feb..cc94071
 > 100644
 > --- a/arch/x86/config.mk
 > +++ b/arch/x86/config.mk
 > @@ -5,7 +5,6 @@
 >
 >  CONFIG_STANDALONE_LOAD_ADDR ?= 0x40000
 >
 > -PLATFORM_CPPFLAGS += -fno-strict-aliasing  PLATFORM_CPPFLAGS +=
 > -fomit-frame-pointer
 >  PF_CPPFLAGS_X86   := $(call cc-option, -fno-toplevel-reorder, \
 >                    $(call cc-option, -fno-unit-at-a-time))

  parent reply	other threads:[~2018-09-11  1:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-10 13:53 [U-Boot] [RFC PATCH 1/2] Makefile: Use -fno-strict-aliasing globally Bin Meng
2018-09-10 13:53 ` [U-Boot] [RFC PATCH 2/2] config.mk: Remove duplicated -fno-strict-aliasing Bin Meng
     [not found]   ` <752D002CFF5D0F4FA35C0100F1D73F3F6BCBEC7A@ATCPCS16.andestech.com>
2018-09-11  1:54     ` Rick Chen [this message]
2018-09-10 21:49 ` [U-Boot] [RFC PATCH 1/2] Makefile: Use -fno-strict-aliasing globally Tom Rini
2018-09-14 10:53 ` Simon Glass

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='CAN5B=eKzcN3+yjVY7QqH_p1n_oJrZW8SCuxotxf5cKzHq40HDA@mail.gmail.com' \
    --to=rickchen36@gmail.com \
    --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.