Add pc-relative 32-bit reloc to v850 port. Fixes ld-elf/merge test failure.
[deliverable/binutils-gdb.git] / gas / ChangeLog
index 93718c0341acc143dfd0de53850622a4077a600e..8085cd312baf36d7f09be9585a9737923de63db3 100644 (file)
@@ -1,3 +1,237 @@
+2003-06-03  Nick Clifton  <nickc@redhat.com>
+
+       * tc-v850.c (tc-gen_reloc): Translate BFD_RELOC_32 into
+        BFD_RELOC_32_PCREL if the reloc is pc-relative.  Do this
+        before calling bfd_reloc_type_lookup.
+        
+2003-06-02  Alan Modra  <amodra@bigpond.net.au>
+
+       * read.c (emit_expr): Set dot_value.
+       * dw2gencfi.c (output_fde): Remove pcrel reloc hack.
+
+2003-06-02  Alan Modra  <amodra@bigpond.net.au>
+
+       * macro.c (sub_actual): Don't lose string if it turns out that
+       &string wasn't an arg.
+
+2003-05-31  Richard Henderson  <rth@redhat.com>
+
+       * dw2gencfi.c (output_fde): Use fix_new to emit pc-relative reloc.
+       (cfi_finish): Set flag_traditional_format around .eh_frame data.
+
+2003-05-29  Richard Henderson  <rth@redhat.com>
+
+       * config/tc-alpha.c (alpha_cur_ent_sym): Remove.
+       (all_frame_data, plast_frame_data, cur_frame_data): New.
+       (s_alpha_ent): Record data for dwarf2 cfi.
+       (s_alpha_end, s_alpha_mask, s_alpha_frame, s_alpha_prologue): Likewise.
+       (alpha_elf_md_end): Emit dwarf2 cfi for ecoff unwind directives.
+       * config/tc-alpha.h (md_end): New.
+       (DWARF2_DEFAULT_RETURN_COLUMN): New.
+       (DWARF2_CIE_DATA_ALIGNMENT): New.
+
+2003-05-29  Nick Clifton  <nickc@redhat.com>
+
+       * configure.in: Add i386-*-freebsd* entry.
+       * configure: Regenerate.
+
+2003-05-29  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
+
+       * config/tc-m32r.c: Amend comment to refer to Renesas
+
+2003-05-27  Richard Henderson  <rth@redhat.com>
+
+       * expr.c (make_expr_symbol): Fold FAKE_LABEL_NAME use into the
+       symbol_create call.
+       (current_location): Use symbol_temp_new_now.
+       * stabs.c (s_stab_generic): Use symbol_temp_new.
+       * symbols.c (temp_label_name): Remove.
+       (symbol_temp_new, symbol_temp_make): Use FAKE_LABEL_NAME.
+
+2003-05-27  Richard Henderson  <rth@redhat.com>
+
+       * dw2gencfi.c, dw2gencfi.h: Rewrite from scratch.
+       * as.c (main): Always call cfi_finish.
+       * config/tc-i386.c (x86_dwarf2_return_column): New.
+       (x86_cie_data_alignment): New.
+       (md_begin): Set them.
+       (tc_x86_cfi_init): Remove.
+       (tc_x86_regname_to_dw2regnum): Fix 32-bit register numbers;
+       return int, not unsigned long; don't as_bad here.
+       (tc_x86_frame_initial_instructions): Streamline; use
+       updated api.
+       * config/tc-i386.h (tc_cfi_init): Remove.
+       (DWARF2_DEFAULT_RETURN_COLUMN): New.
+       (DWARF2_CIE_DATA_ALIGNMENT): New.
+
+2003-05-27  Richard Henderson  <rth@redhat.com>
+
+       * symbols.c (temp_label_name): New.
+       (symbol_temp_new, symbol_temp_new_now, symbol_temp_make): New.
+       (symbol_set_value_now): New.
+       * symbols.h: Prototype them.
+       * dwarf2dbg.c: Use them.
+       (fake_label_name, symbol_new_now, set_symbol_value_now): Remove.
+
+2003-05-23  Jason Eckhardt  <jle@rice.edu>
+
+       * config/tc-i860.c (target_xp): Declare variable.
+       (OPTION_XP): Declare macro.
+       (md_longopts): Add option -mxp.
+       (md_parse_option): Set target_xp.
+       (md_show_usage): Add -mxp usage.
+       (i860_process_insn): Recognize XP registers bear, ccr, p0-p3.
+       (md_assemble): Don't try expansions if XP_ONLY is set.
+       * doc/c-i860.texi: Document -mxp option and i860XP support.
+
+2003-05-23  Eric Christopher  <echristo@redhat.com>
+
+       * config/tc-mips.c (macro_build_jalr): Warning patrol.
+
+2003-05-22  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.c (append_insn): Use actual relocation size for new
+       fixp's. Don't relax overflow checking for partial_inplace relocations.
+       Use the actual relocation type in combined relocs, not just the type
+       of the first one.
+       (macro_build_jalr): Use actual relocation size for new fix.
+       (s_cpsetup, s_gpdword): Likewise.
+
+2003-05-22  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.c (macro): Don't use uninitialized tempreg.
+
+2003-05-22  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-xstormy16.c (md_pcrel_from_section): Do not produce
+       section relative offsets for relocs that will not be based on the
+       section symbol.
+       (xstormy16_md_apply_fix3): Remove previous patch to this
+       function.
+
+2003-05-07  Eric Christopher  <echristo@redhat.com>
+
+       * config/tc-mips.c (mips_abicalls): New variable.
+       (md_parse_option): Use.
+       (s_option): Ditto.
+       (s_abicalls): Ditto.
+       (mips_elf_final_processing): Set EF_MIPS_PIC and
+       EF_MIPS_CPIC dependent on above.
+
+2003-05-21  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * tc-hppa.c (hppa_symbol_chars): Remove `,' and `!'.
+
+2003-05-21  Nick Clifton  <nickc@redhat.com>
+
+       * config/obj-elf.c: Include dwarf2dbg.h.
+       (elf_pseudo_tab): Add .file and .loc.
+       * config/tc-arc.c (md_pseudo_table): Remove .file and .loc.
+       * config/tc-arm.c: Likewise.
+       * config/tc-h8300.c: Likewise.
+       * config/tc-hppa.c: Likewise.
+       * config/tc-ia64.c: Likewise.
+       * config/tc-m68hc11.c: Likewise.
+       * config/tc-m68k.c: Likewise.
+       * config/tc-mmix.c: Likewise.
+       * config/tc-mn10300.c: Likewise.
+       * config/tc-ppc.c: Likewise.
+       * config/tc-sh.c: Likewise.
+       * config/tc-sparc.c: Likewise.
+       * config/tc-v850.c: Likewise.
+       * config/tc-frv.c: Likewise, and remove redundant inclusion of
+       dwarf2dbg.h.
+       * config/tc-ip2k.c: Likewise.
+       * config/tc-iq2000.c: Likewise.
+       * config/tc-xstormy16.c: Likewise.
+       * config/tc-xtensa.c: Likewise.
+       * Makefile.am: Regenerate dependencies.
+       * Makefile.in: Regenerate.
+       * aclocal.m4: Regenerate.
+       * config.in: Regenerate.
+       * configure: Regenerate.
+       * po/POTFILES.in: Regenerate.
+       * po/gas.pot: Regenerate.
+
+2003-05-21  Nick Clifton  <nickc@redhat.com>
+
+       * dw2gencfi.c (cfi_get_label): Use symbol_make for non
+       BFD_ASSEMBLER targets.
+       (cfi_startproc): Change type of saved_seg and cfi_seg to segT.
+       (dot_cfi_endproc): Only call bfd_set_section_flags for targets
+       defining BFD_ASSEMBLER.
+
+2003-05-20  Michal Ludvig  <mludvig@suse.cz>
+
+       * as.c (main): Remove tc_cfi_init().
+       * dw2gencfi.c (cfi_parse_arg): Allow regnames beginning
+       with '%'.
+       (cfi_pseudo_table): Add "cfi_register" entry.
+       (cfi_make_insn): Handle CFA_register.
+       (cfi_output_insn): Ditto.
+       (dot_cfi): Ditto.
+       (cfi_get_label): Add 'simple' modifier to .cfi_startproc.
+       (dot_cfi_endproc): Reuse already emitted CIEs.
+       * testsuite/gas/cfi/cfi-i386.d: New pattern.
+       * testsuite/gas/cfi/cfi-x86-64.d: Ditto.
+
+2003-05-20  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-xstormy16.c: Include dwarf2dbg.h.
+       (md_pseudo_table): Add entries for .loc and .line.
+
+2003-05-20  Alan Modra  <amodra@bigpond.net.au>
+
+       * dw2gencfi.c (cfi_parse_arg): Only use tc_regname_to_dw2regnum if
+       defined.
+       (dot_cfi_endproc): Avoid C99 construct.
+
+2003-05-20  Michal Ludvig  <mludvig@suse.cz>
+
+       * dw2gencfi.c, dw2gencfi.h: New files.
+       * config/tc-i386.c (tc_x86_cfi_init): New function.
+       * config/tc-i386.h (TARGET_USE_CFIPOP, tc_cfi_init): New defines.
+       * as.c (parse_args): Set verbose flag on --verbose.
+       (main): Call tc_cfi_init()/cfi_finish().
+       * as.h (verbose): New external variable.
+       * read.c (pobegin): Insert CFI pops to the list.
+       * symbols.c (local_symbol_make): Make symbol external.
+       * symbols.h (local_symbol_make): New prototype.
+       * Makefile.am: Add dw2gencfi.[ch] files.  Run "make dep-am".
+       * Makefile.in: Regenerate.
+       * doc/as.texinfo: Added node "CFI directives" with description of
+       all implemented .cfi_* directives.
+       * doc/Makefile.in: Regenerate.
+       * po/POTFILES.in: Regenerate.
+
+2003-05-19  Svein E. Seldal  <Svein.Seldal@solidas.com>
+
+       * config/tc-tic4x.c (md_assemble): Added support for one-line parallel
+       insns.
+       * config/tc-tic4x.h: Added DOUBLEBAR_PARALLEL definition
+
+2003-05-18  Jason Eckhardt  <jle@rice.edu>
+
+       * config/tc-i860.c (i860_process_insn): Initialize fc after
+       each opcode mismatch.
+
+2003-05-16  Kelley Cook  <kelleycook@wideopenwest.com>
+
+       * configure.in: Accept i[3-7]86 variants.
+       * configure: Regenerate.
+
+2003-05-15  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.h: Fix comment formatting.
+
+2003-05-13  Hans-Peter Nilsson  <hp@axis.com>
+
+       * read.c (old_buffer, old_input, old_limit): Remove variables.
+       (read_a_source_file): Delete label contin.
+       <handling #APP/#NO_APP>: Use an "sb" to push #APP expansion into
+       input as with macros, instead of in separate old_* variables.
+       Zero-terminate string being scrubbed.
+
 2003-05-12  Nick Clifton  <nickc@redhat.com>
 
        * config/tc-xstormy16.c (skipping_fptr): New local variable.
 
 2003-05-02  Michael Snyder  <msnyder@redhat.com>
 
