mirror of
https://github.com/golang/go
synced 2024-11-25 03:57:56 -07:00
libmach: skip __nl_symbol_ptr section on OS X
R=r CC=golang-dev https://golang.org/cl/1275042
This commit is contained in:
parent
5e253645d2
commit
84edc2e980
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user