public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Joseph S. Myers" <joseph@codesourcery.com>
To: gcc-patches@gcc.gnu.org
Cc: rth@redhat.com, davem@redhat.com, jakub@redhat.com,
	    ebotcazou@libertysurf.fr
Subject: [02/25] Specs cleanup: assembler -v/-V (SPARC)
Date: Fri, 14 Jan 2011 00:05:00 -0000	[thread overview]
Message-ID: <Pine.LNX.4.64.1101140000570.6059@digraph.polyomino.org.uk> (raw)
In-Reply-To: <Pine.LNX.4.64.1101132358490.6059@digraph.polyomino.org.uk>

In <http://gcc.gnu.org/ml/gcc-patches/2010-12/msg00195.html> I removed
various %{v} and %{v:-V} assembler specs that would only be used with
the GNU assembler.  This patch removes some more such specs; none of
these end up being used on Solaris, the only SPARC target that may use
a non-GNU assembler.  OK to commit?

2011-01-13  Joseph Myers  <joseph@codesourcery.com>

	* config/sparc/sp-elf.h (ASM_SPEC): Remove %{v:-V}.
	* config/sparc/sp64-elf.h (ASM_SPEC): Likewise.
	* config/sparc/sysv4.h (ASM_SPEC): Likewise.

diff -rupN --exclude=.svn gcc-mainline-1/gcc/config/sparc/sp-elf.h gcc-mainline/gcc/config/sparc/sp-elf.h
--- gcc-mainline-1/gcc/config/sparc/sp-elf.h	2010-12-09 05:38:50.000000000 -0800
+++ gcc-mainline/gcc/config/sparc/sp-elf.h	2011-01-12 13:56:56.000000000 -0800
@@ -28,7 +28,7 @@ along with GCC; see the file COPYING3.  
    It's safe to pass -s always, even if -g is not used.  */
 #undef ASM_SPEC
 #define ASM_SPEC \
-  "%{v:-V} %{Qy:} %{!Qn:-Qy} %{Ym,*} -s \
+  "%{Qy:} %{!Qn:-Qy} %{Ym,*} -s \
    %{fpic|fpie|fPIC|fPIE:-K PIC} %(asm_cpu)"
 
 /* Use the default.  */
diff -rupN --exclude=.svn gcc-mainline-1/gcc/config/sparc/sp64-elf.h gcc-mainline/gcc/config/sparc/sp64-elf.h
--- gcc-mainline-1/gcc/config/sparc/sp64-elf.h	2010-12-06 06:43:00.000000000 -0800
+++ gcc-mainline/gcc/config/sparc/sp64-elf.h	2011-01-12 13:57:19.000000000 -0800
@@ -40,7 +40,7 @@ along with GCC; see the file COPYING3.  
 
 #undef ASM_SPEC
 #define ASM_SPEC "\
-%{v:-V} -s %{fpic|fPIC|fpie|fPIE:-K PIC} \
+-s %{fpic|fPIC|fpie|fPIE:-K PIC} \
 %{mlittle-endian:-EL} \
 %(asm_cpu) %(asm_arch) \
 "
diff -rupN --exclude=.svn gcc-mainline-1/gcc/config/sparc/sysv4.h gcc-mainline/gcc/config/sparc/sysv4.h
--- gcc-mainline-1/gcc/config/sparc/sysv4.h	2010-12-20 13:15:09.000000000 -0800
+++ gcc-mainline/gcc/config/sparc/sysv4.h	2011-01-12 13:57:32.000000000 -0800
@@ -46,7 +46,7 @@ along with GCC; see the file COPYING3.  
 /* Pass -K to the assembler when PIC.  */
 #undef ASM_SPEC
 #define ASM_SPEC \
