Landing: e4a4c6963f1a
Project / Subsystem
binutils / ld/testsuite
Date
2026-09-27
Author
liu zhensong <liuzhensong@sourceware.org>
Commit
e4a4c6963f1a9f6f5a0e5c1deb58e01e7b2acdb9
Source
public_inbox
Perf win
No
Breaking
No
All attributes
- project
- binutils
- subsystem
- ld/testsuite
- patch_id
- —
- commit_hash
- e4a4c6963f1a9f6f5a0e5c1deb58e01e7b2acdb9
- source_type
- public_inbox
- headline
- ld: Pin hash style in LoongArch shared library tests
- tldr
- LoongArch shared library tests now explicitly set the hash style to 'both'.
- author
- liu zhensong <liuzhensong@sourceware.org>
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • loongarch
- • binutils
- • linker
- • testsuite
- • shared library
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-27T00:00:00.000Z
Three linker test cases for LoongArch shared libraries (relr-data-shared.d, relr-discard-shared.d, relr-got-shared.d) have been updated to explicitly pass --hash-style=both. This ensures consistent test results across different environments, as the default hash style for bare-metal targets (like loongarch*-elf) differs from that of Linux (sysv vs. both), affecting symbol indexing in relocation entries. This change is a prerequisite for enabling shared library and PIE support on LoongArch, allowing these tests to pass correctly.