aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
2010-08-09 * as.c (show_usage): Don't list --compress-debug-sections if zlib notCary Coutant3-0/+24
installed. (main): Warn if --compress-debug-sections requested and zlib not installed. * doc/as.texinfo: Add --compress-debug-sections, --nocompress-debug-sections.
2010-08-06Re-indent config/tc-i386.c.H.J. Lu2-3/+8
2010-08-06 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (set_cpu_arch): Re-indent. (md_parse_option): Likewise.
2010-08-06Don't generate multi-byte NOPs for i686.H.J. Lu13-87/+137
gas/ 2010-08-06 Quentin Neill <quentin.neill@amd.com> * config/tc-i386.c (arch_entry): Add negated bit to disambiguate flag names starting with "no". (cpu_arch): Add negated bit definitions. Add ".nop" CPU extension. (i386_align_code): Use new .cpunop bit to decide when to generate alignment using nops. (set_cpu_arch): Use negated bit instead to decide when to use cpu_flags or vs. cpu_flags_and_not. (md_parse_option): Likewise. gas/testsuite/ 2010-08-06 Quentin Neill <quentin.neill@amd.com> * gas/i386/arch-10-1.l: Add nopl instruction. * gas/i386/arch-10-2.l: Likewise. * gas/i386/arch-10-3.l: Likewise. * gas/i386/arch-10-4.l: Likewise. * gas/i386/arch-10.s: Likewise. * gas/i386/arch-10.d: Add nopl instruction, and +nopl extension flag to as flags. * gas/i386/nops-5-i686.d: Change alignment code generated for -mtune=i686. * gas/i386/nops-5.d: Change alignment code generated for .arch i686. * gas/i386/x86-64-nops-5-k8.d: Likewise. * gas/i386/x86-64-nops-5.d: Likewise. opcodes/ 2010-08-06 Quentin Neill <quentin.neill@amd.com> * i386-gen.c (cpu_flag_init): Define CpuNop extension flag, add to processor flags for PENTIUMPRO processors and later. * i386-opc.h (enum): Add CpuNop. (i386_cpu_flags): Add cpunop bit. * i386-opc.tbl: Change nop cpu_flags. * i386-init.h: Regenerated. * i386-tbl.h: Likewise.
2010-08-06Add ud1 to x86.H.J. Lu8-8/+40
gas/testsuite/ 2010-08-05 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/i386.exp: Run arch-4. * gas/i386/arch-4.d: New. * gas/i386/arch-4.s: Likewise. * gas/i386/intel.d: Replace ud2a/ud2b with ud2/ud1. * gas/i386/opcode-intel.d: Likewise. * gas/i386/opcode-suffix.d: Likewise. * gas/i386/opcode.d: Likewise. opcodes/ 2010-08-05 H.J. Lu <hongjiu.lu@intel.com> * i386-dis.c (dis386_twobyte): Replace ud2a/ud2b with ud2/ud1. * i386-opc.tbl: Add ud1. Remove Cpu686 from ud2/ud2a/ud2b. * i386-tbl.h: Regenerated.
2010-08-04Move the first i.error out of the loop.H.J. Lu2-2/+8
2010-08-04 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (match_template): Move the first i.error out of the loop.
2010-08-04 * configure.tgt (m32c): Set endian=little.Alan Modra4-3/+9
* config/tc-m32c.h (TARGET_BYTES_BIG_ENDIAN): Define as 0. * config/tc-m32c.c (md_number_to_chars): Revert last change.
2010-08-03bfd/Tristan Gingold2-2/+7
2010-08-03 Tristan Gingold <gingold@adacore.com> * makefile.vms (OBJS): Update list. gas/ Index: gas/ChangeLog 2010-08-03 Tristan Gingold <gingold@adacore.com> * makefile.vms (OBJS): Add Add compress-debug.c.
2010-08-03 * config/tc-d10v.h (TARGET_BYTES_BIG_ENDIAN): Define as 1.Alan Modra3-4/+10
* config/tc-m32c.c (md_number_to_chars): Call bigendian form of number_to_chars, not littleendian.
2010-08-03 * gas/all/octa.s, * gas/all/octa.d: New test.Alan Modra7-16/+19
* gas/all/gas.exp: Run octa. * gas/elf/data-1.s, * gas/elf/data-1.d: Delete. * gas/elf/elf.exp: Don't run data-1.
2010-08-02Run data-1 only for i*86, x86_64 and ia64.H.J. Lu2-1/+10
2010-08-02 H.J. Lu <hongjiu.lu@intel.com> * elf/elf.exp: Run data-1 only for i*86, x86_64 and ia64.
2010-08-02Add a testcase for PR gas/11867.H.J. Lu4-0/+19
2010-08-02 H.J. Lu <hongjiu.lu@intel.com> PR gas/11867 * gas/elf/data-1.d: New. * gas/elf/data-1.s: Likewise. * elf/elf.exp: Run data-1.
2010-08-02 * config/tc-d30v.c (d30v_cons_align): Don't align constantsAlan Modra2-0/+9
in debug sections.
2010-08-02 PR gas/11867Alan Modra3-10/+42
* 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.
2010-08-022010-08-02 Tristan Gingold <gingold@adacore.com>Tristan Gingold9-17/+82
* lib/gas-defs.exp (get_standard_section_names): New function. (run_dump_tests): Document the new behavior for objdump, document to new section-subst option. Automatically perform substitutions for objdump. (objdump_finish): Add REF_SUBST argument. (run_list_test): Adjust call of regexp_diff. (run_list_test_stdin): Ditto. * gas/all/gas.exp (test_cond): Adjust call of regexp_diff. * gas/symver/symver.exp (run_error_test): Ditto. * gas/mt/relocs.exp (regexp_test): Ditto. * gas/mep/complex-relocs.exp (regexp_test): Ditto. * gas/m68k/all.exp: Ditto. * gas/elf/elf.exp (run_elf_list_test): Ditto. * gas/rx/rx-asm-good.d: Set section-subst to no.
2010-08-02 * config/tc-v850.c (md_assemble): Always pass format string toAlan Modra2-2/+8
as_warn. (md_apply_fix): Similarly for as_warn_where.
2010-08-02 * gas/i386/i386.exp (dw2-compress-1): Only run on ELF targets.Alan Modra2-10/+10
(dw2-compress-2, x86-64-dw2-compress-2): Remove unnecessary linux target test.
2010-08-02Update for ppc_fix_adjustable change.Alan Modra2-2/+6
2010-07-29Reformat config/tc-i386-intel.c.H.J. Lu2-18/+42
2010-07-29 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386-intel.c: Reformat.
2010-07-29 * config/tc-ppc.c (ppc_fix_adjustable): Add got reloc types usedAlan Modra2-0/+7
in large toc code.
2010-07-28Correct date.H.J. Lu1-1/+1
2010-07-28Xfail dw2-compress-2 and x86-64-dw2-compress-2.H.J. Lu2-0/+7
2010-07-27 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/i386.exp: Xfail dw2-compress-2 and x86-64-dw2-compress-2.
2010-07-28 PR gas/11841Alan Modra2-1/+6
* symbols.c (symbol_clone): Correct typo in previous patch.
2010-07-28 PR gas/11841Alan Modra2-2/+7
* symbols.c (symbol_clone): Clear BSF_SECTION_SYM flag.
2010-07-28 * config/tc-ppc.c (md_assemble): Don't attempt to print NUL inAlan Modra2-1/+9
syntax error message.
2010-07-27Fix up last ChangeLog entry in gas/ and bfd/.Maciej W. Rozycki1-15/+0
2010-07-27 * elf64-mips.c (mips_elf64_howto_table_rela)Maciej W. Rozycki1-0/+15
[R_MIPS_TLS_DTPMOD64]: Clear partial_inplace. [R_MIPS_TLS_DTPREL64, R_MIPS_TLS_GD, R_MIPS_TLS_LDM]: Likewise. [R_MIPS_TLS_DTPREL_HI16, R_MIPS_TLS_DTPREL_LO16]: Likewise. [R_MIPS_TLS_GOTTPREL, R_MIPS_TLS_TPREL64]: Likewise. [R_MIPS_TLS_TPREL_HI16, R_MIPS_TLS_TPREL_LO16]: Likewise. * elfn32-mips.c (elf_mips_howto_table_rela) [R_MIPS_TLS_DTPMOD32]: Likewise. [R_MIPS_TLS_DTPREL32, R_MIPS_TLS_GD, R_MIPS_TLS_LDM]: Likewise. [R_MIPS_TLS_DTPREL_HI16, R_MIPS_TLS_DTPREL_LO16]: Likewise. [R_MIPS_TLS_GOTTPREL, R_MIPS_TLS_TPREL32]: Likewise. [R_MIPS_TLS_TPREL_HI16, R_MIPS_TLS_TPREL_LO16]: Likewise.
2010-07-27 * config/tc-mips.c (mips16_macro_build): Pass "args" byMaciej W. Rozycki2-11/+17
reference rather than value. (macro_build): Update accordingly.
2010-07-27 * config/tc-mips.c (mips_ip): Use symbol_temp_new_now to createMaciej W. Rozycki2-3/+6
a fake label.
2010-07-24 gas/Maciej W. Rozycki8-0/+142
* config/tc-mips.c (macro)[M_JAL_1, M_JAL_2]: Handle the JALR delay slot in the noreorder mode with the o32 ABI. gas/testsuite/ * gas/mips/jal-svr4pic-noreorder.d: New test case. * gas/mips/mips1@jal-svr4pic-noreorder.d: New test subarchitecture. * gas/mips/r3000@jal-svr4pic-noreorder.d: Likewise. * gas/mips/jal-svr4pic-noreorder.s: Source for the new test case. * gas/mips/mips.exp: Run the new test case.
2010-07-24 * gas/mips/jal-svr4pic.d: Rename to...Maciej W. Rozycki5-21/+82
* gas/mips/mips1@jal-svr4pic.d: ... this. * gas/mips/r3000@jal-svr4pic.d: New test subarchitecture. * gas/mips/jal-svr4pic.d: New default subarchitecture patterns. * gas/mips/mips.exp: Run jal-svr4pic with run_dump_test_arches rather than run_dump_test.
2010-07-24 * gas/mips/jal-svr4pic.d: Reformat. Use --show-raw-insn withMaciej W. Rozycki3-45/+50
`objdump'. * gas/mips/jal-svr4pic.s: Reformat. Fix up trailing zeroes.
2010-07-24 * lib/gas-defs.exp (run_dump_test): Handle the "dump" option.Maciej W. Rozycki2-1/+17
2010-07-23Add support for v850E2 and v850E2V3Nick Clifton10-539/+1522
2010-07-23 PR gas/11834Alan Modra2-3/+13
* macro.c (macro_expand): Recover gracefully from named args that don't match params.
2010-07-222010-07-22 Thomas Schwinge <thomas@codesourcery.com>Thomas Schwinge3-8/+14
Switch MIPS to 32-bit DWARF format. * config/tc-mips.h (DWARF2_FORMAT): Only define for [TE_IRIX]. * config/tc-mips.c (mips_dwarf2_format): Likewise.
2010-07-22 * gas/arm/mapdir.s: Don't specify attr/type for .fini_array.Alan Modra4-3/+9
* gas/elf/dwarf2-3.s: Don't specify attr for .init_array. * gas/elf/dwarf2-3.d: Don't run on h8300.
2010-07-20Add missing ChangeLog entry.H.J. Lu1-0/+6
2010-07-20 * config/tc-ppc.c (ppc_setup_opcodes): Add all macros for -many.Alan Modra2-1/+5
2010-07-19binutils/testsuite/:Andreas Schwab16-45/+33
* binutils-all/readelf.s: Ignore "Key to Flags" contents. * binutils-all/readelf.s-64: Likewise. * binutils-all/i386/compressed-1b.d: Likewise. * binutils-all/i386/compressed-1c.d: Likewise. * binutils-all/x86-64/compressed-1b.d: Likewise. * binutils-all/x86-64/compressed-1c.d: Likewise. gas/testsuite/: * gas/i386/x86-64-unwind.d: Ignore "Key to Flags" contents. * gas/ia64/alias-ilp32.d: Likewise. * gas/ia64/alias.d: Likewise. * gas/ia64/group-1.d: Likewise. * gas/ia64/group-2.d: Likewise. * gas/ia64/secname-ilp32.d: Likewise. * gas/ia64/secname.d: Likewise. * gas/ia64/unwind-ilp32.d: Likewise. * gas/ia64/unwind.d: Likewise. * gas/mmix/byte-1.d: Likewise. * gas/mmix/loc-1.d: Likewise. * gas/mmix/loc-2.d: Likewise. * gas/mmix/loc-3.d: Likewise. * gas/mmix/loc-4.d: Likewise. * gas/mmix/loc-5.d: Likewise. ld/testsuite/: * ld-mmix/bspec1.d: Ignore "Key to Flags" contents. * ld-mmix/bspec2.d: Likewise. * ld-mmix/local1.d: Likewise. * ld-mmix/local3.d: Likewise. * ld-mmix/local5.d: Likewise. * ld-mmix/local7.d: Likewise. * ld-mmix/undef-3.d: Likewise. * ld-sh/sh64/crange1.rd: Likewise. * ld-sh/sh64/crange2.rd: Likewise. * ld-sh/sh64/crange3-cmpct.rd: Likewise. * ld-sh/sh64/crange3-media.rd: Likewise. * ld-sh/sh64/crange3.rd: Likewise. * ld-sh/sh64/crangerel1.rd: Likewise. * ld-sh/sh64/crangerel2.rd: Likewise.
2010-07-16Run dw2-compress-2 only for 32bit.H.J. Lu2-1/+8
2010-07-16 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/i386.exp: Run dw2-compress-2 only for 32bit.
2010-07-16 * config/tc-rx.c (md_estimate_size_before_relax): Fix formatAlan Modra2-13/+29
specifier warnings for 32-bit host when --enable-64-bit-bfd. (rx_relax_frag, md_convert_frag): Likewise.
2010-07-15 * gas/NEWS: Add note about --compress-debug-sections.Cary Coutant2-1/+13
* gas/as.c (show_usage): Add --compress-debug-sections and --nocompress-debug-sections.
2010-07-15 * config/obj-elf.c (get_sym_from_input_line_and_check): NewNathan Sidwell7-40/+79
function to catch missing pseudo-op arguments. (obj_elf_local): Call new function. (obj_elf_weak): Likewise. (obj_elf_visibility): Likewise. (obj_elf_vtable_entry): Likewise. (obj_elf_type): Likewise. testsuite/ * gas/elf/pseudo.s: New. * gas/elf/pseudo.l: New. * gas/elf/pseudo.d: New. * gas/elf/elf.exp: Run the new test.
2010-07-152010-07-15 Kai Tietz <kai.tietz@onevision.com>Kai Tietz2-10/+177
* config/obj-coff-seh.c (seh_getelm_data_size): New. (seh_read_offset): Handle negative values. (obj_coff_seh_push): Handle offset for save-register store. (obj_coff_seh_setframe): Add unwind-information for frame. (seh_store_elm_data): New. (seh_getelm_data_size): Return additionally unaligned element count. (seh_make_unwind_entry): Correct tweak about element count.
2010-07-14Add addr2line, objcopy and strip tests for compressed debug sections.H.J. Lu8-3/+337
binutils/testsuite/ 2010-07-14 H.J. Lu <hongjiu.lu@intel.com> * config/default.exp (binutils_assemble): Use default_binutils_assemble_flags. (binutils_assemble_flags): New. * lib/utils-lib.exp (default_binutils_assemble): Renamed to ... (default_binutils_assemble_flags): This. Add asflags and pass it to target_assemble. (run_dump_test): Support assembler flags. * binutils-all/i386/compressed-1.s: New. * binutils-all/i386/compressed-1a.d: Likewise. * binutils-all/i386/compressed-1b.d: Likewise. * binutils-all/i386/compressed-1c.d: Likewise. * binutils-all/i386/i386.exp: Likewise. * binutils-all/x86-64/compressed-1.s: Likewise. * binutils-all/x86-64/compressed-1a.d: Likewise. * binutils-all/x86-64/compressed-1b.d: Likewise. * binutils-all/x86-64/compressed-1c.d: Likewise. * binutils-all/x86-64/x86-64.exp: Likewise. gas/testsuite/ 2010-07-14 H.J. Lu <hongjiu.lu@intel.com> * config/default.exp (ADDR2LINE): New. (ADDR2LINEFLAGS): Likewise. * gas/i386/i386.exp: Run dw2-compress-2 and x86-64-dw2-compress-2. * gas/i386/dw2-compress-2.d: New. * gas/i386/dw2-compress-2.s: Likewise. * gas/i386/x86-64-dw2-compress-2.d: Likewise. * gas/i386/x86-64-dw2-compress-2.s: Likewise. * lib/gas-defs.exp (run_dump_test): Support addr2line as dump program. (slurp_options): Allow numbers in options.
2010-07-14Use .2byte/.4byte instead of .short/.long.H.J. Lu2-27/+32
2010-07-14 Maciej W. Rozycki <macro@codesourcery.com> * gas/elf/dwarf2-3.s: Replace .short and .long directives in .debug_info section with .2byte and .4byte respectively.
2010-07-12Restore fall through patch for O_multiply.H.J. Lu2-0/+8
2010-07-12 H.J. Lu <hongjiu.lu@intel.com> PR gas/11806 * config/tc-i386-intel.c (i386_intel_simplify): Restore fall through patch for O_multiply.
2010-07-11Fix a typo.H.J. Lu1-1/+1
2010-07-112010-07-11 Kai Tietz <kai.tietz@onevision.com>Kai Tietz6-15/+28
PR ld/11612 * config/obj-coff.c (obj_common_parse): Quote symbol-name. 2010-07-11 Kai Tietz <kai.tietz@onevision.com> * gas/pe/aligncomm-b.d: Regenerated content dump. * gas/pe/aligncomm-d,d: Regenerated content dump. * gas/i386/i386.exp: Disable for mingw 64-bit the intel-got64 test.
2010-07-082010-07-08 Tejas Belagod <tejas.belagod@arm.com>Richard Earnshaw13-12/+413
gas/testsuite * gas/arm/barrier.s: New file. * gas/arm/barrier.d: New file. * gas/arm/barrier-thumb.s: New file. * gas/arm/barrier-thumb.d: New file. * gas/arm/barrier-bad.s: New file. * gas/arm/barrier-bad.d: New file. * gas/arm/barrier-bad.l: New file. * gas/arm/barrier-bad-thumb.s: New file. * gas/arm/barrier-bad-thumb.d: New file. * gas/arm/barrier-bad-thumb.l: New file. gas/config * tc-arm.c (OP_oBARRIER): Remove. (OP_oBARRIER_I15): Add. (po_barrier_or_imm): Add macro. (parse_operands): Improve OP_oBARRIER_I15 operand parsing. (do_barrier): Check correct immediate range. (do_t_barrier): Likewise. (barrier_opt_names): Add entries for more symbolic operands. (insns): Replace OP_oBARRIER with OP_oBARRIER_I15 for barriers. opcodes/ * arm-dis.c (print_insn_arm): Add cases for printing more symbolic operands. (print_insn_thumb32): Likewise.