From f2cc52b694d610ffc4f1edc347bf38caec2e31b6 Mon Sep 17 00:00:00 2001 From: Kyösti Mälkki Date: Wed, 21 Aug 2019 07:15:38 +0300 Subject: Move and rename ARCH_STAGE_HAS_xxx_SECTION rules MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Currently only x86 requires special handling here, for simplicity avoid introducing and deal with this directly in . For consistency prefixes are changed from ARCH_ to ENV_. Change-Id: I95a56dbad3482202f6cc03043589bebfb13c39af Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/coreboot/+/35014 Tested-by: build bot (Jenkins) Reviewed-by: Julius Werner --- src/lib/program.ld | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lib/program.ld') diff --git a/src/lib/program.ld b/src/lib/program.ld index 851aa75d67..1b30c0ebb6 100644 --- a/src/lib/program.ld +++ b/src/lib/program.ld @@ -85,7 +85,7 @@ #endif /* Include data, bss, and heap in that order. Not defined for all stages. */ -#if ARCH_STAGE_HAS_DATA_SECTION +#if ENV_STAGE_HAS_DATA_SECTION .data . : { . = ALIGN(ARCH_CACHELINE_ALIGN_SIZE); _data = .; @@ -125,7 +125,7 @@ } #endif -#if ARCH_STAGE_HAS_BSS_SECTION +#if ENV_STAGE_HAS_BSS_SECTION .bss . : { . = ALIGN(ARCH_POINTER_ALIGN_SIZE); _bss = .; @@ -138,7 +138,7 @@ } #endif -#if ARCH_STAGE_HAS_HEAP_SECTION +#if ENV_STAGE_HAS_HEAP_SECTION .heap . : { . = ALIGN(ARCH_POINTER_ALIGN_SIZE); _heap = .; -- cgit v1.2.3