Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
db74a5fc
Commit
db74a5fc
authored
Aug 07, 2012
by
YAMAMOTO Mitsuharu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add new load commands for OS X 10.8.
parent
7178e722
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
2 deletions
+27
-2
src/ChangeLog
src/ChangeLog
+6
-0
src/unexmacosx.c
src/unexmacosx.c
+21
-2
No files found.
src/ChangeLog
View file @
db74a5fc
2012-08-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
* unexmacosx.c (print_load_command_name): Add cases LC_MAIN,
LC_SOURCE_VERSION, and LC_DYLIB_CODE_SIGN_DRS.
(dump_it) [LC_DYLIB_CODE_SIGN_DRS]: Call copy_linkedit_data.
2012-07-19 Chong Yidong <cyd@gnu.org>
* window.c (Fwindow_absolute_pixel_edges)
...
...
src/unexmacosx.c
View file @
db74a5fc
...
...
@@ -608,6 +608,21 @@ print_load_command_name (int lc)
case
LC_FUNCTION_STARTS
:
printf
(
"LC_FUNCTION_STARTS"
);
break
;
#endif
#ifdef LC_MAIN
case
LC_MAIN
:
printf
(
"LC_MAIN "
);
break
;
#endif
#ifdef LC_SOURCE_VERSION
case
LC_SOURCE_VERSION
:
printf
(
"LC_SOURCE_VERSION"
);
break
;
#endif
#ifdef LC_DYLIB_CODE_SIGN_DRS
case
LC_DYLIB_CODE_SIGN_DRS
:
printf
(
"LC_DYLIB_CODE_SIGN_DRS"
);
break
;
#endif
default:
printf
(
"unknown "
);
...
...
@@ -1146,8 +1161,9 @@ copy_dyld_info (struct load_command *lc, long delta)
#endif
#ifdef LC_FUNCTION_STARTS
/* Copy a LC_FUNCTION_STARTS load command from the input file to the
output file, adjusting the data offset field. */
/* Copy a LC_FUNCTION_STARTS/LC_DYLIB_CODE_SIGN_DRS load command from
the input file to the output file, adjusting the data offset
field. */
static
void
copy_linkedit_data
(
struct
load_command
*
lc
,
long
delta
)
{
...
...
@@ -1241,6 +1257,9 @@ dump_it (void)
#endif
#ifdef LC_FUNCTION_STARTS
case
LC_FUNCTION_STARTS
:
#ifdef LC_DYLIB_CODE_SIGN_DRS
case
LC_DYLIB_CODE_SIGN_DRS
:
#endif
copy_linkedit_data
(
lca
[
i
],
linkedit_delta
);
break
;
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment