diff options
author | Jordan Rupprecht <rupprecht@google.com> | 2019-04-02 16:49:56 +0000 |
---|---|---|
committer | Jordan Rupprecht <rupprecht@google.com> | 2019-04-02 16:49:56 +0000 |
commit | 017deaf1ae3aa84211a416a37e2c895a18c2a5e3 (patch) | |
tree | 21eab025bd9e13e8fd5bf324afb2a48ee8436bf9 /lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp | |
parent | 5050586860140b55a0cc68c77dd1438f44a23ca5 (diff) | |
download | bcm5719-llvm-017deaf1ae3aa84211a416a37e2c895a18c2a5e3.tar.gz bcm5719-llvm-017deaf1ae3aa84211a416a37e2c895a18c2a5e3.zip |
[llvm-objcopy] Change SHT_NOBITS to SHT_PROBITS for some --set-section-flags
Summary:
Some flags accepted by --set-section-flags and --rename-section can change a SHT_NOBITS section to a SHT_PROGBITS section. Note that none of them can change a SHT_PROGBITS to SHT_NOBITS.
The full list (found via experimentation of individually setting each flag) that does this is: contents, load, noload, code, data, rom, and debug.
This was found by testing llvm-objcopy with the gnu binutils test suite, specifically this test case: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob;f=binutils/testsuite/binutils-all/copy-1.d;h=f2b0d9e90df738c2891b4d5c7b62f62894b556ca;hb=HEAD
Reviewers: jhenderson, grimar, jakehehrlich, alexshap, espindola
Reviewed By: jhenderson
Subscribers: emaste, arichardson, MaskRay, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D59958
llvm-svn: 357492
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp')
0 files changed, 0 insertions, 0 deletions