[all-commits] [llvm/llvm-project] 2c69f9: [llvm-objcopy] Preserve .ARM.attributes section wh...
James Henderson via All-commits
all-commits at lists.llvm.org
Thu Nov 7 17:53:41 PST 2019
Branch: refs/heads/release/9.x
Home: https://github.com/llvm/llvm-project
Commit: 2c69f98463a2cae9ea1f42285f6ac89b02dc8ec9
https://github.com/llvm/llvm-project/commit/2c69f98463a2cae9ea1f42285f6ac89b02dc8ec9
Author: James Henderson <jh7370 at my.bristol.ac.uk>
Date: 2019-11-07 (Thu, 07 Nov 2019)
Changed paths:
M llvm/docs/CommandGuide/llvm-objcopy.rst
A llvm/test/tools/llvm-objcopy/ELF/strip-preserve-arm-attributes.test
M llvm/tools/llvm-objcopy/ELF/ELFObjcopy.cpp
M llvm/tools/llvm-objcopy/ObjcopyOpts.td
M llvm/tools/llvm-objcopy/StripOpts.td
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.
(cherry picked from commit fb4a55010ee9bd03720609c8542f770775576fc8)
More information about the All-commits
mailing list