public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] i386: Remove -Wa,-mtune=i686
@ 2022-07-12 18:14 Fangrui Song
  0 siblings, 0 replies; only message in thread
From: Fangrui Song @ 2022-07-12 18:14 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=c5bec9d491c5d066dd238ccafcdec78cd4592e8e

commit c5bec9d491c5d066dd238ccafcdec78cd4592e8e
Author: Fangrui Song <maskray@google.com>
Date:   Tue Jul 12 11:14:32 2022 -0700

    i386: Remove -Wa,-mtune=i686
    
    gas -mtune= may change NOP generating patterns but -mtune=i686 has no
    difference from the default by inspecting .o and .os files.
    
    Note: Clang doesn't support -Wa,-mtune=i686.

Diff:
---
 sysdeps/i386/i686/Makefile | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/sysdeps/i386/i686/Makefile b/sysdeps/i386/i686/Makefile
index 311042787b..6b5fc8a59c 100644
--- a/sysdeps/i386/i686/Makefile
+++ b/sysdeps/i386/i686/Makefile
@@ -1,12 +1,2 @@
 # So that we can test __m128's alignment
 stack-align-test-flags += -msse
-
-CFLAGS-.o += -Wa,-mtune=i686
-CFLAGS-.os += -Wa,-mtune=i686
-CFLAGS-.op += -Wa,-mtune=i686
-CFLAGS-.oS += -Wa,-mtune=i686
-
-ASFLAGS-.o += -Wa,-mtune=i686
-ASFLAGS-.os += -Wa,-mtune=i686
-ASFLAGS-.op += -Wa,-mtune=i686
-ASFLAGS-.oS += -Wa,-mtune=i686


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-07-12 18:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-12 18:14 [glibc] i386: Remove -Wa,-mtune=i686 Fangrui Song

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).