]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gas/ChangeLog
2008-08-08 Richard Sandiford <rdsandiford@googlemail.com>
[thirdparty/binutils-gdb.git] / gas / ChangeLog
index a27a0c94a173cb23e969a30e14ccb528e0547f9e..da59bd8c21e156d0a21de74670e8dc953c204566 100644 (file)
@@ -1,3 +1,317 @@
+2008-08-08  Richard Sandiford  <rdsandiford@googlemail.com>
+           Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * config/tc-mips.c (OPTION_CALL_NONPIC): New macro.
+       (OPTION_NON_SHARED, OPTION_XGOT, OPTION_MABI, OPTION_32)
+       (OPTION_N32, OPTION_64, OPTION_MDEBUG, OPTION_NO_MDEBUG)
+       (OPTION_PDR, OPTION_NO_PDR, OPTION_MVXWORKS_PIC): Bump by 1.
+       (md_longopts): Add -call_nonpic.
+       (md_parse_option): Handle OPTION_CALL_NONPIC.
+       (md_show_usage): Add -call_nonpic.
+
+2008-08-08  Sterling Augustine  <sterling@tensilica.com>
+       
+       * config/tc-xtensa.c (exclude_section_from_property_tables): New.
+       (xtensa_create_property_segments): Use it.
+       (xtensa_create_xproperty_segments): Likewise.
+       
+2008-08-08  Alan Modra  <amodra@bigpond.net.au>
+
+       * doc/internals.texi (DWARF2_FORMAT): Update for 2008-08-04 change.
+
+2008-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * config/tc-mips.c (mips16_reloc_p, got16_reloc_p, hi16_reloc_p)
+       (lo16_reloc_p): New functions.
+       (reloc_needs_lo_p): Use hi16_reloc_p and got16_reloc_p to
+       generalize relocation checks.
+       (matching_lo_reloc): New function.
+       (fixup_has_matching_lo_p): Use it.
+       (mips16_mark_labels): Don't clobber a symbol's visibility.
+       (append_insn): Use hi16_reloc_p and lo16_reloc_p.
+       (mips16_ip): Handle BFD_RELOC_MIPS16_GOT16 and BFD_RELOC_MIPS16_CALL16.
+       (md_apply_fix): Likewise.
+       (mips16_percent_op): Add %got and %call16.
+       (mips_frob_file): Use got16_reloc_p to generalize relocation checks.
+       Use matching_lo_reloc.
+       (mips_force_relocation): Use hi16_reloc_p and lo16_reloc_p to
+       generalize relocation checks.
+       (mips_fix_adjustable): Use lo16_reloc_p to generalize relocation
+       checks.
+
+2008-08-06  DJ Delorie  <dj@redhat.com>
+
+       * NEWS: Mention these changes.
+
+       * config/tc-h8300.h (H_TICK_HEX): Define.
+       * config/tc-h8300.c (OPTION_H_TICK_HEX): New.
+       (md_longopts): Add "-h-tick-hex".
+       (md_parse_option): Support it.
+       * doc/c-h8300.texi (H8/300 Options): Document it.
+       * doc/as.texinfo (Overview): Likewise.
+       
+       * config/tc-sh.h (H_TICK_HEX): Define.
+       * config/tc-sh.c (OPTION_H_TICK_HEX): New.
+       (md_longopts): Add "-h-tick-hex".
+       (md_parse_option): Support it.
+       * doc/c-sh.texi (SH Options): Document it.
+       * doc/c-sh64.texi (SH64 Options): Document it.
+       * doc/as.texinfo (Overview): Likewise.
+
+2008-08-05  Alan Modra  <amodra@bigpond.net.au>
+
+       PR gas/6656
+       * dwarf2dbg.c (dwarf2_directive_file): Disable gas generated
+       debug info if we see compiler generated debug info.
+       (dwarf2_directive_loc): Likewise.  Remove redundant debug_type test.
+
+2008-08-04  Alan Modra  <amodra@bigpond.net.au>
+
+       * dwarf2dbg.c: Remove superfluous forward function declarations.
+       (DWARF2_FORMAT): Add section arg.
+       (out_header): New function, split out from..
+       (out_debug_line): ..here.
+       (out_debug_aranges): Use out_header.
+       (out_debug_abbrev): Add info_seg and line_seg args.  Use
+       DW_FORM_data8 (for DW_AT_stmt_list) if line_seg is 64-bit.
+       (out_debug_info): Use out_header.  Output 8 byte DW_AT_stmt_list
+       if line_seg is 64-bit.
+       (dwarf2_finish): Adjust out_debug_abbrev call.
+       * config/tc-mips.h (DWARF2_FORMAT, mips_dwarf2_format): Add sec arg.
+       * config/tc-mips.c (mips_dwarf2_format): Likewise.
+
+2008-08-04  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.am (POTFILES.in): Set LC_ALL=C.
+       * Makefile.in: Regenerate.
+       * po/POTFILES.in: Regenerate.
+
+2008-08-01  Peter Bergner  <bergner@vnet.ibm.com>
+
+       * config/tc-ppc.c (parse_cpu): Rename altivec_or_spe to retain_flags.
+       Handle -mvsx and -mpower7.
+       (md_show_usage): Document -mpower7 and -mvsx.
+       * doc/as.texinfo (Target PowerPC): Document -mvsx.
+       * doc/c-ppc.texi (PowerPC-Opts): Document -mvsx and -mpower7.
+
+2008-07-31  Peter Bergner  <bergner@vnet.ibm.com>
+
+       * config/tc-ppc.c (parse_cpu) <power6>: Accept Altivec instructions.
+       <cell>: Likewise.
+
+2008-07-30  Michael J. Eager  <eager@eagercon.com>
+
+       * config/tc-ppc.c (parse_cpu): Separate handling of -m403/405.
+       (md_show_usage): Likewise.
+
+2008-07-30  Alan Modra  <amodra@bigpond.net.au>
+
+       * messages.c, symbols.c, write.c: Silence gcc warnings.
+
+2008-07-28  Ineiev  <ineiev@yahoo.co.uk>
+
+       * config/tc-i386.c (operand_type_check): Warning fix.
+
+2008-07-26  Michael Eager <eager@eagercon.com>
+
+       * doc/as.texinfo: Add description of single-precision attribute.
+
+2008-07-24  Jie Zhang  <jie.zhang@analog.com>
+
+       * config/bfin-parse.y (asm_1): Error if plain symbol is used
+       as load/store offset.
+
+2008-07-22  Chao-ying Fu  <fu@mips.com>
+
+       * config/tc-mips.c (mips_ip): Reset s to argsStart.
+
+2008-07-22  Jie Zhang  <jie.zhang@analog.com>
+
+       * config/tc-bfin.c (bfin_gen_loop): Remove loop symbol.
+
+2008-07-21  DJ Delorie  <dj@redhat.com>
+
+       * config/tc-h8300.c (fix_operand_size): Use the default size
+       specified by the .lbranch/.sbranch pseudos.
+
+2008-07-18  DJ Delorie  <dj@redhat.com>
+
+       * config/tc-m32c.h (H_TICK_HEX): Define.
+       * config/tc-m32c.c (OPTION_H_TICK_HEX): Define.
+       (md_longopts): Add support for it.
+       (md_parse_option): Likewise.
+       * doc/as.texinfo (Overview): Add new m32c options.
+       * doc/c-m32c.texi (M32C-Modifiers): Likewise
+
+       * as.h: (enable_h_tick_hex): New.
+       * app.c (enable_h_tick_hex): New.
+       (LEX_IS_H): New.
+       (do_scrub_begin): Mark 'H' and 'h' as special if enable_h_tick_hex.
+       (do_scrub_chars): If enable_h_tick_hex and 'h', check for H'00
+       style hex constants and convert the input stream to 0x00 style.
+       (do_scrub_chars): If a 'X style character constant is found after
+       a symbol character (like you're or X'00), warn the user.
+
+2008-07-10  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * config/tc-mips.c (mips16_mark_labels): Use ELF_ST_SET_MIPS16.
+       (mips_fix_adjustable): Likewise.
+       (mips_frob_file_after_relocs): Likewise.
+
+2008-07-08  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * config/tc-m68k.c (m68k_set_cpu, m68k_set_arch): Don't complain
+       about overriding an earlier setting.
+
+2008-07-07  Adam Nemet  <anemet@caviumnetworks.com>
+
+       * config/tc-mips.c (NO_ISA_COP): New macro.
+       (COP_INSN): New macro.
+       (is_opcode_valid): Use them.
+       (macro) <ld_st>: Use them.  Don't accept coprocessor load store
+       insns based on the ISA if CPU is NO_ISA_COP.
+       <copz>: Likewise for coprocessor operations.
+
+2008-07-07  Paul Brook  <paul@codesourcery.com>
+
+       * config/tc-arm.c (arm_fix_adjustable): Don't adjust MOVW/MOVT
+       relocations.
+
+2008-07-07  Ralf Corsépius  <ralf.corsepius@rtems.org>
+
+       * configure.tgt: Add bfin-*-rtems*.
+
+2008-07-04  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/tc-spu.c (md_apply_fix): Handle fully resolved
+       BFD_RELOC_32_PCREL, BFD_RELOC_SPU_HI16 and BFD_RELOC_SPU_LO16.
+
+2008-06-25  Peter Bergner  <bergner@vnet.ibm.com>
+
+       * config/tc-ppc.c (parse_cpu): Handle -m464.
+       (md_show_usage): Likewise.
+
+2008-06-24  Eric B. Weddington  <eric.weddington@atmel.com>
+
+       Add support for ATtiny13A.
+       * config/tc-avr.c (mcu_types): Add attiny13a.
+       * doc/c-avr.texi: Likewise.
+
+2008-06-24  Bob Wilson  <bob.wilson@acm.org>
+           Alan Modra  <amodra@bigpond.net.au>
+
+       * write.c (relax_segment <rs_org>): Include current stretch
+       value when calculating whether .org is backwards.
+
+2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * configure: Regenerate.
+
+2008-06-17  Nick Clifton  <nickc@redhat.com>
+
+       * app.c (do_scrub_chars): Do not UNGET an EOF value.
+
+2008-06-16  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       PR gas/6607
+       * config/tc-mmix.c (s_loc): Assume "negative" addresses belong to
+       text_section.  Do the "stepping backwards" test for text_section
+       using unsigned operands.
+
+2008-06-13  Peter Bergner  <bergner@vnet.ibm.com>
+
+       * config/tc-ppc.c (ppc_cpu): Use ppc_cpu_t typedef.
+       (ppc_insert_operand): Likewise.
+       (ppc_machine): Likewise.
+       * config/tc-ppc.h: #include "opcode/ppc.h"
+       (struct _ppc_fix_extra <ppc_cpu>): Use ppc_cpu_t typedef.
+       (ppc_cpu): Update extern decl.
+
+2008-06-12  Adam Nemet  <anemet@caviumnetworks.com>
+
+       * config/tc-mips.c (validate_mips_insn): Handle field descriptors
+       +x, +X, +p, +P, +s, +S.
+       (mips_ip): Likewise.
+
+       * config/tc-mips.c (validate_mips_insn): Handle field descriptor +Q.
+       (mips_ip): Likewise.
+       (macro_build): Likewise.
+       (CPU_HAS_SEQ): New macro.
+       (macro2) <M_SEQ_I, M_SNE_I>: Use it.  Emit seq/sne and seqi/snei.
+
+2008-06-09  Eric B. Weddington  <eric.weddington@atmel.com>
+
+       * config/tc-avr.c (mcu_types): Remove support for ATmega32HVB device.
+       * doc/c-avr.texi: Likewise.
+
+2008-06-04  Nick Clifton  <nickc@redhat.com>
+
+       * app.c (do_scrub_chars): Do not UNGET an EOF value.
+
+2008-06-03  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (set_sse_check): New.
+       (md_pseudo_table): Add "sse_check".
+
+2008-06-03  Paul Brook  <paul@codesourcery.com>
+
+       * config/tc-arm.c (do_t_rbit): Populate both rm fields.
+
+2008-05-30  Nick Clifton  <nickc@redhat.com>
+
+       PR 5523
+       * config/tc-avr.c (avr_ldi_expression): Do not warn about unknown
+       relocs here.
+
+2008-05-29  Maxim Kuvyrkov  <maxim@codesourcery.com>
+
+       * config/tc-mips.c (mips_cpu_info_table): Move records for
+       ST Loongson-2E/2F processors to a better place.
+
+2008-05-23  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/6518
+       * config/tc-i386.c (match_template): Report ambiguous operand
+       size, not invalid suffix when there is no match in Intel
+       syntax.
+
+2008-05-22  Paul Brook  <paul@codesourcery.com>
+
+       * config/tc-arm.c (parse_cond): Covert to lowercase before matching.
+
+2008-05-21  I-Jui Sung  <ijsung@gmail.com>
+
+       * config/tc-arm.c (arm_cpus): Add Faraday ARMv4 and ARMv5TE
+       compatible cores: fa526, fa626, fa626te, fa726te.
+       * doc/c-arm.texi (ARM Opts): Add -mcpu={fa526, fa626, fa626te,
+       fa726te} options.
+
+2008-05-14  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.am: Run "make dep-am".
+       * Makefile.in: Regenerate.
+       * doc/Makefile.in: Regenerate.
+       * po/POTFILES.in: Regenerate.
+
+2008-05-09  Catherine Moore  <clm@codesourcery.com>
+
+       * config/tc-mips.c (mips_frob_file): Don't match MIPS16 relocs
+       with non-MIPS16 relocs.
+
+2008-05-09  Chao-ying Fu  <fu@mips.com>
+
+       * config/tc-mips.c (md_begin): Use strncmp to compare TARGET_OS, in
+       case that some characters append at the end of the name.
+       (mips_ip): Likewise.
+       (s_change_sec): Likewise.
+       (md_section_align): Likewise.
+
+2008-05-07  Bob Wilson  <bob.wilson@acm.org>
+
+       * config/tc-xtensa.c (xtensa_create_property_segments): Use
+       xtensa_make_property_section instead of xtensa_get_property_section.
+       (xtensa_create_xproperty_segments): Likewise.
+
 2008-05-02  H.J. Lu  <hongjiu.lu@intel.com>
 
        * NEWS: Mention XSAVE, EPT and MOVBE.
 
 2008-04-04  Adrian Bunk  <bunk@stusta.de>
            Bob Wilson  <bob.wilson@acm.org>
