PowerPC: downgrade FP mismatch error for shared libraries to a warning
[deliverable/binutils-gdb.git] / bfd / aout-target.h
index 365202e0ce3364d22a1ef647c413d94921af54f8..214c4c5a4917aba3db99eb26ef0dda356fc57c3d 100644 (file)
@@ -180,7 +180,8 @@ MY (object_p) (bfd *abfd)
 #ifndef S_IXUSR
 #define S_IXUSR 0100   /* Execute by owner.  */
 #endif
-      if (stat (abfd->filename, &buf) == 0 && (buf.st_mode & S_IXUSR))
+      if (stat (bfd_get_filename (abfd), &buf) == 0
+         && (buf.st_mode & S_IXUSR) != 0)
        abfd->flags |= EXEC_P;
     }
 #endif /* ENTRY_CAN_BE_ZERO */
This page took 0.034841 seconds and 4 git commands to generate.