summaryrefslogtreecommitdiffstats
path: root/src/lib/program.ld
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2022-05-12 18:01:13 +0200
committerJulius Werner <jwerner@chromium.org>2022-05-16 21:52:22 +0000
commit6acc05ed310fcd81bea9288df8c4cb4471a8bbbe (patch)
treed5a360b1cb9d34d75ac279ce18e474cc64bbc9c4 /src/lib/program.ld
parent94223c41657fa604ff75ce2790504765c8a04713 (diff)
downloadcoreboot-6acc05ed310fcd81bea9288df8c4cb4471a8bbbe.tar.gz
coreboot-6acc05ed310fcd81bea9288df8c4cb4471a8bbbe.tar.bz2
coreboot-6acc05ed310fcd81bea9288df8c4cb4471a8bbbe.zip
rules.h: Use more consistent naming
Use 'ENV' consistently and drop the redundant 'STAGE' in the naming. Change-Id: I51f2a7e70eefad12aa214e92f23e5fd2edf46698 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/64296 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Raul Rangel <rrangel@chromium.org>
Diffstat (limited to 'src/lib/program.ld')
-rw-r--r--src/lib/program.ld4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/program.ld b/src/lib/program.ld
index 1c5cda40e14b..a6d62cb554cc 100644
--- a/src/lib/program.ld
+++ b/src/lib/program.ld
@@ -72,7 +72,7 @@
#endif
/* Include data, bss, and heap in that order. Not defined for all stages. */
-#if ENV_STAGE_HAS_DATA_SECTION
+#if ENV_HAS_DATA_SECTION
.data . : {
. = ALIGN(ARCH_CACHELINE_ALIGN_SIZE);
_data = .;
@@ -130,7 +130,7 @@
}
#endif
-#if ENV_STAGE_HAS_HEAP_SECTION
+#if ENV_HAS_HEAP_SECTION
.heap . : {
. = ALIGN(ARCH_POINTER_ALIGN_SIZE);
_heap = .;