mirror of
https://github.com/golang/go
synced 2024-11-25 03:27:58 -07:00
cmd/ld: explicitly ignore R_*_NONE relocation to fix build
I don't know why this relocation is used. R=golang-dev, iant CC=golang-dev https://golang.org/cl/6464070
This commit is contained in:
parent
9d303b8aac
commit
93fac8859c
@ -658,6 +658,8 @@ ldelf(Biobuf *f, char *pkg, int64 len, char *pn)
|
||||
p += 4;
|
||||
}
|
||||
}
|
||||
if(info & 0xffffffff == 0) // R_*_NONE relocation
|
||||
continue;
|
||||
if((info >> 32) == 0) { // absolute relocation, don't bother reading the null symbol
|
||||
rp->sym = S;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user