A problem was reported on IRC where the -Ttext= etc. joined-argument
options no longer worked because they were passed to the linker as -T
text= etc.; the driver only knew about the separate-argument -Ttext
etc. versions as distinct from the -T <linker script> option.  This
patch fixes this by adding these option forms to common.opt.
Bootstrapped with no regressions on x86_64-unknown-linux-gnu.  Applied
to trunk and 4.6 branch.

2011-04-11  Joseph Myers  <jos...@codesourcery.com>

        * common.opt (Tbss=, Tdata=, Ttext=): New options.

Index: gcc/common.opt
===================================================================
--- gcc/common.opt      (revision 172252)
+++ gcc/common.opt      (working copy)
@@ -456,12 +456,21 @@ Driver Joined Separate
 Tbss
 Driver Separate
 
+Tbss=
+Driver Joined
+
 Tdata
 Driver Separate
 
+Tdata=
+Driver Joined
+
 Ttext
 Driver Separate
 
+Ttext=
+Driver Joined
+
 W
 Common RejectNegative Warning Alias(Wextra)
 This switch is deprecated; use -Wextra instead

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to