u-boot-brain/arch/powerpc/cpu/mpc8220
Joakim Tjernlund d1e0b10acc powerpc: do not fixup NULL ptrs
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>
2010-10-18 22:39:37 +02:00
..
config.mk Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
cpu_init.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
cpu.c Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
dma.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
dramSetup.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
dramSetup.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
fec_dma_tasks.S Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
fec.c miiphy: constify device name 2010-08-09 11:52:29 -07:00
fec.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
i2c.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
i2cCore.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
i2cCore.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
interrupts.c Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
io.S Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
loadtask.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
Makefile Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
pci.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
speed.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
start.S powerpc: do not fixup NULL ptrs 2010-10-18 22:39:37 +02:00
traps.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
u-boot.lds Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
uart.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00