1997-10-19 14:44:54 +04:00
|
|
|
# $NetBSD: _mips.mk,v 1.7 1997/10/19 10:44:54 jonathan Exp $
|
1997-10-17 12:30:21 +04:00
|
|
|
|
|
|
|
BFD_MACHINES = cpu-mips.c
|
1997-10-17 23:17:27 +04:00
|
|
|
BFD_BACKENDS = elf32-mips.c elf32.c elf.c elflink.c ecofflink.c \
|
1997-10-19 14:44:54 +04:00
|
|
|
coff-mips.c ecoff.c
|
1997-10-17 12:30:21 +04:00
|
|
|
|
1997-10-18 00:06:59 +04:00
|
|
|
ARCH_DEFS = -DARCH_mips \
|
|
|
|
-DSELECT_ARCHITECTURES='&bfd_mips_arch'
|
|
|
|
|
1997-10-17 22:50:45 +04:00
|
|
|
TDEFAULTS = \
|
1997-10-17 12:30:21 +04:00
|
|
|
-DDEFAULT_VECTOR=bfd_elf32_littlemips_vec \
|
1997-10-19 08:14:01 +04:00
|
|
|
-DSELECT_VECS=' &bfd_elf32_littlemips_vec, &bfd_elf32_bigmips_vec, &ecoff_little_vec, &ecoff_big_vec ' \
|
1997-10-17 22:50:45 +04:00
|
|
|
-DHAVE_bfd_elf32_littlemips_vec \
|
1997-10-17 12:30:21 +04:00
|
|
|
-DHAVE_bfd_elf32_bigmips_vec \
|
|
|
|
-DHAVE_ecoff_little_vec \
|
|
|
|
-DHAVE_ecoff_big_vec \
|
|
|
|
-DNETBSD_CORE
|
|
|
|
|
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.
|
1997-10-19 14:44:54 +04:00
|
|
|
# TDEFAULTS += \
|
1997-10-19 06:52:24 +04:00
|
|
|
# -DHAVE_bfd_elf64_bigmips_vec \
|
|
|
|
# -DHAVE_bfd_elf64_littlemips_vec \
|
1997-10-19 14:44:54 +04:00
|
|
|
# _DSELECT VECS = &bfd_elf64_bigmips_vec, &bfd_elf64_littlemips_vec,
|
|
|
|
#
|
|
|
|
# BFD_BACKENDS += \
|
|
|
|
# elf64-mips.c elf64.c
|
1997-10-19 06:52:24 +04:00
|
|
|
|
1997-10-17 12:30:21 +04:00
|
|
|
OPCODE_MACHINES = mips-dis.c mips-opc.c mips16-opc.c
|