Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by einpoklum

1 month ago

> that it enables aggressive dead code elimination

But you still need the compiler of the library objects to place different functions and data items into different sections of your object, e.g.

  gcc -ffunction-sections -fdata-sections

if you want elimination from the executable binary file.

0 comments

einpoklum

Reply

No comments yet

Contribute on Hacker News ↗

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities