aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
2004-01-02Split ChangeLog files.Alan Modra4-14398/+14423
2003-12-29 * gas/config/tc-arm.c (arm_cpus): Add 926ejs and 1026ejs.Paul Brook3-1/+11
* gas/doc/c-arm.texi: Document them.
2003-12-23 * doc/c-arm.texi: Document -march=armv6.Paul Brook2-0/+2
2003-12-23 * config/tc-arm.c (arm_archs): Add armv6.Paul Brook2-0/+5
2003-12-22Fix tests to eliminated unexpected failuresNick Clifton5-14/+22
2003-12-22For v6 tests use -march=armv6jNick Clifton3-2/+7
2003-12-20(md_apply_fix3): Handle the case where a .byte directive generates aNick Clifton2-4/+18
pc-relative relocation.
2003-12-19Fix calls to as_perror() so that the errno system message will be printed.Nick Clifton5-148/+152
Fix as_perror() so that errno is not corrupted.
2003-12-19Add support for m32r-linux target, including a RELA ABI and PIC.Nick Clifton18-36/+341
2003-12-18(input_file_open): Remove call to stat(). Add a check for getc() failing, andNick Clifton2-18/+29
catch the case where the failure is due to an attempt to read a directory.
2003-12-18bfd/Richard Sandiford8-118/+65
* elf32-mips.c (elf_mips_howto_table_rel): Replace all uses of mips_elf_generic_reloc with _bfd_mips_elf_generic_reloc. Use _bfd_mips_elf_hi16_reloc for R_MIPS_HI16 and R_MIPS_GNU_REL_HI16, _bfd_mips_elf_lo16_reloc for R_MIPS_LO16 and R_MIPS_GNU_REL_LO16, and _bfd_mips_elf_got16_reloc for R_MIPS_GOT16. Change rightshift to 16 for R_MIPS_HI16 and R_MIPS_GNU_REL_HI16. (mips_elf_generic_reloc, struct mips_hi16, mips_elf_hi16_reloc) (mips_elf_lo16_reloc, mips_elf_got16_reloc): Delete. (_bfd_mips_elf32_gprel16_reloc): Remove special case. (mips_elf_gprel32_reloc, mips32_64bit_reloc): Likewise. * elf64-mips.c (mips_elf64_howto_table_rel): Replace all uses of mips_elf_generic_reloc with _bfd_mips_elf_generic_reloc. Use _bfd_mips_elf_hi16_reloc for R_MIPS_HI16, _bfd_mips_elf_lo16_reloc for R_MIPS_LO16 and _bfd_mips_elf_got16_reloc for R_MIPS_GOT16. Change R_MIPS_HI16's rightshift to 16. (mips_elf64_howto_table_rela): Replace all uses of mips_elf_generic_reloc with _bfd_mips_elf_generic_reloc. Use _bfd_mips_elf_generic_reloc for R_MIPS_GOT16 as well. (mips_elf64_hi16_reloc, mips_elf64_got16_reloc): Delete. (mips_elf64_shift6_reloc): Remove special case. Use _bfd_mips_elf_generic_reloc instead of returning bfd_reloc_continue. * elfn32-mips.c (prev_reloc_section): Delete. (prev_reloc_address, prev_reloc_addend): Delete. (elf_mips_howto_table_rel, elf_mips_howto_table_rela): As for elf64-mips.c (GET_RELOC_ADDEND, SET_RELOC_ADDEND): Delete. (mips_elf_generic_reloc, struct mips_hi16, mips_elf_hi16_reloc) (mips_elf_lo16_reloc, mips_elf_got16_reloc): Delete. (mips_elf_gprel16_reloc): Delete use of GET_RELOC_ADDEND. (mips_elf_literal_reloc, mips_elf_gprel32_reloc): Likewise. (mips16_jump_reloc, mips16_gprel_reloc): Likewise. (mips_elf_shift6_reloc): Likewise. Delete use of SET_RELOC_ADDEND. * elfxx-mips.c (_bfd_mips_elf_gprel16_with_gp): Use _bfd_relocate_contents to install an in-place addend. (mips_hi16): New structure. (mips_hi16_list): Moved from elf32-mips.c. (_bfd_mips_elf_hi16_reloc, _bfd_mips_elf_got16_reloc): New functions. (_bfd_mips_elf_lo16_reloc, _bfd_mips_elf_generic_reloc): New functions. (mips_elf_calculate_relocation): Assume addend is unshifted. (_bfd_mips_elf_relocate_section): Don't apply the howto rightshift on top of the usual high-part shift. Don't shift the addend right before calling mips_elf_calculate_relocation. * elfxx-mips.h (_bfd_mips_elf_hi16_reloc): Declare. (_bfd_mips_elf_got16_reloc, _bfd_mips_elf_lo16_reloc): Declare. (_bfd_mips_elf_generic_reloc): Declare. gas/ * config/tc-mips.c (mips_need_elf_addend_fixup): Delete. (md_apply_fix3): Remove bfd_install_relocation workarounds. (tc_gen_reloc): Likewise. Factor handling of pc-relative relocations and treat fx_addnumber as relative to the relocation address. gas/testsuite/ * gas/mips/mips16-jalx.d: Use -mabi=o64. * gas/mips/mips16.d: Likewise. * gas/mips/elf-rel17.[sd]: New test. * gas/mips/mips.exp: Run it.
2003-12-18 * config/tc-mips.c (s_change_section): When parsing the MIPS-specificRichard Sandiford2-0/+21
.section syntax, map SHT_MIPS_DWARF to SHT_PROGBITS.
2003-12-18 * config/tc-arm.c (arm_archs): Change "armv6" to "armv6j".Mark Mitchell3-2/+7
* doc/c-arm.texi (ARM Options): Likewise.
2003-12-17Replace --error-explicit-parallel-conflicts with --ignore-parallel-conflitcs.Nick Clifton6-65/+97
Add test of parallel constraint checking.
2003-12-16Remove -8 bias on PC-relative load instructions for arm-wince-pe targetNick Clifton8-6/+386
2003-12-15 * gas/z8k/eidi.s: Add uppercase forms. Add forms with commaChristian Groessler2-0/+25
separated parameters.
2003-12-15 * config/tc-z8k.c (struct z8k_exp): Remove, not used anywhere.Christian Groessler2-26/+80
(ctrl_table): Add "flags" keyword and some comments. (flag_table): Convert to uppercase. (get_flags_operand): Be case insensitive. (get_interrupt_operand): Be case insensitive. Support notation where the inperrupt arguments are separated by commas. (get_operands): Check whether get_flags_operand consumed all arguments. Return failure if get_ctrl_operand didn't recognize a valid control register. (get_specific): Add case CLASS_CTRL: Test for valid control register for ldctlb opcode. (build_bytes): Check for valid control registers.
2003-12-15(obj_crawl_symbol_chain): Skip defined symbols which resolve to symbolic values.Nick Clifton2-2/+11
2003-12-15 * gas/arm/thumbv6.s: Add nops.Mark Mitchell3-1/+17
* gas/arm/thumbv6.d: Use -M force-thumb option to objdump. Add nops.
2003-12-13 * gas/mmix/basep-8.d: Update for lcomm symbol type change.Alan Modra3-4/+9
* gas/mmix/basep-9.d: Likewise.
2003-12-13 * config/obj-elf.c: Convert to C90, remove unneeded prototypes andAlan Modra3-214/+142
casts. Formatting. * config/obj-elf.h: Remove PARAMS.
2003-12-13 * read.c (s_lcomm_internal): Make global.Alan Modra4-12/+31
* 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 Modra5-368/+236
(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 Weinberg5-80/+103
* 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 * gas/arm/arm.exp: Add r15-bad.Paul Brook4-0/+140
* gas/arm/r15-bad.s: New file. * gas/arm/r15-bad.l: New file.
2003-12-10 * config/tc-arm.c (FPU_MAVERICK): Define.Paul Brook4-9/+96
(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 Brook2-1/+5
2003-12-06 * dwarf2dbg.c: Convert to ISO-C.Kazu Hirata4-162/+115
* write.c: Likewise. * write.h: Likewise.
2003-12-06gas/Richard Sandiford8-9/+44
* 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 Mitchell10-14/+1714
* 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 Groessler2-24/+25
register names. (get_ctrl_operand): Be case insensitive when checking ctrl names.
2003-12-05 * gas/z8k/ctrl-names.d: New file.Christian Groessler4-0/+86
* gas/z8k/ctrl-names.s: New file. * gas/z8k/z8k.exp: Run new tests.
2003-12-05Don't blame aoliva for my work.Michael Snyder1-2/+7
2003-12-05Fix SH compilation problems introduced by previous deltaNick Clifton2-10/+17
2003-12-052003-12-03 Alexandre Oliva <aoliva@redhat.com>Michael Snyder17-18/+822
* 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. Lu2-1/+6
* config/tc-alpha.c (s_alpha_end): Don't crash if there is no matching .ent.
2003-12-03 * tc.h (md_pcrel_from): Don't declare if defined as a macro.Alan Modra2-1/+7
2003-12-03oops - forogot to mention the new support here.Nick Clifton2-0/+3
2003-12-03Add support for the M32R2 processor.Nick Clifton8-40/+669
2003-12-03Add vax-linux-gnu targetNick Clifton6-5/+37
2003-12-03 * messages.c: Convert to ISO-C.Kazu Hirata10-184/+140
* obj.h: Likewise. * output-file.c: Likewise. * output-file.h: Likewise. * sb.c: Likewise. * sb.h: Likewise. * stabs.c: Likewise. * subsegs.c: Likewise. * subsegs.h: Likewise. * tc.h: Likewise.
2003-12-03 * config/obj-elf.c: Remove ARGSUSED.Kazu Hirata2-1/+4
2003-12-02make "dep-am"Alan Modra3-8/+17
2003-12-01 * gas/sh/basic.exp: Define ASFLAGS appropriately and don't doKaz Kojima8-27/+38
dsp test for sh64/sh5 targets. * gas/sh/sh64/crange1.s: Tidy up to match data alignment. * gas/sh/sh64/crange1-1.d: Update. * gas/sh/sh64/crange1-2.d: Likewise. * gas/sh/sh64/datal32-3.d: Likewise. * gas/sh/sh64/datal64-3.d: Likewise. * gas/sh/sh64/localcom-1.d: Likewise.
2003-11-30 * symbols.c: Convert to ISO-C.Kazu Hirata3-332/+218
* symbols.h: Likewise.
2003-11-28 * config/tc-z8k.c: Convert to ISO-C.Christian Groessler3-157/+57
* config/tc-z8k.h: Likewise.
2003-11-27 * read.c: Convert to ISO-C.Kazu Hirata3-316/+216
* read.h: Likewise.
2003-11-27Check for alignment when emitting constants on the sh-elf targetNick Clifton2-0/+10
2003-11-27* config/tc-frv.c (md_pcrel_from_section): Don't adjust whenAlexandre Oliva2-4/+16
referencing symbol in a different section.