uboot-mt623x/drivers/block
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
..
Makefile Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
ahci.c Update Freescale copyrights to remove "All Rights Reserved" 2009-07-29 09:59:22 +02:00
ata_piix.c Misc SATA fixups 2009-09-04 21:53:37 +02:00
ata_piix.h Misc SATA fixups 2009-09-04 21:53:37 +02:00
fsl_sata.c 85xx/fsl-sata: Use is_serdes_configured() to determine if SATA is enabled 2010-05-12 04:53:51 -05:00
fsl_sata.h fsl_sata: Move the snoop bit to another place 2010-04-26 22:37:54 -05:00
libata.c silence misc printf formatting compiler warnings 2008-07-10 22:12:09 +02:00
mg_disk.c mflash: Initial mflash support 2009-04-03 23:47:06 +02:00
mg_disk_prv.h Update CHANGELOG, coding style cleanup. 2009-04-05 00:27:57 +02:00
mvsata_ide.c mvsata_ide: adjust port init sequence 2010-10-13 09:35:54 +02:00
pata_bfin.c Blackfin: pata_bfin: convert to portmux framework 2010-07-13 17:50:49 -04:00
pata_bfin.h Blackfin: add driver for on-chip ATAPI controller 2009-02-02 12:27:14 -05:00
sata_dwc.c Canyonlands SATA harddisk driver 2009-07-19 11:24:09 +02:00
sata_dwc.h Canyonlands SATA harddisk driver 2009-07-19 11:24:09 +02:00
sata_sil3114.c sata_sil3114: fix compiler warning 2009-02-19 00:37:18 +01:00
sata_sil3114.h Add sata sil3114 support 2008-06-29 12:42:18 +02:00
sil680.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
sym53c8xx.c Cleanup: fix "MHz" spelling 2008-10-21 11:25:39 +02:00
systemace.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00