Commit 66d6bf1f by Nick Clifton Committed by Nick Clifton

install.texi: Note that ARM toolchains need binutils 2.13 or newer.

* doc/install.texi: Note that ARM toolchains need binutils 2.13 or newer.
* config/arm/elf.h (SUBTARGET_ASM_FLOAT_SPEC): Pass -mfpu=softfpa instead of -mno-fpu.
* config/arm/semi.h (ASM_SPEC): Likewise.
* config/arm/xscale-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Likewise,
  but only if -msoft-float is specified pass.  Otherwise pass -mfpu=softvfp.

From-SVN: r65398
parent 988bb94b
2003-04-09 Nick Clifton <nickc@redhat.com>
* doc/install.texi: Note that ARM toolchains need binutils 2.13 or
newer.
* config/arm/elf.h (SUBTARGET_ASM_FLOAT_SPEC): Pass -mfpu=softfpa
instead of -mno-fpu.
* config/arm/semi.h (ASM_SPEC): Likewise.
* config/arm/xscale-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Likewise,
but only if -msoft-float is specified pass. Otherwise pass
-mfpu=softvfp.
2003-04-09 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
* function.c (purge_addressof): Use free_INSN_LIST_node instead of
......
......@@ -46,7 +46,7 @@
#ifndef SUBTARGET_ASM_FLOAT_SPEC
#define SUBTARGET_ASM_FLOAT_SPEC "\
%{mapcs-float:-mfloat} %{msoft-float:-mno-fpu}"
%{mapcs-float:-mfloat} %{msoft-float:-mfpu=softfpa}"
#endif
#ifndef ASM_SPEC
......
......@@ -64,7 +64,7 @@
%{mcpu=*:-mcpu=%*} \
%{march=*:-march=%*} \
%{mapcs-float:-mfloat} \
%{msoft-float:-mno-fpu} \
%{msoft-float:-mfpu=softfpa} \
%{mthumb-interwork:-mthumb-interwork} \
%(subtarget_extra_asm_spec)"
#endif
......
......@@ -28,7 +28,30 @@
#define SUBTARGET_CPU_DEFAULT TARGET_CPU_xscale
#endif
#define SUBTARGET_EXTRA_ASM_SPEC "%{!mcpu=*:-mcpu=xscale} %{!mhard-float:-mno-fpu}"
/* Note - there are three possible -mfpu= arguments that can be passed to
the assembler:
-mfpu=softvfp This is the default. It indicates thats doubles are
stored in a format compatable with the VFP
specification. This is the newer double format, whereby
the endian-ness of the doubles matches the endian-ness
of the memory architecture.
-mfpu=fpa This is when -mhard-float is specified.
[It is not known if any XScale's have been made with
hardware floating point support, but nevertheless this
is what happens].
-mfpu=softfpa This is when -msoft-float is specified.
This is the normal beahviour of other arm configurations,
which for backwards compatability purposes default to
supporting the old FPA format which was always big
endian, regardless of the endian-ness of the memory
system. */
#define SUBTARGET_EXTRA_ASM_SPEC "%{!mcpu=*:-mcpu=xscale} \
%{mhard-float:-mfpu=fpa} \
%{!mhard-float: %{msoft-float:-mfpu=softfpa;:-mfpu=softvfp}}"
#ifndef MULTILIB_DEFAULTS
#define MULTILIB_DEFAULTS \
......
......@@ -1918,13 +1918,19 @@ configuration.
@end html
@heading @anchor{arm-*-elf}arm-*-elf
This configuration is intended for embedded systems.
We require GNU binutils 2.13 or newer.
@html
<hr />
@end html
@heading @anchor{arm*-*-linux-gnu}arm*-*-linux-gnu
We require GNU binutils 2.13 or newer.
We require GNU binutils 2.10 or newer.
@html
<hr />
@end html
@heading @anchor{xscale-*-elf}xscale-*-elf
We require GNU binutils 2.13 or newer.
@html
<hr />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment