[all-commits] [llvm/llvm-project] a85165: [ELF][test] Make tests less address sensitive and ...

Matt Schulte via All-commits all-commits at lists.llvm.org
Tue Jun 16 19:46:10 PDT 2020


  Branch: refs/heads/release/10.x
  Home:   https://github.com/llvm/llvm-project
  Commit: a85165ccb9cf05a31a9e33defdd9baff5a6d55f7
      https://github.com/llvm/llvm-project/commit/a85165ccb9cf05a31a9e33defdd9baff5a6d55f7
  Author: Fangrui Song <maskray at google.com>
  Date:   2020-06-16 (Tue, 16 Jun 2020)

  Changed paths:
    R lld/test/ELF/linkerscript/at-self-reference.s
    M lld/test/ELF/linkerscript/common-assign.s
    M lld/test/ELF/linkerscript/double-bss.test
    M lld/test/ELF/linkerscript/merge-sections-syms.s
    M lld/test/ELF/linkerscript/noload.s
    M lld/test/ELF/linkerscript/rosegment.test
    M lld/test/ELF/many-alloc-sections.s

  Log Message:
  -----------
  [ELF][test] Make tests less address sensitive and delete redundant tests

(cherry picked from commit 09ac859c136b406231ef7547f3800111dd00bc7e)


  Commit: b980cc1cd3200dbf7603c7dd04335165b7578baa
      https://github.com/llvm/llvm-project/commit/b980cc1cd3200dbf7603c7dd04335165b7578baa
  Author: Matt Schulte <schultetwin1 at gmail.com>
  Date:   2020-06-16 (Tue, 16 Jun 2020)

  Changed paths:
    M lld/ELF/ScriptParser.cpp
    M lld/test/ELF/linkerscript/noload.s

  Log Message:
  -----------
  [lld][ELF] Mark empty NOLOAD output sections SHT_NOBITS instead of SHT_PROGBITS

This fixes PR# 45336.
Output sections described in a linker script as NOLOAD with no input sections would be marked as SHT_PROGBITS.

Reviewed By: MaskRay

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

(cherry picked from commit fdc41aa22c60958e6b6df461174b814a4aae3384)


Compare: https://github.com/llvm/llvm-project/compare/ea65b89665c7...b980cc1cd320


More information about the All-commits mailing list