aboutsummaryrefslogtreecommitdiff
path: root/sim/or1k/configure
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2022-10-14 13:09:51 +0200
committerTom de Vries <tdevries@suse.de>2022-10-14 13:09:51 +0200
commit21f507efad6bf16edf2432b65b763e7686349b8a (patch)
tree801977f7b9b5d5f2ea197c7e51d975699d2dd5d4 /sim/or1k/configure
parent68f7bda9b1c32920ce4a2fe65129525bc0b05bf7 (diff)
downloadgdb-21f507efad6bf16edf2432b65b763e7686349b8a.zip
gdb-21f507efad6bf16edf2432b65b763e7686349b8a.tar.gz
gdb-21f507efad6bf16edf2432b65b763e7686349b8a.tar.bz2
[gdb/testsuite] Fix gdb.base/infoline-reloc-main-from-zero.exp with clang
With test-case gdb.base/infoline-reloc-main-from-zero.exp and clang I run into: ... gdb compile failed, clang-13.0: warning: -e main: 'linker' input unused \ [-Wunused-command-line-argument] clang-13.0: warning: -Wl,-Ttext=0x00: 'linker' input unused \ [-Wunused-command-line-argument] clang-13.0: warning: -Wl,-N: 'linker' input unused \ [-Wunused-command-line-argument] UNTESTED: gdb.base/infoline-reloc-main-from-zero.exp: \ infoline-reloc-main-from-zero.exp UNTESTED: gdb.base/infoline-reloc-main-from-zero.exp: failed to compile ... Fix this by using ldflags instead of additional_flags. Likewise, fix all occurrences of: ... $ find gdb/testsuite -name *.exp | xargs grep additional_flags.*Wl ... Tested on x86_64-linux.
Diffstat (limited to 'sim/or1k/configure')
0 files changed, 0 insertions, 0 deletions