http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52783
Bug #: 52783
Summary: Go front end emits assembly
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: go
AssignedTo: [email protected]
ReportedBy: [email protected]
The Go front end currently emits data to the .go_export section via
assemble_string(), see gcc/go/go-backend.c:go_write_export_data().
The proper thing to do, is to construct an initializer and use
gcc/varasm.c:tree_output_constant_def() but this is not possible with the
current infrastructure because there is no way to tell
tree_output_constant_def() to put the data in a named section.