1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 02:57:42 +00:00

Toolchain: Backport --update-section support to llvm-objcopy

This commit backports the LLVM commit that adds support for the
`--update-section` flag to llvm-objcopy. We use this feature of GNU
objcopy to embed the symbol map in the kernel.

The corresponding LLVM Phabricator Differential Revision can be found
here: https://reviews.llvm.org/D112116

This patch is identical to the upstream commit, except for two hunks
that had to be changed as they didn't apply cleanly.
This commit is contained in:
Daniel Bertalan 2022-01-07 16:29:59 +01:00 committed by Ali Mohammad Pur
parent 3132ce1d36
commit b19cc3cdcb
3 changed files with 444 additions and 1 deletions

View file

@ -0,0 +1 @@
../../../Toolchain/Patches/llvm-backport-objcopy-update-section.patch