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/4e423530d317
branches:  trunk
changeset: 329385:4e423530d317
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Thu May 22 14:38:38 2014 +0000

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

diffstat:

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

diffs (30 lines):

diff -r ac443d49d54b -r 4e423530d317 lib/libc/arch/x86_64/SYS.h
--- a/lib/libc/arch/x86_64/SYS.h        Thu May 22 14:29:55 2014 +0000
+++ b/lib/libc/arch/x86_64/SYS.h        Thu May 22 14:38:38 2014 +0000
@@ -30,7 +30,7 @@
  * SUCH DAMAGE.
  *
  *     from: @(#)SYS.h 5.5 (Berkeley) 5/7/91
- *     $NetBSD: SYS.h,v 1.11 2011/11/18 20:43:01 joerg Exp $
+ *     $NetBSD: SYS.h,v 1.12 2014/05/22 14:38:38 uebayasi Exp $
  */
 
 #include <machine/asm.h>
@@ -66,13 +66,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