u-boot/drivers/rtc
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
..
at91sam9_rtt.c AT91: add RTT and GPBR based RTC 2010-09-03 11:20:02 +02:00
bfin_rtc.c Blackfin: only initialize the RTC when actually used 2008-10-23 05:03:50 -04:00
date.c Big white-space cleanup. 2008-05-21 00:14:08 +02:00
ds164x.c Switch from per-driver to common definition of bin2bcd and bcd2bin 2009-08-25 12:57:55 +02:00
ds174x.c Switch from per-driver to common definition of bin2bcd and bcd2bin 2009-08-25 12:57:55 +02:00
ds1302.c rtc: allow rtc_set to return an error and use it in cmd_date 2008-09-07 00:56:36 +02:00
ds1306.c Switch from per-driver to common definition of bin2bcd and bcd2bin 2009-08-25 12:57:55 +02:00
ds1307.c Switch from per-driver to common definition of bin2bcd and bcd2bin 2009-08-25 12:57:55 +02:00
ds1337.c rtc/ds1337.c: Allow to set TCR register 2009-09-24 00:20:33 +02:00
ds1374.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
ds1556.c Switch from per-driver to common definition of bin2bcd and bcd2bin 2009-08-25 12:57:55 +02:00
ds3231.c Switch from per-driver to common definition of bin2bcd and bcd2bin 2009-08-25 12:57:55 +02:00
ds12887.c Switch from per-driver to common definition of bin2bcd and bcd2bin 2009-08-25 12:57:55 +02:00
ftrtc010.c ftrtc010.c : enhance code according to original datasheet 2010-10-20 21:46:30 +02:00
isl1208.c Switch from per-driver to common definition of bin2bcd and bcd2bin 2009-08-25 12:57:55 +02:00
m41t11.c m41t11: Remove unused functions 2009-12-02 23:21:02 +01:00
m41t60.c Switch from per-driver to common definition of bin2bcd and bcd2bin 2009-08-25 12:57:55 +02:00
m41t62.c Switch from per-driver to common definition of bin2bcd and bcd2bin 2009-08-25 12:57:55 +02:00
m41t94.c Fix for Void function returning value in sbc35-a9g20 2009-11-27 16:26:11 -06:00
m48t35ax.c Switch from per-driver to common definition of bin2bcd and bcd2bin 2009-08-25 12:57:55 +02:00
Makefile Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
max6900.c Switch from per-driver to common definition of bin2bcd and bcd2bin 2009-08-25 12:57:55 +02:00
mc13783-rtc.c MX: RTC13783 uses general function to access PMIC 2010-05-05 09:48:41 +02:00
mc146818.c Remove AmigaOneG3SE board 2010-06-23 23:24:20 +02:00
mcfrtc.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
mk48t59.c Remove AmigaOneG3SE board 2010-06-23 23:24:20 +02:00
mpc5xxx.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
mpc8xx.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
pcf8563.c Switch from per-driver to common definition of bin2bcd and bcd2bin 2009-08-25 12:57:55 +02:00
pl031.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
rs5c372.c Switch from per-driver to common definition of bin2bcd and bcd2bin 2009-08-25 12:57:55 +02:00
rtc4543.c Switch from per-driver to common definition of bin2bcd and bcd2bin 2009-08-25 12:57:55 +02:00
rx8025.c Switch from per-driver to common definition of bin2bcd and bcd2bin 2009-08-25 12:57:55 +02:00
s3c24x0_rtc.c Add generic support for samsung s3c2440 2010-10-28 15:35:56 +09:00
s3c44b0_rtc.c Switch from per-driver to common definition of bin2bcd and bcd2bin 2009-08-25 12:57:55 +02:00
x1205.c Switch from per-driver to common definition of bin2bcd and bcd2bin 2009-08-25 12:57:55 +02:00