tic6x FAIL: ld-elf/pr3455
Project / Subsystem
binutils / binutils
Date
2026-08-30
Proposer
Alan Modra <amodra@gmail.com>
Source type
public_inbox
Consensus
Proposed
Sentiment
8/10
Technical tradeoffs
- • Relaxing the `compatible_format` check might allow linking of less compatible object files, potentially leading to runtime issues if not fully tested.
- • The underlying reason for the differing default target formats between `tic6x-ld` and `tic6x-as` remains unaddressed.
All attributes
- project
- binutils
- subsystem
- binutils
- patch_id
- —
- discussion_id
- apSsUx-lhw2ktfAp@squeak.grove.modra.org
- source_type
- public_inbox
- title
- tic6x FAIL: ld-elf/pr3455
- headline
- binutils: tic6x FAIL: ld-elf/pr34550
- tldr
- Fixes a test case failure for tic6x by relaxing conditions for creating dynamic sections.
- proposer
- Alan Modra <amodra@gmail.com>
- consensus
- Proposed
- outcome
- proposed
- sentiment_score
- 8
- technical_tradeoffs
-
- • Relaxing the `compatible_format` check might allow linking of less compatible object files, potentially leading to runtime issues if not fully tested.
- • The underlying reason for the differing default target formats between `tic6x-ld` and `tic6x-as` remains unaddressed.
- series_id
- —
- series_role
- standalone
- series_parts
- []
- tags
-
- • binutils
- • linker
- • tic6x
- • elf
- • testcase
- bugzilla_url
- —
- date
- 2026-08-30T00:00:00.000Z
tic6x FAIL: ld-elf/pr3455
This patch addresses a failure in the ld-elf/pr34550 test case specific to the tic6x target. The issue arises because tic6x-ld defaults to ‘elf32-tic6x-elf-le’ while tic6x-as defaults to ‘elf32-tic6x-le’. More critically, tic6x-ld’s handling of --shared fails to create dynamic sections unless an input object contains relocations. The fix relaxes this condition to align with other targets, thereby resolving the test failure.