diff options
| author | Alexandre Oliva <oliva@adacore.com> | 2026-02-01 04:35:56 -0300 |
|---|---|---|
| committer | Alexandre Oliva <oliva@gnu.org> | 2026-02-01 05:36:22 -0300 |
| commit | 465815ffe36ba8f71649d7a541a864ebeb05ff6e (patch) | |
| tree | e04a26558bbc656f3272fdd49fe3ff93d4426f8d /libjava/classpath/gnu/java | |
| parent | fe5c97c84497cea96a8e3611f7b3b2346d4c09f8 (diff) | |
| download | gcc-465815ffe36ba8f71649d7a541a864ebeb05ff6e.zip gcc-465815ffe36ba8f71649d7a541a864ebeb05ff6e.tar.gz gcc-465815ffe36ba8f71649d7a541a864ebeb05ff6e.tar.bz2 | |
testsuite: riscv: pr110812_*.c needs medany on rv32
When linking the pr110812 units with lto after compiling them with a
riscv(32?) compiler that defaults to the medlow code model, the
compiler uses HI20 relocations that overflow with our linker scripts.
I suppose the test expects PC-relative relocations for symbol
resolution, as in the medany code model, so select that explicitly.
for gcc/testsuite/ChangeLog
* gcc.target/riscv/lto/pr110812_0.c: Set cmodel explicitly.
* gcc.target/riscv/lto/pr110812_1.c: Likewise.
Diffstat (limited to 'libjava/classpath/gnu/java')
0 files changed, 0 insertions, 0 deletions
