[ARC] Disable TP register when building for bare metal.
authorClaudiu Zissulescu <claziss@synopsys.com>
Mon, 27 Mar 2017 10:56:24 +0000 (12:56 +0200)
committerClaudiu Zissulescu <claziss@gcc.gnu.org>
Mon, 27 Mar 2017 10:56:24 +0000 (12:56 +0200)
commit81b98ef7697900c12d94f7f413613b8139a16624
treed10aad0096fd2332432285048339e611ababf8b8
parentac2551850669c3013b1b6e142a167060328ff52d
[ARC] Disable TP register when building for bare metal.

gcc/
2017-03-27  Claudiu Zissulescu  <claziss@synopsys.com>

* config/arc/elf.h (ARGET_ARC_TP_REGNO_DEFAULT): Define.
* config/arc/linux.h (ARGET_ARC_TP_REGNO_DEFAULT): Likewise.
* config/arc/arc.opt (mtp-regno): Use ARGET_ARC_TP_REGNO_DEFAULT.

From-SVN: r246497
gcc/ChangeLog
gcc/config/arc/arc.opt
gcc/config/arc/elf.h
gcc/config/arc/linux.h