uboot-mt623x/include
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
..
asm-generic x86: Fix support for booting bzImage 2010-05-06 00:17:01 +02:00
bedbug Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
configs Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
cramfs
galileo
jffs2 fdt_support: add partitions fixup in mtd node 2010-03-21 22:44:59 +01:00
linux Coding Style cleanup 2010-10-27 22:48:30 +02:00
lzma Rename lib_generic/ to lib/ 2010-04-13 09:13:04 +02:00
mtd cfi_flash: Simplify dynamic flash bank number detection 2010-09-20 15:08:51 +02:00
pcmcia
u-boot Rename lib_generic/ to lib/ 2010-04-13 09:13:04 +02:00
usb Fix building for 83xx boards with USB support 2010-10-21 20:00:41 +02:00
.gitignore update include/asm/ gitignore after move 2010-05-07 00:17:30 +02:00
74xx_7xx.h
ACEX1K.h fpga: Remove relocation fixups 2009-10-03 10:17:56 +02:00
MCD_dma.h
MCD_progCheck.h
MCD_tasksInit.h
SA-1100.h
_exports.h Remove support for CONFIG_HAS_UID and "forceenv" command 2010-09-19 19:29:47 +02:00
addr_map.h
ahci.h Update Freescale copyrights to remove "All Rights Reserved" 2009-07-29 09:59:22 +02:00
ali512x.h
altera.h fpga: Remove relocation fixups 2009-10-03 10:17:56 +02:00
amba_clcd.h video: add amba-clcd prime-cell 2010-01-27 21:23:14 +01:00
ambapp.h
api_public.h
arm925t.h
armcoremodule.h
asm-offsets.h Replace CONFIG_SYS_GBL_DATA_SIZE by auto-generated value 2010-10-26 21:05:30 +02:00
at45.h
at91rm9200_i2c.h
at91rm9200_net.h
ata.h
atmel_lcdc.h
bcd.h Replace BCD2BIN and BIN2BCD macros with inline functions 2009-08-25 12:57:55 +02:00
bcm5221.h
bmp_layout.h
bus_vcxk.h new video driver for bus vcxk framebuffers 2009-07-26 13:17:21 +02:00
bzlib.h
circbuf.h
clps7111.h
command.h Replace CONFIG_RELOC_FIXUP_WORKS by CONFIG_NEEDS_MANUAL_RELOC 2010-10-29 21:32:07 +02:00
common.h Replace CONFIG_SYS_GBL_DATA_SIZE by auto-generated value 2010-10-26 21:05:30 +02:00
commproc.h CCM: remove code for yet another corpse 2010-10-06 22:22:26 +02:00
compiler.h include/compiler.h: remove uint typedef for __MACH__ 2010-10-06 23:09:42 +02:00
config_cmd_all.h rarp: Condtionally compile rarp support 2010-10-11 23:00:29 -07:00
config_cmd_default.h Add 'editenv' command 2009-10-27 20:58:25 +01:00
config_defaults.h Add support for operating system OSE 2010-09-28 14:42:26 +02:00
crc.h
da9030.h
dataflash.h
ddr_spd.h powerpc/8xxx: Enable DDR3 RDIMM support 2010-07-26 13:16:10 -05:00
div64.h
dm9000.h
dm9161.h
dp83848.h
ds1722.h Misc ds1722 fixups 2009-09-04 21:54:52 +02:00
ds4510.h
dtt.h
e500.h ppc/p4080: Determine various chip frequencies on CoreNet platforms 2009-09-24 12:05:29 -05:00
elf.h compiler.h: unify system ifdef cruft here 2009-07-19 21:41:46 +02:00
environment.h New implementation for internal handling of environment variables. 2010-09-19 19:29:48 +02:00
errno.h Add basic errno support. 2010-09-19 19:29:47 +02:00
exports.h Remove support for CONFIG_HAS_UID and "forceenv" command 2010-09-19 19:29:47 +02:00
ext2fs.h
fat.h VFAT: fix processing of scattered long file name entries 2010-10-12 22:39:14 +02:00
fdc.h
fdt.h
fdt_support.h FDT: Add fixup support for multiple banks of memory 2010-10-18 22:50:53 +02:00
fis.h
flash.h cfi_flash: Simplify dynamic flash bank number detection 2010-09-20 15:08:51 +02:00
fpga.h FPGA: add support for downloading Lattice bitstream 2010-10-13 18:09:31 +02:00
fsl_diu_fb.h fsl_diu_fb: further refactoring of FSL DIU code 2010-09-25 13:10:03 +02:00
fsl_esdhc.h ppc/85xx: PIO Support for FSL eSDHC Controller Driver 2010-04-23 21:02:30 -05:00
fsl_nfc.h Add MX25 support to nand_spl fsl nfc driver 2010-01-27 14:22:41 -06:00
fsl_pmic.h MX: Added Freescale Power Management Driver 2010-05-05 09:48:41 +02:00
hush.h
hwconfig.h Add simple hwconfig infrastructure 2009-07-16 22:23:53 +02:00
i2c.h fsl_i2c: Added a callpoint for i2c_board_late_init 2010-04-19 07:46:35 +02:00
i8042.h
ide.h mucmc52, uc101: delete ata@3a00 node, if no CF card is detected 2009-09-25 01:22:13 +02:00
image.h boot: change some arch ifdefs to feature ifdefs 2010-10-18 22:53:32 +02:00
iomux.h stdio/device: rework function naming convention 2009-07-18 00:27:46 +02:00
ioports.h
keyboard.h
kgdb.h Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
ks8721.h Add support for Eukrea CPUAT91 SBC 2009-10-13 06:17:35 -05:00
lattice.h Coding Style cleanup 2010-10-27 22:48:30 +02:00
lcd.h atmel_lcd: Allow contrast polarity to be either positive or negative 2010-09-25 15:22:51 +02:00
lcdvideo.h
led-display.h led_display: remove unused DISPLAY_MARK define 2010-10-21 22:25:04 +02:00
lh7a40x.h
lh7a400.h
lh7a404.h
libata.h
libfdt.h
libfdt_env.h compiler.h: unify system ifdef cruft here 2009-07-19 21:41:46 +02:00
linux_logo.h
lmb.h lmb: only force on arches that use it 2010-01-21 22:26:00 +01:00
logbuff.h
lpd7a400_cpld.h
lxt971a.h
lynxkdi.h
malloc.h Consolidate arch-specific mem_malloc_init() implementations 2009-09-04 21:47:07 +02:00
mb862xx.h video: mb862xx: improve board-specific Lime configuration 2009-10-31 12:13:28 +01:00
mc13892.h mx51evk: Fix 2 hours reset issue 2010-10-28 11:42:34 +02:00
mg_disk.h
mii_phy.h
miiphy.h miiphy: constify device name 2010-08-09 11:52:29 -07:00
mk48t59.h
mmc.h AT91: MCI: add SD/MMC driver using mmc framework 2010-09-03 11:19:01 +02:00
mpc5xx.h
mpc5xxx.h A4M072: Added support for the board. 2010-10-12 22:44:33 +02:00
mpc5xxx_sdma.h
mpc8xx.h
mpc8xx_irq.h
mpc83xx.h 83xx: Remove warmboot parameter from PCI init functions 2010-09-23 21:14:42 +02:00
mpc85xx.h 83xx/85xx/86xx: LBC register cleanup 2010-07-16 10:55:09 -05:00
mpc86xx.h mpc86xx: set the DDR BATs after calculating true DDR size 2010-03-30 10:50:22 -05:00
mpc106.h
mpc824x.h
mpc8220.h
mpc8260.h
mpc8260_irq.h
mtd_node.h fdt_support: add partitions fixup in mtd node 2010-03-21 22:44:59 +01:00
mxc_gpio.h Use common function to set GPIOs for MX3 and MX5 2010-09-29 11:24:30 +02:00
nand.h nand erase: .spread, .part, .chip subcommands 2010-10-11 15:10:17 -05:00
net.h Integrate USB gadget layer and USB CDC driver layer 2010-09-20 21:57:16 +02:00
netdev.h net: Move Emaclite to NET_MULTI 2010-10-11 23:07:04 -07:00
nios2-epcs.h
nios2-io.h
nios2-yanu.h nios2: Added support to YANU UART 2010-03-21 22:44:42 +01:00
nios2.h
nomadik.h include/nomadik.h: add physical address for cldc 2010-01-27 21:23:23 +01:00
ns7520_eth.h
ns9750_bbus.h
ns9750_eth.h
ns9750_mem.h
ns9750_ser.h
ns9750_sys.h
ns16550.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
ns87308.h
onenand_uboot.h Flex-OneNAND driver support 2009-11-13 16:56:18 -06:00
part.h
pc_keyb.h
pca953x.h
pca9564.h Prepare v2010.03-rc1 2010-03-12 23:06:04 +01:00
pci.h pci: Clean up PCI info when CONFIG_PCI_SCAN_SHOW 2010-11-14 23:46:46 +01:00
pci_ids.h video: sm501: add support for SM501 chips on PCI bus 2010-06-14 12:29:26 +02:00
pcmcia.h
post.h Replace CONFIG_RELOC_FIXUP_WORKS by CONFIG_NEEDS_MANUAL_RELOC 2010-10-29 21:32:07 +02:00
ppc_asm.tmpl powerpc: fix wrong comment at GOT definitions 2010-06-29 23:03:40 +02:00
ppc_defs.h
ps2mult.h
radeon.h
reiserfs.h
rtc.h Switch from per-driver to common definition of bin2bcd and bcd2bin 2009-08-25 12:57:55 +02:00
s6e63d6.h
s_record.h
sata.h
scsi.h
search.h Add hash table support as base for new environment code 2010-09-19 19:29:47 +02:00
sed156x.h
sed13806.h
serial.h Merge branch 'master' of git://git.denx.de/u-boot-samsung 2010-09-08 00:03:22 +02:00
sha1.h
sha256.h
sja1000.h Add minimal SJA1000 header for basic CAN mode 2009-11-17 13:19:58 +01:00
sm501.h
smiLynxEM.h
spartan2.h fpga: Remove relocation fixups 2009-10-03 10:17:56 +02:00
spartan3.h add block write function to spartan3 slave serial load 2010-03-24 11:08:43 -05:00
spd.h
spd_sdram.h
spi.h
spi_flash.h spi_flash.h: pull in linux/types.h for u## types 2009-11-24 23:40:39 +01:00
status_led.h CCM: remove code for yet another corpse 2010-10-06 22:22:26 +02:00
stdio_dev.h console: unify printing current devices 2009-07-19 01:02:46 +02:00
stratixII.h fpga: Remove relocation fixups 2009-10-03 10:17:56 +02:00
sym53c8xx.h
systemace.h
timestamp.h
tsec.h tsec: Add TSEC_FIBER flag 2010-01-31 22:34:34 -08:00
tsi108.h
tsi148.h Add support for the Tundra TSI148 VME-bridge 2009-07-19 11:21:08 +02:00
twl4030.h ARMV7: OMAP: add convenience function to set TWL4030 regulator voltages 2010-09-08 14:50:23 -04:00
twl6030.h ARMV7: Add support for the TWL6030 I2C power chip used in OMAP4 systems 2010-08-05 10:11:30 -04:00
tws.h
ubi_uboot.h UBI: Fix problem in UBI/Linux "compatibility layer" 2010-05-19 10:57:24 +02:00
universe.h
usb.h musb: MSC host support for AM35x 2010-08-12 16:40:00 +02:00
usb_cdc_acm.h
usb_defs.h
usbdescriptors.h USB add macros for debugging usb device setup. 2009-12-20 12:47:37 +01:00
usbdevice.h USB add macros for debugging usb device setup. 2009-12-20 12:47:37 +01:00
version.h
vfd_logo.h
video.h
video_ad7176.h
video_ad7177.h
video_ad7179.h
video_easylogo.h
video_fb.h video: cleanup comments in cfb_console.c and video_fb.h 2010-07-17 00:05:14 +02:00
video_font.h
video_logo.h
virtex2.h fpga: Remove relocation fixups 2009-10-03 10:17:56 +02:00
vsc7385.h
vxworks.h Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
w83c553f.h
watchdog.h nios: remove nios-32 arch 2010-05-28 10:56:04 -04:00
xilinx.h add block write function to spartan3 slave serial load 2010-03-24 11:08:43 -05:00
xyzModem.h