about summary refs log tree commit diff
path: root/sysdeps/sparc/backtrace.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-02-13 23:30:40 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-02-13 23:30:40 +0000
commit70d9946a44ba381f81eb08c71cc150315cc112ad (patch)
treeb354421eb394cee78cb16fd35812fb864c481ab8 /sysdeps/sparc/backtrace.c
parentffb1ec7b7ff1c65523b6926fc3afbacdb94db356 (diff)
downloadglibc-70d9946a44ba381f81eb08c71cc150315cc112ad.tar.gz
glibc-70d9946a44ba381f81eb08c71cc150315cc112ad.tar.xz
glibc-70d9946a44ba381f81eb08c71cc150315cc112ad.zip
Remove __ptrvalue, __bounded and __unbounded.
Diffstat (limited to 'sysdeps/sparc/backtrace.c')
-rw-r--r--sysdeps/sparc/backtrace.c9
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