Skip to content
Snippets Groups Projects
Commit 567b55e0 authored by Andreas Ziegler's avatar Andreas Ziegler
Browse files

store: make tailoring executables configurable via TAILOR_BINARIES (default: off)

Additionally, this change introduces a new command line parameter
(`--leave-undef-unused`) which leads to the function resolution
not marking imported functions as used automatically. Instead,
they will only be marked during the propagation pass as required,
making it possible to later remove unused SHN_UNDEF entries (and
their resolved counterparts from the .dynsym sections), leading
to smaller libraries. If set, the later call to
remove_tool_libtrader.py from the elfremove toolchain should use
the `--remove_unused_imports` parameter to keep the libraries
consistent. This is strictly required for LD_BIND_NOW binaries.
parent e842f33e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment