mirror of
https://github.com/golang/go
synced 2024-11-21 22:14:41 -07:00
6l: fix Mach-O LC_RPATH
Fixes #1177. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/2387042
This commit is contained in:
parent
e35aff7205
commit
0f6926474f
@ -47,6 +47,10 @@ newMachoLoad(uint32 type, uint32 ndata)
|
||||
diag("too many loads");
|
||||
errorexit();
|
||||
}
|
||||
|
||||
if(macho64 && (ndata & 1))
|
||||
ndata++;
|
||||
|
||||
l = &load[nload++];
|
||||
l->type = type;
|
||||
l->ndata = ndata;
|
||||
|
Loading…
Reference in New Issue
Block a user