Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/arch/x86_64 Put missing END() markers to set ELF sy...



details:   https://anonhg.NetBSD.org/src/rev/63c6d5838712
branches:  trunk
changeset: 329387:63c6d5838712
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Thu May 22 15:01:56 2014 +0000

description:
Put missing END() markers to set ELF symbol size.

diffstat:

 lib/libc/arch/x86_64/gen/__setjmp14.S    |   6 ++++--
 lib/libc/arch/x86_64/gen/__sigsetjmp14.S |   6 ++++--
 lib/libc/arch/x86_64/gen/_setjmp.S       |   6 ++++--
 lib/libc/arch/x86_64/gen/alloca.S        |   5 +++--
 lib/libc/arch/x86_64/gen/fabs.S          |   5 +++--
 lib/libc/arch/x86_64/gen/flt_rounds.S    |   3 ++-
 lib/libc/arch/x86_64/gen/fpgetmask.S     |   7 ++++++-
 lib/libc/arch/x86_64/gen/fpgetprec.S     |   7 ++++++-
 lib/libc/arch/x86_64/gen/fpgetround.S    |   7 ++++++-
 lib/libc/arch/x86_64/gen/fpgetsticky.S   |   7 ++++++-
 lib/libc/arch/x86_64/gen/fpsetmask.S     |   7 ++++++-
 lib/libc/arch/x86_64/gen/fpsetprec.S     |   7 ++++++-
 lib/libc/arch/x86_64/gen/fpsetround.S    |   7 ++++++-
 lib/libc/arch/x86_64/gen/fpsetsticky.S   |   7 ++++++-
 lib/libc/arch/x86_64/gen/resumecontext.S |   5 +++--
 lib/libc/arch/x86_64/gen/swapcontext.S   |   5 +++--
 lib/libc/arch/x86_64/stdlib/abs.S        |   5 +++--
 lib/libc/arch/x86_64/stdlib/div.S        |   5 +++--
 lib/libc/arch/x86_64/stdlib/labs.S       |  11 +++++++++--
 lib/libc/arch/x86_64/stdlib/ldiv.S       |   9 +++++++--
 lib/libc/arch/x86_64/string/strncmp.S    |   3 ++-
 lib/libc/arch/x86_64/string/swab.S       |   3 ++-
 lib/libc/arch/x86_64/sys/__clone.S       |   3 ++-
 lib/libc/arch/x86_64/sys/__sigtramp2.S   |   3 ++-
 lib/libc/arch/x86_64/sys/__vfork14.S     |   5 +++--
 lib/libc/arch/x86_64/sys/brk.S           |   5 +++--
 lib/libc/arch/x86_64/sys/cerror.S        |   5 +++--
 lib/libc/arch/x86_64/sys/exect.S         |   5 +++--
 lib/libc/arch/x86_64/sys/fork.S          |   5 +++--
 lib/libc/arch/x86_64/sys/getcontext.S    |   5 +++--
 lib/libc/arch/x86_64/sys/pipe.S          |   5 +++--
 lib/libc/arch/x86_64/sys/ptrace.S        |   5 +++--
 lib/libc/arch/x86_64/sys/sbrk.S          |   5 +++--
 33 files changed, 131 insertions(+), 53 deletions(-)

diffs (truncated from 707 to 300 lines):

