Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(260)

Unified Diff: binutils/bfd/opncls.c

Issue 3018030: [binutils] Bump binutils to 2.20.1 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « binutils/bfd/elf64-ppc.c ('k') | binutils/bfd/po/bfd.pot » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: binutils/bfd/opncls.c
diff --git a/binutils/bfd/opncls.c b/binutils/bfd/opncls.c
index 3337efe0e89099bf5ab8669b0a7e6af2fbe6c444..4afde881888c054fe6fdd4895417b5df3a522854 100644
--- a/binutils/bfd/opncls.c
+++ b/binutils/bfd/opncls.c
@@ -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;
« no previous file with comments | « binutils/bfd/elf64-ppc.c ('k') | binutils/bfd/po/bfd.pot » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698