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.

Change-Id: I1496b22e1d1869ed0610e321b6ec6a83252e9d8b
Signed-off-by: Patrick Georgi <>
Signed-off-by: Edward O'Callaghan <>
Tested-by: build bot (Jenkins)
2 files changed