[all-commits] [llvm/llvm-project] ede600: [AVR] Explicitly set the address of the data secti...

Dylan McKay via All-commits all-commits at lists.llvm.org
Sun May 17 07:26:40 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ede6005e7092ddae454e4d365d8adefeaec1f5e3
      https://github.com/llvm/llvm-project/commit/ede6005e7092ddae454e4d365d8adefeaec1f5e3
  Author: Dylan McKay <me at dylanmckay.io>
  Date:   2020-05-18 (Mon, 18 May 2020)

  Changed paths:
    M clang/lib/Driver/ToolChains/AVR.cpp

  Log Message:
  -----------
  [AVR] Explicitly set the address of the data section when invoking the linker

This is required to get avr-gdb correctly showing values at the right
addresses. This problem was discovered by using debug symbols in an
external program to lookup values in an AVR simulator.




More information about the All-commits mailing list