diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-08-20 06:01:57 +0300 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-08-26 20:56:29 +0000 |
commit | 117cf2bdcbbadb3b30c9c250130f82f5e6edc236 (patch) | |
tree | b6b3ebea04e865439082118a2c5b90aec2f342c1 /toolchain.inc | |
parent | f2cc52b694d610ffc4f1edc347bf38caec2e31b6 (diff) | |
download | coreboot-117cf2bdcbbadb3b30c9c250130f82f5e6edc236.tar.gz coreboot-117cf2bdcbbadb3b30c9c250130f82f5e6edc236.tar.bz2 coreboot-117cf2bdcbbadb3b30c9c250130f82f5e6edc236.zip |
Split MAYBE_STATIC to _BSS and _NONZERO variants
These are required to cover the absensce of .data and
.bss sections in some programs, most notably ARCH_X86
in execute-in-place with cache-as-ram.
Change-Id: I80485ebac94b88c5864a949b17ad1dccdfda6a40
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/35003
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'toolchain.inc')
-rw-r--r-- | toolchain.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolchain.inc b/toolchain.inc index 875cb203873a..4c0408ccfda7 100644 --- a/toolchain.inc +++ b/toolchain.inc @@ -72,7 +72,7 @@ CFLAGS_ppc64 += # stack use, we use 1.5K as heuristic, assuming that we typically have lots # of tiny stack frames and the odd large one. # -# Store larger buffers in BSS, use MAYBE_STATIC to share code with __PRE_RAM__ +# Store larger buffers in BSS, use MAYBE_STATIC_BSS to share code with __PRE_RAM__ # on x86. # Since GCCs detection of dynamic array bounds unfortunately seems to be # very basic, you'll sometimes have to use a static upper bound for the |