* config/tc-alpha.c (alpha_reloc_op_tag): Replace need_seq with
[deliverable/binutils-gdb.git] / gas / ChangeLog
index 7965d08e2efee33f4ce4cf4b9f8a6ee11825bef9..0c27bef53b374a648a3b3c8166a765dc76c2057a 100644 (file)
@@ -1,3 +1,276 @@
+2001-09-07  Richard Henderson  <rth@redhat.com>
+
+       * config/tc-alpha.c (alpha_reloc_op_tag): Replace need_seq with
+       require_seq and allow_seq.  Let !literal omit the sequence number.
+       (tokenize_arguments): Reject sequence numbers of !allow_seq.
+
+2001-09-08  Jakub Jelinek  <jakub@redhat.com>
+
+       * config/tc-sparc.c (md_apply_fix3): Handle relocs against SEC_MERGE
+       section symbols the same way as externs.
+
+2001-09-07  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.c (s_mipsset): Reallow unrestricted use of .set mipsX
+       pseudo-op.
+
+2001-09-07  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.c (append_insn): Handle BFD_RELOC_16_PCREL.
+       (macro_build): Use BFD_RELOC_16_PCREL_S2 only for embedded
+       PIC, BFD_RELOC_16_PCREL for the rest.
+       (mips_ip): Likewise.
+        (md_pcrel_from): return the right offset for the differently shifted
+        pcrel relocs.
+       (md_apply_fix): Handle BFD_RELOC_16_PCREL.
+
+2001-09-05  Richard Henderson  <rth@redhat.com>
+
+       * config/tc-ia64.c (FUNC_IPLT_RELOC): New.
+       (pseudo_func): Add @iplt.
+       (pseudo_opcode): Add data16 and data16.ua.
+       (md_begin): Set iplt pseudo.
+       (ia64_cons_fix_new): Handle 16 byte iplt reloc specially.
+
+2001-09-04  Richard Henderson  <rth@redhat.com>
+
+       * config/tc-alpha.c (struct alpha_insn): Make sequence scalar long.
+       (MACRO_LITERAL, MACRO_BASE, MACRO_BYTOFF, MACRO_JSR): Remove.
+       (alpha_macros): Remove occurrences of same.
+       (O_lituse_addr, O_gprel): New.
+       (DUMMY_RELOC_LITUSE_*): New.
+       (s_alpha_ucons, s_alpha_arch): Prototype.
+       (alpha_reloc_op): Construct elements via DEF macro.
+       (ALPHA_RELOC_SEQUENCE_OK): Remove.
+       (struct alpha_reloc_tag): Rename from alpha_literal_tag; rename
+       members to not be literal specific.
+       (next_sequence_num): New.
+       (md_apply_fix3): Cope with missing GPDISP_LO16.  Adjust for
+       added/removed BFD relocations.
+       (alpha_force_relocation, alpha_fix_adjustable): Likewise.
+       (alpha_adjust_symtab_relocs): Handle GPDISP relocs as well.
+       (tokenize_arguments): Parse ! relocations properly.
+       (find_macro_match): Delete unused macro argument types.
+       (assemble_insn): Add reloc parameter; emit that instead of the
+       default as appropriate.
+       (get_alpha_reloc_tag): New.  Split from ...
+       (emit_insn): ... here.  Allocate a reloc tag for GPDISP.
+       (assemble_tokens): Don't search macros if user relocation present.
+       Copy reloc sequence number to insn struct.
+       (emit_ldgp): Remove user reloc handling.
+       (load_expression, emit_lda, emit_ldah, emit_ir_load): Likewise.
+       (emit_loadstore, emit_ldXu, emit_ldil, emit_stX): Likewise.
+       (emit_sextX, emit_division, emit_jsrjmp, emit_retjcr): Likewise.
+       * config/tc-alpha.h (tc_adjust_symtab): Always define.
+       (struct alpha_fix_tag): Name members less literal specific.
+
+Tue Sep  4 20:01:19 2001  Jeffrey A Law  (law@cygnus.com)
+
+       * tc-h8300.c (tc_gen_reloc): Give an error if we try to take the
+       address of two symbols in different sections.
+
+2001-08-31  Eric Christopher  <echristo@redhat.com>
+           Jason Eckhardt  <jle@redhat.com>
+
+       * config/tc-mips.c (mips_cpu_info): Add support for mipsisa32,
+       5kc, and 20kc.  Clean up old entries.
+
+Fri Aug 31 12:05:13 2001  J"orn Rennecke <amylaar@redhat.com>
+                         Jeff Law <law@redhat.com>
+
+       * config/tc-h8300.c (build_bytes): For OBJ_ELF, make relocation's
+       offset match H8 ELF spec.
+       (md_section_align): Alternate implementation for BFD_ASSEMBLER.
+       (md_apply_fix): Fix argument and return types for BFD_ASSEMBLER.
+
+       * tc-h8300.c (relocation mappings): Remove.  Moved to tc-h8300.h.
+       (build_bytes): Mark fixups for PCrel branches as signed.  For
+       OBJ_ELF, make sure the reloc's offset points to the first byte
+       to be modified.
+       (md_convert_frag): Update definiton based on BFD_ASSEMBLER.
+       * tc-h8300.h (relocation mappings): Add.
+
+Thu Aug 30 12:05:13 2001  J"orn Rennecke <amylaar@redhat.com>
+
+       * tc-h8300.c (tc_crawl_symbol_chain, tc_headers_hook): Don't
+       define for BFD_ASSEMBLER.
+       (tc_reloc_mangle): Likewise.
+       (tc_gen_reloc): New function for BFD_ASSEMBLER.
+
+Wed Aug 29 12:49:58 2001  Jeffrey A Law  (law@cygnus.com)
+
+       * config/tc-h8300.c (h8300hmode): Record the machine type
+       if BFD_ASSEMBLER is defined.
+       (h8300smode, md_begin): Similarly.
+
+2001-08-29  Joel Sherrill <joel@OARcorp.com>
+
+       * configure.in (i[3456]86-*-rtems*, m68*-*-rtems*): Change
+       default from coff to elf.
+       * configure: Regenerate.
+
+Wed Aug 29 12:05:13 2001  J"orn Rennecke <amylaar@redhat.com>
+
+       * tc-h8300.c: If OBJ_ELF, include elf/h8.h, and define
+       assorted coff relocations to the corresponding elf relocations.
+       * tc-h8300.h (TARGET_ARCH, TARGET_FORMAT): Define appropriately.
+
+       * configure.in: Add case for h8300-*-elf.
+       * configure: Regenerate.
+
+Wed Aug 29 12:05:13 2001  J"orn Rennecke <amylaar@redhat.com>
+
+       * doc/internals.texi (MD_PCREL_FROM_SECTION): Change
+       documentation to reflect reality.
+
+2001-08-27  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.c (load_address): Reflect change to MAX_GPREL_OFFSET.
+       (macro): Reflect change to MAX_GPREL_OFFSET.
+
+2001-08-27  Torbjorn Granlund  <tege@swox.com>
+           Staffan Ulfberg  <staffanu@swox.se>
+           Linus Nordberg  <linus@swox.se>
+           Alan Modra  <amodra@bigpond.net.au>
+
+       * configure.in: Recognise powerpc*le*, not just powerpcle*.
+       * configure: Regenerate.
+       * config/tc-ppc.c (PPC_LO, PPC_HI, PPC_HA, PPC_HIGHER,
+       PPC_HIGHERA, PPC_HIGHEST, PPC_HIGHESTA, SEX16): New macros.
+       (md_assemble): Use them.
+       (ppc_machine): Support stub for ELF64 as well as XCOFF.
+       (md_pseudo_table): Add "llong", "quad".
+       (md_parse_option): Match default_cpu of powerpc*.
+       (ppc_arch): Likewise.
+       (ppc_subseg_align): Only for OBJ_XCOFF.
+       (ppc_target_format): Return elf64-powerpc strings for 64 bit ELF.
+       (md_begin): Select PPC_OPCODE_64 for 64 bit.
+       (ppc_insert_operand): Don't bother testing 'file' before calling
+       as_bad_where.  Use as_bad_where for operand->insert errors.
+       (mapping): Add ELF64 relocation modifiers.
+       (ppc_elf_suffix): Replace symbol on BFD_RELOC_PPC64_TOC reloc
+       expressions with abs_symbol.
+       (ppc_elf_cons): Correct offset for little endian targets.
+       (ppc_elf_frob_symbol): New.
+       (md_assemble): Add support for 64 bit ELF relocs.
+       (ppc_tc): Ensure 8 byte alignment when 64 bit.
+       (ppc_is_toc_sym): Only define for OBJ_XCOFF and OBJ_ELF.  Match
+       ".toc" section for 64 bit ELF.
+       (ppc_fix_adjustable): New.  Macro body moved from tc-ppc.h.
+       (md_apply_fix3): Silence warning with ATTRIBUTE_UNUSED.  Only do
+       the ppc_is_toc_sym check for OBJ_XCOFF and OBJ_ELF.  For 64 bit,
+       use BFD_RELOC_PPC64_TOC16_DS instead of BFD_RELOC_PPC_TOC16.
+       Expand on comments, error message.  Add support for 64 bit relocs,
+       and use PPC_HI etc. macros.
+       * config/tc-ppc.h (MAX_MEM_FOR_RS_ALIGN_CODE): Define.
+       (HANDLE_ALIGN): Define to generate nops in code sections rather
+       than zeros.
+       (TC_FORCE_RELOCATION): Force for BFD_RELOC_PPC64_TOC.
+       (ELF_TC_SPECIAL_SECTIONS): Add 64 bit ELF sections.
+       (tc_fix_adjustable): Move body of macro to tc-ppc.c.
+       (ppc_fix_adjustable): Declare.
+       (tc_frob_symbol): Define.
+       (ppc_elf_frob_symbol): Declare.
+
+2001-08-26  Andreas Jaeger  <aj@suse.de>
+
+       * config/tc-s390.c: Add missing prototypes
+       (md_gather_operands): Make static.
+
+2001-08-26  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.h (MAX_GPREL_OFFSET): Change it to the maximum
+       allowed value, not the word beyond maximum.
+       * config/tc-mips.c (macro_build_lui): Code cleanup.
+       (macro): Reflect change to MAX_GPREL_OFFSET.
+       (mips_ip): Check explicitly against S_EX_NONE.
+       (my_get_SmallExpression): parse for %gp_rel, not %gprel.
+       (md_apply_fix): Code cleanup.
+
+2001-08-24  Andreas Jaeger  <aj@suse.de>
+
+       * config/tc-ppc.h: Fix prototype declaration.
+
+2001-08-23  Jakub Jelinek  <jakub@redhat.com>
+
+       * config/tc-ia64.c (dot_endp): Set function symbol sizes.
+       * config/obj-elf.c (obj_elf_size): When size is constant, free
+       and clear symbol_get_obj(sym)->size if any.
+
+2001-08-21  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.c (md_begin): Warn about incompatibility between
+       -march=FOO and -mipsN option, continue with default ISA.
+
+2001-08-21  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.c (md_parse_option): #ifdef the
+       traditional/non-traditional names as it is done in mips_target_format.
+
+2001-08-20  Richard Henderson  <rth@redhat.com>
+
+       * config/tc-alpha.h (MD_APPLY_FIX3): Define.
+       * config/tc-alpha.c (md_apply_fix3): Rename from md_apply_fix;
+       use seg parameter instead of now_seg.
+
+2001-08-18  H.J. Lu  <hjl@gnu.org>
+
+       * config/tc-mips.c (show): Add the missing prototype.
+
+2001-08-18  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.c (S_EX_*): New enum for my_getSmallExpression()
+       return values.
+       (mips_ip): Use the new return values instead of characters. Add
+       support for %higher and %highest.
+       (LP): Remove.
+       (RP): Remove.
+       (my_getSmallExpression): Make parsing case insensitive and more
+       reliable. Add support for %higher and %highest. Further support to
+       parse %gprel and %neg is implemented but currently deactivated.
+
+2001-08-17  Alan Modra  <amodra@bigpond.net.au>
+
+       * ecoff.c (ecoff_frob_symbol): Remove casts from bfd_get_gp_size.
+       (ecoff_build_symbols): Likewise.
+       * read.c (s_lcomm_internal): Fix signed/unsigned warning.
+
+2001-08-16  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.c (mips_elf_final_processing): Set elf header flags
+       for n32 ABI if appropriate.
+
+2001-08-16  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.c (cons_fix_new_mips): Remove.
+       * config/tc-mips.h (TC_CONS_FIX_NEW): Remove.
+       (cons_fix_new_mips): Remove.
+
+2001-08-14  Jeff Johnston  <jjohnstn@redhat.com>
+
+        * expr.c (operand)[LITERAL_PREFIXDOLLAR_HEX]: Treat $L as
+        a label, not a hex constant.
+
+2001-08-13  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * config/tc-v850.h: Add missing prototypes.
+
+2001-08-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>
+
+       * config/tc-s390.c (s390_elf_cons): Correct fixups for PLT
+       relocations.
+
+2001-08-12  TAKAI Kousuke  <takai@vlsi.kuee.kyoto-u.ac.jp>
+
+       * config/tc-sparc.c (cons_fix_new_sparc): Move
+       `sparc_no_align_cons = 0;' to...
+       (s_uacons): ...here so that sparc_no_align_cons will get
+       cleared properly.
+
+2001-08-11  Kazu Hirata  <kazu@hxi.com>
+
+       * config/tc-mips.c: Fix a comment typo.
+
 2001-08-10  Richard Sandiford  <rsandifo@redhat.com>
 
        * config/tc-mips.c (move_register): New function.
 
 2001-08-07  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
 
-       * tc-mips.c (macro_build): Replace magic constants by defines.
+       * config/tc-mips.c (macro_build): Replace magic constants by defines.
        (mips_ip): Likewise. Typo.
 
 2001-08-04  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
 
-       * tc-mips.c (mips_abi_string): Initialize with NULL instead of 0.
+       * config/tc-mips.c (mips_abi_string): Initialize with NULL instead
+       of 0.
        (RELAX_ENCODE): Replace bfd_vma by valueT.
        (load_address): Formatting.
        (macro): Likewise. Code cleanup. Typo.
        * dwarf2dbg.c (dwarf2_directive_file): Call s_app_file (0) if
        BFD_ASSEMBLER is not defined.
 
-2001-02-23   Richard Sandiford <rsandifo@redhat.com>
+2001-02-23  Richard Sandiford  <rsandifo@redhat.com>
 
        * config/tc-mn10300.c (md_apply_fix3): Don't mark a fixup as
        done if it's against a symbol.
@@ -1706,7 +1980,7 @@ Mon Feb 12 17:45:50 CET 2001  Jan Hubicka  <jh@suse.cz>
        * config/tc-sh.c (md_pseudo_table): Add uaquad.  Use s_uacons for
        2byte, 4byte and 8byte.
 
-2001-02-08  Alan Modra   <alan@linuxcare.com.au>
+2001-02-08  Alan Modra  <alan@linuxcare.com.au>
 
        * config/tc-hppa.c (pa_build_unwind_subspace): Don't call
        md_number_to_chars with size > sizeof (valueT).
@@ -2409,7 +2683,7 @@ Mon Dec 11 14:35:42 MET 2000  Jan hubicka  <jh@suse.cz>
        * doc/as.texinfo: Correct description of MIPS -mcpu
        option, by copying some of the text from doc/c-mips.texi.
 
-2000-12-01      Joel Sherrill <joel@OARcorp.com>
+2000-12-01  Joel Sherrill  <joel@OARcorp.com>
 
        * configure.in (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
        New targets.
@@ -5920,7 +6194,7 @@ Fri Feb 11 14:21:51 2000  Jeffrey A Law  (law@cygnus.com)
        * config/tc-ppc.c (ppc_fix_adjustable): Don't look at the frag
        of a symbol when we really care about its value.
 
-2000-01-19  Chandra Chavva   <cchavva@cygnus.com>
+2000-01-19  Chandra Chavva  <cchavva@cygnus.com>
 
        * config/tc-mcore.c (md_assemble): Give warning message if
        operands passes to instruction are more than the spec.
@@ -5929,7 +6203,7 @@ Fri Feb 11 14:21:51 2000  Jeffrey A Law  (law@cygnus.com)
 
        * config/tc-arm.c (armadjust_symtab): If the assembler is in
        Thumb mode but the label seen was not declared as '.thumb_func'
-       then set the ST_INFO type to STT_ARM_16BIT mode.   This allows
+       then set the ST_INFO type to STT_ARM_16BIT mode.  This allows
        correct disassembly of Thumb code bounded by non function labels.
 
 2000-01-27  Alan Modra  <alan@spri.levels.unisa.edu.au>
This page took 0.028039 seconds and 4 git commands to generate.