u-boot/arch
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
..
arm Rename TEXT_BASE into CONFIG_SYS_TEXT_BASE 2010-10-18 22:07:10 +02:00
avr32 relocation: fixup cmdtable 2010-09-19 19:29:51 +02:00
blackfin Blackfin: workaround anomaly 05000440 2010-10-14 20:23:26 -04:00
i386 Rename TEXT_BASE into CONFIG_SYS_TEXT_BASE 2010-10-18 22:07:10 +02:00
m68k Rename TEXT_BASE into CONFIG_SYS_TEXT_BASE 2010-10-18 22:07:10 +02:00
microblaze Rename TEXT_BASE into CONFIG_SYS_TEXT_BASE 2010-10-18 22:07:10 +02:00
mips common: move TOTAL_MALLOC_LEN to include/common.h 2010-09-19 19:29:52 +02:00
nios2 New implementation for internal handling of environment variables. 2010-09-19 19:29:48 +02:00
powerpc powerpc: do not fixup NULL ptrs 2010-10-18 22:39:37 +02:00
sh Rename TEXT_BASE into CONFIG_SYS_TEXT_BASE 2010-10-18 22:07:10 +02:00
sparc Rename TEXT_BASE into CONFIG_SYS_TEXT_BASE 2010-10-18 22:07:10 +02:00
.gitignore update include/asm/ gitignore after move 2010-05-07 00:17:30 +02:00