-       
+
        * config/tc-xtensa.c (xg_apply_fix_value): Check return code from
        call to decode_reloc.
-       
+
 2008-04-04  H.J. Lu  <hongjiu.lu@intel.com>
 
        * NEWS: Mention XSAVE.  Change CLMUL to PCLMUL.
 
        * config/tc-bfin.c (bfin_start_line_hook): Localize the labels
        generated for LOOP_BEGIN and LOOP_END instructions.
-       (bfin_gen_loop): Likewise. 
+       (bfin_gen_loop): Likewise.
 
 2008-03-19  Andreas Krebbel  <krebbel1@de.ibm.com>
 
        * config/tc-hppa.c (is_same_frag): Delete.
 
 2008-03-14  Sterling Augustine  <sterling@tensilica.com>
-       
+
        * config/tc-xtensa.h (xtensa_relax_statesE): Update comment for
        RELAX_LOOP_END_ADD_NOP.
-       
+
 2008-03-13  Evandro Menezes  <evandro@yahoo.com>
 
        PR gas/5895
 
 2008-03-03  Sterling Augustine  <sterling@tensilica.com>
            Bob Wilson  <bob.wilson@acm.org>
-       
+
        * config/tc-xtensa.c (xtensa_num_pipe_stages): New.
        (md_begin): Initialize it.
        (resources_conflict): Use it.
