aboutsummaryrefslogtreecommitdiff
path: root/libgo/testsuite/Makefile.in
AgeCommit message (Collapse)AuthorFilesLines
2018-01-14go/types: implement SizesFor for gccgoIan Lance Taylor1-8/+0
Move the architecture-specific settings out of configure.ac into a new shell script goarch.sh. Use the new script to collect the values for all architectures to make them available in go/types. Also fix cmd/vet to pass the right compiler when it calls SizesFor. This fixes cmd/vet for systems that are not implemented in the gc toolchain, such as alpha and ia64. Reviewed-on: https://go-review.googlesource.com/87635 From-SVN: r256655
2017-01-06re PR go/78978 (runtime/pprof FAILs on Solaris 2/x86)Ian Lance Taylor1-1/+1
PR go/78978 libgo: build with -Wa,-nH if possible on Solaris By default the Solaris assembler records the required hardware capability in the object file. This means that the AES hashing code breaks on systems that do not support AES, even though the code uses a runtime check to only actually invoke the AES instructions on systems that support it. An earlier fix for the problem only fixed the shared library, not the static libgo.a. Fix the problem for real by using an assembler option to not record the hardware capability. For GCC PR 78978. Patch by Rainer Orth. Reviewed-on: https://go-review.googlesource.com/34910 From-SVN: r244165
2016-12-13libgo: fixes for Solaris buildIan Lance Taylor1-0/+2
Don't put m[0-4] in runtime.inc. Pass -mclear-hwcap to the linker if supported. From Rainer Orth. Reviewed-on: https://go-review.googlesource.com/34331 From-SVN: r243619
2016-09-11runtime/internal/sys: new package, API copied from Go 1.7Ian Lance Taylor1-0/+11
Copy over the Go 1.7 runtime/internal/sys package, but instead of having separate files for each GOARCH and GOOS value, set the values in configure.ac and write them out in Makefile.am. Setting the values in configure.ac should make it easier to add new processors. Remove the automake GOARCH conditionals, which are no longer used. Leave the GOOS conditionals for now, as they are used for the C runtime package. Reviewed-on: https://go-review.googlesource.com/29018 From-SVN: r240083
2015-09-15libgo: If compiler can split-stack and linker can not, use -fno-split-stack.Ian Lance Taylor1-0/+1
If the compiler supports split-stack but we are using a gold linker that does not, as happens on PPC with current GCC but old gold, then we need to compile the Go code with -fno-split-stack to avoid a linker error avoid the inability to call from split-stack code to non-split-stack code. Reviewed-on: https://go-review.googlesource.com/14598 From-SVN: r227811
2015-09-15libgo: don't provide ustat on arm64 GNU/LinuxIan Lance Taylor1-13/+47
This avoids linker warnings when linking against glibc, as apparently arm64 GNU/Linux does not support the ustat system call. Also update to automake 1.11.6, as that is the new GCC standard. Reviewed-on: https://go-review.googlesource.com/14567 From-SVN: r227777
2014-05-29runtime: add the --without-libatomic configure optionIan Lance Taylor1-0/+1
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
2013-02-05re PR go/56017 (libgo testsuite does not support cross testing)Ian Lance Taylor1-0/+1
PR go/56017 libgo: Use DejaGNU when testing a cross-compiler. From-SVN: r195766
2012-09-20libgo: Add no-dist and -Wno-portability to AM_INIT_AUTOMAKE.Ian Lance Taylor1-36/+3
From-SVN: r191575
2012-04-20net, syscall: Use native endianness for GNU/Linux netlink code.Ian Lance Taylor1-1/+0
From-SVN: r186640
2012-04-03syscall, net: Fix GNU/Linux netlink code for big-endian systems.Ian Lance Taylor1-0/+1
From-SVN: r186123
2012-02-14re PR go/48410 (weird installation dir)Ian Lance Taylor1-1/+1
PR go/48410 libgo: Don't put .gox files in version-specific directory. From-SVN: r184223
2012-02-08math: Compile with -mfancy-math-387 -funsafe-optimizations on x86.Ian Lance Taylor1-0/+1
From-SVN: r184015
2011-12-03libgo: Generate dependencies automatically.Ian Lance Taylor1-0/+1
From-SVN: r181955
2011-11-01syscall: Portability code for epoll_event on GNU/Linux.Ian Lance Taylor1-0/+2
From-SVN: r180729
2011-10-23Implement new syscall package.Ian Lance Taylor1-1/+4
Calls to library functions now use entersyscall and exitsyscall as appropriate. This is a first step toward multiplexing goroutines onto threads. From-SVN: r180345
2011-09-16Update Go library to r60.Ian Lance Taylor1-1/+0
From-SVN: r178910
2011-07-11libgo: Define CC_FOR_BUILD in Makefile.Ian Lance Taylor1-0/+1
From-SVN: r176182
2011-04-01libgo: Support Solaris 8/9.Ian Lance Taylor1-0/+1
From Rainer Orth. From-SVN: r171818
2011-01-24Recognize m68k, mips, PPC. Don't require arch syscall files to exist.Ian Lance Taylor1-0/+2
From-SVN: r169185
2011-01-12Preliminary framework for Solaris support.Ian Lance Taylor1-0/+1
Partly from Rainer Orth. From-SVN: r168697
2011-01-12Simplify libgo Makefile conditionals.Ian Lance Taylor1-0/+2
From-SVN: r168696
2010-12-08re PR other/46840 (libgo should link against libm)Ian Lance Taylor1-0/+1
PR other/46840 Link libgo against -lm. From-SVN: r167582
2010-12-03Check for -pthread and -lpthread at configure time.Ian Lance Taylor1-0/+2
From-SVN: r167445
2010-12-03Add Go frontend, libgo library, and Go testsuite.Ian Lance Taylor1-0/+438
gcc/: * gcc.c (default_compilers): Add entry for ".go". * common.opt: Add -static-libgo as a driver option. * doc/install.texi (Configuration): Mention libgo as an option for --enable-shared. Mention go as an option for --enable-languages. * doc/invoke.texi (Overall Options): Mention .go as a file name suffix. Mention go as a -x option. * doc/frontends.texi (G++ and GCC): Mention Go as a supported language. * doc/sourcebuild.texi (Top Level): Mention libgo. * doc/standards.texi (Standards): Add section on Go language. Move references for other languages into their own section. * doc/contrib.texi (Contributors): Mention that I contributed the Go frontend. gcc/testsuite/: * lib/go.exp: New file. * lib/go-dg.exp: New file. * lib/go-torture.exp: New file. * lib/target-supports.exp (check_compile): Match // Go. From-SVN: r167407