aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
2006-12-08 * gas/z8k/reglabel.d: New test.Christian Groessler4-0/+377
* gas/z8k/reglabel.s: New test. * gas/z8k/z8k.exp: Run new test.
2006-12-07bfd/Kazu Hirata2-8/+12
* elf32-m68k.c: Update uses of EF_M68K_*. binutils/ * readelf.c: Update uses of EF_M68K_*. gas/ * config/tc-m68k.c: Update uses of EF_M68K_*. include/elf * m68k.h (EF_M68K_ISA_MASK, EF_M68K_ISA_A_NODIV, EF_M68K_ISA_A, EF_M68K_ISA_A_PLUS, EF_M68K_ISA_B_NOUSP, EF_M68K_ISA_B, EF_M68K_ISA_C, EF_M68K_MAC_MASK, EF_M68K_MAC, EF_M68K_EMAC, EF_M68K_EMAC_B, EF_M68K_FLOAT): Rename to EF_M68K_CF_ISA_MASK, EF_M68K_CF_ISA_A_NODIV, EF_M68K_CF_ISA_A, EF_M68K_CF_ISA_A_PLUS, EF_M68K_CF_ISA_B_NOUSP, EF_M68K_CF_ISA_B, EF_M68K_CF_ISA_C, EF_M68K_CF_MAC_MASK, EF_M68K_CF_MAC, EF_M68K_CF_EMAC, EF_M68K_CF_EMAC_B, EF_M68K_CF_FLOAT, respectively.
2006-12-06gas/H.J. Lu13-82/+102
2006-12-06 H.J. Lu <hjl@gnu.org> * config/tc-i386.h: Change the prefix order to SEG_PREFIX, ADDR_PREFIX, DATA_PREFIX, LOCKREP_PREFIX. gas/testsuite/ 2006-12-06 H.J. Lu <hjl@gnu.org> * gas/i386/amdfam10.d: Updated for operand/address-size override prefix position change. * gas/i386/naked.d: Likewise. * gas/i386/rep-suffix.d: Likewise. * gas/i386/rep.d: Likewise. * gas/i386/white.l: Likewise. * gas/i386/x86-64-amdfam10.d: Likewise. * gas/i386/x86-64-rep-suffix.d: Likewise. * gas/i386/x86-64-rep.d: Likewise. * gas/i386/x86_64.d: Likewise.
2006-12-04opcodes/Jan Beulich2-97/+98
2006-12-04 Jan Beulich <jbeulich@novell.com> * i386-dis.c (OP_J): Update used_prefixes in v_mode. gas/testsuite/ 2006-12-04 Jan Beulich <jbeulich@novell.com> * gas/i386/opcode-intel.d: Fix wrong expectation. Make white space expectations more consistent.
2006-12-02Really check in the patch.H.J. Lu1-0/+1
2006-12-02 PR gas/3607Jakub Jelinek1-0/+5
* subsegs.c (subseg_set_rest): Clear frch_cfi_data field.
2006-12-01gas/testsuite/Jan Beulich5-1/+1209
2006-12-01 Jan Beulich <jbeulich@novell.com> * gas/i386/opcode.d: Adjust name. * gas/i386/opcode-intel.d: New. * gas/i386/opcode-suffix.d: New. * gas/i386/i386.exp: Run new tests.
2006-12-012006-12-01 Paul Brook <paul@codesourcery.com>Paul Brook5-0/+41
gas/ * config/tc-arm.c (arm_force_relocation): Return 1 for relocs against function symbols. gas/testsuite/ * gas/arm/thumbrel.s: New test. * gas/arm/thumbrel.d: New test.
2006-12-01opcodes/Jan Beulich4-6/+12
2006-11-30 Jan Beulich <jbeulich@novell.com> * i386-dis.c (SEG_Fixup): Delete. (Sv): Use OP_SEG. (putop): New suffix character 'D'. (dis386): Use it. (grps): Likewise. (OP_SEG): Handle bytemode other than w_mode. gas/testsuite/ 2006-11-30 Jan Beulich <jbeulich@novell.com> * gas/i386/intel.d: Adjust. * gas/i386/naked.d: Adjust. * gas/i386/opcode.d: Adjust.
2006-12-01opcodes/Jan Beulich6-0/+109
2006-11-30 Jan Beulich <jbeulich@novell.com> * i386-dis.c (zAX): New. (Xz): New. (Yzr): New. (z_mode): New. (z_mode_ax_reg): New. (putop): New suffix character 'G'. (dis386): Use it for in, out, ins, and outs. (intel_operand_size): Handle z_mode. (OP_REG): Delete unreachable case indir_dx_reg. (OP_IMREG): Fix Intel syntax output for case indir_dx_reg. Handle z_mode_ax_reg. (OP_ESreg): Fix Intel syntax operand size handling. (OP_DSreg): Likewise. gas/testsuite/ 2006-11-30 Jan Beulich <jbeulich@novell.com> * gas/i386/x86-64-io.[sd]: New. * gas/i386/x86-64-io-intel.d: New. * gas/i386/x86-64-io-suffix.d: New. * gas/i386/i386.exp: Run new tests.
2006-12-01opcodes/Jan Beulich6-2/+80
2006-11-30 Jan Beulich <jbeulich@novell.com> * i386-dis.c (dis386): Use 'R' and 'O' for cbw/cwd unconditionally. (putop): For 'O' suffix, print 'q' in Intel mode, and mark data prefix used. For 'R' and 'W' suffix, simplify and fix Intel mode. gas/testsuite/ 2006-11-30 Jan Beulich <jbeulich@novell.com> * gas/i386/intel.s: Use Intel syntax in Intel syntax test. * gas/i386/x86-64-cbw.[sd]: New. * gas/i386/x86-64-cbw-intel.d: New. * gas/i386/i386.exp: Run new tests.
2006-11-292006-11-29 Paul Brook <paul@codesourcery.com>Paul Brook4-0/+29
gas/ * config/tc-arm.c (arm_is_eabi): New function. * config/tc-arm.h (arm_is_eabi): New prototype. (THUMB_IS_FUNC): Use ELF function type for EABI objects. * doc/c-arm.texi (.thumb_func): Update documentation.
2006-11-292006-11-29 Paul Brook <paul@codesourcery.com>Paul Brook7-22/+34
gas/ * config/tc-arm.c (do_vfp_sp_const, do_vfp_dp_const): Fix operans encoding. gas/testsuite/ * gas/arm/vfpv3-const-conv.s: Improve test coverage. * gas/arm/vfpv3-const-conv.d: Adjust expected output. * gas/arm/vfp-neon-syntax_t2.d: Ditto. * gas/arm/vfp-neon-syntax.d: Ditto. opcodes/ * arm-dis.c (coprocessor_opcodes): Fix bitfields for fconstd/fconstd.
2006-11-27 * config/tc-xtensa.c (xtensa_sanity_check): Check for RELAX_IMMEDBob Wilson2-2/+7
as the first slot_subtype, not the frag subtype.
2006-11-27bfd/Bob Wilson5-1/+82
* elf32-xtensa.c (elf_xtensa_special_sections): Add .xtensa.info. gas/ * config/tc-xtensa.c (XSHAL_ABI): Add default definition. (directive_state): Disable scheduling by default. (xtensa_add_config_info): New. (xtensa_end): Call xtensa_add_config_info. gas/testsuite/ * gas/elf/section2.e-xtensa: New file. * gas/elf/elf.exp: Use it. include/ * xtensa-config.h (XSHAL_ABI): New. (XTHAL_ABI_WINDOWED, XTHAL_ABI_CALL0): New. ld/ * emultempl/xtensaelf.em (XSHAL_ABI): Add default definition. (replace_insn_sec_with_prop_sec): Use bfd_make_section_with_flags. Delete redundant code to set sections flags and alignment. (xt_config_info_unpack_and_check, check_xtensa_info): New. (elf_xtensa_after_open): Iterate over input statements instead of link_info.input_bfds. (elf_xtensa_before_allocation): Likewise. Call check_xtensa_info for each input, and write a new .xtensa.info section in the output.
2006-11-27 * config/tc-sparc.c (tc_gen_reloc): Turn aligned relocs intoEric Botcazou2-1/+16
their unaligned counterparts in debugging sections.
2006-11-24 * config/tc-spu.c (md_pseudo_table): Add eqv and .eqv.Alan Modra2-0/+7
2006-11-22opcodes/Daniel Jacobowitz13-14/+112
* arm-dis.c (last_is_thumb): Delete. (enum map_type, last_type): New. (print_insn_data): New. (get_sym_code_type): Take MAP_TYPE argument. Check the type of the right symbol. Handle $d. (print_insn): Check for mapping symbols even without a normal symbol. Adjust searching. If $d is found see how much data to print. Handle data. gas/ * config/tc-arm.h (md_cons_align): Define. (mapping_state): New prototype. * config/tc-arm.c (mapping_state): Make global. gas/testsuite/ * gas/arm/arm7t.d, gas/arm/neon-ldst-rm.d, gas/arm/thumb2_pool.d, gas/arm/tls.d: Update for $d support. * gas/arm/mapshort.d, gas/arm/mapshort.s: New test. * gas/elf/section2.e-armeabi: Update. * gas/elf/section2.e-armelf: New file. * gas/elf/elf.exp: Use it. ld/testsuite/ * ld-arm/mixed-app.d, ld-arm/tls-app.d, ld-arm/tls-lib.d: Update for $d support.
2006-11-22 * config/obj-elf.c (obj_elf_version): Use memcpy rather than strcpy.Alan Modra2-6/+10
2006-11-202006-11-16 Mei ligang <ligang@sunnorth.com.cn>Mei Ligang1-0/+6
* config/tc-score.c (score_relax_frag): If next frag contains 32 bit branch instruction, handle it specially. (score_insns): Modify 32 bit branch instruction.
2006-11-16gas/Nathan Sidwell5-17/+49
* config/tc-m68k.c (m68k_ip): Correct output of cpu aliases. gas/testsuite/ * gas/m68k/all.exp: Add mcf-trap. * gas/m68k/mcf-trap.[sd]: New. opcodes/ * m68k-opc.c (m68k_opcodes): Place trap instructions before set conditionals. Add tpf coldfire instruction as alias for trapf.
2006-11-16 * config/tc-score.c (score_relax_frag): If next frag contains 32 bit branchMei Ligang1-25/+23
instruction, handle it specially. (score_insns): Modify 32 bit branch instruction.
2006-11-15 * symbols.c (resolve_symbol_value): Formatting.Alan Modra2-3/+7
2006-11-15gas/Jan Beulich7-3/+62
2006-11-15 Jan Beulich <jbeulich@novell.com> PR/3469 * symbols.c (symbol_clone): Mark symbol ending up not on symbol chain by linking it to itself. (resolve_symbol_value): Also check symbol_shadow_p(). (symbol_shadow_p): New. * symbols.h (symbol_shadow_p): Declare. gas/testsuite/ 2006-11-15 Jan Beulich <jbeulich@novell.com> * gas/elf/equ-reloc.[sd]: New. * gas/elf/elf.exp: Run new test.
2006-11-14 gas/Mark Shinwell2-5/+11
* config/tc-arm.c (do_t_czb): Rename to do_t_cbz. (insns): Adjust accordingly. (md_apply_fix): Alter comments to use CBZ instead of CZB.
2006-11-102006-11-10 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-2/+8
* gas/i386/merom.d: Use "#pass" instead of "#..." to skip the rest of output. * gas/i386/x86-64-merom.d: Likewise.
2006-11-10 * gas/cfi/cfi.exp: Don't run cfi-common-6 for mips*-*.Thiemo Seufer2-1/+9
2006-11-10* config/tc-arm.c (arm_fix_adjustable) [OBJ_COFF]: Delete.Nick Clifton9-30/+56
(arm_fix_adjustable) [OBJ_ELF]: Use it on coff targets too. * gas/arm/local_label_coff.s: New test. * gas/arm/local_label_coff.d: New test. * gas/arm/local_label_elf.s: New test. * gas/arm/local_label_elf.d: New test. * gas/arm/local_label_wince.s: New test. * gas/arm/local_label_wince.d: New test.
2006-11-10PR gas/3456:Nick Clifton2-12/+18
* config/obj-elf.c (obj_elf_version): Do not include the name field's padding in the namesz value.
2006-11-10 * pe-arm-wince.c (LOCAL_LABEL_PREFIX): Define as ".".Nick Clifton3-4/+11
* pei-arm-wince.c (LOCAL_LABEL_PREFIX): Likewise. * coff-arm.c (LOCAL_LABEL_PREFIX): Only define if not defined before. * gas/arm/undefined.d: Run test on Windows CE. * gas/arm/undefined_coff.d: Don't run test on Windows CE.
2006-11-092006-11-09 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-2/+7
* gas/i386/sse2.s: Test movdqa with memory destination. * gas/i386/sse2.d: Updated.
2006-11-092006-11-09 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-2/+7
* gas/i386/sse2.s: Test movdqu with memory destination. * gas/i386/sse2.d: Updated.
2006-11-09 * config/tc-mips.c: Fix outdated comment.Thiemo Seufer2-2/+5
2006-11-08gas/H.J. Lu3-4/+9
2006-11-08 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.h (CpuPNI): Removed. (CpuUnknownFlags): Replace CpuPNI with CpuSSE3. * config/tc-i386.c (md_assemble): Likewise. include/opcode/ 2006-11-08 H.J. Lu <hongjiu.lu@intel.com> * i386.h (i386_optab): Replace CpuPNI with CpuSSE3.
2006-11-08 * symbols.c (symbol_create, symbol_clone): Don't set udata.p.Alan Modra2-2/+4
2006-11-07gas:David Daney6-0/+98
* config/tc-mips.c (pic_need_relax): Return true for section symbols. gas/testsuite: * gas/mips/elf-rel26.s: New test. * gas/mips/elf-rel26.d: Ditto. * gas/mips/mips.exp: Run it.
2006-11-06 * doc/c-mips.texi (-march): Document sb1a.Thiemo Seufer2-1/+6
2006-11-06 * config/tc-mips.c (mips_cpu_info_table): Remove 24k/24ke aliases.Thiemo Seufer2-6/+12
34k always has DSP ASE.
2006-11-03Fix typo in comment.Thiemo Seufer1-1/+1
2006-11-03 * config/tc-mips.c (md_pcrel_from_section): Disallow PC relativeThiemo Seufer2-0/+10
MIPS16 instructions referencing other sections, unless they are external branches.
2006-11-03 * config/tc-mips.c (mips_cpu_info_table): The 25Kf is a MIPS64Thiemo Seufer2-1/+6
release 1 CPU.
2006-11-03 * dw2gencfi.c (struct fde_entry): Add per_encoding, lsda_encoding,Jakub Jelinek7-10/+412
personality and lsda. (struct cie_entry): Add per_encoding, lsda_encoding and personality. (alloc_fde_entry): Initialize per_encoding and lsda_encoding. (cfi_pseudo_table): Handle .cfi_personality and .cfi_lsda. (dot_cfi_personality, dot_cfi_lsda, encoding_size): New functions. (output_cie): Output personality including its encoding and LSDA encoding. (output_fde): Output LSDA. (select_cie_for_fde): Don't share CIE if personality, its encoding or LSDA encoding are different. Copy the 3 fields from fde_entry to cie_entry. * doc/as.texinfo (.cfi_personality, .cfi_lsda): Document. * gas/cfi/cfi-common-6.d: New test. * gas/cfi/cfi-common-6.s: New. * gas/cfi/cfi.exp: Add cfi-common-6 test.
2006-11-03 * subsegs.h (struct frchain): Add frch_cfi_data field.Jakub Jelinek7-39/+123
* dw2gencfi.c: Include subsegs.h. (cur_fde_data, last_address, cur_cfa_offset, cfa_save_stack): Removed. (struct frch_cfi_data): New type. (unused_cfi_data): New variable. (alloc_fde_entry): Move cur_fde_data, last_address, cur_cfa_offset and cfa_save_stack static vars into a structure pointed from each frchain. (alloc_cfi_insn_data, cfi_new_fde, cfi_end_fde, cfi_set_return_column, cfi_add_advance_loc, cfi_add_CFA_def_cfa, cfi_add_CFA_def_cfa_offset, cfi_add_CFA_remember_state, cfi_add_CFA_restore_state, dot_cfi, dot_cfi_escape, dot_cfi_startproc, dot_cfi_endproc, cfi_finish): Likewise. * gas/cfi/cfi-common-5.d: New test. * gas/cfi/cfi-common-5.s: New. * gas/cfi/cfi.exp: Add cfi-common-5 test.
2006-11-02 * config/tc-h8300.c (build_bytes): Fix const warning.Daniel Jacobowitz2-1/+5
2006-11-02 [ bfd/ChangeLog ]Thiemo Seufer4-0/+2802
* elf-bfd.h (local_call_stubs): New member. * elfxx-mips.c (FN_STUB_P, CALL_STUB_P, CALL_FP_STUB_P): New macros. (mips_elf_calculate_relocation): Handle local mips16 call stubs. (mips16_stub_section_p): Rename from mips_elf_stub_section_p, use the new stub macros. (_bfd_mips_elf_check_relocs): Handle call stubs for code which mixes mips16 and mips32 functions. Use mips16_stub_section_p. Mark used stubs with SEC_KEEP. Use the new stub macros. [ gas/testsuite/ChangeLog ] * gas/mips/mips16-intermix.d, gas/mips/mips16-intermix.s: New testcase. * gas/mips/mips.exp: Run new testcase. [ ld/testsuite/ChangeLog ] * ld-mips-elf/mips16-intermix-1.s, ld-mips-elf/mips16-intermix-2.s, ld-mips-elf/mips16-intermix.d: New testcase. * ld-mips-elf/mips-elf.exp (mips16_intermix_test): Run new testcases.
2006-11-01* tc-score.c (do16_rdrs): Handle not! instruction especially.Nick Clifton5-16/+30
* score-opc.h (score_opcodes): Delete modifier '0x'. * gas/score/rD_rA.d: Correct not! and not.c instruction disassembly. * gas/score/b.d: Correct b! and b instruction disassembly.
2006-10-312006-10-31 Paul Brook <paul@codesourcery.com>Paul Brook2-1/+6
gas/ * config/tc-arm.c (arm_adjust_symtab): Don't use STT_ARM_16BIT for EABIv4.
2006-10-312006-10-31 Paul Brook <paul@codesourcery.com>Paul Brook3-1/+56
gas/ * config/tc-arm.c (object_arch): New variable. (s_arm_object_arch): New function. (md_pseudo_table): Add object_arch. (aeabi_set_public_attributes): Obey object_arch. * doc/c-arm.texi: Document .object_arch.
2006-10-31* tc-score.c (data_op2): Check invalid operands.Nick Clifton2-13/+55
(my_get_expression): Const operand of some instructions can not be symbol in assembly. (get_insn_class_from_type): Handle instruction type Insn_internal. (do_macro_ldst_label): Modify inst.type. (Insn_PIC): Delete. * score-inst.h (enum score_insn_type): Add Insn_internal. * tc-score.c (data_op2): The immediate value in lw is 15 bit signed. * score-dis.c (print_insn): Correct the error code to print correct PCE instruction disassembly.
2006-10-302006-10-29 Randolph Chung <tausq@debian.org>Randolph Chung4-0/+112
* gas/cfi/cfi.exp [hppa*-linux*]: Run hppa CFI test. * gas/cfi/cfi-hppa-1.s: New file. * gas/cfi/cfi-hppa-1.h: New file.