From 254142a11df72092c2e381030884d07e5ada1133 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Thu, 19 Nov 2020 09:00:34 +0200 Subject: Drop many cases of .previous directive use MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/47963 Tested-by: build bot (Jenkins) Reviewed-by: Arthur Heymans --- src/arch/arm/id.S | 1 - src/arch/arm64/id.S | 1 - src/arch/ppc64/bootblock.S | 1 - src/arch/x86/c_start.S | 6 ------ src/arch/x86/id.S | 1 - 5 files changed, 10 deletions(-) (limited to 'src/arch') 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 -- cgit v1.2.3