-  "%{v:-V} %{Qy:} %{!Qn:-Qy} %{Ym,*} %{Yd,*} \
+  "%{Qy:} %{!Qn:-Qy} %{Ym,*} %{Yd,*} \
    %{fpic|fPIC|fpie|fPIE:-K PIC} %(asm_cpu)"
 
 /* Define the names of various pseudo-op used by the SPARC/svr4 assembler.

-- 
Joseph S. Myers
joseph@codesourcery.com

  parent reply	other threads:[~2011-01-14  0:02 UTC|newest]

Thread overview: 74+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-14  0:03 [00/25] Specs cleanup: introduction Joseph S. Myers
2011-01-14  0:04 ` [01/25] Specs cleanup: -b (ARM) Joseph S. Myers
2011-01-14 10:09   ` Richard Earnshaw
2011-01-14  0:05 ` Joseph S. Myers [this message]
2011-01-14  9:18   ` [02/25] Specs cleanup: assembler -v/-V (SPARC) Eric Botcazou
2011-01-14 18:18     ` Joseph S. Myers
2011-01-14  0:06 ` [03/25] Specs cleanup: -version Joseph S. Myers
2011-01-14 10:13   ` Richard Earnshaw
2011-01-14  0:07 ` [04/25] Specs cleanup: -Yd, Joseph S. Myers
2011-01-14  9:47   ` Eric Botcazou
2011-01-26 18:18   ` Ping " Joseph S. Myers
2011-01-26 19:34     ` Richard Guenther
2011-01-14  0:07 ` [05/25] Specs cleanup: -ibcs Joseph S. Myers
2011-01-14 10:37   ` Richard Guenther
2011-01-14  0:08 ` [06/25] Specs cleanup: %{save-temps: } Joseph S. Myers
2011-01-14  7:58   ` Michael Eager
2011-01-14 12:02   ` Richard Guenther
2011-01-14  0:09 ` [07/25] Specs cleanup: -gline Joseph S. Myers
2011-01-14  8:37   ` Michael Eager
2011-01-14  0:10 ` [09/25] Specs cleanup: CRIS Joseph S. Myers
2011-01-14  3:28   ` Hans-Peter Nilsson
2011-01-14 18:27     ` Joseph S. Myers
2011-01-14 19:41       ` Hans-Peter Nilsson
2011-01-14 21:31         ` Joseph S. Myers
2011-01-14 23:28           ` Hans-Peter Nilsson
2011-01-15  0:30             ` Joseph S. Myers
2011-01-15  1:14               ` Hans-Peter Nilsson
2011-01-15  9:08                 ` Joseph S. Myers
2011-01-25  9:23                   ` RFC: change the default for cross-targets to --with-sysroot=yes Hans-Peter Nilsson
2011-01-14  0:10 ` [08/25] Specs cleanup: AVR Joseph S. Myers
2011-01-14  5:37   ` Weddington, Eric
2011-01-14  0:11 ` [10/25] Specs cleanup: NetWare Joseph S. Myers
2011-01-14  0:12 ` [11/25] Specs cleanup: config/m32r/little.h Joseph S. Myers
2011-01-14 12:07   ` Nick Clifton
2011-01-14  0:12 ` [12/25] Specs cleanup: microblaze Joseph S. Myers
2011-01-14  7:27   ` Michael Eager
2011-01-14  0:13 ` [13/25] Specs cleanup: MIPS -bestGnum -no_archive -exact_version Joseph S. Myers
2011-01-14  0:14 ` [14/25] Specs cleanup: MIPS -call_shared -non_shared Joseph S. Myers
2011-01-14 12:58   ` Richard Sandiford
2011-01-14 18:42     ` Joseph S. Myers
2011-01-15 14:24       ` Richard Sandiford
2011-01-14  0:15 ` [15/25] Specs cleanup: config/rs6000/sysv4.h SHARED_LIB_SUPPORT Joseph S. Myers
2011-01-17 16:38   ` David Edelsohn
2011-01-25 23:10     ` Joseph S. Myers
2011-01-14  0:16 ` [16/25] Specs cleanup: config/rs6000/sysv4.h LINK_PATH_SPEC Joseph S. Myers
2011-01-17 17:00   ` David Edelsohn
2011-01-14  0:17 ` [17/25] Specs cleanup: rs6000 -profile Joseph S. Myers
2011-01-14  8:57   ` Nathan Sidwell
2011-01-26 18:26   ` Ping " Joseph S. Myers
2011-01-27 19:13     ` Krister Walfridsson
2011-01-14  0:17 ` [18/25] Specs cleanup: rs6000/vxworks.h -fvec* Joseph S. Myers
2011-01-14  9:03   ` Nathan Sidwell
2011-01-14  0:19 ` [19/25] Specs cleanup: SPARC -mcpu aliases Joseph S. Myers
2011-01-14  9:20   ` Eric Botcazou
2011-01-15 21:29   ` Eric Botcazou
2011-01-14  0:20 ` [21/25] Specs cleanup: SPU Joseph S. Myers
2011-01-17 17:06   ` Ulrich Weigand
2011-01-25 23:12     ` Joseph S. Myers
2011-01-27  9:23       ` [commit, spu] Remove ASM_SPEC (Re: [21/25] Specs cleanup: SPU) Ulrich Weigand
2011-01-14  0:20 ` [20/25] Specs cleanup: SPARC -sun4 -target Joseph S. Myers
2011-01-14  9:21   ` Eric Botcazou
2011-01-14  0:21 ` [22/25] Specs cleanup: -msse5 Joseph S. Myers
2011-01-14 10:40   ` Richard Guenther
2011-01-14  0:23 ` [23/25] Specs cleanup: -YP, Joseph S. Myers
2011-01-26 18:29   ` Ping " Joseph S. Myers
2011-01-26 19:37     ` Richard Guenther
2011-01-14  0:50 ` [24/25] Specs cleanup: -Ym, Joseph S. Myers
2011-01-14  9:44   ` Eric Botcazou
2011-01-26 18:40   ` Ping " Joseph S. Myers
2011-01-26 19:40     ` Richard Guenther
2011-01-14  0:56 ` [25/25] Specs cleanup: -Qn/-Qy Joseph S. Myers
2011-01-14  9:45   ` Eric Botcazou
2011-01-26 18:55   ` Ping " Joseph S. Myers
2011-01-26 19:44     ` Richard Guenther

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=Pine.LNX.4.64.1101140000570.6059@digraph.polyomino.org.uk \
    --to=joseph@codesourcery.com \
    --cc=davem@redhat.com \
    --cc=ebotcazou@libertysurf.fr \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=jakub@redhat.com \
    --cc=rth@redhat.com \
    /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 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).