diff options
author | obrien <obrien@FreeBSD.org> | 2002-02-22 04:18:42 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2002-02-22 04:18:42 +0000 |
commit | 670387a18a22cf299c750186efe8ca24cebb7e05 (patch) | |
tree | 70c0d6a941b83c97839ec1237622c20ea8beb870 /contrib/binutils/gas | |
parent | fc89183cdc6be5afa8deb7250fd15a20832ab528 (diff) | |
download | FreeBSD-src-670387a18a22cf299c750186efe8ca24cebb7e05.zip FreeBSD-src-670387a18a22cf299c750186efe8ca24cebb7e05.tar.gz |
Import of Binutils from the FSF 2.12 branch (pre-.0 release).
These bits are taken from the FSF anoncvs repo on 21-Feburary-2002 20:15 PST.
Diffstat (limited to 'contrib/binutils/gas')
22 files changed, 3027 insertions, 998 deletions
diff --git a/contrib/binutils/gas/ChangeLog b/contrib/binutils/gas/ChangeLog index 10a0688..6d22e26 100644 --- a/contrib/binutils/gas/ChangeLog +++ b/contrib/binutils/gas/ChangeLog @@ -1,3 +1,726 @@ +2002-02-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> + + * config/tc-mips.c (md_parse_option): Complain about invalid -mabi + option input. + +2002-02-18 Daniel Jacobowitz <drow@mvista.com> + + * config/obj-coff.h: Check !target_big_endian, not shl, for coff-sh. + +2002-02-18 John David Anglin <dave@hiauly1.hia.nrc.ca> + + * config/tc-hppa.c (hppa_fix_adjustable): Don't adjust final types + that implicitly use LR and RR selectors. + +2002-02-16 Nick Clifton <nickc@cambridge.redhat.com> + + * doc/as.texinfo (Machine Dependencies): Fix typo: MMIX used + instead of CRIS. + +2002-02-15 Chris Demetriou <cgd@broadcom.com> + + * config/tc-mips.c (md_estimate_size_before_relax): Really + make sure we treat weak like extern only for ELF. (Fixes + patch from 2001-07-25.) + +2002-02-15 Ben Elliston <bje@redhat.com> + + * doc/as.texinfo: Add duplicate directory entry so that "info gas" + works as expected. + +Fri Feb 15 15:18:51 CET 2002 Jan Hubicka <jh@suse.cz> + + * i386.c (md_assemble): Support 32bit address prefix. + (i386_displacement): Likewise. + (i386_index_check): Accept 32bit addressing in 64bit mode. + +2002-02-15 Hans-Peter Nilsson <hp@bitrange.com> + + * NEWS: Mention support for MMIX. + +2002-02-13 Chris Demetriou <cgd@broadcom.com> + + * config/tc-mips.c (mips_need_elf_addend_fixup): Restructure into + a sequence of indpendent 'if' statements for easier debugging + and future modification. + +2002-02-13 Matt Fredette <fredette@netbsd.org> + + * config/tc-m68k.c (md_show_usage): No longer display a + hard-coded "68020" for the default CPU, instead display the + canonical name of the true, configured default CPU. + (m68k_elf_final_processing): Mark objects for sub-68020 + CPUs with the new EF_M68000 flag. + +2002-02-13 Andreas Schwab <schwab@suse.de> + + * config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust + pc-relative relocations to merge sections in 64-bit mode. + +2002-02-12 Alexandre Oliva <aoliva@redhat.com> + + * config/tc-mn10300.c (other_registers): Added `epsw'. Mark `pc' + and `epsw' as available on AM33 and above only. + (other_register_name): Add logic to handle machine type encoded in + reg_number. + +2002-02-11 Tom Rix <trix@redhat.com> + + * config/tc-ppc.c (md_apply_fix3): Check for insert fop invalid for + xcoff64. + +2002-02-11 Alexandre Oliva <aoliva@redhat.com> + + * config/tc-sparc.c (U0x80000000, U0xffffffff): New constants. + Use all over. + +2002-02-11 Alexandre Oliva <aoliva@redhat.com> + + * config/tc-sh.c (dot): Removed unused function. + +2002-02-10 Richard Henderson <rth@redhat.com> + + * doc/c-alpha.texi: New file. + * doc/Makefile.am (CPU_DOCS): Add it. + * doc/all.texi, doc/as.texinfo: Add hooks for Alpha. + +2002-02-09 Richard Henderson <rth@redhat.com> + + * config/tc-alpha.c (O_samegp): New. + (USER_RELOC_P): Include it. + (alpha_reloc_op_tag, debug_exp, find_macro_match): Add it. + (md_apply_fix3): Handle BFD_RELOC_ALPHA_BRSGP. + (alpha_force_relocation, alpha_fix_adjustable): Likewise. + (alpha_validate_fix): New. + * config/tc-alpha.h (TC_VALIDATE_FIX): New. + +2002-02-09 Hans-Peter Nilsson <hp@axis.com> + + * doc/c-cris.texi: New. + * doc/all.texi: @set CRIS. + * doc/as.texinfo: Ditto. Add CRIS gas manpage option overview. + Include c-cris.texi. + * doc/Makefile.am (CPU_DOCS): Add c-cris.texi + * doc/Makefile.in: Regenerate. + +2002-02-08 Chris Demetriou <cgd@broadcom.com> + + * config/tc-mips.c (IS_SEXT_32BIT_NUM): New macro to + determine if a number is a sign-extended 32-bit number. + (load_register): Use IS_SEXT_32BIT_NUM. + (macro): Check if load/store macro handling is using a + constant 32-bit address on 64-bit address systems, and if + so optimize the generation of that address. + +2002-02-08 Richard Henderson <rth@redhat.com> + + * config/tc-alpha.c (alpha_force_relocation): Don't assert that + we've eliminated all foreign relocation types yet. + (alpha_fix_adjustable): Likewise. + +2002-02-08 Alexandre Oliva <aoliva@redhat.com> + + Contribute sh64-elf. + 2002-02-08 Alexandre Oliva <aoliva@redhat.com> + Stephen Clarke <Stephen.Clarke@st.com> + * doc/c-sh64.texi: Fix citation of SH64 architecture manual. + 2002-01-31 Alexandre Oliva <aoliva@redhat.com> + * config/tc-sh.c (md_relax_table): Added default sizes for + non-PC-relative UNDEF_MOVI, and relaxation sequences for + MOVI_16, MOVI_32 and MOVI_48. + * config/tc-sh64.c (shmedia_md_apply_fix3): Fix warning. + (shmedia_md_convert_frag): Handle non-PC-relative UNDEF_MOVI + and MOVI_16. + (shmedia_md_estimate_size_before_relax): Remove redundant + blocks. Set fragP->fr_var even if relaxation type unchanged. + Retain UNDEF_MOVI until expression decays to number. + 2002-01-24 Alexandre Oliva <aoliva@redhat.com> + * config/tc-sh64.c (shmedia_init_reloc): Handle new SHmedia PIC + relocation types. Take fixP->fx_addnumber into account too. + (shmedia_md_apply_fix): Likewise. + (shmedia_md_convert_frag): Likewise. + (shmedia_build_Mytes): Likewise. + (sh64_consume_datalabel): Complain about nested datalabel. + Support PIC relocs. Call sh_parse_name. + * config/tc-sh64.h (TC_RELOC_RTSYM_LOC_FIXUP): Extend definition + in tc-sh.h to SHmedia reloc types. + * config/tc-sh.c (SH64PCRELPLT, MOVI_PLT, MOVI_GOTOFF, + MOVI_GOTPC): New relaxation constants. + (md_relax_table): Introduce relaxation directives for PIC-related + constants. + (sh_PIC_related_p): Handle datalabel. + (sh_check_fixup): Choose SH5 PIC relocations. + (sh_cons_fix_new): Added BDF_RELOC_64. + (md_apply_fix3, sh_parse_name): Handle GOTPLT. + 2002-01-18 Alexandre Oliva <aoliva@redhat.com> + * config/tc-sh64.c (sh64_max_mem_for_rs_align_code): If the + current ISA is SHmedia, get 7 bytes. + 2001-11-28 Nick Clifton <nickc@cambridge.redhat.com> + * config/tc-sh.c (md_apply_fix3): Treat shmedia_md_apply_fix3 as a + void function. + * config/tc-sh64.c (shmedia_apply_fix): Rename to + shmedia_apply_fix3 and make void. + 2001-05-17 Alexandre Oliva <aoliva@redhat.com> + * config/tc-sh64.c (s_sh64_abi): Remove unused arguments passed to + as_bad. + 2001-04-12 Alexandre Oliva <aoliva@redhat.com> + * config/tc-sh64.h (md_parse_name): Take &c as argument. + 2001-03-14 DJ Delorie <dj@redhat.com> + * doc/Makefile.am (CPU_DOCS): Added c-sh64.texi + * doc/Makefile.in(CPU_DOCS): Ditto. + * doc/c-sh64.texi: New file. + * doc/as.texinfo: Add SH64 support. + 2001-03-13 DJ Delorie <dj@redhat.com> + * config/tc-sh64.c (shmedia_get_operands): Rename A_RESV_Fx to + A_REUSE_PREV so that its purpose is more obvious. + (shmedia_build_Mytes): Ditto. + 2001-03-07 DJ Delorie <dj@redhat.com> + * config/tc-sh64.c (sh64_vtable_entry): New, strip datalabels + before processing. + (sh64_vtable_inherit): Ditto. + (strip_datalabels): New, strip "datalabel" from given line. + * config/tc-sh.c (md_pseudo_table): Add sh64-specific vtable + pseudos. + 2001-03-06 Hans-Peter Nilsson <hpn@cygnus.com> + * config/tc-sh64.c (shmedia_md_assemble): Move dwarf2_emit_insn + call ... + (shmedia_build_Mytes): ... to here. + 2001-03-06 DJ Delorie <dj@redhat.com> + * config/tc-sh.c: Remove sh64-specific uaquad now that there + is a generic one. + 2001-01-21 Hans-Peter Nilsson <hpn@cygnus.com> + * config/tc-sh64.h (DWARF2_LINE_MIN_INSN_LENGTH): Override. + * config/tc-sh64.c (shmedia_md_assemble): Offset recorded insn + address by one in call to dwarf2_emit_insn. + 2001-01-13 Hans-Peter Nilsson <hpn@cygnus.com> + Implement ".abi" pseudo and correct .cranges descriptors. Correct + alignment handling broken by imported changes. + * config/tc-sh64.h (HANDLE_ALIGN): Override definition in tc-sh.h. + (sh64_handle_align): Declare. + (MAX_MEM_FOR_RS_ALIGN_CODE): Override definition in tc-sh.h. + (sh64_max_mem_for_rs_align_code): Declare. + (enum sh64_isa_values): Moved here from tc-sh64.c. + (md_do_align): Define. + (sh64_do_align): Declare. + (struct sh64_tc_frag_data): New. + (TC_FRAG_TYPE): Change to struct sh64_tc_frag_data. Users + changed. + (TC_FRAG_INIT): Change to set new datatype. + (struct sh64_segment_info_type): Rename member + last_flushed_location to last_contents_mark. All users changed. + (md_elf_section_change_hook, TC_CONS_FIX_NEW): Do not define. + (shmedia_elf_new_section, sh64_tc_cons_fix_new): Do not prototype. + * config/tc-sh.c (md_pseudo_table): Add ".abi". + (sh_elf_cons) [HAVE_SH64]: Call sh64_update_contents_mark instead + of unsetting seen_insn. + (md_assemble) [HAVE_SH64] <before new SHcompact sequence>: Also + call sh64_update_contents_mark. + (sh_handle_align): Remove HAVE_SH64-conditioned code. + * config/tc-sh64.c (sh64_isa_mode): Correct type from boolean to + enum sh64_isa_values. + (sh64_set_contents_type): Drop segT parameter. All callers changed. + (emitting_crange): Boolean guard moved to file scope from function + scope in sh64_set_contents_type. + (s_sh64_abi): New. + (sh64_update_contents_mark): New; most split out from + sh64_flush_pending_output. + (shmedia_md_end): Call sh64_update_contents_mark. Set + sh64_isa_mode to sh64_isa_sh5_guard unless sh64_isa_unspecified. + (sh64_do_align): New function. + (sh64_max_mem_for_rs_align_code): New function. + (sh64_handle_align): Rename from shmedia_do_align. Make + non-static. Add head comment. Emit zero bytes for n bytes modulo + four. Change return-type to void. + (shmedia_elf_new_section): Remove. + (shmedia_md_assemble): Call sh64_update_contents_mark. + (s_sh64_mode): Ditto. Do not call md_flush_pending_output. Make + new frag. Call sh64_update_contents_mark after making the new + frag. + (sh64_flush_pending_output): Just call sh64_update_contents_mark + and sh_flush_pending_output. + (sh64_flag_output): Also call md_flush_pending_output, but add + condition on not emitting_crange. + (sh64_tc_cons_fix_new): Remove. + 2001-01-12 Nick Clifton <nickc@redhat.com> + * config/tc-sh64.c (shmedia_do_align): Fix to work with new + alignment handling scheme imported from sourceware. + 2001-01-12 Hans-Peter Nilsson <hpn@cygnus.com> + * config/tc-sh64.h (TARGET_FORMAT): Define. + (sh64_target_format): Prototype. + * config/tc-sh64.c (sh64_target_mach): New function. + 2001-01-07 Hans-Peter Nilsson <hpn@cygnus.com> + * config/tc-sh64.c (shmedia_md_end): When equating a symbol, use + zero_address_frag instead of copying the frag of the symbol. + (shmedia_frob_file_before_adjust): Ditto. + (shmedia_md_apply_fix) <case BFD_RELOC_SH_IMM_MEDLOW16>: Cast mask + to valueT to remove signedness. + (shmedia_md_convert_frag): Add parameter final. Rename parameter + headers to output_bfd. Do not evaluate symbols if final is false; + do emit fixups. + (shmedia_md_estimate_size_before_relax) <case C (MOVI_IMM_32, + UNDEF_MOVI) et al>: If symbol cannot be modified to be PC-relative + to the current frag, call shmedia_md_convert_frag to emit fixups + and make frag_wane neutralize the frag. Update comments. + * config/tc-sh.c (md_convert_frag): Change caller of + shmedia_md_convert_frag. + 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com> + * config/tc-sh64.h: Tweak comments and correct formatting. + * config/tc-sh64.c: Ditto. + (shmedia_md_convert_frag) <PT/PTA/PTB 32, 48 and 64 bit + expansion, MOVI pcrel expansion>: Fix thinko calculating offset + for the no-relocation case. + (shmedia_check_limits): Fix range check being off-by-one for PTA. + * config/tc-sh.c: Ditto. Add proper comments to #ifdef/#ifndef + wrappers. + (SH64PCREL16_F): Increment for proper max-PTA handling. Update + comment. + (SH64PCREL16_M, MOVI_16_M): Correct range thinko. + (SH64PCREL48_M, MOVI_48_M): Similar; don't count in length of + expansion. + (SH64PCREL32_M, MOVI_32_M): Ditto; handle overflowing expression. + Correct comment. + 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com> + * config/tc-sh64.c (shmedia_md_apply_fix) <second switch, case + BFD_RELOC_SH_PT_16>: Set lowest bit in field to be relocated to 1. + (shmedia_md_convert_frag) <case C (SH64PCREL16_32, SH64PCREL16) et + al>: Set lowest bit of field to relocate to 1 and rest to empty, + if reloc is emitted. + 2000-12-31 Hans-Peter Nilsson <hpn@cygnus.com> + New options plus bugfixes. + * config/tc-sh.c (md_longopts): New options "-no-expand" and + "-expand-pt32". + (md_parse_option): Handle new options. + (md_show_usage): Add blurb for new options. + * config/tc-sh64.c (SHMEDIA_BFD_RELOC_PT): New macro. + (sh64_expand, sh64_pt32): New variables. + (shmedia_init_reloc): Handle BFD_RELOC_SH_PT_16. + (shmedia_md_apply_fix): Hold original fixP->fx_r_type in + orig_fx_r_type. Change SHMEDIA_BFD_RELOC_PT into + BFD_RELOC_SH_PT_16. Handle BFD_RELOC_SH_PT_16 as pc-relative. + <resolved previously-pc-relative relocs>: Handle + SHMEDIA_BFD_RELOC_PT and BFD_RELOC_SH_PT_16. + (shmedia_md_convert_frag) <case C (SH64PCREL16PT_64, SH64PCREL16), + case C (SH64PCREL16PT_32, SH64PCREL16)>: Modify to PTB if operand + points to SHcompact code. + <case C (SH64PCREL16_32, SH64PCREL16), case C (SH64PCREL16_64, + SH64PCREL16)>: Check that ISA of what operand points at and + PTA/PTB matches, or emit error. + (shmedia_check_limits): Handle BFD_RELOC_SH_PT_16 and + SHMEDIA_BFD_RELOC_PT. + (shmedia_immediate_op): If pcrel, emit fixup also for constant + operand. + (shmedia_build_Mytes) <case A_IMMS16>: Also check sh64_expand in + condition for MOVI expansion. + <case A_PCIMMS16BY4>: Handle expansion to 32 bits only, if + sh64_pt32. Emit only a BFD_RELOC_SH_PT_16 fixup if not + sh64_expand. + <case A_PCIMMS16BY4_PT>: Likewise, but emit a SHMEDIA_BFD_RELOC_PT + fixup. + (sh64_target_format): Error-check setting of sh64_pt32 and + sh64_expand. Fix typo in check for sh64_shcompact_const_crange. + (shmedia_md_pcrel_from_section): Handle BFD_RELOC_SH_PT_16 and + SHMEDIA_BFD_RELOC_PT as coming from SHmedia code. + 2000-12-31 Hans-Peter Nilsson <hpn@cygnus.com> + * config/tc-sh64.c: Improve comments. + (shmedia_md_convert_frag): Remove inactive is_pt_variant code. Do + not say the linker will check correctness of PTA/PTB expansion. + (shmedia_md_end): Make non-static. + * config/tc-sh64.h (md_end): Define to shmedia_md_end. Add + prototype. + * config/tc-sh.c (sh_finalize): Remove. + * config/tc-sh.h (md_end): Do not define. + Remove prototype for sh_finalize. + 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com> + * config/tc-sh64.c (shmedia_frob_section_type): Use a struct + sh64_section_data container when storing section type in tdata + field in elf_section_data. + * config/tc-sh.c (sh_elf_final_processing): Change from EF_SH64 to + EF_SH5. + * Makefile.am: Update dependencies. + * Makefile.in: Regenerate. + 2000-12-22 Hans-Peter Nilsson <hpn@cygnus.com> + * config/tc-sh64.c (shmedia_md_assemble): Don't protect + dwarf2_emit_insn call with test on debug_type. + 2000-12-19 Hans-Peter Nilsson <hpn@cygnus.com> + * config/tc-sh64.c (sh64_set_contents_type): Make contents-type + CRT_SH5_ISA32 sticky for 64-bit. + 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com> + Generate .crange sections when switching ISA mode or emitting + constants in same section as code. + * config/tc-sh64.c: Reformat structure definitions. + (sh64_end_of_assembly, sh64_mix, sh64_shcompact_const_crange): New + variables. + (sh64_set_contents_type): Rename from sh64_init_section. Rewrite + to emit a .cranges descriptor when contents type changes. Only + emit error if changing contents type and -no-mix is in effect. + (sh64_emit_crange, sh64_flush_last_crange, sh64_flag_output, + sh64_flush_pending_output, sh64_tc_cons_fix_new): New functions. + (shmedia_md_end): Set sh64_end_of_assembly. Pass + sh64_flush_last_crange over sections. + When checking main symbol of datalabel symbol, check for + STO_SH5_ISA32, not ISA type of section in definition. + (shmedia_frob_file_before_adjust): Check main symbol for + STO_SH5_ISA32; don't check ISA type of section in definition. + (shmedia_frob_section_type): Adjust for .cranges; set section flag + to SHF_SH5_ISA32_MIXED or SHF_SH5_ISA32 according to whether + .cranges entries have been output. + (shmedia_elf_new_section): Just call md_flush_pending_output. + (shmedia_md_assemble): Do not emit a BFD_RELOC_SH_SHMEDIA_CODE + fix. Do not set tc_segment_info_data.in_code for section. Call + sh64_set_contents_type for SHmedia code. + (s_sh64_mode): Do not call sh64_init_section or set seen_insn to + false. Call md_flush_pending_output. + (sh64_target_format): Check that -no-mix and + -shcompact-const-crange are used in sane combination with other + options. + (shmedia_md_pcrel_from_section): Check type of fix for how to + adjust pc-relative. + (sh64_consume_datalabel): Check symbol for having STO_SH5_ISA32, + not ISA type of section in definition. + * config/tc-sh64.h (struct sh64_segment_info_type): Rewrite to + hold contents-type state. + (md_flush_pending_output): Redefine to sh64_flush_pending_output. + (sh64_flush_pending_output): Declare. + (TC_CONS_FIX_NEW): Define to sh64_tc_cons_fix_new. + (sh64_tc_cons_fix_new): Declare. + * config/tc-sh.c (sh_elf_cons) [HAVE_SH64]: Unset seen_insn and + call sh64_flag_output. + (md_assemble) [HAVE_SH64]: Do not emit BFD_RELOC_SH_CODE. Just + call sh64_set_contents_type to mark SHcompact code and set + seen_insn. + (md_longopts): New options "-no-mix" and + "-shcompact-const-crange". + (md_parse_option): Handle new options. + (md_show_usage): Add blurb for new options. + (md_number_to_chars) [HAVE_SH64]: Call sh64_flag_output. + 2000-12-15 Hans-Peter Nilsson <hpn@cygnus.com> + * config/tc-sh64.c: Delete investigated and obsolete fixme:s. + (sh64_last_insn_frag): New. + (shmedia_md_convert_frag): Use tc_frag_data field of incoming frag + to get frag for insn opcode for generating fixups; do not assume it + is the same frag. + (shmedia_build_Mytes): Set sh64_last_insn_frag after growing frag + for new insn. + * config/tc-sh64.h (ELF_TC_SPECIAL_SECTIONS): Define for .cranges + section. + (TC_FRAG_TYPE): Define as fragS *. + (TC_FRAG_INIT): Define to set tc_frag_data to sh64_last_insn_frag. + (sh64_last_insn_frag): Declare. + (sh64_consume_datalabel): Fix typo; check for seginfo != NULL, + not == NULL before dereferencing. + 2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com> + Get rid of BFD section flag and EF_SH64_ABI64. + * config/tc-sh64.c (shmedia_frob_section_type): Use + elf_section_data (sec)->tdata, not a specific BFD section flag, to + communicate the section as containing SHmedia code. Describe why. + * config/tc-sh.c (sh_elf_final_processing): Tweak comment. Set + EF_SH64 regardless of ABI. + * config/tc-sh64.c (shmedia_md_apply_fix): Decapitalize "invalid" + in error message. Handle resolved expressions for + BFD_RELOC_SH_IMMS10, BFD_RELOC_SH_IMMS10BY2, + BFD_RELOC_SH_IMMS10BY4 and BFD_RELOC_64. + (shmedia_check_limits): Handle BFD_RELOC_64. + (sh64_adjust_symtab): Do not decrement the GAS symbol value for + a STO_SH5_ISA32 symbol, only the BFD value. + 2000-12-11 Ben Elliston <bje@redhat.com> + * config/tc-sh64.c: Call dwarf2_emit_insn, not the defunct + dwarf2_generate_asm_lineno. + 2000-12-11 Hans-Peter Nilsson <hpn@cygnus.com> + Handle PC-relative MOVI expansions with assembler relaxation. + Generate PC-relative relocs from 16-bit PC-relative expressions. + * config/tc-sh64.c (SHMEDIA_MD_PCREL_FROM_FIX): Break out from... + (shmedia_md_pcrel_from_section): ...here. + (shmedia_md_apply_fix): Handle fixups for 16-bit operands that has + turned completely resolved. Adjust relocation type for 16-bit + immediate operands that has turned PC-relative. Adjust back for + MD_PCREL_FROM_SECTION being applied twice. + (shmedia_md_convert_frag): Always emit reloc for expression with + global or weak symbol. Handle relaxation result for PC-relative + expressions. + (shmedia_md_estimate_size_before_relax): An expression with a weak + or global symbol can not be relaxed. Break out tests for + relaxable symbol into variable sym_relaxable. + <cases C (MOVI_IMM_64, UNDEF_MOVI) and C (MOVI_IMM_32, + UNDEF_MOVI)>: Break out any PC-relative expression and change + relaxation type. + (shmedia_build_Mytes): CSE &operands->operands[j] into variable + opjp. + <case A_IMMS16>: Fix typo for initial minor relaxation type of + MOVI expansion. If X_op_symbol of the immediate expression is + set, make an expression symbol for the argument to frag_var. + * config/tc-sh.c (MOVI_IMM_32_PCREL, MOVI_IMM_64_PCREL): New + relaxations. + (END): Adjust for new relaxations. + (md_relax_table): Add entries for new relaxations. + 2000-12-07 Ben Elliston <bje@redhat.com> + * config/tc-sh64.c (shmedia_parse_reg): Initialize variable len. + 2000-12-07 Hans-Peter Nilsson <hpn@cygnus.com> + * config/tc-sh64.c (shmedia_md_convert_frag): Correct all MOVI and + SHORI operand offsets in PT/PTA/PTB expansions. + 2000-12-05 Hans-Peter Nilsson <hpn@cygnus.com> + Implement DataLabel semantics. + * config/tc-sh.c (sh_frob_file) [HAVE_SH64]: Call + shmedia_frob_file_before_adjust. + * config/tc-sh64.c [! OBJ_ELF]: Emit #error. + (DATALABEL_SUFFIX): Define. + (shmedia_md_end) <before adjusting STO_SH5_ISA32 symbols>: Walk + symbol list to update "datalabel" symbols to their main symbol + counterparts. + (shmedia_frob_file_before_adjust): New. + (sh64_adjust_symtab): For remaining datalabel symbols, set to + undefined and set STT_DATALABEL. + (sh64_frob_label): Initialize TC symbol field. + (sh64_consume_datalabel): Actually implement semantics. New + parameter operandf, call it instead of expression. + (sh64_exclude_symbol): New. + * config/tc-sh64.h (md_parse_name): Pass on the function operand + to sh64_consume_datalabel. + (tc_symbol_new_hook): Define to tc_frob_symbol. + (TC_SYMFIELD_TYPE): Define to symbolS *. + (tc_frob_symbol): Define to call sh64_exclude_symbol. + 2000-12-01 Hans-Peter Nilsson <hpn@cygnus.com> + * config/tc-sh64.c (shmedia_init_reloc): Tweak comment for default + case. + (shmedia_md_assemble): Call dwarf2_generate_asm_lineno if + generating dwarf2 debug information. + 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com> + * config/tc-sh64.c (sh64_target_format): Use elf64-sh64l and + elf64-sh64 for the 64-bit ABI. + * config/tc-sh.c (md_show_usage): Tweak usage output for -abi=* + option. + 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com> + * config/tc-sh.c: Remove conditionalizing on HAVE_SH64 for + case-insensitivity. + 2000-11-27 Hans-Peter Nilsson <hpn@cygnus.com> + * config/tc-sh64.c: Tweak comments, formatting and error messages. + (enum sh64_abi_values): New type. + (enum sh64_isa_values): New type. + (sh64_isa_mode): Replace shmedia_mode. All referers changed. + (seen_shcompact_mode, seen_shmedia_mode): Delete. + (sh64_abi): Replace shmedia_64. + (shmedia_md_convert_frag) <C (MOVI_IMM_64, MOVI_64), + C (MOVI_IMM_32, MOVI_32)>: Correct register number handling. + (s_sh64_mode): Check validity for this target. + (sh64_target_format): Initialize defaults for ISA and ABI. + Fallback to old object format if no SH64 ISA or ABI has been + specified. + * config/tc-sh.c (md_parse_option): Check combinations for errors. + (sh_elf_final_processing): Change to have EF_SH64_ABI64 for 64-bit + ABI and EF_SH64 for 32-bit ABI, if SH64 options are specified. + * config/tc-sh64.h: Fix typo in comment. + 2000-11-25 Hans-Peter Nilsson <hpn@cygnus.com> + * config/tc-sh64.c (shmedia_md_estimate_size_before_relax) + <PT fixups for absolute values>: Size will be longest, not + shortest. + (shmedia_md_convert_frag): Disable PTB-warning machinery. Correct + all MOVI and SHORI operand offsets in PT/PTA/PTB expansions. + * config/tc-sh.c (parse_reg) [HAVE_SH64]: Add local variables l0 + and l1 to hold lowercase of two first characters. Change all + remaining TO_LOWER to tolower. + * config/tc-sh64.c (TO_LOWER): Delete. + (shmedia_find_cooked_opcode): Use tolower, not TO_LOWER. + (md_parse_name): Define. + (sh64_consume_datalabel): Declare. + (DOLLAR_DOT): Define. + * config/tc-sh64.c (shmedia_parse_exp): New. + (sh64_consume_datalabel): New; just ignoring datalabel semantics. + (shmedia_parse_reg): Remove const from src + parameter. + (shmedia_get_operands): Ditto for args parameter and ptr variable. + (shmedia_md_assemble): Ditto for op_end variable. + (shmedia_get_operand): Ditto for ptr parameter and src variable. + Use shmedia_parse_exp, not parse_exp. + * config/tc-sh64.c (shmedia_parse_reg): Add shmedia_arg_type + parameter. All callers changed. + (shmedia_get_operand): Add shmedia_arg_type parameter. All + callers changed. + (shmedia_parse_reg): Put first two character in local variables. + Use tolower, not TO_LOWER. If no register is found and argtype + indicates a control register, scan shmedia_creg_table + case-insensitive. + 2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com> + * Makefile.am (CPU_TYPES): Add sh64. + (TARGET_CPU_CFILES): Add config/tc-sh64.c. + (TARGET_CPU_HFILES): Add config/tc-sh64.h. + Regenerate dependencies. + * Makefile.in: Regenerate. + * configure.in: Add support for sh64-*-elf*. + * configure: Regenerate. + * config/tc-sh64.h: New. + * config/tc-sh64.c: New. + * config/tc-sh.c (md_pseudo_table) [HAVE_SH64]: New pseudos + .mode, .isa and .uaquad. + [HAVE_SH64] (SH64PCREL16_32, SH64PCREL16_64, SH64PCREL16PT_32, + SH64PCREL16PT_64, MOVI_IMM_32, MOVI_IMM_64): Define. + [HAVE_SH64] (END): Define as 10. + [HAVE_SH64] (UNDEF_SH64PCREL, SH64PCREL16, SH64PCREL32, + SH64PCREL48, SH64PCREL64, UNDEF_MOVI, MOVI_16, MOVI_32, MOVI_48, + MOVI_64): Define. + [HAVE_SH64] (SH64PCREL16_F, SH64PCREL16_M, SH64PCREL16_LENGTH, + SH64PCREL32_F, SH64PCREL32_M, SH64PCREL32_LENGTH, SH64PCREL48_F, + SH64PCREL48_M, SH64PCREL48_LENGTH, SH64PCREL64_LENGTH, + MOVI_16_LENGTH, MOVI_32_LENGTH, MOVI_48_LENGTH, MOVI_64_LENGTH): + Define. + (md_relax_table) [HAVE_SH64]: Provide relaxations for SHmedia. + (md_begin) [HAVE_SH64]: Call shmedia_md_begin. + (parse_reg) [HAVE_SH64]: Parse register names case-insensitive. + (md_assemble) [HAVE_SH64]: Call shmedia_md_assemble if assembling + SHmedia instructions. Handle state-change after switching to + SHcompact. + (md_longopts) [HAVE_SH64]: New options --isa=* and --abi=*. + (md_parse_option) [HAVE_SH64]: Parse new options. + (md_show_usage) [HAVE_SH64]: Show usage of new options. + (md_convert_frag) [HAVE_SH64] <default>: Call + shmedia_md_convert_frag instead of abort. + (sh_force_relocation) [HAVE_SH64]: Also force relocation for + BFD_RELOC_SH_SHMEDIA_CODE. + (sh_elf_final_processing) [HAVE_SH64]: Set flags identifying + SHcompact or SHmedia code. + (md_apply_fix) [HAVE_SH64] <default>: Return result from calling + shmedia_md_apply_fix instead of abort. + (md_estimate_size_before_relax) [HAVE_SH64] <default>: Return + result from calling shmedia_md_estimate_size_before_relax instead + of calling abort. + (sh_do_align) [HAVE_SH64]: If shmedia_mode, let shmedia_do_align + do the work. + (tc_gen_reloc) [HAVE_SH64]: For unrecognized relocs, call + shmedia_init_reloc and do nothing more if it returns non-zero. + (sh_finalize) [HAVE_SH64]: Call shmedia_md_end. + * po/POTFILES.in: Regenerate. + * po/gas.pot: Regenerate. + +2002-02-06 Alexandre Oliva <aoliva@redhat.com> + + * config/tc-sh.c (parse_at): Install the correct version of + 2002-02-04's patch. + + * config/tc-sh.c (md_apply_fix3) <BFD_RELOC_32_PLT_PCREL>: Don't + assume fixP->fx_subsy is non-NULL. + +2002-02-04 Alexandre Oliva <aoliva@redhat.com> + + * config/tc-sh.c (parse_at): Set arg type of @(expr,pc) to + A_DISP_PC_ABS, and adjust it by -4. + (get_specific): Accept A_DISP_PC_ABS where A_DISP_PC is + expected. + (build_Mytes): Mark PCRELIMM fix-ups as pc-relative only if + the operand type is not A_DISP_PC_ABS. + +2002-02-04 Hans-Peter Nilsson <hp@bitrange.com> + + * config/tc-mmix.c (tc_gen_reloc): Don't try and take the value of + common and weak symbols. Handle common and weak symbols as + undefined symbols with regards to GREG handling and merging. + (mmix_frob_file): Ditto. + +2002-02-02 Jason Thorpe <thorpej@wasabisystems.com> + + * configure.in (hppa-*-netbsd*): New target. + * configure: Regenerate. + * config/tc-hppa.h: Also define WARN_COMMENTS if TE_NetBSD. + +2002-02-02 Alan Modra <amodra@bigpond.net.au> + + * config/tc-v850.c: Add missing prototypes amd use old-style + function definitions. + (AREA_ZDA, AREA_SDA, AREA_TDA): Delete. + (sdata_section tdata_section, zdata_section, sbss_section, + tbss_section, zbss_section, rosdata_section, rozdata_section, + scommon_section, tcommon_section, zcommon_section, + call_table_data_section, call_table_text_section): Delete. + (v850_sdata, v850_tdata, v850_zdata, v850_sbss, v850_tbss, + v850_zbss, v850_bss, v850_rosdata, v850_rozdata, + v850_call_table_data, v850_call_table_text): Delete. + (struct v850_seg_entry): New. + (v850_seg_table): New. + (SDATA_SECTION TDATA_SECTION, ZDATA_SECTION, SBSS_SECTION, + TBSS_SECTION, ZBSS_SECTION, BSS_SECTION, ROSDATA_SECTION, + ROZDATA_SECTION, SCOMMON_SECTION, TCOMMON_SECTION, ZCOMMON_SECTION, + CALL_TABLE_DATA_SECTION, CALL_TABLE_TEXT_SECTION): Define. + (do_v850_seg): New. + (v850_seg): New. + (v850_comm): Use do_v850_seg and v850_seg_table. Simplify + recording of alignment. + (md_pseudo_table): Use v850_seg. + (md_begin): Don't init .call_table_data and .call_table_text here. + Set v850_seg_table bss entry. + +2002-02-01 Hans-Peter Nilsson <hp@bitrange.com> + + Support on-demand global register allocation by passing on + base-plus-offset relocs to the linker. + * config/tc-mmix.c: Tweak and fix typos in comments. + (allocate_undefined_gregs_in_linker): New variable. + (OPTION_LINKER_ALLOCATED_GREGS): New option macro. + (md_longopts): Add --linker-allocated-gregs. + (md_parse_option) <case 'x'>: Imply --linker-allocated-gregs. + <case OPTION_LINKER_ALLOCATED_GREGS>: New. + (md_show_usage): Update text for -x. Add text for + --linker-allocated-gregs. + (tc_gen_reloc): Derive default value for addend from val and + baddsy. Use addsec and bfd_is_abs_section in more places. Don't + emit error for BFD_RELOC_MMIX_BASE_PLUS_OFFSET without suitable + GREG if allocate_undefined_gregs_in_linker. + * doc/as.texinfo (Overview) <Target MMIX options>: Add + --linker-allocated-gregs. + * doc/c-mmix.texi (MMIX-Opts): Add blurb about + --linker-allocated-gregs. Mention that it's implied by -x. + (MMIX-Pseudos) <GREG>: Mention when and how a GREG can be omitted. + (MMIX-mmixal): Clarify dated comparison and location of MMIXware. + + * config/tc-mmix.h (md_parse_name): Use ISUPPER, not isupper. + +2002-02-01 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am: Run "make dep-am" + * Makefile.in: Regenerate. + +2002-01-31 Ivan Guzvinec <ivang@opencores.org> + + * config/tc-or32.c: New file. + * config/tc-or32.h: New file. + * configure.in: Add support for or32 targets. + * configure: Regenerate. + * config/obj-coff.c: Add support for or32 targets. + * config/obj-coff.h: Add support for or32 targets. + * Makefile.am: Add support for or32 targets. + * Makefile.in: Regenerate. + * NEWS: Mention support for OpenRISC. + * doc/Makefile.in: Regenerate. + * po/POTFILES.in: Regenerate. + * po/gas.pot: Regenerate. + +2002-01-30 Richard Sandiford <rsandifo@redhat.com> + + * config/tc-sh.c (parse_reg): Fix end-of-word check for is, ix, iy + and mod. + +2002-01-29 Chris Demetriou <cgd@broadcom.com> + + * config/tc-mips.c (tc_gen_reloc): Arrange for + BFD_RELOC_PCREL_HI16_S relocations to be output relative to + their LO16 parts, even for ELF. + +2002-01-29 Daniel Jacobowitz <drow@mvista.com> + + * config/tc-i386.c: Protect definitions of true and false + from redefinition. + +2002-01-28 Jakub Jelinek <jakub@redhat.com> + + * config/obj-elf.c (elf_frob_file_before_adjust): Remove symbols + made because of .weak, if they are neither defined nor used in any + way. + +2002-01-27 Daniel Jacobowitz <drow@mvista.com> + + * configure: Regenerated. + +2002-01-26 Hans-Peter Nilsson <hp@bitrange.com> + + * doc/Makefile.am (install): Depend on install-info. + * doc/Makefile.in: Regenerate. + 2002-01-26 Nick Clifton <nick@redhat.com> * po/fr.po: Updated version diff --git a/contrib/binutils/gas/Makefile.am b/contrib/binutils/gas/Makefile.am index 304189d..a0262e8 100644 --- a/contrib/binutils/gas/Makefile.am +++ b/contrib/binutils/gas/Makefile.am @@ -65,6 +65,7 @@ CPU_TYPES = \ mn10300 \ ns32k \ openrisc \ + or32 \ pdp11 \ pj \ ppc \ @@ -78,6 +79,7 @@ CPU_TYPES = \ vax \ w65 \ v850 \ + sh64 \ xstormy16 \ z8k @@ -251,11 +253,13 @@ TARGET_CPU_CFILES = \ config/tc-mn10300.c \ config/tc-ns32k.c \ config/tc-openrisc.c \ + config/tc-or32.c \ config/tc-pdp11.c \ config/tc-pj.c \ config/tc-ppc.c \ config/tc-s390.c \ config/tc-sh.c \ + config/tc-sh64.c \ config/tc-sparc.c \ config/tc-tahoe.c \ config/tc-tic30.c \ @@ -296,11 +300,13 @@ TARGET_CPU_HFILES = \ config/tc-mn10300.h \ config/tc-ns32k.h \ config/tc-openrisc.h \ + config/tc-or32.h \ config/tc-pdp11.h \ config/tc-pj.h \ config/tc-ppc.h \ config/tc-s390.h \ config/tc-sh.h \ + config/tc-sh64.h \ config/tc-sparc.h \ config/tc-tahoe.h \ config/tc-tic30.h \ @@ -1262,6 +1268,16 @@ DEPTC_openrisc_elf = $(INCDIR)/symcat.h $(srcdir)/config/obj-elf.h \ subsegs.h $(INCDIR)/obstack.h $(srcdir)/../opcodes/openrisc-desc.h \ $(INCDIR)/opcode/cgen.h $(srcdir)/../opcodes/openrisc-opc.h \ cgen.h +DEPTC_or32_coff = $(INCDIR)/safe-ctype.h $(INCDIR)/symcat.h \ + $(srcdir)/config/obj-coff.h $(srcdir)/config/tc-or32.h \ + $(INCDIR)/coff/internal.h $(INCDIR)/coff/or32.h $(BFDDIR)/libcoff.h \ + $(INCDIR)/bfdlink.h $(INCDIR)/opcode/or32.h $(INCDIR)/elf/or32.h \ + $(INCDIR)/elf/reloc-macros.h +DEPTC_or32_elf = $(INCDIR)/safe-ctype.h $(INCDIR)/symcat.h \ + $(srcdir)/config/obj-elf.h $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h \ + $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \ + $(srcdir)/config/tc-or32.h $(INCDIR)/opcode/or32.h \ + $(INCDIR)/elf/or32.h $(INCDIR)/elf/reloc-macros.h DEPTC_pdp11_aout = $(INCDIR)/symcat.h $(srcdir)/config/obj-aout.h \ $(srcdir)/config/tc-pdp11.h $(BFDDIR)/libaout.h $(INCDIR)/bfdlink.h \ $(INCDIR)/safe-ctype.h $(INCDIR)/opcode/pdp11.h @@ -1714,6 +1730,15 @@ DEPOBJ_openrisc_elf = $(INCDIR)/symcat.h $(srcdir)/config/obj-elf.h \ $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(srcdir)/config/tc-openrisc.h \ $(INCDIR)/safe-ctype.h subsegs.h $(INCDIR)/obstack.h \ $(INCDIR)/aout/aout64.h +DEPOBJ_or32_coff = $(INCDIR)/symcat.h $(srcdir)/config/obj-coff.h \ + $(srcdir)/config/tc-or32.h $(INCDIR)/coff/internal.h \ + $(INCDIR)/coff/or32.h $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h \ + $(INCDIR)/obstack.h subsegs.h +DEPOBJ_or32_elf = $(INCDIR)/symcat.h $(srcdir)/config/obj-elf.h \ + $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \ + $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(srcdir)/config/tc-or32.h \ + $(INCDIR)/safe-ctype.h subsegs.h $(INCDIR)/obstack.h \ + $(INCDIR)/aout/aout64.h DEPOBJ_pdp11_aout = $(INCDIR)/symcat.h $(srcdir)/config/obj-aout.h \ $(srcdir)/config/tc-pdp11.h $(BFDDIR)/libaout.h $(INCDIR)/bfdlink.h \ $(INCDIR)/aout/aout64.h $(INCDIR)/obstack.h @@ -1762,6 +1787,20 @@ DEPOBJ_sh_elf = $(INCDIR)/symcat.h $(srcdir)/config/obj-elf.h \ $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(srcdir)/config/tc-sh.h \ $(INCDIR)/safe-ctype.h subsegs.h $(INCDIR)/obstack.h \ $(INCDIR)/aout/aout64.h +DEPTC_sh64_elf = $(srcdir)/config/obj-elf.h $(BFDDIR)/elf-bfd.h \ + $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \ + $(INCDIR)/bfdlink.h $(srcdir)/config/tc-sh64.h $(srcdir)/config/tc-sh.h \ + $(srcdir)/../opcodes/sh64-opc.h $(srcdir)/config/tc-sh.c \ + subsegs.h $(INCDIR)/obstack.h $(srcdir)/../opcodes/sh-opc.h \ + struc-symbol.h $(INCDIR)/elf/sh.h $(INCDIR)/elf/reloc-macros.h \ + dwarf2dbg.h $(INCDIR)/symcat.h +DEPOBJ_sh64_elf = $(srcdir)/config/obj-elf.h $(BFDDIR)/elf-bfd.h \ + $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \ + $(INCDIR)/bfdlink.h $(srcdir)/config/tc-sh64.h $(srcdir)/config/tc-sh.h \ + subsegs.h $(INCDIR)/obstack.h $(INCDIR)/aout/aout64.h $(INCDIR)/elf/sh.h +DEP_sh64_elf = $(srcdir)/config/obj-elf.h $(BFDDIR)/elf-bfd.h \ + $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \ + $(INCDIR)/bfdlink.h $(srcdir)/config/tc-sh64.h $(srcdir)/config/tc-sh.h DEPOBJ_sparc_aout = $(INCDIR)/symcat.h $(srcdir)/config/obj-aout.h \ $(srcdir)/config/tc-sparc.h $(BFDDIR)/libaout.h $(INCDIR)/bfdlink.h \ $(INCDIR)/aout/aout64.h $(INCDIR)/obstack.h @@ -2058,6 +2097,12 @@ DEP_openrisc_coff = $(srcdir)/config/obj-coff.h $(srcdir)/config/tc-openrisc.h \ DEP_openrisc_elf = $(srcdir)/config/obj-elf.h $(INCDIR)/symcat.h \ $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \ $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(srcdir)/config/tc-openrisc.h +DEP_or32_coff = $(srcdir)/config/obj-coff.h $(srcdir)/config/tc-or32.h \ + $(INCDIR)/symcat.h $(INCDIR)/coff/internal.h $(INCDIR)/coff/or32.h \ + $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h +DEP_or32_elf = $(srcdir)/config/obj-elf.h $(INCDIR)/symcat.h \ + $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \ + $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(srcdir)/config/tc-or32.h DEP_pdp11_aout = $(srcdir)/config/obj-aout.h $(srcdir)/config/tc-pdp11.h \ $(BFDDIR)/libaout.h $(INCDIR)/bfdlink.h DEP_pdp11_coff = $(srcdir)/config/obj-coff.h $(srcdir)/config/tc-pdp11.h \ diff --git a/contrib/binutils/gas/Makefile.in b/contrib/binutils/gas/Makefile.in index 5664979..a184acf 100644 --- a/contrib/binutils/gas/Makefile.in +++ b/contrib/binutils/gas/Makefile.in @@ -176,6 +176,7 @@ CPU_TYPES = \ mn10300 \ ns32k \ openrisc \ + or32 \ pdp11 \ pj \ ppc \ @@ -189,6 +190,7 @@ CPU_TYPES = \ vax \ w65 \ v850 \ + sh64 \ xstormy16 \ z8k @@ -368,11 +370,13 @@ TARGET_CPU_CFILES = \ config/tc-mn10300.c \ config/tc-ns32k.c \ config/tc-openrisc.c \ + config/tc-or32.c \ config/tc-pdp11.c \ config/tc-pj.c \ config/tc-ppc.c \ config/tc-s390.c \ config/tc-sh.c \ + config/tc-sh64.c \ config/tc-sparc.c \ config/tc-tahoe.c \ config/tc-tic30.c \ @@ -414,11 +418,13 @@ TARGET_CPU_HFILES = \ config/tc-mn10300.h \ config/tc-ns32k.h \ config/tc-openrisc.h \ + config/tc-or32.h \ config/tc-pdp11.h \ config/tc-pj.h \ config/tc-ppc.h \ config/tc-s390.h \ config/tc-sh.h \ + config/tc-sh64.h \ config/tc-sparc.h \ config/tc-tahoe.h \ config/tc-tic30.h \ @@ -1033,6 +1039,18 @@ DEPTC_openrisc_elf = $(INCDIR)/symcat.h $(srcdir)/config/obj-elf.h \ $(INCDIR)/opcode/cgen.h $(srcdir)/../opcodes/openrisc-opc.h \ cgen.h +DEPTC_or32_coff = $(INCDIR)/safe-ctype.h $(INCDIR)/symcat.h \ + $(srcdir)/config/obj-coff.h $(srcdir)/config/tc-or32.h \ + $(INCDIR)/coff/internal.h $(INCDIR)/coff/or32.h $(BFDDIR)/libcoff.h \ + $(INCDIR)/bfdlink.h $(INCDIR)/opcode/or32.h $(INCDIR)/elf/or32.h \ + $(INCDIR)/elf/reloc-macros.h + +DEPTC_or32_elf = $(INCDIR)/safe-ctype.h $(INCDIR)/symcat.h \ + $(srcdir)/config/obj-elf.h $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h \ + $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \ + $(srcdir)/config/tc-or32.h $(INCDIR)/opcode/or32.h \ + $(INCDIR)/elf/or32.h $(INCDIR)/elf/reloc-macros.h + DEPTC_pdp11_aout = $(INCDIR)/symcat.h $(srcdir)/config/obj-aout.h \ $(srcdir)/config/tc-pdp11.h $(BFDDIR)/libaout.h $(INCDIR)/bfdlink.h \ $(INCDIR)/safe-ctype.h $(INCDIR)/opcode/pdp11.h @@ -1589,6 +1607,17 @@ DEPOBJ_openrisc_elf = $(INCDIR)/symcat.h $(srcdir)/config/obj-elf.h \ $(INCDIR)/safe-ctype.h subsegs.h $(INCDIR)/obstack.h \ $(INCDIR)/aout/aout64.h +DEPOBJ_or32_coff = $(INCDIR)/symcat.h $(srcdir)/config/obj-coff.h \ + $(srcdir)/config/tc-or32.h $(INCDIR)/coff/internal.h \ + $(INCDIR)/coff/or32.h $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h \ + $(INCDIR)/obstack.h subsegs.h + +DEPOBJ_or32_elf = $(INCDIR)/symcat.h $(srcdir)/config/obj-elf.h \ + $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \ + $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(srcdir)/config/tc-or32.h \ + $(INCDIR)/safe-ctype.h subsegs.h $(INCDIR)/obstack.h \ + $(INCDIR)/aout/aout64.h + DEPOBJ_pdp11_aout = $(INCDIR)/symcat.h $(srcdir)/config/obj-aout.h \ $(srcdir)/config/tc-pdp11.h $(BFDDIR)/libaout.h $(INCDIR)/bfdlink.h \ $(INCDIR)/aout/aout64.h $(INCDIR)/obstack.h @@ -1648,6 +1677,23 @@ DEPOBJ_sh_elf = $(INCDIR)/symcat.h $(srcdir)/config/obj-elf.h \ $(INCDIR)/safe-ctype.h subsegs.h $(INCDIR)/obstack.h \ $(INCDIR)/aout/aout64.h +DEPTC_sh64_elf = $(srcdir)/config/obj-elf.h $(BFDDIR)/elf-bfd.h \ + $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \ + $(INCDIR)/bfdlink.h $(srcdir)/config/tc-sh64.h $(srcdir)/config/tc-sh.h \ + $(srcdir)/../opcodes/sh64-opc.h $(srcdir)/config/tc-sh.c \ + subsegs.h $(INCDIR)/obstack.h $(srcdir)/../opcodes/sh-opc.h \ + struc-symbol.h $(INCDIR)/elf/sh.h $(INCDIR)/elf/reloc-macros.h \ + dwarf2dbg.h $(INCDIR)/symcat.h + +DEPOBJ_sh64_elf = $(srcdir)/config/obj-elf.h $(BFDDIR)/elf-bfd.h \ + $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \ + $(INCDIR)/bfdlink.h $(srcdir)/config/tc-sh64.h $(srcdir)/config/tc-sh.h \ + subsegs.h $(INCDIR)/obstack.h $(INCDIR)/aout/aout64.h $(INCDIR)/elf/sh.h + +DEP_sh64_elf = $(srcdir)/config/obj-elf.h $(BFDDIR)/elf-bfd.h \ + $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \ + $(INCDIR)/bfdlink.h $(srcdir)/config/tc-sh64.h $(srcdir)/config/tc-sh.h + DEPOBJ_sparc_aout = $(INCDIR)/symcat.h $(srcdir)/config/obj-aout.h \ $(srcdir)/config/tc-sparc.h $(BFDDIR)/libaout.h $(INCDIR)/bfdlink.h \ $(INCDIR)/aout/aout64.h $(INCDIR)/obstack.h @@ -2035,6 +2081,14 @@ DEP_openrisc_elf = $(srcdir)/config/obj-elf.h $(INCDIR)/symcat.h \ $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \ $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(srcdir)/config/tc-openrisc.h +DEP_or32_coff = $(srcdir)/config/obj-coff.h $(srcdir)/config/tc-or32.h \ + $(INCDIR)/symcat.h $(INCDIR)/coff/internal.h $(INCDIR)/coff/or32.h \ + $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h + +DEP_or32_elf = $(srcdir)/config/obj-elf.h $(INCDIR)/symcat.h \ + $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \ + $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(srcdir)/config/tc-or32.h + DEP_pdp11_aout = $(srcdir)/config/obj-aout.h $(srcdir)/config/tc-pdp11.h \ $(BFDDIR)/libaout.h $(INCDIR)/bfdlink.h @@ -2228,7 +2282,7 @@ configure configure.in gdbinit.in itbl-lex.c itbl-parse.c DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) -TAR = tar +TAR = gtar GZIP_ENV = --best SOURCES = $(itbl_test_SOURCES) $(as_new_SOURCES) $(EXTRA_as_new_SOURCES) $(gasp_new_SOURCES) OBJECTS = $(itbl_test_OBJECTS) $(as_new_OBJECTS) $(gasp_new_OBJECTS) diff --git a/contrib/binutils/gas/NEWS b/contrib/binutils/gas/NEWS index 950f63b..df3033e 100644 --- a/contrib/binutils/gas/NEWS +++ b/contrib/binutils/gas/NEWS @@ -1,4 +1,8 @@ -*- text -*- +Support for Don Knuth's MMIX, by Hans-Peter Nilsson. + +Support for the OpenRISC 32-bit embedded processor by OpenCores. + The ARM assembler now accepts -march=..., -mcpu=... and -mfpu=... for specifying the target instruction set. The old method of specifying the target processor has been deprecated, but is still accepted for diff --git a/contrib/binutils/gas/aclocal.m4 b/contrib/binutils/gas/aclocal.m4 index 2a3ccb7..be1c188 100644 --- a/contrib/binutils/gas/aclocal.m4 +++ b/contrib/binutils/gas/aclocal.m4 @@ -203,7 +203,7 @@ dnl AM_PROG_LEX dnl Look for flex, lex or missing, then run AC_PROG_LEX and AC_DECL_YYTEXT AC_DEFUN(AM_PROG_LEX, [missing_dir=ifelse([$1],,`cd $ac_aux_dir && pwd`,$1) -AC_CHECK_PROGS(LEX, flex lex, "$missing_dir/missing flex") +AC_CHECK_PROGS(LEX, flex lex, $missing_dir/missing flex) AC_PROG_LEX AC_DECL_YYTEXT]) diff --git a/contrib/binutils/gas/config/obj-coff.c b/contrib/binutils/gas/config/obj-coff.c index 759389a..c956d62 100644 --- a/contrib/binutils/gas/config/obj-coff.c +++ b/contrib/binutils/gas/config/obj-coff.c @@ -1,6 +1,6 @@ /* coff object file format Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, - 1999, 2000, 2001 + 1999, 2000, 2001, 2002 Free Software Foundation, Inc. This file is part of GAS. @@ -1889,7 +1889,7 @@ count_entries_in_chain (idx) { if (fixup_ptr->fx_done == 0 && TC_COUNT_RELOC (fixup_ptr)) { -#ifdef TC_A29K +#if defined(TC_A29K) || defined(TC_OR32) if (fixup_ptr->fx_r_type == RELOC_CONSTH) nrelocs += 2; else @@ -2048,6 +2048,20 @@ do_relocs_for (abfd, h, file_cursor) ext_ptr++; } #endif +#if defined(TC_OR32) + /* The or32 has a special kludge for the high 16 bit + reloc. Two relocations are emited, R_IHIHALF, + and R_IHCONST. The second one doesn't contain a + symbol, but uses the value for offset. */ + if (intr.r_type == R_IHIHALF) + { + /* Now emit the second bit. */ + intr.r_type = R_IHCONST; + intr.r_symndx = fix_ptr->fx_addnumber; + (void) bfd_coff_swap_reloc_out (abfd, & intr, ext_ptr); + ext_ptr ++; + } +#endif } fix_ptr = fix_ptr->fx_next; @@ -2127,6 +2141,7 @@ fill_section (abfd, h, file_cursor) COFF_NOLOAD_PROBLEM, and have only one test here. */ #ifndef TC_I386 #ifndef TC_A29K +#ifndef TC_OR32 #ifndef COFF_NOLOAD_PROBLEM /* Apparently the SVR3 linker (and exec syscall) and UDI mondfe progrem are confused by noload sections. */ @@ -2134,6 +2149,7 @@ fill_section (abfd, h, file_cursor) #endif #endif #endif +#endif } else if (strcmp (s->s_name, ".lit") == 0) s->s_flags = STYP_LIT | STYP_TEXT; @@ -4420,7 +4436,7 @@ fixup_segment (segP, this_segment_type) break; default: -#if defined(TC_A29K) || (defined(TE_PE) && defined(TC_I386)) || defined(TC_M88K) +#if defined(TC_A29K) || (defined(TE_PE) && defined(TC_I386)) || defined(TC_M88K) || defined(TC_OR32) /* This really should be handled in the linker, but backward compatibility forbids. */ add_number += S_GET_VALUE (add_symbolP); @@ -4466,7 +4482,7 @@ fixup_segment (segP, this_segment_type) if (pcrel) { -#if !defined(TC_M88K) && !(defined(TE_PE) && defined(TC_I386)) && !defined(TC_A29K) +#if !defined(TC_M88K) && !(defined(TE_PE) && defined(TC_I386)) && !defined(TC_A29K) && !defined(TC_OR32) /* This adjustment is not correct on the m88k, for which the linker does all the computation. */ add_number -= md_pcrel_from (fixP); diff --git a/contrib/binutils/gas/config/obj-coff.h b/contrib/binutils/gas/config/obj-coff.h index 98948be..8d2ae73 100644 --- a/contrib/binutils/gas/config/obj-coff.h +++ b/contrib/binutils/gas/config/obj-coff.h @@ -1,6 +1,6 @@ /* coff object file format Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, - 1999, 2000 + 1999, 2000, 2002 Free Software Foundation, Inc. This file is part of GAS. @@ -90,6 +90,11 @@ #define TARGET_FORMAT "coff-a29k-big" #endif +#ifdef TC_OR32 +#include "coff/or32.h" +#define TARGET_FORMAT "coff-or32-big" +#endif + #ifdef TC_I960 #include "coff/i960.h" #define TARGET_FORMAT "coff-Intel-little" @@ -122,15 +127,10 @@ #define TARGET_FORMAT "pe-shl" #else -#if 0 /* FIXME: The "shl" varaible does not appear to exist. What happened to it ? */ #define TARGET_FORMAT \ - (shl \ + (!target_big_endian \ ? (sh_small ? "coff-shl-small" : "coff-shl") \ : (sh_small ? "coff-sh-small" : "coff-sh")) -#else -#define TARGET_FORMAT \ - (sh_small ? "coff-shl-small" : "coff-shl") -#endif #endif #endif @@ -190,9 +190,7 @@ extern void coff_obj_symbol_new_hook PARAMS ((symbolS *)); extern void coff_obj_read_begin_hook PARAMS ((void)); #define obj_read_begin_hook coff_obj_read_begin_hook -/* *********************************************************************** - - This file really contains two implementations of the COFF back end. +/* This file really contains two implementations of the COFF back end. They are in the process of being merged, but this is only a preliminary, mechanical merging. Many definitions that are identical between the two are still found in both versions. @@ -226,9 +224,7 @@ extern void coff_obj_read_begin_hook PARAMS ((void)); See doc/internals.texi for a brief discussion of the history, if you care. - Ken Raeburn, 5 May 1994 - - *********************************************************************** */ + Ken Raeburn, 5 May 1994. */ #ifdef BFD_ASSEMBLER @@ -257,10 +253,10 @@ extern void coff_obj_read_begin_hook PARAMS ((void)); extern void obj_coff_section PARAMS ((int)); -/* The number of auxiliary entries */ +/* The number of auxiliary entries. */ #define S_GET_NUMBER_AUXILIARY(s) \ (coffsymbol (symbol_get_bfdsym (s))->native->u.syment.n_numaux) -/* The number of auxiliary entries */ +/* The number of auxiliary entries. */ #define S_SET_NUMBER_AUXILIARY(s,v) (S_GET_NUMBER_AUXILIARY (s) = (v)) /* True if a symbol name is in the string table, i.e. its length is > 8. */ @@ -271,9 +267,9 @@ extern int S_SET_STORAGE_CLASS PARAMS ((symbolS *, int)); extern int S_GET_STORAGE_CLASS PARAMS ((symbolS *)); extern void SA_SET_SYM_ENDNDX PARAMS ((symbolS *, symbolS *)); -/* Auxiliary entry macros. SA_ stands for symbol auxiliary */ -/* Omit the tv related fields */ -/* Accessors */ +/* Auxiliary entry macros. SA_ stands for symbol auxiliary. */ +/* Omit the tv related fields. */ +/* Accessors. */ #define SA_GET_SYM_TAGNDX(s) (SYM_AUXENT (s)->x_sym.x_tagndx.l) #define SA_GET_SYM_LNNO(s) (SYM_AUXENT (s)->x_sym.x_misc.x_lnsz.x_lnno) @@ -297,15 +293,13 @@ extern void SA_SET_SYM_ENDNDX PARAMS ((symbolS *, symbolS *)); #define SA_SET_SCN_NRELOC(s,v) (SYM_AUXENT (s)->x_scn.x_nreloc=(v)) #define SA_SET_SCN_NLINNO(s,v) (SYM_AUXENT (s)->x_scn.x_nlinno=(v)) -/* - * Internal use only definitions. SF_ stands for symbol flags. - * - * These values can be assigned to sy_symbol.ost_flags field of a symbolS. - * - * You'll break i960 if you shift the SYSPROC bits anywhere else. for - * more on the balname/callname hack, see tc-i960.h. b.out is done - * differently. - */ +/* Internal use only definitions. SF_ stands for symbol flags. + + These values can be assigned to sy_symbol.ost_flags field of a symbolS. + + You'll break i960 if you shift the SYSPROC bits anywhere else. for + more on the balname/callname hack, see tc-i960.h. b.out is done + differently. */ #define SF_I960_MASK (0x000001ff) /* Bits 0-8 are used by the i960 port. */ #define SF_SYSPROC (0x0000003f) /* bits 0-5 are used to store the sysproc number */ @@ -330,7 +324,7 @@ extern void SA_SET_SYM_ENDNDX PARAMS ((symbolS *, symbolS *)); #define SF_GET_SEGMENT (0x00200000) /* Get the section of the forward symbol. */ /* All other bits are unused. */ -/* Accessors */ +/* Accessors. */ #define SF_GET(s) (*symbol_get_obj (s)) #define SF_GET_DEBUG(s) (symbol_get_bfdsym (s)->flags & BSF_DEBUGGING) #define SF_SET_DEBUG(s) (symbol_get_bfdsym (s)->flags |= BSF_DEBUGGING) @@ -352,7 +346,7 @@ extern void SA_SET_SYM_ENDNDX PARAMS ((symbolS *, symbolS *)); #define SF_GET_IS_SYSPROC(s) (SF_GET (s) & SF_IS_SYSPROC) /* used by i960 */ #define SF_GET_SYSPROC(s) (SF_GET (s) & SF_SYSPROC) /* used by i960 */ -/* Modifiers */ +/* Modifiers. */ #define SF_SET(s,v) (SF_GET (s) = (v)) #define SF_SET_NORMAL_FIELD(s,v) (SF_GET (s) |= ((v) & SF_NORMAL_MASK)) #define SF_SET_DEBUG_FIELD(s,v) (SF_GET (s) |= ((v) & SF_DEBUG_MASK)) @@ -414,7 +408,7 @@ extern symbolS *coff_last_function; #endif #endif -/* sanity check */ +/* Sanity check. */ #ifdef TC_I960 #ifndef C_LEAFSTAT @@ -424,8 +418,8 @@ hey ! Where is the C_LEAFSTAT definition ? i960 - coff support is depending on i #else /* not BFD_ASSEMBLER */ -#ifdef TC_A29K -/* Allow translate from aout relocs to coff relocs */ +#if defined TC_A29K || defined TC_OR32 +/* Allow translate from aout relocs to coff relocs. */ #define NO_RELOC 20 #define RELOC_32 1 #define RELOC_8 2 @@ -447,7 +441,7 @@ extern const segT N_TYPE_seg[]; /* SYMBOL TABLE */ -/* Symbol table entry data type */ +/* Symbol table entry data type. */ typedef struct { @@ -455,18 +449,17 @@ typedef struct struct internal_syment ost_entry; /* Auxiliary entry. */ union internal_auxent ost_auxent[OBJ_COFF_MAX_AUXENTRIES]; - /* obj_coff internal use only flags */ + /* obj_coff internal use only flags. */ unsigned int ost_flags; } obj_symbol_type; #ifndef DO_NOT_STRIP #define DO_NOT_STRIP 0 #endif -/* Symbol table macros and constants */ +/* Symbol table macros and constants. */ /* Possible and usefull section number in symbol table - * The values of TEXT, DATA and BSS may not be portable. - */ + The values of TEXT, DATA and BSS may not be portable. */ #define C_ABS_SECTION N_ABS #define C_UNDEF_SECTION N_UNDEF @@ -475,27 +468,25 @@ typedef struct #define C_PTV_SECTION P_TV #define C_REGISTER_SECTION 50 -/* - * Macros to extract information from a symbol table entry. - * This syntaxic indirection allows independence regarding a.out or coff. - * The argument (s) of all these macros is a pointer to a symbol table entry. - */ +/* Macros to extract information from a symbol table entry. + This syntaxic indirection allows independence regarding a.out or coff. + The argument (s) of all these macros is a pointer to a symbol table entry. */ -/* Predicates */ -/* True if the symbol is external */ +/* Predicates. */ +/* True if the symbol is external. */ #define S_IS_EXTERNAL(s) ((s)->sy_symbol.ost_entry.n_scnum == C_UNDEF_SECTION) /* True if symbol has been defined, ie : section > 0 (DATA, TEXT or BSS) - section == 0 and value > 0 (external bss symbol) */ + section == 0 and value > 0 (external bss symbol). */ #define S_IS_DEFINED(s) \ ((s)->sy_symbol.ost_entry.n_scnum > C_UNDEF_SECTION \ || ((s)->sy_symbol.ost_entry.n_scnum == C_UNDEF_SECTION \ && S_GET_VALUE (s) > 0) \ || ((s)->sy_symbol.ost_entry.n_scnum == C_ABS_SECTION)) -/* True if a debug special symbol entry */ +/* True if a debug special symbol entry. */ #define S_IS_DEBUG(s) ((s)->sy_symbol.ost_entry.n_scnum == C_DEBUG_SECTION) -/* True if a symbol is local symbol name */ -/* A symbol name whose name includes ^A is a gas internal pseudo symbol */ +/* True if a symbol is local symbol name. */ +/* A symbol name whose name includes ^A is a gas internal pseudo symbol. */ #define S_IS_LOCAL(s) \ ((s)->sy_symbol.ost_entry.n_scnum == C_REGISTER_SECTION \ || (S_LOCAL_NAME(s) && ! flag_keep_locals && ! S_IS_DEBUG (s)) \ @@ -504,13 +495,11 @@ typedef struct || (flag_strip_local_absolute \ && !S_IS_EXTERNAL(s) \ && (s)->sy_symbol.ost_entry.n_scnum == C_ABS_SECTION)) -/* True if a symbol is not defined in this file */ +/* True if a symbol is not defined in this file. */ #define S_IS_EXTERN(s) ((s)->sy_symbol.ost_entry.n_scnum == 0 \ && S_GET_VALUE (s) == 0) -/* - * True if a symbol can be multiply defined (bss symbols have this def - * though it is bad practice) - */ +/* True if a symbol can be multiply defined (bss symbols have this def + though it is bad practice). */ #define S_IS_COMMON(s) ((s)->sy_symbol.ost_entry.n_scnum == 0 \ && S_GET_VALUE (s) != 0) /* True if a symbol name is in the string table, i.e. its length is > 8. */ @@ -526,41 +515,41 @@ typedef struct ((s)->sy_symbol.ost_entry.n_sclass == C_WEAKEXT) #endif -/* Accessors */ -/* The name of the symbol */ +/* Accessors. */ +/* The name of the symbol. */ #define S_GET_NAME(s) ((char*) (s)->sy_symbol.ost_entry.n_offset) -/* The pointer to the string table */ +/* The pointer to the string table. */ #define S_GET_OFFSET(s) ((s)->sy_symbol.ost_entry.n_offset) -/* The numeric value of the segment */ +/* The numeric value of the segment. */ #define S_GET_SEGMENT(s) s_get_segment(s) -/* The data type */ +/* The data type. */ #define S_GET_DATA_TYPE(s) ((s)->sy_symbol.ost_entry.n_type) -/* The storage class */ +/* The storage class. */ #define S_GET_STORAGE_CLASS(s) ((s)->sy_symbol.ost_entry.n_sclass) -/* The number of auxiliary entries */ +/* The number of auxiliary entries. */ #define S_GET_NUMBER_AUXILIARY(s) ((s)->sy_symbol.ost_entry.n_numaux) -/* Modifiers */ -/* Set the name of the symbol */ +/* Modifiers. */ +/* Set the name of the symbol. */ #define S_SET_NAME(s,v) ((s)->sy_symbol.ost_entry.n_offset = (unsigned long) (v)) -/* Set the offset of the symbol */ +/* Set the offset of the symbol. */ #define S_SET_OFFSET(s,v) ((s)->sy_symbol.ost_entry.n_offset = (v)) -/* The numeric value of the segment */ +/* The numeric value of the segment. */ #define S_SET_SEGMENT(s,v) ((s)->sy_symbol.ost_entry.n_scnum = SEGMENT_TO_SYMBOL_TYPE(v)) -/* The data type */ +/* The data type. */ #define S_SET_DATA_TYPE(s,v) ((s)->sy_symbol.ost_entry.n_type = (v)) -/* The storage class */ +/* The storage class. */ #define S_SET_STORAGE_CLASS(s,v) ((s)->sy_symbol.ost_entry.n_sclass = (v)) -/* The number of auxiliary entries */ +/* The number of auxiliary entries. */ #define S_SET_NUMBER_AUXILIARY(s,v) ((s)->sy_symbol.ost_entry.n_numaux = (v)) -/* Additional modifiers */ -/* The symbol is external (does not mean undefined) */ +/* Additional modifiers. */ +/* The symbol is external (does not mean undefined). */ #define S_SET_EXTERNAL(s) { S_SET_STORAGE_CLASS(s, C_EXT) ; SF_CLEAR_LOCAL(s); } -/* Auxiliary entry macros. SA_ stands for symbol auxiliary */ -/* Omit the tv related fields */ -/* Accessors */ +/* Auxiliary entry macros. SA_ stands for symbol auxiliary. */ +/* Omit the tv related fields. */ +/* Accessors. */ #define SYM_AUXENT(S) (&(S)->sy_symbol.ost_auxent[0]) #define SA_GET_SYM_TAGNDX(s) (SYM_AUXENT (s)->x_sym.x_tagndx.l) @@ -577,7 +566,7 @@ typedef struct #define SA_GET_SCN_NRELOC(s) (SYM_AUXENT (s)->x_scn.x_nreloc) #define SA_GET_SCN_NLINNO(s) (SYM_AUXENT (s)->x_scn.x_nlinno) -/* Modifiers */ +/* Modifiers. */ #define SA_SET_SYM_TAGNDX(s,v) (SYM_AUXENT (s)->x_sym.x_tagndx.l=(v)) #define SA_SET_SYM_LNNO(s,v) (SYM_AUXENT (s)->x_sym.x_misc.x_lnsz.x_lnno=(v)) #define SA_SET_SYM_SIZE(s,v) (SYM_AUXENT (s)->x_sym.x_misc.x_lnsz.x_size=(v)) @@ -592,15 +581,13 @@ typedef struct #define SA_SET_SCN_NRELOC(s,v) (SYM_AUXENT (s)->x_scn.x_nreloc=(v)) #define SA_SET_SCN_NLINNO(s,v) (SYM_AUXENT (s)->x_scn.x_nlinno=(v)) -/* - * Internal use only definitions. SF_ stands for symbol flags. - * - * These values can be assigned to sy_symbol.ost_flags field of a symbolS. - * - * You'll break i960 if you shift the SYSPROC bits anywhere else. for - * more on the balname/callname hack, see tc-i960.h. b.out is done - * differently. - */ +/* Internal use only definitions. SF_ stands for symbol flags. + + These values can be assigned to sy_symbol.ost_flags field of a symbolS. + + You'll break i960 if you shift the SYSPROC bits anywhere else. for + more on the balname/callname hack, see tc-i960.h. b.out is done + differently. */ #define SF_I960_MASK (0x000001ff) /* Bits 0-8 are used by the i960 port. */ #define SF_SYSPROC (0x0000003f) /* bits 0-5 are used to store the sysproc number */ @@ -626,7 +613,7 @@ typedef struct #define SF_ADJ_LNNOPTR (0x00400000) /* Has a lnnoptr */ /* All other bits are unused. */ -/* Accessors */ +/* Accessors. */ #define SF_GET(s) ((s)->sy_symbol.ost_flags) #define SF_GET_NORMAL_FIELD(s) (SF_GET (s) & SF_NORMAL_MASK) #define SF_GET_DEBUG_FIELD(s) (SF_GET (s) & SF_DEBUG_MASK) @@ -648,7 +635,7 @@ typedef struct #define SF_GET_IS_SYSPROC(s) (SF_GET (s) & SF_IS_SYSPROC) /* used by i960 */ #define SF_GET_SYSPROC(s) (SF_GET (s) & SF_SYSPROC) /* used by i960 */ -/* Modifiers */ +/* Modifiers. */ #define SF_SET(s,v) (SF_GET (s) = (v)) #define SF_SET_NORMAL_FIELD(s,v) (SF_GET (s) |= ((v) & SF_NORMAL_MASK)) #define SF_SET_DEBUG_FIELD(s,v) (SF_GET (s) |= ((v) & SF_DEBUG_MASK)) @@ -671,12 +658,10 @@ typedef struct #define SF_SET_IS_SYSPROC(s) (SF_GET (s) |= SF_IS_SYSPROC) /* used by i960 */ #define SF_SET_SYSPROC(s,v) (SF_GET (s) |= ((v) & SF_SYSPROC)) /* used by i960 */ -/* File header macro and type definition */ +/* File header macro and type definition. */ -/* - * File position calculators. Beware to use them when all the - * appropriate fields are set in the header. - */ +/* File position calculators. Beware to use them when all the + appropriate fields are set in the header. */ #ifdef OBJ_COFF_OMIT_OPTIONAL_HEADER #define OBJ_COFF_AOUTHDRSZ (0) @@ -714,8 +699,8 @@ typedef struct H_GET_TEXT_SIZE(h) + H_GET_DATA_SIZE(h) + \ H_GET_RELOCATION_SIZE(h) + H_GET_LINENO_SIZE(h)) -/* Accessors */ -/* aouthdr */ +/* Accessors. */ +/* aouthdr. */ #define H_GET_MAGIC_NUMBER(h) ((h)->aouthdr.magic) #define H_GET_VERSION_STAMP(h) ((h)->aouthdr.vstamp) #define H_GET_TEXT_SIZE(h) ((h)->aouthdr.tsize) @@ -724,7 +709,7 @@ typedef struct #define H_GET_ENTRY_POINT(h) ((h)->aouthdr.entry) #define H_GET_TEXT_START(h) ((h)->aouthdr.text_start) #define H_GET_DATA_START(h) ((h)->aouthdr.data_start) -/* filehdr */ +/* filehdr. */ #define H_GET_FILE_MAGIC_NUMBER(h) ((h)->filehdr.f_magic) #define H_GET_NUMBER_OF_SECTIONS(h) ((h)->filehdr.f_nscns) #define H_GET_TIME_STAMP(h) ((h)->filehdr.f_timdat) @@ -733,7 +718,7 @@ typedef struct #define H_GET_SYMBOL_TABLE_SIZE(h) (H_GET_SYMBOL_COUNT(h) * SYMESZ) #define H_GET_SIZEOF_OPTIONAL_HEADER(h) ((h)->filehdr.f_opthdr) #define H_GET_FLAGS(h) ((h)->filehdr.f_flags) -/* Extra fields to achieve bsd a.out compatibility and for convenience */ +/* Extra fields to achieve bsd a.out compatibility and for convenience. */ #define H_GET_RELOCATION_SIZE(h) ((h)->relocation_size) #define H_GET_STRING_SIZE(h) ((h)->string_table_size) #define H_GET_LINENO_SIZE(h) ((h)->lineno_size) @@ -750,8 +735,8 @@ typedef struct #define H_GET_TEXT_RELOCATION_SIZE(h) (text_section_header.s_nreloc * RELSZ) #define H_GET_DATA_RELOCATION_SIZE(h) (data_section_header.s_nreloc * RELSZ) -/* Modifiers */ -/* aouthdr */ +/* Modifiers. */ +/* aouthdr. */ #define H_SET_MAGIC_NUMBER(h,v) ((h)->aouthdr.magic = (v)) #define H_SET_VERSION_STAMP(h,v) ((h)->aouthdr.vstamp = (v)) #define H_SET_TEXT_SIZE(h,v) ((h)->aouthdr.tsize = (v)) @@ -760,7 +745,7 @@ typedef struct #define H_SET_ENTRY_POINT(h,v) ((h)->aouthdr.entry = (v)) #define H_SET_TEXT_START(h,v) ((h)->aouthdr.text_start = (v)) #define H_SET_DATA_START(h,v) ((h)->aouthdr.data_start = (v)) -/* filehdr */ +/* filehdr. */ #define H_SET_FILE_MAGIC_NUMBER(h,v) ((h)->filehdr.f_magic = (v)) #define H_SET_NUMBER_OF_SECTIONS(h,v) ((h)->filehdr.f_nscns = (v)) #define H_SET_TIME_STAMP(h,v) ((h)->filehdr.f_timdat = (v)) @@ -768,30 +753,30 @@ typedef struct #define H_SET_SYMBOL_TABLE_SIZE(h,v) ((h)->filehdr.f_nsyms = (v)) #define H_SET_SIZEOF_OPTIONAL_HEADER(h,v) ((h)->filehdr.f_opthdr = (v)) #define H_SET_FLAGS(h,v) ((h)->filehdr.f_flags = (v)) -/* Extra fields to achieve bsd a.out compatibility and for convinience */ +/* Extra fields to achieve bsd a.out compatibility and for convinience. */ #define H_SET_RELOCATION_SIZE(h,t,d) ((h)->relocation_size = (t)+(d)) #define H_SET_STRING_SIZE(h,v) ((h)->string_table_size = (v)) #define H_SET_LINENO_SIZE(h,v) ((h)->lineno_size = (v)) -/* Segment flipping */ +/* Segment flipping. */ typedef struct { struct internal_aouthdr aouthdr; /* a.out header */ struct internal_filehdr filehdr; /* File header, not machine dep. */ - long string_table_size; /* names + '\0' + sizeof (int) */ - long relocation_size; /* Cumulated size of relocation - information for all sections in - bytes. */ - long lineno_size; /* Size of the line number information - table in bytes */ + long string_table_size; /* names + '\0' + sizeof (int) */ + long relocation_size; /* Cumulated size of relocation + information for all sections in + bytes. */ + long lineno_size; /* Size of the line number information + table in bytes. */ } object_headers; struct lineno_list { struct bfd_internal_lineno line; - char *frag; /* Frag to which the line number is related */ - struct lineno_list *next; /* Forward chain pointer */ + char *frag; /* Frag to which the line number is related. */ + struct lineno_list *next; /* Forward chain pointer. */ }; #define obj_segment_name(i) (segment_info[(int) (i)].scnhdr.s_name) @@ -823,7 +808,7 @@ extern void c_section_header PARAMS ((struct internal_scnhdr * header, void tc_coff_symbol_emit_hook PARAMS ((symbolS *)); #endif -/* sanity check */ +/* Sanity check. */ #ifdef TC_I960 #ifndef C_LEAFSTAT diff --git a/contrib/binutils/gas/config/obj-elf.c b/contrib/binutils/gas/config/obj-elf.c index 6ec0882..13c7482 100644 --- a/contrib/binutils/gas/config/obj-elf.c +++ b/contrib/binutils/gas/config/obj-elf.c @@ -1995,9 +1995,9 @@ elf_frob_file_before_adjust () symbolS *symp; for (symp = symbol_rootP; symp; symp = symbol_next (symp)) - if (symbol_get_obj (symp)->versioned_name) + if (!S_IS_DEFINED (symp)) { - if (!S_IS_DEFINED (symp)) + if (symbol_get_obj (symp)->versioned_name) { char *p; @@ -2017,6 +2017,14 @@ elf_frob_file_before_adjust () && symbol_used_in_reloc_p (symp) == 0) symbol_remove (symp, &symbol_rootP, &symbol_lastP); } + + /* If there was .weak foo, but foo was neither defined nor + used anywhere, remove it. */ + + else if (S_IS_WEAK (symp) + && symbol_used_p (symp) == 0 + && symbol_used_in_reloc_p (symp) == 0) + symbol_remove (symp, &symbol_rootP, &symbol_lastP); } } } diff --git a/contrib/binutils/gas/config/tc-alpha.c b/contrib/binutils/gas/config/tc-alpha.c index b1a3471..ae6f76b 100644 --- a/contrib/binutils/gas/config/tc-alpha.c +++ b/contrib/binutils/gas/config/tc-alpha.c @@ -117,6 +117,7 @@ struct alpha_macro { #define O_gprelhigh O_md9 /* !gprelhigh relocation */ #define O_gprellow O_md10 /* !gprellow relocation */ #define O_gprel O_md11 /* !gprel relocation */ +#define O_samegp O_md12 /* !samegp relocation */ #define DUMMY_RELOC_LITUSE_ADDR (BFD_RELOC_UNUSED + 1) #define DUMMY_RELOC_LITUSE_BASE (BFD_RELOC_UNUSED + 2) @@ -128,7 +129,7 @@ struct alpha_macro { #define LITUSE_BYTOFF 2 #define LITUSE_JSR 3 -#define USER_RELOC_P(R) ((R) >= O_literal && (R) <= O_gprel) +#define USER_RELOC_P(R) ((R) >= O_literal && (R) <= O_samegp) /* Macros for extracting the type and number of encoded register tokens */ @@ -498,7 +499,8 @@ static const struct alpha_reloc_op_tag { DEF(gpdisp, BFD_RELOC_ALPHA_GPDISP, 1, 1), DEF(gprelhigh, BFD_RELOC_ALPHA_GPREL_HI16, 0, 0), DEF(gprellow, BFD_RELOC_ALPHA_GPREL_LO16, 0, 0), - DEF(gprel, BFD_RELOC_GPREL16, 0, 0) + DEF(gprel, BFD_RELOC_GPREL16, 0, 0), + DEF(samegp, BFD_RELOC_ALPHA_BRSGP, 0, 0) }; #undef DEF @@ -1219,6 +1221,11 @@ md_apply_fix3 (fixP, valP, seg) } return; +#ifdef OBJ_ELF + case BFD_RELOC_ALPHA_BRSGP: + return; +#endif + #ifdef OBJ_ECOFF case BFD_RELOC_ALPHA_LITERAL: md_number_to_chars (fixpos, value, 2); @@ -1364,6 +1371,49 @@ alpha_define_label (sym) alpha_insn_label = sym; } +/* If we have a BRSGP reloc to a local symbol, adjust it to BRADDR and + let it get resolved at assembly time. */ + +void +alpha_validate_fix (f) + fixS *f; +{ +#ifdef OBJ_ELF + int offset = 0; + const char *name; + + if (f->fx_r_type != BFD_RELOC_ALPHA_BRSGP) + return; + + if (! S_IS_DEFINED (f->fx_addsy)) + return; + + switch (S_GET_OTHER (f->fx_addsy) & STO_ALPHA_STD_GPLOAD) + { + case STO_ALPHA_NOPV: + break; + case STO_ALPHA_STD_GPLOAD: + offset = 8; + break; + default: + if (S_IS_LOCAL (f->fx_addsy)) + name = "<local>"; + else + name = S_GET_NAME (f->fx_addsy); + as_bad_where (f->fx_file, f->fx_line, + _("!samegp reloc against symbol without .prologue: %s"), + name); + break; + } + + if (! (S_IS_EXTERN (f->fx_addsy) || S_IS_WEAK (f->fx_addsy))) + { + f->fx_r_type = BFD_RELOC_23_PCREL_S2; + f->fx_offset += offset; + } +#endif +} + /* Return true if we must always emit a reloc for a type and false if there is some hope of resolving it at assembly time. */ @@ -1388,6 +1438,7 @@ alpha_force_relocation (f) case BFD_RELOC_ALPHA_GPREL_LO16: case BFD_RELOC_ALPHA_LINKAGE: case BFD_RELOC_ALPHA_CODEADDR: + case BFD_RELOC_ALPHA_BRSGP: case BFD_RELOC_VTABLE_INHERIT: case BFD_RELOC_VTABLE_ENTRY: return 1; @@ -1399,8 +1450,6 @@ alpha_force_relocation (f) return 0; default: - assert ((int) f->fx_r_type < 0 - && -(int) f->fx_r_type < (int) alpha_num_operands); return 0; } } @@ -1424,6 +1473,7 @@ alpha_fix_adjustable (f) case BFD_RELOC_ALPHA_GPDISP_HI16: case BFD_RELOC_ALPHA_GPDISP_LO16: case BFD_RELOC_ALPHA_GPDISP: + case BFD_RELOC_ALPHA_BRSGP: return 0; case BFD_RELOC_ALPHA_LITERAL: @@ -1448,8 +1498,6 @@ alpha_fix_adjustable (f) return 1; default: - assert ((int) f->fx_r_type < 0 - && - (int) f->fx_r_type < (int) alpha_num_operands); return 1; } /*NOTREACHED*/ @@ -1767,6 +1815,7 @@ debug_exp (tok, ntok) case O_pregister: name = "O_pregister"; break; case O_cpregister: name = "O_cpregister"; break; case O_literal: name = "O_literal"; break; + case O_lituse_addr: name = "O_lituse_addr"; break; case O_lituse_base: name = "O_lituse_base"; break; case O_lituse_bytoff: name = "O_lituse_bytoff"; break; case O_lituse_jsr: name = "O_lituse_jsr"; break; @@ -1774,8 +1823,7 @@ debug_exp (tok, ntok) case O_gprelhigh: name = "O_gprelhigh"; break; case O_gprellow: name = "O_gprellow"; break; case O_gprel: name = "O_gprel"; break; - case O_md11: name = "O_md11"; break; - case O_md12: name = "O_md12"; break; + case O_samegp: name = "O_samegp"; break; case O_md13: name = "O_md13"; break; case O_md14: name = "O_md14"; break; case O_md15: name = "O_md15"; break; @@ -2170,6 +2218,7 @@ find_macro_match (first_macro, tok, pntok) case O_gprelhigh: case O_gprellow: case O_gprel: + case O_samegp: goto match_failed; default: diff --git a/contrib/binutils/gas/config/tc-alpha.h b/contrib/binutils/gas/config/tc-alpha.h index fb428f9..5505861 100644 --- a/contrib/binutils/gas/config/tc-alpha.h +++ b/contrib/binutils/gas/config/tc-alpha.h @@ -39,12 +39,14 @@ #define NEED_LITERAL_POOL #define REPEAT_CONS_EXPRESSIONS +extern void alpha_validate_fix PARAMS ((struct fix *)); extern int alpha_force_relocation PARAMS ((struct fix *)); extern int alpha_fix_adjustable PARAMS ((struct fix *)); extern unsigned long alpha_gprmask, alpha_fprmask; extern valueT alpha_gp_value; +#define TC_VALIDATE_FIX(FIXP,SEGTYPE,SKIP) alpha_validate_fix (FIXP) #define TC_FORCE_RELOCATION(FIXP) alpha_force_relocation (FIXP) #define tc_fix_adjustable(FIXP) alpha_fix_adjustable (FIXP) #define RELOC_REQUIRES_SYMBOL diff --git a/contrib/binutils/gas/config/tc-i386.c b/contrib/binutils/gas/config/tc-i386.c index c81f870..2b82037 100644 --- a/contrib/binutils/gas/config/tc-i386.c +++ b/contrib/binutils/gas/config/tc-i386.c @@ -1,6 +1,6 @@ /* i386.c -- Assemble code for the Intel 80386 Copyright 1989, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, - 2000, 2001 + 2000, 2001, 2002 Free Software Foundation, Inc. This file is part of GAS, the GNU Assembler. @@ -48,8 +48,12 @@ #define SCALE1_WHEN_NO_INDEX 1 #endif +#ifndef true #define true 1 +#endif +#ifndef false #define false 0 +#endif static unsigned int mode_from_disp_size PARAMS ((unsigned int)); static int fits_in_signed_byte PARAMS ((offsetT)); @@ -1174,7 +1178,12 @@ tc_i386_fix_adjustable (fixP) /* Prevent all adjustments to global symbols, or else dynamic linking will not work correctly. */ if (S_IS_EXTERNAL (fixP->fx_addsy) - || S_IS_WEAK (fixP->fx_addsy)) + || S_IS_WEAK (fixP->fx_addsy) + /* Don't adjust pc-relative references to merge sections in 64-bit + mode. */ + || (use_rela_relocations + && (S_GET_SEGMENT (fixP->fx_addsy)->flags & SEC_MERGE) != 0 + && fixP->fx_pcrel)) return 0; #endif /* adjust_reloc_syms doesn't know about the GOT. */ @@ -1294,6 +1303,7 @@ md_assemble (line) /* If we are in 16-bit mode, do not allow addr16 or data16. Similarly, in 32-bit mode, do not allow addr32 or data32. */ if ((current_templates->start->opcode_modifier & (Size16 | Size32)) + && flag_code != CODE_64BIT && (((current_templates->start->opcode_modifier & Size32) != 0) ^ (flag_code == CODE_16BIT))) { @@ -2259,6 +2269,14 @@ md_assemble (line) return; } + if (i.suffix != QWORD_MNEM_SUFFIX && (flag_code == CODE_64BIT) + && !(i.tm.opcode_modifier & IgnoreSize) + && (i.tm.opcode_modifier & JumpByte)) + { + if (! add_prefix (ADDR_PREFIX_OPCODE)) + return; + } + /* Set mode64 for an operand. */ if (i.suffix == QWORD_MNEM_SUFFIX && !(i.tm.opcode_modifier & NoRex64)) @@ -2411,13 +2429,15 @@ md_assemble (line) if (! i.index_reg) { /* Operand is just <disp> */ - if ((flag_code == CODE_16BIT) ^ (i.prefix[ADDR_PREFIX] != 0)) + if ((flag_code == CODE_16BIT) ^ (i.prefix[ADDR_PREFIX] != 0) + && (flag_code != CODE_64BIT)) { i.rm.regmem = NO_BASE_REGISTER_16; i.types[op] &= ~Disp; i.types[op] |= Disp16; } - else if (flag_code != CODE_64BIT) + else if (flag_code != CODE_64BIT + || (i.prefix[ADDR_PREFIX] != 0)) { i.rm.regmem = NO_BASE_REGISTER; i.types[op] &= ~Disp; @@ -3434,10 +3454,13 @@ i386_displacement (disp_start, disp_end) #endif int bigdisp = Disp32; - if ((flag_code == CODE_16BIT) ^ (i.prefix[ADDR_PREFIX] != 0)) - bigdisp = Disp16; if (flag_code == CODE_64BIT) - bigdisp = Disp64; + { + if (!i.prefix[ADDR_PREFIX]) + bigdisp = Disp64; + } + else if ((flag_code == CODE_16BIT) ^ (i.prefix[ADDR_PREFIX] != 0)) + bigdisp = Disp16; i.types[this_operand] |= bigdisp; exp = &disp_expressions[i.disp_operands]; @@ -3592,15 +3615,28 @@ i386_index_check (operand_string) ok = 1; if (flag_code == CODE_64BIT) { - /* 64bit checks. */ - if ((i.base_reg - && ((i.base_reg->reg_type & Reg64) == 0) - && (i.base_reg->reg_type != BaseIndex - || i.index_reg)) - || (i.index_reg - && ((i.index_reg->reg_type & (Reg64|BaseIndex)) - != (Reg64|BaseIndex)))) - ok = 0; + if (i.prefix[ADDR_PREFIX] == 0) + { + /* 64bit checks. */ + if ((i.base_reg + && ((i.base_reg->reg_type & Reg64) == 0) + && (i.base_reg->reg_type != BaseIndex + || i.index_reg)) + || (i.index_reg + && ((i.index_reg->reg_type & (Reg64|BaseIndex)) + != (Reg64|BaseIndex)))) + ok = 0; + } + else + { + /* 32bit checks. */ + if ((i.base_reg + && (i.base_reg->reg_type & (Reg32 | RegRex)) != Reg32) + || (i.index_reg + && ((i.index_reg->reg_type & (Reg32|BaseIndex|RegRex)) + != (Reg32|BaseIndex)))) + ok = 0; + } } else { diff --git a/contrib/binutils/gas/config/tc-ppc.c b/contrib/binutils/gas/config/tc-ppc.c index 8bf09db..5a3f68b 100644 --- a/contrib/binutils/gas/config/tc-ppc.c +++ b/contrib/binutils/gas/config/tc-ppc.c @@ -5165,7 +5165,7 @@ md_apply_fix3 (fixP, valP, seg) if ((operand->flags & PPC_OPERAND_PARENS) != 0 && operand->bits == 16 && operand->shift == 0 - && operand->insert == NULL + && (operand->insert == NULL || ppc_xcoff64) && fixP->fx_addsy != NULL && symbol_get_tc (fixP->fx_addsy)->subseg != 0 && symbol_get_tc (fixP->fx_addsy)->class != XMC_TC diff --git a/contrib/binutils/gas/config/tc-sparc.c b/contrib/binutils/gas/config/tc-sparc.c index fe9f3f7..2d75fef 100644 --- a/contrib/binutils/gas/config/tc-sparc.c +++ b/contrib/binutils/gas/config/tc-sparc.c @@ -1,6 +1,6 @@ /* tc-sparc.c -- Assemble for the SPARC Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, - 1999, 2000, 2001 + 1999, 2000, 2001, 2002 Free Software Foundation, Inc. This file is part of GAS, the GNU Assembler. @@ -32,6 +32,12 @@ #include "dwarf2dbg.h" #endif +/* Some ancient Sun C compilers would not take such hex constants as + unsigned, and would end up sign-extending them to form an offsetT, + so use these constants instead. */ +#define U0xffffffff ((((unsigned long) 1 << 16) << 16) - 1) +#define U0x80000000 ((((unsigned long) 1 << 16) << 15)) + static struct sparc_arch *lookup_arch PARAMS ((char *)); static void init_default_arch PARAMS ((void)); static int sparc_ip PARAMS ((char *, const struct sparc_opcode **)); @@ -916,7 +922,7 @@ in_signed_range (val, max) if (sparc_arch_size == 32) { bfd_signed_vma sign = (bfd_signed_vma) 1 << 31; - val = ((val & 0xffffffff) ^ sign) - sign; + val = ((val & U0xffffffff) ^ sign) - sign; } if (val > max) return 0; @@ -1019,14 +1025,14 @@ synthetize_setuw (insn) { if (sizeof (offsetT) > 4 && (the_insn.exp.X_add_number < 0 - || the_insn.exp.X_add_number > (offsetT) 0xffffffff)) + || the_insn.exp.X_add_number > (offsetT) U0xffffffff)) as_warn (_("set: number not in 0..4294967295 range")); } else { if (sizeof (offsetT) > 4 - && (the_insn.exp.X_add_number < -(offsetT) 0x80000000 - || the_insn.exp.X_add_number > (offsetT) 0xffffffff)) + && (the_insn.exp.X_add_number < -(offsetT) U0x80000000 + || the_insn.exp.X_add_number > (offsetT) U0xffffffff)) as_warn (_("set: number not in -2147483648..4294967295 range")); the_insn.exp.X_add_number = (int) the_insn.exp.X_add_number; } @@ -1085,8 +1091,8 @@ synthetize_setsw (insn) } if (sizeof (offsetT) > 4 - && (the_insn.exp.X_add_number < -(offsetT) 0x80000000 - || the_insn.exp.X_add_number > (offsetT) 0xffffffff)) + && (the_insn.exp.X_add_number < -(offsetT) U0x80000000 + || the_insn.exp.X_add_number > (offsetT) U0xffffffff)) as_warn (_("setsw: number not in -2147483648..4294967295 range")); low32 = the_insn.exp.X_add_number; @@ -1128,7 +1134,7 @@ synthetize_setx (insn) int need_hh22_p = 0, need_hm10_p = 0, need_hi22_p = 0, need_lo10_p = 0; int need_xor10_p = 0; -#define SIGNEXT32(x) ((((x) & 0xffffffff) ^ 0x80000000) - 0x80000000) +#define SIGNEXT32(x) ((((x) & U0xffffffff) ^ U0x80000000) - U0x80000000) lower32 = SIGNEXT32 (the_insn.exp.X_add_number); upper32 = SIGNEXT32 (BSR (the_insn.exp.X_add_number, 32)); #undef SIGNEXT32 diff --git a/contrib/binutils/gas/configure b/contrib/binutils/gas/configure index c1282ed..568d9d9 100755 --- a/contrib/binutils/gas/configure +++ b/contrib/binutils/gas/configure @@ -55,6 +55,7 @@ program_suffix=NONE program_transform_name=s,x,x, silent= site= +sitefile= srcdir= target=NONE verbose= @@ -169,6 +170,7 @@ Configuration: --help print this message --no-create do not create output files --quiet, --silent do not print \`checking...' messages + --site-file=FILE use FILE as the site file --version print the version of autoconf that created configure Directory and file names: --prefix=PREFIX install architecture-independent files in PREFIX @@ -339,6 +341,11 @@ EOF -site=* | --site=* | --sit=*) site="$ac_optarg" ;; + -site-file | --site-file | --site-fil | --site-fi | --site-f) + ac_prev=sitefile ;; + -site-file=* | --site-file=* | --site-fil=* | --site-fi=* | --site-f=*) + sitefile="$ac_optarg" ;; + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) @@ -504,12 +511,16 @@ fi srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` # Prefer explicitly selected file to automatically selected ones. -if test -z "$CONFIG_SITE"; then - if test "x$prefix" != xNONE; then - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" - else - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" +if test -z "$sitefile"; then + if test -z "$CONFIG_SITE"; then + if test "x$prefix" != xNONE; then + CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" + else + CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" + fi fi +else + CONFIG_SITE="$sitefile" fi for ac_site_file in $CONFIG_SITE; do if test -r "$ac_site_file"; then @@ -548,12 +559,12 @@ else fi echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 -echo "configure:552: checking for Cygwin environment" >&5 +echo "configure:563: checking for Cygwin environment" >&5 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 557 "configure" +#line 568 "configure" #include "confdefs.h" int main() { @@ -564,7 +575,7 @@ int main() { return __CYGWIN__; ; return 0; } EOF -if { (eval echo configure:568: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:579: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_cygwin=yes else @@ -581,19 +592,19 @@ echo "$ac_t""$ac_cv_cygwin" 1>&6 CYGWIN= test "$ac_cv_cygwin" = yes && CYGWIN=yes echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 -echo "configure:585: checking for mingw32 environment" >&5 +echo "configure:596: checking for mingw32 environment" >&5 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 590 "configure" +#line 601 "configure" #include "confdefs.h" int main() { return __MINGW32__; ; return 0; } EOF -if { (eval echo configure:597: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:608: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_mingw32=yes else @@ -658,7 +669,7 @@ else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } fi echo $ac_n "checking host system type""... $ac_c" 1>&6 -echo "configure:662: checking host system type" >&5 +echo "configure:673: checking host system type" >&5 host_alias=$host case "$host_alias" in @@ -679,7 +690,7 @@ host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` echo "$ac_t""$host" 1>&6 echo $ac_n "checking target system type""... $ac_c" 1>&6 -echo "configure:683: checking target system type" >&5 +echo "configure:694: checking target system type" >&5 target_alias=$target case "$target_alias" in @@ -697,7 +708,7 @@ target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` echo "$ac_t""$target" 1>&6 echo $ac_n "checking build system type""... $ac_c" 1>&6 -echo "configure:701: checking build system type" >&5 +echo "configure:712: checking build system type" >&5 build_alias=$build case "$build_alias" in @@ -722,7 +733,7 @@ test "$host_alias" != "$target_alias" && # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:726: checking for $ac_word" >&5 +echo "configure:737: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -752,7 +763,7 @@ if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:756: checking for $ac_word" >&5 +echo "configure:767: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -803,7 +814,7 @@ fi # Extract the first word of "cl", so it can be a program name with args. set dummy cl; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:807: checking for $ac_word" >&5 +echo "configure:818: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -835,7 +846,7 @@ fi fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 -echo "configure:839: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 +echo "configure:850: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. @@ -846,12 +857,12 @@ cross_compiling=$ac_cv_prog_cc_cross cat > conftest.$ac_ext << EOF -#line 850 "configure" +#line 861 "configure" #include "confdefs.h" main(){return(0);} EOF -if { (eval echo configure:855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ac_cv_prog_cc_works=yes # If we can't run a trivial program, we are probably using a cross compiler. if (./conftest; exit) 2>/dev/null; then @@ -877,12 +888,12 @@ if test $ac_cv_prog_cc_works = no; then { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 -echo "configure:881: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 +echo "configure:892: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 cross_compiling=$ac_cv_prog_cc_cross echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 -echo "configure:886: checking whether we are using GNU C" >&5 +echo "configure:897: checking whether we are using GNU C" >&5 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -891,7 +902,7 @@ else yes; #endif EOF -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:895: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then +if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:906: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then ac_cv_prog_gcc=yes else ac_cv_prog_gcc=no @@ -910,7 +921,7 @@ ac_test_CFLAGS="${CFLAGS+set}" ac_save_CFLAGS="$CFLAGS" CFLAGS= echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 -echo "configure:914: checking whether ${CC-cc} accepts -g" >&5 +echo "configure:925: checking whether ${CC-cc} accepts -g" >&5 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -942,7 +953,7 @@ else fi echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6 -echo "configure:946: checking for POSIXized ISC" >&5 +echo "configure:957: checking for POSIXized ISC" >&5 if test -d /etc/conf/kconfig.d && grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1 then @@ -976,7 +987,7 @@ BFD_VERSION=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${ # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # ./install, which can be erroneously created by make from ./install.sh. echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 -echo "configure:980: checking for a BSD compatible install" >&5 +echo "configure:991: checking for a BSD compatible install" >&5 if test -z "$INSTALL"; then if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -1029,7 +1040,7 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 -echo "configure:1033: checking whether build environment is sane" >&5 +echo "configure:1044: checking whether build environment is sane" >&5 # Just in case sleep 1 echo timestamp > conftestfile @@ -1086,7 +1097,7 @@ test "$program_suffix" != NONE && test "$program_transform_name" = "" && program_transform_name="s,x,x," echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 -echo "configure:1090: checking whether ${MAKE-make} sets \${MAKE}" >&5 +echo "configure:1101: checking whether ${MAKE-make} sets \${MAKE}" >&5 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -1132,7 +1143,7 @@ EOF missing_dir=`cd $ac_aux_dir && pwd` echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 -echo "configure:1136: checking for working aclocal" >&5 +echo "configure:1147: checking for working aclocal" >&5 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. @@ -1145,7 +1156,7 @@ else fi echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 -echo "configure:1149: checking for working autoconf" >&5 +echo "configure:1160: checking for working autoconf" >&5 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. @@ -1158,7 +1169,7 @@ else fi echo $ac_n "checking for working automake""... $ac_c" 1>&6 -echo "configure:1162: checking for working automake" >&5 +echo "configure:1173: checking for working automake" >&5 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. @@ -1171,7 +1182,7 @@ else fi echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 -echo "configure:1175: checking for working autoheader" >&5 +echo "configure:1186: checking for working autoheader" >&5 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. @@ -1184,7 +1195,7 @@ else fi echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 -echo "configure:1188: checking for working makeinfo" >&5 +echo "configure:1199: checking for working makeinfo" >&5 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. @@ -1279,7 +1290,7 @@ ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 -echo "configure:1283: checking for ld used by GCC" >&5 +echo "configure:1294: checking for ld used by GCC" >&5 case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw @@ -1309,10 +1320,10 @@ echo "configure:1283: checking for ld used by GCC" >&5 esac elif test "$with_gnu_ld" = yes; then echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 -echo "configure:1313: checking for GNU ld" >&5 +echo "configure:1324: checking for GNU ld" >&5 else echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 -echo "configure:1316: checking for non-GNU ld" >&5 +echo "configure:1327: checking for non-GNU ld" >&5 fi if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -1347,7 +1358,7 @@ else fi test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; } echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6 -echo "configure:1351: checking if the linker ($LD) is GNU ld" >&5 +echo "configure:1362: checking if the linker ($LD) is GNU ld" >&5 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1364,7 +1375,7 @@ with_gnu_ld=$lt_cv_prog_gnu_ld echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6 -echo "configure:1368: checking for $LD option to reload object files" >&5 +echo "configure:1379: checking for $LD option to reload object files" >&5 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1376,7 +1387,7 @@ reload_flag=$lt_cv_ld_reload_flag test -n "$reload_flag" && reload_flag=" $reload_flag" echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 -echo "configure:1380: checking for BSD-compatible nm" >&5 +echo "configure:1391: checking for BSD-compatible nm" >&5 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1414,7 +1425,7 @@ NM="$lt_cv_path_NM" echo "$ac_t""$NM" 1>&6 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 -echo "configure:1418: checking whether ln -s works" >&5 +echo "configure:1429: checking whether ln -s works" >&5 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1435,7 +1446,7 @@ else fi echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6 -echo "configure:1439: checking how to recognise dependant libraries" >&5 +echo "configure:1450: checking how to recognise dependant libraries" >&5 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1507,9 +1518,18 @@ gnu*) ;; hpux10.20*|hpux11*) - lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' - lt_cv_file_magic_cmd=/usr/bin/file - lt_cv_file_magic_test_file=/usr/lib/libc.sl + case $host_cpu in + hppa*) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=/usr/lib/libc.sl + ;; + ia64*) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so + ;; + esac ;; irix5* | irix6*) @@ -1599,13 +1619,13 @@ file_magic_cmd=$lt_cv_file_magic_cmd deplibs_check_method=$lt_cv_deplibs_check_method echo $ac_n "checking for object suffix""... $ac_c" 1>&6 -echo "configure:1603: checking for object suffix" >&5 +echo "configure:1623: checking for object suffix" >&5 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else rm -f conftest* echo 'int i = 1;' > conftest.$ac_ext -if { (eval echo configure:1609: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:1629: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then for ac_file in conftest.*; do case $ac_file in *.c) ;; @@ -1625,7 +1645,7 @@ ac_objext=$ac_cv_objext echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 -echo "configure:1629: checking for executable suffix" >&5 +echo "configure:1649: checking for executable suffix" >&5 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1635,10 +1655,10 @@ else rm -f conftest* echo 'int main () { return 0; }' > conftest.$ac_ext ac_cv_exeext= - if { (eval echo configure:1639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then + if { (eval echo configure:1659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then for file in conftest.*; do case $file in - *.c | *.o | *.obj) ;; + *.c | *.o | *.obj | *.ilk | *.pdb) ;; *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; esac done @@ -1668,7 +1688,7 @@ case $deplibs_check_method in file_magic*) if test "$file_magic_cmd" = '$MAGIC_CMD'; then echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6 -echo "configure:1672: checking for ${ac_tool_prefix}file" >&5 +echo "configure:1692: checking for ${ac_tool_prefix}file" >&5 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1730,7 +1750,7 @@ fi if test -z "$lt_cv_path_MAGIC_CMD"; then if test -n "$ac_tool_prefix"; then echo $ac_n "checking for file""... $ac_c" 1>&6 -echo "configure:1734: checking for file" >&5 +echo "configure:1754: checking for file" >&5 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1801,7 +1821,7 @@ esac # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. set dummy ${ac_tool_prefix}ranlib; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1805: checking for $ac_word" >&5 +echo "configure:1825: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1833,7 +1853,7 @@ if test -n "$ac_tool_prefix"; then # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1837: checking for $ac_word" >&5 +echo "configure:1857: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1868,7 +1888,7 @@ fi # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1872: checking for $ac_word" >&5 +echo "configure:1892: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1900,7 +1920,7 @@ if test -n "$ac_tool_prefix"; then # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1904: checking for $ac_word" >&5 +echo "configure:1924: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1967,8 +1987,8 @@ test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic" case $host in *-*-irix6*) # Find out which ABI we are using. - echo '#line 1971 "configure"' > conftest.$ac_ext - if { (eval echo configure:1972: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + echo '#line 1991 "configure"' > conftest.$ac_ext + if { (eval echo configure:1992: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -32" @@ -1984,12 +2004,28 @@ case $host in rm -rf conftest* ;; +ia64-*-hpux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if { (eval echo configure:2011: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + case "`/usr/bin/file conftest.o`" in + *ELF-32*) + HPUX_IA64_MODE="32" + ;; + *ELF-64*) + HPUX_IA64_MODE="64" + ;; + esac + fi + rm -rf conftest* + ;; + *-*-sco3.2v5*) # On SCO OpenServer 5, we need -belf to get full-featured binaries. SAVE_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -belf" echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 -echo "configure:1993: checking whether the C compiler needs -belf" >&5 +echo "configure:2029: checking whether the C compiler needs -belf" >&5 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2002,14 +2038,14 @@ ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$a cross_compiling=$ac_cv_prog_cc_cross cat > conftest.$ac_ext <<EOF -#line 2006 "configure" +#line 2042 "configure" #include "confdefs.h" int main() { ; return 0; } EOF -if { (eval echo configure:2013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* lt_cv_cc_needs_belf=yes else @@ -2262,6 +2298,7 @@ for this_target in $target $canon_targets ; do m8*) cpu_type=m88k ;; mips*el) cpu_type=mips endian=little ;; mips*) cpu_type=mips endian=big ;; + or32*) cpu_type=or32 endian=big ;; pjl*) cpu_type=pj endian=little ;; pj*) cpu_type=pj endian=big ;; powerpc*le*) cpu_type=ppc endian=little ;; @@ -2269,6 +2306,7 @@ for this_target in $target $canon_targets ; do rs6000*) cpu_type=ppc ;; s390x*) cpu_type=s390 arch=s390x ;; s390*) cpu_type=s390 arch=s390 ;; + sh64*) cpu_type=sh64 endian=big;; sh*le) cpu_type=sh endian=little ;; sh*) cpu_type=sh endian=big ;; sparclite*) cpu_type=sparc arch=sparclite ;; @@ -2346,6 +2384,7 @@ for this_target in $target $canon_targets ; do esac ;; hppa-*-*elf*) fmt=elf em=hppa ;; hppa-*-lites*) fmt=elf em=hppa ;; + hppa-*-netbsd*) fmt=elf em=nbsd ;; hppa-*-osf*) fmt=som em=hppa ;; hppa-*-rtems*) fmt=elf em=hppa ;; hppa-*-hpux11*) case ${cpu} in @@ -2503,6 +2542,9 @@ EOF mn10200-*-*) fmt=elf bfd_gas=yes ;; mn10300-*-*) fmt=elf bfd_gas=yes ;; openrisc-*-*) fmt=elf bfd_gas=yes ;; + or32-*-rtems*) fmt=coff ;; + or32-*-coff) fmt=coff ;; + or32-*-elf) fmt=elf ;; pj*) fmt=elf ;; ppc-*-pe | ppc-*-cygwin* | ppc-*-winnt*) fmt=coff em=pe ;; @@ -2550,6 +2592,7 @@ EOF sh-*-rtemself*) fmt=elf ;; sh-*-rtems*) fmt=coff bfd_gas=yes;; + sh64-*-elf*) fmt=elf ;; ns32k-pc532-mach* | ns32k-pc532-ux*) fmt=aout em=pc532mach ;; ns32k-pc532-netbsd* | ns32k-pc532-lites*) fmt=aout em=nbsd532 ;; ns32k-pc532-openbsd*) fmt=aout em=nbsd532 ;; @@ -3108,7 +3151,7 @@ EOF # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3112: checking for $ac_word" >&5 +echo "configure:3155: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3138,7 +3181,7 @@ if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3142: checking for $ac_word" >&5 +echo "configure:3185: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3189,7 +3232,7 @@ fi # Extract the first word of "cl", so it can be a program name with args. set dummy cl; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3193: checking for $ac_word" >&5 +echo "configure:3236: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3221,7 +3264,7 @@ fi fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 -echo "configure:3225: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 +echo "configure:3268: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. @@ -3232,12 +3275,12 @@ cross_compiling=$ac_cv_prog_cc_cross cat > conftest.$ac_ext << EOF -#line 3236 "configure" +#line 3279 "configure" #include "confdefs.h" main(){return(0);} EOF -if { (eval echo configure:3241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ac_cv_prog_cc_works=yes # If we can't run a trivial program, we are probably using a cross compiler. if (./conftest; exit) 2>/dev/null; then @@ -3263,12 +3306,12 @@ if test $ac_cv_prog_cc_works = no; then { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 -echo "configure:3267: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 +echo "configure:3310: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 cross_compiling=$ac_cv_prog_cc_cross echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 -echo "configure:3272: checking whether we are using GNU C" >&5 +echo "configure:3315: checking whether we are using GNU C" >&5 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3277,7 +3320,7 @@ else yes; #endif EOF -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:3281: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then +if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:3324: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then ac_cv_prog_gcc=yes else ac_cv_prog_gcc=no @@ -3296,7 +3339,7 @@ ac_test_CFLAGS="${CFLAGS+set}" ac_save_CFLAGS="$CFLAGS" CFLAGS= echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 -echo "configure:3300: checking whether ${CC-cc} accepts -g" >&5 +echo "configure:3343: checking whether ${CC-cc} accepts -g" >&5 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3333,7 +3376,7 @@ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3337: checking for $ac_word" >&5 +echo "configure:3380: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3364,7 +3407,7 @@ done test -n "$YACC" || YACC="yacc" echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 -echo "configure:3368: checking how to run the C preprocessor" >&5 +echo "configure:3411: checking how to run the C preprocessor" >&5 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= @@ -3379,13 +3422,13 @@ else # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. cat > conftest.$ac_ext <<EOF -#line 3383 "configure" +#line 3426 "configure" #include "confdefs.h" #include <assert.h> Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:3389: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3432: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : @@ -3396,13 +3439,13 @@ else rm -rf conftest* CPP="${CC-cc} -E -traditional-cpp" cat > conftest.$ac_ext <<EOF -#line 3400 "configure" +#line 3443 "configure" #include "confdefs.h" #include <assert.h> Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:3406: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3449: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : @@ -3413,13 +3456,13 @@ else rm -rf conftest* CPP="${CC-cc} -nologo -E" cat > conftest.$ac_ext <<EOF -#line 3417 "configure" +#line 3460 "configure" #include "confdefs.h" #include <assert.h> Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:3423: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3466: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : @@ -3449,7 +3492,7 @@ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3453: checking for $ac_word" >&5 +echo "configure:3496: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3477,12 +3520,12 @@ fi test -n "$LEX" && break done -test -n "$LEX" || LEX=""$missing_dir/missing flex"" +test -n "$LEX" || LEX="$missing_dir/missing flex" # Extract the first word of "flex", so it can be a program name with args. set dummy flex; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3486: checking for $ac_word" >&5 +echo "configure:3529: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3516,7 +3559,7 @@ then *) ac_lib=l ;; esac echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6 -echo "configure:3520: checking for yywrap in -l$ac_lib" >&5 +echo "configure:3563: checking for yywrap in -l$ac_lib" >&5 ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -3524,7 +3567,7 @@ else ac_save_LIBS="$LIBS" LIBS="-l$ac_lib $LIBS" cat > conftest.$ac_ext <<EOF -#line 3528 "configure" +#line 3571 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 @@ -3535,7 +3578,7 @@ int main() { yywrap() ; return 0; } EOF -if { (eval echo configure:3539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -3558,7 +3601,7 @@ fi fi echo $ac_n "checking lex output file root""... $ac_c" 1>&6 -echo "configure:3562: checking lex output file root" >&5 +echo "configure:3605: checking lex output file root" >&5 if eval "test \"`echo '$''{'ac_cv_prog_lex_root'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3579,7 +3622,7 @@ echo "$ac_t""$ac_cv_prog_lex_root" 1>&6 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root echo $ac_n "checking whether yytext is a pointer""... $ac_c" 1>&6 -echo "configure:3583: checking whether yytext is a pointer" >&5 +echo "configure:3626: checking whether yytext is a pointer" >&5 if eval "test \"`echo '$''{'ac_cv_prog_lex_yytext_pointer'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3591,14 +3634,14 @@ echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c ac_save_LIBS="$LIBS" LIBS="$LIBS $LEXLIB" cat > conftest.$ac_ext <<EOF -#line 3595 "configure" +#line 3638 "configure" #include "confdefs.h" `cat $LEX_OUTPUT_ROOT.c` int main() { ; return 0; } EOF -if { (eval echo configure:3602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_cv_prog_lex_yytext_pointer=yes else @@ -3624,7 +3667,7 @@ ALL_LINGUAS="fr tr" # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3628: checking for $ac_word" >&5 +echo "configure:3671: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3652,12 +3695,12 @@ else fi echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 -echo "configure:3656: checking for ANSI C header files" >&5 +echo "configure:3699: checking for ANSI C header files" >&5 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 3661 "configure" +#line 3704 "configure" #include "confdefs.h" #include <stdlib.h> #include <stdarg.h> @@ -3665,7 +3708,7 @@ else #include <float.h> EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:3669: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3712: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -3682,7 +3725,7 @@ rm -f conftest* if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat > conftest.$ac_ext <<EOF -#line 3686 "configure" +#line 3729 "configure" #include "confdefs.h" #include <string.h> EOF @@ -3700,7 +3743,7 @@ fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat > conftest.$ac_ext <<EOF -#line 3704 "configure" +#line 3747 "configure" #include "confdefs.h" #include <stdlib.h> EOF @@ -3721,7 +3764,7 @@ if test "$cross_compiling" = yes; then : else cat > conftest.$ac_ext <<EOF -#line 3725 "configure" +#line 3768 "configure" #include "confdefs.h" #include <ctype.h> #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') @@ -3732,7 +3775,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); exit (0); } EOF -if { (eval echo configure:3736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:3779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then : else @@ -3756,12 +3799,12 @@ EOF fi echo $ac_n "checking for working const""... $ac_c" 1>&6 -echo "configure:3760: checking for working const" >&5 +echo "configure:3803: checking for working const" >&5 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 3765 "configure" +#line 3808 "configure" #include "confdefs.h" int main() { @@ -3810,7 +3853,7 @@ ccp = (char const *const *) p; ; return 0; } EOF -if { (eval echo configure:3814: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3857: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_const=yes else @@ -3831,21 +3874,21 @@ EOF fi echo $ac_n "checking for inline""... $ac_c" 1>&6 -echo "configure:3835: checking for inline" >&5 +echo "configure:3878: checking for inline" >&5 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_cv_c_inline=no for ac_kw in inline __inline__ __inline; do cat > conftest.$ac_ext <<EOF -#line 3842 "configure" +#line 3885 "configure" #include "confdefs.h" int main() { } $ac_kw foo() { ; return 0; } EOF -if { (eval echo configure:3849: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3892: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_inline=$ac_kw; break else @@ -3871,12 +3914,12 @@ EOF esac echo $ac_n "checking for off_t""... $ac_c" 1>&6 -echo "configure:3875: checking for off_t" >&5 +echo "configure:3918: checking for off_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 3880 "configure" +#line 3923 "configure" #include "confdefs.h" #include <sys/types.h> #if STDC_HEADERS @@ -3904,12 +3947,12 @@ EOF fi echo $ac_n "checking for size_t""... $ac_c" 1>&6 -echo "configure:3908: checking for size_t" >&5 +echo "configure:3951: checking for size_t" >&5 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 3913 "configure" +#line 3956 "configure" #include "confdefs.h" #include <sys/types.h> #if STDC_HEADERS @@ -3939,19 +3982,19 @@ fi # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works # for constant arguments. Useless! echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 -echo "configure:3943: checking for working alloca.h" >&5 +echo "configure:3986: checking for working alloca.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 3948 "configure" +#line 3991 "configure" #include "confdefs.h" #include <alloca.h> int main() { char *p = alloca(2 * sizeof(int)); ; return 0; } EOF -if { (eval echo configure:3955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_cv_header_alloca_h=yes else @@ -3972,12 +4015,12 @@ EOF fi echo $ac_n "checking for alloca""... $ac_c" 1>&6 -echo "configure:3976: checking for alloca" >&5 +echo "configure:4019: checking for alloca" >&5 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 3981 "configure" +#line 4024 "configure" #include "confdefs.h" #ifdef __GNUC__ @@ -4005,7 +4048,7 @@ int main() { char *p = (char *) alloca(1); ; return 0; } EOF -if { (eval echo configure:4009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_cv_func_alloca_works=yes else @@ -4037,12 +4080,12 @@ EOF echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 -echo "configure:4041: checking whether alloca needs Cray hooks" >&5 +echo "configure:4084: checking whether alloca needs Cray hooks" >&5 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4046 "configure" +#line 4089 "configure" #include "confdefs.h" #if defined(CRAY) && ! defined(CRAY2) webecray @@ -4067,12 +4110,12 @@ echo "$ac_t""$ac_cv_os_cray" 1>&6 if test $ac_cv_os_cray = yes; then for ac_func in _getb67 GETB67 getb67; do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4071: checking for $ac_func" >&5 +echo "configure:4114: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4076 "configure" +#line 4119 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -4095,7 +4138,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:4099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -4122,7 +4165,7 @@ done fi echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 -echo "configure:4126: checking stack direction for C alloca" >&5 +echo "configure:4169: checking stack direction for C alloca" >&5 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4130,7 +4173,7 @@ else ac_cv_c_stack_direction=0 else cat > conftest.$ac_ext <<EOF -#line 4134 "configure" +#line 4177 "configure" #include "confdefs.h" find_stack_direction () { @@ -4149,7 +4192,7 @@ main () exit (find_stack_direction() < 0); } EOF -if { (eval echo configure:4153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:4196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_c_stack_direction=1 else @@ -4174,17 +4217,17 @@ for ac_hdr in unistd.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:4178: checking for $ac_hdr" >&5 +echo "configure:4221: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4183 "configure" +#line 4226 "configure" #include "confdefs.h" #include <$ac_hdr> EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:4188: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:4231: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -4213,12 +4256,12 @@ done for ac_func in getpagesize do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4217: checking for $ac_func" >&5 +echo "configure:4260: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4222 "configure" +#line 4265 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -4241,7 +4284,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:4245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -4266,7 +4309,7 @@ fi done echo $ac_n "checking for working mmap""... $ac_c" 1>&6 -echo "configure:4270: checking for working mmap" >&5 +echo "configure:4313: checking for working mmap" >&5 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4274,7 +4317,7 @@ else ac_cv_func_mmap_fixed_mapped=no else cat > conftest.$ac_ext <<EOF -#line 4278 "configure" +#line 4321 "configure" #include "confdefs.h" /* Thanks to Mike Haertel and Jim Avera for this test. @@ -4414,7 +4457,7 @@ main() } EOF -if { (eval echo configure:4418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:4461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_func_mmap_fixed_mapped=yes else @@ -4442,17 +4485,17 @@ unistd.h values.h sys/param.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:4446: checking for $ac_hdr" >&5 +echo "configure:4489: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4451 "configure" +#line 4494 "configure" #include "confdefs.h" #include <$ac_hdr> EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:4456: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:4499: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -4482,12 +4525,12 @@ done __argz_count __argz_stringify __argz_next do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4486: checking for $ac_func" >&5 +echo "configure:4529: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4491 "configure" +#line 4534 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -4510,7 +4553,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:4514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -4539,12 +4582,12 @@ done for ac_func in stpcpy do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4543: checking for $ac_func" >&5 +echo "configure:4586: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4548 "configure" +#line 4591 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -4567,7 +4610,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:4571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -4601,19 +4644,19 @@ EOF if test $ac_cv_header_locale_h = yes; then echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6 -echo "configure:4605: checking for LC_MESSAGES" >&5 +echo "configure:4648: checking for LC_MESSAGES" >&5 if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4610 "configure" +#line 4653 "configure" #include "confdefs.h" #include <locale.h> int main() { return LC_MESSAGES ; return 0; } EOF -if { (eval echo configure:4617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* am_cv_val_LC_MESSAGES=yes else @@ -4634,7 +4677,7 @@ EOF fi fi echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6 -echo "configure:4638: checking whether NLS is requested" >&5 +echo "configure:4681: checking whether NLS is requested" >&5 # Check whether --enable-nls or --disable-nls was given. if test "${enable_nls+set}" = set; then enableval="$enable_nls" @@ -4654,7 +4697,7 @@ fi EOF echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6 -echo "configure:4658: checking whether included gettext is requested" >&5 +echo "configure:4701: checking whether included gettext is requested" >&5 # Check whether --with-included-gettext or --without-included-gettext was given. if test "${with_included_gettext+set}" = set; then withval="$with_included_gettext" @@ -4673,17 +4716,17 @@ fi ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for libintl.h""... $ac_c" 1>&6 -echo "configure:4677: checking for libintl.h" >&5 +echo "configure:4720: checking for libintl.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4682 "configure" +#line 4725 "configure" #include "confdefs.h" #include <libintl.h> EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:4687: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:4730: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -4700,19 +4743,19 @@ fi if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 echo $ac_n "checking for gettext in libc""... $ac_c" 1>&6 -echo "configure:4704: checking for gettext in libc" >&5 +echo "configure:4747: checking for gettext in libc" >&5 if eval "test \"`echo '$''{'gt_cv_func_gettext_libc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4709 "configure" +#line 4752 "configure" #include "confdefs.h" #include <libintl.h> int main() { return (int) gettext ("") ; return 0; } EOF -if { (eval echo configure:4716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* gt_cv_func_gettext_libc=yes else @@ -4728,7 +4771,7 @@ echo "$ac_t""$gt_cv_func_gettext_libc" 1>&6 if test "$gt_cv_func_gettext_libc" != "yes"; then echo $ac_n "checking for bindtextdomain in -lintl""... $ac_c" 1>&6 -echo "configure:4732: checking for bindtextdomain in -lintl" >&5 +echo "configure:4775: checking for bindtextdomain in -lintl" >&5 ac_lib_var=`echo intl'_'bindtextdomain | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -4736,7 +4779,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lintl $LIBS" cat > conftest.$ac_ext <<EOF -#line 4740 "configure" +#line 4783 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 @@ -4747,7 +4790,7 @@ int main() { bindtextdomain() ; return 0; } EOF -if { (eval echo configure:4751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -4763,19 +4806,19 @@ fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 echo $ac_n "checking for gettext in libintl""... $ac_c" 1>&6 -echo "configure:4767: checking for gettext in libintl" >&5 +echo "configure:4810: checking for gettext in libintl" >&5 if eval "test \"`echo '$''{'gt_cv_func_gettext_libintl'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4772 "configure" +#line 4815 "configure" #include "confdefs.h" int main() { return (int) gettext ("") ; return 0; } EOF -if { (eval echo configure:4779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* gt_cv_func_gettext_libintl=yes else @@ -4803,7 +4846,7 @@ EOF # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:4807: checking for $ac_word" >&5 +echo "configure:4850: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4837,12 +4880,12 @@ fi for ac_func in dcgettext do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4841: checking for $ac_func" >&5 +echo "configure:4884: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4846 "configure" +#line 4889 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -4865,7 +4908,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:4869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -4892,7 +4935,7 @@ done # Extract the first word of "gmsgfmt", so it can be a program name with args. set dummy gmsgfmt; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:4896: checking for $ac_word" >&5 +echo "configure:4939: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4928,7 +4971,7 @@ fi # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:4932: checking for $ac_word" >&5 +echo "configure:4975: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4960,7 +5003,7 @@ else fi cat > conftest.$ac_ext <<EOF -#line 4964 "configure" +#line 5007 "configure" #include "confdefs.h" int main() { @@ -4968,7 +5011,7 @@ extern int _nl_msg_cat_cntr; return _nl_msg_cat_cntr ; return 0; } EOF -if { (eval echo configure:4972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* CATOBJEXT=.gmo DATADIRNAME=share @@ -5000,7 +5043,7 @@ fi # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:5004: checking for $ac_word" >&5 +echo "configure:5047: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -5034,7 +5077,7 @@ fi # Extract the first word of "gmsgfmt", so it can be a program name with args. set dummy gmsgfmt; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:5038: checking for $ac_word" >&5 +echo "configure:5081: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -5070,7 +5113,7 @@ fi # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:5074: checking for $ac_word" >&5 +echo "configure:5117: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -5160,7 +5203,7 @@ fi LINGUAS= else echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6 -echo "configure:5164: checking for catalogs to be installed" >&5 +echo "configure:5207: checking for catalogs to be installed" >&5 NEW_LINGUAS= for lang in ${LINGUAS=$ALL_LINGUAS}; do case "$ALL_LINGUAS" in @@ -5188,17 +5231,17 @@ echo "configure:5164: checking for catalogs to be installed" >&5 if test "$CATOBJEXT" = ".cat"; then ac_safe=`echo "linux/version.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for linux/version.h""... $ac_c" 1>&6 -echo "configure:5192: checking for linux/version.h" >&5 +echo "configure:5235: checking for linux/version.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 5197 "configure" +#line 5240 "configure" #include "confdefs.h" #include <linux/version.h> EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:5202: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:5245: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -5261,7 +5304,7 @@ fi echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 -echo "configure:5265: checking whether to enable maintainer-specific portions of Makefiles" >&5 +echo "configure:5308: checking whether to enable maintainer-specific portions of Makefiles" >&5 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. if test "${enable_maintainer_mode+set}" = set; then enableval="$enable_maintainer_mode" @@ -5286,7 +5329,7 @@ fi echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 -echo "configure:5290: checking for executable suffix" >&5 +echo "configure:5333: checking for executable suffix" >&5 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -5296,10 +5339,10 @@ else rm -f conftest* echo 'int main () { return 0; }' > conftest.$ac_ext ac_cv_exeext= - if { (eval echo configure:5300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then + if { (eval echo configure:5343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then for file in conftest.*; do case $file in - *.c | *.o | *.obj) ;; + *.c | *.o | *.obj | *.ilk | *.pdb) ;; *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; esac done @@ -5321,17 +5364,17 @@ for ac_hdr in string.h stdlib.h memory.h strings.h unistd.h stdarg.h varargs.h e do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:5325: checking for $ac_hdr" >&5 +echo "configure:5368: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 5330 "configure" +#line 5373 "configure" #include "confdefs.h" #include <$ac_hdr> EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:5335: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:5378: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -5361,7 +5404,7 @@ done # Put this here so that autoconf's "cross-compiling" message doesn't confuse # people who are not cross-compiling but are compiling cross-assemblers. echo $ac_n "checking whether compiling a cross-assembler""... $ac_c" 1>&6 -echo "configure:5365: checking whether compiling a cross-assembler" >&5 +echo "configure:5408: checking whether compiling a cross-assembler" >&5 if test "${host}" = "${target}"; then cross_gas=no else @@ -5376,19 +5419,19 @@ echo "$ac_t""$cross_gas" 1>&6 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works # for constant arguments. Useless! echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 -echo "configure:5380: checking for working alloca.h" >&5 +echo "configure:5423: checking for working alloca.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 5385 "configure" +#line 5428 "configure" #include "confdefs.h" #include <alloca.h> int main() { char *p = alloca(2 * sizeof(int)); ; return 0; } EOF -if { (eval echo configure:5392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_cv_header_alloca_h=yes else @@ -5409,12 +5452,12 @@ EOF fi echo $ac_n "checking for alloca""... $ac_c" 1>&6 -echo "configure:5413: checking for alloca" >&5 +echo "configure:5456: checking for alloca" >&5 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 5418 "configure" +#line 5461 "configure" #include "confdefs.h" #ifdef __GNUC__ @@ -5442,7 +5485,7 @@ int main() { char *p = (char *) alloca(1); ; return 0; } EOF -if { (eval echo configure:5446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_cv_func_alloca_works=yes else @@ -5474,12 +5517,12 @@ EOF echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 -echo "configure:5478: checking whether alloca needs Cray hooks" >&5 +echo "configure:5521: checking whether alloca needs Cray hooks" >&5 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 5483 "configure" +#line 5526 "configure" #include "confdefs.h" #if defined(CRAY) && ! defined(CRAY2) webecray @@ -5504,12 +5547,12 @@ echo "$ac_t""$ac_cv_os_cray" 1>&6 if test $ac_cv_os_cray = yes; then for ac_func in _getb67 GETB67 getb67; do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5508: checking for $ac_func" >&5 +echo "configure:5551: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 5513 "configure" +#line 5556 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -5532,7 +5575,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:5536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -5559,7 +5602,7 @@ done fi echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 -echo "configure:5563: checking stack direction for C alloca" >&5 +echo "configure:5606: checking stack direction for C alloca" >&5 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -5567,7 +5610,7 @@ else ac_cv_c_stack_direction=0 else cat > conftest.$ac_ext <<EOF -#line 5571 "configure" +#line 5614 "configure" #include "confdefs.h" find_stack_direction () { @@ -5586,7 +5629,7 @@ main () exit (find_stack_direction() < 0); } EOF -if { (eval echo configure:5590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:5633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_c_stack_direction=1 else @@ -5608,21 +5651,21 @@ EOF fi echo $ac_n "checking for inline""... $ac_c" 1>&6 -echo "configure:5612: checking for inline" >&5 +echo "configure:5655: checking for inline" >&5 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_cv_c_inline=no for ac_kw in inline __inline__ __inline; do cat > conftest.$ac_ext <<EOF -#line 5619 "configure" +#line 5662 "configure" #include "confdefs.h" int main() { } $ac_kw foo() { ; return 0; } EOF -if { (eval echo configure:5626: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5669: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_inline=$ac_kw; break else @@ -5652,12 +5695,12 @@ esac for ac_func in unlink remove do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5656: checking for $ac_func" >&5 +echo "configure:5699: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 5661 "configure" +#line 5704 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -5680,7 +5723,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:5684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -5709,12 +5752,12 @@ done for ac_func in sbrk do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5713: checking for $ac_func" >&5 +echo "configure:5756: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 5718 "configure" +#line 5761 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -5737,7 +5780,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:5741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -5772,7 +5815,7 @@ case $host in ;; *-ncr-sysv4.3*) echo $ac_n "checking for _mwvalidcheckl in -lmw""... $ac_c" 1>&6 -echo "configure:5776: checking for _mwvalidcheckl in -lmw" >&5 +echo "configure:5819: checking for _mwvalidcheckl in -lmw" >&5 ac_lib_var=`echo mw'_'_mwvalidcheckl | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -5780,7 +5823,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lmw $LIBS" cat > conftest.$ac_ext <<EOF -#line 5784 "configure" +#line 5827 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 @@ -5791,7 +5834,7 @@ int main() { _mwvalidcheckl() ; return 0; } EOF -if { (eval echo configure:5795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -5812,7 +5855,7 @@ else fi echo $ac_n "checking for main in -lm""... $ac_c" 1>&6 -echo "configure:5816: checking for main in -lm" >&5 +echo "configure:5859: checking for main in -lm" >&5 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -5820,14 +5863,14 @@ else ac_save_LIBS="$LIBS" LIBS="-lm $LIBS" cat > conftest.$ac_ext <<EOF -#line 5824 "configure" +#line 5867 "configure" #include "confdefs.h" int main() { main() ; return 0; } EOF -if { (eval echo configure:5831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -5850,7 +5893,7 @@ fi ;; *) echo $ac_n "checking for main in -lm""... $ac_c" 1>&6 -echo "configure:5854: checking for main in -lm" >&5 +echo "configure:5897: checking for main in -lm" >&5 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -5858,14 +5901,14 @@ else ac_save_LIBS="$LIBS" LIBS="-lm $LIBS" cat > conftest.$ac_ext <<EOF -#line 5862 "configure" +#line 5905 "configure" #include "confdefs.h" int main() { main() ; return 0; } EOF -if { (eval echo configure:5869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -5896,12 +5939,12 @@ esac # enough, but on some of those systems, the assert macro relies on requoting # working properly! echo $ac_n "checking for working assert macro""... $ac_c" 1>&6 -echo "configure:5900: checking for working assert macro" >&5 +echo "configure:5943: checking for working assert macro" >&5 if eval "test \"`echo '$''{'gas_cv_assert_ok'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 5905 "configure" +#line 5948 "configure" #include "confdefs.h" #include <assert.h> #include <stdio.h> @@ -5917,7 +5960,7 @@ assert (a == b ; return 0; } EOF -if { (eval echo configure:5921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* gas_cv_assert_ok=yes else @@ -5958,12 +6001,12 @@ gas_test_headers=" " echo $ac_n "checking whether declaration is required for strstr""... $ac_c" 1>&6 -echo "configure:5962: checking whether declaration is required for strstr" >&5 +echo "configure:6005: checking whether declaration is required for strstr" >&5 if eval "test \"`echo '$''{'gas_cv_decl_needed_strstr'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 5967 "configure" +#line 6010 "configure" #include "confdefs.h" $gas_test_headers int main() { @@ -5974,7 +6017,7 @@ x = (f) strstr; ; return 0; } EOF -if { (eval echo configure:5978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* gas_cv_decl_needed_strstr=no else @@ -5995,12 +6038,12 @@ fi echo $ac_n "checking whether declaration is required for malloc""... $ac_c" 1>&6 -echo "configure:5999: checking whether declaration is required for malloc" >&5 +echo "configure:6042: checking whether declaration is required for malloc" >&5 if eval "test \"`echo '$''{'gas_cv_decl_needed_malloc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 6004 "configure" +#line 6047 "configure" #include "confdefs.h" $gas_test_headers int main() { @@ -6011,7 +6054,7 @@ x = (f) malloc; ; return 0; } EOF -if { (eval echo configure:6015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* gas_cv_decl_needed_malloc=no else @@ -6032,12 +6075,12 @@ fi echo $ac_n "checking whether declaration is required for free""... $ac_c" 1>&6 -echo "configure:6036: checking whether declaration is required for free" >&5 +echo "configure:6079: checking whether declaration is required for free" >&5 if eval "test \"`echo '$''{'gas_cv_decl_needed_free'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 6041 "configure" +#line 6084 "configure" #include "confdefs.h" $gas_test_headers int main() { @@ -6048,7 +6091,7 @@ x = (f) free; ; return 0; } EOF -if { (eval echo configure:6052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* gas_cv_decl_needed_free=no else @@ -6069,12 +6112,12 @@ fi echo $ac_n "checking whether declaration is required for sbrk""... $ac_c" 1>&6 -echo "configure:6073: checking whether declaration is required for sbrk" >&5 +echo "configure:6116: checking whether declaration is required for sbrk" >&5 if eval "test \"`echo '$''{'gas_cv_decl_needed_sbrk'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 6078 "configure" +#line 6121 "configure" #include "confdefs.h" $gas_test_headers int main() { @@ -6085,7 +6128,7 @@ x = (f) sbrk; ; return 0; } EOF -if { (eval echo configure:6089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* gas_cv_decl_needed_sbrk=no else @@ -6106,12 +6149,12 @@ fi echo $ac_n "checking whether declaration is required for environ""... $ac_c" 1>&6 -echo "configure:6110: checking whether declaration is required for environ" >&5 +echo "configure:6153: checking whether declaration is required for environ" >&5 if eval "test \"`echo '$''{'gas_cv_decl_needed_environ'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 6115 "configure" +#line 6158 "configure" #include "confdefs.h" $gas_test_headers int main() { @@ -6122,7 +6165,7 @@ x = (f) environ; ; return 0; } EOF -if { (eval echo configure:6126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* gas_cv_decl_needed_environ=no else @@ -6146,12 +6189,12 @@ fi # for it? echo $ac_n "checking whether declaration is required for errno""... $ac_c" 1>&6 -echo "configure:6150: checking whether declaration is required for errno" >&5 +echo "configure:6193: checking whether declaration is required for errno" >&5 if eval "test \"`echo '$''{'gas_cv_decl_needed_errno'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 6155 "configure" +#line 6198 "configure" #include "confdefs.h" #ifdef HAVE_ERRNO_H @@ -6166,7 +6209,7 @@ x = (f) errno; ; return 0; } EOF -if { (eval echo configure:6170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* gas_cv_decl_needed_errno=no else diff --git a/contrib/binutils/gas/configure.in b/contrib/binutils/gas/configure.in index 0be9d21..e1a0789 100644 --- a/contrib/binutils/gas/configure.in +++ b/contrib/binutils/gas/configure.in @@ -137,6 +137,7 @@ changequote([,])dnl m8*) cpu_type=m88k ;; mips*el) cpu_type=mips endian=little ;; mips*) cpu_type=mips endian=big ;; + or32*) cpu_type=or32 endian=big ;; pjl*) cpu_type=pj endian=little ;; pj*) cpu_type=pj endian=big ;; powerpc*le*) cpu_type=ppc endian=little ;; @@ -144,6 +145,7 @@ changequote([,])dnl rs6000*) cpu_type=ppc ;; s390x*) cpu_type=s390 arch=s390x ;; s390*) cpu_type=s390 arch=s390 ;; + sh64*) cpu_type=sh64 endian=big;; sh*le) cpu_type=sh endian=little ;; sh*) cpu_type=sh endian=big ;; sparclite*) cpu_type=sparc arch=sparclite ;; @@ -221,6 +223,7 @@ changequote([,])dnl esac ;; hppa-*-*elf*) fmt=elf em=hppa ;; hppa-*-lites*) fmt=elf em=hppa ;; + hppa-*-netbsd*) fmt=elf em=nbsd ;; hppa-*-osf*) fmt=som em=hppa ;; hppa-*-rtems*) fmt=elf em=hppa ;; hppa-*-hpux11*) case ${cpu} in @@ -375,6 +378,9 @@ changequote([,])dnl mn10200-*-*) fmt=elf bfd_gas=yes ;; mn10300-*-*) fmt=elf bfd_gas=yes ;; openrisc-*-*) fmt=elf bfd_gas=yes ;; + or32-*-rtems*) fmt=coff ;; + or32-*-coff) fmt=coff ;; + or32-*-elf) fmt=elf ;; pj*) fmt=elf ;; ppc-*-pe | ppc-*-cygwin* | ppc-*-winnt*) fmt=coff em=pe ;; @@ -420,6 +426,7 @@ changequote([,])dnl sh-*-rtemself*) fmt=elf ;; sh-*-rtems*) fmt=coff bfd_gas=yes;; + sh64-*-elf*) fmt=elf ;; ns32k-pc532-mach* | ns32k-pc532-ux*) fmt=aout em=pc532mach ;; ns32k-pc532-netbsd* | ns32k-pc532-lites*) fmt=aout em=nbsd532 ;; ns32k-pc532-openbsd*) fmt=aout em=nbsd532 ;; diff --git a/contrib/binutils/gas/doc/Makefile.am b/contrib/binutils/gas/doc/Makefile.am index 566038c..a526dde 100644 --- a/contrib/binutils/gas/doc/Makefile.am +++ b/contrib/binutils/gas/doc/Makefile.am @@ -25,9 +25,11 @@ asconfig.texi: $(CONFIG).texi CPU_DOCS = \ c-a29k.texi \ + c-alpha.texi \ c-arc.texi \ c-arm.texi \ c-d10v.texi \ + c-cris.texi \ c-h8300.texi \ c-h8500.texi \ c-hppa.texi \ @@ -46,6 +48,7 @@ CPU_DOCS = \ c-pj.texi \ c-ppc.texi \ c-sh.texi \ + c-sh64.texi \ c-sparc.texi \ c-tic54x.texi \ c-vax.texi \ @@ -59,6 +62,10 @@ gasver.texi: Makefile as.info: $(srcdir)/as.texinfo asconfig.texi gasver.texi $(CPU_DOCS) as.dvi: $(srcdir)/as.texinfo asconfig.texi gasver.texi $(CPU_DOCS) +# We want install to imply install-info as per GNU standards, despite the +# cygnus option. +install: install-info + # This one isn't ready for prime time yet. Not even a little bit. noinst_TEXINFOS = internals.texi diff --git a/contrib/binutils/gas/doc/Makefile.in b/contrib/binutils/gas/doc/Makefile.in index 147c5e7..58e08e6 100644 --- a/contrib/binutils/gas/doc/Makefile.in +++ b/contrib/binutils/gas/doc/Makefile.in @@ -136,9 +136,11 @@ info_TEXINFOS = as.texinfo gasp.texi CPU_DOCS = \ c-a29k.texi \ + c-alpha.texi \ c-arc.texi \ c-arm.texi \ c-d10v.texi \ + c-cris.texi \ c-h8300.texi \ c-h8500.texi \ c-hppa.texi \ @@ -157,6 +159,7 @@ CPU_DOCS = \ c-pj.texi \ c-ppc.texi \ c-sh.texi \ + c-sh64.texi \ c-sparc.texi \ c-tic54x.texi \ c-vax.texi \ @@ -460,6 +463,10 @@ gasver.texi: Makefile as.info: $(srcdir)/as.texinfo asconfig.texi gasver.texi $(CPU_DOCS) as.dvi: $(srcdir)/as.texinfo asconfig.texi gasver.texi $(CPU_DOCS) +# We want install to imply install-info as per GNU standards, despite the +# cygnus option. +install: install-info + # Maintenance # We need it for the taz target in ../../Makefile.in. diff --git a/contrib/binutils/gas/doc/all.texi b/contrib/binutils/gas/doc/all.texi index 9253203..0642dfd 100644 --- a/contrib/binutils/gas/doc/all.texi +++ b/contrib/binutils/gas/doc/all.texi @@ -1,4 +1,4 @@ -@c Copyright 1992, 1993, 1994, 1996, 1997, 1999, 2000, 2001 +@c Copyright 1992, 1993, 1994, 1996, 1997, 1999, 2000, 2001, 2002 @c Free Software Foundation, Inc. @c This file is part of the documentation for the GAS manual @@ -27,8 +27,10 @@ @c CPUs of interest @c ================ @set A29K +@set ALPHA @set ARC @set ARM +@set CRIS @set D10V @set D30V @set H8/300 diff --git a/contrib/binutils/gas/doc/as.texinfo b/contrib/binutils/gas/doc/as.texinfo index 3d7fef5..2e21a63 100644 --- a/contrib/binutils/gas/doc/as.texinfo +++ b/contrib/binutils/gas/doc/as.texinfo @@ -1,6 +1,6 @@ \input texinfo @c -*-Texinfo-*- @c Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, -@c 2001 +@c 2001, 2002 @c Free Software Foundation, Inc. @c UPDATE!! On future updates-- @c (1) check for new machine-dep cmdline options in @@ -29,8 +29,10 @@ @set TARGET TARGET @set GENERIC @set A29K +@set ALPHA @set ARC @set ARM +@set CRIS @set D10V @set D30V @set H8/300 @@ -116,6 +118,7 @@ @format START-INFO-DIR-ENTRY * As: (as). The GNU assembler. +* Gas: (as). The GNU assembler. END-INFO-DIR-ENTRY @end format @end ifinfo @@ -127,7 +130,7 @@ END-INFO-DIR-ENTRY This file documents the GNU Assembler "@value{AS}". @c man begin COPYRIGHT -Copyright (C) 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000, 2001 Free Software Foundation, Inc. +Copyright (C) 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000, 2001, 2002 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 @@ -180,7 +183,7 @@ done. @end tex @vskip 0pt plus 1filll -Copyright @copyright{} 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000, 2001 Free Software Foundation, Inc. +Copyright @copyright{} 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000, 2001, 2002 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 @@ -265,6 +268,14 @@ gcc(1), ld(1), and the Info entries for @file{binutils} and @file{ld}. @ifset A29K @c am29k has no machine-dependent assembler options @end ifset +@ifset ALPHA + +@emph{Target Alpha options:} + [@b{-m@var{cpu}}] + [@b{-mdebug} | @b{-no-mdebug}] + [@b{-relax}] [@b{-g}] [@b{-G@var{size}}] + [@b{-F}] [@b{-32addr}] +@end ifset @ifset ARC @emph{Target ARC options:} @@ -284,6 +295,15 @@ gcc(1), ld(1), and the Info entries for @file{binutils} and @file{ld}. @b{-mapcs-reentrant}] [@b{-mthumb-interwork}] [@b{-moabi}] [@b{-k}] @end ifset +@ifset CRIS + +@emph{Target CRIS options:} + [@b{--underscore} | @b{--no-underscore}] + [@b{--pic}] [@b{-N}] + [@b{--emulation=criself} | @b{--emulation=crisaout}] +@c Deprecated -- deliberately not documented. +@c [@b{-h}] [@b{-H}] +@end ifset @ifset D10V @emph{Target D10V options:} @@ -354,6 +374,7 @@ gcc(1), ld(1), and the Info entries for @file{binutils} and @file{ld}. [@b{--fixed-special-register-names}] [@b{--globalize-symbols}] [@b{--gnu-syntax}] [@b{--relax}] [@b{--no-predefined-symbols}] [@b{--no-expand}] [@b{--no-merge-gregs}] [@b{-x}] + [@b{--linker-allocated-gregs}] @end ifset @ifset PDP11 @@ -581,6 +602,10 @@ Specify that PIC code has been generated. @end table @end ifset +@ifset CRIS +See the info pages for documentation of the CRIS-specific options. +@end ifset + @ifset D10V The following options are available when @value{AS} is configured for a D10V processor. @@ -5571,12 +5596,18 @@ subject, see the hardware manufacturer's manual. @ifset A29K * AMD29K-Dependent:: AMD 29K Dependent Features @end ifset +@ifset ALPHA +* Alpha-Dependent:: Alpha Dependent Features +@end ifset @ifset ARC * ARC-Dependent:: ARC Dependent Features @end ifset @ifset ARM * ARM-Dependent:: ARM Dependent Features @end ifset +@ifset CRIS +* CRIS-Dependent:: CRIS Dependent Features +@end ifset @ifset D10V * D10V-Dependent:: D10V Dependent Features @end ifset @@ -5624,6 +5655,7 @@ subject, see the hardware manufacturer's manual. @end ifset @ifset SH * SH-Dependent:: Hitachi SH Dependent Features +* SH64-Dependent:: Hitachi SH64 Dependent Features @end ifset @ifset PDP11 * PDP-11-Dependent:: PDP-11 Dependent Features @@ -5662,18 +5694,26 @@ subject, see the hardware manufacturer's manual. @c node and sectioning commands; hence the repetition of @chapter BLAH @c in both conditional blocks. -@ifset ARC -@include c-arc.texi -@end ifset - @ifset A29K @include c-a29k.texi @end ifset +@ifset ALPHA +@include c-alpha.texi +@end ifset + +@ifset ARC +@include c-arc.texi +@end ifset + @ifset ARM @include c-arm.texi @end ifset +@ifset CRIS +@include c-cris.texi +@end ifset + @ifset Hitachi-all @ifclear GENERIC @node Machine Dependencies @@ -5771,6 +5811,7 @@ family. @ifset SH @include c-sh.texi +@include c-sh64.texi @end ifset @ifset SPARC diff --git a/contrib/binutils/gas/doc/c-alpha.texi b/contrib/binutils/gas/doc/c-alpha.texi new file mode 100644 index 0000000..f3c1888 --- /dev/null +++ b/contrib/binutils/gas/doc/c-alpha.texi @@ -0,0 +1,396 @@ +@c Copyright 2002 +@c Free Software Foundation, Inc. +@c This is part of the GAS manual. +@c For copying conditions, see the file as.texinfo. + +@ifset GENERIC +@page +@node Alpha-Dependent +@chapter Alpha Dependent Features +@end ifset + +@ifclear GENERIC +@node Machine Dependencies +@chapter Alpha Dependent Features +@end ifclear + +@cindex Alpha support +@menu +* Alpha Notes:: Notes +* Alpha Options:: Options +* Alpha Syntax:: Syntax +* Alpha Floating Point:: Floating Point +* Alpha Directives:: Alpha Machine Directives +* Alpha Opcodes:: Opcodes +@end menu + +@node Alpha Notes +@section Notes +@cindex Alpha notes +@cindex notes for Alpha + +The documentation here is primarily for the ELF object format. +@code{@value{AS}} also supports the ECOFF and EVAX formats, but +features specific to these formats are not yet documented. + +@node Alpha Options +@section Options +@cindex Alpha options +@cindex options for Alpha + +@table @option +@cindex @code{-m@var{cpu}} command line option, Alpha +@item -m@var{cpu} +This option specifies the target processor. If an attempt is made to +assemble an instruction which will not execute on the target processor, +the assembler may either expand the instruction as a macro or issue an +error message. This option is equivalent to the @code{.arch} directive. + +The following processor names are recognized: +@code{21064}, +@code{21064a}, +@code{21066}, +@code{21068}, +@code{21164}, +@code{21164a}, +@code{21164pc}, +@code{21264}, +@code{ev4}, +@code{ev5}, +@code{lca45}, +@code{ev5}, +@code{ev56}, +@code{pca56}, +@code{ev6}. +The special name @code{all} may be used to allow the assembler to accept +instructions valid for any Alpha processor. + +In order to support existing practice in OSF/1 with respect to @code{.arch}, +and existing practice within @command{MILO} (the Linux ARC bootloader), the +numbered processor names (e.g.@: 21064) enable the processor-specific PALcode +instructions, while the ``electro-vlasic'' names (e.g.@: @code{ev4}) do not. + +@cindex @code{-mdebug} command line option, Alpha +@cindex @code{-no-mdebug} command line option, Alpha +@item -mdebug +@itemx -no-mdebug +Enables or disables the generation of @code{.mdebug} encapsulation for +stabs directives and procedure descriptors. The default is to automatically +enable @code{.mdebug} when the first stabs directive is seen. + +@cindex @code{-relax} command line option, Alpha +@item -relax +This option forces all relocations to be put into the object file, instead +of saving space and resolving some relocations at assembly time. Note that +this option does not propagate all symbol arithmetic into the object file, +because not all symbol arithmetic can be represented. However, the option +can still be useful in specific applications. + +@cindex @code{-g} command line option, Alpha +@item -g +This option is used when the compiler generates debug information. When +@command{gcc} is using @command{mips-tfile} to generate debug +information for ECOFF, local labels must be passed through to the object +file. Otherwise this option has no effect. + +@cindex @code{-G} command line option, Alpha +@item -G@var{size} +A local common symbol larger than @var{size} is placed in @code{.bss}, +while smaller symbols are placed in @code{.sbss}. + +@cindex @code{-F} command line option, Alpha +@cindex @code{-32addr} command line option, Alpha +@item -F +@itemx -32addr +These options are ignored for backward compatibility. +@end table + +@cindex Alpha Syntax +@node Alpha Syntax +@section Syntax +The assembler syntax closely follow the Alpha Reference Manual; +assembler directives and general syntax closely follow the OSF/1 and +OpenVMS syntax, with a few differences for ELF. + +@menu +* Alpha-Chars:: Special Characters +* Alpha-Regs:: Register Names +* Alpha-Relocs:: Relocations +@end menu + +@node Alpha-Chars +@subsection Special Characters + +@cindex line comment character, Alpha +@cindex Alpha line comment character +@samp{#} is the line comment character. + +@cindex line separator, Alpha +@cindex statement separator, Alpha +@cindex Alpha line separator +@samp{;} can be used instead of a newline to separate statements. + +@node Alpha-Regs +@subsection Register Names +@cindex Alpha registers +@cindex register names, Alpha + +The 32 integer registers are refered to as @samp{$@var{n}} or +@samp{$r@var{n}}. In addition, registers 15, 28, 29, and 30 may +be refered to by the symbols @samp{$fp}, @samp{$at}, @samp{$gp}, +and @samp{$sp} respectively. + +The 32 floating-point registers are refered to as @samp{$f@var{n}}. + +@node Alpha-Relocs +@subsection Relocations +@cindex Alpha relocations +@cindex relocations, Alpha + +Some of these relocations are available for ECOFF, but mostly +only for ELF. They are modeled after the relocation format +introduced in Digial Unix 4.0, but there are additions. + +The format is @samp{!@var{tag}} or @samp{!@var{tag}!@var{number}} +where @var{tag} is the name of the relocation. In some cases +@var{number} is used to relate specific instructions. + +The relocation is placed at the end of the instruction like so: + +@example +ldah $0,a($29) !gprelhigh +lda $0,a($0) !gprellow +ldq $1,b($29) !literal!100 +ldl $2,0($1) !lituse_base!100 +@end example + +@table @code +@item !literal +@itemx !literal!@var{N} +Used with an @code{ldq} instruction to load the address of a symbol +from the GOT. + +A sequence number @var{N} is optional, and if present is used to pair +@code{lituse} relocations with this @code{literal} relocation. The +@code{lituse} relocations are used by the linker to optimize the code +based on the final location of the symbol. + +Note that these optimizations are dependent on the data flow of the +program. Therefore, if @emph{any} @code{lituse} is paired with a +@code{literal} relocation, then @emph{all} uses of the register set by +the @code{literal} instruction must also be marked with @code{lituse} +relocations. This is because the original @code{literal} instruction +may be deleted or transformed into another instruction. + +Also note that there may be a one-to-many relationship between +@code{literal} and @code{lituse}, but not a many-to-one. That is, if +there are two code paths that load up the same address and feed the +value to a single use, then the use may not use a @code{lituse} +relocation. + +@item !lituse_base!@var{N} +Used with any memory format instruction (e.g.@: @code{ldl}) to indicate +that the literal is used for an address load. The offset field of the +instruction must be zero. During relaxation, the code may be altered +to use a gp-relative load. + +@item !lituse_jsr!@var{N} +Used with a register branch format instruction (e.g.@: @code{jsr}) to +indicate that the literal is used for a call. During relaxation, the +code may be altered to use a direct branch (e.g.@: @code{bsr}). + +@item !lituse_bytoff!@var{N} +Used with a byte mask instruction (e.g.@: @code{extbl}) to indicate +that only the low 3 bits of the address are relevant. During relaxation, +the code may be altered to use an immediate instead of a register shift. + +@item !lituse_addr!@var{N} +Used with any other instruction to indicate that the original address +is in fact used, and the original @code{ldq} instruction may not be +altered or deleted. This is useful in conjunction with @code{lituse_jsr} +to test whether a weak symbol is defined. + +@example +ldq $27,foo($29) !literal!1 +beq $27,is_undef !lituse_addr!1 +jsr $26,($27),foo !lituse_jsr!1 +@end example + +@item !gpdisp!@var{N} +Used with @code{ldah} and @code{lda} to load the GP from the current +address, a-la the @code{ldgp} macro. The source register for the +@code{ldah} instruction must contain the address of the @code{ldah} +instruction. There must be exactly one @code{lda} instruction paired +with the @code{ldah} instruction, though it may appear anywhere in +the instruction stream. The immediate operands must be zero. + +@example +bsr $26,foo +ldah $29,0($26) !gpdisp!1 +lda $29,0($29) !gpdisp!1 +@end example + +@item !gprelhigh +Used with an @code{ldah} instruction to add the high 16 bits of a +32-bit displacement from the GP. + +@item !gprellow +Used with any memory format instruction to add the low 16 bits of a +32-bit displacement from the GP. + +@item !gprel +Used with any memory format instruction to add a 16-bit displacement +from the GP. + +@item !samegp +Used with any branch format instruction to skip the GP load at the +target address. The referenced symbol must have the same GP as the +source object file, and it must be declared to either not use @code{$27} +or perform a standard GP load in the first two instructions via the +@code{.prologue} directive. +@end table + +@node Alpha Floating Point +@section Floating Point +@cindex floating point, Alpha (@sc{ieee}) +@cindex Alpha floating point (@sc{ieee}) +The Alpha family uses both @sc{ieee} and VAX floating-point numbers. + +@node Alpha Directives +@section Alpha Assembler Directives + +@command{@value{AS}} for the Alpha supports many additional directives for +compatibility with the native assembler. This section describes them only +briefly. + +@cindex Alpha-only directives +These are the additional directives in @code{@value{AS}} for the Alpha: + +@table @code +@item .arch @var{cpu} +Specifies the target processor. This is equivalent to the +@option{-m@var{cpu}} command-line option. @xref{Alpha Options, Options}, +for a list of values for @var{cpu}. + +@item .ent @var{function}[, @var{n}] +Mark the beginning of @var{function}. An optional number may follow for +compatibility with the OSF/1 assembler, but is ignored. When generating +@code{.mdebug} information, this will create a procedure descriptor for +the function. In ELF, it will mark the symbol as a function a-la the +generic @code{.type} directive. + +@item .end @var{function} +Mark the end of @var{function}. In ELF, it will set the size of the symbol +a-la the generic @code{.size} directive. + +@item .mask @var{mask}, @var{offset} +Indicate which of the integer registers are saved in the current +function's stack frame. @var{mask} is interpreted a bit mask in which +bit @var{n} set indicates that register @var{n} is saved. The registers +are saved in a block located @var{offset} bytes from the @dfn{canonical +frame address} (CFA) which is the value of the stack pointer on entry to +the function. The registers are saved sequentially, except that the +return address register (normally @code{$26}) is saved first. + +This and the other directives that describe the stack frame are +currently only used when generating @code{.mdebug} information. They +may in the future be used to generate DWARF2 @code{.debug_frame} unwind +information for hand written assembly. + +@item .fmask @var{mask}, @var{offset} +Indicate which of the floating-point registers are saved in the current +stack frame. The @var{mask} and @var{offset} parameters are interpreted +as with @code{.mask}. + +@item .frame @var{framereg}, @var{frameoffset}, @var{retreg}[, @var{argoffset}] +Describes the shape of the stack frame. The frame pointer in use is +@var{framereg}; normally this is either @code{$fp} or @code{$sp}. The +frame pointer is @var{frameoffset} bytes below the CFA. The return +address is initially located in @var{retreg} until it is saved as +indicated in @code{.mask}. For compatibility with OSF/1 an optional +@var{argoffset} parameter is accepted and ignored. It is believed to +indicate the offset from the CFA to the saved argument registers. + +@item .prologue @var{n} +Indicate that the stack frame is set up and all registers have been +spilled. The argument @var{n} indicates whether and how the function +uses the incoming @dfn{procedure vector} (the address of the called +function) in @code{$27}. 0 indicates that @code{$27} is not used; 1 +indicates that the first two instructions of the function use @code{$27} +to perform a load of the GP register; 2 indicates that @code{$27} is +used in some non-standard way and so the linker cannot elide the load of +the procedure vector during relaxation. + +@item .gprel32 @var{expression} +Computes the difference between the address in @var{expression} and the +GP for the current object file, and stores it in 4 bytes. In addition +to being smaller than a full 8 byte address, this also does not require +a dynamic relocation when used in a shared library. + +@item .t_floating @var{expression} +Stores @var{expression} as an @sc{ieee} double precision value. + +@item .s_floating @var{expression} +Stores @var{expression} as an @sc{ieee} single precision value. + +@item .f_floating @var{expression} +Stores @var{expression} as a VAX F format value. + +@item .g_floating @var{expression} +Stores @var{expression} as a VAX G format value. + +@item .d_floating @var{expression} +Stores @var{expression} as a VAX D format value. + +@item .set @var{feature} +Enables or disables various assembler features. Using the positive +name of the feature enables while using @samp{no@var{feature}} disables. + +@table @code +@item at +Indicates that macro expansions may clobber the @dfn{assembler +temporary} (@code{$at} or @code{$28}) register. Some macros may not be +expanded without this and will generate an error message if @code{noat} +is in effect. When @code{at} is in effect, a warning will be generated +if @code{$at} is used by the programmer. + +@item macro +Enables the expasion of macro instructions. Note that variants of real +instructions, such as @code{br label} vs @code{br $31,label} are +considered alternate forms and not macros. + +@item move +@itemx reorder +@itemx volatile +These control whether and how the assembler may re-order instructions. +Accepted for compatibility with the OSF/1 assembler, but @command{@value{AS}} +does not do instruction scheduling, so these features are ignored. +@end table +@end table + +The following directives are recognized for compatibility with the OSF/1 +assembler but are ignored. + +@example +.proc .aproc +.reguse .livereg +.option .aent +.ugen .eflag +.alias .noalias +@end example + +@node Alpha Opcodes +@section Opcodes +For detailed information on the Alpha machine instruction set, see the +@c Attempt to work around a very overfull hbox. +@iftex +Alpha Architecture Handbook located at +@smallfonts +@example +ftp://ftp.digital.com/pub/Digital/info/semiconductor/literature/alphaahb.pdf +@end example +@textfonts +@end iftex +@ifnottex +@uref{ftp://ftp.digital.com/pub/Digital/info/semiconductor/literature/alphaahb.pdf,Alpha Architecture Handbook}. +@end ifnottex diff --git a/contrib/binutils/gas/po/POTFILES.in b/contrib/binutils/gas/po/POTFILES.in index d1d5c97..9003f27 100644 --- a/contrib/binutils/gas/po/POTFILES.in +++ b/contrib/binutils/gas/po/POTFILES.in @@ -96,6 +96,8 @@ config/tc-ns32k.c config/tc-ns32k.h config/tc-openrisc.c config/tc-openrisc.h +config/tc-or32.c +config/tc-or32.h config/tc-pdp11.c config/tc-pdp11.h config/tc-pj.c @@ -106,6 +108,8 @@ config/tc-s390.c config/tc-s390.h config/tc-sh.c config/tc-sh.h +config/tc-sh64.c +config/tc-sh64.h config/tc-sparc.c config/tc-sparc.h config/tc-tahoe.c diff --git a/contrib/binutils/gas/po/gas.pot b/contrib/binutils/gas/po/gas.pot index f477568..cf36185 100644 --- a/contrib/binutils/gas/po/gas.pot +++ b/contrib/binutils/gas/po/gas.pot @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2002-01-17 12:56+0000\n" +"POT-Creation-Date: 2002-02-08 04:20-0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -258,7 +258,7 @@ msgid "GNU assembler %s\n" msgstr "" #: as.c:528 -msgid "Copyright 2001 Free Software Foundation, Inc.\n" +msgid "Copyright 2002 Free Software Foundation, Inc.\n" msgstr "" #: as.c:529 gasp.c:3627 @@ -444,7 +444,7 @@ msgstr "" msgid "%s: bad type for weak symbol" msgstr "" -#: config/obj-aout.c:458 config/obj-coff.c:2940 write.c:1933 +#: config/obj-aout.c:458 config/obj-coff.c:2956 write.c:1933 #, c-format msgid "%s: global symbols not supported in common sections" msgstr "" @@ -473,7 +473,7 @@ msgstr "" msgid "Line numbers must be positive integers\n" msgstr "" -#: config/obj-coff.c:503 config/obj-coff.c:2355 +#: config/obj-coff.c:503 config/obj-coff.c:2371 msgid ".ln pseudo-op inside .def/.endef: ignored." msgstr "" @@ -485,11 +485,11 @@ msgstr "" msgid ".loc pseudo-op inside .def/.endef: ignored." msgstr "" -#: config/obj-coff.c:641 config/obj-coff.c:2412 +#: config/obj-coff.c:641 config/obj-coff.c:2428 msgid ".def pseudo-op used inside of .def/.endef: ignored." msgstr "" -#: config/obj-coff.c:687 config/obj-coff.c:2464 +#: config/obj-coff.c:687 config/obj-coff.c:2480 msgid ".endef pseudo-op used outside of .def/.endef: ignored." msgstr "" @@ -498,49 +498,49 @@ msgstr "" msgid "`%s' symbol without preceding function" msgstr "" -#: config/obj-coff.c:812 config/obj-coff.c:2539 +#: config/obj-coff.c:812 config/obj-coff.c:2555 #, c-format msgid "unexpected storage class %d" msgstr "" -#: config/obj-coff.c:925 config/obj-coff.c:2646 +#: config/obj-coff.c:925 config/obj-coff.c:2662 msgid ".dim pseudo-op used outside of .def/.endef: ignored." msgstr "" -#: config/obj-coff.c:945 config/obj-coff.c:2666 +#: config/obj-coff.c:945 config/obj-coff.c:2682 msgid "badly formed .dim directive ignored" msgstr "" -#: config/obj-coff.c:996 config/obj-coff.c:2729 +#: config/obj-coff.c:996 config/obj-coff.c:2745 msgid ".size pseudo-op used outside of .def/.endef ignored." msgstr "" -#: config/obj-coff.c:1012 config/obj-coff.c:2745 +#: config/obj-coff.c:1012 config/obj-coff.c:2761 msgid ".scl pseudo-op used outside of .def/.endef ignored." msgstr "" -#: config/obj-coff.c:1030 config/obj-coff.c:2763 +#: config/obj-coff.c:1030 config/obj-coff.c:2779 msgid ".tag pseudo-op used outside of .def/.endef ignored." msgstr "" -#: config/obj-coff.c:1049 config/obj-coff.c:2781 +#: config/obj-coff.c:1049 config/obj-coff.c:2797 #, c-format msgid "tag not found for .tag %s" msgstr "" -#: config/obj-coff.c:1064 config/obj-coff.c:2796 +#: config/obj-coff.c:1064 config/obj-coff.c:2812 msgid ".type pseudo-op used outside of .def/.endef ignored." msgstr "" -#: config/obj-coff.c:1086 config/obj-coff.c:2818 +#: config/obj-coff.c:1086 config/obj-coff.c:2834 msgid ".val pseudo-op used outside of .def/.endef ignored." msgstr "" -#: config/obj-coff.c:1231 config/obj-coff.c:3013 +#: config/obj-coff.c:1231 config/obj-coff.c:3029 msgid "mismatched .eb" msgstr "" -#: config/obj-coff.c:1252 config/obj-coff.c:3053 +#: config/obj-coff.c:1252 config/obj-coff.c:3069 msgid "C_EFCN symbol out of scope" msgstr "" @@ -552,12 +552,12 @@ msgstr "" msgid "unsupported section attribute '%c'" msgstr "" -#: config/obj-coff.c:1481 config/obj-coff.c:3758 config/tc-ppc.c:4211 +#: config/obj-coff.c:1481 config/obj-coff.c:3774 config/tc-ppc.c:4211 #, c-format msgid "unknown section attribute '%c'" msgstr "" -#: config/obj-coff.c:1511 config/tc-ppc.c:4229 config/tc-tic54x.c:4130 +#: config/obj-coff.c:1511 config/tc-ppc.c:4229 config/tc-tic54x.c:4133 #: read.c:2555 #, c-format msgid "error setting flags for \"%s\": %s" @@ -577,62 +577,62 @@ msgstr "" msgid "Out of step\n" msgstr "" -#: config/obj-coff.c:2271 +#: config/obj-coff.c:2287 msgid "bfd_coff_swap_scnhdr_out failed" msgstr "" -#: config/obj-coff.c:2496 +#: config/obj-coff.c:2512 msgid "`.bf' symbol without preceding function\n" msgstr "" -#: config/obj-coff.c:3450 config/obj-ieee.c:507 +#: config/obj-coff.c:3466 config/obj-ieee.c:507 #, c-format msgid "FATAL: Can't create %s" msgstr "" -#: config/obj-coff.c:3632 +#: config/obj-coff.c:3648 #, c-format msgid "Can't close %s: %s" msgstr "" -#: config/obj-coff.c:3666 +#: config/obj-coff.c:3682 #, c-format msgid "Too many new sections; can't add \"%s\"" msgstr "" -#: config/obj-coff.c:4073 config/tc-sparc.c:3537 +#: config/obj-coff.c:4089 config/tc-sparc.c:3537 msgid "Expected comma after name" msgstr "" -#: config/obj-coff.c:4079 +#: config/obj-coff.c:4095 msgid "Missing size expression" msgstr "" -#: config/obj-coff.c:4085 +#: config/obj-coff.c:4101 #, c-format msgid "lcomm length (%d.) <0! Ignored." msgstr "" -#: config/obj-coff.c:4113 +#: config/obj-coff.c:4129 #, c-format msgid "Symbol %s already defined" msgstr "" -#: config/obj-coff.c:4208 config/tc-i960.c:3206 +#: config/obj-coff.c:4224 config/tc-i960.c:3206 #, c-format msgid "No 'bal' entry point for leafproc %s" msgstr "" -#: config/obj-coff.c:4287 +#: config/obj-coff.c:4303 #, c-format msgid "Negative of non-absolute symbol %s" msgstr "" -#: config/obj-coff.c:4308 +#: config/obj-coff.c:4324 msgid "callj to difference of 2 symbols" msgstr "" -#: config/obj-coff.c:4354 +#: config/obj-coff.c:4370 #, c-format msgid "Can't emit reloc {- %s-seg symbol \"%s\"} @ file address %ld." msgstr "" @@ -640,16 +640,16 @@ msgstr "" #. This is a COBR instruction. They have only a 13-bit #. displacement and are only to be used for local branches: #. flag as error, don't generate relocation. -#: config/obj-coff.c:4443 config/tc-i960.c:3226 write.c:2826 +#: config/obj-coff.c:4459 config/tc-i960.c:3226 write.c:2826 msgid "can't use COBR format with external label" msgstr "" -#: config/obj-coff.c:4518 +#: config/obj-coff.c:4534 #, c-format msgid "Value of %ld too large for field of %d bytes at 0x%lx" msgstr "" -#: config/obj-coff.c:4532 +#: config/obj-coff.c:4548 #, c-format msgid "Signed .word overflow; switch may be too large; %ld at 0x%lx" msgstr "" @@ -690,7 +690,7 @@ msgstr "" msgid "common alignment not a power of 2" msgstr "" -#: config/obj-elf.c:438 config/tc-sparc.c:3832 config/tc-v850.c:565 +#: config/obj-elf.c:438 config/tc-sparc.c:3832 config/tc-v850.c:450 #, c-format msgid "bad .common segment %s" msgstr "" @@ -817,17 +817,17 @@ msgstr "" msgid "can't create group: %s" msgstr "" -#: config/obj-elf.c:2068 +#: config/obj-elf.c:2076 #, c-format msgid "failed to set up debugging information: %s" msgstr "" -#: config/obj-elf.c:2088 +#: config/obj-elf.c:2096 #, c-format msgid "can't start writing .mdebug section: %s" msgstr "" -#: config/obj-elf.c:2096 +#: config/obj-elf.c:2104 #, c-format msgid "could not write .mdebug section: %s" msgstr "" @@ -1011,15 +1011,16 @@ msgstr "" #. Probably a memory allocation problem? Give up now. #: config/tc-a29k.c:330 config/tc-hppa.c:1462 config/tc-mips.c:1251 -#: config/tc-mips.c:1293 config/tc-sparc.c:847 +#: config/tc-mips.c:1293 config/tc-or32.c:230 config/tc-sparc.c:847 msgid "Broken assembler. No assembly attempted." msgstr "" #: config/tc-a29k.c:375 config/tc-avr.c:1131 config/tc-d10v.c:540 #: config/tc-d30v.c:552 config/tc-h8300.c:313 config/tc-h8500.c:284 -#: config/tc-mcore.c:655 config/tc-mmix.c:468 config/tc-mn10200.c:940 -#: config/tc-mn10300.c:1311 config/tc-ppc.c:2106 config/tc-s390.c:1054 -#: config/tc-sh.c:869 config/tc-tic80.c:283 config/tc-v850.c:2073 +#: config/tc-mcore.c:655 config/tc-mmix.c:475 config/tc-mn10200.c:940 +#: config/tc-mn10300.c:1311 config/tc-or32.c:336 config/tc-or32.c:392 +#: config/tc-ppc.c:2106 config/tc-s390.c:1054 config/tc-sh.c:1287 +#: config/tc-sh64.c:2228 config/tc-tic80.c:283 config/tc-v850.c:1984 #: config/tc-w65.c:241 config/tc-z8k.c:343 msgid "missing operand" msgstr "" @@ -1051,7 +1052,7 @@ msgstr "" msgid "failed sanity check." msgstr "" -#: config/tc-a29k.c:889 +#: config/tc-a29k.c:889 config/tc-or32.c:1046 config/tc-or32.c:1180 #, c-format msgid "bad relocation type: 0x%02x" msgstr "" @@ -1069,12 +1070,12 @@ msgstr "" msgid "a29k_estimate_size_before_relax\n" msgstr "" -#: config/tc-a29k.c:1092 +#: config/tc-a29k.c:1092 config/tc-or32.c:1375 #, c-format msgid "label \"$%d\" redefined" msgstr "" -#: config/tc-a29k.c:1165 +#: config/tc-a29k.c:1165 config/tc-or32.c:1470 #, c-format msgid "Invalid expression after %%%%\n" msgstr "" @@ -1097,10 +1098,10 @@ msgstr "" msgid "syntax error" msgstr "" -#: config/tc-alpha.c:980 config/tc-h8300.c:1413 config/tc-h8500.c:1187 +#: config/tc-alpha.c:980 config/tc-h8300.c:1421 config/tc-h8500.c:1187 #: config/tc-hppa.c:4017 config/tc-i860.c:931 config/tc-m68hc11.c:500 #: config/tc-m68k.c:4201 config/tc-m88k.c:1011 config/tc-ns32k.c:1663 -#: config/tc-sparc.c:2831 config/tc-z8k.c:1321 +#: config/tc-or32.c:912 config/tc-sparc.c:2831 config/tc-z8k.c:1321 msgid "Bad call to MD_ATOF()" msgstr "" @@ -1212,8 +1213,8 @@ msgstr "" #: config/tc-alpha.c:2338 config/tc-alpha.c:2362 config/tc-d10v.c:629 #: config/tc-d30v.c:640 config/tc-mn10200.c:995 config/tc-mn10300.c:1382 #: config/tc-ppc.c:2072 config/tc-ppc.c:2256 config/tc-ppc.c:2268 -#: config/tc-s390.c:1064 config/tc-s390.c:1121 config/tc-v850.c:1853 -#: config/tc-v850.c:1876 config/tc-v850.c:2096 +#: config/tc-s390.c:1064 config/tc-s390.c:1121 config/tc-v850.c:1764 +#: config/tc-v850.c:1787 config/tc-v850.c:2007 msgid "too many fixups" msgstr "" @@ -1294,7 +1295,7 @@ msgstr "" msgid ".COMMon length (%ld.) <0! Ignored." msgstr "" -#: config/tc-alpha.c:4071 config/tc-sparc.c:3700 config/tc-v850.c:283 +#: config/tc-alpha.c:4071 config/tc-sparc.c:3700 config/tc-v850.c:254 msgid "Ignoring attempt to re-define symbol" msgstr "" @@ -1432,7 +1433,7 @@ msgstr "" msgid "Bad .section directive: want a,s,w,x,M,S in string" msgstr "" -#: config/tc-arc.c:1616 config/tc-arm.c:10246 +#: config/tc-arc.c:1616 config/tc-arm.c:10344 msgid "md_estimate_size_before_relax\n" msgstr "" @@ -1440,764 +1441,1060 @@ msgstr "" msgid "md_convert_frag\n" msgstr "" -#: config/tc-arm.c:664 +#: config/tc-arm.c:681 msgid "ARM register expected" msgstr "" -#: config/tc-arm.c:665 config/tc-arm.c:2814 +#: config/tc-arm.c:682 config/tc-arm.c:2843 msgid "bad or missing co-processor number" msgstr "" #. In the few cases where we might be able to accept something else #. this error can be overridden. -#: config/tc-arm.c:666 config/tc-arm.c:2869 +#: config/tc-arm.c:683 config/tc-arm.c:2898 msgid "co-processor register expected" msgstr "" -#: config/tc-arm.c:667 +#: config/tc-arm.c:684 msgid "FPA register expected" msgstr "" -#: config/tc-arm.c:668 +#: config/tc-arm.c:685 msgid "VFP single precision register expected" msgstr "" -#: config/tc-arm.c:669 +#: config/tc-arm.c:686 msgid "VFP double precision register expected" msgstr "" -#: config/tc-arm.c:670 +#: config/tc-arm.c:687 msgid "Maverick MVF register expected" msgstr "" -#: config/tc-arm.c:671 +#: config/tc-arm.c:688 msgid "Maverick MVD register expected" msgstr "" -#: config/tc-arm.c:672 config/tc-arm.c:673 +#: config/tc-arm.c:689 config/tc-arm.c:690 msgid "Maverick MVFX register expected" msgstr "" -#: config/tc-arm.c:674 +#: config/tc-arm.c:691 msgid "Maverick MVAX register expected" msgstr "" -#: config/tc-arm.c:675 +#: config/tc-arm.c:692 msgid "Maverick DSPSC register expected" msgstr "" -#: config/tc-arm.c:2013 +#: config/tc-arm.c:2036 msgid "bad arguments to instruction" msgstr "" -#: config/tc-arm.c:2014 +#: config/tc-arm.c:2037 msgid "r15 not allowed here" msgstr "" -#: config/tc-arm.c:2015 +#: config/tc-arm.c:2038 msgid "instruction is not conditional" msgstr "" -#: config/tc-arm.c:2016 +#: config/tc-arm.c:2039 msgid "acc0 expected" msgstr "" -#: config/tc-arm.c:2155 +#: config/tc-arm.c:2184 msgid "literal pool overflow" msgstr "" -#: config/tc-arm.c:2297 +#: config/tc-arm.c:2326 msgid "invalid syntax for .req directive" msgstr "" -#: config/tc-arm.c:2372 +#: config/tc-arm.c:2401 #, c-format msgid "alignment too large: %d assumed" msgstr "" -#: config/tc-arm.c:2375 +#: config/tc-arm.c:2404 msgid "alignment negative. 0 assumed." msgstr "" -#: config/tc-arm.c:2459 +#: config/tc-arm.c:2488 #, c-format msgid "expected comma after name \"%s\"" msgstr "" -#: config/tc-arm.c:2509 config/tc-m32r.c:418 +#: config/tc-arm.c:2538 config/tc-m32r.c:418 #, c-format msgid "symbol `%s' already defined" msgstr "" -#: config/tc-arm.c:2580 +#: config/tc-arm.c:2609 msgid "selected processor does not support THUMB opcodes" msgstr "" -#: config/tc-arm.c:2593 +#: config/tc-arm.c:2622 msgid "selected processor does not support ARM opcodes" msgstr "" -#: config/tc-arm.c:2605 +#: config/tc-arm.c:2634 #, c-format msgid "invalid instruction size selected (%d)" msgstr "" -#: config/tc-arm.c:2640 +#: config/tc-arm.c:2669 #, c-format msgid "invalid operand to .code directive (%d) (expecting 16 or 32)" msgstr "" -#: config/tc-arm.c:2651 +#: config/tc-arm.c:2680 msgid "garbage following instruction" msgstr "" #. In the few cases where we might be able to accept something else #. this error can be overridden. -#: config/tc-arm.c:2701 +#: config/tc-arm.c:2730 #, c-format msgid "register expected, not '%.100s'" msgstr "" #. In the few cases where we might be able to accept #. something else this error can be overridden. -#: config/tc-arm.c:2773 +#: config/tc-arm.c:2802 msgid "flag for {c}psr instruction expected" msgstr "" -#: config/tc-arm.c:2807 +#: config/tc-arm.c:2836 msgid "illegal co-processor number" msgstr "" -#: config/tc-arm.c:2839 config/tc-arm.c:3877 config/tc-arm.c:4059 +#: config/tc-arm.c:2868 config/tc-arm.c:3928 config/tc-arm.c:4110 msgid "bad or missing expression" msgstr "" -#: config/tc-arm.c:2845 +#: config/tc-arm.c:2874 msgid "immediate co-processor expression too large" msgstr "" #. In the few cases where we might be able to accept something else #. this error can be overridden. -#: config/tc-arm.c:2892 +#: config/tc-arm.c:2921 msgid "floating point register expected" msgstr "" -#: config/tc-arm.c:2909 +#: config/tc-arm.c:2938 msgid "immediate expression expected" msgstr "" -#: config/tc-arm.c:2924 +#: config/tc-arm.c:2953 msgid "co-processor address must be word aligned" msgstr "" -#: config/tc-arm.c:2930 +#: config/tc-arm.c:2959 msgid "offset too large" msgstr "" -#: config/tc-arm.c:2979 +#: config/tc-arm.c:3008 msgid "pc may not be used in post-increment" msgstr "" -#: config/tc-arm.c:2995 config/tc-arm.c:3440 config/tc-arm.c:4228 -#: config/tc-arm.c:5095 config/tc-arm.c:5429 +#: config/tc-arm.c:3024 config/tc-arm.c:3469 config/tc-arm.c:4279 +#: config/tc-arm.c:5146 config/tc-arm.c:5480 msgid "pre-indexed expression expected" msgstr "" -#: config/tc-arm.c:3008 config/tc-arm.c:3453 config/tc-arm.c:4239 -#: config/tc-arm.c:5107 config/tc-arm.c:5441 config/tc-arm.c:5790 -#: config/tc-arm.c:8452 config/tc-arm.c:8467 +#: config/tc-arm.c:3037 config/tc-arm.c:3482 config/tc-arm.c:4290 +#: config/tc-arm.c:5158 config/tc-arm.c:5492 config/tc-arm.c:5841 +#: config/tc-arm.c:8503 config/tc-arm.c:8518 msgid "missing ]" msgstr "" -#: config/tc-arm.c:3018 +#: config/tc-arm.c:3047 msgid "pc may not be used with write-back" msgstr "" -#: config/tc-arm.c:3070 +#: config/tc-arm.c:3099 msgid "comma expected after register name" msgstr "" -#: config/tc-arm.c:3089 +#: config/tc-arm.c:3118 msgid "CPSR or SPSR expected" msgstr "" -#: config/tc-arm.c:3115 +#: config/tc-arm.c:3144 msgid "comma missing after psr flags" msgstr "" -#: config/tc-arm.c:3131 config/tc-arm.c:3141 +#: config/tc-arm.c:3160 config/tc-arm.c:3170 msgid "only a register or immediate value can follow a psr flag" msgstr "" -#: config/tc-arm.c:3152 +#: config/tc-arm.c:3181 msgid "immediate value cannot be used to set this field" msgstr "" -#: config/tc-arm.c:3170 config/tc-arm.c:4455 config/tc-arm.c:4735 -#: config/tc-arm.c:4755 config/tc-i960.c:1924 +#: config/tc-arm.c:3199 config/tc-arm.c:4506 config/tc-arm.c:4786 +#: config/tc-arm.c:4806 config/tc-i960.c:1924 msgid "invalid constant" msgstr "" -#: config/tc-arm.c:3218 +#: config/tc-arm.c:3247 msgid "rdhi, rdlo and rm must all be different" msgstr "" -#: config/tc-arm.c:3272 +#: config/tc-arm.c:3301 msgid "rd and rm should be different in mul" msgstr "" -#: config/tc-arm.c:3326 +#: config/tc-arm.c:3355 msgid "rd and rm should be different in mla" msgstr "" -#: config/tc-arm.c:3374 +#: config/tc-arm.c:3403 #, c-format msgid "acc0 expected, not '%.100s'" msgstr "" -#: config/tc-arm.c:3552 +#: config/tc-arm.c:3581 msgid "rdhi and rdlo must be different" msgstr "" -#: config/tc-arm.c:3660 +#: config/tc-arm.c:3689 msgid "Warning: instruction unpredictable when using r15" msgstr "" -#: config/tc-arm.c:3886 config/tc-arm.c:4068 config/tc-arm.c:7395 -#: config/tc-arm.c:7428 config/tc-arm.c:7438 +#: config/tc-arm.c:3904 +msgid "use of r15 in bxj is not really useful" +msgstr "" + +#: config/tc-arm.c:3937 config/tc-arm.c:4119 config/tc-arm.c:7446 +#: config/tc-arm.c:7479 config/tc-arm.c:7489 msgid "immediate value out of range" msgstr "" -#: config/tc-arm.c:4191 +#: config/tc-arm.c:4242 msgid "'[' expected after PLD mnemonic" msgstr "" -#: config/tc-arm.c:4213 +#: config/tc-arm.c:4264 msgid "post-indexed expression used in preload instruction" msgstr "" -#: config/tc-arm.c:4218 config/tc-arm.c:4248 +#: config/tc-arm.c:4269 config/tc-arm.c:4299 msgid "writeback used in preload instruction" msgstr "" -#: config/tc-arm.c:4290 +#: config/tc-arm.c:4341 msgid "destination register must be even" msgstr "" -#: config/tc-arm.c:4296 +#: config/tc-arm.c:4347 msgid "r14 not allowed here" msgstr "" -#: config/tc-arm.c:4303 +#: config/tc-arm.c:4354 msgid "pre/post-indexing used when modified address register is destination" msgstr "" -#: config/tc-arm.c:4313 +#: config/tc-arm.c:4364 msgid "ldrd destination registers must not overlap index register" msgstr "" -#: config/tc-arm.c:4439 +#: config/tc-arm.c:4490 msgid "bad_segment" msgstr "" -#: config/tc-arm.c:4476 expr.c:1314 read.c:2198 +#: config/tc-arm.c:4527 expr.c:1314 read.c:2198 msgid "bad expression" msgstr "" -#: config/tc-arm.c:4499 config/tc-arm.c:4510 +#: config/tc-arm.c:4550 config/tc-arm.c:4561 msgid "shift expression expected" msgstr "" -#: config/tc-arm.c:4534 +#: config/tc-arm.c:4585 msgid "shift requires register or #expression" msgstr "" -#: config/tc-arm.c:4535 +#: config/tc-arm.c:4586 msgid "shift requires #expression" msgstr "" -#: config/tc-arm.c:4565 +#: config/tc-arm.c:4616 msgid "shift of 0 ignored." msgstr "" -#: config/tc-arm.c:4571 +#: config/tc-arm.c:4622 msgid "invalid immediate shift" msgstr "" -#: config/tc-arm.c:4726 config/tc-arm.c:5143 config/tc-arm.c:5478 -#: config/tc-arm.c:6087 config/tc-v850.c:1956 config/tc-v850.c:1977 +#: config/tc-arm.c:4777 config/tc-arm.c:5194 config/tc-arm.c:5529 +#: config/tc-arm.c:6138 config/tc-v850.c:1867 config/tc-v850.c:1888 msgid "constant expression expected" msgstr "" -#: config/tc-arm.c:4768 +#: config/tc-arm.c:4819 msgid "register or shift expression expected" msgstr "" -#: config/tc-arm.c:4821 +#: config/tc-arm.c:4872 msgid "invalid floating point immediate expression" msgstr "" -#: config/tc-arm.c:4825 +#: config/tc-arm.c:4876 msgid "floating point register or immediate expression expected" msgstr "" -#: config/tc-arm.c:4979 config/tc-arm.c:5309 +#: config/tc-arm.c:5030 config/tc-arm.c:5360 msgid "address offset too large" msgstr "" -#: config/tc-arm.c:5037 config/tc-arm.c:5227 config/tc-arm.c:5369 +#: config/tc-arm.c:5088 config/tc-arm.c:5278 config/tc-arm.c:5420 msgid "address expected" msgstr "" -#: config/tc-arm.c:5067 config/tc-arm.c:5079 config/tc-arm.c:5116 -#: config/tc-arm.c:5245 config/tc-arm.c:5399 config/tc-arm.c:5413 -#: config/tc-arm.c:5450 +#: config/tc-arm.c:5118 config/tc-arm.c:5130 config/tc-arm.c:5167 +#: config/tc-arm.c:5296 config/tc-arm.c:5450 config/tc-arm.c:5464 +#: config/tc-arm.c:5501 #, c-format msgid "%s register same as write-back base" msgstr "" -#: config/tc-arm.c:5069 config/tc-arm.c:5081 config/tc-arm.c:5118 -#: config/tc-arm.c:5247 config/tc-arm.c:5401 config/tc-arm.c:5415 -#: config/tc-arm.c:5452 +#: config/tc-arm.c:5120 config/tc-arm.c:5132 config/tc-arm.c:5169 +#: config/tc-arm.c:5298 config/tc-arm.c:5452 config/tc-arm.c:5466 +#: config/tc-arm.c:5503 msgid "destination" msgstr "" -#: config/tc-arm.c:5069 config/tc-arm.c:5081 config/tc-arm.c:5118 -#: config/tc-arm.c:5247 config/tc-arm.c:5401 config/tc-arm.c:5415 -#: config/tc-arm.c:5452 +#: config/tc-arm.c:5120 config/tc-arm.c:5132 config/tc-arm.c:5169 +#: config/tc-arm.c:5298 config/tc-arm.c:5452 config/tc-arm.c:5466 +#: config/tc-arm.c:5503 msgid "source" msgstr "" -#: config/tc-arm.c:5128 config/tc-arm.c:5462 config/tc-arm.c:7699 +#: config/tc-arm.c:5179 config/tc-arm.c:5513 config/tc-arm.c:7750 msgid "invalid pseudo operation" msgstr "" -#: config/tc-arm.c:5180 config/tc-arm.c:5513 +#: config/tc-arm.c:5231 config/tc-arm.c:5564 msgid "literal pool insertion failed" msgstr "" -#: config/tc-arm.c:5275 config/tc-arm.c:5281 +#: config/tc-arm.c:5326 config/tc-arm.c:5332 msgid "post-indexed expression expected" msgstr "" -#: config/tc-arm.c:5579 +#: config/tc-arm.c:5630 msgid "bad range in register list" msgstr "" -#: config/tc-arm.c:5587 config/tc-arm.c:5596 config/tc-arm.c:5638 +#: config/tc-arm.c:5638 config/tc-arm.c:5647 config/tc-arm.c:5689 #, c-format msgid "Warning: duplicated register (r%d) in register list" msgstr "" -#: config/tc-arm.c:5599 +#: config/tc-arm.c:5650 msgid "Warning: register range not in ascending order" msgstr "" -#: config/tc-arm.c:5611 +#: config/tc-arm.c:5662 msgid "missing `}'" msgstr "" -#: config/tc-arm.c:5627 +#: config/tc-arm.c:5678 msgid "invalid register mask" msgstr "" -#: config/tc-arm.c:5648 config/tc-arm.c:8709 config/tc-arm.c:8809 +#: config/tc-arm.c:5699 config/tc-arm.c:8760 config/tc-arm.c:8860 #: config/tc-avr.c:860 config/tc-cris.c:3006 config/tc-d10v.c:1563 #: config/tc-d30v.c:1863 config/tc-mips.c:3641 config/tc-mips.c:4630 #: config/tc-mips.c:5486 config/tc-mips.c:6091 config/tc-ppc.c:5143 -#: config/tc-v850.c:2376 +#: config/tc-v850.c:2287 config/tc-xstormy16.c:479 msgid "expression too complex" msgstr "" -#: config/tc-arm.c:5686 +#: config/tc-arm.c:5737 msgid "r15 not allowed as base register" msgstr "" -#: config/tc-arm.c:5750 config/tc-arm.c:5764 +#: config/tc-arm.c:5801 config/tc-arm.c:5815 msgid "r15 not allowed in swap" msgstr "" -#: config/tc-arm.c:5859 +#: config/tc-arm.c:5910 msgid "use of r15 in bx in ARM mode is not really useful" msgstr "" -#: config/tc-arm.c:6093 +#: config/tc-arm.c:6144 msgid "constant value required for number of registers" msgstr "" -#: config/tc-arm.c:6101 +#: config/tc-arm.c:6152 msgid "number of registers must be in the range [1:4]" msgstr "" -#: config/tc-arm.c:6162 +#: config/tc-arm.c:6213 msgid "r15 not allowed as base register with write-back" msgstr "" -#: config/tc-arm.c:6544 +#: config/tc-arm.c:6595 msgid "only two consecutive VFP SP registers allowed here" msgstr "" -#: config/tc-arm.c:6712 +#: config/tc-arm.c:6763 msgid "VFP system register expected" msgstr "" -#: config/tc-arm.c:6850 config/tc-arm.c:6889 config/tc-arm.c:6902 -#: config/tc-arm.c:6963 config/tc-arm.c:7002 config/tc-arm.c:7015 +#: config/tc-arm.c:6901 config/tc-arm.c:6940 config/tc-arm.c:6953 +#: config/tc-arm.c:7014 config/tc-arm.c:7053 config/tc-arm.c:7066 #: config/tc-mips.c:9060 config/tc-mips.c:9090 msgid "invalid register list" msgstr "" -#: config/tc-arm.c:6856 config/tc-arm.c:6969 +#: config/tc-arm.c:6907 config/tc-arm.c:7020 msgid "register list not in ascending order" msgstr "" -#: config/tc-arm.c:6881 config/tc-arm.c:6994 +#: config/tc-arm.c:6932 config/tc-arm.c:7045 msgid "register range not in ascending order" msgstr "" -#: config/tc-arm.c:6919 config/tc-arm.c:7032 +#: config/tc-arm.c:6970 config/tc-arm.c:7083 msgid "non-contiguous register range" msgstr "" -#: config/tc-arm.c:7062 config/tc-arm.c:7099 +#: config/tc-arm.c:7113 config/tc-arm.c:7150 msgid "this addressing mode requires base-register writeback" msgstr "" -#: config/tc-arm.c:7259 +#: config/tc-arm.c:7310 msgid "lo register required" msgstr "" -#: config/tc-arm.c:7267 +#: config/tc-arm.c:7318 msgid "hi register required" msgstr "" -#: config/tc-arm.c:7337 config/tc-arm.c:8541 +#: config/tc-arm.c:7388 config/tc-arm.c:8592 msgid "dest and source1 must be the same register" msgstr "" -#: config/tc-arm.c:7344 +#: config/tc-arm.c:7395 msgid "subtract valid only on lo regs" msgstr "" -#: config/tc-arm.c:7368 +#: config/tc-arm.c:7419 msgid "invalid Hi register with immediate" msgstr "" -#: config/tc-arm.c:7406 +#: config/tc-arm.c:7457 msgid "invalid immediate value for stack adjust" msgstr "" -#: config/tc-arm.c:7417 +#: config/tc-arm.c:7468 msgid "invalid immediate for address calculation" msgstr "" -#: config/tc-arm.c:7504 +#: config/tc-arm.c:7555 msgid "source1 and dest must be same register" msgstr "" -#: config/tc-arm.c:7538 +#: config/tc-arm.c:7589 msgid "invalid immediate for shift" msgstr "" -#: config/tc-arm.c:7617 +#: config/tc-arm.c:7668 msgid "only lo regs allowed with immediate" msgstr "" -#: config/tc-arm.c:7636 +#: config/tc-arm.c:7687 msgid "invalid immediate" msgstr "" -#: config/tc-arm.c:7690 +#: config/tc-arm.c:7741 msgid "expected ']'" msgstr "" -#: config/tc-arm.c:7763 +#: config/tc-arm.c:7814 msgid "byte or halfword not valid for base register" msgstr "" -#: config/tc-arm.c:7768 +#: config/tc-arm.c:7819 msgid "r15 based store not allowed" msgstr "" -#: config/tc-arm.c:7773 +#: config/tc-arm.c:7824 msgid "invalid base register for register offset" msgstr "" -#: config/tc-arm.c:7791 config/tc-arm.c:7826 +#: config/tc-arm.c:7842 config/tc-arm.c:7877 msgid "invalid offset" msgstr "" -#: config/tc-arm.c:7802 +#: config/tc-arm.c:7853 msgid "invalid base register in load/store" msgstr "" -#: config/tc-arm.c:8345 +#: config/tc-arm.c:8396 msgid "expecting immediate, 7bit operand" msgstr "" -#: config/tc-arm.c:8360 +#: config/tc-arm.c:8411 msgid "immediate out of range" msgstr "" -#: config/tc-arm.c:8403 +#: config/tc-arm.c:8454 msgid "offset expected" msgstr "" -#: config/tc-arm.c:8412 config/tc-pj.c:528 config/tc-sh.c:3030 +#: config/tc-arm.c:8463 config/tc-pj.c:528 config/tc-sh.c:3573 msgid "offset out of range" msgstr "" -#: config/tc-arm.c:8549 +#: config/tc-arm.c:8600 msgid "Rs and Rd must be different in MUL" msgstr "" -#: config/tc-arm.c:8693 +#: config/tc-arm.c:8744 msgid "" "inserted missing '!': load/store multiple always writes back base register" msgstr "" -#: config/tc-arm.c:8715 +#: config/tc-arm.c:8766 msgid "only lo-regs valid in load/store multiple" msgstr "" -#: config/tc-arm.c:8761 +#: config/tc-arm.c:8812 msgid "syntax: ldrs[b] Rd, [Rb, Ro]" msgstr "" -#: config/tc-arm.c:8825 +#: config/tc-arm.c:8876 msgid "invalid register list to push/pop instruction" msgstr "" -#: config/tc-arm.c:8937 config/tc-arm.c:9115 +#: config/tc-arm.c:8988 config/tc-arm.c:9166 msgid "virtual memory exhausted" msgstr "" -#: config/tc-arm.c:9018 +#: config/tc-arm.c:9069 #, c-format msgid "register '%s' does not exist\n" msgstr "" -#: config/tc-arm.c:9022 +#: config/tc-arm.c:9073 #, c-format msgid "" "ignoring redefinition of register alias '%s' to non-existant register '%s'" msgstr "" -#: config/tc-arm.c:9031 +#: config/tc-arm.c:9082 #, c-format msgid "ignoring redefinition of register alias '%s'" msgstr "" -#: config/tc-arm.c:9037 +#: config/tc-arm.c:9088 msgid "ignoring incomplete .req pseuso op" msgstr "" -#: config/tc-arm.c:9312 +#: config/tc-arm.c:9190 +msgid "use of old and new-style options to set CPU type" +msgstr "" + +#: config/tc-arm.c:9200 +msgid "use of old and new-style options to set FPU type" +msgstr "" + +#: config/tc-arm.c:9410 msgid "bad call to MD_ATOF()" msgstr "" -#: config/tc-arm.c:9542 +#: config/tc-arm.c:9640 #, c-format msgid "invalid constant (%lx) after fixup" msgstr "" -#: config/tc-arm.c:9578 +#: config/tc-arm.c:9676 #, c-format msgid "unable to compute ADRL instructions for PC offset of 0x%lx" msgstr "" -#: config/tc-arm.c:9608 +#: config/tc-arm.c:9706 #, c-format msgid "bad immediate value for offset (%ld)" msgstr "" -#: config/tc-arm.c:9630 config/tc-arm.c:9652 +#: config/tc-arm.c:9728 config/tc-arm.c:9750 msgid "invalid literal constant: pool needs to be closer" msgstr "" -#: config/tc-arm.c:9632 +#: config/tc-arm.c:9730 #, c-format msgid "bad immediate value for half-word offset (%ld)" msgstr "" -#: config/tc-arm.c:9669 +#: config/tc-arm.c:9767 msgid "shift expression is too large" msgstr "" -#: config/tc-arm.c:9688 config/tc-arm.c:9697 +#: config/tc-arm.c:9786 config/tc-arm.c:9795 msgid "invalid swi expression" msgstr "" -#: config/tc-arm.c:9707 +#: config/tc-arm.c:9805 msgid "invalid expression in load/store multiple" msgstr "" -#: config/tc-arm.c:9760 +#: config/tc-arm.c:9858 msgid "GAS can't handle same-section branch dest >= 0x04000000" msgstr "" -#: config/tc-arm.c:9769 +#: config/tc-arm.c:9867 msgid "out of range branch" msgstr "" -#: config/tc-arm.c:9802 config/tc-arm.c:9818 +#: config/tc-arm.c:9900 config/tc-arm.c:9916 msgid "branch out of range" msgstr "" -#: config/tc-arm.c:9841 +#: config/tc-arm.c:9939 msgid "branch with link out of range" msgstr "" -#: config/tc-arm.c:9917 +#: config/tc-arm.c:10015 msgid "illegal value for co-processor offset" msgstr "" -#: config/tc-arm.c:9941 +#: config/tc-arm.c:10039 #, c-format msgid "invalid offset, target not word aligned (0x%08X)" msgstr "" -#: config/tc-arm.c:9947 config/tc-arm.c:9956 config/tc-arm.c:9963 -#: config/tc-arm.c:9970 config/tc-arm.c:9977 +#: config/tc-arm.c:10045 config/tc-arm.c:10054 config/tc-arm.c:10061 +#: config/tc-arm.c:10068 config/tc-arm.c:10075 #, c-format msgid "invalid offset, value too big (0x%08lX)" msgstr "" -#: config/tc-arm.c:10016 +#: config/tc-arm.c:10114 msgid "invalid immediate for stack address calculation" msgstr "" -#: config/tc-arm.c:10025 +#: config/tc-arm.c:10123 #, c-format msgid "invalid immediate for address calculation (value = 0x%08lX)" msgstr "" -#: config/tc-arm.c:10035 +#: config/tc-arm.c:10133 msgid "invalid 8bit immediate" msgstr "" -#: config/tc-arm.c:10043 +#: config/tc-arm.c:10141 msgid "invalid 3bit immediate" msgstr "" -#: config/tc-arm.c:10059 +#: config/tc-arm.c:10157 #, c-format msgid "invalid immediate: %ld is too large" msgstr "" -#: config/tc-arm.c:10074 +#: config/tc-arm.c:10172 #, c-format msgid "illegal Thumb shift value: %ld" msgstr "" -#: config/tc-arm.c:10088 +#: config/tc-arm.c:10186 #, c-format msgid "bad relocation fixup type (%d)" msgstr "" -#: config/tc-arm.c:10159 +#: config/tc-arm.c:10257 msgid "literal referenced across section boundary (Implicit dump?)" msgstr "" -#: config/tc-arm.c:10172 +#: config/tc-arm.c:10270 #, c-format msgid "internal relocation (type %d) not fixed up (IMMEDIATE)" msgstr "" -#: config/tc-arm.c:10178 +#: config/tc-arm.c:10276 msgid "ADRL used for a symbol not defined in the same file" msgstr "" -#: config/tc-arm.c:10183 +#: config/tc-arm.c:10281 #, c-format msgid "internal_relocation (type %d) not fixed up (OFFSET_IMM)" msgstr "" -#: config/tc-arm.c:10204 config/tc-cris.c:2940 config/tc-mcore.c:2104 -#: config/tc-mmix.c:2840 config/tc-ns32k.c:2350 +#: config/tc-arm.c:10302 config/tc-cris.c:2940 config/tc-mcore.c:2104 +#: config/tc-mmix.c:2868 config/tc-ns32k.c:2350 msgid "<unknown>" msgstr "" -#: config/tc-arm.c:10207 config/tc-arm.c:10228 +#: config/tc-arm.c:10305 config/tc-arm.c:10326 #, c-format msgid "cannot represent %s relocation in this object file format" msgstr "" -#: config/tc-arm.c:10325 +#: config/tc-arm.c:10423 #, c-format msgid "no operator -- statement `%s'\n" msgstr "" -#: config/tc-arm.c:10343 config/tc-arm.c:10368 +#: config/tc-arm.c:10441 config/tc-arm.c:10466 #, c-format msgid "selected processor does not support `%s'" msgstr "" -#: config/tc-arm.c:10385 +#: config/tc-arm.c:10483 #, c-format msgid "bad instruction `%s'" msgstr "" -#: config/tc-arm.c:10583 +#: config/tc-arm.c:10584 +msgid "generate PIC code" +msgstr "" + +#: config/tc-arm.c:10585 +msgid "assemble Thumb code" +msgstr "" + +#: config/tc-arm.c:10586 +msgid "support ARM/Thumb interworking" +msgstr "" + +#: config/tc-arm.c:10588 +msgid "use old ABI (ELF only)" +msgstr "" + +#: config/tc-arm.c:10589 +msgid "code uses 32-bit program counter" +msgstr "" + +#: config/tc-arm.c:10590 +msgid "code uses 26-bit program counter" +msgstr "" + +#: config/tc-arm.c:10591 +msgid "floating point args are in fp regs" +msgstr "" + +#: config/tc-arm.c:10593 +msgid "re-entrant code" +msgstr "" + +#: config/tc-arm.c:10594 +msgid "code is ATPCS conformant" +msgstr "" + +#: config/tc-arm.c:10595 +msgid "assemble for big-endian" +msgstr "" + +#: config/tc-arm.c:10596 +msgid "assemble for little-endian" +msgstr "" + +#. These are recognized by the assembler, but have no affect on code. +#: config/tc-arm.c:10600 +msgid "use frame pointer" +msgstr "" + +#: config/tc-arm.c:10601 +msgid "use stack size checking" +msgstr "" + +#. DON'T add any new processors to this list -- we want the whole list +#. to go away... Add them to the processors table instead. +#: config/tc-arm.c:10605 config/tc-arm.c:10606 +msgid "use -mcpu=arm1" +msgstr "" + +#: config/tc-arm.c:10607 config/tc-arm.c:10608 +msgid "use -mcpu=arm2" +msgstr "" + +#: config/tc-arm.c:10609 config/tc-arm.c:10610 +msgid "use -mcpu=arm250" +msgstr "" + +#: config/tc-arm.c:10611 config/tc-arm.c:10612 +msgid "use -mcpu=arm3" +msgstr "" + +#: config/tc-arm.c:10613 config/tc-arm.c:10614 +msgid "use -mcpu=arm6" +msgstr "" + +#: config/tc-arm.c:10615 config/tc-arm.c:10616 +msgid "use -mcpu=arm600" +msgstr "" + +#: config/tc-arm.c:10617 config/tc-arm.c:10618 +msgid "use -mcpu=arm610" +msgstr "" + +#: config/tc-arm.c:10619 config/tc-arm.c:10620 +msgid "use -mcpu=arm620" +msgstr "" + +#: config/tc-arm.c:10621 config/tc-arm.c:10622 +msgid "use -mcpu=arm7" +msgstr "" + +#: config/tc-arm.c:10623 config/tc-arm.c:10624 +msgid "use -mcpu=arm70" +msgstr "" + +#: config/tc-arm.c:10625 config/tc-arm.c:10626 +msgid "use -mcpu=arm700" +msgstr "" + +#: config/tc-arm.c:10627 config/tc-arm.c:10628 +msgid "use -mcpu=arm700i" +msgstr "" + +#: config/tc-arm.c:10629 config/tc-arm.c:10630 +msgid "use -mcpu=arm710" +msgstr "" + +#: config/tc-arm.c:10631 config/tc-arm.c:10632 +msgid "use -mcpu=arm710c" +msgstr "" + +#: config/tc-arm.c:10633 config/tc-arm.c:10634 +msgid "use -mcpu=arm720" +msgstr "" + +#: config/tc-arm.c:10635 config/tc-arm.c:10636 +msgid "use -mcpu=arm7d" +msgstr "" + +#: config/tc-arm.c:10637 config/tc-arm.c:10638 +msgid "use -mcpu=arm7di" +msgstr "" + +#: config/tc-arm.c:10639 config/tc-arm.c:10640 +msgid "use -mcpu=arm7m" +msgstr "" + +#: config/tc-arm.c:10641 config/tc-arm.c:10642 +msgid "use -mcpu=arm7dm" +msgstr "" + +#: config/tc-arm.c:10643 config/tc-arm.c:10644 +msgid "use -mcpu=arm7dmi" +msgstr "" + +#: config/tc-arm.c:10645 config/tc-arm.c:10646 +msgid "use -mcpu=arm7100" +msgstr "" + +#: config/tc-arm.c:10647 config/tc-arm.c:10648 +msgid "use -mcpu=arm7500" +msgstr "" + +#: config/tc-arm.c:10649 config/tc-arm.c:10650 +msgid "use -mcpu=arm7500fe" +msgstr "" + +#: config/tc-arm.c:10651 config/tc-arm.c:10652 config/tc-arm.c:10653 +#: config/tc-arm.c:10654 +msgid "use -mcpu=arm7tdmi" +msgstr "" + +#: config/tc-arm.c:10655 config/tc-arm.c:10656 +msgid "use -mcpu=arm710t" +msgstr "" + +#: config/tc-arm.c:10657 config/tc-arm.c:10658 +msgid "use -mcpu=arm720t" +msgstr "" + +#: config/tc-arm.c:10659 config/tc-arm.c:10660 +msgid "use -mcpu=arm740t" +msgstr "" + +#: config/tc-arm.c:10661 config/tc-arm.c:10662 +msgid "use -mcpu=arm8" +msgstr "" + +#: config/tc-arm.c:10663 config/tc-arm.c:10664 +msgid "use -mcpu=arm810" +msgstr "" + +#: config/tc-arm.c:10665 config/tc-arm.c:10666 +msgid "use -mcpu=arm9" +msgstr "" + +#: config/tc-arm.c:10667 config/tc-arm.c:10668 +msgid "use -mcpu=arm9tdmi" +msgstr "" + +#: config/tc-arm.c:10669 config/tc-arm.c:10670 +msgid "use -mcpu=arm920" +msgstr "" + +#: config/tc-arm.c:10671 config/tc-arm.c:10672 +msgid "use -mcpu=arm940" +msgstr "" + +#: config/tc-arm.c:10673 +msgid "use -mcpu=strongarm" +msgstr "" + +#: config/tc-arm.c:10675 +msgid "use -mcpu=strongarm110" +msgstr "" + +#: config/tc-arm.c:10677 +msgid "use -mcpu=strongarm1100" +msgstr "" + +#: config/tc-arm.c:10679 +msgid "use -mcpu=strongarm1110" +msgstr "" + +#: config/tc-arm.c:10680 +msgid "use -mcpu=xscale" +msgstr "" + +#: config/tc-arm.c:10681 +msgid "use -mcpu=all" +msgstr "" + +#. Architecture variants -- don't add any more to this list either. +#: config/tc-arm.c:10684 config/tc-arm.c:10685 +msgid "use -march=armv2" +msgstr "" + +#: config/tc-arm.c:10686 config/tc-arm.c:10687 +msgid "use -march=armv2a" +msgstr "" + +#: config/tc-arm.c:10688 config/tc-arm.c:10689 +msgid "use -march=armv3" +msgstr "" + +#: config/tc-arm.c:10690 config/tc-arm.c:10691 +msgid "use -march=armv3m" +msgstr "" + +#: config/tc-arm.c:10692 config/tc-arm.c:10693 +msgid "use -march=armv4" +msgstr "" + +#: config/tc-arm.c:10694 config/tc-arm.c:10695 +msgid "use -march=armv4t" +msgstr "" + +#: config/tc-arm.c:10696 config/tc-arm.c:10697 +msgid "use -march=armv5" +msgstr "" + +#: config/tc-arm.c:10698 config/tc-arm.c:10699 +msgid "use -march=armv5t" +msgstr "" + +#: config/tc-arm.c:10700 config/tc-arm.c:10701 +msgid "use -march=armv5te" +msgstr "" + +#. Floating point variants -- don't add any more to this list either. +#: config/tc-arm.c:10704 +msgid "use -mfpu=fpe" +msgstr "" + +#: config/tc-arm.c:10705 +msgid "use -mfpu=fpa10" +msgstr "" + +#: config/tc-arm.c:10706 +msgid "use -mfpu=fpa11" +msgstr "" + +#: config/tc-arm.c:10708 +msgid "use either -mfpu=softfpa or -mfpu=softvfp" +msgstr "" + +#: config/tc-arm.c:10888 +msgid "invalid architectural extension" +msgstr "" + +#: config/tc-arm.c:10902 +msgid "missing architectural extension" +msgstr "" + +#: config/tc-arm.c:10915 #, c-format -msgid "unrecognised APCS switch -m%s" +msgid "unknown architectural extnsion `%s'" msgstr "" -#: config/tc-arm.c:10738 config/tc-arm.c:10751 config/tc-arm.c:10764 -#: config/tc-arm.c:10777 config/tc-arm.c:10783 +#: config/tc-arm.c:10940 #, c-format -msgid "invalid architecture variant -m%s" +msgid "missing cpu name `%s'" msgstr "" -#: config/tc-arm.c:10790 +#: config/tc-arm.c:10956 #, c-format -msgid "invalid processor variant -m%s" +msgid "unknown cpu `%s'" msgstr "" -#: config/tc-arm.c:10813 -msgid "" -" ARM Specific Assembler Options:\n" -" -m[arm][<processor name>] select processor variant\n" -" -m[arm]v[2|2a|3|3m|4|4t|5[t][e]] select architecture variant\n" -" -marm9e allow Cirrus/DSP instructions\n" -" -mthumb only allow Thumb instructions\n" -" -mthumb-interwork mark the assembled code as supporting " -"interworking\n" -" -mall allow any instruction\n" -" -mfpa10, -mfpa11 select floating point architecture\n" -" -mfpe-old don't allow floating-point multiple " -"instructions\n" -" -mvfpxd allow vfp single-precision instructions\n" -" -mvfp allow all vfp instructions\n" -" -mno-fpu don't allow any floating-point instructions.\n" -" -k generate PIC code.\n" -msgstr "" - -#: config/tc-arm.c:10828 -msgid "" -" -mapcs-32, -mapcs-26 specify which ARM Procedure Calling Standard to " -"use\n" -" -matpcs use ARM/Thumb Procedure Calling Standard\n" -" -mapcs-float floating point args are passed in FP regs\n" -" -mapcs-reentrant the code is position independent/reentrant\n" +#: config/tc-arm.c:10975 +#, c-format +msgid "missing architecture name `%s'" msgstr "" -#: config/tc-arm.c:10835 -msgid " -moabi support the old ELF ABI\n" +#: config/tc-arm.c:10992 +#, c-format +msgid "unknown architecture `%s'\n" msgstr "" -#: config/tc-arm.c:10839 -msgid "" -" -EB assemble code for a big endian cpu\n" -" -EL assemble code for a little endian cpu\n" +#: config/tc-arm.c:11009 +#, c-format +msgid "unknown floating point format `%s'\n" +msgstr "" + +#: config/tc-arm.c:11015 +msgid "<cpu name>\t assemble for CPU <cpu name>" +msgstr "" + +#: config/tc-arm.c:11017 +msgid "<arch name>\t assemble for architecture <arch name>" msgstr "" -#: config/tc-arm.c:11023 +#: config/tc-arm.c:11019 +msgid "<fpu name>\t assemble for FPU architecture <fpu name>" +msgstr "" + +#: config/tc-arm.c:11061 config/tc-arm.c:11083 +#, c-format +msgid "option `-%c%s' is deprecated: %s" +msgstr "" + +#: config/tc-arm.c:11092 +#, c-format +msgid "unrecognized option `-%c%s'" +msgstr "" + +#: config/tc-arm.c:11106 +msgid " ARM-specific assembler options:\n" +msgstr "" + +#: config/tc-arm.c:11117 +msgid " -EB assemble code for a big-endian cpu\n" +msgstr "" + +#: config/tc-arm.c:11122 +msgid " -EL assemble code for a little-endian cpu\n" +msgstr "" + +#: config/tc-arm.c:11305 #, c-format msgid "%s: unexpected function type: %d" msgstr "" -#: config/tc-arm.c:11389 +#: config/tc-arm.c:11671 msgid "alignments greater than 32 bytes not supported in .text sections." msgstr "" @@ -2242,9 +2539,9 @@ msgid "redefinition of mcu type `%s' to `%s'" msgstr "" #: config/tc-avr.c:384 config/tc-d10v.c:314 config/tc-d30v.c:366 -#: config/tc-mips.c:9586 config/tc-mmix.c:2233 config/tc-mn10200.c:361 -#: config/tc-pj.c:357 config/tc-ppc.c:4803 config/tc-sh.c:2090 -#: config/tc-v850.c:1292 +#: config/tc-mips.c:9586 config/tc-mmix.c:2249 config/tc-mn10200.c:361 +#: config/tc-pj.c:357 config/tc-ppc.c:4803 config/tc-sh.c:2518 +#: config/tc-v850.c:1194 msgid "bad call to md_atof" msgstr "" @@ -2338,15 +2635,15 @@ msgid "only constant expression allowed" msgstr "" #: config/tc-avr.c:1067 config/tc-d10v.c:1498 config/tc-d30v.c:1807 -#: config/tc-mn10200.c:1240 config/tc-mn10300.c:1774 config/tc-ppc.c:5534 -#: config/tc-v850.c:2296 +#: config/tc-mn10200.c:1240 config/tc-mn10300.c:1774 config/tc-or32.c:1622 +#: config/tc-ppc.c:5534 config/tc-v850.c:2207 #, c-format msgid "reloc %d not supported by object file format" msgstr "" #: config/tc-avr.c:1091 config/tc-d10v.c:1100 config/tc-d10v.c:1114 -#: config/tc-h8300.c:1275 config/tc-h8500.c:1088 config/tc-mcore.c:988 -#: config/tc-pj.c:266 config/tc-sh.c:1670 config/tc-z8k.c:1192 +#: config/tc-h8300.c:1283 config/tc-h8500.c:1088 config/tc-mcore.c:988 +#: config/tc-pj.c:266 config/tc-sh.c:2096 config/tc-z8k.c:1192 msgid "can't find opcode " msgstr "" @@ -2595,7 +2892,7 @@ msgstr "" #: config/tc-d10v.c:538 config/tc-d30v.c:550 config/tc-mn10200.c:937 #: config/tc-mn10300.c:1308 config/tc-ppc.c:2104 config/tc-s390.c:1052 -#: config/tc-tic80.c:279 config/tc-v850.c:2070 +#: config/tc-tic80.c:279 config/tc-v850.c:1981 msgid "illegal operand" msgstr "" @@ -2841,7 +3138,7 @@ msgid "Addend to unresolved symbol not on word boundary." msgstr "" #: config/tc-fr30.c:540 config/tc-i960.c:773 config/tc-m32r.c:1867 -#: config/tc-openrisc.c:468 +#: config/tc-openrisc.c:468 config/tc-xstormy16.c:635 msgid "Bad call to md_atof()" msgstr "" @@ -2873,93 +3170,95 @@ msgstr "" msgid "expect :8 or :16 here" msgstr "" -#: config/tc-h8300.c:818 +#: config/tc-h8300.c:826 #, c-format msgid "operand %s0x%lx out of range." msgstr "" -#: config/tc-h8300.c:906 +#: config/tc-h8300.c:914 msgid "Can't work out size of operand.\n" msgstr "" -#: config/tc-h8300.c:954 +#: config/tc-h8300.c:962 #, c-format msgid "Opcode `%s' with these operand types not available in H8/300 mode" msgstr "" -#: config/tc-h8300.c:1005 config/tc-h8300.c:1025 +#: config/tc-h8300.c:1013 config/tc-h8300.c:1033 msgid "Need #1 or #2 here" msgstr "" -#: config/tc-h8300.c:1020 +#: config/tc-h8300.c:1028 msgid "#4 not valid on H8/300." msgstr "" -#: config/tc-h8300.c:1107 config/tc-h8300.c:1157 +#: config/tc-h8300.c:1115 config/tc-h8300.c:1165 #, c-format msgid "branch operand has odd offset (%lx)\n" msgstr "" -#: config/tc-h8300.c:1195 +#: config/tc-h8300.c:1203 msgid "destination operand must be 16 bit register" msgstr "" -#: config/tc-h8300.c:1204 +#: config/tc-h8300.c:1212 msgid "source operand must be 8 bit register" msgstr "" -#: config/tc-h8300.c:1212 +#: config/tc-h8300.c:1220 msgid "destination operand must be 16bit absolute address" msgstr "" -#: config/tc-h8300.c:1219 +#: config/tc-h8300.c:1227 msgid "destination operand must be 8 bit register" msgstr "" -#: config/tc-h8300.c:1227 +#: config/tc-h8300.c:1235 msgid "source operand must be 16bit absolute address" msgstr "" #. This seems more sane than saying "too many operands". We'll #. get here only if the trailing trash starts with a comma. -#: config/tc-h8300.c:1235 config/tc-mmix.c:452 config/tc-mmix.c:464 -#: config/tc-mmix.c:2485 config/tc-mmix.c:2509 config/tc-mmix.c:2774 +#: config/tc-h8300.c:1243 config/tc-mmix.c:459 config/tc-mmix.c:471 +#: config/tc-mmix.c:2501 config/tc-mmix.c:2525 config/tc-mmix.c:2802 +#: config/tc-or32.c:642 config/tc-or32.c:856 msgid "invalid operands" msgstr "" -#: config/tc-h8300.c:1286 config/tc-h8500.c:1094 config/tc-mips.c:8649 -#: config/tc-sh.c:1907 config/tc-w65.c:733 config/tc-z8k.c:1202 +#: config/tc-h8300.c:1294 config/tc-h8500.c:1094 config/tc-mips.c:8649 +#: config/tc-sh.c:2353 config/tc-sh64.c:2811 config/tc-w65.c:733 +#: config/tc-z8k.c:1202 msgid "unknown opcode" msgstr "" -#: config/tc-h8300.c:1332 +#: config/tc-h8300.c:1340 msgid "mismatch between opcode size and operand size" msgstr "" -#: config/tc-h8300.c:1344 config/tc-h8500.c:1121 config/tc-sh.c:2045 +#: config/tc-h8300.c:1352 config/tc-h8500.c:1121 config/tc-sh.c:2473 #: config/tc-w65.c:763 config/tc-z8k.c:1255 msgid "call to tc_crawl_symbol_chain \n" msgstr "" -#: config/tc-h8300.c:1360 config/tc-h8500.c:1135 config/tc-sh.c:2052 +#: config/tc-h8300.c:1368 config/tc-h8500.c:1135 config/tc-sh.c:2480 #: config/tc-w65.c:777 config/tc-z8k.c:1269 msgid "call to tc_headers_hook \n" msgstr "" -#: config/tc-h8300.c:1452 config/tc-h8500.c:1225 config/tc-z8k.c:1383 +#: config/tc-h8300.c:1460 config/tc-h8500.c:1225 config/tc-z8k.c:1383 msgid "call to tc_aout_fix_to_chars \n" msgstr "" -#: config/tc-h8300.c:1466 config/tc-z8k.c:1393 +#: config/tc-h8300.c:1474 config/tc-z8k.c:1393 msgid "call to md_convert_frag \n" msgstr "" -#: config/tc-h8300.c:1528 config/tc-z8k.c:1479 +#: config/tc-h8300.c:1536 config/tc-z8k.c:1479 msgid "call tomd_estimate_size_before_relax \n" msgstr "" -#: config/tc-h8300.c:1649 config/tc-mcore.c:2413 config/tc-pj.c:572 -#: config/tc-sh.c:3367 +#: config/tc-h8300.c:1657 config/tc-mcore.c:2413 config/tc-pj.c:572 +#: config/tc-sh.c:3931 #, c-format msgid "Cannot represent relocation type %s" msgstr "" @@ -2992,7 +3291,7 @@ msgstr "" msgid "@Rn needs word register" msgstr "" -#: config/tc-h8500.c:828 config/tc-sh.c:1403 +#: config/tc-h8500.c:828 config/tc-sh.c:1827 #, c-format msgid "unhandled %d\n" msgstr "" @@ -3002,12 +3301,12 @@ msgstr "" msgid "operand must be absolute in range %d..%d" msgstr "" -#: config/tc-h8500.c:945 config/tc-sh.c:1610 +#: config/tc-h8500.c:945 config/tc-sh.c:2036 #, c-format msgid "failed for %d\n" msgstr "" -#: config/tc-h8500.c:1110 config/tc-sh.c:1711 config/tc-sh.c:1956 +#: config/tc-h8500.c:1110 config/tc-sh.c:2137 config/tc-sh.c:2402 #: config/tc-w65.c:752 msgid "invalid operands for opcode" msgstr "" @@ -3425,362 +3724,362 @@ msgstr "" msgid "No memory for symbol name." msgstr "" -#: config/tc-i386.c:594 +#: config/tc-i386.c:598 #, c-format msgid "%s shortened to %s" msgstr "" -#: config/tc-i386.c:649 +#: config/tc-i386.c:653 msgid "same type of prefix used twice" msgstr "" -#: config/tc-i386.c:667 +#: config/tc-i386.c:671 msgid "64bit mode not supported on this CPU." msgstr "" -#: config/tc-i386.c:671 +#: config/tc-i386.c:675 msgid "32bit mode not supported on this CPU." msgstr "" -#: config/tc-i386.c:704 +#: config/tc-i386.c:708 msgid "bad argument to syntax directive." msgstr "" -#: config/tc-i386.c:748 +#: config/tc-i386.c:752 #, c-format msgid "no such architecture: `%s'" msgstr "" -#: config/tc-i386.c:753 +#: config/tc-i386.c:757 msgid "missing cpu architecture" msgstr "" -#: config/tc-i386.c:767 +#: config/tc-i386.c:771 #, c-format msgid "no such architecture modifier: `%s'" msgstr "" -#: config/tc-i386.c:821 config/tc-i386.c:4628 +#: config/tc-i386.c:825 config/tc-i386.c:4632 msgid "Unknown architecture" msgstr "" -#: config/tc-i386.c:856 config/tc-i386.c:879 config/tc-m68k.c:3826 +#: config/tc-i386.c:860 config/tc-i386.c:883 config/tc-m68k.c:3826 #, c-format msgid "Internal Error: Can't hash %s: %s" msgstr "" -#: config/tc-i386.c:1132 +#: config/tc-i386.c:1136 msgid "There are no unsigned pc-relative relocations" msgstr "" -#: config/tc-i386.c:1139 config/tc-i386.c:4827 +#: config/tc-i386.c:1143 config/tc-i386.c:4831 #, c-format msgid "can not do %d byte pc-relative relocation" msgstr "" -#: config/tc-i386.c:1156 +#: config/tc-i386.c:1160 #, c-format msgid "can not do %s %d byte relocation" msgstr "" -#: config/tc-i386.c:1263 config/tc-i386.c:1357 +#: config/tc-i386.c:1267 config/tc-i386.c:1361 #, c-format msgid "no such instruction: `%s'" msgstr "" -#: config/tc-i386.c:1273 config/tc-i386.c:1389 +#: config/tc-i386.c:1277 config/tc-i386.c:1393 #, c-format msgid "invalid character %s in mnemonic" msgstr "" -#: config/tc-i386.c:1280 +#: config/tc-i386.c:1284 msgid "expecting prefix; got nothing" msgstr "" -#: config/tc-i386.c:1282 +#: config/tc-i386.c:1286 msgid "expecting mnemonic; got nothing" msgstr "" -#: config/tc-i386.c:1300 +#: config/tc-i386.c:1304 #, c-format msgid "redundant %s prefix" msgstr "" -#: config/tc-i386.c:1398 +#: config/tc-i386.c:1402 #, c-format msgid "`%s' is not supported on `%s'" msgstr "" -#: config/tc-i386.c:1403 +#: config/tc-i386.c:1407 msgid "use .code16 to ensure correct addressing mode" msgstr "" -#: config/tc-i386.c:1410 +#: config/tc-i386.c:1414 #, c-format msgid "expecting string instruction after `%s'" msgstr "" -#: config/tc-i386.c:1431 +#: config/tc-i386.c:1435 #, c-format msgid "invalid character %s before operand %d" msgstr "" -#: config/tc-i386.c:1445 +#: config/tc-i386.c:1449 #, c-format msgid "unbalanced parenthesis in operand %d." msgstr "" -#: config/tc-i386.c:1448 +#: config/tc-i386.c:1452 #, c-format msgid "unbalanced brackets in operand %d." msgstr "" -#: config/tc-i386.c:1457 +#: config/tc-i386.c:1461 #, c-format msgid "invalid character %s in operand %d" msgstr "" -#: config/tc-i386.c:1484 +#: config/tc-i386.c:1488 #, c-format msgid "spurious operands; (%d operands/instruction max)" msgstr "" -#: config/tc-i386.c:1507 +#: config/tc-i386.c:1511 msgid "expecting operand after ','; got nothing" msgstr "" -#: config/tc-i386.c:1512 +#: config/tc-i386.c:1516 msgid "expecting operand before ','; got nothing" msgstr "" #. We found no match. -#: config/tc-i386.c:1856 +#: config/tc-i386.c:1860 #, c-format msgid "suffix or operands invalid for `%s'" msgstr "" -#: config/tc-i386.c:1867 +#: config/tc-i386.c:1871 #, c-format msgid "indirect %s without `*'" msgstr "" #. Warn them that a data or address size prefix doesn't #. affect assembly of the next line of code. -#: config/tc-i386.c:1875 +#: config/tc-i386.c:1879 #, c-format msgid "stand-alone `%s' prefix" msgstr "" -#: config/tc-i386.c:1911 config/tc-i386.c:1926 +#: config/tc-i386.c:1915 config/tc-i386.c:1930 #, c-format msgid "`%s' operand %d must use `%%es' segment" msgstr "" #. Prohibit these changes in the 64bit mode, since #. the lowering is more complicated. -#: config/tc-i386.c:1999 config/tc-i386.c:2053 config/tc-i386.c:2068 -#: config/tc-i386.c:2096 config/tc-i386.c:2124 +#: config/tc-i386.c:2003 config/tc-i386.c:2057 config/tc-i386.c:2072 +#: config/tc-i386.c:2100 config/tc-i386.c:2128 #, c-format msgid "Incorrect register `%%%s' used with`%c' suffix" msgstr "" -#: config/tc-i386.c:2005 config/tc-i386.c:2058 config/tc-i386.c:2129 +#: config/tc-i386.c:2009 config/tc-i386.c:2062 config/tc-i386.c:2133 #, c-format msgid "using `%%%s' instead of `%%%s' due to `%c' suffix" msgstr "" -#: config/tc-i386.c:2021 config/tc-i386.c:2039 config/tc-i386.c:2083 -#: config/tc-i386.c:2110 +#: config/tc-i386.c:2025 config/tc-i386.c:2043 config/tc-i386.c:2087 +#: config/tc-i386.c:2114 #, c-format msgid "`%%%s' not allowed with `%s%c'" msgstr "" -#: config/tc-i386.c:2170 +#: config/tc-i386.c:2174 msgid "no instruction mnemonic suffix given; can't determine immediate size" msgstr "" -#: config/tc-i386.c:2196 +#: config/tc-i386.c:2200 #, c-format msgid "" "no instruction mnemonic suffix given; can't determine immediate size %x %c" msgstr "" -#: config/tc-i386.c:2221 +#: config/tc-i386.c:2225 msgid "" "no instruction mnemonic suffix given and no register operands; can't size " "instruction" msgstr "" -#: config/tc-i386.c:2269 +#: config/tc-i386.c:2273 msgid "64bit operations available only in 64bit modes." msgstr "" #. Reversed arguments on faddp, fsubp, etc. -#: config/tc-i386.c:2337 +#: config/tc-i386.c:2341 #, c-format msgid "translating to `%s %%%s,%%%s'" msgstr "" #. Extraneous `l' suffix on fp insn. -#: config/tc-i386.c:2344 +#: config/tc-i386.c:2348 #, c-format msgid "translating to `%s %%%s'" msgstr "" -#: config/tc-i386.c:2617 +#: config/tc-i386.c:2621 #, c-format msgid "you can't `pop %%cs'" msgstr "" #. UnixWare fsub no args is alias for fsubp, fadd -> faddp, etc. -#: config/tc-i386.c:2650 +#: config/tc-i386.c:2654 #, c-format msgid "translating to `%sp'" msgstr "" -#: config/tc-i386.c:2693 +#: config/tc-i386.c:2697 #, c-format msgid "" "Can't encode registers '%%%s' in the instruction requiring REX prefix.\n" msgstr "" -#: config/tc-i386.c:2755 config/tc-i386.c:2845 config/tc-i386.c:2881 +#: config/tc-i386.c:2759 config/tc-i386.c:2849 config/tc-i386.c:2885 msgid "skipping prefixes on this instruction" msgstr "" -#: config/tc-i386.c:2901 +#: config/tc-i386.c:2905 msgid "16-bit jump out of range" msgstr "" -#: config/tc-i386.c:2910 +#: config/tc-i386.c:2914 #, c-format msgid "can't handle non absolute segment in `%s'" msgstr "" -#: config/tc-i386.c:3217 +#: config/tc-i386.c:3221 #, c-format msgid "@%s reloc is not supported in %s bit mode" msgstr "" -#: config/tc-i386.c:3293 +#: config/tc-i386.c:3297 msgid "only 1 or 2 immediate operands are allowed" msgstr "" -#: config/tc-i386.c:3316 config/tc-i386.c:3504 +#: config/tc-i386.c:3320 config/tc-i386.c:3508 #, c-format msgid "junk `%s' after expression" msgstr "" #. Missing or bad expr becomes absolute 0. -#: config/tc-i386.c:3327 +#: config/tc-i386.c:3331 #, c-format msgid "missing or invalid immediate expression `%s' taken as 0" msgstr "" -#: config/tc-i386.c:3358 config/tc-i386.c:3565 +#: config/tc-i386.c:3362 config/tc-i386.c:3569 #, c-format msgid "unimplemented segment %s in operand" msgstr "" -#: config/tc-i386.c:3360 config/tc-i386.c:3567 +#: config/tc-i386.c:3364 config/tc-i386.c:3571 #, c-format msgid "unimplemented segment type %d in operand" msgstr "" -#: config/tc-i386.c:3404 config/tc-i386.c:5588 +#: config/tc-i386.c:3408 config/tc-i386.c:5592 #, c-format msgid "expecting scale factor of 1, 2, 4, or 8: got `%s'" msgstr "" -#: config/tc-i386.c:3411 +#: config/tc-i386.c:3415 #, c-format msgid "scale factor of %d without an index register" msgstr "" -#: config/tc-i386.c:3524 +#: config/tc-i386.c:3528 #, c-format msgid "bad expression used with @%s" msgstr "" #. Missing or bad expr becomes absolute 0. -#: config/tc-i386.c:3546 +#: config/tc-i386.c:3550 #, c-format msgid "missing or invalid displacement expression `%s' taken as 0" msgstr "" -#: config/tc-i386.c:3652 +#: config/tc-i386.c:3656 #, c-format msgid "`%s' is not a valid base/index expression" msgstr "" -#: config/tc-i386.c:3656 +#: config/tc-i386.c:3660 #, c-format msgid "`%s' is not a valid %s bit base/index expression" msgstr "" -#: config/tc-i386.c:3731 +#: config/tc-i386.c:3735 #, c-format msgid "bad memory operand `%s'" msgstr "" -#: config/tc-i386.c:3746 +#: config/tc-i386.c:3750 #, c-format msgid "junk `%s' after register" msgstr "" -#: config/tc-i386.c:3755 config/tc-i386.c:3870 config/tc-i386.c:3908 +#: config/tc-i386.c:3759 config/tc-i386.c:3874 config/tc-i386.c:3912 #, c-format msgid "bad register name `%s'" msgstr "" -#: config/tc-i386.c:3763 +#: config/tc-i386.c:3767 msgid "immediate operand illegal with absolute jump" msgstr "" -#: config/tc-i386.c:3785 +#: config/tc-i386.c:3789 #, c-format msgid "too many memory references for `%s'" msgstr "" -#: config/tc-i386.c:3863 +#: config/tc-i386.c:3867 #, c-format msgid "expecting `,' or `)' after index register in `%s'" msgstr "" -#: config/tc-i386.c:3887 +#: config/tc-i386.c:3891 #, c-format msgid "expecting `)' after scale factor in `%s'" msgstr "" -#: config/tc-i386.c:3894 +#: config/tc-i386.c:3898 #, c-format msgid "expecting index register or scale factor after `,'; got '%c'" msgstr "" -#: config/tc-i386.c:3901 +#: config/tc-i386.c:3905 #, c-format msgid "expecting `,' or `)' after base register in `%s'" msgstr "" #. It's not a memory operand; argh! -#: config/tc-i386.c:3942 +#: config/tc-i386.c:3946 #, c-format msgid "invalid char %s beginning operand %d `%s'" msgstr "" -#: config/tc-i386.c:4117 +#: config/tc-i386.c:4121 msgid "long jump required" msgstr "" -#: config/tc-i386.c:4417 +#: config/tc-i386.c:4421 msgid "Bad call to md_atof ()" msgstr "" -#: config/tc-i386.c:4581 +#: config/tc-i386.c:4585 msgid "No compiled in support for x86_64" msgstr "" -#: config/tc-i386.c:4602 +#: config/tc-i386.c:4606 msgid "" " -Q ignored\n" " -V print assembler version number\n" @@ -3789,63 +4088,63 @@ msgid "" " -s ignored\n" msgstr "" -#: config/tc-i386.c:4609 +#: config/tc-i386.c:4613 msgid " -q quieten some warnings\n" msgstr "" -#: config/tc-i386.c:4710 config/tc-s390.c:1592 +#: config/tc-i386.c:4714 config/tc-s390.c:1592 msgid "GOT already in symbol table" msgstr "" -#: config/tc-i386.c:4842 +#: config/tc-i386.c:4846 #, c-format msgid "can not do %d byte relocation" msgstr "" -#: config/tc-i386.c:4894 config/tc-s390.c:1957 +#: config/tc-i386.c:4898 config/tc-s390.c:1957 #, c-format msgid "cannot represent relocation type %s" msgstr "" -#: config/tc-i386.c:5190 +#: config/tc-i386.c:5194 #, c-format msgid "too many memory references for '%s'" msgstr "" -#: config/tc-i386.c:5353 +#: config/tc-i386.c:5357 #, c-format msgid "Unknown operand modifier `%s'\n" msgstr "" -#: config/tc-i386.c:5560 +#: config/tc-i386.c:5564 #, c-format msgid "`%s' is not a valid segment register" msgstr "" -#: config/tc-i386.c:5570 config/tc-i386.c:5691 +#: config/tc-i386.c:5574 config/tc-i386.c:5695 msgid "Register scaling only allowed in memory operands." msgstr "" -#: config/tc-i386.c:5601 +#: config/tc-i386.c:5605 msgid "Too many register references in memory operand.\n" msgstr "" -#: config/tc-i386.c:5670 +#: config/tc-i386.c:5674 #, c-format msgid "Syntax error. Expecting a constant. Got `%s'.\n" msgstr "" -#: config/tc-i386.c:5740 +#: config/tc-i386.c:5744 #, c-format msgid "Unrecognized token '%s'" msgstr "" -#: config/tc-i386.c:5757 +#: config/tc-i386.c:5761 #, c-format msgid "Unexpected token `%s'\n" msgstr "" -#: config/tc-i386.c:5901 +#: config/tc-i386.c:5905 #, c-format msgid "Unrecognized token `%s'\n" msgstr "" @@ -4393,7 +4692,7 @@ msgstr "" msgid "ignoring bad alignment" msgstr "" -#: config/tc-m32r.c:1288 config/tc-ppc.c:1630 config/tc-v850.c:383 +#: config/tc-m32r.c:1288 config/tc-ppc.c:1630 config/tc-v850.c:333 msgid "Common alignment not a power of 2" msgstr "" @@ -4753,7 +5052,7 @@ msgstr "" msgid "Unable to produce reloc against symbol '%s'" msgstr "" -#: config/tc-m68k.c:948 config/tc-mips.c:12429 +#: config/tc-m68k.c:948 config/tc-mips.c:12440 #, c-format msgid "Cannot make %s relocation PC relative" msgstr "" @@ -4795,7 +5094,7 @@ msgid "operands mismatch" msgstr "" #: config/tc-m68k.c:1949 config/tc-m68k.c:1955 config/tc-m68k.c:1961 -#: config/tc-mmix.c:2448 config/tc-mmix.c:2472 +#: config/tc-mmix.c:2464 config/tc-mmix.c:2488 msgid "operand out of range" msgstr "" @@ -5435,7 +5734,7 @@ msgstr "" msgid "returned from mips_ip(%s) insn_opcode = 0x%x\n" msgstr "" -#: config/tc-mips.c:2012 config/tc-mips.c:12574 +#: config/tc-mips.c:2012 config/tc-mips.c:12585 msgid "extended instruction in delay slot" msgstr "" @@ -5979,293 +6278,301 @@ msgstr "" msgid "Double check fx_r_type in tc-mips.c:tc_gen_reloc" msgstr "" -#: config/tc-mips.c:12461 config/tc-sh.c:3218 +#: config/tc-mips.c:12472 config/tc-sh.c:3771 #, c-format msgid "Can not represent %s relocation in this object file format" msgstr "" -#: config/tc-mips.c:12800 +#: config/tc-mips.c:12811 msgid "missing .end at end of assembly" msgstr "" -#: config/tc-mips.c:12815 +#: config/tc-mips.c:12826 msgid "expected simple number" msgstr "" -#: config/tc-mips.c:12841 +#: config/tc-mips.c:12852 #, c-format msgid " *input_line_pointer == '%c' 0x%02x\n" msgstr "" -#: config/tc-mips.c:12843 +#: config/tc-mips.c:12854 msgid "invalid number" msgstr "" -#: config/tc-mips.c:12901 +#: config/tc-mips.c:12912 msgid ".end not in text section" msgstr "" -#: config/tc-mips.c:12905 +#: config/tc-mips.c:12916 msgid ".end directive without a preceding .ent directive." msgstr "" -#: config/tc-mips.c:12914 +#: config/tc-mips.c:12925 msgid ".end symbol does not match .ent symbol." msgstr "" -#: config/tc-mips.c:12917 +#: config/tc-mips.c:12928 msgid ".end directive missing or unknown symbol" msgstr "" -#: config/tc-mips.c:12990 +#: config/tc-mips.c:13001 msgid ".ent or .aent not in text section." msgstr "" -#: config/tc-mips.c:12993 +#: config/tc-mips.c:13004 msgid "missing .end" msgstr "" -#: config/tc-mips.c:13030 ecoff.c:3202 +#: config/tc-mips.c:13041 ecoff.c:3202 msgid ".frame outside of .ent" msgstr "" -#: config/tc-mips.c:13041 +#: config/tc-mips.c:13052 msgid "Bad .frame directive" msgstr "" -#: config/tc-mips.c:13071 +#: config/tc-mips.c:13082 msgid ".mask/.fmask outside of .ent" msgstr "" -#: config/tc-mips.c:13078 +#: config/tc-mips.c:13089 msgid "Bad .mask/.fmask directive" msgstr "" -#: config/tc-mmix.c:669 +#: config/tc-mmix.c:681 msgid " MMIX-specific command line options:\n" msgstr "" -#: config/tc-mmix.c:670 +#: config/tc-mmix.c:682 msgid "" " -fixed-special-register-names\n" " Allow only the original special register names.\n" msgstr "" -#: config/tc-mmix.c:673 +#: config/tc-mmix.c:685 msgid " -globalize-symbols Make all symbols global.\n" msgstr "" -#: config/tc-mmix.c:675 +#: config/tc-mmix.c:687 msgid " -gnu-syntax Turn off mmixal syntax compatibility.\n" msgstr "" -#: config/tc-mmix.c:677 +#: config/tc-mmix.c:689 msgid " -relax Create linker relaxable code.\n" msgstr "" -#: config/tc-mmix.c:679 +#: config/tc-mmix.c:691 msgid "" " -no-predefined-syms Do not provide mmixal built-in constants.\n" " Implies -fixed-special-register-names.\n" msgstr "" -#: config/tc-mmix.c:682 +#: config/tc-mmix.c:694 msgid "" " -no-expand Do not expand GETA, branches, PUSHJ or JUMP\n" " into multiple instructions.\n" msgstr "" -#: config/tc-mmix.c:685 +#: config/tc-mmix.c:697 msgid "" " -no-merge-gregs Do not merge GREG definitions with nearby values.\n" msgstr "" -#: config/tc-mmix.c:687 +#: config/tc-mmix.c:699 +msgid "" +" -linker-allocated-gregs If there's no suitable GREG definition for " +"the operands of an instruction, let the linker " +"resolve.\n" +msgstr "" + +#: config/tc-mmix.c:702 msgid "" " -x Do not warn when an operand to GETA, a branch,\n" " PUSHJ or JUMP is not known to be within range.\n" -" The linker will catch any errors.\n" +" The linker will catch any errors. Implies\n" +" -linker-allocated-gregs." msgstr "" -#: config/tc-mmix.c:813 +#: config/tc-mmix.c:829 #, c-format msgid "unknown opcode: `%s'" msgstr "" -#: config/tc-mmix.c:935 config/tc-mmix.c:950 +#: config/tc-mmix.c:951 config/tc-mmix.c:966 msgid "specified location wasn't TETRA-aligned" msgstr "" -#: config/tc-mmix.c:937 config/tc-mmix.c:952 config/tc-mmix.c:4055 -#: config/tc-mmix.c:4071 +#: config/tc-mmix.c:953 config/tc-mmix.c:968 config/tc-mmix.c:4085 +#: config/tc-mmix.c:4101 msgid "unaligned data at an absolute location is not supported" msgstr "" -#: config/tc-mmix.c:1062 +#: config/tc-mmix.c:1078 #, c-format msgid "invalid operand to opcode %s: `%s'" msgstr "" -#: config/tc-mmix.c:1084 config/tc-mmix.c:1111 config/tc-mmix.c:1144 -#: config/tc-mmix.c:1152 config/tc-mmix.c:1169 config/tc-mmix.c:1197 -#: config/tc-mmix.c:1218 config/tc-mmix.c:1243 config/tc-mmix.c:1291 -#: config/tc-mmix.c:1389 config/tc-mmix.c:1414 config/tc-mmix.c:1446 -#: config/tc-mmix.c:1478 config/tc-mmix.c:1508 config/tc-mmix.c:1561 -#: config/tc-mmix.c:1578 config/tc-mmix.c:1605 config/tc-mmix.c:1633 -#: config/tc-mmix.c:1660 config/tc-mmix.c:1686 config/tc-mmix.c:1702 -#: config/tc-mmix.c:1728 config/tc-mmix.c:1744 config/tc-mmix.c:1760 -#: config/tc-mmix.c:1823 config/tc-mmix.c:1839 +#: config/tc-mmix.c:1100 config/tc-mmix.c:1127 config/tc-mmix.c:1160 +#: config/tc-mmix.c:1168 config/tc-mmix.c:1185 config/tc-mmix.c:1213 +#: config/tc-mmix.c:1234 config/tc-mmix.c:1259 config/tc-mmix.c:1307 +#: config/tc-mmix.c:1405 config/tc-mmix.c:1430 config/tc-mmix.c:1462 +#: config/tc-mmix.c:1494 config/tc-mmix.c:1524 config/tc-mmix.c:1577 +#: config/tc-mmix.c:1594 config/tc-mmix.c:1621 config/tc-mmix.c:1649 +#: config/tc-mmix.c:1676 config/tc-mmix.c:1702 config/tc-mmix.c:1718 +#: config/tc-mmix.c:1744 config/tc-mmix.c:1760 config/tc-mmix.c:1776 +#: config/tc-mmix.c:1839 config/tc-mmix.c:1855 #, c-format msgid "invalid operands to opcode %s: `%s'" msgstr "" -#: config/tc-mmix.c:1816 +#: config/tc-mmix.c:1832 #, c-format msgid "unsupported operands to %s: `%s'" msgstr "" -#: config/tc-mmix.c:1944 +#: config/tc-mmix.c:1960 msgid "internal: mmix_prefix_name but empty prefix" msgstr "" -#: config/tc-mmix.c:1989 +#: config/tc-mmix.c:2005 #, c-format msgid "too many GREG registers allocated (max %d)" msgstr "" -#: config/tc-mmix.c:2049 +#: config/tc-mmix.c:2065 msgid "BSPEC already active. Nesting is not supported." msgstr "" -#: config/tc-mmix.c:2058 +#: config/tc-mmix.c:2074 msgid "invalid BSPEC expression" msgstr "" -#: config/tc-mmix.c:2074 +#: config/tc-mmix.c:2090 #, c-format msgid "can't create section %s" msgstr "" -#: config/tc-mmix.c:2079 +#: config/tc-mmix.c:2095 #, c-format msgid "can't set section flags for section %s" msgstr "" -#: config/tc-mmix.c:2101 +#: config/tc-mmix.c:2117 msgid "ESPEC without preceding BSPEC" msgstr "" -#: config/tc-mmix.c:2131 +#: config/tc-mmix.c:2147 msgid "missing local expression" msgstr "" -#: config/tc-mmix.c:2346 +#: config/tc-mmix.c:2362 msgid "operand out of range, instruction expanded" msgstr "" #. The BFD_RELOC_MMIX_LOCAL-specific message is supposed to be #. user-friendly, though a little bit non-substantial. -#: config/tc-mmix.c:2598 +#: config/tc-mmix.c:2620 msgid "directive LOCAL must be placed in code or data" msgstr "" -#: config/tc-mmix.c:2599 +#: config/tc-mmix.c:2621 msgid "internal confusion: relocation in a section without contents" msgstr "" -#: config/tc-mmix.c:2714 +#: config/tc-mmix.c:2734 msgid "internal: BFD_RELOC_MMIX_BASE_PLUS_OFFSET not resolved to section" msgstr "" -#: config/tc-mmix.c:2754 +#: config/tc-mmix.c:2782 msgid "no suitable GREG definition for operands" msgstr "" -#: config/tc-mmix.c:2813 +#: config/tc-mmix.c:2841 msgid "operands were not reducible at assembly-time" msgstr "" -#: config/tc-mmix.c:2841 +#: config/tc-mmix.c:2869 #, c-format msgid "cannot generate relocation type for symbol %s, code %s" msgstr "" -#: config/tc-mmix.c:2861 +#: config/tc-mmix.c:2889 #, c-format msgid "internal: unhandled label %s" msgstr "" -#: config/tc-mmix.c:2915 +#: config/tc-mmix.c:2943 msgid "[0-9]H labels may not appear alone on a line" msgstr "" -#: config/tc-mmix.c:2924 +#: config/tc-mmix.c:2952 msgid "[0-9]H labels do not mix with dot-pseudos" msgstr "" -#: config/tc-mmix.c:2988 +#: config/tc-mmix.c:3016 msgid "invalid characters in input" msgstr "" -#: config/tc-mmix.c:3092 +#: config/tc-mmix.c:3120 msgid "empty label field for IS" msgstr "" -#: config/tc-mmix.c:3342 +#: config/tc-mmix.c:3370 #, c-format msgid "internal: unexpected relax type %d:%d" msgstr "" -#: config/tc-mmix.c:3364 +#: config/tc-mmix.c:3392 msgid "BSPEC without ESPEC." msgstr "" -#: config/tc-mmix.c:3566 +#: config/tc-mmix.c:3594 msgid "GREG expression too complicated" msgstr "" -#: config/tc-mmix.c:3579 +#: config/tc-mmix.c:3609 msgid "internal: GREG expression not resolved to section" msgstr "" -#: config/tc-mmix.c:3630 +#: config/tc-mmix.c:3660 msgid "register section has contents\n" msgstr "" -#: config/tc-mmix.c:3808 +#: config/tc-mmix.c:3838 msgid "section change from within a BSPEC/ESPEC pair is not supported" msgstr "" -#: config/tc-mmix.c:3830 +#: config/tc-mmix.c:3860 msgid "directive LOC from within a BSPEC/ESPEC pair is not supported" msgstr "" -#: config/tc-mmix.c:3841 +#: config/tc-mmix.c:3871 msgid "invalid LOC expression" msgstr "" -#: config/tc-mmix.c:3866 config/tc-mmix.c:3892 +#: config/tc-mmix.c:3896 config/tc-mmix.c:3922 msgid "LOC expression stepping backwards is not supported" msgstr "" #. We will only get here in rare cases involving #NO_APP, #. where the unterminated string is not recognized by the #. preformatting pass. -#: config/tc-mmix.c:3976 config/tc-mmix.c:4137 +#: config/tc-mmix.c:4006 config/tc-mmix.c:4167 msgid "unterminated string" msgstr "" -#: config/tc-mmix.c:3993 +#: config/tc-mmix.c:4023 msgid "BYTE expression not a pure number" msgstr "" #. Note that mmixal does not allow negative numbers in #. BYTE sequences, so neither should we. -#: config/tc-mmix.c:4002 +#: config/tc-mmix.c:4032 msgid "BYTE expression not in the range 0..255" msgstr "" -#: config/tc-mmix.c:4053 config/tc-mmix.c:4069 +#: config/tc-mmix.c:4083 config/tc-mmix.c:4099 msgid "data item with alignment larger than location" msgstr "" @@ -6282,19 +6589,19 @@ msgid "" msgstr "" #: config/tc-mn10200.c:793 config/tc-mn10300.c:929 config/tc-ppc.c:1867 -#: config/tc-s390.c:1290 config/tc-v850.c:1725 +#: config/tc-s390.c:1290 config/tc-v850.c:1636 #, c-format msgid "Unrecognized opcode: `%s'" msgstr "" #: config/tc-mn10200.c:1036 config/tc-mn10300.c:1452 config/tc-ppc.c:2305 -#: config/tc-s390.c:1216 config/tc-v850.c:2149 +#: config/tc-s390.c:1216 config/tc-v850.c:2060 #, c-format msgid "junk at end of line: `%s'" msgstr "" #: config/tc-mn10200.c:1349 config/tc-mn10300.c:2076 config/tc-ppc.c:1299 -#: config/tc-v850.c:1654 +#: config/tc-v850.c:1565 #, c-format msgid "operand out of range (%s not between %ld and %ld)" msgstr "" @@ -6486,6 +6793,46 @@ msgstr "" msgid "Cannot find relocation type for symbol %s, code %d" msgstr "" +#: config/tc-or32.c:467 config/tc-or32.c:682 +#, c-format +msgid "unknown opcode1: `%s'" +msgstr "" + +#: config/tc-or32.c:473 config/tc-or32.c:688 +#, c-format +msgid "unknown opcode2 `%s'." +msgstr "" + +#: config/tc-or32.c:512 config/tc-or32.c:727 +#, c-format +msgid "instruction not allowed: %s" +msgstr "" + +#: config/tc-or32.c:515 config/tc-or32.c:730 +#, c-format +msgid "too many operands: %s" +msgstr "" + +#: config/tc-or32.c:605 config/tc-or32.c:821 +msgid "call/jmp target out of range (1)" +msgstr "" + +#: config/tc-or32.c:1018 config/tc-or32.c:1135 +msgid "the linker will not handle this relocation correctly (1)" +msgstr "" + +#: config/tc-or32.c:1027 config/tc-or32.c:1144 +msgid "call/jmp target out of range (2)" +msgstr "" + +#: config/tc-or32.c:1437 +msgid "register out of range" +msgstr "" + +#: config/tc-or32.c:1482 +msgid "invalid register in & expression" +msgstr "" + #: config/tc-pj.c:67 config/tc-pj.c:75 msgid "confusing relocation expressions" msgstr "" @@ -6506,8 +6853,8 @@ msgid "" "-big\t\t\tgenerate big endian code\n" msgstr "" -#: config/tc-pj.c:460 config/tc-sh.c:2922 config/tc-sh.c:2929 -#: config/tc-sh.c:2936 config/tc-sh.c:2943 +#: config/tc-pj.c:460 config/tc-sh.c:3454 config/tc-sh.c:3461 +#: config/tc-sh.c:3468 config/tc-sh.c:3475 msgid "pcrel too far" msgstr "" @@ -6584,7 +6931,7 @@ msgstr "" msgid "identifier+constant@got means identifier@got+constant" msgstr "" -#: config/tc-ppc.c:1505 config/tc-sh.c:388 config/tc-sh.c:416 +#: config/tc-ppc.c:1505 #, c-format msgid "%s relocations do not fit in %d bytes\n" msgstr "" @@ -6741,7 +7088,8 @@ msgstr "" msgid "symbol in .toc does not match any .tc" msgstr "" -#: config/tc-ppc.c:5246 config/tc-s390.c:1797 config/tc-v850.c:2420 +#: config/tc-ppc.c:5246 config/tc-s390.c:1797 config/tc-v850.c:2331 +#: config/tc-xstormy16.c:536 msgid "unresolved expression that must be resolved" msgstr "" @@ -6864,117 +7212,154 @@ msgstr "" msgid "unsupported relocation type" msgstr "" -#: config/tc-sh.c:89 +#: config/tc-sh.c:91 msgid "directive .big encountered when option -big required" msgstr "" -#: config/tc-sh.c:100 +#: config/tc-sh.c:102 msgid "directive .little encountered when option -little required" msgstr "" -#: config/tc-sh.c:909 +#: config/tc-sh.c:780 +msgid "Invalid PIC expression." +msgstr "" + +#: config/tc-sh.c:809 read.c:3749 +#, c-format +msgid "unsupported BFD relocation size %u" +msgstr "" + +#: config/tc-sh.c:1292 +msgid "misplaced PIC operand" +msgstr "" + +#: config/tc-sh.c:1333 msgid "illegal register after @-" msgstr "" -#: config/tc-sh.c:925 +#: config/tc-sh.c:1349 msgid "must be @(r0,...)" msgstr "" -#: config/tc-sh.c:949 +#: config/tc-sh.c:1373 msgid "syntax error in @(r0,...)" msgstr "" -#: config/tc-sh.c:954 +#: config/tc-sh.c:1378 msgid "syntax error in @(r0...)" msgstr "" -#: config/tc-sh.c:987 config/tc-sh.c:992 +#: config/tc-sh.c:1408 config/tc-sh.c:1413 msgid "syntax error in @(disp,[Rn, gbr, pc])" msgstr "" -#: config/tc-sh.c:997 +#: config/tc-sh.c:1418 msgid "expecting )" msgstr "" -#: config/tc-sh.c:1005 +#: config/tc-sh.c:1426 msgid "illegal register after @" msgstr "" -#: config/tc-sh.c:1553 +#: config/tc-sh.c:1977 #, c-format msgid "Invalid register: 'r%d'" msgstr "" -#: config/tc-sh.c:1716 +#: config/tc-sh.c:2142 msgid "insn can't be combined with parallel processing insn" msgstr "" -#: config/tc-sh.c:1723 config/tc-sh.c:1734 +#: config/tc-sh.c:2149 config/tc-sh.c:2160 msgid "multiple movx specifications" msgstr "" -#: config/tc-sh.c:1728 config/tc-sh.c:1755 +#: config/tc-sh.c:2154 config/tc-sh.c:2181 msgid "multiple movy specifications" msgstr "" -#: config/tc-sh.c:1736 +#: config/tc-sh.c:2162 msgid "invalid movx address register" msgstr "" -#: config/tc-sh.c:1742 config/tc-sh.c:1747 +#: config/tc-sh.c:2168 config/tc-sh.c:2173 msgid "invalid movx dsp register" msgstr "" -#: config/tc-sh.c:1764 config/tc-sh.c:1769 +#: config/tc-sh.c:2190 config/tc-sh.c:2195 msgid "invalid movy dsp register" msgstr "" -#: config/tc-sh.c:1773 +#: config/tc-sh.c:2199 msgid "invalid movy address register" msgstr "" -#: config/tc-sh.c:1779 +#: config/tc-sh.c:2205 msgid "dsp immediate shift value not constant" msgstr "" -#: config/tc-sh.c:1786 config/tc-sh.c:1799 +#: config/tc-sh.c:2212 config/tc-sh.c:2225 msgid "multiple parallel processing specifications" msgstr "" -#: config/tc-sh.c:1792 +#: config/tc-sh.c:2218 msgid "multiple condition specifications" msgstr "" -#: config/tc-sh.c:1808 +#: config/tc-sh.c:2234 msgid "insn cannot be combined with pmuls" msgstr "" -#: config/tc-sh.c:1825 +#: config/tc-sh.c:2251 msgid "bad padd / psub pmuls output operand" msgstr "" -#: config/tc-sh.c:1835 +#: config/tc-sh.c:2261 msgid "condition not followed by conditionalizable insn" msgstr "" -#: config/tc-sh.c:1845 +#: config/tc-sh.c:2271 msgid "unrecognized characters at end of parallel processing insn" msgstr "" -#: config/tc-sh.c:1961 +#: config/tc-sh.c:2407 #, c-format msgid "excess operands: '%s'" msgstr "" -#: config/tc-sh.c:2131 +#: config/tc-sh.c:2559 msgid ".uses pseudo-op seen when not relaxing" msgstr "" -#: config/tc-sh.c:2137 +#: config/tc-sh.c:2565 msgid "bad .uses format" msgstr "" -#: config/tc-sh.c:2203 +#: config/tc-sh.c:2640 +msgid "Invalid combination: --isa=SHcompact with --isa=SHmedia" +msgstr "" + +#: config/tc-sh.c:2646 +msgid "Invalid combination: --isa=SHmedia with --isa=SHcompact" +msgstr "" + +#: config/tc-sh.c:2648 +msgid "Invalid combination: --abi=64 with --isa=SHcompact" +msgstr "" + +#: config/tc-sh.c:2659 +msgid "Invalid combination: --abi=32 with --abi=64" +msgstr "" + +#: config/tc-sh.c:2665 +msgid "Invalid combination: --abi=64 with --abi=32" +msgstr "" + +#: config/tc-sh.c:2667 +msgid "Invalid combination: --isa=SHcompact with --abi=64" +msgstr "" + +#: config/tc-sh.c:2702 msgid "" "SH options:\n" "-little\t\t\tgenerate little endian code\n" @@ -6984,60 +7369,259 @@ msgid "" "-dsp\t\t\tenable sh-dsp insns, and disable sh3e / sh4 insns.\n" msgstr "" -#: config/tc-sh.c:2292 +#: config/tc-sh.c:2710 +msgid "" +"-isa=[shmedia\t\tset default instruction set for SH64\n" +" | SHmedia\n" +" | shcompact\n" +" | SHcompact]\n" +"-abi=[32|64]\t\tset size of expanded SHmedia operands and object\n" +"\t\t\tfile type\n" +"-shcompact-const-crange\temit code-range descriptors for constants in\n" +"\t\t\tSHcompact code sections\n" +"-no-mix\t\t\tdisallow SHmedia code in the same section as\n" +"\t\t\tconstants and SHcompact code\n" +"-no-expand\t\tdo not expand MOVI, PT, PTA or PTB instructions\n" +"-expand-pt32\t\twith -abi=64, expand PT, PTA and PTB instructions\n" +"\t\t\tto 32 bits only" +msgstr "" + +#: config/tc-sh.c:2807 msgid ".uses does not refer to a local symbol in the same section" msgstr "" -#: config/tc-sh.c:2311 +#: config/tc-sh.c:2826 msgid "can't find fixup pointed to by .uses" msgstr "" -#: config/tc-sh.c:2334 +#: config/tc-sh.c:2849 msgid ".uses target does not refer to a local symbol in the same section" msgstr "" -#: config/tc-sh.c:2432 +#: config/tc-sh.c:2951 msgid "displacement overflows 12-bit field" msgstr "" -#: config/tc-sh.c:2435 +#: config/tc-sh.c:2954 #, c-format msgid "displacement to defined symbol %s overflows 12-bit field" msgstr "" -#: config/tc-sh.c:2439 +#: config/tc-sh.c:2958 #, c-format msgid "displacement to undefined symbol %s overflows 12-bit field" msgstr "" -#: config/tc-sh.c:2517 +#: config/tc-sh.c:3036 msgid "displacement overflows 8-bit field" msgstr "" -#: config/tc-sh.c:2520 +#: config/tc-sh.c:3039 #, c-format msgid "displacement to defined symbol %s overflows 8-bit field" msgstr "" -#: config/tc-sh.c:2524 +#: config/tc-sh.c:3043 #, c-format msgid "displacement to undefined symbol %s overflows 8-bit field " msgstr "" -#: config/tc-sh.c:2537 +#: config/tc-sh.c:3060 #, c-format msgid "overflow in branch to %s; converted into longer instruction sequence" msgstr "" -#: config/tc-sh.c:2612 config/tc-sh.c:2660 config/tc-sparc.c:4093 +#: config/tc-sh.c:3135 config/tc-sh.c:3183 config/tc-sparc.c:4093 #: config/tc-sparc.c:4118 msgid "misaligned data" msgstr "" -#: config/tc-sh.c:3022 +#: config/tc-sh.c:3565 msgid "misaligned offset" msgstr "" +#: config/tc-sh64.c:570 +msgid "This operand must be constant at assembly time" +msgstr "" + +#: config/tc-sh64.c:685 +msgid "Invalid operand expression" +msgstr "" + +#: config/tc-sh64.c:772 config/tc-sh64.c:878 +msgid "PTB operand is a SHmedia symbol" +msgstr "" + +#: config/tc-sh64.c:775 config/tc-sh64.c:875 +msgid "PTA operand is a SHcompact symbol" +msgstr "" + +#: config/tc-sh64.c:791 +msgid "invalid expression in operand" +msgstr "" + +#: config/tc-sh64.c:1488 +#, c-format +msgid "invalid operand, not a 5-bit unsigned value: %d" +msgstr "" + +#: config/tc-sh64.c:1493 +#, c-format +msgid "invalid operand, not a 6-bit signed value: %d" +msgstr "" + +#: config/tc-sh64.c:1498 +#, c-format +msgid "invalid operand, not a 6-bit unsigned value: %d" +msgstr "" + +#: config/tc-sh64.c:1503 config/tc-sh64.c:1515 +#, c-format +msgid "invalid operand, not a 11-bit signed value: %d" +msgstr "" + +#: config/tc-sh64.c:1505 +#, c-format +msgid "invalid operand, not a multiple of 32: %d" +msgstr "" + +#: config/tc-sh64.c:1510 +#, c-format +msgid "invalid operand, not a 10-bit signed value: %d" +msgstr "" + +#: config/tc-sh64.c:1517 +#, c-format +msgid "invalid operand, not an even value: %d" +msgstr "" + +#: config/tc-sh64.c:1522 +#, c-format +msgid "invalid operand, not a 12-bit signed value: %d" +msgstr "" + +#: config/tc-sh64.c:1524 +#, c-format +msgid "invalid operand, not a multiple of 4: %d" +msgstr "" + +#: config/tc-sh64.c:1529 +#, c-format +msgid "invalid operand, not a 13-bit signed value: %d" +msgstr "" + +#: config/tc-sh64.c:1531 +#, c-format +msgid "invalid operand, not a multiple of 8: %d" +msgstr "" + +#: config/tc-sh64.c:1536 +#, c-format +msgid "invalid operand, not a 16-bit signed value: %d" +msgstr "" + +#: config/tc-sh64.c:1541 +#, c-format +msgid "invalid operand, not an 16-bit unsigned value: %d" +msgstr "" + +#: config/tc-sh64.c:1547 +msgid "operand out of range for PT, PTA and PTB" +msgstr "" + +#: config/tc-sh64.c:1549 +#, c-format +msgid "operand not a multiple of 4 for PT, PTA or PTB: %d" +msgstr "" + +#: config/tc-sh64.c:2077 +#, c-format +msgid "MOVI operand is not a 32-bit signed value: 0x%8x%08x" +msgstr "" + +#: config/tc-sh64.c:2440 config/tc-sh64.c:2605 config/tc-sh64.c:2620 +msgid "invalid PIC reference" +msgstr "" + +#: config/tc-sh64.c:2498 +msgid "can't find opcode" +msgstr "" + +#: config/tc-sh64.c:2828 +#, c-format +msgid "invalid operands to %s" +msgstr "" + +#: config/tc-sh64.c:2834 +#, c-format +msgid "excess operands to %s" +msgstr "" + +#: config/tc-sh64.c:2880 +#, c-format +msgid "The `.mode %s' directive is not valid with this architecture" +msgstr "" + +#: config/tc-sh64.c:2888 +#, c-format +msgid "Invalid argument to .mode: %s" +msgstr "" + +#: config/tc-sh64.c:2919 +#, c-format +msgid "The `.abi %s' directive is not valid with this architecture" +msgstr "" + +#: config/tc-sh64.c:2925 +msgid "`.abi 64' but command-line options do not specify 64-bit ABI" +msgstr "" + +#: config/tc-sh64.c:2930 +msgid "`.abi 32' but command-line options do not specify 32-bit ABI" +msgstr "" + +#: config/tc-sh64.c:2933 +#, c-format +msgid "Invalid argument to .abi: %s" +msgstr "" + +#: config/tc-sh64.c:2966 +msgid "-no-mix is invalid without specifying SHcompact or SHmedia" +msgstr "" + +#: config/tc-sh64.c:2971 +msgid "-shcompact-const-crange is invalid without SHcompact" +msgstr "" + +#: config/tc-sh64.c:2974 +msgid "-expand-pt32 only valid with -abi=64" +msgstr "" + +#: config/tc-sh64.c:2977 +msgid "-no-expand only valid with SHcompact or SHmedia" +msgstr "" + +#: config/tc-sh64.c:2980 +msgid "-expand-pt32 invalid together with -no-expand" +msgstr "" + +#: config/tc-sh64.c:3190 +msgid "" +"SHmedia code not allowed in same section as constants and SHcompact code" +msgstr "" + +#: config/tc-sh64.c:3208 +msgid "No segment info for current section" +msgstr "" + +#: config/tc-sh64.c:3250 +msgid "duplicate datalabel operator ignored" +msgstr "" + +#: config/tc-sh64.c:3320 +msgid "Invalid DataLabel expression" +msgstr "" + #: config/tc-sparc.c:281 msgid "Invalid default architecture, broken assembler." msgstr "" @@ -7354,11 +7938,11 @@ msgstr "" msgid "alignment not a power of 2" msgstr "" -#: config/tc-sparc.c:3680 config/tc-v850.c:260 +#: config/tc-sparc.c:3680 config/tc-v850.c:231 msgid "Expected comma after symbol-name" msgstr "" -#: config/tc-sparc.c:3708 config/tc-v850.c:293 +#: config/tc-sparc.c:3708 config/tc-v850.c:264 #, c-format msgid "Length of .comm \"%s\" is already %ld. Not changed to %d." msgstr "" @@ -7845,243 +8429,249 @@ msgstr "" msgid "Invalid dmad syntax '%s'" msgstr "" -#: config/tc-tic54x.c:3707 +#: config/tc-tic54x.c:3658 +#, c-format +msgid "" +"Use the .mmregs directive to use memory-mapped register names such as '%s'" +msgstr "" + +#: config/tc-tic54x.c:3710 msgid "Address mode *+ARx is write-only. Results of reading are undefined." msgstr "" -#: config/tc-tic54x.c:3727 +#: config/tc-tic54x.c:3730 #, c-format msgid "Unrecognized indirect address format \"%s\"" msgstr "" -#: config/tc-tic54x.c:3762 +#: config/tc-tic54x.c:3765 #, c-format msgid "Operand '%s' out of range (%d <= x <= %d)" msgstr "" -#: config/tc-tic54x.c:3782 +#: config/tc-tic54x.c:3785 msgid "Error in relocation handling" msgstr "" -#: config/tc-tic54x.c:3801 config/tc-tic54x.c:3863 config/tc-tic54x.c:3889 +#: config/tc-tic54x.c:3804 config/tc-tic54x.c:3866 config/tc-tic54x.c:3892 #, c-format msgid "Unrecognized condition code \"%s\"" msgstr "" -#: config/tc-tic54x.c:3818 +#: config/tc-tic54x.c:3821 #, c-format msgid "Condition \"%s\" does not match preceding group" msgstr "" -#: config/tc-tic54x.c:3826 +#: config/tc-tic54x.c:3829 #, c-format msgid "" "Condition \"%s\" uses a different accumulator from a preceding condition" msgstr "" -#: config/tc-tic54x.c:3833 +#: config/tc-tic54x.c:3836 msgid "Only one comparison conditional allowed" msgstr "" -#: config/tc-tic54x.c:3838 +#: config/tc-tic54x.c:3841 msgid "Only one overflow conditional allowed" msgstr "" -#: config/tc-tic54x.c:3846 +#: config/tc-tic54x.c:3849 #, c-format msgid "Duplicate %s conditional" msgstr "" -#: config/tc-tic54x.c:3876 +#: config/tc-tic54x.c:3879 msgid "Invalid auxiliary register (use AR0-AR7)" msgstr "" -#: config/tc-tic54x.c:3909 +#: config/tc-tic54x.c:3912 msgid "lk addressing modes are invalid for memory-mapped register addressing" msgstr "" -#: config/tc-tic54x.c:3917 +#: config/tc-tic54x.c:3920 msgid "" "Address mode *+ARx is not allowed in memory-mapped register addressing. " "Resulting behavior is undefined." msgstr "" -#: config/tc-tic54x.c:3943 +#: config/tc-tic54x.c:3946 msgid "" "Destination accumulator for each part of this parallel instruction must be " "different" msgstr "" -#: config/tc-tic54x.c:3992 +#: config/tc-tic54x.c:3995 #, c-format msgid "Memory mapped register \"%s\" out of range" msgstr "" -#: config/tc-tic54x.c:4031 +#: config/tc-tic54x.c:4034 msgid "Invalid operand (use 1, 2, or 3)" msgstr "" -#: config/tc-tic54x.c:4056 +#: config/tc-tic54x.c:4059 msgid "A status register or status bit name is required" msgstr "" -#: config/tc-tic54x.c:4066 +#: config/tc-tic54x.c:4069 #, c-format msgid "Unrecognized status bit \"%s\"" msgstr "" -#: config/tc-tic54x.c:4089 +#: config/tc-tic54x.c:4092 #, c-format msgid "Invalid status register \"%s\"" msgstr "" -#: config/tc-tic54x.c:4101 +#: config/tc-tic54x.c:4104 #, c-format msgid "Operand \"%s\" out of range (use 1 or 2)" msgstr "" -#: config/tc-tic54x.c:4302 +#: config/tc-tic54x.c:4305 #, c-format msgid "Unrecognized instruction \"%s\"" msgstr "" -#: config/tc-tic54x.c:4331 +#: config/tc-tic54x.c:4334 #, c-format msgid "Unrecognized operand list '%s' for instruction '%s'" msgstr "" -#: config/tc-tic54x.c:4360 +#: config/tc-tic54x.c:4363 #, c-format msgid "Unrecognized parallel instruction \"%s\"" msgstr "" -#: config/tc-tic54x.c:4410 +#: config/tc-tic54x.c:4413 #, c-format msgid "Invalid operand (s) for parallel instruction \"%s\"" msgstr "" -#: config/tc-tic54x.c:4413 +#: config/tc-tic54x.c:4416 #, c-format msgid "Unrecognized parallel instruction combination \"%s || %s\"" msgstr "" -#: config/tc-tic54x.c:4645 +#: config/tc-tic54x.c:4648 #, c-format msgid "%s symbol recursion stopped at second appearance of '%s'" msgstr "" -#: config/tc-tic54x.c:4684 +#: config/tc-tic54x.c:4687 msgid "Unrecognized substitution symbol function" msgstr "" -#: config/tc-tic54x.c:4689 +#: config/tc-tic54x.c:4692 msgid "Missing '(' after substitution symbol function" msgstr "" -#: config/tc-tic54x.c:4703 +#: config/tc-tic54x.c:4706 msgid "Expecting second argument" msgstr "" -#: config/tc-tic54x.c:4716 config/tc-tic54x.c:4765 +#: config/tc-tic54x.c:4719 config/tc-tic54x.c:4768 msgid "Extra junk in function call, expecting ')'" msgstr "" -#: config/tc-tic54x.c:4741 +#: config/tc-tic54x.c:4744 msgid "Function expects two arguments" msgstr "" -#: config/tc-tic54x.c:4754 +#: config/tc-tic54x.c:4757 msgid "Expecting character constant argument" msgstr "" -#: config/tc-tic54x.c:4760 +#: config/tc-tic54x.c:4763 msgid "Both arguments must be substitution symbols" msgstr "" -#: config/tc-tic54x.c:4813 +#: config/tc-tic54x.c:4816 #, c-format msgid "Invalid subscript (use 1 to %d)" msgstr "" -#: config/tc-tic54x.c:4823 +#: config/tc-tic54x.c:4826 #, c-format msgid "Invalid length (use 0 to %d" msgstr "" -#: config/tc-tic54x.c:4833 +#: config/tc-tic54x.c:4836 msgid "Missing ')' in subscripted substitution symbol expression" msgstr "" -#: config/tc-tic54x.c:4853 +#: config/tc-tic54x.c:4856 msgid "Missing forced substitution terminator ':'" msgstr "" -#: config/tc-tic54x.c:5026 +#: config/tc-tic54x.c:5029 #, c-format msgid "" "Instruction does not fit in available delay slots (%d-word insn, %d slots " "left)" msgstr "" -#: config/tc-tic54x.c:5067 +#: config/tc-tic54x.c:5070 #, c-format msgid "Unrecognized parallel instruction '%s'" msgstr "" -#: config/tc-tic54x.c:5079 +#: config/tc-tic54x.c:5082 #, c-format msgid "Instruction '%s' requires an LP cpu version" msgstr "" -#: config/tc-tic54x.c:5086 +#: config/tc-tic54x.c:5089 #, c-format msgid "Instruction '%s' requires far mode addressing" msgstr "" -#: config/tc-tic54x.c:5098 +#: config/tc-tic54x.c:5101 #, c-format msgid "" "Instruction does not fit in available delay slots (%d-word insn, %d slots " "left). Resulting behavior is undefined." msgstr "" -#: config/tc-tic54x.c:5108 +#: config/tc-tic54x.c:5111 msgid "" "Instructions which cause PC discontinuity are not allowed in a delay slot. " "Resulting behavior is undefined." msgstr "" -#: config/tc-tic54x.c:5119 +#: config/tc-tic54x.c:5122 #, c-format msgid "'%s' is not repeatable. Resulting behavior is undefined." msgstr "" -#: config/tc-tic54x.c:5123 +#: config/tc-tic54x.c:5126 msgid "" "Instructions using long offset modifiers or absolute addresses are not " "repeatable. Resulting behavior is undefined." msgstr "" -#: config/tc-tic54x.c:5314 +#: config/tc-tic54x.c:5317 #, c-format msgid "Unsupported relocation size %d" msgstr "" -#: config/tc-tic54x.c:5468 +#: config/tc-tic54x.c:5471 msgid "non-absolute value used with .space/.bes" msgstr "" -#: config/tc-tic54x.c:5472 +#: config/tc-tic54x.c:5475 #, c-format msgid "negative value ignored in %s" msgstr "" -#: config/tc-tic54x.c:5559 +#: config/tc-tic54x.c:5562 #, c-format msgid "attempt to .space/.bes backwards? (%ld)" msgstr "" -#: config/tc-tic54x.c:5592 +#: config/tc-tic54x.c:5595 #, c-format msgid "Invalid label '%s'" msgstr "" @@ -8159,162 +8749,162 @@ msgstr "" msgid "md_convert_frag() not implemented yet" msgstr "" -#: config/tc-v850.c:271 +#: config/tc-v850.c:242 #, c-format msgid ".COMMon length (%d.) < 0! Ignored." msgstr "" -#: config/tc-v850.c:320 +#: config/tc-v850.c:291 msgid "Common alignment negative; 0 assumed" msgstr "" -#: config/tc-v850.c:1014 +#: config/tc-v850.c:916 #, c-format msgid "unknown operand shift: %x\n" msgstr "" -#: config/tc-v850.c:1015 +#: config/tc-v850.c:917 msgid "internal failure in parse_register_list" msgstr "" -#: config/tc-v850.c:1032 +#: config/tc-v850.c:934 msgid "constant expression or register list expected" msgstr "" -#: config/tc-v850.c:1037 config/tc-v850.c:1050 config/tc-v850.c:1069 +#: config/tc-v850.c:939 config/tc-v850.c:952 config/tc-v850.c:971 msgid "high bits set in register list expression" msgstr "" -#: config/tc-v850.c:1109 config/tc-v850.c:1173 +#: config/tc-v850.c:1011 config/tc-v850.c:1075 msgid "illegal register included in list" msgstr "" -#: config/tc-v850.c:1116 +#: config/tc-v850.c:1018 msgid "system registers cannot be included in list" msgstr "" -#: config/tc-v850.c:1121 +#: config/tc-v850.c:1023 msgid "PSW cannot be included in list" msgstr "" -#: config/tc-v850.c:1128 +#: config/tc-v850.c:1030 msgid "High value system registers cannot be included in list" msgstr "" -#: config/tc-v850.c:1152 +#: config/tc-v850.c:1054 msgid "second register should follow dash in register list" msgstr "" -#: config/tc-v850.c:1199 +#: config/tc-v850.c:1101 msgid " V850 options:\n" msgstr "" -#: config/tc-v850.c:1200 +#: config/tc-v850.c:1102 msgid " -mwarn-signed-overflow Warn if signed immediate values overflow\n" msgstr "" -#: config/tc-v850.c:1201 +#: config/tc-v850.c:1103 msgid "" " -mwarn-unsigned-overflow Warn if unsigned immediate values overflow\n" msgstr "" -#: config/tc-v850.c:1202 +#: config/tc-v850.c:1104 msgid " -mv850 The code is targeted at the v850\n" msgstr "" -#: config/tc-v850.c:1203 +#: config/tc-v850.c:1105 msgid " -mv850e The code is targeted at the v850e\n" msgstr "" -#: config/tc-v850.c:1204 +#: config/tc-v850.c:1106 msgid " -mv850ea The code is targeted at the v850ea\n" msgstr "" -#: config/tc-v850.c:1205 +#: config/tc-v850.c:1107 msgid "" " -mv850any The code is generic, despite any processor " "specific instructions\n" msgstr "" -#: config/tc-v850.c:1217 config/tc-v850.c:1255 +#: config/tc-v850.c:1119 config/tc-v850.c:1157 #, c-format msgid "unknown command line option: -%c%s\n" msgstr "" -#: config/tc-v850.c:1405 +#: config/tc-v850.c:1306 #, c-format msgid "Unable to determine default target processor from string: %s" msgstr "" -#: config/tc-v850.c:1453 +#: config/tc-v850.c:1344 msgid "ctoff() relocation used on an instruction which does not support it" msgstr "" -#: config/tc-v850.c:1475 +#: config/tc-v850.c:1370 msgid "sdaoff() relocation used on an instruction which does not support it" msgstr "" -#: config/tc-v850.c:1497 +#: config/tc-v850.c:1396 msgid "zdaoff() relocation used on an instruction which does not support it" msgstr "" -#: config/tc-v850.c:1530 +#: config/tc-v850.c:1433 msgid "tdaoff() relocation used on an instruction which does not support it" msgstr "" -#: config/tc-v850.c:1746 +#: config/tc-v850.c:1657 msgid "Target processor does not support this instruction." msgstr "" -#: config/tc-v850.c:1836 config/tc-v850.c:1866 config/tc-v850.c:2054 +#: config/tc-v850.c:1747 config/tc-v850.c:1777 config/tc-v850.c:1965 msgid "immediate operand is too large" msgstr "" -#: config/tc-v850.c:1848 +#: config/tc-v850.c:1759 msgid "AAARG -> unhandled constant reloc" msgstr "" -#: config/tc-v850.c:1892 +#: config/tc-v850.c:1803 msgid "invalid register name" msgstr "" -#: config/tc-v850.c:1897 +#: config/tc-v850.c:1808 msgid "register r0 cannot be used here" msgstr "" -#: config/tc-v850.c:1909 +#: config/tc-v850.c:1820 msgid "invalid system register name" msgstr "" -#: config/tc-v850.c:1922 +#: config/tc-v850.c:1833 msgid "expected EP register" msgstr "" -#: config/tc-v850.c:1939 +#: config/tc-v850.c:1850 msgid "invalid condition code name" msgstr "" -#: config/tc-v850.c:1960 config/tc-v850.c:1964 +#: config/tc-v850.c:1871 config/tc-v850.c:1875 msgid "constant too big to fit into instruction" msgstr "" -#: config/tc-v850.c:2017 +#: config/tc-v850.c:1928 msgid "syntax error: value is missing before the register name" msgstr "" -#: config/tc-v850.c:2019 +#: config/tc-v850.c:1930 msgid "syntax error: register not expected" msgstr "" -#: config/tc-v850.c:2033 +#: config/tc-v850.c:1944 msgid "syntax error: system register not expected" msgstr "" -#: config/tc-v850.c:2038 +#: config/tc-v850.c:1949 msgid "syntax error: condition code not expected" msgstr "" -#: config/tc-v850.c:2079 +#: config/tc-v850.c:1990 msgid "invalid operand" msgstr "" @@ -8525,6 +9115,15 @@ msgstr "" msgid "call to tc_Nout_fix_to_chars \n" msgstr "" +#: config/tc-xstormy16.c:80 +msgid " XSTORMY16 specific command line options:\n" +msgstr "" + +#: config/tc-xstormy16.c:561 +#, c-format +msgid "internal error: can't install fix for reloc type %d (`%s')" +msgstr "" + #: config/tc-z8k.c:285 #, c-format msgid "register rr%d, out of range." @@ -9681,11 +10280,6 @@ msgstr "" msgid "bignum truncated to %d bytes" msgstr "" -#: read.c:3749 -#, c-format -msgid "unsupported BFD relocation size %u" -msgstr "" - #: read.c:3839 msgid "using a bit field width of zero" msgstr "" |