Re: [PATCH] Add __discard section to x86

H. Peter Anvin
2007-11-14T19:37:59Z

Mathieu Desnoyers wrote:
> Add a __discard sectionto the linker script. Code produced in this section will
> not be put in the vmlinux file. This is useful when we have to calculate the
> size of an instruction before actually declaring it (for alignment purposes for
> instance). This is used by the immediate values.
>
> Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
> CC: Andi Kleen <ak@muc.de>
> CC: "H. Peter Anvin" <hpa@zytor.com>
> CC: Chuck Ebbert <cebbert@redhat.com>
> CC: Christoph Hellwig <hch@infradead.org>
> CC: Jeremy Fitzhardinge <jeremy@goop.org>
> CC: Thomas Gleixner <tglx@linutronix.de>
> CC: Ingo Molnar <mingo@redhat.com>

Acked-by: H. Peter Anvin <hpa@zytor.com>