"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/cmd/link/internal/ld/elf.go" between
go1.16.4.src.tar.gz and go1.16.5.src.tar.gz

About: Google’s Go is a compiled, garbage-collected, concurrent programming language. Latest stable release (1.16).

elf.go  (go1.16.4.src):elf.go  (go1.16.5.src)
skipping to change at line 1089 skipping to change at line 1089
for i, s := range syms { for i, s := range syms {
if !ldr.AttrReachable(s) { if !ldr.AttrReachable(s) {
panic("should never happen") panic("should never happen")
} }
if uint64(ldr.SymValue(s)) >= sect.Vaddr { if uint64(ldr.SymValue(s)) >= sect.Vaddr {
syms = syms[i:] syms = syms[i:]
break break
} }
} }
eaddr := int32(sect.Vaddr + sect.Length) eaddr := sect.Vaddr + sect.Length
for _, s := range syms { for _, s := range syms {
if !ldr.AttrReachable(s) { if !ldr.AttrReachable(s) {
continue continue
} }
if ldr.SymValue(s) >= int64(eaddr) { if ldr.SymValue(s) >= int64(eaddr) {
break break
} }
// Compute external relocations on the go, and pass to Elfreloc1 // Compute external relocations on the go, and pass to Elfreloc1
// to stream out. // to stream out.
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)