- 14 Nov, 2017 2 commits
-
-
libgcc: * config.host (*-*-solaris2*): Adapt comment for Solaris 12 renaming. * config/sol2/crtpg.c (__start_crt_compiler): Likewise. * configure.ac (libgcc_cv_solaris_crts): Likewise. * configure: Regenerate. gcc: * config.gcc (*-*-solaris2*): Enable default_use_cxa_atexit since Solaris 11. Update comment. * configure.ac (gcc_cv_ld_pid): Adapt comment for Solaris 12 renaming. * config/sol2.h (STARTFILE_SPEC): Likewise. * configure: Regenerate. gcc/testsuite: * lib/target-supports.exp (check_effective_target_pie): Adapt comment for Solaris 12 renaming. * gcc.dg/torture/pr60092.c: Remove *-*-solaris2.11* dg-xfail-run-if. From-SVN: r254737
Rainer Orth committed -
With the change in the Solaris release model (no more major releases like Solaris 12 but only minor ones like 11.4), the Solaris 12 references in GCC need to be adapted. Patch by Rainer Orth. Reviewed-on: https://go-review.googlesource.com/77490 From-SVN: r254729
Ian Lance Taylor committed
-
- 09 Nov, 2017 1 commit
-
-
For a misaligned address force a panic rather than assuming that reading from the address 0 will cause one. Reviewed-on: https://go-review.googlesource.com/69850 From-SVN: r254610
Ian Lance Taylor committed
-
- 06 Nov, 2017 1 commit
-
-
"make check" runs make recursively to check each package. Pass the flags through. So it is possible to run "make check" with different settings easily. Reviewed-on: https://go-review.googlesource.com/76029 From-SVN: r254475
Ian Lance Taylor committed
-
- 20 Oct, 2017 1 commit
-
-
Also fix 64-bit DWARF to read a 64-bit abbrev offset in the compilation unit. This is a backport of https://golang.org/cl/71171, which will be in the Go 1.10 release, to the gofrontend copy. Doing it now because AIX is pretty much the only system that uses 64-bit DWARF. Reviewed-on: https://go-review.googlesource.com/72250 From-SVN: r253955
Ian Lance Taylor committed
-
- 11 Oct, 2017 1 commit
-
-
Reviewed-on: https://go-review.googlesource.com/69891 From-SVN: r253664
Ian Lance Taylor committed
-
- 29 Sep, 2017 2 commits
-
-
Patch by Rainer Orth. Reviewed-on: https://go-review.googlesource.com/67111 From-SVN: r253292
Ian Lance Taylor committed -
We don't need them, and this fixes the build when using uClibc-ng 1.0.26 as originally reported at https://gcc.gnu.org/ml/gcc-patches/2017-09/msg01930.html Reviewed-on: https://go-review.googlesource.com/67110 From-SVN: r253291
Ian Lance Taylor committed
-
- 27 Sep, 2017 1 commit
-
-
Reviewed-on: https://go-review.googlesource.com/64550 From-SVN: r253231
Ian Lance Taylor committed
-
- 22 Sep, 2017 1 commit
-
-
Reviewed-on: https://go-review.googlesource.com/64592 From-SVN: r253105
Ian Lance Taylor committed
-
- 20 Sep, 2017 5 commits
-
-
With -enable-static=no we don't build non-pic objects, but libgotool.a is built from non-pic objects. Build the packages that go into libgotool.a in static mode in all cases. Also ensure that internal test packages are built, since nothing explicitly depended on them. Reviewed-on: https://go-review.googlesource.com/65050 From-SVN: r253042
Ian Lance Taylor committed -
Reviewed-on: https://go-review.googlesource.com/64990 From-SVN: r253022
Ian Lance Taylor committed -
Reviewed-on: https://go-review.googlesource.com/64552 From-SVN: r253021
Ian Lance Taylor committed -
Reviewed-on: https://go-review.googlesource.com/64551 From-SVN: r253016
Ian Lance Taylor committed -
In the 1.9 upgrade I took out the word "goroutine" from a traceback showing a goroutine running in C code, to let TestCgoNumGoroutine pass. However, it turns out that some code is actually checking for that string; for example, https://github.com/grpc/grpc-go/blob/master/test/leakcheck/leakcheck.go#L44 So keep the message the same, and change the test. Reviewed-on: https://go-review.googlesource.com/64850 From-SVN: r252991
Ian Lance Taylor committed
-
- 18 Sep, 2017 1 commit
-
-
Reviewed-on: https://go-review.googlesource.com/64110 From-SVN: r252953
Ian Lance Taylor committed
-
- 15 Sep, 2017 1 commit
-
-
Patch by Rainer Orth. Reviewed-on: https://go-review.googlesource.com/64170 From-SVN: r252866
Ian Lance Taylor committed
-
- 14 Sep, 2017 3 commits
-
-
Reviewed-on: https://go-review.googlesource.com/63753 From-SVN: r252767
Ian Lance Taylor committed -
In preparation for upgrading libgo to the 1.9 release, this approximately incorporates https://golang.org/cl/37661 and https://golang.org/cl/38351. CL 37661 changed the gc compiler such that the select statement simply returns an integer which is then used as the argument for a switch. Since gccgo already worked that way, this just adjusts the switch code to look like the gc switch code by removing the explicit case index expression and calculating it from the order of calls to selectsend, selectrecv, and selectdefault. CL 38351 simplifies the channel code by not passing the unused channel type descriptor pointer. Reviewed-on: https://go-review.googlesource.com/62730 From-SVN: r252749
Ian Lance Taylor committed -
This adds much of https://golang.org/cl/35731 and https://golang.org/cl/35732 to the gofrontend code. This is a step toward updating libgo to the 1.9 release. The gofrontend already supports type aliases, and this is required for correct support of type aliases when used as embedded fields. The change to expressions.cc is to handle the << 1, used for the newly renamed offsetAnon field, in the constant context used for type descriptor initialization. Reviewed-on: https://go-review.googlesource.com/62710 From-SVN: r252746
Ian Lance Taylor committed
-
- 31 Aug, 2017 1 commit
-
-
Patch by Rainer Orth. Reviewed-on: https://go-review.googlesource.com/60732 From-SVN: r251574
Ian Lance Taylor committed
-
- 29 Aug, 2017 5 commits
-
-
Reviewed-on: https://go-review.googlesource.com/59913 From-SVN: r251440
Ian Lance Taylor committed -
Reviewed-on: https://go-review.googlesource.com/59912 From-SVN: r251439
Ian Lance Taylor committed -
Reviewed-on: https://go-review.googlesource.com/59911 From-SVN: r251436
Ian Lance Taylor committed -
Reviewed-on: https://go-review.googlesource.com/59910 From-SVN: r251435
Ian Lance Taylor committed -
Reviewed-on: https://go-review.googlesource.com/57550 From-SVN: r251420
Ian Lance Taylor committed
-
- 18 Aug, 2017 3 commits
-
-
PR go/81893 runtime: only use PPC GNU/Linux register code on little endian Reportedly the current code builds on little endian but not big endian. Fixes https://gcc.gnu.org/PR81893. Reviewed-on: https://go-review.googlesource.com/57110 From-SVN: r251188
Ian Lance Taylor committed -
Reviewed-on: https://go-review.googlesource.com/56910 From-SVN: r251182
Ian Lance Taylor committed -
Using -funwind-tables is necessary to permit Go code to correctly throw a panic through C code. This hasn't been necessary in the past as -funwind-tables is the default on x86. However, it is not the default for PPC AIX. Reviewed-on: https://go-review.googlesource.com/56650 From-SVN: r251179
Ian Lance Taylor committed
-
- 16 Aug, 2017 2 commits
-
-
Reviewed-on: https://go-review.googlesource.com/54170 From-SVN: r251133
Ian Lance Taylor committed -
Fix dumpregs on i386, implement dumpregs for PPC Linux/AIX, get PC on AIX. Reviewed-on: https://go-review.googlesource.com/56170 From-SVN: r251127
Ian Lance Taylor committed
-
- 09 Aug, 2017 1 commit
-
-
Libgo's implementation of math.Ldexp declared the libc "ldexp" as taking an 'int' exponent argument, which is not quite right for 64-bit platforms (exp arg is always int32); this could yield incorrect results for exponent values outside the range of Minint32/Maxint32. Fix by upating the type for the libc version of ldexp, and adding guards to screen for out-of-range exponents. Fixes #21323. Reviewed-on: https://go-review.googlesource.com/54250 From-SVN: r250992
Ian Lance Taylor committed
-
- 04 Aug, 2017 1 commit
-
-
Patch from Uros Bizjak. Reviewed-on: https://go-review.googlesource.com/53350 From-SVN: r250873
Ian Lance Taylor committed
-
- 03 Aug, 2017 1 commit
-
-
PR go/81617 libgo: change mksigtab to recognize glibc 2.26 NSIG expression Fixes golang/go#21147 Fixes GCC PR 81617 Reviewed-on: https://go-review.googlesource.com/52611 From-SVN: r250858
Ian Lance Taylor committed
-
- 26 Jul, 2017 1 commit
-
-
Patch by Uros Bizjak. Reviewed-on: https://go-review.googlesource.com/51370 From-SVN: r250588
Ian Lance Taylor committed
-
- 21 Jul, 2017 4 commits
-
-
We unconditionally set _FILE_OFFSET_BITS to 64 in configure.ac, so we should unconditionally call the statfs64 and fstatfs64 functions. These functions should be available on all versions of GNU/Linux since 2.6. On 64-bit systems they are aliased to statfs/fstatfs, and on 32-bit systems they use the 64-bit data structures. Fixes golang/go#20922 Reviewed-on: https://go-review.googlesource.com/50635 From-SVN: r250443
Ian Lance Taylor committed -
If getSiginfo does not know how to determine the PC, it will call runtime_callers. That can happen in a thread that was started by non-Go code, in which case the TLS variable g will not be set, in which case runtime_lock will crash. Avoid the problem by using atomic operations for the lock. This is OK since creating a backtrace state is fast and never blocks. The test case is TestCgoExternalThreadSIGPROF in the runtime package on a system that getSiginfo doesn't handle specially. Updates golang/go#20931 Reviewed-on: https://go-review.googlesource.com/50650 From-SVN: r250439
Ian Lance Taylor committed -
Updates golang/go#20931 Reviewed-on: https://go-review.googlesource.com/50631 From-SVN: r250436
Ian Lance Taylor committed -
Allocate enough stack space so that the test will work on a system that does not support split stacks. This test is actually not very meaningful for gccgo at present, but it doesn't hurt to keep running it. Updates golang/go#20931 Reviewed-on: https://go-review.googlesource.com/50630 From-SVN: r250433
Ian Lance Taylor committed
-
- 18 Jul, 2017 1 commit
-
-
re PR go/81451 (missing futex check - libgo/runtime/thread-linux.c:12:0 futex.h:13:12: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘long’) PR go/81451 runtime: inline runtime_osinit We had two identical copies of runtime_osinit. They set runtime_ncpu, a variable that is no longer used. Removing that leaves us with two lines. Inline those two lines in the two places the function was called. This fixes GCC PR 81451. Reviewed-on: https://go-review.googlesource.com/48862 From-SVN: r250326
Ian Lance Taylor committed
-