Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/i386/stand/boot Other boot loaders name ELF *.sym, ...



details:   https://anonhg.NetBSD.org/src/rev/7f9aa35e69fa
branches:  trunk
changeset: 328699:7f9aa35e69fa
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Mon Apr 14 13:04:44 2014 +0000

description:
Other boot loaders name ELF *.sym, not *.syms.  Follow that convention.

diffstat:

 sys/arch/i386/stand/boot/Makefile.boot |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (39 lines):

diff -r e5ae65f0e41d -r 7f9aa35e69fa sys/arch/i386/stand/boot/Makefile.boot
--- a/sys/arch/i386/stand/boot/Makefile.boot    Mon Apr 14 10:57:46 2014 +0000
+++ b/sys/arch/i386/stand/boot/Makefile.boot    Mon Apr 14 13:04:44 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.boot,v 1.64 2014/01/12 15:26:29 tsutsui Exp $
+# $NetBSD: Makefile.boot,v 1.65 2014/04/14 13:04:44 uebayasi Exp $
 
 S=     ${.CURDIR}/../../../../..
 
@@ -123,7 +123,7 @@
 LIBLIST= ${LIBI386} ${LIBSA} ${LIBZ} ${LIBKERN} ${LIBI386} ${LIBSA}
 # LIBLIST= ${LIBSA} ${LIBKERN} ${LIBI386} ${LIBSA} ${LIBZ} ${LIBKERN}
 
-CLEANFILES+= ${PROG}.tmp ${PROG}.map ${PROG}.syms vers.c
+CLEANFILES+= ${PROG}.tmp ${PROG}.map ${PROG}.sym vers.c
 
 vers.c: ${VERSIONFILE} ${SOURCES} ${LIBLIST} ${.CURDIR}/../Makefile.boot
        ${HOST_SH} ${S}/conf/newvers_stand.sh ${VERSIONFILE} x86 ${NEWVERSWHAT}
@@ -133,7 +133,7 @@
 # explicitly pull in the required objects before any other library code.
 ${PROG}: ${OBJS} ${LIBLIST} ${.CURDIR}/../Makefile.boot
        ${_MKTARGET_LINK}
-       bb="$$( ${CC} -o ${PROG}.syms ${LDFLAGS} -Wl,-Ttext,0 -Wl,-cref \
+       bb="$$( ${CC} -o ${PROG}.sym ${LDFLAGS} -Wl,-Ttext,0 -Wl,-cref \
            ${OBJS} ${LIBLIST} | ( \
                while read symbol file; do \
                        [ -z "$$file" ] && continue; \
@@ -149,9 +149,9 @@
                do :; \
                done; \
        ) )"; \
-       ${CC} -o ${PROG}.syms ${LDFLAGS} -Wl,-Ttext,0 \
+       ${CC} -o ${PROG}.sym ${LDFLAGS} -Wl,-Ttext,0 \
                -Wl,-Map,${PROG}.map -Wl,-cref ${OBJS} $$bb ${LIBLIST}
-       ${OBJCOPY} -O binary ${PROG}.syms ${PROG}
+       ${OBJCOPY} -O binary ${PROG}.sym ${PROG}
 
 .include <bsd.prog.mk>
 KLINK_MACHINE= i386



Home | Main Index | Thread Index | Old Index