-       
+
 2008-03-03  Sterling Augustine  <sterling@tensilica.com>
-       
+
        * config/tc-xtensa.h (RELAX_XTENSA_NONE): New.
-       
+
 2008-03-03  Denys Vlasenko <vda.linux@googlemail.com>
            H.J. Lu  <hongjiu.lu@intel.com>
 
        (process_immext): New.
        (md_assemble): Use it.
        (update_imm): Use imm16 and imm32s.
-       (i386_att_operand): Use inoutportreg. 
+       (i386_att_operand): Use inoutportreg.
 
 2008-02-14  H.J. Lu  <hongjiu.lu@intel.com>
 
        * config/tc-i386.c (set_cpu_arch, md_parse_option): Likewise.
 
 2008-02-05  Sterling Augustine  <sterling@tensilica.com>
-       
+
        * config/tc-xtensa.c (relax_frag_immed): Change internal consistency
        checks into assertions.  When relaxation produces an operation that
        does not fit in the current FLIX instruction, make sure that the
        operation is relaxed as needed to account for being placed following
        the current instruction.
-       
+
 2008-02-04  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR 5715
 
 2008-01-25  Kai Tietz  <kai.tietz@onevision.com>
 
-       * read.c: (emit_expr): Correct for mingw use of printf size 
+       * read.c: (emit_expr): Correct for mingw use of printf size
        specifier.
 
 2008-01-24  Bob Wilson  <bob.wilson@acm.org>
