- Nov 17, 2010
-
-
Sebastien Carlier authored
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>
-
- Apr 08, 2010
-
-
Ed Swarthout authored
Use pci_bus_to_virt() to convert the bus address from the BARs to virtual address' to eliminate the direct mapping requirement. Rename variables to better match usage (_phys -> _bus or no-suffix) This fixes the mpc8572ds CONFIG_PHYS_64BIT mode failure: "videoboot: Video ROM failed to map!" Tested on mpc8572ds with and without CONFIG_PHYS_64BIT. Signed-off-by:
Ed Swarthout <Ed.Swarthout@freescale.com>
-
Ed Swarthout authored
Console was being switched to video even if emulator fails and causing this hang: Scanning PCI bus 04 04 00 1095 3132 0104 00 PCIE3 on bus 03 - 04 Video: ATI Radeon video card (1002, 5b60) found @(2:0:0) videoboot: Booting PCI video card bus 2, function 0, device 0 videoboot: Video ROM failed to map! 640x480x8 31kHz 59Hz radeonfb: FIFO Timeout ! Signed-off-by:
Ed Swarthout <Ed.Swarthout@freescale.com> Tested-by:
Anatolij Gustschin <agust@denx.de>
-
- Dec 17, 2009
-
-
Kumar Gala authored
make -C drivers/bios_emulator/ make[2]: Entering directory `drivers/bios_emulator' In file included from atibios.c:49: biosemui.h:47:21: error: biosemu.h: No such file or directory ... x86emu/decode.c:40:28: error: x86emu/x86emui.h: No such file or directory ... Due to lack of proper CPPFLAGS being passed to .depend generation rule Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
- Oct 12, 2009
-
-
Ed Swarthout authored
Forcing the tables into got2 caused extra relocation when using -mrelocatable. This patch requires any board defining CONFIG_BIOSEMU to use -mrelocatable. Signed-off-by:
Ed Swarthout <Ed.Swarthout@freescale.com> Acked-by:
Jin Zhengxiong <Jason.Jin@freescale.com>
-
- Jul 29, 2009
-
-
Kumar Gala authored
"All Rights Reserved" conflicts with the GPL. Signed-off-by:
Kumar Gala <kumar.gala@freescale.com>
-
- Jul 23, 2009
-
-
Mike Frysinger authored
The top build system sets up HOSTCFLAGS a bit and exports it, but other places use HOST_CFLAGS instead. Unify the two as HOSTCFLAGS so that the values stay in sync. Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
Kumar Gala authored
biosemu.c: In function 'BE_setVGA': biosemu.c:147: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
- Dec 07, 2008
-
-
Jean-Christophe PLAGNIOL-VILLARD authored
Signed-off-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
- Oct 16, 2008
-
-
Jason Jin authored
The function parse_line() in common/main.c was exposed globally by commit 6636b62a, Result in conflict with the same name funciton in drivers/bios_emulator/x86emu/debug.c when define the DEBUG. This patch fix this by renaming the function in the debug.c file. Signed-off-by:
Jason Jin <Jason.jin@freescale.com>
-
- May 20, 2008
-
-
Wolfgang Denk authored
This commit gets rid of a huge amount of silly white-space issues. Especially, all sequences of SPACEs followed by TAB characters get removed (unless they appear in print statements). Also remove all embedded "vim:" and "vi:" statements which hide indentation problems. Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
- Feb 15, 2008
-
-
Anatolij Gustschin authored
This patch tries to get rid of some assembler warnings about changed .got2 section type while compiling x86 bios emulator code. Signed-off-by:
Anatolij Gustschin <agust@denx.de>
-
- Nov 18, 2007
-
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
- Sep 06, 2007
-
-
Jason Jin authored
Signed-off-by:
Jason Jin <Jason.jin@freescale.com>
-
- Aug 16, 2007
-
-
Michal Simek authored
microblaze CPU have problem with bios_emulator code. Microblaze toolchain doesn't support PRAGMA PACK. Signed-off-by:
Michal Simek <monstr@monstr.eu>
-
Michal Simek authored
-
- Aug 15, 2007
-
-
Michal Simek authored
microblaze toolchain don't support PRAGMA PACK.
-
- Aug 09, 2007
-
-
Jason Jin authored
Add $(obj) to LIB avoiding objects be built in the source dir Signed-off-by:
Jason Jin <Jason.jin@freescale.com>
-
Jason Jin authored
Signed-off-by:
Jason Jin <Jason.jin@freescale.com> This patch fix the compile issue on the board that did not enable the bios emulator
-
- Aug 07, 2007
-
-
Jason Jin authored
This patch fix the compile issue on the board that did not enable the bios emulator
-
- Aug 06, 2007
-
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
- Aug 05, 2007
-
-
Jason Jin authored
ATI video card BIOS. and can be used for x86 code emulation by some modifications. Signed-off-by:
Jason Jin <Jason.jin@freescale.com>
-