mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-15 09:27:35 +00:00
d1e0b10acc
The fixup routine must not fixup NULL pointers. Problem can be seen by char *testfun(void) __attribute__((weak)); char *(*myfun)(void) = testfun; Then add printf("myfun:%p, &myfun:%p\n", myfun, &myfun); before relocation and after relocation. myfun should be NULL in both cases but it is not. Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se> |
||
---|---|---|
.. | ||
asm-offsets.h | ||
config.mk | ||
cpu.c | ||
cpu_init.c | ||
diu.c | ||
fixed_sdram.c | ||
i2c.c | ||
ide.c | ||
iim.c | ||
interrupts.c | ||
iopin.c | ||
Makefile | ||
pci.c | ||
serial.c | ||
speed.c | ||
start.S | ||
traps.c | ||
u-boot.lds |