diff --git a/ld/ChangeLog b/ld/ChangeLog index 28999bc49b..023c934bad 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2020-06-03 Jan Beulich + + * testsuite/ld-elf/linux-x86.exp: Make copied source files + writeable. + 2020-05-28 Nick Clifton PR 26047 diff --git a/ld/testsuite/ld-elf/linux-x86.exp b/ld/testsuite/ld-elf/linux-x86.exp index 180674deac..fef788ff23 100644 --- a/ld/testsuite/ld-elf/linux-x86.exp +++ b/ld/testsuite/ld-elf/linux-x86.exp @@ -134,6 +134,7 @@ proc check_pr25749a {testname srcfilea srcfileb cflags ldflags lderror} { } exec cp $srcdir/$subdir/$srcfilea $srcfilea + exec chmod +w $srcfilea set pr25749_bin "$objcopy -B $output_arch -I binary -O $output_target $srcfilea tmpdir/pr25749-bin.o" send_log "$pr25749_bin\n" set got [remote_exec host "$pr25749_bin"] @@ -237,6 +238,7 @@ proc check_pr25749b {testname srcfilea srcfileb cflags ldflags dsoldflags} { } exec cp $srcdir/$subdir/$srcfilea $srcfilea + exec chmod +w $srcfilea set pr25749_bin "$objcopy -B $output_arch -I binary -O $output_target $srcfilea tmpdir/pr25749-bin.o" send_log "$pr25749_bin\n" set got [remote_exec host "$pr25749_bin"]