mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-24 17:59:32 +00:00
x86, realmode: Allow absolute pa_* symbols in the realmode code
Allow pa_* symbols to be absolute (outside any section) in the realmode linker script. Some versions of GNU ld are known to be unhappy about symbols defined in a section that is otherwise empty. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com> Link: http://lkml.kernel.org/r/1336501366-28617-9-git-send-email-jarkko.sakkinen@intel.com
This commit is contained in:
parent
f156ffc439
commit
2a6de3148c
1 changed files with 7 additions and 0 deletions
|
@ -61,6 +61,13 @@ static const char * const sym_regex_kernel[S_NSYMTYPES] = {
|
|||
|
||||
|
||||
static const char * const sym_regex_realmode[S_NSYMTYPES] = {
|
||||
/*
|
||||
* These symbols are known to be relative, even if the linker marks them
|
||||
* as absolute (typically defined outside any section in the linker script.)
|
||||
*/
|
||||
[S_REL] =
|
||||
"^pa_",
|
||||
|
||||
/*
|
||||
* These are 16-bit segment symbols when compiling 16-bit code.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue