diff options
author | Jim Wilson <jimw@sifive.com> | 2018-11-06 11:06:23 -0800 |
---|---|---|
committer | Jim Wilson <jimw@sifive.com> | 2018-11-06 11:06:23 -0800 |
commit | 109be305bb6acf7604f95411f333549f33a673bb (patch) | |
tree | 05eb848587c9c17aa17f6d7afe0f598242a8d7bf /symlink-tree | |
parent | f11acc5ec0b9cd35e3582b8f9eef6be5d3c59ad7 (diff) | |
download | gdb-109be305bb6acf7604f95411f333549f33a673bb.zip gdb-109be305bb6acf7604f95411f333549f33a673bb.tar.gz gdb-109be305bb6acf7604f95411f333549f33a673bb.tar.bz2 |
RISC-V: Force variables to .data for code_elim.
RISC-V puts a global variable in .sdata by default, which causes the
add-symbol-file commands with -s .data to fail as there is no .data section.
This fixes 3 testsuite failures.
gdb/testsuite/
* gdb.base/code_elim.exp: For riscv, set additional_flags
to include -msmall-data-limit=0.
Diffstat (limited to 'symlink-tree')
0 files changed, 0 insertions, 0 deletions