aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
2004-07-16* config/tc-arm.c: Include include/opcode/arm.h.Richard Earnshaw4-79/+19
(ARM_EXT_*, ARM_ARCH_*, ARM_ANY, ARM_ALL, COPROC_ANY): Delete. (FPU_FPA_EXT_* FPU_VFP_EXT_*, FPU_ANY, FPU_NONE, FPU_MAVERICK): Delete. (FPU_ARCH_*): Delete. * Makefile.am: Update dependencies. * Makefile.in: Regenerate.
2004-07-16oops - omitted from previous deltaNick Clifton1-0/+13
2004-07-15Accept armbe as a big-endian arm configuration.Nick Clifton3-0/+7
2004-07-15gas/h8300/h8300.exp (do_h8300hn_addressgen): Addition of new test case forNick Clifton2-0/+37
H8300H normal target to check symbol address generation. gas/h8300/symaddgen.s: New test.
2004-07-13Add support for & | << >> ~ arithmetic operators in Intel modeNick Clifton6-9/+73
2004-07-13Delete vtable testsNick Clifton10-113/+5
2004-07-11 * config/tc-m68k.c: Convert to C90. Remove redundantAndreas Schwab2-383/+250
declarations. Indentation fixup. [M68KCOFF]: Include "obj-coff.h" instead of declaring obj_coff_section ourselves.
2004-07-09Make -meb/-mel options work.Jim Wilson2-3/+14
* config/tc-ia64.c (default_big_endian): New. (dot_byteorder, md_begin): Use it. (md_parse_option): Set it.
2004-07-09* gas/m32r/pic2.s: New file: Test case for @GOTOFF, @GOT, @PLT.Nick Clifton4-0/+120
* gas/m32r/pic2.d: New file: Expected results.
2004-07-09Rename sh-symbian-elf toolchain to sh-*-symbianelfNick Clifton5-3/+15
2004-07-08Remove superfluous stuff from 2004-07-03 entry.Richard Sandiford1-7/+0
2004-07-08 * config/tc-mips.c (mips_fix_adjustable): If the full addend isRichard Sandiford5-11/+42
going to be split into more than one in-place addend, return 0 for relocations against mergeable sections. Associate comments with code.
2004-07-07Add new port: crx-elfNick Clifton9-5/+2621
2004-07-06Add support for sh-symbian-elf targetNick Clifton5-0/+22
2004-07-06(output_file_create): Report the target format chosen when bfd_openw reportsNick Clifton2-1/+7
that it is invalid.
2004-07-06(coff_pseudo_table): Only define the weak pseudo for BFD based assemblers.Nick Clifton2-2/+8
2004-07-052004-06-30 Andrew Stubbs <andrew.stubbs@superh.com>Joern Rennecke2-14/+13
bfd: * elf32-sh.c: Include ../opcodes/sh-opc.h . * Makefile.am: Ran make dep-am . * Makefile.in: Ran make dep-in . gas: * config/tc-sh.c (md_assemble): Change isspace to ISSPACE. (md_parse_option): Remove redundant -isa testing. Make bfd_arch variable const. (md_show_usage): Make bfd_arch variable const.
2004-07-04Emit error for unaligned instructions.Jim Wilson3-0/+22
* config/tc-ia64.c (emit_one_bundle): Check and set insn_addr. * config/tc-ia64.h (md_frag_check): Define.
2004-07-032004-07-04 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>Christopher Faylor4-46/+114
* bfd/cofflink.c (_bfd_coff_generic_relocate_section): Resolve PE weak externals properly. * src/gas/config/obj-coff.c (obj_coff_weak): New .weak syntax for PE weak externals. * binutils/doc/binutils.texi (nm): Clarify weak symbol description. * gas/config/tc-i386.c (tc_gen_reloc): Use addend for weak symbols in TE_PE. * gas/doc/as.texinfo (Weak): Document PE weak symbols. * ld/ld.texinfo (WIN32): Document PE weak symbols.
2004-07-03 * config/tc-mips.c (HAVE_IN_PLACE_ADDENDS): New macro.Richard Sandiford9-80/+170
(reloc_needs_lo_p): Only return true if HAVE_IN_PLACE_ADDENDS. (mips_frob_file): Rework so that only a single pass through the relocs is needed. Allow %lo()s to have higher offsets than their corresponding %hi()s or %got()s. testsuite/ * gas/mips/elf{,el}-rel.d: Adjust so that the earliest %hi() matches the earliest %lo(). * gas/mips/elf-rel11.d: Don't expect the relocs to be reordered. * gas/mips/elf-rel20.[sd]: New test. * gas/mips/mips.exp: Run it.
2004-07-032004-07-03 Maciej W. Rozycki <macro@linux-mips.org>Richard Sandiford3-2/+6
* gas/mips/elf-rel9.[sd]: Fix typo in %lo() expression.
2004-07-02(md_apply_fix3:BFD_RELOC_ARM_IMMEDIATE): Do not allow values which have comeNick Clifton2-1/+21
from undefined symbols. Always consider this fixup to have been processed as a reloc cannot be generated for it.
2004-07-02 * frags.h (struct frag): Add has_code and insn_addr fields.Alan Modra5-5/+31
* write.c (cvt_frag_to_fill): Invoke md_frag_check. * config/tc-ppc.c (md_assemble): Check and set insn_addr. * config/tc-ppc.h (md_frag_check): Define.
2004-07-022004-07-01 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu4-0/+52
* gas/ia64/group-1.d: New. * gas/ia64/group-1.s: Likewise. * gas/ia64/ia64.exp: Add group-1 to test comdat group.
2004-06-30Adjust for "mov rX=imm" changes.Jim Wilson4-23/+29
* gas/ia64/dv-imply.d: Update. * gas/ia64/dv-mutex.d: Likewise. * gas/ia64/dv-safe.d: Likewise.
2004-06-29* doc/Makefile.am (info): Rename goal to...Maciej W. Rozycki3-9/+17
(info-local): ... this, to preserve implicit dependencies. * doc/Makefile.in: Regenerate with automake 1.8.5.
2004-06-29gas/testsuite:Joern Rennecke16-0/+716
Actually add these files: 2004-05-28 Andrew Stubbs <andrew.stubbs@superh.com> * testsuite/gas/sh/arch: New directory. * testsuite/gas/sh/arch/arch.exp: New test script. * testsuite/gas/sh/arch/arch_expected.txt: New file. * testsuite/gas/sh/arch/sh.s: New file. * testsuite/gas/sh/arch/sh2.s: New file. * testsuite/gas/sh/arch/sh-dsp.s: New file. * testsuite/gas/sh/arch/sh2e.s: New file. * testsuite/gas/sh/arch/sh3-nommu.s: New file. * testsuite/gas/sh/arch/sh3.s: New file. * testsuite/gas/sh/arch/sh3-dsp.s: New file. * testsuite/gas/sh/arch/sh3e.s: New file. * testsuite/gas/sh/arch/sh4-nommu-nofpu.s: New file. * testsuite/gas/sh/arch/sh4-nofpu.s: New file. * testsuite/gas/sh/arch/sh4.s: New file. * testsuite/gas/sh/arch/sh4a-nofpu.s: New file. * testsuite/gas/sh/arch/sh4al-dsp.s: New file. ld/testsuite: Actually add these files: 2004-05-28 Andrew Stubbs <andrew.stubbs@superh.com> * testsuite/ld-sh/arch/arch.exp: New test script. * testsuite/ld-sh/arch/arch_expected.txt: New file. * testsuite/ld-sh/arch/sh.s: New file. * testsuite/ld-sh/arch/sh2.s: New file. * testsuite/ld-sh/arch/sh-dsp.s: New file. * testsuite/ld-sh/arch/sh2e.s: New file. * testsuite/ld-sh/arch/sh3-nommu.s: New file. * testsuite/ld-sh/arch/sh3.s: New file. * testsuite/ld-sh/arch/sh3-dsp.s: New file. * testsuite/ld-sh/arch/sh3e.s: New file. * testsuite/ld-sh/arch/sh4-nommu-nofpu.s: New file. * testsuite/ld-sh/arch/sh4-nofpu.s: New file. * testsuite/ld-sh/arch/sh4.s: New file. * testsuite/ld-sh/arch/sh4a-nofpu.s: New file. * testsuite/ld-sh/arch/sh4al-dsp.s: New file. * testsuite/ld-sh/arch/sh4a.s: New file.
2004-06-29 * gas/m68k/mode5.s: Pad section.Alan Modra3-0/+7
* gas/m68k/mode5.d: Update.
2004-06-28opcodes/Alan Modra2-16/+20
* ppc-opc.c (insert_fxm): Handle mfocrf and mtocrf. (extract_fxm): Don't test dialect. (XFXFXM_MASK): Include the power4 bit. (XFXM): Add p4 param. (powerpc_opcodes): Add mfocrf and mtocrf. Adjust mtcr. gas/testsuite/ * gas/ppc/power4.d: Update.
2004-06-25Add support for M32R GOT relocsNick Clifton4-23/+278
2004-06-23include/opcode/Alan Modra3-23/+25
* i386.h (i386_optab): Remove fildd, fistpd and fisttpd. opcodes/ * i386-dis.c (x_mode): Comment. (two_source_ops): File scope. (float_mem): Correct fisttpll and fistpll. (float_mem_mode): New table. (dofloat): Use it. (OP_E): Correct intel mode PTR output. (ptr_reg): Use open_char and close_char. (PNI_Fixup): Handle possible suffix on sidt. Use op1out etc. for operands. Set two_source_ops. gas/testsuite/ * gas/i386/prescott.s: Remove fisttpd and fisttpq. * gas/i386/prescott.d: Update.
2004-06-21* gas/symbols.c: While discarding ordinary local absolute symbolsNick Clifton2-1/+8
when --strip-local-absolute is in effect, retain file symbols.
2004-06-20 * config/tc-m68k.c (mri_chip): Replace current_chip, not augment.Andreas Schwab2-2/+7
(md_parse_option): Likewise.
2004-06-18* config/tc-i386.c: Deal with LEX_QM the same way as with LEX_AT.Nick Clifton1-0/+28
* config/te-netware.h: New file. * config/te-ppcnw.h: Delete: Obsolete. * configure.in: Eliminate ill NetWare targets. Make generic NetWare target use proper emulation. * Makefile.am: Eliminate reference to obsolete te-ppcnw.h, add reference to new te-netware.h. * configure: Regenerate. * Makefile.in: Regenerate.
2004-06-18* config/tc-i386.c: Deal with LEX_QM the same way as with LEX_AT.Nick Clifton7-43/+27
* config/te-netware.h: New file. * config/te-ppcnw.h: Delete: Obsolete. * configure.in: Eliminate ill NetWare targets. Make generic NetWare target use proper emulation. * Makefile.am: Eliminate reference to obsolete te-ppcnw.h, add reference to new te-netware.h. * configure: Regenerate. * Makefile.in: Regenerate.
2004-06-15 * config/tc-s390.c (s390_insn): Avoid incorrect signed/unsignedMartin Schwidefsky2-3/+8
comparison in .insn pseudo operation.
2004-06-15 * config/obj-coff.c (coff_adjust_section_syms): UseAlan Modra4-10/+22
bfd_get_section_size instead of bfd_get_section_size_before_reloc. (coff_frob_section): Likewise. * config/tc-mips.c (md_apply_fix3): Likewise. * config/obj-elf.c (elf_frob_file): Use bfd_set_section_size. (elf_frob_file_after_relocs): Likewise.
2004-06-11 * config/tc-hppa.c (log2): Rename to exact_log2.Dave Anglin2-21/+18
(pa_next_subseg): Delete unused function. (create_new_space): Mark unused arguments with ATTRIBUTE_UNUSED. (create_new_subspace): Likewise.
2004-06-11 Bug gas/213Dave Anglin2-2/+15
* config/tc-hppa.c (hppa_fix_adjustable): Allow reduction of fake labels. Fix warning.
2004-06-08opcodes/Jakub Jelinek3-1/+37
* ia64-gen.c (in_iclass): Handle more postinc st and ld variants. * ia64-asmtab.c: Rebuilt. gas/testsuite/ * gas/ia64/dv-raw-err.s: Add some new postinc tests. * gas/ia64/dv-raw-err.l: Updated.
2004-05-28* config/tc-mn10300.h (tc_fix_adjustable): Define.DJ Delorie3-2/+17
* config/tc-mn10300.c (mn10300_fix_adjustable): Don't adjust debug or non-merged symbols.
2004-05-282004-05-28 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-10/+11
* config/tc-ia64.c (remove_marked_resource): Save, clear and restore the old slot when inserting srlz.i/srlz.d.
2004-05-282004-05-28 Andrew Stubbs <andrew.stubbs@superh.com>Joern Rennecke4-54/+94
bfd: * Makefile.am: Regenerate dependencies. * Makefile.in: Regenerate. * archures.c: Add bfd_mach_sh3_nommu . * bfd-in2.h: Regenerate. * cpu-sh.c: Add sh3-nommu architecture. (bfd_to_arch_table): Create new table. (sh_get_arch_from_bfd_mach): Create new function. (sh_get_arch_up_from_bfd_mach): Create new function. (sh_merge_bfd_arch): Create new function. * elf32-sh.c (sh_ef_bfd_table): Add table. (sh_elf_check_relocs): Replace switch statement with use of sh_ef_bfd_table . (sh_elf_get_flags_from_mach): Add new function. (sh_find_elf_flags): Likewise. (sh_elf_copy_private_data): Replace most of non-elf contents with a call to sh_merge_bfd_arch() . gas: * Makefile.am: Regenerate dependecies. * Makefile.in: Regenerate. * config/tc-sh.c (valid_arch): Make unsigned. (preset_target_arch): Likewise. (md_begin): Use new architecture flags system. (get_specific): Likewise. (assemble_ppi): Likewise. (md_assemble): Likewise. Also fix error check for bad opcodes. (md_parse_option): Likewise. Also generate -isa values according to the table in bfd/cpu-sh.c instead of just constants. Also allow <arch>-up ISA variants. (sh_elf_final_processing): Replace if-else chain with a call to sh_find_elf_flags(). * testsuite/gas/sh/arch: New directory. * testsuite/gas/sh/arch/arch.exp: New test script. * testsuite/gas/sh/arch/arch_expected.txt: New file. * testsuite/gas/sh/arch/sh.s: New file. * testsuite/gas/sh/arch/sh2.s: New file. * testsuite/gas/sh/arch/sh-dsp.s: New file. * testsuite/gas/sh/arch/sh2e.s: New file. * testsuite/gas/sh/arch/sh3-nommu.s: New file. * testsuite/gas/sh/arch/sh3.s: New file. * testsuite/gas/sh/arch/sh3-dsp.s: New file. * testsuite/gas/sh/arch/sh3e.s: New file. * testsuite/gas/sh/arch/sh4-nommu-nofpu.s: New file. * testsuite/gas/sh/arch/sh4-nofpu.s: New file. * testsuite/gas/sh/arch/sh4.s: New file. * testsuite/gas/sh/arch/sh4a-nofpu.s: New file. * testsuite/gas/sh/arch/sh4al-dsp.s: New file. * testsuite/gas/sh/arch/sh4a.s: New file. include/elf: * sh.h (EF_SH_HAS_DSP): Remove. (EF_SH_HAS_FP): Remove. (EF_SH_MERGE_MACH): Remove. (EF_SH4_NOFPU): Convert to decimal. (EF_SH4A_NOFPU): Likewise. (EF_SH4_NOMMU_NOFPU): Likewise. (EF_SH3_NOMMU): Add new macro. (EF_SH_BFD_TABLE): Likewise. (sh_find_elf_flags): Add prototype. (sh_elf_get_flags_from_mach): Likewise. opcodes: * sh-dis.c (target_arch): Make unsigned. (print_insn_sh): Replace (most of) switch with a call to sh_get_arch_from_bfd_mach(). Also use new architecture flags system. * sh-opc.h: Redefine architecture flags values. Add sh3-nommu architecture. Reorganise <arch>_up macros so they make more visual sense. (SH_MERGE_ARCH_SET): Define new macro. (SH_VALID_BASE_ARCH_SET): Likewise. (SH_VALID_MMU_ARCH_SET): Likewise. (SH_VALID_CO_ARCH_SET): Likewise. (SH_VALID_ARCH_SET): Likewise. (SH_MERGE_ARCH_SET_VALID): Likewise. (SH_ARCH_SET_HAS_FPU): Likewise. (SH_ARCH_SET_HAS_DSP): Likewise. (SH_ARCH_UNKNOWN_ARCH): Likewise. (sh_get_arch_from_bfd_mach): Add prototype. (sh_get_arch_up_from_bfd_mach): Likewise. (sh_get_bfd_mach_from_arch_set): Likewise. (sh_merge_bfd_arc): Likewise. ld: * testsuite/ld-sh/arch/arch.exp: New test script. * testsuite/ld-sh/arch/arch_expected.txt: New file. * testsuite/ld-sh/arch/sh.s: New file. * testsuite/ld-sh/arch/sh2.s: New file. * testsuite/ld-sh/arch/sh-dsp.s: New file. * testsuite/ld-sh/arch/sh2e.s: New file. * testsuite/ld-sh/arch/sh3-nommu.s: New file. * testsuite/ld-sh/arch/sh3.s: New file. * testsuite/ld-sh/arch/sh3-dsp.s: New file. * testsuite/ld-sh/arch/sh3e.s: New file. * testsuite/ld-sh/arch/sh4-nommu-nofpu.s: New file. * testsuite/ld-sh/arch/sh4-nofpu.s: New file. * testsuite/ld-sh/arch/sh4.s: New file. * testsuite/ld-sh/arch/sh4a-nofpu.s: New file. * testsuite/ld-sh/arch/sh4al-dsp.s: New file. * testsuite/ld-sh/arch/sh4a.s: New file.
2004-05-28Convert mode 5 addressing with zero offset into mode 2 addressing to save aNick Clifton6-0/+44
word.
2004-05-28gas/H.J. Lu4-46/+93
2004-05-27 H.J. Lu <hongjiu.lu@intel.com> * config/tc-ia64.c (ar_is_in_integer_unit): Removed. (ar_is_only_in_integer_unit): New. (ar_is_only_in_memory_unit): New. (generate_unwind_image): Silence gcc on 32bit host. (md_assemble): Use ar_is_only_in_integer_unit instead of ar_is_in_integer_unit. Check AR access. gas/testsuite 2004-05-27 H.J. Lu <hongjiu.lu@intel.com> * gas/ia64/regs.d: Updated.
2004-05-27Sort m68k opcodes into alphabetical orderNick Clifton2-32/+72
2004-05-262004-05-26 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu4-0/+267
* gas/ia64/ia64.exp: Run invalid-ar. * gas/ia64/invalid-ar.l: New file. Test invalid AR access. * gas/ia64/invalid-ar.s: Likewise.
2004-05-24Reorganise m68k instruction decoding and improve handling of MAC/EMACNick Clifton6-8366/+8499
2004-05-23 * expr.c (operand, operator): Don't reject '++' and '--'.Alan Modra2-6/+13
2004-05-202004-05-20 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+5
* gas/ia64/dv-srlz.d: Fix a typo.