1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/test
Jordan Rupprecht bfa90beeef [llvm-objcopy] Use SHT_NOTE for added note sections.
Summary:
Fix llvm-objcopy to add .note sections as SHT_NOTEs. GNU objcopy overrides section flags for special sections. For `.note` sections (with the exception of `.note.GNU-stack`), SHT_NOTE is used.

Many other sections are special cased by libbfd, but `.note` is the only special section I can seem to find being used with objcopy --add-section.

See `.note` in context of the full list of special sections here: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob;f=bfd/elf.c;h=eb3e1828e9c651678b95a1dcbc3b124783d1d2be;hb=HEAD#l2675

Reviewers: jhenderson, alexshap, jakehehrlich, espindola

Reviewed By: jhenderson

Subscribers: emaste, arichardson, llvm-commits

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

llvm-svn: 351204
2019-01-15 16:57:23 +00:00
..
Analysis Remove irrelevant references to legacy git repositories from 2019-01-15 16:18:52 +00:00
Assembler Rename DIFlagFixedEnum to DIFlagEnumClass. NFC 2019-01-08 17:52:29 +00:00
Bindings
Bitcode Remove irrelevant references to legacy git repositories from 2019-01-15 16:18:52 +00:00
BugPoint
CodeGen [X86] Bailout of lowerVectorShuffleAsPermuteAndUnpack for shuffle-with-zero (PR40306) 2019-01-15 16:56:55 +00:00
DebugInfo Remove irrelevant references to legacy git repositories from 2019-01-15 16:18:52 +00:00
Demangle [llvm-undname] Add support for demangling msvc's noexcept types. 2019-01-08 21:05:51 +00:00
Examples
ExecutionEngine
Feature
FileCheck Fix defines.txt 2019-01-14 10:10:48 +00:00
Instrumentation [SanitizerCoverage][NFC] Use appendToUsed instead of include 2019-01-14 21:02:02 +00:00
Integer
JitListener
Linker Remove irrelevant references to legacy git repositories from 2019-01-15 16:18:52 +00:00
LTO [LTO] Record whether LTOUnit splitting is enabled in index 2019-01-11 18:31:57 +00:00
MC Remove irrelevant references to legacy git repositories from 2019-01-15 16:18:52 +00:00
Object
ObjectYAML [WebAssembly] Massive instruction renaming 2019-01-08 06:25:55 +00:00
Other
SafepointIRVerifier
SymbolRewriter
TableGen
ThinLTO/X86 [LTO] Record whether LTOUnit splitting is enabled in index 2019-01-11 18:31:57 +00:00
tools [llvm-objcopy] Use SHT_NOTE for added note sections. 2019-01-15 16:57:23 +00:00
Transforms Remove irrelevant references to legacy git repositories from 2019-01-15 16:18:52 +00:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg.py
lit.site.cfg.py.in
TestRunner.sh