Integrate the tls testcases in
Add missing mtree entries and fix the mtree section for libm/legacy