Re: [PATCH] x86: introduce push/pop macros which generate CFI_REL_OFFSET and CFI_RESTORE
From: Andy Lutomirski
Date: Wed Feb 11 2015 - 15:24:27 EST
On Sun, Jan 11, 2015 at 3:07 PM, Denys Vlasenko <dvlasenk@xxxxxxxxxx> wrote:
> Sequences
> pushl_cfi %reg
> CFI_REL_OFFSET reg, 0
> and
> popl_cfi %reg
> CFI_RESTORE reg
> happen quite often. This patch adds macros which generate them.
>
> No assembly changes (verified with objdump -dr vmlinux.o).
Applied as-is. I'm sure that there's an even better way to do this,
but I think that this patch is a clear improvement.
--Andy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/