From f9f34ebb0fa80a3055da1db36311547456b16114 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Tue, 8 May 2012 21:22:31 +0300 Subject: [PATCH] --- yaml --- r: 309147 b: refs/heads/master c: 2a6de3148cfd1a0240a85ea4a1cad34d250d882f h: refs/heads/master i: 309145: 91f99cfa8b829aac32c412fab57efe86a3c4f57b 309143: d7695033a89b2cb3702a181fb6a584dc2e85b278 v: v3 --- [refs] | 2 +- trunk/scripts/x86-relocs.c | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index fe1c23556317..731e691c92e5 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f156ffc439951b63cfa9f4d999a8d54267f13282 +refs/heads/master: 2a6de3148cfd1a0240a85ea4a1cad34d250d882f diff --git a/trunk/scripts/x86-relocs.c b/trunk/scripts/x86-relocs.c index 02914706e5b9..74e16bb15dc4 100644 --- a/trunk/scripts/x86-relocs.c +++ b/trunk/scripts/x86-relocs.c @@ -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. */