1. 01 Feb, 2017 1 commit
  2. 11 Apr, 2013 1 commit
    • Julian Brown's avatar
      gas/ · 956a6ba3
      Julian Brown authored
          * read.c (convert_to_bignum): Add sign parameter. Use it
          instead of X_unsigned to determine sign of resulting bignum.
          (emit_expr): Pass extra argument to convert_to_bignum.
          (emit_leb128_expr): Use X_extrabit instead of X_unsigned. Pass
          X_extrabit to convert_to_bignum.
          (parse_bitfield_cons): Set X_extrabit.
          * expr.c (make_expr_symbol, expr_build_uconstant, operand):
          Initialise X_extrabit field as appropriate.
          (add_to_result): New.
          (subtract_from_result): New.
          (expr): Use above.
          * expr.h (expressionS): Add X_extrabit field.
          * gas/all/sleb128-2.s: New test.
          * gas/all/sleb128-3.s: Likewise.
          * gas/all/sleb128-4.s: Likewise.
          * gas/all/sleb128-5.s: Likewise.
          * gas/all/sleb128-7.s: Likewise.
          * gas/all/sleb128-2.d: New.
          * gas/all/sleb128-3.d: New.
          * gas/all/sleb123-4.d: New.
          * gas/all/sleb123-5.d: New.
          * gas/all/sleb123-7.d: New.
          * gas/all/gas.exp (sleb128-2, sleb128-3, sleb128-4, sleb128-5)
          (sleb128-7): Run new tests.
  3. 08 Mar, 2013 1 commit
    • Chung-Lin Tang's avatar
      2013-03-08 Chung-Lin Tang <cltang@codesourcery.com> · 8e723a10
      Chung-Lin Tang authored
      	* write.h (struct fix): Add fx_dot_frag field.
      	(dot_frag): Declare.
      	* write.c (dot_frag): New variable.
      	(fix_new_internal): Set fx_dot_frag field with dot_frag.
      	(fixup_segment): Base calculation of fx_offset with fx_dot_frag.
      	* expr.c (expr): Save value of frag_now in dot_frag when setting
      	* read.c (emit_expr): Likewise. Delete comments.
  4. 10 Jan, 2013 1 commit
    • H.J. Lu's avatar
      Remove trailing white spaces on gas · 34bca508
      H.J. Lu authored
      	* app.c: Remove trailing white spaces.
      	* as.c: Likewise.
      	* as.h: Likewise.
      	* cond.c: Likewise.
      	* dw2gencfi.c: Likewise.
      	* dwarf2dbg.h: Likewise.
      	* ecoff.c: Likewise.
      	* input-file.c: Likewise.
      	* itbl-lex.h: Likewise.
      	* output-file.c: Likewise.
      	* read.c: Likewise.
      	* sb.c: Likewise.
      	* subsegs.c: Likewise.
      	* symbols.c: Likewise.
      	* write.c: Likewise.
      	* config/tc-i386.c: Likewise.
      	* doc/Makefile.am: Likewise.
      	* doc/Makefile.in: Likewise.
      	* doc/c-aarch64.texi: Likewise.
      	* doc/c-alpha.texi: Likewise.
      	* doc/c-arc.texi: Likewise.
      	* doc/c-arm.texi: Likewise.
      	* doc/c-avr.texi: Likewise.
      	* doc/c-bfin.texi: Likewise.
      	* doc/c-cr16.texi: Likewise.
      	* doc/c-d10v.texi: Likewise.
      	* doc/c-d30v.texi: Likewise.
      	* doc/c-h8300.texi: Likewise.
      	* doc/c-hppa.texi: Likewise.
      	* doc/c-i370.texi: Likewise.
      	* doc/c-i386.texi: Likewise.
      	* doc/c-i860.texi: Likewise.
      	* doc/c-m32c.texi: Likewise.
      	* doc/c-m32r.texi: Likewise.
      	* doc/c-m68hc11.texi: Likewise.
      	* doc/c-m68k.texi: Likewise.
      	* doc/c-microblaze.texi: Likewise.
      	* doc/c-mips.texi: Likewise.
      	* doc/c-msp430.texi: Likewise.
      	* doc/c-mt.texi: Likewise.
      	* doc/c-s390.texi: Likewise.
      	* doc/c-score.texi: Likewise.
      	* doc/c-sh.texi: Likewise.
      	* doc/c-sh64.texi: Likewise.
      	* doc/c-tic54x.texi: Likewise.
      	* doc/c-tic6x.texi: Likewise.
      	* doc/c-v850.texi: Likewise.
      	* doc/c-xc16x.texi: Likewise.
      	* doc/c-xgate.texi: Likewise.
      	* doc/c-xtensa.texi: Likewise.
      	* doc/c-z80.texi: Likewise.
      	* doc/internals.texi: Likewise.
  5. 09 Nov, 2012 1 commit
    • Maciej W. Rozycki's avatar
      * read.h (s_vendor_attribute): Move to... · 0420f52b
      Maciej W. Rozycki authored
      	* config/obj-elf.h (obj_elf_vendor_attribute): ... here.
      	* read.c (potable): Remove "gnu_attribute".
      	(skip_whitespace, skip_past_char, skip_past_comma): Delete, move
      	to config/obj-elf.c.
      	(s_vendor_attribute): Delete, move to obj_elf_vendor_attribute
      	in config/obj-elf.c.
      	(s_gnu_attribute): Delete, move to obj_elf_gnu_attribute in
      	* config/obj-elf.c (elf_pseudo_table): Add "gnu_attribute".
      	(skip_whitespace, skip_past_char, skip_past_comma): New, moved
      	from read.c.
      	(obj_elf_vendor_attribute): New, moved from s_vendor_attribute
      	in read.c.
      	(obj_elf_gnu_attribute): New, moved from s_gnu_attribute in
      	* config/tc-arm.c (s_arm_eabi_attribute): Rename
      	s_vendor_attribute to obj_elf_vendor_attribute.
      	* config/tc-tic6x.c (s_tic6x_c6xabi_attribute): Likewise.
  6. 09 Jun, 2012 1 commit
    • H.J. Lu's avatar
      Allocate sufficient space for string buffer · d2ae702c
      H.J. Lu authored
      	* input-scrub.c (input_scrub_include_sb): Use sb_build to
      	allocate sufficient space for from_sb.  Use sb_terminate to
      	terminate string.
      	* read.c (read_a_source_file): Use sb_build to allocate
      	sufficient space and replace sb_add_string with sb_add_buffer.
      	(s_macro): Likewise.
      	(input_scrub_insert_line): Likewise.
      	(s_irp): Use sb_build to allocate sufficient space.
      	(do_repeat): Use sb_build to allocate sufficient space
      	for many.
      	* sb.c (sb_build): Remove static.
      	* sb.h (sb_build): New prototype.
  7. 07 Jun, 2012 1 commit
    • Alan Modra's avatar
      PR gas/14201 · 39a45edc
      Alan Modra authored
      	* sb.h (sb_max_power_two): Delete.
      	(struct sb): Delete "item" and "pot".  Make "len" a size_t.  Add "max".
      	(sb_element): Delete.
      	(sb_add_char, sb_add_buffer, sb_skip_comma, sb_skip_write): Update
      	* sb.c (string_count, free_list): Delete.
      	(sb_build, sb_kill, sb_check): Rewrite.
      	(scrub_from_sb, sb_add_char, sb_add_string, sb_add_buffer,
      	sb_skip_white, sb_skip_comma): Replace assorted int params,
      	vars and return types with size_t.
      	* input-scrub.c: Likewise.
      	* macro.c: Likewise.
      	* macro.h: Likewise.
      	* as.c: Likewise.
      	* as.h: Likewise.
      	* input-file.h: Likewise.
      	* input-file.c: Likewise.
      	* read.c: Likewise.
      	* app.c: ..or ptrdiff_t.
      	* input-file.c (input_file_get): Use ferror.
      	(input_file_give_next_buffer): Use input_file_get.
  8. 29 May, 2012 1 commit
    • Roland McGrath's avatar
      gas/ · d416e51d
      Roland McGrath authored
      	* read.c [HANDLE_BUNDLE] (bundle_lock_depth): New variable.
      	(read_a_source_file) [HANDLE_BUNDLE]: Reset it.
      	[HANDLE_BUNDLE] (s_bundle_lock, s_bundle_unlock): Allow nested
      	* gas/i386/bundle-bad.s: Remove nested .bundle_lock case.
      	* gas/i386/bundle-bad.l: Remove expected error line.
      	* gas/i386/bundle-lock.s: Add nested .bundle_lock case.
      	* gas/i386/bundle-lock.d: Update expectations.
  9. 28 May, 2012 1 commit
    • Nick Clifton's avatar
      * read.c (read_symbol_name): New function. Reads a symbol names. · 7bfd842d
      Nick Clifton authored
      	Allows escape codes in names.
      	(s_comm_internal): Use read_symbol_name.
      	(s_globl, s_lsym, s_set, s_weakref): Likewise.
      	* doc/as.texinfo: Document support for multibyte characters in
      	symbol names.
      	* gas/elf/syms.s: New test - checks the generation of multibyte
      	symbol names.
      	* gas/elf/syms.d: New file - expected readelf output.
      	* gas/elf/elf.exp: Add syms.
      	* readelf.c (print_symbol): Display multibyte characters in symbol
      	(process_section_headers): Use print_symbol.
      	* ld-ifunc/ifunc-13a-i386.s: Fix use of .global directive.
      	* ld-ifunc/ifunc-15a-i385.s: Likewise.
  10. 13 Mar, 2012 2 commits
    • Roland McGrath's avatar
      Fix up last commit. · 8d3eaee6
      Roland McGrath authored
    • Roland McGrath's avatar
      gas/ · fa94de6b
      Roland McGrath authored
      2012-03-12  Roland McGrath  <mcgrathr@google.com>
      	* config/tc-arm.c (arm_frag_max_var): New function.
      	* config/tc-arm.h: Declare it.
      	(md_frag_max_var): New macro.
      	* config/tc-i386.c (i386_frag_max_var): New function.
      	* config/tc-i386.h: Declare it.
      	(md_frag_max_var): New macro.
      	* doc/as.texinfo (Bundle directives): New node.
      	(Pseudo Ops): Add it to the menu.
      	* NEWS: Mention new feature.
      	* read.c [md_frag_max_var] (HANDLE_BUNDLE): New macro.
      	[HANDLE_BUNDLE] (bundle_align_p2): New variable.
      	[HANDLE_BUNDLE] (bundle_lock_frchain, bundle_lock_frag): New variables.
      	[HANDLE_BUNDLE] (start_bundle, pending_bundle_size, finish_bundle):
      	New functions.
      	(assemble_one): New function if [HANDLE_BUNDLE], #define directly
      	to md_assembly if not.
      	(read_a_source_file): Call assemble_one in place of md_assemble.
      	(read_a_source_file) [HANDLE_BUNDLE]: Check for unterminated
      	.bundle_lock at end of processing.
      	[HANDLE_BUNDLE] (s_bundle_align_mode, s_bundle_lock, s_bundle_unlock):
      	New functions.
      	[HANDLE_BUNDLE] (potable): Add their entries.
      	* read.h: Declare new functions.
      2012-03-12  Roland McGrath  <mcgrathr@google.com>
      	* gas/i386/bundle-bad.s: New file.
      	* gas/i386/bundle-bad.d: New file.
      	* gas/i386/bundle-bad.l: New file.
      	* gas/i386/i386.exp: Run it.
      	* gas/arm/bundle.s: New file.
      	* gas/arm/bundle.d: New file.
      	* gas/arm/bundle-lock.s: New file.
      	* gas/arm/bundle-lock.d: New file.
      	* gas/i386/bundle.s: New file.
      	* gas/i386/bundle.d: New file.
      	* gas/i386/x86-64-bundle.s: New file.
      	* gas/i386/x86-64-bundle.d: New file.
      	* gas/i386/bundle-lock.s: New file.
      	* gas/i386/bundle-lock.d: New file.
      	* gas/i386/i386.exp: Run them.
  11. 12 Oct, 2011 1 commit
    • Alan Modra's avatar
      * as.c (main): Define .gasversion. rather than __GAS_VERSION__. · 6885131b
      Alan Modra authored
      	* frags.h (bss_address_frag): Delete
      	(predefined_address_frag): New.
      	* frags.c (frag_init): Init predefined_address_frag.  Delete ref
      	to bss_addres_frag.
      	* symbols.c (S_CAN_BE_REDEFINED): New function.
      	* symbols.h (S_CAN_BE_REDEFINED): Declare.
      	* read.c (assign_symbol): Use S_CAN_BE_REDEFINED.
  12. 02 Jun, 2011 1 commit
  13. 06 May, 2011 1 commit
  14. 18 Mar, 2011 1 commit
    • Alan Modra's avatar
      * read.c (read_a_source_file): Remove md_after_pass_hook. · 04648e65
      Alan Modra authored
      	Move "quit" label before set of dot_symbol.
      	* config/tc-d10v.h (md_after_pass_hook): Don't define.
      	* config/tc-d30v.h (md_after_pass_hook): Likewise.
      	* config/tc-m32r.h (md_after_pass_hook): Likewise.
      	(md_cleanup): Define to call m32r_fill_insn.
  15. 17 Mar, 2011 1 commit
    • Alan Modra's avatar
      PR 12569 · 259af69e
      Alan Modra authored
      	* expr.c (operand): Correct passing of "mode" to expr.
      	* read.c (do_org): Allow expr_section.
      	(get_known_segmented_expression): Don't assert anything about the
  16. 15 Feb, 2011 1 commit
  17. 01 Dec, 2010 1 commit
    • Maciej W. Rozycki's avatar
      * symbols.h (dot_symbol): New declaration. · 4a826962
      Maciej W. Rozycki authored
      	(dot_symbol_init): New prototype.
      	* symbols.c (dot_symbol): New variable.
      	(symbol_clone): Assert it's not dot_symbol being cloned.
      	(dot_symbol_init): New function.
      	(symbol_clone_if_forward_ref): Create a new temporary symbol
      	when trying to clone dot_symbol.
      	* expr.c (current_location): Refer to dot_symbol instead of
      	making a new temporary symbol.
      	* read.c (read_a_source_file): Update dot_symbol as we go.
      	* as.c (main): Call dot_symbol_init.
  18. 02 Aug, 2010 1 commit
    • Alan Modra's avatar
      PR gas/11867 · 93d90f46
      Alan Modra authored
      	* expr.c (operand <'-' and '~'>): Widen bignums.
      	(operand <'!'>): Correct bignum result and convert to O_constant.
      	* read.c (emit_expr): Don't assert on .byte bignum.  Don't display
      	bignum truncated warning for sign extended bignums.
  19. 28 Jun, 2010 1 commit
    • Alan Modra's avatar
      * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define. · 87975d2a
      Alan Modra authored
      	* config/tc-crx.c (gettrap): Constify arg.
      	(handle_LoadStor, get_cinv_parameters): Likewise.
      	(getreg_image): Fix enum warning
      	(md_assemble): Restore input line char.
      	* config/tc-hppa.c (tc_gen_reloc): Fix enum warning.
      	* config/tc-i960.c (mem_fmt): Rename var to fix shadow warning.
      	* config/tc-sh.c (sh_fdpic): Only define when OBJ_ELF.
      	(build_Mytes): Fix build failure for non-elf targets.
      	* config/tc-tic4x.c (tic4x_eval): Restore terminator char.
      	* config/tc-xtensa.c (xtensa_end_directive): Fix switch enum warning.
      	* cgen.c (gas_cgen_md_apply_fix): Avoid set but unused warning.
      	* ecoff.c (add_ecoff_symbol): Likewise.
      	* itbl-ops.c (append_insns_as_macros): Likewise.
      	* listing.c (debugging_pseudo): Likewise.
      	* read.c (s_mri_common, stringer): Likewise.
      	* config/obj-coff.c (coff_frob_section): Likewise.
      	* config/tc-alpha.c (emit_ldgp, s_alpha_proc): Likewise.
      	* config/tc-arm.c (my_get_expression): Likewise.
      	* config/tc-hppa.c (process_exit, pa_type_args): Likewise.
      	* config/tc-m32c.c (md_assemble): Likewise.
      	* config/tc-microblaze.c (md_convert_frag): Likewise.
      	* config/tc-mips.c (s_change_section): Likewise.
      	* config/tc-mt.c (mt_fix_adjustable): Likewise.
      	* config/tc-xtensa.c (xtensa_literal_pseudo): Likewise.
      	* config/obj-aout.c (obj_aout_frob_symbol): Delete set but otherwise
      	unused vars.
      	* config/tc-alpha.c (load_expression): Likewise.
      	(s_alpha_rdata, s_alpha_section, s_alpha_prologue): Likewise.
      	* config/tc-arm.c (parse_neon_el_struct_list): Likewise.
      	* config/tc-avr.c (extract_word): Likewise.
      	* config/tc-cris.c (cris_get_expression): Likewise.
      	* config/tc-d30v.c (build_insn, find_format): Likewise.
      	* config/tc-dlx.c (machine_ip): Likewise.
      	* config/tc-hppa.c (pa_get_absolute_expression): Likewise.
      	* config/tc-i370.c (md_assemble): Likewise.
      	* config/tc-i960.c (brtab_emit): Likewise.
      	* config/tc-iq2000.c (s_iq2000_ent): Likewise.
      	* config/tc-m32c.c (md_convert_frag): Likewise.
      	* config/tc-m68hc11.c (fixup24, build_jump_insn): Likewise.
      	(md_estimate_size_before_relax, md_apply_fix): Likewise.
      	* config/tc-m68k.c (md_show_usage): Likewise.
      	* config/tc-microblaze.c (microblaze_s_lcomm): Likewise.
      	* config/tc-mips.c (s_mips_end): Likewise.
      	* config/tc-mmix.c (mmix_byte, mmix_cons): Likewise.
      	* config/tc-mn10300.c (md_assemble): Likewise.
      	* config/tc-msp430.c (extract_word): Likewise.
      	* config/tc-mt.c (md_assemble): Likewise.
      	* config/tc-or32.c (machine_ip): Likewise.
      	* config/tc-pj.c (md_apply_fix): Likewise.
      	* config/tc-s390.c (md_gather_operands): Likewise.
      	* config/tc-sh.c (sh_cons_align): Likewise.
      	* config/tc-sparc.c (sparc_cons_align): Likewise.
      	* config/tc-tic4x.c (tic4x_sect): Likewise.
      	* config/tc-tic54x.c (tic54x_stringer): Likewise.
      	* config/tc-vax.c (vip_op): Likewise.
      	* config/tc-xstormy16.c (xstormy16_cons_fix_new): Likewise.
      	* config/tc-xtensa.c (md_assemble): Likewise.
      	(xtensa_fix_short_loop_frags, convert_frag_immed): Likewise.
      	(xtensa_move_literals): Likewise.
  20. 05 May, 2010 1 commit
  21. 21 Apr, 2010 2 commits
    • H.J. Lu's avatar
      Revert the accidental checkin. · 175c8f46
      H.J. Lu authored
    • H.J. Lu's avatar
      Properly handle ".equ symbol, reg + NUM" in x86 Intel syntax. · 3c7b9c2c
      H.J. Lu authored
      2010-04-21  H.J. Lu  <hongjiu.lu@intel.com>
      	PR gas/11509
      	* config/tc-i386-intel.c (i386_intel_simplify_register): New.
      	(i386_intel_simplify): Use i386_is_register and
      	i386_intel_simplify_register. Set X_md for O_register and
      	check X_md for O_constant.
      	(i386_intel_operand): Use i386_is_register.
      	* config/tc-i386.c (i386_is_register): New.
      	(x86_cons): Initialize the X_md field.  Use i386_is_register.
      	(parse_register): Use i386_is_register.
      	(tc_x86_parse_to_dw2regnum): Likewise.
      2010-04-21  H.J. Lu  <hongjiu.lu@intel.com>
      	PR gas/11509
      	* gas/i386/equ.s: Add tests for ".equ symbol, reg + NUM".
      	* gas/i386/equ.d: Updated.
  22. 09 Apr, 2010 1 commit
    • Nick Clifton's avatar
      bfd/ChangeLog · 3d540e93
      Nick Clifton authored
      2010-04-09  Nick Clifton  <nickc@redhat.com>
              * aoutx.h (aout_link_input_bfd): Remove unused variable sym_count.
              * elf-eh-frame.c (_bfd_elf_eh_frame_section_offset): Remove unused
              variables htab and hdr_info and mark info parameter as unused.
              * elf.c (prep_headers): Remove unused variable i_phdrp.
              (_bfd_elf_write_object_contents): Remove unused variable i_ehdrp.
              * elf32-i386.c (elf_i386_relocate_section): Mark variabled warned
              as unused.
              * peXXigen.c (pe_print_reloc): Remove unused variable datasize.
              * verilog.c (verilog_write_section): Remove unused variable
      2010-04-09  Nick Clifton  <nickc@redhat.com>
              * dwarf.c (process_debug_info): Remove unused variable
              (display_debug_lines_decoded): Remove unused variable prev_line.
              * elfedit.c (process_archive): Remove unused variable
              * ieee.c (ieee_start_compilation_unit): Remove unused variable
              (ieee_set_type): Remove unused variables info, targetindx and
              * objdump.c (disassmble_byte): Remove unused variable done_dot.
              * rddbg.c (read_section_stabs_debugging_info): Remove unused
              variable other.
              * readelf.c (dump_section_as_strings): Remove unused variable
              (process_archive): Remove unused variable file_name_size.
              * stabs.c (parse_stab_string): Mark desc parameter as unused.
              Remove unused variable lineno.
              (parse_stab_struct_type): Remove unused variable orig.
              (stab_demangle_type): Remove unused variables constp, volatilep
              and hold.
      2010-04-09  Nick Clifton  <nickc@redhat.com>
              * as.c (create_obj_attrs_section): Remove unused variable addr.
              * listing.c (listing_listing): Remove unused variable message.
              * read.c: Remove unnecessary register type qualifiers.
              (s_mri): Only define/use old_flag variable if MRI_MODE_CHANGE is
      2010-04-09  Nick Clifton  <nickc@redhat.com>
              * ldlang.c (wild_sort): Remove unused variable section_name.
      2010-04-09  Nick Clifton  <nickc@redhat.com>
              * i386-dis.c (print_insn): Remove unused variable op.
              (OP_sI): Remove unused variable mask.
  23. 11 Dec, 2009 1 commit
  24. 19 Nov, 2009 1 commit
    • Jan Beulich's avatar
      gas/ · f08e1e19
      Jan Beulich authored
      2009-11-19  Jan Beulich  <jbeulich@novell.com>
      	* read.c (pseudo_set): Also call copy_symbol_attributes() for
      	undefined target symbol.
  25. 26 Oct, 2009 1 commit
    • Alan Modra's avatar
      PR gas/10850 · c2069bb2
      Alan Modra authored
      	* listing.c (listing_flags): Delete.
      	* listing.h: Likewise.
      	* read.c (potable <lflags>): Call s_ignore.
  26. 15 Oct, 2009 1 commit
    • Alan Modra's avatar
      PR gas/1491 · f19df8f7
      Alan Modra authored
      	* macro.c: Delete unnecessary function declarations.
      	(buffer_and_nest): Support multiple labels per line for
      	LABELS_WITHOUT_COLONS targets if the labels do have colons.
      	(free_macro): Move so that we don't need forward declaration.
      	* read.c (read_a_source_file): Take a copy of macro expansion line
      	before we trim labels.
      	* listing.c (listing_newline): Adjust stdin line save for
      	input_line_pointer still at start of line.
      	* gas/macros/dot.s: Don't start macro invocations is first column.
      	* gas/macros/dot.l: Update.
      	* gas/macros/macros.exp: Run dot test on more targets.
  27. 05 Oct, 2009 1 commit
  28. 29 Sep, 2009 1 commit
    • Nick Clifton's avatar
      bfd · c7927a3c
      Nick Clifton authored
              * Makefile.am (ALL_MACHINES): Add cpu-rx.lo.
              (ALL_MACHINES_CFILES): Add cpu-rx.c.
              (BFD32_BACKENDS): Add elf32-rx.lo.
              (BFD32_BACKENDS_CFILES): Add elf32-rx.c.
              * archures.c (bfd_architecture): Add bfd_arch_rx and bfd_mach_rx.
              Export bfd_rx_arch.
              (bfd_archures_list): Add bfd_rx_arch.
              * config.bfd: Add entry for rx-*-elf.
              * configure.in: Add entries for bfd_elf32_rx_le_vec and
              * reloc.c: Add RX relocations.
              * targets.c: Add RX target vectors.
              * Makefile.in: Regenerate.
              * bfd-in2.h: Regenerate.
              * configure: Regenerate.
              * libbfd.h: Regenerate.
              * cpu-rx.c: New file.
              * elf32-rx.c: New file.
              * readelf.c: Add support for RX target.
              * MAINTAINERS: Add DJ and NickC as maintainers for RX.
              * 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.
              * gas/rx: New directory.
              * gas/rx/*: New set of test cases.
              * gas/elf/section2.e-rx: New expected output file.
              * gas/all/gas.exp: Add support for RX target.
              * gas/elf/elf.exp: Likewise.
              * gas/lns/lns.exp: Likewise.
              * gas/macros/macros.exp: Likewise.
              * dis-asm.h: Add prototype for print_insn_rx.
              * rx.h: New file.
              * rx.h: New file.
              * Makefile.am: Add rules to build RX emulation.
              * configure.tgt: Likewise.
              * NEWS: Mention support for RX architecture.
              * Makefile.in: Regenerate.
              * emulparams/elf32rx.sh: New file.
              * emultempl/rxelf.em: New file.
              * Makefile.am: Add RX files.
              * configure.in: Add support for RX target.
              * disassemble.c: Likewise.
              * Makefile.in: Regenerate.
              * configure: Regenerate.
              * opc2c.c: New file.
              * rx-decode.c: New file.
              * rx-decode.opc: New file.
              * rx-dis.c: New file.
  29. 11 Sep, 2009 1 commit
    • Nick Clifton's avatar
      * po/bfd.pot: Updated by the Translation project. · 1e9cc1c2
      Nick Clifton authored
              * po/binutils.pot: Updated by the Translation project.
              * po/gold.pot: Updated by the Translation project.
              * po/gold.pot: Updated by the Translation project.
              * po/gprof.pot: Updated by the Translation project.
              * po/sv.po: Updated Swedish translation.
              * po/ld.pot: Updated by the Translation project.
              * po/fi.po: Updated Finnish translation.
              * po/ld.pot: Updated by the Translation project.
              * po/fi.po: Updated Finnish translation.
              Updated sources to compile cleanly with -Wc++-compat:
              * basic_blocks.c: Add casts.
              * cg_dfn.c: Add cast.
              * corefile.c: Add casts.
              * gmon_io.c: Add casts.
              * hist.c: Add cast.
              * source.c: Add cast.
              * sym_ids.c (struct match): Moved to top level.
              Updated soruces in ld/* to compile cleanly with -Wc++-compat:
              * ld.h (enum endian_enum,enum symbolic_enum,enum dynamic_list_enum): Move to top level.
              * ldcref.c: Add casts.
              * ldctor.c: Add casts.
              * ldexp.c
              * ldexp.h (enum node_tree_enum,enum phase_enum): Move to top level.
              * ldlang.c: Add casts. (lang_insert_orphan): Use enum name instead of integer.
              * ldlang.h (enum statement_enum): Move to top level.
              * ldmain.c: Add casts.
              * ldwrite.c: Add casts.
              * lexsup.c: Add casts. (enum control_enum): Move to top level.
              * mri.c: Add casts. (mri_draw_tree): Use enum name instead of integer.
              Updated sources to compile cleanly with -Wc++-compat:
              * basic_blocks.c: Add casts.
              * cg_dfn.c: Add cast.
              * corefile.c: Add casts.
              * gmon_io.c: Add casts.
              * hist.c: Add cast.
              * source.c: Add cast.
              * sym_ids.c (struct match): Moved to top level.
              * 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.
  30. 08 Sep, 2009 1 commit
    • Alan Modra's avatar
      * read.c (emit_expr_fix): Handle size 3. · d4f4f3fb
      Alan Modra authored
      	* 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.
  31. 02 Sep, 2009 1 commit
  32. 01 Sep, 2009 1 commit
    • Jie Zhang's avatar
      * read.c (TC_START_LABEL): Add a new argument. · 5e8c8f8f
      Jie Zhang authored
      	(read_a_source_file): Pass the beginning of the symbol through
      	the new argument of TC_START_LABEL.
      	* config/tc-arm.h (TC_START_LABEL): Add a new argument.
      	* config/tc-bfin.c (bfin_start_label): Only search '(' and '['
      	from the beginning of the symbol.
      	* config/tc-bfin.h (TC_START_LABEL): Add the new argument.
      	* config/tc-d30v.h (TC_START_LABEL): Likewise.
      	* config/tc-fr30.h (TC_START_LABEL): Likewise.
      	* config/tc-m32c.h (TC_START_LABEL): Likewise.
      	* config/tc-m32r.h (TC_START_LABEL): Likewise.
      	* config/tc-mep.h (TC_START_LABEL): Likewise.
      	* gas/bfin/stack2.s: Add pop multiple instruction with a label
      	on the same line.
      	* gas/bfin/stack2.d: Adjust accordingly.
  33. 22 Jun, 2009 1 commit
    • Nick Clifton's avatar
      * gas/app, gas/as.c, gas/as.h, gas/atof-generic.c, gas/cgen.c, · 9c2799c2
      Nick Clifton authored
              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
              gas macro `assert' to `gas_assert'.
  34. 24 Mar, 2009 1 commit
    • H.J. Lu's avatar
      2009-03-23 H.J. Lu <hongjiu.lu@intel.com> · d67ffd56
      H.J. Lu authored
      	PR gas/9966
      	* listing.c (listing_newline): Properly handle `\\"' and ';'.
      	* read.c (is_end_of_line): Update comments for line separator.
      	(read_begin): Set line separator in is_end_of_line to 2.
  35. 05 Mar, 2009 1 commit
    • Joseph Myers's avatar
      gas: · cc3f603a
      Joseph Myers authored
      	* read.c (s_fill, s_space, s_float_space, float_cons, stringer,
      	s_incbin): Call md_cons_align (1).
      	* gas/arm/mapmisc.d, gas/arm/mapmisc.dat, gas/arm/mapmisc.s: New.
  36. 26 Jan, 2009 1 commit
    • Andrew Stubbs's avatar
      2009-01-26 Andrew Stubbs <ams@codesourcery.com> · ee3c0378
      Andrew Stubbs authored
      	* config/tc-arm.c (attributes_set_explicitly): New array.
      	(s_arm_eabi_attribute): Check return value from s_vendor_attribute.
      	(cpu_arch): Add ARM_ARCH_V5T.
      	(aeabi_set_attribute_int): New function.
      	(aeabi_set_attribute_string): New function.
      	(aeabi_set_public_attributes): Set attributes according to the user's
      	intentions, rather than the actual state of the binary.
      	Use aeabi_set_attribute_int and aeabi_set_attribute_string instead of
      	bfd_elf_add_proc_attr_int and bfd_elf_add_proc_attr_string.
      	Support WMMXv2. Use attribute names instead of numbers.
      	* read.c (s_vendor_attribute): Change return type to int.
      	Return the tag number that was set.
      	* read.h (s_vendor_attribute): Change return type to int.
      	* gas/arm/attr-cpu-directive.d: New file.
      	* gas/arm/attr-cpu-directive.s: New file.
      	* gas/arm/attr-default.d: New file.
      	* gas/arm/attr-march-all.d: New file.
      	* gas/arm/attr-march-armv1.d: New file.
      	* gas/arm/attr-march-armv2.d: New file.
      	* gas/arm/attr-march-armv2a.d: New file.
      	* gas/arm/attr-march-armv2s.d: New file.
      	* gas/arm/attr-march-armv3.d: New file.
      	* gas/arm/attr-march-armv3m.d: New file.
      	* gas/arm/attr-march-armv4.d: New file.
      	* gas/arm/attr-march-armv4t.d: New file.
      	* gas/arm/attr-march-armv4txm.d: New file.
      	* gas/arm/attr-march-armv4xm.d: New file.
      	* gas/arm/attr-march-armv5.d: New file.
      	* gas/arm/attr-march-armv5t.d: New file.
      	* gas/arm/attr-march-armv5te.d: New file.
      	* gas/arm/attr-march-armv5tej.d: New file.
      	* gas/arm/attr-march-armv5texp.d: New file.
      	* gas/arm/attr-march-armv5txm.d: New file.
      	* gas/arm/attr-march-armv6-m.d: New file.
      	* gas/arm/attr-march-armv6.d: New file.
      	* gas/arm/attr-march-armv6j.d: New file.
      	* gas/arm/attr-march-armv6k.d: New file.
      	* gas/arm/attr-march-armv6kt2.d: New file.
      	* gas/arm/attr-march-armv6t2.d: New file.
      	* gas/arm/attr-march-armv6z.d: New file.
      	* gas/arm/attr-march-armv6zk.d: New file.
      	* gas/arm/attr-march-armv6zkt2.d: New file.
      	* gas/arm/attr-march-armv6zt2.d: New file.
      	* gas/arm/attr-march-armv7-a.d: New file.
      	* gas/arm/attr-march-armv7-m.d: New file.
      	* gas/arm/attr-march-armv7-r.d: New file.
      	* gas/arm/attr-march-armv7.d: New file.
      	* gas/arm/attr-march-armv7a.d: New file.
      	* gas/arm/attr-march-armv7m.d: New file.
      	* gas/arm/attr-march-armv7r.d: New file.
      	* gas/arm/attr-march-iwmmxt.d: New file.
      	* gas/arm/attr-march-iwmmxt2.d: New file.
      	* gas/arm/attr-march-xscale.d: New file.
      	* gas/arm/attr-mcpu.d: New file.
      	* gas/arm/attr-mfpu-arm1020e.d: New file.
      	* gas/arm/attr-mfpu-arm1020t.d: New file.
      	* gas/arm/attr-mfpu-arm1136jf-s.d: New file.
      	* gas/arm/attr-mfpu-arm1136jfs.d: New file.
      	* gas/arm/attr-mfpu-arm7500fe.d: New file.
      	* gas/arm/attr-mfpu-fpa.d: New file.
      	* gas/arm/attr-mfpu-fpa10.d: New file.
      	* gas/arm/attr-mfpu-fpa11.d: New file.
      	* gas/arm/attr-mfpu-fpe.d: New file.
      	* gas/arm/attr-mfpu-fpe2.d: New file.
      	* gas/arm/attr-mfpu-fpe3.d: New file.
      	* gas/arm/attr-mfpu-maverick.d: New file.
      	* gas/arm/attr-mfpu-neon-fp16.d: New file.
      	* gas/arm/attr-mfpu-neon.d: New file.
      	* gas/arm/attr-mfpu-softfpa.d: New file.
      	* gas/arm/attr-mfpu-softvfp+vfp.d: New file.
      	* gas/arm/attr-mfpu-softvfp.d: New file.
      	* gas/arm/attr-mfpu-vfp.d: New file.
      	* gas/arm/attr-mfpu-vfp10-r0.d: New file.
      	* gas/arm/attr-mfpu-vfp10.d: New file.
      	* gas/arm/attr-mfpu-vfp3.d: New file.
      	* gas/arm/attr-mfpu-vfp9.d: New file.
      	* gas/arm/attr-mfpu-vfpv2.d: New file.
      	* gas/arm/attr-mfpu-vfpv3-d16.d: New file.
      	* gas/arm/attr-mfpu-vfpv3.d: New file.
      	* gas/arm/attr-mfpu-vfpxd.d: New file.
      	* gas/arm/attr-order.d: Update Tag_ARM_ISA_use and Tag_THUMB_ISA_use.
      	* gas/arm/attr-override-cpu-directive.d: New file.
      	* gas/arm/attr-override-cpu-directive.s: New file.
      	* gas/arm/attr-override-mcpu.d: New file.
      	* gas/arm/attr-override-mcpu.s: New file.
      	* gas/arm/blank.s: New file.
      	* gas/arm/eabi_attr_1.d: Update Tag_ARM_ISA_use and Tag_THUMB_ISA_use.
      	* ld-arm/attr-merge-3.attr: Update following gas change.
      	* ld-arm/attr-merge-2.attr: Update Tag_ARM_ISA_use and
      	Tag_THUMB_ISA_use following gas changes.
      	* ld-arm/attr-merge-4.attr: Likewise.
      	* ld-arm/attr-merge-5.attr: Likewise.
      	* ld-arm/attr-merge-arch-1.attr: Likewise.
      	* ld-arm/attr-merge-arch-2.attr: Likewise.
      	* ld-arm/attr-merge-unknown-2.d: Likewise.
      	* ld-arm/attr-merge-unknown-2r.d: Likewise.
      	* ld-arm/attr-merge-unknown-3.d: Likewise.
      	* ld-arm/attr-merge-wchar-00-nowarn.d: Likewise.
      	* ld-arm/attr-merge-wchar-00.d: Likewise.
      	* ld-arm/attr-merge-wchar-02-nowarn.d: Likewise.
      	* ld-arm/attr-merge-wchar-02.d: Likewise.
      	* ld-arm/attr-merge-wchar-04-nowarn.d: Likewise.
      	* ld-arm/attr-merge-wchar-04.d: Likewise.
      	* ld-arm/attr-merge-wchar-20-nowarn.d: Likewise.
      	* ld-arm/attr-merge-wchar-20.d: Likewise.
      	* ld-arm/attr-merge-wchar-22-nowarn.d: Likewise.
      	* ld-arm/attr-merge-wchar-22.d: Likewise.
      	* ld-arm/attr-merge-wchar-24-nowarn.d: Likewise.
      	* ld-arm/attr-merge-wchar-40-nowarn.d: Likewise.
      	* ld-arm/attr-merge-wchar-40.d: Likewise.
      	* ld-arm/attr-merge-wchar-42-nowarn.d: Likewise.
      	* ld-arm/attr-merge-wchar-44-nowarn.d: Likewise.
      	* ld-arm/attr-merge-wchar-44.d: Likewise.
      	* ld-arm/attr-merge.attr: Likewise.
  37. 19 Jan, 2009 1 commit
    • Andrew Stubbs's avatar
      2009-01-19 Andrew Stubbs <ams@codesourcery.com> · 2d0bb761
      Andrew Stubbs authored
      	* elf-attrs.c (is_default_attr): Support defaultless attributes.
      	(bfd_elf_add_obj_attr_int): Get type from _bfd_elf_obj_attrs_arg_type.
      	(bfd_elf_add_obj_attr_string): Likewise.
      	(bfd_elf_add_obj_attr_int_string): Likewise.
      	(_bfd_elf_parse_attributes): Allow for unknown flag bits in type.
      	* elf-bfd.h (struct obj_attribute): Document new flag bit.
      	* elf32-arm.c (elf32_arm_obj_attrs_arg_type): Specify that
      	Tag_nodefaults has no default value.
      	(elf32_arm_merge_eabi_attributes): Modify the Tag_nodefaults
      	comment to reflect the new state.
      	* read.c (s_vendor_attribute): Allow for unknown flag bits in type.
  38. 16 Jan, 2009 1 commit
    • Andrew Stubbs's avatar
      2009-01-16 Andrew Stubbs <ams@codesourcery.com> · e04befd0
      Andrew Stubbs authored
      	    Daniel Jacobowitz  <dan@codesourcery.com>
      	* config/tc-arm.c (arm_copy_symbol_attributes): New function.
      	* config/tc-arm.h (arm_copy_symbol_attributes): New prototype.
      	* read.c (s_vendor_attribute): Add support for symbolic tag names.
      	Improve string parser.
      	* doc/c-arm.texi (ARM Machine Directives): Document
      	.eabi_attribute symbolic tag names.
      	* gas/arm/attr-syntax.d: New file.
      	* gas/arm/attr-syntax.s: New file.