1# $FreeBSD: head/gnu/usr.bin/binutils/libbfd/Makefile.arm 162302 2006-09-14 07:48:16Z imp $
2
3.if defined(TARGET_BIG_ENDIAN)
4DEFAULT_VECTOR= bfd_elf32_bigarm_vec
5.else
6DEFAULT_VECTOR= bfd_elf32_littlearm_vec
7.endif
8
9SRCS+= cpu-arm.c \
--- 5 unchanged lines hidden (view full) ---
15
16VECS+= ${DEFAULT_VECTOR}
17.if defined(TARGET_BIG_ENDIAN)
18VECS+= bfd_elf32_littlearm_vec
19.else
20VECS+= bfd_elf32_bigarm_vec
21.endif
22
23CFLAGS+= -DDEFAULT_VECTOR=${DEFAULT_VECTOR}
24
25CLEANFILES+= elf32-arm-fbsd.c
26
27# XXX: We should really add the FreeBSD case in elf32_arm_nabi_grok_prstatus
28# instead of defining our own elf32_fbsd_arm_grok_prstatus.
29#
30elf32-arm-fbsd.c: elfarm-nabi.c
31 cat ${.ALLSRC} | sed \
32 -e s/ELFOSABI_ARM/ELFOSABI_FREEBSD/g \
--- 15 unchanged lines hidden ---
2
3.if defined(TARGET_BIG_ENDIAN)
4DEFAULT_VECTOR= bfd_elf32_bigarm_vec
5.else
6DEFAULT_VECTOR= bfd_elf32_littlearm_vec
7.endif
8
9SRCS+= cpu-arm.c \
--- 5 unchanged lines hidden (view full) ---
15
16VECS+= ${DEFAULT_VECTOR}
17.if defined(TARGET_BIG_ENDIAN)
18VECS+= bfd_elf32_littlearm_vec
19.else
20VECS+= bfd_elf32_bigarm_vec
21.endif
22
23CFLAGS+= -DDEFAULT_VECTOR=${DEFAULT_VECTOR}
24
25CLEANFILES+= elf32-arm-fbsd.c
26
27# XXX: We should really add the FreeBSD case in elf32_arm_nabi_grok_prstatus
28# instead of defining our own elf32_fbsd_arm_grok_prstatus.
29#
30elf32-arm-fbsd.c: elfarm-nabi.c
31 cat ${.ALLSRC} | sed \
32 -e s/ELFOSABI_ARM/ELFOSABI_FREEBSD/g \
--- 15 unchanged lines hidden ---