u-boot/arch/powerpc/cpu/mpc512x
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
..
asm-offsets.h 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.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
diu.c fsl_diu_fb: further refactoring of FSL DIU code 2010-09-25 13:10:03 +02:00
fixed_sdram.c mpc5121: determine RAM size using get_ram_size() 2010-04-24 22:56:35 +02:00
i2c.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
ide.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
iim.c Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
interrupts.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
iopin.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
Makefile Merge branch 'next' of /home/wd/git/u-boot/next 2010-09-28 23:30:47 +02:00
pci.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
serial.c mpc5121: add PSC serial communication routines 2010-04-24 22:56:32 +02:00
speed.c Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +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