mirror of
https://github.com/MiSTer-devel/u-boot_MiSTer.git
synced 2026-05-24 03:04:52 +00:00
NULL is an absolute value and should not be relocated.
After this correction code like:
void weak_fun(void) __attribute__((weak));
printf("weak_fun:%p\n", weak_fun);
will still print null after relocation.
Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>