summaryrefslogtreecommitdiff
path: root/gas
Commit message (Collapse)AuthorAgeFilesLines
* * tc-arm.c (md_parse_option): Tidy up setting of cpu_variant forRichard Earnshaw2002-01-152-21/+20
| | | | various command line options.
* Special case handlign for m32r portNick Clifton2002-01-153-0/+15
|
* Fix expected results of disassembly of DSP instructionsNick Clifton2002-01-152-18/+22
|
* Fix up generation of VTINHERIT relocsNick Clifton2002-01-152-5/+14
|
* Use section2.e-mips script for v850-elf toolchain.Nick Clifton2002-01-142-1/+6
|
* * gas/arm/armv1.s, arm/armv1.d, arm/fpa-mem.s, arm/fpa-mem.dRichard Earnshaw2002-01-1411-1/+965
| | | | | | | arm/fpa-monadic.s, arm/fpa-monadic.d, arm/fpa-dyadic.s, arm/fpa-dyadic.d: New tests. * gas/arm/le-fpconst.d (objdump): pass --section=.text * gas/arm/arm.exp: Add new tests. Run le-fpconst test on elf targets.
* * tc-arm.c (md_longopts): On targets that aren't bi-endian, supportRichard Earnshaw2002-01-142-1/+20
| | | | | the -EL/-EB option that matches the target's endianness. (md_parse_option): Likewise.
* * tc-arm.c (md_longopts): Fix misplaced #endif -- the -oabi optionRichard Earnshaw2002-01-142-2/+7
| | | | is not dependent on ARM_BI_ENDIAN.
* * tc-arm.c (all error messages): Normalize capitalization of messages.Richard Earnshaw2002-01-143-102/+160
| | | | | | | | | | | | | * tc-arm.h (md_operand): Delete define. * tc-arm.c (in_my_get_expression): New static variable. (my_get_expression): Set and clear it. (md_operand): New function. If called from my_get_expression put the error in inst.error. (output_inst): Now takes argument of instruction being assembled. Print it out with any error message. (do_ldst, do_ldstv4, thumb_load_store): Fault attempt to use a store with '=' syntax. (end_of_line): Don't update inst.error if it is already set.
* * gas/arm/armv1-bad.s gas/arm/armv1-bad.l: New files.Richard Earnshaw2002-01-144-0/+39
| | | | | * gas/arm/arm.exp (run_error_test): New proc. (armv1-bad): New error test.
* * tc-arm.c ((do_ldst): Fix handling an immediate expression pseudoRichard Earnshaw2002-01-116-22/+106
| | | | | | | | op that can be translated into a mvn instruction. * gas/arm/ldconst.s gas/arm/ldconst.d: New files. Test ldr with immediate pseudo-operations. * gas/arm/arm.exp: Run it.
* Add support for ia64-hpux target.Nick Clifton2002-01-113-22/+79
|
* [cgen/ChangeLog]Matthew Green2002-01-114-310/+327
| | | | | | | | | | | | | | | | | | | | | | | | | | | * cpu/xstormy16.cpu (gr-Rbj-names): Rename this ... (gr-Rb-names): ... to this. (h-Rb): New hardware peice. (h-Rbj): Use gr-Rb-names. (Rb): Use h-Rb. (holdx): New instruction. [opcodes/ChangeLog] * xstormy16-asm.c: Regenerate. * xstormy16-desc.c: Likewise. * xstormy16-desc.h: Likewise. * xstormy16-dis.c: Likewise. * xstormy16-opc.c: Likewise. * xstormy16-opc.h: Likewise. [gas/testsuite/ChangeLog] * gas/xstormy16/allinsn.sh (movf, jmp, call, icall): Update. * gas/xstormy16/allinsn.d: Regenerate. * gas/xstormy16/allinsn.s: Regenerate. [sid/component/cgen-cpu/xstormy16/ChangeLog] * xstormy16.cxx (do_holdx): Define. * xstormy16.h (do_holdx): Declare.
* * tc-arm.c (struct reg_entry): Move before prototypes.Richard Earnshaw2002-01-102-468/+770
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (int_register, cp_register, fp_register): Delete. (reg_table): Delete. Replaced with ... (rn_table, cp_table, cn_table, fn_table, mav_mvf_table) (mav_mvd_table, mav_mvfx_table, mav_mvdx_table, mav_mvax_table) (mav_dspsc_table): ... one table per register set. (arm_reg_hsh): Delete. (struct reg_map): New structure. (all_reg_maps): New array. (enum arm_reg_type): New enums. (build_reg_hsh): New function. (insert_reg_alias): Use hash table passed by caller. Adjust all callers. (create_register_alias): New function, split out from ... (md_assemble): ... here. (md_begin): Build new register hash tables. (arm_reg_parse): New argument for the hash table to search. Adjust all callers. (arm_reg_parse_any): New function. (co_proc_number): Look up the processor number in the processor hash table. (cirrus_regtype): Delete. (cirrus_register, cirrus_mvf_register, cirrus_mvd_register) (cirrus_mvfx_register, cirrus_mvdx_register, cirrus_mvax_register) (ARM_EXT_MAVERICKsc_register): Delete. (do_c_binops_1, do_c_binops_2, do_c_binops_3): Delete. (do_c_binops_1[a-o], do_c_binops_2[a-c], do_c_binops_3[a-d]): New functions. (do_c_triple_4, do_c_triple_5): Delete. (do_c_triple_4[ab], do_c_triple_5[a-h]): New functions. (do_c_quad_6): Delete. (do_c_quad_6[ab]): New functions. (do_c_binops, do_c_triple, do_c_quad, do_c_shift, do_c_ldst): Rework arguments to use new register parsing methods. (cirrus_reg_required_here): Likewise. (insns): Reclassify cirrus maverick worker functions. (cirrus_valid_reg): Delete.
* * gas/arm/float.s: Don't use VFP register names in fpa instructions.Richard Earnshaw2002-01-092-11/+15
|
* 2002-01-08 H.J. Lu <hjl@gnu.org>H.J. Lu2002-01-094-16/+60
| | | | | | | * gas/mips/elf-rel.s: New tests for nested (). * gas/mips/elf-rel.d: Modified for nested () tests. * gas/mips/elfel-rel.d: Likewise.
* bfd:Jason Thorpe2002-01-084-170/+184
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am (BFD32_BACKENDS): Add elf32-sh-nbsd.lo. (BFD32_BACKENDS_CFILES): Add elf32-sh-nbsd.c. (elf32-sh-nbsd.lo): New rule. * Makefile.in: Regenerate. * config.bfd (sh*le-*-netbsdelf*): New target. (sh*-*-netbsdelf*): New target. * configure.in: Include netbsd-core.lo for native sh*-*-netbsd*. (bfd_elf32_shnbsd_vec): New vector. (bfd_elf32_shlnbsd_vec): New vector. * configure: Regenerate. * elf32-sh-nbsd.c: New file. * targets.c: Update copyright years. (_bfd_target_vector): Add bfd_elf32_shlnbsd_vec and bfd_elf32_shnbsd_vec. gas: * configure.in (sh*le): Set cpu_type=sh and endian=little. (sh*-*-netbsdelf*): New target. * configure: Regenerate. * tc-sh.h: Update copyright years. (TARGET_FORMAT): Add version for TE_NetBSD. ld: * Makefile.am (ALL_EMULATIONS): Add eshelf_nbsd.o and eshlelf_nbsd.o. (eshelf_nbsd.c): New rule. (eshlelf_nbsd.c): New rule. * Makefile.in: Regenerate. * configure.tgt (sh*le-*-netbsdelf*): New target. (sh*-*-netbsdelf*): New target. * emulparams/shelf.sh: Document that shelf_nbsd.sh sources this file. * ld/emulparams/shelf_nbsd.sh: New emulation. * ld/emulparams/shlelf_nbsd.sh: New emulation.
* do not allow size or nbytes to go negative.Nick Clifton2002-01-072-3/+8
|
* Rotate ChangeLogNick Clifton2002-01-072-7702/+7711
|
* * config/tc-m68k.h (md_prepare_relax_scan): Rewrite.Alan Modra2002-01-063-6/+15
| | | | * config/tc-m68k.c (md_relax_table): Add md_prepare_relax_scan comment.
* 2002-01-05 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2002-01-059-1/+76
| | | | | | | | | | | | | | | | | | | | | * tc-mips.c (mips_cprestore_valid): New flag. (mips_frame_reg_valid): New flag. (macro) [M_JAL_2]: Check both flags. [M_JAL_A]: Likewise. (s_cprestore): Set mips_cprestore_valid. (tc_get_register): If setting mips_frame_reg, set mips_frame_reg_valid and clear mips_cprestore_valid. (s_mips_ent): Clear both flags. (s_mips_end): Clear both flags. 2002-01-05 Daniel Jacobowitz <drow@mvista.com> * gas/mips/jal-svr4pic.s: Add .ent and .frame directives. * gas/mips/mips-abi32-pic.s: Add .frame directive. * gas/mips/mips-gp32-fp32-pic.s: Likewise. * gas/mips/mips-gp32-fp64-pic.s: Likewise. * gas/mips/mips-gp64-fp32-pic.s: Likewise. * gas/mips/mips-gp64-fp64-pic.s: Likewise.
* * write.c (write_object_file): Make use of bfd_section_list_remove.Alan Modra2002-01-054-55/+41
| | | | | * config/obj-ecoff.c (ecoff_frob_file): Likewise. * config/tc-mmix.c (mmix_frob_file): Likewise.
* bfd:Andreas Jaeger2002-01-043-178/+200
| | | | | | | | | | | | | | | * config.bfd (x86_64-*-netbsd*): New target. * configure.in (x86_64-*-netbsd*): Set COREFILE to netbsd-core.lo. * configure: Regenerated. gas: * configure.in (i386-*-netbsdelf*): Collapse target into... (i386-*-netbsd*): ...this. Add support for x86-64. * configure: Regenerated. ld: * configure.tgt (x86_64-*-netbsd*): New target.
* [gas/ChangeLog]Matthew Green2002-01-032-2/+6
| | | | | | | | * config/tc-ppc.c (md_parse_option): BookE is not Motorola specific. [include/opcode/ChangeLog] * ppc.h (PPC_OPCODE_BOOKE): BookE is not Motorola specific. (PPC_OPCODE_BOOKE64): Likewise.
* 2002-01-02 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2002-01-028-0/+293
| | | | | | | | | | | | | | | | | | | | | | | | | * ld-mips-elf/empic1-ln.d: New file to test basic linking of R_MIPS_GNU_REL_HI16 and R_MIPS_GNU_REL_LO16 relocations. * ld-mips-elf/empic1-lp.d: Likewise. * ld-mips-elf/empic1-mn.d: Likewise. * ld-mips-elf/empic1-mp.d: Likewise. * ld-mips-elf/empic1-sn.d: Likewise. * ld-mips-elf/empic1-sp.d: Likewise. * ld-mips-elf/empic1-ref.s: Likewise. * ld-mips-elf/empic1-space.s: Likewise. * ld-mips-elf/empic1-tgt.s: Likewise. * ld-mips-elf/empic2-fwd-0.d: New file to test R_MIPS_GNU_REL_HI16 and R_MIPS_GNU_REL_LO16 relocation edge cases. * ld-mips-elf/empic2-fwd-1.d: Likewise. * ld-mips-elf/empic2-rev-0.d: Likewise. * ld-mips-elf/empic2-rev-1.d: Likewise. * ld-mips-elf/empic2-ref.s: Likewise. * ld-mips-elf/empic2-space.s: Likewise. * ld-mips-elf/empic2-fwd-tgt.s: Likewise. * ld-mips-elf/empic2-rev-tgt.s: Likewise. * ld-mips-elf/mips-elf.exp: New file to run MIPS 32-bit ELF tests (including those above).
* Test for a NULL frag link.Nick Clifton2002-01-022-2/+7
|
* * config/tc-ia64.c (has_suffix_p): New.Richard Henderson2002-01-012-9/+24
| | | | (note_register_values): Use it instead of strstr.
* * config/tc-ia64.c (errata_nop_necessary_p): Prototype.Richard Henderson2002-01-012-2/+8
| | | | (make_unw_section_name): Constify local variables.
* * config/tc-hppa.c (pa_ip): Handle new 'c' mode completers,Jeff Law2001-12-312-2/+10
| | | | 'X', 'M', and 'A'.
* * elf32-sparc.c (_bfd_sparc_elf_howto_table): Fix dst_mask forJakub Jelinek2001-12-2112-4/+400
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | R_SPARC_DISP32. Support R_SPARC_PLT32. (sparc_reloc_map): Add BFD_RELOC_16_PCREL and BFD_RELOC_SPARC_PLT32. (elf32_sparc_check_relocs): Handle R_SPARC_PLT32. (elf32_sparc_relocate_section): Likewise. * elf64-sparc.c (sparc64_elf_howto_table): Fix dst_mask for R_SPARC_DISP32. Support R_SPARC_PLT32 and R_SPARC_PLT64. (sparc_reloc_map): Add BFD_RELOC_16_PCREL, BFD_RELOC_64_PCREL and BFD_RELOC_SPARC_PLT32. (sparc64_elf_check_relocs): Handle R_SPARC_PLT32 and R_SPARC_PLT64. (sparc64_elf_relocate_section): Likewise. * reloc.c (bfd_reloc_code_type): Add BFD_RELOC_SPARC_PLT32. * bfd-in2.h, libbfd.h: Rebuilt. * config/tc-sparc.h (TC_PARSE_CONS_EXPRESSION): Define. (sparc_cons): Provide prototype. * config/tc-sparc.c (tc_gen_reloc): Handle BFD_RELOC_*_PCREL and BFD_RELOC_SPARC_PLT{32,64}. Enumerate for which relocs reloc->addend = fixp->fx_addnumber shouldn't be done instead of enumarating for which pc relative ones it should be done. (sparc_cons_special_reloc): New variable. (sparc_cons): New function. (cons_fix_new_sparc): Use sparc_cons_special_reloc. * testsuite/gas/sparc/pcrel.s: New test. * testsuite/gas/sparc/pcrel.d: Expected output. * testsuite/gas/sparc/pcrel64.s: New test. * testsuite/gas/sparc/pcrel64.d: Expected output. * testsuite/gas/sparc/plt.s: New test. * testsuite/gas/sparc/plt.d: Expected output. * testsuite/gas/sparc/plt64.s: New test. * testsuite/gas/sparc/plt64.d: Expected output. * testsuite/gas/sparc/sparc.exp: Add pcrel, pcrel64, plt and plt64 tests.
* Use real binary file for .incbin testNick Clifton2001-12-214-50/+53
|
* 2001-12-20 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>Daniel Jacobowitz2001-12-202-2/+81
| | | | | | | | Daniel Jacobowitz <drow@mvista.com> * config/tc-mips.c (file_mips_gp32): Initialize to invalid value. (file_mips_fp32): Likewise. (md_begin): Compatibility handling for -mipsN option.
* * gas/sh/err-at.s: New test.Alexandre Oliva2001-12-202-0/+14
|
* * config/tc-sh.c (parse_at): Reject @(r0) and @(r0,).Alexandre Oliva2001-12-202-11/+28
|
* * config/tc-ppc.c (md_parse_option): Make -maltivec defaultMatthew Green2001-12-202-1/+11
| | | | to generating PowerPC instructions.
* * configure.in (mips-dec-netbsd*): Delete.Alan Modra2001-12-203-171/+172
| | | | * configure: Regenerate.
* * configure.in (arm-*-netbsdelf*): Add target.Alan Modra2001-12-203-186/+180
| | | | * configure: Regenerate.
* Remove redundant definition.Nick Clifton2001-12-182-3/+5
|
* Fix endian detection for configuration of sh-linux buildsNick Clifton2001-12-183-305/+323
| | | | Tidy up dates in ChangeLog.
* * config.bfd (m68*-*-netbsdelf*): New target.Matthew Green2001-12-183-172/+183
| | | | | | | | | | | | | | | | | | | | (m68*-*-netbsd): Also include bfd_elf32_m68k_vec. (m68*-*-netbsdaout*): New alias for m68*-*-netbsd. * configure.in (m68k-*-netbsdelf*): New target. (m68k-*-netbsd*): Also include ELF support. (m68k-*-netbsdaout*): New alias for m68*-*-netbsd*. * configure: Regenerate. * Makefile.am (ALL_EMULATIONS): Add m68kelfnbsd.o. (m68kelfnbsd.c): New rule. * Makefile.in: Regenerate. * configure.tgt (m68*-hp-netbsd*): Renamed to .. (m68*-*-netbsd*4k*): .. this. (m68*-*-netbsdelf*): New target. (m68*-*-netbsd*): Also include ELF support. (m68*-*-netbsdaout*): New alias for m68*-*-netbsd*. * emulparams/m68kelfnbsd.sh: New emulation.
* * gas/cris/rd-dw2-10.d: Tweak for change in gas dwarf2 line numberHans-Peter Nilsson2001-12-182-2/+6
| | | | handling.
* * addr2line.c (main): Protoype.Thiemo Seufer2001-12-182-0/+6
| | | | | | | | | | * ar.c (main): Protoype. * nm.c (main): Protoype. * objcopy.c (main): Protoype. * objdump.c (main): Protoype. * size.c (main): Protoype. * strings.c (main): Protoype. * gasp.c (main): Protoype.
* * config/tc-alpha.c (alpha_handle_align): Encode unop with RB as $sp.Richard Henderson2001-12-182-2/+6
|
* Fix compile time warning messages.Nick Clifton2001-12-173-1/+13
|
* * config/obj-elf.c (obj_elf_init_stab_section): References areAlan Modra2001-12-142-1/+6
| | | | kept to section name strings. Don't alloca them!
* * config/tc-d10v.c (get_operands): Mark OPERAND_PLUS afterAlexandre Oliva2001-12-122-2/+9
| | | | OPERAND_ATSIGN as O_absent.
* Resolve CVS conflict.Andreas Schwab2001-12-101-4/+1
|
* Index: bfd/ChangeLogGeoffrey Keating2001-12-0820-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.
* * gas/all/incbin.d: Update.Alan Modra2001-12-082-8/+9
|
* * gas/all/incbin.s: Add spaces before directives.Alan Modra2001-12-082-5/+9
|