1998-08-23 08:42:33 +04:00
|
|
|
# $NetBSD: _mipseb.mk,v 1.3 1998/08/23 04:42:33 simonb Exp $
|
1997-10-17 12:30:21 +04:00
|
|
|
|
1998-08-22 23:02:10 +04:00
|
|
|
BFD_ARCH_SRCS= cpu-mips.c \
|
|
|
|
elf32-mips.c elf32.c elf.c elflink.c ecofflink.c \
|
|
|
|
coff-mips.c ecoff.c \
|
|
|
|
mips-dis.c mips-opc.c mips16-opc.c
|
1997-10-17 12:30:21 +04:00
|
|
|
|
1998-08-22 23:02:10 +04:00
|
|
|
BFD_ARCH_DEFS= -DARCH_mips \
|
1998-08-23 08:42:33 +04:00
|
|
|
-DSELECT_ARCHITECTURES='&bfd_mips_arch' \
|
1998-08-22 23:02:10 +04:00
|
|
|
-DDEFAULT_VECTOR=bfd_elf32_bigmips_vec \
|
|
|
|
-DSELECT_VECS='&bfd_elf32_littlemips_vec, &bfd_elf32_bigmips_vec, &ecoff_little_vec, &ecoff_big_vec' \
|
|
|
|
-DHAVE_bfd_elf32_littlemips_vec \
|
|
|
|
-DHAVE_bfd_elf32_bigmips_vec \
|
|
|
|
-DHAVE_ecoff_little_vec \
|
|
|
|
-DHAVE_ecoff_big_vec \
|
|
|
|
-DNETBSD_CORE
|
1997-10-17 12:30:21 +04:00
|
|
|
|
1997-10-19 14:44:54 +04:00
|
|
|
# XXX cannot support 64-bit BFD targets with gdb 4.16.
|
1997-10-19 06:52:24 +04:00
|
|
|
# They assume that BFD_ARCH_SIZE is 64, but that causes bfd_vma_addr
|
|
|
|
# to be a 64-bit int. GDB uses bfd_vma_addr for CORE_ADDR, but also
|
|
|
|
# casts CORE_ADDRS to ints, which loses on 32-bit mips hosts.
|