-       * write.h (FAKE_LABEL_NAME): Allow override 
+       * write.h (FAKE_LABEL_NAME): Allow override
        (for targets that like eg. a leading dot in a local label).
 
 2003-05-02  Nick Clifton  <nickc@redhat.com>
 2003-05-01  Christian Groessler <chris@groessler.org>
 
        * expr.h: Fix comments in operatorT typedef.
-       * config/tc-z8k.c: Add 2003 to copyright message.  
+       * config/tc-z8k.c: Add 2003 to copyright message.
        Fold s_segm() and s_unseg() into one function s_segm(parm) which
        decides by the parameter.
        (md_begin): Don't set linkrelax.  Only set Z8002 default if no
 
 2003-04-21  Richard Henderson  <rth@redhat.com>
 
-        * dwarf2dbg.c (get_filenum): Skip as-yet unassigned file numbers.
-        (out_file_list): Assign non-null filename after generating error.
+       * dwarf2dbg.c (get_filenum): Skip as-yet unassigned file numbers.
+       (out_file_list): Assign non-null filename after generating error.
 
 2003-04-18  Jakub Jelinek  <jakub@redhat.com>
 
 
 2003-04-01  Bob Wilson  <bob.wilson@acm.org>
 
-        * Makefile.am (CPU_TYPES): Add xtensa.
-        (TARGET_CPU_CFILES): Add config/tc-xtensa.c.
-        (TARGET_CPU_HFILES): Add config/tc-xtensa.h.
-        (xtensa-relax.o): New target.
-        Run "make dep-am".
-        * Makefile.in: Regenerate.
-        * configure.in: Handle xtensa-*-*.  Add xtensa-relax.o to
-        extra_objects for xtensa targets.
-        * configure: Regenerate.
-        * write.c (write_object_file): Add new md_post_relax_hook.
-        * config/tc-xtensa.c: New file.
-        * config/tc-xtensa.h: Likewise.
-        * config/xtensa-istack.h: Likewise.
-        * config/xtensa-relax.c: Likewise.
-        * config/xtensa-relax.h: Likewise.
-        * doc/Makefile.am (CPU_DOCS): Add c-xtensa.texi.
-        * doc/Makefile.in: Regenerate.
-        * doc/all.texi: Set new XTENSA variable.
-        * doc/as.texinfo: Set new Xtensa variable.  Describe
-        Xtensa-specific options.  Define line comment character for
-        Xtensa.  Add Xtensa processors to list of ELF targets where
-        alignment is specified in bytes.  Add new Xtensa-Dependent node.
-        Add acknowledgements for those contributing to the Xtensa port.
-        * doc/internals.texi: Describe new md_post_relax_hook.
-        * doc/c-xtensa.texi: New file.
-
+       * Makefile.am (CPU_TYPES): Add xtensa.
+       (TARGET_CPU_CFILES): Add config/tc-xtensa.c.
+       (TARGET_CPU_HFILES): Add config/tc-xtensa.h.
+       (xtensa-relax.o): New target.
+       Run "make dep-am".
+       * Makefile.in: Regenerate.
+       * configure.in: Handle xtensa-*-*.  Add xtensa-relax.o to
+       extra_objects for xtensa targets.
+       * configure: Regenerate.
+       * write.c (write_object_file): Add new md_post_relax_hook.
+       * config/tc-xtensa.c: New file.
+       * config/tc-xtensa.h: Likewise.
+       * config/xtensa-istack.h: Likewise.
+       * config/xtensa-relax.c: Likewise.
+       * config/xtensa-relax.h: Likewise.
+       * doc/Makefile.am (CPU_DOCS): Add c-xtensa.texi.
+       * doc/Makefile.in: Regenerate.
+       * doc/all.texi: Set new XTENSA variable.
+       * doc/as.texinfo: Set new Xtensa variable.  Describe
+       Xtensa-specific options.  Define line comment character for
+       Xtensa.  Add Xtensa processors to list of ELF targets where
+       alignment is specified in bytes.  Add new Xtensa-Dependent node.
+       Add acknowledgements for those contributing to the Xtensa port.
+       * doc/internals.texi: Describe new md_post_relax_hook.
+       * doc/c-xtensa.texi: New file.
 
 2003-04-01  Nick Clifton  <nickc@redhat.com>
            Richard Earnshaw  <rearnsha@arm.com>
 
 2003-03-26  Eric Christopher  <echristo@redhat.com>
 
