[PATCH] D51493: [llvm-strip] Allow copying relocation sections without symbol tables.

Jake Ehrlich via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 4 10:36:32 PDT 2018


jakehehrlich accepted this revision.
jakehehrlich added inline comments.
This revision is now accepted and ready to land.


================
Comment at: test/tools/llvm-objcopy/reloc-no-symtab.test:26
+    Info:          .got.plt
+    Link:          0
+  - Name:          .plt
----------------
It has been my experience that yaml2obj does not respect the Link field but instead silently sets it to the symbol table that it always constructs. You should check to see if the produced binary in fact has a link of zero for that section.


Repository:
  rL LLVM

https://reviews.llvm.org/D51493





More information about the llvm-commits mailing list