You might like to put a FIXME somewhere to note that with optimisation of tls sequences, --emit-relocs will give the original relocations which don't match the optimised code. It would be nicer if the relocs were tweaked to make sense. I don't consider this a show-stopper. -- Alan Modra Australia Development Lab, IBM