u-boot/board/evb64260
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
..
64260.h Initial revision 2001-12-28 14:03:48 +00:00
bootseq.txt rename CFG_ENV_IS_IN_EEPROM in CONFIG_ENV_IS_IN_EEPROM 2008-09-10 21:09:38 +02:00
ecctest.c * Some code cleanup 2004-02-12 00:47:09 +00:00
eth.c miiphy: constify device name 2010-08-09 11:52:29 -07:00
eth.h Cleanup for GCC-4.x 2005-10-13 16:45:02 +02:00
eth_addrtbl.c Code cleanup, especially MIPS for GCC 4.x 2005-12-04 00:40:34 +01:00
eth_addrtbl.h * Code cleanup: 2003-06-27 21:31:46 +00:00
evb64260.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
flash.c Fix build errors after making flash_get_info() non-static 2009-02-18 22:40:08 +01:00
i2c.c Cleanup for GCC-4.x 2005-10-13 16:45:02 +02:00
i2c.h Initial revision 2001-12-28 14:03:48 +00:00
intel_flash.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
intel_flash.h rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
local.h rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
Makefile Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
memory.c * Code cleanup: 2003-06-27 21:31:46 +00:00
misc.S rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
mpsc.c Merge branch 'master' into next 2010-06-30 01:02:11 +02:00
mpsc.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
pci.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
sdram_init.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
serial.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
serial.h Initial revision 2002-03-08 21:31:05 +00:00
u-boot.lds Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
zuma_pbb.c Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
zuma_pbb.h * Code cleanup: 2003-06-27 21:31:46 +00:00
zuma_pbb_mbox.c evb64260: fix "cast to pointer from integer of different size" warnings 2008-12-09 23:13:51 +01:00
zuma_pbb_mbox.h * Some code cleanup 2004-02-12 00:47:09 +00:00