Merging r271801: ------------------------------------------------------------------------ r271801 | joerg | 2016-06-04 22:03:26 +0200 (Sa, 04 Jun 2016) | 3 lines Add PIE magic for NetBSD. Add tests for the correct flags for non-shared, PIE and shared output mode. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_38@278388 91177308-0d34-0410-b5e6-96231b3b80d8