X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=ld%2Ftestsuite%2Fld-elf%2Flinux-x86.exp;h=7a311ae431f1febd346eb69ef6bf1c046bd33181;hb=22aa1d51198689f5f3f01a874b405bf4449cbfb0;hp=aae75d443fecab99a8c706c6a5306cb80c3e7d10;hpb=6fde587ff78a54b9e3bd70259de60cc5d7d8ced7;p=deliverable%2Fbinutils-gdb.git diff --git a/ld/testsuite/ld-elf/linux-x86.exp b/ld/testsuite/ld-elf/linux-x86.exp index aae75d443f..7a311ae431 100644 --- a/ld/testsuite/ld-elf/linux-x86.exp +++ b/ld/testsuite/ld-elf/linux-x86.exp @@ -174,7 +174,7 @@ proc check_pr25749a {testname srcfilea srcfileb cflags ldflags lderror} { check_pr25749a "pr25749-1a" "pr25749-1.c" "pr25749-1a.c" "$NOPIE_CFLAGS" "$NOPIE_LDFLAGS" "" check_pr25749a "pr25749-1a" "pr25749-1.c" "pr25749-1a.c" "-fPIE" "-pie" "" check_pr25749a "pr25749-1b" "pr25749-1.c" "pr25749-1b.c" "$NOPIE_CFLAGS" "$NOPIE_LDFLAGS" "" -if { [istarget "i?86-*-linux*"] } { +if { [istarget "i?86-*-linux*"] || ![at_least_gcc_version 5 1] } { check_pr25749a "pr25749-1b" "pr25749-1.c" "pr25749-1b.c" "-fPIE" "-pie" "" } else { check_pr25749a "pr25749-1b" "pr25749-1.c" "pr25749-1b.c" "-fPIE" "-pie" "pr25749-1b.err"