mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-12 13:23:47 +08:00
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
This commit is contained in:
parent
988bb94bb5
commit
66d6bf1fcc
@ -1,3 +1,14 @@
|
||||
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 />
|
||||
|
Loading…
Reference in New Issue
Block a user