#include <mach/arm/asm.h> not included by <mach/mach.h> — include it explicitly

mach/arm/asm.h

includes: arm/arch.h
27 macros

macroFRAME

#define FRAME pushl %ebp; movl %esp, %ebp

macroEMARF

#define EMARF leave

macroFALIGN

#define FALIGN ALIGN

macroLB

#define LB(x, n) n

macroLCL

#define LCL(x) L ## x

macroEXT

#define EXT(x) _ ## x

macroLEXT

#define LEXT(x) _ ## x ## :

macroLBc

#define LBc(x, n) n ## :

macroLBb

#define LBb(x, n) n ## b

macroLBf

#define LBf(x, n) n ## f

macroString

#define String .asciz

macroValue

#define Value .word

macroTimes

#define Times(a, b) (a*b)

macroDivide

#define Divide(a, b) (a/b)

macroELF_FUNC

#define ELF_FUNC(x) 

macroELF_DATA

#define ELF_DATA(x) 

macroELF_SIZE

#define ELF_SIZE(x, s) 

macroEntry

#define Entry(x) .globl EXT(x); ELF_FUNC(EXT(x)); .align FALIGN; LEXT(x)

macroENTRY

#define ENTRY(x) Entry(x) MCOUNT

macroENTRY2

#define ENTRY2(x, y) .globl EXT(x); .globl EXT(y);
			ELF_FUNC(EXT(x)); ELF_FUNC(EXT(y));
			.align FALIGN; LEXT(x); LEXT(y)
			MCOUNT

macroASENTRY

#define ASENTRY(x) .globl x; .align FALIGN; x ## : ELF_FUNC(x) MCOUNT

macroDATA

#define DATA(x) .globl EXT(x); ELF_DATA(EXT(x)); .align ALIGN; LEXT(x)

macroEnd

#define End(x) ELF_SIZE(x,.-x)

macroEND

#define END(x) End(EXT(x))

macroENDDATA

#define ENDDATA(x) END(x)

macroEnddata

#define Enddata(x) End(x)

macroCC_SYM_PREFIX

These defines are here for .c files that wish to reference global symbols within __asm__ statements.
#define CC_SYM_PREFIX "_"