aboutsummaryrefslogtreecommitdiff
path: root/libgo/configure.ac
AgeCommit message (Collapse)Author
2015-10-06Merge branches/gcc-5-branch rev 228499.Yvan Roux
Change-Id: I4e83b66fdc6bceb6b3b5f23c426b96f1e5618d1c
2015-01-15libgo: Bump version number in libgo configure script.ian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@219629 138bc75d-0d04-0410-961f-82ee72b054a4
2015-01-15libgo, compiler: Upgrade libgo to Go 1.4, except for runtime.ian
This upgrades all of libgo other than the runtime package to the Go 1.4 release. In Go 1.4 much of the runtime was rewritten into Go. Merging that code will take more time and will not change the API, so I'm putting it off for now. There are a few runtime changes anyhow, to accomodate other packages that rely on minor modifications to the runtime support. The compiler changes slightly to add a one-bit flag to each type descriptor kind that is stored directly in an interface, which for gccgo is currently only pointer types. Another one-bit flag (gcprog) is reserved because it is used by the gc compiler, but gccgo does not currently use it. There is another error check in the compiler since I ran across it during testing. gotools/: * Makefile.am (go_cmd_go_files): Sort entries. Add generate.go. * Makefile.in: Rebuild. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@219627 138bc75d-0d04-0410-961f-82ee72b054a4
2014-11-21runtime: GOARCH values for ppc64 BE & LEian
ppc64 for BE ppc64le for LE issue 8654 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217941 138bc75d-0d04-0410-961f-82ee72b054a4
2014-11-14runtime: set library name based on compiler nameian
Different compilers may have different release cadences or ABI incompatibilities, so it does not make sense to use the same library name for runtime libraries intended for different compilers. This CL causes a libgo built by llgo to receive the name libgo-llgo. Likewise, libgobegin is named libgobegin-llgo. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217583 138bc75d-0d04-0410-961f-82ee72b054a4
2014-11-04libgo: add s390 supportian
From Dominik Vogt. * libgo/go/syscall/libcall_linux_s390.go: New file for s390 support. * libgo/go/syscall/syscall_linux_s390.go: Ditto. * libgo/go/syscall/libcall_linux_s390x.go: New file for s390x support. * libgo/go/syscall/syscall_linux_s390x.go: Ditto. * libgo/go/runtime/pprof/pprof.go (printStackRecord): Support s390 and s390x. * libgo/runtime/runtime.c (runtime_cputicks): Add support for s390 and s390x * libgo/mksysinfo.sh: Ditto. (upcase_fields): New helper function * libgo/go/debug/elf/file.go (applyRelocations): Implement relocations on s390x. (applyRelocationsS390x): Ditto. (DWARF): Ditto. * libgo/go/debug/elf/elf.go (R_390): New constants for S390 relocations. (r390Strings): Ditto. (String): Helper function for S390 relocations. (GoString): Ditto. * libgo/go/reflect/makefuncgo_s390.go: New file. (S390MakeFuncStubGo): Implementation of s390 abi. * libgo/go/reflect/makefuncgo_s390x.go: New file. (S390xMakeFuncStubGo): Implementation of s390x abi. * libgo/go/reflect/makefunc_s390.c: New file. (makeFuncStub): s390 and s390x specific implementation of function. * libgo/go/reflect/makefunc.go (MakeFunc): Add support for s390 and s390x. (makeMethodValue): Ditto. (makeValueMethod): Ditto. * libgo/Makefile.am (go_reflect_makefunc_s_file): Ditto. (go_reflect_makefunc_file): Ditto. * libgo/go/reflect/makefunc_dummy.c: Ditto. * libgo/runtime/runtime.h (__go_makefunc_can_recover): Export prototype for use in makefunc_s390.c. (__go_makefunc_returning): Ditto. * libgo/go/syscall/exec_linux.go (forkAndExecInChild): Fix order of the arguments of the clone system call for s390[x]. * libgo/configure.ac (is_s390): New variable. (is_s390x): Ditto (LIBGO_IS_S390): Ditto. (LIBGO_IS_S390X): Ditto. (GOARCH): Support s390 and s390x. * libgo/go/go/build/build.go (cgoEnabled): Ditto. * libgo/go/go/build/syslist.go (goarchList): Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217106 138bc75d-0d04-0410-961f-82ee72b054a4
2014-10-17configure: Quote some shell variables.ian
From Dominik Vogt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@216355 138bc75d-0d04-0410-961f-82ee72b054a4
2014-09-29libgo/configure: Use -Qunused-arguments for asm tests if supported.ian
This supports clang, which by default issues warnings about unused command line arguments, a habit that interacts poorly with configure scripts. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215699 138bc75d-0d04-0410-961f-82ee72b054a4
2014-07-19libgo: Bump version number.ian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212840 138bc75d-0d04-0410-961f-82ee72b054a4
2014-05-29runtime: add the --without-libatomic configure optionian
This adds the --without-libatomic configure option, which is useful for building libgo with a non-gcc compiler. It disables libgo's dependency on libatomic. This is useful for platforms where it is known that the libatomic runtime functions are not required, or where the compiler automatically provides an implementation of them. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@211065 138bc75d-0d04-0410-961f-82ee72b054a4
2014-05-07mksysinfo: Define CLONE flags.ian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210189 138bc75d-0d04-0410-961f-82ee72b054a4
2014-05-01runtime: ask $GOC rather than $CC for the version and multi-os-directoryian
The Go compiler may have different values for these than the C compiler. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209967 138bc75d-0d04-0410-961f-82ee72b054a4
2014-04-16libgo: Remove Solaris 8 & 9 support.ian
From Rainer Orth. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209448 138bc75d-0d04-0410-961f-82ee72b054a4
2014-03-12libgo: Build math package with -ffp-contract=off on non-x86.ian
http://golang.org/issue/7074 shows that not using -ffp-contract=off produces the wrong result for math.Log2(1) on arm64. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208505 138bc75d-0d04-0410-961f-82ee72b054a4
2014-01-22libgo/configure: Test for gold with gccgo -Wl,--help, not ld --help.ian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206937 138bc75d-0d04-0410-961f-82ee72b054a4
2014-01-06go/build: Set GOARCH on arm64 systems.ian
I am reliably informed that the architecture name and letter for the plan9/inferno compilers for 64-bit ARM systems will be "arm64" and "7" respectively, so let's get that bit in nice and early. From Michael Hudson-Doyle. https://codereview.appspot.com/34830045/ git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206374 138bc75d-0d04-0410-961f-82ee72b054a4
2013-11-24syscall: Only call varargs libc functions from C code.ian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205321 138bc75d-0d04-0410-961f-82ee72b054a4
2013-11-19libgo: Fix typo for is_dragonfly in configure script.ian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204999 138bc75d-0d04-0410-961f-82ee72b054a4
2013-11-06libgo: Update to October 24 version of master library.ian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204466 138bc75d-0d04-0410-961f-82ee72b054a4
2013-10-17syscall: Add Dup3, {Get,List,Remove,Set}xattr, {Get,Set}priority.ian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203788 138bc75d-0d04-0410-961f-82ee72b054a4
2013-10-02reflect: Use hand-coded .eh_frame section rather than CFI directives.ian
From Rainer Orth. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203120 138bc75d-0d04-0410-961f-82ee72b054a4
2013-06-18compiler, runtime: Use function descriptors.ian
This changes the representation of a Go value of function type from being a pointer to function code (like a C function pointer) to being a pointer to a struct. The first field of the struct points to the function code. The remaining fields, if any, are the addresses of variables referenced in enclosing functions. For each call to a function, the address of the function descriptor is passed as the last argument. This lets us avoid generating trampolines, and removes the use of writable/executable sections of the heap. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200181 138bc75d-0d04-0410-961f-82ee72b054a4
2013-02-11 PR go/56171ian
libgo: Solaris portability for syscall package. From Rainer Orth. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195950 138bc75d-0d04-0410-961f-82ee72b054a4
2013-02-07libgo: Correct test for whether to use DejaGNU.ian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195861 138bc75d-0d04-0410-961f-82ee72b054a4
2013-02-05 PR go/56017ian
libgo: Use DejaGNU when testing a cross-compiler. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195766 138bc75d-0d04-0410-961f-82ee72b054a4
2013-01-29libgo: Update Go library to master revision 15489/921e53d4863c.ian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195560 138bc75d-0d04-0410-961f-82ee72b054a4
2013-01-26libgo: Add --enable-werror configure option.ian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195482 138bc75d-0d04-0410-961f-82ee72b054a4
2012-10-23 PR go/54918ian
libgo: Set library version number. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192706 138bc75d-0d04-0410-961f-82ee72b054a4
2012-10-23libgo: Update to current sources.ian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192704 138bc75d-0d04-0410-961f-82ee72b054a4
2012-09-20libgo: Add no-dist and -Wno-portability to AM_INIT_AUTOMAKE.ian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191575 138bc75d-0d04-0410-961f-82ee72b054a4
2012-06-07runtime: Use dl_iterate_phdr to get TLS size.ian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188290 138bc75d-0d04-0410-961f-82ee72b054a4
2012-06-05runtime: Fix call to _dl_get_tls_static_info for i386.ian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188230 138bc75d-0d04-0410-961f-82ee72b054a4
2012-04-27 PR go/52358ian
configure, runtime: Provide i386 long double math functions if needed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186915 138bc75d-0d04-0410-961f-82ee72b054a4
2012-04-22mksysinfo: More fixes to emulate master Go library.ian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186685 138bc75d-0d04-0410-961f-82ee72b054a4
2012-04-21syscall: Additional constants, some type corrections.ian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186655 138bc75d-0d04-0410-961f-82ee72b054a4
2012-04-20net, syscall: Use native endianness for GNU/Linux netlink code.ian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186640 138bc75d-0d04-0410-961f-82ee72b054a4
2012-04-04syscall: Add more constants.ian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186144 138bc75d-0d04-0410-961f-82ee72b054a4
2012-04-03syscall, net: Fix GNU/Linux netlink code for big-endian systems.ian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186123 138bc75d-0d04-0410-961f-82ee72b054a4
2012-04-03mksysinfo.sh: Add some more networking constants.ian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186114 138bc75d-0d04-0410-961f-82ee72b054a4
2012-03-05libgo: Fix Solaris ustat.h test.ian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184913 138bc75d-0d04-0410-961f-82ee72b054a4
2012-03-02libgo: Try to fix use of <ustat.h> for Solaris and older GNU/Linux.ian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184828 138bc75d-0d04-0410-961f-82ee72b054a4
2012-02-29syscall: Fill out GNU/Linux support.ian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184669 138bc75d-0d04-0410-961f-82ee72b054a4
2012-02-18libgo: Add mount flags, fallocate, statfs.ian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184365 138bc75d-0d04-0410-961f-82ee72b054a4
2012-02-17 PR go/52266ian
libgo: Remove accidental AC_INCLUDES_DEFAULT from configure script. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184345 138bc75d-0d04-0410-961f-82ee72b054a4
2012-02-15runtime: Support broken makecontext on Solaris 8/9.ian
From Rainer Orth. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184289 138bc75d-0d04-0410-961f-82ee72b054a4
2012-02-14 PR go/48410ian
libgo: Don't put .gox files in version-specific directory. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184223 138bc75d-0d04-0410-961f-82ee72b054a4
2012-02-12 PR go/52084ian
libgo: Provide more __sync functions if required. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184138 138bc75d-0d04-0410-961f-82ee72b054a4
2012-02-10libgo/configure: Fixes for Solaris 8 and cross-compilation.ian
From Rainer Orth. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184092 138bc75d-0d04-0410-961f-82ee72b054a4
2012-02-08runtime: Add matherr function when appropriate.ian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184024 138bc75d-0d04-0410-961f-82ee72b054a4
2012-02-08math: Compile with -mfancy-math-387 -funsafe-optimizations on x86.ian
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184015 138bc75d-0d04-0410-961f-82ee72b054a4