projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75b9aa9
)
collect2.c (main): Explicitly parse -dynamic-linker option.
author
Marc Espie
<espie@openbsd.org>
Sat, 15 Jan 2005 10:43:19 +0000
(10:43 +0000)
committer
Marc Espie
<espie@gcc.gnu.org>
Sat, 15 Jan 2005 10:43:19 +0000
(10:43 +0000)
2005-01-15 Marc Espie <espie@openbsd.org>
* collect2.c (main): Explicitly parse -dynamic-linker option.
okay Mark Mitchell
From-SVN: r93693
gcc/ChangeLog
patch
|
blob
|
history
gcc/collect2.c
patch
|
blob
|
history
diff --git
a/gcc/ChangeLog
b/gcc/ChangeLog
index 8aec528dbe91e03f06ab6b0b8ed82ea730d19bbd..7dbed637970a436043c5dff2b31766f875d12b5b 100644
(file)
--- a/
gcc/ChangeLog
+++ b/
gcc/ChangeLog
@@
-1,3
+1,7
@@
+2005-01-15 Marc Espie <espie@openbsd.org>
+
+ * collect2.c (main): Explicitly parse -dynamic-linker option.
+
2005-01-15 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/19060
diff --git
a/gcc/collect2.c
b/gcc/collect2.c
index 999e670fc7c70e5eb9eebf19547036bb200c5740..a951a3d13f6615d553edc17771fd24c30417a6d9 100644
(file)
--- a/
gcc/collect2.c
+++ b/
gcc/collect2.c
@@
-1099,6
+1099,11
@@
main (int argc, char **argv)
ld1--;
ld2--;
}
+ if (!strcmp (arg, "-dynamic-linker") && argv[1])
+ {
+ ++argv;
+ *ld1++ = *ld2++ = *argv;
+ }
break;
case 'l':