[PATCH] D62620: [llvm-objcopy] Fix SHT_GROUP ordering.

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 29 19:49:45 PDT 2019


MaskRay added inline comments.


================
Comment at: llvm/tools/llvm-objcopy/ELF/Object.cpp:1643
+    // Put SHT_GROUP sections first, since group section headers must come
+    // before the sections they contain. This also matches what GNU objcopy
+    // does.
----------------
> This also matches what GNU objcopy does.

This is not accurate.. I suspect it just doesn't sort sections, unless in --pad-to= or --gap-fill= mode.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D62620/new/

https://reviews.llvm.org/D62620





More information about the llvm-commits mailing list