Skip to content

Commit 6dc1432

Browse files
Rework message of assembly not being 4-byte aligned
The assemblies, at that point, aren't mmap-ed anymore so we can't use a process space adress. Instead, mention that we're talking about an offset in the apk.
1 parent fe1236c commit 6dc1432

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/monodroid/jni/embedded-assemblies.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ gather_bundled_assemblies_from_apk (
430430

431431
// assemblies must be 4-byte aligned, or Bad Things happen
432432
if ((offset & 0x3) != 0) {
433-
log_fatal (LOG_ASSEMBLY, "Assembly '%s' is located at a bad address %p\n", cur_entry_name,
433+
log_fatal (LOG_ASSEMBLY, "Assembly '%s' is located at a bad offset %p in the apk\n", cur_entry_name,
434434
offset);
435435
log_fatal (LOG_ASSEMBLY, "You MUST run `zipalign` on %s\n", strrchr (apk, '/') + 1);
436436
exit (FATAL_EXIT_MISSING_ZIPALIGN);

0 commit comments

Comments
 (0)