TS-2839 Additional fix for tsxs. I'm not sure if this
will break on "gnu" ld, but it works with XCode ld.

Suggestions from James Peach.