aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
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
2004-02-132004-02-13 Hannes Reinecke <hare@suse.de>Andreas Jaeger2-2/+7
Jakub Jelinek <jakub@redhat.com> * dwarf2dbg.c (get_filenum): Do not read beyond allocated memory.
2004-02-11Patch from Steve Ellcey for ia64-hpux.Jim Wilson3-0/+29
* config/tc-ia64.h (ia64_frob_symbol): New declaration. (tc_frob_symbol): New macro definition. * config/tc-ia64.c (ia64_frob_symbol): New routine.
2004-02-09 * config/tc-arm.c (md_begin): Mark .note.gnu.arm.ident asDaniel Jacobowitz2-0/+8
read-only.
2004-02-09 * gas/sh/basic.exp: Don't do sh4a tests for sh5.Kaz Kojima2-5/+12
2004-02-09 * read.h (IGNORE_OPCODE_CASE): Do not define. Replace with ...Nathan Sidwell4-4/+15
(TC_CASE_SENSITIVE): ... this. * read.c: Replace IGNORE_OPCODE_CASE with TC_CASE_SENSITIVE. * doc/internals.texi (TC_CASE_SENSITIVE): Document.
2004-02-07Fix unwind abort while compiling glibc, reported by HJ.Jim Wilson2-2/+9
* config/tc-ia64.c (dot_endp): Delete call to output_endp. (generate_unwind_image): Re-add it here.
2004-02-06.:Nathan Sidwell6-6/+16
* dwarf2dbg.c (DWARF2_ADDR_SIZE): Remove trailing ';' * read.h (SKIP_WHITESPACE): Turn into an expression. * read.c (read_a_source_file): A pseudo is removed by having a NULL handler. testsuite: * gas/macros/test2.s: Lowercase it.
2004-02-05Fix region length calculations when regions end with .align padding.Jim Wilson3-62/+40
* config/tc-ia64.c (output_endp): New. (count_bits): Delete. (ia64_flush_insns, process_one_record, optimize_unw_records): Handle endp unwind records. (fixup_unw_records): Handle endp unwind records. Delete code for shortening prologue regions not followed by a body record. (dot_endp): Call add_unwind_entry to emit endp unwind record. * config/tc-ia64.h (unw_record_type): Add endp.
2004-02-04Fix testcase from David Mosberger.Jim Wilson2-22/+61
* config/tc-ia64.c (ia64_convert_frag): Call md_number_to_chars to fill padding bytes with zeroes. (emit_one_bundle): New locals last_ptr, end_ptr. Rewrite code that sets unwind_record slot_number and slot_frag fields.
2004-02-02gas/Maciej W. Rozycki12-228/+186
* config/tc-mips.c (add_got_offset_hilo): New function. (macro): Use load_register() and add_got_offset_hilo() to load constants instead of hardcoding code sequences throughout. gas/testsuite/ * gas/mips/div.d: Update to accomodate changes in macro expansions. gas/mips/elf-rel-got-n32.d: Likewise. gas/mips/elf-rel-got-n64.d: Likewise. gas/mips/elf-rel-xgot-n32.d: Likewise. gas/mips/elf-rel-xgot-n64.d: Likewise. gas/mips/la-svr4pic.d: Likewise. gas/mips/la-xgot.d: Likewise. gas/mips/lca-svr4pic.d: Likewise. gas/mips/lca-xgot.d: Likewise.
2004-02-01 * gas/sh/sh4a-fp.d: Fix opcode name fssra to fsrra.Kaz Kojima4-10/+16
* gas/sh/sh4a-fp.s: Likewise. * gas/sh/err-sh4a-fp.s: Likewise.
2004-01-282004-01-28 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+6
* config/tc-ia64.c (emit_one_bundle): Add proper indentation.
2004-01-26(EXTERN_FORCE_RELOC): Handle m68k-uclinux specially, like m68k-elf.Nick Clifton3-5/+15
(RELAXABLE_SYMBOL): Use EXTERN_FORCE_RELOC instead of hard-coded test for TARGET_OS=elf.
2004-01-252004-01-24 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-9/+30
* config/tc-mips.c (hilo_interlocks): Change definition so that MIPS32, MIPS64 and later ISAs are included, along with the already-included machines. Update comments.
2004-01-252004-01-24 Chris Demetriou <cgd@broadcom.com>Chris Demetriou4-1/+12
* gas/mips/relax-swap1.s: Add extra space at end, so the disassembly will consistently have "..." at its end. * gas/mips/relax-swap2.s: Likewise. * gas/mips/relax-swap1-mips2.d: Expect "..." at end of disassembly.
2004-01-24 * config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): Remove.Richard Sandiford1-5/+0
2004-01-23 * config/tc-arm.c (tc_gen_reloc): Improve error message forDaniel Jacobowitz2-0/+15
undefined local labels.
2004-01-23 * gas/arm/arm.exp: Add "undefined" test.Daniel Jacobowitz4-0/+10
* gas/arm/undefined.s, gas/arm/undefined.l: New files.
2004-01-23 * config/tc-mips.c (load_address, macro): Update comments aboutRichard Sandiford2-6/+14
NewABI GP relaxation.
2004-01-23 * config/tc-mips.c (macro_build): Remove place and counter arguments.Richard Sandiford2-998/+744
(mips_build_lui, macro_build_ldst_constoffset): Likewise. (mips16_macro_build, macro_build_jalr): Remove counter argument. (set_at, load_register, load_address, move_register): Likewise. (load_got_offset, add_got_offset): Likewise. Update all calls and tidy accordingly.
2004-01-23 * gas/mips/macro-warn-[1234].[sdl]: New tests.Richard Sandiford17-0/+115
* gas/mips/macro-warn-[12]-n32.[dl]: New tests. * gas/mips/mips.exp: Run them.
2004-01-23 * config/tc-mips.c (RELAX_ENCODE): Remove WARN argument.Richard Sandiford2-53/+157
(RELAX_FIRST, RELAX_SECOND): Turn into 8-bit quantities. (RELAX_USE_SECOND): Bump to 0x10000. (RELAX_SECOND_LONGER, RELAX_NOMACRO, RELAX_DELAY_SLOT): New flags. (mips_macro_warning): New variable. (md_assemble): Wrap macro expansion in macro_start() and macro_end(). (s_cpload, s_cpsetup, s_cprestore, s_cpreturn): Likewise. (relax_close_frag): Set mips_macro_warning.first_frag. Adjust use of RELAX_ENCODE. (append_insn): Update mips_macro_warning.sizes. (macro_start, macro_warning, macro_end): New functions. (macro_build): Don't emit warnings here. (macro_build_lui, md_estimate_size_before_relax): ...or here. (md_convert_frag): Check for cases where one macro alternative needs a warning and the other doesn't. Emit a warning if the longer sequence was chosen.
2004-01-23 * config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): Remove.Richard Sandiford6-685/+574
* config/tc-mips.c (RELAX_ENCODE): Take three arguments: the size of the first sequence, the size of the second sequence, and a flag that says whether we should warn. (RELAX_OLD, RELAX_NEW, RELAX_RELOC[123]): Delete. (RELAX_FIRST, RELAX_SECOND): New. (mips_relax): New variable. (relax_close_frag, relax_start, relax_switch, relax_end): New fns. (append_insn): Remove "place" argument. Use mips_relax.sequence rather than "place" to check whether we're expanding the second alternative of a relaxable macro. Remove redundant check for branch relaxation. If generating a normal insn, and there is not enough room in the current frag, call relax_close_frag() to close it. Update mips_relax.sizes[]. Emit fixups for the second version of a relaxable macro. Record the first relaxable fixup in mips_relax. Remove tc_gen_reloc workaround. (macro_build): Remove all uses of "place". Use mips_relax.sequence in the same way as in append_insn. (mips16_macro_build): Remove "place" argument. (macro_build_lui): As for macro_build. Don't drop the add_symbol when generating the second version of a relaxable macro. (load_got_offset, add_got_offset): New functions. (load_address, macro): Use new relaxation machinery. Remove tc_gen_reloc workarounds. (md_estimate_size_before_relax): Set RELAX_USE_SECOND if the second version of a relaxable macro is needed. Return -RELAX_SECOND if the first version is needed. (tc_gen_reloc): Remove relaxation handling. (md_convert_frag): Go through the fixups for a relaxable macro and mark those that belong to the unneeded alternative as done. If the second alternative is needed, adjust the fixup addresses to account for the deleted first alternative. testsuite/ * gas/mips/elf-rel19.[sd]: New test. * gas/mips/mips.exp: Run it.
2004-01-23 * frags.h (frag_room): Declare.Richard Sandiford4-3/+19
* frags.c (frag_room): New function. * doc/internals.texi: Document it.
2004-01-21 * config/tc-mips.c (append_insn): Don't do r3900 interlockThiemo Seufer2-5/+10
optimization for -mtune=r3900, as this will break on other CPUs.
2004-01-21Stop indexed move byte instructions from being relaxed.Nick Clifton6-11/+854
2004-01-18* config/tc-sparc.c (sparc_ip): Disallow %f32-%f63 for singleJakub Jelinek2-1/+12
precision operands.