Commit 3ff1b2b0 by Ian Lance Taylor

runtime: fix issues on AIX about uintptr(_t)

    
    Reviewed-on: https://go-review.googlesource.com/69891

From-SVN: r253664
parent 07a5fe52
adc6eb826f156d0980f0ad9f9efc5c919ec4905e
af46ad16dc34773877068393d331ac8ae34b2219
The first line of this file holds the git revision number of the last
merge done from the gofrontend repository.
......@@ -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,
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment