Linux 2.6.26-rc5
[linux-2.6/openmoko-kernel/knife-kernel.git] / include / asm-v850 / asm.h
blobbf1e785a5ddeb377b371d01d1fa3788517a2d272
1 /*
2 * include/asm-v850/asm.h -- Macros for writing assembly code
4 * Copyright (C) 2001,02,03 NEC Electronics Corporation
5 * Copyright (C) 2001,02,03 Miles Bader <miles@gnu.org>
7 * This file is subject to the terms and conditions of the GNU General
8 * Public License. See the file COPYING in the main directory of this
9 * archive for more details.
11 * Written by Miles Bader <miles@gnu.org>
14 #define G_ENTRY(name) \
15 .balign 4; \
16 .globl name; \
17 .type name,@function; \
18 name
19 #define G_DATA(name) \
20 .globl name; \
21 .type name,@object; \
22 name
23 #define END(name) \
24 .size name,.-name
26 #define L_ENTRY(name) \
27 .balign 4; \
28 .type name,@function; \
29 name
30 #define L_DATA(name) \
31 .type name,@object; \
32 name