Re: [PATCH] elf: Hide DT_INIT and DT_FINI functions

Project / Subsystem

binutils / elf

Date

2026-09-14

Proposer

Matt Rice <ratmice@gmail.com>

Source type

public_inbox

Consensus

Proposed

Sentiment

—/10

Technical tradeoffs

  • • Potentially improves security or robustness by hiding internal initialization/finalization functions.
  • • Risk of breaking dynamic linking if not implemented carefully.
  • • Requires careful consideration of symbol visibility and ELF structure.

All attributes

project
binutils
subsystem
elf
patch_id
—
discussion_id
CACTLOFqnRUxBbtTgNTgx_8U4ejjUaSZ6LEyRtpqx0fd-JnUu7Q@mail.gmail.com
source_type
public_inbox
title
Re: [PATCH] elf: Hide DT_INIT and DT_FINI functions
headline
elf: Hide DT_INIT and DT_FINI functions
tldr
Discussion continues regarding hiding DT_INIT/DT_FINI functions in ELF binaries.
proposer
Matt Rice <ratmice@gmail.com>
consensus
Proposed
outcome
proposed
sentiment_score
—
technical_tradeoffs
  • • Potentially improves security or robustness by hiding internal initialization/finalization functions.
  • • Risk of breaking dynamic linking if not implemented carefully.
  • • Requires careful consideration of symbol visibility and ELF structure.
series_id
—
series_role
standalone
series_parts
[]
tags
  • • binutils
  • • elf
  • • dynamic-linking
  • • linker
  • • visibility
bugzilla_url
—
date
2026-09-14T00:00:00.000Z

Re: [PATCH] elf: Hide DT_INIT and DT_FINI functions

This thread is a continuation of a discussion about hiding DT_INIT and DT_FINI functions in ELF binaries. The participants are actively debating the implications and correct implementation of such a change, with multiple nested replies indicating a thorough review process. The core issue appears to revolve around ensuring that these initialization and finalization functions are properly managed and possibly hidden from certain visibility contexts without breaking dynamic linking or program startup.