]> git.ipfire.org Git - thirdparty/gcc.git/commit
[NDS32] Rewrite PIC/TLS patterns.
authorjasonwucj <jasonwucj@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 15 Apr 2019 07:59:01 +0000 (07:59 +0000)
committerjasonwucj <jasonwucj@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 15 Apr 2019 07:59:01 +0000 (07:59 +0000)
commit08dfb42801b6bda2b9c4013a772f53cdc6794682
tree198302a48c5d861a792dd554e8b775fa4802cace
parent39ebb01497b2112fc1116259c86c978d1a0351db
[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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@270361 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/nds32/nds32-md-auxiliary.c
gcc/config/nds32/nds32-protos.h
gcc/config/nds32/nds32-relax-opt.c
gcc/config/nds32/nds32.md