aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
2004-08-27cpu/Richard Sandiford4-0/+23
* frv.cpu (cfmovs): Change UNIT attribute to FMALL. opcodes/ * frv-desc.[ch], frv-opc.[ch]: Regenerated. gas/testsuite/ * gas/frv/fr550-pack1.[sd]: New test. * gas/frv/allinsn.exp: Run it.
2004-08-27Allow pcrel test for COFF targets as well, but not for PE targets.Nick Clifton2-2/+12
Similarly for the absrel test.
2004-08-27* gas/i386/i386.exp: Group ELF specific tests together. Move the pcrelNick Clifton2-15/+13
test into the ELF only section. Use is_elf_format to test for ELF based toolchains.
2004-08-252004-08-25 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+5
* gas/all/gas.exp: Use `string match ""' instead of `eq ""'.
2004-08-25Apply Dmitry Diky's patches to add relaxation to msp430.Nick Clifton4-656/+1385
2004-08-24* as.c (std_shortopts): Allow -g to take an optional argument.Nick Clifton2-4/+9
(parse_args): Pass any switch starting with -g on to the backend for parsing.
2004-08-24altmacro.[sd]: Split out part from here...Nick Clifton7-3/+47
altmac2.[sd]: ... to here. excl.s: New. gas.exp: Suppress both tests for a few targets known to break. Run the new (split out) test only when the target doesn't use '!' as a comment character.
2004-08-19 * configure.in (arm*-*-symbianelf*): New target.Mark Mitchell3-0/+10
(arm*-*-eabi*): Likewise. * configure: Regenerated.
2004-08-18* config/tc-mips.c (append_insn): Handle delay slots in branch likelyThiemo Seufer6-0/+40
correctly.
2004-08-18 * config/tc-ia64.c (start_unwind_section): Add linkonce_emptyJakub Jelinek2-4/+21
argument, don't do anything if current section is not .gnu.linkonce.t.* and linkonce_empty is set. (generate_unwind_image, dot_endp): Adjust callers, call start_unwind_section (*, 1) if nothing will be put into the section.
2004-08-18Remove #NO_APP, accidentally committed as part of another patch.Nick Clifton2-1/+5
2004-08-17Add support for a -g switch to GASNick Clifton11-203/+259
2004-08-16(macro_set_alternate): Use ISO C90 formatting.Nick Clifton2-2/+3
2004-08-16Sort architecture based tables alphabetically.Nick Clifton3-34/+49
2004-08-16altmacro.d: Allow for rest of frag being padded to an alignment boundary.Nick Clifton3-2/+9
arm.exp: Run bignum test for ELF based targets only.
2004-08-16 * config/tc-ppc.c (tc_ppc_regname_to_dw2regnum <regnames>): ReplaceAlan Modra2-1/+6
{ "cc", 68 }, with { "cr", 70 }.
2004-08-16binutils/Alan Modra12-61/+75
* readelf.c (debug_apply_rela_addends): New function, extracted from.. (display_debug_info): ..here. (display_debug_frames): Call debug_apply_rela_addends. Don't do DW_EH_PE_pcrel adjustment for ET_REL. gas/testsuite/ * gas/cfi/cfi-alpha-1.d: Adjust for readelf fix. * gas/cfi/cfi-alpha-3.d: Likewise. * gas/cfi/cfi-i386.d: Likewise. * gas/cfi/cfi-m68k.d: Likewise. * gas/cfi/cfi-ppc-1.d: Likewise. * gas/cfi/cfi-s390-1.d: Likewise. * gas/cfi/cfi-s390x-1.d: Likewise. * gas/cfi/cfi-sh-1.d: Likewise. * gas/cfi/cfi-sparc-1.d: Likewise. * gas/cfi/cfi-sparc64-1.d: Likewise. * gas/cfi/cfi-x86_64.d: Likewise.
2004-08-13Add and handle new --alternate command line option.Nick Clifton11-12/+164
2004-08-11 * expr.c (operand): Handle the "~", "-", and "!" operators appliedMark Mitchell5-0/+41
to bignums. * gas/arm/bignum1.s: New test. * gas/arm/arm.exp: Run it.
2004-08-06bfd/Paul Brook5-0/+22
* elfarm-nabi.c (elf32_arm_howto_table): Add new EABI relocations. (elf32_arm_reloc_map): Add BFD_RELOC_ARM_RELABS32, BFD_RELOC_ARM_ROSEGREL32 and BFD_RELOC_ARM_SBREL32. * reloc.c: Add BFD_RELOC_ARM_RELABS32, BFD_RELOC_ARM_ROSEGREL32 and BFD_RELOC_ARM_SBREL32. * bfd-in2.h, bbfd.h: Regenerate. gas/ * config/tc-arm.c (md_apply_fix3, tc_gen_reloc, arm_parse_reloc): Handle new relocations. * include/elf/arm.h (elf_arm_reloc_type): Add new EABI relocations. gas/testsuite/ * gas/arm/pic.s,d: Test RELABS and SBREL relocations.
2004-08-05 * write.c (relax_segment): Use was_address instead of address whenBob Wilson2-1/+6
setting fr_fix field for align frag due to backwards .org.
2004-08-05Addition of new test case to check rx generation with adds and subs instructionNick Clifton3-0/+56
for plain H8/300 target.
2004-08-01 * gas/m68hc11/m68hc11.exp: Fix tests for 2.15Stephane Carrez4-3/+10
* gas/elf/elf.exp: Test obj-elf for m6811-* and m6812-* * gas/symver/symver.exp: Likewise for symver tests.
2004-07-30Added new instructions for next version of VIA PadLock core.Michal Ludvig3-0/+17
2004-07-30[gas/testsuite]Kaz Kojima3-2/+8
* gas/sh/basic.exp: Don't do sh2a test for sh5. * gas/sh/sh2a.d: Match elf32-sh* format too. [ld/testsuite] * ld-sh/sh64/crange3-cmpct.rd: Update. * ld-sh/sh64/crange3-media.rd: Update.
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