From f150c5bbfc1a83c3f8e6c17cea1fa16375bccc3b Mon Sep 17 00:00:00 2001 From: gonzo Date: Fri, 23 Mar 2012 19:37:45 +0000 Subject: Make default ABI for as(1) to be the same as target platform. This change makes object files compiled with default flags by gcc and as compatible. --- gnu/usr.bin/binutils/as/mips-freebsd/itbl-cpu.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gnu/usr.bin/binutils/as/mips-freebsd/itbl-cpu.h') diff --git a/gnu/usr.bin/binutils/as/mips-freebsd/itbl-cpu.h b/gnu/usr.bin/binutils/as/mips-freebsd/itbl-cpu.h index 7dbe96e..5e007d1 100644 --- a/gnu/usr.bin/binutils/as/mips-freebsd/itbl-cpu.h +++ b/gnu/usr.bin/binutils/as/mips-freebsd/itbl-cpu.h @@ -3,14 +3,17 @@ #include "itbl-mips.h" /* Choose a default ABI for MIPS targets. */ -/* XXX: Where should this be ? */ +#ifndef MIPS_DEFAULT_ABI #define MIPS_DEFAULT_ABI NO_ABI +#endif /* Default CPU for MIPS targets. */ #define MIPS_CPU_STRING_DEFAULT "from-abi" /* Generate 64-bit code by default on MIPS targets. */ +#ifndef MIPS_DEFAULT_64BIT #define MIPS_DEFAULT_64BIT 0 +#endif /* Allow use of E_MIPS_ABI_O32 on MIPS targets. */ #define USE_E_MIPS_ABI_O32 1 -- cgit v1.1