Bug 8664

Summary: Investigate if -mtls-dialect=gnu2 support within the prelinker behavior
Product: [Yocto Project Subprojects] Cross-prelink Reporter: Mark Hatle <mark.hatle>
Component: cross-prelinkAssignee: Mark Hatle <mark.hatle>
Status: RESOLVED OBSOLETE QA Contact:
Severity: minor    
Priority: Low CC: ivan, mark.hatle, randy.macleod, richard.purdie, yp.cp.watcher, yp.watcher
Version: unspecified   
Target Milestone: Future   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: New (Never tested)
Verified: Documentation change: No (bug/feature does not impact docs)

Description Mark Hatle 2015-11-06 17:47:30 UTC
The GCC option -mtls-dialect=gnu2 implements the TLS optimizations documented at:

http://www.fsfla.org/~lxoliva/writeups/TLS/RFC-TLSDESC-x86.txt

This is not a normal test situation, and we should verify if when this option is enabled if the prelinker is working properly or if it causes any specific issues.

Some research may be required to identify which architectures have implemented this optimization.
Comment 1 Randy MacLeod 2022-02-11 20:37:23 UTC
Prelink support has been dropped:
https://git.openembedded.org/openembedded-core/log/?qt=range&q=23c0be78106f1d1e2bb9c724174a1bb8c56c2469