xtensa: ld: fix TLS test failures
Committed: Fixes to TLS test cases in ld for Xtensa target.
This commit addresses test failures in the linker (ld) for the Xtensa target related to Thread-Local Storage (TLS). The failures were due to incorrect addresses for the ‘.xtensa.info’ section in the test output files. The patch updates the expected addresses in the .rd test files to match the actual output, resolving the discrepancies.
In Details
This commit fixes discrepancies in the linker test suite for Xtensa's TLS implementation. Specifically, it updates the expected addresses of the .xtensa.info section in ld/testsuite/ld-xtensa/*.rd files. These files are used to verify the linker's output against expected ELF section headers, and the addresses were no longer matching due to changes in section layout or linker behavior.
- TLS
- Thread-Local Storage. A mechanism that allows each thread in a multi-threaded program to have its own private copy of a variable.
- ld
- The GNU linker, responsible for combining object files and libraries into an executable or shared library.
- Xtensa
- A configurable processor architecture widely used in embedded systems.
- .xtensa.info
- A specific section in Xtensa executables that likely contains information related to the Xtensa architecture's features, possibly including TLS-related metadata.
- PROGBITS
- An ELF section type indicating that the section contains data and should be included in the output file.
- NOTE
- An ELF section type used to store arbitrary data, often used for platform-specific information or metadata.