aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
2004-07-29include/elf/ChangeLog:Alexandre Oliva6-4/+398
Introduce SH2a support. 2004-02-18 Corinna Vinschen <vinschen@redhat.com> * sh.h (EF_SH2A_NOFPU): New. 2003-12-01 Michael Snyder <msnyder@redhat.com> * sh.h (EF_SH2A): New. bfd/ChangeLog: Introduce SH2a support. 2004-02-18 Corinna Vinschen <vinschen@redhat.com> * archures.c (bfd_mach_sh2a_nofpu): New. * bfd-in2.h: Rebuilt. * cpu-sh.c (SH2A_NOFPU_NEXT): New. (arch_info_struct): Add sh2a_nofpu. * elf32-sh.c (sh_elf_set_mach_from_flags): Handle sh2a_nofpu. 2003-12-29 DJ Delorie <dj@redhat.com> * reloc.c: Add relocs for sh2a. * bfd-in2.h: Regenerate. * libbfd.hh: Regenerate. 2003-12-01 Michael Snyder <msnyder@redhat.com> * archures.c (bfd_mach_sh2a): New. * bfd-in2.h: Rebuilt. * cpu-sh.c (SH_NEXT, SH2_NEXT, etc.): Change defines to enums. (SH2A_NEXT): New. (arch_info_struct): Add sh2a. * elf32-sh.c (sh_elf_set_mach_from_flags): Handle sh2a. binutils/ChangeLog: * readelf.c (get_machine_flags <EM_SH>): Handle EF_SH2A and EF_SH2A_NOFPU. gas/ChangeLog: Introduce SH2a support. 2004-02-24 Corinna Vinschen <vinschen@redhat.com> * config/tc-sh.c (get_specific): Change arch_sh2a_up to arch_sh2a_nofpu_up. 2004-02-24 Corinna Vinschen <vinschen@redhat.com> * config/tc-sh.c (md_parse_option): Add sh2a-nofpu ISA handling. 2004-02-20 Corinna Vinschen <vinschen@redhat.com> * config/tc-sh.c (sh_elf_final_processing): Move sh2a recognition to end of conditional expression. 2004-02-20 Corinna Vinschen <vinschen@redhat.com> * config/tc-sh.c: Add sh2a-nofpu support. 2003-12-29 DJ Delorie <dj@redhat.com> * tc-sh.c: Add sh2a support. (parse_reg): Add tbr. (parse_at): Support @@(disp,tbr). (get_specific): Support sh2a opcodes. (insert4): New, for 4 byte relocs. (build_Mytes): Support sh2a opcodes. (md_apply_fix3_Mytes): Support sh2a opcodes. 2003-12-02 Michael Snyder <msnyder@redhat.com> * config/tc-sh.c (md_parse_option): Handle sh2a. (sh_elf_final_processing): Ditto. gas/testsuite/ChangeLog: 2003-12-30 DJ Delorie <dj@redhat.com> * gas/sh/sh2a.s: New. * gas/sh/sh2a.d: New. * gas/sh/basic.exp: Add it.
2004-07-29bfd:Jason Thorpe1-0/+5
* config.bfd (hppa*-*-netbsd*): Set targ_defvec to bfd_elf32_hppa_nbsd_vec. Add bfd_elf32_hppa_linux_vec to targ_selvecs. * configure.in (bfd_elf32_hppa_nbsd_vec): Add case. * configure: Regenerate. * elf32-hppa.c (elf32_hppa_object_p): Add "elf32-hppa-netbsd" case that accepts OSABI=NetBSD and OSABI=SysV. (elf32_hppa_set_gp): For "elf32-hppa-netbsd", set the GP to the base of .got or .data (if .got does not exist). (elf32_hppa_post_process_headers): For elf32-hppa-netbsd, set OSABI=NetBSD. (TARGET_BIG_SYM): Add bfd_elf32_hppa_nbsd_vec case. (TARGET_BIG_NAME): Add "elf32-hppa-netbsd" case. * targets.c (bfd_elf32_hppa_nbsd_vec): Add extern declaration. (_bfd_target_vector): Add bfd_elf32_hppa_nbsd_vec. gas: * config/tc-hppa.h (TARGET_FORMAT): Set to "elf32-hppa-netbsd" for TE_NetBSD. ld: * emulparams/hppanbsd.sh (OUTPUT_FORMAT): Set to "elf32-hppa-netbsd".
2004-07-27bfd:Jason Thorpe1-1/+5
* config.bfd (hppa*-*-netbsd*): Set targ_defvec to bfd_elf32_hppa_nbsd_vec. Add bfd_elf32_hppa_linux_vec to targ_selvecs. * configure.in (bfd_elf32_hppa_nbsd_vec): Add case. * configure: Regenerate. * elf32-hppa.c (elf32_hppa_object_p): Add "elf32-hppa-netbsd" case that accepts OSABI=NetBSD and OSABI=SysV. (elf32_hppa_set_gp): For "elf32-hppa-netbsd", set the GP to the base of .got or .data (if .got does not exist). (elf32_hppa_post_process_headers): For elf32-hppa-netbsd, set OSABI=NetBSD. (TARGET_BIG_SYM): Add bfd_elf32_hppa_nbsd_vec case. (TARGET_BIG_NAME): Add "elf32-hppa-netbsd" case. * targets.c (bfd_elf32_hppa_nbsd_vec): Add extern declaration. (_bfd_target_vector): Add bfd_elf32_hppa_nbsd_vec. gas: * config/tc-hppa.h (TARGET_FORMAT): Set to "elf32-hppa-netbsd" for TE_NetBSD. ld: * emulparams/hppanbsd.sh (OUTPUT_FORMAT): Set to "elf32-hppa-netbsd".
2004-07-27Remove the leading space.H.J. Lu1-1/+1
2004-07-27 * config/tc-ppc.c (ppc_frob_file_before_adjust): Warn if .toc too big.Alan Modra2-1/+13
(ppc_arch): Expand comment.
2004-07-27Add CRX insns: pushx, popxNick Clifton8-19/+89
Add support to GAS for expressions which are the difference of two symbols
2004-07-26bfd/H.J. Lu2-0/+12
2004-07-26 H.J. Lu <hongjiu.lu@intel.com> * elf-bfd.h (bfd_elf_section_data): Add a pointer for the linked-to section. (elf_linked_to_section): New. * elf.c (assign_section_numbers): Set up sh_link for SHF_LINK_ORDER. * elfxx-ia64.c (elfNN_ia64_final_write_processing): Set sh_info to sh_link for SHT_IA_64_UNWIND sections. gas/ 2004-07-26 H.J. Lu <hongjiu.lu@intel.com> * config/tc-ia64.c (start_unwind_section): Set the linked-to section. (ia64_elf_section_change_hook): Set the linked-to section for SHT_IA_64_UNWIND.
2004-07-26Add new subtargets: msp430x1610, msp430x1611, msp430x1612, msp430x415,Nick Clifton2-4/+21
msp430x417, msp430xG437, msp430xG438, msp430xG439.
2004-07-26 * doc/as.texinfo (Section, PushSection): Correct documentationDaniel Jacobowitz2-7/+12
for ELF.
2004-07-222004-07-22 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-39/+43
* gas/i386/x86-64-inval.l: Remove the leading `+'.
2004-07-22Fix for PR 280 - remove duplicated raw insn output fron h8300/h8500 ↵Nick Clifton8-225/+236
disassemblers
2004-07-22oops - omitted from previous deltaNick Clifton1-0/+39
2004-07-21For DefaultSize instructions, don't guess a 'q' suffix if the instructionNick Clifton5-29/+118
doesn't support it.
2004-07-21Corrections for x86_64 assembly.Nick Clifton9-67/+115
2004-07-20* gas/mips/elf-rel19.d: Pass -march=mips1 to gas as the testMaciej W. Rozycki2-1/+6
expects load delay slots.
2004-07-20opcodes/Maciej W. Rozycki2-1/+6
* mips-opc.c (mips_builtin_opcodes): Move coprocessor 2 move/branch operations to the bottom so that VR5400 multimedia instructions take precedence in disassembly. gas/testsuite/ * gas/mips/vr5400.d: Update for a correct disassembly of "racm.ob".
2004-07-20* config/tc-mips.c (append_insn): Handle constant expressions withMaciej W. Rozycki2-8/+18
no associated relocation. (mips_ip): Cancel the expression after use for the Q format specifier. (parse_relocation): Return no relocation for unsupported operators. (my_getSmallExpression): Return no relocation if no relocation operators are used.
2004-07-20opcodes/Maciej W. Rozycki5-206/+228
* mips-opc.c (mips_builtin_opcodes): Remove the MIPS32 ISA-specific "break" encoding. gas/testsuite/ * gas/mips/mips32.s: Adjust for the unified "break" syntax. Add another "break" case. Update the comment accordingly. * gas/mips/set-arch.s: Likewise. * gas/mips/mips32.d: Adjust for the new output. * gas/mips/set-arch.d: Likewise.
2004-07-20 * config/obj-som.c (adjust_stab_sections): Add prototype.Dave Anglin4-11/+27
(obj_som_compiler, obj_som_version, obj_som_copyright, adjust_stab_sections): Add ATTRIBUTE_UNUSED to unused arguments. * config/tc-hppa.c (update_subspace): Likewise. (is_defined_subspace): Amplify comment. * config/obj-som.h (som_frob_file): Add prototype.
2004-07-192004-07-19 Christopher Faylor <cgf@timesys.com>H.J. Lu2-7/+13
H.J. Lu <hongjiu.lu@intel.com> * subsegs.c (section_symbol): Don't create a new segment when existing segment is undefined.
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