aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
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.
2006-10-302006-10-29 Randolph Chung <tausq@debian.org>Randolph Chung3-0/+73
* config/tc-hppa.c (hppa_cfi_frame_initial_instructions) (hppa_regname_to_dw2regnum): New funcions. * config/tc-hppa.h [OBJ_ELF] (TARGET_USE_CFIPOP): Define. (tc_cfi_frame_initial_instructions) (tc_regname_to_dw2regnum): Define. (hppa_cfi_frame_initial_instructions) (hppa_regname_to_dw2regnum): Declare. (DWARF2_LINE_MIN_INSN_LENGTH, DWARF2_DEFAULT_RETURN_COLUMN) (DWARF2_CIE_DATA_ALIGNMENT): Define.
2006-10-29* config/tc-spu.c (md_assemble): Cast printf string size parameterNick Clifton2-1/+6
to int in order to avoid a compiler warning.
2006-10-272006-10-27 Andrew Stubbs <andrew.stubbs@st.com>Andrew Stubbs2-0/+7
* config/tc-sh.c (md_assemble): Define size of branches.
2006-10-26 * write.c (chain_frchains_together_1): Assert that this functionBen Elliston2-0/+4
never returns a pointer to the auto variable `dummy'.
2006-10-26 * dw2gencfi.c (cfi_add_CFA_offset):Ben Elliston2-0/+6
Assert DWARF2_CIE_DATA_ALIGNMENT is non-zero.
2006-10-25New Cell SPU port.Alan Modra7-310/+1577
2006-10-24 * expr.c (expr): Replace O_add case in switch (op_left) explainingBen Elliston2-1/+8
why it can never occur.
2006-10-24Add powerpc cell support.Alan Modra7-0/+78
2006-10-23Fix AMDFAM10 POPCNT instructionMichael Meissner5-26/+36
2006-10-23wrap overlong linesAlan Modra1-27/+30
2006-10-23 * config/tc-m68hc11.c (md_assemble): Quiet warning.Alan Modra2-2/+6
2006-10-22 * gas/sh/sh64/syntax-1.d: Update.Kaz Kojima2-2/+6
* ld-sh/sh64/abi32.xd, ld-sh/sh64/abi64.xd, ld-sh/sh64/cmpct1.xd, * ld-sh/sh64/crange1.rd, ld-sh/sh64/crange2.rd, * ld-sh/sh64/crange3-cmpct.rd, ld-sh/sh64/crange3-media.rd, * ld-sh/sh64/crange3.rd, ld-sh/sh64/crangerel1.rd, * ld-sh/sh64/crangerel2.rd, ld-sh/sh64/mix1.xd, * ld-sh/sh64/mix2.xd, ld-sh/sh64/rel32.xd, ld-sh/sh64/rel64.xd, * ld-sh/sh64/reldl32.rd, ld-sh/sh64/reldl64.rd, * ld-sh/sh64/shdl32.xd, ld-sh/sh64/shdl64.xd: Update.
2006-10-202006-10-20 Andrew Stubbs <andrew.stubbs@st.com>Andrew Stubbs9-30/+41
opcodes/ * sh-dis.c (print_insn_sh): Remove 0x from output to prevent GDB duplicating it. gas/testsuite/ * gas/sh/pcrel-coff.d: Update patterns (remove 0x on addresses). * gas/sh/pcrel-hms.d: Likewise. * gas/sh/pcrel.d: Likewise. * gas/sh/pcrel2.d: Likewise. * gas/sh/pic.d: Likewise. * gas/sh/tlsd.d: Likewise. * gas/sh/tlsdnopic.d: Likewise. * gas/sh/tlsdpic.d: Likewise.
2006-10-20* config/tc-i386.c (md_parse_option): Use CONST_STRNEQ.Mike Frysinger2-2/+7
(x86_64_section_letter): Likewise.
2006-10-19Fix score bugsNick Clifton3-20/+21