Fix PR-16305. Make the 'end' symbol local.

This commit is contained in:
leo 2002-04-15 09:29:56 +00:00
parent 77b771d03b
commit 6b640fdcec
7 changed files with 21 additions and 21 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.5 2001/09/22 03:34:19 tv Exp $
# $NetBSD: Makefile.inc,v 1.6 2002/04/15 09:29:56 leo Exp $
BINDIR= /usr/mdec
BINMODE= ${NONBINMODE}
@ -17,11 +17,11 @@ afterinstall:
.s.o: ../LOADADDR
${CPP} ${CPPFLAGS} ${.IMPSRC} | ${AS} ${ASFLAGS} -o ${.TARGET}
@if nm ${.TARGET} | grep -q "00000200 T end"; \
@if nm ${.TARGET} | grep -q "00000200 t end"; \
then \
true; \
else \
nm -g ${.TARGET} | sort; \
nm ${.TARGET} | grep -q " end"; \
rm -f ${.TARGET}; \
false; \
fi

View File

@ -1,4 +1,4 @@
/* $NetBSD: sdb00t.ahdi.s,v 1.3 2001/09/05 19:48:12 thomas Exp $ */
/* $NetBSD: sdb00t.ahdi.s,v 1.4 2002/04/15 09:29:57 leo Exp $ */
/*
* Copyright (c) 1995 Waldi Ravens
@ -33,13 +33,13 @@
#include "xxboot.h"
#ifdef __ELF__
.globl _start, main, fill, end
.globl _start, main, fill
.text
_start: bras main
#else
.globl start, main, fill, end
.globl start, main, fill
.text

View File

@ -1,4 +1,4 @@
/* $NetBSD: wdb00t.ahdi.s,v 1.4 2001/09/05 19:48:12 thomas Exp $ */
/* $NetBSD: wdb00t.ahdi.s,v 1.5 2002/04/15 09:29:58 leo Exp $ */
/*
* Copyright (c) 1995 Waldi Ravens
@ -33,13 +33,13 @@
#include "xxboot.h"
#ifdef __ELF__
.globl _start, main, fill, end
.globl _start, main, fill
.text
_start: bras main
#else
.globl start, main, fill, end
.globl start, main, fill
.text

View File

@ -1,4 +1,4 @@
/* $NetBSD: xxboot.ahdi.s,v 1.5 2001/09/05 19:48:13 thomas Exp $ */
/* $NetBSD: xxboot.ahdi.s,v 1.6 2002/04/15 09:29:59 leo Exp $ */
/*
* Copyright (c) 1995 Waldi Ravens.
@ -33,13 +33,13 @@
#include "xxboot.h"
#ifdef __ELF__
.globl _start, main, fill, end
.globl _start, main, fill
.text
_start: bras main
#else
.globl start, main, fill, end
.globl start, main, fill
.text

View File

@ -1,4 +1,4 @@
/* $NetBSD: fdboot.s,v 1.4 2001/09/05 19:48:13 thomas Exp $ */
/* $NetBSD: fdboot.s,v 1.5 2002/04/15 09:29:59 leo Exp $ */
/*
* Copyright (c) 1995 Waldi Ravens.
@ -33,13 +33,13 @@
#include "xxboot.h"
#ifdef __ELF__
.globl _start, main, fill, end
.globl _start, main, fill
.text
_start: bras main
#else
.globl start, main, fill, end
.globl start, main, fill
.text

View File

@ -1,4 +1,4 @@
/* $NetBSD: sdboot.s,v 1.4 2001/09/05 19:48:13 thomas Exp $ */
/* $NetBSD: sdboot.s,v 1.5 2002/04/15 09:30:00 leo Exp $ */
/*
* Copyright (c) 1995 Waldi Ravens
@ -33,12 +33,12 @@
#include "xxboot.h"
#ifdef __ELF__
.globl _start, main, fill, end
.globl _start, main, fill
.text
_start:
#else
.globl start, main, fill, end
.globl start, main, fill
.text
start:

View File

@ -1,4 +1,4 @@
/* $NetBSD: wdboot.s,v 1.5 2001/09/05 19:48:13 thomas Exp $ */
/* $NetBSD: wdboot.s,v 1.6 2002/04/15 09:30:00 leo Exp $ */
/*
* Copyright (c) 1995 Waldi Ravens
@ -33,12 +33,12 @@
#include "xxboot.h"
#ifdef __ELF__
.globl _start, main, fill, end
.globl _start, main, fill
.text
_start:
#else
.globl start, main, fill, end
.globl start, main, fill
.text
start: