summaryrefslogtreecommitdiff
path: root/src/unexmacosx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unexmacosx.c')
-rw-r--r--src/unexmacosx.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/unexmacosx.c b/src/unexmacosx.c
index 8cd80a7a544..7d4762fdab2 100644
--- a/src/unexmacosx.c
+++ b/src/unexmacosx.c
@@ -1302,7 +1302,9 @@ dump_it (void)
}
if (curr_header_offset > text_seg_lowest_offset)
- unexec_error ("not enough room for load commands for new __DATA segments");
+ unexec_error ("not enough room for load commands for new __DATA segments"
+ " (increase headerpad_extra in configure.in to at least %lX)",
+ num_unexec_regions * sizeof (struct segment_command));
printf ("%ld unused bytes follow Mach-O header\n",
text_seg_lowest_offset - curr_header_offset);