[uClibc] Re: non-PIC ARM assembly

Peter S. Mazinger ps.m at gmx.net
Fri Jun 10 08:29:49 UTC 2005


On Fri, 10 Jun 2005, Peter S. Mazinger wrote:

> - copied __syscall_error.c from powerpc and added to Makefile (where to 
> 	add attribute_hidden?)

attached attribute_hidden for arm/mips/powerpc

Peter

-- 
Peter S. Mazinger <ps dot m at gmx dot net>           ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2
-------------- next part --------------
--- uClibc-0.9.27/libc/sysdeps/linux/arm/__syscall_error.c.mps	2005-06-10 10:23:47 +0200
+++ uClibc-0.9.27/libc/sysdeps/linux/arm/__syscall_error.c	2005-06-10 10:24:40 +0200
@@ -21,7 +21,7 @@
 
 /* This routine is jumped to by all the syscall handlers, to stash
  * an error number into errno.  */
-int __syscall_error (int err_no)
+int attribute_hidden __syscall_error (int err_no)
 {
 	__set_errno (err_no);
 	return -1;
--- uClibc-0.9.27/libc/sysdeps/linux/mips/__syscall_error.c.mps	2005-06-10 10:27:04 +0200
+++ uClibc-0.9.27/libc/sysdeps/linux/mips/__syscall_error.c	2005-06-10 10:27:32 +0200
@@ -21,7 +21,7 @@
 
 /* This routine is jumped to by all the syscall handlers, to stash
  * an error number into errno.  */
-int __syscall_error (int err_no)
+int attribute_hidden __syscall_error (int err_no)
 {
 	__set_errno (err_no);
 	return -1;
--- uClibc-0.9.27/libc/sysdeps/linux/powerpc/__syscall_error.c.mps	2005-06-10 10:24:49 +0200
+++ uClibc-0.9.27/libc/sysdeps/linux/powerpc/__syscall_error.c	2005-06-10 10:24:59 +0200
@@ -21,7 +21,7 @@
 
 /* This routine is jumped to by all the syscall handlers, to stash
  * an error number into errno.  */
-int __syscall_error (int err_no)
+int attribute_hidden __syscall_error (int err_no)
 {
 	__set_errno (err_no);
 	return -1;


More information about the uClibc mailing list