diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-09-27 17:53:46 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-09-27 17:53:46 +0000 |
commit | 6f65ddb59cbf7de3de9b14095f2f88f02fe2d2af (patch) | |
tree | 133857cd0c49e652d0d0f10641c67369221de3f9 /libgo/Makefile.am | |
parent | 0b284b3e4617dd740687a8c0356522eb5db0b132 (diff) | |
download | gcc-6f65ddb59cbf7de3de9b14095f2f88f02fe2d2af.tar.gz |
reflect: Implement MakeFunc for amd64.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202982 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo/Makefile.am')
-rw-r--r-- | libgo/Makefile.am | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libgo/Makefile.am b/libgo/Makefile.am index 6a81d336819..6d452f4f5cd 100644 --- a/libgo/Makefile.am +++ b/libgo/Makefile.am @@ -895,9 +895,21 @@ go_path_files = \ go/path/match.go \ go/path/path.go +if LIBGO_IS_X86_64 +go_reflect_makefunc_file = \ + go/reflect/makefuncgo_amd64.go +go_reflect_makefunc_s_file = \ + go/reflect/makefunc_amd64.S +else +go_reflect_makefunc_file = +go_reflect_makefunc_s_file = \ + go/reflect/makefunc_dummy.c +endif + go_reflect_files = \ go/reflect/deepequal.go \ go/reflect/makefunc.go \ + $(go_reflect_makefunc_file) \ go/reflect/type.go \ go/reflect/value.go @@ -1761,6 +1773,7 @@ libgo_go_objs = \ os.lo \ path.lo \ reflect-go.lo \ + reflect/makefunc.lo \ regexp.lo \ runtime-go.lo \ sort.lo \ @@ -2147,6 +2160,9 @@ reflect-go.lo: $(go_reflect_files) $(BUILDPACKAGE) reflect/check: $(CHECK_DEPS) @$(CHECK) +reflect/makefunc.lo: $(go_reflect_makefunc_s_file) + @$(MKDIR_P) reflect + $(LTCOMPILE) -c -o $@ $< .PHONY: reflect/check @go_include@ regexp.lo.dep |