diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2020-11-19 09:00:34 +0200 |
---|---|---|
committer | Hung-Te Lin <hungte@chromium.org> | 2020-12-11 07:32:36 +0000 |
commit | 254142a11df72092c2e381030884d07e5ada1133 (patch) | |
tree | c82a0ebd2e4abcfd16263def154b3aa23842575b /src/arch/x86 | |
parent | 70d608fc7077c2d34b7f44ef67176a051f0967da (diff) |
Drop many cases of .previous directive use
Since most assembly files are no longer concatenated together
but built separately, section changes with .previous at the
end of the files have become spurious.
TEST=BUILD_TIMELESS
Change-Id: I2970eed2b114a53475ba385eec4e97bb7ae7095c
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/47963
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/arch/x86')
-rw-r--r-- | src/arch/x86/c_start.S | 6 | ||||
-rw-r--r-- | src/arch/x86/id.S | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/src/arch/x86/c_start.S b/src/arch/x86/c_start.S index c46a45c729..a7af64f9bf 100644 --- a/src/arch/x86/c_start.S +++ b/src/arch/x86/c_start.S @@ -235,10 +235,4 @@ setCodeSelectorLongJump: # restore rsp, it might not have been 16-byte aligned on entry mov %rdx, %rsp ret - - .previous -.code64 -#else - .previous -.code32 #endif diff --git a/src/arch/x86/id.S b/src/arch/x86/id.S index 798b25d1f1..a7b4be7aa8 100644 --- a/src/arch/x86/id.S +++ b/src/arch/x86/id.S @@ -25,4 +25,3 @@ part: .globl __id_end __id_end: -.previous |