Landing: cca4420639a1

Project / Subsystem

binutils / hppa64

Date

2026-05-07

Author

John David Anglin <danglin@sourceware.org>

Commit

cca4420639a1390f1fb23286618efbe494987825

Source

public_inbox

Perf win

No

Breaking

No

All attributes

project
binutils
subsystem
hppa64
patch_id
commit_hash
cca4420639a1390f1fb23286618efbe494987825
source_type
public_inbox
headline
hppa64: Re-enable -gc-section support on hppa*64*-*-hpux*
tldr
-gc-section support is re-enabled for HP-UX on hppa64 by handling relocations with invalid offsets.
author
John David Anglin <danglin@sourceware.org>
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • ld
  • hppa64
  • hpux
  • -gc-sections
  • relocation
discussion_id_link
bugzilla_pr
date
2026-05-07T00:00:00.000Z

-gc-section support has been re-enabled for hppa64--hpux. The linker now allocates 16 bytes at the start of the .data section and remaps relocations with invalid offsets to this area. This resolves issues with the HP dynamic linker and allows unused sections to be garbage collected.