DragonFly supports PIE but the tests for it are disabled.
The attached patch for the trunk will enable these checks on DragonFly.
Thanks for considering this!
John
p.s. suggested gcc/testsuite/changelog entry:
2015-07-XX John Marino <[email protected]>
* lib/target-supports.exp (check_effective_target_pie):
Add *-*-dragonfly*
Index: gcc/testsuite/lib/target-supports.exp
===================================================================
--- gcc/testsuite/lib/target-supports.exp (revision 225610)
+++ gcc/testsuite/lib/target-supports.exp (working copy)
@@ -974,6 +974,7 @@
proc check_effective_target_pie { } {
if { [istarget *-*-darwin\[912\]*]
+ || [istarget *-*-dragonfly*]
|| [istarget *-*-freebsd*]
|| [istarget *-*-linux*]
|| [istarget *-*-gnu*] } {