uboot-mt623x/board
Sebastien Carlier 6d8962e814 Switch from archive libraries to partial linking
Before this commit, weak symbols were not overridden by non-weak symbols
found in archive libraries when linking with recent versions of
binutils.  As stated in the System V ABI, "the link editor does not
extract archive members to resolve undefined weak symbols".

This commit changes all Makefiles to use partial linking (ld -r) instead
of creating library archives, which forces all symbols to participate in
linking, allowing non-weak symbols to override weak symbols as intended.
This approach is also used by Linux, from which the gmake function
cmd_link_o_target (defined in config.mk and used in all Makefiles) is
inspired.

The name of each former library archive is preserved except for
extensions which change from ".a" to ".o".  This commit updates
references accordingly where needed, in particular in some linker
scripts.

This commit reveals board configurations that exclude some features but
include source files that depend these disabled features in the build,
resulting in undefined symbols.  Known such cases include:
- disabling CMD_NET but not CMD_NFS;
- enabling CONFIG_OF_LIBFDT but not CONFIG_QE.

Signed-off-by: Sebastien Carlier <sebastien.carlier@gmail.com>
2010-11-17 21:02:18 +01:00
..
BuS
LEOX/elpt860
LaCie/edminiv2
Marvell
RPXClassic
RPXlite
RPXlite_dw
RRvision
a4m072
a3000
actux1
actux2
actux3
actux4
adder
afeb9260
alaska
altera
amcc
amirix/ap1000
apollon
armadillo
armltd
assabet
astro/mcf5373l
atc
atmel
atum8548
avnet
balloon3
barco
bc3450
bct-brettl2
bf518f-ezbrd
bf526-ezbrd
bf527-ad7160-eval
bf527-ezkit
bf527-sdp
bf533-ezkit
bf533-stamp
bf537-minotaur
bf537-pnav
bf537-srv1
bf537-stamp
bf538f-ezkit
bf548-ezkit
bf561-acvilon
bf561-ezkit
blackstamp
blackvme
bmw
c2mon
calao
canmb
cerf250
cm-bf527
cm-bf533
cm-bf537e
cm-bf537u
cm-bf548
cm-bf561
cm41xx
cm4008
cm5200
cmc_pu2
cmi
cobra5272
cogent
colibri_pxa270
cpc45
cpu86
cpu87
cradle
cray/L1
csb226
csb272
csb472
csb637
cu824
dave
davedenx
davinci
dbau1x00
digsy_mtc
dnp1110
eNET
eXalion
earthlcd/favr-32-ezkit
edb93xx
eltec
emk
ep82xxm
ep88x
ep7312
ep8248
ep8260
eric
esd
espt
esteem192e
etin
etx094
eukrea
evb4510
evb64260
fads
faraday/a320evb
flagadm
freescale
funkwerk/vovpn-gw
g2000
gaisler
galaxy5200
gcplus
gdsys
gen860t
genietv
gth2
gw8260
hermes
hidden_dragon
hymod
ibf-dsp561
icecube
icu862
idmr
ids8247
impa7
imx31_phycore
incaip
inka4x0
innokom
ip04
ip860
ipek01
iphase4539
isee
ispan
ivm
ixdp425
jornada
jse
jupiter
karo/tx25
kb9202
keymile
korat
kup
lantec
lart
linkstation
logicpd
lpc2292sodimm
lpd7a40x
lubbock
lwmon
lwmon5
m501sk
manroland
matrix_vision
mbx8xx
mcc200
micronas/vct
mimc/mimc200
miromico/hammerhead
ml2
modnet50
mosaixtech/icon
motionpro
mousse
mp2usb
mpc8308_p1m
mpc8540eval
mpl
mpr2
ms7720se
ms7722se
ms7750se
muas3001
munices
musenki
mvblue
mx1ads
mx1fs2
netphone
netstal
netstar
netta
netta2
netvia
ns9750dev
nx823
o2dnt
overo
oxc
palmld
palmtc
pandora
pb1x00
pcippc2
pcs440ep
pdm360ng
phytec/pcm030
pleb2
pm520
pm826
pm828
pm854
pm856
pn62
ppmc7xx
ppmc8260
prodrive
psyent
purple
pxa255_idp
qemu-mips
quad100hd
quantum
r360mpi
rattler
rbc823
renesas
rmu
ronetix
rpxsuper
rsdproto
sacsng
samsung
sandburst
sandpoint
sbc405
sbc2410x
sbc8240
sbc8260
sbc8349
sbc8548
sbc8560
sbc8641d
sc3
scb9328
shannon
sheldon/simpc8313
siemens
sixnet
snmc
socrates
sorcery
spc1920
spd8xx
spear
st/nhk8815
stx
svm_sc8xx
sx1
syteco/jadecpu
t3corp
tb0229
tcm-bf518
tcm-bf537
ti
timll/devkit8000
total5200
tqc
trab
trizepsiv
ttcontrol/vision2
utx8245
v37
v38b
ve8313
voiceblue
vpac270
w7o
westel/amx860
xaeniax
xes
xilinx
xm250
zeus
zipitz2
zpc1900
zylonite