commit | a2470500432334fe254ef10ddabcab239e8de828 | [log] [tgz] |
---|---|---|
author | Tom de Vries <tdevries@suse.de> | Wed Oct 12 16:50:16 2022 +0200 |
committer | Tom de Vries <tdevries@suse.de> | Wed Oct 12 16:50:16 2022 +0200 |
tree | 10794d93dd71b88b0c5692bae4c3db44ac8cab2a | |
parent | 9693166f6648b3aaa7dc680b3fecda16b63ecfb4 [diff] |
[gdb/testsuite] Fix gdb.base/infoline-reloc-main-from-zero.exp with recent ld On openSUSE Tumbleweed (with ld 2.39) and test-case gdb.base/infoline-reloc-main-from-zero.exp, I get: ... gdb compile failed, ld: warning: infoline-reloc-main-from-zero has a LOAD \ segment with RWX permissions UNTESTED: gdb.base/infoline-reloc-main-from-zero.exp: \ infoline-reloc-main-from-zero.exp ... Fix this by compiling with -Wl,--no-warn-rwx-segments. Tested on x86_64-linux.