old-cross-binutils/gas/config
Bob Wilson 28dbbc0203 2008-08-20 Bob Wilson <bob.wilson@acm.org>
bfd/
        * elf-bfd.h (elf_object_id): Add XTENSA_ELF_TDATA.
        * elf32-xtensa.c (elf_howto_table): Add TLS relocations.
        (elf_xtensa_reloc_type_lookup): Likewise.
        (TCB_SIZE): Define.
        (elf_xtensa_link_hash_entry): New.
        (GOT_UNKNOWN, GOT_NORMAL, GOT_TLS_GD, GOT_TLS_IE, GOT_TLS_ANY): Define.
        (elf_xtensa_hash_entry): Define.
        (elf_xtensa_obj_tdata): New.
        (elf_xtensa_tdata): Define.
        (elf_xtensa_local_got_tls_type): Define.
        (elf_xtensa_local_tlsfunc_refcounts): Define.
        (is_xtensa_elf): Define.
        (elf_xtensa_mkobject): New.
        (elf_xtensa_link_hash_table): Add tlsbase field.
        (elf_xtensa_link_hash_newfunc): New.
        (elf_xtensa_link_hash_table_create): Use elf_xtensa_link_hash_newfunc.
        Create an entry for "_TLS_MODULE_BASE_" and save it in tlsbase field.
        (elf_xtensa_copy_indirect_symbol): New.
        (elf_xtensa_check_relocs): Rewrite to handle TLS relocations.
        (elf_xtensa_gc_sweep_hook): Likewise.
        (elf_xtensa_allocate_dynrelocs): Optimize away GOT entries for
        TLSDESC_FN relocations when an IE reference is seen.
        (elf_xtensa_allocate_local_got_size): Likewise.
        (elf_xtensa_always_size_sections): New.
        (dtpoff_base, tpoff): New.
        (elf_xtensa_do_reloc): Handle TLS relocations.
        (replace_tls_insn): New.
        (IS_XTENSA_TLS_RELOC): Define.
        (elf_xtensa_relocate_section): Handle TLS relocations.
        (get_indirect_call_dest_reg): New.
        (bfd_elf32_mkobject): Define.
        (elf_backend_always_size_sections): New.
        (elf_backend_copy_indirect_symbol): New.
        * reloc.c (BFD_RELOC_XTENSA_TLSDESC_FN, BFD_RELOC_XTENSA_TLSDESC_ARG)
        (BFD_RELOC_XTENSA_TLS_DTPOFF, BFD_RELOC_XTENSA_TLS_TPOFF)
        (BFD_RELOC_XTENSA_TLS_FUNC, BFD_RELOC_XTENSA_TLS_ARG)
        (BFD_RELOC_XTENSA_TLS_CALL): New.
        * bfd-in2.h: Regenerate.
        * libbfd.h: Regenerate.
gas/
        * config/tc-xtensa.c (O_tlsfunc, O_tlsarg, O_tlscall): Define.
        (O_tpoff, O_dtpoff): Define.
        (suffix_relocs): Add entries for TLS suffixes.
        (xtensa_elf_cons): Check for invalid use of TLS relocations.
        (map_operator_to_reloc): Add is_literal parameter and use it to
        control translating TLS instruction relocations to the corresponding
        literal relocations.
        (xg_valid_literal_expression): Allow TLS operators.
        (xg_build_to_insn): Copy TLS operators from pseudo-instruction
        operands to generated literals.
        (xg_assemble_literal): Handle TLS operators.  Update call to
        map_operator_to_reloc.
        (md_assemble): Handle CALLXn.TLS pseudo-instruction.
        (md_apply_fix): Handle TLS relocations.
        (emit_single_op): Handle TLS operators.
        (convert_frag_immed): Update call to map_operator_to_reloc.
        (vinsn_to_insnbuf): Emit relocations for TLS-related instructions.
        * config/xtensa-istack.h (tinsn_struct): Add tls_reloc field.
        * config/xtensa-relax.c (append_literal_op): Add src_op parameter
        to initialize the op_data field of the BuildOp.
        (build_transition): Use it here to record the source operand
        corresponding to a generated literal.
        * config/xtensa-relax.h (build_op): Comment op_data use for literals.
