[2/2] scripts/head-object-list: remove x86 from the list

Message ID 20221031151047.167288-3-alexandr.lobakin@intel.com
State New
Headers
Series x86/boot: fix relying on link order |

Commit Message

Alexander Lobakin Oct. 31, 2022, 3:10 p.m. UTC
  Now that x86 boot code is not hardcoded to the particular linking
order, remove x86 files from the list and let them be placed inside
the vmlinux according only to the linker script and linker
preferences.

Signed-off-by: Alexander Lobakin <alexandr.lobakin@intel.com>
---
 scripts/head-object-list.txt | 6 ------
 1 file changed, 6 deletions(-)
  

Comments

Jiri Slaby Nov. 1, 2022, 6:39 a.m. UTC | #1
On 31. 10. 22, 16:10, Alexander Lobakin wrote:
> Now that x86 boot code is not hardcoded to the particular linking
> order, remove x86 files from the list and let them be placed inside
> the vmlinux according only to the linker script and linker
> preferences.
> 
> Signed-off-by: Alexander Lobakin <alexandr.lobakin@intel.com>

Tested-by: Jiri Slaby <jirislaby@kernel.org>

> ---
>   scripts/head-object-list.txt | 6 ------
>   1 file changed, 6 deletions(-)
> 
> diff --git a/scripts/head-object-list.txt b/scripts/head-object-list.txt
> index b16326a92c45..405d2942898a 100644
> --- a/scripts/head-object-list.txt
> +++ b/scripts/head-object-list.txt
> @@ -44,10 +44,4 @@ arch/s390/kernel/head64.o
>   arch/sh/kernel/head_32.o
>   arch/sparc/kernel/head_32.o
>   arch/sparc/kernel/head_64.o
> -arch/x86/kernel/head_32.o
> -arch/x86/kernel/head_64.o
> -arch/x86/kernel/head32.o
> -arch/x86/kernel/head64.o
> -arch/x86/kernel/ebda.o
> -arch/x86/kernel/platform-quirks.o
>   arch/xtensa/kernel/head.o
  

Patch

diff --git a/scripts/head-object-list.txt b/scripts/head-object-list.txt
index b16326a92c45..405d2942898a 100644
--- a/scripts/head-object-list.txt
+++ b/scripts/head-object-list.txt
@@ -44,10 +44,4 @@  arch/s390/kernel/head64.o
 arch/sh/kernel/head_32.o
 arch/sparc/kernel/head_32.o
 arch/sparc/kernel/head_64.o
-arch/x86/kernel/head_32.o
-arch/x86/kernel/head_64.o
-arch/x86/kernel/head32.o
-arch/x86/kernel/head64.o
-arch/x86/kernel/ebda.o
-arch/x86/kernel/platform-quirks.o
 arch/xtensa/kernel/head.o