aboutsummaryrefslogtreecommitdiff
path: root/gcc/go/go-backend.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/go/go-backend.c')
-rw-r--r--gcc/go/go-backend.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/go/go-backend.c b/gcc/go/go-backend.c
index 60a97db..62102a2 100644
--- a/gcc/go/go-backend.c
+++ b/gcc/go/go-backend.c
@@ -26,6 +26,7 @@ along with GCC; see the file COPYING3. If not see
#include "tm_p.h"
#include "output.h"
#include "target.h"
+#include "common/common-target.h"
#include "go-c.h"
@@ -103,7 +104,7 @@ go_write_export_data (const char *bytes, unsigned int size)
if (sec == NULL)
{
- gcc_assert (targetm.have_named_sections);
+ gcc_assert (targetm_common.have_named_sections);
sec = get_section (".go_export", SECTION_DEBUG, NULL);
}