u-boot/arch/powerpc
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
..
cpu powerpc: do not fixup NULL ptrs 2010-10-18 22:39:37 +02:00
include/asm powerpc: Cleanup BOOTFLAG_* references 2010-10-18 22:38:56 +02:00
lib powerpc: Cleanup BOOTFLAG_* references 2010-10-18 22:38:56 +02:00
config.mk Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00