diff options
author | John David Anglin <dave@hiauly1.hia.nrc.ca> | 2001-08-08 20:57:38 +0000 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2001-08-08 20:57:38 +0000 |
commit | 0ca179b2de1c7d8855d9c27247b6a301228b2bde (patch) | |
tree | e0c2f7e4eebc105e1aeaaa29b4aae4e5a55a32ef | |
parent | b9f2270425b565e5764f18185aa2b8850e028622 (diff) | |
download | gcc-0ca179b2de1c7d8855d9c27247b6a301228b2bde.zip gcc-0ca179b2de1c7d8855d9c27247b6a301228b2bde.tar.gz gcc-0ca179b2de1c7d8855d9c27247b6a301228b2bde.tar.bz2 |
* g++spec.c (lang_specific_driver): Quote argument after `-Xlinker'.
From-SVN: r44725
-rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/g++spec.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index b2d3d3c..50a96b6 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2001-08-08 John David Anglin <dave@hiauly1.hia.nrc.ca> + + * g++spec.c (lang_specific_driver): Quote argument after `-Xlinker'. + 2001-08-07 Nathan Sidwell <nathan@codesourcery.com> PR c++/3820 diff --git a/gcc/cp/g++spec.c b/gcc/cp/g++spec.c index fec6434..fbbe599 100644 --- a/gcc/cp/g++spec.c +++ b/gcc/cp/g++spec.c @@ -151,6 +151,7 @@ lang_specific_driver (in_argc, in_argv, in_added_libraries) saw_speclang = 1; else if (((argv[i][2] == '\0' && (char *)strchr ("bBVDUoeTuIYmLiA", argv[i][1]) != NULL) + || strcmp (argv[i], "-Xlinker") == 0 || strcmp (argv[i], "-Tdata") == 0)) quote = argv[i]; else if (library != 0 && ((argv[i][2] == '\0' |