RISC-V: Support assembler modifier %got_pcrel_hi.
authorNelson Chu <nelson.chu@sifive.com>
Wed, 4 Mar 2020 05:08:05 +0000 (21:08 -0800)
committerJim Wilson <jimw@sifive.com>
Thu, 5 Mar 2020 01:11:37 +0000 (17:11 -0800)
commitdee35d026c92b4054a90d655324dc90b4ea6cbfc
treea5f9654e612006b23bc8922a0fd903282e21ec32
parentde48783e2fbb57e39b9931b1eceef28a1ad1eeaf
RISC-V: Support assembler modifier %got_pcrel_hi.

gas/
* config/tc-riscv.c: Support the modifier %got_pcrel_hi.
* doc/c-riscv.texi: Add documentation.
* testsuite/gas/riscv/no-relax-reloc.d: Add test case for the new
modifier %got_pcrel_hi.
* testsuite/gas/riscv/no-relax-reloc.s: Likewise.
* testsuite/gas/riscv/relax-reloc.d: Likewise.
* testsuite/gas/riscv/relax-reloc.s: Likewise.
gas/ChangeLog
gas/config/tc-riscv.c
gas/doc/c-riscv.texi
gas/testsuite/gas/riscv/no-relax-reloc.d
gas/testsuite/gas/riscv/no-relax-reloc.s
gas/testsuite/gas/riscv/relax-reloc.d
gas/testsuite/gas/riscv/relax-reloc.s