aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
2004-04-02[gas]Kaz Kojima7-1/+53
2004-04-01 Asgari Jinia <asgarij@kpitcummins.com> Dhananjay Deshpande <dhananjayd@kpitcummins.com> * config/tc-sh.c (dont_adjust_reloc_32): New variable. (sh_fix_adjustable): Avoid adjusting BFD_RELOC_32 when dont_adjust_reloc_32 is set. (md_longopts): Add option -renesas. (md_parse_option, md_show_usage): Likewise. * doc/c-sh.texi: Likewise. [gas/testsuite] 2004-04-01 Asgari Jinia <asgarij@kpitcummins.com> * gas/sh/renesas-1.s, gas/sh/renesas-1.d: New test for -renesas option. * gas/sh/basic.exp: Run the new test.
2004-04-01Correctly emit lo16 relocs for elf-dlx target, fixing bogus range checking bug.Nick Clifton8-6/+70
2004-03-30 Remove long-obsolete MPW support.Stan Shebs8-256/+14
* mpw-config.in, mpw-make.sed, mac-as.r: Remove files. * configure.in: Remove mention of ppc-*-mpw* config. * configure.in: Likewise. [testsuite/ChangeLog] * gas/macros/macros.exp: Remove mention of MPW config.
2004-03-30make use of meabi_flags be ELF specificNick Clifton2-10/+30
2004-03-27 * config/obj-aout.c (obj_aout_type): Remove #ifdef BFD_ASSEMBLER code.Alan Modra2-11/+7
2004-03-27 * gas/i860/dir-intel03-err.l: Update for junk at end line becomingAlan Modra3-2/+8
an error. * gas/m68hc11/m68hc11.exp: Likewise.
2004-03-23 * bfd/elf32-arm.h (arm_print_private_bfd_data): Add EABI v3.Paul Brook4-26/+92
* binutils/readelf.c (decode_ARM_machine_flags): Add EABI v3. * gas/config/tc-arm.c (meabi_flags): New variable. (arm_parse_eabi): New function. (md_begin): Set flags for EABI v3. (arm_eabis): Add. (arm_long_opts): Add meabi. * include/elf/arm.h (EF_ERM_BE8, EF_ARM_LE8, EF_ARM_EABI_VER3): Add. * doc/as.texinf <ARM>: Document -meabi. * doc/c-arm.texi: Ditto.
2004-03-23bfd/ChangeLog:Bob Wilson2-4/+8
* elf32-xtensa.c (elf_xtensa_check_relocs): Remove code to read literal tables and check for relocs outside of literal pools. (elf_xtensa_make_sym_local): Don't clear ELF_LINK_NON_GOT_REF flag. (elf_xtensa_fix_refcounts): Don't check ELF_LINK_NON_GOT_REF or set DF_TEXTREL. (elf_xtensa_size_dynamic_sections): Don't add DT_TEXTREL entry. (elf_xtensa_relocate_section): Read literal tables and check for dynamic relocations in read-only sections and not in literal pools. gas/ChangeLog: * config/tc-xtensa.c (xtensa_post_relax_hook): Create literal tables even when use_literal_section flag is not set.
2004-03-22 * gas/cfi/cfi-m68k.d: Adjust offsets.Andreas Schwab2-8/+17
2004-03-22 * config/tc-sh.c: Remove trailing whitespace.Alan Modra2-16/+20
2004-03-21 * doc/c-cris.texi (CRIS-Opts): Document --no-mul-bug-abort,Hans-Peter Nilsson3-3/+108
--mul-bug-abort and the default behavior. * config/tc-cris.c (cris_insn_kind): New member CRIS_INSN_MUL. (err_for_dangerous_mul_placement): New variable. (STATE_MUL, OPTION_MULBUG_ABORT_ON, OPTION_MULBUG_ABORT_OFF): New macros. (md_cris_relax_table): Have placeholder for STATE_MUL. (md_longopts): New options --mul-bug-abort and --no-mul-bug-abort. (cris_relax_frag) <case ENCODE_RELAX (STATE_MUL, STATE_BYTE)>: New case doing nothing. (md_estimate_size_before_relax) <case ENCODE_RELAX (STATE_MUL, STATE_BYTE)>: Ditto. (md_convert_frag) <ENCODE_RELAX (STATE_MUL, STATE_BYTE)>: Check alignment and position of this frag, emit error message if suspicious. (md_assemble): For a multiply insn and when checking it, transform the current frag into a special frag for that purpose. (md_parse_option) <case OPTION_MULBUG_ABORT_OFF, case OPTION_MULBUG_ABORT_ON>: Handle new options.
2004-03-21 * gas/cris/regreg.d: Assemble with --no-mul-bug-abort.Hans-Peter Nilsson4-0/+85
* gas/cris/mulbug-err-1.s, gas/cris/rd-mulbug-1.d: New tests.
2004-03-19 * config/tc-xtensa.c (mark_literal_frags): New function.Bob Wilson2-17/+39
(xtensa_move_literals): Call mark_literal_frags for all literal segments, including init and fini literal segments. (xtensa_post_relax_hook): Swap use of xt_insn_sec and xt_literal_sec.
2004-03-19 * elf-hppa.h (elf_hppa_reloc_final_type): Handle selectors forDave Anglin2-0/+8
R_PARISC_PCREL32 and R_PARISC_PCREL64 relocations. * tc-hppa.c (cons_fix_new_hppa): Check for PC relative base type. (pa_comm): Set BSF_OBJECT in symbol flags.
2004-03-19 * Makefile.am: Run "make dep-am".Alan Modra6-2187/+2733
* Makefile.in: Regenerate. * doc/Makefile.in: Regenerate. * config.in: Regenerate. * po/gas.pot: Regenerate.
2004-03-18 * read.c (read_a_source_file): Use demand_empty_rest_of_line.Nathan Sidwell5-46/+44
(demand_empty_rest_of_line): Issue an error here. (ignore_rest_of_line): Silently skip to end. (demand_copy_string): Issue an error, not warning. (equals): Likewise. * config/obj-elf.c (obj_elf_section_name): Likewise. (obj_elf_section): Likewise. * config/tc-arc.c (arc_extoper): Remove bogus NULL checks. (arc_extinst): Likewise. * config/tc-ia64.c (dot_saveb): Use demand_empty_rest_of_line. (dot_spill): Likewise. (dot_unwabi): Likewise. (dot_prologue): Likewise.
2004-03-18 * expr.c (operand): Reject ++ and --.Nathan Sidwell2-0/+20
(operator): Likewise.
2004-03-18[gas]Kaz Kojima9-9/+164
* config/tc-sh.c: Include dw2gencfi.h. (sh_cfi_frame_initial_instructions): New function. (sh_regname_to_dw2regnum): Likewise. * config/tc-sh.h (DWARF2_LINE_MIN_INSN_LENGTH): Move to the end of file. (TARGET_USE_CFIPOP): Define. (tc_cfi_frame_initial_instructions): Likewise. (tc_regname_to_dw2regnum): Likewise. (DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT): Likewise. * Makefile.am: Update dependencies. * Makefile.in: Regenerate. [gas/testsuite] * gas/cfi/cfi-sh-1.d: New file. * gas/cfi/cfi-sh-1.s: Likewise. * gas/cfi/cfi.exp: Add SH case.
2004-03-17Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.Alan Modra3-4/+9
2004-03-16opcodes/Alan Modra16-470/+488
* ppc-dis.c (print_insn_powerpc): Don't print tabs. Handle PPC_OPERANDS_GPR_0. * ppc-opc.c (RA0): Define. (RAQ, RAL, RAM, RAS, RSQ, RTQ, RSO): Use PPC_OPERAND_GPR_0. (RAOPT): Rename from RAO. Update all uses. (powerpc_opcodes): Use RA0 as appropriate. Add "lsdx", "lsdi", "stsdx", "stsdi", "lmd" and "stmd" insns. include/opcode/ * ppc.h (PPC_OPERAND_GPR_0): Define. Bump other operand defines. gas/testsuite/ Update gas/ppc/. ld/testsuite/ Update ld-powerpc/.
2004-03-15 * gas/i386/padlock.s: Pad with .p2align.Alan Modra3-1/+9
* gas/i386/padlock.d: Adjust.
2004-03-12 * read.c (s_leb128): Call md_flush_pending_output.Bob Wilson2-0/+8
2004-03-122004-03-12 Michal Ludvig <mludvig@suse.cz>Michal Ludvig4-0/+43
* gas/i386/padlock.s, gas/i386/padlock.d: New tests for VIA PadLock instructions. * gas/i386/i386.exp: Run padlock tests.
2004-03-12 * i386-dis.c (OP_M, OP_0f0e, OP_0fae, NOP_Fixup): New functions.Alan Modra2-1/+3
(M, Mp): Use OP_M. (None, PADLOCK_SPECIAL, PADLOCK_0): Delete. (GRPPADLCK): Define. (dis386): Use NOP_Fixup on "nop". (dis386_twobyte): Use GRPPADLCK on opcode 0xa7. (twobyte_has_modrm): Set for 0xa7. (padlock_table): Delete. Move to.. (grps): ..here, using OP_0f07. Use OP_Ofae on lfence, mfence and clflush. (print_insn): Revert PADLOCK_SPECIAL code. (OP_E): Delete sfence, lfence, mfence checks. * gas/i386/katmai.d: Revert last change.
2004-03-122004-03-12 Michal Ludvig <mludvig@suse.cz>Michal Ludvig3-9/+36
* gas/config/tc-i386.c (output_insn): Handle PadLock instructions. * gas/config/tc-i386.h (CpuPadLock): New define. (CpuUnknownFlags): Added CpuPadLock. * include/opcode/i386.h (i386_optab): Added xstore/xcrypt insns. * opcodes/i386-dis.c (PADLOCK_SPECIAL, PADLOCK_0): New defines. (dis386_twobyte): Opcode 0xa7 is PADLOCK_0. (padlock_table): New struct with PadLock instructions. (print_insn): Handle PADLOCK_SPECIAL.
2004-03-12opcodes/Alan Modra2-1/+5
* i386-dis.c (grps): Use clflush by default for 0x0fae/7. (OP_E): Twiddle clflush to sfence here. gas/testsuite/ * gas/i386/katmai.d: Adjust for clflush change.
2004-03-08 * gas/cfi/cfi-s390x-1.d: Adjust offsets.Andreas Jaeger2-7/+11
2004-03-07 * gas/cfi/cfi-common-2.d, gas/cfi/cfi-i386.d: Adjust offsets.Richard Henderson3-14/+26
2004-03-07* doc/c-hppa.texi (HPPA Directives): Fix typo.Andreas Schwab2-2/+6
2004-03-07 * gas/cfi/cfi-x86_64.d: Adjust offsets.Andreas Jaeger2-14/+26
2004-03-07 * dw2gencfi.c (output_cie): Align length to 4 byte boundary.Richard Henderson10-54/+67
(cfi_finish): Likewise for fde. * gas/alpha/elf-reloc-8.d, gas/cfi/cfi-alpha-1.d, gas/cfi/cfi-alpha-2.d, gas/cfi/cfi-alpha-3.d, gas/cfi/cfi-common-1.d, gas/cfi/cfi-common-2.d, gas/cfi/cfi-common-3.d: Adjust offsets.
2004-03-052004-03-05 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+19
* config/tc-ia64.c (md_assemble): Properly handle NULL align_frag. (ia64_handle_align): Don't abort if failed to add a stop bit.
2004-03-042004-03-04 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu5-1358/+2181
* Makefile.in: Regenerated. * aclocal.m4: Likewise. * configure: Likewise. * doc/Makefile.in: Likewise.
2004-03-04 * gas/sh/sh64/err-dsp.s: Fix expected error message.Kaz Kojima2-1/+5
2004-03-032004-03-03 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-7/+35
* config/tc-ia64.c (dot_align): New. (ia64_do_align): Make it static. (md_pseudo_table): Use "dot_align" for "align". (ia64_md_do_align): Don't set align_frag here. (ia64_handle_align): Add a stop bit to the previous bundle if needed. * config/tc-ia64.h (ia64_do_align): Removed.
2004-03-032003-03-03 Andrew Stubbs <andrew.stubbs@superh.com>Joern Rennecke2-15/+65
opcodes: * sh-dis.c (print_insn_sh): Don't disassemble fp instructions in nofpu mode. Add BFD type bfd_mach_sh4_nommu_nofpu. * sh-opc.h: Add sh4_nommu_nofpu architecture and adjust instructions accordingly. bfd: * archures.c: Add bfd_mach_sh4_nommu_nofpu. * cpu-sh.c: Ditto. * elf32-sh.c: Ditto. * bfd-in2.h: Regenerate. include/elf: * sh.h: Add EF_SH4_NOMMU_NOFPU. gas: * config/tc-sh.c (md_parse_option): Add -isa=sh4-nofpu and -isa=sh4-nommu-nofpu options. Adjust help messages accordingly. (sh_elf_final_processing): Output BFD type sh4_nofpu if that is the most general type or the user specifically requested it. (md_assemble): Add a new error message for when an instruction is understood, but is not allowed due to an -isa option.
2004-03-032004-03-02 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-2/+46
* config/tc-ia64.c (align_frag): New. (md_assemble): Set the tc_frag_data field in align_frag for IA64_OPCODE_FIRST instructions. (ia64_md_do_align): Set align_frag. (ia64_handle_align): Add a stop bit if needed. * config/tc-ia64.h (TC_FRAG_TYPE): New. (TC_FRAG_INIT): New.
2004-03-01Add fr450 support.Richard Sandiford14-1/+549
2004-03-01cpu/Richard Sandiford3-20/+26
* frv.cpu (r-store, r-store-dual, r-store-quad): Delete. (rstb, rsth, rst, rstd, rstq): Delete. (rstbf, rsthf, rstf, rstdf, rstqf): Delete. gas/testsuite/ * gas/frv/allinsn.s (rstb, rsth, rst, rstd, rstq): Replace with nops. (rstbf, rsthf, rstf, rstdf, rstqf): Likewise. * gas/frv/allinsn.d: Update accordingly. opcodes/ * frv-desc.c, frv-opc.c, frv-opc.h: Regenerate. sim/frv/ * decode.c, decode.h, model.c, sem.c: Regenerate. sim/testsuite/ * sim/frv/{rstb,rsth,rst,rstd,rstq}.cgs: Delete. * sim/frv/{rstbf,rsthf,rstf,rstdf,rstqf}.cgs: Delete.
2004-02-27Add -no-bitinst switch for M32R2Nick Clifton3-4/+28
2004-02-27Undo previous deltaNick Clifton2-6/+11
Fix underlying problem by changing the order of tests of rel->howto.
2004-02-27 * config/tc-s390.c (s390_insn): Correct range check for opcode inMartin Schwidefsky2-3/+14
.insn pseudo operation.
2004-02-27Fix seg fault on erroneous inputNick Clifton2-2/+9
2004-02-262004-02-26 Eric Christopher <echristo@redhat.com>Eric Christopher3-4/+21
* config/tc-mips.c (mips_dwarf2_addr_size): New. * config/tc-mips.h (DWARF2_ADDR_SIZE): Use.
2004-02-262004-02-23 Andrew Stubbs <andrew.stubbs@superh.com>Joern Rennecke2-0/+9
gas: * tc-sh.c (build_Mytes): Add REG_N_D and REG_N_B01 nibble types to assembler. opcodes: * sh-dis.c (print_insn_sh): Add REG_N_D nibble type to ensure that double registers have even numbers. Add REG_N_B01 for nn01 (binary 01) nibble to ensure that reserved instruction 0xfffd does not decode the same as 0xfdfd (ftrv). * sh-opc.h: Add REG_N_D nibble type and use it whereever REG_N refers to a double register. Add REG_N_B01 nibble type and use it instead of REG_NM in ftrv. Adjust the bit patterns in a few comments.
2004-02-26Patch reviewed and approved by nickc@redhat.com.Fred Fish2-2/+6
2004-02-25 Fred Fish <fnf@redhat.com> * config/tc-iq2000.c: Add missing \n\ in multiline string literal.
2004-02-21Fix unwind info problems with .align.Jim Wilson3-13/+60
* config/tc-ia64.c (slot_index): New arg before_relax. Use instead of finalize_syms. (fixup_unw_records): New arg before_relax. Pass to slot_index. (ia64_estimate_size_before_relax): New. (ia64_convert_frag): Pass 0 to fixup_unw_records. Add comment. (generate_unwind_image): Pass 1 to fixup_unw_records. * config/tc-ia64.h (ia64_estimate_size_before_relax): Declare. (md_estimate_size_before_relax): Call ia64_estimate_size_before_relax.
2004-02-19gas/Jakub Jelinek2-1/+6
* stabs.c (generate_asm_file): Avoid warning about use of uninitialized variable. binutils/ * objcopy.c (copy_section): Avoid warnings.
2004-02-19Yet another fix for -falign-loops problems.Jim Wilson2-4/+32
* config/tc-ia64.c (ia64_flush_insns): In addition to prologue, body, and endp, allow unwind records which do not have a "t" (time/instruction) field.
2004-02-18Apply fixes for Maverick CrunchNick Clifton6-90/+104