commit | a9b47fc32c0ec67dcdc85abc860406f666f66d74 | [log] [tgz] |
---|---|---|
author | Neil Armstrong <narmstrong@baylibre.com> | Mon Dec 18 12:30:04 2017 +0100 |
committer | Anas Nashif <nashif@linux.intel.com> | Wed Jan 17 08:00:45 2018 -0500 |
tree | f3621a8adf11586c8a533e7727f24f03d6e28ab9 | |
parent | 5e545e47fb1ea288d41503b2ceb3f513669c7f47 [diff] |
arm: cortex_m: linker.ld: fix relocate by moving _vector_start The _vector_start was placed before the CONFIG_TEXT_SECTION_OFFSET, thus adding the offset in the relocated vector table, making the table invalid when relocated with a non null CONFIG_TEXT_SECTION_OFFSET. This was tested using MCUboot with a 0x200 offset for the image header. Fixes: eb48a0a73c11 ("arm: armv6-m: Support relocating vector table") Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>