From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [103.22.144.67]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 073381A06F1 for ; Thu, 15 Oct 2015 22:10:59 +1100 (AEDT) In-Reply-To: <20151008102828.00e869dc@canb.auug.org.au> To: Stephen Rothwell , Benjamin Herrenschmidt , Paul Mackerras From: Michael Ellerman Cc: linuxppc-dev@lists.ozlabs.org Subject: Re: [FIX] powerpc: discard .exit.data at runtime Message-Id: <20151015111058.DEFED140770@ozlabs.org> Date: Thu, 15 Oct 2015 22:10:58 +1100 (AEDT) List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, 2015-07-10 at 23:28:28 UTC, Stephen Rothwell wrote: > .exit.text is discarded at run time and there are some references from > that to .exit.data, so we need to discard .exit.data at run time as well. > > Fixes these errors: > > `.exit.data' referenced in section `.exit.text' of drivers/built-in.o: defined in discarded section `.exit.data' of drivers/built-in.o > `.exit.data' referenced in section `.exit.text' of drivers/built-in.o: defined in discarded section `.exit.data' of drivers/built-in.o > > Signed-off-by: Stephen Rothwell Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/4c8123181d692c5b78650ee5 cheers