diff -r 145572fb883d -r 63c6d5838712 lib/libc/arch/x86_64/gen/__setjmp14.S
--- a/lib/libc/arch/x86_64/gen/__setjmp14.S     Thu May 22 14:59:01 2014 +0000
+++ b/lib/libc/arch/x86_64/gen/__setjmp14.S     Thu May 22 15:01:56 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: __setjmp14.S,v 1.2 2013/09/12 15:36:16 joerg Exp $     */
+/*     $NetBSD: __setjmp14.S,v 1.3 2014/05/22 15:01:56 uebayasi Exp $  */
 
 /*
  * Copyright (c) 2001 Wasabi Systems, Inc.
@@ -40,7 +40,7 @@
 #include <machine/setjmp.h>
 
 #if defined(LIBC_SCCS)
-       RCSID("$NetBSD: __setjmp14.S,v 1.2 2013/09/12 15:36:16 joerg Exp $")
+       RCSID("$NetBSD: __setjmp14.S,v 1.3 2014/05/22 15:01:56 uebayasi Exp $")
 #endif
 
 /*
@@ -75,6 +75,7 @@
 #endif
 2:     xorl    %eax,%eax
        ret
+END(__setjmp14)
 
 ENTRY(__longjmp14)
        movq    %rdi,%r12
@@ -106,3 +107,4 @@
        incl    %eax
 1:     movq    %r11,0(%rsp)
        ret
+END(__longjmp14)
diff -r 145572fb883d -r 63c6d5838712 lib/libc/arch/x86_64/gen/__sigsetjmp14.S
--- a/lib/libc/arch/x86_64/gen/__sigsetjmp14.S  Thu May 22 14:59:01 2014 +0000
+++ b/lib/libc/arch/x86_64/gen/__sigsetjmp14.S  Thu May 22 15:01:56 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: __sigsetjmp14.S,v 1.2 2013/09/12 15:36:16 joerg Exp $  */
+/*     $NetBSD: __sigsetjmp14.S,v 1.3 2014/05/22 15:01:56 uebayasi Exp $       */
 
 /*
  * Copyright (c) 2001 Wasabi Systems, Inc.
@@ -40,7 +40,7 @@
 #include <machine/setjmp.h>
 
 #if defined(LIBC_SCCS)
-       RCSID("$NetBSD: __sigsetjmp14.S,v 1.2 2013/09/12 15:36:16 joerg Exp $")
+       RCSID("$NetBSD: __sigsetjmp14.S,v 1.3 2014/05/22 15:01:56 uebayasi Exp $")
 #endif
 
 /*
@@ -79,6 +79,7 @@
 #endif
 2:     xorl    %eax,%eax
        ret
+END(__sigsetjmp14)
 
 ENTRY(__siglongjmp14)
        movq    %rdi,%r12
@@ -110,3 +111,4 @@
        incl    %eax
 1:     movq    %r11,0(%rsp)
        ret
+END(__siglongjmp14)
diff -r 145572fb883d -r 63c6d5838712 lib/libc/arch/x86_64/gen/_setjmp.S
--- a/lib/libc/arch/x86_64/gen/_setjmp.S        Thu May 22 14:59:01 2014 +0000
+++ b/lib/libc/arch/x86_64/gen/_setjmp.S        Thu May 22 15:01:56 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: _setjmp.S,v 1.1 2001/06/19 00:25:02 fvdl Exp $ */
+/*     $NetBSD: _setjmp.S,v 1.2 2014/05/22 15:01:56 uebayasi Exp $     */
 
 /*
  * Copyright (c) 2001 Wasabi Systems, Inc.
@@ -39,7 +39,7 @@
 #include <machine/asm.h>
 #include <machine/setjmp.h>
 #if defined(LIBC_SCCS)
-       RCSID("$NetBSD: _setjmp.S,v 1.1 2001/06/19 00:25:02 fvdl Exp $")
+       RCSID("$NetBSD: _setjmp.S,v 1.2 2014/05/22 15:01:56 uebayasi Exp $")
 #endif
 
 /*
@@ -65,6 +65,7 @@
 
        xorl    %eax,%eax
        ret
+END(_setjmp)
 
 ENTRY(_longjmp)
        movq    (_JB_RBX * 8)(%rdi),%rbx
@@ -82,3 +83,4 @@
        incl    %eax
 1:     movq    %r11,0(%rsp)
        ret
+END(_longjmp)
diff -r 145572fb883d -r 63c6d5838712 lib/libc/arch/x86_64/gen/alloca.S
--- a/lib/libc/arch/x86_64/gen/alloca.S Thu May 22 14:59:01 2014 +0000
+++ b/lib/libc/arch/x86_64/gen/alloca.S Thu May 22 15:01:56 2014 +0000
@@ -1,9 +1,9 @@
-/*     $NetBSD: alloca.S,v 1.1 2001/06/19 00:25:02 fvdl Exp $  */
+/*     $NetBSD: alloca.S,v 1.2 2014/05/22 15:01:56 uebayasi Exp $      */
 
 #include <machine/asm.h>
 
 #if defined(LIBC_SCCS)
-       RCSID("$NetBSD: alloca.S,v 1.1 2001/06/19 00:25:02 fvdl Exp $")
+       RCSID("$NetBSD: alloca.S,v 1.2 2014/05/22 15:01:56 uebayasi Exp $")
 #endif
 
 ENTRY(alloca)
@@ -14,3 +14,4 @@
        subq    %rdi,%rsp
        movq    %rsp,%rax
        jmp     *%rdx
+END(alloca)
diff -r 145572fb883d -r 63c6d5838712 lib/libc/arch/x86_64/gen/fabs.S
--- a/lib/libc/arch/x86_64/gen/fabs.S   Thu May 22 14:59:01 2014 +0000
+++ b/lib/libc/arch/x86_64/gen/fabs.S   Thu May 22 15:01:56 2014 +0000
@@ -1,8 +1,8 @@
-/*     $NetBSD: fabs.S,v 1.3 2004/03/23 17:11:35 drochner Exp $        */
+/*     $NetBSD: fabs.S,v 1.4 2014/05/22 15:01:56 uebayasi Exp $        */
 
 #include <machine/asm.h>
 #if defined(LIBC_SCCS)
