diff options
author | Ian Lance Taylor <iant@google.com> | 2011-05-27 22:46:11 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2011-05-27 22:46:11 +0000 |
commit | 76aa42d2663180d0eda360689a42040ac7ec92bd (patch) | |
tree | dbd080404d65f3dde4d423621c09556b357bc027 /gcc/go/go-c.h | |
parent | d112944143e99e9a99a78b43cdd60dc940c0209f (diff) | |
download | gcc-76aa42d2663180d0eda360689a42040ac7ec92bd.zip gcc-76aa42d2663180d0eda360689a42040ac7ec92bd.tar.gz gcc-76aa42d2663180d0eda360689a42040ac7ec92bd.tar.bz2 |
Change export code to use the backend interface.
* go-backend.c: Include "output.h".
(go_write_export_data): New function.
* go-c.h (go_write_export_data): Declare.
* Make-lang.in (go/go-backend.o): Depend on output.h.
(go/export.o): Depend on $(GO_C_H). Do not depend on
$(MACHMODE_H), output.h, or $(TARGET_H).
From-SVN: r174366
Diffstat (limited to 'gcc/go/go-c.h')
-rw-r--r-- | gcc/go/go-c.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/go/go-c.h b/gcc/go/go-c.h index 1c7a3b1..f70f1ad 100644 --- a/gcc/go/go-c.h +++ b/gcc/go/go-c.h @@ -66,6 +66,8 @@ extern void go_trampoline_info (unsigned int *size, unsigned int *alignment); extern void go_imported_unsafe (void); +extern void go_write_export_data (const char *, unsigned int); + #if defined(__cplusplus) && !defined(ENABLE_BUILD_WITH_CXX) } /* End extern "C". */ #endif |