HomePhabricator

Don't use -pie in relocatable link.

Authored by eugenis on Mar 9 2018, 11:35 AM.

Description

Don't use -pie in relocatable link.

Summary:
Android, in particular, got PIE enabled by default in r316606. It resulted in
relocatable links passing both -r and -pie to the linker, which is not allowed.

Reviewers: srhines

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D44229

llvm-svn: 327165

Details

Committed
eugenisMar 9 2018, 11:35 AM
Differential Revision
D44229: Don't use -pie in relocatable link.
Parents
rGb0e4b91660f4: [llvm-objdump] Support disassembling by symbol name
Branches
Unknown
Tags
Unknown