[U-Boot] [PATCH RFC] armv7: fixloop: don't fixup if location is NULL

Albert ARIBAUD albert.aribaud at free.fr
Sat Jan 8 13:18:02 CET 2011


Le 08/01/2011 11:49, Albert ARIBAUD a écrit :

>> In my investigations for 'NULL fixup' (-> see
>> http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/89864/focus=89906)
>> pointed out that only symbols in 'absolute fixup' loop could be 'NULL'
>> if there is a not aliased/empty weakly linked symbol.

BTW: is such a situation normal? IIUC, it means there is a weakly linked 
symbol without *any* defintion, *and* it is referenced in the code. 
Granted, maybe it is checked before it is referenced, but we may want to 
check for and report at build time if possible. Would that be useful?

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list