Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/compat/arch/i386/sys Define hacked version of END()...



details:   https://anonhg.NetBSD.org/src/rev/c89a51b5b576
branches:  trunk
changeset: 329398:c89a51b5b576
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Fri May 23 02:03:41 2014 +0000

description:
Define hacked version of END() in addition to ENTRY().

diffstat:

 lib/libc/compat/arch/i386/sys/compat___sigreturn14.S |  7 +++++--
 lib/libc/compat/arch/i386/sys/compat_sigreturn.S     |  7 +++++--
 2 files changed, 10 insertions(+), 4 deletions(-)

diffs (70 lines):

diff -r 878d2dc1b4ba -r c89a51b5b576 lib/libc/compat/arch/i386/sys/compat___sigreturn14.S
--- a/lib/libc/compat/arch/i386/sys/compat___sigreturn14.S      Fri May 23 01:11:29 2014 +0000
+++ b/lib/libc/compat/arch/i386/sys/compat___sigreturn14.S      Fri May 23 02:03:41 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: compat___sigreturn14.S,v 1.2 2011/01/12 23:12:11 joerg Exp $   */
+/*     $NetBSD: compat___sigreturn14.S,v 1.3 2014/05/23 02:03:41 uebayasi Exp $        */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -36,7 +36,7 @@
 
 #include <machine/asm.h>
 #if defined(SYSLIBC_SCCS) && !defined(lint)
-       RCSID("$NetBSD: compat___sigreturn14.S,v 1.2 2011/01/12 23:12:11 joerg Exp $")
+       RCSID("$NetBSD: compat___sigreturn14.S,v 1.3 2014/05/23 02:03:41 uebayasi Exp $")
 #endif /* SYSLIBC_SCCS and not lint */
 
 #include "SYS.h"
@@ -46,6 +46,7 @@
  */
 #ifdef GPROF
 #undef ENTRY
+#undef END
 #ifdef __ELF__
 #define MCOUNT_SYMBOL  __mcount
 #else
@@ -54,6 +55,8 @@
 #define        ENTRY(x) \
        .globl _ ## x; _ALIGN_TEXT; _ ## x:  pusha ; \
        .data; 1:; .long 0; .text; movl $1b,%eax; call MCOUNT_SYMBOL; popa ; nop
+#define        END(x) \
+       .size _ ## x, . - _ ## x
 #endif /* GPROF */
 
 PSEUDO(__sigreturn14,compat_16___sigreturn14)
diff -r 878d2dc1b4ba -r c89a51b5b576 lib/libc/compat/arch/i386/sys/compat_sigreturn.S
--- a/lib/libc/compat/arch/i386/sys/compat_sigreturn.S  Fri May 23 01:11:29 2014 +0000
+++ b/lib/libc/compat/arch/i386/sys/compat_sigreturn.S  Fri May 23 02:03:41 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: compat_sigreturn.S,v 1.2 2011/01/12 23:12:11 joerg Exp $       */
+/*     $NetBSD: compat_sigreturn.S,v 1.3 2014/05/23 02:03:41 uebayasi Exp $    */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -36,7 +36,7 @@
 
 #include <machine/asm.h>
 #if defined(SYSLIBC_SCCS) && !defined(lint)
-       RCSID("$NetBSD: compat_sigreturn.S,v 1.2 2011/01/12 23:12:11 joerg Exp $")
+       RCSID("$NetBSD: compat_sigreturn.S,v 1.3 2014/05/23 02:03:41 uebayasi Exp $")
 #endif /* SYSLIBC_SCCS and not lint */
 
 #include "SYS.h"
@@ -46,6 +46,7 @@
  */
 #ifdef GPROF
 #undef ENTRY
+#undef END
 #ifdef __ELF__
 #define MCOUNT_SYMBOL  __mcount
 #else
@@ -54,6 +55,8 @@
 #define        ENTRY(x) \
        .globl _ ## x; _ALIGN_TEXT; _ ## x:  pusha ; \
        .data; 1:; .long 0; .text; movl $1b,%eax; call MCOUNT_SYMBOL; popa ; nop
+#define        END(x) \
+       .size _ ## x, . - _ ## x
 #endif /* GPROF */
 
 WARN_REFERENCES(sigreturn, \



Home | Main Index | Thread Index | Old Index