OSDN Git Service

Some sparc updates from Stanley <ngstanley@cwc.nus.edu.sg>
authorEric Andersen <andersen@codepoet.org>
Tue, 12 Jun 2001 22:23:26 +0000 (22:23 -0000)
committerEric Andersen <andersen@codepoet.org>
Tue, 12 Jun 2001 22:23:26 +0000 (22:23 -0000)
libc/sysdeps/linux/sparc/sysdep.h
libc/sysdeps/linux/sparc/vfork.S

index 015dd6e..1553ff0 100644 (file)
@@ -132,3 +132,15 @@ Cambridge, MA 02139, USA.  */
 
 #define END(name)
        .size name,.-name;
+
+#define PSEUDO(name, syscall_name, args)                       \
+       .text;                                                  \
+       ENTRY(name);                                            \
+       ta 0x10;                                                \
+       bcc,a 9000f;                                            \
+       nop;                                                    \
+9000:;
+
+#define PSEUDO_END(name)                       \
+       .size name,.-name;
+
index 985ea4e..2aef09a 100644 (file)
@@ -26,5 +26,5 @@ PSEUDO (__vfork, vfork, 0)
        retl
         and    %o0, %o1, %o0
 
-PSEUDO_END (__vfork)
-weak_alias (__vfork, vfork)
+.size __vfork,.-__vfork
+.weak vfork; vfork = __vfork;