Go to file
Ian Lance Taylor 1fec5f5274 libgo: add s390 support
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-11-04 22:39:30 +00:00
boehm-gc Fix gnu11 fallout on SPARC 2014-10-23 08:39:19 +00:00
config Let GDB reuse GCC's parser. 2014-10-27 17:21:42 +00:00
contrib configure.ac: Update comment. 2014-10-31 11:03:57 +00:00
fixincludes inclhack.def (glibc_c99_inline_4): Add pthread.h to files. 2014-10-21 12:58:26 +02:00
gcc rs6000.c (atomic_hold_decl, [...]): Guard declaration with #ifdef. 2014-11-04 22:34:43 +00:00
gnattools
include longlong.h: Disable alpha umul_ppmm for old g++ 2014-10-28 13:22:40 -07:00
INSTALL README: Do not mention CVS. 2014-10-12 15:05:28 +00:00
intl
libada Makefile.in: Add CFLAGS_FOR_TARGET to GNATLIBCFLAGS_FOR_C. 2014-08-12 19:47:09 +00:00
libatomic configure.tgt: Add cygwin to supported targets. 2014-08-19 16:55:37 +02:00
libbacktrace internal.h (backtrace_atomic_load_pointer): Fix to return void *. 2014-10-23 22:40:37 +00:00
libcc1 configure.ac: Remove -Werror addition to WARN_FLAGS. 2014-10-29 12:38:00 +01:00
libcilkrts configure.ac: Move pthread affinity test to the place where '-pthread' passed to CFLAGS. 2014-08-12 11:06:44 +00:00
libcpp gengtype.h (obstack_chunk_alloc, [...]): Remove cast. 2014-10-22 12:11:31 +10:30
libdecnumber
libffi configure.ac: If the compiler supports -Qunused-arguments... 2014-10-15 15:32:41 +00:00
libgcc Make soft-fp symbols into compat symbols for powerpc*-*-linux*. 2014-10-30 17:28:30 +00:00
libgfortran PR 63589 Fix splitting of PATH in find_addr2line. 2014-10-20 10:53:37 +03:00
libgo libgo: add s390 support 2014-11-04 22:39:30 +00:00
libgomp affinity-1.c: Include <sys/wait.h>. 2014-10-06 11:54:24 +00:00
libiberty Add strtoll and strtoull to libiberty. 2014-10-28 09:43:20 +00:00
libitm memcpy-1.c: Declare getpagesize. 2014-10-06 12:35:06 +00:00
libjava
libobjc
libquadmath re PR libquadmath/55821 (Release tarballs (unconditionally) install libquadmath.info when libquadmath is not supported) 2014-10-21 08:59:17 +00:00
libsanitizer IPA ICF fallout: fox for libasan and pr43077-1.c 2014-10-16 16:56:21 +00:00
libssp
libstdc++-v3 * testsuite/util/testsuite_allocator.h (operator==): Fix recursion. 2014-11-04 16:54:49 +00:00
libvtv
lto-plugin Properly set gcc_build_dir for in-tree build 2014-08-26 07:47:15 -07:00
maintainer-scripts Add svn:executable property for generate_libstdcxx_web_docs. 2014-10-30 11:11:38 +01:00
zlib
.dir-locals.el
.gitignore
ABOUT-NLS
ChangeLog Makefile.def (libcc1): Remove bootstrap=true;. 2014-10-31 12:19:13 +01:00
ChangeLog.tree-ssa
compile
config-ml.in
config.guess
config.rpath
config.sub
configure configure.ac: Update comment. 2014-10-31 11:03:57 +00:00
configure.ac configure.ac: Update comment. 2014-10-31 11:03:57 +00:00
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
COPYING.RUNTIME
depcomp
install-sh
libtool-ldflags
libtool.m4
lt~obsolete.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
MAINTAINERS MAINTAINERS (Write After Approval): Add myself. 2014-10-31 09:19:43 +00:00
Makefile.def Makefile.def (libcc1): Remove bootstrap=true;. 2014-10-31 12:19:13 +01:00
Makefile.in Makefile.def (libcc1): Remove bootstrap=true;. 2014-10-31 12:19:13 +01:00
Makefile.tpl Support slim LTO bootstrap 2014-09-01 16:41:28 +00:00
missing
mkdep
mkinstalldirs
move-if-change
README
symlink-tree
ylwrap

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the files whose
names start with COPYING for copying permission.  The manuals, and
some of the runtime libraries, are under different terms; see the
individual source files for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs/ for how to report bugs usefully.

Copyright years on GCC source files may be listed using range
notation, e.g., 1987-2012, indicating that every year in the range,
inclusive, is a copyrightable year that could otherwise be listed
individually.