]> granicus.if.org Git - clang/commit
Disable PIC/PIE for MSP430 target
authorAnton Korobeynikov <anton@korobeynikov.info>
Tue, 12 Feb 2019 20:46:00 +0000 (20:46 +0000)
committerAnton Korobeynikov <anton@korobeynikov.info>
Tue, 12 Feb 2019 20:46:00 +0000 (20:46 +0000)
commit4f87ff1d737e419fdc7c627a1af2ab546fe894cd
tree171bd3125840fc3e95db2d958aa1d1e5b359f557
parentb9723bc882d53c35f7d63897e1c1173f153f736d
Disable PIC/PIE for MSP430 target

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@353877 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains/MSP430.h
test/CodeGen/msp430-reloc.c [new file with mode: 0644]