u-boot-brain/arch/powerpc/cpu/mpc5xxx
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
..
config.mk Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
cpu_init.c 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
firmware_sc_task_bestcomm.impl.S Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +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
interrupts.c Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
io.S Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
loadtask.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
Makefile MPC512x: workaround data corruption for unaligned local bus accesses 2010-06-29 14:41:37 +02:00
pci_mpc5200.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
serial.c serial: struct serial_device: add uninit() entry for drivers 2010-04-24 21:34:07 +02:00
speed.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-customlayout.lds 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
usb_ohci.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
usb_ohci.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
usb.c Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00