Permalink
Browse files

unexec: enable code-signing

generate correctly formed executables if compiled with recent XCode
  • Loading branch information...
1 parent 9e4bf63 commit f51807162ebee2ca95ca0e71211455a32587f580 @davidswelt committed May 28, 2013
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/unexmacosx.c
View
@@ -1232,6 +1232,12 @@ dump_it ()
#endif
#ifdef LC_FUNCTION_STARTS
case LC_FUNCTION_STARTS:
+#ifdef LC_DATA_IN_CODE
+ case LC_DATA_IN_CODE:
+#endif
+#ifdef LC_DYLIB_CODE_SIGN_DRS
+ case LC_DYLIB_CODE_SIGN_DRS:
+#endif
copy_linkedit_data (lca[i], linkedit_delta);
break;
#endif

0 comments on commit f518071

Please sign in to comment.