diff options
author | Sam James <sam@gentoo.org> | 2024-06-29 11:07:18 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-06-29 17:19:39 +0100 |
commit | 68ae8e2a84993ab77fdc48a61e1875cdc9db740a (patch) | |
tree | 99db881257aec8997c0a032591c713e304086eca /include | |
parent | 1e285d4f044a77cc2cecb9eea572165d61dbcf7b (diff) | |
download | fsf-binutils-gdb-68ae8e2a84993ab77fdc48a61e1875cdc9db740a.zip fsf-binutils-gdb-68ae8e2a84993ab77fdc48a61e1875cdc9db740a.tar.gz fsf-binutils-gdb-68ae8e2a84993ab77fdc48a61e1875cdc9db740a.tar.bz2 |
ld: pass -g for ld-elf tests
The "DWARF parse during linker error" and "Build warn libbar.so" tests
require debug information.
configure defaults to "-O2 -g" but if overriding *FLAGS when building
tests, this might be lost. Explicitly pass -g given these tests require
it.
Originally reported downstream in Gentoo at https://bugs.gentoo.org/934149.
ld/
* testsuite/ld-elf/dwarf.exp: Pass -g for "DWARF parse during linker error".
* testsuite/ld-elf/shared.exp: Ditto for "Build warn libbar.so".
(cherry picked from commit 17c78a23491ce76fd6d21cdbf2db3c0cf02145e0)
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions