Re: livepatch: reuse module loader code to write relocations
From: Jiri Kosina
Date: Mon Mar 21 2016 - 18:03:05 EST
On Mon, 21 Mar 2016, Josh Poimboeuf wrote:
> According to my test that still results in the literal value of
> "(64 - 8)".
Alright. But we should be able to special-case it with a two #if checks on
the __SIZEOF_LONG__ value and BUILD_BUG_ON() when __SIZEOF_LONG__ is not
of one of the ususal sizes.
Thanks,
--
Jiri Kosina
SUSE Labs