u-boot/arch/powerpc/cpu/mpc8260
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
..
bedbug_603e.c bedbug_860.c, bedbug_603e.c: Fix return type to silence compile warnings. 2010-09-08 22:02:54 +02:00
commproc.c POST cleanup. 2010-09-21 21:39:31 +02:00
config.mk 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
cpu_init.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
ether_fcc.c net ppc: fix ethernet device names with spaces 2010-08-09 11:52:28 -07:00
ether_scc.c net ppc: fix ethernet device names with spaces 2010-08-09 11:52:28 -07:00
i2c.c 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
kgdb.S 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
serial_scc.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
serial_smc.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
speed.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
spi.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