aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-loop-distribution.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2020-04-29 09:49:56 -0700
committerJim Wilson <jimw@sifive.com>2020-05-12 16:12:10 -0700
commitadce62f53d8ad00e8110a6a2de7962d7a850de16 (patch)
treea9eef37c4d3549327b5424e3f6b84df349e562da /gcc/tree-loop-distribution.c
parentde6320a81695800de0f0f5fc3e4c6487a52cd430 (diff)
downloadgcc-adce62f53d8ad00e8110a6a2de7962d7a850de16.zip
gcc-adce62f53d8ad00e8110a6a2de7962d7a850de16.tar.gz
gcc-adce62f53d8ad00e8110a6a2de7962d7a850de16.tar.bz2
RISC-V: Make unique SECCAT_SRODATA names start with .srodata (not .sdata2)
default_unique_section uses ".sdata2" as a prefix for SECCAT_SRODATA unique sections, but RISC-V uses ".srodata" instead. Override the TARGET_ASM_UNIQUE_SECTION function to catch this case, allowing the default to be used for all other sections. Signed-off-by: Keith Packard <keithp@keithp.com> gcc/ * config/riscv/riscv.c (riscv_unique_section): New. (TARGET_ASM_UNIQUE_SECTION): New.
Diffstat (limited to 'gcc/tree-loop-distribution.c')
0 files changed, 0 insertions, 0 deletions