1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/test/tools
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
..
dsymutil [dsymutil] Upstream unobfuscation logic. 2019-01-07 23:27:25 +00:00
gold Remove irrelevant references to legacy git repositories from 2019-01-15 16:18:52 +00:00
llvm-ar [llvm-ar] Temporarily remove failing test which is breaking buildbots 2019-01-14 21:58:15 +00:00
llvm-cfi-verify
llvm-config [gn build] Commit change that should have been in r350410. 2019-01-04 17:26:05 +00:00
llvm-cov
llvm-cvtres
llvm-cxxdump [llvm-cxxdump] Use error reporting helpers from support 2018-11-11 01:24:02 +00:00
llvm-cxxfilt
llvm-cxxmap
llvm-diff
llvm-dlltool
llvm-dwarfdump llvm-dwarfdump: Skip address index info (and dump only the address, if found) when non-verbose dumping addrx forms 2018-12-24 06:52:31 +00:00
llvm-dwp
llvm-elfabi [elfabi] Add option to manually specify file read format 2019-01-07 17:33:10 +00:00
llvm-exegesis [llvm-exegesis] Also check latency mode in local lit. 2018-12-10 07:29:47 +00:00
llvm-extract
llvm-isel-fuzzer
llvm-lib
llvm-lit
llvm-lto
llvm-lto2
llvm-mc
llvm-mca [llvm-mca] Update tests for Exynos (NFC) 2019-01-11 19:36:27 +00:00
llvm-modextract
llvm-mt
llvm-nm [llvm-nm] Add --portability as alias for --format=posix 2019-01-07 14:12:51 +00:00
llvm-objcopy [llvm-objcopy] Use SHT_NOTE for added note sections. 2019-01-15 16:57:23 +00:00
llvm-objdump Remove irrelevant references to legacy git repositories from 2019-01-15 16:18:52 +00:00
llvm-opt-fuzzer
llvm-opt-report
llvm-pdbdump
llvm-profdata [llvm-profdata] add value-cutoff functionality in show command 2019-01-08 22:41:48 +00:00
llvm-rc [llvm-rc] Support not expressions. 2018-12-05 13:22:56 +00:00
llvm-readobj [llvm-readobj] Don't print '@' at end of unversioned dynsym names 2019-01-08 10:58:05 +00:00
llvm-size [llvm-size][libobject] Add explicit "inTextSegment" methods similar to "isText" section methods to calculate size correctly. 2018-12-13 19:40:12 +00:00
llvm-split
llvm-strings
llvm-symbolizer [llvm-symbolizer] Add -addresses, -a as aliases for -print-address 2019-01-14 10:10:51 +00:00
llvm-xray/X86 [llvm-xray] Support for PIE 2018-12-14 01:37:56 +00:00
lto
obj2yaml
opt-viewer
sancov
sanstats [cfi] Help sanstats to find binary if they are not at the original location 2018-11-26 21:48:55 +00:00
yaml2obj [ObjectYAML] [COFF] Support multiple symbols with the same name 2019-01-07 20:55:33 +00:00