Support for TLS GD/IE/LE. LD is not supported.

	* config/or1k/or1k-protos.h
	(or1k_expand_pic_symbol_ref): Removed declaration.
	(or1k_expand_symbol_ref): Added declaration.
	* config/or1k/or1k.c
	(or1k_expand_pic_symbol_ref): Made static.
	(or1k_tls_symbolic_operand): New, returns TLS model of operand.
	(gen_tls_tga): New, static cache of __tls_get_addr reference.
	(gen_tls_get_addr): New, returns reference to __tls_get_addr.
	(or1k_tls_call): New, emits call to __tls_get_addr.
	(or1k_expand_symbol_ref): New, handles TLS operands.
	(or1k_expand_move): Call or1k_expand_symbol_ref instead which will
	then call or1k_expand_pic_symbol_ref if needed.
	(gt-or1k.h): Include. Needed for gen_tls_tga.
	* config/or1k/or1k.h (TARGET_HAVE_TLS): Define if HAVE_AS_TLS is set.
	* config/or1k/or1k.md
	(UNSPECS): Added UNSPEC_TPOFFLO, UNSPEC_TPOFFHI, UNSPEC_GOTTPOFFLO,
	UNSPEC_GOTTPOFFHI, UNSPEC_GOTTPOFFLD, UNSPEC_TLSGDLO, UNSPEC_TLSGDHI.
	(movsi_tlsgdlo): Added.
	(movsi_tlsgdhi): Added.
	(movsi_gottpofflo): Added.
	(movsi_gottpoffhi): Added.
	(load_gottpoff): Added.
	(movsi_tpofflo): Added.
	(movsi_tpoffhi): Added.
	(movsi_insn_big): Call or1k_expand_symbol_ref instead.
	* configure.ac: (TLS test): Check for or1k TLS support in AS.
	* configure: (TLS test): Manually added same as in .ac.

	* config.host: If we are targeting or1k*-linux or or1k*-uclibc do not
	build crtn.o or crti.o. Do not include linux unwinder for other
	targets (e.g. or1k*-elf).