Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys alpha (and others) don't like .set name, expr. Use n...
details: https://anonhg.NetBSD.org/src/rev/bec40f64a1b2
branches: trunk
changeset: 331828:bec40f64a1b2
user: christos <christos%NetBSD.org@localhost>
date: Tue Aug 26 09:03:17 2014 +0000
description:
alpha (and others) don't like .set name, expr. Use name = expr like elsewhere.
diffstat:
sys/sys/cdefs_elf.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (24 lines):
diff -r 1cbf670c25ce -r bec40f64a1b2 sys/sys/cdefs_elf.h
--- a/sys/sys/cdefs_elf.h Tue Aug 26 07:54:27 2014 +0000
+++ b/sys/sys/cdefs_elf.h Tue Aug 26 09:03:17 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cdefs_elf.h,v 1.45 2014/08/25 20:40:52 joerg Exp $ */
+/* $NetBSD: cdefs_elf.h,v 1.46 2014/08/26 09:03:17 christos Exp $ */
/*
* Copyright (c) 1995, 1996 Carnegie-Mellon University.
@@ -110,12 +110,12 @@
#define __ifunc(name, resolver) \
__asm(".globl " _C_LABEL_STRING(#name) "\n" \
".type " _C_LABEL_STRING(#name) ", %gnu_indirect_function\n" \
- ".set " _C_LABEL_STRING(#name) ", " _C_LABEL_STRING(#resolver))
+ _C_LABEL_STRING(#name) " = " _C_LABEL_STRING(#resolver))
#else
#define __ifunc(name, resolver) \
__asm(".globl " _C_LABEL_STRING(#name) "\n" \
".type " _C_LABEL_STRING(#name) ", @gnu_indirect_function\n" \
- ".set " _C_LABEL_STRING(#name) ", " _C_LABEL_STRING(#resolver))
+ _C_LABEL_STRING(#name) " = " _C_LABEL_STRING(#resolver))
#endif
#if __STDC__
Home |
Main Index |
Thread Index |
Old Index