Menu

#257 ld - stm8 - NOLOAD segments are located incorrectly

None
closed-accepted
None
5
2016-01-03
2016-01-03
No

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

1 Attachments

Discussion

  • Philipp Klaus Krause

    • status: open --> closed-accepted
    • assigned_to: Philipp Klaus Krause
    • Group: -->
     
  • Philipp Klaus Krause

    Applied in revision [r9439].

    Philipp

     

    Last edit: Maarten Brock 2016-01-04

Log in to post a comment.