-       RCSID("$NetBSD: fabs.S,v 1.3 2004/03/23 17:11:35 drochner Exp $")
+       RCSID("$NetBSD: fabs.S,v 1.4 2014/05/22 15:01:56 uebayasi Exp $")
 #endif
 
        .section .rodata
@@ -15,3 +15,4 @@
        movsd   __signmask(%rip),%xmm1
        andpd   %xmm1,%xmm0
        ret
+END(fabs)
diff -r 145572fb883d -r 63c6d5838712 lib/libc/arch/x86_64/gen/flt_rounds.S
--- a/lib/libc/arch/x86_64/gen/flt_rounds.S     Thu May 22 14:59:01 2014 +0000
+++ b/lib/libc/arch/x86_64/gen/flt_rounds.S     Thu May 22 15:01:56 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: flt_rounds.S,v 1.6 2011/09/30 17:42:34 christos Exp $  */
+/*     $NetBSD: flt_rounds.S,v 1.7 2014/05/22 15:01:56 uebayasi Exp $  */
 
 #include <machine/asm.h>
 
@@ -19,3 +19,4 @@
        sarl    %cl, %eax       /* 0,1,2,3 -> 1,3,2,0 */
        andl    $3, %eax
        ret
+END(__flt_rounds)
diff -r 145572fb883d -r 63c6d5838712 lib/libc/arch/x86_64/gen/fpgetmask.S
--- a/lib/libc/arch/x86_64/gen/fpgetmask.S      Thu May 22 14:59:01 2014 +0000
+++ b/lib/libc/arch/x86_64/gen/fpgetmask.S      Thu May 22 15:01:56 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fpgetmask.S,v 1.3 2002/06/12 19:17:22 fvdl Exp $       */
+/*     $NetBSD: fpgetmask.S,v 1.4 2014/05/22 15:01:56 uebayasi Exp $   */
 
 /*
  * Written by J.T. Conklin, Apr 4, 1995
@@ -24,3 +24,8 @@
        notl %eax
        andl $63,%eax
        ret
+#ifdef WEAK_ALIAS
+END(_fpgetmask)
+#else
+END(fpgetmask)
+#endif
diff -r 145572fb883d -r 63c6d5838712 lib/libc/arch/x86_64/gen/fpgetprec.S
--- a/lib/libc/arch/x86_64/gen/fpgetprec.S      Thu May 22 14:59:01 2014 +0000
+++ b/lib/libc/arch/x86_64/gen/fpgetprec.S      Thu May 22 15:01:56 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fpgetprec.S,v 1.1 2011/03/26 19:51:42 christos Exp $   */
+/*     $NetBSD: fpgetprec.S,v 1.2 2014/05/22 15:01:56 uebayasi Exp $   */
 
 /*
  * Written by J.T. Conklin, Apr 4, 1995
@@ -23,3 +23,8 @@
        rorl $8,%eax
        andl $3,%eax
        ret
+#ifdef WEAK_ALIAS
+END(_fpgetprec)
+#else
+END(fpgetprec)
+#endif
diff -r 145572fb883d -r 63c6d5838712 lib/libc/arch/x86_64/gen/fpgetround.S
--- a/lib/libc/arch/x86_64/gen/fpgetround.S     Thu May 22 14:59:01 2014 +0000
+++ b/lib/libc/arch/x86_64/gen/fpgetround.S     Thu May 22 15:01:56 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fpgetround.S,v 1.4 2011/09/30 17:42:34 christos Exp $  */
+/*     $NetBSD: fpgetround.S,v 1.5 2014/05/22 15:01:56 uebayasi Exp $  */
 
 /*
  * Written by J.T. Conklin, Apr 4, 1995
@@ -22,3 +22,8 @@
        movl -4(%rsp), %eax
        andl $0x00000c00, %eax
        ret
+#ifdef WEAK_ALIAS
+END(_fpgetround)
+#else
+END(fpgetround)
+#endif
diff -r 145572fb883d -r 63c6d5838712 lib/libc/arch/x86_64/gen/fpgetsticky.S
--- a/lib/libc/arch/x86_64/gen/fpgetsticky.S    Thu May 22 14:59:01 2014 +0000
+++ b/lib/libc/arch/x86_64/gen/fpgetsticky.S    Thu May 22 15:01:56 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fpgetsticky.S,v 1.3 2002/06/12 19:17:22 fvdl Exp $     */
+/*     $NetBSD: fpgetsticky.S,v 1.4 2014/05/22 15:01:56 uebayasi Exp $ */
 
 /*
  * Written by Frank van der Linden at Wasabi Systems for NetBSD.
@@ -25,3 +25,8 @@
        orl     -8(%rsp),%eax
        andl    $63,%eax
        ret
+#ifdef WEAK_ALIAS
+END(_fpgetsticky)
+#else
+END(fpgetsticky)
+#endif
diff -r 145572fb883d -r 63c6d5838712 lib/libc/arch/x86_64/gen/fpsetmask.S
--- a/lib/libc/arch/x86_64/gen/fpsetmask.S      Thu May 22 14:59:01 2014 +0000
+++ b/lib/libc/arch/x86_64/gen/fpsetmask.S      Thu May 22 15:01:56 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fpsetmask.S,v 1.5 2012/01/19 16:37:18 drochner Exp $   */
+/*     $NetBSD: fpsetmask.S,v 1.6 2014/05/22 15:01:56 uebayasi Exp $   */
 
 /*
  * Written by Frank van der Linden at Wasabi Systems for NetBSD.
@@ -42,3 +42,8 @@
        notl    %eax
        andl    $0x0000003f, %eax
        ret
+#ifdef WEAK_ALIAS
+END(_fpsetmask)
+#else
+END(fpsetmask)
+#endif
diff -r 145572fb883d -r 63c6d5838712 lib/libc/arch/x86_64/gen/fpsetprec.S
--- a/lib/libc/arch/x86_64/gen/fpsetprec.S      Thu May 22 14:59:01 2014 +0000
+++ b/lib/libc/arch/x86_64/gen/fpsetprec.S      Thu May 22 15:01:56 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fpsetprec.S,v 1.1 2011/03/26 19:51:42 christos Exp $   */
+/*     $NetBSD: fpsetprec.S,v 1.2 2014/05/22 15:01:56 uebayasi Exp $   */
 
 /*
  * Written by Frank van der Linden at Wasabi Systems for NetBSD.
@@ -37,3 +37,8 @@
 
        fldcw   -4(%rsp)
        ret
+#ifdef WEAK_ALIAS
+END(_fpsetprec)
+#else
+END(fpsetprec)
+#endif
diff -r 145572fb883d -r 63c6d5838712 lib/libc/arch/x86_64/gen/fpsetround.S
--- a/lib/libc/arch/x86_64/gen/fpsetround.S     Thu May 22 14:59:01 2014 +0000
+++ b/lib/libc/arch/x86_64/gen/fpsetround.S     Thu May 22 15:01:56 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fpsetround.S,v 1.4 2011/09/30 17:42:34 christos Exp $  */
+/*     $NetBSD: fpsetround.S,v 1.5 2014/05/22 15:01:56 uebayasi Exp $  */
 
 /*
  * Written by Frank van der Linden at Wasabi Systems for NetBSD.
@@ -40,3 +40,8 @@
        ldmxcsr -4(%rsp)
 
        ret
+#ifdef WEAK_ALIAS
+END(_fpsetround)
+#else
+END(fpsetround)
+#endif
diff -r 145572fb883d -r 63c6d5838712 lib/libc/arch/x86_64/gen/fpsetsticky.S
--- a/lib/libc/arch/x86_64/gen/fpsetsticky.S    Thu May 22 14:59:01 2014 +0000
+++ b/lib/libc/arch/x86_64/gen/fpsetsticky.S    Thu May 22 15:01:56 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fpsetsticky.S,v 1.5 2004/03/09 17:16:13 drochner Exp $ */
+/*     $NetBSD: fpsetsticky.S,v 1.6 2014/05/22 15:01:56 uebayasi Exp $ */
 
 /*
  * Written by Frank van der Linden at Wasabi Systems for NetBSD
@@ -43,3 +43,8 @@
        ldmxcsr -32(%rsp)
        fldenv  -28(%rsp)
        ret
+#ifdef WEAK_ALIAS
+END(_fpsetsticky)
+#else
+END(fpsetsticky)
+#endif
diff -r 145572fb883d -r 63c6d5838712 lib/libc/arch/x86_64/gen/resumecontext.S
--- a/lib/libc/arch/x86_64/gen/resumecontext.S  Thu May 22 14:59:01 2014 +0000
+++ b/lib/libc/arch/x86_64/gen/resumecontext.S  Thu May 22 15:01:56 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: resumecontext.S,v 1.5 2013/09/12 15:36:16 joerg Exp $  */
+/*     $NetBSD: resumecontext.S,v 1.6 2014/05/22 15:01:56 uebayasi Exp $       */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@



Home | Main Index | Thread Index | Old Index