summaryrefslogtreecommitdiff
path: root/libgo/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* libgo: Bump version number in libgo configure script.ian2015-01-151-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@219629 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo, compiler: Upgrade libgo to Go 1.4, except for runtime.ian2015-01-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* runtime: GOARCH values for ppc64 BE & LEian2014-11-211-2/+11
| | | | | | | | | 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
* runtime: set library name based on compiler nameian2014-11-141-0/+8
| | | | | | | | | | | | 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
* libgo: add s390 supportian2014-11-041-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* configure: Quote some shell variables.ian2014-10-171-8/+8
| | | | | | | From Dominik Vogt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@216355 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo/configure: Use -Qunused-arguments for asm tests if supported.ian2014-09-291-0/+24
| | | | | | | | | 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
* libgo: Bump version number.ian2014-07-191-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212840 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: add the --without-libatomic configure optionian2014-05-291-0/+15
| | | | | | | | | | | | | 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
* mksysinfo: Define CLONE flags.ian2014-05-071-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210189 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: ask $GOC rather than $CC for the version and multi-os-directoryian2014-05-011-1/+1
| | | | | | | 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
* libgo: Remove Solaris 8 & 9 support.ian2014-04-161-20/+0
| | | | | | | From Rainer Orth. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209448 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Build math package with -ffp-contract=off on non-x86.ian2014-03-121-0/+2
| | | | | | | | | 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
* libgo/configure: Test for gold with gccgo -Wl,--help, not ld --help.ian2014-01-221-3/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206937 138bc75d-0d04-0410-961f-82ee72b054a4
* go/build: Set GOARCH on arm64 systems.ian2014-01-061-0/+6
| | | | | | | | | | | | 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
* syscall: Only call varargs libc functions from C code.ian2013-11-241-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205321 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Fix typo for is_dragonfly in configure script.ian2013-11-191-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204999 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to October 24 version of master library.ian2013-11-061-1/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204466 138bc75d-0d04-0410-961f-82ee72b054a4
* syscall: Add Dup3, {Get,List,Remove,Set}xattr, {Get,Set}priority.ian2013-10-171-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203788 138bc75d-0d04-0410-961f-82ee72b054a4
* reflect: Use hand-coded .eh_frame section rather than CFI directives.ian2013-10-021-0/+62
| | | | | | | From Rainer Orth. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203120 138bc75d-0d04-0410-961f-82ee72b054a4
* compiler, runtime: Use function descriptors.ian2013-06-181-1/+1
| | | | | | | | | | | | | | | | 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
* PR go/56171ian2013-02-111-1/+2
| | | | | | | | | 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
* libgo: Correct test for whether to use DejaGNU.ian2013-02-071-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195861 138bc75d-0d04-0410-961f-82ee72b054a4
* PR go/56017ian2013-02-051-0/+11
| | | | | | | 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
* libgo: Update Go library to master revision 15489/921e53d4863c.ian2013-01-291-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195560 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Add --enable-werror configure option.ian2013-01-261-2/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195482 138bc75d-0d04-0410-961f-82ee72b054a4
* PR go/54918ian2012-10-231-1/+1
| | | | | | | libgo: Set library version number. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192706 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to current sources.ian2012-10-231-0/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192704 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Add no-dist and -Wno-portability to AM_INIT_AUTOMAKE.ian2012-09-201-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191575 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: Use dl_iterate_phdr to get TLS size.ian2012-06-071-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188290 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: Fix call to _dl_get_tls_static_info for i386.ian2012-06-051-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188230 138bc75d-0d04-0410-961f-82ee72b054a4
* PR go/52358ian2012-04-271-0/+5
| | | | | | | 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
* mksysinfo: More fixes to emulate master Go library.ian2012-04-221-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186685 138bc75d-0d04-0410-961f-82ee72b054a4
* syscall: Additional constants, some type corrections.ian2012-04-211-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186655 138bc75d-0d04-0410-961f-82ee72b054a4
* net, syscall: Use native endianness for GNU/Linux netlink code.ian2012-04-201-6/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186640 138bc75d-0d04-0410-961f-82ee72b054a4
* syscall: Add more constants.ian2012-04-041-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186144 138bc75d-0d04-0410-961f-82ee72b054a4
* syscall, net: Fix GNU/Linux netlink code for big-endian systems.ian2012-04-031-0/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186123 138bc75d-0d04-0410-961f-82ee72b054a4
* mksysinfo.sh: Add some more networking constants.ian2012-04-031-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186114 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Fix Solaris ustat.h test.ian2012-03-051-1/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184913 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Try to fix use of <ustat.h> for Solaris and older GNU/Linux.ian2012-03-021-1/+16
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184828 138bc75d-0d04-0410-961f-82ee72b054a4
* syscall: Fill out GNU/Linux support.ian2012-02-291-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184669 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Add mount flags, fallocate, statfs.ian2012-02-181-2/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184365 138bc75d-0d04-0410-961f-82ee72b054a4
* PR go/52266ian2012-02-171-2/+0
| | | | | | | 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
* runtime: Support broken makecontext on Solaris 8/9.ian2012-02-151-0/+18
| | | | | | | From Rainer Orth. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184289 138bc75d-0d04-0410-961f-82ee72b054a4
* PR go/48410ian2012-02-141-15/+17
| | | | | | | 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
* PR go/52084ian2012-02-121-0/+28
| | | | | | | libgo: Provide more __sync functions if required. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184138 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo/configure: Fixes for Solaris 8 and cross-compilation.ian2012-02-101-4/+11
| | | | | | | From Rainer Orth. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184092 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: Add matherr function when appropriate.ian2012-02-081-0/+15
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184024 138bc75d-0d04-0410-961f-82ee72b054a4
* math: Compile with -mfancy-math-387 -funsafe-optimizations on x86.ian2012-02-081-0/+17
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184015 138bc75d-0d04-0410-961f-82ee72b054a4
* runtime: System-specific hack fix for x86_64 Solaris 10.ian2012-02-081-0/+81
| | | | | | | | Fixes problem in which setcontext changes all thread-specific information. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183993 138bc75d-0d04-0410-961f-82ee72b054a4