gcc/libgo/go/syscall
Ian Lance Taylor 4880b994d6 compiler: rationalize external symbol names
Encode all external symbol names using only ASCII alphanumeric
    characters, underscore, and dot.  Use a scheme that can be reliably
    demangled to a somewhat readable version as described in the long
    comment in names.cc.
    
    A minor cleanup discovered during this was that we were treating
    function types as different if one had a NULL parameters_ field and
    another has a non-NULL parameters_ field that has no parameters.  This
    worked because we mangled them slightly differently.  We now mangle
    them the same, so we treat them as equal, as we should anyhow.
    
    Reviewed-on: https://go-review.googlesource.com/89555

	* go.go-torture/execute/names-1.go: New test.

From-SVN: r257033
2018-01-24 23:50:09 +00:00
..
bpf_bsd.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
clone_linux.c syscall: don't use pt_regs in clone_linux.c 2016-10-13 04:19:57 +00:00
const_plan9.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
creds_test.go libgo: update to Go1.10beta1 2018-01-09 01:23:08 +00:00
dir_plan9.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
dirent.go syscall: enable ParseDirent for AIX 2017-09-20 17:49:11 +00:00
endian_big.go libgo: add platform support for SuperH 2018-01-10 19:19:02 +00:00
endian_little.go libgo: add platform support for SuperH 2018-01-10 19:19:02 +00:00
env_plan9.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
env_unix.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
env_windows.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
errno.c re PR c/82922 (Request: add -Wstrict-prototypes to -Wextra as K&R style is obsolescent) 2018-01-10 15:42:23 +00:00
errors_plan9.go libgo: update to go1.9 2017-09-14 17:11:35 +00:00
errstr.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
errstr_linux.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
exec_bsd.go libgo: update to go1.9 2017-09-14 17:11:35 +00:00
exec_freebsd.go libgo: update to Go1.10beta1 2018-01-09 01:23:08 +00:00
exec_linux.go libgo: update to Go1.10beta1 2018-01-09 01:23:08 +00:00
exec_linux_test.go libgo: update to Go1.10beta1 2018-01-09 01:23:08 +00:00
exec_stubs.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
exec_unix.go libgo: update to go1.9 2017-09-14 17:11:35 +00:00
exec_unix_test.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
exec_windows.go libgo: update to Go1.10beta1 2018-01-09 01:23:08 +00:00
export_test.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
export_unix_test.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
forkpipe_bsd.go internal,net,os,runtime,syscall: fixes for AIX following update to go1.9 2017-09-20 14:59:39 +00:00
libcall_aix.go syscall: emulate Flock on AIX 2017-12-16 01:45:45 +00:00
libcall_bsd.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
libcall_irix.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
libcall_linux.go syscall: call f?statfs64 on GNU/Linux 2017-07-21 20:25:13 +00:00
libcall_linux_386.go
libcall_linux_alpha.go
libcall_linux_amd64.go
libcall_linux_s390.go
libcall_linux_s390x.go
libcall_linux_ustat.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
libcall_linux_utimesnano.go
libcall_posix.go libgo: update to Go1.10beta1 2018-01-09 01:23:08 +00:00
libcall_posix_largefile.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
libcall_posix_regfile.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
libcall_posix_utimesnano.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
libcall_solaris.go syscall: fixes for Solaris 2017-09-15 22:57:23 +00:00
libcall_solaris_386.go
libcall_solaris_amd64.go
libcall_solaris_sparc.go
libcall_solaris_sparc64.go
libcall_support.go
libcall_uname.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
libcall_wait4.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
libcall_wait4_aix.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
lsf_linux.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
mksyscall.awk
mmap_unix_test.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
msan0.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
net.go libgo: update to go1.9 2017-09-14 17:11:35 +00:00
netlink_linux.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
pwd_plan9.go runtime: Remove now unnecessary pad field from ParFor. 2015-10-31 00:59:47 +00:00
route_bsd.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
route_darwin.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
route_dragonfly.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
route_freebsd.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
route_freebsd_32bit.go runtime: Remove now unnecessary pad field from ParFor. 2015-10-31 00:59:47 +00:00
route_freebsd_64bit.go runtime: Remove now unnecessary pad field from ParFor. 2015-10-31 00:59:47 +00:00
route_netbsd.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
route_openbsd.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
security_windows.go libgo: update to go1.7rc3 2016-07-22 18:15:38 +00:00
setuidgid_32_linux.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
setuidgid_linux.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
signame.c Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
sleep_rtems.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
sleep_select.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
sockcmsg_linux.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
sockcmsg_unix.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
socket.go libgo: update to Go1.10beta1 2018-01-09 01:23:08 +00:00
socket_aix.go syscall: workaround for getsockname bug in AIX 2017-09-20 17:40:11 +00:00
socket_bsd.go syscall: workaround for getsockname bug in AIX 2017-09-20 17:40:11 +00:00
socket_irix.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
socket_linux.go re PR go/69966 (libgo: Port syscall.SetsockoptUcred from golang) 2016-02-26 17:36:00 +00:00
socket_linux_ppc64x_type.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
socket_linux_type.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
socket_posix.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
socket_solaris.go
socket_xnet.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
str.go
syscall.go libgo: update to Go1.10beta1 2018-01-09 01:23:08 +00:00
syscall_aix.go os, syscall: handle _st_timespec for AIX stat 2018-01-10 19:51:24 +00:00
syscall_aix_ppc.go syscall: workaround for getsockname bug in AIX 2017-09-20 17:40:11 +00:00
syscall_aix_ppc64.go syscall: workaround for getsockname bug in AIX 2017-09-20 17:40:11 +00:00
syscall_darwin.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
syscall_dragonfly.go libgo: update to go1.9 2017-09-14 17:11:35 +00:00
syscall_errno.go
syscall_freebsd.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
syscall_linux.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
syscall_linux_386.go libgo: update to go1.9 2017-09-14 17:11:35 +00:00
syscall_linux_alpha.go syscall: don't define PtraceRegs for Alpha 2017-06-26 17:59:12 +00:00
syscall_linux_amd64.go libgo: update to go1.9 2017-09-14 17:11:35 +00:00
syscall_linux_mipsx.go libgo: update to go1.9 2017-09-14 17:11:35 +00:00
syscall_linux_s390.go re PR go/81393 (Bootstrap failure on s390x-linux while building libgo against recent glibc) 2017-07-13 03:44:14 +00:00
syscall_linux_s390x.go libgo: update to go1.9 2017-09-14 17:11:35 +00:00
syscall_linux_test.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
syscall_netbsd.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
syscall_openbsd.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
syscall_solaris.go syscall, golang_org/x/net/lif: fixes for gccgo on Solaris 2017-01-18 03:37:52 +00:00
syscall_stubs.go libgo: change build procedure to use build tags 2016-08-06 00:36:33 +00:00
syscall_test.go libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
syscall_unix.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
syscall_unix_test.go libgo: update to Go1.10beta1 2018-01-09 01:23:08 +00:00
timestruct.go Big merge of changes to gofrontend repo that were postponed due to the 2017-05-10 17:26:09 +00:00
wait.c compiler: rationalize external symbol names 2018-01-24 23:50:09 +00:00