This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] [testsuite] Pass -pie in ldflags
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Wed, 22 Nov 2017 11:24:07 -0500
- Subject: [binutils-gdb] [testsuite] Pass -pie in ldflags
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT dc196b230b7366683799755b4461acef5cc95be7 ***
Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: dc196b230b7366683799755b4461acef5cc95be7
[testsuite] Pass -pie in ldflags
-pie is a linker flag, it should be passed via "ldflags", instead
of "additional_flags". Otherwise, clang complains,
clang: warning: argument unused during compilation: '-pie'
gdb/testsuite:
2017-11-22 Yao Qi <yao.qi@linaro.org>
* gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
* gdb.base/break-interp.exp: Likewise.
* gdb.base/jit-attach-pie.exp: Likewise.