* Fix -Ttext= etc. handling
@ 2011-04-11 15:27 Joseph S. Myers
0 siblings, 0 replies; only message in thread
From: Joseph S. Myers @ 2011-04-11 15:27 UTC (permalink / raw)
To: gcc-patches
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 <joseph@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
joseph@codesourcery.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-04-11 15:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-11 15:27 Fix -Ttext= etc. handling Joseph S. Myers
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).