[all-commits] [llvm/llvm-project] 3439d4: [yaml2obj] - Change the order of implicitly create...

Georgii Rymar via All-commits all-commits at lists.llvm.org
Wed Feb 19 04:09:56 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3439d4ee0e4cb51098f019221143fcc22928bce4
      https://github.com/llvm/llvm-project/commit/3439d4ee0e4cb51098f019221143fcc22928bce4
  Author: Georgii Rymar <grimar at accesssoftek.com>
  Date:   2020-02-19 (Wed, 19 Feb 2020)

  Changed paths:
    M llvm/lib/ObjectYAML/ELFEmitter.cpp
    M llvm/test/tools/llvm-objcopy/ELF/add-symbol-no-symtab.test
    M llvm/test/tools/llvm-readobj/ELF/dynamic-reloc-no-section-headers.test
    M llvm/test/tools/llvm-readobj/ELF/hidden-versym.test
    M llvm/test/tools/llvm-readobj/ELF/reloc-symbol-with-versioning.test
    M llvm/test/tools/llvm-readobj/ELF/verdef-invalid.test
    M llvm/test/tools/llvm-readobj/ELF/verneed-invalid.test
    M llvm/test/tools/llvm-readobj/ELF/versioninfo.test
    M llvm/test/tools/llvm-readobj/ELF/versym-invalid.test
    M llvm/test/tools/yaml2obj/ELF/dynamic-symbols.yaml
    M llvm/test/tools/yaml2obj/ELF/gnu-hash-section.yaml
    M llvm/test/tools/yaml2obj/ELF/implicit-sections-info.yaml
    M llvm/test/tools/yaml2obj/ELF/implicit-sections-types.yaml

  Log Message:
  -----------
  [yaml2obj] - Change the order of implicitly created sections.

.dynsym and .dynstr are allocatable and therefore normally are placed
before non-allocatable .strtab, .shstrtab, .symtab sections.
But we are placing them after currently what creates a mix of
alloc/non-alloc sections and does not look normal.

Differential revision: https://reviews.llvm.org/D74756




More information about the All-commits mailing list