http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59410
--- Comment #29 from Jakub Jelinek <jakub at gcc dot gnu.org> --- It is not that easy. gold before February 2013 doesn't grok -Ttext-segment, you need -Ttext there instead. See http://gcc.gnu.org/ml/gcc-patches/2013-02/msg00777.html And, given that gcc can be configured to dynamically decide which of the linkers to use, it is a portability nightmare. So IMNSHO it is much better to improve libtsan to handle it correctly.