[all-commits] [llvm/llvm-project] fb4a55: [llvm-objcopy] Preserve .ARM.attributes section wh...

James Henderson via All-commits all-commits at lists.llvm.org
Thu Oct 31 04:58:30 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: fb4a55010ee9bd03720609c8542f770775576fc8
      https://github.com/llvm/llvm-project/commit/fb4a55010ee9bd03720609c8542f770775576fc8
  Author: James Henderson <jh7370 at my.bristol.ac.uk>
  Date:   2019-10-31 (Thu, 31 Oct 2019)

  Changed paths:
    M llvm/docs/CommandGuide/llvm-objcopy.rst
    M llvm/docs/CommandGuide/llvm-strip.rst
    A llvm/test/tools/llvm-objcopy/ELF/strip-preserve-arm-attributes.test
    M llvm/tools/llvm-objcopy/CommonOpts.td
    M llvm/tools/llvm-objcopy/ELF/ELFObjcopy.cpp

  Log Message:
  -----------
  [llvm-objcopy] Preserve .ARM.attributes section when stripping files

This works around a bug in Debian's patchset for glibc. The bug is
described in detail in the upstream debian bug:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=943798, but the short
version of it is that glibc on any Debian based distro don't load
libraries unless it has a .ARM.attribute section.

Reviewed by: jhenderson, rupprecht, MaskRay, jakehehrlich

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

Patch by Tobias Hieta.




More information about the All-commits mailing list