aboutsummaryrefslogtreecommitdiff
path: root/libjava
diff options
context:
space:
mode:
authorKito Cheng <kito.cheng@sifive.com>2025-04-14 16:03:07 +0800
committerKito Cheng <kito.cheng@sifive.com>2025-04-16 14:55:02 +0800
commit1d9e02bb7e0af4f3d3eaaa1a0f4961970aba5560 (patch)
tree39f70c5b796789c77897690b5636b8bf603522a1 /libjava
parent45a708d7bf8369930f4f770bbb7047941727ba41 (diff)
downloadgcc-1d9e02bb7e0af4f3d3eaaa1a0f4961970aba5560.zip
gcc-1d9e02bb7e0af4f3d3eaaa1a0f4961970aba5560.tar.gz
gcc-1d9e02bb7e0af4f3d3eaaa1a0f4961970aba5560.tar.bz2
RISC-V: Put jump table in text for large code model
Large code model assume the data or rodata may put far away from text section. So we need to put jump table in text section for large code model. gcc/ChangeLog: * config/riscv/riscv.h (JUMP_TABLES_IN_TEXT_SECTION): Check if large code model. gcc/testsuite/ChangeLog: * gcc.target/riscv/jump-table-large-code-model.c: New test.
Diffstat (limited to 'libjava')
0 files changed, 0 insertions, 0 deletions