diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2009-03-17 15:26:06 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2009-03-17 15:26:06 -0700 |
commit | be721696cac9d66566d59b205ee573ecb2f7c35b (patch) | |
tree | 8ec1fd9f5acfbea154f2e6012227b0507db9d687 /arch/x86/boot/setup.ld | |
parent | 0ca0f16fd17c5d880dd0abbe03595b0c7c5b3c95 (diff) | |
download | kernel_samsung_smdk4412-be721696cac9d66566d59b205ee573ecb2f7c35b.tar.gz kernel_samsung_smdk4412-be721696cac9d66566d59b205ee573ecb2f7c35b.tar.bz2 kernel_samsung_smdk4412-be721696cac9d66566d59b205ee573ecb2f7c35b.zip |
x86, setup: move 32-bit code to .text32
Impact: cleanup
The setup code is mostly 16-bit code, but there is a small stub of
32-bit code at the end. Move the 32-bit code to a separate segment,
.text32, to avoid scrambling the disassembly.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/boot/setup.ld')
-rw-r--r-- | arch/x86/boot/setup.ld | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/boot/setup.ld b/arch/x86/boot/setup.ld index df9234b3a5e..bb8dc2de796 100644 --- a/arch/x86/boot/setup.ld +++ b/arch/x86/boot/setup.ld @@ -17,7 +17,8 @@ SECTIONS .header : { *(.header) } .inittext : { *(.inittext) } .initdata : { *(.initdata) } - .text : { *(.text*) } + .text : { *(.text) } + .text32 : { *(.text32) } . = ALIGN(16); .rodata : { *(.rodata*) } |