linux/arch/x86/boot/compressed
H. Peter Anvin 873b5271f8 x86: Regex support and known-movable symbols for relocs, fix _end
This adds a new category of symbols to the relocs program: symbols
which are known to be relative, even though the linker emits them as
absolute; this is the case for symbols that live in the linker script,
which currently applies to _end.

Unfortunately the previous workaround of putting _end in its own empty
section was defeated by newer binutils, which remove empty sections
completely.

This patch also changes the symbol matching to use regular expressions
instead of hardcoded C for specific patterns.

This is a decidedly non-minimal patch: a modified version of the
relocs program is used as part of the Syslinux build, and this 	is
basically a backport to Linux of some of those changes; they have
thus been well tested.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
LKML-Reference: <4AF86211.3070103@zytor.com>
Acked-by: Michal Marek <mmarek@suse.cz>
Tested-by: Sedat Dilek <sedat.dilek@gmail.com>
2009-12-14 13:55:20 -08:00
..
.gitignore x86, boot: add new generated files to the appropriate .gitignore files 2009-06-02 21:13:30 -07:00
head_32.S x86: convert compressed loader to use __HEAD and HEAD_TEXT macros. 2009-09-18 10:21:49 -07:00
head_64.S x86, boot: Simplify setting of the PAE bit 2009-10-24 11:06:38 +02:00
Makefile x86: add vmlinux.lds to targets in arch/x86/boot/compressed/Makefile 2009-08-20 16:08:58 -07:00
misc.c x86, boot: correct sanity checks in boot/compressed/misc.c 2009-05-12 11:33:08 -07:00
mkpiggy.c x86, boot: determine compressed code offset at compile time 2009-05-08 17:46:34 -07:00
relocs.c x86: Regex support and known-movable symbols for relocs, fix _end 2009-12-14 13:55:20 -08:00
vmlinux.lds.S x86: Eliminate redundant/contradicting cache line size config options 2009-11-19 04:58:34 +01:00