u-boot/drivers/serial
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
..
altera_jtag_uart.c altera_jtag_uart: bypass when no jtag connection 2010-04-24 18:21:23 -04:00
altera_uart.c nios2: Fix outx/writex parameter order in io.h 2010-04-02 12:28:41 -04:00
arm_dcc.c stdio/device: rework function naming convention 2009-07-18 00:27:46 +02:00
at91rm9200_usart.c convert common files to new SoC access 2010-02-12 12:31:55 -06:00
atmel_usart.c atmel_usart: change register access to C structure 2010-10-05 16:58:56 +02:00
atmel_usart.h Coding Style cleanup 2010-10-27 22:48:30 +02:00
Makefile Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
mcfuart.c ColdFire: Update uart_port_conf in serial driver 2010-03-24 11:09:08 -05:00
ns9750_serial.c serial: move CFG_NS9750_UART to CONFIG_NS9750_UART 2008-08-13 01:40:39 +02:00
ns16550.c ns16550: Add WATCHDOG_RESET to putc for short watchdog timeout boards 2010-10-13 21:59:31 +02:00
opencores_yanu.c Coding style cleanup, update CHANGELOG. 2010-05-26 23:51:22 +02:00
s3c64xx.c s3c64xx: move s3c64xx header files to asm-arm/arch-s3c64xx 2009-11-27 16:26:13 -06:00
s3c4510b_uart.c drivers/serial: Move conditional compilation to Makefile for CONFIG_* macros 2008-08-03 02:24:52 +02:00
s3c4510b_uart.h drivers/serial : move serial drivers to drivers/serial 2007-11-25 23:24:16 +01:00
serial.c Add Orion5x support to 16550 device driver 2010-06-17 19:37:01 +05:30
serial_clps7111.c arm720t/clps7111: move serial driver to drivers/serial 2009-03-29 23:01:42 +02:00
serial_imx.c imx: move serial driver to drivers/serial 2009-03-30 18:58:38 +02:00
serial_ixp.c ixp: move serial to drivers/serial 2009-01-31 10:16:02 +01:00
serial_ks8695.c ks8695: move serial driver to drivers/serial 2009-03-29 23:01:42 +02:00
serial_lh7a40x.c lh7a40x: move serial driver to drivers/serial 2009-06-12 20:39:53 +02:00
serial_lpc2292.c Update CHANGELOG, coding style cleanup. 2009-04-05 00:27:57 +02:00
serial_max3100.c drivers/serial: Move conditional compilation to Makefile for CONFIG_* macros 2008-08-03 02:24:52 +02:00
serial_mxc.c MXC: Add watchdog support to serial driver 2010-09-29 11:24:31 +02:00
serial_netarm.c ppc4xx: Remove now unused CONFIG_UART1_CONSOLE 2010-09-23 09:02:05 +02:00
serial_pl01x.c ARMV7: Fixed baudrate setting in pl01x driver 2010-10-13 09:59:43 +02:00
serial_pl01x.h Merged serial_pl010.c and serial_pl011.c. 2008-09-09 14:41:11 +02:00
serial_pxa.c PXA: pxa-regs.h cleanup 2010-10-19 22:46:22 +02:00
serial_s3c24x0.c Add generic support for samsung s3c2440 2010-10-28 15:35:56 +09:00
serial_s3c44b0.c s3c44b0: move serial driver to drivers/serial 2009-03-29 23:01:41 +02:00
serial_s5p.c ARMV7: S5P: serial: support the s5pc210 2010-10-19 11:35:29 +09:00
serial_sa1100.c sa1100: move serial driver to drivers/serial 2009-03-29 23:01:41 +02:00
serial_sh.c sh: serial: use readx/writex accessors 2009-01-16 11:59:20 +09:00
serial_xuartlite.c drivers/serial: Move conditional compilation to Makefile for CONFIG_* macros 2008-08-03 02:24:52 +02:00
usbtty.c stdio/device: rework function naming convention 2009-07-18 00:27:46 +02:00
usbtty.h mod change 755 => 644 for multiple files 2010-03-21 22:22:53 +01:00