old-cross-binutils/include
Alan Modra a7f2871e66 include/elf/
* ppc.h (DT_PPC_TLSOPT): Define.
	* ppc64.h (DT_PPC64_TLSOPT): Define.
bfd/
	* elf32-ppc.c (TLS_GET_ADDR_GLINK_SIZE): Define.
	(ADD_3_12_2, BEQLR, CMPWI_11_0, LWZ_11_3, LWZ_12_3): Define.
	(MR_0_3, MR_3_0): Define.
	(struct ppc_elf_link_hash_table): Add no_tls_get_addr_opt.
	(ppc_elf_select_plt_layout): Save emit_stub_syms param earlier.
	(ppc_elf_tls_setup): Add no_tls_get_addr_opt param and save to hash
	table.  Check for presense of __tls_get_addr_opt
	(allocate_dynrelocs): Increase glink entry size for __tls_get_addr.
	(ppc_elf_size_dynamic_sections): Add DT_PPC_TLS_OPT tag.
	(write_glink_stub): Add param p.
	(ppc_elf_relocate_section): Adjust write_glink_stub call.
	(ppc_elf_finish_dynamic_symbol): Emit special glink call stub for
	__tls_get_addr.
	* elf32-ppc.h (ppc_elf_tls_setup): Update prototype.
	* elf64-ppc.c (struct ppc_link_hash_table): Add no_tls_get_addr_opt.
	(ppc64_elf_tls_setup): Add no_tls_get_addr_opt param and save to hash
	table.  Check for presense of __tls_get_addr_opt.
	(ppc64_elf_size_dynamic_sections): Add DT_PPC64_TLS_OPT tag.
	(LD_R11_0R3, LD_R12_0R3, MR_R0_R3, CMPDI_R11_0, ADD_R3_R12_R13,
	BEQLR, MR_R3_R0, MFLR_R11, STD_R11_0R1, BCTRL, LD_R11_0R1,
	LD_R2_0R1, MTLR_R11): Define.
	(build_tls_get_addr_stub): New function.
	(ppc_build_one_stub): Call it.
	(ppc_size_one_stub): Add extra size for __tls_get_addr stub.
	(ppc64_elf_relocate_section): Don't change nop to ld 2,40(1) for
	__tls_get_addr plt call.
	* elf64-ppc.h (ppc64_elf_tls_setup): Update prototype.
binutils/
	* readelf.c (get_ppc_dynamic_type): Add TLSOPT.
	(get_ppc64_dynamic_type): Likewise.
ld/
	* emultempl/ppc32elf.em (no_tls_get_addr_opt): New var.
	(ppc_before_allocation): Pass to ppc_elf_tls_setup.
	(OPTION_NO_TLS_GET_ADDR_OPT): Define.  Redefine other options in
	terms of previous option.
	(PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add
	--no-tls-get-addr-optimize.
	(PARSE_AND_LIST_ARGS_CASES): Handle it.
	* emultempl/ppc64elf.em (no_tls_get_addr_opt): New var.
	(ppc_before_allocation): Pass to ppc64_elf_tls_setup.
	(OPTION_NO_TLS_GET_ADDR_OPT): Define.
	(PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add
	--no-tls-get-addr-optimize.
	(PARSE_AND_LIST_ARGS_CASES): Handle it.
ld/testsuite/
	* ld-powerpc/tlslib.s: Delete dot-symbol entry syms.  Add
	__tls_get_addr_opt.
	* ld-powerpc/tlslib32.s: Add __tls_get_addr_opt.
	* ld-powerpc/oldtlslib.s: New file, old-abi version of tlslib.s.
	* ld-powerpc/powerpc.exp: Build old-abi library and use it in
	two new link tests.
	* ld-powerpc/tlsexe.d: Update for new __tls_get_addr stub.
	* ld-powerpc/tlsexe.g, * ld-powerpc/tlsexe.r, *ld-powerpc/tlsexe32.d,
	* ld-powerpc/tlsexe32.g, * ld-powerpc/tlsexe32.r,
	* ld-powerpc/tlsexetoc.d, * ld-powerpc/tlsexetoc.g,
	* ld-powerpc/tlsexetoc.r: Likewise.
2009-09-21 11:51:02 +00:00
..
aout
coff * bfd/coff-arm.c (coff_arm_relocate_section) 2009-09-05 07:56:26 +00:00
elf include/elf/ 2009-09-21 11:51:02 +00:00
gdb gdb/ 2009-05-18 13:25:35 +00:00
nlm update copyright dates 2009-09-02 07:25:43 +00:00
opcode gas/ 2009-09-21 10:29:07 +00:00
alloca-conf.h include/ 2009-03-18 11:27:18 +00:00
ansidecl.h merge from gcc 2009-06-16 13:21:26 +00:00
bfdlink.h Updated soruces in bfd/* to compile cleanly with -Wc++-compat. 2009-09-09 21:38:59 +00:00
binary-io.h
bout.h
ChangeLog Updated soruces in bfd/* to compile cleanly with -Wc++-compat. 2009-09-09 21:38:59 +00:00
ChangeLog-9103 Sync include/ChangeLog-9103 from GCC to fix invalid UTF-8. 2009-08-16 12:06:21 +00:00
COPYING
COPYING3
demangle.h update copyright dates 2009-09-03 02:02:48 +00:00
dis-asm.h Add support for Xilinx MicroBlaze processor. 2009-08-06 17:38:04 +00:00
dwarf2.h merge from gcc 2009-08-31 23:24:07 +00:00
dyn-string.h merge from gcc 2009-06-01 19:40:44 +00:00
fibheap.h merge from gcc 2009-06-01 19:40:44 +00:00
filenames.h
floatformat.h
fnmatch.h
fopen-bin.h
fopen-same.h
fopen-vms.h 2009-05-25 Tristan Gingold <gingold@adacore.com> 2009-05-25 13:04:40 +00:00
gdbm.h
getopt.h
hashtab.h update copyright dates 2009-09-03 02:02:48 +00:00
hp-symtab.h
ieee.h
libiberty.h merge from gcc 2009-07-25 11:28:20 +00:00
MAINTAINERS
md5.h
oasys.h
objalloc.h
obstack.h
os9k.h
partition.h
plugin-api.h * plugin-api.h (LDPS_BAD_HANDLE): New constant. 2009-01-15 01:28:14 +00:00
progress.h
safe-ctype.h
sha1.h
sort.h
splay-tree.h update copyright dates 2009-09-03 02:02:48 +00:00
symcat.h
xregex.h
xregex2.h
xtensa-config.h include/ 2008-11-19 18:25:20 +00:00
xtensa-isa-internal.h 2008-11-21 Sterling Augustine <sterling@tensilica.com> 2008-11-21 22:13:32 +00:00
xtensa-isa.h 2008-11-21 Sterling Augustine <sterling@tensilica.com> 2008-11-21 22:13:32 +00:00