diff options
author | obrien <obrien@FreeBSD.org> | 2006-09-12 07:02:15 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2006-09-12 07:02:15 +0000 |
commit | 611804cd1c6376ab53a4206695bb056d9ec1b578 (patch) | |
tree | b84aa7a3b8ee87ec22f5d886b91a8410f0e50b14 /gnu | |
parent | 5945365a2c3cb20f67cd54a70576a114cd13ecfd (diff) | |
download | FreeBSD-src-611804cd1c6376ab53a4206695bb056d9ec1b578.zip FreeBSD-src-611804cd1c6376ab53a4206695bb056d9ec1b578.tar.gz |
Default vector to big endian ARM if "TARGET_BIG_ENDIAN" is defined.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/binutils/libbfd/Makefile.arm | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/gnu/usr.bin/binutils/libbfd/Makefile.arm b/gnu/usr.bin/binutils/libbfd/Makefile.arm index 90f49d8..4178b29 100644 --- a/gnu/usr.bin/binutils/libbfd/Makefile.arm +++ b/gnu/usr.bin/binutils/libbfd/Makefile.arm @@ -1,14 +1,21 @@ # $FreeBSD$ +.if defined(TARGET_BIG_ENDIAN) +DEFAULT_VECTOR= bfd_elf32_bigarm_vec +.else DEFAULT_VECTOR= bfd_elf32_littlearm_vec +.endif SRCS+= cpu-arm.c \ - elf32.c \ elf32-arm-fbsd.c \ + elf32.c \ elf32-gen.c \ elf32-target.h \ - elfarm-nabi.c \ elflink.c -VECS= ${DEFAULT_VECTOR} \ - bfd_elf32_bigarm_vec +VECS+= ${DEFAULT_VECTOR} +.if defined(TARGET_BIG_ENDIAN) +VECS+= bfd_elf32_littlearm_vec +.else +VECS+= bfd_elf32_bigarm_vec +.end |