Files
system76-coreboot/src/lib
Julius Werner 644a512e56 symbols: Change implementation details of DECLARE_OPTIONAL_REGION()
It seems that GCC's LTO doesn't like the way we implement
DECLARE_OPTIONAL_REGION(). This patch changes it so that rather than
having a normal DECLARE_REGION() in <symbols.h> and then an extra
DECLARE_OPTIONAL_REGION() in the C file using it, you just say
DECLARE_OPTIONAL_REGION() directly in <symbols.h> (in place and instead
of the usual DECLARE_REGION()). This basically looks the same way in the
resulting object file but somehow LTO seems to like it better.

Signed-off-by: Julius Werner <jwerner@chromium.org>
Change-Id: I6096207b311d70c8e9956cd9406bec45be04a4a2
Reviewed-on: https://review.coreboot.org/c/coreboot/+/44791
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Jacob Garber <jgarber1@ualberta.ca>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
2020-08-27 22:11:17 +00:00
..
2019-02-06 16:20:35 +00:00
2017-03-09 17:30:21 +01:00
2020-06-17 21:13:09 +00:00
2020-08-03 10:36:00 +00:00
2017-03-13 15:46:02 +01:00
2020-07-28 10:37:28 +00:00
2020-07-09 23:50:51 +00:00
2017-03-13 17:21:02 +01:00
2017-03-09 17:30:21 +01:00
2009-01-20 21:40:16 +00:00
2017-03-09 17:30:21 +01:00
2009-01-20 21:40:16 +00:00
2018-08-10 21:25:53 +00:00
2020-07-14 16:10:17 +00:00