aboutsummaryrefslogtreecommitdiff
path: root/libgo/configure.ac
AgeCommit message (Collapse)AuthorFilesLines
2015-01-15libgo: Bump version number in libgo configure script.Ian Lance Taylor1-1/+1
From-SVN: r219629
2015-01-15libgo, compiler: Upgrade libgo to Go 1.4, except for runtime.Ian Lance Taylor1-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. From-SVN: r219627
2014-11-21runtime: GOARCH values for ppc64 BE & LEIan Lance Taylor1-2/+11
ppc64 for BE ppc64le for LE issue 8654 From-SVN: r217941
2014-11-14runtime: set library name based on compiler nameIan Lance Taylor1-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. From-SVN: r217583
2014-11-04libgo: add s390 supportIan Lance Taylor1-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. From-SVN: r217106
2014-10-17configure: Quote some shell variables.Ian Lance Taylor1-8/+8
From Dominik Vogt. From-SVN: r216355
2014-09-29libgo/configure: Use -Qunused-arguments for asm tests if supported.Ian Lance Taylor1-0/+24
This supports clang, which by default issues warnings about unused command line arguments, a habit that interacts poorly with configure scripts. From-SVN: r215699
2014-07-19libgo: Bump version number.Ian Lance Taylor1-1/+1
From-SVN: r212840
2014-05-29runtime: add the --without-libatomic configure optionIan Lance Taylor1-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. From-SVN: r211065
2014-05-07mksysinfo: Define CLONE flags.Ian Lance Taylor1-1/+1
From-SVN: r210189
2014-05-01runtime: ask $GOC rather than $CC for the version and multi-os-directoryIan Lance Taylor1-1/+1
The Go compiler may have different values for these than the C compiler. From-SVN: r209967
2014-04-16libgo: Remove Solaris 8 & 9 support.Ian Lance Taylor1-20/+0
From Rainer Orth. From-SVN: r209448
2014-03-12libgo: Build math package with -ffp-contract=off on non-x86.Ian Lance Taylor1-0/+2
http://golang.org/issue/7074 shows that not using -ffp-contract=off produces the wrong result for math.Log2(1) on arm64. From-SVN: r208505
2014-01-22libgo/configure: Test for gold with gccgo -Wl,--help, not ld --help.Ian Lance Taylor1-3/+3
From-SVN: r206937
2014-01-06go/build: Set GOARCH on arm64 systems.Ian Lance Taylor1-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/ From-SVN: r206374
2013-11-24syscall: Only call varargs libc functions from C code.Ian Lance Taylor1-1/+1
From-SVN: r205321
2013-11-19libgo: Fix typo for is_dragonfly in configure script.Ian Lance Taylor1-1/+1
From-SVN: r204999
2013-11-06libgo: Update to October 24 version of master library.Ian Lance Taylor1-1/+4
From-SVN: r204466
2013-10-17syscall: Add Dup3, {Get,List,Remove,Set}xattr, {Get,Set}priority.Ian Lance Taylor1-1/+1
From-SVN: r203788
2013-10-02reflect: Use hand-coded .eh_frame section rather than CFI directives.Ian Lance Taylor1-0/+62
From Rainer Orth. From-SVN: r203120
2013-06-18compiler, runtime: Use function descriptors.Ian Lance Taylor1-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. From-SVN: r200181
2013-02-11re PR go/56171 (syscall FAILs on Solaris)Ian Lance Taylor1-1/+2
PR go/56171 libgo: Solaris portability for syscall package. From Rainer Orth. From-SVN: r195950
2013-02-07libgo: Correct test for whether to use DejaGNU.Ian Lance Taylor1-1/+1
From-SVN: r195861
2013-02-05re PR go/56017 (libgo testsuite does not support cross testing)Ian Lance Taylor1-0/+11
PR go/56017 libgo: Use DejaGNU when testing a cross-compiler. From-SVN: r195766
2013-01-29libgo: Update Go library to master revision 15489/921e53d4863c.Ian Lance Taylor1-1/+1
From-SVN: r195560
2013-01-26libgo: Add --enable-werror configure option.Ian Lance Taylor1-2/+5
From-SVN: r195482
2012-10-23re PR go/54918 (libgo.so.0 is not runtime compatible between gcc-4.6.2 and ↵Ian Lance Taylor1-1/+1
gcc-4.7.x) PR go/54918 libgo: Set library version number. From-SVN: r192706
2012-10-23libgo: Update to current sources.Ian Lance Taylor1-0/+3
From-SVN: r192704
2012-09-20libgo: Add no-dist and -Wno-portability to AM_INIT_AUTOMAKE.Ian Lance Taylor1-1/+1
From-SVN: r191575
2012-06-07runtime: Use dl_iterate_phdr to get TLS size.Ian Lance Taylor1-1/+1
From-SVN: r188290
2012-06-05runtime: Fix call to _dl_get_tls_static_info for i386.Ian Lance Taylor1-1/+1
From-SVN: r188230
2012-04-27re PR go/52358 (math FAILs on Solaris 8 and 9)Ian Lance Taylor1-0/+5
PR go/52358 configure, runtime: Provide i386 long double math functions if needed. From-SVN: r186915
2012-04-22mksysinfo: More fixes to emulate master Go library.Ian Lance Taylor1-1/+1
From-SVN: r186685
2012-04-21syscall: Additional constants, some type corrections.Ian Lance Taylor1-2/+2
From-SVN: r186655
2012-04-20net, syscall: Use native endianness for GNU/Linux netlink code.Ian Lance Taylor1-6/+0
From-SVN: r186640
2012-04-04syscall: Add more constants.Ian Lance Taylor1-1/+1
From-SVN: r186144
2012-04-03syscall, net: Fix GNU/Linux netlink code for big-endian systems.Ian Lance Taylor1-0/+6
From-SVN: r186123
2012-04-03mksysinfo.sh: Add some more networking constants.Ian Lance Taylor1-1/+1
From-SVN: r186114
2012-03-05libgo: Fix Solaris ustat.h test.Ian Lance Taylor1-1/+4
From-SVN: r184913
2012-03-02libgo: Try to fix use of <ustat.h> for Solaris and older GNU/Linux.Ian Lance Taylor1-1/+16
From-SVN: r184828
2012-02-29syscall: Fill out GNU/Linux support.Ian Lance Taylor1-2/+2
From-SVN: r184669
2012-02-18libgo: Add mount flags, fallocate, statfs.Ian Lance Taylor1-2/+3
From-SVN: r184365
2012-02-17re PR go/52266 (syntax error in libgo/configure)Ian Lance Taylor1-2/+0
PR go/52266 libgo: Remove accidental AC_INCLUDES_DEFAULT from configure script. From-SVN: r184345
2012-02-15runtime: Support broken makecontext on Solaris 8/9.Ian Lance Taylor1-0/+18
From Rainer Orth. From-SVN: r184289
2012-02-14re PR go/48410 (weird installation dir)Ian Lance Taylor1-15/+17
PR go/48410 libgo: Don't put .gox files in version-specific directory. From-SVN: r184223
2012-02-12re PR go/52084 (go tests fail to link on powerpc-linux-gnu (undefined ↵Ian Lance Taylor1-0/+28
reference to __sync_add_and_fetch_8)) PR go/52084 libgo: Provide more __sync functions if required. From-SVN: r184138
2012-02-10libgo/configure: Fixes for Solaris 8 and cross-compilation.Ian Lance Taylor1-4/+11
From Rainer Orth. From-SVN: r184092
2012-02-08runtime: Add matherr function when appropriate.Ian Lance Taylor1-0/+15
From-SVN: r184024
2012-02-08math: Compile with -mfancy-math-387 -funsafe-optimizations on x86.Ian Lance Taylor1-0/+17
From-SVN: r184015
2012-02-08runtime: System-specific hack fix for x86_64 Solaris 10.Ian Lance Taylor1-0/+81
Fixes problem in which setcontext changes all thread-specific information. From-SVN: r183993