aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
2000-02-17bfd:Joern Rennecke3-38/+625
Reinstate bits of sh4 support that got accidentally deleted. Add sh-dsp support. bfd: * archures.c (bfd_mach_sh2, bfd_mach_sh_dsp): New macros. (bfd_mach_sh3_dsp): Likewise. (bfd_mach_sh4): Reinstate. (bfd_default_scan): Recognize 7410, 7708, 7729 and 7750. * bfd-in2.h: Regenerate. * coff-sh.c (struct sh_opcode): flags is no longer short. (USESAS, USESAS_REG, USESR8, SETSAS, SETSAS_REG): New macros. (sh_opcode41, sh_opcode42): Integrate as sh_opcode41. (sh_opcode01, sh_opcode02, sh_opcode40): Add sh-dsp opcodes. (sh_opcode41, sh_opcode4, sh_opcode80): Likewise. (sh_opcodes): No longer const. (sh_dsp_opcodef0, sh_dsp_opcodef): New arrays. (sh_insn_uses_reg): Check for USESAS and USESR8. (sh_insn_sets_reg, sh_insns_conflict): Check for SETSAS. (_bfd_sh_align_load_span): Return early for SH4. Modify sh_opcodes lookup table for sh-dsp / sh3-dsp. Take into account that field b of a parallel processing insn could be mistaken for a separate insn. * cpu-sh.c (arch_info_struct): New array elements for sh2, sh-dsp and sh3-dsp. Reinstate element for sh4. (SH2_NEXT, SH_DSP_NEXT, SH3_DSP_NEXT): New macros. (SH4_NEXT): Reinstate. (SH3_NEXT, SH3E_NEXT): Adjust. * elf-bfd.h (_sh_elf_set_mach_from_flags): Declare. * elf32-sh.c (sh_elf_set_private_flags): New function. (sh_elf_copy_private_data, sh_elf_set_mach_from_flags): Likewise. (sh_elf_merge_private_data): New function. (elf_backend_object_p, bfd_elf32_bfd_set_private_bfd_flags): Define. (bfd_elf32_bfd_copy_private_bfd_data): Define. (bfd_elf32_bfd_merge_private_bfd_data): Change to sh_elf_merge_private_data. gas: * config/tc-sh.c ("elf/sh.h"): Include. (sh_dsp, valid_arch, reg_x, reg_y, reg_efg): New static variables. (md.begin): Initialize target_arch. Only include opcodes in has table that match selected architecture. (parse_reg): Recognize register names for sh-dsp. (parse_at): Recognize post-modify addressing. (get_operands): The leading space is now optional. (get_specific): Remove FDREG_N support. Add support for sh-dsp arguments. Update valid_arch. (build_Mytes): Add support for SDT_REG_N. (find_cooked_opcode): New function, broken out of md_assemble. (assemble_ppi, sh_elf_final_processing): New functions. (md_assemble): Use find_cooked_opcode and assemble_ppi. (md_longopts, md_parse_option): New option: -dsp. * config/tc-sh.h (elf_tc_final_processing): Define. (sh_elf_final_processing): Declare. include/elf: * sh.h: (EF_SH_MACH_MASK, EF_SH_UNKNOWN, EF_SH1, EF_SH2): New macros. (EF_SH3, EF_SH_HAS_DSP, EF_SH_DSP, EF_SH3_DSP): Likewise. (EF_SH_HAS_FP, EF_SH3E, EF_SH4, EF_SH_MERGE_MACH): Likewise. opcodes: * sh-dis.c (print_movxy, print_insn_ddt, print_dsp_reg): New functions. (print_insn_ppi): Likewise. (print_insn_shx): Use info->mach to select appropriate insn set. Add support for sh-dsp. Remove FD_REG_N support. * sh-opc.h (sh_nibble_type): Add new values for sh-dsp support. (sh_arg_type): Likewise. Remove FD_REG_N. (sh_dsp_reg_nums): New enum. (arch_sh1, arch_sh2, arch_sh3, arch_sh3e, arch_sh4): New macros. (arch_sh_dsp, arch_sh3_dsp, arch_sh1_up, arch_sh2_up): Likewise. (arch_sh3_up, arch_sh3e_up, arch_sh4_up, arch_sh_dsp_up): Likewise. (arch_sh3_dsp_up): Likewise. (sh_opcode_info): New field: arch. (sh_table): Split up insn with FD_REG_N into ones with F_REG_N and D_REG_N. Fill in arch field. Add sh-dsp insns.
2000-02-11 * config/tc-hppa.c (pa_build_unwind_subspace): Use subseg_new to createJeff Law2-3/+9
the unwinder subspace. Save the current seg/subseg before creating the new seg/subseg.
2000-02-10Add support for M340Nick Clifton3-6/+198
2000-02-10Check label validity with TC_START_LABEL_WITHOUT_COLON if defined.Timothy Wall2-1/+11
2000-02-10New preprocessor options.Timothy Wall3-3/+53
2000-02-08NUMBERS_WITH_SUFFIX *doesn't* want to handle 'x', since that is validTimothy Wall1-1/+1
when the 0x prefix is used.
2000-02-08Remove redundant code for checking numbers with suffixes. AddTimothy Wall4-28/+53
functionality to break out of assembler loops.
2000-02-08Add handling for numbers with suffixed radix.Timothy Wall4-8/+47
2000-02-08changelog for elseif additionTimothy Wall1-0/+7
2000-02-08New elseif directive has been added.Timothy Wall5-0/+97
2000-02-04Remove conditionals causing a bug in listings.Timothy Wall2-14/+5
2000-02-03octets vs bytes changes for GASTimothy Wall8-43/+120
2000-02-02Fix bug in stabs filename encoding where backslashes are present.Timothy Wall2-2/+27
2000-01-31Add ATPCS register naming supportNick Clifton5-33/+54
2000-01-31* config/obj-coff.h (OBJ_COPY_SYMBOL_ATTRIBUTES): Don't define ifGeoffrey Keating4-6/+31
already defined. * config/tc-ppc.h [OBJ_XCOFF] (OBJ_COPY_SYMBOL_ATTRIBUTES): New macro. * config/tc-ppc.c (ppc_fix_adjustable): Don't look at the frag of a symbol when we really care about its value.
2000-01-31Cathc unwanted text after instructionsNick Clifton2-7/+29
2000-01-27Apply Thoams de Lellis's patch to fic disassembly of Thumb instructions whenNick Clifton2-5/+14
bounded by non-function labels.
2000-01-26Make copyright date lists comply with GNU requirementAlan Modra2-22/+23
2000-01-26This set of patches add support for aout emulation on the x86Alan Modra22-688/+1133
assembler. ie. You will be able to do "as --em=i386aout" on an x86 linux-elf assembler to generate aout format object files, rather than using a separate assembler. The aout emulation is enabled by giving "--enable-targets=i386-linuxaout" to configure. Oh yeah, there's a couple of fixes too. Error messages shouldn't be passed to printf in the format arg just in case someone puts a `%' in the message.
2000-01-21Fix gas x86 testsuite for a.outAlan Modra4-7/+13
2000-01-21gas/testsuite/ChangeLogAlan Modra8-187/+175
* gas/i386/general.{s,l}: Move 16 bit jmp and call tests from here * gas/i386/jump16.{s,d}: To here. * gas/i386/jump.{s,d}: New files. Duplicate 32 bit jmp and call tests in general.s so that objdump is exercised. * gas/i386/i386.exp: Call new tests.
2000-01-15Cosmetic changes to tc-i386.[ch] + extend x86 gas testsuite jmp andAlan Modra6-62/+224
call tests + tweak intel mode far call and jmp.
2000-01-15Add jmp and call tests to prevent intel mode lossage creeping in again.Alan Modra3-2/+87
2000-01-142000-01-13 Clinton Popetz <cpopetz@cygnus.com>Clinton Popetz3-0/+38
* config/tc-mips.c (mips_do_align): New function. * config/tc-mips.h (md_do_align): Define.
2000-01-10fixup ARM documentationNick Clifton3-3/+24
2000-01-10Add arm-conix targetNick Clifton3-2/+11
2000-01-03ELF visibility patch from Martin LoewisNick Clifton3-0/+93
1999-12-27x86 indirect jump/call syntax fixes. Disassembly fix for lcall.Alan Modra2-8/+14
1999-12-22fix formattingNick Clifton1-6/+5
1999-12-22Apply patch from Philip Blundell to allow .previous to work for arm-elfNick Clifton2-1/+15
1999-12-14Add support for -marm720 command line switchNick Clifton2-0/+6
1999-12-01Tue Nov 30 23:02:01 1999 Jeffrey A Law (law@cygnus.com)Jeff Law10-0/+1230
* gas/mn10300/{am33.s, am33_2.s, am33_3.s}: New test files. * gas/mn10300/{am33_4.s, am33_5.s, am33_6.s}: Likewise. * gas/mn10300/{am33_7.s, am33_8.s}: Likewise. * gas/mn10300/basic.exp: Run the am33 tests.
1999-12-01 * config/tc-mn10300.c (md_pseudo_table): Add ".am33" pseudo-op.Jeff Law2-0/+356
(r_registers, xr_registers): Define. (r_register_name, xr_register_name): New functions. (md_assemble): Handle new am33 operand types and instruction formats. (mn10300_insert_operand, check_operand): Likewise.
1999-11-29Fix .force_thumbNick Clifton2-5/+13
1999-11-29Add support for !literal and !lituse_baseMichael Meissner3-105/+1079
1999-11-25 * config/tc-hppa.c (pa_ip): Handle PA2.0 unit completers. HandleJeff Law2-0/+43
'B' operand for PA2.0 bb instruction.
1999-11-18Fix generation of RVA relocsNick Clifton3-1/+17
1999-11-16* config/tc-i386.c (i386_immediate): Disallow O_big immediates.Alan Modra2-3/+19
(i386_displacement): Disallow O_big displacements.
1999-11-16tc-arm.c: minor changes and support for upcoming V5E variant.Donald Lindsay1-28/+75
1999-11-16log entry for config/tc-arm.c changeDonald Lindsay1-0/+7
1999-11-15 * gas/mips/la.d: Adjust for new la macro expansion.Gavin Romig-Koch4-1446/+1445
Change matches for explicit addresses to matches for any address. * gas/mips/la-xgot.d: Same. * gas/mips/la-svr4pic.d: Same.
1999-11-12fix typo.Nick Clifton1-1/+1
1999-11-12do not look beyond the end of the bufferNick Clifton2-2/+7
1999-11-11Look for seperator after TO and FROM tokens when exploring nested structuresNick Clifton2-2/+9
1999-11-091999-11-08 Andrew Haley <aph@cygnus.com>Andrew Haley2-0/+22
* app.c (do_scrub_chars): When in State 10, treat backslash characters in the same way as as symbol characters.
1999-11-08 * config/tc-alpha.c (alpha_align): Check, don't assert, thatRichard Henderson2-3/+8
the previous label was in the current section before playing with auto-alignment.
1999-11-06Do not attempt to fixup relocs relative to weak symbolsNick Clifton2-18/+28
1999-11-05Add more md operatorsMichael Meissner3-16/+16
1999-11-03 * read.c (pseudo_set): Reject attempts to set the value of aIan Lance Taylor2-0/+5
section symbol.
1999-11-03 * config/obj-elf.c (obj_elf_ident): Call md_flush_pending_outputIan Lance Taylor2-3/+21
if it is defined. * config/obj-elf.c (elf_set_index): Add ATTRIBUTE_UNUSED. * config/obj-elf.c (elf_frob_file_after_relocs): Don't pass NULL to bfd_set_section_contents.