diff options
author | Monk Chiang <sh.chiang04@gmail.com> | 2019-04-15 07:59:01 +0000 |
---|---|---|
committer | Chung-Ju Wu <jasonwucj@gcc.gnu.org> | 2019-04-15 07:59:01 +0000 |
commit | 0398ae783ab09680e3adab9f15b949b082935e6b (patch) | |
tree | 198302a48c5d861a792dd554e8b775fa4802cace /ylwrap | |
parent | 1a9825f7d489cab7256bc3ff6dd67cdcf1e28922 (diff) | |
download | gcc-0398ae783ab09680e3adab9f15b949b082935e6b.zip gcc-0398ae783ab09680e3adab9f15b949b082935e6b.tar.gz gcc-0398ae783ab09680e3adab9f15b949b082935e6b.tar.bz2 |
[NDS32] Rewrite PIC/TLS patterns.
gcc/
* config/nds32/nds32-md-auxiliary.c
(nds32_legitimize_pic_address): Use new PIC pattern.
(nds32_legitimize_tls_address): Use new TLS pattern.
(nds32_output_symrel): New.
* config/nds32/nds32-protos.h (nds32_output_symrel): Declare.
(nds32_alloc_relax_group_id): Ditto.
* config/nds32/nds32-relax-opt.c (nds32_alloc_relax_group_id): New.
(nds32_group_insns): Use nds32_alloc_relax_group_id instead of use
relax_group_id.
(nds32_group_tls_insn): Ditto.
(nds32_group_float_insns): Ditto.
* config/nds32/nds32.md (tls_le): New.
(sym_got): Ditto.
Co-Authored-By: Kito Cheng <kito.cheng@gmail.com>
Co-Authored-By: Shiva Chen <shiva0217@gmail.com>
From-SVN: r270361
Diffstat (limited to 'ylwrap')
0 files changed, 0 insertions, 0 deletions