diff options
author | Keith Packard <keithp@keithp.com> | 2020-04-29 09:49:56 -0700 |
---|---|---|
committer | Jim Wilson <jimw@sifive.com> | 2020-05-12 16:12:10 -0700 |
commit | adce62f53d8ad00e8110a6a2de7962d7a850de16 (patch) | |
tree | a9eef37c4d3549327b5424e3f6b84df349e562da /gcc/tree-loop-distribution.c | |
parent | de6320a81695800de0f0f5fc3e4c6487a52cd430 (diff) | |
download | gcc-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