include/elf/
        * xtensa.h (R_XTENSA_TLSDESC_FN, R_XTENSA_TLSDESC_ARG)
        (R_XTENSA_TLS_DTPOFF, R_XTENSA_TLS_TPOFF, R_XTENSA_TLS_FUNC)
        (R_XTENSA_TLS_ARG, R_XTENSA_TLS_CALL): New.
ld/testsuite/
        * ld-xtensa/tlsbin.dd, ld-xtensa/tlsbin.rd, ld-xtensa/tlsbin.s,
        ld-xtensa/tlsbin.sd, ld-xtensa/tlsbin.td, ld-xtensa/tlslib.s,
        ld-xtensa/tlspic.dd, ld-xtensa/tlspic.rd, ld-xtensa/tlspic.sd,
        ld-xtensa/tlspic.td, ld-xtensa/tlspic1.s, ld-xtensa/tlspic2.s: New.
        * ld-xtensa/xtensa.exp: Run them.
2008-08-20 23:28:59 +00:00
..
aout_gnu.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
atof-ieee.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
atof-vax.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
bfin-aux.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
bfin-defs.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
bfin-lex.l Switch to GPLv3 2007-07-03 11:01:12 +00:00
bfin-parse.y * config/bfin-parse.y (asm_1): Error if plain symbol is used 2008-07-24 07:25:13 +00:00
e-crisaout.c Switch to GPLv3 2007-07-03 11:01:12 +00:00
e-criself.c Switch to GPLv3 2007-07-03 11:01:12 +00:00
e-i386aout.c Switch to GPLv3 2007-07-03 11:01:12 +00:00
e-i386coff.c Switch to GPLv3 2007-07-03 11:01:12 +00:00
e-i386elf.c Switch to GPLv3 2007-07-03 11:01:12 +00:00
e-mipsecoff.c Switch to GPLv3 2007-07-03 11:01:12 +00:00
e-mipself.c Switch to GPLv3 2007-07-03 11:01:12 +00:00
itbl-mips.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
m68k-parse.h gas/ 2007-09-27 11:14:10 +00:00
m68k-parse.y Switch to GPLv3 2007-07-03 11:01:12 +00:00
obj-aout.c Switch to GPLv3 2007-07-03 11:01:12 +00:00
obj-aout.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
obj-coff.c * read.c (potable): Add string8, string16, string32 and string64. Add bit size for stringer function. 2007-10-04 17:05:37 +00:00
obj-coff.h gas/ 2007-07-04 15:32:46 +00:00
obj-ecoff.c Switch to GPLv3 2007-07-03 11:01:12 +00:00
obj-ecoff.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
obj-elf.c * config/obj-elf.c (obj_elf_section_type): Add prototype 2008-04-23 13:54:56 +00:00
obj-elf.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
obj-evax.c Banish PARAMS and PTR. Convert to ISO C. 2008-08-12 23:39:31 +00:00
obj-evax.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
obj-fdpicelf.c 2008-04-23 Mike Frysinger <vapier@gentoo.org> 2008-04-23 18:40:34 +00:00
obj-fdpicelf.h 2008-04-23 Mike Frysinger <vapier@gentoo.org> 2008-04-23 18:40:34 +00:00
obj-multi.c Switch to GPLv3 2007-07-03 11:01:12 +00:00
obj-multi.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
obj-som.c Banish PARAMS and PTR. Convert to ISO C. 2008-08-12 23:39:31 +00:00
obj-som.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-alpha.c Banish PARAMS and PTR. Convert to ISO C. 2008-08-12 23:39:31 +00:00
tc-alpha.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-arc.c PR gas/5172 2007-10-18 13:03:12 +00:00
tc-arc.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-arm.c Banish PARAMS and PTR. Convert to ISO C. 2008-08-12 23:39:31 +00:00
tc-arm.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-avr.c Add AVR architectures avr25, avr31, avr35, and avr51 to match GCC. 2008-08-09 05:35:13 +00:00
tc-avr.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-bfin.c Banish PARAMS and PTR. Convert to ISO C. 2008-08-12 23:39:31 +00:00
tc-bfin.h Banish PARAMS and PTR. Convert to ISO C. 2008-08-12 23:39:31 +00:00
tc-cr16.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-cr16.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-cris.c Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-cris.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-crx.c Banish PARAMS and PTR. Convert to ISO C. 2008-08-12 23:39:31 +00:00
tc-crx.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-d10v.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-d10v.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-d30v.c * config/tc-tic4x.c (tic4x_insn_insert): Add const qualifier to 2008-02-12 08:37:08 +00:00
tc-d30v.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-dlx.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-dlx.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-fr30.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-fr30.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-frv.c Banish PARAMS and PTR. Convert to ISO C. 2008-08-12 23:39:31 +00:00
tc-frv.h Banish PARAMS and PTR. Convert to ISO C. 2008-08-12 23:39:31 +00:00
tc-generic.c Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-generic.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-h8300.c * NEWS: Mention these changes. 2008-08-06 15:42:15 +00:00
tc-h8300.h * NEWS: Mention these changes. 2008-08-06 15:42:15 +00:00
tc-hppa.c PR 5946 2008-03-16 23:16:03 +00:00
tc-hppa.h Banish PARAMS and PTR. Convert to ISO C. 2008-08-12 23:39:31 +00:00
tc-i370.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-i370.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-i386.c gas/ 2008-08-20 18:38:40 +00:00
tc-i386.h gas/ 2008-02-13 10:14:40 +00:00
tc-i860.c Banish PARAMS and PTR. Convert to ISO C. 2008-08-12 23:39:31 +00:00
tc-i860.h PR gas/5172 2007-10-18 13:03:12 +00:00
tc-i960.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-i960.h Banish PARAMS and PTR. Convert to ISO C. 2008-08-12 23:39:31 +00:00
tc-ia64.c Banish PARAMS and PTR. Convert to ISO C. 2008-08-12 23:39:31 +00:00
tc-ia64.h Banish PARAMS and PTR. Convert to ISO C. 2008-08-12 23:39:31 +00:00
tc-ip2k.c PR gas/5172 2007-10-18 13:03:12 +00:00
tc-ip2k.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-iq2000.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-iq2000.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-m32c.c Banish PARAMS and PTR. Convert to ISO C. 2008-08-12 23:39:31 +00:00
tc-m32c.h Banish PARAMS and PTR. Convert to ISO C. 2008-08-12 23:39:31 +00:00
tc-m32r.c * config/tc-m32r.c (md_begin): Mark .sbss as being bss style section. 2007-12-10 23:33:46 +00:00
tc-m32r.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-m68hc11.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-m68hc11.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-m68k.c Banish PARAMS and PTR. Convert to ISO C. 2008-08-12 23:39:31 +00:00
tc-m68k.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-m68851.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-maxq.c Banish PARAMS and PTR. Convert to ISO C. 2008-08-12 23:39:31 +00:00
tc-maxq.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-mcore.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-mcore.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-mep.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-mep.h * config/tc-mep.h (skip_whitespace): Remove definition. 2007-07-24 12:38:35 +00:00
tc-mips.c 2008-08-08 Richard Sandiford <rdsandiford@googlemail.com> 2008-08-08 19:24:49 +00:00
tc-mips.h * dwarf2dbg.c: Remove superfluous forward function declarations. 2008-08-04 10:55:48 +00:00
tc-mmix.c PR gas/6607 2008-06-16 15:04:41 +00:00
tc-mmix.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-mn10200.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-mn10200.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-mn10300.c * config/tc-mn10300.c (has_known_symbol_location): New function. 2008-02-18 10:03:06 +00:00
tc-mn10300.h * config/tc-mn10300.c (mn10300_force_relocation): Force a reloc to be generated for alignment fixups. 2007-11-13 10:40:29 +00:00
tc-msp430.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-msp430.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-mt.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-mt.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-ns32k.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-ns32k.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-openrisc.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-openrisc.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-or32.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-or32.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-pdp11.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-pdp11.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-pj.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-pj.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-ppc.c gas/ 2008-08-02 04:38:51 +00:00
tc-ppc.h include/opcode/ 2008-06-13 20:16:00 +00:00
tc-s390.c Banish PARAMS and PTR. Convert to ISO C. 2008-08-12 23:39:31 +00:00
tc-s390.h Banish PARAMS and PTR. Convert to ISO C. 2008-08-12 23:39:31 +00:00
tc-score.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-score.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-sh.c * NEWS: Mention these changes. 2008-08-06 15:42:15 +00:00
tc-sh.h * NEWS: Mention these changes. 2008-08-06 15:42:15 +00:00
tc-sh64.c PR gas/6043 2008-04-07 02:55:08 +00:00
tc-sh64.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-sparc.c Banish PARAMS and PTR. Convert to ISO C. 2008-08-12 23:39:31 +00:00
tc-sparc.h Banish PARAMS and PTR. Convert to ISO C. 2008-08-12 23:39:31 +00:00
tc-spu.c Banish PARAMS and PTR. Convert to ISO C. 2008-08-12 23:39:31 +00:00
tc-spu.h Banish PARAMS and PTR. Convert to ISO C. 2008-08-12 23:39:31 +00:00
tc-tic4x.c * config/tc-tic4x.c (tic4x_operands_parse): Make static. 2008-08-14 14:54:40 +00:00
tc-tic4x.h Banish PARAMS and PTR. Convert to ISO C. 2008-08-12 23:39:31 +00:00
tc-tic30.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-tic30.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-tic54x.c Banish PARAMS and PTR. Convert to ISO C. 2008-08-12 23:39:31 +00:00
tc-tic54x.h Banish PARAMS and PTR. Convert to ISO C. 2008-08-12 23:39:31 +00:00
tc-v850.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-v850.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-vax.c Banish PARAMS and PTR. Convert to ISO C. 2008-08-12 23:39:31 +00:00
tc-vax.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-xc16x.c PR gas/5175 2007-10-18 11:01:24 +00:00
tc-xc16x.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-xstormy16.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-xstormy16.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-xtensa.c 2008-08-20 Bob Wilson <bob.wilson@acm.org> 2008-08-20 23:28:59 +00:00
tc-xtensa.h 2008-03-14 Sterling Augustine <sterling@tensilica.com> 2008-03-14 20:17:39 +00:00
tc-z8k.c Remove duplicate definitions of the md_atof() function 2007-10-17 16:45:56 +00:00
tc-z8k.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-z80.c Switch to GPLv3 2007-07-03 11:01:12 +00:00
tc-z80.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-386bsd.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-aix5.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-armeabi.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-armlinuxeabi.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-dynix.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-epoc-pe.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-freebsd.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-generic.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-gnu.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-go32.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-hppa.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-hppa64.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-hppalinux64.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-hpux.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-i386aix.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-ia64aix.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-interix.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-irix.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-linux.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-lnews.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-lynx.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-mach.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-macos.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-nbsd.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-nbsd532.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-netware.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-pc532mach.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-pe.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-pep.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-psos.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-riscix.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-sparcaout.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-sun3.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-svr4.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-symbian.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-tmips.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-vxworks.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
te-wince-pe.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
vax-inst.h Switch to GPLv3 2007-07-03 11:01:12 +00:00
xtensa-istack.h 2008-08-20 Bob Wilson <bob.wilson@acm.org> 2008-08-20 23:28:59 +00:00
xtensa-relax.c 2008-08-20 Bob Wilson <bob.wilson@acm.org> 2008-08-20 23:28:59 +00:00
xtensa-relax.h 2008-08-20 Bob Wilson <bob.wilson@acm.org> 2008-08-20 23:28:59 +00:00