diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2013-05-23 23:37:00 +0200 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2013-05-23 23:37:00 +0200 |
commit | f9e888643115b4b2f28853ebd1733f4410fb8839 (patch) | |
tree | 58c69f6cef623679080e8933b6c79880bfbd7cb8 /sysdeps/sparc/backtrace.c | |
parent | d78eef6ebc008f784f501ce208bef12c6eafda27 (diff) | |
parent | b934acf0e93c5a220551ed6e686bb9d45a24a8cc (diff) |
Merge branch 'baseline' into refs/top-bases/tschwinge/Roger_Whittaker
Diffstat (limited to 'sysdeps/sparc/backtrace.c')
-rw-r--r-- | sysdeps/sparc/backtrace.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sysdeps/sparc/backtrace.c b/sysdeps/sparc/backtrace.c index a0ba1fdfd7..48f3cf6c13 100644 --- a/sysdeps/sparc/backtrace.c +++ b/sysdeps/sparc/backtrace.c @@ -30,7 +30,7 @@ struct layout unsigned long locals[8]; unsigned long ins[6]; unsigned long next; - void *__unbounded return_address; + void *return_address; }; struct trace_arg @@ -127,9 +127,9 @@ __backtrace (void **array, int size) asm volatile ("mov %%fp, %0" : "=r"(fp)); asm volatile ("mov %%i7, %0" : "=r"(i7)); - current = (struct layout *__unbounded) (fp + BACKTRACE_STACK_BIAS); + current = (struct layout *) (fp + BACKTRACE_STACK_BIAS); - array[0] = (void *__unbounded) i7; + array[0] = (void *) i7; if (size == 1) return 1; @@ -140,8 +140,7 @@ __backtrace (void **array, int size) array[count] = current->return_address; if (!current->next) break; - current = (struct layout *__unbounded) (current->next - + BACKTRACE_STACK_BIAS); + current = (struct layout *) (current->next + BACKTRACE_STACK_BIAS); } } else |