Landing: 873b163d69e3

Project / Subsystem

binutils / elf

Date

2026-09-11

Author

H.J. Lu <hjl@sourceware.org>

Commit

873b163d69e367705884a96a27699d14bcecb880

Source

public_inbox

Perf win

No

Breaking

No

All attributes

project
binutils
subsystem
elf
patch_id
—
commit_hash
873b163d69e367705884a96a27699d14bcecb880
source_type
public_inbox
headline
elf: Hide DT_INIT and DT_FINI symbols
tldr
binutils: Prevents DT_INIT and DT_FINI functions from appearing in the dynamic symbol table.
author
H.J. Lu <hjl@sourceware.org>
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • elf
  • • linker
  • • symbol-table
  • • refactor
discussion_id_link
—
bugzilla_pr
—
date
2026-09-11T00:00:00.000Z

This change modifies the ELF linker to hide the special functions used for DT_INIT and DT_FINI from the dynamic symbol table. This prevents these internal linker-defined symbols from being visible to dynamic loaders or other tools that inspect the symbol table, addressing PR ld/34623.