[all-commits] [llvm/llvm-project] 82c2fc: ELF: Respect MEMORY command when specified without...

pcc via All-commits all-commits at lists.llvm.org
Wed Mar 1 22:41:03 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 82c2fcffc27319ba4851783498de7c98335f306e
      https://github.com/llvm/llvm-project/commit/82c2fcffc27319ba4851783498de7c98335f306e
  Author: Peter Collingbourne <peter at pcc.me.uk>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M lld/ELF/Writer.cpp
    A lld/test/ELF/linkerscript/memory-no-sections.test

  Log Message:
  -----------
  ELF: Respect MEMORY command when specified without a SECTIONS command.

We were previously ignoring the MEMORY command unless SECTIONS was also
specified. Fix it.

Differential Revision: https://reviews.llvm.org/D145132




More information about the All-commits mailing list