aboutsummaryrefslogtreecommitdiff
path: root/gas/config
AgeCommit message (Collapse)AuthorFilesLines
2003-12-15(obj_crawl_symbol_chain): Skip defined symbols which resolve to symbolic values.Nick Clifton1-2/+6
2003-12-13 * config/obj-elf.c: Convert to C90, remove unneeded prototypes andAlan Modra2-214/+138
casts. Formatting. * config/obj-elf.h: Remove PARAMS.
2003-12-13 * read.c (s_lcomm_internal): Make global.Alan Modra1-11/+22
* read.h (s_lcomm_internal): Declare. * config/obj-elf.c (elf_pseudo_table): Handle lcomm. (obj_elf_lcomm): New function.
2003-12-13 * read.c: Remove unneeded prototypes.Alan Modra2-146/+71
(s_comm): Split out code to.. (s_comm_internal): ..here. Tidy error returns. Rearrange so that "name" from input line may be used in more places. Merge code testing for valid size from elf_common. Merge code from s_lcomm_internal. Call comm_parse_extra. (bss_alloc): New function, split out of s_lcomm_internal and elf_common. (parse_align): Likewise. (s_lcomm_internal): Rewrite. (s_lcomm, s_lcomm_bytes): Use s_comm_internal. * read.h (bss_alloc, parse_align, s_comm_internal): Declare. * config/obj-elf.c (elf_common): Split out code to.. (elf_common_parse): ..here. Remove code common to s_comm_internal, parse_align and bss_alloc. Rearrange and Tidy. * config/tc-alpha.h (TC_IMPLICIT_LCOMM_ALIGNMENT): Define.
2003-12-10opcodes:Zack Weinberg1-8/+9
* ppc-opc.c (MO): Make optional. (RAO, RSO, SHO): New optional forms of RA, RS, SH operands. (tlbwe): Accept for both PPC403 and BOOKE. Make all operands optional. gas: * tc-ppc.c (md_assemble): Rewrite comment about optional operands to indicate that 'all or none' is also handled. Pluralize a word in another comment. gas/testsuite: * gas/ppc/booke.s: Add two more forms of the mbar instruction and three forms of the tlbwe instruction. * gas/ppc/booke.d: Update to match.
2003-12-10 * config/tc-arm.c (FPU_MAVERICK): Define.Paul Brook1-7/+64
(FPU_ARCH_MAVERICK): Define. (arm_float_abi): Define. (mfloat_abi_opt): New variable. (md_begin): Use them. (arm_opts): Add msoft-float and mhard-float. (arm_cpus): Use FPU_ARCH_MAVERICK. (arm_fpus): Add maverick. (arm_float_abis): Add. (arm_parse_float_abi): New function. (arm_long_options): Add mfloat-abi. * doc/as.texinfo: Document -mfloat-abi=. * doc/c-arm.text: Ditto. Menution -fpu=maverick.
2003-12-10Remove redundant returns in void functions.Ben Elliston11-124/+0
2003-12-09 * config/tc-arm.c (do_umaal): Fix typo.Paul Brook1-1/+1
2003-12-06gas/Richard Sandiford1-1/+1
* config/tc-mips.c (macro): Switch misordered call to frag_grow() and setting of tc_fr_offset. gas/testsuite/ * gas/mips/elf-rel16.[sd]: New test. * gas/mips/mips.exp: Run it. * gas/mips/elf-rel-xgot-n32.d: Fix addends for "lw $5,dl1+34($5)". * gas/mips/elf-rel-xgot-n64.d: Likewise.
2003-12-06 * gas/arm/arm.exp: Add archv6 and thumbv6.Mark Mitchell1-11/+1168
* gas/arm/archv6.d: New file. * gas/arm/archv6.s: Likewise. * gas/arm/thumbv6.d: Likewise. * gas/arm/thumbv6.s: Likewise. Add V6 support. * config/tc-arm.c (ARM_EXT_V6): New macro. (ARM_ARCH_V6): Likewise. (SHIFT_IMMEDIATE): Likewise. (SHIFT_LSL_OR_ASR_IMMEDIATE): Likewise. (SHIFT_ASR_IMMEDIATE): Likewise. (SHIFT_LSL_IMMMEDIATE): Likewise. (do_cps): New function. (do_cpsi): Likewise. (do_ldrex): Likewise. (do_pkhbt): Likewise. (do_pkhtb): Likewise. (do_qadd16): Likewise. (do_rev): Likewise. (do_rfe): Likewise. (do_sxtah): Likewise. (do_sxth): Likewise. (do_setend): Likewise. (do_smlad): Likewise. (do_smlald): Likewise. (do_smmul): Likewise. (do_ssat): Likewise. (do_usat): Likewise. (do_srs): Likewise. (do_ssat16): Likewise. (do_usat16): Likewise. (do_strex): Likewise. (do_umaal): Likewise. (do_cps_mode): Likewise. (do_cps_flags): Likewise. (do_endian_specifier): Likewise. (do_pkh_core): Likewise. (do_sat): Likewise. (do_sat16): Likewise. (insns): Add V6 instructions. (do_t_cps): New function. (do_t_cpy): Likewise. (do_t_setend): Likewise. (THUMB_CPY): New macro. (tinsns): Add V6 instructions. (decode_shift): Handle V6 restricted-shift options. (thumb_mov_compare): Support CPY. (arm_cores): Add arm1136js and arm1136jfs. (arm_archs): Add armv6. (arm_fpus): Add arm1136jfs. * doc/c-arm.texi (ARM Options): Mention arm1136js, arm1136jfs, and armv6 options. * gas/arm/arm.exp: Add archv6 and thumbv6. * gas/arm/archv6.d: New file. * gas/arm/archv6.s: Likewise. * gas/arm/thumbv6.d: Likewise. * gas/arm/thumbv6.s: Likewise. * arm-dis.c (print_arm_insn): Add 'W' macro. * arm-opc.h (arm_opcodes): Add V6 instructions. (thumb_opcodes): Likewise.
2003-12-05 * config/tc-z8k.c (parse_reg): Be case insensitive when checkingChristian Groessler1-23/+20
register names. (get_ctrl_operand): Be case insensitive when checking ctrl names.
2003-12-05Fix SH compilation problems introduced by previous deltaNick Clifton1-10/+12
2003-12-052003-12-03 Alexandre Oliva <aoliva@redhat.com>Michael Snyder1-15/+346
* config/tc-sh.c: Add support for sh4a and no-fpu variants, with appropriate additions to md_show_usage. * testsuite/gas/sh/basic.exp: Call tests for sh4a. * testsuite/gas/sh/{err-sh4a-fp.s, err-sh4a.s, err-sh4al-dsp.s, sh4a-dsp.d, sh4a-dsp.s, sh4a-fp.d, sh4a-fp.s, sh4a.d, sh4a.s, sh4al-dsp.d, sh4al-dsp.s: New files, tests for sh4a and related variants. * doc/c-sh.texi: Document new -isa options. * doc/c-sh64.texi: Ditto. * NEWS: Mention new support for sh4a.
2003-12-042003-11-24 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-1/+1
* config/tc-alpha.c (s_alpha_end): Don't crash if there is no matching .ent.
2003-12-03Add support for the M32R2 processor.Nick Clifton2-29/+299
2003-12-03Add vax-linux-gnu targetNick Clifton1-2/+7
2003-12-03 * config/obj-elf.c: Remove ARGSUSED.Kazu Hirata1-1/+0
2003-11-28 * config/tc-z8k.c: Convert to ISO-C.Christian Groessler2-157/+52
* config/tc-z8k.h: Likewise.
2003-11-27Check for alignment when emitting constants on the sh-elf targetNick Clifton1-0/+4
2003-11-27* config/tc-frv.c (md_pcrel_from_section): Don't adjust whenAlexandre Oliva1-4/+11
referencing symbol in a different section.
2003-11-26 * config/tc-z8k.c (s_segm): Fix indentation.Christian Groessler1-63/+65
(md_apply_fix3): Likewise. (cc_names): Add alias names for the names generated by the disassembler. (get_cc_operand): Be case insensitive. (get_operands): Improve error handling for cc operands. (check_operand): Not used, remove. (md_assemble): Remove unused variable prev_opcode. Skip whitespace until end-of-line only. Restore *op_end after call to hash_find.
2003-11-26Revert change to t01_mov test.Nick Clifton1-0/+1
Fix ldm/stm verifying code to allow er4-er7 for H8SX.
2003-11-25 * config/tc-h8300.c (h8_exp): Remove.Kazu Hirata1-7/+0
2003-11-25 Catch illegal register pairings in ldm/stm instructions.Nick Clifton1-7/+30
Update test files to avoid illegal pairings.
2003-11-23 * config/tc-h8300.c (Hmode): Make it global.Kazu Hirata1-4/+4
(Smode): Likewise. (Nmode): Likewise. (SXmode): Likewise.
2003-11-22 * config/atof-tahoe.c: Fix comment typos.Kazu Hirata20-60/+60
* config/m68k-parse.y: Likewise. * config/obj-aout.c: Likewise. * config/obj-bout.c: Likewise. * config/obj-vms.c: Likewise. * config/tc-tahoe.c: Likewise. * config/tc-tic30.c: Likewise. * config/tc-tic4x.c: Likewise. * config/tc-tic54x.c: Likewise. * config/tc-v850.c: Likewise. * config/tc-vax.c: Likewise. * config/te-delt88.h: Likewise. * config/te-delta.h: Likewise. * config/te-generic.h: Likewise. * config/te-macos.h: Likewise. * config/te-ppcnw.h: Likewise. * config/te-psos.h: Likewise. * config/te-sun3.h: Likewise. * config/te-tmips.h: Likewise. * config/xtensa-relax.c: Likewise.
2003-11-22 * config/tc-a29k.h: Fix comment typos.Kazu Hirata22-70/+70
* config/tc-arm.c: Likewise. * config/tc-dlx.h: Likewise. * config/tc-hppa.c: Likewise. * config/tc-i386.c: Likewise. * config/tc-m32r.c: Likewise. * config/tc-m68hc11.c: Likewise. * config/tc-m68k.c: Likewise. * config/tc-m88k.c: Likewise. * config/tc-mcore.c: Likewise. * config/tc-mips.c: Likewise. * config/tc-mmix.c: Likewise. * config/tc-msp430.c: Likewise. * config/tc-ns32k.c: Likewise. * config/tc-or32.c: Likewise. * config/tc-or32.h: Likewise. * config/tc-pj.c: Likewise. * config/tc-ppc.c: Likewise. * config/tc-s390.c: Likewise. * config/tc-sh64.c: Likewise. * config/tc-sh.c: Likewise. * config/tc-sparc.c: Likewise.
2003-11-21 * config/tc-ppc.c (parse_cpu): New function, broken out from..Alan Modra1-111/+188
(md_parse_option): ..here. (ppc_setup_opcodes): New function, broken out from.. (md_begin): ..here. (ppc_machine): Implement .machine pseudo op.
2003-11-21 * config/tc-hppa.c: Fix comment typos.Kazu Hirata7-41/+41
* config/tc-i370.c: Likewise. * config/tc-i386.c: Likewise. * config/tc-i386.h: Likewise. * config/tc-i960.c: Likewise. * config/tc-ia64.c: Likewise. * config/tc-iq2000.h: Likewise.
2003-11-21 * config/tc-a29k.h: Fix comment typos.Kazu Hirata11-33/+33
* config/tc-alpha.c: Likewise. * config/tc-alpha.h: Likewise. * config/tc-arc.c: Likewise. * config/tc-arm.c: Likewise. * config/tc-arm.h: Likewise. * config/tc-cris.c: Likewise. * config/tc-d10v.c: Likewise. * config/tc-d30v.c: Likewise. * config/tc-dlx.c: Likewise. * config/tc-dlx.h: Likewise.
2003-11-20* config/tc-sh64.c (shmedia_frob_section): Only frob elf32DJ Delorie1-1/+1
sections.
2003-11-20 * config/tc-h8300.c: Make some functions and globalKazu Hirata1-20/+20
variables static appropriately.
2003-11-20 * config/obj-ieee.c: Remove duplicate prototypes.Kazu Hirata2-5/+0
* config/tc-h8300.c: Likewise.
2003-11-20 * config/tc-h8300.c: Convert to ISO-C.Kazu Hirata2-139/+71
* config/tc-h8300.h: Likewise.
2003-11-20 * config/tc-mcore.h: Remove prototypes already in tc.h.Kazu Hirata2-43/+0
* config/tc-tic4x.c: Likewise.
2003-11-20 * config/tc-arc.c: Remove a local prototype of atof_ieee.Kazu Hirata4-4/+0
* config/tc-ip2k.c: Likewise. * config/tc-iq2000.c: Likewise. * config/tc-tic30.c: Remove a comment.
2003-11-20 * config/obj-aout.h: Fix comment typos.Kazu Hirata9-20/+20
* config/obj-bout.h: Likewise. * config/obj-coff.c: Likewise. * config/obj-coff.h: Likewise. * config/obj-elf.c: Likewise. * config/obj-ieee.c: Likewise. * config/obj-som.c: Likewise. * config/obj-vms.c: Likewise. * config/obj-vms.h: Likewise.
2003-11-19 * config/tc-xtensa.c (xg_emit_insn): Include "dwarf2dbg.h" and addBob Wilson1-0/+3
call to dwarf2_emit_insn.
2003-11-18* config/tc-mips.c (macro): Handle new macros: "lca" and "dlca"Maciej W. Rozycki1-8/+19
for loading addresses using CALL relocations. Don't emit CALL relocations when a base register is used. * gas/mips/lca-svr4pic.d: New test for the "lca" macro. * gas/mips/lca-xgot.d: Likewise. * gas/mips/lca.s: Source for the new tests. * gas/mips/mips.exp: Run the new tests. * opcode/mips.h: Define new enum members, M_LCA_AB and M_DLCA_AB. * mips-opc.c (mips_builtin_opcodes): Handle new macros: "lca" and "dlca".
2003-11-15* config/tc-mips.c: Formatting fixes.Maciej W. Rozycki1-5/+5
2003-11-14 * config/tc-arm.c (arm_elf_change_section): Not static.Ben Elliston1-1/+1
2003-11-13Add support for ARM ELF Mapping symbolsNick Clifton2-0/+181
2003-11-112003-11-11 Jan Hubicka <jh@suse.cz>Andreas Jaeger1-0/+6
* config/tc-i386.c (tc_i386_fix_adjustable):
2003-11-10 * config/tc-ia64.c (ia64_handle_align): Remove bogus be_nop.Alan Modra1-4/+2
2003-11-06* config/tc-arm.texi (struct reg_entry): Add new field 'builtin'.Nick Clifton1-101/+190
(rn_table, iwmmxt_table, cp_table, cn_table, fn_table, sn_table, dn_table, mav_mvf_table, mac_mvd_table, mav_mvfx_table, mav_mvax_table, mav_dspc_table): Initialise new field. (insert_reg_alias): Initialise new field. (md_pseudo_table): Add "unreq" entry. (s_unreq): New function: Undo the effects of a previous .req. * doc/c-arm.texi: Document new pseudo op. * NEWS: Mention new feature. * testsuite/gas/arm/req.s: New test file. Check .req and .unreq psuedo ops. * testsuite/gas/arm/req.l: Expected error output from req.s test. * testsuite/gas/arm/copro.d: Set target architecture for objdump so that the test will work on architectures which cannot encode higher arm architecture types in their file headers. * testsuite/gas/arm/arm.exp: Run new req.s test. Skip thumb instruction test for PE targets which do not support thumb relocations. * testsuite/gas/elf/elf.exp: Skip special handling of section2 test for XScale targets - it is no longer needed.
2003-11-06Fix 'the the' typoNick Clifton1-1447/+824
2003-11-04 * config/tc-ppc.h (TC_FORCE_RELOCATION): Only define for ELF and XCOFF.Alan Modra1-1/+3
2003-10-31 * config/tc-i860.c (md_pcrel_from): Fix typo in comment.Christian Groessler1-1/+1
2003-10-27 * config/tc-m68hc11.c: Convert to ISO C90.Stephane Carrez2-170/+97
* config/tc-m68hc11.h: Likewise.
2003-10-242003-10-24 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-5/+19
* config/obj-elf.c (obj_elf_change_section): Allow SHF_ALLOC for .interp, .strtab and .symtab. Use specified section attributes.