Landing: d6ce0aa3f877

Project / Subsystem

binutils / binutils/ld

Date

2026-05-05

Author

John David Anglin

Commit

d6ce0aa3f877dd4475f77033496383c66383d69b

Source

public_inbox

Perf win

No

Breaking

No

All attributes

project
binutils
subsystem
binutils/ld
patch_id
commit_hash
d6ce0aa3f877dd4475f77033496383c66383d69b
source_type
public_inbox
headline
hppa64: Disable -gc-section support on hppa*64*-*-hpux*
tldr
Disables `-gc-section` support for HP-UX on hppa64 due to dynamic linker issues with R_PARISC_NONE relocations.
author
John David Anglin
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • ld
  • hppa64
  • hp-ux
  • gc-sections
discussion_id_link
bugzilla_pr
date
2026-05-05T00:00:00.000Z

The HP-UX dynamic linker on hppa64 platforms generates an error when encountering dynamic relocations with the type R_PARISC_NONE. This commit disables -gc-section support on hppa*64*-*-hpux* to avoid these errors, as there is no reliable way to handle relocations in garbage-collected sections. Testsuite entries are also updated to reflect this change.