From 427c5b1be2e6473c6792b375c8976c88e77570f7 Mon Sep 17 00:00:00 2001 From: Steven Tamm Date: Thu, 9 Jun 2005 03:37:20 +0000 Subject: [PATCH] unexmacosx.c (copy_data_segment): Copy __la_sym_ptr2 section used by gcc4 on intel mac. --- src/ChangeLog | 5 +++++ src/unexmacosx.c | 1 + 2 files changed, 6 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index 077b0da84b3..2d506df58cb 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2005-06-08 Steven Tamm + + * unexmacosx.c (copy_data_segment): Copy __la_sym_ptr2 section + used by gcc4 on intel mac. + 2005-06-09 Kim F. Storm * search.c (Fmatch_data): Add optional RESEAT arg. Unchain markers diff --git a/src/unexmacosx.c b/src/unexmacosx.c index e54dbea448c..1a2c211a09d 100644 --- a/src/unexmacosx.c +++ b/src/unexmacosx.c @@ -695,6 +695,7 @@ copy_data_segment (struct load_command *lc) } else if (strncmp (sectp->sectname, "__la_symbol_ptr", 16) == 0 || strncmp (sectp->sectname, "__nl_symbol_ptr", 16) == 0 + || strncmp (sectp->sectname, "__la_sym_ptr2", 16) == 0 || strncmp (sectp->sectname, "__dyld", 16) == 0 || strncmp (sectp->sectname, "__const", 16) == 0 || strncmp (sectp->sectname, "__cfstring", 16) == 0) -- 2.39.2