u-boot-brain/arch/powerpc/cpu/mpc86xx
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
..
cache.S Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
config.mk Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
cpu_init.c 83xx/85xx/86xx: LBC register cleanup 2010-07-16 10:55:09 -05:00
cpu.c 83xx/85xx/86xx: LBC register cleanup 2010-07-16 10:55:09 -05:00
ddr-8641.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
fdt.c powerpc/8xxx: Add is_core_disabled to remove disabled cores from dtb 2010-07-16 10:55:08 -05:00
interrupts.c Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
Makefile Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
mp.c powerpc/8xxx: Add is_core_disabled to remove disabled cores from dtb 2010-07-16 10:55:08 -05:00
release.S Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
speed.c 83xx/85xx/86xx: LBC register cleanup 2010-07-16 10:55:09 -05: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