[all-commits] [llvm/llvm-project] 9da896: [llvm-objcopy][ObjectYAML][mips] Add MIPS specific...

Anubhab Ghosh via All-commits all-commits at lists.llvm.org
Wed May 25 09:01:24 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9da89651a8d551970c6a97d1b4f70675ba484b2f
      https://github.com/llvm/llvm-project/commit/9da89651a8d551970c6a97d1b4f70675ba484b2f
  Author: Anubhab Ghosh <anubhabghosh.me at gmail.com>
  Date:   2022-05-25 (Wed, 25 May 2022)

  Changed paths:
    M llvm/include/llvm/BinaryFormat/ELF.h
    M llvm/lib/ObjCopy/ELF/ELFObject.cpp
    M llvm/lib/ObjCopy/ELF/ELFObject.h
    M llvm/lib/ObjectYAML/ELFYAML.cpp
    R llvm/test/tools/llvm-objcopy/ELF/hexagon-unsupported-on-x86.test
    A llvm/test/tools/llvm-objcopy/ELF/mips-symbol.test
    A llvm/test/tools/llvm-objcopy/ELF/unsupported-machine-specific-shndx.test
    M llvm/test/tools/obj2yaml/ELF/special-symbol-indices.yaml

  Log Message:
  -----------
  [llvm-objcopy][ObjectYAML][mips] Add MIPS specific ELF section indexes

This fixes https://github.com/llvm/llvm-project/issues/53998
and displays correct information in obj2yaml for SHN_MIPS_*
sections according to
https://refspecs.linuxfoundation.org/elf/mipsabi.pdf

Reviewed By: jhenderson, MaskRay

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




More information about the All-commits mailing list