summaryrefslogtreecommitdiff
path: root/gas
Commit message (Collapse)AuthorAgeFilesLines
* Add support for ARM half-precision conversion instructions.Catherine Moore2008-11-189-49/+316
|
* Update copyright year in --version messages.Nick Clifton2008-11-172-1/+5
|
* * read.c (emit_expr): Grow frag before filling it so thatNick Clifton2008-11-142-0/+8
| | | | dot_value remains valid.
* PR 7026Nick Clifton2008-11-142-5/+11
| | | | | * config/tc-arm.c: Ensure that all uses of as_bad have a formatting string.
* * config/tc-cris.c (cris_number_to_imm): Except forHans-Peter Nilsson2008-11-122-28/+22
| | | | | BFD_RELOC_NONE, always set contents. Where previously this was skipped, set contents to 0.
* PR gas/7025Hans-Peter Nilsson2008-11-122-0/+10
| | | | | * input-scrub.c (input_scrub_include_sb): Make the position after the input have defined contents, a 0 character.
* * gas/cris/rd-bcnst2-pic.d, gas/cris/rd-bcnst2.d,Hans-Peter Nilsson2008-11-124-0/+41
| | | | gas/cris/rd-bcnst2.s: New tests.
* * config/tc-cris.c (cris_relax_frag): Add missing case forHans-Peter Nilsson2008-11-122-0/+4
| | | | ENCODE_RELAX (STATE_COND_BRANCH_PIC, STATE_DWORD).
* PR gas/7020Hans-Peter Nilsson2008-11-121-0/+1
| | | | | | * read.c (read_a_source_file): Rearrange evaluation order when looking for '=' to avoid conditional on undefined contents of input_line_pointer[1].
* * read.c (read_a_source_file): Rearrange evaluation order whenHans-Peter Nilsson2008-11-122-4/+10
| | | | | looking for '=' to avoid conditional on undefined contents of input_line_pointer[1].
* * config/tc-mips.c (COP_INSN): Change logic to always return falseAdam Nemet2008-11-067-4/+39
| | | | | | | | | for FP instructions. testsuite/ * gas/mips/mips1-fp.s, testsuite/gas/mips/mips1-fp.d, testsuite/gas/mips/mips1-fp.l: New tests. * gas/mips/mips.exp: Run them.
* 2008-11-06 Chao-ying Fu <fu@mips.com>Chao-ying Fu2008-11-064-0/+31
| | | | | * gas/mips/mips32-sync.d, gas/mip/mips32-sync.s: New tests. * gas/mips/mips.exp: Run them.
* 2008-11-06 Chao-ying Fu <fu@mips.com>Chao-ying Fu2008-11-062-1/+10
| | | | | * config/tc-mips.c (validate_mips_insn): Add case '1'. (mips_ip): Add case '1' to process sync type.
* Add m32c-*-rtems* and m32r-*-rtems* configuration targets.Nick Clifton2008-11-062-2/+6
|
* 2008-11-04 Sterling Augustine <sterling@tensilica.com>Bob Wilson2008-11-052-0/+59
| | | | | * config/tc-xtensa.c (tinsn_check_arguments): Check for multiple writes to the same register.
* 2008-11-04 Sterling Augustine <sterling@tensilica.com>Bob Wilson2008-11-0410-13/+117
| | | | | | | | | | | | | | | | | | | | | | * config/tc-xtensa.c (xtensa_j_opcode): New. (xg_instruction_matches_option_term): Handle "FREEREG" option. (xg_build_to_insn): Likewise. Update renamed tls_reloc reference. (md_begin): Initialize xtensa_j_opcode. (md_assemble): Update renamed tls_reloc reference. Handle "j.l". (xg_assemble_vliw_tokens): Save free_reg info in the frag. (tinsn_immed_from_frag): Get free_reg info back out of the frag. (vinsn_to_insnbuf): Update renamed tls_reloc references. Distinguish extra argument for "FREEREG" from extra TLS argument. * config/tc-xtensa.h (struct xtensa_frag_type): Add free_reg field. * config/xtensa-istack.h (struct tinsn_struct): Rename tls_reloc field to extra_arg. * config/xtensa-relax.c (widen_spec_list): Add rules to relax "j.l". (build_transition): Handle "FREEREG" operand. * config/xtensa-relax.h (enum op_type): Add OP_FREEREG. 2008-11-04 Bob Wilson <bob.wilson@acm.org> * gas/xtensa/all.exp: Run jlong test. * gas/xtensa/jlong.d: New. * gas/xtensa/jlong.s: New.
* gas/testsuite/H.J. Lu2008-11-037-3/+35
| | | | | | | | | | | | | | | | | | | 2008-11-03 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/intel.s: Add tests for cmovpe and cmovpo. * gas/i386/opcode.s: Likewise. * gas/i386/intel.d: Updated. * gas/i386/opcode.d: Likewise. * gas/i386/opcode-intel.d: Likewise. * gas/i386/opcode-suffix.d: Likewise. opcodes/ 2008-11-03 H.J. Lu <hongjiu.lu@intel.com> * i386-opc.tbl: Add cmovpe and cmovpo. * i386-tbl.h: Regenerated.
* Update.Alan Modra2008-10-312-2526/+2937
|
* * config/tc-mips.c (mips_cpu_info_table): Move the MIPS64r2Maciej W. Rozycki2008-10-242-2/+7
| | | | comment so that Broadcom SB-1 cores are in the MIPS64 section.
* missing changelog entryAlan Modra2008-10-211-0/+9
|
* Remove unnecessary casts on obstack_alloc invocations.Alan Modra2008-10-216-9/+9
|
* * config/bfin-parse.y: Use C style comments.Alan Modra2008-10-205-11/+18
| | | | | | * config/tc-bfin.c: Likewise. * config/tc-m68k.c: Likewise. * config/tc-mips.c: Likewise.
* gas/H.J. Lu2008-10-1210-27/+445
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-10-12 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (processor_type): Moved to tc-i386.h. (cpu_arch_tune): Make it global. (cpu_arch_isa): Likewise. (cpu_arch_isa_flags): Likewise. (i386_align_code): Check fragP->tc_frag_data.isa, fragP->tc_frag_data.isa_flags and cpu_arch_tune instead of cpu_arch_isa, cpu_arch_isa_flags and cpu_arch_tune, respectively. * config/tc-i386.h (processor_type): Moved from tc-i386.c. (cpu_arch_tune): New. (cpu_arch_isa): Likewise. (cpu_arch_isa_flags): Likewise. (i386_tc_frag_data): Likewise. (TC_FRAG_TYPE): Likewise. (TC_FRAG_INIT): Likewise. gas/testsuite/ 2008-10-12 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/i386.exp: Run nops-5, nops-5-i686, x86-64-nops-5 and x86-64-nops-5-k8. * gas/i386/nops-5.d: New. * gas/i386/nops-5.s: Likewise. * gas/i386/nops-5-i686.d: Likewise. * gas/i386/x86-64-nops-5.d: Likewise. * gas/i386/x86-64-nops-5-k8.d: Likewise.
* * doc/as.texinfo (Pseudo Ops): Swap order of Comm and CFI menu entries.Bob Wilson2008-10-092-157/+161
| | | | | (Altmacro, Comm, Loc, Loc_mark_labels, List, MRI, PopSection, Sleb128): Moved into alphabetical order.
* * doc/as.texinfo (Dot): Expand no-space-dir conditional to includeBob Wilson2008-10-092-13/+20
| | | | | | | | a complete sentence. (Pseudo Ops): Put conditionals around Skip and Space menu entries. (Line): Remove conditional declaration of Ln node and section here. Put aout-bout description inside the no-line-dir conditional. (Skip, Space): Use a separate conditional for each node.
* * doc/as.texinfo (Pseudo Ops): Remove no-file-dir conditional aroundBob Wilson2008-10-092-26/+58
| | | | | | | | | | | | | menu entry for File; remove version-specific .file operands from menu description. Replace "LNS directives" menu entry with new entries for "Loc" and "Loc_mark_labels". (LNS directives): Split into separate nodes for each directive. (Loc): New node for .loc directive. Mention that this directive is for DWARF2 and add a missing article. (Loc_mark_labels): Likewise for .loc_mark_labels. (File): Change this node to describe both the default version and the DWARF2 version of .file. Move the no-file-dir conditional to include only the default version.
* * dw2gencfi.c (cfi_finish): Deal with md_fix_up_eh_frame.Eric Botcazou2008-10-094-0/+25
| | | | | | * config/tc-i386.h (md_fix_up_eh_frame): Define on Solaris. (i386_solaris_fix_up_eh_frame): Declare. * config/tc-i386.c (i386_solaris_fix_up_eh_frame): New function.
* PR 6944Nick Clifton2008-10-092-2/+9
| | | | | | * doc/as.texinfo (Dollar Local Labels): Correct description of dollar local labels to show that the colon suffix is still needed.
* * configure.in (ALL_LINGUAS): Add "id".Nick Clifton2008-10-084-2/+14911
| | | | | * configure: Regenerate. * po/id.po: New Indonesian translation.
* 2008-10-07 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2008-10-075-0/+22
| | | | | | | | | | * read.c (pseudo_set): Don't allow global register symbol only if TC_GLOBAL_REGISTER_SYMBOL_OK is undefined. * symbols.c (S_SET_EXTERNAL): Likewise. * config/tc-mmix.h (TC_GLOBAL_REGISTER_SYMBOL_OK): Defined. * doc/internals.texi: Document TC_GLOBAL_REGISTER_SYMBOL_OK.
* * doc/as.texinfo (Local): New description of ELF .local directive.Bob Wilson2008-10-062-0/+23
|
* * dwarf.c (display_debug_frames): Change text for uniformity.Nick Clifton2008-10-0622-21/+34
| | | | | | | | | | | | | | | | | | | | | | | | | (process_debug_info): Likewise. (display_debug_aranges): Likewise. Indent address output. (display_debug_pubnames): Print offset in hex. * binutils-all/objdump.W: Update. * gas/cfi/cfi-alpha-1.d, gas/cfi/cfi-alpha-3.d, gas/cfi/cfi-arm-1.d, gas/cfi/cfi-common-1.d, gas/cfi/cfi-common-2.d, gas/cfi/cfi-common-3.d, gas/cfi/cfi-common-4.d, gas/cfi/cfi-common-5.d, gas/cfi/cfi-common-6.d, gas/cfi/cfi-hppa-1.d, gas/cfi/cfi-i386-2.d, gas/cfi/cfi-i386.d, gas/cfi/cfi-m68k.d, gas/cfi/cfi-mips-1.d, gas/cfi/cfi-ppc-1.d, gas/cfi/cfi-s390-1.d, gas/cfi/cfi-s390x-1.d, gas/cfi/cfi-sh-1.d, gas/cfi/cfi-sparc-1.d, gas/cfi/cfi-sparc64-1.d, gas/cfi/cfi-x86_64.d: Update for readelf change. * ld-elf/eh1.d, ld-elf/eh2.d, ld-elf/eh3.d, ld-elf/eh4.d, ld-elf/eh5.d, ld-elf/eh6.d, ld-mips-elf/eh-frame1-n32.d, ld-mips-elf/eh-frame1-n64.d, ld-mips-elf/eh-frame2-n32.d, ld-mips-elf/eh-frame2-n64.d, ld-mips-elf/eh-frame3.d, ld-mips-elf/eh-frame4.d: Update for readelf change.
* PR 6926Nick Clifton2008-10-062-12/+49
| | | | | | | | | | | | | | | | * read.c (get_line_sb): Renamed to get_non_macro_line_sb. (_find_end_of_line): Add extra parameter indicating if the line is inside a macro. If it is then do not allow the @ character to be treated as a line separator character. (read_a_source): Update use of _find_end_of_line. (find_end_of_line): Likewise. (s_irp): Update use of get_line_sb. (s_macro): Likewise. (do_repeat): Likewise. (get_line_sb): New function. Like the old version of get_line_sb except that it takes an extra parameter indicating whether the line is inside a macro. (get_macro_line_sb): New function.
* * gas/cris/rd-tls-1.s, gas/cris/rd-tls-1.d, gas/cris/rd-tls-2.s,Hans-Peter Nilsson2008-10-048-0/+173
| | | | | gas/cris/rd-tls-2.d, gas/cris/tls-err-1.s, gas/cris/tls-err-2.s, gas/cris/tls-err-3.s: New tests.
* * config/tc-cris.c: Update all comments regarding explicit relocationsHans-Peter Nilsson2008-10-042-39/+108
| | | | | | | | | | | | | | | | | | to, besides PIC, also imply TLS or to say "relocation specifier" or similar. (RELOC_SUFFIX_CHAR): Rename from PIC_SUFFIX_CHAR. Change all callers. (cris_get_reloc_suffix): Rename from cris_get_pic_suffix. Change all callers. Also handle TLS relocs. (cris_get_specified_reloc_size): Rename from cris_get_pic_reloc_size. Change all callers. Also handle TLS relocs. (tls): New constant. (cris_process_instruction): Check for non-PIC TLS relocations and adjust message when emitting error message about relocation not fitting. (get_autoinc_prefix_or_indir_op): Also check for relocation suffix when tls is true. (get_3op_or_dip_prefix_op): Ditto. (cris_number_to_imm, tc_gen_reloc): Handle TLS relocs like PIC relocs.
* * listing.c (buffer_line): Open the source file with FOPEN_RB.Kazu Hirata2008-10-032-2/+20
| | | | Manually process line ends.
* * coffgen.c (coff_write_symbols): Check to see if a symbol's flagsNick Clifton2008-09-302-0/+16
| | | | | | | | | do not match it class and if necessary update the class. (null_error_handler): New function. Suppresses the generation of bfd error messages. * coff64-rs6000.c (bfd_xcoff_backend_data): Update comment. * config/tc-tic4x.c (tic4x_globl): Call S_SET_EXTERNAL as well as S_SET_STORAGE_CLASS.
* run "make dep-am"Alan Modra2008-09-303-344/+319
|
* * dw2gencfi.c (output_cfi_insn): Fix typo in invocation ofAlan Modra2008-09-302-1/+6
| | | | tc_cfi_emit_pcrel_expr macro.
* * configure: Regenerate for new libtool.Steve Ellcey2008-09-295-341/+1166
| | | | | | * aclocal.m4: Ditto. * Makefile.in: Ditto. * doc/Makefile.in: Ditto.
* PR 6878Nick Clifton2008-09-292-1/+14
| | | | | * app.c (do_scrub_chars): Only issue warnings about tick characters detected in symbol strings if hex ticks are supported.
* * NEWS: Mention .cfi_val_encoded_addr.Daniel Jacobowitz2008-09-282-0/+7
|
* 2008-09-26 Florian Krohm <fkrohm@us.ibm.com>Andreas Krebbel2008-09-269-32/+46
| | | | | | | | | | | | | | | | | | | * s390-opc.txt (thder, thdr): Change RRE_RR to RRE_FF. (cfxr, cfdr, cfer, clclu): Add esa flag. (sqd): Instruction added. (qadtr, qaxtr): Change RRF_FFFU to RRF_FUFF. * s390-opc.c: (INSTR_RRF_FFFU, MASK_RRF_FFFU): Removed. 2008-09-26 Andreas Krebbel <krebbel1@de.ibm.com> * gas/s390/esa-g5.d: Adjust according to the s390-opc changes. * gas/s390/esa-g5.s: Likewise. * gas/s390/esa-z990.d: Likewise. * gas/s390/esa-z990.s: Likewise. * gas/s390/zarch-z900.d: Likewise. * gas/s390/zarch-z900.s: Likewise. * gas/s390/zarch-z990.d: Likewise. * gas/s390/zarch-z990.s: Likewise.
* * Makefile.am (TARG_ENV_HFILES): Add config/te-solaris.h.Eric Botcazou2008-09-265-4/+44
| | | | | | * Makefile.in (TARG_ENV_HFILES): Likewise. * configure.tgt (Solaris targets): Set em=solaris. * config/te-solaris.h: New file.
* * config/bfin-parse.y (asm_1): Fix reduce/reduce conflicts.Jie Zhang2008-09-262-12/+14
|
* include/Richard Henderson2008-09-243-4/+162
| | | | | | | | | | | | | | | | | * elf/dwarf2.h (DW_OP_GNU_encoded_addr): New. binutils/ * dwarf.c (size_of_encoded_value, get_encoded_value): Move up. (decode_location_expression): Add section parameter. Handle DW_OP_GNU_encoded_addr. (read_and_display_attr_value): Update decode_location_expression call. (display_debug_loc, display_debug_frames): Likewise. gas/ * dw2gencfi.c (DWARF2_ADDR_SIZE): Provide default. (struct cfi_insn_data): Add ea member. (CFI_val_encoded_addr, dot_cfi_val_encoded_addr): New. (output_cfi_insn): Handle CFI_val_encoded_addr. (select_cie_for_fde): Don't match CFI_val_encoded_addr. * doc/as.texinfo (.cfi_val_encoded_addr): Document.
* PR 6913Alan Modra2008-09-242-1/+6
| | | | * listing.c (print_options): Don't call fprintf without format string.
* * write.c (TC_FORCE_RELOCATION_SUB_LOCAL): Heed md_register_arithmetic.Alan Modra2008-09-199-25/+45
| | | | | | | | | | | | | (TC_VALIDATE_FIX_SUB): Likewise. * config/tc-frv.h (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise. * config/tc-hppa.h (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise. * config/tc-mn10300.h (TC_VALIDATE_FIX_SUB): Likewise. * config/tc-sh.h (TC_VALIDATE_FIX_SUB): Likewise. (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise. * config/tc-sh64.h (TC_VALIDATE_FIX_SUB): Likewise. * config/tc-xtensa.h (TC_VALIDATE_FIX_SUB): Likewise. * doc/internals.texi (TC_FORCE_RELOCATION_SUB_ABS, TC_FORCE_RELOCATION_SUB_LOCAL, TC_VALIDATE_FIX_SUB): Show new param.
* * write.c (md_register_arithmetic): Define.Alan Modra2008-09-193-10/+30
| | | | | | | (fixup_segment): Adjust TC_FORCE_RELOCATION_SUB_ABS invocation. Modify error message when registers involved. (TC_FORCE_RELOCATION_SUB_ABS): Heed md_register_arithmetic. * config/tc-sh.h (TC_FORCE_RELOCATION_SUB_ABS): Likewise.
* * gas/all/gas.exp: Don't run redef tests on a bunch of targets.Alan Modra2008-09-153-11/+29
| | | | * gas/elf/elf.exp: Likewise.