-
Notifications
You must be signed in to change notification settings - Fork 11.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PowerPC] Support local-dynamic TLS relocation on AIX #66316
Commits on Feb 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0e519e0 - Browse repository at this point
Copy the full SHA 0e519e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 685619e - Browse repository at this point
Copy the full SHA 685619eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ff54ca - Browse repository at this point
Copy the full SHA 6ff54caView commit details -
Configuration menu - View commit details
-
Copy full SHA for dc6fbec - Browse repository at this point
Copy the full SHA dc6fbecView commit details -
Configuration menu - View commit details
-
Copy full SHA for d979c44 - Browse repository at this point
Copy the full SHA d979c44View commit details -
Attempt to address comment: use r4 for LoadOffsetToc
However looks like machine-scheduler is interfering, and still schedule LoadOffsetToc ahead of the .__tls_get_mod call.
Configuration menu - View commit details
-
Copy full SHA for 09cf488 - Browse repository at this point
Copy the full SHA 09cf488View commit details -
Configuration menu - View commit details
-
Copy full SHA for a6085eb - Browse repository at this point
Copy the full SHA a6085ebView commit details -
Fixed issues raised by comments and incorporated suggested changes.
(1) Removed TLSLDAIX argument so that duplicated nodes can be eliminated. (2) Try to reuse clobber r4 by moving TLSLDAIX ahead of LoadOffsetToc node. (3) Add FIXME comments. (4) Add test case to show duplicated .__tls_get_mod can be eliminated. Below two cases are not updated yet due to environment issue. I will fix those in next update. Failed Tests: LLVM :: CodeGen/PowerPC/aix-tls-xcoff-reloc-large.ll LLVM :: CodeGen/PowerPC/aix-tls-xcoff-reloc.ll
Configuration menu - View commit details
-
Copy full SHA for b5f60f7 - Browse repository at this point
Copy the full SHA b5f60f7View commit details -
(1) Use GPR3 directly in LoadModuleHandle.
(2) Update comments.
Configuration menu - View commit details
-
Copy full SHA for fd68b57 - Browse repository at this point
Copy the full SHA fd68b57View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9755a4a - Browse repository at this point
Copy the full SHA 9755a4aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 92732a5 - Browse repository at this point
Copy the full SHA 92732a5View commit details -
[NFC] Add FIXME to highlight existing issue:
The "_$TLSML" symbol did not lower through getTOCEntry().
Configuration menu - View commit details
-
Copy full SHA for fe45c89 - Browse repository at this point
Copy the full SHA fe45c89View commit details -
The "_$TLSML" symbol did not lower through getTOCEntry(). The pseudo node "TLSLDAIX" now takes the _$TLSML GV node, and the ppc-tls-dynamic-call pass is updated to fine tune the relative order between the LoadOffset@toc node and the .__tls_get_mod node.
Configuration menu - View commit details
-
Copy full SHA for 1d08e72 - Browse repository at this point
Copy the full SHA 1d08e72View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c42342 - Browse repository at this point
Copy the full SHA 5c42342View commit details -
Configuration menu - View commit details
-
Copy full SHA for 30b26ae - Browse repository at this point
Copy the full SHA 30b26aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 62ce4ad - Browse repository at this point
Copy the full SHA 62ce4adView commit details -
Configuration menu - View commit details
-
Copy full SHA for 955fe59 - Browse repository at this point
Copy the full SHA 955fe59View commit details -
Simplify logic by move the XMC_TC setting for the _$TLSML symbol into…
… getSectionForTOCEntry()
Configuration menu - View commit details
-
Copy full SHA for 4f51e52 - Browse repository at this point
Copy the full SHA 4f51e52View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f82459 - Browse repository at this point
Copy the full SHA 8f82459View commit details -
Configuration menu - View commit details
-
Copy full SHA for c34895f - Browse repository at this point
Copy the full SHA c34895fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 51ec134 - Browse repository at this point
Copy the full SHA 51ec134View commit details -
Configuration menu - View commit details
-
Copy full SHA for 10822d3 - Browse repository at this point
Copy the full SHA 10822d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0119567 - Browse repository at this point
Copy the full SHA 0119567View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f8edff - Browse repository at this point
Copy the full SHA 1f8edffView commit details -
Since `getSectionForExternalReference` explicitly set XCOFF::XTY_SD for the `_$TLSML` symbol reference, and that only CSType `XCOFF::XTY_ER` symbol references are added into `UndefinedCsects`, the checks inside `executePostLayoutBinding` are redundant. Update test case to make sure external reference to the `_$TLSML` symbol is not observed.
Configuration menu - View commit details
-
Copy full SHA for 9fbb330 - Browse repository at this point
Copy the full SHA 9fbb330View commit details -
Configuration menu - View commit details
-
Copy full SHA for f75ff08 - Browse repository at this point
Copy the full SHA f75ff08View commit details -
Configuration menu - View commit details
-
Copy full SHA for 595ef30 - Browse repository at this point
Copy the full SHA 595ef30View commit details -
Configuration menu - View commit details
-
Copy full SHA for 17ead44 - Browse repository at this point
Copy the full SHA 17ead44View commit details -
Configuration menu - View commit details
-
Copy full SHA for e400223 - Browse repository at this point
Copy the full SHA e400223View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3dde56f - Browse repository at this point
Copy the full SHA 3dde56fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a95e93 - Browse repository at this point
Copy the full SHA 1a95e93View commit details