[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20160706.184929.373589229424928717.davem@davemloft.net>
Date: Wed, 06 Jul 2016 18:49:29 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jbaron@...mai.com
Cc: akpm@...ux-foundation.org, joe@...ches.com, peterz@...radead.org,
linux-kernel@...r.kernel.org, sparclinux@...r.kernel.org
Subject: Re: [PATCH v3 3/7] sparc: support static_key usage in non-module
__exit sections
From: Jason Baron <jbaron@...mai.com>
Date: Wed, 6 Jul 2016 17:42:32 -0400
> The jump table can reference text found in an __exit section. Thus,
> instead of discarding it at build/link time, include EXIT_TEXT as part
> of __init and release it at system boot time.
>
> Without this patch the link fails with:
>
> `.exit.text' referenced in section `__jump_table' of xxx.o:
> defined in discarded section `.exit.text' of xxx.o
>
> Cc: "David S. Miller" <davem@...emloft.net>
> Cc: sparclinux@...r.kernel.org
> Signed-off-by: Jason Baron <jbaron@...mai.com>
Acked-by: David S. Miller <davem@...emloft.net>
Powered by blists - more mailing lists