summaryrefslogtreecommitdiff
path: root/purgatory/arch/ppc64/ppc64_asm.h
blob: b8746fd6d1617331056098715ff4a977931fe0fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * ppc64_asm.h - common defines for PPC64 assembly parts
 *
 * This source code is licensed under the GNU General Public License,
 * Version 2.  See the file COPYING for more details.
 */

/*
 * ABIv1 requires dot symbol while ABIv2 does not.
 */
#if defined(_CALL_ELF) && _CALL_ELF == 2
#define DOTSYM(a)	a
#else
#define GLUE(a,b)	a##b
#define DOTSYM(a)	GLUE(.,a)
#endif