summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2020-11-19 09:00:34 +0200
committerHung-Te Lin <hungte@chromium.org>2020-12-11 07:32:36 +0000
commit254142a11df72092c2e381030884d07e5ada1133 (patch)
treec82a0ebd2e4abcfd16263def154b3aa23842575b
parent70d608fc7077c2d34b7f44ef67176a051f0967da (diff)
downloadcoreboot-254142a11df72092c2e381030884d07e5ada1133.tar.xz
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>
-rw-r--r--src/arch/arm/id.S1
-rw-r--r--src/arch/arm64/id.S1
-rw-r--r--src/arch/ppc64/bootblock.S1
-rw-r--r--src/arch/x86/c_start.S6
-rw-r--r--src/arch/x86/id.S1
-rw-r--r--src/cpu/intel/fit/fit.S2
6 files changed, 0 insertions, 12 deletions
diff --git a/src/arch/arm/id.S b/src/arch/arm/id.S
index 3d3df9643a..a8f7a797f1 100644
--- a/src/arch/arm/id.S
+++ b/src/arch/arm/id.S
@@ -19,4 +19,3 @@ part:
.globl __id_end
__id_end:
-.previous
diff --git a/src/arch/arm64/id.S b/src/arch/arm64/id.S
index 3d3df9643a..a8f7a797f1 100644
--- a/src/arch/arm64/id.S
+++ b/src/arch/arm64/id.S
@@ -19,4 +19,3 @@ part:
.globl __id_end
__id_end:
-.previous
diff --git a/src/arch/ppc64/bootblock.S b/src/arch/ppc64/bootblock.S
index 106c61ad95..8b66fcdfbd 100644
--- a/src/arch/ppc64/bootblock.S
+++ b/src/arch/ppc64/bootblock.S
@@ -31,4 +31,3 @@ part:
.globl __id_end
__id_end:
-.previous
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
diff --git a/src/cpu/intel/fit/fit.S b/src/cpu/intel/fit/fit.S
index 3b7396c5ce..afecacdcd8 100644
--- a/src/cpu/intel/fit/fit.S
+++ b/src/cpu/intel/fit/fit.S
@@ -6,7 +6,6 @@
fit_pointer:
.long fit_table
.long 0
-.previous
.section .text
.align 16
@@ -29,4 +28,3 @@ fit_table:
.byte 0x7d
.fill CONFIG_CPU_INTEL_NUM_FIT_ENTRIES*16
fit_table_end:
-.previous