PR binutils/10802
* opncls.c (_maybe_make_executable): Make DYNAMIC files executable.
This commit is contained in:
parent
b1bc9ed8b0
commit
dbde1c1272
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2009-10-20 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
PR binutils/10802
|
||||
* opncls.c (_maybe_make_executable): Make DYNAMIC files executable.
|
||||
|
||||
2009-10-19 Hans-Peter Nilsson <hp@axis.com>
|
||||
|
||||
* elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_DTPREL>:
|
||||
|
|
|
@ -635,7 +635,7 @@ _maybe_make_executable (bfd * abfd)
|
|||
/* If the file was open for writing and is now executable,
|
||||
make it so. */
|
||||
if (abfd->direction == write_direction
|
||||
&& abfd->flags & EXEC_P)
|
||||
&& (abfd->flags & (EXEC_P | DYNAMIC)) != 0)
|
||||
{
|
||||
struct stat buf;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue