runtime: fix issues on AIX about uintptr(_t)
authorIan Lance Taylor <ian@gcc.gnu.org>
Wed, 11 Oct 2017 21:16:49 +0000 (21:16 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 11 Oct 2017 21:16:49 +0000 (21:16 +0000)
    Reviewed-on: https://go-review.googlesource.com/69891

From-SVN: r253664

gcc/go/gofrontend/MERGE
libgo/runtime/go-caller.c
libgo/runtime/proc.c

index acb1d9584a31affaba78e2aad10c39ec366101cb..41f809f79895cf266fd44d0845e40b8651fdfe1e 100644 (file)
@@ -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.
index 360bae695940a97c17690f8a167643de770cdc7b..ee8abdc67feb453bfc8f6c16a8697c5d43711e56 100644 (file)
@@ -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,
index e591824b140ce70c4863e63a479d185d592d7cbf..d6e42e6d8b5b1ff539b04bb1c5cafa0ad75d37e4 100644 (file)
@@ -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);