u-boot-brain/arch/powerpc/cpu/mpc85xx
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
..
cmd_errata.c powerpc/p4080: Add workaround for erratum CPU22 2010-07-26 13:07:57 -05:00
commproc.c POST cleanup. 2010-09-21 21:39:31 +02:00
config.mk 85xx: Use gc-sections to reduce image size 2010-10-20 02:38:41 -05:00
cpu_init_early.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
cpu_init_nand.c 83xx/85xx/86xx: LBC register cleanup 2010-07-16 10:55:09 -05:00
cpu_init.c powerpc/8xxx: share PIC defines among 85xx and 86xx 2010-08-19 02:06:13 -05:00
cpu.c Add memory test feature for mpc85xx POST. 2010-10-20 02:28:00 -05:00
ddr-gen1.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
ddr-gen2.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
ddr-gen3.c powerpc/8xxx: Enabled address hashing for 85xx 2010-07-26 13:16:09 -05:00
ether_fcc.c net ppc: fix ethernet device names with spaces 2010-08-09 11:52:28 -07:00
fdt.c 85xx: Add support for not releasing secondary cores via 'mp_holdoff' 2010-10-20 02:38:40 -05:00
fixed_ivor.S Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
fsl_corenet_serdes.c powerpc/p4080: Add workaround for errata SERDES8 2010-07-26 13:07:57 -05:00
fsl_corenet_serdes.h powerpc/p4080: Add workaround for errata SERDES8 2010-07-26 13:07:57 -05:00
interrupts.c powerpc/8xxx: share PIC defines among 85xx and 86xx 2010-08-19 02:06:13 -05:00
liodn.c powerpc/85xx: Add support to initialize LIODN registers and portals 2010-07-26 13:07:56 -05:00
Makefile Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
mp.c 85xx: Add support for not releasing secondary cores via 'mp_holdoff' 2010-10-20 02:38:40 -05:00
mp.h 85xx: Add support for not releasing secondary cores via 'mp_holdoff' 2010-10-20 02:38:40 -05:00
mpc8536_serdes.c powerpc/85xx: Rework MPC8536 SERDES is_serdes_configured support 2010-07-21 00:40:16 -05:00
p1022_serdes.c powerpc/85xx: Rework P1022 SERDES is_serdes_configured support 2010-07-21 00:40:20 -05:00
p4080_ids.c powerpc/85xx: fix rev.2 job queue LIODN error storm 2010-10-07 09:49:47 -05:00
p4080_serdes.c powerpc/p4080: Add workaround for errata SERDES8 2010-07-26 13:07:57 -05:00
pci.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
portals.c powerpc/85xx: Add support to initialize LIODN registers and portals 2010-07-26 13:07:56 -05:00
qe_io.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
release.S Replace CONFIG_SYS_GBL_DATA_SIZE by auto-generated value 2010-10-26 21:05:30 +02:00
resetvec.S Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
serial_scc.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
speed.c 83xx/85xx/86xx: LBC register cleanup 2010-07-16 10:55:09 -05:00
start.S PowerPC: Don't destroy fixup table while doing fixups 2010-11-14 23:25:33 +01:00
tlb.c Adding more control to physical address mapping 2010-10-20 02:28:00 -05:00
traps.c powerpc/8xxx: share PIC defines among 85xx and 86xx 2010-08-19 02:06:13 -05:00
u-boot-nand_spl.lds powerpc/85xx: Fix lds for nand build 2010-11-11 00:34:59 -06:00
u-boot-nand.lds powerpc/85xx: Fix lds for nand build 2010-11-11 00:34:59 -06:00
u-boot.lds 85xx: Use gc-sections to reduce image size 2010-10-20 02:38:41 -05:00