diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2017-10-11 21:16:49 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2017-10-11 21:16:49 +0000 |
commit | 3ff1b2b0a91e25bf5b6499025a7c336a0b71b75f (patch) | |
tree | d8d689d283d005e340df4d2e9459f6f463c13390 | |
parent | 07a5fe52c547185a5fc9ef5b0f205016c3ee35f3 (diff) | |
download | gcc-3ff1b2b0a91e25bf5b6499025a7c336a0b71b75f.zip gcc-3ff1b2b0a91e25bf5b6499025a7c336a0b71b75f.tar.gz gcc-3ff1b2b0a91e25bf5b6499025a7c336a0b71b75f.tar.bz2 |
runtime: fix issues on AIX about uintptr(_t)
Reviewed-on: https://go-review.googlesource.com/69891
From-SVN: r253664
-rw-r--r-- | gcc/go/gofrontend/MERGE | 2 | ||||
-rw-r--r-- | libgo/runtime/go-caller.c | 2 | ||||
-rw-r--r-- | libgo/runtime/proc.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE index acb1d95..41f809f 100644 --- a/gcc/go/gofrontend/MERGE +++ b/gcc/go/gofrontend/MERGE @@ -1,4 +1,4 @@ -adc6eb826f156d0980f0ad9f9efc5c919ec4905e +af46ad16dc34773877068393d331ac8ae34b2219 The first line of this file holds the git revision number of the last merge done from the gofrontend repository. diff --git a/libgo/runtime/go-caller.c b/libgo/runtime/go-caller.c index 360bae6..ee8abdc 100644 --- a/libgo/runtime/go-caller.c +++ b/libgo/runtime/go-caller.c @@ -159,7 +159,7 @@ syminfo_callback (void *data, uintptr_t pc __attribute__ ((unused)), /* Set *VAL to the value of the symbol for PC. */ static _Bool -__go_symbol_value (uintptr_t pc, uintptr_t *val) +__go_symbol_value (uintptr pc, uintptr *val) { *val = 0; backtrace_syminfo (__go_get_backtrace_state (), pc, syminfo_callback, diff --git a/libgo/runtime/proc.c b/libgo/runtime/proc.c index e591824..d6e42e6 100644 --- a/libgo/runtime/proc.c +++ b/libgo/runtime/proc.c @@ -179,7 +179,7 @@ fixcontext(ucontext_t* c) // So we make the field larger in runtime2.go and pick an appropriate // offset within the field here. static ucontext_t* -ucontext_arg(uintptr* go_ucontext) +ucontext_arg(uintptr_t* go_ucontext) { uintptr_t p = (uintptr_t)go_ucontext; size_t align = __alignof__(ucontext_t); |