diff options
author | espie <espie@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-01-15 10:43:19 +0000 |
---|---|---|
committer | espie <espie@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-01-15 10:43:19 +0000 |
commit | 0f7571bb747acae71dfaedff497a18e98fdc8585 (patch) | |
tree | aecb298640eb6004dd895134c2ca7f82cf7bdab6 /gcc/collect2.c | |
parent | c46a7a9fec568387f630438aef38b9391cb76a63 (diff) | |
download | gcc-0f7571bb747acae71dfaedff497a18e98fdc8585.tar.gz |
2005-01-15 Marc Espie <espie@openbsd.org>
* collect2.c (main): Explicitly parse -dynamic-linker option.
okay Mark Mitchell
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93693 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/collect2.c')
-rw-r--r-- | gcc/collect2.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/collect2.c b/gcc/collect2.c index 999e670fc7c..a951a3d13f6 100644 --- 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': |