From 2ce28d43c4144c41b34872acf04c472568e65fd8 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Thu, 10 Jul 2003 04:44:56 +0000 Subject: 2002-12-12 Alexandre Oliva * config/tc-mn10300.h (EXTERN_FORCE_RELOC): Don't define to zero. 2001-05-09 Alexandre Oliva * configure.in (am33_2.0, mn10300-*-linux*): Added. * configure: Rebuilt. * config/tc-mn10300.h (TARGET_FORMAT) [TE_LINUX]: Define to elf32-am33lin. * config/tc-mn10300.c (md_begin) [TE_LINUX]: Choose AM33/2.0 by default. --- gas/config/tc-mn10300.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'gas/config/tc-mn10300.h') diff --git a/gas/config/tc-mn10300.h b/gas/config/tc-mn10300.h index 9551652..1b88cf2 100644 --- a/gas/config/tc-mn10300.h +++ b/gas/config/tc-mn10300.h @@ -55,11 +55,12 @@ void mn10300_cons_fix_new PARAMS ((fragS *, int, int, expressionS *)); /* The target BFD architecture. */ #define TARGET_ARCH bfd_arch_mn10300 +#ifdef TE_LINUX +#define TARGET_FORMAT "elf32-am33lin" +#else #define TARGET_FORMAT "elf32-mn10300" +#endif -/* No shared lib support, so we don't need to ensure externally - visible symbols can be overridden. */ -#define EXTERN_FORCE_RELOC 0 /* Do not adjust relocations involving symbols in code sections, because it breaks linker relaxations. This could be fixed in the -- cgit v1.1