aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
2001-12-17Fix compile time warning messages.Nick Clifton3-1/+13
2001-12-14 * config/obj-elf.c (obj_elf_init_stab_section): References areAlan Modra2-1/+6
kept to section name strings. Don't alloca them!
2001-12-12* config/tc-d10v.c (get_operands): Mark OPERAND_PLUS afterAlexandre Oliva2-2/+9
OPERAND_ATSIGN as O_absent.
2001-12-10Resolve CVS conflict.Andreas Schwab1-4/+1
2001-12-08Index: bfd/ChangeLogGeoffrey Keating20-254/+5197
2001-12-07 Geoffrey Keating <geoffk@redhat.com> Richard Henderson <rth@redhat.com> Corinna Vinschen <vinschen@redhat.com> * Makefile.am: Add support for xstormy16. * archures.c: Add support for xstormy16. * config.bfd: Add support for xstormy16. * configure.in: Add support for xstormy16. * reloc.c: Add support for xstormy16. * targets.c: Add support for xstormy16. * cpu-xstormy16.c: New file. * elf32-xstormy16.c: New file. * Makefile.in: Regenerated. * bfd-in2.h: Regenerated. * configure: Regenerated. * libbfd.h: Regenerated. Index: binutils/ChangeLog 2001-12-07 Geoffrey Keating <geoffk@redhat.com> * readelf.c (guess_is_rela): Add support for stormy16. (dump_relocations): Likewise. (get_machine_name): Likewise. Index: gas/ChangeLog 2001-12-07 Geoffrey Keating <geoffk@redhat.com> Richard Henderson <rth@redhat.com> * configure.in: Add support for xstormy16. * configure: Regenerated. * Makefile.am: Add support for xstormy16. * Makefile.in: Regenerated. * config/tc-xstormy16.c: New file. * config/tc-xstormy16.h: New file. Index: gas/testsuite/ChangeLog 2001-12-07 Geoffrey Keating <geoffk@redhat.com> matthew green <mrg@redhat.com> * gas/xstormy16/allinsn.d: New file. * gas/xstormy16/allinsn.exp: New file. * gas/xstormy16/allinsn.s: New file. * gas/xstormy16/allinsn.sh: New file. * gas/xstormy16/gcc.d: New file. * gas/xstormy16/gcc.s: New file. * gas/xstormy16/gcc.sh: New file. * gas/xstormy16/reloc-1.d: New file. * gas/xstormy16/reloc-1.s: New file. * gas/xstormy16/reloc-2.d: New file. * gas/xstormy16/reloc-2.s: New file. Index: ld/ChangeLog 2001-12-07 Geoffrey Keating <geoffk@redhat.com> Richard Henderson <rth@redhat.com> * Makefile.am: Add support for xstormy16. * configure.tgt: Add support for xstormy16. * Makefile.in: Regenerate. * emulparams/elf32xstormy16.sh: New file. * scripttempl/xstormy16.sc: New file. Index: opcodes/ChangeLog 2001-12-07 Geoffrey Keating <geoffk@redhat.com> * Makefile.am: Add support for xstormy16. * Makefile.in: Regenerate. * configure.in: Add support for xstormy16. * configure: Regenerate. * disassemble.c: Add support for xstormy16. * xstormy16-asm.c: New generated file. * xstormy16-desc.c: New generated file. * xstormy16-desc.h: New generated file. * xstormy16-dis.c: New generated file. * xstormy16-ibld.c: New generated file. * xstormy16-opc.c: New generated file. * xstormy16-opc.h: New generated file. Index: include/ChangeLog 2001-12-07 Geoffrey Keating <geoffk@redhat.com> * dis-asm.h (print_insn_xstormy16): Declare. Index: include/elf/ChangeLog 2001-12-07 Geoffrey Keating <geoffk@redhat.com> Richard Henderson <rth@redhat.com> * common.h (EM_XSTORMY16): Define. * xstormy16.h: New file.
2001-12-08 * gas/all/incbin.d: Update.Alan Modra2-8/+9
2001-12-08 * gas/all/incbin.s: Add spaces before directives.Alan Modra2-5/+9
2001-12-07 * gas/hppa/parse/linesepbug.s: Restore to its original form,Jeff Law2-1/+6
reverting change of July 19, 2000.
2001-12-06* tc-arm.c (do_arit, do_cmp, do_mov, do_ldst, do_ldstt, do_ldmstm)Richard Earnshaw2-332/+185
(do_branch, do_swi, do_adr, do_adrl, do_empty, do_mul, do_mla) (do_swap, do_msr, do_mrs, do_mull, do_ldstv4, do_bx, do_blx) (do_bkpt, do_clz, do_lstc2, do_cdp2, do_co_reg2, do_smla, do_smlal) (do_smul, do_qadd, do_pld, do_ldrd, do_co_reg2c, do_cdp, do_lstc) (do_co_reg, do_fpa_ctrl, do_fpa_ldst, do_fpa_ldmstm, do_fpa_monadic) (do_fpa_dyadic, do_fpa_cmp, do_fpa_from_reg, do_fpa_to_reg, do_mia) (do_mar, do_mra, do_c_binops, do_c_binops_1, do_c_binops_2) (do_c_binops_3, do_c_triple, do_c_triple_4, do_c_triple_5, do_c_quad) (do_c_quad_6, do_c_dspsc, do_c_dspsc_1, do_c_dspsc_2, do_c_shift) (do_c_shift_1, do_c_shift_2, do_c_ldst, do_c_ldst_1, do_c_ldst_2) (do_c_ldst_3, do_c_ldst_4, do_branch25): Delete redundant argument, FLAGS. (struct asm_opcode): Adjust parms field accordingly. (md_assemble): Don't pass dummy second argument when calling worker functions. (build_arm_ops_hsh): Add prototype (BAD_FLAGS): Delete.
2001-12-05* tc-arm.c (struct asm_opcode): Delete comp_suffix and flags. AddRichard Earnshaw2-749/+1210
cond_offset. Rename variants->variant. (insns): Adjust for new format. Explicitly code each variant that takes flags. Remove temporary instructions. (struct arm_it): Remove redundant field suffix. (s_flag, ldr_flags, str_flags, byte_flag, cmp_flags, ldm_flags) (stm_flags, lfm_flags, sfm_flags, round_flags, fix_flags, except_flag) (long_flag): Delete. (struct asm_flg): Delete. (LONGEST_INST): Delete. (V4_STR_BIT): Define. (struct thumb_opcode): Rename variants->variant. (do_empty): Renamed from do_nop. (ldst_extend): Delete argument hwse. Split code for half-word and signed byte instructions to ... (ldst_extend_v4): ... here. (ld_mode_required_here): Use ldst_extend_v4. (do_ldrd): Simplify now that this is only called for ldrd. No need to test for XScale, which was wrong anyway. Don't reject r12 as a target register. Add test that ldrd doesn't update an index register. (do_pld): Don't allow post-indexed or write-back addressing modes. Adjust call to ldst_extend. (do_adr): Split code for adrl to ... (do_adrl): ... here. (do_cmp): No need to fold in COND_BIT. (do_ldst): Simplify. Split code for ldrt/strt into do_ldstt. Split code to handle half-word and signed byte instructions to ... (do_ldstv4): ... here. (do_ldstt): New function. Handle load/store with translate. (do_ldmstm): Write feature modification bits directly into inst.instruction. (do_fpa_ldst): Remove suffix handling code. (do_fpa_dyadic, do_fpa_monadic, do_fpa_from_reg): Likewise. (do_fpa_ldmstm): Type of access is now held in inst.instruction. (build_arm_ops_hsh): New function. (md_begin): Call it. Don't build the ARM opcode directly. (md_assemble): Simplify ARM instruction handling.
2001-12-05* gas/arm/xscale.s, gas/arm/xscale.d (pld tests): PLD instruction hasRichard Earnshaw3-16/+15
no post-indexed addressing modes.
2001-12-05Corrected incorrect op->type selection due to missing 'else'.Nick Clifton2-8/+10
2001-12-042001-11-16 Michael Snyder <msnyder@redhat.com>Michael Snyder3-4/+47
* stabs.c (stabs_generate_asm_lineno): Remember file and line number from one call to the next, and eliminate consecutive duplicates (thereby emitting only one line symbol per source line). * dwarf2dbg.c (dwarf2_gen_line_info): Ditto.
2001-12-04* config/tc-d10v.c (write_2_short): Don't skip dummy fixups, soAlexandre Oliva2-28/+25
that we can tell which operand refers to the insn put in the L container and mark it as such, so that the relocation type can be adjusted.
2001-12-04 * config.bfd: Remove trailing blanks.Thiemo Seufer2-43/+47
* elf32-mips.c (gprel16_with_gp): Remove superfluous casts. * strings.c (get_char): Initialize value. * config/tc-mips.c (mips_cpreturn_offset): Better comment. (load_register): Better error message. Cast away signedness mismatches. Add casts needed for varargs. (load_address): Replace checks of HAVE_64BIT_ADDRESS with dbl. Remove superfluous casts. (macro): Cast away signedness mismatches. Remove superfluous casts. (s_cpload): Fix wrong comment. (s_mips_weakext): Standardize output message. (get_number): Likewise.
2001-12-04 * config/tc-mips.c (append_insn): Add jump address range overflowThiemo Seufer2-0/+13
check.
2001-12-04 * config/tc-mips.c (md_parse_option): Fix comment. Allow -mabi optionThiemo Seufer2-2/+41
for ELF only. (show): Document -mabi option.
2001-12-04Only clear cpu part when specifying 'xscale' cpu (don't change the fpu part)Nick Clifton2-1/+7
2001-12-04* config/tc-d10v.c (find_opcode): Reject SP operand ifAlexandre Oliva2-0/+8
OPERAND_NOSP flag is present.
2001-12-042001-12-03 Eric Christopher <echristo@redhat.com>Eric Christopher2-2/+6
* config/tc-mips.c (tc_gen_reloc): One missed BFD_RELOC_MIPS_GPREL.
2001-12-02 * coff-mips.c (mips_bfd_reloc_type_lookup): ReplaceThiemo Seufer3-41/+52
BFD_RELOC_MIPS_GPREL by BFD_RELOC_GPREL16. * pe-mips.c (mips_bfd_reloc_type_lookup): Likewise. * elf32-mips.c (mips_reloc_map): Likewise. Replace BFD_RELOC_MIPS_GPREL32 by BFD_RELOC_GPREL32. * elf64-mips.c (mips_reloc_map): Likewise. * reloc.c (BFD_RELOC_MIPS_GPREL): Remove. (BFD_RELOC_MIPS_GPREL32): Remove. * config/tc-mips.c (macro_build): Replace BFD_RELOC_MIPS_GPREL by BFD_RELOC_GPREL16. (load_address): Likewise. (macro): Likewise. (md_apply_fix): Likewise. Replace BFD_RELOC_MIPS_GPREL32 by BFD_RELOC_GPREL32. (s_gpword): Replace BFD_RELOC_MIPS_GPREL32 by BFD_RELOC_GPREL32. (tc_gen_reloc): Replace BFD_RELOC_MIPS_GPREL by BFD_RELOC_GPREL16. *config/tc-mips.h: Replace BFD_RELOC_MIPS_GPREL by BFD_RELOC_GPREL16.
2001-11-29* config/tc-d10v.c (get_operands): Emit OPERAND_PLUS forAlexandre Oliva2-0/+8
prefix `+'.
2001-11-29* config/tc-d10v.c (find_opcode): Reject non-SP operand ifAlexandre Oliva2-2/+9
flags requires SP.
2001-11-29Remove case sensitivity in register names.Nick Clifton2-4/+14
2001-11-28 * elf64-alpha.c (ALPHA_ELF_GOT_ENTRY_RELOCS_XLATED): Defined.Jakub Jelinek4-6/+17
(elf64_alpha_relocate_section): Translate local_got_entries for STT_SECTION symbol to SHF_MERGE section the first time we see it. * elfxx-ia64.c (struct elfNN_ia64_local_hash_entry): Add sec_merge_done. (get_local_sym_hash): New, extracted from get_dyn_sym_info. (get_dyn_sym_info): Use it. (elfNN_ia64_relocate_section): Translate local dyn entries for STT_SECTION symbol to SHF_MERGE section the first time we see it. * write.c (adjust_reloc_syms): Mark SEC_MERGE symbols as used in reloc if it has non-zero addend. * config/tc-alpha.c (tc_gen_reloc): Reinstall SEC_MERGE check. * config/tc-sparc.c (md_apply_fix3): Likewise.
2001-11-28Add .cvsignore files to skip .gmo filesNick Clifton1-0/+1
2001-11-28 * as.c (parse_args): Call md_after_parse_args if defined.Andreas Schwab5-1/+26
* config/tc-ia64.h (md_after_parse_args): Define. * config/tc-ia64.c (ia64_after_parse_args): Reject --gstabs. * doc/internals.texi (CPU backend): Document md_after_parse_args.
2001-11-25 * gas/all/gas.exp (incbin): Fix condition.Andreas Jaeger2-5/+9
2001-11-23 * gas/all/gas.exp (incbin): Do not run on the PA.Jeff Law2-1/+6
2001-11-23 * gas/hppa/parse/parse.exp: Expect failure on line separator bug.Jeff Law2-0/+5
2001-11-23 * elf.c (_bfd_elf_rela_local_sym): New.Jakub Jelinek3-12/+8
* elflink.h (elf_link_input_bfd): Don't consider empty merged sections as removed in relocation tests. * elf-bfd.h (_bfd_elf_rela_local_sym): Add prototype. * elf32-i386.c (elf_i386_relocate_section): Handle relocs against STT_SECTION symbol of SHF_MERGE section. * elf32-arm.h (elf32_arm_relocate_section): Likewise. * elf32-avr.c (elf32_avr_relocate_section): Call _bfd_elf_rela_local_sym. * elf32-cris.c (cris_elf_relocate_section): Likewise. * elf32-d10v.c (elf32_d10v_relocate_section): Likewise. * elf32-fr30.c (fr30_final_link_relocate): Likewise. * elf32-h8300.c (elf32_h8_relocate_section): Likewise. * elf32-hppa.c (elf32_hppa_relocate_section): Likewise. * elf32-i370.c (i370_elf_relocate_section): Likewise. * elf32-i860.c (elf32_i860_relocate_section): Likewise. * elf32-m32r.c (m32r_elf_relocate_section): Likewise. * elf32-m68k.c (elf_m68k_relocate_section): Likewise. * elf32-mcore.c (mcore_elf_relocate_section): Likewise. * elf32-openrisc.c (openrisc_elf_relocate_section): Likewise. * elf32-ppc.c (ppc_elf_relocate_section): Likewise. * elf32-s390.c (elf_s390_relocate_section): Likewise. * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. * elf32-v850.c (v850_elf_relocate_section): Likewise. * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. * elf64-mmix.c (mmix_elf_relocate_section): Likewise. * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. * elf64-s390.c (elf_s390_relocate_section): Likewise. * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. * elf-hppa.h (elf_hppa_relocate_section): Likewise. * elf-m10200.c (mn10200_elf_relocate_section): Likewise. * elf-m10300.c (mn10300_elf_relocate_section): Likewise. * elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise. * elf32-sh.c (sh_elf_relocate_section): Likewise for !partial_inplace relocs. Handle relocs against STT_SECTION symbol of SHF_MERGE for partial_inplace relocs. * config/tc-alpha.c (tc_gen_reloc): Remove SEC_MERGE test. * write.c (adjust_reloc_syms): Don't handle relocs against SEC_MERGE section symbols specially. (fixup_segment): Likewise.
2001-11-21 * config/tc-mips.c (mips_need_elf_addend_fixup): New, extracted from...Richard Sandiford2-15/+45
(md_apply_fix3): ...here. Don't prevent the symbol value being subtracted twice from GPREL addends. (tc_gen_reloc): Add the symbol value to a GPREL addend if it was subtracted by the previous function.
2001-11-20Fix md_apply_fix3 typo.Nick Clifton2-1/+6
2001-11-202001-11-20 Ben Elliston <bje@redhat.com>Ben Elliston2-2/+7
* config/tc-m88k.c (md_apply_fix3): Match local variable `val' to usage after md_apply_fix3 cleanups.
2001-11-19 * doc/c-mmix.texi: Use texinfo 4 features.Hans-Peter Nilsson2-20/+25
(MMIX-mmixal): Fix typo.
2001-11-17Fix typo in comment in last commitHans-Peter Nilsson1-1/+1
2001-11-17 * config/tc-cris.c (md_apply_fix3): Cast value, not pointer, inHans-Peter Nilsson2-1/+9
val assignment.
2001-11-172001-11-16 Chris Demetriou <cgd@broadcom.cOm>Chris Demetriou4-0/+225
* gas/mips/elf-rel5.s, gas/mips/elf-rel5.s: New test to test symbol plus offset relocations in various ways. * gas/mips/mips.exp: Run new test.
2001-11-16 * config/tc-m68k.c (md_apply_fix3): Change val back to a signed type.Alan Modra2-2/+6
2001-11-162001-11-15 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+5
* config/tc-hppa.c (md_apply_fix3): Fix a typo.
2001-11-162001-11-15 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+5
* config/tc-alpha.c (md_apply_fix3): Fix a typo.
2001-11-15Update all uses of md_apply_fix to use md_apply_fix3. Make it a void function.Nick Clifton72-1042/+833
2001-11-15 * config/tc-i386.h (md_end): Define.Alan Modra3-15/+65
(i386_elf_emit_arch_note): Declare. (CpuUnknown): Delete. * config/tc-i386.c (default_arch): Constify. (smallest_imm_type): Remove CpuUnknown test. (md_assemble): Don't bother checking cpu_arch_flags non-zero. (i386_elf_emit_arch_note): New function.
2001-11-15 * po/POTFILES.in: Regenerate.Alan Modra2-0/+6
2001-11-15 * config/tc-mips.c (mips_ip): Re-allow %hi() op for non-ELF assembler.Thiemo Seufer2-3/+7
2001-11-15revert last change.Alan Modra2-6/+2
2001-11-15gas/ChangeLogAlan Modra2-2/+5
* dwarf2dbg.c (get_frag_fix): Align last frag size.
2001-11-15binutils/ChangeLogAlan Modra4-8/+18
* doc/binutils.texi (objdump): Document ppc -M options. gas/ChangeLog * config/tc-ppc.c (ppc_insert_operand): Pass (ppc_cpu | ppc_size) to operand->insert. (md_assemble): Likewise. gas/testsuite/ChangeLog * gas/ppc/booke.d: Modify reloc and target matches for powerpc64. include/opcode/ChangeLog * ppc.h (struct powerpc_operand <insert, extract>): Add dialect param. opcodes/ChangeLog * ppc-opc.c (PPC64): Revert 2001-10-12. Do include PPC_OPCODE_PPC. (insert_bat, extract_bat, insert_bba, extract_bba, insert_bd, extract_bd, insert_bdm, extract_bdm, insert_bdp, extract_bdp, valid_bo, insert_bo, extract_bo, insert_boe, extract_boe, insert_ds, extract_ds, insert_de, extract_de, insert_des, extract_des, insert_li, extract_li, insert_mbe, extract_mbe, insert_mb6, extract_mb6, insert_nb, extract_nb, insert_nsi, extract_nsi, insert_ral, insert_ram, insert_ras, insert_rbs, extract_rbs, insert_sh6, extract_sh6, insert_spr, extract_spr, insert_tbr, extract_tbr): Add dialect param. (extract_bd, extract_bdm, extract_bdp, extract_ds, extract_des, extract_li, extract_nsi): Implement sign extension without conditional. (insert_bdm, extract_bdm, insert_bdp, extract_bdp, valid_bo): Handle 64 bit branch hints. (extract_bdm, extract_bdp): Correct 32 bit validation. (AT1_MASK, AT2_MASK): Define. (BBOAT_MASK): Define. (BBOATCB_MASK, BBOAT2CB_MASK, BBOATBI_MASK): Define. (BOFM64, BOFP64, BOTM64, BOTP64): Define. (BODNZM64, BODNZP64, BODZM64, BODZP64): Define. (PPCCOM32, PPCCOM64): Define. (powerpc_opcodes): Modify existing 32 bit insns with branch hints and add new patterns to implement 64 bit branches with hints. Move booke instructions so they match before ppc64. * ppc-dis.c (powerpc_dialect): Set PPC_OPCODE_64 in dialect for 64 bit default targets, and parse "32" and "64" in options. Formatting fixes. (print_insn_powerpc): Pass dialect to operand->extract.
2001-11-14Use frag_make_room() to grow the obstack.Nick Clifton2-0/+11
2001-11-14Do not remove the symbol's value from the addend for fixups against localNick Clifton2-15/+28
symbols in SEC_MERGE sections - it was not added in, in the first place.