Introduce target-specific LDFLAGS, the same way we have CFLAGS for the target.
It seems to be helping gcc somewhat into telling the correct endianness to ld that sticks with little endian even when the target is big (eg armeb-unknown-linux-uclibcgnueabi).
There's still work to do, especially finish the gcc part that is not in this commit.
/trunk/scripts/functions | 9 7 2 0 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
2 # Automatically generated make config: don't edit
3 # Thu Jul 5 20:17:45 2007
5 # TARGET_alpha is not set
6 # TARGET_arm is not set
7 # TARGET_bfin is not set
8 # TARGET_cris is not set
10 # TARGET_frv is not set
11 # TARGET_h8300 is not set
12 # TARGET_hppa is not set
13 # TARGET_i386 is not set
14 # TARGET_i960 is not set
15 # TARGET_ia64 is not set
16 # TARGET_m68k is not set
17 # TARGET_microblaze is not set
19 # TARGET_nios is not set
20 # TARGET_nios2 is not set
21 # TARGET_powerpc is not set
22 # TARGET_sh is not set
23 # TARGET_sh64 is not set
24 # TARGET_sparc is not set
25 # TARGET_v850 is not set
26 # TARGET_vax is not set
27 # TARGET_x86_64 is not set
30 # Target Architecture Features and Options
33 FORCE_OPTIONS_FOR_ARCH=y
34 ARCH_CFLAGS="-mno-split-addresses"
35 # CONFIG_ARM_OABI is not set
36 # CONFIG_ARM_EABI is not set
37 # CONFIG_GENERIC_ARM is not set
38 # CONFIG_ARM610 is not set
39 # CONFIG_ARM710 is not set
40 # CONFIG_ARM7TDMI is not set
41 # CONFIG_ARM720T is not set
42 # CONFIG_ARM920T is not set
43 # CONFIG_ARM922T is not set
44 # CONFIG_ARM926T is not set
45 # CONFIG_ARM10T is not set
46 # CONFIG_ARM1136JF_S is not set
47 # CONFIG_ARM1176JZ_S is not set
48 # CONFIG_ARM1176JZF_S is not set
49 # CONFIG_ARM_SA110 is not set
50 # CONFIG_ARM_SA1100 is not set
51 # CONFIG_ARM_XSCALE is not set
52 # CONFIG_ARM_IWMMXT is not set
54 # CONFIG_MIPS_N32_ABI is not set
55 # CONFIG_MIPS_N64_ABI is not set
57 # CONFIG_MIPS_ISA_2 is not set
58 # CONFIG_MIPS_ISA_3 is not set
59 # CONFIG_MIPS_ISA_4 is not set
60 # CONFIG_MIPS_ISA_MIPS32 is not set
61 # CONFIG_MIPS_ISA_MIPS64 is not set
62 # CONFIG_MIPS_ISA_CUSTOM is not set
66 # Using ELF file format
70 ARCH_WANTS_BIG_ENDIAN=y
71 # ARCH_WANTS_LITTLE_ENDIAN is not set
75 # UCLIBC_HAS_FPU is not set
76 UCLIBC_HAS_SOFT_FLOAT=y
78 KERNEL_HEADERS="/usr/include"
82 # General Library Settings
84 # HAVE_NO_PIC is not set
86 # HAVE_NO_SHARED is not set
87 # ARCH_HAS_NO_LDSO is not set
89 FORCE_SHAREABLE_TEXT_SEGMENTS=y
92 # LDSO_PRELOAD_FILE_SUPPORT is not set
93 LDSO_BASE_FILENAME="ld.so"
94 UCLIBC_STATIC_LDCONFIG=y
95 # LDSO_RUNPATH is not set
97 # HAS_NO_THREADS is not set
99 # PTHREADS_DEBUG_SUPPORT is not set
103 # MALLOC_SIMPLE is not set
105 # MALLOC_GLIBC_COMPAT is not set
106 UCLIBC_DYNAMIC_ATEXIT=y
107 # COMPAT_ATEXIT is not set
108 # UCLIBC_SUSV3_LEGACY is not set
109 # UCLIBC_SUSV3_LEGACY_MACROS is not set
111 # UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set
112 # UCLIBC_HAS___PROGNAME is not set
115 UCLIBC_HAS_TM_EXTENSIONS=y
116 # UCLIBC_HAS_TZ_CACHING is not set
118 # UCLIBC_HAS_TZ_FILE_READ_MANY is not set
119 UCLIBC_TZ_FILE_PATH="/etc/TZ"
122 # Advanced Library Settings
124 UCLIBC_PWD_BUFFER_SIZE=256
125 UCLIBC_GRP_BUFFER_SIZE=256
130 # UCLIBC_HAS_IPV6 is not set
132 UCLIBC_HAS_FULL_RPC=y
133 UCLIBC_HAS_REENTRANT_RPC=y
135 # UCLIBC_HAS_BSD_RES_CLOSE is not set
138 # String and Stdio Support
140 UCLIBC_HAS_STRING_GENERIC_OPT=y
141 UCLIBC_HAS_STRING_ARCH_OPT=y
142 UCLIBC_HAS_CTYPE_TABLES=y
143 UCLIBC_HAS_CTYPE_SIGNED=y
144 # UCLIBC_HAS_CTYPE_UNSAFE is not set
145 # UCLIBC_HAS_CTYPE_CHECKED is not set
146 UCLIBC_HAS_CTYPE_ENFORCED=y
147 # UCLIBC_HAS_WCHAR is not set
148 # UCLIBC_HAS_LOCALE is not set
149 UCLIBC_HAS_HEXADECIMAL_FLOATS=y
150 # UCLIBC_HAS_GLIBC_CUSTOM_PRINTF is not set
151 # USE_OLD_VFPRINTF is not set
152 UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9
153 # UCLIBC_HAS_SCANF_GLIBC_A_FLAG is not set
154 # UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set
155 # UCLIBC_HAS_STDIO_BUFSIZ_256 is not set
156 # UCLIBC_HAS_STDIO_BUFSIZ_512 is not set
157 # UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set
158 # UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set
159 UCLIBC_HAS_STDIO_BUFSIZ_4096=y
160 # UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set
161 UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y
162 # UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set
163 # UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set
164 UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT=y
165 UCLIBC_HAS_STDIO_GETC_MACRO=y
166 UCLIBC_HAS_STDIO_PUTC_MACRO=y
167 UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y
168 UCLIBC_HAS_FOPEN_LARGEFILE_MODE=y
169 UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE=y
170 UCLIBC_HAS_GLIBC_CUSTOM_STREAMS=y
171 UCLIBC_HAS_PRINTF_M_SPEC=y
172 UCLIBC_HAS_ERRNO_MESSAGES=y
173 # UCLIBC_HAS_SYS_ERRLIST is not set
174 UCLIBC_HAS_SIGNUM_MESSAGES=y
175 # UCLIBC_HAS_SYS_SIGLIST is not set
176 UCLIBC_HAS_GNU_GETOPT=y
177 # UCLIBC_HAS_GNU_GETSUBOPT is not set
183 UCLIBC_HAS_REGEX_OLD=y
185 UCLIBC_HAS_FNMATCH_OLD=y
189 # UCLIBC_HAS_GNU_GLOB is not set
192 # Library Installation Options
194 SHARED_LIB_LOADER_PREFIX="$(RUNTIME_PREFIX)lib"
195 RUNTIME_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/"
196 DEVEL_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc/usr/"
202 UCLIBC_HAS_ARC4RANDOM=y
203 # HAVE_NO_SSP is not set
204 # UCLIBC_HAS_SSP is not set
205 # UCLIBC_BUILD_RELRO is not set
206 # UCLIBC_BUILD_NOW is not set
207 UCLIBC_BUILD_NOEXECSTACK=y
210 # uClibc development/debugging options
212 CROSS_COMPILER_PREFIX=""
213 UCLIBC_EXTRA_CFLAGS=""
215 # DODEBUG_PT is not set
217 # DOASSERTS is not set
218 # SUPPORT_LD_DEBUG is not set
219 # SUPPORT_LD_DEBUG_EARLY is not set
220 # UCLIBC_MALLOC_DEBUGGING is not set
222 # EXTRA_WARNINGS is not set
224 # UCLIBC_MJN3_ONLY is not set