gcc/libgo
Ian Lance Taylor 0c22e4415f compiler, runtime: drop size arguments to hash/equal functions
Drop the size arguments for the hash/equal functions stored in type
    descriptors.  Types know what size they are.  To make this work,
    generate hash/equal functions for types that can use an identity
    comparison but are not a standard size and alignment.
    
    Drop the multiplications by 33 in the generated hash code and the
    reflect package hash code.  They are not necessary since we started
    passing a seed value around, as the seed includes the hash of the
    earlier values.
    
    Copy the algorithms for standard types from the Go 1.7 runtime,
    replacing the C functions.
    
    Reviewed-on: https://go-review.googlesource.com/34983

From-SVN: r244256
2017-01-10 03:59:20 +00:00
..
config
go compiler, runtime: drop size arguments to hash/equal functions 2017-01-10 03:59:20 +00:00
runtime compiler, runtime: drop size arguments to hash/equal functions 2017-01-10 03:59:20 +00:00
testsuite re PR go/78978 (runtime/pprof FAILs on Solaris 2/x86) 2017-01-06 16:04:01 +00:00
LICENSE
MERGE libgo: update to Go 1.7.1 release 2016-09-10 13:14:00 +00:00
Makefile.am compiler, runtime: drop size arguments to hash/equal functions 2017-01-10 03:59:20 +00:00
Makefile.in compiler, runtime: drop size arguments to hash/equal functions 2017-01-10 03:59:20 +00:00
PATENTS
README
README.gcc
VERSION libgo: update to Go 1.7.1 release 2016-09-10 13:14:00 +00:00
aclocal.m4 libgo: fixes for Solaris build 2016-12-13 18:03:45 +00:00
config.h.in re PR go/78789 (Error: no such instruction: `aesenc %xmm0,%xmm2' when compiling libgo/runtime/aeshash.c) 2017-01-03 20:41:54 +00:00
configure re PR go/78978 (runtime/pprof FAILs on Solaris 2/x86) 2017-01-06 16:04:01 +00:00
configure.ac re PR go/78978 (runtime/pprof FAILs on Solaris 2/x86) 2017-01-06 16:04:01 +00:00
godeps.sh libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
match.sh libgo: don't unset in shell script 2016-08-13 02:52:42 +00:00
merge.sh libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
mkrsysinfo.sh runtime, reflect: rewrite Go to FFI type conversion in Go 2016-11-18 00:15:38 +00:00
mksigtab.sh runtime: copy signal code from Go 1.7 runtime 2016-11-10 22:53:23 +00:00
mksysinfo.sh re PR go/78172 (gen-sysinfo.go vs AIX cred.h) 2016-11-05 00:21:33 +00:00
mvifdiff.sh
sysinfo.c runtime, reflect: rewrite Go to FFI type conversion in Go 2016-11-18 00:15:38 +00:00

README

See ../README.

This is the runtime support library for the Go programming language.
This library is intended for use with the Go frontend.

This library should not be stripped when it is installed.  Go code
relies on being able to look up file/line information, which comes
from the debugging info using the libbacktrace library.

The library has only been tested on GNU/Linux using glibc, and on
Solaris.  It should not be difficult to port to other operating
systems.

Directories:

go
  A copy of the Go library from http://golang.org/, with several
  changes for gccgo.

runtime
  Runtime functions, written in C, which are called directly by the
  compiler or by the library.

Contributing
============

To contribute patches to the files in this directory, please see
http://golang.org/doc/gccgo_contribute.html .

The master copy of these files is hosted at
http://code.google.com/p/gofrontend .  Changes to these files require
signing a Google contributor license agreement.  If you are the
copyright holder, you will need to agree to the individual contributor
license agreement at
http://code.google.com/legal/individual-cla-v1.0.html.  This agreement
can be completed online.

If your organization is the copyright holder, the organization will
need to agree to the corporate contributor license agreement at
http://code.google.com/legal/corporate-cla-v1.0.html.

If the copyright holder for your code has already completed the
agreement in connection with another Google open source project, it
does not need to be completed again.