[PATCH] D75149: [ELF] --orphan-handling=: don't warn/error for unused synthesized sections
Kees Cook via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 25 15:59:38 PST 2020
kees added a comment.
On my orphan checking kernel series, I'm left with only .rela_* and .rela.* getting reported, along with:
(.shstrtab) is being placed in '.shstrtab'
(.strtab) is being placed in '.strtab'
(.symtab) is being placed in '.symtab'
The diff before and after this patch is:
$ diff -u /tmp/before.log /tmp/after.log
--- /tmp/before.log 2020-02-25 15:56:05.906258196 -0800
+++ /tmp/after.log 2020-02-25 15:53:28.144706255 -0800
@@ -1,6 +1,3 @@
-(.bss.rel.ro) is being placed in '.bss.rel.ro'
-(.iplt) is being placed in '.iplt'
-(.plt) is being placed in '.plt'
(.rela.altinstr_aux) is being placed in '.rela.altinstr_aux'
(.rela.altinstr_replacement) is being placed in '.rela.altinstr_replacement'
(.rela.altinstructions) is being placed in '.rela.altinstructions'
@@ -10939,4 +10936,3 @@
(.shstrtab) is being placed in '.shstrtab'
(.strtab) is being placed in '.strtab'
(.symtab) is being placed in '.symtab'
-(.symtab_shndx) is being placed in '.symtab_shndx'
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D75149/new/
https://reviews.llvm.org/D75149
More information about the llvm-commits
mailing list