Add Android options from specs to linux-android.opt

Joseph S. Myers joseph@codesourcery.com
Fri Dec 17 18:51:00 GMT 2010


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.

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
+

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Gcc-patches mailing list