Add srodata section support to riscv port.
authorAndrew Waterman <andrew@sifive.com>
Fri, 8 Dec 2017 00:44:13 +0000 (00:44 +0000)
committerJim Wilson <wilson@gcc.gnu.org>
Fri, 8 Dec 2017 00:44:13 +0000 (16:44 -0800)
commit6cb0725cdbef47a7486629b7933f51a29a591781
treebca6dbdbf3d5933fbbf58250160a811a10d723f1
parent68a970039e06d40e6d33626030cee86761ca4801
Add srodata section support to riscv port.

2017-12-07  Andrew Waterman  <andrew@sifive.com>
gcc/
* config/riscv/riscv.c (TARGET_ASM_SELECT_SECTION): New define.
(TARGET_HAVE_SRODATA_SECTION): New define.
(riscv_select_section): New function.

From-SVN: r255491
gcc/ChangeLog
gcc/config/riscv/riscv.c