Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/1ff1aa1137b1
branches:  trunk
changeset: 329399:1ff1aa1137b1
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Fri May 23 02:17:43 2014 +0000

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

diffstat:

 lib/libc/arch/i386/SYS.h |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r c89a51b5b576 -r 1ff1aa1137b1 lib/libc/arch/i386/SYS.h
--- a/lib/libc/arch/i386/SYS.h  Fri May 23 02:03:41 2014 +0000
+++ b/lib/libc/arch/i386/SYS.h  Fri May 23 02:17:43 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: SYS.h,v 1.24 2013/09/12 15:36:15 joerg Exp $   */
+/*     $NetBSD: SYS.h,v 1.25 2014/05/23 02:17:43 uebayasi Exp $        */
 
 /*-
  * Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -126,13 +126,15 @@
 
 #define PSEUDO_NOERROR(x,y)                                            \
        _SYSCALL_NOERROR(x,y);                                          \
-       ret
+       ret;                                                            \
+       END(x)
 
 #define PSEUDO(x,y)                                                    \
        _SYSCALL_NOERROR(x,y);                                          \
        jc 2f;                                                          \
        ret;                                                            \
-       2: _SYSCALL_ERR
+       2: _SYSCALL_ERR;                                                \
+       END(x)
 
 #define RSYSCALL_NOERROR(x)                                            \
        PSEUDO_NOERROR(x,x)



Home | Main Index | Thread Index | Old Index