
4 Apr
2023
4 Apr
'23
8:47 p.m.
On Tue, Mar 28, 2023 at 02:54:51PM -0400, Tom Rini wrote:
Per the GCC bug listed below, the way we do linker lists is relying on undefined behavior that seems to work in gcc, but doesn't always work in clang. Andrew suggests rewriting our start/end macros in a different way (as implemented here, from what he said in comment 1) to avoid these problems.
Reported-by: AdityaK appujee@google.com Suggested-by: Andrew Pinski apinski@marvell.com Link: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108915 Signed-off-by: Tom Rini trini@konsulko.com Reviewed-by: Simon Glass sjg@chromium.org Reviewed-by: Andrew Pinski apinski@marvell.com
Applied to u-boot/master, thanks!
--
Tom