Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/amd64/amd64 Use END() to set ELF symbol size. Set ...



details:   https://anonhg.NetBSD.org/src/rev/780df75773bb
branches:  trunk
changeset: 787530:780df75773bb
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Sat Jun 22 05:56:32 2013 +0000

description:
Use END() to set ELF symbol size.  Set local string type/size too.

diffstat:

 sys/arch/amd64/amd64/cpu_in_cksum.S |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 69d35ba64e9e -r 780df75773bb sys/arch/amd64/amd64/cpu_in_cksum.S
--- a/sys/arch/amd64/amd64/cpu_in_cksum.S       Sat Jun 22 05:41:25 2013 +0000
+++ b/sys/arch/amd64/amd64/cpu_in_cksum.S       Sat Jun 22 05:56:32 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu_in_cksum.S,v 1.1 2008/01/25 21:12:10 joerg Exp $ */
+/* $NetBSD: cpu_in_cksum.S,v 1.2 2013/06/22 05:56:32 uebayasi Exp $ */
 
 /*-
  * Copyright (c) 2008 Joerg Sonnenberger <joerg%NetBSD.org@localhost>.
@@ -289,7 +289,10 @@
        movl    $0, %eax
        call    _C_LABEL(printf)
        jmp     .Mreturn
+END(cpu_in_cksum)
 
        .section        .rodata
+       .type           .Mout_of_mbufs_msg, @object
 .Mout_of_mbufs_msg:
        .string         "in_cksum: out of data\n"
+END(.Mout_of_mbufs_msg)



Home | Main Index | Thread Index | Old Index