diff options
author | Nico Huber <nico.h@gmx.de> | 2019-07-08 22:11:52 +0200 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2019-07-09 10:42:08 +0000 |
commit | 45564050ec00b6d4b2c5b27cf26a56b46db8df1c (patch) | |
tree | 13996ab4521ccb847d5b35d4ae05b588dfeb062d /src | |
parent | 674bb3bf65635cc08730be298eeee540efc899bd (diff) | |
download | coreboot-45564050ec00b6d4b2c5b27cf26a56b46db8df1c.tar.xz |
crossgcc: Fix runtime initialization of a constant
GNAT had a constant initialized at runtime which led to trouble
with compilers that decided to place it into an actual constant
section (e.g. GCC 9). Usually, this would be handled gracefully
if the Ada compiler knew about the runtime initialization. How-
ever, as the initialization was done by taking the address of
the variable, the compiler had no clue.
Change-Id: I73ce4cadc612c814ed2e22b44f429af2ad3db288
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/34147
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions