Skip to content

Add a -z flag to use GS for 64-bit TLS.

Jacob Lorentzon requested to merge 4lDO2/binutils-gdb:redox into redox

This MR allows ld to accept the option -z use-gs-for-tls, which is only meant to be used in kernel mode.

I have tested that the whole Redox build process works when using this patch. It is backwards compatible, and can be used to output both FS-based and GS-based TLS.

Edited by Jacob Lorentzon

Merge request reports