summaryrefslogtreecommitdiff
path: root/board/fads/lamp.c
diff options
context:
space:
mode:
authorJoakim Tjernlund <Joakim.Tjernlund@transmode.se>2010-10-14 11:51:44 +0200
committerWolfgang Denk <wd@denx.de>2010-10-18 22:39:37 +0200
commitd1e0b10accdbac2e0a8b2cbf7c589645442f87c5 (patch)
treeb818dd380265c89f435900b03c49a1cbf07534d4 /board/fads/lamp.c
parentd98b0523cfaaedeecb263b15c121c0727b0d80b9 (diff)
downloadu-boot-imx-d1e0b10accdbac2e0a8b2cbf7c589645442f87c5.zip
u-boot-imx-d1e0b10accdbac2e0a8b2cbf7c589645442f87c5.tar.gz
u-boot-imx-d1e0b10accdbac2e0a8b2cbf7c589645442f87c5.tar.bz2
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>
Diffstat (limited to 'board/fads/lamp.c')
0 files changed, 0 insertions, 0 deletions