aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
2008-10-08 * configure.in (ALL_LINGUAS): Add "id".Nick Clifton4-2/+14911
* configure: Regenerate. * po/id.po: New Indonesian translation.
2008-10-072008-10-07 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu5-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.
2008-10-06 * doc/as.texinfo (Local): New description of ELF .local directive.Bob Wilson2-0/+23
2008-10-06 * dwarf.c (display_debug_frames): Change text for uniformity.Nick Clifton22-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.
2008-10-06 PR 6926Nick Clifton2-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.
2008-10-04 * gas/cris/rd-tls-1.s, gas/cris/rd-tls-1.d, gas/cris/rd-tls-2.s,Hans-Peter Nilsson8-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.
2008-10-04 * config/tc-cris.c: Update all comments regarding explicit relocationsHans-Peter Nilsson2-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.
2008-10-03 * listing.c (buffer_line): Open the source file with FOPEN_RB.Kazu Hirata2-2/+20
Manually process line ends.
2008-09-30 * coffgen.c (coff_write_symbols): Check to see if a symbol's flagsNick Clifton2-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.
2008-09-30run "make dep-am"Alan Modra3-344/+319
2008-09-30 * dw2gencfi.c (output_cfi_insn): Fix typo in invocation ofAlan Modra2-1/+6
tc_cfi_emit_pcrel_expr macro.
2008-09-29 * configure: Regenerate for new libtool.Steve Ellcey5-341/+1166
* aclocal.m4: Ditto. * Makefile.in: Ditto. * doc/Makefile.in: Ditto.
2008-09-29 PR 6878Nick Clifton2-1/+14
* app.c (do_scrub_chars): Only issue warnings about tick characters detected in symbol strings if hex ticks are supported.
2008-09-28 * NEWS: Mention .cfi_val_encoded_addr.Daniel Jacobowitz2-0/+7
2008-09-262008-09-26 Florian Krohm <fkrohm@us.ibm.com>Andreas Krebbel9-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.
2008-09-26 * Makefile.am (TARG_ENV_HFILES): Add config/te-solaris.h.Eric Botcazou5-4/+44
* Makefile.in (TARG_ENV_HFILES): Likewise. * configure.tgt (Solaris targets): Set em=solaris. * config/te-solaris.h: New file.
2008-09-26 * config/bfin-parse.y (asm_1): Fix reduce/reduce conflicts.Jie Zhang2-12/+14
2008-09-24include/Richard Henderson3-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.
2008-09-24 PR 6913Alan Modra2-1/+6
* listing.c (print_options): Don't call fprintf without format string.
2008-09-19 * write.c (TC_FORCE_RELOCATION_SUB_LOCAL): Heed md_register_arithmetic.Alan Modra9-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.
2008-09-19 * write.c (md_register_arithmetic): Define.Alan Modra3-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.
2008-09-15 * gas/all/gas.exp: Don't run redef tests on a bunch of targets.Alan Modra3-11/+29
* gas/elf/elf.exp: Likewise.
2008-09-15 * write.c (install_reloc): Correct EMIT_SECTION_SYMBOLS test.Alan Modra2-2/+6
2008-09-15 * config/tc-frv.c (md_apply_fix): Use abs_section_sym forAlan Modra3-4/+21
relocs with no symbol. * config/tc-mmix.c (md_assemble): Mark fake symbol on BFD_RELOC_MMIX_BASE_PLUS_OFFSET as OK for use by relocs. (mmix_md_end): Likewise mark mmix reg contents section symbol.
2008-09-14Add new tests for z80Arnold Metselaar18-0/+1581
2008-09-14Fix Opcode generation of ld a,(bc) and ld a,(de) on target z80Arnold Metselaar2-1/+6
2008-09-122008-09-12 Sterling Augustine <sterling@tensilica.com>Bob Wilson2-1/+6
* config/tc-xtensa.c (init_op_placement_info_table): Allow number of operands equal to MAX_INSN_ARGS.
2008-09-11gas/testsuite/H.J. Lu5-32/+2519
2008-09-11 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/sse2avx.s: Remove pclmulXXX tests. Add tests for Intel syntax. * gas/i386/x86-64-sse2avx.s: Likewise. * gas/i386/sse2avx.d: Updated. * gas/i386/x86-64-sse2avx.d: Likewise. opcodes/ 2008-09-11 H.J. Lu <hongjiu.lu@intel.com> * i386-opc.tbl: Fix memory operand size for cmpXXXs[sd]. * i386-tbl.h: Regenerated.
2008-09-11bfd/Jan Kratochvil4-0/+378
Fix loading large elf64 binaries on 32bit hosts. * configure.in: Call AC_SYS_LARGEFILE. * config.in: Regenerate. * configure: Regenerate. binutils/ Fix loading large elf64 binaries on 32bit hosts. * configure.in: Call AC_SYS_LARGEFILE. * config.in: Regenerate. * configure: Regenerate. gas/ * configure.in: Call AC_SYS_LARGEFILE. * config.in: Regenerate. * configure: Regenerate. gprof/ * configure.in: Call AC_SYS_LARGEFILE. * gconfig.in: Regenerate. * configure: Regenerate. ld/ * configure.in: Call AC_SYS_LARGEFILE. * config.in: Regenerate. * configure: Regenerate. libiberty/ * configure.in: Call AC_SYS_LARGEFILE. * config.in: Regenerate. * configure: Regenerate.
2008-09-09gas/Peter Bergner10-10/+518
* config/tc-ppc.c (ppc_setup_opcodes): Simplify POWER4/NOPOWER4 test. Remove POWER5 and POWER6 tests. gas/testsuite/ * gas/ppc/common.s: New test. * gas/ppc/common.d: Likewise. * gas/ppc/power4_32.s: Likewise. * gas/ppc/power4_32.d: Likewise. * gas/ppc/power6.s: Add attn, mtcr, mtcrf, mfcr, dcbz. * gas/ppc/power6.d: Likewise. * gas/ppc/ppc.exp: Run power4_32 test.
2008-09-09 * config/tc-hppa.c (hppa_regname_to_dw2regnum): Add register name toDave Anglin2-0/+15
number support for 32-bit targets.
2008-09-08ld/Tristan Gingold2-0/+7
2008-09-08 Tristan Gingold <gingold@adacore.com> * NEWS: Add a marker for the 2.19 features. gas/ 2008-09-08 Tristan Gingold <gingold@adacore.com> * NEWS: Add a marker for the 2.19 features. binutils/ 2008-09-08 Tristan Gingold <gingold@adacore.com> * NEWS: Add a marker for the 2.19 features.
2008-09-08 * config/tc-hppa.h (DIFF_EXPR_OK): Define for SOM target. ReviseDave Anglin2-4/+17
comment regarding use of difference expressions. (TC_FORCE_RELOCATION_SUB_LOCAL): Define to 1.
2008-09-07 * dw2gencfi.c (CFI_DIFF_EXPR_OK): Define if not defined.Dave Anglin3-6/+26
(dot_cfi_personality): Use CFI_DIFF_EXPR_OK instead of DIFF_EXPR_OK. (dot_cfi_lsda, output_cie, output_fde): Likewise. * config/tc-hppa.h (CFI_DIFF_EXPR_OK): Define.
2008-09-06gas/Richard Sandiford6-0/+29
* config/tc-mips.h (DWARF2_FDE_RELOC_SIZE): Define. gas/testsuite/ * gas/mips/cfi-n64-1.s, gas/mips/cfi-n64-1.d: New test. * gas/mips/mips.exp: Run it.
2008-09-05 * gas/arm/abs12.d: Update expected disassembly.Nick Clifton15-17/+35
* gas/arm/tls_vxworks.d: Likewise. * gas/arm/unwind_vxworks.d: Likewise. * gas/arm/group-reloc-alu-encoding-bad.d: Skip for vxworks targets. * gas/arm/group-reloc-alu.d: Likewise. * gas/arm/group-reloc-ldc-encoding-bad.d: Likewise. * gas/arm/group-reloc-ldc.d: Likewise. * gas/arm/group-reloc-ldr-encoding-bad.d: Likewise. * gas/arm/group-reloc-ldr.d: Likewise. * gas/arm/group-reloc-ldrs-encoding-bad.d: Likewise. * gas/arm/group-reloc-ldrs.d: Likewise. * gas/arm/local_function.d: Likewise. * gas/arm/mapshort-elf.d: Likewise. * gas/arm/undefined.d: Likewise.
2008-09-05 * lib/gas-defs.exp (run_dump_test): If the test expects an error,Nick Clifton2-0/+9
fail the test if gas doesn't report an error.
2008-09-03Make new functions static.Nick Clifton2-8/+7
Rearrange wording of documentation.
2008-09-03* config/tc-i386.c (pe_lcomm_internal): New function. Allows theNick Clifton3-0/+81
alignment field of the .lcomm directive to be optional. (pe_lcomm): New function. Pass pe_lcomm_internal to s_comm_internal. (md_pseudo_table): Implement .lcomm directive for COFF based targets. * doc/c-i386.texi (i386-Directives): New node. Used to document the .lcomm directive.
2008-08-30 * config/tc-hppa.h: Don't define DWARF2_EH_FRAME_READ_ONLY on LinuxDave Anglin2-3/+9
and NetBSD.
2008-08-29 * config/tc-avr.c (mcu_types): Add atmega16u4.Nick Clifton3-2/+8
* doc/c-avr.texi: Likewise.
2008-08-28gas/testsuite/Jan Beulich5-634/+648
2008-08-28 Jan Beulich <jbeulich@novell.com> * gas/i386/intel.s: Add retf. * gas/i386/intel.{d,e}: Adjust. * gas/i386/opcode-intel.d: Replace lret with retf. opcodes/ 2008-08-28 Jan Beulich <jbeulich@novell.com> * i386-dis.c (dis386): Adjust far return mnemonics. * i386-opc.tbl: Add retf. * i386-tbl.h: Re-generate.
2008-08-28gas/testsuite/Jan Beulich2-32/+36
2008-08-28 Jan Beulich <jbeulich@novell.com> * gas/i386/gas/i386/opcode-suffix.d: Add suffixes to cmovXX. opcodes/ 2008-08-28 Jan Beulich <jbeulich@novell.com> * i386-dis.c (dis386_twobyte): Adjust cmovXX mnemonics.
2008-08-28gas/H.J. Lu9-472/+546
2008-08-28 H.J. Lu <hongjiu.lu@intel.com> * config/tc-ia64.c (CR_IIB0): New. (CR_IIB1): Likewise. (cr): Add cr.iib0 and cr.iib1. (specify_resource): Handle IA64_RS_CR_IIB and CR_IIB0/CR_IIB1. gas/testsuite/ 2008-08-28 H.J. Lu <hongjiu.lu@intel.com> * gas/ia64/dv-raw-err.s: Add tests for cr.iib0 and cr.iib1. * gas/ia64/dv-waw-err.s: Likewise. * gas/ia64/regs.s: Likewise. * gas/ia64/dv-raw-err.l: Updated. * gas/ia64/dv-waw-err.l: Likewise. * gas/ia64/regs.d: Likewise. include/opcode/ 2008-08-28 H.J. Lu <hongjiu.lu@intel.com> * ia64.h (ia64_resource_specifier): Add IA64_RS_CR_IIB. Update IA64_RS_CR. opcodes/ 2008-08-28 H.J. Lu <hongjiu.lu@intel.com> * ia64-dis.c (print_insn_ia64): Handle cr.iib0 and cr.iib1. * ia64-gen.c (lookup_specifier): Likewise. * ia64-ic.tbl: Add support for cr.iib0 and cr.iib1. * ia64-raw.tbl: Likewise. * ia64-waw.tbl: Likewise. * ia64-asmtab.c: Regenerated.
2008-08-28gas/Jan Beulich9-9/+364
2008-08-28 Jan Beulich <jbeulich@novell.com> * config/tc-i386.c (md_assemble): Force number of displacement operands to zero when processing string instruction. (i386_index_check): Special-case string instruction operands. Don't fudge address prefix if there already was a memory operand. Fix error message to correctly reflect the addressing mode used. (i386_att_operand): Fix comment. (i386_intel_operand): Snapshot, clear, and restore base and index reg for each operand processed. Increment count of memory operands later. gas/testsuite/ 2008-08-28 Jan Beulich <jbeulich@novell.com> * gas/i386/string-bad.{l,s}, gas/i386/string-ok.{d,e,s}: New. * gas/i386/i386.exp: Run new tests.
2008-08-28 * elf-hppa.h (elf_hppa_reloc_final_type): Handle R_PARISC_GPREL64,Dave Anglin3-0/+16
R_PARISC_SEGREL32 and R_PARISC_SEGREL64. * som.c (som_fixup_formats): Add R_DATA_GPREL fixup. (som_hppa_howto_table): Likewise. (hppa_som_gen_reloc_type): In case R_HPPA_GOTOFF, detect R_DATA_GPREL final type. (som_write_fixups): Handle R_DATA_GPREL. * config/tc-hppa.c (is_SB_relative): New macro. (fix_new_hppa): Remove $segrel$ marker. (cons_fix_new_hppa): Set reloc type R_PARISC_SEGREL32 if expression is segment relative. * config/tc-hppa.h (tc_frob_symbol): Check for $segrel$.
2008-08-27gas/testsuite/H.J. Lu3-0/+11
2008-08-27 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/intel.s: Add tests for fidivr. * gas/i386/intel.d: Updated. opcodes/ 2008-08-27 H.J. Lu <hongjiu.lu@intel.com> * i386-opc.tbl: Correct fidivr operand size. * i386-tbl.h: Regenerated.
2008-08-27gas/Jan Beulich2-5/+13
2008-08-27 Jan Beulich <jbeulich@novell.com> * config/tc-i386.c (check_string): Use register_prefix for error message. (process_operands): Likewise.
2008-08-26 * c-arm.texi: Add tutorial on ARM unwinding pseudo ops.Mark Mitchell2-0/+157
2008-08-26 * config/bfin-parse.y (check_macfunc_option): Fix instructionJie Zhang8-12/+228
mode checking. (asm_1): Check mode for 16-bit multiply instructions. testsuite/ * gas/bfin/arith_mode.d: New test. * gas/bfin/arith_mode.s: New test. * gas/bfin/invalid_arith_mode.l: New test. * gas/bfin/invalid_arith_mode.s: New test. * gas/bfin/bfin.exp: Add arith_mode and invalid_arith_mode.