Hello SDCC team,
The STM8 linker put all NOLOAD segments at the wrong adress. They should be at address zero like with 6808. This causes .debug_x segments to be located incorrectly which objdump complains about.
Adding a check for STM8 alongside the 6808 check for NOLOAD segments fixes this.
Thanks,
/pedro
Applied in revision [r9439].
Philipp
Last edit: Maarten Brock 2016-01-04