Deleted Added
sdiff udiff text old ( 103436 ) new ( 115084 )
full compact
1/* $FreeBSD: head/sys/ia64/include/asm.h 103436 2002-09-17 01:49:00Z peter $ */
2/* From: NetBSD: asm.h,v 1.18 1997/11/03 04:22:06 ross Exp */
3
4/*
5 * Copyright (c) 1991,1990,1989,1994,1995,1996 Carnegie Mellon University
6 * All Rights Reserved.
7 *
8 * Permission to use, copy, modify and distribute this software and its
9 * documentation is hereby granted, provided that both the copyright

--- 136 unchanged lines hidden (view full) ---

146#define ASCIZ .asciz
147#define MSG(msg,reg,label) \
148 addl reg,@ltoff(label),gp;; \
149 ld8 reg=[reg];; \
150 .data; \
151label: ASCIZ msg; \
152 .text;
153
154/*
155 * System call glue.
156 */
157#define SYSCALLNUM(name) \
158 SYS_ ## name
159
160#define CALLSYS_NOERROR(name) \
161 mov r15=SYSCALLNUM(name); \
162 break 0x100000 ;;
163
164/*
165 * WEAK_ALIAS: create a weak alias (ELF only).
166 */
167#define WEAK_ALIAS(alias,sym) \
168 .weak alias; \
169 alias = sym
170
171/*
172 * ID tag macros
173 */
174#if !defined(lint) && !defined(STRIP_FBSDID)
175#define __FBSDID(s) .ident s
176#else
177#define __FBSDID(s) /* nothing */
178#endif /* not lint and not STRIP_FBSDID */