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(-)
5 config BINUTILS_VERSION
10 prompt "binutils version"
12 config BINUTILS_V_2_14
14 prompt "2.14 (OBSOLETE)"
17 config BINUTILS_V_2_15
19 prompt "2.15 (OBSOLETE)"
22 config BINUTILS_V_2_16_1
26 config BINUTILS_V_2_17
30 config BINUTILS_V_2_18
34 config BINUTILS_V_2_18_50_0_4
36 prompt "2.18.50.0.4 (EXPERIMENTAL)"
37 depends on EXPERIMENTAL
39 config BINUTILS_V_2_18_50_0_6
41 prompt "2.18.50.0.6 (EXPERIMENTAL)"
42 depends on EXPERIMENTAL
44 config BINUTILS_V_2_18_50_0_7
46 prompt "2.18.50.0.7 (EXPERIMENTAL)"
47 depends on EXPERIMENTAL
49 # CT_INSERT_VERSION_ABOVE
50 # Don't remove above line!
53 config BINUTILS_VERSION
55 default "2.14" if BINUTILS_V_2_14
56 default "2.15" if BINUTILS_V_2_15
57 default "2.16.1" if BINUTILS_V_2_16_1
58 default "2.17" if BINUTILS_V_2_17
59 default "2.18" if BINUTILS_V_2_18
60 default "2.18.50.0.4" if BINUTILS_V_2_18_50_0_4
61 default "2.18.50.0.6" if BINUTILS_V_2_18_50_0_6
62 default "2.18.50.0.7" if BINUTILS_V_2_18_50_0_7
63 # CT_INSERT_VERSION_STRING_ABOVE
64 # Don't remove above line!
66 config BINUTILS_EXTRA_CONFIG
68 prompt "binutils extra config"
71 Extra flags passed onto ./configure when configuring
73 config BINUTILS_FOR_TARGET
75 prompt "binutils libraries for the target"
78 Some utilities may need binutils libraries to be available on
79 the target, eg. oprofile.
81 if BINUTILS_FOR_TARGET
83 config BINUTILS_FOR_TARGET_IBERTY
88 config BINUTILS_FOR_TARGET_BFD
93 endif # BINUTILS_FOR_TARGET