Age | Commit message (Collapse) | Author | Files | Lines |
|
From-SVN: r219629
|
|
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
|
|
ppc64 for BE
ppc64le for LE
issue 8654
From-SVN: r217941
|
|
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
|
|
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
|
|
From Dominik Vogt.
From-SVN: r216355
|
|
This supports clang, which by default issues warnings about
unused command line arguments, a habit that interacts poorly
with configure scripts.
From-SVN: r215699
|
|
From-SVN: r212840
|
|
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
|
|
From-SVN: r210189
|
|
The Go compiler may have different values for these than the C compiler.
From-SVN: r209967
|
|
From Rainer Orth.
From-SVN: r209448
|
|
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
|
|
From-SVN: r206937
|
|
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
|
|
From-SVN: r205321
|
|
From-SVN: r204999
|
|
From-SVN: r204466
|
|
From-SVN: r203788
|
|
From Rainer Orth.
From-SVN: r203120
|
|
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
|
|
PR go/56171
libgo: Solaris portability for syscall package.
From Rainer Orth.
From-SVN: r195950
|
|
From-SVN: r195861
|
|
PR go/56017
libgo: Use DejaGNU when testing a cross-compiler.
From-SVN: r195766
|
|
From-SVN: r195560
|
|
From-SVN: r195482
|
|
gcc-4.7.x)
PR go/54918
libgo: Set library version number.
From-SVN: r192706
|
|
From-SVN: r192704
|
|
From-SVN: r191575
|
|
From-SVN: r188290
|
|
From-SVN: r188230
|
|
PR go/52358
configure, runtime: Provide i386 long double math functions if needed.
From-SVN: r186915
|
|
From-SVN: r186685
|
|
From-SVN: r186655
|
|
From-SVN: r186640
|
|
From-SVN: r186144
|
|
From-SVN: r186123
|
|
From-SVN: r186114
|
|
From-SVN: r184913
|
|
From-SVN: r184828
|
|
From-SVN: r184669
|
|
From-SVN: r184365
|
|
PR go/52266
libgo: Remove accidental AC_INCLUDES_DEFAULT from configure script.
From-SVN: r184345
|
|
From Rainer Orth.
From-SVN: r184289
|
|
PR go/48410
libgo: Don't put .gox files in version-specific directory.
From-SVN: r184223
|
|
reference to __sync_add_and_fetch_8))
PR go/52084
libgo: Provide more __sync functions if required.
From-SVN: r184138
|
|
From Rainer Orth.
From-SVN: r184092
|
|
From-SVN: r184024
|
|
From-SVN: r184015
|
|
Fixes problem in which setcontext changes all thread-specific
information.
From-SVN: r183993
|