Deleted Added
full compact
1c1
< # $FreeBSD: head/gnu/usr.bin/binutils/libbfd/Makefile.mips 185924 2008-12-11 08:20:34Z imp $
---
> # $FreeBSD: head/gnu/usr.bin/binutils/libbfd/Makefile.mips 208737 2010-06-02 11:06:03Z jmallett $
3c3,10
< #xxxIMPxxx: endian and size
---
> #xxxIMPxxx: TARGET_BIG_ENDIAN is lame. We should use the netbsd convention
> # of mipsel and mips.
> .if !defined(TARGET_BIG_ENDIAN)
> _EMULATION_ENDIAN=little
> .else
> _EMULATION_ENDIAN=big
> .endif
>
5a13,21
> .if defined(TARGET_ABI) && ${TARGET_ABI} != "o32"
> .if ${TARGET_ABI} == "n32"
> DEFAULT_VECTOR= bfd_elf32_ntrad${_EMULATION_ENDIAN}mips_vec
> .elif ${TARGET_ABI} == "n64"
> DEFAULT_VECTOR= bfd_elf64_trad${_EMULATION_ENDIAN}mips_vec
> .endif
> .endif
> DEFAULT_VECTOR?=bfd_elf32_trad${_EMULATION_ENDIAN}mips_vec
>