CAR_GLOBAL: enforce compiler to check if _start != _end
There are some fun rules C compilers can use to optimize their code.
One of them is the assumption that two symbols point to two different
In this case this wasn't true, resulting in unintended code execution
(and later, a crash) with a clang build.
Signed-off-by: Patrick Georgi <email@example.com>
Signed-off-by: Edward O'Callaghan <firstname.lastname@example.org>
Tested-by: build bot (Jenkins)
2 files changed