diff options
Diffstat (limited to 'gcc/cp')
-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' |