Descriptioncmd/ld: mark hostobj sections as containing no pointers
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.
Patch Set 1 #Patch Set 2 : diff -r d5c083552430 https://dvyukov%40google.com@code.google.com/p/go/ #Patch Set 3 : diff -r d5c083552430 https://dvyukov%40google.com@code.google.com/p/go/ #Patch Set 4 : diff -r da790858e12c https://dvyukov%40google.com@code.google.com/p/go/ #
MessagesTotal messages: 9
|