]> granicus.if.org Git - clang/commit
Disable PIC/PIE for MSP430 target by default.
authorAnton Korobeynikov <anton@korobeynikov.info>
Fri, 25 Jan 2019 09:41:20 +0000 (09:41 +0000)
committerAnton Korobeynikov <anton@korobeynikov.info>
Fri, 25 Jan 2019 09:41:20 +0000 (09:41 +0000)
commit39f2ac7f004250ced1c2f7c0bc20008b23107673
treea3d38d399ae833f2578c7f500078e04a98b034c6
parenteba0c57f16ada7fd52d840bd51e0be3a7e19f8a5
Disable PIC/PIE for MSP430 target by default.

Relocatable code generation is meaningless on MSP430, as the platform is too small to use shared libraries.

Patch by Dmitry Mikushev!

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@352181 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains/MSP430.h
test/CodeGen/msp430-reloc.c [new file with mode: 0644]