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
..
2010-09-23 09:02:05 +02:00
2010-09-23 09:02:05 +02:00
2010-09-23 09:02:05 +02:00
2010-09-23 09:02:05 +02:00
2010-09-23 09:02:05 +02:00
2010-09-23 09:02:05 +02:00
2010-09-23 09:02:05 +02:00
2010-07-04 23:55:42 +02:00
2010-09-23 09:02:05 +02:00
2010-07-04 23:55:42 +02:00
2010-09-23 09:02:05 +02:00
2010-04-21 23:42:38 +02:00
2010-10-04 11:15:02 +02:00
2010-10-04 11:15:02 +02:00
2010-09-23 09:02:05 +02:00
2010-09-23 09:02:05 +02:00
2010-09-23 09:02:05 +02:00
2010-09-23 09:02:05 +02:00
2010-04-21 23:42:38 +02:00
2010-09-28 23:30:47 +02:00
2010-09-23 09:02:05 +02:00
2010-09-23 09:02:05 +02:00
2010-04-21 23:42:38 +02:00
2010-09-23 09:02:05 +02:00
2010-09-21 21:39:31 +02:00
2010-09-23 09:02:05 +02:00
2010-09-23 09:02:05 +02:00
2010-04-21 23:42:38 +02:00
2010-09-23 09:02:05 +02:00
2010-04-21 23:42:38 +02:00
2010-10-04 11:15:02 +02:00
2010-10-18 22:39:37 +02:00
2010-09-23 09:02:05 +02:00
2010-07-23 09:55:03 +02:00
2010-04-21 23:42:38 +02:00
2010-09-23 09:02:05 +02:00
2010-04-21 23:42:38 +02:00
2010-04-21 23:42:38 +02:00
2010-04-21 23:42:38 +02:00
2010-04-21 23:42:38 +02:00
2010-04-21 23:42:38 +02:00
2010-09-23 09:02:05 +02:00