X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gas%2FChangeLog;h=ac3953d7b275134f61bfb8878ac14b7ff81b8d87;hb=b2b7424819829f8f0377907b3f03319a20e6355d;hp=3ff0ae36f364f57e64c10fb4149d10eac912b9d6;hpb=81c23f829ee829524ac3bf0b9422f8950306d1d6;p=deliverable%2Fbinutils-gdb.git diff --git a/gas/ChangeLog b/gas/ChangeLog index 3ff0ae36f3..ac3953d7b2 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,362 @@ +2009-10-013 Vincent Riviere + + PR gas/3041 + * config/tc-m68k.c (tc_gen_reloc): Fix addend for relocations + located in data section an referencing a weak symbol. + +2009-10-07 Nathan Sidwell + + * config/tc-arm.c (mapping_state, mapping_state_2): Make dummy + versions slightly more than nothing. + + * doc/c-arm.texi (ARM Options): Correctly name the two mapcs options. + +2009-10-07 Alan Modra + H.J. Lu + + PR gas/2117 + * config/tc-ia64.c (parse_operand): Use expression rather than + expression_and_evalute. + (parse_operand_and_eval): New function. Replace all uses of + parse_operand outside of parse_operands with this function. + (parse_operans_maybe_eval): New function. Replace uses of + parse_operand in parse_operands, except for the dummy, with + this function. + +2009-10-06 Alan Modra + + PR gas/10704 + * symbols.c (snapshot_symbol): Revert 2006-01-09 patch for PR2117. + +2009-10-06 Alan Modra + + * read.c (s_reloc): Don't use expression_and_evaluate. + +2009-10-02 Peter Bergner + + * config/tc-ppc.c (md_show_usage): Document -m476. + * doc/c-ppc.texi (PowerPC-Opts): Document -m476. + +2009-10-02 Jakub Jelinek + + * dw2gencfi.c: Include dwarf2dbg.h. + (DWARF2_FORMAT): Define if not defined. + (dot_cfi_sections): New function. + (cfi_pseudo_table): Handle .cfi_sections. + (CFI_EMIT_eh_frame, CFI_EMIT_debug_frame): Define. + (cfi_sections): New variable. + (output_cie, output_fde, select_cie_for_fde): Add eh_frame + argument, add supporting for outputting .debug_frame + section. + (cfi_change_reg_numbers): New function or macro. + (cfi_finish): Only emit .eh_frame if + cfi_sections & CFI_EMIT_eh_frame. Emit .debug_frame if + cfi_sections & CFI_EMIT_debug_frame. + * config/tc-ppc.h (md_reg_eh_frame_to_debug_frame): Define. + * doc/as.texinfo (CFI directives): Document .cfi_sections. + +2009-10-01 Peter Bergner + + * config/tc-ppc.c (md_show_usage): Rename "ppca2" to "a2". + * doc/c-ppc.texi (PowerPC-Opts): Likewise. + +2009-10-01 H.J. Lu + + * config/tc-i386.c (x86_cons): Reformat. + +2009-09-29 DJ Delorie + + * Makefile.am: Add RX target. + * configure.in: Likewise. + * configure.tgt: Likewise. + * read.c (do_repeat_with_expander): New function. + * read.h: Provide a prototype for do_repeat_with_expander. + * doc/Makefile.am: Add RX target documentation. + * doc/all.texi: Likewise. + * doc/as.texinfo: Likewise. + * Makefile.in: Regenerate. + * NEWS: Mention support for RX architecture. + * configure: Regenerate. + * doc/Makefile.in: Regenerate. + * config/rx-defs.h: New file. + * config/rx-parse.y: New file. + * config/tc-rx.h: New file. + * config/tc-rx.c: New file. + * doc/c-rx.texi: New file. + +2009-09-25 Martin Thuresson + + Update sources to make alpha, arc and arm targets compile cleanly + with -Wc++-compat: + * config/tc-alpha.c: Add casts. + (extended_bfd_reloc_code_real_type): New type. Used to avoid + enumeration conversion warnings. + (struct alpha_fixup, void assemble_insn, assemble_insn) + (assemble_tokens): Use new type. + * ecoff.c: Add casts. (mark_stabs): Use enumeration names. + * config/obj-elf.c: Add cast + * config/tc-arc.c: Add casts. + * config/obj-aout.h (text_section,data_section,bss_section): + Make extern. + * config/obj-elf.c: Add cast. + * config/tc-arm.c: Add casts. + (X, TxCE, TxCE, TxC3, TxC3w, TxCM_, TxCM, TUE, TUF, CE, CL, cCE) + (cCL, C3E, xCM_, nUF, nCE_tag): Change input format to avoid the + need for keywords as arguments. + +2009-09-25 Nick Hudson + + * doc/c-mips.texi: Fix the singlefloat and doublefloat kindex + entries + +2009-09-24 H.J. Lu + + * config/tc-i386.c (build_vex_prefix): Check vex == 2 instead + of vex256. + +2009-09-24 H.J. Lu + + PR gas/10677 + * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Return true + for BFD_RELOC_X86_64_GOTPCREL. + +2009-09-23 H.J. Lu + + * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Don't check + BFD_RELOC_386_GOT32. + +2009-09-23 Sterling Augustine + + * config/tc-xtensa.c (md_apply_fix): Remove check for constant with + difference of of two symbols. + (xtensa_fix_adjustable): Likewise. + +2009-09-23 Tim E. Sneddon + + * configure.com: Fix a typo. + +2009-09-23 Alan Modra + + * symbols.c (define_sym_at_dot): New function, extracted from.. + (colon): ..here. Define error case cloned symbol. + +2009-09-21 H.J. Lu + + * config/tc-i386.c: Remove white spaces. + +2009-09-21 Ben Elliston + Peter Bergner + + * config/tc-ppc.c (md_show_usage): Document -mpcca2. + * doc/c-ppc.texi (PowerPC-Opts): Document -mppca2. + +2009-09-18 Nick Clifton + + * po/es.po: Updated Spanish translation. + +2009-09-15 H.J. Lu + + * config/tc-i386.c (offset_in_range): Sign extend offset only + if BFD64 is defined. + +2009-09-15 H.J. Lu + + * config/tc-i386-intel.c (i386_intel_operand): Initialize + intel_state.has_offset to 0. + +2009-09-15 H.J. Lu + + * config/tc-i386.c (offset_in_range): Sign extend offset only + for 32bit address mode. + +2009-09-15 Tristan Gingold + + * makefile.vms (OBJS): Compile te-vms.c only on Itanium. + +2009-09-14 H.J. Lu + + PR gas/10637 + * config/tc-i386-intel.c (intel_state): Add has_offset. + (i386_intel_simplify): Set intel_state.has_offset to 1 for + O_offset. + (i386_intel_operand): Turn on intel_state.is_mem if + intel_state.has_offset is 0 and the last char is ']'. + +2009-09-14 H.J. Lu + + PR gas/10636 + * config/tc-i386.c (optimize_disp): Set disp32 for 64bit only + if there is an ADDR_PREFIX. + (i386_finalize_displacement): Repor error if signed 32bit + displacement is out of range. + +2009-09-13 Richard Sandiford + + * config/tc-mips.c (MIPS_JALR_HINT_P): Take an expr argument. + Require the target to be a bare symbol on targets with + in-place addends. + (macro_build_jalr): Update accordingly. + (mips_fix_adjustable): Don't reduce R_MIPS_JALRs on targets + with in-place addends. + +2009-09-11 Nick Clifton + + * po/gas.pot: Updated by the Translation project. + +2009-09-11 Martin Thuresson + + * as.c (main): Call dwarf2_init. + * config/obj-elf.c (struct group_list): New field. + (build_group_lists): Use hash lookup. + (free_section_idx): New function. + (elf_frob_file): Adjust. + * dwarf2dbg.c (all_segs_hash, last_seg_ptr): New variables. + (get_line_subseg): Adjust. + (dwarf2_init): New function. + * dwarf2dbg.h (dwarf2_init): New declaration. + +2009-09-11 Martin Thuresson + + Updated sources to compile cleanly with -Wc++-compat: + * app.c: Add casts. + * as.c: Add casts. + * config/obj-elf.c: Add casts. + (obj_elf_type): Rename variable typename to type_name. + * config/tc-i386-intel.c (i386_operators): Rename member operator to op. + * config/tc-i386.c: Add casts. + (check_cpu_arch_compatible): Rename argument new to new_flag. + (gotrel): Update variable to use enum name instead of integer value. + * dw2gencfi.c: Add casts. + (struct cfi_escape_data): Move to top level. + * dwarf2dbg.c: Add cast. + * dwarf2dbg.h (dwarf2_loc_directive_seen): Make variable extern. + * ehopt.c Add casts. + (enum frame_state): Move to top level. + * expr.c (operatorf): Rename function operator to operatorf. + (operand): Rename variable operator to op. + (expr_set_rank): Rename argument operator to op. + * frags.c: Add cast. + * hash.c: Add casts. + * input-scrub.c: Add cast. + * listing.c: Add casts. + (enum edict_enum): Move to top level. + * macro.c: Add casts. + * macro.h (enum formal_type): Move to top level. + * read.c: Add casts. + (s_include): Rename variable try to try_file. + * remap.c: Add cast. + * stabs.c: Add casts. + * subsegs.c: Add casts. + * symbols.c: Add casts. + * write.c: Add casts. + +2009-09-11 Hans-Peter Nilsson + + PR gas/10623 + * config/tc-mmix.c (md_assemble) : + Allow register operands for SWYM as for TRIP and TRAP. Correct + operand handling and error checking. Never emit + BFD_RELOC_MMIX_REG_OR_BYTE for operands to these insns. + +2009-09-10 Alan Modra + + * config/tc-d10v.c: Include dwarf2dbg.h. + (write_long, write_1_short, write_2_short): Call dwarf2_emit_insn. + (d10v_frob_label): New function. + * config/tc-d10v.h (d10v_frob_label): Declare. + (tc_frob_label): Define as d10v_frob_label. + +2009-09-10 Alan Modra + + * config/tc-d30v.c (d30v_frob_label): Call dwarf2_emit_label. + * config/tc-frv.c (frv_frob_label): Likewise. + +2009-09-09 Alan Modra + + * config/obj-coff.h (USE_UNIQUE): Don't define. + * config/obj-coff.c (weak_uniquify): Use an_external_name when TE_PE. + * symbols.c (an_external_name): Define when TE_PE. + (S_SET_EXTERNAL): Assign an_external_name when TE_PE. + * tc.h (an_external_name): Declare when TE_PE. + + * config/tc-i386.c (i386_target_format): Avoid duplicate case label. + +2009-09-08 Kaz Kojima + + * configure.tgt (sh*-*-netbsdelf*): Set endian according to cpu. + +2009-09-08 Alan Modra + + * read.c (emit_expr_fix): Handle size 3. + * config/tc-avr.c (md_assemble): Call dwarf2_emit_insn. + * config/tc-d30v.c (write_long, write_1_short, + write_2_short, md_assemble): Likewise. + * config/tc-dlx.c (md_assemble): Likewise. + * config/tc-i860.c (md_assemble): Likewise. + * config/tc-mn10200.c (md_assemble): Likewise. + * config/tc-pj.c (md_assemble): Likewise. + * config/tc-vax.c (md_assemble): Likewise. + +2009-09-07 Daniel Gutson + + * config/tc-arm.c (arm_cpus): cortex-r4f CPU added. + * doc/c-arm.texi: cortex-r4f CPU added. + +2009-09-07 Tristan Gingold + + * po/POTFILES.in: Regenerate. + * po/gas.pot: Regenerate. + + * Makefile.am (TARG_ENV_CFILES): New variable. Set to te-vms.c + (POTFILES): Add $(TARG_ENV_CFILES) in definition. + (EXTRA_as_new_SOURCES): Ditto. + * Makefile: Regenerate. + * acinclude.m4 (BFD_HAVE_TIME_TYPE_MEMBER, + BFD_HAVE_SYS_STAT_TYPE_MEMBER): New macro created from bfd/bfd.m4. + * configure.in: Add Tests for tm_gmtoff, st_mtim.tv_sec and + st_mtim.tv_nsec (from bfd/configure.in). Check for time.h and + sys/stat.h headers. + Add te-vms.o in extra_objects if te_file is vms. + * configure: Regenerate. + * config.in: Regenerate. + * config/te-vms.c: New file, from bfd/vmsutil.c + (vms_dwarf2_file_time_name, vms_dwarf2_file_size_name) + (vms_dwarf2_file_name): New functions. + (vms_file_stats_name): Make it static, add a dirname parameter to + locally create the full pathname. + * config/te-vms.h: Add a copyright header. + Declare the above functions. + (DWARF2_FILE_TIME_NAME, DWARF2_FILE_SIZE_NAME, DWARF2_FILE_NAME): Use + the above functions in the definition. + * makefile.vms (OBJS): Add te-vms.obj. + (te-vms.obj): Create a specific target. + * configure.com: Create targ-env.h using a per target value. + Compile te-vms.c for ia64. + +2009-09-05 Jie Zhang + + * doc/as.texinfo: Document that Blackfin GAS does not + accept SYMBOL = VALUE. + +2009-09-05 Martin Thuresson + + * config/tc-arc.c (struct syntax_classes): Rename member class + to s_class. (arc_extinst): Rename variable class to + s_class. Update code to use renamed members. + * config/tc-mips.c (insn_uses_reg): Rename argument class to + regclass. + * config/tc-ppc.c (ppc_csect, ppc_change_csect, ppc_function) + (ppc_tc, ppc_is_toc_sym, ppc_symbol_new_hook, ppc_frob_label) + (ppc_fix_adjustable, md_apply_fix): Update code to use renamed + members. + * config/tc-ppc.h (struct ppc_tc_sy): Change name of member + from class to symbol_class. (OBJ_COPY_SYMBOL_ATTRIBUTES): Update + code to use renamed members. + * config/tc-score.c (s3_adjust_paritybit): Rename argument + class to i_class. + * config/tc-score7.c (s7_adjust_paritybit): Rename argument + class to i_class. + 2009-09-04 Tristan Gingold * NEWS: Add marker for 2.20. @@ -25,7 +384,7 @@ the prerequisite. Add $(srcdir)/config/bfin-aux.h to the prerequisite. (bfin-defs.h, $(srcdir)/config/bfin-defs.h): Rename to ... - (bfin-parse.h, $(srcdir)/config/bfin-parse.h): ... these. + (bfin-parse.h, $(srcdir)/config/bfin-parse.h): ... these. (bfin-lex.o): Add bfin-parse.h and $(srcdir)/config/bfin-defs.h to the prerequisite. * Makefile.in: Regenerate. @@ -118,7 +477,7 @@ 2009-09-02 Jie Zhang From Bernd Schmidt - * config/gas/bfin-parse.y (asm_1): Clean up and unify error handling + * config/bfin-parse.y (asm_1): Clean up and unify error handling for load and store insns. (neg_value): Delete function. @@ -320,7 +679,7 @@ Remove. (mkdep section): Remove. * Makefile.in: Regenerate. - * gas/po/POTFILES.in, gas/po/gas.pot: Regenerate. + * po/POTFILES.in, po/gas.pot: Regenerate. * Makefile.am (install-pdf, install-pdf-recursive, install-html) (install-html-recursive): Remove. @@ -373,7 +732,7 @@ 2009-08-17 Sterling Augustine - * config/tc-xtensa.c (xtensa_frob_label): move call to + * config/tc-xtensa.c (xtensa_frob_label): move call to do_align_targets to set frag_type only. 2009-08-17 Kai Tietz @@ -385,7 +744,7 @@ * config/obj-coff.h (obj_coff_seh_do_final): Add new function prototype. (obj_coff_generate_pdata): New obj-coff hook. - * gas/write.c (size_seg): Avoid sizing of already sized + * write.c (size_seg): Avoid sizing of already sized sections. (write_object_file): Call conditional hook objc_coff_generate_pdata. @@ -484,14 +843,14 @@ 2009-08-06 Michael Eager * Makefile.am: add microblaze to CPU_TYPES, config/tc-microblaze.c to - TARGET_CPU_CFILES, config/tc-microblaze.h to TARGET_CPU_HFILES, add + TARGET_CPU_CFILES, config/tc-microblaze.h to TARGET_CPU_HFILES, add DEP_microblaze_elf target. * Makefile.in: Regenerate. * config/tc-microblaze.c: Add MicroBlaze assembler. * config/tc-microblaze.h: Add header for tc-microblaze.c. * configure.in: Add microblaze target. * configure: Regenerate. - * configure.tgt: Same. + * configure.tgt: Same. * doc/Makefile.am: Add c-microblaze.texi to CPU_DOCS. * doc/Makefile.in: Same. * doc/all.texi: Set MICROBLAZE. @@ -605,7 +964,7 @@ * config/tc-cr16.c (md_apply_fix): Put the addend value alone in to object file without symbol values. (tc_gen_reloc): For local symbols resolved or its absolute symbol, - then set the relocation type as NULL. + then set the relocation type as NULL. 2009-07-25 H.J. Lu @@ -883,28 +1242,28 @@ 2009-06-22 Martin Thuresson - * gas/app, gas/as.c, gas/as.h, gas/atof-generic.c, gas/cgen.c, - gas/config/atof-ieee.c, gas/config/obj-aout.c, - gas/config/obj-coff.c, gas/config/obj-ecoff.c, - gas/config/obj-elf.c, gas/config/obj-som.c, gas/config/tc-alpha.c, - gas/config/tc-arc.c, gas/config/tc-arm.c, gas/config/tc-cr16.c, - gas/config/tc-cris.c, gas/config/tc-crx.c, gas/config/tc-d30v.c, - gas/config/tc-dlx.c, gas/config/tc-hppa.c, gas/config/tc-i370.c, - gas/config/tc-i386-intel.c, gas/config/tc-i386.c, - gas/config/tc-i860.c, gas/config/tc-i960.c, gas/config/tc-ia64.c, - gas/config/tc-iq2000.c, gas/config/tc-m32c.c, - gas/config/tc-m32r.c, gas/config/tc-m68hc11.c, - gas/config/tc-m68k.c, gas/config/tc-maxq.c, gas/config/tc-mcore.c, - gas/config/tc-mep.c, gas/config/tc-mips.c, gas/config/tc-mmix.c, - gas/config/tc-mn10300.c, gas/config/tc-moxie.c, - gas/config/tc-ns32k.c, gas/config/tc-pj.c, gas/config/tc-ppc.c, - gas/config/tc-s390.c, gas/config/tc-score.c, - gas/config/tc-score7.c, gas/config/tc-sh.c, gas/config/tc-sparc.c, - gas/config/tc-spu.c, gas/config/tc-tic30.c, gas/config/tc-vax.c, - gas/config/tc-xtensa.c, gas/config/xtensa-relax.c, - gas/dw2gencfi.c, gas/dwarf2dbg.c, gas/ehopt.c, gas/expr.c, - gas/frags.c, gas/input-file.c, gas/read.c, gas/sb.c, - gas/subsegs.c, gas/symbols.c, gas/write.c: Change the name of the + * app, as.c, as.h, atof-generic.c, cgen.c, + config/atof-ieee.c, config/obj-aout.c, + config/obj-coff.c, config/obj-ecoff.c, + config/obj-elf.c, config/obj-som.c, config/tc-alpha.c, + config/tc-arc.c, config/tc-arm.c, config/tc-cr16.c, + config/tc-cris.c, config/tc-crx.c, config/tc-d30v.c, + config/tc-dlx.c, config/tc-hppa.c, config/tc-i370.c, + config/tc-i386-intel.c, config/tc-i386.c, + config/tc-i860.c, config/tc-i960.c, config/tc-ia64.c, + config/tc-iq2000.c, config/tc-m32c.c, + config/tc-m32r.c, config/tc-m68hc11.c, + config/tc-m68k.c, config/tc-maxq.c, config/tc-mcore.c, + config/tc-mep.c, config/tc-mips.c, config/tc-mmix.c, + config/tc-mn10300.c, config/tc-moxie.c, + config/tc-ns32k.c, config/tc-pj.c, config/tc-ppc.c, + config/tc-s390.c, config/tc-score.c, + config/tc-score7.c, config/tc-sh.c, config/tc-sparc.c, + config/tc-spu.c, config/tc-tic30.c, config/tc-vax.c, + config/tc-xtensa.c, config/xtensa-relax.c, + dw2gencfi.c, dwarf2dbg.c, ehopt.c, expr.c, + frags.c, input-file.c, read.c, sb.c, + subsegs.c, symbols.c, write.c: Change the name of the gas macro `assert' to `gas_assert'. 2009-06-22 Daniel Gutson @@ -977,7 +1336,7 @@ 2009-06-18 Nick Clifton PR 10169 - * gas/tc-arm.c (do_t_ssat): Move common code from here... + * tc-arm.c (do_t_ssat): Move common code from here... (do_t_usat): ... and here to... (do_t_ssat_usat): New function: ... here. Add code to check that the shift value, if present, is in range.