Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/vax/include Revert WEAK_ALIAS back to ELF only.
details: https://anonhg.NetBSD.org/src/rev/bcb09548a13a
branches: trunk
changeset: 494212:bcb09548a13a
user: matt <matt%NetBSD.org@localhost>
date: Mon Jul 03 23:05:32 2000 +0000
description:
Revert WEAK_ALIAS back to ELF only.
Change ALTENTRY so there is no change of alignment or section
diffstat:
sys/arch/vax/include/asm.h | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (25 lines):
diff -r 40bf340da9f0 -r bcb09548a13a sys/arch/vax/include/asm.h
--- a/sys/arch/vax/include/asm.h Mon Jul 03 23:01:01 2000 +0000
+++ b/sys/arch/vax/include/asm.h Mon Jul 03 23:05:32 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: asm.h,v 1.13 2000/07/03 04:24:56 matt Exp $ */
+/* $NetBSD: asm.h,v 1.14 2000/07/03 23:05:32 matt Exp $ */
/*
* Copyright (c) 1982, 1993
* The Regents of the University of California. All rights reserved.
@@ -98,12 +98,14 @@
#define NENTRY(x, regs) _ENTRY(_C_LABEL(x), regs)
#define ASENTRY(x, regs) _ENTRY(_ASM_LABEL(x), regs); _PROF_PROLOGUE
-#define ALTENTRY(x) .text; _ALIGN_TEXT; .globl _C_LABEL(x); _C_LABEL(x):
+#define ALTENTRY(x) .globl _C_LABEL(x); _C_LABEL(x):
#define RCSID(x) .text; .asciz x
+#ifdef __ELF__
#define WEAK_ALIAS(alias,sym) \
.weak alias; \
alias = sym
+#endif
#ifdef __STDC__
#define WARN_REFERENCES(sym,msg) \
Home |
Main Index |
Thread Index |
Old Index