Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 268903 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-12 / +17 lines)
Line  Link Here
0
-- gcc-4.0.2/gcc/config/arm/elf.h
0
++ gcc-4.0.2/gcc/config/arm/elf.h
Lines 45-52 Link Here
45
#endif
45
#endif
46
46
47
#ifndef SUBTARGET_ASM_FLOAT_SPEC
47
#ifndef SUBTARGET_ASM_FLOAT_SPEC
48
#define SUBTARGET_ASM_FLOAT_SPEC "\
48
#define SUBTARGET_ASM_FLOAT_SPEC "%{mapcs-float:-mfloat} \
49
%{mapcs-float:-mfloat}"
49
  %{mhard-float:-mfpu=fpa} \
50
  %{!mhard-float: %{msoft-float:-mfpu=softfpa;:-mfpu=softvfp}}"
50
#endif
51
#endif
51
52
52
#ifndef ASM_SPEC
53
#ifndef ASM_SPEC
Lines 58-65 Link Here
58
%{mapcs-*:-mapcs-%*} \
59
%{mapcs-*:-mapcs-%*} \
59
%(subtarget_asm_float_spec) \
60
%(subtarget_asm_float_spec) \
60
%{mthumb-interwork:-mthumb-interwork} \
61
%{mthumb-interwork:-mthumb-interwork} \
61
%{msoft-float:-mfloat-abi=soft} %{mhard-float:-mfloat-abi=hard} \
62
%{mfloat-abi=*} %{mfpu=*} \
63
%(subtarget_extra_asm_spec)"
62
%(subtarget_extra_asm_spec)"
64
#endif
63
#endif
65
64
66
-- gcc-4.0.2/gcc/config/arm/linux-elf.h
65
++ gcc-4.0.2/gcc/config/arm/linux-elf.h
Lines 28-34 Link Here
28
#define TARGET_VERSION  fputs (" (ARM GNU/Linux with ELF)", stderr);
28
#define TARGET_VERSION  fputs (" (ARM GNU/Linux with ELF)", stderr);
29
29
30
#undef  TARGET_DEFAULT_FLOAT_ABI
30
#undef  TARGET_DEFAULT_FLOAT_ABI
31
#define TARGET_DEFAULT_FLOAT_ABI ARM_FLOAT_ABI_HARD
31
#define TARGET_DEFAULT_FLOAT_ABI ARM_FLOAT_ABI_SOFT
32
32
33
/* TARGET_BIG_ENDIAN_DEFAULT is set in
33
/* TARGET_BIG_ENDIAN_DEFAULT is set in
34
   config.gcc for big endian configurations.  */
34
   config.gcc for big endian configurations.  */
Lines 44-49 Link Here
44
44
45
#undef  TARGET_DEFAULT
45
#undef  TARGET_DEFAULT
46
#define TARGET_DEFAULT (TARGET_ENDIAN_DEFAULT)
46
#define TARGET_DEFAULT (TARGET_ENDIAN_DEFAULT)
47
#undef  SUBTARGET_EXTRA_ASM_SPEC
48
#define SUBTARGET_EXTRA_ASM_SPEC "%{mhard-float:-mfpu=fpa} \
49
  %{!mhard-float: %{msoft-float:-mfpu=softfpa;:-mfpu=softvfp}}"
50
47
51
48
#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm6
52
#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm6
49
53
Lines 51-57 Link Here
51
55
52
#undef  MULTILIB_DEFAULTS
56
#undef  MULTILIB_DEFAULTS
53
#define MULTILIB_DEFAULTS \
57
#define MULTILIB_DEFAULTS \
54
	{ "marm", "mlittle-endian", "mhard-float", "mno-thumb-interwork" }
58
	{ "marm", TARGET_ENDIAN_OPTION, "msoft-float", "mno-thumb-interwork" }
55
59
56
/* Now we define the strings used to build the spec file.  */
60
/* Now we define the strings used to build the spec file.  */
57
#undef  LIB_SPEC
61
#undef  LIB_SPEC
Lines 60-66 Link Here
60
   %{shared:-lc} \
64
   %{shared:-lc} \
61
   %{!shared:%{profile:-lc_p}%{!profile:-lc}}"
65
   %{!shared:%{profile:-lc_p}%{!profile:-lc}}"
62
66
63
#define LIBGCC_SPEC "%{msoft-float:-lfloat} %{mfloat-abi=soft*:-lfloat} -lgcc"
67
#define LIBGCC_SPEC "-lgcc"
64
68
65
#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
69
#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
66
70
67
-- gcc-4.0.2/gcc/config/arm/t-linux
71
++ gcc-4.0.2/gcc/config/arm/t-linux
Lines 3-10 Link Here
3
TARGET_LIBGCC2_CFLAGS = -fomit-frame-pointer -fPIC
3
TARGET_LIBGCC2_CFLAGS = -fomit-frame-pointer -fPIC
4
4
5
LIB1ASMSRC = arm/lib1funcs.asm
5
LIB1ASMSRC = arm/lib1funcs.asm
6
LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_lnx _clzsi2 _clzdi2 \
6
LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_lnx \
7
	_arm_addsubdf3 _arm_addsubsf3
7
	_negdf2 _addsubdf3 _muldivdf3 _cmpdf2 _unorddf2 _fixdfsi _fixunsdfsi \
8
	_truncdfsf2 _negsf2 _addsubsf3 _muldivsf3 _cmpsf2 _unordsf2 \
9
	_fixsfsi _fixunssfsi _floatdidf _floatdisf
8
10
9
# MULTILIB_OPTIONS = mhard-float/msoft-float
11
# MULTILIB_OPTIONS = mhard-float/msoft-float
10
# MULTILIB_DIRNAMES = hard-float soft-float
12
# MULTILIB_DIRNAMES = hard-float soft-float

Return to bug 268903