]> granicus.if.org Git - clang/commit
Forward -u to the linker on gnutools toolchains
authorReid Kleckner <reid@kleckner.net>
Thu, 26 Jun 2014 01:08:54 +0000 (01:08 +0000)
committerReid Kleckner <reid@kleckner.net>
Thu, 26 Jun 2014 01:08:54 +0000 (01:08 +0000)
commit5937825128564ab750d20467a91d6776afe8cc73
tree1aaf4c170457b1eff12732c42a40dbb8f50f8dbf
parent0dfafa59cace8b477d3ae3ab89f2e662fea0954c
Forward -u to the linker on gnutools toolchains

Summary:
The BSDs and Darwin all forward the whole 'u' group, but gcc only
forwards -u so far as I can tell.  I only forward -u, since that's a
minimal change, and many people object to magically recognizing and
forwarding linker arguments.

Reviewers: chandlerc, joerg

Subscribers: cfe-commits

Differential Revision: http://reviews.llvm.org/D4304

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211756 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Tools.cpp
test/Driver/linux-ld.c