+2020-04-02 H.J. Lu <hongjiu.lu@intel.com>
+
+ * testsuite/ld-elf/linux-x86.exp (check_pr25749a): Compile with
+ -I../bfd.
+ (check_pr25749b): Likewise.
+
2020-04-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* testsuite/ld-ifunc/ifunc-10-i386.d: Remove *-*-solaris2* from
[list \
"Build $testname ($ldflags $cflags)" \
"$ldflags tmpdir/pr25749-bin.o" \
- "$cflags" \
+ "$cflags -I../bfd" \
[list $srcfilea $srcfileb]\
{{readelf {-Wr} pr25749.rd}} \
"${testname}a" \
[list $srcfilea $srcfileb]\
"${testname}a" \
"pass.out" \
- "$cflags" \
+ "$cflags -I../bfd" \
] \
]
} else {
[list \
"Build $testname ($ldflags $cflags)" \
"$ldflags tmpdir/pr25749-bin.o" \
- "$cflags" \
+ "$cflags -I../bfd" \
[list $srcfilea $srcfileb]\
[list [list error_output $lderror]] \
"$testname" \
[list \
"Build lib${testname}.so ($dsoldflags)" \
"-shared $dsoldflags tmpdir/pr25749-bin.o" \
- "-fPIC" \
+ "-fPIC -I../bfd" \
[list $srcfileb] \
{{readelf {-Wr} pr25749.rd}} \
"lib${testname}.so" \
[list $srcfilea]\
"${testname}b" \
"pass.out" \
- "$cflags" \
+ "$cflags -I../bfd" \
] \
]
}