[PATCH] D52180: [llvm-objcopy] Change --only-keep to --only-sections

Jake Ehrlich via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 17 11:25:00 PDT 2018


jakehehrlich created this revision.
jakehehrlich added reviewers: rupprecht, jhenderson, alexshap.

I just hard core goofed when I wrote this and created a different name for no good reason. I'm failry aware of most "fresh" users of llvm-objcopy (that is, users which are not using it as a drop in replacement for GNU objcopy) and can say that only "-j" is being used by such people so this patch should strictly increase compatibility and not remove it.


Repository:
  rL LLVM

https://reviews.llvm.org/D52180

Files:
  llvm/test/tools/llvm-objcopy/basic-only-keep.test
  llvm/test/tools/llvm-objcopy/basic-only-sections.test
  llvm/test/tools/llvm-objcopy/dump-section.test
  llvm/test/tools/llvm-objcopy/explicit-only-keep-remove.test
  llvm/test/tools/llvm-objcopy/explicit-only-sections-remove.test
  llvm/test/tools/llvm-objcopy/keep-only-keep.test
  llvm/test/tools/llvm-objcopy/keep-only-sections.test
  llvm/test/tools/llvm-objcopy/only-keep-many.test
  llvm/test/tools/llvm-objcopy/only-keep-remove-strtab.test
  llvm/test/tools/llvm-objcopy/only-keep-strip-non-alloc.test
  llvm/test/tools/llvm-objcopy/only-sections-many.test
  llvm/test/tools/llvm-objcopy/only-sections-remove-strtab.test
  llvm/test/tools/llvm-objcopy/only-sections-strip-non-alloc.test
  llvm/test/tools/llvm-objcopy/strip-sections-only-keep.test
  llvm/test/tools/llvm-objcopy/strip-sections-only-sections.test
  llvm/tools/llvm-objcopy/ObjcopyOpts.td
  llvm/tools/llvm-objcopy/llvm-objcopy.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52180.165793.patch
Type: text/x-patch
Size: 6277 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180917/1cce71a8/attachment.bin>


More information about the llvm-commits mailing list