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)
commit69071442f08cb7075af13870c8a4320367d72eda
tree6e628a771e3adf45005fad318d1e3526baaa3ff8
parent157a8f91bdf1216b48bb3a116cf06e54cd8e27a1
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

llvm-svn: 211756
clang/lib/Driver/Tools.cpp
clang/test/Driver/linux-ld.c