Hung-Te Lin has submitted this change. ( https://review.coreboot.org/c/coreboot/+/47963 )
Change subject: Drop many cases of .previous directive use ......................................................................
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 --- M src/arch/arm/id.S M src/arch/arm64/id.S M src/arch/ppc64/bootblock.S M src/arch/x86/c_start.S M src/arch/x86/id.S M src/cpu/intel/fit/fit.S 6 files changed, 0 insertions(+), 12 deletions(-)
Approvals: build bot (Jenkins): Verified Arthur Heymans: Looks good to me, approved
diff --git a/src/arch/arm/id.S b/src/arch/arm/id.S index 3d3df96..a8f7a79 100644 --- a/src/arch/arm/id.S +++ b/src/arch/arm/id.S @@ -19,4 +19,3 @@ .globl __id_end
__id_end: -.previous diff --git a/src/arch/arm64/id.S b/src/arch/arm64/id.S index 3d3df96..a8f7a79 100644 --- a/src/arch/arm64/id.S +++ b/src/arch/arm64/id.S @@ -19,4 +19,3 @@ .globl __id_end
__id_end: -.previous diff --git a/src/arch/ppc64/bootblock.S b/src/arch/ppc64/bootblock.S index 106c61a..8b66fcd 100644 --- a/src/arch/ppc64/bootblock.S +++ b/src/arch/ppc64/bootblock.S @@ -31,4 +31,3 @@ .globl __id_end
__id_end: -.previous diff --git a/src/arch/x86/c_start.S b/src/arch/x86/c_start.S index c46a45c..a7af64f 100644 --- a/src/arch/x86/c_start.S +++ b/src/arch/x86/c_start.S @@ -235,10 +235,4 @@ # 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 798b25d..a7b4be7 100644 --- a/src/arch/x86/id.S +++ b/src/arch/x86/id.S @@ -25,4 +25,3 @@ .globl __id_end
__id_end: -.previous diff --git a/src/cpu/intel/fit/fit.S b/src/cpu/intel/fit/fit.S index 3b7396c..afecacd 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 @@ .byte 0x7d .fill CONFIG_CPU_INTEL_NUM_FIT_ENTRIES*16 fit_table_end: -.previous