• Dmitriy Vyukov's avatar
    cmd/ld: mark hostobj sections as containing no pointers · 65e2b6f8
    Dmitriy Vyukov authored
    Currently they are scanned conservatively.
    But there is no reason to scan them. C world must not contain
    pointers into Go heap. Moreover, we don't have enough information
    to emit write barriers nor update pointers there in future.
    The immediate need is that it breaks the new GC because
    these are weird symbols as if with pointers but not necessary
    pointer aligned.
    
    LGTM=rsc
    R=golang-codereviews, rlh, rsc
    CC=golang-codereviews, iant, khr
    https://golang.org/cl/117000043
    65e2b6f8
Name
Last commit
Last update
..
5a Loading commit data...
5c Loading commit data...
5g Loading commit data...
5l Loading commit data...
6a Loading commit data...
6c Loading commit data...
6g Loading commit data...
6l Loading commit data...
8a Loading commit data...
8c Loading commit data...
8g Loading commit data...
8l Loading commit data...
addr2line Loading commit data...
api Loading commit data...
cc Loading commit data...
cgo Loading commit data...
dist Loading commit data...
fix Loading commit data...
gc Loading commit data...
go Loading commit data...
gofmt Loading commit data...
ld Loading commit data...
link Loading commit data...
nm Loading commit data...
objdump Loading commit data...
pack Loading commit data...
yacc Loading commit data...