mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-09 22:33:28 +09: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> |
||
---|---|---|
.. | ||
config.mk | ||
cpu_init.c | ||
cpu.c | ||
dma.h | ||
dramSetup.c | ||
dramSetup.h | ||
fec_dma_tasks.S | ||
fec.c | ||
fec.h | ||
i2c.c | ||
i2cCore.c | ||
i2cCore.h | ||
interrupts.c | ||
io.S | ||
loadtask.c | ||
Makefile | ||
pci.c | ||
speed.c | ||
start.S | ||
traps.c | ||
u-boot.lds | ||
uart.c |