u-boot/drivers/mmc
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
..
atmel_mci.c Convert mmc_init to mmc_legacy_init 2009-02-16 18:07:40 -06:00
atmel_mci.h AT91: MCI: add SD/MMC driver using mmc framework 2010-09-03 11:19:01 +02:00
bfin_sdh.c Blackfin: bfin_sdh: clean up send_cmd 2010-10-02 16:00:37 -04:00
fsl_esdhc.c drivers/mmc/fsl_esdhc.c: fix compiler warnings 2010-05-15 19:47:17 +02:00
gen_atmel_mci.c AT91: MCI: add SD/MMC driver using mmc framework 2010-09-03 11:19:01 +02:00
Makefile Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
mmc.c mmc: Add multi-block read support to the generic mmc driver 2010-11-04 15:27:25 -04:00
mxcmmc.c mxcmmc: fix warnings due to access 32 bit registers with 16 bit accessors 2010-03-21 22:22:52 +01:00
omap3_mmc.c mmc: omap3: fix block read function 2010-08-12 13:50:25 -04:00
omap3_mmc.h mmc: omap3: make local symbols static 2010-08-12 13:50:19 -04:00
omap_hsmmc.c Coding Style cleanup 2010-10-27 22:48:30 +02:00
pxa_mmc.c PXA: pxa-regs.h cleanup 2010-10-19 22:46:22 +02:00
pxa_mmc.h pxa: move mmc drivers to drivers/mmc 2009-02-20 03:47:50 +01:00
s5p_mmc.c s5p_mmc: support 8-bit bus width 2010-10-19 11:34:54 +09:00