include/elf/
[deliverable/binutils-gdb.git] / gas / ChangeLog
index edb0fe151827f67e6c16eb4bb9c2c7c6dbb18e91..84fac4576e1b15ab5c315455ddba3815a5ede2ad 100644 (file)
@@ -1,3 +1,439 @@
+2002-05-30  Richard Henderson  <rth@redhat.com>
+
+       * expr.h (operatorT): Add O_md17..O_md32.
+       * config/tc-alpha.c (O_lituse_tlsgd, O_lituse_tlsldm, O_tlsgd,
+       O_tlsldm, O_gotdtprel, O_dtprelhi, O_dtprello, O_dtprel, O_gottprel,
+       O_tprelhi, O_tprello, O_tprel): New.
+       (USER_RELOC_P, alpha_reloc_op_tag, debug_exp): Include them.
+       (DUMMY_RELOC_LITUSE_TLSGD, DUMMY_RELOC_LITUSE_TLSLDM): New.
+       (LITUSE_TLSGD, LITUSE_TLSLDM): New.
+       (struct alpha_reloc_tag): Add master, saw_tlsgd, saw_tlsld,
+       saw_lu_tlsgd, saw_lu_tlsldm.  Make multi_section_p a bit field.
+       (md_apply_fix3): Handle TLS relocations.
+       (alpha_force_relocation, alpha_fix_adjustable): Likewise.
+       (alpha_adjust_symtab_relocs): Sort LITERAL relocs after the
+       associated TLS reloc.  Check lituse_tls relocs match up.
+       (emit_insn): Handle TLS relocations.
+       (ldX_op): Remove.
+
+2002-05-30  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.c (mips_gprel_offset): New variable.
+       (s_gpvalue): Use it.
+
+2002-05-30  Diego Novillo  <dnovillo@redhat.com>
+
+        * gas/config/tc-d10v.c (check_resource_conflict): Only check
+        write-write conflicts.
+        (md_assemble): Reformat introductory comment.
+        (parallel_ok): Prevent packing only if the first
+        instruction cannot be packed.
+
+2002-05-30  Jason Eckhardt <jle@redhat.com>
+           Tom Rix <trix@redhat.com>
+
+       * config/tc-d10v.c (build_insn): Check for immediates.
+
+2002-05-28  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.c: Replace GP in comments by $gp.
+       (mips_big_got): Initialize.
+       (mips_trap): Initialize.
+       (load_address): Use mips_gp_register instead of hardcoded value.
+       Remove dbl parameter, use HAVE_32BIT_ADDRESSES instead.
+       (macro): Use mips_gp_register instead of hardcoded value.
+       (macro2): Change load_address calls.
+       (md_pcrel_from): Comment formatting.
+       (s_cpload): Use mips_gp_register instead of hardcoded value.
+       (s_cprestore): Likewise. Comment formatting.
+       (s_gpword): Fix data type.
+       (s_cpadd): Use mips_gp_register instead of hardcoded value.
+       (nopic_need_relax): Replace GP in comments by $gp.
+       (mips_elf_final_processing): Better comment.
+
+2002-05-28  Kuang Hwa Lin <kuang@sbcglobal.net>
+
+       * configure.in: Add DLX configuraton
+       * Makefile.am: Add DLX configuraton
+       * configure: Regenerate.
+       * Makefile.in: Regenerate.
+       * config/tc-dlx.c: New file.
+       * config/tc-dlx.h: New files.
+       * NEWS: Mention new support.
+
+2002-05-27  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * config/obj-coff.c (write_object_file): Add missing semicolon.
+
+2002-05-26  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.c (mips_emit_delays): Replace magic constant for RA
+       by the define. Remove superfluous check of mips_opts.mips16.
+       (append_insn): Likewise. Canonicalize variable increments.
+       (macro_build): Canonicalize variable increments.
+       (macro_build_lui): Likewise.
+       (load_register): Likewise.
+       (load_address): Move pointer initialization.
+       (macro): Move pointer to a more local scope. Canonicalize variable
+       increments. Better comments. Replace magic constant for RA by the
+       define.
+       (macro2): Replace magic constant for RA by the define. Canonicalize
+       variable increments.
+       (mips_ip): Canonicalize variable increments.
+       (mips16_ip): Replace magic constant for RA by the define.
+       (my_getSmallParser): Canonicalize variable increments/decrements.
+       (my_getPercentOp): Likewise.
+       (my_getSmallExpression): Likewise.
+       (s_align): Likewise.
+       (s_mipsset): Likewise.
+       (s_cpsetup): Likewise.
+       (s_insn): Remove superfluous check of mips_opts.mips16.
+       (s_mips_stab): Likewise.
+       (mips_handle_align): Canonicalize variable increments.
+       (s_mips_ent): Likewise.
+       (s_mips_end): Add comment.
+
+2002-05-26  Jason Thorpe  <thorpej@wasabisystems.com>
+
+       * configure.in: Use ns32k-*-netbsd* instead of ns32k-pc532-netbsd*.
+       * configure: Regenerate.
+
+2002-05-25  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.am (OBJS): Depend on ansidecl.h and fopen-same.h.
+       * Makefile.in: Regenerate.
+       * dep-in.sed: Reorder to match OBJS in Makefile.am.
+       * configure.in (ALL_OBJ_DEPS): Add symcat.h when need_bfd.
+       * configure: Regenerate.
+       * as.h: Use #include "" instead of <> for local header files.
+       * flonum-konst.c: Likewise.
+       * flonum-mult.c: Likewise.
+       * gasp.c: Likewise.
+       * listing.c: Likewise.
+       * config/tc-ia64.h: Likewise.
+       * config/tc-v850.h: Likewise.
+
+2002-05-24  TAMURA Kent <kent@netbsd.org>
+
+       * configure.in: Add a target for i386-netbsdpe.
+       * configure: Regenerate.
+
+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>
+
+       * doc/internals.texi (md_apply_fix3): Expand.
+       (TC_FORCE_RELOCATION, TC_FORCE_RELOCATION_ABS,
+       TC_FORCE_RELOCATION_LOCAL, TC_FORCE_RELOCATION_SUB_SAME,
+       TC_FORCE_RELOCATION_SUB_ABS, TC_FORCE_RELOCATION_SUB_LOCAL,
+       TC_FIX_ADJUSTABLE): Document.
+       * symbols.c (S_FORCE_RELOC): New function.
+       * symbols.h (S_FORCE_RELOC): Declare.  s/CONST/const/.
+       * config/obj-aout.h (S_FORCE_RELOC): Define.
+       * config/obj-bout.h (S_FORCE_RELOC): Define.
+       * config/obj-coff.h (S_FORCE_RELOC): Define.  Formatting fixes.
+       * config/obj-ieee.h (S_FORCE_RELOC): Define.  Formatting fixes.
+       * config/obj-vms.h (S_FORCE_RELOC): Define.
+       * expr.c (clean_up_expression <O_subtract>): Use S_FORCE_RELOC
+       instead of SEG_NORMAL.  Allow diff != 0.
+       (expr <O_subtract>): Use S_FORCE_RELOC instead of SEG_NORMAL.
+       * read.c (pseudo_set): Likewise.
+       * write.c (TC_FORCE_RELOCATION_ABS): Define.
+       (TC_FORCE_RELOCATION_LOCAL): Define, replaces..
+       (TC_RELOC_RTSYM_LOC_FIXUP): ..this. Remove.
+       (TC_FORCE_RELOCATION_SUB_SAME): Define, replaces..
+       (TC_FORCE_RELOCATION_SECTION): ..this.  Remove.
+       (TC_FORCE_RELOCATION_SUB_ABS): Define.
+       (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
+       (RELOC_ENUM): Define.
+       (fix_new_internal): Use RELOC_ENUM.
+       (fix_new): Likewise.
+       (fix_new_exp): Likewise.
+       (adjust_reloc_syms): Split out code setting used_in_reloc to..
+       (mark_reloc_syms): ..here.  New function.  Use S_FORCE_RELOC.
+       (write_object_file): Call mark_reloc_syms.
+       (write_relocs): Formatting.  Avoid symbol loops in
+       RELOC_EXPANSION_POSSIBLE case too.  Report bfd_reloc_outofrange
+       errors, and error number in other cases.
+       (fixup_segment): Rewrite.
+       * config/tc-alpha.h (TC_FORCE_RELOCATION_LOCAL): Define, replaces..
+       (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
+       * config/tc-arm.h: Likewise.
+       * config/tc-cris.h: Likewise.
+       * config/tc-i386.h: Likewise.
+       * config/tc-i960.h: Likewise.
+       * config/tc-ia64.h: Likewise.
+       * config/tc-m68k.h: Likewise.
+       * config/tc-ppc.h: Likewise.
+       * config/tc-s390.h: Likewise.
+       * config/tc-sh.h: Likewise.
+       * config/tc-sh64.h: Likewise.
+       * config/tc-sparc.h: Likewise.
+       * config/tc-hppa.h (TC_FORCE_RELOCATION_SUB_SAME): Define, replaces..
+       (TC_FORCE_RELOCATION_SECTION):  Delete.
+       * config/tc-i386.c (tc_i386_force_relocation): Remove.
+       (BFD_RELOC_8, BFD_RELOC_16): Define for non BFD_ASSEMBLER.
+       (md_apply_fix3): Formatting.  Hack for bfd_install_relocation when
+       fx_pcrel, not when fx_addsy.
+       * config/tc-i386.h (TC_FORCE_RELOCATION): Define using code moved
+       from tc_i386_force_relocation.
+       (TC_FIX_ADJUSTABLE): Remove redundant tc_fix_adjustable condition.
+       * config/tc-s390.h (TC_FIX_ADJUSTABLE): Likewise.
+       * config/tc-sh.h (TC_FIX_ADJUSTABLE): Likewise.
+       * config/tc-i960.c (reloc_callj): Remove declaration.  Return false.
+       * config/tc-i960.h (TC_FORCE_RELOCATION_SUB): Define.
+       (TC_FORCE_RELOCATION_ABS): Define.
+       * config/tc-ppc.c (md_apply_fix3): Rename arg to match comments.
+       Don't undo adjustments done by write.c:fixup_segment.
+       * config/tc-ppc.h (TC_FIX_ADJUSTABLE): Instead arrange for them
+       to not occur in the first place.
+       (TC_FORCE_RELOCATION_SECTION): Delete.
+       * config/tc-s390.c (md_apply_fix3): Use TC_FORCE_RELOCATION_LOCAL
+       instead of TC_RELOC_RTSYM_LOC_FIXUP.
+       * config/tc-sh.c (sh_fix_adjustable): Likewise.
+       * config/tc-sh.h (obj_fix_adjustable): Delete, instead..
+       (tc_fix_adjustable): Define.
+
+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.
+       * config/tc-mmix.h: Likewise.
+
+2002-05-08  Alan Modra  <amodra@bigpond.net.au>
+
+       * configure: Regenerate.
+
+2002-05-07  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/tc-m68k.c: Fix formatting.
+
+2002-05-07  Federico G. Schwindt <fgsch@olimpo.com.br>
+
+       * Makefile.am: Honour DESTDIR.
+       * Makefile.in: Regenerate.
+
+2002-05-06  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/tc-ia64.c: Fix formatting.
+       * config/tc-ia64.h: Likewise.
+
 2002-05-04  Kazu Hirata  <kazu@cs.umass.edu>
 
        * config/tc-mips.c: Fix formatting.
This page took 0.028723 seconds and 4 git commands to generate.