Add Android options from specs to linux-android.opt

Submitted by Joseph S. Myers on Dec. 17, 2010, 5:43 p.m.

Details

Message ID Pine.LNX.4.64.1012171742250.5744@digraph.polyomino.org.uk
State New
Headers show

Commit Message

Joseph S. Myers Dec. 17, 2010, 5:43 p.m.
In preparation for the driver only accepting options listed in .opt
files, and not other options that simply happen to match some spec,
this patch adds Android options matched by specs in linux-android.h to
linux-android.opt.

Tested building cc1 and xgcc for cross to arm-linux-androideabi.  OK
to commit?  (While there are no maintainers listed for Linux or
Android targets in general, I'm not sure I should thereby consider
them unmaintained targets and so consider cleanups to them
preapproved.)

2010-12-17  Joseph Myers  <joseph@codesourcery.com>

	* config/linux-android.opt (tno-android-cc, tno-android-ld): New
	Driver options.

Comments

Joseph S. Myers Dec. 24, 2010, 4:54 p.m.
Ping.  This patch 
<http://gcc.gnu.org/ml/gcc-patches/2010-12/msg01399.html> is pending 
review.
Joseph S. Myers Dec. 30, 2010, 11:12 p.m.
Ping^2.  This patch 
<http://gcc.gnu.org/ml/gcc-patches/2010-12/msg01399.html> is pending 
review.
Joseph S. Myers Jan. 6, 2011, 12:11 a.m.
Ping^3.  This patch 
<http://gcc.gnu.org/ml/gcc-patches/2010-12/msg01399.html> is pending 
review.
Gerald Pfeifer Jan. 6, 2011, 11:20 a.m.
On Thu, 6 Jan 2011, Joseph S. Myers wrote:
> Ping^3.  This patch 
> <http://gcc.gnu.org/ml/gcc-patches/2010-12/msg01399.html> is pending 
> review.

I think you should consider this preapproved and/or obvious.

Gerald

Patch hide | download patch | download mbox

Index: gcc/config/linux-android.opt
===================================================================
--- gcc/config/linux-android.opt	(revision 167992)
+++ gcc/config/linux-android.opt	(working copy)
@@ -21,3 +21,10 @@ 
 mandroid
 Target Report Mask(ANDROID) Var(flag_android) Init(ANDROID_DEFAULT ? OPTION_MASK_ANDROID : 0)
 Generate code for the Android platform.
+
+tno-android-cc
+Driver
+
+tno-android-ld
+Driver
+