]> Pileus Git - ~andy/linux/blobdiff - arch/x86/tools/relocs.c
Merge branch 'x86-trampoline-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[~andy/linux] / arch / x86 / tools / relocs.c
index b685296d44641b091f5d9c565e7e596914e97d39..5a1847d619306e5f0ed5ed5570c53c69a8ce2315 100644 (file)
@@ -77,6 +77,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.
  */