From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Sat, 08 Jan 2011 13:18:02 +0100 Subject: [U-Boot] [PATCH RFC] armv7: fixloop: don't fixup if location is NULL In-Reply-To: <4D284156.90305@free.fr> References: <4D186A13.4080004@samsung.com> <24AA7201-FEC9-4485-837F-52CF0CBD06C4@googlemail.com> <4D284156.90305@free.fr> Message-ID: <4D2855FA.6070101@free.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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.