* elf.c (_bfd_elf_make_section_from_shdr): Set SEC_THREAD_LOCAL
[deliverable/binutils-gdb.git] / gas / ChangeLog
index c0a3293d4102d5079e30ba8935931d966784114a..9e9b1683f0941d95248e65b25a4dc813d9add223 100644 (file)
@@ -1,3 +1,222 @@
+2002-05-23  Jakub Jelinek  <jakub@redhat.com>
+
+       * config/obj-elf.c (elf_common): Renamed from obj_elf_common.
+       (obj_elf_common): Call elf_common.
+       (obj_elf_tls_common): New function.
+       (elf_pseudo_tab): Support .tls_common.
+       (special_sections): Add .tdata and .tbss.
+       (obj_elf_change_section): Set SEC_THREAD_LOCAL for SHF_TLS
+       sections.
+       (obj_elf_parse_section_letters): Support T in section flags (SHF_TLS).
+       (obj_elf_parse_section_letters): Include T in error message.
+       * config/tc-ppc.c (ppc_section_letter): Likewise.
+       * config/tc-alpha.c (alpha_elf_section_letter): Likewise.
+       (tc_gen_reloc): Handle SEC_THREAD_LOCAL the same way as
+       SEC_MERGE.
+       * config/tc-sparc.c (md_apply_fix3): Likewise.
+       * config/tc-i386.c (tc_i386_fix_adjustable): Add TLS relocs.
+       Define them if not BFD_ASSEMBLER.
+       (lex_got): Support @TLSGD, @TLSLDM, @GOTTPOFF, @TPOFF, @DTPOFF
+       and @NTPOFF.
+       (md_apply_fix3): Add TLS relocs.
+       * config/tc-ia64.c (enum reloc_func): Add FUNC_DTP_MODULE,
+       FUNC_DTP_RELATIVE, FUNC_TP_RELATIVE, FUNC_LT_DTP_MODULE,
+       FUNC_LT_DTP_RELATIVE, FUNC_LT_TP_RELATIVE.
+       (pseudo_func): Support @dtpmod(), @dtprel() and @tprel().
+       (ia64_elf_section_letter): Include T in error message.
+       (md_begin): Support TLS operators.
+       (md_operand): Likewise.
+       (ia64_gen_real_reloc_type): Support TLS relocs.
+       * testsuite/gas/i386/tlspic.s: New file.
+       * testsuite/gas/i386/tlsd.s: New file.
+       * testsuite/gas/i386/tlsnopic.s: New file.
+       * testsuite/gas/i386/tlsd.d: New file.
+       * testsuite/gas/i386/tlsnopic.d: New file.
+       * testsuite/gas/i386/tlspic.d: New file.
+       * testsuite/gas/i386/i386.exp: Add tlsd, tlsnopic and tlspic tests.
+       * testsuite/gas/ia64/tls.s: New file.
+       * testsuite/gas/ia64/tls.d: New file.
+       * testsuite/gas/ia64/ia64.exp: Add tls test.
+       * write.c (adjust_reloc_syms): Don't change symbols in
+       SEC_THREAD_LOCAL sections to STT_SECTION + addend.
+
+2002-05-23  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * config/tc-arm.c (md_apply_fix3): For the Thumb BLX reloc
+       round the relocation up rather than down.
+
+2002-05-23  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * config/obj-coff.c (obj_coff_section): Silently ignore an 'a'
+       flag.
+        * doc/as.texinfo: Document that the COFF version of .section
+       ignores the 'a' flag.
+
+2002-05-23  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/tc-alpha.c (assemble_tokens): Protect use of
+       ALPHA_RELOC_TABLE with #ifdef RELOC_OP_P.
+
+       * write.c (size_seg): Check adjustment to last frag.
+       (SUB_SEGMENT_ALIGN): If HANDLE_ALIGN defined, pad out last frag to
+       section alignment.
+       * config/obj-coff.c (SUB_SEGMENT_ALIGN): Likewise.
+       * config/obj-ieee.c (SUB_SEGMENT_ALIGN): Likewise.
+       (write_object_file): Invoke md_do_align if available, and use
+       frag_align_code on text sections.
+       * config/obj-vms.h (SUB_SEGMENT_ALIGN): Now two args.
+       * config/tc-m88k.h (SUB_SEGMENT_ALIGN): Likewise.
+       * config/tc-ppc.h (SUB_SEGMENT_ALIGN): Likewise.
+       * config/tc-sh.h (SUB_SEGMENT_ALIGN): Likewise.
+       * config/tc-i386.h (SUB_SEGMENT_ALIGN): Likewise.  Define for
+       BFD_ASSEMBLER too.
+
+2002-05-22  H.J. Lu <hjl@gnu.org>
+
+       * dwarf2dbg.c (dwarf2_directive_loc): Call listing_source_file
+       for source file.
+
+2002-05-22  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * config/tc-arm.c (arm_s_section): Enable for COFF builds as well
+       as ELF builds.
+
+2002-05-22  H.J. Lu <hjl@gnu.org>
+
+       * dwarf2dbg.c (dwarf2_emit_insn): Emit only one line symbol
+       for one .loc for compiler.
+
+2002-05-22  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.c (macro): Relax warning, it's toot strict for
+       embedded-PIC.
+
+2002-05-22  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.c (macro2): Add 64 bit drol, dror macros.
+       Optimize the rotate by zero case.
+
+2002-05-21  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * configure.in: Remove accidental enabling of bfd_gas=yes for
+       sh-coff targets.
+       * configure: Regenerate.
+
+2002-05-18  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * app.c: Fix formatting.
+       * as.c: Likewise.
+       * ehopt.c: Likewise.
+       * expr.c: Likewise.
+       * input-file.c: Likewise.
+       * listing.c: Likewise.
+       * macro.h: Likewise.
+       * stabs.c: Likewise.
+       * symbols.c: Likewise.
+
+2002-05-17  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/obj-generic.c: Delete file.
+       * config/obj-generic.h: Likewise.
+
+2002-05-16  Marek Michalkiewicz  <marekm@amelek.gda.pl>
+
+       * config/tc-avr.c (mcu_types): Update for new devices.
+
+2002-05-15  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.c (macro): Warn about wrong la/dla use.
+
+2002-05-15  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc_mips.c (s_cpsetup): Fix completely bogus code which had
+       worked sometimes by accident. Fix copy&paste comment.
+
+2002-05-15  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.c (md_begin): Fix .reginfo and .MIPS.option section
+       alignment for NewABI. Let n32 use .reginfo. Remove useless casts.
+       (mips_elf_final_processing): Let n32 use .reginfo.
+
+2002-05-15  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.c (append_insn): Fix too small range of variable.
+
+2002-05-14  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * config/tc-arm.c (arm_cleanup): Remove redundant call to
+       listing_prev_line().
+
+2002-05-13  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * config/tc-arm.c (md_assemble): Remove redundant call to
+       listing_prev().
+
+       * dwarf2dbg.c (dwarf2_emit_insn): Do not reset
+       loc_directive_seen.
+
+       * stabs.c (s_stab_generic): Fix grammatical error in warning
+       message.
+
+2002-05-13  Alan Modra  <amodra@bigpond.net.au>
+
+       * write.c (subsegs_finish): Don't specially align last subseg.
+
+2002-05-11  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * stabs.c (s_stab_generic): Warn about a description field that is
+       too big.
+
+       * config/obj-coff.c: Fix compile time warnings when compiling
+       without BFD_ASSEMBLER defined.
+       Fix formatting.
+
+       * config/tc-sh.c (md_pcrel_from): Define for use with sh-hms
+       target.
+       (md_pcrel_from_section): Use md_pcrel_from().
+
+2002-05-11  Bruno Haible  <bruno@clisp.org>
+
+       * dwarf2dbg.c (dwarf2_emit_insn): Use the 'current' struct filled
+       by dwarf2_directive_loc, instead of calling dwarf2_where.
+
+2002-05-11  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/obj-coff.h: Fix formatting.
+       * config/tc-mcore.c: Likewise.
+       * config/tc-mn10300.c: Likewise.
+       * config/tc-openrisc.c: Likewise.
+       * config/tc-or32.c: Likewise.
+       * config/tc-pdp11.c: Likewise.
+       * config/tc-ppc.c: Likewise.
+       * config/tc-ppc.h: Likewise.
+       * config/tc-sh64.c: Likewise.
+       * config/tc-sh.c: Likewise.
+       * config/tc-tic54x.c: Likewise.
+       * config/tc-xstormy16.c: Likewise.
+       * config/tc-xstormy16.h: Likewise.
+
+2002-05-09  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/obj-coff.c: Fix formatting.
+       * config/obj-elf.c: Likewise.
+       * config/tc-alpha.c: Likewise.
+       * config/tc-arm.c: Likewise.
+       * config/tc-d10v.c: Likewise.
+       * config/tc-d30v.c: Likewise.
+       * config/tc-h8300.c: Likewise.
+       * config/tc-hppa.c: Likewise.
+
+2002-05-09  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/tc-i386.c (md_estimate_size_before_relax) Don't lose
+       reloc when no_cond_jump_promotion.
+
+2002-05-08  Jim Wilson  <wilson@redhat.com>
+
+       * config/tc-i960.c (md_estimate_size_before_relax): Return size of
+       current variable part of frag.
+
 2002-05-08  Kazu Hirata  <kazu@cs.umass.edu>
 
        * config/tc-mmix.c: Fix formatting.
This page took 0.025873 seconds and 4 git commands to generate.