SuccessChanges

Summary

  1. [llvm-objcopy] Allow strip symtab in executables and DSOs Re-commit of the patch after addressing -Wl,--emit-relocs case. Differential revision: https://reviews.llvm.org/D61672
  2. Fix gold-plugin Windows build r365588 missed one instance of integer file descriptor use in gold-plugin.cpp.
  3. [yaml2elf] - Treat the SHN_UNDEF section as kind of regular section. We have a logic that adds a few sections implicitly. Though the SHT_NULL section with section number 0 is an exception. In D64913 I want to teach yaml2obj to redefine the null section. And in this patch I add it to the sections list, to make it kind of a regular section. Differential revision: https://reviews.llvm.org/D65087
Revision 366787 by evgeny777:
[llvm-objcopy] Allow strip symtab in executables and DSOs

Re-commit of the patch after addressing -Wl,--emit-relocs case.
Differential revision: https://reviews.llvm.org/D61672
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/test/tools/llvm-objcopy/ELF/preserve-segment-contents-ehdr-phdrs.test (diff)llvm.src/test/tools/llvm-objcopy/ELF/preserve-segment-contents-ehdr-phdrs.test
The file was modified/llvm/trunk/test/tools/llvm-objcopy/ELF/remove-multiple-sections.test (diff)llvm.src/test/tools/llvm-objcopy/ELF/remove-multiple-sections.test
The file was modified/llvm/trunk/test/tools/llvm-objcopy/ELF/segment-shift-section-remove.test (diff)llvm.src/test/tools/llvm-objcopy/ELF/segment-shift-section-remove.test
The file was modified/llvm/trunk/test/tools/llvm-objcopy/ELF/segment-test-remove-section.test (diff)llvm.src/test/tools/llvm-objcopy/ELF/segment-test-remove-section.test
The file was added/llvm/trunk/test/tools/llvm-objcopy/ELF/strip-unneeded-all-symbols.testllvm.src/test/tools/llvm-objcopy/ELF/strip-unneeded-all-symbols.test
The file was modified/llvm/trunk/tools/llvm-objcopy/ELF/ELFObjcopy.cpp (diff)llvm.src/tools/llvm-objcopy/ELF/ELFObjcopy.cpp
The file was modified/llvm/trunk/tools/llvm-objcopy/ELF/Object.cpp (diff)llvm.src/tools/llvm-objcopy/ELF/Object.cpp
The file was modified/llvm/trunk/tools/llvm-objcopy/ELF/Object.h (diff)llvm.src/tools/llvm-objcopy/ELF/Object.h
Revision 366786 by kongyi:
Fix gold-plugin Windows build

r365588 missed one instance of integer file descriptor use in
gold-plugin.cpp.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/tools/gold/gold-plugin.cpp (diff)llvm.src/tools/gold/gold-plugin.cpp
Revision 366785 by grimar:
[yaml2elf] - Treat the SHN_UNDEF section as kind of regular section.

We have a logic that adds a few sections implicitly.
Though the SHT_NULL section with section number 0
is an exception.

In D64913 I want to teach yaml2obj to redefine the null section.
And in this patch I add it to the sections list,
to make it kind of a regular section.

Differential revision: https://reviews.llvm.org/D65087
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/test/tools/yaml2obj/duplicate-section-names.test (diff)llvm.src/test/tools/yaml2obj/duplicate-section-names.test
The file was modified/llvm/trunk/tools/yaml2obj/yaml2elf.cpp (diff)llvm.src/tools/yaml2obj/yaml2elf.cpp