aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
2003-07-17Update translationsNick Clifton4-3143/+4108
2003-07-16 * dwarf2dbg.c (get_frag_fix): Revert 2001-11-15 change.Alan Modra2-10/+12
(generic_dwarf2_emit_offset): Don't define function when TC__DWARF2_EMIT_OFFSET is defined.
2003-07-15 * doc/c-mips.texi: Document -march=rm9000.Richard Sandiford2-0/+2
2003-07-15include/opcode/Richard Sandiford6-1/+33
* mips.h (CPU_RM7000): New macro. (OPCODE_IS_MEMBER): Match CPU_RM7000 against 4650 insns. bfd/ * archures.c (bfd_mach_mips7000): New. * bfd-in2.h: Regenerated. * cpu-mips.c (arch_info_struct): Add an entry for mips:7000. * elfxx-mips.c (mips_set_isa_flags): Handle bfd_mach_mips7000. (mips_mach_extensions): Add an entry for it. opcodes/ * mips-dis.c (mips_arch_choices): Add rm7000 and rm9000 entries. gas/ * config/tc-mips.c (hilo_interlocks): True for CPU_RM7000. (mips_cpu_info_table): Add rm7000 and rm9000 entries. gas/testsuite/ * gas/mips/rm7000.[sd]: New test. * gas/mips/mips.exp: Run it.
2003-07-15 * config/tc-v850.c (md_assemble): When no reloc, create pcrel fixupsAlan Modra2-55/+59
only for V850_OPERAND_DISP operands.
2003-07-15 * frags.c (frag_more): Move segment checks to..Alan Modra2-15/+31
(frag_alloc_check): ..here. New function. (frag_append_1_char): Call frag_alloc_check.
2003-07-14Update Turkish translation files for bfd, gas and opcodesNick Clifton5-3219/+4182
2003-07-14Remove uses of ctype.hNick Clifton5-26/+33
2003-07-11Update pot files.Alan Modra2-1514/+1569
2003-07-10 * config/tc-ppc.h (DWARF2_LINE_MIN_INSN_LENGTH): Define always.Jakub Jelinek13-2/+395
(TARGET_USE_CFIPOP, tc_cfi_frame_initial_instructions, tc_regname_to_dw2regnum, DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT): Define. (ppc_cfi_frame_initial_instructions, tc_ppc_regname_to_dw2regnum): New prototypes. (ppc_cie_data_alignment): Declare. * config/tc-ppc.c: Include dw2gencfi.h. (ppc_cie_data_alignment): Define. (md_begin): Initialize ppc_cie_data_alignment. (ppc_cfi_frame_initial_instructions, tc_ppc_regname_to_dw2regnum): New functions. * config/tc-s390.h (DWARF2_LINE_MIN_INSN_LENGTH): Define always. (TARGET_USE_CFIPOP, tc_cfi_frame_initial_instructions, tc_regname_to_dw2regnum, DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT): Define. (s390_cfi_frame_initial_instructions, tc_s390_regname_to_dw2regnum): New prototypes. (s390_cie_data_alignment): Declare. * config/tc-s390.c: Include dw2gencfi.h. (s390_cie_data_alignment): Define. (md_begin): Initialize s390_cie_data_alignment. (s390_cfi_frame_initial_instructions, tc_s390_regname_to_dw2regnum): New functions. * gas/cfi/cfi-ppc-1.s: New test. * gas/cfi/cfi-ppc-1.d: New test. * gas/cfi/cfi-s390-1.s: New test. * gas/cfi/cfi-s390-1.s: New test. * gas/cfi/cfi-s390x-1.s: New test. * gas/cfi/cfi-s390x-1.s: New test. * gas/cfi/cfi.exp: Run them.
2003-07-102002-12-12 Alexandre Oliva <aoliva@redhat.com>Alexandre Oliva5-248/+320
* config/tc-mn10300.h (EXTERN_FORCE_RELOC): Don't define to zero. 2001-05-09 Alexandre Oliva <aoliva@redhat.com> * configure.in (am33_2.0, mn10300-*-linux*): Added. * configure: Rebuilt. * config/tc-mn10300.h (TARGET_FORMAT) [TE_LINUX]: Define to elf32-am33lin. * config/tc-mn10300.c (md_begin) [TE_LINUX]: Choose AM33/2.0 by default.
2003-07-102003-02-25 Alexandre Oliva <aoliva@redhat.com>Alexandre Oliva3-2/+309
* config/tc-mn10300.c (mn10300_check_fixup): Set GOT_PCREL type for subtracts from GLOBAL_OFFSET_TABLE that could not be simplified. 2002-07-18 Alexandre Oliva <aoliva@redhat.com> * config/tc-mn10300.c (mn10300_check_fixup): Accept subtracts that could not be simplified. (tc_gen_reloc): Turn an absolute fx_subsy into part of fx_offset. 2001-11-04 Alexandre Oliva <aoliva@redhat.com> * config/tc-mn10300.h (TC_RELOC_RTSYM_LOC_FIXUP): Don't adjust BDF_RELOC_MN10300_GOT32. * config/tc-mn10300.c (mn10300_fix_adjustable): If TC_RELOC_RTSYM_LOC_FIXUP doesn't hold, it's not adjustable. 2001-05-09 Alexandre Oliva <aoliva@redhat.com> * config/tc-mn10300.c (mn10300_parse_name): Don't return a symbol if we know its value. 2001-05-09 Alexandre Oliva <aoliva@redhat.com> * config/tc-mn10300.h (GLOBAL_OFFSET_TABLE_NAME): Remove duplicate underscore prefix. 2001-05-09 Alexandre Oliva <aoliva@redhat.com> * config/tc-mn10300.c (mn10300_parse_name): Store relocation type in X_md, not X_add_number. Zero X_add_number. (mn10300_check_fixup): Extract relocation type from X_md. * config/tc-mn10300.h: Update comment. 2001-04-14 Alexandre Oliva <aoliva@redhat.com> * config/tc-mn10300.h (O_GOTOFF, O_PLT, O_GOT): Replace with... (O_PIC_reloc): this. * config/tc-mn10300.c (mn10300_PIC_related_p): Use it. (mn10300_check_fixup): Likewise. (mn10300_parse_name): Set X_add_number to relocation type. * config/tc-mn10300.h (DIFF_EXPR_OK, GLOBAL_OFFSET_TABLE_NAME, TC_RELOC_RTSYM_LOC_FIXUP, md_parse_name, TC_CONS_FIX_NEW, O_GOTOFF, O_PLT, O_GOT): Define. * config/tc-mn10300.c (mn10300_PIC_related_p): New fn. (mn10300_check_fixup): New fn. (md_assemble): Call it. Check for PIC-related relocs. (mn10300_cons_fix_new): Likewise. New fn. (mn10300_end_of_match): New fn. (mn10300_md_parse_name_cont): New fn.
2003-07-102000-05-25 Alexandre Oliva <aoliva@cygnus.com>Alexandre Oliva2-1/+440
* config/tc-mn10300.c (mn10300_insert_operand): Negate negative accumulator's shift. 2000-05-08 Alexandre Oliva <aoliva@cygnus.com> * config/tc-mn10300.c (md_relax_table, md_convert_frag, md_assemble, md_estimate_size_before_relax): Handle fbCC. 2000-04-20 Alexandre Oliva <aoliva@cygnus.com> * config/tc-mn10300.c (HAVE_AM33): Redefine in terms of HAVE_AM33_2. 2000-04-03 Alexandre Oliva <aoliva@cygnus.com> * config/tc-mn10300.c (md_pseudo_table): Use AM33_2 constant. (HAVE_AM33): Match AM33_2 too. (HAVE_AM33_2): New macro. (md_assemble): Use it. Match 2.0 registers only if HAVE_AM33_2. 2000-04-01 Alexandre Oliva <aoliva@cygnus.com> * config/tc-mn10300.c (md_pseudo_table): Added `am33_2'. (float_registers, double_registers): New variables. (float_register_name, double_register_name): New functions. (md_assemble): Recognize FP registers. Implement FMT_D3. (mn10300_insert_operand): Support FP registers.
2003-07-102002-02-20 Alexandre Oliva <aoliva@redhat.com>Alexandre Oliva5-0/+3400
* gas/mn10300/am33-2.c (d8pcsec): PC-relative relocations within text sections don't decay to section+offset. * gas/mn10300/am33-2.d: Rebuilt. 2000-08-15 Eric Christopher <echristo@cygnus.com> * gas/mn10300/am33-2.c (d8pcsec): New Function (condjmp): Adjust testcase for TC_LINKRELAX_FIXUP functionality. * gas/mn10300/am33-2.d: Regenerate 2000-05-24 Alexandre Oliva <aoliva@cygnus.com> * gas/mn10300/am33-2.c (d8pcoff): Likewise. * gas/mn10300/am33-2.d: Rebuilt. 2000-04-01 Alexandre Oliva <aoliva@cygnus.com> * gas/mn10300/am33-2.c (main): Changed `.am332' to `.am33_2'. Replaced `AM33 2.0' with `AM33/2.0'. * gas/mn10300/am33-2.d, gas/mn10300/am33-2.s: Rebuilt. 2000-03-31 Alexandre Oliva <aoliva@cygnus.com> * gas/mn10300/am33-2.c: New file, that generated... * gas/mn10300/am33-2.s, gas/mn10300/am33-2.d: New files. * gas/mn10300/basic.exp: Test am33-2.
2003-07-09[ gas/ChangeLog ]Chris Demetriou7-9/+71
2003-07-08 Chris Demetriou <cgd@broadcom.com> * config/tc-mips.c (mips_validate_fix): Do not warn about branch target being a global symbol if not compiling SVR4 PIC code. [ gas/testsuite/ChangeLog ] 2003-07-08 Chris Demetriou <cgd@broadcom.com> * gas/testsuite/gas/mips/mips.exp: Make sure that branch-misc-2 is run to compile non-PIC code, and add branch-misc-2pic. * gas/mips/branch-misc-2.l: Adjust for change in non-PIC warnings. * gas/mips/branch-misc-2pic.l: New file. * gas/mips/branch-misc-2pic.s: New file.
2003-07-07Add documentation of M32R .high, .shigh and .low directives.Nick Clifton2-2/+89
2003-07-07 * config/tc-h8300.c (h8300sxnmode): Add prototype.Richard Sandiford5-177/+154
(DSYMMODE): Remove. (parse_exp): Replace expressionS argument with a h8_op. Parse the operand size as well. (skip_colonthing): Remove unused expression argument. Tighten checks for 2-digit sizes. (colonmod24): Remove. (get_mova_operands): Combine calls to parse_exp and skip_colonthing. (get_operand): Likewise. Use the standard code to read the size of pc-relative operands. (fix_operand_size): Include the size-guessing logic that used to be in colonmod24 and get_operand. Don't apply dd:2 optimizations to offsets with a symbolic component. testsuite/ * gas/h8300/h8sx_disp2.[sd]: Add tests for symbolic displacements.
2003-07-04 * gas/ppc/test2elf64.s: Rename to..Alan Modra4-32/+61
* gas/ppc/power4.s: ..this. Add mtcr and mfcr testcases. * gas/ppc/test2elf64.d: Rename to.. * gas/ppc/power4.d: ..this. Update. * gas/ppc/ppc.exp: Update.
2003-07-04* config/tc-i386.c (tc_x86_regname_to_dw2regnum): Use ARRAY_SIZENick Clifton2-2/+7
macro to compute size of selected register name array.
2003-07-02 * gas/mips/set-arch.d: Fix GPR names and show raw insns.Thiemo Seufer2-360/+364
2003-07-01 * config/tc-s390.c (md_parse_option): Add cpu type z990.Martin Schwidefsky2-15/+63
(md_begin): Add minimal cpu type logic for instructions with different binary format depending on the cpu. (md_assemble): Remove check for minimal cpu. (s390_insert_operand): Add support for long displacements. (md_gather_operands): Likewise. (tc_s390_fix_adjustable): Likewise. (tc_s390_force_relocation): Likewise. (md_apply_fix3): Likewise.
2003-06-302003-06-30 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-44/+27
* config/tc-mips.c (s_mipsset): Implement -march= handling differently.
2003-06-30 * config/tc-mips.c: Convert to ISO C90 prototypes. Remove unnecessaryThiemo Seufer3-1494/+1019
prototypes and casts. Replace PTR with void *. Reformat. * config/tc-mips.h: Likewise.
2003-06-30 * config/tc-ia64.c (note_register_values): Warning fix.Alan Modra3-2/+8
* config/tc-mips.c (append_insn): Likewise.
2003-06-29 * ld-mips-elf/elf-rel-got-n64-linux.d: New file.Thiemo Seufer6-69/+1000
* ld-mips-elf/elf-rel-xgot-n64-linux.d: New file. * ld-mips-elf/mips-elf.exp: Use the new files for Linux.
2003-06-262003-06-26 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+6
* config/tc-i386.c (md_assemble): Declare "exp" before "if".
2003-06-25include/opcode/Richard Sandiford5-0/+36
* h8300.h (IMM2_NS, IMM8_NS, IMM16_NS): Remove. (IMM8U, IMM8U_NS): Define. (h8_opcodes): Use IMM8U_NS for mov.[wl] #xx:8,@yy. gas/ * config/tc-h8300.c (get_specific): Allow ':8' to be used for unsigned 8-bit operands. gas/testsuite/ * gas/h8300/h8sx_mov_imm.[sd]: Add tests for mov.[wl] #xx:8,@yy.
2003-06-25Correct spelling of "relocatable".Alan Modra2-3/+3
2003-06-24 * gas/h8300/h8300.exp (h8sx_disp2, h8sx_rtsl, h8sx_mov_imm): Move...Richard Sandiford3-4/+9
* gas/h8300/h8300-elf.exp: ...here.
2003-06-24Update .comm error messages to assume an unsigned value.Nick Clifton7-15/+28
Update relaxing code to work in 64-bit address spaces.
2003-06-24 * config/tc-ppc.c (ppc_cleanup): Use bytes to count APUinfo slots.Mark Mitchell2-1/+5
2003-06-23gas/H.J. Lu7-1/+104
2003-06-23 H.J. Lu <hongjiu.lu@intel.com> * gas/config/tc-i386.c (md_assemble): Support Intel Precott New Instructions. * gas/config/tc-i386.h (CpuPNI): New. (CpuUnknownFlags): Add CpuPNI. gas/testsuite/ 2003-06-23 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/i386.exp: Add prescott. * gas/i386/prescott.d: New file. * gas/i386/prescott.s: Likewise. include/opcode/ 2003-06-23 H.J. Lu <hongjiu.lu@intel.com> * i386.h (i386_optab): Support Intel Precott New Instructions. opcodes/ 2003-06-23 H.J. Lu <hongjiu.lu@intel.com> * i386-dis.c (PNI_Fixup): New. Fix up "mwait" and "monitor" in Intel Precott New Instructions. (PREGRP27): New. Added for "addsubpd" and "addsubps". (PREGRP28): New. Added for "haddpd" and "haddps". (PREGRP29): New. Added for "hsubpd" and "hsubps". (PREGRP30): New. Added for "movsldup" and "movddup". (PREGRP31): New. Added for "movshdup" and "movhpd". (PREGRP32): New. Added for "lddqu". (dis386_twobyte): Use PREGRP30 to replace the "movlpX" entry. Use PREGRP31 to replace the "movhpX" entry. Use PREGRP28 for entry 0x7c. Use PREGRP29 for entry 0x7d. Use PREGRP27 for entry 0xd0. Use PREGRP32 for entry 0xf0. (twobyte_has_modrm): Updated. (twobyte_uses_SSE_prefix): Likewise. (grps): Use PNI_Fixup in the "sidtQ" entry. (prefix_user_table): Add PREGRP27, PREGRP28, PREGRP29, PREGRP30, PREGRP31 and PREGRP32. (float_mem): Use "fisttp{l||l|}" in entry 1 in opcode 0xdb. Use "fisttpll" in entry 1 in opcode 0xdd. Use "fisttp" in entry 1 in opcode 0xdf.
2003-06-23Patch from David Mosberger.Jim Wilson2-3/+12
* config/tc-ia64.c (pseudo_func): Add ABI constants for linux, freebsd, openvms, and nsk (non-stop kernel).
2003-06-23* config/tc-ns32k.c (md_begin): Initialize inst_hash_table afterJason Thorpe2-1/+7
all locals have been declared.
2003-06-21 * config/tc-mips.c (ADDRESS_ADD_INSN,ADDRESS_ADDI_INSN): RemoveThiemo Seufer6-219/+228
special handling for n32 ABI. (macro): Likewise. * gas/mips/elf-rel-got-n32.d: Remove special handling for n32 ABI. * gas/mips/elf-rel-xgot-n32.d: Likewise. * gas/mips/jal-newabi.d: Likewise. * ld-mips-elf/elf-rel-got-n32.d: Remove special handling for n32 ABI. * ld-mips-elf/elf-rel-xgot-n32.d: Likewise.
2003-06-21 * gas/z8k: New directory.Christian Groessler18-0/+1332
* gas/z8k/dec.s: New file. * gas/z8k/decbf.s: New file. * gas/z8k/decf.s: New file. * gas/z8k/eidi.s: New file. * gas/z8k/eidif.s: New file. * gas/z8k/inc.s: New file. * gas/z8k/incbf.s: New file. * gas/z8k/incf.s: New file. * gas/z8k/inout.d: New file. * gas/z8k/inout.s: New file. * gas/z8k/jr-back.s: New file. * gas/z8k/jr-backf.s: New file. * gas/z8k/jr-forw.s: New file. * gas/z8k/jr-forwf.s: New file. * gas/z8k/ldk.s: New file. * gas/z8k/ldkf.s: New file. * gas/z8k/z8k.exp: New file.
2003-06-19Revert 2003-06-11 change.Thiemo Seufer2-3/+8
2003-06-19 * config/tc-z8k.c (parse_reg): Invalid registers generate an errorChristian Groessler2-14/+42
now, not only a warning. Add some more checks to detect invalid registers. (get_operand): For CLASS_IR remember register size in mode struct. (get_specific): Handle new CLASS_IRO type. Add register size checks for CLASS_IR and CLASS_IRO. (md_apply_fix3): Fix undefined usage of buf.
2003-06-18 * config/tc-ppc.c (ppc_csect): Pass alignment to ppc_change_csect.Alan Modra2-16/+37
(ppc_change_csect): Add align param. Align frag at start of csect. (ppc_section, ppc_named_section): Adjust ppc_change_csect calls. (ppc_frob_section): Align vma.
2003-06-18 * dw2gencfi.c (EH_FRAME_ALIGNMENT): Define if not defined.Jakub Jelinek11-87/+93
(output_cie): Don't pad. (output_fde): Add align argument. Pad to align if not 0. (cfi_finish): Set .eh_frame alignment to EH_FRAME_ALIGNMENT. Pad just last FDE to EH_FRAME_ALIGNMENT. * gas/cfi/cfi-i386.d: Regenerated. * gas/cfi/cfi-common-1.d: Regenerated. * gas/cfi/cfi-common-2.d: Regenerated. * gas/cfi/cfi-common-3.d: Regenerated. * gas/cfi/cfi-x86_64.d: Regenerated. * gas/cfi/cfi-alpha-1.d: Regenerated. * gas/cfi/cfi-alpha-2.d: Regenerated. * gas/cfi/cfi-alpha-3.d: Regenerated.
2003-06-18 * config/tc-s390.c (init_default_arch): Make current_mode_maskMartin Schwidefsky2-8/+21
dependent on s390_arch_size and current_cpu dependent on current_mode_mask.
2003-06-18Add c4x as an architecture variant to tic4x.Nick Clifton5-235/+255
2003-06-18 * config/tc-ppc.c (ppc_elf_suffix): Don't remove symbols other thanAlan Modra2-4/+9
".TOC." from PPC64_TOC relocs.
2003-06-17Tweak expected results for i386-pc-cygwin target.Nick Clifton3-4/+10
2003-06-17Allow system-specific gunk after canonical file format.Nick Clifton8-7/+18
2003-06-17 * config/tc-ppc.c (md_apply_fix3): Allow BRTAKEN, BRNTAKEN relocs.Alan Modra2-0/+10
2003-06-16 * config/tc-mips.c (ADDRESS_ADD_INSN,ADDRESS_ADDI_INSN,Thiemo Seufer2-255/+175
ADDRESS_LOAD_INSN,ADDRESS_STORE_INSN): New macros. (macro_build_ldst_constoffset,load_address,macro,s_cpsetup, s_cprestore,s_cpadd): Use them.
2003-06-16 * configure.in: Add specific case for cris-*-linux-gnu* withHans-Peter Nilsson5-243/+259
em=linux. * configure: Regenerate. * config/tc-cris.c (DEFAULT_CRIS_AXIS_LINUX_GNU): New macro, TRUE if TE_LINUX defined, else FALSE. (bfd_boolean demand_register_prefix): Set default from DEFAULT_CRIS_AXIS_LINUX_GNU. (symbols_have_leading_underscore): Similar. * config/tc-cris.h (LOCAL_LABELS_DOLLAR): Define to 1.
2003-06-15 * gas/cris: Match output having $ register prefix. Deal withHans-Peter Nilsson72-3683/+3709
target variants default requiring register prefix on input.
2003-06-13* gas/arm/arm.exp: Pass -mfpu=fpa option to the FPA instruction test.Richard Earnshaw2-1/+5