-       * config/tc-mips.c (nopic_need_relax): Check for
-        S_IS_EXTERN.
+       * config/tc-mips.c (nopic_need_relax): Check for S_IS_EXTERN.
 
 2003-03-25  Stan Cox   <scox@redhat.com>
            Nick Clifton  <nickc@redhat.com>
 
 2003-01-23  Nick Clifton  <nickc@redhat.com>
 
-        NEWS: Announce sh2e support.
-
-       * Add sh2e support:
+       * NEWS: Announce sh2e support.
 
+       Add sh2e support:
        2002-04-02  Alexandre Oliva  <aoliva@redhat.com>
-
-               * config/tc-sh.c (md_show_usage): Added sh2e next to
-               sh3e.
-               (sh_elf_final_processing): Handle arch_sh2e.
+       * config/tc-sh.c (md_show_usage): Added sh2e next to sh3e.
+       (sh_elf_final_processing): Handle arch_sh2e.
 
 2003-01-23  Alan Modra  <amodra@bigpond.net.au>
 
 
 2003-01-01  John David Anglin  <dave.anglin@nrc.ca>
 
-        * config/obj-elf.c (special_sections): Work around HP's incorrect usage
-        of .init and .fini sections for array initializers and finalizers.
+       * config/obj-elf.c (special_sections): Work around HP's incorrect usage
+       of .init and .fini sections for array initializers and finalizers.
 
 2002-12-31  Chris Demetriou  <cgd@broadcom.com>
 
This page took 0.028366 seconds and 4 git commands to generate.