This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

FR-V set_tid_address syscall number


This is defined in kernel headers, but since other ports define this,
I thought I would too...

Index: ChangeLog
2004-11-10  Alexandre Oliva  <aoliva@redhat.com>

	* init.c (__NR_set_tid_address) <__FRV_FDPIC__>: Define.

Index: nptl/init.c
--- nptl/init.c	2005-01-06 16:39:24.000000000 -0200
+++ nptl/init.c	2005-01-31 04:47:41.000000000 -0200
@@ -50,6 +50,8 @@
 # define __NR_set_tid_address	232
 #elif defined __sparc__
 # define __NR_set_tid_address	166
+#elif defined __FRV_FDPIC__
+# define __NR_set_tid_address	258
 #else
 # error "define __NR_set_tid_address"
 #endif
-- 
Alexandre Oliva             http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer   aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist  oliva@{lsd.ic.unicamp.br, gnu.org}

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]