aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
2003-10-242003-10-24 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-5/+25
* config/obj-elf.c (obj_elf_change_section): Allow SHF_ALLOC for .interp, .strtab and .symtab. Use specified section attributes.
2003-10-23Add ColdFire testNick Clifton4-0/+41
2003-10-23gas/H.J. Lu7-21/+170
2003-10-22 Andreas Schwab <schwab@suse.de> H.J. Lu <hongjiu.lu@intel.com> Jim Wilson <wilson@specifixinc.com> * config/tc-ia64.c (update_qp_mutex): New. (note_register_values): Properly handle one of PRs in compare is PR0. Don't add a mutex relation for .and.orcm/.or.andcm. Clear mutex relation for .none/.unc. Don't clear mutex relation on predicated compare. testsuite/ 2003-10-22 Andreas Schwab <schwab@suse.de> H.J. Lu <hongjiu.lu@intel.com> * gas/ia64/dv-mutex-err.s: Add more tests for compare. * gas/ia64/dv-mutex.s: Likewise. * gas/ia64/dv-mutex-err.l: Updated. * gas/ia64/dv-mutex.d: Likewise.
2003-10-21Fix up error messages for Maverick.Nick Clifton2-2/+8
2003-10-21Add ColfFire v4 supportNick Clifton5-52/+263
2003-10-19 * config/tc-mips.c (normalize_constant_expr): New function to fix signThiemo Seufer2-0/+19
extensions broken by gas' expression evaluation of constants. (check_absolute_expr): Use it. (mips_ip): Likewise.
2003-10-18 * gas/mmix/op-0-1.d, gas/mmix/pushj-c.d, gas/mmix/weak1.d: AddHans-Peter Nilsson14-12/+442
--no-pushj-stubs option. * gas/mmix/reloclab-r.d, gas/mmix/reloclab.d: Add --no-stubs option. * gas/mmix/reloclab.l: Adjust for PUSHJ stub. * gas/mmix/pushj-cs.d, gas/mmix/reloclab-s.d, gas/mmix/relax2.s, gas/mmix/relax2.d, gas/mmix/op-0-1s.d, gas/mmix/reloclab-rs.d, gas/mmix/weak1-s.d: New tests.
2003-10-18 Generate BFD_RELOC_MMIX_PUSHJ_STUBBABLE for PUSHJ when possible.Hans-Peter Nilsson4-16/+250
* doc/c-mmix.texi (MMIX-Opts): Document --no-pushj-stubs and --no-stubs. * config/tc-mmix.c: Include limits.h. Expand on mmix_relax_table comment. (expand_op, mmix_next_semicolon_is_eoln): Fix head comment. (pushj_stubs): New variable. (OPTION_NOPUSHJSTUBS, STATE_PUSHJSTUB, PUSHJSTUB_MIN) (PUSHJSTUB_MAX): New macros. (md_longopts): New options "--no-pushj-stubs" and synonym "--no-stubs". (mmix_relax_table): Handle new entry for STATE_PUSHJSTUB. (md_parse_option): Handle OPTION_NOPUSHJSTUBS. (md_estimate_size_before_relax): Modify STATE_PUSHJ state for PUSHJ stub relaxation. (md_convert_frag): Handle STATE_PUSHJSTUB. (md_apply_fix3): Handle BFD_RELOC_MMIX_PUSHJ_STUBBABLE. (tc_gen_reloc): Ditto. (mmix_md_relax_frag): Handle PUSHJ stub relaxation. * config/tc-mmix.h (TC_SEGMENT_INFO_TYPE): Define. (struct mmix_segment_info_type): New.
2003-10-17 * gas/arm/iwmmxt-bad.s: New file.Ian Lance Taylor4-0/+24
* gas/arm/iwmmxt-bad.l: New file. * gas/arm/arm.exp: Run new test.
2003-10-17Enforce PC-relative jumps with --pcrel.Nick Clifton2-183/+199
2003-10-17Fix normal operation for h8300-coff targetNick Clifton2-5/+19
2003-10-17 * config/tc-arm.c (do_iwmmxt_byte_addr): Reject controlIan Lance Taylor2-0/+12
registers. (do_iwmmxt_word_addr): With a control register, reject conditional execution and reject a non-word size.
2003-10-17 * gas/arm/iwmmxt.d: Add -miwmmxt to #objdump line, to get theIan Lance Taylor2-1/+6
right disassembly.
2003-10-172003-10-16 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-17/+21
* gas/alpha/elf-reloc-8.d: Updated.
2003-10-16 * configure.in: Set em=linux for ppc-*-linux-gnu* target.Alan Modra3-2/+7
* configure: Regenerate.
2003-10-15 * doc/as.texinfo (Align): Correct list of byte targets.Alan Modra2-15/+19
2003-10-15 * config/tc-mips.c (macro_build_ldst_constoffset,load_register,macro):Thiemo Seufer2-9/+14
Fix indentation. Better error message.
2003-10-14bfd ChangeLog:Bob Wilson2-5/+9
2003-10-14 Bob Wilson <bob.wilson@acm.org> * elf32-xtensa.c (get_is_linkonce_section): Delete. (xtensa_is_property_section, xtensa_is_littable_section): Use XTENSA_INSN_SEC_NAME and XTENSA_LIT_SEC_NAME macros. Do not recognize linkonce sections containing ".xt.insn" and ".xt.lit" substrings. (xtensa_get_property_section_name): Check section name instead of calling get_is_linkonce_section. Remove unused bfd parameter. Use XTENSA_INSN_SEC_NAME and XTENSA_LIT_SEC_NAME macros. Never generate linkonce section names by appending ".xt.insn" or ".xt.lit". (xtensa_read_table_entries): Remove bfd argument in call to xtensa_get_property_section_name. Free section name when done. (elf_xtensa_combine_prop_entries): Free leaking table. gas ChangeLog: 2003-10-14 Bob Wilson <bob.wilson@acm.org> * config/tc-xtensa.c (xtensa_create_property_segments): Remove bfd argument in call to xtensa_get_property_section_name. Formatting. include ChangeLog: 2003-10-14 Bob Wilson <bob.wilson@acm.org> * elf/xtensa.h: Formatting. Fix comments about property section names for linkonce sections.
2003-10-11 * config/tc-sh.h (sh_coff_reloc_mangle): Delete an extraKaz Kojima2-1/+6
parenthesis.
2003-10-11 * config/tc-sh.c: Convert to ISO C90. Remove unnecessaryKaz Kojima5-353/+182
prototypes and casts. * config/tc-sh.h: Likewise. * config/tc-sh64.c: Likewise. * config/tc-sh64.h: Likewise.
2003-10-102003-10-10 Dave Brolley <brolley@redhat.com>Dave Brolley3-48/+53
* gas/frv/allinsn.s: Use preoperly aligned registers. * gas/frv/allinsn.d: Update expected results.
2003-10-082003-10-08 Dave Brolley <brolley@redhat.com>Dave Brolley2-1/+114
* config/tc-frv.c (fr550_check_insn_acc_range): New function. (fr550_check_acc_range): New function. (md_assemble): Call fr550_check_acc_range.
2003-10-082003-10-08 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-4/+11
* lib/gas-defs.exp (gas_run): Always log the command being run. (gas_start): Likewise. (regexp_diff): Make error reporting about non-existent files consistent.
2003-10-08* as.c (use_gnu_debug_info_extensions) : New variable.Nick Clifton6-3/+44
(parse_args) : Accept new --gstabs+ option, and set `use_gnu_debug_info_extensions'. (show_usage) : Document --gstabs+ option. * as.h (use_gnu_debug_info_extensions) : New extern declaration. * stabs.c (stabs_generate_asm_file) : If `use_gnu_debug_info_extensions' is set add the compilation directory to the stabs debug info. * doc/as.texinfo : Document --gstabs+ option. * NEWS: Mention new feature.
2003-10-06Change target of hppa-netbsd portNick Clifton3-16/+34
2003-10-06Fix macro tests to ignore section symbolsNick Clifton5-0/+17
2003-10-06Add i386-knetbsd-gnu triplet.Nick Clifton3-2/+9
2003-10-05Revert -f changeNick Clifton2-8/+6
2003-10-042003-10-04 Christian Groessler <chris@groessler.org>Christian Groessler16-13/+171
* gas/z8k/calr-backf.s: New file. * gas/z8k/calr-forwf.s: New file. * gas/z8k/calr.d: New file. * gas/z8k/calr.s: New file. * gas/z8k/djnz-backf.s: New file. * gas/z8k/djnz-backf2.s: New file. * gas/z8k/djnz.d: New file. * gas/z8k/djnz.s: New file. * gas/z8k/jr-back.d: New file. * gas/z8k/jr-forw.d: New file. * gas/z8k/jr-back.s: Fix displacement length. Add some more jumps for jr-back.d. * gas/z8k/jr-backf.s: Fix displacement length. * gas/z8k/jr-forw.s: Fix displacement length. Add some more jumps for jr-forw.d. * gas/z8k/jr-forwf.s: Fix displacement length. * gas/z8k/z8k.exp: Run new tests.
2003-10-042003-10-04 Christian Groessler <chris@groessler.org>Christian Groessler2-10/+59
* tc-z8k.c (newfix): Tell fix_new_exp about pc relativeness. (md_apply_fix3): Fix R_JR, R_DISP7, and R_CALLR cases. (md_pcrel_from): This function now gets called. Supply return value.
2003-10-04Convert to ISO C90Nick Clifton2-261/+254
2003-10-04(std_shortopts): Remove 'f'.Nick Clifton2-1/+13
(std_longopts): Add 'f'. Doing this prevents -f<foo> being acecpted as an alias for -f
2003-10-04(obj_coff_section [BEF_ASSEMBLER]): Make 'r' mean readonly data.Nick Clifton2-1/+6
2003-10-01 * config/tc-mips.c (macro_build_ldst_constoffset,load_register,macro):Thiemo Seufer2-9/+15
Unbreak overflow checks.
2003-10-012003-10-01 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-2/+6
* config/tc-mips.c (s_cpreturn): Correct errors in comment.
2003-10-01 * config/tc-mips.c (macro_build_ldst_constoffset): Fix sign extensionThiemo Seufer13-10/+972
tests. (load_register): Likewise. (macro): Likewise. * gas/mips/ldstla-32-shared.d: New file. * gas/mips/ldstla-32.d: New file. * gas/mips/ldstla-32.s: New file. * gas/mips/ldstla-n32-shared.d: New file. * gas/mips/ldstla-n32.d: New file. * gas/mips/ldstla-n32.s: New file. * gas/mips/ldstla-n64-shared.d: New file. * gas/mips/ldstla-n64.d: New file. * gas/mips/ldstla-n64.s: New file. * gas/mips/mips.exp: Add ld-st-la tests.
2003-09-30[ gas/ChangeLog ]Chris Demetriou11-4/+71
2003-09-30 Chris Demetriou <cgd@broadcom.com> * config/tc-mips.c (mips_ip): Capitalize first word of existing condition code warning, and add condition code warnings for .ps instructions, and for bc1any[24][tf]. [ gas/testsuite/ChangeLog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * lib/gas-defs.exp (run_dump_test): If stderr file is specified and there was no stderr output, compare anyway (i.e., cause a test failure). * gas/mips/mips64-mips3d.s: Add some new instructions to test warnings. * gas/mips/mips64-mips3d.l: New file. * gas/mips/mips64-mips3d.d: Use mips64-mips3d.l, and update for changes to mips64-mips3d.s. * gas/mips/mips64-mips3d-incl.d: Likewise. * gas/mips/set-arch.l: New file. * gas/mips/set-arch.d: Specify set-arch.l as stderr output to check. * gas/mips/mips5.l: Make error messages match source.
2003-09-302003-09-30 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-0/+6
* NEWS: Mention support for MIPS64 Release 2.
2003-09-30[ binutils/ChangeLog ]Chris Demetriou2-0/+6
2003-09-30 Chris Demetriou <cgd@broadcom.com> * NEWS: Add an indication of the cutoff for 2.14. [ gas/ChangeLog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * NEWS: Add an indication of the cutoff for 2.14. [ ld/ChangeLog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * NEWS: Add an indication of the cutoff for 2.14.
2003-09-30[ bfd/ChangeLog ]Chris Demetriou18-15/+1016
2003-09-30 Chris Demetriou <cgd@broadcom.com> * archures.c (bfd_mach_mipsisa64r2): New define. * bfd-in2.h: Regenerate. * aoutx.h (NAME(aout,machine_type)): Handle bfd_mach_mipsisa64r2. * cpu-mips.c (I_mipsisa64r2): New enum value. (arch_info_struct): Add entry for I_mipsisa64r2. * elfxx-mips.c (_bfd_elf_mips_mach) (_bfd_mips_elf_print_private_bfd_data): Handle E_MIPS_ARCH_64R2. (mips_set_isa_flags): Add bfd_mach_mipsisa64r2 case. (mips_mach_extensions): Add entry for bfd_mach_mipsisa64r2. [ binutils/ChangeLog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_64R2. [ gas/Changelog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * configure.in (mipsisa64r2, mipsisa64r2el, mipsisa64r2*): New CPUs. * configure: Regenerate. * config/tc-mips.c (imm2_expr): New variable. (md_assemble, mips16_ip): Initialize imm2_expr. (ISA_HAS_64BIT_REGS, ISA_HAS_DROR, ISA_HAS_ROR): Add ISA_MIPS64R2. (macro_build): Handle +A, +B, +C, +E, +F, +G, and +H format operands. (macro): Handle M_DEXT and M_DINS. (validate_mips_insn): Handle +E, +F, +G, +H, and +I format operands. (mips_ip): Likewise. (OPTION_MIPS64R2): New define. (md_longopts): New entry for -mips64r2 (OPTION_MIPS64R2). OPTION_ASE_BASE): Increase to compensate for OPTION_MIPS64R2. (md_parse_option): Handle OPTION_MIPS64R2. (s_mipsset): Handle setting "mips64r2" ISA. (mips_cpu_info_table): Add mips64r2. (md_show_usage): Document -mips64r2 option. * doc/as.texinfo: Docuemnt -mips64r2 option. * doc/c-mips.texi: Likewise. [ gas/testsuite/ChangeLog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * gas/mips/cp0-names-mips64r2.d: New file. * gas/mips/cp0sel-names-mips64r2.d: New file. * gas/mips/elf_arch_mips64r2.d: New file. * gas/mips/hwr-names-mips64r2.d: New file. * gas/mips/mips32r2-ill-fp64.l: New file. * gas/mips/mips32r2-ill-fp64.s: New file. * gas/mips/mips64r2-ill.l: New file. * gas/mips/mips64r2-ill.s: New file. * gas/mips/mips64r2.d: New file. * gas/mips/mips64r2.s: New file. * gas/mips/mips.exp: Define "mips64r2" arch, and run new tests. [ include/elf/ChangeLog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * mips.h (E_MIPS_ARCH_64R2): New define. [ include/opcode/ChangeLog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * mips.h: Document +E, +F, +G, +H, and +I operand types. Update documentation of I, +B and +C operand types. (INSN_ISA64R2, ISA_MIPS64R2, CPU_MIPS64R2): New defines. (M_DEXT, M_DINS): New enum values. [ ld/ChangeLog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * ldmain.c (get_emulation): Ignore "-mips64r2". [ ld/testsuite/ChangeLog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * ld-mips-elf/mips-elf-flags.exp: Add tests for combinations with MIPS64r2. [ opcodes/ChangeLog ] 2003-09-30 Chris Demetriou <cgd@broadcom.com> * mips-dis.c (mips_arch_choices): Add entry for "mips64r2" (print_insn_args): Add handing for +E, +F, +G, and +H. * mips-opc.c (I65): New define for MIPS64r2. (mips_builtin_opcodes): Add "dext", "dextm", "dextu", "dins", "dinsm", "dinsu", "drotl", "drotr", "drotr32", "drotrv", "dsbh", and "dshd" for MIPS64r2. Adjust "dror", "dror32", and "drorv" to be supported on MIPS64r2.
2003-09-292003-09-29 Dave Brolley <brolley@redhat.com>Dave Brolley3-5/+10
* gas/frv/allinsn.s (nldqi): Removed. Replaced with nop. * gas/frv/allinsn.d (nldqi): Ditto.
2003-09-27 * config/tc-hppa.c (pa_ip): Check for invalid 64-bit conditions.Dave Anglin2-7/+9
2003-09-262003-09-26 Matt Thomas <matt@3am-software.com>Jason Thorpe2-2/+13
* config/tc-vax.c (md_shortopts): Fix a typo. Remove 'K'. (OPTION_PIC): Define. (md_longopts): Add "pic" option. (md_parse_option): Change 'K' to OPTION_PIC.
2003-09-262003-09-25 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu22-32/+111
* gas/ia64/alias-ilp32.d: New file. * gas/ia64/secname-ilp32.d: Likewise. * gas/ia64/unwind-ilp32.d: Likewise. * gas/ia64/dependency-1.d: Support ILP32. * gas/ia64/dv-branch.d: Likewise. * gas/ia64/dv-imply.d: Likewise. * gas/ia64/dv-mutex.d: Likewise. * gas/ia64/dv-safe.d: Likewise. * gas/ia64/dv-srlz.d: Likewise. * gas/ia64/global.d: Likewise. * gas/ia64/ldxmov-1.d: Likewise. * gas/ia64/ltoff22x-1.d:Likewise. * gas/ia64/opc-a.d: Likewise. * gas/ia64/opc-b.d: Likewise. * gas/ia64/opc-f.d: Likewise. * gas/ia64/opc-i.d: Likewise. * gas/ia64/opc-m.d: Likewise. * gas/ia64/opc-x.d: Likewise. * gas/ia64/order.d: Likewise. * gas/ia64/regs.d: Likewise. * gas/ia64/tls.d: Likewise. * gas/ia64/ia64.exp: Run "secname-ilp32", "unwind-ilp32" and "alias-ilp32" for ia64-*-hpux*.
2003-09-25 * gas/cris/rd-pcrel2.d: Update for changes in section flagHans-Peter Nilsson2-0/+17
defaults.
2003-09-23 * config/obj-elf.c (obj_elf_change_section): Adjust forAlan Modra2-16/+31
_bfd_elf_get_sec_type_attr changes. Allow SHF_MERGE and SHF_STRINGS to be set when defaults are not. Don't set attr from defaults if old_sec.
2003-09-19 * gas/mips/elfel-rel.d: Add ABI specification.Thiemo Seufer4-0/+9
* gas/mips/elfel-rel2.d: Likewise. * gas/mips/elfel-rel3.d: Likewise.
2003-09-19 * gas/mips/rm7000.s: Let objdump print trailing dots.Thiemo Seufer2-0/+6
2003-09-19 * gas/mips/empic3_e.s: Fix typo.Thiemo Seufer2-2/+6
2003-09-18 * config/tc-mips.c (macro_build_ldst_constoffset): Don't silentlyThiemo Seufer2-0/+25
truncate values which won't fit im 32 bits. (load_register): Likewise. (macro): Likewise.