X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=arch%2Fx86%2Ftools%2Frelocs.c;h=5a1847d619306e5f0ed5ed5570c53c69a8ce2315;hb=9e74f218abd04dfa082391672295ecc1a3654845;hp=b685296d44641b091f5d9c565e7e596914e97d39;hpb=fb8b00675eb6462aacab56bca31ed6107bda5314;p=karo-tx-linux.git diff --git a/arch/x86/tools/relocs.c b/arch/x86/tools/relocs.c index b685296d4464..5a1847d61930 100644 --- a/arch/x86/tools/relocs.c +++ b/arch/x86/tools/relocs.c @@ -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. */