mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-10 14:59:31 +08:00
2002-12-12 Alexandre Oliva <aoliva@redhat.com>
* config/tc-mn10300.h (EXTERN_FORCE_RELOC): Don't define to zero. 2001-05-09 Alexandre Oliva <aoliva@redhat.com> * 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.
This commit is contained in:
@ -1,3 +1,15 @@
|
|||||||
|
2003-07-10 Alexandre Oliva <aoliva@redhat.com>
|
||||||
|
|
||||||
|
2002-12-12 Alexandre Oliva <aoliva@redhat.com>
|
||||||
|
* config/tc-mn10300.h (EXTERN_FORCE_RELOC): Don't define to zero.
|
||||||
|
2001-05-09 Alexandre Oliva <aoliva@redhat.com>
|
||||||
|
* 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.
|
||||||
|
|
||||||
2003-07-09 Alexandre Oliva <aoliva@redhat.com>
|
2003-07-09 Alexandre Oliva <aoliva@redhat.com>
|
||||||
|
|
||||||
2003-02-25 Alexandre Oliva <aoliva@redhat.com>
|
2003-02-25 Alexandre Oliva <aoliva@redhat.com>
|
||||||
|
@ -1213,10 +1213,17 @@ md_begin ()
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Set the default machine type. */
|
/* Set the default machine type. */
|
||||||
|
#ifdef TE_LINUX
|
||||||
|
if (!bfd_set_arch_mach (stdoutput, bfd_arch_mn10300, AM33_2))
|
||||||
|
as_warn (_("could not set architecture and machine"));
|
||||||
|
|
||||||
|
current_machine = AM33_2;
|
||||||
|
#else
|
||||||
if (!bfd_set_arch_mach (stdoutput, bfd_arch_mn10300, MN103))
|
if (!bfd_set_arch_mach (stdoutput, bfd_arch_mn10300, MN103))
|
||||||
as_warn (_("could not set architecture and machine"));
|
as_warn (_("could not set architecture and machine"));
|
||||||
|
|
||||||
current_machine = MN103;
|
current_machine = MN103;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
static symbolS *GOT_symbol;
|
static symbolS *GOT_symbol;
|
||||||
|
@ -55,11 +55,12 @@ void mn10300_cons_fix_new PARAMS ((fragS *, int, int, expressionS *));
|
|||||||
/* The target BFD architecture. */
|
/* The target BFD architecture. */
|
||||||
#define TARGET_ARCH bfd_arch_mn10300
|
#define TARGET_ARCH bfd_arch_mn10300
|
||||||
|
|
||||||
|
#ifdef TE_LINUX
|
||||||
|
#define TARGET_FORMAT "elf32-am33lin"
|
||||||
|
#else
|
||||||
#define TARGET_FORMAT "elf32-mn10300"
|
#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,
|
/* Do not adjust relocations involving symbols in code sections,
|
||||||
because it breaks linker relaxations. This could be fixed in the
|
because it breaks linker relaxations. This could be fixed in the
|
||||||
|
538
gas/configure
vendored
538
gas/configure
vendored
File diff suppressed because it is too large
Load Diff
@ -114,6 +114,7 @@ changequote([,])dnl
|
|||||||
arch=
|
arch=
|
||||||
endian=
|
endian=
|
||||||
case ${cpu} in
|
case ${cpu} in
|
||||||
|
am33_2.0) cpu_type=mn10300 endian=little ;;
|
||||||
alpha*) cpu_type=alpha ;;
|
alpha*) cpu_type=alpha ;;
|
||||||
arm*b|xscale*b|strongarm*b) cpu_type=arm endian=big ;;
|
arm*b|xscale*b|strongarm*b) cpu_type=arm endian=big ;;
|
||||||
arm*|xscale*|strongarm*) cpu_type=arm endian=little ;;
|
arm*|xscale*|strongarm*) cpu_type=arm endian=little ;;
|
||||||
@ -186,6 +187,9 @@ changequote([,])dnl
|
|||||||
alpha*-*-netbsd*) fmt=elf em=nbsd ;;
|
alpha*-*-netbsd*) fmt=elf em=nbsd ;;
|
||||||
alpha*-*-openbsd*) fmt=elf em=obsd ;;
|
alpha*-*-openbsd*) fmt=elf em=obsd ;;
|
||||||
|
|
||||||
|
# cpu_type for am33_2.0 is set to mn10300
|
||||||
|
mn10300-*-linux*) fmt=elf bfd_gas=yes em=linux ;;
|
||||||
|
|
||||||
arc-*-elf*) fmt=elf ;;
|
arc-*-elf*) fmt=elf ;;
|
||||||
|
|
||||||
arm-*-aout) fmt=aout ;;
|
arm-*-aout) fmt=aout ;;
|
||||||
|
Reference in New Issue
Block a user