-       
+
        * doc/c-xtensa.texi (Xtensa Syntax): Clarify handling of opcodes that
        can only be encoded in FLIX instructions but are not specified as such.
        (Xtensa Automatic Alignment): Remove obsolete comment about debugging
        labels.
-       
+
 2008-01-24  H.J. Lu  <hongjiu.lu@intel.com>
 
        * NEWS: Mention new command line options for x86 targets.
        * doc/c-i386.texi: Update -march= for ISA.
 
 2008-01-18  Bob Wilson  <bob.wilson@acm.org>
-       
+
        * config/tc-xtensa.c (xtensa_leb128): New function.
        (md_pseudo_table): Use it for sleb128 and uleb128.
        (is_leb128_expr): New internal flag.
        (xtensa_symbol_new_hook): Check new flag.
-       
+
 2008-01-16  Eric B. Weddington  <eric.weddington@atmel.com>
 
        * config/tc-avr.c (mcu_types): Change opcode set for avr3,
        at90usb82, at90usb162.
-       * doc/c-avr.texi: Change architecture grouping for at90usb82, 
+       * doc/c-avr.texi: Change architecture grouping for at90usb82,
        at90usb162.
        These changes support the new avr35 architecture group in gcc.
 
        unwind personality function address.
 
 2008-01-09  Bob Wilson  <bob.wilson@acm.org>
-       
+
        * dwarf2dbg.c (out_sleb128): Delete.
        (size_fixed_inc_line_addr, emit_fixed_inc_line_addr): New.
        (out_fixed_inc_line_addr): Delete.
        * read.h (emit_expr_fix): New prototype.
        * read.c (emit_expr): Move code to emit_expr_fix and use it here.
        (emit_expr_fix): New.
-       
+
 2008-01-09  H.J. Lu  <hongjiu.lu@intel.com>
 
        * config/tc-i386.c (match_template): Check register size