u-boot/drivers/i2c
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
..
bfin-twi_i2c.c Blackfin: TWI/I2C: implement multibus support 2010-05-05 10:04:38 +02:00
davinci_i2c.c davinci: move i2c driver to drivers/i2c 2009-03-30 18:58:39 +02:00
fsl_i2c.c fsl_i2c: Added a callpoint for i2c_board_late_init 2010-04-19 07:46:35 +02:00
Makefile Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
mvtwsi.c i2c: rewrite mvtwsi, support orion5x and kirkwood 2010-08-30 14:10:35 +02:00
mxc_i2c.c i.MX31: Start the I2C clock on driver initialisation 2009-02-14 10:00:51 +01:00
omap24xx_i2c.c ARMV7: OMAP: I2C driver: Fix bug found in 37XX testing 2010-10-25 07:57:20 +02:00
omap24xx_i2c.h i2c: omap2+: change header guard to be generic 2010-08-23 08:08:31 +02:00
omap1510_i2c.c Cleanup: fix "MHz" spelling 2008-10-21 11:25:39 +02:00
pca9564_i2c.c new PCA9564 i2c bridge driver 2009-10-30 15:10:58 +01:00
ppc4xx_i2c.c ppc4xx: Move ppc4xx headers to powerpc include directory 2010-09-23 09:02:05 +02:00
s3c24x0_i2c.c Add generic support for samsung s3c2440 2010-10-28 15:35:56 +09:00
s3c44b0_i2c.c s3c44b0: move i2c driver to drivers/i2c 2009-03-29 23:01:40 +02:00
soft_i2c.c i2c: soft_i2c: add simple GPIO implementation 2010-07-22 08:03:47 +02:00
spr_i2c.c mod change 755 => 644 for multiple files 2010-03-21 22:22:53 +01:00
tsi108_i2c.c i2c: Update references to individual i2c commands 2009-06-12 20:39:46 +02:00