diff --git a/src/libmach/executable.c b/src/libmach/executable.c index 1455b100dd..34da721519 100644 --- a/src/libmach/executable.c +++ b/src/libmach/executable.c @@ -1177,6 +1177,8 @@ machdotout(int fd, Fhdr *fp, ExecHdr *hp) goto bad; } sect++; + if (strcmp(sect->sectname, "__nl_symbol_ptr") == 0) + sect++; if (strcmp(sect->sectname, "__bss") == 0) { bsssize = swav(sect->size); } else {