189857Sobrien2001-12-31 Richard Henderson <rth@redhat.com> 289857Sobrien 389857Sobrien * config/tc-ia64.c (errata_nop_necessary_p): Prototype. 489857Sobrien (make_unw_section_name): Constify local variables. 589857Sobrien 689857Sobrien * config/tc-ia64.c (has_suffix_p): New. 789857Sobrien (note_register_values): Use it instead of strstr. 889857Sobrien 989857Sobrien2001-12-31 Jeffrey A Law (law@redhat.com) 1089857Sobrien 11218822Sdim * config/tc-hppa.c (pa_ip): Handle new 'c' mode completers, 12218822Sdim 'X', 'M', and 'A'. 1389857Sobrien 1489857Sobrien2001-12-21 Jakub Jelinek <jakub@redhat.com> 1589857Sobrien 1689857Sobrien * config/tc-sparc.h (TC_PARSE_CONS_EXPRESSION): Define. 1789857Sobrien (sparc_cons): Provide prototype. 1889857Sobrien * config/tc-sparc.c (tc_gen_reloc): Handle BFD_RELOC_*_PCREL and 1989857Sobrien BFD_RELOC_SPARC_PLT{32,64}. Enumerate for which relocs 2089857Sobrien reloc->addend = fixp->fx_addnumber shouldn't be done instead of 2189857Sobrien enumarating for which pc relative ones it should be done. 2289857Sobrien (sparc_cons_special_reloc): New variable. 2389857Sobrien (sparc_cons): New function. 2489857Sobrien (cons_fix_new_sparc): Use sparc_cons_special_reloc. 2589857Sobrien * testsuite/gas/sparc/pcrel.s: New test. 2689857Sobrien * testsuite/gas/sparc/pcrel.d: Expected output. 2789857Sobrien * testsuite/gas/sparc/pcrel64.s: New test. 2889857Sobrien * testsuite/gas/sparc/pcrel64.d: Expected output. 2989857Sobrien * testsuite/gas/sparc/plt.s: New test. 3089857Sobrien * testsuite/gas/sparc/plt.d: Expected output. 3189857Sobrien * testsuite/gas/sparc/plt64.s: New test. 3289857Sobrien * testsuite/gas/sparc/plt64.d: Expected output. 3389857Sobrien * testsuite/gas/sparc/sparc.exp: Add pcrel, pcrel64, plt and plt64 3489857Sobrien tests. 3589857Sobrien 3689857Sobrien2001-12-20 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 3789857Sobrien Daniel Jacobowitz <drow@mvista.com> 3889857Sobrien 3989857Sobrien * config/tc-mips.c (file_mips_gp32): Initialize to invalid value. 4089857Sobrien (file_mips_fp32): Likewise. 4189857Sobrien (md_begin): Compatibility handling for -mipsN option. 4289857Sobrien 4389857Sobrien2001-12-20 Alexandre Oliva <aoliva@redhat.com> 4489857Sobrien 4589857Sobrien * config/tc-sh.c (parse_at): Reject @(r0) and @(r0,). 4689857Sobrien 4789857Sobrien2001-12-20 matthew green <mrg@redhat.com> 4889857Sobrien 4989857Sobrien * config/tc-ppc.c (md_parse_option): Make -maltivec default 5089857Sobrien to generating PowerPC instructions. 5189857Sobrien 5289857Sobrien2001-12-20 Jason Thorpe <thorpej@wasabisystems.com> 5389857Sobrien 5489857Sobrien * configure.in (mips-dec-netbsd*): Delete. 5589857Sobrien * configure: Regenerate. 5689857Sobrien 5789857Sobrien * configure.in (arm-*-netbsdelf*): Add target. 5889857Sobrien * configure: Regenerate. 5989857Sobrien 6089857Sobrien2001-12-18 Nick Clifton <nickc@cambridge.redhat.com> 6189857Sobrien 6289857Sobrien * config/tc-mips.h (TC_HANDLE_FX_DONE): Remove redundant 6389857Sobrien definition. 6489857Sobrien 6589857Sobrien2001-12-18 Niibe Yutaka <gniibe@m17n.org> 6689857Sobrien 6789857Sobrien * configure.in (assign object format): Bug fix for setting 6889857Sobrien endian. 6989857Sobrien * configure: Regenerate. 7089857Sobrien 7189857Sobrien2001-12-18 matthew green <mrg@eterna.com.au> 7289857Sobrien 7389857Sobrien * configure.in (m68k-*-netbsdelf*): New target. 7489857Sobrien (m68k-*-netbsd*): Also include ELF support. 7589857Sobrien (m68k-*-netbsdaout*): New alias for m68*-*-netbsd*. 7689857Sobrien * configure: Regenerate. 7789857Sobrien 7889857Sobrien2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 7989857Sobrien 8089857Sobrien * gasp.c (main): Protoype. 8189857Sobrien 8289857Sobrien2001-12-17 Richard Henderson <rth@redhat.com> 8389857Sobrien 8489857Sobrien * config/tc-alpha.c (alpha_handle_align): Encode unop with RB as $sp. 8589857Sobrien 8689857Sobrien2001-12-17 Nick Clifton <nickc@cambridge.redhat.com> 8789857Sobrien 8889857Sobrien * cgen.c: Add prototype for queue_fixup. 8989857Sobrien (gas_cgen_parse_operand): Move initilisastion of errmsg to avoid 9089857Sobrien possible longjmp corruption. 9189857Sobrien * cgen.h: Add prototype for gas_cgen_md_operand. 9289857Sobrien 9389857Sobrien2001-12-15 Alan Modra <amodra@bigpond.net.au> 9489857Sobrien 9589857Sobrien * config/obj-elf.c (obj_elf_init_stab_section): References are 9689857Sobrien kept to section name strings. Don't alloca them! 9789857Sobrien 9889857Sobrien2001-12-12 Alexandre Oliva <aoliva@redhat.com> 9989857Sobrien 10089857Sobrien * config/tc-d10v.c (get_operands): Mark OPERAND_PLUS after 10189857Sobrien OPERAND_ATSIGN as O_absent. 10289857Sobrien 10389857Sobrien2001-12-07 Geoffrey Keating <geoffk@redhat.com> 10489857Sobrien Richard Henderson <rth@redhat.com> 10589857Sobrien 10689857Sobrien * configure.in: Add support for xstormy16. 10789857Sobrien * configure: Regenerated. 10889857Sobrien * Makefile.am: Add support for xstormy16. 10989857Sobrien * Makefile.in: Regenerated. 11089857Sobrien * config/tc-xstormy16.c: New file. 11189857Sobrien * config/tc-xstormy16.h: New file. 11289857Sobrien 11389857Sobrien2001-12-06 Richard Earnshaw (rearnsha@arm.com) 11489857Sobrien 11589857Sobrien * tc-arm.c (do_arit, do_cmp, do_mov, do_ldst, do_ldstt, do_ldmstm) 11689857Sobrien (do_branch, do_swi, do_adr, do_adrl, do_empty, do_mul, do_mla) 11789857Sobrien (do_swap, do_msr, do_mrs, do_mull, do_ldstv4, do_bx, do_blx) 11889857Sobrien (do_bkpt, do_clz, do_lstc2, do_cdp2, do_co_reg2, do_smla, do_smlal) 11989857Sobrien (do_smul, do_qadd, do_pld, do_ldrd, do_co_reg2c, do_cdp, do_lstc) 12089857Sobrien (do_co_reg, do_fpa_ctrl, do_fpa_ldst, do_fpa_ldmstm, do_fpa_monadic) 12189857Sobrien (do_fpa_dyadic, do_fpa_cmp, do_fpa_from_reg, do_fpa_to_reg, do_mia) 12289857Sobrien (do_mar, do_mra, do_c_binops, do_c_binops_1, do_c_binops_2) 12389857Sobrien (do_c_binops_3, do_c_triple, do_c_triple_4, do_c_triple_5, do_c_quad) 12489857Sobrien (do_c_quad_6, do_c_dspsc, do_c_dspsc_1, do_c_dspsc_2, do_c_shift) 12589857Sobrien (do_c_shift_1, do_c_shift_2, do_c_ldst, do_c_ldst_1, do_c_ldst_2) 12689857Sobrien (do_c_ldst_3, do_c_ldst_4, do_branch25): Delete redundant argument, 12789857Sobrien FLAGS. 12889857Sobrien (struct asm_opcode): Adjust parms field accordingly. 12989857Sobrien (md_assemble): Don't pass dummy second argument when calling worker 13089857Sobrien functions. 13189857Sobrien (build_arm_ops_hsh): Add prototype 13289857Sobrien (BAD_FLAGS): Delete. 13389857Sobrien 13489857Sobrien2001-12-05 Richard Earnshaw <rearnsha@arm.com> 13589857Sobrien 13689857Sobrien * tc-arm.c (struct asm_opcode): Delete comp_suffix and flags. Add 13789857Sobrien cond_offset. Rename variants->variant. 13889857Sobrien (insns): Adjust for new format. Explicitly code each variant that 13989857Sobrien takes flags. Remove temporary instructions. 14089857Sobrien (struct arm_it): Remove redundant field suffix. 14189857Sobrien (s_flag, ldr_flags, str_flags, byte_flag, cmp_flags, ldm_flags) 14289857Sobrien (stm_flags, lfm_flags, sfm_flags, round_flags, fix_flags, except_flag) 14389857Sobrien (long_flag): Delete. 14489857Sobrien (struct asm_flg): Delete. 14589857Sobrien (LONGEST_INST): Delete. 14689857Sobrien (V4_STR_BIT): Define. 14789857Sobrien (struct thumb_opcode): Rename variants->variant. 14889857Sobrien (do_empty): Renamed from do_nop. 14989857Sobrien (ldst_extend): Delete argument hwse. Split code for half-word and 15089857Sobrien signed byte instructions to ... 15189857Sobrien (ldst_extend_v4): ... here. 15289857Sobrien (ld_mode_required_here): Use ldst_extend_v4. 15389857Sobrien (do_ldrd): Simplify now that this is only called for ldrd. No 15489857Sobrien need to test for XScale, which was wrong anyway. Don't reject r12 15589857Sobrien as a target register. Add test that ldrd doesn't update an index 15689857Sobrien register. 15789857Sobrien (do_pld): Don't allow post-indexed or write-back addressing modes. 15889857Sobrien Adjust call to ldst_extend. 15989857Sobrien (do_adr): Split code for adrl to ... 16089857Sobrien (do_adrl): ... here. 16189857Sobrien (do_cmp): No need to fold in COND_BIT. 16289857Sobrien (do_ldst): Simplify. Split code for ldrt/strt into do_ldstt. Split 16389857Sobrien code to handle half-word and signed byte instructions to ... 16489857Sobrien (do_ldstv4): ... here. 16589857Sobrien (do_ldstt): New function. Handle load/store with translate. 16689857Sobrien (do_ldmstm): Write feature modification bits directly into 16789857Sobrien inst.instruction. 16889857Sobrien (do_fpa_ldst): Remove suffix handling code. 16989857Sobrien (do_fpa_dyadic, do_fpa_monadic, do_fpa_from_reg): Likewise. 17089857Sobrien (do_fpa_ldmstm): Type of access is now held in inst.instruction. 17189857Sobrien (build_arm_ops_hsh): New function. 17289857Sobrien (md_begin): Call it. Don't build the ARM opcode directly. 17389857Sobrien (md_assemble): Simplify ARM instruction handling. 17489857Sobrien 17589857Sobrien2001-12-05 Arati Dikey <aratid@kpit.com> 17689857Sobrien 17789857Sobrien * tc-sh.c (parse_at): Corrected incorrect op->type selection due 17889857Sobrien to missing 'else'. 17989857Sobrien 18089857Sobrien2001-12-04 Alexandre Oliva <aoliva@redhat.com> 18189857Sobrien 18289857Sobrien * config/tc-d10v.c (write_2_short): Don't skip dummy fixups, so 18389857Sobrien that we can tell which operand refers to the insn put in the L 18489857Sobrien container and mark it as such, so that the relocation type can be 18589857Sobrien adjusted. 18689857Sobrien 18789857Sobrien2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 18889857Sobrien 18989857Sobrien * config/tc-mips.c (mips_cpreturn_offset): Better comment. 19089857Sobrien (load_register): Better error message. Cast away signedness 19189857Sobrien mismatches. Add casts needed for varargs. 19289857Sobrien (load_address): Replace checks of HAVE_64BIT_ADDRESS with dbl. 19389857Sobrien Remove superfluous casts. 19489857Sobrien (macro): Cast away signedness mismatches. Remove superfluous casts. 19589857Sobrien (s_cpload): Fix wrong comment. 19689857Sobrien (s_mips_weakext): Standardize output message. 19789857Sobrien (get_number): Likewise. 19889857Sobrien 19989857Sobrien2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 20089857Sobrien 20189857Sobrien * config/tc-mips.c (append_insn): Add jump address range overflow 20289857Sobrien check. 20389857Sobrien 20489857Sobrien2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 20589857Sobrien 20689857Sobrien * config/tc-mips.c (md_parse_option): Fix comment. Allow -mabi option 20789857Sobrien for ELF only. 20889857Sobrien (show): Document -mabi option. 20989857Sobrien 21089857Sobrien2001-12-03 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com> 21189857Sobrien 21289857Sobrien * config/tc-arm.c (md_parse_option): Only clear cpu part when 21389857Sobrien specifying 'xscale' cpu (don't change the fpu part). 21489857Sobrien 21589857Sobrien2001-12-04 Alexandre Oliva <aoliva@redhat.com> 21689857Sobrien 21789857Sobrien * config/tc-d10v.c (find_opcode): Reject SP operand if 21889857Sobrien OPERAND_NOSP flag is present. 21989857Sobrien 22089857Sobrien2001-12-03 Eric Christopher <echristo@redhat.com> 22189857Sobrien 22289857Sobrien * config/tc-mips.c (tc_gen_reloc): One missed BFD_RELOC_MIPS_GPREL. 22389857Sobrien 22489857Sobrien2001-12-02 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 22589857Sobrien 22689857Sobrien * config/tc-mips.c (macro_build): Replace BFD_RELOC_MIPS_GPREL 22789857Sobrien by BFD_RELOC_GPREL16. 22889857Sobrien (load_address): Likewise. 22989857Sobrien (macro): Likewise. 23089857Sobrien (md_apply_fix): Likewise. Replace BFD_RELOC_MIPS_GPREL32 by 23189857Sobrien BFD_RELOC_GPREL32. 23289857Sobrien (s_gpword): Replace BFD_RELOC_MIPS_GPREL32 by BFD_RELOC_GPREL32. 23389857Sobrien (tc_gen_reloc): Replace BFD_RELOC_MIPS_GPREL by BFD_RELOC_GPREL16. 23489857Sobrien *config/tc-mips.h: Replace BFD_RELOC_MIPS_GPREL by BFD_RELOC_GPREL16. 23589857Sobrien 23689857Sobrien2001-11-29 Alexandre Oliva <aoliva@redhat.com> 23789857Sobrien 23889857Sobrien * config/tc-d10v.c (get_operands): Emit OPERAND_PLUS for 23989857Sobrien prefix `+'. 24089857Sobrien 24189857Sobrien * config/tc-d10v.c (find_opcode): Reject non-SP operand if 24289857Sobrien flags requires SP. 24389857Sobrien 24489857Sobrien2001-11-29 Arati Dikey <aratid@kpit.com> 24589857Sobrien 24689857Sobrien * tc-sh.c (parse_at): Removed case-sensitivity of index register 24789857Sobrien R8, R9. 24889857Sobrien 24989857Sobrien2001-11-28 Jakub Jelinek <jakub@redhat.com> 25089857Sobrien 25189857Sobrien * write.c (adjust_reloc_syms): Mark SEC_MERGE symbols as used 25289857Sobrien in reloc if it has non-zero addend. 25389857Sobrien * config/tc-alpha.c (tc_gen_reloc): Reinstall SEC_MERGE check. 25489857Sobrien * config/tc-sparc.c (md_apply_fix3): Likewise. 25589857Sobrien 25689857Sobrien2001-11-28 Andreas Schwab <schwab@suse.de> 25789857Sobrien 25889857Sobrien * as.c (parse_args): Call md_after_parse_args if defined. 25989857Sobrien * config/tc-ia64.h (md_after_parse_args): Define. 26089857Sobrien * config/tc-ia64.c (ia64_after_parse_args): Reject --gstabs. 26189857Sobrien * doc/internals.texi (CPU backend): Document md_after_parse_args. 26289857Sobrien 26389857Sobrien2001-11-23 Jakub Jelinek <jakub@redhat.com> 26489857Sobrien 26589857Sobrien * config/tc-alpha.c (tc_gen_reloc): Remove SEC_MERGE test. 26689857Sobrien * write.c (adjust_reloc_syms): Don't handle relocs against 26789857Sobrien SEC_MERGE section symbols specially. 26889857Sobrien (fixup_segment): Likewise. 26989857Sobrien 27089857Sobrien2001-11-21 Richard Sandiford <rsandifo@redhat.com> 27189857Sobrien 27289857Sobrien * config/tc-mips.c (mips_need_elf_addend_fixup): New, extracted from... 27389857Sobrien (md_apply_fix3): ...here. Don't prevent the symbol value being 27489857Sobrien subtracted twice from GPREL addends. 27589857Sobrien (tc_gen_reloc): Add the symbol value to a GPREL addend if it was 27689857Sobrien subtracted by the previous function. 27789857Sobrien 27889857Sobrien2001-11-20 Nick Clifton <nickc@cambridge.redhat.com> 27989857Sobrien 28089857Sobrien * config/tc-avr.c (md_apply_fix3): Fix typo introduced by 28189857Sobrien md_apply_fix3 change. 28289857Sobrien 28389857Sobrien2001-11-20 Ben Elliston <bje@redhat.com> 28489857Sobrien 28589857Sobrien * config/tc-m88k.c (md_apply_fix3): Match local variable `val' to 28689857Sobrien usage after md_apply_fix3 cleanups. 28789857Sobrien 28889857Sobrien2001-11-19 Hans-Peter Nilsson <hp@bitrange.com> 28989857Sobrien 29089857Sobrien * doc/c-mmix.texi: Use texinfo 4 features. 29189857Sobrien (MMIX-mmixal): Fix typo. 29289857Sobrien 29389857Sobrien2001-11-17 Hans-Peter Nilsson <hp@axis.com> 29489857Sobrien 29589857Sobrien * config/tc-cris.c (md_apply_fix3): Cast value, not pointer, in 29689857Sobrien val assignment. 29789857Sobrien 29889857Sobrien2001-11-16 Michael Snyder <msnyder@redhat.com> 29989857Sobrien 30089857Sobrien * stabs.c (stabs_generate_asm_lineno): Remember file and line number 30189857Sobrien from one call to the next, and eliminate consecutive duplicates 30289857Sobrien (thereby emitting only one line symbol per source line). 30389857Sobrien * dwarf2dbg.c (dwarf2_gen_line_info): Ditto. 30489857Sobrien 30589857Sobrien2001-11-16 Alan Modra <amodra@bigpond.net.au> 30689857Sobrien 30789857Sobrien * config/tc-m68k.c (md_apply_fix3): Change val back to a signed type. 30889857Sobrien 30989857Sobrien2001-11-15 H.J. Lu <hjl@gnu.org> 31089857Sobrien 31189857Sobrien * config/tc-hppa.c (md_apply_fix3): Fix a typo. 31289857Sobrien 31389857Sobrien2001-11-15 H.J. Lu <hjl@gnu.org> 31489857Sobrien 31589857Sobrien * config/tc-alpha.c (md_apply_fix3): Fix a typo. 31689857Sobrien 31789857Sobrien2001-11-15 Nick Clifton <nickc@cambridge.redhat.com> 31889857Sobrien 31989857Sobrien * write.c (fixup_segment): Remove references to md_apply_fix and 32089857Sobrien TC_HANDLE_FX_DONE. 32189857Sobrien * cgen.c, config/obj-coff.c, config/tc-*.c: Update all occurances 32289857Sobrien of md_apply_fix to md_apply_fix3. 32389857Sobrien Make all md_apply_fix3 functions void. 32489857Sobrien * cgen.h, config/obj-coff.h, tc-*.h: Remove all definitions of 32589857Sobrien MD_APPLY_FIX3 and TC_HANDLE_FX_DONE. 32689857Sobrien * doc/internals.texi: Update references to md_apply_fix3. 32789857Sobrien * tc.h: Update prototype for md_apply_fix3. 32889857Sobrien 32989857Sobrien2001-11-15 Alan Modra <amodra@bigpond.net.au> 33089857Sobrien 33189857Sobrien * config/tc-i386.h (md_end): Define. 33289857Sobrien (i386_elf_emit_arch_note): Declare. 33389857Sobrien (CpuUnknown): Delete. 33489857Sobrien * config/tc-i386.c (default_arch): Constify. 33589857Sobrien (smallest_imm_type): Remove CpuUnknown test. 33689857Sobrien (md_assemble): Don't bother checking cpu_arch_flags non-zero. 33789857Sobrien (i386_elf_emit_arch_note): New function. 33889857Sobrien 33989857Sobrien * po/POTFILES.in: Regenerate. 34089857Sobrien 34189857Sobrien2001-11-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 34289857Sobrien 34389857Sobrien * config/tc-mips.c (mips_ip): Re-allow %hi() op for non-ELF assembler. 34489857Sobrien 34589857Sobrien2001-11-15 Alan Modra <amodra@bigpond.net.au> 34689857Sobrien 34789857Sobrien * frags.c (frag_grow): Revert last change. 34889857Sobrien 34989857Sobrien * dwarf2dbg.c (get_frag_fix): Align last frag size. 35089857Sobrien 35189857Sobrien * config/tc-ppc.c (ppc_insert_operand): Pass (ppc_cpu | ppc_size) 35289857Sobrien to operand->insert. 35389857Sobrien (md_assemble): Likewise. 35489857Sobrien 35589857Sobrien2001-11-12 Nick Clifton <nickc@cambridge.redhat.com> 35689857Sobrien 35789857Sobrien * frags.c (frag_grow): Use frag_make_room() to grow the 35889857Sobrien obstack. 35989857Sobrien 36089857Sobrien2001-11-14 Nick Clifton <nickc@cambridge.redhat.com> 36189857Sobrien 36289857Sobrien * config/tc-sparc.c (md_apply_fix3): Do not remove the symbol's 36389857Sobrien value from the addend for fixups against local symbols in 36489857Sobrien SEC_MERGE sections - it was not added in, in the first place. 36589857Sobrien 36689857Sobrien2001-11-11 Timothy Wall <twall@alum.mit.edu> 36789857Sobrien 36889857Sobrien * write.c (relax_segment): Convert symbol address into an octet 36989857Sobrien offset prior to adding to the frag address, which is an octet 37089857Sobrien offset. Add comments to that effect. 37189857Sobrien * config/tc-tic54x.c: Fix bugs causing tests to fail. 37289857Sobrien * config/tc-tic54x.h: Ditch PARAMS macro. 37389857Sobrien 37489857Sobrien2001-11-13 Alan Modra <amodra@bigpond.net.au> 37589857Sobrien 37689857Sobrien * config/obj-elf.c (obj_elf_version): Ensure terminating NUL is 37789857Sobrien put in note section. Use sizeof instead of hard-coded constants. 37889857Sobrien 37989857Sobrien2001-11-12 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 38089857Sobrien 38189857Sobrien * config/tc-mips.c (support_64bit_objects): Define for OBJ_ELF only. 38289857Sobrien (md_longopts): Allow OPTION_MABI for ELF compilation only. RE-allow 38389857Sobrien OPTION_GP32, OPTION_GP64, OPTION_FP32 for non-ELF compilation. 38489857Sobrien Sort options a bit more logical. 38589857Sobrien (md_parse_option): Allow OPTION_32, OPTION_N32, OPTION_N64, 38689857Sobrien OPTION_MABI only for elf targets. 38789857Sobrien 38889857Sobrien2001-11-12 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 38989857Sobrien 39089857Sobrien * config/tc-mips.c (set_at): Add cast needed for varargs. 39189857Sobrien (load_register): Likewise. 39289857Sobrien (macro): Likewise. Some code reformatting. 39389857Sobrien (macro2): Add cast needed for varargs. 39489857Sobrien (mips16_macro): Likewise. 39589857Sobrien 39689857Sobrien2001-11-12 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 39789857Sobrien 39889857Sobrien * config/tc-mips.c (md_assemble): Remove superflous casts. 39989857Sobrien (append_insn): Likewise. 40089857Sobrien (mips16_macro_build): Likewise. 40189857Sobrien (macro): Likewise. 40289857Sobrien (mips16_ip): Likewise. 40389857Sobrien (s_cpload): Likewise. 40489857Sobrien (mips_relax_frag): Likewise. 40589857Sobrien 40689857Sobrien2001-11-12 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 40789857Sobrien 40889857Sobrien * config/tc-mips.c (mips_abi_level): Move in front of 40989857Sobrien mips_set_options. 41089857Sobrien (mips_set_options): Add members gp32, fp32, abi. 41189857Sobrien (file_mips_gp32): New flag. 41289857Sobrien (file_mips_fp32): New flag. 41389857Sobrien (mips_opts): Initialize the new members. 41489857Sobrien (mips_gp32): Remove. 41589857Sobrien (mips_fp32): Remove. 41689857Sobrien (HAVE_32BIT_GPRS): Use the new values from mips_opts. 41789857Sobrien (HAVE_32BIT_FPRS): Likewise. 41889857Sobrien (HAVE_NEWABI): Likewise. 41989857Sobrien (HAVE_64BIT_OBJECTS): Likewise. 42089857Sobrien (md_begin): Likewise. Save default (file) values. 42189857Sobrien (md_parse_option): Use the new values from mips_opts. 42289857Sobrien (s_mipsset): Likewise. Fix logic to keep the ABI selection if 42389857Sobrien possible. Let .set mipsN work together with .set push/pop. 42489857Sobrien Enhance error messages. 42589857Sobrien (mips_elf_final_processing): Use file_mips_* for header processing. 42689857Sobrien 42789857Sobrien2001-11-09 Marek Michalkiewicz <marekm@amelek.gda.pl> 42889857Sobrien 42989857Sobrien * config/tc-avr.c (mcu_types): Update for new devices. 43089857Sobrien 43189857Sobrien2001-11-09 Stephane Carrez <Stephane.Carrez@worldnet.fr> 43289857Sobrien 43389857Sobrien * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for 43489857Sobrien the page man title. 43589857Sobrien * doc/Makefile.in: Rebuild. 43689857Sobrien * doc/as.texinfo: Do not put man SEEALSO in document; 43789857Sobrien Use @command for commands, @option for options; Reorganize usage 43889857Sobrien to clearly identify target specific options. 43989857Sobrien 44089857Sobrien2001-11-08 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 44189857Sobrien 44289857Sobrien * config/tc-mips.c (mips_force_relocation): Remove duplicate code. 44389857Sobrien 44489857Sobrien2001-11-06 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 44589857Sobrien 44689857Sobrien * config/tc-mips.c (my_getSmallParser): Fix small parser bug. 44789857Sobrien 44889857Sobrien2001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com> 44989857Sobrien 45089857Sobrien * config/tc-s390.c (tc_s390_force_relocation): Force all relocations 45189857Sobrien that need the global offset table. 45289857Sobrien (md_apply_fix3): Add code to undo opertions done in fixup_segment 45389857Sobrien triggered by TC_FORCE_RELOCATION. 45489857Sobrien * config/tc-s390.h (TC_FORCE_RELOCATION): Replace macro code with 45589857Sobrien a call to function tc_s390_force_relocation. 45689857Sobrien (TC_FIX_ADJUSTABLE): Define. 45789857Sobrien 45889857Sobrien2001-11-04 Chris Demetriou <cgd@broadcom.com> 45989857Sobrien 46089857Sobrien * configure.in (mips-*-netbsd*): Add support for target. 46189857Sobrien * configure: Regenerate. 46289857Sobrien 46389857Sobrien2001-11-02 Nick Clifton <nickc@cambridge.redhat.com> 46489857Sobrien 46589857Sobrien * configure.in (ALL_LINGUAS): Add 'fr'. 46689857Sobrien * configure: Regernate. 46789857Sobrien * po/fr.po: New file. Obtained from the translation project web 46889857Sobrien site. 46989857Sobrien 47089857Sobrien2001-11-02 Richard Earnshaw <rearnsha@arm.com> 47189857Sobrien 47289857Sobrien * tc-arm.c: Re-arrange prototypes by architecture. 47389857Sobrien (insns): Re-arrange instructions by archtitecture. Pld instruction 47489857Sobrien is part of ARMv5E. 47589857Sobrien (tinsns): blx and bkpt are part of ARMv5T. 47689857Sobrien (do_fp_{ctrl,ldst,ldstm,dyadic,monadic,cmp,from_reg,to_reg}): Rename 47789857Sobrien to do_fpa_*. All callers changed. 47889857Sobrien 47989857Sobrien * tc-arm.c (insns): Add two temporary instructions to handle 48089857Sobrien ldrd/strd. 48189857Sobrien 48289857Sobrien2001-11-01 Stephane Carrez <Stephane.Carrez@worldnet.fr> 48389857Sobrien 48489857Sobrien * config/tc-m68hc11.c (build_jump_insn): Allocate worst case storage 48589857Sobrien for bra/bsr and use frag_variant(), this ensure that the possible 48689857Sobrien 16-bit BFD_RELOC_16 will be in the same frag. 48789857Sobrien 48889857Sobrien2001-10-31 Chris Demetriou <cgd@broadcom.com> 48989857Sobrien 49089857Sobrien * config/tc-mips.c (HAVE_32BIT_ADDRESSES): If compiling embedded 49189857Sobrien PIC code, assume pointers the same size as GPRs. 49289857Sobrien (macro): In M_LA_AB handling for embedded PIC code, support 49389857Sobrien "la $treg,foo-bar($breg)". In load/store handling 49489857Sobrien (label ld_st) support "<op> $treg,<sym>-<local_sym>($breg)" 49589857Sobrien which is used by the compiler for switch statements. 49689857Sobrien In load/store double multi-instruction macro handling 49789857Sobrien (label ldd_std) add a comment that no special handling 49889857Sobrien is currently done for embedded PIC. 49989857Sobrien (mips_ip): In 'o' (16-bit offset) case, only accept 16 50089857Sobrien bit offsets. 50189857Sobrien 50289857Sobrien2001-10-31 Richard Earnshaw <rearnsha@arm.com> 50389857Sobrien 50489857Sobrien General cleanup of feature definitions. 50589857Sobrien * tc-arm.c (ARM_EXT_LONGMUL, ARM_EXT_HALFWORD, ARM_EXT_THUMB): Delete. 50689857Sobrien (ARM_2UP, ARM_ALL, ARM_3UP, ARM_6UP): Delete. 50789857Sobrien (FPU_CORE, FPU_FPA10, FPA_FPA11, FPU_ALL, FPA_MEMMULTI): Delete. 50889857Sobrien (ARM_EXT_V{1,2,2S,3,3M,4,4T,5T,5ExP}): New defines. 50989857Sobrien (ARM_EXT_V{5,5E}): Synchronize with above. 51089857Sobrien (ARM_ARCH_V*): Define a complete set in terms of above features. 51189857Sobrien (ARM_{1,2,3,250,6,7,8,9,STRONG}): Define in terms of architecture. 51289857Sobrien (FPU_FPA_EXT_V[12]): Define. 51389857Sobrien (FPU_ARCH_FPE, FPU_ARCH_FPA): Define in terms of above. 51489857Sobrien (FPU_ANY): Define. 51589857Sobrien (FPU_DEFAULT): Default to FPA. 51689857Sobrien (CPU_DEFAULT): For XScale, this is now just ARM_ARCH_XSCALE; for 51789857Sobrien Thumb, this is now ARM_ARCH_V5T. 51889857Sobrien (insns): Rework for new feature defines. 51989857Sobrien (tinsns): Likewise. 52089857Sobrien (opcode_select, do_ldst, md_begin, md_parse_option): Likewise. 52189857Sobrien 52289857Sobrien2001-10-31 NIIBE Yutaka <gniibe@m17n.org> 52389857Sobrien 52489857Sobrien * configure.in: Handle sh*eb-*-linux* and sh*-*-linux*. 52589857Sobrien * configure: Regenerate. 52689857Sobrien * Makefile.in: Regenerate. 52789857Sobrien * doc/c-sh.texi (SH Options): Added descriptions. 52889857Sobrien 52989857Sobrien2001-10-30 Hans-Peter Nilsson <hp@bitrange.com> 53089857Sobrien 53189857Sobrien * configure.in: Update for MMIX port. 53289857Sobrien * Makefile.am: Ditto. Regenerate dependencies. 53389857Sobrien * Makefile.in: Regenerate. 53489857Sobrien * configure: Regenerate. 53589857Sobrien * config/tc-mmix.h, config/tc-mmix.c: New files. 53689857Sobrien * doc/Makefile.am (CPU_DOCS): Add c-mmix.texi 53789857Sobrien * doc/Makefile.in: Regenerate. 53889857Sobrien * doc/all.texi: @set MMIX. 53989857Sobrien * doc/as.texinfo: Ditto. Add MMIX gas manpage option overview. 54089857Sobrien Include c-mmix.texi. 54189857Sobrien * doc/c-mmix.texi: New file. 54289857Sobrien 54389857Sobrien2001-10-24 Chris Demetriou <cgd@broadcom.com> 54489857Sobrien 54589857Sobrien * config/tc-mips.c (hilo_interlocks, cop_interlocks): Make 54689857Sobrien these evaluate to true if mips_arch indicates SB-1. 54789857Sobrien 54889857Sobrien2001-10-23 Alan Modra <amodra@bigpond.net.au> 54989857Sobrien 55089857Sobrien * as.c (parse_args): Print the date as well for --version. 55189857Sobrien 55289857Sobrien2001-10-20 Chris Demetriou <cgd@broadcom.com> 55389857Sobrien 55489857Sobrien * config/tc-mips.c (md_show_usage): Print "sb1" for Broadcom 55589857Sobrien SB-1 CPU for consistency. 55689857Sobrien (mips_cpu_info_table): Tweak comment about SB-1. 55789857Sobrien 55889857Sobrien2001-10-20 H.J. Lu <hjl@gnu.org> 55989857Sobrien 56089857Sobrien * config/tc-arm.c (do_c_shift): Use ISDIGIT instead of isdigit. 56189857Sobrien (cirrus_parse_offset): Likewise. 56289857Sobrien 56389857Sobrien2001-10-19 Nick Clifton <nickc@cambridge.redhat.com> 56489857Sobrien 56589857Sobrien * config/tc-arm.c: Restore line_comment_chars. 56689857Sobrien 56789857Sobrien2001-10-18 Nick Clifton <nickc@cambridge.redhat.com> 56889857Sobrien 56989857Sobrien * config/tc-arm.c (comment_chars): Remove semi-colon accidentally 57089857Sobrien added to the list. 57189857Sobrien 57289857Sobrien2001-10-18 Hans-Peter Nilsson <hp@bitrange.com> 57389857Sobrien 57489857Sobrien * write.c (fixup_segment): Handle fixups for SEC_MERGE sections as 57589857Sobrien for undefined symbols. 57689857Sobrien 57789857Sobrien2001-10-17 Chris Demetriou <cgd@broadcom.com> 57889857Sobrien 57989857Sobrien * doc/as.texinfo (MIPS ISA options): Added accidentally 58089857Sobrien omitted "-mips64" option to list of options. 58189857Sobrien 58289857Sobrien2001-10-17 matthew green <mrg@redhat.com> 58389857Sobrien 58489857Sobrien * config/tc-ppc.c (md_show_usage): Add missing -maltivec, -m7400, 58589857Sobrien -m7410, -m7450 and -m7455 options. 58689857Sobrien 58789857Sobrien2001-10-17 Alan Modra <amodra@bigpond.net.au> 58889857Sobrien 58989857Sobrien * config/tc-ppc.c (PPC_HA, PPC_HIGHERA, PPC_HIGHESTA): Simplify. 59089857Sobrien (ppc_size): Select PPC_OPCODE_64 if 64 bit. 59189857Sobrien (md_begin): Don't set ppc_size here. 59289857Sobrien (ppc_target_format): Test ppc_size as well as BFD_DEFAULT_TARGET_SIZE. 59389857Sobrien (md_shortopts): Constify. 59489857Sobrien (md_longopts): Likewise. 59589857Sobrien (md_longopts_size): Likewise. 59689857Sobrien (ppc_elf_suffix): Only allow 64-bit relocs when ppc_size specifies 59789857Sobrien 64-bit opcodes. 59889857Sobrien (ppc_machine): Explain why this function is a nop. 59989857Sobrien 60089857Sobrien2001-10-17 Alan Modra <amodra@bigpond.net.au> 60189857Sobrien 60289857Sobrien * bit_fix.h: Comment typo fix. 60389857Sobrien * config/tc-mips.c: Likewise. 60489857Sobrien * config/tc-sh.c: Likewise. 60589857Sobrien * config/tc-arc.c (arc_code_symbol): Remove unnecessary test. 60689857Sobrien 60789857Sobrien * configure.in (MIPS_STABS_ELF): AC_DEFINE in only one place so 60889857Sobrien that autoheader doesn't duplicate config.in entries. 60989857Sobrien (DEFAULT_ARCH): Ditto. 61089857Sobrien * configure: Regenerate. 61189857Sobrien * config.in: Regenerate. 61289857Sobrien 61389857Sobrien2001-10-16 Alan Modra <amodra@bigpond.net.au> 61489857Sobrien 61589857Sobrien From Andrew Pines <apines@cosmodog.com> 61689857Sobrien * config/tc-m68k.c (m68k_ip): Correct absolute jmp opcodes. 61789857Sobrien 61889857Sobrien2001-10-16 NIIBE Yutaka <gniibe@m17n.org>, 61989857Sobrien Hans-Peter Nilsson <hp@bitrange.com> 62089857Sobrien 62189857Sobrien * config/tc-sh.c (shl): Remove. 62289857Sobrien (big): New function. 62389857Sobrien (little): Remove shl handling. Emit error for endian mismatch. 62489857Sobrien (md_show_usage): Add description of -big. 62589857Sobrien (md_parse_option): Handle OPTION_BIG. Remove shl handling. 62689857Sobrien (OPTION_BIG): Add. 62789857Sobrien (md_pseudo_table): Add .big. 62889857Sobrien (md_longopts): Add -big. 62989857Sobrien (md_begin): Don't set target_big_endian here. 63089857Sobrien * config/tc-sh.h (TARGET_BYTES_BIG_ENDIAN): Remove. 63189857Sobrien (LISTING_HEADER, COFF_MAGIC, TARGET_FORMAT): Use target_big_endian. 63289857Sobrien (shl): Remove. 63389857Sobrien * configure.in (endian): Default is big. 63489857Sobrien (sh-*-pe*): Little endian. 63589857Sobrien (cpu_type): Set sh for target sh*. 63689857Sobrien * configure: Regenerate. 63789857Sobrien 63889857Sobrien2001-10-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 63989857Sobrien 64089857Sobrien * config/tc-mips.c (md_apply_fix): Preliminary handling of NewABI 64189857Sobrien relocations. 64289857Sobrien 64389857Sobrien2001-10-13 Nick Clifton <nickc@cambridge.redhat.com> 64489857Sobrien 64589857Sobrien * config/tc-arm.c: Replace CONST with const. 64689857Sobrien 64789857Sobrien * cgen.c: Tidy up formatting. 64889857Sobrien 64989857Sobrien2001-10-12 matthew green <mrg@redhat.com> 65089857Sobrien 65189857Sobrien * config/tc-ppc.c (md_parse_option): New -m7410, -m7450 and -m7455 65289857Sobrien flags, equivalent to -m7400. New -maltivec to enable AltiVec 65389857Sobrien instructions. New -mbook64 and -mbooke/-mbooke32 flags to enable 65489857Sobrien 64-bit and 32-bit BookE support, respectively. Change -m403 and 65589857Sobrien -m405 to set PPC403 option. 65689857Sobrien (md_show_usage): Adjust for new options. 65789857Sobrien * doc/all.texi: Set PPC. 65889857Sobrien * doc/as.texinfo: Add PPC support and pull in c-ppc.texi. 65989857Sobrien * doc/c-ppc.texi: New file. 66089857Sobrien * doc/Makefile.am (CPU_DOCS): Add c-ppc.texi. 66189857Sobrien * doc/Makefile.in: Regenerate. 66289857Sobrien 66389857Sobrien2001-10-12 Nick Clifton <nickc@cambridge.redhat.com> 66489857Sobrien 66589857Sobrien * read.c (s_bad_endr): New function. Issues a warning message 66689857Sobrien about a bad use of the .rept pseudo op. 66789857Sobrien (po_table[]): Add .endr. 66889857Sobrien * read.h: Prototype s_bad_endr. 66989857Sobrien 67089857Sobrien * CONTRIBUTORS: Update contact email address. 67189857Sobrien 67289857Sobrien2001-10-11 Kazu Hirata <kazu@hxi.com> 67389857Sobrien 67489857Sobrien * config/tc-alpha.c: Fix comment typos. 67589857Sobrien * config/tc-cris.c: Likewise. 67689857Sobrien * config/tc-hppa.c: Likewise. 67789857Sobrien * config/tc-i370.c: Likewise. 67889857Sobrien * config/tc-mips.c: Likewise. 67989857Sobrien * config/tc-mn10200.c: Likewise. 68089857Sobrien * config/tc-mn10300.c: Likewise. 68189857Sobrien * config/tc-sh.c: Likewise. 68289857Sobrien * config/tc-tahoe.c: Likewise. 68389857Sobrien * config/tc-v850.c: Likewise. 68489857Sobrien 68589857Sobrien2001-10-11 Kazu Hirata <kazu@hxi.com> 68689857Sobrien 68789857Sobrien * app.c: Fix comment typos. 68889857Sobrien * bit_fix.h: Likewise. 68989857Sobrien * expr.c: Likewise. 69089857Sobrien * itbl-ops.c: Likewise. 69189857Sobrien 69289857Sobrien2001-10-11 Nick Clifton <nickc@cambridge.redhat.com> 69389857Sobrien 69489857Sobrien * input-file.c: Include safe-ctype.h. 69589857Sobrien (input_file_open): Use ISSPACE instead of isspace. 69689857Sobrien 69789857Sobrien2001-10-10 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 69889857Sobrien 69989857Sobrien * config/tc-mips.c (mips_cpreturn_offset): New variable. 70089857Sobrien (mips_cpreturn_register): Likewise. 70189857Sobrien (mips_gp_register): Likewise. 70289857Sobrien (s_cpsetup): New function prototype. 70389857Sobrien (s_cplocal): Likewise. 70489857Sobrien (s_cpreturn): Likewise. 70589857Sobrien (s_gpvalue): Likewise. 70689857Sobrien (mips_pseudo_table): Add .cpsetup, .cplocal, .cpreturn, .gpvalue 70789857Sobrien pseudo-ops. 70889857Sobrien (macro): Don't warn about .cprestore for NewABI. 70989857Sobrien (md_pcrel_from): Code cleanup. 71089857Sobrien (mips_force_relocation): Force output of some NewABI relocations even 71189857Sobrien without a defined symbol. 71289857Sobrien (s_cpload): Ignore .cpload for NewABI. 71389857Sobrien (s_cpsetup): Handle .cpsetup. 71489857Sobrien (s_cplocal): Handle .cplocal. 71589857Sobrien (s_cprestore): Ignore .cprestore for NewABI. 71689857Sobrien (s_cpreturn): Handle .cpreturn. 71789857Sobrien (s_gpvalue): Handle .gpvalue. 71889857Sobrien (s_cpadd): Ignore .cpadd for NewABI. 71989857Sobrien (nopic_need_relax): Take g_switch_value into account as gp 72089857Sobrien optimization. 72189857Sobrien (tc_gen_reloc): Don't handle BFD_RELOC_MIPS_{CALL,GOT}* for NewABI. 72289857Sobrien 72389857Sobrien2001-10-10 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 72489857Sobrien 72589857Sobrien * config/tc-mips.c (my_getSmallParser): New function prototype. 72689857Sobrien (small_ex_type): Named this enum, more return values for 72789857Sobrien my_getSmallExpression. 72889857Sobrien (mips_ip): Allow SPC and HT between arguments. Handle some NewABI 72989857Sobrien triple relocations. Protect some parts with ifdef OBJ_ELF. 73089857Sobrien (percent_op_match): New struct, lookup table for %some_reloc(). 73189857Sobrien (my_getSmallParser): New function, parses nested percent_ops also. 73289857Sobrien (my_getSmallExpression): Rewite to support nested percent_ops. 73389857Sobrien 73489857Sobrien2001-10-10 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 73589857Sobrien 73689857Sobrien * config/tc-mips.c 73789857Sobrien (load_address): Support both 32- and 64-bit addresses. 73889857Sobrien (macro): Call load_register correctly. Expand 64-bit loads ans stores. 73989857Sobrien (macro2): Call load_address correctly. 74089857Sobrien 74189857Sobrien2001-10-09 Christian Groessler <cpg@aladdin.de> 74289857Sobrien 74389857Sobrien * config/tc-z8k.c: Include opcodes/z8k-opc.h after bfd.h 74489857Sobrien since z8k-opc.h now uses the PARAMS macro. 74589857Sobrien 74689857Sobrien2001-10-09 Aldy Hernandez <aldyh@redhat.com> 74789857Sobrien 74889857Sobrien * config/tc-arm.c: Change MAVERIK to MAVERICK. 74989857Sobrien 75089857Sobrien2001-10-09 Alan Modra <amodra@bigpond.net.au> 75189857Sobrien 75289857Sobrien * config/obj-elf.c: Make use of elf_group_name and elf_next_in_group 75389857Sobrien throughout file. 75489857Sobrien (obj_elf_change_section): Rename "group" to "group_name". 75589857Sobrien (obj_elf_section): Likewise. 75689857Sobrien (elf_frob_file): Don't use sec->lineno for SHT_GROUP section to store 75789857Sobrien first member section; Instead use elf_next_in_group. 75889857Sobrien 75989857Sobrien2001-10-09 Alan Modra <amodra@bigpond.net.au> 76089857Sobrien 76189857Sobrien * config/obj-elf.c: (obj_elf_change_section): Add "group" param. 76289857Sobrien Set elf_section_data group from it. Warn if group name changed. 76389857Sobrien (obj_elf_parse_section_letters): Parse 'G' too. 76489857Sobrien (obj_elf_section): Parse group name. 76589857Sobrien (struct group_list): New. 76689857Sobrien (build_group_lists): New function. 76789857Sobrien (elf_frob_file): Create SEC_GROUP section(s). 76889857Sobrien 76989857Sobrien * config/obj-elf.c: (elf_copy_symbol_attributes): Zap trailing 77089857Sobrien whitespace. 77189857Sobrien 77289857Sobrien2001-10-08 Aldy Hernandez <aldyh@redhat.com> 77389857Sobrien 77489857Sobrien * doc/arm/c-arm.texi (ARM Options): Add arm9e documentation. 77589857Sobrien 77689857Sobrien * config/tc-arm.c (ARM_EXT_MAVERIK): New macro. 77789857Sobrien (cirrus_regtype): New enum. 77889857Sobrien (LONGEST_INST): Change to 10. 77989857Sobrien (CIRRUS_MODE1): New. 78089857Sobrien (CIRRUS_MODE2): New. 78189857Sobrien (CIRRUS_MODE3): New. 78289857Sobrien (CIRRUS_MODE4): New. 78389857Sobrien (CIRRUS_MODE5): New. 78489857Sobrien (CIRRUS_MODE6): New. 78589857Sobrien (insns): Add cirrus dsp instructions. 78689857Sobrien (ARM_EXT_MAVERIKSC_REG): New. 78789857Sobrien (cirrus_register): New. 78889857Sobrien (cirrus_mvf_register): New. 78989857Sobrien (cirrus_mvd_register): New. 79089857Sobrien (cirrus_mvfx_register): New. 79189857Sobrien (cirrus_mvdx_register): New. 79289857Sobrien (cirrus_mvax_register): New. 79389857Sobrien (ARM_EXT_MAVERIKsc_register): New. 79489857Sobrien (reg_table): Add cirrus registers. 79589857Sobrien (cirrus_valid_reg): New. 79689857Sobrien (cirrus_reg_required_here): New. 79789857Sobrien (do_c_binops_1): New. 79889857Sobrien (do_c_binops_2): New. 79989857Sobrien (do_c_binops_3): New. 80089857Sobrien (do_c_triple_4): New. 80189857Sobrien (do_c_triple_5): New. 80289857Sobrien (do_c_quad_6): New. 80389857Sobrien (do_c_dspsc_1): New. 80489857Sobrien (do_c_dspsc_2): New. 80589857Sobrien (do_c_shift_1): New. 80689857Sobrien (do_c_shift_2): New. 80789857Sobrien (do_c_ldst_1): New. 80889857Sobrien (do_c_ldst_2): New. 80989857Sobrien (do_c_ldst_3): New. 81089857Sobrien (do_c_ldst_4): New. 81189857Sobrien (do_c_binops): New. 81289857Sobrien (do_c_triple): New. 81389857Sobrien (do_c_quad): New. 81489857Sobrien (do_c_dspsc): New. 81589857Sobrien (do_c_shift): New. 81689857Sobrien (cirrus_parse_offset): New. 81789857Sobrien (do_c_ldst): New. 81889857Sobrien (md_parse_option): Add arm9e. 81989857Sobrien (md_show_usage): Same. 82089857Sobrien 82189857Sobrien2001-10-08 Tom Rix <trix@redhat.com> 82289857Sobrien 82389857Sobrien * config/tc-ppc (ppc_bf, ppc_biei) : Set first .bi lineno value to 82489857Sobrien location of next .bf 82589857Sobrien * config/obj-coff.c (coff_frob_symbol) : XCOFF does not use endndx. 82689857Sobrien 82789857Sobrien2001-10-07 Alan Modra <amodra@bigpond.net.au> 82889857Sobrien 82989857Sobrien * config/obj-elf.c: Standardize error/warning messages - don't 83089857Sobrien capitalise, no final period or newline, don't say "ignoring" for 83189857Sobrien as_bad messages. In some cases, change the wording to that used 83289857Sobrien elsewhere for similar messages. 83389857Sobrien (obj_elf_section_name): New function, split out from .. 83489857Sobrien (obj_elf_section): .. here. Correctly mask off SHF_MERGE if 83589857Sobrien entsize not specified. 83689857Sobrien 83789857Sobrien2001-10-05 Jakub Jelinek <jakub@redhat.com> 83889857Sobrien 83989857Sobrien * doc/as.texinfo: Document M and S ELF section flags. 84089857Sobrien 84189857Sobrien2001-10-05 Alan Modra <amodra@bigpond.net.au> 84289857Sobrien 84389857Sobrien * subsegs.c (subseg_text_p): Return 0 for absolute section. 84489857Sobrien * read.c (do_align): If in absolute section, warn about and ignore 84589857Sobrien non-zero fill pattern. 84689857Sobrien 84789857Sobrien2001-10-05 Alexandre Oliva <aoliva@redhat.com> 84889857Sobrien 84989857Sobrien * config/tc-mn10300.c (tc_gen_reloc): Don't free 85089857Sobrien reloc->sym_ptr_ptr if it's not allocated. 85189857Sobrien 85289857Sobrien2001-10-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 85389857Sobrien 85489857Sobrien * config/tc-mips.c (prev_insn_reloc_type): Make it an array to hold a 85589857Sobrien relocation triple. 85689857Sobrien (prev_insn_fixp): Likewise. 85789857Sobrien (append_insn): Changed prototype to accept a relocation pointer. 85889857Sobrien (imm_reloc): Make it an array. 85989857Sobrien (offset_reloc): Likewise. 86089857Sobrien (md_assemble): Handle triple relocations. 86189857Sobrien (append_insn): Likewise. Add handling for some NewABI relocations. 86289857Sobrien (mips_no_prev_insn): Handle triple relocations. 86389857Sobrien (macro_build): Likewise. Add handling for some NewABI relocations. 86489857Sobrien Move handling for the 'u' case to append_insn(). 86589857Sobrien (mips16_macro_build): Handle triple relocations. 86689857Sobrien (macro_build_lui): Likewise. Don't handle _gp_disp as special symbol 86789857Sobrien for NewABI. 86889857Sobrien (mips_ip): Handle triple relocations. 86989857Sobrien (mips16_ip): Likewise. 87089857Sobrien (mips_force_relocation): Force handling of triple relocations 87189857Sobrien without symbols for NewABI. 87289857Sobrien (md_apply_fix): Add handling for some NewABI relocations. 87389857Sobrien 87489857Sobrien2001-10-05 Alan Modra <amodra@bigpond.net.au> 87589857Sobrien 87689857Sobrien * config/tc-i386.c (parse_register): If not producing code for 87789857Sobrien x86_64, reject x86_64 register name matches. 87889857Sobrien (md_assemble): Remove now redundant check for x86_64 regs. 87989857Sobrien 88089857Sobrien2001-10-04 Alan Modra <amodra@bigpond.net.au> 88189857Sobrien 88289857Sobrien * config/tc-ppc.c (md_assemble <DS relocs>): Test ppc_size as well 88389857Sobrien as BFD_DEFAULT_TARGET_SIZE. 88489857Sobrien (ppc_tc): Likewise. 88589857Sobrien (ppc_is_toc_sym): Likewise. 88689857Sobrien (md_apply_fix3): Likewise. 88789857Sobrien 88889857Sobrien2001-10-03 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 88989857Sobrien 89089857Sobrien * config/tc-mips.c (mips_64): Remove. 89189857Sobrien (mips_target_format): Move downwards in file, use HAVE_64BIT_OBJECTS 89289857Sobrien in it. 89389857Sobrien (mips_abi_level, mips_abi): New enum. 89489857Sobrien (mips_32bit_abi): Remove. 89589857Sobrien (HAVE*PRS): Use mips_abi instead of mips_32bit_abi. 89689857Sobrien (HAVE_NEWABI): New define. 89789857Sobrien (HAVE_64BIT_OBJECTS): New define. 89889857Sobrien (HAVE_32BIT_ADDRESSES): Don't return true for 64bit objects. 89989857Sobrien (HAVE_64BIT_ADDRESSES): New define, inverse of HAVE_32BIT_ADDRESSES. 90089857Sobrien (support_64bit_objects): New prototype. 90189857Sobrien (md_begin): Use mips_abi instead of mips_32bit_abi. Don't write 90289857Sobrien .reginfo section for n32, use .MIPS.options instead. 90389857Sobrien (support_64bit_objects): New function, code from md_parse_option. 90489857Sobrien (md_longopts): Add -n32 option. 90589857Sobrien (md_parse_option): Use mips_abi instead of mips_32bit_abi/mips64. 90689857Sobrien Add -n32 option. Protect with OBJ_ELF. 90789857Sobrien (s_mipsset): Use mips_abi instead of mips_32bit_abi. 90889857Sobrien (mips_elf_final_processing): Likewise. Don't write .reginfo section 90989857Sobrien for n32, use .MIPS.options instead. 91089857Sobrien 91189857Sobrien2001-10-03 Alan Modra <amodra@bigpond.net.au> 91289857Sobrien 91389857Sobrien * po/POTFILES.in: Regenerate. 91489857Sobrien * configure: Regenerate. 91589857Sobrien 91689857Sobrien2001-10-02 Alan Modra <amodra@bigpond.net.au> 91789857Sobrien 91889857Sobrien * config/tc-ppc.c (md_apply_fix3 <BFD_RELOC_CTOR>): Make it 64 91989857Sobrien bits if target is 64 bit. 92089857Sobrien 92189857Sobrien * doc/as.texinfo (listing): Fix typo. 92289857Sobrien 92389857Sobrien * as.c (print_version_id): Use BFD_VERSION_STRING in place of 92489857Sobrien BFD_VERSION. 92589857Sobrien * Makefile.am (Makefile): Depend on bfd/configure.in. 92689857Sobrien Run "make dep-am". 92789857Sobrien * Makefile.in: Regenerate. 92889857Sobrien 92989857Sobrien2001-09-30 H.J. Lu <hjl@gnu.org> 93089857Sobrien 93189857Sobrien * config/obj-elf.c (obj_elf_parse_section_letters): Accept "am" 93289857Sobrien and "ams" for compatibility. 93389857Sobrien 93489857Sobrien2001-09-30 Hans-Peter Nilsson <hp@bitrange.com> 93589857Sobrien 93689857Sobrien * config/tc-sh.c (md_pcrel_from_section): Transformed from 93789857Sobrien md_pcrel_from. Handle pc-relativeness against link-time 93889857Sobrien symbol. Handle relativeness to elsewhere than the fixup. 93989857Sobrien * config/tc-sh.h (MD_PCREL_FROM_SECTION): Define. 94089857Sobrien (md_pcrel_from_section): Prototype. 94189857Sobrien 94289857Sobrien * Makefile.am: Update dependencies with "make dep-am". 94389857Sobrien * Makefile.in: Regenerate. 94489857Sobrien 94589857Sobrien2001-09-30 Stephane Carrez <Stephane.Carrez@worldnet.fr> 94689857Sobrien 94789857Sobrien * config/tc-m68hc11.c (cmp_opcode): Define prototype. 94889857Sobrien (print_opcode_format, skip_whites): Likewise. 94989857Sobrien (convert_branch, m68hc11_new_insn): Likewise. 95089857Sobrien (build_dbranch_insn, build_indexed_byte): Likewise. 95189857Sobrien (build_reg_mode, find, find_opcode): Likewise. 95289857Sobrien (print_insn_format): Fix call to print_opcode_format. 95389857Sobrien (md_assemble): Fix call to build_dbranch_insn. 95489857Sobrien 95589857Sobrien2001-09-27 Nick Clifton <nickc@cambridge.redhat.com> 95689857Sobrien 95789857Sobrien * config/tc-arm.c: Add missing prototypes. 95889857Sobrien 95989857Sobrien2001-09-26 Jeff Johnston <jjohnstn@redhat.com> 96089857Sobrien 96189857Sobrien * input-file.c (input_file_open): When reading the 96289857Sobrien first line looking for #NO_APP, prepare for the possibility 96389857Sobrien of finding #APP instead. Also fix algorithm to allow 96489857Sobrien white-space to follow either #NO_APP or #APP directives. 96589857Sobrien 96689857Sobrien2001-09-25 Geoff Berry <geoff.berry@bops.com> 96789857Sobrien 96889857Sobrien * listing.c (buffer_line): Don't write past the end of `line' when 96989857Sobrien EOF is reached. 97089857Sobrien 97189857Sobrien2001-09-25 Alexandre Oliva <aoliva@redhat.com> 97289857Sobrien 97389857Sobrien * config/tc-mn10300.c (tc_gen_reloc): Don't emit an *ABS* 97489857Sobrien relocation for differences between symbols in a section other 97589857Sobrien than the one in which the difference is to be placed; apply 97689857Sobrien the relocation instead. 97789857Sobrien 97889857Sobrien2001-09-24 Nick Clifton <nickc@cambridge.redhat.com> 97989857Sobrien 98089857Sobrien * config/tc-arc.c: Add missing prototype. 98189857Sobrien (md_atof): Change type to int. Add missing prototype. 98289857Sobrien * config/tc-arc.h: Prototype exported functions. 98389857Sobrien 98489857Sobrien2001-09-22 Nick Clifton <nickc@cambridge.redhat.com> 98589857Sobrien 98689857Sobrien * as.c: Add missing function prototype. 98789857Sobrien * config/obj-aout.c: Fix compile time warning. 98889857Sobrien 98989857Sobrien2001-09-21 Bruno Haible <haible@clisp.cons.org> 99089857Sobrien 99189857Sobrien * config/tc-openrisc.c: Don't include <ctype.h>. 99289857Sobrien 99389857Sobrien2001-09-19 Martin Schwidefsky <schwidefsky@de.ibm.com> 99489857Sobrien 99589857Sobrien * gas/config/tc-s390.c: Add option -mwarn-areg-zero. 99689857Sobrien 99789857Sobrien2001-09-19 Alan Modra <amodra@bigpond.net.au> 99889857Sobrien 99989857Sobrien * config/tc-i370.c: Fix typo in last change. 100089857Sobrien 100189857Sobrien2001-09-19 Nick Clifton <nickc@cambridge.redhat.com> 100289857Sobrien 100389857Sobrien * doc/as.texinfo (Symbol Names): Improve documentation on local 100489857Sobrien labels and add documenation about dollar labels. 100589857Sobrien 100689857Sobrien2001-09-18 Bruno Haible <haible@clisp.cons.org> 100789857Sobrien 100889857Sobrien * as.h: Don't include <ctype.h>. 100989857Sobrien * as.c (main): For gettext, also set the LC_CTYPE locate facet. 101089857Sobrien * atof-generic.c: Include "safe-ctype.h" instead of <ctype.h>. 101189857Sobrien (atof_generic): Use ISDIGIT instead of isdigit. 101289857Sobrien * config/m68k-parse.y: Include "safe-ctype.h". 101389857Sobrien (yylex): Use ISDIGIT/ISALNUM instead of isdigit/isalnum. 101489857Sobrien * config/obj-elf.c: Include "safe-ctype.h". 101589857Sobrien (obj_elf_vtable_inherit): Use ISSPACE instead of isspace. 101689857Sobrien * config/obj-vms.c: Include "safe-ctype.h". 101789857Sobrien (Write_VMS_MHD_Records): Use TOUPPER instead of islower/toupper. 101889857Sobrien (VMS_Case_Hack_Symbol): Use ISUPPER/ISLOWER/TOUPPER/TOLOWER 101989857Sobrien instead of isupper/islower/toupper/tolower. 102089857Sobrien * config/tc-a29k.c: Include "safe-ctype.h" instead of <ctype.h>. 102189857Sobrien (insert_sreg): Use TOUPPER instead of islower/toupper. 102289857Sobrien (machine_ip): Use ISALPHA/ISALNUM/ISUPPER/TOLOWER instead of 102389857Sobrien isalpha/isalnum/isupper/tolower. 102489857Sobrien (a29k_unrecognized_line, md_operand): Use ISDIGIT instead of 102589857Sobrien isdigit. 102689857Sobrien * config/tc-alpha.c: Include "safe-ctype.h" instead of <ctype.h>. 102789857Sobrien (md_undefined_symbol, s_alpha_ent): Use ISDIGIT instead of isdigit. 102889857Sobrien * config/tc-arc.c: Include "safe-ctype.h" instead of <ctype.h>. 102989857Sobrien (md_assemble): Use ISSPACE/ISALNUM instead of isspace/isalnum. 103089857Sobrien (arc_extoper): Use TOLOWER instead of isupper/tolower. 103189857Sobrien * config/tc-arm.c: Include "safe-ctype.h" instead of <ctype.h>. 103289857Sobrien (arm_psr_parse): Use ISALPHA instead of isalpha. 103389857Sobrien (accum0_required_here): Use ISALNUM instead of isalnum. 103489857Sobrien (do_ldrd): Use ISSPACE instead of isspace. 103589857Sobrien (decode_shift): Use ISALPHA instead of isalpha. 103689857Sobrien (insert_reg): Use TOUPPER instead of islower/toupper. 103789857Sobrien (arm_reg_parse): Use ISALPHA instead of isalpha. 103889857Sobrien (arm_parse_reloc): Use ISALNUM/ISPUNCT/TOLOWER instead of 103989857Sobrien isalnum/ispunct/tolower. 104089857Sobrien * config/tc-avr.c: Include "safe-ctype.h" instead of <ctype.h>. 104189857Sobrien (md_parse_option): Use TOLOWER instead of tolower. 104289857Sobrien (avr_operand): Use ISDIGIT/TOLOWER instead of isdigit/tolower. 104389857Sobrien * config/tc-cris.c: Include "safe-ctype.h" instead of <ctype.h>. 104489857Sobrien (cris_process_instruction): Use ISLOWER instead of islower. 104589857Sobrien (get_gen_reg): Use ISALNUM/ISDIGIT instead of isalnum/isdigit. 104689857Sobrien (get_spec_reg): Use TOLOWER/ISALNUM instead of isupper/tolower/isalnum. 104789857Sobrien (get_flags): Use ISSPACE instead of isspace. 104889857Sobrien * config/tc-d10v.c: Include "safe-ctype.h" instead of <ctype.h>. 104989857Sobrien (do_assemble): Use TOLOWER instead of tolower. 105089857Sobrien * config/tc-d30v.c: Include "safe-ctype.h" instead of <ctype.h>. 105189857Sobrien (do_assemble): Use TOLOWER instead of tolower. 105289857Sobrien (d30v_start_line): Use ISSPACE instead of isspace. 105389857Sobrien * config/tc-fr30.c: Include "safe-ctype.h" instead of <ctype.h>. 105489857Sobrien (fr30_is_colon_insn): Use TOLOWER instead of tolower. 105589857Sobrien * config/tc-h8300.c: Include "safe-ctype.h" instead of <ctype.h>. 105689857Sobrien (skip_colonthing, get_operand): Use ISDIGIT instead of isdigit. 105789857Sobrien * config/tc-h8500.c: Include "safe-ctype.h" instead of <ctype.h>. 105889857Sobrien (start_label): Use ISALPHA instead of isalpha. 105989857Sobrien * config/tc-hppa.c: Include "safe-ctype.h" instead of <ctype.h>. 106089857Sobrien (pa_ip): Use ISUPPER/ISLOWER/TOLOWER instead of 106189857Sobrien isupper/islower/tolower. 106289857Sobrien (pa_parse_number): Use ISDIGIT instead of isdigit. 106389857Sobrien (pa_chk_field_selector): Use TOLOWER instead of tolower. 106489857Sobrien (pa_stringer): Use ISDIGIT instead of isdigit. 106589857Sobrien * config/tc-i370.c: Include "safe-ctype.h" instead of <ctype.h>. 106689857Sobrien (register_name): Use ISALPHA instead of isalpha. 106789857Sobrien (i370_elf_suffix): Use ISALNUM/TOLOWER instead of 106889857Sobrien isalnum/islower/tolower. 106989857Sobrien (i370_addr_offset): Use ISDIGIT/ISALPHA instead of 107089857Sobrien isdigit/isalpha. 107189857Sobrien (i370_addr_cons): Use ISALPHA/ISXDIGIT instead of 107289857Sobrien isalpha/isxdigit. 107389857Sobrien (md_assemble): Use ISSPACE instead of isspace. 107489857Sobrien * config/tc-i386.c: Include "safe-ctype.h" instead of <ctype.h>. 107589857Sobrien (md_begin): Use ISDIGIT/ISLOWER/ISUPPER/TOLOWER/ISALPHA 107689857Sobrien instead of isdigit/islower/isupper/tolower/isalpha. 107789857Sobrien (output_invalid): Use ISPRINT instead of isprint. 107889857Sobrien * config/tc-i860.c: Include "safe-ctype.h" instead of <ctype.h>. 107989857Sobrien (i860_ip): Use ISLOWER/ISDIGIT instead of islower/isdigit. 108089857Sobrien * config/tc-i960.c: Include "safe-ctype.h" instead of <ctype.h>. 108189857Sobrien (get_args): Use ISALNUM instead of isalnum. 108289857Sobrien * config/tc-ia64.c: Include "safe-ctype.h". 108389857Sobrien (dot_pred_rel): Use TOUPPER/ISDIGIT instead of toupper/isdigit. 108489857Sobrien (ia64_unrecognized_line): Use ISDIGIT instead of isdigit. 108589857Sobrien (ia64_parse_name): Likewise. 108689857Sobrien * config/tc-m32r.c: Include "safe-ctype.h" instead of <ctype.h>. 108789857Sobrien (assemble_two_insns): Use ISSPACE/ISALNUM/ISUPPER/TOLOWER 108889857Sobrien instead of isspace/isalnum/isupper/tolower. 108989857Sobrien * config/tc-m68hc11.c: Include "safe-ctype.h" instead of <ctype.h>. 109089857Sobrien (md_assemble): Use TOLOWER/ISALNUM instead of tolower/isalnum. 109189857Sobrien * config/tc-m68k.c: Include "safe-ctype.h" instead of <ctype.h>. 109289857Sobrien (mklower_table): Remove variable. 109389857Sobrien (mklower): Remove macro. 109489857Sobrien (insert_reg): Use TOUPPER instead of islower/toupper. 109589857Sobrien (md_begin): Remove initialization of mklower_table. 109689857Sobrien (s_reg): Use ISALNUM instead of isalnum. 109789857Sobrien (mri_assemble): Use ISUPPER/TOLOWER instead of isupper/tolower. 109889857Sobrien (parse_mri_condition): Use TOLOWER instead of isupper/tolower. 109989857Sobrien (build_mri_control_operand): Use TOLOWER instead of tolower. 110089857Sobrien (s_mri_else, s_mri_break, s_mri_next, s_mri_for): Likewise. 110189857Sobrien * config/tc-m88k.c: Include "safe-ctype.h" instead of <ctype.h>. 110289857Sobrien (md_assemble): Use ISSPACE instead of isspace. 110389857Sobrien (get_imm16): Use ISALNUM instead of isalnum. 110489857Sobrien (get_cnd): Use ISDIGIT/ISUPPER/TOLOWER instead of 110589857Sobrien isdigit/isupper/tolower. 110689857Sobrien (get_bf_offset_expression): Use ISALPHA/ISUPPER/TOLOWER 110789857Sobrien instead of isalpha/isupper/tolower. 110889857Sobrien (hexval): Use ISDIGIT/ISLOWER/ISUPPER instead of 110989857Sobrien isdigit/islower/isupper. 111089857Sobrien * config/tc-mcore.c: Include "safe-ctype.h" instead of <ctype.h>. 111189857Sobrien (mcore_s_section): Use ISSPACE instead of isspace. 111289857Sobrien (parse_reg): Use ISSPACE/TOLOWER/ISALNUM instead of 111389857Sobrien isspace/tolower/isalnum. 111489857Sobrien (parse_creg): Use ISSPACE/TOLOWER instead of isspace/tolower. 111589857Sobrien (parse_psrmod): Use TOLOWER instead of isascii/tolower. 111689857Sobrien (parse_exp, parse_mem, md_assemble): Use ISSPACE instead of 111789857Sobrien isspace. 111889857Sobrien * config/tc-mips.c: Include "safe-ctype.h" instead of <ctype.h>. 111989857Sobrien (mips_ip): Use ISSPACE/ISDIGIT instead of isspace/isdigit. 112089857Sobrien (mips16_ip): Use ISLOWER/ISDIGIT instead of islower/isdigit. 112189857Sobrien (my_getSmallExpression): Use ISDIGIT/TOLOWER instead of 112289857Sobrien isdigit/tolower. 112389857Sobrien (tc_get_register): Likewise. 112489857Sobrien (get_number): Use ISDIGIT/ISXDIGIT instead of isdigit/isxdigit. 112589857Sobrien (s_mips_ent): Use ISDIGIT instead of isdigit. 112689857Sobrien * config/tc-mn10200.c: Include "safe-ctype.h" instead of <ctype.h>. 112789857Sobrien (md_assemble): Use ISSPACE instead of isspace. 112889857Sobrien * config/tc-mn10300.c: Include "safe-ctype.h" instead of <ctype.h>. 112989857Sobrien (md_assemble): Use ISSPACE instead of isspace. 113089857Sobrien * config/tc-ns32k.c: Don't include <ctype.h>. 113189857Sobrien * config/tc-pdp11.c: Include "safe-ctype.h". 113289857Sobrien (mklower): Remove function. 113389857Sobrien (parse_reg): Use TOLOWER instead of mklower. 113489857Sobrien * config/tc-pj.c: Include "safe-ctype.h". 113589857Sobrien (md_assemble): Use ISSPACE instead of isspace. 113689857Sobrien * config/tc-ppc.c: Include "safe-ctype.h" instead of <ctype.h>. 113789857Sobrien (register_name): Use ISALPHA instead of isalpha. 113889857Sobrien (ppc_elf_suffix): Use ISALNUM/TOLOWER instead of 113989857Sobrien isalnum/islower/tolower. 114089857Sobrien (md_assemble): Use ISSPACE instead of isspace. 114189857Sobrien (ppc_canonicalize_symbol_name): Use ISLOWER/TOUPPER instead of 114289857Sobrien islower/toupper. 114389857Sobrien * config/tc-s390.c: Include "safe-ctype.h" instead of <ctype.h>. 114489857Sobrien (register_name): Use ISALPHA instead of isalpha. 114589857Sobrien (s390_elf_suffix, s390_lit_suffix): Use ISALNUM instead of isalnum. 114689857Sobrien (md_gather_operands, md_assemble, s390_insn): Use ISSPACE instead of 114789857Sobrien isspace. 114889857Sobrien * config/tc-sh.c: Include "safe-ctype.h" instead of <ctype.h>. 114989857Sobrien (sh_elf_suffix): Use ISALNUM/TOLOWER instead of 115089857Sobrien isalnum/islower/tolower. 115189857Sobrien (IDENT_CHAR): Use ISALNUM instead of isalnum. 115289857Sobrien (parse_reg): Use TOLOWER instead of tolower. 115389857Sobrien (find_cooked_opcode): Use TOLOWER instead of isupper/tolower. 115489857Sobrien * config/tc-sparc.c: Include "safe-ctype.h" instead of <ctype.h>. 115589857Sobrien (sparc_ip): Use ISLOWER/ISDIGIT instead of islower/isdigit. 115689857Sobrien (parse_keyword_arg): Use ISALNUM instead of isalnum. 115789857Sobrien * config/tc-tahoe.c: Include "safe-ctype.h". 115889857Sobrien (tahoe_reg_parse): Use ISDIGIT instead of isdigit. 115989857Sobrien (tip_op): Use TOLOWER instead of isupper/tolower. 116089857Sobrien * config/tc-tic30.c: Include "safe-ctype.h". 116189857Sobrien (md_begin): Use ISLOWER/ISDIGIT/ISUPPER/TOLOWER/ISLOWER/ 116289857Sobrien ISALPHA instead of islower/isdigit/isupper/tolower/islower/isalpha. 116389857Sobrien (tic30_operand): Use TOLOWER instead of tolower. 116489857Sobrien (tic30_find_parallel_insn): Likewise. 116589857Sobrien (output_invalid): Use ISPRINT instead of isprint. 116689857Sobrien * config/tc-tic54x.c: Include "safe-ctype.h". 116789857Sobrien (tic54x_asg, tic54x_eval): Use ISALPHA instead of isalpha. 116889857Sobrien (lookup_version): Use TOUPPER instead of toupper. 116989857Sobrien (tic54x_var): Use ISALPHA instead of isalpha. 117089857Sobrien (tic54x_mlib): Use ISSPACE instead of isspace. 117189857Sobrien (subsym_iscons): Use TOUPPER instead of toupper. 117289857Sobrien (get_operands): Use ISSPACE instead of isspace. 117389857Sobrien (is_type): Use TOUPPER/ISDIGIT instead of toupper/isdigit. 117489857Sobrien (encode_indirect, encode_operand): Use TOUPPER instead of toupper. 117589857Sobrien (next_line_shows_parallel): Use ISSPACE instead of isspace. 117689857Sobrien (subsym_get_arg, subsym_substitute): Use ISDIGIT instead of isdigit. 117789857Sobrien (tic54x_start_line_hook, md_assemble, tic54x_start_label): Use 117889857Sobrien ISSPACE instead of isspace. 117989857Sobrien * config/tc-tic80.c: Include "safe-ctype.h". 118089857Sobrien (md_assemble): Use ISSPACE instead of isspace. 118189857Sobrien * config/tc-v850.c: Include "safe-ctype.h" instead of <ctype.h>. 118289857Sobrien (system_register_name): Use ISDIGIT instead of isdigit. 118389857Sobrien (md_assemble): Use ISSPACE instead of isspace. 118489857Sobrien * config/tc-vax.c: Include "safe-ctype.h" instead of <ctype.h>. 118589857Sobrien (vax_reg_parse): Use TOLOWER/ISDIGIT instead of 118689857Sobrien isupper/tolower/isdigit. 118789857Sobrien (vip_op): Use TOLOWER instead of isupper/tolower. 118889857Sobrien * config/tc-w65.c: Don't include <ctype.h>. 118989857Sobrien * config/tc-z8k.c: Include "safe-ctype.h" instead of <ctype.h>. 119089857Sobrien (tohex): Use ISDIGIT/ISLOWER instead of isdigit/islower. 119189857Sobrien (whatreg): Use ISDIGIT instead of isdigit. 119289857Sobrien * ecoff.c: Include "safe-ctype.h" instead of <ctype.h>. 119389857Sobrien (ecoff_directive_ent, ecoff_stab): Use ISDIGIT instead of isdigit. 119489857Sobrien * expr.c: Include "safe-ctype.h" instead of <ctype.h>. 119589857Sobrien (integer_constant): Use ISALNUM/TOUPPER instead of 119689857Sobrien isalnum/islower/toupper. 119789857Sobrien (operand): Use TOLOWER instead of isupper/tolower. 119889857Sobrien * gasp.c: Include "safe-ctype.h" instead of <ctype.h>. 119989857Sobrien (sb_strtol, level_0, change_base, doinstr): Use ISDIGIT instead 120089857Sobrien of isdigit. 120189857Sobrien (process_assigns, whatcond): Use TOUPPER instead of toupper. 120289857Sobrien (chartype_init): Use ISALPHA/ISDIGIT instead of isalpha/isdigit. 120389857Sobrien (main): For gettext, also set the LC_CTYPE locate facet. 120489857Sobrien * hash.c: Include "safe-ctype.h". 120589857Sobrien (main): Use TOLOWER instead of isupper/tolower. 120689857Sobrien * itbl-lex.l: Don't include <ctype.h>. 120789857Sobrien * listing.c: Include "safe-ctype.h" instead of <ctype.h>. 120889857Sobrien (listing_newline): Use ISCNTRL instead of isascii/iscntrl. Don't 120989857Sobrien omit non-ASCII characters. 121089857Sobrien (debugging_pseudo): Use ISSPACE instead of isspace. 121189857Sobrien * macro.c: Include "safe-ctype.h" instead of <ctype.h>. 121289857Sobrien (buffer_and_nest): Use ISALNUM instead of isalnum. 121389857Sobrien (get_token): Use ISALPHA/ISALNUM instead of isalpha/isalnum. 121489857Sobrien (define_macro): Use ISUPPER/TOLOWER instead of isupper/tolower. 121589857Sobrien (macro_expand_body): Use ISALNUM/ISDIGIT/ISUPPER/ISALPHA 121689857Sobrien instead of isalnum/isdigit/isupper/isalpha. 121789857Sobrien (check_macro): Use ISALPHA/ISALNUM/ISUPPER/TOLOWER instead 121889857Sobrien of isalpha/isalnum/isupper/tolower. 121989857Sobrien * read.c: Include "safe-ctype.h" instead of <ctype.h>. 122089857Sobrien (read_a_source_file): Use ISUPPER/TOLOWER/ISDIGIT instead of 122189857Sobrien isupper/tolower/isdigit. 122289857Sobrien (s_mri_common): Use ISDIGIT instead of isdigit. 122389857Sobrien (s_mri_sect): Use ISDIGIT/TOUPPER instead of isdigit/toupper. 122489857Sobrien (s_float_space): Use ISALPHA instead of isalpha. 122589857Sobrien (ignore_rest_of_line): Use ISPRINT instead of isprint. 122689857Sobrien (float_cons): Use ISALPHA instead of isalpha. 122789857Sobrien (next_char_of_string): Use ISDIGIT/ISXDIGIT instead of 122889857Sobrien isdigit/isxdigit. 122989857Sobrien * symbols.c: Include "safe-ctype.h" instead of <ctype.h>. 123089857Sobrien (save_symbol_name): Use ISLOWER/TOUPPER instead of 123189857Sobrien islower/toupper. 123289857Sobrien (symbol_find_base): Use TOUPPER instead of islower/toupper. 123389857Sobrien (decode_local_label_name): Use ISDIGIT instead of isdigit. 123489857Sobrien 123589857Sobrien2001-09-18 Martin Schwidefsky <schwidefsky@de.ibm.com> 123689857Sobrien 123789857Sobrien * tc-s390.c (s390_insn): Add code to cope with 6 byte O_constants 123889857Sobrien in 64 bit mode and make format "e" work. 123989857Sobrien 124089857Sobrien2001-09-18 Alan Modra <amodra@bigpond.net.au> 124189857Sobrien 124289857Sobrien * dwarf2dbg.c (dwarf2_directive_file): Avoid signed/unsigned warning. 124389857Sobrien 124489857Sobrien * write.c (set_symtab): Update bfd_alloc declaration. Use a temp 124589857Sobrien var to ensure bfd_alloc arg is the right type. 124689857Sobrien (write_object_file): Cast args of bfd_seek. Replace bfd_write with 124789857Sobrien bfd_bwrite. 124889857Sobrien 124989857Sobrien * config/obj-coff.c: Replace calls to bfd_write with calls to 125089857Sobrien bfd_bwrite. Cast args of bfd_seek. 125189857Sobrien 125289857Sobrien * config/obj-elf.c (obj_elf_change_section): Avoid signed/unsigned 125389857Sobrien warning. 125489857Sobrien 125589857Sobrien * config/tc-mn10300.c (set_arch_mach): Make param unsigned. 125689857Sobrien 125789857Sobrien * config/tc-tic54x.c (tic54x_mlib): Replace bfd_read call with 125889857Sobrien call to bfd_bread. 125989857Sobrien 126089857Sobrien2001-09-15 Hans-Peter Nilsson <hp@bitrange.com> 126189857Sobrien 126289857Sobrien * config/tc-sh.h (sh_force_relocation): Prototype. 126389857Sobrien (struct fix): Forward declare. 126489857Sobrien * config/tc-sh.c (type sh_operand_info): Move to top of file. 126589857Sobrien (cons, s_align_bytes): Remove old-type declarations. 126689857Sobrien (sh_elf_suffix, parse_reg, dot, parse_exp, parse_at, get_operand, 126789857Sobrien get_operands, get_specific, insert, build_relax, 126889857Sobrien insert_loop_bounds, build_Mytes): Prototype. 126989857Sobrien (little): Make static. Prototype. 127089857Sobrien (check, tc_Nout_fix_to_chars): Delete unused functions. 127189857Sobrien 127289857Sobrien2001-09-14 Eric Christopher <echristo@redhat.com> 127389857Sobrien 127489857Sobrien * config/tc-mips.c (md_parse_option): Remove setting mips_64 via 127589857Sobrien -mgp32/mgp64. 127689857Sobrien 127789857Sobrien2001-09-14 Kevin Lo <kevlo@openbsd.org> 127889857Sobrien 127989857Sobrien * configure.in: Add arm-openbsd target. 128089857Sobrien * configure: Regenerate. 128189857Sobrien 128289857Sobrien2001-09-14 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 128389857Sobrien 128489857Sobrien * configure.in: Change machine triplets from mips-*-linux-gnu* to 128589857Sobrien mips*-*-linux*. 128689857Sobrien 128789857Sobrien2001-09-12 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 128889857Sobrien 128989857Sobrien * config/tc-mips.c (append_insn): Don't rightshift BFD_RELOC_16_PCREL. 129089857Sobrien 129189857Sobrien2001-09-11 Richard Henderson <rth@redhat.com> 129289857Sobrien 129389857Sobrien * config/tc-alpha.c (alpha_elf_section_letter): New. 129489857Sobrien (alpha_elf_section_flags): New. 129589857Sobrien * config/tc-alpha.h (md_elf_section_letter): New. 129689857Sobrien (md_elf_section_flags): New. 129789857Sobrien * config/tc-ia64.c (ia64_elf_section_letter): New. 129889857Sobrien * config/tc-ia64.h (md_elf_section_letter): New. 129989857Sobrien 130089857Sobrien2001-09-11 Jakub Jelinek <jakub@redhat.com> 130189857Sobrien 130289857Sobrien * config/obj-elf.c (obj_elf_parse_section_letters): Use 'M' instead 130389857Sobrien of 'm', 'S' instead of 's'. Update bad_msg. 130489857Sobrien * config/tc-ppc.c (ppc_section_letter): Update bad_msg. 130589857Sobrien * config/tc-i370.c (i370_sectioN_letter): Update bad_msg. 130689857Sobrien 130789857Sobrien2001-09-09 Alan Modra <amodra@bigpond.net.au> 130889857Sobrien 130989857Sobrien * expr.c (expr): Move code setting "retval" to the end of the loop, 131089857Sobrien and rearrange for efficiency. For "PIC code" subtraction, use 131189857Sobrien "rightseg" rather than recalculating. For "symbol OP symbol" 131289857Sobrien subtract, set "retval" to absolute_section if symbols in same 131389857Sobrien section. 131489857Sobrien * symbols.c (resolve_symbol_value): Resolve "sym +/- expr" to an 131589857Sobrien O_symbol. Simplify a +/- b code. Allow equality and non-equality 131689857Sobrien comparisons on symbols from any section. Allow other comparison 131789857Sobrien operators as for subtraction. 131889857Sobrien (symbol_equated_reloc_p): New predicate function. 131989857Sobrien * symbols.h (symbol_equated_reloc_p): Declare. 132089857Sobrien * write.c (relax_segment <rs_machine_dependent>): Ensure segment 132189857Sobrien for expression syms is set correctly. 132289857Sobrien (adjust_reloc_syms): Use symbol_equated_reloc_p. 132389857Sobrien (write_relocs): Likewise. 132489857Sobrien (write_object_file): Likewise. 132589857Sobrien * config/tc-mips.c (md_estimate_size_before_relax): Likewise. 132689857Sobrien * config/tc-i386.c (md_assemble <Output jumps>): Don't lose part 132789857Sobrien of a complex expression when setting up frag_var. 132889857Sobrien 132989857Sobrien2001-09-07 Richard Henderson <rth@redhat.com> 133089857Sobrien 133189857Sobrien * config/tc-alpha.c (alpha_reloc_op_tag): Replace need_seq with 133289857Sobrien require_seq and allow_seq. Let !literal omit the sequence number. 133389857Sobrien (tokenize_arguments): Reject sequence numbers of !allow_seq. 133489857Sobrien 133589857Sobrien2001-09-08 Jakub Jelinek <jakub@redhat.com> 133689857Sobrien 133789857Sobrien * config/tc-sparc.c (md_apply_fix3): Handle relocs against SEC_MERGE 133889857Sobrien section symbols the same way as externs. 133989857Sobrien 134089857Sobrien2001-09-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 134189857Sobrien 134289857Sobrien * config/tc-mips.c (s_mipsset): Reallow unrestricted use of .set mipsX 134389857Sobrien pseudo-op. 134489857Sobrien 134589857Sobrien2001-09-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 134689857Sobrien 134789857Sobrien * config/tc-mips.c (append_insn): Handle BFD_RELOC_16_PCREL. 134889857Sobrien (macro_build): Use BFD_RELOC_16_PCREL_S2 only for embedded 134989857Sobrien PIC, BFD_RELOC_16_PCREL for the rest. 135089857Sobrien (mips_ip): Likewise. 135189857Sobrien (md_pcrel_from): return the right offset for the differently shifted 135289857Sobrien pcrel relocs. 135389857Sobrien (md_apply_fix): Handle BFD_RELOC_16_PCREL. 135489857Sobrien 135589857Sobrien2001-09-05 Richard Henderson <rth@redhat.com> 135689857Sobrien 135789857Sobrien * config/tc-ia64.c (FUNC_IPLT_RELOC): New. 135889857Sobrien (pseudo_func): Add @iplt. 135989857Sobrien (pseudo_opcode): Add data16 and data16.ua. 136089857Sobrien (md_begin): Set iplt pseudo. 136189857Sobrien (ia64_cons_fix_new): Handle 16 byte iplt reloc specially. 136289857Sobrien 136389857Sobrien2001-09-04 Richard Henderson <rth@redhat.com> 136489857Sobrien 136589857Sobrien * config/tc-alpha.c (struct alpha_insn): Make sequence scalar long. 136689857Sobrien (MACRO_LITERAL, MACRO_BASE, MACRO_BYTOFF, MACRO_JSR): Remove. 136789857Sobrien (alpha_macros): Remove occurrences of same. 136889857Sobrien (O_lituse_addr, O_gprel): New. 136989857Sobrien (DUMMY_RELOC_LITUSE_*): New. 137089857Sobrien (s_alpha_ucons, s_alpha_arch): Prototype. 137189857Sobrien (alpha_reloc_op): Construct elements via DEF macro. 137289857Sobrien (ALPHA_RELOC_SEQUENCE_OK): Remove. 137389857Sobrien (struct alpha_reloc_tag): Rename from alpha_literal_tag; rename 137489857Sobrien members to not be literal specific. 137589857Sobrien (next_sequence_num): New. 137689857Sobrien (md_apply_fix3): Cope with missing GPDISP_LO16. Adjust for 137789857Sobrien added/removed BFD relocations. 137889857Sobrien (alpha_force_relocation, alpha_fix_adjustable): Likewise. 137989857Sobrien (alpha_adjust_symtab_relocs): Handle GPDISP relocs as well. 138089857Sobrien (tokenize_arguments): Parse ! relocations properly. 138189857Sobrien (find_macro_match): Delete unused macro argument types. 138289857Sobrien (assemble_insn): Add reloc parameter; emit that instead of the 138389857Sobrien default as appropriate. 138489857Sobrien (get_alpha_reloc_tag): New. Split from ... 138589857Sobrien (emit_insn): ... here. Allocate a reloc tag for GPDISP. 138689857Sobrien (assemble_tokens): Don't search macros if user relocation present. 138789857Sobrien Copy reloc sequence number to insn struct. 138889857Sobrien (emit_ldgp): Remove user reloc handling. 138989857Sobrien (load_expression, emit_lda, emit_ldah, emit_ir_load): Likewise. 139089857Sobrien (emit_loadstore, emit_ldXu, emit_ldil, emit_stX): Likewise. 139189857Sobrien (emit_sextX, emit_division, emit_jsrjmp, emit_retjcr): Likewise. 139289857Sobrien * config/tc-alpha.h (tc_adjust_symtab): Always define. 139389857Sobrien (struct alpha_fix_tag): Name members less literal specific. 139489857Sobrien 139589857Sobrien2001-09-04 Jeffrey A Law (law@cygnus.com) 139689857Sobrien 139789857Sobrien * tc-h8300.c (tc_gen_reloc): Give an error if we try to take the 139889857Sobrien address of two symbols in different sections. 139989857Sobrien 140089857Sobrien2001-08-31 Eric Christopher <echristo@redhat.com> 140189857Sobrien Jason Eckhardt <jle@redhat.com> 140289857Sobrien 140389857Sobrien * config/tc-mips.c (mips_cpu_info): Add support for mipsisa32, 140489857Sobrien 5kc, and 20kc. Clean up old entries. 140589857Sobrien 140689857Sobrien2001-08-31 J"orn Rennecke <amylaar@redhat.com> 140789857Sobrien Jeff Law <law@redhat.com> 140889857Sobrien 140989857Sobrien * config/tc-h8300.c (build_bytes): For OBJ_ELF, make relocation's 141089857Sobrien offset match H8 ELF spec. 141189857Sobrien (md_section_align): Alternate implementation for BFD_ASSEMBLER. 141289857Sobrien (md_apply_fix): Fix argument and return types for BFD_ASSEMBLER. 141389857Sobrien 141489857Sobrien * tc-h8300.c (relocation mappings): Remove. Moved to tc-h8300.h. 141589857Sobrien (build_bytes): Mark fixups for PCrel branches as signed. For 141689857Sobrien OBJ_ELF, make sure the reloc's offset points to the first byte 141789857Sobrien to be modified. 141889857Sobrien (md_convert_frag): Update definiton based on BFD_ASSEMBLER. 141989857Sobrien * tc-h8300.h (relocation mappings): Add. 142089857Sobrien 142189857Sobrien2001-08-30 J"orn Rennecke <amylaar@redhat.com> 142289857Sobrien 142389857Sobrien * tc-h8300.c (tc_crawl_symbol_chain, tc_headers_hook): Don't 142489857Sobrien define for BFD_ASSEMBLER. 142589857Sobrien (tc_reloc_mangle): Likewise. 142689857Sobrien (tc_gen_reloc): New function for BFD_ASSEMBLER. 142789857Sobrien 142889857Sobrien2001-08-29 Jeffrey A Law (law@cygnus.com) 142989857Sobrien 143089857Sobrien * config/tc-h8300.c (h8300hmode): Record the machine type 143189857Sobrien if BFD_ASSEMBLER is defined. 143289857Sobrien (h8300smode, md_begin): Similarly. 143389857Sobrien 143489857Sobrien2001-08-29 Joel Sherrill <joel@OARcorp.com> 143589857Sobrien 143689857Sobrien * configure.in (i[3456]86-*-rtems*, m68*-*-rtems*): Change 143789857Sobrien default from coff to elf. 143889857Sobrien * configure: Regenerate. 143989857Sobrien 144089857Sobrien2001-08-29 J"orn Rennecke <amylaar@redhat.com> 144189857Sobrien 144289857Sobrien * tc-h8300.c: If OBJ_ELF, include elf/h8.h, and define 144389857Sobrien assorted coff relocations to the corresponding elf relocations. 144489857Sobrien * tc-h8300.h (TARGET_ARCH, TARGET_FORMAT): Define appropriately. 144589857Sobrien 144689857Sobrien * configure.in: Add case for h8300-*-elf. 144789857Sobrien * configure: Regenerate. 144889857Sobrien 144989857Sobrien2001-08-29 J"orn Rennecke <amylaar@redhat.com> 145089857Sobrien 145189857Sobrien * doc/internals.texi (MD_PCREL_FROM_SECTION): Change 145289857Sobrien documentation to reflect reality. 145389857Sobrien 145489857Sobrien2001-08-27 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 145589857Sobrien 145689857Sobrien * config/tc-mips.c (load_address): Reflect change to MAX_GPREL_OFFSET. 145789857Sobrien (macro): Reflect change to MAX_GPREL_OFFSET. 145889857Sobrien 145989857Sobrien2001-08-27 Torbjorn Granlund <tege@swox.com> 146089857Sobrien Staffan Ulfberg <staffanu@swox.se> 146189857Sobrien Linus Nordberg <linus@swox.se> 146289857Sobrien Alan Modra <amodra@bigpond.net.au> 146389857Sobrien 146489857Sobrien * configure.in: Recognise powerpc*le*, not just powerpcle*. 146589857Sobrien * configure: Regenerate. 146689857Sobrien * config/tc-ppc.c (PPC_LO, PPC_HI, PPC_HA, PPC_HIGHER, 146789857Sobrien PPC_HIGHERA, PPC_HIGHEST, PPC_HIGHESTA, SEX16): New macros. 146889857Sobrien (md_assemble): Use them. 146989857Sobrien (ppc_machine): Support stub for ELF64 as well as XCOFF. 147089857Sobrien (md_pseudo_table): Add "llong", "quad". 147189857Sobrien (md_parse_option): Match default_cpu of powerpc*. 147289857Sobrien (ppc_arch): Likewise. 147389857Sobrien (ppc_subseg_align): Only for OBJ_XCOFF. 147489857Sobrien (ppc_target_format): Return elf64-powerpc strings for 64 bit ELF. 147589857Sobrien (md_begin): Select PPC_OPCODE_64 for 64 bit. 147689857Sobrien (ppc_insert_operand): Don't bother testing 'file' before calling 147789857Sobrien as_bad_where. Use as_bad_where for operand->insert errors. 147889857Sobrien (mapping): Add ELF64 relocation modifiers. 147989857Sobrien (ppc_elf_suffix): Replace symbol on BFD_RELOC_PPC64_TOC reloc 148089857Sobrien expressions with abs_symbol. 148189857Sobrien (ppc_elf_cons): Correct offset for little endian targets. 148289857Sobrien (ppc_elf_frob_symbol): New. 148389857Sobrien (md_assemble): Add support for 64 bit ELF relocs. 148489857Sobrien (ppc_tc): Ensure 8 byte alignment when 64 bit. 148589857Sobrien (ppc_is_toc_sym): Only define for OBJ_XCOFF and OBJ_ELF. Match 148689857Sobrien ".toc" section for 64 bit ELF. 148789857Sobrien (ppc_fix_adjustable): New. Macro body moved from tc-ppc.h. 148889857Sobrien (md_apply_fix3): Silence warning with ATTRIBUTE_UNUSED. Only do 148989857Sobrien the ppc_is_toc_sym check for OBJ_XCOFF and OBJ_ELF. For 64 bit, 149089857Sobrien use BFD_RELOC_PPC64_TOC16_DS instead of BFD_RELOC_PPC_TOC16. 149189857Sobrien Expand on comments, error message. Add support for 64 bit relocs, 149289857Sobrien and use PPC_HI etc. macros. 149389857Sobrien * config/tc-ppc.h (MAX_MEM_FOR_RS_ALIGN_CODE): Define. 149489857Sobrien (HANDLE_ALIGN): Define to generate nops in code sections rather 149589857Sobrien than zeros. 149689857Sobrien (TC_FORCE_RELOCATION): Force for BFD_RELOC_PPC64_TOC. 149789857Sobrien (ELF_TC_SPECIAL_SECTIONS): Add 64 bit ELF sections. 149889857Sobrien (tc_fix_adjustable): Move body of macro to tc-ppc.c. 149989857Sobrien (ppc_fix_adjustable): Declare. 150089857Sobrien (tc_frob_symbol): Define. 150189857Sobrien (ppc_elf_frob_symbol): Declare. 150289857Sobrien 150389857Sobrien2001-08-26 Andreas Jaeger <aj@suse.de> 150489857Sobrien 150589857Sobrien * config/tc-s390.c: Add missing prototypes 150689857Sobrien (md_gather_operands): Make static. 150789857Sobrien 150889857Sobrien2001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 150989857Sobrien 151089857Sobrien * config/tc-mips.h (MAX_GPREL_OFFSET): Change it to the maximum 151189857Sobrien allowed value, not the word beyond maximum. 151289857Sobrien * config/tc-mips.c (macro_build_lui): Code cleanup. 151389857Sobrien (macro): Reflect change to MAX_GPREL_OFFSET. 151489857Sobrien (mips_ip): Check explicitly against S_EX_NONE. 151589857Sobrien (my_get_SmallExpression): parse for %gp_rel, not %gprel. 151689857Sobrien (md_apply_fix): Code cleanup. 151789857Sobrien 151889857Sobrien2001-08-24 Andreas Jaeger <aj@suse.de> 151989857Sobrien 152089857Sobrien * config/tc-ppc.h: Fix prototype declaration. 152189857Sobrien 152289857Sobrien2001-08-23 Jakub Jelinek <jakub@redhat.com> 152389857Sobrien 152489857Sobrien * config/tc-ia64.c (dot_endp): Set function symbol sizes. 152589857Sobrien * config/obj-elf.c (obj_elf_size): When size is constant, free 152689857Sobrien and clear symbol_get_obj(sym)->size if any. 152789857Sobrien 152889857Sobrien2001-08-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 152989857Sobrien 153089857Sobrien * config/tc-mips.c (md_begin): Warn about incompatibility between 153189857Sobrien -march=FOO and -mipsN option, continue with default ISA. 153289857Sobrien 153389857Sobrien2001-08-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 153489857Sobrien 153589857Sobrien * config/tc-mips.c (md_parse_option): #ifdef the 153689857Sobrien traditional/non-traditional names as it is done in mips_target_format. 153789857Sobrien 153889857Sobrien2001-08-20 Richard Henderson <rth@redhat.com> 153989857Sobrien 154089857Sobrien * config/tc-alpha.h (MD_APPLY_FIX3): Define. 154189857Sobrien * config/tc-alpha.c (md_apply_fix3): Rename from md_apply_fix; 154289857Sobrien use seg parameter instead of now_seg. 154389857Sobrien 154489857Sobrien2001-08-18 H.J. Lu <hjl@gnu.org> 154589857Sobrien 154689857Sobrien * config/tc-mips.c (show): Add the missing prototype. 154789857Sobrien 154889857Sobrien2001-08-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 154989857Sobrien 155089857Sobrien * config/tc-mips.c (S_EX_*): New enum for my_getSmallExpression() 155189857Sobrien return values. 155289857Sobrien (mips_ip): Use the new return values instead of characters. Add 155389857Sobrien support for %higher and %highest. 155489857Sobrien (LP): Remove. 155589857Sobrien (RP): Remove. 155689857Sobrien (my_getSmallExpression): Make parsing case insensitive and more 155789857Sobrien reliable. Add support for %higher and %highest. Further support to 155889857Sobrien parse %gprel and %neg is implemented but currently deactivated. 155989857Sobrien 156089857Sobrien2001-08-17 Alan Modra <amodra@bigpond.net.au> 156189857Sobrien 156289857Sobrien * ecoff.c (ecoff_frob_symbol): Remove casts from bfd_get_gp_size. 156389857Sobrien (ecoff_build_symbols): Likewise. 156489857Sobrien * read.c (s_lcomm_internal): Fix signed/unsigned warning. 156589857Sobrien 156689857Sobrien2001-08-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 156789857Sobrien 156889857Sobrien * config/tc-mips.c (mips_elf_final_processing): Set elf header flags 156989857Sobrien for n32 ABI if appropriate. 157089857Sobrien 157189857Sobrien2001-08-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 157289857Sobrien 157389857Sobrien * config/tc-mips.c (cons_fix_new_mips): Remove. 157489857Sobrien * config/tc-mips.h (TC_CONS_FIX_NEW): Remove. 157589857Sobrien (cons_fix_new_mips): Remove. 157689857Sobrien 157789857Sobrien2001-08-14 Jeff Johnston <jjohnstn@redhat.com> 157889857Sobrien 157989857Sobrien * expr.c (operand)[LITERAL_PREFIXDOLLAR_HEX]: Treat $L as 158089857Sobrien a label, not a hex constant. 158189857Sobrien 158289857Sobrien2001-08-13 Nick Clifton <nickc@cambridge.redhat.com> 158389857Sobrien 158489857Sobrien * config/tc-v850.h: Add missing prototypes. 158589857Sobrien 158689857Sobrien2001-08-12 Martin Schwidefsky <schwidefsky@de.ibm.com> 158789857Sobrien 158889857Sobrien * config/tc-s390.c (s390_elf_cons): Correct fixups for PLT 158989857Sobrien relocations. 159089857Sobrien 159189857Sobrien2001-08-12 TAKAI Kousuke <takai@vlsi.kuee.kyoto-u.ac.jp> 159289857Sobrien 159389857Sobrien * config/tc-sparc.c (cons_fix_new_sparc): Move 159489857Sobrien `sparc_no_align_cons = 0;' to... 159589857Sobrien (s_uacons): ...here so that sparc_no_align_cons will get 159689857Sobrien cleared properly. 159789857Sobrien 159889857Sobrien2001-08-11 Kazu Hirata <kazu@hxi.com> 159989857Sobrien 160089857Sobrien * config/tc-mips.c: Fix a comment typo. 160189857Sobrien 160289857Sobrien2001-08-10 Richard Sandiford <rsandifo@redhat.com> 160389857Sobrien 160489857Sobrien * config/tc-mips.c (move_register): New function. 160589857Sobrien (macro_build): Remove OPCODE_IS_MEMBER's gp32 argument. 160689857Sobrien (mips_ip): Likewise. 160789857Sobrien (macro2): Use move_register rather than macro_build for moves. 160889857Sobrien (mips16_macro): Likewise. 160989857Sobrien (macro): Likewise. Handle M_MOVE. 161089857Sobrien 161189857Sobrien2001-08-10 Andreas Jaeger <aj@suse.de> 161289857Sobrien 161389857Sobrien * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes 161489857Sobrien to build warnings. 161589857Sobrien * configure: Regenerate. 161689857Sobrien 161789857Sobrien2001-08-10 Alan Modra <amodra@bigpond.net.au> 161889857Sobrien 161989857Sobrien * as.h (alloca): Don't declare if __GNUC__. Remove an old comment. 162089857Sobrien Comment indentation of #pragma. 162189857Sobrien * macro.c (alloca): Likewise. 162289857Sobrien 162389857Sobrien * config/tc-ppc.c: Revert 2001-08-08. 162489857Sobrien 162589857Sobrien2001-08-09 Alan Modra <amodra@bigpond.net.au> 162689857Sobrien 162789857Sobrien * symbols.c: Add missing prototypes. 162889857Sobrien * config/e-i386elf.c: Likewise. 162989857Sobrien * config/e-i386coff.c: Likewise. 163089857Sobrien * config/e-i386aout.c: Likewise. 163189857Sobrien * config/obj-coff.c: Likewise. 163289857Sobrien (def_symbol_in_progress, stack): Move definition. 163389857Sobrien * config/obj-elf.c: Add missing prototypes. 163489857Sobrien (obj_elf_change_section): Make static. 163589857Sobrien (obj_elf_parse_section_letters): Likewise. 163689857Sobrien (obj_elf_section_word): Likewise. 163789857Sobrien (obj_elf_section_type): Likewise. 163889857Sobrien 163989857Sobrien2001-08-08 Alan Modra <amodra@bigpond.net.au> 164089857Sobrien 164189857Sobrien From 1999-10-25 Torbjorn Granlund <tege@swox.com> 164289857Sobrien * config/tc-ppc.c (md_apply_fix3): Replace haphazard code for 164389857Sobrien determining reloc type with code reading operands->reloc field. 164489857Sobrien 164589857Sobrien2001-08-08 Alan Modra <amodra@bigpond.net.au> 164689857Sobrien 164789857Sobrien * config/obj-elf.c (elf_copy_symbol_attributes): Make it a global 164889857Sobrien function, and expand old obj-elf.h OBJ_COPY_SYMBOL_ATTRIBUTES here. 164989857Sobrien * config/obj-elf.h (elf_copy_symbol_attributes): Declare. 165089857Sobrien (OBJ_COPY_SYMBOL_ATTRIBUTES): Call elf_copy_symbol_attributes. 165189857Sobrien 165289857Sobrien * output-file.c (output_file_create): Don't try to open a second 165389857Sobrien time as it's unnecessary. FOPEN_W was undefined too. 165489857Sobrien 165589857Sobrien2001-08-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 165689857Sobrien 165789857Sobrien * config/tc-mips.c (macro_build): Replace magic constants by defines. 165889857Sobrien (mips_ip): Likewise. Typo. 165989857Sobrien 166089857Sobrien2001-08-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 166189857Sobrien 166289857Sobrien * config/tc-mips.c (mips_abi_string): Initialize with NULL instead 166389857Sobrien of 0. 166489857Sobrien (RELAX_ENCODE): Replace bfd_vma by valueT. 166589857Sobrien (load_address): Formatting. 166689857Sobrien (macro): Likewise. Code cleanup. Typo. 166789857Sobrien (macro2): Formatting. 166889857Sobrien (md_parse_option): Typo. 166989857Sobrien (s_mipsset): Reorder cases to look nicer. 167089857Sobrien (md_estimate_size_before_relax): Formatting. Code cleanup. 167189857Sobrien (mips_elf_final_processing): Check against NULL instead of 0. 167289857Sobrien (md_obj_end): Remove ugly `' in message string. 167389857Sobrien (s_mips_ent): Remove ugly `' in message string. 167489857Sobrien 167589857Sobrien2001-07-30 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 167689857Sobrien 167789857Sobrien * config/tc-mips.c (md_begin): Take -mcpu value into account even when 167889857Sobrien -mipsX is specified. Make both -mcpu/-march and -mcpu/-mtune pairs 167989857Sobrien mutually exclusive (if they are different). 168089857Sobrien (md_parse_option): Warn if an -march/-mtune/-mcpu/-m<cpu> option is 168189857Sobrien set more than once. 168289857Sobrien 168389857Sobrien2001-08-03 Richard Sandiford <rsandifo@redhat.com> 168489857Sobrien 168589857Sobrien * config/tc-mips.c (md_apply_fix): Don't subtract the symbol value 168689857Sobrien from GPREL addends. 168789857Sobrien 168889857Sobrien2001-08-02 Richard Sandiford <rsandifo@redhat.com> 168989857Sobrien 169089857Sobrien * doc/c-mips.tex (-mgp32, -mfp32): Added -mfp32, unified with -mgp32. 169189857Sobrien * config/tc-mips.c (mips_fp32, mips_32bit_abi): New static variables. 169289857Sobrien (md_long_opts): Add -mfp32 option. 169389857Sobrien (md_parse_option): Handle it. Set mips_32bit_abi given -mabi=32. 169489857Sobrien (md_show_usage): Show usage for -mfp32 and -mgp32. 169589857Sobrien (HAVE_32BIT_GPRS, HAVE_32BIT_FPRS): New macros. 169689857Sobrien (HAVE_64BIT_GPRS, HAVE_64BIT_FPRS): New macros, inverse of the above. 169789857Sobrien (HAVE_32BIT_ADDRESSES): New macro. 169889857Sobrien (load_register): Use HAVE_32BIT_GPRS to determine the register width. 169989857Sobrien (load_address): Use HAVE_32BIT_ADDRESSES to determine the address size. 170089857Sobrien (s_cprestore, s_cpadd): Likewise. 170189857Sobrien (macro): Use HAVE_32BIT_GPRS to determine the width of registers 170289857Sobrien used in branch and M_LI_D macros. Use HAVE_64BIT_FPRS to determine 170389857Sobrien the width registers used in M_LI_DD macros. Use HAVE_32BIT_ADDRESSES 170489857Sobrien to determine the width of addresses in load, store and jump macros. 170589857Sobrien (macro2): Use HAVE_32BIT_GPRS to determine the width of registers 170689857Sobrien used in set instructions; do not check the address size for them. 170789857Sobrien Use HAVE_32BIT_ADDRESSES to determine the width of addresses in 170889857Sobrien unaligned load and store macros. 170989857Sobrien (mips_ip): Use the new macros to check the width of a register when 171089857Sobrien processing float constants. Force a constant into memory if it is 171189857Sobrien destined for an FPR and the FPRs are wider than the GPRs. Warn about 171289857Sobrien odd FPR numbers if HAVE_32BIT_FPRS. Use HAVE_32BIT_GPRS rather 171389857Sobrien than mips_gp32 to select synthetic instructions. 171489857Sobrien (macro_build): Use HAVE_32BIT_GPRS rather than mips_gp32 to select 171589857Sobrien synthetic instructions. 171689857Sobrien 171789857Sobrien2001-08-01 Christian Groessler <cpg@aladdin.de> 171889857Sobrien 171989857Sobrien * config/tc-z8k.c (parse_reg): If a string starts with "r", "rl", 172089857Sobrien "rh", "rr", "rq", or "sp" then don't automatically assume 172189857Sobrien it's a register name. Check whether there is a number 172289857Sobrien following. 172389857Sobrien 172489857Sobrien2001-08-01 Alan Modra <amodra@bigpond.net.au> 172589857Sobrien 172689857Sobrien * config/tc-i386.c (lex_got): Match lower case relocation tokens. 172789857Sobrien Don't allocate more space than necessary for the input line copy. 172889857Sobrien 172989857Sobrien2001-08-01 Alan Modra <amodra@bigpond.net.au> 173089857Sobrien 173189857Sobrien * read.c: Standardize error/warning messages - don't capitalise, no 173289857Sobrien final period or newline, don't say "ignored" or "zero assumed" for 173389857Sobrien as_bad messages. In some cases, change the wording to that used 173489857Sobrien elsewhere for similar messages. 173589857Sobrien * app.c: Likewise. 173689857Sobrien * as.c: Likewise. 173789857Sobrien * atof-generic.c: Likewise. 173889857Sobrien * cgen.c: Likewise. 173989857Sobrien * cond.c: Likewise. 174089857Sobrien * depend.c: Likewise. 174189857Sobrien * dwarf2dbg.c: Likewise. 174289857Sobrien * ecoff.c: Likewise. 174389857Sobrien * expr.c: Likewise. 174489857Sobrien * frags.c: Likewise. 174589857Sobrien * input-file.c: Likewise. 174689857Sobrien * input-scrub.c: Likewise. 174789857Sobrien * listing.c: Likewise. 174889857Sobrien * output-file.c: Likewise. 174989857Sobrien * stabs.c: Likewise. 175089857Sobrien * subsegs.c: Likewise. 175189857Sobrien * symbols.c: Likewise. 175289857Sobrien * write.c: Likewise. 175389857Sobrien * ecoff.c (ecoff_directive_end): Test for missing name by 175489857Sobrien comparing input line pointers rather than reading string. 175589857Sobrien (ecoff_directive_ent): Likewise. 175689857Sobrien * read.c (s_set): Likewise. 175789857Sobrien (s_align): Report a warning rather than an error for 175889857Sobrien alignment too large. 175989857Sobrien (s_comm): Check for missing symbol name. 176089857Sobrien (s_lcomm_internal): Likewise. 176189857Sobrien (s_lsym): Likewise. 176289857Sobrien (s_globl): Use is_end_of_line instead of looking for '\n'. 176389857Sobrien (s_lcomm_internal): Likewise. 176489857Sobrien (ignore_rest_of_line): Report a warning rather than an error. 176589857Sobrien 176689857Sobrien2001-07-31 Geoffrey Keating <geoffk@redhat.com> 176789857Sobrien 176889857Sobrien * config/tc-ppc.c (ppc_elf_validate_fix): It's OK to have 176989857Sobrien any kind of relocation against a not-loaded section. 177089857Sobrien 177189857Sobrien2001-07-30 Alan Modra <amodra@bigpond.net.au> 177289857Sobrien 177389857Sobrien * config/obj-elf.c (obj_elf_symver): Temporarily modify lex_type 177489857Sobrien to include '@' in symbol names when parsing versioned symbols 177589857Sobrien rather than calling get_symbol_end multiple times. 177689857Sobrien * config/tc-i370.c (register_name): Format fixes. Don't call 177789857Sobrien get_symbol_end after parsing number. 177889857Sobrien * config/tc-mn10200.c (data_register_name): Format fixes. Hoist 177989857Sobrien code out of conditional. 178089857Sobrien (address_register_name): Likewise. 178189857Sobrien (other_register_name): Likewise. 178289857Sobrien * config/tc-mn10300.c (r_register_name): Likewise. 178389857Sobrien (xr_register_name): Likewise. 178489857Sobrien (data_register_name): Likewise. 178589857Sobrien (address_register_name): Likewise. 178689857Sobrien (other_register_name): Likewise. 178789857Sobrien * config/tc-ppc.c (register_name): Likewise. 178889857Sobrien * config/tc-s390.c (register_name): Likewise. 178989857Sobrien 179089857Sobrien2001-07-27 Stephane Carrez <Stephane.Carrez@worldnet.fr> 179189857Sobrien 179289857Sobrien * config/tc-m68hc11.c (md_estimate_size_before_relax): Fix bsr 179389857Sobrien and bra relax: update fragP->fr_fix after the fixup. 179489857Sobrien 179589857Sobrien2001-07-27 Tracy Kuhrt <Tracy.Kuhrt@microchip.com> 179689857Sobrien 179789857Sobrien * read.c (s_set): Check for missing symbol name. 179889857Sobrien 179989857Sobrien2001-07-26 Alan Modra <amodra@bigpond.net.au> 180089857Sobrien 180189857Sobrien * write.c (relax_segment <rs_space>): Account for fr_fix. 180289857Sobrien 180389857Sobrien2001-07-25 H.J. Lu <hjl@gnu.org> 180489857Sobrien 180589857Sobrien * config/tc-mips.c (md_estimate_size_before_relax): Make sure 180689857Sobrien we treat weak like extern only for ELF. 180789857Sobrien (mips_fix_adjustable): Make sure we don't adjust extern/weak 180889857Sobrien symbols only for ELF. 180989857Sobrien 181089857Sobrien2001-07-25 Chris Demetriou <cgd@broadcom.com> 181189857Sobrien 181289857Sobrien * config/tc-mips.c: Fix spelling error in comment. 181389857Sobrien 181489857Sobrien2001-07-25 Dave Brolley <brolley@redhat.com> 181589857Sobrien 181689857Sobrien * app.c (LEX_IS_PARALLEL_SEPARATOR): New macro. 181789857Sobrien (IS_PARALLEL_SEPARATOR): New macro. 181889857Sobrien (do_scrub_begin): Set up characters in tc_parallel_separator_chars 181989857Sobrien as LEX_IS_PARALLEL_SEPARATOR, if it is defined. 182089857Sobrien (do_scrub_chars): Handle LEX_PARALLEL_SEPARATOR chars like 182189857Sobrien LEX_LINE_SEPARATOR except that we go to state 1 (as if the label has 182289857Sobrien been seen). 182389857Sobrien 182489857Sobrien2001-07-24 Alan Modra <amodra@bigpond.net.au> 182589857Sobrien 182689857Sobrien * Makefile.am (DEP_FLAGS): Define, add -DOBJ_MAYBE_ELF. 182789857Sobrien (DEP1, DEPTC, DEPOBJ, DEP2): Use it. 182889857Sobrien Update dependencies with "make dep-am". 182989857Sobrien * Makefile.in: Regenerate. 183089857Sobrien * doc/Makefile.in: Regenerate. 183189857Sobrien 183289857Sobrien2001-07-23 Kazu Hirata <kazu@hxi.com> 183389857Sobrien 183489857Sobrien * config/tc-alpha.h: Fix formatting. 183589857Sobrien * config/tc-arc.c: Likewise. 183689857Sobrien * config/tc-d10v.h: Likewise. 183789857Sobrien * config/tc-hppa.c: Likewise. 183889857Sobrien * config/tc-i370.c: Likewise. 183989857Sobrien * config/tc-i386.h: Likewise. 184089857Sobrien * config/tc-i960.h: Likewise. 184189857Sobrien * config/tc-ia64.c: Likewise. 184289857Sobrien * config/tc-ia64.h: Likewise. 184389857Sobrien * config/tc-m32r.c: Likewise. 184489857Sobrien * config/tc-m68k.c: Likewise. 184589857Sobrien * config/tc-m88k.c: Likewise. 184689857Sobrien * config/tc-ns32k.c: Likewise. 184789857Sobrien * config/tc-pdp11.c: Likewise. 184889857Sobrien * config/tc-pj.h: Likewise. 184989857Sobrien * config/tc-s390.c: Likewise. 185089857Sobrien * config/tc-sparc.c: Likewise. 185189857Sobrien * config/tc-sparc.h: Likewise. 185289857Sobrien * config/tc-tic80.c: Likewise. 185389857Sobrien * config/tc-w65.h: Likewise. 185489857Sobrien 185589857Sobrien2001-07-23 Alan Modra <amodra@bigpond.net.au> 185689857Sobrien 185789857Sobrien * symbols.c (S_GET_VALUE): Don't treat O_constant and local 185889857Sobrien symbols specially. Always resolve, adding fr_address to value. 185989857Sobrien * write.c (write_object_file): Don't add fr_address to sym values. 186089857Sobrien (relax_frag): Likewise. 186189857Sobrien (relax_segment): Likewise. 186289857Sobrien * config/obj-ieee.c (do_symbols): Likewise. 186389857Sobrien * config/tc-cris.c (md_convert_frag): Likewise. 186489857Sobrien * config/tc-fr30.c (md_convert_frag): Likewise. 186589857Sobrien * config/tc-i386.c (md_convert_frag): Likewise. 186689857Sobrien * config/tc-m32r.c (md_convert_frag): Likewise. 186789857Sobrien * config/tc-m68hc11.c (md_convert_frag): Likewise. 186889857Sobrien * config/tc-mcore.c (md_convert_frag): Likewise. 186989857Sobrien * config/tc-mips.c (mips16_extended_frag): Likewise. 187089857Sobrien * config/tc-ns32k.c (md_convert_frag): Likewise. 187189857Sobrien * config/tc-m68k.c (md_convert_frag_1): Likewise. 187289857Sobrien (BRANCHBWL, BRABSJUNC, BRABSJCOND, BRANCHBW, FBRANCH, DBCCLBR, 187389857Sobrien DBCCABSJ, PCREL1632, PCINDEX, ABSTOPCREL): Decrement. 187489857Sobrien (md_relax_table): Remove first four entries. Format. 187589857Sobrien (md_estimate_size_before_relax): Remove old_fix. Don't bother 187689857Sobrien setting fr_var. Simplify byte branch checks. 187789857Sobrien 187889857Sobrien2001-07-23 Alan Modra <amodra@bigpond.net.au> 187989857Sobrien 188089857Sobrien * config/tc-hppa.c (pa_parse_nonneg_cmpsub_cmpltr): Remove 188189857Sobrien "isbranch" param as all calls have it set. 188289857Sobrien (pa_parse_neg_cmpsub_cmpltr): Likewise. 188389857Sobrien (pa_parse_nonneg_add_cmpltr): Likewise. Remember result of 188489857Sobrien strcasecmp in "nullify" var. 188589857Sobrien (pa_parse_neg_add_cmpltr): Likewise. 188689857Sobrien (pa_ip): Don't "save_s" unnecessarily. Update calls to above 188789857Sobrien functions. Don't print wrong conditions in error messages. 188889857Sobrien 188989857Sobrien2001-07-23 Andreas Jaeger <aj@suse.de> 189089857Sobrien 189189857Sobrien * config/tc-s390.c (s390_force_relocation): Removed. 189289857Sobrien 189389857Sobrien * config/tc-s390.h: Remove double declaration of 189489857Sobrien TC_FORCE_RELOCATION. 189589857Sobrien 189689857Sobrien2001-07-22 H.J. Lu <hjl@gnu.org> 189789857Sobrien 189889857Sobrien * config/tc-mips.c (s_mips_end): Remove unused variables. 189989857Sobrien (s_mips_frame): Add ATTRIBUTE_UNUSED. 190089857Sobrien 190189857Sobrien2001-07-17 Andreas Schwab <schwab@suse.de> 190289857Sobrien 190389857Sobrien * config/tc-m68k.c (md_pseudo_table) [OBJ_ELF]: Add .file and 190489857Sobrien .loc. 190589857Sobrien (md_assemble) [OBJ_ELF]: Call dwarf2_emit_insn before emitting 190689857Sobrien insn. 190789857Sobrien * config/tc-m68k.h (DWARF2_LINE_MIN_INSN_LENGTH): Define. 190889857Sobrien 190989857Sobrien2001-07-17 matthew green <mrg@eterna.com.au> 191089857Sobrien 191189857Sobrien * config/tc-i386.c (comment_chars): Don't use '/' as comment start if 191289857Sobrien TE_NetBSD. 191389857Sobrien (line_comment_chars): Set to '/' if TE_NetBSD. 191489857Sobrien 191589857Sobrien2001-07-14 matthew green <mrg@eterna.com.au> 191689857Sobrien 191789857Sobrien * configure.in (i386-*-netbsdelf*): New target. 191889857Sobrien * configure: Regenerate. 191989857Sobrien 192089857Sobrien2001-07-10 Mark Elbrecht <snowball3@softhome.net> 192189857Sobrien 192289857Sobrien * config/obj-coff.c (coff_frob_symbol): Don't merge if the storage 192389857Sobrien class of the non-debug symbol is C_NULL. 192489857Sobrien 192589857Sobrien2001-07-10 Anders Norlander <anorland@synergenix.se> 192689857Sobrien 192789857Sobrien * doc/as.texinfo (Incbin): Fix grammatical errors. 192889857Sobrien 192989857Sobrien2001-07-10 Nick Clifton <nickc@cambridge.redhat.com> 193089857Sobrien 193189857Sobrien * depend.c: Use FOPEN_.. macros in calls to fopen(). 193289857Sobrien * input-file.c: As above. 193389857Sobrien * itbl-ops.c: As above. 193489857Sobrien * listing.c: As above. 193589857Sobrien * output-file.c: As above. 193689857Sobrien * read.c: As above. 193789857Sobrien 193889857Sobrien2001-07-08 Anders Norlander <anorland@synergenix.se> 193989857Sobrien 194089857Sobrien * read.c (s_incbin): New .incbin function. 194189857Sobrien * read.c (potable): Add "incbin" pseudo-op. 194289857Sobrien * read.h: Add s_incbin prototype. 194389857Sobrien * doc/as.texinfo (incbin): Document .incbin pseudo-op. 194489857Sobrien * NEWS: Mention new feature. 194589857Sobrien 194689857Sobrien2001-07-07 Nick Clifton <nickc@cambridge.redhat.com> 194789857Sobrien 194889857Sobrien * ecoff.c (add_file): Only set debug_type to DEBUG_NONE if it is 194989857Sobrien DEBUG_UNSPECIFIED. 195089857Sobrien 195189857Sobrien2001-07-06 John Healy <jhealy@redhat.com> 195289857Sobrien 195389857Sobrien * cgen.c (gas_cgen_save_fixups): Modified to allow more than one 195489857Sobrien set of fixups to be stored. 195589857Sobrien (gas_cgen_restore_fixups): Modified to allow the fixup chain to be 195689857Sobrien restored to be chosen from any that are saved. 195789857Sobrien (gas_cgen_swap_fixups): Modified to allow the current set of 195889857Sobrien fixups to be swapped with any other set that has been saved. 195989857Sobrien (gas_cgen_initialize_saved_fixups_array): New routine. 196089857Sobrien * cgen.h: Modifed prototypes for gas_cgen_save_fixups, 196189857Sobrien gas_cgen_restore_fixups, and gas_cgen_swap_fixups. Added definitions 196289857Sobrien or MAX_SAVED_FIXUP_CHAINS. 196389857Sobrien * config/tc-m32r.c (assemble_two_insns): Changed calls to fixup 196489857Sobrien store, swap and restore fuctions to reflect the new interface. 196589857Sobrien 196689857Sobrien2001-07-06 Nick Clifton <nickc@cambridge.redhat.com> 196789857Sobrien 196889857Sobrien * config/tc-m68k.c (md_estimate_size_before_relax): Catch and 196989857Sobrien ignore empty, ineffectual alignment frags when deciding if a 197089857Sobrien branch can be short. 197189857Sobrien 197289857Sobrien2001-07-05 Steve Ellcey <sje@cup.hp.com> 197389857Sobrien 197489857Sobrien * config/tc-ia64.c (special_section): Add SPECIAL_SECTION_INIT_ARRAY 197589857Sobrien and SPECIAL_SECTION_FINI_ARRAY. 197689857Sobrien (special_section_name): Add .init_array and .fini_array. 197789857Sobrien (md_pseudo_table): Add init_array and fini_array. 197889857Sobrien (md): Add pointer_size and pointer_size_shift fields. 197989857Sobrien (setup_unwind_header): New static function. 198089857Sobrien (output_unw_records): Modify to use setup_unwind_header. 198189857Sobrien (generate_unwind_image, dot_endp): Modify to use md.pointer_size and 198289857Sobrien md.pointer_size_shift. 198389857Sobrien (md_begin): Initialize md.pointer_size and md.pointer_size_shift. 198489857Sobrien 198589857Sobrien2001-07-05 Ben Elliston <bje@redhat.com> 198689857Sobrien 198789857Sobrien * README (Supported platforms): m88k no longer suffers bitrot. 198889857Sobrien 198989857Sobrien * config/tc-m88k.c (md_pseudo_table): Remove redundant "global". 199089857Sobrien 199189857Sobrien2001-07-05 Alan Modra <amodra@bigpond.net.au> 199289857Sobrien 199389857Sobrien * struc-symbol.h (struct local_symbol): Rename lsy_offset to 199489857Sobrien lsy_value. Correct typos in comments. 199589857Sobrien * symbols.c (local_symbol_make): Update for name change. 199689857Sobrien (local_symbol_convert): Likewise. 199789857Sobrien (colon): Likewise. 199889857Sobrien (S_GET_VALUE): Likewise. 199989857Sobrien (S_SET_VALUE): Likewise. 200089857Sobrien (print_symbol_value_1): Likewise. 200189857Sobrien (resolve_symbol_value): Likewise. Don't divide local sym values 200289857Sobrien by OCTETS_PER_BYTE twice. 200389857Sobrien 200489857Sobrien2001-07-04 Jim Wilson <wilson@redhat.com> 200589857Sobrien 200689857Sobrien * config/tc-ia64.c (md_pseudo_table): Add 2byte, 4byte, and 8byte. 200789857Sobrien 200889857Sobrien * config/tc-ia64.c (is_conditional_branch): Rewrite to exclude mod 200989857Sobrien sched branches. 201089857Sobrien 201189857Sobrien2001-07-05 Ben Elliston <bje@redhat.com> 201289857Sobrien 201389857Sobrien * read.c (s_fill): Correct spelling error in comments. 201489857Sobrien 201589857Sobrien * doc/c-m88k.texi: New file. 201689857Sobrien * doc/Makefile.am (CPU_DOCS): Add c-m88k.texi. 201789857Sobrien * doc/Makefile.in: Regenerate. 201889857Sobrien * doc/all.texi: Set M880X0. 201989857Sobrien * doc/as.texinfo: Hook in m88k-dependent documentation. 202089857Sobrien 202189857Sobrien2001-07-04 Eric Christopher <echristo@redhat.com> 202289857Sobrien 202389857Sobrien * doc/c-mips.texi (MIPS Opts): Document 12000 as valid cpu. 202489857Sobrien 202589857Sobrien * config/tc-mips.c (mips_cpu_info_table): Add rm5200, rm5231, rm5261, 202689857Sobrien and rm5721 as valid cpu strings. 202789857Sobrien (md_show_usage): Add rm5200, rm5231, rm5261, rm5721. 202889857Sobrien 202989857Sobrien2001-07-04 Richard Sandiford <rsandifo@redhat.com> 203089857Sobrien 203189857Sobrien * config/tc-mips.c (md_apply_fix): Prevent addend from becoming zero 203289857Sobrien if it's expected to be non-zero. 203389857Sobrien 203489857Sobrien2001-07-03 Nick Clifton <nickc@cambridge.redhat.com> 203589857Sobrien 203689857Sobrien * config/tc-sh.c (sh_frob_section): Replace symbol_get_frag() with 203789857Sobrien fscan->fx_frag. 203889857Sobrien 203989857Sobrien * write.c (TC_FINALIZE_SYMS_BEFORE_SIZE_SEG): Default to 1. 204089857Sobrien (write_object_file): Set finalize_syms to 204189857Sobrien TC_FINALIZE_SYMS_BEFORE_SIZE_SEG just before size_segs is 204289857Sobrien called. 204389857Sobrien 204489857Sobrien * doc/internals.texi: Document 204589857Sobrien TC_FINALIZE_SYMS_BEFORE_SIZE_SEG. 204689857Sobrien 204789857Sobrien2001-07-02 Alan Modra <amodra@bigpond.net.au> 204889857Sobrien 204989857Sobrien * config/tc-ppc.c: Formatting fixes. 205089857Sobrien 205189857Sobrien2001-07-01 Ben Elliston <bje@redhat.com> 205289857Sobrien 205389857Sobrien * config/tc-m88k.c: Back out warning fixes from 2001-06-24, as 205489857Sobrien they cause some subtle breakage. Will fix them again later. 205589857Sobrien 205689857Sobrien2001-06-28 Nick Clifton <nickc@cambridge.redhat.com> 205789857Sobrien 205889857Sobrien * config/obj-coff.c (obj_coff_ln): Treat a .ln directive 205989857Sobrien outside of a function as a .appline directive. 206089857Sobrien 206189857Sobrien2001-06-28 Eric Christopher <echristo@redhat.com> 206289857Sobrien H.J. Lu <hjl@gnu.org> 206389857Sobrien 206489857Sobrien * config/tc-mips.c (mips_arch): New. Use mips_arch instead 206589857Sobrien of mips_cpu for the ISA selection. 206689857Sobrien (md_longopts): Add OPTION_MARCH and OPTION_MTUNE. 206789857Sobrien (md_parse_option): Handle OPTION_MARCH and OPTION_MTUNE. 206889857Sobrien (mips_tune): New. Use mips_tune for scheduling and optimization 206989857Sobrien issues. 207089857Sobrien (append_insn): Use mips_tune and mips_arch. 207189857Sobrien (macro_build): Ditto. 207289857Sobrien (mips_ip): Ditto. 207389857Sobrien (md_begin): Handle mips_arch, mips_tune and mips_cpu. For 207489857Sobrien backwards compatability mips_cpu generates arch and tune. 207589857Sobrien (md_show_usage): Document new behavior. 207689857Sobrien 207789857Sobrien * doc/c-mips.texi (MIPS Opts): Document -march and -mtune. 207889857Sobrien Deprecate -mcpu. 207989857Sobrien 208089857Sobrien * NEWS: Update. 208189857Sobrien 208289857Sobrien2001-06-27 Nick Clifton <nickc@cambridge.redhat.com> 208389857Sobrien 208489857Sobrien * write.c (write_object_file): Do not set finalize_syms until 208589857Sobrien after the segments have been sized. Some backends may still 208689857Sobrien need to access the syms's frags in order to adjust relaxed 208789857Sobrien frags. 208889857Sobrien 208989857Sobrien * config/tc-arm.c (do_ldst): Use MVN to build simple inverted 209089857Sobrien constants. 209189857Sobrien 209289857Sobrien2001-06-27 Alan Modra <amodra@bigpond.net.au> 209389857Sobrien 209489857Sobrien * write.c (fixup_segment <Difference of 2 syms same seg>): Don't 209589857Sobrien subtract MD_PCREL_FROM_SECTION for 68k. 209689857Sobrien (fixup_segment <Difference of 2 syms different seg>): Only fudge 209789857Sobrien by adding MD_PCREL_FROM_SECTION for 68k or if not already pcrel. 209889857Sobrien 209989857Sobrien2001-06-27 Tracy A. Kuhrt <Tracy.Kuhrt@microchip.com> 210089857Sobrien 210189857Sobrien * write.c (fixup_segment <Difference of 2 syms same seg>): If 210289857Sobrien pcrel, subtract MD_PCREL_FROM_SECTION value. 210389857Sobrien 210489857Sobrien2001-06-24 Ben Elliston <bje@redhat.com> 210589857Sobrien 210689857Sobrien * stabs.c (generate_asm_file): Make local variable `len' a size_t. 210789857Sobrien 210889857Sobrien2001-06-24 Jakub Jelinek <jakub@redhat.com> 210989857Sobrien 211089857Sobrien * config/tc-alpha.c (tc_gen_reloc): Handle relocs against SEC_MERGE 211189857Sobrien section symbols the same way as externs. 211289857Sobrien 211389857Sobrien2001-06-24 Ben Elliston <bje@redhat.com> 211489857Sobrien 211589857Sobrien * config/tc-m88k.c (md_number_to_imm): Remove; unused since 1993. 211689857Sobrien (emit_relocations): Ditto. 211789857Sobrien (s_bss): Ditto. 211889857Sobrien (md_begin): Reformat comments to conform to the GNU standards. 211989857Sobrien (md_assemble): Ditto. 212089857Sobrien 212189857Sobrien * config/tc-m88k.c (get_reg): Adjust type of `reg_prefix' to char. 212289857Sobrien (md_parse_option): Mark parameters as unused. 212389857Sobrien (md_show_usage): Ditto. 212489857Sobrien (calcop): Adjust type of `reg_prefix' to char. 212589857Sobrien (get_reg): Ditto. 212689857Sobrien (getval): Adjust type of local `c' to char. 212789857Sobrien (md_create_short_jump): Mark from_addr, to_addr params as unused. 212889857Sobrien (md_create_long_jump): Ditto. 212989857Sobrien (md_estimate_size_before_relax): Mark parameters as unused. 213089857Sobrien 213189857Sobrien * config/tc-m88k.c (md_pseudo_table): Properly terminate the table 213289857Sobrien to allay a possible compiler warning. 213389857Sobrien 213489857Sobrien2001-06-22 Nick Clifton <nickc@cambridge.redhat.com> 213589857Sobrien 213689857Sobrien * doc/internals.texi (CPU backend): Document md_atof. 213789857Sobrien 213889857Sobrien2001-06-22 Matthew Wilcox <willy@ldl.fc.hp.com> 213989857Sobrien 214089857Sobrien * config/tc-hppa.c (pre_defined_registers): Add %mrp (millicode 214189857Sobrien return pointer) alias for %r2 or %r31, depending on 32 or 64 bit 214289857Sobrien architecture. 214389857Sobrien 214489857Sobrien2001-06-21 Philip Blundell <philb@gnu.org> 214589857Sobrien 214689857Sobrien * config/tc-arm.c (cplong_flag): Rename to long_flag. All uses 214789857Sobrien updated. 214889857Sobrien (insns): Remove entry for adrl. Add long_flag for adr. 214989857Sobrien (do_adr): Handle `l' suffix. 215089857Sobrien (do_adrl): Delete. 215189857Sobrien 215289857Sobrien2001-06-21 Alan Modra <amodra@bigpond.net.au> 215389857Sobrien 215489857Sobrien * config/tc-hppa.c (CHECK_FIELD_WHERE): Define. 215589857Sobrien (md_apply_fix): Use it here. Replace printf with equivalent 215689857Sobrien as_bad_where. 215789857Sobrien (tc_gen_reloc): Use as_bad_where instead of as_bad. 215889857Sobrien (md_apply_fix): Here too. 215989857Sobrien * config/tc-i386.c (tc_gen_reloc): Use as_bad_where instead of as_bad. 216089857Sobrien * config/tc-m68k.c (tc_gen_reloc): Likewise. 216189857Sobrien (md_convert_frag_1): Likewise. 216289857Sobrien 216389857Sobrien2000-06-20 Tom Rix <trix@redhat.com> 216489857Sobrien 216589857Sobrien * config/tc-ppc.c (ppc_comm): Change default alignment to 4 bytes. 216689857Sobrien 216789857Sobrien2001-06-18 H.J. Lu <hjl@gnu.org> 216889857Sobrien 216989857Sobrien * doc/Makefile.am (info): Depend on $(MANS). 217089857Sobrien (as.1): Remove the prefix `$(srcdir)/'. 217189857Sobrien * doc/Makefile.in: Regenerated. 217289857Sobrien 217389857Sobrien * as.1: Removed. 217489857Sobrien 217589857Sobrien2001-06-18 Philip Blundell <philb@gnu.org> 217689857Sobrien 217789857Sobrien * config/tc-arm.c (do_msr): Remove restriction on usage of 217889857Sobrien immediate operands. 217989857Sobrien 218089857Sobrien2001-06-19 Alan Modra <amodra@bigpond.net.au> 218189857Sobrien 218289857Sobrien * dwarf2dbg.c (dwarf2_finish): Output file info even when no 218389857Sobrien line info. 218489857Sobrien 218589857Sobrien2001-06-13 Philip Blundell <philb@gnu.org> 218689857Sobrien 218789857Sobrien * config/tc-arm.c (thumb_shift): Improve wording of error message. 218889857Sobrien (do_t_arit): Likewise. 218989857Sobrien 219089857Sobrien2001-06-13 Nick Clifton <nickc@cambridge.redhat.com> 219189857Sobrien 219289857Sobrien * config/tc-sh.c (md_pseudo_table): Only intercept the .file and 219389857Sobrien .loc pseudos if the dfwarf2 functions are available. 219489857Sobrien (md_assemble): Only call dwarf2_emit_insn if it is available. 219589857Sobrien 219689857Sobrien * expr.c: Fix typo in comment. 219789857Sobrien 219889857Sobrien2001-06-12 Nick Clifton <nickc@cambridge.redhat.com> 219989857Sobrien 220089857Sobrien * doc/as.texinfo (Infix Ops): Document that comparison and 220189857Sobrien combiner operators can be used as infix operators. 220289857Sobrien 220389857Sobrien2001-06-12 Peter Jakubek <pjak@snafu.de> 220489857Sobrien 220589857Sobrien * config/tc-m68k.c (parse_mri_control_operand): Fix handling 220689857Sobrien of AND/OR. 220789857Sobrien (swap_mri_condition): Add HS (alias fo CC) and LO (alias for CS). 220889857Sobrien (reverse_mri_condition): Likewise. 220989857Sobrien (swap_mri_condition): Issue warning for conditions that can not be 221089857Sobrien swapped. 221189857Sobrien (build_mri_control_operand): Fix order of operands (swapped). 221289857Sobrien (build_mri_control_operand): Allow upper case extension in structured 221389857Sobrien control directives. 221489857Sobrien (s_mri_else): Likewise. 221589857Sobrien (s_mri_next): Likewise. 221689857Sobrien (s_mri_for): Likewise. 221789857Sobrien (s_mri_if): Fix handling comment ('*') in mri mode. 221889857Sobrien (s_mri_while): Likewise. 221989857Sobrien * macro.c (macro_expand): Allow macro invocation with empty 222089857Sobrien extension. 222189857Sobrien 222289857Sobrien2001-06-12 Nick Clifton <nickc@cambridge.redhat.com> 222389857Sobrien 222489857Sobrien * config/tc-arm.c: Fix test for overlow of literal pool. 222589857Sobrien 222689857Sobrien2001-06-11 H.J. Lu <hjl@gnu.org> 222789857Sobrien 222889857Sobrien * NEWS: Updated for the new -n option for the MIPS assembler. 222989857Sobrien 223089857Sobrien * config/tc-mips.c (md_show_usage): Add -n. 223189857Sobrien 223289857Sobrien * doc/as.texinfo: Document the new -n option. 223389857Sobrien * doc/c-mips.texi: Likewise. 223489857Sobrien * doc/as.1: Regenerated. 223589857Sobrien 223689857Sobrien2001-06-10 Alan Modra <amodra@bigpond.net.au> 223789857Sobrien 223889857Sobrien * config/obj-coff.c (obj_coff_section): Formatting fix. 223989857Sobrien 224089857Sobrien * config/tc-i386.c (md_assemble): Accept branch hints as ",pt" and 224189857Sobrien ",pn". 224289857Sobrien 224389857Sobrien2001-06-08 H.J. Lu <hjl@gnu.org> 224489857Sobrien 224589857Sobrien * config/tc-mips.c (warn_nops): New variable. Set to 0 to 224689857Sobrien disable warning about all NOPS that the assembler generates. 224789857Sobrien (macro): Warn NOPS generated only if warn_nops is not 0. 224889857Sobrien (md_shortopts): Add `n'. 224989857Sobrien (md_parse_option): Set warn_nops to 1 for `n'. 225089857Sobrien 225189857Sobrien2001-06-08 H.J. Lu <hjl@gnu.org> 225289857Sobrien 225389857Sobrien * config/tc-mips.c (mips_ip): Properly handle illegal operands. 225489857Sobrien 225589857Sobrien2001-06-08 H.J. Lu <hjl@gnu.org> 225689857Sobrien 225789857Sobrien * config/tc-mips.c (md_apply_fix): Don't adjust common 225889857Sobrien extern/weak symbols for ELF. 225989857Sobrien (md_estimate_size_before_relax): Treat weak like extern for 226089857Sobrien ELF. 226189857Sobrien (mips_fix_adjustable): Don't adjust extern/weak symbols for 226289857Sobrien ELF. 226389857Sobrien 226489857Sobrien2001-06-08 Alan Modra <amodra@bigpond.net.au> 226589857Sobrien 226689857Sobrien * Makefile.am: 'som' is not wrongly spelled 'some'. 226789857Sobrien * Makefile.in: Regenerate. 226889857Sobrien 226989857Sobrien * config/tc-mips.c (mips16_mark_labels): Reduce number of calls to 227089857Sobrien S_GET_VALUE by using a temp. 227189857Sobrien (append_insn): Likewise, and for S_SET_VALUE too. 227289857Sobrien (mips_emit_delays): Likewise. 227389857Sobrien (my_getExpression): Likewise. 227489857Sobrien (md_apply_fix): Likewise. Use "valueT" rather than "long" for "value". 227589857Sobrien (mips16_extended_frag): Remove code concerned with avoiding 227689857Sobrien locking in a frag address now that symbols are not finalized until 227789857Sobrien relaxation is complete. Cater for first relaxation pass having 227889857Sobrien bogus addresses. Use relax_marker to reliably determine whether a 227989857Sobrien symbol frag has been reached on the current pass. 228089857Sobrien 228189857Sobrien2001-06-07 H.J. Lu <hjl@gnu.org> 228289857Sobrien 228389857Sobrien * configure.in: Move "mips-*-linux-gnu*" before "mips-*-gnu*". 228489857Sobrien * configure: Regenerate. 228589857Sobrien 228689857Sobrien2001-06-07 H.J. Lu <hjl@gnu.org> 228789857Sobrien 228889857Sobrien * configure.in: Use MIPS_STABS_ELF for Linux/mips and remove 228989857Sobrien ecoff emulation. 229089857Sobrien * configure: Regenerate. 229189857Sobrien 229289857Sobrien2001-06-07 H.J. Lu <hjl@gnu.org> 229389857Sobrien 229489857Sobrien * config/tc-mips.c (mips_pseudo_table): Add "extern" if 229589857Sobrien MIPS_STABS_ELF is defined. 229689857Sobrien 229789857Sobrien2001-06-06 Nick Clifton <nickc@cambridge.redhat.com> 229889857Sobrien 229989857Sobrien * as.c (show_usage): Remove L from listing options. It is not a 230089857Sobrien generic option. 230189857Sobrien 230289857Sobrien2001-06-06 Christian Groessler <cpg@aladdin.de> 230389857Sobrien 230489857Sobrien * config/tc-z8k.c: Removed many warnings by removing unused 230589857Sobrien variables and tagging unused parameters as such. 230689857Sobrien (md_begin): Fixed a typo (","instead of ";"). 230789857Sobrien (struct ctrl_table): Add parentheses to initialize array 230889857Sobrien correctly. 230989857Sobrien (struct flag_table): Likewise. 231089857Sobrien (struct intr_table): Likewise. 231189857Sobrien (struct table): Likewise. 231289857Sobrien (check_operand): "#if 0"'ed since it doesn't seem to be used. 231389857Sobrien 231489857Sobrien2001-06-06 Peter Jakubek <pjak@snafu.de> 231589857Sobrien 231689857Sobrien * config/tc-m68k.c (md_show_usage): Add all supported ColdFire 231789857Sobrien options to list (e.g. m5206e, m5307, m5407). 231889857Sobrien 231989857Sobrien2001-06-06 Martin Schwidefsky <schwidefsky@de.ibm.com> 232089857Sobrien 232189857Sobrien * config/tc-s390.h (TC_FORCE_RELOCATION): Always emit relocations 232289857Sobrien BFD_RELOC_VTABLE_INHERIT and BFD_RELOC_VTABLE_ENTRY. 232389857Sobrien 232489857Sobrien2001-06-06 Alan Modra <amodra@bigpond.net.au> 232589857Sobrien 232689857Sobrien * config/tc-i386.c (md_assemble): Handle Pentium4 branch hints. 232789857Sobrien <JumpByte, JumpDword insn output>: Remove dead code. 232889857Sobrien 232989857Sobrien2001-06-06 Tracy Kuhrt <Tracy.Kuhrt@microchip.com> 233089857Sobrien 233189857Sobrien * as.c (parse_args): Correct option name "listing-lhs-width2". 233289857Sobrien 233389857Sobrien2001-06-05 Nick Clifton <nickc@cambridge.redhat.com> 233489857Sobrien 233589857Sobrien * symbols.c (S_SET_EXTERNAL): Do not override a section symbol's 233689857Sobrien status. 233789857Sobrien 233889857Sobrien2001-05-30 Richard Henderson <rth@redhat.com> 233989857Sobrien 234089857Sobrien * read.c (emit_leb128_expr): Call md_cons_align. 234189857Sobrien 234289857Sobrien2001-05-28 Jeff Sturm <jsturm@one-point.com> 234389857Sobrien 234489857Sobrien * config/tc-sparc.c (md_apply_fix3): Handle BFD_RELOC_SPARC_UA16, 234589857Sobrien BFD_RELOC_SPARC_UA32 and BFD_RELOC_SPARC_UA64. 234689857Sobrien (tc_gen_reloc): Likewise. 234789857Sobrien (sparc_cons_align): Don't clear sparc_no_align_cons. 234889857Sobrien (cons_fix_new_sparc): Substitute BFD_RELOC_SPARC_UA{16|32|64} for 234989857Sobrien BFD_RELOC_{16|32|64} iff sparc_no_align_cons is set. 235089857Sobrien 235189857Sobrien2001-05-27 Alan Modra <amodra@one.net.au> 235289857Sobrien 235389857Sobrien * write.c (relax_segment <rs_space>): Check the section of a 235489857Sobrien symbol to determine whether it is absolute rather than comparing 235589857Sobrien its frag against zero_address_frag as listings play tricks with 235689857Sobrien frags. 235789857Sobrien 235889857Sobrien * config/tc-m68k.c (md_assemble): Ensure variable part of frag is 235989857Sobrien allocated in the same chunk as the fixed part. 236089857Sobrien 236189857Sobrien2001-05-26 Alan Modra <amodra@one.net.au> 236289857Sobrien 236389857Sobrien * write.c (relax_segment <rs_space>): Calculate growth using 236489857Sobrien addresses before stretch. Prevent repeated error messages. 236589857Sobrien From Peter Jakubek <pjak@snafu.de> 236689857Sobrien Use as_bad_where and as_warn_where to pinpoint errors. 236789857Sobrien 236889857Sobrien2001-05-25 Alan Modra <amodra@one.net.au> 236989857Sobrien 237089857Sobrien * symbols.c (resolve_symbol_value): Always set segment, even when 237189857Sobrien not finalizing symbol value. 237289857Sobrien 237389857Sobrien * config/obj-ieee.c (write_object_file): Set finalize_syms. 237489857Sobrien * config/obj-coff.c (write_object_file): Likewise. 237589857Sobrien * (size_section): Remove rs_space assert as fr_symbol is no longer 237689857Sobrien removed. 237789857Sobrien (fill_section): Likewise. 237889857Sobrien 237989857Sobrien * configure.in: Replace linuxoldld with linux*oldld. 238089857Sobrien * configure: Regenerate. 238189857Sobrien 238289857Sobrien From 2.11 branch 2001-03-30 Richard Henderson <rth@redhat.com> 238389857Sobrien * config/tc-i386.c (md_convert_frag): Don't die on local symbols 238489857Sobrien that have been finalized. 238589857Sobrien 238689857Sobrien * symbols.c (resolve_symbol_value): Clear sy_resolving before 238789857Sobrien taking exit_dont_set_value. 238889857Sobrien 238989857Sobrien * write.c (relax_segment <rs_space>): Don't zap fr_symbol when 239089857Sobrien relaxing. 239189857Sobrien 239289857Sobrien2000-05-24 Tom Rix <trix@redhat.com> 239389857Sobrien 239489857Sobrien * config/obj-coff.c (add_lineno): xcoff allows negative line 239589857Sobrien numbers 239689857Sobrien * config/tc-ppc.c (ppc_stabx): fix generated symbol 239789857Sobrien 239889857Sobrien2001-05-24 Alan Modra <amodra@one.net.au> 239989857Sobrien 240089857Sobrien * write.c (write_object_file): Set finalize_syms = 1 before 240189857Sobrien size_seg is called. 240289857Sobrien 240389857Sobrien2001-05-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 240489857Sobrien 240589857Sobrien * config/tc-mips.c (ISA_HAS_64BIT_REGS): Add ISA_MIPS64 as 64 bit 240689857Sobrien architecture, remove erraneous ISA_MIPS32. 240789857Sobrien (md_show_usage): Add MIPS r12k support. 240889857Sobrien (mips_cpu_info_table): Add MIPS r12k support. 240989857Sobrien 241089857Sobrien2001-05-22 Alan Modra <amodra@one.net.au> 241189857Sobrien 241289857Sobrien * config/tc-arc.c (md_assemble): Use is_end_of_line instead of 241389857Sobrien testing for NULs. 241489857Sobrien 241589857Sobrien * symbols.c (resolve_symbol_value): Remove "finalize" param, 241689857Sobrien instead use finalize_syms directly. Don't treat expressions 241789857Sobrien specially with regard to finalize_syms. Update calls to self. 241889857Sobrien (resolve_local_symbol): Update call to resolve_symbol_value. 241989857Sobrien (S_GET_VALUE): Likewise. Return resolve_symbol_value if 242089857Sobrien !finalize_syms. 242189857Sobrien * symbols.h (resolve_symbol_value): Update prototype. 242289857Sobrien * config/obj-aout.c (obj_crawl_symbol_chain): Update call 242389857Sobrien to resolve_symbol_value. 242489857Sobrien * config/obj-bout.c (obj_crawl_symbol_chain): Likewise. 242589857Sobrien * config/obj-coff.c (do_relocs_for): Likewise. 242689857Sobrien (yank_symbols): Likewise. 242789857Sobrien (fixup_segment): Likewise. 242889857Sobrien * config/obj-vms.c (obj_crawl_symbol_chain): Likewise. 242989857Sobrien * config/tc-mips.c (md_convert_frag): Likewise. 243089857Sobrien * config/tc-ppc.c (ppc_frob_symbol): Likewise. 243189857Sobrien (ppc_fix_adjustable): Likewise. 243289857Sobrien * dwarf2dbg.c (dwarf2dbg_estimate_size_before_relax): Likewise. 243389857Sobrien (dwarf2dbg_convert_frag): Likewise. 243489857Sobrien * ehopt.c (eh_frame_estimate_size_before_relax): Likewise. 243589857Sobrien (eh_frame_convert_frag): Likewise. 243689857Sobrien * expr.c (make_expr_symbol): Likewise. 243789857Sobrien * write.c (adjust_reloc_syms): Likewise. 243889857Sobrien (write_object_file): Likewise. 243989857Sobrien (relax_segment): Likewise. 244089857Sobrien (fixup_segment): Likewise. 244189857Sobrien (finalize_syms): Init to zero, and update comment. 244289857Sobrien (write_object_file): Set finalize_syms to 1 rather than 2. 244389857Sobrien * doc/internals.texi (sy_value): Mention finalize_syms. 244489857Sobrien (S_GET_VALUE): Remove restriction on when S_GET_VALUE can be called. 244589857Sobrien 244689857Sobrien * config/tc-m68k.c (relaxable_symbol): Only treat external symbols 244789857Sobrien as relaxable if embedded system, make weak syms non-relaxable. 244889857Sobrien Move definition.. 244989857Sobrien (tc_m68k_fix_adjustable): ..so it can be used here. 245089857Sobrien (md_apply_fix_2): Sign extend without conditional. 245189857Sobrien 245289857Sobrien * config/tc-v850.c: Update copyright. 245389857Sobrien 245489857Sobrien2001-05-16 Jeff Johnston <jjohnstn@redhat.com> 245589857Sobrien 245689857Sobrien * cgen.c (gas_cgen_tc_gen_reloc): Changed error message when 245789857Sobrien howto entry is not found. 245889857Sobrien 245989857Sobrien2001-05-15 Alexandre Oliva <aoliva@redhat.com> 246089857Sobrien 246189857Sobrien * config/tc-mn10300.c (mn10300_force_relocation): Don't 246289857Sobrien optimize differences between symbols in code sections to 246389857Sobrien constants. 246489857Sobrien (mn10300_fix_adjustable): Don't adjust to section+offset 246589857Sobrien relocations pointing at symbols in code sections. 246689857Sobrien 246789857Sobrien2001-05-16 Alan Modra <amodra@one.net.au> 246889857Sobrien 246989857Sobrien * config/tc-arc.c (md_assemble): Correct dwarf2_emit_insn param 247089857Sobrien for 8 byte insns. 247189857Sobrien * config/tc-i386.c (md_assemble): Call dwarf2_emit_insn before 247289857Sobrien opcodes are output rather than after. Delete insn_size. 247389857Sobrien * config/tc-v850.c (md_assemble): Similarly, but delete 247489857Sobrien total_insn_size. 247589857Sobrien 247689857Sobrien2001-05-14 Richard Henderson <rth@redhat.com> 247789857Sobrien 247889857Sobrien * ehopt.c (eh_frame_convert_frag): Fix missed subtype adjustment 247989857Sobrien last change. 248089857Sobrien 248189857Sobrien2001-05-14 Richard Henderson <rth@redhat.com> 248289857Sobrien 248389857Sobrien * ehopt.c (get_cie_info): Rename from eh_frame_code_alignment; 248489857Sobrien also collect whether to expect an FDE augmentation. 248589857Sobrien (check_eh_frame): Rewrite as a state machine. Track where in 248689857Sobrien an FDE we are located, skip any augmentation. 248789857Sobrien (eh_frame_estimate_size_before_relax): Get code alignment from 248889857Sobrien the fragment subtype. 248989857Sobrien (eh_frame_relax_frag, eh_frame_convert_frag): Likewise. 249089857Sobrien * read.c (emit_leb128_expr): Call check_eh_frame. 249189857Sobrien 249289857Sobrien2001-05-14 Alexandre Oliva <aoliva@redhat.com> 249389857Sobrien 249489857Sobrien * config/tc-mn10300.c (md_assemble): Anchor dwarf2 line info 249589857Sobrien before a relaxable insns. 249689857Sobrien 249789857Sobrien2001-05-13 Alexandre Oliva <aoliva@redhat.com> 249889857Sobrien 249989857Sobrien * config/tc-mn10300.c (tc_gen_reloc): Don't reject differences 250089857Sobrien between symbols if the base symbol is in the current section; 250189857Sobrien emit a PC-relative relocation instead. 250289857Sobrien 250389857Sobrien2001-05-12 Peter Targett <peter.targett@arccores.com> 250489857Sobrien 250589857Sobrien * config/tc-arc.c: Update copyright and tidy source comments. 250689857Sobrien (md_pseudo_table): Add directive .cpu back as an alias for 250789857Sobrien .option. Add .file and .line for dwarf2 support. 250889857Sobrien (arc_mach_type): Make bfd_mach_arc_6 default. 250989857Sobrien (md_longopts): Add entry 'pre-v6' representing old command line 251089857Sobrien option when assembling for 'arc5' core versions. 251189857Sobrien (md_parse_option): Make OPTION_ARC same as OPTION_ARC6, for new 251289857Sobrien default behaviour. 251389857Sobrien (arc_code_symbol): Make symbol value for @h30 fixup expression 251489857Sobrien equal to O_constant. 251589857Sobrien (md_assemble): Call dwarf2_emit_insn. 251689857Sobrien Include "dwarf2dbg2.h". Formatting fixes throughout file. 251789857Sobrien * config/tc-arc.h (DWARF2_LINE_MIN_INSN_LENGTH): Define. 251889857Sobrien * doc/c-arc.texi (ARC_CORE_DEFAULT): Update to new default. 251989857Sobrien 252089857Sobrien2001-05-11 Jakub Jelinek <jakub@redhat.com> 252189857Sobrien 252289857Sobrien * config/tc-ia64.c (special_linkonce_name): New. 252389857Sobrien (make_unw_section): Map .gnu.linkonce.t.FOO text section into 252489857Sobrien .gnu.linkonce.ia64unw{,i}.FOO. 252589857Sobrien (ia64_elf_section_type): Handle .gnu.linkonce.ia64unw{,i}.FOO. 252689857Sobrien (dot_endp): Add comment about it. 252789857Sobrien 252889857Sobrien2001-05-11 Nick Clifton <nickc@cambridge.redhat.com> 252989857Sobrien 253089857Sobrien * config/tc-arm.c (arm_handle_align): When truncating an aligned 253189857Sobrien block, ensure that the low order bits of the alignment are 253289857Sobrien preserved. 253389857Sobrien 253489857Sobrien2001-05-10 Alan Modra <amodra@one.net.au> 253589857Sobrien 253689857Sobrien * config/obj-vms.c (obj_crawl_symbol_chain): Don't take address of 253789857Sobrien symbol_next. 253889857Sobrien 253989857Sobrien * config/tc-fr30.c (md_estimate_size_before_relax): Return size of 254089857Sobrien current variable part of frag. 254189857Sobrien * config/tc-m32r.c (md_estimate_size_before_relax): Likewise. 254289857Sobrien * config/tc-openrisc.c (md_estimate_size_before_relax): Likewise. 254389857Sobrien * config/tc-m68hc11.c (RELAX_STATE): Define. 254489857Sobrien (RELAX_LENGTH): Define. 254589857Sobrien (md_estimate_size_before_relax): Handle non-relaxable cases 254689857Sobrien separately from relaxable cases for clarity, and return correct 254789857Sobrien size for multi-pass relaxation. 254889857Sobrien * config/tc-tahoe.c (RELAX_LENGTH): Correct. 254989857Sobrien (md_estimate_size_before_relax): As for tc-m68hc11.c. 255089857Sobrien (md_convert_frag): Remove "length_code". 255189857Sobrien * config/tc-vax.c (RELAX_STATE): Define. 255289857Sobrien (RELAX_LENGTH): Define. 255389857Sobrien (md_relax_table): Add missing entry. 255489857Sobrien (md_estimate_size_before_relax): As for tc-m68hc11.c. 255589857Sobrien (md_convert_frag): Remove "length_code". 255689857Sobrien * config/tc-ns32k.c (md_estimate_size_before_relax): Simplify and 255789857Sobrien don't bother setting fr_var. Return correct size for multi-pass 255889857Sobrien relaxation. 255989857Sobrien * config/tc-v850.c (md_estimate_size_before_relax): Rewrite. 256089857Sobrien (md_convert_frag): Don't bother clearing fr_var. 256189857Sobrien (md_pseudo_table): Correct initialization. 256289857Sobrien * config/tc-h8500.c (md_convert_frag): Don't bother clearing fr_var. 256389857Sobrien (md_estimate_size_before_relax): No need to set fr_var. 256489857Sobrien * config/tc-mcore.c (md_convert_frag): Don't bother clearing fr_var. 256589857Sobrien (md_estimate_size_before_relax): No need to set fr_var. 256689857Sobrien 256789857Sobrien2001-05-09 Richard Henderson <rth@redhat.com> 256889857Sobrien 256989857Sobrien * config/tc-ia64.c (generate_unwind_image): Align the fragment 257089857Sobrien beginning a function's unwind info block. 257189857Sobrien 257289857Sobrien2001-05-09 Alexandre Oliva <aoliva@redhat.com> 257389857Sobrien 257489857Sobrien * config/tc-mn10300.c (md_apply_fix3): Accept PC-relative relocs. 257589857Sobrien 257689857Sobrien2001-05-08 Andreas Schwab <schwab@suse.de> 257789857Sobrien 257889857Sobrien * config/tc-m68k.c: Instead of replacing -1 by 64 in assignment to 257989857Sobrien fx_pcrel_adjust explicitly sign extend when reading it. 258089857Sobrien 258189857Sobrien2001-05-08 Alan Modra <amodra@one.net.au> 258289857Sobrien 258389857Sobrien * config/tc-m68k.c (md_estimate_size_before_relax): Set fr_var 258489857Sobrien from md_relax_table, and combine some switch cases. 258589857Sobrien 258689857Sobrien2001-05-06 Alexandre Oliva <aoliva@redhat.com> 258789857Sobrien 258889857Sobrien * config/tc-mn10300.c (md_assemble): Subtract operand->shift 258989857Sobrien from offset in non-pcrel operands too. 259089857Sobrien 259189857Sobrien2001-05-06 Nick Clifton <nickc@cambridge.redhat.com> 259289857Sobrien 259389857Sobrien * config/tc-arm.h (MAX_MEM_FOR_RS_ALIGN_CODE): Define. 259489857Sobrien * config/tc-arm.c (arm_handle_align): Do not insert more than 259589857Sobrien MAX_MEM_FOR_RS_ALIGN_CODE bytes. 259689857Sobrien (arm_frag_align_code): Use MAX_MEM_FOR_RS_ALIGN_CODE. 259789857Sobrien 259889857Sobrien2001-05-03 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 259989857Sobrien 260089857Sobrien * Makefile.am (TARG_ENV_HFILES): Add te-hppa64.h and te-hppalinux64.h. 260189857Sobrien Run "make dep-am". 260289857Sobrien * Makefile.in: Regenerate. 260389857Sobrien * configure.in: Remove duplicate mips-*-ecoff* entry. 260489857Sobrien * configure: Regenerate. 260589857Sobrien 260689857Sobrien * config/obj-ecoff.c (obj_pseudo_table): Fix terminating entry. 260789857Sobrien (n_names): Cast away type mismatch. 260889857Sobrien (ecoff_sec_sym_ok_for_reloc): Add unused attribute. 260989857Sobrien (obj_ecoff_frob_symbol): Likewise. 261089857Sobrien * ecoff.c: (add_file): Add unused attribute. 261189857Sobrien (ecoff_directive_begin): Likewise. 261289857Sobrien (ecoff_directive_bend): Likewise. 261389857Sobrien (ecoff_directive_def): Likewise. 261489857Sobrien (ecoff_directive_dim): Likewise. 261589857Sobrien (ecoff_directive_scl): Likewise. 261689857Sobrien (ecoff_directive_size): Likewise. 261789857Sobrien (ecoff_directive_type): Likewise. 261889857Sobrien (ecoff_directive_tag): Likewise. 261989857Sobrien (ecoff_directive_val): Likewise. 262089857Sobrien (ecoff_directive_endef): Likewise. 262189857Sobrien (ecoff_directive_end): Likewise. 262289857Sobrien (ecoff_directive_ent): Likewise. 262389857Sobrien (ecoff_directive_extern): Likewise. 262489857Sobrien (ecoff_directive_file): Likewise. 262589857Sobrien (ecoff_directive_fmask): Likewise. 262689857Sobrien (ecoff_directive_frame): Likewise. 262789857Sobrien (ecoff_directive_mask): Likewise. 262889857Sobrien (ecoff_directive_loc): Likewise. 262989857Sobrien (mark_stabs): Likewise. 263089857Sobrien (ecoff_stab): Likewise. 263189857Sobrien (ecoff_frob_symbol): Cast away type mismatch. 263289857Sobrien (ecoff_padding_adjust): Likewise. 263389857Sobrien (ecoff_build_symbols): Likewise. 263489857Sobrien (ecoff_build_procs): Likewise. 263589857Sobrien (ecoff_build_aux): Likewise. 263689857Sobrien (ecoff_build_strings): Likewise. 263789857Sobrien (ecoff_build_fdr): Likewise. 263889857Sobrien (ecoff_build_debug): Likewise. 263989857Sobrien * itbl-ops.c (itbl_assemble): Variable initialization. 264089857Sobrien 264189857Sobrien2001-05-03 Alan Modra <amodra@one.net.au> 264289857Sobrien 264389857Sobrien * config/tc-i386.c (i386_displacement): Call as_bad for bad GOTOFF 264489857Sobrien expressions rather than triggering an assert. 264589857Sobrien 264689857Sobrien2001-05-02 Johan Rydberg <jrydberg@opencores.org> 264789857Sobrien 264889857Sobrien * config/tc-openrisc.c: New file. 264989857Sobrien * config/tc-openrisc.h: Likewise. 265089857Sobrien 265189857Sobrien * Makefile.am: Add OpenRISC target. 265289857Sobrien * Makefile.in: Regenerated. 265389857Sobrien 265489857Sobrien * configure.in (openrisc-*-*): Add target. 265589857Sobrien * configure: Regenerated. 265689857Sobrien 265789857Sobrien2001-05-02 Nick Clifton <nickc@cambridge.redhat.com> 265889857Sobrien 265989857Sobrien * config/tc-arm.c (arm_frag_align_code): Change error message to 266089857Sobrien more explanatory version. 266189857Sobrien 266289857Sobrien2001-04-29 Keith M Wesolowski <wesolows@foobazco.org> 266389857Sobrien 266489857Sobrien * config/tc-mips.c (md_parse_option): Also accept 266589857Sobrien elf64-tradbigmips and elf64-tradlittlemips for OPTION_64. 266689857Sobrien 266789857Sobrien2001-04-27 David Mosberger <davidm@hpl.hp.com> 266889857Sobrien 266989857Sobrien * config/tc-ia64.c (dot_spillmem_p): Fix output_spill_?sprel_p() 267089857Sobrien argument passing order: predicate goes last, not first. 267189857Sobrien 267289857Sobrien2001-04-27 Sean McNeil <sean@mcneil.com> 267389857Sobrien 267489857Sobrien * configure.in: Add arm-vxworks. 267589857Sobrien * configure: Regenerate. 267689857Sobrien 267789857Sobrien2001-04-26 Nick Clifton <nickc@cambridge.redhat.com> 267889857Sobrien 267989857Sobrien * config/tc-arm.c (arm_handle_align): New Function: Generate 268089857Sobrien no-op filled alignment frags. 268189857Sobrien (arm_frag_align_code): New Function: Create a code alignment frag. 268289857Sobrien (arm_init_frag): New Function: Initialse the target dependent 268389857Sobrien parts of a frag. 268489857Sobrien 268589857Sobrien * config/tc-arm.h (TC_FRAG_TYPE): Define. 268689857Sobrien (TC_FRAG_INIT): Define. 268789857Sobrien (HANDLE_ALIGN): Define. 268889857Sobrien (md_do_align): Define. 268989857Sobrien 269089857Sobrien2001-04-25 Nick Clifton <nickc@cambridge.redhat.com> 269189857Sobrien 269289857Sobrien * config/obj-coff.c (do_linenos_for): Check to see if the filename 269389857Sobrien symbol has been initialised before extracting its symbol index. 269489857Sobrien 269589857Sobrien2001-04-24 H.J. Lu <hjl@gnu.org> 269689857Sobrien 269789857Sobrien * configure: Regenerated with the right version of autoconf. 269889857Sobrien 269989857Sobrien2001-04-24 Christian Groessler <cpg@aladdin.de> 270089857Sobrien 270189857Sobrien * config/tc-z8k.c (build_bytes): 12 and 16 bit displacements now 270289857Sobrien generate R_CALLR and R_REL16 relocations 270389857Sobrien 270489857Sobrien2000-04-20 Jason Eckhardt <jle@redhat.com> 270589857Sobrien 270689857Sobrien * config/tc-d10v.h (tc_frob_label): Update the symbol's frag 270789857Sobrien since frag_now can change after d10v_cleanup is called. 270889857Sobrien 270989857Sobrien2001-04-16 David O'Brien <obrien@FreeBSD.org> 271089857Sobrien 271189857Sobrien * configure.in: Add the em type for FreeBSD targets. 271289857Sobrien * configure: Regenerate. 271389857Sobrien 271489857Sobrien2001-04-14 Alexandre Oliva <aoliva@redhat.com> 271589857Sobrien 271689857Sobrien * struc-symbol.h (struct local_symbol): New TC_LOCAL_SYMFIELD_TYPE. 271789857Sobrien * symbols.c (local_symbol_convert): Call TC_LOCAL_SYMFIELD_CONVERT. 271889857Sobrien 271989857Sobrien * config/tc-mn10300.c (md_assemble): Simplify offset adjustment of 272089857Sobrien pc-relative relocations not placed at the end of the instruction. 272189857Sobrien 272289857Sobrien2001-04-13 Jim Wilson <wilson@redhat.com> 272389857Sobrien 272489857Sobrien * tc-ia64.c (is_conditional_branch): Return true for br, brl, and br. 272589857Sobrien excluding br.i. 272689857Sobrien 272789857Sobrien2001-04-13 Jakub Jelinek <jakub@redhat.com> 272889857Sobrien 272989857Sobrien * config/obj-elf.c (obj_elf_change_section): Add entsize argument, 273089857Sobrien handle SHF_MERGE and SHF_STRINGS. 273189857Sobrien (obj_elf_parse_section_letters): Set SHF_MERGE and SHF_STRINGS. 273289857Sobrien (obj_elf_section): Allow additional argument specifying entity size. 273389857Sobrien * write.c (adjust_reloc_syms): Keep relocations against local symbols 273489857Sobrien in SEC_MERGE sections. 273589857Sobrien 273689857Sobrien2001-04-12 Jason Merrill <jason_merrill@redhat.com> 273789857Sobrien 273889857Sobrien * dwarf2dbg.c (process_entries): Don't optimize redundant line notes. 273989857Sobrien 274089857Sobrien2001-04-12 Alexandre Oliva <aoliva@redhat.com> 274189857Sobrien 274289857Sobrien * expr.c (operand): Pass &c to md_parse_name(). 274389857Sobrien * config/tc-ia64.h, config/tc-ppc.h, config/tc-tic54x.h: Adjust. 274489857Sobrien 274589857Sobrien2001-04-07 Steven J. Hill <sjhill@cotw.com> 274689857Sobrien 274789857Sobrien * config/tc-mips.c: Support ELF64 for traditional MIPS targets. 274889857Sobrien 274989857Sobrien * Makefile.am: (TARG_ENV_HFILES): Add tc-mips.h. 275089857Sobrien * Makefile.in: Regenerated. 275189857Sobrien 275289857Sobrien * configure.in: Use traditional MIPS targets for Linux/MIPS. 275389857Sobrien * configure: Regenerated. 275489857Sobrien 275589857Sobrien2001-04-06 Alexandre Oliva <aoliva@redhat.com> 275689857Sobrien 275789857Sobrien * config/tc-mn10300.c (xr_registers): Added `pc'. 275889857Sobrien 275989857Sobrien2001-04-05 Alan Modra <alan@linuxcare.com.au> 276089857Sobrien 276189857Sobrien * configure.in: Add h8500-*-coff and h8500-*-rtems targets. 276289857Sobrien * configure: Regenerate. 276389857Sobrien 276489857Sobrien * config/tc-h8500.c (md_estimate_size_before_relax): Add missing 276589857Sobrien cases, and always return size based on current fr_subtype. 276689857Sobrien (md_begin): Move initialization of md_relax_table.. 276789857Sobrien (md_relax_table): ..to static initializer. Set rlx_length for 276889857Sobrien UNDEF_WORD_DISP cases. 276989857Sobrien * config/tc-w65.c (md_estimate_size_before_relax): Likewise. 277089857Sobrien (md_begin): Likewise. 277189857Sobrien (md_relax_table): Likewise. 277289857Sobrien * config/tc-mcore.c (md_estimate_size_before_relax): Likewise. 277389857Sobrien (md_relax_table): Set rlx_length for UNDEF_WORD_DISP cases. 277489857Sobrien Set rlx_backward and rlx_forward to zero for unused states. 277589857Sobrien * config/tc-sh.c (md_estimate_size_before_relax): Likewise. 277689857Sobrien (md_relax_table): Set rlx_length for UNDEF_WORD_DISP cases. 277789857Sobrien (UNCOND12, UNCOND32): Remove duplicate defines. 277889857Sobrien 277989857Sobrien2001-04-04 Hans-Peter Nilsson <hp@axis.com> 278089857Sobrien 278189857Sobrien * config/tc-cris.c (md_estimate_size_before_relax) <case 278289857Sobrien ENCODE_RELAX (STATE_CONDITIONAL_BRANCH, STATE_UNDF)>: Don't emit 278389857Sobrien 32-bit branch, just set fragP->fr_subtype. Set fragP->fr_var. 278489857Sobrien <all cases>: Always set fragP->fr_var using md_cris_relax_table. 278589857Sobrien Add cases to cover all relax states. 278689857Sobrien (cris_insn_first_word_frag): New. 278789857Sobrien (md_assemble): Call cris_insn_first_word_frag to get the first 278889857Sobrien frag in an insn, not frag_more. Don't call dwarf2_emit_insn at 278989857Sobrien end. Drop variable insn_size. 279089857Sobrien (gen_bdap): Call cris_insn_first_word_frag, not frag_more. 279189857Sobrien (cris_sym_leading_underscore): Wrap first as_bad parameter in _(). 279289857Sobrien (cris_sym_no_leading_underscore, s_cris_file, s_cris_loc): Ditto. 279389857Sobrien 279489857Sobrien * write.c (write_object_file): Reset broken word state before 279589857Sobrien calling relax_seg. 279689857Sobrien 279789857Sobrien2001-03-31 Alan Modra <alan@linuxcare.com.au> 279889857Sobrien 279989857Sobrien * listing.c (listing_listing): Enable listing on EDICT_NOLIST_NEXT 280089857Sobrien for one line if not already enabled. 280189857Sobrien * cond.c (s_elseif): Correct conditional assembly listing. 280289857Sobrien (s_else): Likewise. 280389857Sobrien 280489857Sobrien * cond.c (s_endif): Correct handling of "if .. elseif .." trees. 280589857Sobrien Don't abort on NULL current_cframe. 280689857Sobrien 280789857Sobrien2001-03-30 Alan Modra <alan@linuxcare.com.au> 280889857Sobrien 280989857Sobrien * dwarf2dbg.c (dwarf2_directive_file): Fix warnings. 281089857Sobrien (dwarf2dbg_convert_frag): Pass `finalize_syms' to resolve_symbol_value. 281189857Sobrien * config/obj-aout.c (obj_crawl_symbol_chain): Likewise. 281289857Sobrien * config/obj-bout.c (obj_crawl_symbol_chain): Likewise. 281389857Sobrien * config/obj-coff.c (do_relocs_for): Likewise. 281489857Sobrien (yank_symbols): Likewise. 281589857Sobrien (fixup_segment): Likewise. 281689857Sobrien * config/tc-ppc.c (ppc_frob_symbol): Likewise. 281789857Sobrien (ppc_fix_adjustable): Likewise. 281889857Sobrien * config/tc-mips.c (md_convert_frag): Likewise. 281989857Sobrien * config/obj-vms.c (obj_crawl_symbol_chain): Likewise. 282089857Sobrien * ehopt.c (eh_frame_convert_frag): Likewise. 282189857Sobrien * expr.c (make_expr_symbol): Likewise. 282289857Sobrien 282389857Sobrien * frags.h (struct frag): Add last_fr_address. Reorder fields for 282489857Sobrien better packing. 282589857Sobrien * symbols.c (resolve_symbol_value): Don't fix expression values 282689857Sobrien until relaxation is complete. 282789857Sobrien (resolve_local_symbol): Pass `finalize_syms' to resolve_symbol_value. 282889857Sobrien (S_GET_VALUE): Likewise, and return unresolved expression value. 282989857Sobrien * write.c (finalize_syms): New. 283089857Sobrien (relax_and_size_seg): Split into.. 283189857Sobrien (relax_seg): New function, returns 1 if anything changed.. 283289857Sobrien (size_seg): And the remainder of relax_and_size_seg. 283389857Sobrien (fixup_segment): Arrange for final resolution of sym values. 283489857Sobrien (adjust_reloc_syms): Likewise. 283589857Sobrien (write_object_file): Likewise, and repeatedly call relax_seg until 283689857Sobrien nothing more changes. 283789857Sobrien (relax_segment): Return 1 if anything changed. Use correct types 283889857Sobrien for rs_org `target' and `after'. 283989857Sobrien * write.h (finalize_syms): Declare. 284089857Sobrien (relax_segment): Update prototype. 284189857Sobrien 284289857Sobrien * config/tc-sh.c (md_estimate_size_before_relax): Add extra 284389857Sobrien do-nothing cases to switch to avoid abort on a second relaxation 284489857Sobrien pass, and tidy code a little. 284589857Sobrien * config/tc-cris.c (md_estimate_size_before_relax): Likewise. 284689857Sobrien * config/tc-h8500.c (md_estimate_size_before_relax): Likewise. 284789857Sobrien * config/tc-w65.c (md_estimate_size_before_relax): Likewise. 284889857Sobrien * config/tc-i386.c (UNCOND_JUMP, COND_JUMP, COND_JUMP86): Decrement. 284989857Sobrien (md_relax_table): Remove first four unused entries. Increment 285089857Sobrien rlx_length by one throughout table, and update comments to suit. 285189857Sobrien (md_estimate_size_before_relax): Return size of current variable 285289857Sobrien part of frag to reflect reality when relaxing more than once. 285389857Sobrien * config/tc-mcore.c (COND12, UNCD12): Rename to DISP12 throughout. 285489857Sobrien (COND32, UNCD32): Rename to DISP32 throughout. 285589857Sobrien (UNDEF_WORD_DISP): Renumber to 3. 285689857Sobrien (md_estimate_size_before_relax): Add extra do-nothing cases. 285789857Sobrien * config/tc-mn10200.c (md_estimate_size_before_relax): Rewrite. 285889857Sobrien * config/tc-mn10300.c (md_estimate_size_before_relax): Rewrite. 285989857Sobrien * config/tc-ns32k.c (md_estimate_size_before_relax): Add cases to 286089857Sobrien handle word and dword branches. 286189857Sobrien 286289857Sobrien2001-03-29 Hans-Peter Nilsson <hp@axis.com> 286389857Sobrien 286489857Sobrien * config/tc-cris.h (tc_fix_adjustable): Allow only 286589857Sobrien BFD_RELOC_CRIS_32_GOTREL of the PIC relocs. 286689857Sobrien * config/tc-cris.c (cris_get_pic_suffix): Correct reloc type in 286789857Sobrien example in comment to valid type. 286889857Sobrien 286989857Sobrien2001-03-28 H.J. Lu <hjl@gnu.org> 287089857Sobrien 287189857Sobrien * read.c (equals): Set to local for COFF only if it hasn't been 287289857Sobrien defined before. 287389857Sobrien 287489857Sobrien2001-03-28 Alan Modra <alan@linuxcare.com.au> 287589857Sobrien 287689857Sobrien * config/tc-hppa.c (DEFAULT_LEVEL): Define. 287789857Sobrien (md_begin): Use it when setting default architecture. 287889857Sobrien 287989857Sobrien2001-03-27 Nick Papadonis <nick@coelacanth.com> 288089857Sobrien 288189857Sobrien * read.c (equals): (for COFF) default symbols to being local. 288289857Sobrien 288389857Sobrien2001-03-27 Hans-Peter Nilsson <hp@axis.com> 288489857Sobrien 288589857Sobrien * configure.in (cris-*-*): Change default emulation to criself. 288689857Sobrien (cris-*-*aout*): New rule. 288789857Sobrien * configure: Regenerate. 288889857Sobrien 288989857Sobrien2001-03-26 Martin Schwidefsky <schwidefsky@de.ibm.com> 289089857Sobrien 289189857Sobrien * config/tc-s390.c (tc_s390_fix_adjustable): Add test for 289289857Sobrien BFD_RELOC_390_GOTENT. 289389857Sobrien * config/tc-s390.h (TC_RELOC_RTSYM_LOC_FIXUP): Add test for 289489857Sobrien BFD_RELOC_390_GOTENT. 289589857Sobrien 289689857Sobrien2001-03-26 Nick Clifton <nickc@redhat.com> 289789857Sobrien 289889857Sobrien * config/tc-s390.h (TC_FORCE_RELOCATION): Define. 289989857Sobrien * config/tc-s390.c (s390_force_relocation): New function: Force 290089857Sobrien relocations for VTINHERIT relocs. 290189857Sobrien 290289857Sobrien2001-03-23 Stephane Carrez <Stephane.Carrez@worldnet.fr> 290389857Sobrien 290489857Sobrien * doc/as.texinfo: Put @c man begin to generate the as man page. 290589857Sobrien When generating man, define all the variables. Re-organize some 290689857Sobrien options to obtain better indentation of man page. 290789857Sobrien * doc/Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable. 290889857Sobrien (as.1): Build from as.texinfo. 290989857Sobrien * doc/Makefile.in: Regenerate.Index: binutils/Makefile.am 291089857Sobrien 291189857Sobrien2001-03-25 Alan Modra <alan@linuxcare.com.au> 291289857Sobrien 291389857Sobrien * config/tc-i386.c (i386_scale): Accept an absolute expression for 291489857Sobrien scale factor, and return the end of the expression. 291589857Sobrien (i386_operand): Modify for above. 291689857Sobrien 291789857Sobrien2001-03-23 Nick Clifton <nickc@redhat.com> 291889857Sobrien 291989857Sobrien * doc/as.texinfo: Document --listing-XXX command line switches. 292089857Sobrien Explain why listings behave differently when -pipe is used. 292189857Sobrien 292289857Sobrien2001-03-23 Richard Sandiford <rsandifo@redhat.com> 292389857Sobrien 292489857Sobrien * write.c (fix_new_exp): Print an error if passed a register. 292589857Sobrien 292689857Sobrien2001-03-23 Hans-Peter Nilsson <hp@axis.com> 292789857Sobrien 292889857Sobrien * config/tc-cris.c: Tweak attribution. Fix typos. PIC support. 292989857Sobrien (PIC_SUFFIX_CHAR): New macro. 293089857Sobrien (cris_get_pic_suffix, cris_get_pic_reloc_size): New functions. 293189857Sobrien (pic): New variable. 293289857Sobrien (md_longopts): New option --pic. 293389857Sobrien (OPTION_PIC): Define. 293489857Sobrien (md_estimate_size_before_relax): Tweak longish comment. 293589857Sobrien (md_create_long_jump): Make the long jumps generate ADD.D offset,PC. 293689857Sobrien (md_assemble): Handle a PIC relocation on prefix and normal 293789857Sobrien instruction operands. 293889857Sobrien <output_instruction.insn_type == CRIS_INSN_BRANCH>: Handle 293989857Sobrien "complex" operand expressions. Call frag_more outside 294089857Sobrien gen_cond_branch_32 parameter list. 294189857Sobrien (cris_process_instruction): Handle PIC relocs on parsed 294289857Sobrien operand expressions. Validize PIC reloc sizes. 294389857Sobrien (get_autoinc_prefix_or_indir_op): Handle PIC suffix. 294489857Sobrien (gen_bdap): Handle "complex" operand expressions. 294589857Sobrien (gen_cond_branch_32): Use as_warn_where, not as_warn. Use 294689857Sobrien ADD.D offset,PC as jump instruction if generating PIC. Generate 294789857Sobrien error instead of crashing on complex expressions. 294889857Sobrien (cris_number_to_imm): Add segT parameter. All callers changed. 294989857Sobrien Use segT parameter, not now_seg, for segment of fixup. Handle 295089857Sobrien PCREL relocations but check that they are fully resolved. 295189857Sobrien (md_parse_option): Handle OPTION_PIC. 295289857Sobrien (tc_gen_reloc): Handle PIC relocs. 295389857Sobrien (md_show_usage): Update for --pic. 295489857Sobrien (md_apply_fix3): Renamed from md_apply_fix. 295589857Sobrien (md_pcrel_from): Accept emitting PCREL relocs when ELF. 295689857Sobrien (md_cris_force_relocation): Force relocation for PIC relocs. 295789857Sobrien 295889857Sobrien * config/tc-cris.h: Tweak attribution. 295989857Sobrien (MD_APPLY_FIX3): Define. 296089857Sobrien (IS_CRIS_PIC_RELOC): New macro. 296189857Sobrien (TC_RELOC_RTSYM_LOC_FIXUP): Define. 296289857Sobrien (tc_fix_adjustable): Don't adjust a globally visible symbol when 296389857Sobrien generating ELF. 296489857Sobrien (tc_frob_symbol): Avoid emitting undefined symbols. 296589857Sobrien 296689857Sobrien2001-03-20 Alan Modra <alan@linuxcare.com.au> 296789857Sobrien 296889857Sobrien * frags.h (struct frag): Add relax_marker. 296989857Sobrien * write.c (is_dnrange): Delete. 297089857Sobrien (relax_frag): Use correct types for `aim', `target', `address'. 297189857Sobrien Delete `offset', `was_address'. Test `relax_marker' instead of 297289857Sobrien using fragile (and slow) address test. 297389857Sobrien (relax_segment): Init and flip `relax_marker'. 297489857Sobrien 297589857Sobrien2001-03-19 Alan Modra <alan@linuxcare.com.au> 297689857Sobrien 297789857Sobrien * config/tc-i386.c (md_assemble <REGISTER_WARNINGS>): Correct 297889857Sobrien used register name. 297989857Sobrien 298089857Sobrien2001-03-18 Stephane Carrez <Stephane.Carrez@worldnet.fr> 298189857Sobrien 298289857Sobrien * config/tc-m68hc11.c (md_pseudo_table): Recognize xrefb to comply 298389857Sobrien with 'Motorola specification for assembly language input standard'. 298489857Sobrien 298589857Sobrien2001-03-17 Richard Henderson <rth@redhat.com> 298689857Sobrien 298789857Sobrien * dwarf2dbg.c (user_filenum, user_filenum_allocated): Remove. 298889857Sobrien (dwarf2_directive_loc): Don't use them. 298989857Sobrien (dwarf2_directive_file): Reject duplicate file definitions. 299089857Sobrien (get_filenum): Zero allocated memory. 299189857Sobrien (out_file_list): Complain about missing file definitions. 299289857Sobrien 299389857Sobrien2001-03-17 Alan Modra <alan@linuxcare.com.au> 299489857Sobrien 299589857Sobrien * read.c (do_org): Handle complex expressions. 299689857Sobrien * cgen.c (gas_cgen_finish_insn): Likewise. 299789857Sobrien 299889857Sobrien2001-03-15 David Mosberger <davidm@hpl.hp.com> 299989857Sobrien 300089857Sobrien * config/tc-ia64.c (md): New member keep_pending_output. 300189857Sobrien (ia64_flush_pending_output): Flush only if md.keep_pending_output 300289857Sobrien is not set. 300389857Sobrien (dot_xdata): Turn on md.keep_pending_output for the duration of 300489857Sobrien this function. 300589857Sobrien (dot_xfloat_cons): Ditto. 300689857Sobrien (dot_xstringer): Ditto. 300789857Sobrien (dot_xdata_ua): Ditto. 300889857Sobrien (dot_xfloat_cons_ua): Ditto. 300989857Sobrien 301089857Sobrien2001-03-15 Jim Wilson <wilson@redhat.com> 301189857Sobrien 301289857Sobrien * config/tc-ia64.c (ia64_unrecognized_line, case '['): Add local 301389857Sobrien label support. 301489857Sobrien 301589857Sobrien2001-03-15 Alexandre Oliva <aoliva@redhat.com> 301689857Sobrien 301789857Sobrien * config/tc-sh.c (parse_reg): Match capital MACH and MACL. 301889857Sobrien 301989857Sobrien2001-03-15 DJ Delorie <dj@redhat.com> 302089857Sobrien 302189857Sobrien * stabs.c (s_stab_generic): Don't corrupt the notes obstack by 302289857Sobrien blindly freeing string if it isn't at the top of the obstack. 302389857Sobrien 302489857Sobrien2001-03-13 Alan Modra <alan@linuxcare.com.au> 302589857Sobrien 302689857Sobrien * config/tc-i386.c (RELOC_ENUM): Define. Use throughout file. 302789857Sobrien (NUM_FLAG_CODE): Define. 302889857Sobrien (lex_got): New function. 302989857Sobrien (got_reloc): New global var. 303089857Sobrien (x86_cons_fix_new): New function. 303189857Sobrien (x86_cons): New function. 303289857Sobrien (i386_immediate): Use lex_got here, replacing inline code. Change 303389857Sobrien "ignoring junk.." error message to "junk.." 303489857Sobrien (i386_displacement): Likewise. 303589857Sobrien * config/tc-i386.h (TC_PARSE_CONS_EXPRESSION): Define. 303689857Sobrien (x86_cons): Declare. 303789857Sobrien (TC_CONS_FIX_NEW): Define. 303889857Sobrien (x86_cons_fix_new): Declare. 303989857Sobrien 304089857Sobrien2001-03-12 Nick Clifton <nickc@redhat.com> 304189857Sobrien 304289857Sobrien * config/tc-arm.c (md_begin): Always set machine type based on 304389857Sobrien cpu_variant. 304489857Sobrien 304589857Sobrien2001-03-07 Alan Modra <alan@linuxcare.com.au> 304689857Sobrien 304789857Sobrien * config/tc-i386.c (struct _i386_insn): Rename disp_reloc to reloc. 304889857Sobrien (md_assemble) <smallest displacement>: Use correct field of i.op[] 304989857Sobrien union. 305089857Sobrien <JumpInterSegment output>: Use correct i.disp_reloc[]. 305189857Sobrien <immediate output>: Likewise. 305289857Sobrien 305389857Sobrien2001-03-06 Nick Clifton <nickc@redhat.com> 305489857Sobrien 305589857Sobrien * config/tc-arm.c (md_apply_fix3): Clear bit zero of offset in 305689857Sobrien BLX(1) instruction. 305789857Sobrien 305889857Sobrien2001-03-06 Igor Shevlyakov <igor@windriver.com> 305989857Sobrien 306089857Sobrien * config/tc-m68k.c : Add 5407 to archs[] table. 306189857Sobrien (HAVE_LONG_BRANCH): Add mcf5407. 306289857Sobrien (select_control_regs): Recognize 5407. 306389857Sobrien 306489857Sobrien2001-03-02 Dave Brolley <brolley@redhat.com> 306589857Sobrien 306689857Sobrien * config/tc-m32r.c (expand_debug_syms): Call frag_align_code rather 306789857Sobrien than m32r_do_align. 306889857Sobrien 306989857Sobrien2001-03-02 Richard Sandiford <rsandifo@redhat.com> 307089857Sobrien 307189857Sobrien * config/atof-ieee.c (TC_LARGEST_EXPONENT_IS_NORMAL): New macro. 307289857Sobrien (gen_to_words): Print warnings if NaNs are found and the target CPU 307389857Sobrien does not support them. Allow largest exponent to be used in normal 307489857Sobrien numbers if TC_LARGEST_EXPONENT_IS_NORMAL evaluates to true. 307589857Sobrien 307689857Sobrien2001-02-28 Andreas Jaeger <aj@suse.de>, Bo Thorsen <bo@suse.de> 307789857Sobrien 307889857Sobrien * config/tc-i386.c (tc_gen_reloc): Remove ugly hack which is not needed 307989857Sobrien anymore since we use bfd_elf_generic_reloc now. 308089857Sobrien (md_apply_fix3): Only apply hack for partial_inplace if not using RELA. 308189857Sobrien 308289857Sobrien2001-02-27 Alan Modra <alan@linuxcare.com.au> 308389857Sobrien 308489857Sobrien * configure.in (BFD_VERSION): New. 308589857Sobrien (AM_INIT_AUTOMAKE): Use $BFD_VERSION. 308689857Sobrien * configure: Regenerate. 308789857Sobrien * Makefile.am: Run "make dep-am" 308889857Sobrien * Makefile.in: Regenerate. 308989857Sobrien * doc/Makefile.in: Regenerate. 309089857Sobrien 309189857Sobrien2001-02-26 Mark Elbrecht <snowball3@bigfoot.com> 309289857Sobrien 309389857Sobrien * config/obj-coff.c [BFD_ASSEMBLER] (obj_coff_section): Set 309489857Sobrien SEC_NEVER_LOAD when the 'n' flag is used. 309589857Sobrien Add SEC_NEVER_LOAD to matchflags. 309689857Sobrien 309789857Sobrien2001-02-24 Stephane Carrez <Stephane.Carrez@worldnet.fr> 309889857Sobrien 309989857Sobrien * symbols.c (decode_local_label_name): Initialize message_format 310089857Sobrien only when an error is reported (perf pb due to I18N). 310189857Sobrien 310289857Sobrien2001-02-23 H.J. Lu <hjl@gnu.org> 310389857Sobrien 310489857Sobrien * dwarf2dbg.c (dwarf2_directive_file): Call s_app_file (0) if 310589857Sobrien BFD_ASSEMBLER is not defined. 310689857Sobrien 310789857Sobrien2001-02-23 Richard Sandiford <rsandifo@redhat.com> 310889857Sobrien 310989857Sobrien * config/tc-mn10300.c (md_apply_fix3): Don't mark a fixup as 311089857Sobrien done if it's against a symbol. 311189857Sobrien 311289857Sobrien2001-02-22 Timothy Wall <twall@cygnus.com> 311389857Sobrien 311489857Sobrien * config/tc-ia64.c (ia64_target_format): Return ia64-aix-specific 311589857Sobrien target formats if applicable. 311689857Sobrien * config/te-ia64aix.h: New. Configuration for AIX5 on IA-64. 311789857Sobrien * Makefile.am (TARG_ENV_HFILES): Added config/te-ia64aix.h. 311889857Sobrien * Makefile.in: Regenerated. 311989857Sobrien * configure.in: Added configuration for ia64-*-aix*. 312089857Sobrien * configure: Regenerated. 312189857Sobrien 312289857Sobrien2001-02-21 David Mosberger <davidm@hpl.hp.com> 312389857Sobrien 312489857Sobrien * config/tc-ia64.c (enum operand_match_result): New type. 312589857Sobrien (operand_match): Change return type to operand_match_result. 312689857Sobrien Fix all returns appropriately, adding support for returning the 312789857Sobrien out-of-range result. 312889857Sobrien (parse_operands): New locals result, error_pos, out_of_range_pos, 312989857Sobrien curr_out_of_range_pos. Rewrite operand matching loop to give better 313089857Sobrien error messages. 313189857Sobrien 313289857Sobrien2001-02-21 David Mosberger <davidm@hpl.hp.com> 313389857Sobrien 313489857Sobrien * config/tc-ia64.c (struct unwind): Add member "prologue_count". 313589857Sobrien (dot_proc): Clear unwind.prologue_count to zero. 313689857Sobrien (dot_prologue): Increment unwind.prologue_count. 313789857Sobrien (dot_restore): If second operand is omitted, use 313889857Sobrien unwind.prologue_count -1 for "ecount" (# of additional regions to 313989857Sobrien pop). Decrement unwind.prologue_count by number of regions 314089857Sobrien popped. 314189857Sobrien 314289857Sobrien2001-02-21 Nick Clifton <nickc@redhat.com> 314389857Sobrien 314489857Sobrien * doc/as.texinfo (Section): Note that some flags to the COFF 314589857Sobrien version of .section remove attributes rather than setting them. 314689857Sobrien 314789857Sobrien2001-02-20 Kazu Hirata <kazu@hxi.com> 314889857Sobrien 314989857Sobrien * config/tc-pdp11.c: Fix formatting. 315089857Sobrien * config/tc-pdp11.h: Likewise. 315189857Sobrien 315289857Sobrien2001-02-20 Bo Thorsen <bo@suse.de> 315389857Sobrien 315489857Sobrien * config/tc-i386.c (tc_i386_fix_adjustable): Fix GOTPCREL GOT 315589857Sobrien entry. 315689857Sobrien 315789857Sobrien2001-02-18 David O'Brien <obrien@FreeBSD.org> 315889857Sobrien 315989857Sobrien * configure.in (cpu_type, arch): Add a generic FreeBSD specification as 316089857Sobrien all FreeBSD platforms should look the same at this level. 316189857Sobrien * configure: Rebuilt. 316289857Sobrien * config/tc-i386.c: Add support for old FreeBSD a.out hosts. 316389857Sobrien 316489857Sobrien2001-02-18 lars brinkhoff <lars@nocrew.org> 316589857Sobrien 316689857Sobrien * Makefile.am: Add PDP-11 target. 316789857Sobrien * configure.in: Likewise. 316889857Sobrien * config/tc-pdp11.c: New file. 316989857Sobrien * config/tc-pdp11.h: New file. 317089857Sobrien * doc/Makefile.am: Add PDP-11 documentation. 317189857Sobrien * doc/all.texi: Likewise. 317289857Sobrien * doc/as.texinfo: Likewise. 317389857Sobrien * doc/c-pdp11.texi: New file. 317489857Sobrien 317589857Sobrien2001-02-16 matthew green <mrg@redhat.com> 317689857Sobrien 317789857Sobrien * cgen.c (gas_cgen_md_apply_fix3): Support BFD_RELOC_64. 317889857Sobrien 317989857Sobrien2001-02-13 Jim Wilson <wilson@redhat.com> 318089857Sobrien 318189857Sobrien * config/tc-ia64.c (operand_match, case TAG13): Make a BFD_RELOC_UNUSED 318289857Sobrien reloc instead of a 0 reloc. 318389857Sobrien (md_apply_fix3): Check for BFD_RELOC_UNUSED instead of 0, and mark it 318489857Sobrien as done. 318589857Sobrien * config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): Likewise. 318689857Sobrien 318789857Sobrien2001-02-13 Ian Lance Taylor <ian@zembu.com> 318889857Sobrien 318989857Sobrien * write.c (is_dnrange): Stop as soon as the address becomes 319089857Sobrien larger. 319189857Sobrien (relax_frag): Add segment parameter. Only call symbol_get_frag 319289857Sobrien once. Only call is_dnrange if the symbol is in the same segment, 319389857Sobrien and the symbol address is larger. 319489857Sobrien (relax_segment): Pass segment to md_relax_frag and relax_frag. 319589857Sobrien * write.h (relax_frag): Update declaration. 319689857Sobrien * config/tc-fr30.c (fr30_relax_frag): Add segment parameter. Pass 319789857Sobrien it to relax_frag. 319889857Sobrien * config/tc-m32r.c (m32r_relax_frag): Likewise. 319989857Sobrien * config/tc-m32r.h (md_relax_frag): Add segment parameter. 320089857Sobrien (m32r_relax_frag): Update declaration. 320189857Sobrien * config/tc-mips.h (md_relax_frag): Add segment parameter. 320289857Sobrien * config/tc-tic54x.h (md_relax_frag): Likewise. 320389857Sobrien * doc/internals.texi (CPU backend): Update documentation for 320489857Sobrien md_relax_frag. 320589857Sobrien 320689857Sobrien2001-02-13 Alan Modra <alan@linuxcare.com.au> 320789857Sobrien 320889857Sobrien * doc/c-i386.texi (i386-Arch): Add "jumps"/"nojumps" blurb. 320989857Sobrien Mention effect of < 386 architectures on jump promotion. 321089857Sobrien (i386-Jumps): xref above. Don't assume long disp is 32 bits. 321189857Sobrien 321289857Sobrien * config/tc-i386.c (no_cond_jump_promotion): New. 321389857Sobrien (set_cpu_arch): Parse "jumps" arch modifier. 321489857Sobrien (insn_size): Modify usage comment. 321589857Sobrien (ENCODE_RELAX_STATE): Reformat and protect macro arg. 321689857Sobrien (SIZE_FROM_RELAX_STATE): Rename to DISP_SIZE_FROM_RELAX_STATE. 321789857Sobrien (TYPE_FROM_RELAX_STATE): New define. 321889857Sobrien (UNCOND_JUMP, COND_JUMP): Renumber. 321989857Sobrien (md_relax_table): Reorder to suit. 322089857Sobrien (COND_JUMP86): New define. 322189857Sobrien (md_relax_table): Handle COND_JUMP86 cases. Add a few comments. 322289857Sobrien (md_assemble): Create frag var for jumps of max size, encode relax 322389857Sobrien state for COND_JUMP86. 322489857Sobrien (md_estimate_size_before_relax): Handle COND_JUMP86 cases, and 322589857Sobrien leave conditional jumps small if no_cond_jump_promotion. 322689857Sobrien (md_convert_frag): Likewise. 322789857Sobrien 322889857Sobrien * expr.c (operator): Don't bump input_line_pointer for two char 322989857Sobrien operators. Instead return operator size via new param num_chars. 323089857Sobrien (expr): Use above to parse multi-char operators correctly. 323189857Sobrien 323289857Sobrien2001-02-12 Jan Hubicka <jh@suse.cz> 323389857Sobrien 323489857Sobrien * config/tc-i386.c (i386_displacement): Fix handling of 323589857Sobrien BFD_RELOC_X86_64_GOTPCREL. 323689857Sobrien (i386_validate_fix): Likewise. 323789857Sobrien 323889857Sobrien2001-02-12 Philip Blundell <pb@futuretv.com> 323989857Sobrien 324089857Sobrien * config/tc-arm.c (do_ldst): Improve warnings for unpredictable 324189857Sobrien ldrt/strt instructions. 324289857Sobrien 324389857Sobrien2001-02-11 Maciej W. Rozycki <macro@ds2.pg.gda.pl> 324489857Sobrien 324589857Sobrien * config/tc-mips.c (macro): For M_LA_AB emit a 324689857Sobrien BFD_RELOC_MIPS_CALL16 relocation or a 324789857Sobrien BFD_RELOC_MIPS_CALL_HI16/BFD_RELOC_MIPS_CALL_LO16 pair instead of 324889857Sobrien BFD_RELOC_MIPS_GOT16 and 324989857Sobrien BFD_RELOC_MIPS_GOT_HI16/BFD_RELOC_MIPS_GOT_LO16, respectively for 325089857Sobrien loading the jump register when generating SVR4_PIC code. 325189857Sobrien 325289857Sobrien2001-02-10 Chris Demetriou <cgd@broadcom.com> 325389857Sobrien 325489857Sobrien * configure.in: Make 'mipself' and 'mipsecoff' emulations 325589857Sobrien map to MIPS-specific files, as they used to do before the 325689857Sobrien change on 2000-05-21. 325789857Sobrien * configure: Regerate. 325889857Sobrien 325989857Sobrien2001-02-10 Chris Demetriou <cgd@broadcom.com> 326089857Sobrien 326189857Sobrien * config/tc-mips.c (md_parse_option): Don't try to compile 326289857Sobrien ELF-only option code if not ELF. 326389857Sobrien 326489857Sobrien2001-02-08 David Mosberger <davidm@hpl.hp.com> 326589857Sobrien 326689857Sobrien * config/tc-ia64.h (md_elf_section_type): New macro. 326789857Sobrien (ELF_TC_SPECIAL_SECTIONS): Drop .IA_64.unwind and .IA_64.unwind_info 326889857Sobrien (they're now handled via ia64_elf_section_type. 326989857Sobrien 327089857Sobrien * config/tc-ia64.c (unwind): New members saved_text_seg, 327189857Sobrien saved_text_subseg, and force_unwind_entry. 327289857Sobrien (optimize_unw_records): New function to optimize away unnecessary 327389857Sobrien unwind directives. 327489857Sobrien (ia64_elf_section_type): New function. 327589857Sobrien (output_unw_records): Generate unwind info only if the size is 327689857Sobrien non-zero or if it's forced for some other reason (e.g., 327789857Sobrien handlerdata or a personality routine). 327889857Sobrien (generate_unwind_image): Don't switch back to previous 327989857Sobrien section---stay inside the unwind info section instead so that 328089857Sobrien handlerdata that may follow goes into the right place. 328189857Sobrien (dot_handlerdata): Force generation of unwind entry and save the 328289857Sobrien current active text segment before generating unwind image. 328389857Sobrien (dot_unwentry): Force generation of unwind entry. 328489857Sobrien (dot_personality): Ditto. 328589857Sobrien (dot_endp): Generate unwind table entry only if there is 328689857Sobrien some unwind info or the unwind entry was forced. 328789857Sobrien 328889857Sobrien * config/tc-ia64.c (make_unw_section_name): New macro to form 328989857Sobrien unwind section name. 329089857Sobrien (generate_unwind_image): Add "text_name" argument. Use it to 329189857Sobrien form unwind section name. 329289857Sobrien (dot_handlerdata): Determine current segment (section) name and 329389857Sobrien pass it to generate_unwind_image(). 329489857Sobrien (dot_endp): Determine current segment (section) name and use 329589857Sobrien it to determine the appropriate unwind section name. 329689857Sobrien (ia64_md_do_align): Add missing ATTRIBUTE_UNUSED declarations to 329789857Sobrien n, fill, and max arguments. 329889857Sobrien 329989857Sobrien2001-02-09 Schwidefsky <schwidefsky@de.ibm.com> 330089857Sobrien 330189857Sobrien * Makefile.am: Add linux target for S/390. 330289857Sobrien * configure.in: Likewise. 330389857Sobrien * config/tc-s390.c: New file. 330489857Sobrien * config/tc-s390.h: New file. 330589857Sobrien 330689857Sobrien2001-02-09 Alexandre Oliva <aoliva@redhat.com> 330789857Sobrien 330889857Sobrien * config/tc-sh.c (md_pseudo_table): Add uaquad. Use s_uacons for 330989857Sobrien 2byte, 4byte and 8byte. 331089857Sobrien 331189857Sobrien2001-02-08 Alan Modra <alan@linuxcare.com.au> 331289857Sobrien 331389857Sobrien * config/tc-hppa.c (pa_build_unwind_subspace): Don't call 331489857Sobrien md_number_to_chars with size > sizeof (valueT). 331589857Sobrien 331689857Sobrien2001-02-06 H.J. Lu <hjl@gnu.org> 331789857Sobrien 331889857Sobrien * config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): Do fixup if 331989857Sobrien there is no relocation. 332089857Sobrien 332189857Sobrien2001-02-06 H.J. Lu <hjl@gnu.org> 332289857Sobrien 332389857Sobrien * config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): New. Defined. 332489857Sobrien 332589857Sobrien * config/tc-ia64.c (md_parse_option): Only accept the valid 332689857Sobrien ia64 options on "-axxx". 332789857Sobrien 332889857Sobrien2001-02-05 Jim Wilson <wilson@redhat.com> 332989857Sobrien 333089857Sobrien * config/tc-ia64.c (errata_nop_necessary_p): Return 0 instead of 333189857Sobrien aborting for invalid operands. 333289857Sobrien 333389857Sobrien2001-02-06 Alan Modra <alan@linuxcare.com.au> 333489857Sobrien 333589857Sobrien * config/tc-hppa.c (fix_new_hppa): Pass in unwind directly rather 333689857Sobrien than via pointer. Update all callers. 333789857Sobrien (UNWIND_LOW32): Define. 333889857Sobrien (UNWIND_HIGH32): Define. 333989857Sobrien (pa_build_unwind_subspace): Use the above macros instead of dumping 334089857Sobrien bitfields directly. Call frag_more once rather than multiple times. 334189857Sobrien (md_assemble): Use UNWIND_LOW32. 334289857Sobrien (pa_entry): Likewise 334389857Sobrien (pa_procend): Likewise. 334489857Sobrien (process_exit): Use UNWIND_HIGH32. 334589857Sobrien 334689857Sobrien2001-02-04 Stephane Carrez <Stephane.Carrez@worldnet.fr> 334789857Sobrien 334889857Sobrien * config/tc-m68hc11.h (LISTING_HEADER): Use m68hc11_listing_header 334989857Sobrien function to select the header according to the cpu. 335089857Sobrien (md_after_pass_hook, md_do_align): Remove. 335189857Sobrien (md_cleanup, m68hc11_cleanup): Remove. 335289857Sobrien (md_pcrel_from_section): Declare. 335389857Sobrien * config/tc-m68hc11.c (build_dbranch_insn): Remove insn_size. 335489857Sobrien (build_jump_insn, build_insn): Likewise. 335589857Sobrien (m68hc11_listing_header): New function. 335689857Sobrien (m68hc11_cleanup): Remove. 335789857Sobrien 335889857Sobrien2001-02-02 Stephane Carrez <Stephane.Carrez@worldnet.fr> 335989857Sobrien 336089857Sobrien * config/tc-m68hc11.c (relaxable_symbol): Relax externally visible 336189857Sobrien symbols because there is no support for shared libraries and these 336289857Sobrien symbols can't be overridden (unless they are weak). 336389857Sobrien 336489857Sobrien2001-02-01 Momchil Velikov <velco@fadata.bg> 336589857Sobrien 336689857Sobrien * dwarf2dbg.c (out_debug_abbrev): Terminate the abbreviations 336789857Sobrien for the compilation unit with a zero byte. 336889857Sobrien 336989857Sobrien2001-01-30 Alan Modra <alan@linuxcare.com.au> 337089857Sobrien 337189857Sobrien * config/tc-hppa.c (pa_ip): Support 12 bit branches to absolute 337289857Sobrien destinations. Correct range check for 17 and 22 bit branches. 337389857Sobrien 337489857Sobrien2001-01-25 Nick Clifton <nickc@redhat.com> 337589857Sobrien 337689857Sobrien * config/tc-m68k.c (tc_gen_reloc): Do not abort if tcbit is 337789857Sobrien still set. Issue an error message instead. 337889857Sobrien (md_estimate_size_before_relax): Delete unused variable 337989857Sobrien 'buffer_address'. Fixup parentheses around if statement. 338089857Sobrien 338189857Sobrien2001-01-23 Kazu Hirata <kazu@hxi.com> 338289857Sobrien 338389857Sobrien * as.c: Fix formatting. 338489857Sobrien * ehopt.c: Likewise. 338589857Sobrien * messages.c: Likewise. 338689857Sobrien * stabs.c: Likewise. 338789857Sobrien * symbols.c: Likewise. 338889857Sobrien 338989857Sobrien2001-01-23 Ben Elliston <bje@redhat.com> 339089857Sobrien 339189857Sobrien * config/tc-m32r.c (m32r_handle_align): Declare type of fragp. 339289857Sobrien 339389857Sobrien2001-01-22 Kazu Hirata <kazu@hxi.com> 339489857Sobrien 339589857Sobrien * config/tc-alpha.c: Fix formatting. 339689857Sobrien 339789857Sobrien2001-01-19 Kazu Hirata <kazu@hxi.com> 339889857Sobrien 339989857Sobrien * config/tc-alpha.c: Fix formatting. 340089857Sobrien 340189857Sobrien2001-01-18 Kazu Hirata <kazu@hxi.com> 340289857Sobrien 340389857Sobrien * config/tc-alpha.c: Fix formatting. 340489857Sobrien 340589857Sobrien2001-01-18 Nick Clifton <nickc@redhat.com> 340689857Sobrien 340789857Sobrien * config/tc-arm.c (ldm_flags): Remove redundant bit from "fa" and 340889857Sobrien "da" flags. 340989857Sobrien (stm_flags): Remove redundant bit from "ed" and "da" flags. 341089857Sobrien 341189857Sobrien2001-01-18 Alexandre Oliva <aoliva@redhat.com> 341289857Sobrien 341389857Sobrien * configure.in (cpu_type, arch): Match i386 too. 341489857Sobrien * configure: Rebuilt. 341589857Sobrien 341689857Sobrien2001-01-16 Kazu Hirata <kazu@hxi.com> 341789857Sobrien 341889857Sobrien * config/tc-i386.c: Fix formatting. 341989857Sobrien 342089857Sobrien2001-01-16 Alan Modra <alan@linuxcare.com.au> 342189857Sobrien 342289857Sobrien * config/tc-hppa.c (tc_gen_reloc): Use SEGREL32 instead of DIR32 342389857Sobrien relocs for .PARISC.unwind section. 342489857Sobrien 342589857Sobrien * config/tc-hppa.c (pa_build_unwind_subspace): Build unwind 342689857Sobrien depending on section flags, not just for .text. 342789857Sobrien 342889857Sobrien2001-01-15 Jim Wilson <wilson@redhat.com> 342989857Sobrien 343089857Sobrien * config/tc-ia64.c (ia64_flush_insns): Handle unwind directives 343189857Sobrien not immediately followed by an instruction. 343289857Sobrien 343389857Sobrien2001-01-15 Kazu Hirata <kazu@hxi.com> 343489857Sobrien 343589857Sobrien * config/tc-m68hc11.c: Fix formatting. 343689857Sobrien 343789857Sobrien2001-01-15 Nick Clifton <nickc@redhat.com> 343889857Sobrien 343989857Sobrien * symbols.c (colon): Change 'already defined symbol' from a 344089857Sobrien fatal error to an ordinary error. There is no reason why this 344189857Sobrien error should be fatal. 344289857Sobrien 344389857Sobrien * message.c (as_fatal): Delete output file, if one has been 344489857Sobrien created. 344589857Sobrien 344689857Sobrien2001-01-14 Alan Modra <alan@linuxcare.com.au> 344789857Sobrien 344889857Sobrien * config/tc-hppa.h (TARGET_FORMAT): Add hppa-linux variants. 344989857Sobrien 345089857Sobrien2001-01-14 Kazu Hirata <kazu@hxi.com> 345189857Sobrien 345289857Sobrien * config/tc-alpha.c: Fix formatting. 345389857Sobrien * config/tc-arc.c: Likewise. 345489857Sobrien * config/tc-arc.h: Likewise. 345589857Sobrien * config/tc-d10v.c: Likewise. 345689857Sobrien * config/tc-i370.c: Likewise. 345789857Sobrien * config/tc-i386.c: Likewise. 345889857Sobrien * config/tc-i960.c: Likewise. 345989857Sobrien * config/tc-m68k.c: Likewise. 346089857Sobrien * config/tc-ppc.c: Likewise. 346189857Sobrien * config/tc-sparc.c: Likewise. 346289857Sobrien * config/tc-tahoe.c: Likewise. 346389857Sobrien * config/tc-vax.c: Likewise. 346489857Sobrien 346589857Sobrien * config/tc-arc.c: Fix formatting. 346689857Sobrien 346789857Sobrien * config/tc-arc.c: Fix formatting. 346889857Sobrien 346989857Sobrien2001-01-14 Alan Modra <alan@linuxcare.com.au> 347089857Sobrien 347189857Sobrien * config/tc-hppa.c (pa_build_unwind_subspace): Use SEGREL32 for 347289857Sobrien both 32 and 64 bit ELF. 347389857Sobrien 347489857Sobrien * config/tc-hppa.c (pa_ip): Store `a' flag in bit zero of operand 347589857Sobrien and don't bother storing `m' for "ce" completer. Tidy handling of 347689857Sobrien 'J' and 'K' operands to suit. Handle '<' and '>' operands. 347789857Sobrien 347889857Sobrien2001-01-14 Jan Hubicka <jh@suse.cz> 347989857Sobrien 348089857Sobrien * config/tc-i386.h (TARGET_MACH): New macro. 348189857Sobrien (i386_mach): Declare. 348289857Sobrien * config/tc-i386.c (i386_mach): New function. 348389857Sobrien 348489857Sobrien2001-01-13 Philip Blundell <philb@gnu.org> 348589857Sobrien 348689857Sobrien * doc/as.texinfo: Fix spelling and cross-references. 348789857Sobrien 348889857Sobrien * doc/c-arm.texi: Fix typos. Say that `;' is a line separator 348989857Sobrien character for all systems, not just GNU/Linux. Make it explicit 349089857Sobrien that `-k' doesn't affect code generation, just ELF flags. 349189857Sobrien 349289857Sobrien2001-01-13 Jan Hubicka <jh@suse.cz> 349389857Sobrien 349489857Sobrien * config/tc-i386.c (md_assemble): Check cpu_flags even for nullary 349589857Sobrien instructions. 349689857Sobrien 349789857Sobrien2001-01-12 Frank Ch. Eigler <fche@redhat.com> 349889857Sobrien 349989857Sobrien * cgen.c (gas_cgen_finish_insn): Call dwarf2_emit_insn. 350089857Sobrien 350189857Sobrien2001-01-12 Nick Clifton <nickc@redhat.com> 350289857Sobrien 350389857Sobrien * as.c (print_args): Update copyright date to 2001. 350489857Sobrien 350589857Sobrien2001-01-12 Peter Targett <peter.targett@arccores.com> 350689857Sobrien 350789857Sobrien * doc/c-arc.texi: New file. 350889857Sobrien Some sections to be expanded. 350989857Sobrien 351089857Sobrien2001-01-12 Alan Modra <alan@linuxcare.com.au> 351189857Sobrien 351289857Sobrien * config/tc-i386.c (md_longopts): Recognize "--64" only for ELF. 351389857Sobrien (md_parse_option): Always accept "--32". 351489857Sobrien 351589857Sobrien2001-01-11 Peter Targett <peter.targett@arccores.com> 351689857Sobrien 351789857Sobrien * as.h (TC_ARC): Ensure struc-symbol.h included. 351889857Sobrien * as.c (dwarf2dbg.h): Include to remove implicit declaration 351989857Sobrien warnings. 352089857Sobrien * struc-symbol.h (SYMBOLS_NEED_BACKPOINTERS): Define. 352189857Sobrien (TARGET_SYMBOL_FIELDS) added. 352289857Sobrien 352389857Sobrien * doc/Makefile.am (CPU_DOCS): Added c-arc.texi. 352489857Sobrien * doc/c-arc.texi: New file. 352589857Sobrien Some sections to be expanded. 352689857Sobrien * doc/as.texinfo: Update command-line options. 352789857Sobrien Removed outdated text for ARC dependant features, instead include 352889857Sobrien text from above file. 352989857Sobrien 353089857Sobrien * config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS): Define local flag. 353189857Sobrien (TARGET_SYMBOL_FIELDS): Alias to previous definition. 353289857Sobrien (targ-cpu.h) header. 353389857Sobrien * config/tc-arc.h: 353489857Sobrien * config/tc-arc.c: New updated configuration for 353589857Sobrien ARC, including selection of core variants, and extensibility of 353689857Sobrien instructions, registers etc. through directives. 353789857Sobrien 353889857Sobrien * config/tc-arc.c (arc_extinst): Minor corrections for 353989857Sobrien error messages. 354089857Sobrien (arc_common) Likewise. Make alignment argument optional for local 354189857Sobrien symbols also, with default of zero. 354289857Sobrien 354389857Sobrien2001-01-11 Stephane Carrez <Stephane.Carrez@worldnet.fr> 354489857Sobrien 354589857Sobrien * config/tc-m68hc11.c (md_estimate_size_before_relax): Fix 354689857Sobrien STATE_INDEXED_OFFSET when the symbol is undefined (16-bit offset). 354789857Sobrien (build_indexed_byte): Don't relax indexed byte, use 16-bit offset 354889857Sobrien and fix_new_exp() instead. 354989857Sobrien (md_convert_frag): For indexed post byte use the symbol value 355089857Sobrien rather than the displacement. 355189857Sobrien (md_relax_table): Fix indexed offset relax. 355289857Sobrien 355389857Sobrien2001-01-11 Stephane Carrez <Stephane.Carrez@worldnet.fr> 355489857Sobrien 355589857Sobrien * config/tc-m68hc11.c (md_estimate_size_before_relax):Don't 355689857Sobrien relax weak symbols. 355789857Sobrien (relaxable_symbol): New function. 355889857Sobrien 355989857Sobrien2001-01-11 Andreas Jaeger <aj@suse.de> 356089857Sobrien 356189857Sobrien * config/tc-i386.h (TC_RELOC_GLOBAL_OFFSET_TABLE): Removed, it's 356289857Sobrien not used anywhere. 356389857Sobrien 356489857Sobrien2001-01-10 Nick Clifton <nickc@redhat.com> 356589857Sobrien 356689857Sobrien * config/tc-arm.c (arm_fix_adjustable): Define for OBJ_COFF. 356789857Sobrien * config/tc-arm.h (obj_fix_adjustable): Define for OBJ_COFF 356889857Sobrien 356989857Sobrien2001-01-10 Nick Clifton <nickc@redhat.com> 357089857Sobrien 357189857Sobrien * symbols.c (DOLLAR_LABEL_CHAR): New constant - the magic 357289857Sobrien character used to dollar local symbols. 357389857Sobrien (LOCAL_LABEL_CHAR): New constant - the magic character used to 357489857Sobrien local label symbols. 357589857Sobrien (dollar_label_name): Use DOLLAR_LABEL_CHAR. 357689857Sobrien (fb_label_name): Prefix local labels with LOCAL_LABEL_PREFIX, 357789857Sobrien if defined. 357889857Sobrien Use LOCAL_LABEL_CHAR. 357989857Sobrien (decode_local_label_name): Skip LOCAL_LABEL_PREFIX. 358089857Sobrien Use DOLLAR_LABEL_CHAR and LOCAL_LABEL_CHAR. 358189857Sobrien (S_IS_LOCAL): Use DOLLAR_LABEL_CHAR and LOCAL_LABEL_CHAR. 358289857Sobrien 358389857Sobrien2001-01-08 Bo Thorsen <bo@suse.de> 358489857Sobrien 358589857Sobrien * config/tc-i386.c (i386_immediate, i386_displacement): 358689857Sobrien GOTPCREL check fix. 358789857Sobrien 358889857Sobrien2001-01-07 Ian Lance Taylor <ian@zembu.com> 358989857Sobrien 359089857Sobrien * doc/c-i386.texi (i386-Arch): Remove spaces incorrectly inserted 359189857Sobrien in last change. 359289857Sobrien 359389857Sobrien2001-01-07 Philip Blundell <philb@gnu.org> 359489857Sobrien 359589857Sobrien * doc/as.texinfo (Bug Reporting): Update email address for 359689857Sobrien reports. 359789857Sobrien * README: Likewise. 359889857Sobrien 359989857Sobrien2001-01-06 Jan Hubicka <jh@suse.cz> 360089857Sobrien 360189857Sobrien * configure.in: Define DEFAULT_ARCH for i386. 360289857Sobrien * config/tc-i386.c (md_assemble): Return after the error message; 360389857Sobrien move testing for 64bit operands to proper place. 360489857Sobrien 360589857Sobrien2001-01-06 Jan Hubicka <jh@suse.cz>, Andreas Jaeger <aj@suse.de> 360689857Sobrien 360789857Sobrien * doc/as.texinfo: Document '#' as comment character for i386 and 360889857Sobrien x86_64. Add AMD x86-64 into menu of machine dependent information. 360989857Sobrien 361089857Sobrien * doc/c-i386.texi: Document x86_64 extensions. 361189857Sobrien 361289857Sobrien2001-01-05 Jan Hubicka <jh@suse.cz> 361389857Sobrien 361489857Sobrien * config/tc-i386.c (md_assemble): Handle third byte of the opcode as prefix. 361589857Sobrien 361689857Sobrien2001-01-04 Jan Hubicka <jh@suse.cz> 361789857Sobrien 361889857Sobrien * config/tc-i386.c (cpu_arch): Add Pentium4 and modify sledgehammer entry. 361989857Sobrien * NEWS: Add note about Pentium4 support. 362089857Sobrien 362189857Sobrien2001-01-04 Jan Hubicka <jh@suse.cz> 362289857Sobrien 362389857Sobrien * config/tc-i387.c (pi, pte, pt): Update. 362489857Sobrien (type_names): Add new types. 362589857Sobrien 362689857Sobrien2001-01-03 Jan Hubicka <jh@suse.cz> 362789857Sobrien 362889857Sobrien * config/tc-i386.h (CpuK6, CpuAthlon, CpuSledgehammer, CpuMMX, Cpu3dnow, 362989857Sobrien CpuUnknown): Renumber 363089857Sobrien (CpuP4, CpuSSE2): New. 363189857Sobrien (CpuUnknownFlags): Add CpuP4 and CpuSSE2 363289857Sobrien 363389857Sobrien2001-01-03 Philip Blundell <pb@futuretv.com> 363489857Sobrien 363589857Sobrien * config/tc-alpha.c (alpha_force_relocation): Handle vtable 363689857Sobrien relocs. 363789857Sobrien (alpha_fix_adjustable): Likewise. 363889857Sobrien (md_apply_fix): Likewise. 363989857Sobrien 364089857Sobrien2000-12-31 H.J. Lu <hjl@gnu.org> 364189857Sobrien 364289857Sobrien * listing.c (listing_message): Allocate string only if it is 364389857Sobrien used. 364489857Sobrien 364589857Sobrien * configure: Rebuild. 364689857Sobrien 364789857Sobrien2000-12-31 Hans-Peter Nilsson <hp@bitrange.com> 364889857Sobrien 364989857Sobrien * doc/internals.texi (Relaxing with a table) <after relaxation>: 365089857Sobrien Point out caveats with generating fixups for the opcode in a frag. 365189857Sobrien 365289857Sobrien2000-12-30 Jan Hubicka <jh@suse.cz> 365389857Sobrien 365489857Sobrien * configure.in: Add support for x86_64 and x86_64-*-linux-gnu* 365589857Sobrien * NEWS: Add x86_64. 365689857Sobrien 365789857Sobrien2000-12-29 H.J. Lu <hjl@gnu.org> 365889857Sobrien 365989857Sobrien * listing.c (calc_hex): Print the variable part only if the 366089857Sobrien fragment type is rs_fill. 366189857Sobrien 366289857Sobrien2000-12-29 Hans-Peter Nilsson <hp@bitrange.com> 366389857Sobrien 366489857Sobrien * doc/internals.texi (tc_conditional_pseudoop, 366589857Sobrien TC_LINKRELAX_FIXUP): Fix typos. 366689857Sobrien 366789857Sobrien2000-12-28 Richard Henderson <rth@redhat.com> 366889857Sobrien 366989857Sobrien * write.c (subsegs_finish): Fix thinko last change -- don't 367089857Sobrien "optimize" the alignment == 0 case. 367189857Sobrien 367289857Sobrien2000-12-28 Richard Henderson <rth@redhat.com> 367389857Sobrien 367489857Sobrien * as.h (rs_align_test): New. 367589857Sobrien * frags.c (NOP_OPCODE): Move default from read.c. 367689857Sobrien (MAX_MEM_FOR_RS_ALIGN_CODE): New default. 367789857Sobrien (frag_align_code): New. 367889857Sobrien * frags.h (frag_align_code): Declare. 367989857Sobrien * read.c (NOP_OPCODE): Remove. 368089857Sobrien (do_align): Use frag_align_code. 368189857Sobrien * write.c (NOP_OPCODE): Remove. 368289857Sobrien (get_recorded_alignment): New. 368389857Sobrien (cvt_frag_to_fill): Handle rs_align_test. 368489857Sobrien (relax_segment): Likewise. 368589857Sobrien (subsegs_finish): Align last subseg in section to the 368689857Sobrien section alignment. Use frag_align_code. 368789857Sobrien * write.h (get_recorded_alignment): Declare. 368889857Sobrien * config/obj-coff.c (size_section): Handle rs_align_test. 368989857Sobrien (fill_section, fixup_mdeps): Likewise. 369089857Sobrien (write_object_file): Use frag_align_code. 369189857Sobrien 369289857Sobrien * config/tc-alpha.c (alpha_align): Use frag_align_code. 369389857Sobrien (alpha_handle_align): New. 369489857Sobrien * config/tc-alpha.h (HANDLE_ALIGN): New. 369589857Sobrien (MAX_MEM_FOR_RS_ALIGN_CODE): New. 369689857Sobrien 369789857Sobrien * config/tc-i386.h (md_do_align): Use frag_align_code. 369889857Sobrien (MAX_MEM_FOR_RS_ALIGN_CODE): New. 369989857Sobrien 370089857Sobrien * config/tc-ia64.c (ia64_md_do_align): Don't do code alignment. 370189857Sobrien (ia64_handle_align): New. 370289857Sobrien * config/tc-ia64.h (HANDLE_ALIGN): New. 370389857Sobrien (MAX_MEM_FOR_RS_ALIGN_CODE): New. 370489857Sobrien 370589857Sobrien * config/tc-m32r.c (m32r_do_align): Remove. 370689857Sobrien (m32r_handle_align): New. 370789857Sobrien (fill_insn): Use frag_align_code. 370889857Sobrien * config/tc-m32r.h (md_do_align): Remove. 370989857Sobrien (HANDLE_ALIGN, MAX_MEM_FOR_RS_ALIGN_CODE): New. 371089857Sobrien * config/tc-m88k.c, config/tc-m88k.h: Similarly. 371189857Sobrien * config/tc-mips.c, config/tc-mips.h: Similarly. 371289857Sobrien 371389857Sobrien * config/tc-sh.c (sh_cons_align): Use rs_align_test. 371489857Sobrien (sh_handle_align): Likewise. Handle rs_align_code. 371589857Sobrien (sh_do_align): Remove. 371689857Sobrien * config/tc-sh.h (md_do_align): Remove. 371789857Sobrien (MAX_MEM_FOR_RS_ALIGN_CODE): New. 371889857Sobrien 371989857Sobrien * config/tc-sparc.c (sparc_cons_align): Use rs_align_test. 372089857Sobrien (sparc_handle_align): Likewise. Handle rs_align_code. 372189857Sobrien * config/tc-sparc.h (md_do_align): Remove. 372289857Sobrien (MAX_MEM_FOR_RS_ALIGN_CODE): New. 372389857Sobrien 372489857Sobrien2000-12-22 DJ Delorie <dj@redhat.com> 372589857Sobrien 372689857Sobrien * config/tc-d10v.c (md_assemble): set prev_seg and prev_subseg 372789857Sobrien when we assemble the first half of a pair. 372889857Sobrien 372989857Sobrien2000-12-22 H.J. Lu <hjl@gnu.org> 373089857Sobrien 373189857Sobrien * config/tc-i386.c (reloc): Update the macro for non-bfd 373289857Sobrien assembler. 373389857Sobrien (BFD_RELOC_X86_64_GOTPCREL): Set to 0 for non-bfd assembler. 373489857Sobrien 373589857Sobrien2000-12-22 H.J. Lu <hjl@gnu.org> 373689857Sobrien 373789857Sobrien * dwarf2dbg.c (dwarf2_finish): Remove #if BFD_ASSEMBLER. 373889857Sobrien 373989857Sobrien2000-12-20 Jan Hubicka <jh@suse.cz> 374089857Sobrien 374189857Sobrien * config/tc-i386.h (i386_target_format): Define even for ELFs. 374289857Sobrien (QWORD_MNEM_SUFFIX): New macro. 374389857Sobrien (CpuK6,CpuAthlon,CpuSledgehammer, Cpu64, CpuNo64, CpuUnknownFlags): 374489857Sobrien New macros 374589857Sobrien (CpuMMX,CpuSSE,Cpu3dnow, CpuUnknown): Renumber. 374689857Sobrien (IgnoreSize, DefaultSize, No_?Suf, FWait, IsString, regKludge, IsPrefix, 374789857Sobrien ImmExt): Renumber. 374889857Sobrien (Size64, No_qSuf, NoRex64, Rex64): New macros. 374989857Sobrien (Reg64, Imm32S, Imm64, Disp32S, Disp64): New macros. 375089857Sobrien (Imm8, Imm8S, Imm16, Imm32, Imm1, BaseIndex, Disp8, Disp16, Disp32, 375189857Sobrien InOutPortReg,ShiftCount, Control, Debug, Test, FloatReg, FloatAcc, 375289857Sobrien SReg2, SReg3, Acc, JumpAbsolute, RegMMX, RegXMM, EsSeg, InvMem): 375389857Sobrien Renumber. 375489857Sobrien (Reg, WordReg): Add Reg64. 375589857Sobrien (Imm): Add Imm32S and Imm64. 375689857Sobrien (EncImm): New. 375789857Sobrien (Disp): Add Disp64 and Disp32S. 375889857Sobrien (AnyMem): Add Disp32S. 375989857Sobrien (RegRex, RegRex64): New macros. 376089857Sobrien (rex_byte): New type. 376189857Sobrien * config/tc-i386.c (set_16bit_code_flag): Kill. 376289857Sobrien (fits_in_unsigned_long, fits_in_signed_long): New functions. 376389857Sobrien (reloc): New parameter "signed"; support x86_64. 376489857Sobrien (set_code_flag): New. 376589857Sobrien (DEFAULT_ARCH): New macro; default to "i386". 376689857Sobrien (default_arch): New static variable. 376789857Sobrien (struct _i386_insn): New fields Operand_PCrel; rex. 376889857Sobrien (flag_16bit_code): Kill; All tests replaced to "flag_code == CODE_64BIT" 376989857Sobrien (flag_code): New enum and static variable. 377089857Sobrien (use_rela_relocations): New static variable. 377189857Sobrien (flag_code_names): New static variable. 377289857Sobrien (cpu_arch_flags): Default to CpuUnknownFlags|CpuNo64. 377389857Sobrien (cpu_arch): Add "sledgehammer"; Add CPUAthlon to Athlon and CpuK6 to 377489857Sobrien K6 and Athlon. 377589857Sobrien (i386_align_code): Return plain "nop" for x86_64. 377689857Sobrien (mode_from_disp_size): Support Disp32S. 377789857Sobrien (smallest_imm_type): Support Imm32S and Imm64. 377889857Sobrien (offset_in_range): Support size of 8. 377989857Sobrien (set_cpu_arch): Do not clobber to Cpu64/CpuNo64. 378089857Sobrien (md_pseudo_table): Add "code64"; use set_code_flat. 378189857Sobrien (md_begin): Emit sane error message on hash failure. 378289857Sobrien (tc_i386_fix_adjustable): Support x86_64 relocations. 378389857Sobrien (md_assemble): Support QWORD_MNEM_SUFFIX, REX registers, 378489857Sobrien instructions supported on particular arch just partially, 378589857Sobrien output of 64bit immediates, handling of Imm32S and Disp32S type. 378689857Sobrien (i386_immedaite): Support x86_64 relocations; support 64bit constants. 378789857Sobrien (i386_displacement): Likewise. 378889857Sobrien (i386_index_check): Cleanup; support 64bit addresses. 378989857Sobrien (md_apply_fix3): Support x86_64 relocation and rela. 379089857Sobrien (md_longopts): Add "32" and "64". 379189857Sobrien (md_parse_option): Add OPTION_32 and OPTION_64. 379289857Sobrien (i386_target_format): Call even for ELFs; choose between 379389857Sobrien elf64-x86-64 and elf32-i386. 379489857Sobrien (i386_validate_fix): Refuse GOTOFF in 64bit mode. 379589857Sobrien (tc_gen_reloc): Support rela relocations and x86_64. 379689857Sobrien (intel_e09_1): Support QWORD. 379789857Sobrien 379889857Sobrien2000-12-15 Diego Novillo <dnovillo@redhat.com> 379989857Sobrien 380089857Sobrien * config/tc-i386.c (intel_e09_1): Only flag as a memory operand if 380189857Sobrien it's not an offset expression. 380289857Sobrien (intel_e10_1): Ditto. Also, if the operand is an offset expression, 380389857Sobrien keep the braces '[' and ']' in the output string. 380489857Sobrien (intel_e11): Ditto. Also remove comparison intel_parser.op_modifier 380589857Sobrien != FLAT. There is no such op_modifier. 380689857Sobrien 380789857Sobrien2000-12-14 Michael Sokolov <msokolov@ivan.Harhan.ORG> 380889857Sobrien 380989857Sobrien * dwarf2dbg.c: If we don't have <limits.h>, try including <sys/param.h> 381089857Sobrien if we have it. 381189857Sobrien 381289857Sobrien2000-12-13 Kazu Hirata <kazu@hxi.com> 381389857Sobrien 381489857Sobrien * as.h: Fix formatting. 381589857Sobrien * cgen.h: Likewise. 381689857Sobrien * dwarf2dbg.c: Likewise. 381789857Sobrien * input-scrub.c: Likewise. 381889857Sobrien * read.h: Likewise. 381989857Sobrien 382089857Sobrien2000-12-13 Mark Elbrecht <snowball3@bigfoot.com> 382189857Sobrien 382289857Sobrien * configure.in (i386-*-msdosdjgpp): Set bfd_gas to yes. 382389857Sobrien configure: Regenerate. 382489857Sobrien 382589857Sobrien2000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG> 382689857Sobrien 382789857Sobrien * dwarf2dbg.c: #include <limits.h> only if it exists. 382889857Sobrien 382989857Sobrien2000-12-13 Rodney Brown <RodneyBrown@mynd.com> 383089857Sobrien 383189857Sobrien * config/tc-hppa.c (pa_ip): Correct CHECK_FIELD typo. 383289857Sobrien (md_apply_fix): Here too. 383389857Sobrien 383489857Sobrien2000-12-12 Jim Wilson <wilson@redhat.com> 383589857Sobrien 383689857Sobrien * config/tc-ia64.h (ia64_init): Add prototype. 383789857Sobrien 383889857Sobrien2000-12-12 H.J. Lu <hjl@gnu.org> 383989857Sobrien 384089857Sobrien * dwarf2dbg.c: Enabled only if BFD_ASSEMBLER is defined. 384189857Sobrien 384289857Sobrien * read.h (outputting_stabs_line_debug): Change it to int. 384389857Sobrien * stabs.c (outputting_stabs_line_debug): Likewise. 384489857Sobrien 384589857Sobrien2000-12-12 Geoffrey Keating <geoffk@redhat.com> 384689857Sobrien 384789857Sobrien * config/obj-bout.c (obj_crawl_symbol_chain): Don't take 384889857Sobrien the address of a function result. 384989857Sobrien 385089857Sobrien2000-12-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> 385189857Sobrien 385289857Sobrien * config/tc-ppc.c (md_pseudo_table): Add .file and .loc. 385389857Sobrien (md_assemble): Call dwarf2_emit_insn. 385489857Sobrien (shlib): Fix typo SHILB -> SHLIB. 385589857Sobrien (md_parse_option): Likewise. 385689857Sobrien (ppc_elf_validate_fix): Likewise: 385789857Sobrien * config/tc-ppc.h (DWARF2_LINE_MIN_INSN_LENGTH): New. 385889857Sobrien 385989857Sobrien2000-12-12 Nick Clifton <nickc@redhat.com> 386089857Sobrien 386189857Sobrien * cgen.h: Fix formatting. 386289857Sobrien * input-scrub.c: Fix formatting. 386389857Sobrien * macro.c: Fix formatting. 386489857Sobrien * config/tc-mips.c: Fix formatting. 386589857Sobrien * doc/c-mips.texi: Fix formatting. 386689857Sobrien 386789857Sobrien2000-12-11 Jan hubicka <jh@suse.cz> 386889857Sobrien 386989857Sobrien * config/tc-i386.c (md_assemble): Refuse 's' and 'l' suffixes in the intel 387089857Sobrien mode; convert 'd' suffix to 's' or 'l'; remove all DWORD_MNEM_SUFFIX 387189857Sobrien references. 387289857Sobrien (intel_e09_1): Convert QWORD to 'l' suffix for FP operations; refuse 387389857Sobrien otherwise. 387489857Sobrien * config/tc-i386.h (DWORD_MNEM_SUFFIX): Kill. 387589857Sobrien (No_dSuf): Kill. 387689857Sobrien 387789857Sobrien * i386.h (*_Suf): Remove No_dSuf. 387889857Sobrien (d_suf, wld_Suf,sld_Suf, sldx_Suf, bwld_Suf, d_FP, sld_FP, sldx_FP) 387989857Sobrien Remove. 388089857Sobrien (i386_optab): Remove 'd' in the suffixes. 388189857Sobrien 388289857Sobrien2000-12-06 Mark Elbrecht <snowball3@bigfoot.com> 388389857Sobrien 388489857Sobrien * config/tc-i386.c (T_SHORT): Undefine before defining. 388589857Sobrien 388689857Sobrien2000-12-05 Kazu Hirata <kazu@hxi.com> 388789857Sobrien 388889857Sobrien * config/tc-mips.c: Fix formatting. 388989857Sobrien 389089857Sobrien2000-12-04 Matthew Hiller <hiller@redhat.com> 389189857Sobrien 389289857Sobrien * config/tc-d10v.c (flag_allow_gstabs_packing): New variable. 389389857Sobrien (md_longopts): New options --gstabs-packing, --no-gstabs-packing. 389489857Sobrien (md_show_usage): Ditto. 389589857Sobrien (md_parse_option): Ditto. 389689857Sobrien (d10v_cleanup): Writes pending instruction only if 389789857Sobrien ! outputting_stabs_line_debug || ! flag_allow_gstabs_packing. 389889857Sobrien Fix compile time warning messages. 389989857Sobrien 390089857Sobrien * doc/c-d10v.texi: Documents new options. 390189857Sobrien 390289857Sobrien2000-12-04 Matthew Hiller <hiller@redhat.com> 390389857Sobrien 390489857Sobrien * stabs.c (outputting_stabs_line_debug): New variable. 390589857Sobrien (stabs_generate_asm_lineno): Set outputting_stabs_line_debug at 390689857Sobrien function entry and unset at function exit. 390789857Sobrien 390889857Sobrien * read.h (outputting_stabs_line_debug): New extern declaration. 390989857Sobrien 391089857Sobrien * as.c: Include dwarf2dbg.h for definition of dwarf2_finish. 391189857Sobrien 391289857Sobrien * dwarf2dbg.c: Fix compile time warning messages. 391389857Sobrien 391489857Sobrien2000-12-03 Kazu Hirata <kazu@hxi.com> 391589857Sobrien 391689857Sobrien * config/tc-a29k.c: Fix formatting. 391789857Sobrien * config/tc-alpha.c: Likewise. 391889857Sobrien * config/tc-arm.c: Likewise. 391989857Sobrien * config/tc-cris.c: Likewise. 392089857Sobrien * config/tc-hppa.c: Likewise. 392189857Sobrien * config/tc-i370.c: Likewise. 392289857Sobrien * config/tc-i386.c: Likewise. 392389857Sobrien * config/tc-i860.c: Likewise. 392489857Sobrien * config/tc-i960.c: Likewise. 392589857Sobrien * config/tc-ia64.c: Likewise. 392689857Sobrien * config/tc-m68hc11.c: Likewise. 392789857Sobrien * config/tc-m68k.c: Likewise. 392889857Sobrien * config/tc-m88k.c: Likewise. 392989857Sobrien * config/tc-pj.c: Likewise. 393089857Sobrien * config/tc-ppc.c: Likewise. 393189857Sobrien * config/tc-sh.c: Likewise. 393289857Sobrien * config/tc-sparc.c: Likewise. 393389857Sobrien * config/tc-tahoe.c: Likewise. 393489857Sobrien * config/tc-vax.c: Likewise. 393589857Sobrien 393689857Sobrien2000-12-01 Chris Demetriou <cgd@sibyte.com> 393789857Sobrien 393889857Sobrien * config/tc-mips.c (mips_ip): When calculating offsets, 393989857Sobrien don't accept as constant the difference between the 394089857Sobrien addresses of symbols in two different sections. 394189857Sobrien 394289857Sobrien * config/tc-mips.c (macro_build): Add new 'U' and 'J' operand 394389857Sobrien specifiers. 394489857Sobrien (validate_mips_insn): Likewise. Also, update 'B' operand 394589857Sobrien specifier to use OP_*_CODE20 constants and delete 'm' operand 394689857Sobrien specifier. 394789857Sobrien (mips_ip): Remove 'm' operand specifier, add 'U' and 'J' 394889857Sobrien operand specifiers. Change warning generated by 'B' operand 394989857Sobrien specifier to reflect its new multi-purpose usage. 395089857Sobrien 395189857Sobrien * config/tc-mips.c (mips_set_options): Use ISA_UNKNOWN rather than 395289857Sobrien -1, and update comment. 395389857Sobrien (file_mips_isa): Likewise. 395489857Sobrien (mips_cpu): Use CPU_UNKNOWN rather than -1, and update comment. 395589857Sobrien (ISA_HAS_COPROC_DELAYS, ISA_HAS_64BIT_REGS, gpr_interlocks): Use 395689857Sobrien ISA_* constants rather than hard-coded numbers. 395789857Sobrien (mips_cpu_info): New structure. 395889857Sobrien (mips_cpu_info_table): New table describing CPU and ISA names 395989857Sobrien and numbers. 396089857Sobrien (mips_cpu_info_from_name, mips_cpu_info_from_isa, 396189857Sobrien mips_cpu_info_from_cpu): New functions. 396289857Sobrien (mips_isa_to_str): New function to get string for ISA name. 396389857Sobrien (mips_cpu_to_str): Convert to use mips_cpu_info_from_cpu, and 396489857Sobrien return const char *. 396589857Sobrien (md_begin): Redo CPU and ISA selection logic, using 396689857Sobrien mips_cpu_info_from_*. Convert to use ISA_* constants rather 396789857Sobrien than hard-coded numbers. 396889857Sobrien (append_insn, mips_emit_delays, macro, macro2): Convert to use 396989857Sobrien ISA_* constants rather than hard-coded numbers. 397089857Sobrien (mips_ip): Convert to use mips_isa_to_str to get ISA name. 397189857Sobrien (md_longopts): Delete OPTION_NO_MIPS32. 397289857Sobrien (md_parse_option): Convert to use ISA_* constants rather than 397389857Sobrien hard-coded numbers. Make OPTIONS_MIPS32 case treat MIPS32 397489857Sobrien as an ISA. Delete OPTION_NO_MIPS32 case. Convert OPTION_MCPU 397589857Sobrien to use strcasecmp to recognize "default" and to use 397689857Sobrien mips_cpu_info_from_name to get CPU numbers from argument. 397789857Sobrien (md_show_usage): Move -mips32 so it's with the rest of the ISA 397889857Sobrien flags. Change 4Kc, 4Kp and 4Km CPU entries to just be 397989857Sobrien mips32-4k. 398089857Sobrien (s_mipsset): Accept ISA value 32. 398189857Sobrien * doc/as.texinfo: Clean up MIPS options summary slightly, 398289857Sobrien remove -no-mips32. Add note about -mips4 and -mips32 398389857Sobrien specifying those ISA levels. Delete -mips32 and -no-mips32 398489857Sobrien cpu flag descriptions. 398589857Sobrien * doc/c-mips.texi: Add -mips32 to list of ISA switches. Clean 398689857Sobrien up the supported CPU switch list, and replace 4Kc, 4Km, and 398789857Sobrien 4Kp entries with a single mips32-4k entry. Note that you can 398889857Sobrien use ".set mips32". 398989857Sobrien 399089857Sobrien * config/tc-mips.c (ISA_HAS_64BIT_REGS): Add checks for ISA_MIPS5 and 399189857Sobrien ISA_MIPS64. 399289857Sobrien (md_longopts, OPTION_MIPS5, OPTION_MIPS64): Add options for 399389857Sobrien -mips5 and -mips64. 399489857Sobrien (md_parse_option): Add cases for OPTION_MIPS5 and 399589857Sobrien OPTION_MIPS64. 399689857Sobrien (md_show_usage): Mention -mips5 and -mips64 arguments. 399789857Sobrien (s_mipsset): Add cases for MIPS5 and MIPS64. 399889857Sobrien (mips_cpu_info_table): Add entries for MIPS5 and MIPS64 ISAs 399989857Sobrien and pseudo-CPUs. 400089857Sobrien * doc/as.texinfo: Mention -mips5 and -mips64 options 400189857Sobrien and their meanings. 400289857Sobrien * doc/c-mips.texi: Likewise. Also update introduction 400389857Sobrien and ".set" usage information. 400489857Sobrien 400589857Sobrien * config/tc-mips.c (md_show_usage): Add "sb1" to the 400689857Sobrien CPU list. 400789857Sobrien (mips_cpu_info_table): Add SB-1 entries. 400889857Sobrien * doc/c-mips.texi: Add "sb1" to the list of CPUs 400989857Sobrien known to the -mcpu option. 401089857Sobrien 401189857Sobrien * doc/as.texinfo: Correct description of MIPS -mcpu 401289857Sobrien option, by copying some of the text from doc/c-mips.texi. 401389857Sobrien 401489857Sobrien2000-12-01 Joel Sherrill <joel@OARcorp.com> 401589857Sobrien 401689857Sobrien * configure.in (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*): 401789857Sobrien New targets. 401889857Sobrien (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets. 401989857Sobrien (sparc*-*-rtems*): Switched from a.out to ELF. 402089857Sobrien * configure: Regenerate. 402189857Sobrien * config.in: Regenerate. 402289857Sobrien * Makefile.in: Regenerate. 402389857Sobrien * aclocal.m4: Regenerate. 402489857Sobrien * po/gas.pot: Regenerate. 402589857Sobrien 402689857Sobrien2000-11-30 Philip Blundell <pb@futuretv.com> 402789857Sobrien 402889857Sobrien * config/obj-coff.c (obj_coff_weak): Use S_SET_WEAK if it exists, 402989857Sobrien even in non BFD_ASSEMBLER case. 403089857Sobrien 403189857Sobrien2000-11-30 Diego Novillo <dnovillo@redhat.com> 403289857Sobrien 403389857Sobrien * config/tc-i386.c (md_assemble): Swap i.disp_relocs when using intel 403489857Sobrien syntax. 403589857Sobrien 403689857Sobrien2000-11-29 Richard Henderson <rth@redhat.com> 403789857Sobrien 403889857Sobrien * dwarf2dbg.c: Rewrite from scratch. Queue all debugging output 403989857Sobrien until dwarf2_finish; use relaxation to get cross-fragment offsets; 404089857Sobrien thread multiple subsegments properly; handle multiple code 404189857Sobrien sections properly; emit proper compilation unit info for assembler 404289857Sobrien generated debugging. 404389857Sobrien 404489857Sobrien * as.h (enum _relax_state): Add rs_dwarf2dbg. 404589857Sobrien * dwarf2dbg.h (struct dwarf2_line_info): Remove filename. 404689857Sobrien (dwarf2dbg_estimate_size_before_relax): Declare. 404789857Sobrien (dwarf2dbg_relax_frag, dwarf2dbg_convert_frag): Declare. 404889857Sobrien * write.c: Include dwarf2dbg.h. 404989857Sobrien (cvt_frag_to_fill): Handle rs_dwarf2dbg. 405089857Sobrien (relax_segment): Likewise. 405189857Sobrien 405289857Sobrien2000-11-28 Hans-Peter Nilsson <hp@bitrange.com> 405389857Sobrien 405489857Sobrien * config/tc-sh.c (md_convert_frag) <undefined symbol, conditional 405589857Sobrien jump>: Use as_bad_where instead of as_bad. Tweak error message 405689857Sobrien accordingly. Stabilize frag by updating fix part and resetting 405789857Sobrien variant part. 405889857Sobrien <undefined symbol, unconditional jump>: Ditto. 405989857Sobrien (sh_elf_cons): Cast *input_line_pointer to unsigned char when 406089857Sobrien indexing is_end_of_line[]. 406189857Sobrien (md_assemble): Initialize size to 0. 406289857Sobrien (md_section_align): Mark parameter seg as unused. 406389857Sobrien (parse_reg): Parse names case-insensitively. 406489857Sobrien 406589857Sobrien2000-11-28 Kazu Hirata <kazu@hxi.com> 406689857Sobrien 406789857Sobrien * config/obj-aout.h: Fix formatting. 406889857Sobrien * config/obj-bout.h: Likewise. 406989857Sobrien * config/obj-coff.c: Likewise. 407089857Sobrien * config/obj-coff.h: Likewise. 407189857Sobrien * config/obj-elf.h: Likewise. 407289857Sobrien * config/obj-som.h: Likewise. 407389857Sobrien * config/obj-vms.c: Likewise. 407489857Sobrien * config/obj-vms.h: Likewise. 407589857Sobrien * config/tc-h8300.h: Likewise. 407689857Sobrien * config/tc-ns32k.h: Likewise. 407789857Sobrien * config/tc-sparc.h: Likewise. 407889857Sobrien * config/tc-tic54x.h: Likewise. 407989857Sobrien * config/tc-z8k.h: Likewise. 408089857Sobrien 408189857Sobrien2000-11-28 Nick Clifton <nickc@redhat.com> 408289857Sobrien 408389857Sobrien * doc/as.1 (COPYING): Mention that the GNU Free Documentation 408489857Sobrien License is present in the sources, but not the output, and 408589857Sobrien also available from the GNU website. 408689857Sobrien (GNU Free Documentation License): Comment out this section. 408789857Sobrien 408889857Sobrien2000-11-28 Hans-Peter Nilsson <hp@axis.com> 408989857Sobrien 409089857Sobrien * Makefile.am (CPU_OBJ_VALID): Add case to filter out invalid coff 409189857Sobrien targets. Remove i860 from valid a.out targets. 409289857Sobrien * Makefile.in: Regenerate. 409389857Sobrien 409489857Sobrien * config/tc-cris.c: Include dwarf2dbg.h. 409589857Sobrien (md_pseudo_table): Add .file and .loc. 409689857Sobrien (md_assemble): Call dwarf2_emit_insn if generating ELF. 409789857Sobrien (s_cris_file, s_cris_loc): New. 409889857Sobrien * config/tc-cris.h (DWARF2_LINE_MIN_INSN_LENGTH): Define. 409989857Sobrien * Makefile.am: Regenerate dependencies. 410089857Sobrien * Makefile.in: Regenerate. 410189857Sobrien 410289857Sobrien2000-11-28 Alan Modra <alan@linuxcare.com.au> 410389857Sobrien 410489857Sobrien * expr.c (STANDARD_MUL_PRECEDENCE): Correct value. 410589857Sobrien (MRI_MUL_PRECEDENCE): Likewise. 410689857Sobrien (op_rank): Fix a comment typo. 410789857Sobrien 410889857Sobrien2000-11-26 Stephane Carrez <Stephane.Carrez@worldnet.fr> 410989857Sobrien 411089857Sobrien * config/tc-m68hc11.c (build_indexed_byte): Print the offset in 411189857Sobrien the error message. 411289857Sobrien (get_operand): Fix analysis for movw/movb instructions. 411389857Sobrien 411489857Sobrien2000-11-24 Nick Clifton <nickc@redhat.com> 411589857Sobrien 411689857Sobrien * configure.in (xscale-elf): Add target. 411789857Sobrien (xscale-coff): Add target. 411889857Sobrien * configure: Regenerate. 411989857Sobrien 412089857Sobrien * config/tc-arm.c (ARM_EXT_V5E): New ARM architecture 412189857Sobrien extenstion. 412289857Sobrien (ARM_EXT_XSCALE): New ARM architecture extension. 412389857Sobrien (ARM_LONGMUL): Rename to ARM_EXT_LONGMUL. 412489857Sobrien (ARM_HALFWORD): Rename to ARM_EXT_HALFWORD. 412589857Sobrien (ARM_THUMB): Rename to ARM_EXT_THUMB. 412689857Sobrien (ARM_ARCH_V4): Remove processor from architecture. 412789857Sobrien (ARM_ARCH_3M): New architecutre definition. 412889857Sobrien (ARM_ARCH_V5TE): New architecutre definition. 412989857Sobrien (ARM_ARCH_XSCALE): New architecutre definition. 413089857Sobrien (CPU_DEFAULT): Allow to be defaulted to XScale. 413189857Sobrien (atpcs): New boolean variable. 413289857Sobrien (ldr_flags): Support 'd' flag for double word loads. 413389857Sobrien (str_flags): Support 'd' flag for double word stored. 413489857Sobrien (do_mia): New function. 413589857Sobrien (do_mar): New function. 413689857Sobrien (do_mra): New function. 413789857Sobrien (do_pld): New function. 413889857Sobrien (do_ldrd): New function. 413989857Sobrien (do_blx): New function. 414089857Sobrien (do_bkpt): New function. 414189857Sobrien (do_clz): New function. 414289857Sobrien (do_lstc2): New function. 414389857Sobrien (do_cdp2): New function. 414489857Sobrien (do_t_blx): New function. 414589857Sobrien (do_t_bkpt): New function. 414689857Sobrien (do_smla): New function. 414789857Sobrien (do_smlal): New function. 414889857Sobrien (do_smul): New function. 414989857Sobrien (do_qadd): New function. 415089857Sobrien (do_co_reg2c): New function. 415189857Sobrien (LONGEST_INSN): Redefine to 7. 415289857Sobrien 415389857Sobrien * doc/c-arm.texi: Document -mxscale, -mmarmv5te and -matpcs 415489857Sobrien command line switches. 415589857Sobrien 415689857Sobrien2000-11-22 Jim Wilson <wilson@redhat.com> 415789857Sobrien 415889857Sobrien * config/tc-ia64.c (pseudo_func): Add missing initializers. 415989857Sobrien (struct rsrc): Make line unsigned. 416089857Sobrien (gr_values): Add missing initializer. 416189857Sobrien (SLOT_NUM_NOT_SET): Add unsigned cast. 416289857Sobrien (ia64_elf_section_flags, output_vbyte_mem, count_output, dot_radix, 416389857Sobrien dot_fframe, dot_vframe, dot_vframesp, dot_vframepsp, dot_save, 416489857Sobrien dot_restore, dot_restorereg, dot_restorereg_p, dot_handlerdata, 416589857Sobrien dot_unwentry, dot_altrp, dot_saveg, dot_savef, dot_saveb, dot_savegf, 416689857Sobrien dot_spill, dot_spillreg, dot_spillreg_p, dot_label_state, 416789857Sobrien dot_copy_state, dot_unwabi, dot_personality, dot_proc, dot_body, 416889857Sobrien dot_prologue, dot_endp, dot_regstk, dot_psr, dot_alias, dot_ln, 416989857Sobrien dot_reg_val, dot_entry, dot_mem_offset, ia64_init, mark_resource, 417089857Sobrien md_undefined_symbol, md_apply_fix3, tc_gen_reloc, ia64_md_do_align): 417189857Sobrien Add ATTRIBUTE_UNUSED to unused parameters. 417289857Sobrien (convert_expr_to_ab_reg): Add parens. 417389857Sobrien (convert_expr_to_xy_reg): Add parens. Comment out >= REG_GR test. 417489857Sobrien (dot_prologue): Initialize grsave when declared. 417589857Sobrien (md_pseudo_table): Add missing initializers. 417689857Sobrien (operand_match): Add casts to bfd_vma. 417789857Sobrien (emit_one_bundle): Delete unused local prev. Make required_template 417889857Sobrien unsigned. 417989857Sobrien (specify_resource): Cast i to unsigned. 418089857Sobrien (note_register_values): Use fprintf_vma. 418189857Sobrien (print_dependency): Likewise. 418289857Sobrien 418389857Sobrien2000-11-21 Jim Wilson <wilson@redhat.com> 418489857Sobrien 418589857Sobrien * config/tc-ia64.c (generate_unwind_image): Call record_alignment 418689857Sobrien for unwind info section. 418789857Sobrien (dot_endp): Likewise for unwind section. 418889857Sobrien 418989857Sobrien * config/tc-ia64.c (emit_one_bundle): Pass size of 8 not 4 to 419089857Sobrien fix_new_exp. 419189857Sobrien 419289857Sobrien2000-11-21 Jakub Jelinek <jakub@redhat.com> 419389857Sobrien 419489857Sobrien * config/tc-sparc.c (md_pseudo_table): Add .file and .loc. 419589857Sobrien (output_insn): Call dwarf2_emit_insn. 419689857Sobrien * config/tc-sparc.h (DWARF2_LINE_MIN_INSN_LENGTH): New. 419789857Sobrien 419889857Sobrien2000-11-17 Richard Henderson <rth@redhat.com> 419989857Sobrien 420089857Sobrien * ehopt.c (eh_frame_code_alignment): New arg `in_seg', update all 420189857Sobrien callers. Don't switch segments. Expect CIE == -1 in .debug_frame. 420289857Sobrien (check_eh_frame): Handle .eh_frame and .debug_frame concurrently. 420389857Sobrien 420489857Sobrien2000-11-17 Nick Clifton <nickc@redhat.com> 420589857Sobrien 420689857Sobrien * config/tc-arm.c (md_pseudo_table): Add support for .line and 420789857Sobrien .file pseudo ops. 420889857Sobrien 420989857Sobrien2000-11-17 Richard Henderson <rth@redhat.com> 421089857Sobrien 421189857Sobrien * config/tc-i386.c (md_pseudo_table): Add .file and .loc. 421289857Sobrien 421389857Sobrien2000-11-17 Richard Henderson <rth@redhat.com> 421489857Sobrien 421589857Sobrien * dwarf2dbg.c (dwarf2_gen_line_info): Early out for no line number. 421689857Sobrien * config/obj-elf.h (ECOFF_DEBUGGING) [TC_ALPHA]: Adjust for 421789857Sobrien tri-state definition of alpha_flag_mdebug. 421889857Sobrien * config/tc-alpha.c (alpha_flag_mdebug): Init to -1. 421989857Sobrien (s_alpha_file): Store first .file directive. 422089857Sobrien (s_alpha_stab): New. 422189857Sobrien (md_pseudo_table): Add stabs and stabn. 422289857Sobrien 422389857Sobrien2000-11-17 Richard Henderson <rth@redhat.com> 422489857Sobrien 422589857Sobrien * config/tc-i386.c (md_assemble): Call dwarf2_emit_insn. 422689857Sobrien 422789857Sobrien2000-11-17 Richard Henderson <rth@redhat.com> 422889857Sobrien 422989857Sobrien * as.c (debug_type): Init to DEBUG_UNSPECIFIED. 423089857Sobrien (main): Call dwarf2_finish. 423189857Sobrien * as.h (debug_type): Clarify documentation of the meaning 423289857Sobrien of this variable. 423389857Sobrien * dwarf2dbg.c (DWARF2_LINE_MIN_INSN_LENGTH): Default to 1. 423489857Sobrien (print_stats): Fix parenthesis problem. 423589857Sobrien (now_subseg_size): New. 423689857Sobrien (dwarf2_finish): Use it. If DEBUG_DWARF2, emit bits for .debug_info. 423789857Sobrien (dwarf2_directive_file): Don't set debug_type. 423889857Sobrien (dwarf2_where): Honor DEBUG_DWARF2 first. 423989857Sobrien (dwarf2_emit_insn): Renamed from dwarf2_generate_asm_lineno; 424089857Sobrien do nothing if not emitting dwarf2 debug info, or no work. 424189857Sobrien * dwarf2dbg.h (dwarf2_emit_insn): Update. 424289857Sobrien * ecoff.c (add_file): Turn on DEBUG_ECOFF only if DEBUG_UNSPECIFIED. 424389857Sobrien (ecoff_new_file): Likewise. 424489857Sobrien * read.c (generate_lineno_debug): Kill ecoff hackery. Update 424589857Sobrien commentary wrt dwarf2. 424689857Sobrien 424789857Sobrien * config/tc-alpha.c (alpha_adjust_symtab_relocs): Add 424889857Sobrien ATTRIBUTE_UNUSED as needed. 424989857Sobrien (emit_insn): Call dwarf2_emit_insn. 425089857Sobrien (s_alpha_file): New. 425189857Sobrien (s_alpha_loc): New. 425289857Sobrien (s_alpha_coff_wrapper): Don't handle them. 425389857Sobrien (md_pseudo_table): Update for .file and .loc. 425489857Sobrien * config/tc-alpha.h (DWARF2_LINE_MIN_INSN_LENGTH): New. 425589857Sobrien 425689857Sobrien * config/tc-arm.c (output_inst): Update for dwarf2_emit_insn; 425789857Sobrien don't protect with debug_type. 425889857Sobrien * config/tc-hppa.c (md_assemble): Likewise. 425989857Sobrien * config/tc-m68hc11.c (m68hc11_new_insn): Likewise. 426089857Sobrien * config/tc-mn10300.c (md_assemble): Likewise. 426189857Sobrien * config/tc-sh.c (md_assemble): Likewise. 426289857Sobrien * config/tc-v850.c (md_assemble): Likewise. 426389857Sobrien 426489857Sobrien * config/tc-arm.c (arm_end_of_source): Remove. 426589857Sobrien * config/tc-hppa.c (pa_end_of_source): Remove. 426689857Sobrien * config/tc-m68hc11.c (m68hc11_end_of_source): Remove. 426789857Sobrien * config/tc-mn10300.c (mn10300_finalize): Remove. 426889857Sobrien * config/tc-sh.c (sh_finalize): Remove. 426989857Sobrien * config/tc-v850.c (sh_finalize): Remove. 427089857Sobrien 427189857Sobrien * config/tc-arm.h (md_end): Remove. 427289857Sobrien * config/tc-hppa.h (md_end): Remove. 427389857Sobrien (DWARF2_LINE_MIN_INSN_LENGTH): New. 427489857Sobrien * config/tc-m68hc11.h (md_end): Remove. 427589857Sobrien * config/tc-mn10300.h (md_end): Remove. 427689857Sobrien * config/tc-sh.h (md_end): Remove. 427789857Sobrien * config/tc-v850.h (md_end): Remove. 427889857Sobrien 427989857Sobrien * config/tc-ia64.c (emit_one_bundle): Don't protect 428089857Sobrien dwarf2 bits with debug_type. 428189857Sobrien (md_assemble): Likewise. 428289857Sobrien (ia64_end_of_source): Don't call dwarf2_finish. 428389857Sobrien 428489857Sobrien2000-11-16 Jim Wilson <wilson@redhat.com> 428589857Sobrien 428689857Sobrien * config/tc-ia64.c (errata_nop_necessary_p): Abort if general regno 428789857Sobrien >= 128 instead of > 128. Abort if predicate regno is >= 64 instead of 428889857Sobrien > 16. 428989857Sobrien 429089857Sobrien2000-11-16 H.J. Lu <hjl@gnu.org> 429189857Sobrien 429289857Sobrien * config/obj-elf.c (obj_elf_symver): Don't check the missing 429389857Sobrien version name. 429489857Sobrien 429589857Sobrien2000-11-15 Kazu Hirata <kazu@hxi.com> 429689857Sobrien 429789857Sobrien * config/tc-tic30.c: Fix formatting. 429889857Sobrien * config/tc-tic80.c: Likewise. 429989857Sobrien * config/tc-v850.c: Likewise. 430089857Sobrien * config/tc-vax.c: Likewise. 430189857Sobrien * config/tc-w65.c: Likewise. 430289857Sobrien * config/tc-z8k.c: Likewise. 430389857Sobrien 430489857Sobrien2000-11-14 DJ Delorie <dj@redhat.com> 430589857Sobrien 430689857Sobrien * config/tc-v850.c: Support dwarf2. 430789857Sobrien * config/tc-v850.h: Ditto. 430889857Sobrien 430989857Sobrien * config/tc-v850.c (cons_fix_new_v850): Don't rely on 431089857Sobrien parse_cons_expression_v850 to initialize hold_cons_reloc. 431189857Sobrien 431289857Sobrien2000-11-15 Bernd Schmidt <bernds@redhat.com> 431389857Sobrien 431489857Sobrien * config/tc-ia64.c (struct md): New entries LAST_GROUPS, GROUP_IDX. 431589857Sobrien (errata_nops_necessary_p): New function. 431689857Sobrien (emit_one_bundle): Call it. Update the GROUP_IDX field in struct 431789857Sobrien md. 431889857Sobrien 431989857Sobrien2000-11-14 Jim Wilson <wilson@redhat.com> 432089857Sobrien 432189857Sobrien * config/tc-ia64.c (ia64_target_format): If EF_IA_64_BE not set, then 432289857Sobrien return little endian bfd formats. 432389857Sobrien 432489857Sobrien2000-11-14 Kazu Hirata <kazu@hxi.com> 432589857Sobrien 432689857Sobrien * config/aout_gnu.h: Fix formatting. 432789857Sobrien * config/atof-vax.c: Likewise. 432889857Sobrien * config/m68k-parse.h: Likewise. 432989857Sobrien * config/m88k-opcode.h: Likewise. 433089857Sobrien * config/obj-elf.c: Likewise. 433189857Sobrien * config/tc-arm.c: Likewise. 433289857Sobrien * config/tc-cris.c: Likewise. 433389857Sobrien * config/tc-i386.c: Likewise. 433489857Sobrien * config/tc-ia64.c: Likewise. 433589857Sobrien * config/tc-mn10300.c: Likewise. 433689857Sobrien * config/te-386bsd.h: Likewise. 433789857Sobrien * config/te-hppa.h: Likewise. 433889857Sobrien * config/te-nbsd.h: Likewise. 433989857Sobrien * config/te-ppcnw.h: Likewise. 434089857Sobrien * config/te-sparcaout.h: Likewise. 434189857Sobrien * config/te-tmips.h: Likewise. 434289857Sobrien * config/vax-inst.h: Likewise. 434389857Sobrien * config/vms-conf.h: Likewise. 434489857Sobrien 434589857Sobrien2000-11-14 Jakub Jelinek <jakub@redhat.com> 434689857Sobrien 434789857Sobrien * config/tc-alpha.c (s_alpha_prologue): Preserve visibility bits. 434889857Sobrien 434989857Sobrien2000-11-13 H.J. Lu <hjl@gnu.org> 435089857Sobrien 435189857Sobrien * config/obj-elf.c (elf_frob_symbol): Support 435289857Sobrien ".symver name,name2@@@nodename". 435389857Sobrien (elf_frob_file_before_adjust): Likewise. 435489857Sobrien 435589857Sobrien * doc/as.texinfo: Updated for ".symver name,name2@@@nodename" 435689857Sobrien and ".symver name,name2@@@nodename". 435789857Sobrien Fix a typo. 435889857Sobrien 435989857Sobrien2000-11-12 H.J. Lu (hjl@gnu.org) 436089857Sobrien 436189857Sobrien * config/obj-elf.c (obj_elf_symver): Check missing version 436289857Sobrien name. 436389857Sobrien 436489857Sobrien2000-11-12 H.J. Lu (hjl@gnu.org) 436589857Sobrien 436689857Sobrien * dwarf2dbg.c (dwarf2_generate_asm_lineno): Use addressT 436789857Sobrien instead of bfd_vma for non-bfd assemblers. 436889857Sobrien 436989857Sobrien2000-11-09 Kazu Hirata <kazu@hxi.com> 437089857Sobrien 437189857Sobrien * itbl-ops.c: Fix comment typos. 437289857Sobrien 437389857Sobrien2000-11-08 Jim Wilson <wilson@redhat.com> 437489857Sobrien 437589857Sobrien * config/tc-ia64.c (struct unw_rec_list): Add slot_frag field. 437689857Sobrien (struct unwind): Add next_slot_frag field. 437789857Sobrien (slot_index): New parameters slot_frag and first_frag. Add code 437889857Sobrien to add in frag sizes when different. Add comments. 437989857Sobrien (fixup_unw_records): New locals first_frag and last_frag. Pass new 438089857Sobrien arguments to slot_index. 438189857Sobrien (emit_one_bundle): Set slot_frag field. Set next_slot_number after 438289857Sobrien loop end. Set next_slot_frag field. 438389857Sobrien 438489857Sobrien2000-11-07 H.J. Lu <hjl@gnu.org> 438589857Sobrien 438689857Sobrien * doc/as.texinfo (.symver): Updated for versioned symbol 438789857Sobrien reference. 438889857Sobrien 438989857Sobrien * obj.h (format_ops): Add the frob_file_before_adjust field. 439089857Sobrien 439189857Sobrien * config/obj-aout.c (aout_format_ops): Set the 439289857Sobrien frob_file_before_adjust field to 0. 439389857Sobrien * config/obj-coff.c (coff_format_ops): Likewise. 439489857Sobrien * config/obj-ecoff.c (ecoff_format_ops): Likewise. 439589857Sobrien 439689857Sobrien * config/obj-elf.c (obj_elf_symver): Allow duplicated version 439789857Sobrien name. 439889857Sobrien (elf_frob_file_before_adjust): New function to remove unneeded 439989857Sobrien versioned symbols from the symbol table. 440089857Sobrien (elf_format_ops): Set the frob_file_before_adjust field to 440189857Sobrien elf_frob_file_before_adjust. 440289857Sobrien 440389857Sobrien * config/obj-elf.h (obj_frob_file_before_adjust): Defined if 440489857Sobrien not defined. 440589857Sobrien 440689857Sobrien * config/obj-multi.h (obj_frob_file_before_adjust): Defined. 440789857Sobrien 440889857Sobrien2000-11-07 Peter Targett <peter.targett@arccores.com> 440989857Sobrien 441089857Sobrien * config/tc-arc.h: Avoid warnings for LITTLE_ENDIAN and 441189857Sobrien BIG_ENDIAN macros. 441289857Sobrien * config/tc-arc.c: Use S_IS_LOCAL to test local symbols. 441389857Sobrien Fix compile time warning messages. 441489857Sobrien 441589857Sobrien2000-11-07 Nick Clifton <nickc@redhat.com> 441689857Sobrien 441789857Sobrien * stabs.c (generate_asm_file): Increase length of xmalloc'ed 441889857Sobrien buffer in order to avoid buffer overflows. 441989857Sobrien 442089857Sobrien2000-11-06 Steve Ellcey <sje@cup.hp.com> 442189857Sobrien 442289857Sobrien * config/tc-ia64.c (md_shortopts, md_parse_option, md_show_usage): 442389857Sobrien Change M to m for -milp32 or -mlp64 to match gcc. 442489857Sobrien (dot_endp): Use bytes_per_address instead of 8. 442589857Sobrien (emit_one_bundle): Use number_to_chars_littleendian instead of 442689857Sobrien md_number_to_chars. 442789857Sobrien (fix_insn): Likewise. 442889857Sobrien (ia64_init): New function. 442989857Sobrien (ia64_target_format): New function. 443089857Sobrien (md_begin): Set endianness, arch, and machine as appropriate. 443189857Sobrien * config/tc-ia64.h: (TARGET_BYTES_BIG_ENDIAN, md_number_to_chars): 443289857Sobrien Make these macros depend on TE_HPUX macro. 443389857Sobrien (TARGET_FORMAT): Define. 443489857Sobrien (HOST_SPECIAL_INIT): Define. 443589857Sobrien * config/te-hpux.h: New file. 443689857Sobrien * configure.in: Add "ia64-*-hpux*" target to configure. 443789857Sobrien * configure: Regenerate. 443889857Sobrien 443989857Sobrien2000-11-06 Kazu Hirata <kazu@hxi.com> 444089857Sobrien 444189857Sobrien * as.c: Fix formatting. 444289857Sobrien * dwarf2dbg.c: Likewise. 444389857Sobrien * input-file.c: Likewise. 444489857Sobrien * input-file.h: Likewise. 444589857Sobrien * input-scrub.c: Likewise. 444689857Sobrien * itbl-ops.c: Likewise. 444789857Sobrien * listing.c: Likewise. 444889857Sobrien * macro.h: Likewise. 444989857Sobrien * messages.c: Likewise. 445089857Sobrien * read.c: Likewise. 445189857Sobrien * subsegs.c: Likewise. 445289857Sobrien * subsegs.h: Likewise. 445389857Sobrien * write.c: Likewise. 445489857Sobrien 445589857Sobrien2000-11-06 Nick Clifton <nickc@redhat.com> 445689857Sobrien 445789857Sobrien * doc/as.texinfo: Add GNU Free Documentation License. 445889857Sobrien * doc/gasp.texi: Add GNU Free Documentation License. 445989857Sobrien * doc/as.1: Add GNU Free Documentation License. 446089857Sobrien 446189857Sobrien2000-11-05 Nick Clifton <nickc@redhat.com> 446289857Sobrien 446389857Sobrien * config/tc-arm.c: Add include of "dwarf2dbg.h" 446489857Sobrien 446589857Sobrien2000-11-02 Per Lundberg <plundis@chaosdev.org> 446689857Sobrien 446789857Sobrien * configure.in: Recognise i[3456]86-chaosdev-storm-chaos. 446889857Sobrien * configure: Regenerate. 446989857Sobrien 447089857Sobrien2000-11-01 Nick Clifton <nickc@redhat.com> 447189857Sobrien 447289857Sobrien * read.c (original_case_string): New global variable. 447389857Sobrien (read_a_source_file): Copy opcode string into 447489857Sobrien original_case_string if clobbering the case of the opcode. 447589857Sobrien * read.h: Export the definition of original_case_string. 447689857Sobrien * config/tc-arm.c (md_assembler): When parsing a .req 447789857Sobrien directive use the original opcode string, not the case 447889857Sobrien clobbered version. 447989857Sobrien 448089857Sobrien2000-11-02 Nick Clifton <nickc@redhat.com> 448189857Sobrien 448289857Sobrien * config/tc-mn10300.c (debug_line): Remove this static 448389857Sobrien variable. 448489857Sobrien (md_assemble): Call dwarf2_generate_asm_lineno instead of 448589857Sobrien dwarf2_where and dwarf2_gen_line_info. 448689857Sobrien 448789857Sobrien2000-11-02 Theo Honohan <th@futuretv.com> 448889857Sobrien 448989857Sobrien * config/tc-arm.c (do_msr): Improve error message. 449089857Sobrien 449189857Sobrien2000-10-31 Eric Christopher <echristo@redhat.com> 449289857Sobrien 449389857Sobrien * config/tc-mn10300.c (md_apply_fix3): Use valuep if fully resolved 449489857Sobrien or pc-relative, else use fx_offset. 449589857Sobrien 449689857Sobrien2000-10-31 Jim Wilson <wilson@redhat.com> 449789857Sobrien 449889857Sobrien * config/tc-ia64.c (struct md): New field tag_fixups. 449989857Sobrien (ia64_flush_insns): Handle tag_fixups. Error if dangling 450089857Sobrien qualifying predicate. 450189857Sobrien (emit_one_bundle): Delete spurious multiplication by one. Handle 450289857Sobrien tag_fixups. 450389857Sobrien (ia64_start_line): Error if dangling qualifying predicate. 450489857Sobrien (defining_tag): New static variable. 450589857Sobrien (ia64_unrecognized_line, case '['): Parse tags. 450689857Sobrien (ia64_frob_label): Create tag_fixups. 450789857Sobrien (md_assemble): Reset md.qp.X_op after using it. 450889857Sobrien 450989857Sobrien2000-10-31 Kaz Kojima <kkojima@rr.iij4u.or.jp> 451089857Sobrien 451189857Sobrien * config/tc-sh.c (md_apply_fix [BFD_RELOC_SH_PCDISP12BY2]): Allow 4094. 451289857Sobrien 451389857Sobrien2000-10-31 Bernd Schmidt <bernds@redhat.co.uk> 451489857Sobrien 451589857Sobrien * config/tc-ia64.c (extra_goodness): Only prefer F in slot 1 and B in slot 2. 451689857Sobrien 451789857Sobrien2000-10-30 Kazu Hirata <kazu@hxi.com> 451889857Sobrien 451989857Sobrien * expr.c: Fix formatting. 452089857Sobrien * flonum-copy.c: Likewise. 452189857Sobrien * flonum.h: Likewise. 452289857Sobrien * gasp.c: Likewise. 452389857Sobrien * hash.c: Likewise. 452489857Sobrien 452589857Sobrien2000-10-30 Hans-Peter Nilsson <hp@bitrange.com> 452689857Sobrien 452789857Sobrien * as.h (OPTION_MD_BASE): Bump to 190. 452889857Sobrien * as.c (parse_args) <std_longopts>: Add comment about the need to 452989857Sobrien check OPTION_MD_BASE in as.h. 453089857Sobrien 453189857Sobrien * config/tc-sh.c (md_apply_fix): For ELF, do not "adjust back" VAL 453289857Sobrien for weak symbols. 453389857Sobrien 453489857Sobrien2000-10-27 Nick Clifton <nickc@redhat.com> 453589857Sobrien 453689857Sobrien * configure.in (emulations): Add m68hc12. 453789857Sobrien * configure: Regenerate. 453889857Sobrien * po/gas.pot: Regenerate. 453989857Sobrien 454089857Sobrien2000-10-27 Aldy Hernandez <aldyh@redhat.com> 454189857Sobrien 454289857Sobrien * config/tc-arm.c (psrs): Remove lowercase versions of spsr* and 454389857Sobrien cpsr*. 454489857Sobrien (arm_psr_parse): Handle lowercase CPSR and SPSR. 454589857Sobrien 454689857Sobrien2000-10-25 Nick Clifton <nickc@redhat.com> 454789857Sobrien 454889857Sobrien * dwarf2out.c (dwarf2_generate_asm_lineno): New function: Generate 454989857Sobrien a DWARF2 line number information sequence. 455089857Sobrien 455189857Sobrien *dwarf2out.h: Add prototype for dwarf2_generate_asm_lineno. 455289857Sobrien 455389857Sobrien * read.c (generate_lineno_debug): Update comment describing why 455489857Sobrien DWARF2 line number debug information is not generated 455589857Sobrien automatically by this function. 455689857Sobrien 455789857Sobrien * doc/as.texinfo: Note that --gdwarf2 only works on some targets, 455889857Sobrien not all. 455989857Sobrien 456089857Sobrien * config/tc-arm.h (md_end): Define. 456189857Sobrien (DWARF2_LINE_MIN_INSN_LENGTH): Define. 456289857Sobrien 456389857Sobrien * config/tc-arm.c (output_inst): Call dwarf2_generate_asm_lineno 456489857Sobrien if generating DWARF2 line numbers. 456589857Sobrien (arm_end_of_source): New function. Call dwarf2_finish if 456689857Sobrien necessary. 456789857Sobrien 456889857Sobrien * config/tc-hppa.c (md_assemble): Use dwarf2_generate_asm_lineno. 456989857Sobrien * config/tc-m68hc11.c (m68hc11_new_insn): Use dwarf2_generate_asm_lineno. 457089857Sobrien * config/tc-sh.c (md_assemble): Use dwarf2_generate_asm_lineno. 457189857Sobrien 457289857Sobrien2000-10-25 Diego Novillo <dnovillo@cygnus.com> 457389857Sobrien 457489857Sobrien * config/tc-i386.c: Fix prototype declarations for functions taking no 457589857Sobrien arguments. 457689857Sobrien 457789857Sobrien2000-10-24 Diego Novillo <dnovillo@cygnus.com> 457889857Sobrien 457989857Sobrien * config/tc-i386.c (i386_operand_modifier): Remove. 458089857Sobrien (build_displacement_string): Remove. 458189857Sobrien (i386_parse_seg): Remove. 458289857Sobrien (i386_intel_memory_operand): Remove. 458389857Sobrien (i386_intel_operand): Re-write using recursive descent parser based 458489857Sobrien on MASM documentation. 458589857Sobrien (struct intel_parser_s): New structure. 458689857Sobrien (intel_parser): New static variable. 458789857Sobrien (struct intel_token): New structure. 458889857Sobrien (cur_token, prev_token): New static variables. 458989857Sobrien (T_NIL): Define. 459089857Sobrien (T_CONST): Define. 459189857Sobrien (T_REG): Define. 459289857Sobrien (T_BYTE): Define. 459389857Sobrien (T_WORD): Define. 459489857Sobrien (T_DWORD): Define. 459589857Sobrien (T_QWORD): Define. 459689857Sobrien (T_XWORD): Define. 459789857Sobrien (T_SHORT): Define. 459889857Sobrien (T_OFFSET): Define. 459989857Sobrien (T_PTR): Define. 460089857Sobrien (T_ID): Define. 460189857Sobrien (intel_match_token): New function. 460289857Sobrien (intel_get_token): New function. 460389857Sobrien (intel_putback_token): New function. 460489857Sobrien (intel_expr): New function. 460589857Sobrien (intel_e05): New function. 460689857Sobrien (intel_e05_1): New function. 460789857Sobrien (intel_e06): New function. 460889857Sobrien (intel_e06_1): New function. 460989857Sobrien (intel_e09): New function. 461089857Sobrien (intel_e09_1): New function. 461189857Sobrien (intel_e10): New function. 461289857Sobrien (intel_e10_1): New function. 461389857Sobrien (intel_e11): New function. 461489857Sobrien 461589857Sobrien2000-10-20 Jakub Jelinek <jakub@redhat.com> 461689857Sobrien 461789857Sobrien * config/tc-sparc.c (sparc_ip): Fix a bug which caused v9_arg_p 461889857Sobrien instructions to loose any special insn->architecture mask. 461989857Sobrien 462089857Sobrien * config/tc-sparc.c (v9a_asr_table): Add v9b ASRs. 462189857Sobrien (sparc_md_end, sparc_arch_types, sparc_arch, 462289857Sobrien sparc_elf_final_processing): Handle v8plusb and v9b architectures. 462389857Sobrien (sparc_ip): Handle siam mode operands. Support v9b ASRs (and 462489857Sobrien request v9b architecture if they are used). 462589857Sobrien 462689857Sobrien2000-10-18 Michael Sokolov <msokolov@ivan.Harhan.ORG> 462789857Sobrien 462889857Sobrien * config/tc-m68k.c: Fix the previous misapplied patch. 462989857Sobrien 463089857Sobrien2000-10-18 Michael Sokolov <msokolov@ivan.Harhan.ORG> 463189857Sobrien 463289857Sobrien * config/tc-m68k.h (RELAX_RELOC_*): New definitions for both 463389857Sobrien BFD_ASSEMBLER and !BFD_ASSEMBLER. 463489857Sobrien * config/tc-m68k.c (md_convert_frag_1): Use them instead of 463589857Sobrien BFD_RELOC_*. 463689857Sobrien 463789857Sobrien2000-10-17 Kazu Hirata <kazu@hxi.com> 463889857Sobrien 463989857Sobrien * debug.c: Fix formatting. 464089857Sobrien * depend.c: Likewise. 464189857Sobrien * dwarf2dbg.c: Likewise. 464289857Sobrien * dwarf2dbg.h: Likewise. 464389857Sobrien * ecoff.c: Likewise. 464489857Sobrien * expr.c: Likewise. 464589857Sobrien * expr.h: Likewise. 464689857Sobrien * flonum-konst.c: Likewise. 464789857Sobrien * frags.h: Likewise. 464889857Sobrien 464989857Sobrien2000-10-17 Chandrakala Chavva <cchavva@redhat.com> 465089857Sobrien 465189857Sobrien * as.c: New option OPTION_TARGET_HELP. Prints all target specific 465289857Sobrien options. 465389857Sobrien * doc/as.texinfo: Added notes about this new option. 465489857Sobrien 465589857Sobrien2000-10-16 Hans-Peter Nilsson <hp@bitrange.com> 465689857Sobrien 465789857Sobrien * config/tc-sh.c (JREG): Remove. 465889857Sobrien (md_convert_frag): Remove #if 0:d code using JREG. 465989857Sobrien 466089857Sobrien2000-10-15 Diego Novillo <dnovillo@cygnus.com> 466189857Sobrien 466289857Sobrien * config/tc-i386.c (i386_operand_modifier): Only match 466389857Sobrien modifiers SHORT and FLAT if they are followed by a space. 466489857Sobrien (parse_register): When `allow_naked_reg' is set, do not confuse 466589857Sobrien identifiers that start with a register name with a register. 466689857Sobrien 466789857Sobrien2000-10-12 Kazu Hirata <kazu@hxi.com> 466889857Sobrien 466989857Sobrien * app.c: Fix formatting. 467089857Sobrien * as.c: Likewise. 467189857Sobrien * as.h: Likewise. 467289857Sobrien * bit_fix.h: Likewise. 467389857Sobrien * cgen.c: Likewise. 467489857Sobrien * cgen.h: Likewise. 467589857Sobrien * cond.c: Likewise. 467689857Sobrien 467789857Sobrien2000-10-11 Alan Modra <alan@linuxcare.com.au> 467889857Sobrien 467989857Sobrien * config/obj-elf.c (elf_frob_symbol): Revert 2000-10-07 change. 468089857Sobrien 468189857Sobrien2000-10-07 Alan Modra <alan@linuxcare.com.au> 468289857Sobrien 468389857Sobrien * config/tc-hppa.c (md_apply_fix): Remove plainly wrong assert. 468489857Sobrien Re-arrange function a little and improve error message. 468589857Sobrien 468689857Sobrien * write.c (write_relocs): Fix a comment. 468789857Sobrien 468889857Sobrien * config/obj-elf.c (elf_frob_symbol): Make section syms global on 468989857Sobrien link-once sections. 469089857Sobrien 469189857Sobrien2000-10-05 Jim Wilson <wilson@cygnus.com> 469289857Sobrien 469389857Sobrien * config/tc-ia64.c (resources_match): Handle IA64_RS_PRr. 469489857Sobrien 469589857Sobrien2000-10-05 Alan Modra <alan@linuxcare.com.au> 469689857Sobrien 469789857Sobrien * config/tc-i386.c: Delete some useless comments, reformat others. 469889857Sobrien 469989857Sobrien * config/tc-i386.h (TC_FIX_ADJUSTABLE): Add check to cover 470089857Sobrien non-global syms in linkonce sections. 470189857Sobrien 470289857Sobrien2000-10-04 Ralf Baechle <ralf@gnu.org> 470389857Sobrien 470489857Sobrien * config/tc-ia64.c (operand_match): Don't use // style comments. 470589857Sobrien * config/tc-i370.c: Likewise. 470689857Sobrien 470789857Sobrien2000-09-29 Hans-Peter Nilsson <hp@axis.com> 470889857Sobrien 470989857Sobrien Changes to handle varying register prefix and user symbol prefix. 471089857Sobrien * config/tc-cris.c (SYNTAX_RELAX_REG_PREFIX, 471189857Sobrien SYNTAX_ENFORCE_REG_PREFIX, SYNTAX_USER_SYM_LEADING_UNDERSCORE, 471289857Sobrien SYNTAX_USER_SYM_NO_LEADING_UNDERSCORE, REGISTER_PREFIX_CHAR): New. 471389857Sobrien (s_syntax, cris_force_reg_prefix, cris_relax_reg_prefix, 471489857Sobrien cris_sym_leading_underscore, cris_sym_no_leading_underscore): New. 471589857Sobrien (demand_register_prefix): New variable. 471689857Sobrien (md_pseudo_table): New pseudo ".syntax". 471789857Sobrien (md_longopts): New options --no-underscore and --underscore. 471889857Sobrien (cris_target_format): Return elf32-us-cris or elf32-cris depending 471989857Sobrien on symbols_have_leading_underscore. 472089857Sobrien (get_gen_reg): Accept or require REGISTER_PREFIX_CHAR. 472189857Sobrien (get_spec_reg): Ditto. 472289857Sobrien (cris_number_to_imm) <case BFD_RELOC_VTABLE_ENTRY>: Remove FIXME. 472389857Sobrien Fix formatting. 472489857Sobrien (md_parse_option) <case 'h' 'H'>: Deprecate; add reference to 472589857Sobrien --help. 472689857Sobrien <case OPTION_NO_US, case OPTION_US>: New. 472789857Sobrien (md_show_usage): Be brief and reformat to match continuation of 472889857Sobrien --help. 472989857Sobrien * po/gas.pot: Regenerate. 473089857Sobrien 473189857Sobrien2000-09-28 Alan Modra <alan@linuxcare.com.au> 473289857Sobrien 473389857Sobrien * config/tc-hppa.c (hppa_force_relocation): If OBJ_SOM, don't 473489857Sobrien force relocs for 12 bit branches. 473589857Sobrien (md_apply_fix): Similarly, adjust logic here. 473689857Sobrien 473789857Sobrien2000-09-28 Alan Modra <alan@linuxcare.com.au> 473889857Sobrien 473989857Sobrien * config/tc-hppa.c (md_apply_fix): Add fmt assertion. Don't 474089857Sobrien adjust for external and weak syms as we will use a reloc. Allow 474189857Sobrien for +8 offset when calculating limits of branches. 474289857Sobrien (hppa_fix_adjustable): Undo 2000-09-23 change. 474389857Sobrien (hppa_force_relocation): Likewise. Add fx_addsy assertion. 474489857Sobrien Correct distance calculation. 474589857Sobrien (tc_gen_reloc): Print the file name and line number if we can't 474689857Sobrien handle a fixup. 474789857Sobrien 474889857Sobrien From John David Anglin <dave@hiauly1.hia.nrc.ca> 474989857Sobrien * config/tc-hppa.c (nonzero_dibits): Define. 475089857Sobrien (arg_reloc_stub_needed): Check each arg and return value 475189857Sobrien separately for zero case. 475289857Sobrien (pa_align): Declare argument `bytes'. 475389857Sobrien 475489857Sobrien2000-09-25 Kazu Hirata <kazu@hxi.com> 475589857Sobrien 475689857Sobrien * config/tc-cris.c: Fix formatting. 475789857Sobrien * config/tc-d10v.h: Likewise. 475889857Sobrien * config/tc-d30v.c: Likewise. 475989857Sobrien * config/tc-d30v.h: Likewise. 476089857Sobrien * config/tc-fr30.c: Likewise. 476189857Sobrien * config/tc-fr30.h: Likewise. 476289857Sobrien * config/tc-m68k.c: Likewise. 476389857Sobrien * config/tc-m68k.h: Likewise. 476489857Sobrien * config/tc-pj.h: Likewise. 476589857Sobrien * config/tc-ppc.c: Likewise. 476689857Sobrien * config/tc-ppc.h: Likewise. 476789857Sobrien * config/tc-sh.c: Likewise. 476889857Sobrien * config/tc-sh.h: Likewise. 476989857Sobrien * config/tc-sparc.c: Likewise. 477089857Sobrien * config/tc-v850.h: Likewise. 477189857Sobrien * config/tc-vax.h: Likewise. 477289857Sobrien * config/tc-w65.h: Likewise. 477389857Sobrien * config/tc-z8k.h: Likewise. 477489857Sobrien 477589857Sobrien2000-09-23 Alan Modra <alan@linuxcare.com.au> 477689857Sobrien 477789857Sobrien * config/tc-hppa.c (hppa_fix_adjustable): Do the external and weak 477889857Sobrien checks only for ELF. 477989857Sobrien (hppa_force_relocation): Likewise. 478089857Sobrien 478189857Sobrien2000-09-22 Jim Wilson <wilson@cygnus.com> 478289857Sobrien 478389857Sobrien * config/tc-ia64.c (dv_sem): Add "stop". 478489857Sobrien (specify_resource, case IA64_RS_PR): Only handles regs 1 to 15 now. 478589857Sobrien (specify_resource, case IA64_RS_PRr): New for regs 16 to 62. 478689857Sobrien (specify_resource, case IA64_RS_PR63): Reorder (note == 7) test to 478789857Sobrien match above. 478889857Sobrien (mark_resources): Check IA64_RS_PRr. 478989857Sobrien 479089857Sobrien2000-09-22 Michael Sokolov <msokolov@ivan.Harhan.ORG> 479189857Sobrien 479289857Sobrien * config/tc-m68k.c (md_relax_table, m68k_ip, md_convert_frag_1, 479389857Sobrien md_estimate_size_before_relax): Redesign and clean up the 479489857Sobrien relaxation mechanism. 479589857Sobrien 479689857Sobrien2000-09-21 Kazu Hirata <kazu@hxi.com> 479789857Sobrien 479889857Sobrien * config/tc-ns32k.c: Fix formatting. 479989857Sobrien * config/tc-ns32k.h: Likewise. 480089857Sobrien 480189857Sobrien2000-09-20 Kazu Hirata <kazu@hxi.com> 480289857Sobrien 480389857Sobrien * config/tc-m32r.c: Fix formatting. 480489857Sobrien * config/tc-m32r.h: Likewise. 480589857Sobrien * config/tc-m68851.h: Likewise. 480689857Sobrien * config/tc-m68hc11.c: Likewise. 480789857Sobrien * config/tc-m68hc11.h: Likewise. 480889857Sobrien * config/tc-m88k.c: Likewise. 480989857Sobrien * config/tc-mcore.c: Likewise. 481089857Sobrien * config/tc-mcore.h: Likewise. 481189857Sobrien * config/tc-mips.c: Likewise. 481289857Sobrien * config/tc-mips.h: Likewise. 481389857Sobrien * config/tc-mn10200.h: Likewise. 481489857Sobrien * config/tc-mn10300.h: Likewise. 481589857Sobrien * config/tc-tahoe.c: Likewise. 481689857Sobrien * config/tc-tahoe.h: Likewise. 481789857Sobrien 481889857Sobrien2000-09-19 Michael Sokolov <msokolov@ivan.Harhan.ORG> 481989857Sobrien 482089857Sobrien * config/tc-vax.c (synthetic_votstrs): Remove jbssi and jbcci. 482189857Sobrien Likewise in relaxation description comments. 482289857Sobrien 482389857Sobrien2000-09-18 Alan Modra <alan@linuxcare.com.au> 482489857Sobrien 482589857Sobrien * config/tc-hppa.h (TC_FORCE_RELOCATION_SECTION): Allow 482689857Sobrien subtraction of two syms without emitting a relocation. 482789857Sobrien 482889857Sobrien From David Huggins-Daines <dhd@linuxcare.com> 482989857Sobrien * config/tc-hppa.c (hppa_force_relocation): Force relocations for 483089857Sobrien global or weak symbols. 483189857Sobrien 483289857Sobrien2000-09-15 Kazu Hirata <kazu@hxi.com> 483389857Sobrien 483489857Sobrien * config/tc-h8300.h: Fix formatting. 483589857Sobrien * config/tc-h8500.c: Likewise. 483689857Sobrien * config/tc-h8500.h: Likewise. 483789857Sobrien * config/tc-hppa.h: Likewise. 483889857Sobrien * config/tc-i370.h: Likewise. 483989857Sobrien * config/tc-i386.h: Likewise. 484089857Sobrien * config/tc-i860.c: Likewise. 484189857Sobrien * config/tc-i860.h: Likewise. 484289857Sobrien * config/tc-i960.h: Likewise. 484389857Sobrien * config/tc-ia64.c: Likewise. 484489857Sobrien * config/tc-ia64.h: Likewise. 484589857Sobrien 484689857Sobrien2000-09-14 Kazu Hirata <kazu@hxi.com> 484789857Sobrien 484889857Sobrien * config/tc-a29k.c: Fix formatting. 484989857Sobrien * config/tc-alpha.c: Likewise. 485089857Sobrien * config/tc-arc.c: Likewise. 485189857Sobrien * config/tc-arc.h: Likewise. 485289857Sobrien * config/tc-arm.c: Likewise. 485389857Sobrien * config/tc-arm.h: Likewise. 485489857Sobrien * config/tc-avr.c: Likewise. 485589857Sobrien * config/tc-avr.h: Likewise. 485689857Sobrien * config/tc-tic30.c: Likewise. 485789857Sobrien * config/tc-tic30.h: Likewise. 485889857Sobrien * config/tc-tic54x.c: Likewise. 485989857Sobrien * config/tc-tic54x.h: Likewise. 486089857Sobrien * config/tc-tic80.c: Likewise. 486189857Sobrien * config/tc-tic80.h: Likewise. 486289857Sobrien 486389857Sobrien2000-09-14 Timothy Wall <twall@cygnus.com> 486489857Sobrien 486589857Sobrien * config/tc-ia64.c (specify_resource): For PR%/PR63, note types of 486689857Sobrien parallel comparisons for later use. 486789857Sobrien (struct rsrc): Add parallel comparison type. 486889857Sobrien (resources_match): Skip special cases of PR usage (non-conflicting 486989857Sobrien parallel compares). 487089857Sobrien 487189857Sobrien2000-09-13 Kazu Hirata <kazu@hxi.com> 487289857Sobrien 487389857Sobrien * config/obj-ecoff.c: Fix formatting. 487489857Sobrien * config/obj-elf.c: Likewise. 487589857Sobrien * config/obj-elf.h: Likewise. 487689857Sobrien * config/obj-evax.h: Likewise. 487789857Sobrien * config/obj-generic.h: Likewise. 487889857Sobrien * config/obj-hp300.c: Likewise. 487989857Sobrien * config/obj-hp300.h: Likewise. 488089857Sobrien * config/obj-ieee.h: Likewise. 488189857Sobrien * config/obj-vms.c: Likewise. 488289857Sobrien * config/obj-vms.h: Likewise. 488389857Sobrien 488489857Sobrien2000-09-13 Anders Norlander <anorland@acc.umu.se> 488589857Sobrien 488689857Sobrien * config/tc-mips.c (md_begin): Recognize 4Kc, 4Km and 4Kp processors. 488789857Sobrien (md_parse_option): Ditto. 488889857Sobrien (md_longopts): Add -mips32 option. 488989857Sobrien (md_show_usage): Document new options. 489089857Sobrien (mips_ip): Assemble sdbbp 20 bit 'm' args for MIPS32. 489189857Sobrien (mips_ip): Assemble mfc0 with a sub-selection code. 489289857Sobrien (validate_mips_insn): Handle 'H' (OP_*_SEL) and 'm' (OP_*_CODE20). 489389857Sobrien (mips_cpu_to_str): New function. 489489857Sobrien (mips_ip): Use mips_cpu_to_str instead of printing numeric cpu value. 489589857Sobrien Use CPU_* defines instead of hardcoded numbers. 489689857Sobrien 489789857Sobrien * doc/as.texinfo: Document new options. 489889857Sobrien * doc/c-mips.texi: Ditto. 489989857Sobrien 490089857Sobrien2000-09-12 Kazu Hirata <kazu@hxi.com> 490189857Sobrien 490289857Sobrien * as.h: Fix formatting. 490389857Sobrien * asintl.h: Likewise. 490489857Sobrien * bit_fix.h: Likewise. 490589857Sobrien * config/obj-aout.c: Likewise. 490689857Sobrien * config/obj-aout.h: Likewise. 490789857Sobrien * config/obj-bout.c: Likewise. 490889857Sobrien * config/obj-bout.h: Likewise. 490989857Sobrien * config/obj-coff.c: Likewise. 491089857Sobrien * config/obj-coff.h: Likewise. 491189857Sobrien * dwarf2dbg.h: Likewise. 491289857Sobrien * expr.h: Likewise. 491389857Sobrien * flonum.h: Likewise. 491489857Sobrien * frags.h: Likewise. 491589857Sobrien * itbl-ops.h: Likewise. 491689857Sobrien * macro.h: Likewise. 491789857Sobrien * read.h: Likewise. 491889857Sobrien * sb.h: Likewise. 491989857Sobrien * struc-symbol.h: Likewise. 492089857Sobrien * subsegs.h: Likewise. 492189857Sobrien * symbols.h: Likewise. 492289857Sobrien * tc.h: Likewise. 492389857Sobrien * write.h: Likewise. 492489857Sobrien 492589857Sobrien2000-09-11 Kazu Hirata <kazu@hxi.com> 492689857Sobrien 492789857Sobrien * bignum-copy.c: Fix formatting. 492889857Sobrien * config/tc-i370.c: Likewise. 492989857Sobrien * config/tc-i960.c: Likewise. 493089857Sobrien * config/tc-m68k.c: Likewise. 493189857Sobrien * ehopt.c: Likewise. 493289857Sobrien * flonum-copy.c: Likewise. 493389857Sobrien * flonum-konst.c: Likewise. 493489857Sobrien * flonum-mult.c: Likewise. 493589857Sobrien * literal.c: Likewise. 493689857Sobrien * read.c: Likewise. 493789857Sobrien * sb.c: Likewise. 493889857Sobrien * stabs.c: Likewise. 493989857Sobrien * subsegs.c: Likewise. 494089857Sobrien 494189857Sobrien2000-09-09 Philip Blundell <philb@gnu.org> 494289857Sobrien 494389857Sobrien * configure.in (arm*-*-uclinux*): New target. 494489857Sobrien * configure: Regenerate. 494589857Sobrien 494689857Sobrien2000-09-09 Kazu Hirata <kazu@hxi.com> 494789857Sobrien 494889857Sobrien * input-file.c: Fix formatting. 494989857Sobrien * itbl-ops.c: Likewise. 495089857Sobrien * messages.c: Likewise. 495189857Sobrien 495289857Sobrien2000-09-08 Philip Blundell <philb@gnu.org> 495389857Sobrien 495489857Sobrien * config/tc-arm.c (md_apply_fix3): Correct handling of ADRL when 495589857Sobrien offset is negative. 495689857Sobrien 495789857Sobrien2000-09-07 H.J. Lu <hjl@gnu.org> 495889857Sobrien 495989857Sobrien * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM. 496089857Sobrien * configure: Rebuild. 496189857Sobrien 496289857Sobrien2000-09-07 Kazu Hirata <kazu@hxi.com> 496389857Sobrien 496489857Sobrien * atof-generic.c: Fix formatting. 496589857Sobrien * config/tc-mips.c: Likewise. 496689857Sobrien * config/tc-vax.c: Likewise. 496789857Sobrien * input-scrub.c: Likewise. 496889857Sobrien 496989857Sobrien2000-09-07 Alexandre Oliva <aoliva@redhat.com> 497089857Sobrien 497189857Sobrien * config/tc-sh.h (TARGET_FORMAT): Use sh-linux targets. 497289857Sobrien * configure.in (sh-*-linux*): Added. 497389857Sobrien * configure: Rebuilt. 497489857Sobrien 497589857Sobrien2000-09-06 Kazu Hirata <kazu@hxi.com> 497689857Sobrien 497789857Sobrien * config/tc-hppa.c: Fix formatting. 497889857Sobrien 497989857Sobrien * ecoff.c: Fix formatting. 498089857Sobrien 498189857Sobrien2000-09-06 Alexandre Oliva <aoliva@redhat.com> 498289857Sobrien 498389857Sobrien * configure: Rebuilt with new libtool.m4. 498489857Sobrien 498589857Sobrien2000-09-05 Kazu Hirata <kazu@hxi.com> 498689857Sobrien 498789857Sobrien * cgen.c: Fix formatting. 498889857Sobrien * config/tc-ia64.c: Likewise. 498989857Sobrien 499089857Sobrien2000-09-05 Nick Clifton <nickc@redhat.com> 499189857Sobrien 499289857Sobrien * aclocal.m4: Regenerate. 499389857Sobrien * config.in: Regenerate. 499489857Sobrien * configure: Regenerate. 499589857Sobrien * po/gas.pot: Regenerate. 499689857Sobrien 499789857Sobrien2000-09-05 Hans-Peter Nilsson <hp@axis.com> 499889857Sobrien 499989857Sobrien * config/tc-cris.c: Correct comment typos. 500089857Sobrien 500189857Sobrien2000-09-05 Eric Christopher <echristo@cygnus.com> 500289857Sobrien 500389857Sobrien * config/tc-mn10300.c: Cleanup. 500489857Sobrien (md_pcrel_from): Enable. 500589857Sobrien 500689857Sobrien2000-09-05 Alan Modra <alan@linuxcare.com.au> 500789857Sobrien 500889857Sobrien * expr.c (operand): Fix a comment typo. 500989857Sobrien * write.c (write_relocs): Fix a signed/unsigned warning. 501089857Sobrien 501189857Sobrien * config/tc-hppa.c (fudge_reg_expressions): New 501289857Sobrien (hppa_force_reg_syms_absolute): New. 501389857Sobrien (pa_equ): Allow reg_section expressions. 501489857Sobrien * config/tc-hppa.c (md_optimize_expr): Define. 501589857Sobrien (hppa_force_reg_syms_absolute): Prototype. 501689857Sobrien 501789857Sobrien * config/tc-hppa.c (pa_11_fp_reg_struct): Delete. 501889857Sobrien (pa_parse_number): Pass in arg to select fp reg parsing. 501989857Sobrien Return 1 to indicate format checks pass. If strict, then only 502089857Sobrien accept a register or register symbol. Return value in... 502189857Sobrien (pa_number): New static for pa_parse_number. 502289857Sobrien (FP_REG_BASE): Define. 502389857Sobrien (FP_REG_RSEL): Define. 502489857Sobrien (pre_defined_registers): Apply FP_REG_BASE and FP_REG_RSEL as 502589857Sobrien appropriate. White space changes. 502689857Sobrien (need_pa11_opcode): Don't bother passing any params, get them from 502789857Sobrien globals instead. 502889857Sobrien (pa_ip): Modify all calls to pa_parse_number and need_pa11_opcode. 502989857Sobrien Remove extraneous check in case 'Q'. 503089857Sobrien (pa_equ): Modify call to pa_parse_number to do strict parsing. If 503189857Sobrien reg, set section of resulting symbol to reg_section. 503289857Sobrien (pa_parse_space_stmt): Modify call to pa_parse_number. 503389857Sobrien (pa_space): Likewise. 503489857Sobrien 503589857Sobrien * config/tc-hppa.c: (md_apply_fix): Handle vtable relocs. 503689857Sobrien (hppa_force_relocation): Handle vtable relocs. 503789857Sobrien (pa_vtable_entry): New. 503889857Sobrien (pa_vtable_inherit): New. 503989857Sobrien (md_pseudo_table): Add entries for vtable pseudos. 504089857Sobrien (hppa_fix_adjustable): Reject reduction of R_PARISC_GNU_VTINHERIT 504189857Sobrien and R_PARISC_GNU_VTENTRY relocs. Reject reduction of relocs 504289857Sobrien against weak syms. 504389857Sobrien (tc_gen_reloc): Remove ELF_ARG_RELOC_INSN code. 504489857Sobrien (pa_type_args): Don't call symbol_get_bfdsym multiple times. 504589857Sobrien Set STT_PARISC_MILLICODE for OBJ_ELF when encountering a 504689857Sobrien millicode import. 504789857Sobrien * config/obj-elf.c (obj_elf_type): Allow md_elf_symbol_type to 504889857Sobrien specify a symbol type. 504989857Sobrien 505089857Sobrien * config/tc-hppa.h: Reorganize file a little, grouping OBJ_ELF 505189857Sobrien dependent things together. 505289857Sobrien (md_elf_symbol_type): Define. 505389857Sobrien 505489857Sobrien * config/tc-hppa.c (fix_new_hppa): Elide "$PIC_pcrel$0" pseudo 505589857Sobrien symbol. 505689857Sobrien * config/tc-hppa.h (tc_frob_symbol): Elide "$PIC_pcrel$0" here too. 505789857Sobrien 505889857Sobrien * config/obj-elf.h (obj_elf_vtable_inherit): Declare. 505989857Sobrien (obj_elf_vtable_entry): Declare. 506089857Sobrien 506189857Sobrien * config/obj-elf.c (obj_elf_vtable_inherit): Return struct fix * 506289857Sobrien and export function. 506389857Sobrien (obj_elf_vtable_entry): Similarly. 506489857Sobrien (elf_pseudo_table): Fix the damage with a cast. 506589857Sobrien 506689857Sobrien2000-09-03 Richard Henderson <rth@cygnus.com> 506789857Sobrien 506889857Sobrien * config/tc-ia64.c (emit_one_bundle): Stop collecting insns 506989857Sobrien for template selection when a label is needed. 507089857Sobrien 507189857Sobrien2000-09-02 Kazu Hirata <kazu@hxi.com> 507289857Sobrien 507389857Sobrien * config/tc-ia64.c: Fix formatting. 507489857Sobrien 507589857Sobrien2000-09-02 Nick Clifton <nickc@redhat.com> 507689857Sobrien 507789857Sobrien * configure.in: Increase version number to 2.10.91. 507889857Sobrien * configure: Regenerate. 507989857Sobrien * aclocal.m4: Regenerate. 508089857Sobrien * config.in: Regenerate. 508189857Sobrien * po/gas.pot: Regenerate. 508289857Sobrien * Makefile.in: Regenerate. 508389857Sobrien 508489857Sobrien2000-09-01 Alexandre Oliva <aoliva@redhat.com> 508589857Sobrien 508689857Sobrien * config/tc-sh.h [OBJ_ELF] (TC_FIX_ADJUSTABLE): Define. 508789857Sobrien * config/tc-sh.c (md_apply_fix): Map 32-bit relocations that 508889857Sobrien become PC-relative to BFD_RELOC_32_PCREL. Reject 16- or 8-bit 508989857Sobrien similar relocs. 509089857Sobrien (sh_obj_adjustable): Return 1 for PC-relative offsets used in 509189857Sobrien branches. 509289857Sobrien 509389857Sobrien2000-09-01 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com> 509489857Sobrien 509589857Sobrien * config/tc-sh.h (DIFF_EXPR_OK, GLOBAL_OFFSET_TABLE_NAME, 509689857Sobrien TC_RELOC_GLOBAL_OFFSET_TABLE, TC_RELOC_RTSYM_LOC_FIXUP): Define. 509789857Sobrien * config/tc-sh.c (sh_elf_cons, sh_elf_suffix): New functions. 509889857Sobrien [OBJ_ELF] (md_pseudo_table) <long, int, word, short>: Use them. 509989857Sobrien (GOT_symbol): New variable. 510089857Sobrien (md_undefined_symbol): Set it. 510189857Sobrien 510289857Sobrien2000-09-01 Richard Henderson <rth@cygnus.com> 510389857Sobrien 510489857Sobrien * config/tc-ia64.c (match): Don't inline. 510589857Sobrien (extra_goodness): New. 510689857Sobrien (md_begin): Prefer nop.f and nop.b for best_template. 510789857Sobrien 510889857Sobrien2000-08-31 Kazu Hirata <kazu@hxi.com> 510989857Sobrien 511089857Sobrien * as.c: Fix formatting. 511189857Sobrien * cond.c: Likewise. 511289857Sobrien * frags.c: Likewise. 511389857Sobrien * macro.c: Likewise. 511489857Sobrien 511589857Sobrien2000-08-31 Eric Christopher <echristo@cygnus.com> 511689857Sobrien 511789857Sobrien * config/tc-mn10300.c: Cleanup and fix warnings. 511889857Sobrien (md_pseudo_table): Add initializers. 511989857Sobrien (md_show_usage): Cleanup. 512089857Sobrien (md_parse_option): Fix warnings. 512189857Sobrien (md_undefined_symbol): Fix warnings. 512289857Sobrien (md_conver_frag): Fix warnings. 512389857Sobrien (tc_gen_reloc): Fix warnings. 512489857Sobrien (md_apply_fix3): Fix warnings. 512589857Sobrien (check_operand): Fix warnings. 512689857Sobrien 512789857Sobrien2000-08-31 Alexandre Oliva <aoliva@redhat.com> 512889857Sobrien 512989857Sobrien * acinclude.m4: Include libtool and gettext macros from the 513089857Sobrien top level. 513189857Sobrien * aclocal.m4, configure: Rebuilt. 513289857Sobrien 513389857Sobrien2000-08-30 Mark Hatle <mhatle@mvista.com> 513489857Sobrien 513589857Sobrien * config/tc-ppc.c (md_parse_option): Recognize -m405. 513689857Sobrien 513789857Sobrien2000-08-31 Kazu Hirata <kazu@hxi.com> 513889857Sobrien 513989857Sobrien * listing.c: Fix formatting. 514089857Sobrien 514189857Sobrien2000-08-29 Kazu Hirata <kazu@hxi.com> 514289857Sobrien 514389857Sobrien * app.c: Fix a comment typo. Fix formatting. 514489857Sobrien 514589857Sobrien2000-08-25 J. David Anglin <dave@hiauly1.hia.nrc.ca> 514689857Sobrien 514789857Sobrien * config/tc-vax.c (md_convert_frag): Correctly calculate the pc relative 514889857Sobrien offset of the target destination for jmp instructions. 514989857Sobrien (md_assemble): Change mode to VAX_ABSOLUTE_MODE as per comments. 515089857Sobrien 515189857Sobrien2000-08-24 Hans-Peter Nilsson <hp@axis.com> 515289857Sobrien 515389857Sobrien * NEWS: Mention support for CRIS. 515489857Sobrien 515589857Sobrien2000-08-24 Denis Chertykov <denisc@overta.ru> 515689857Sobrien 515789857Sobrien * config/tc-avr.h (TC_IMPLICIT_LCOMM_ALIGNMENT): New macros. 515889857Sobrien Sets `.lcomm' alignment to zero. 515989857Sobrien 516089857Sobrien2000-08-23 Alexandre Oliva <aoliva@redhat.com> 516189857Sobrien 516289857Sobrien * config/tc-i386.h (OBJ_MAYBE_ELF, OBJ_MAYBE_COFF, 516389857Sobrien TC_FIX_ADJUSTABLE): Define. 516489857Sobrien 516589857Sobrien2000-08-23 Jim Wilson <wilson@cygnus.com> 516689857Sobrien 516789857Sobrien * config/tc-ia64.c (output_unw_records): Set U & E flags only if 516889857Sobrien unwind.personality_routine is set. 516989857Sobrien 517089857Sobrien2000-08-23 H.J. Lu <hjl@gnu.org> 517189857Sobrien 517289857Sobrien * write.c (TC_FIX_ADJUSTABLE): Remove the duplicate. 517389857Sobrien 517489857Sobrien2000-08-23 Alexandre Oliva <aoliva@redhat.com> 517589857Sobrien 517689857Sobrien * config/tc-i386.h (TC_FIX_ADJUSTABLE): Do *NOT* define if target 517789857Sobrien environment is pe. 517889857Sobrien 517989857Sobrien2000-08-22 H.J. Lu <hjl@gnu.org> 518089857Sobrien 518189857Sobrien * config.in (STRICTCOFF): New for strict COFF. 518289857Sobrien 518389857Sobrien * configure.in: Define STRICTCOFF for i386-*-msdosdjgpp*, 518489857Sobrien i386-*-go32* and i386-go32-rtems*. 518589857Sobrien * configure: Rebuilt. 518689857Sobrien 518789857Sobrien * config/obj-coff.c (obj_coff_endef): Follow the historical 518889857Sobrien behavior if STRICTCOFF is not defined. 518989857Sobrien 519089857Sobrien * doc/internals.texi: Document STRICTCOFF. 519189857Sobrien 519289857Sobrien2000-08-22 Alexandre Oliva <aoliva@redhat.com> 519389857Sobrien 519489857Sobrien * write.c (TC_FIX_ADJUSTABLE): Define to 1, if not defined. 519589857Sobrien (fixup_segment) Use it instead of TC_DONT_FIX_NON_ADJUSTABLE. 519689857Sobrien * config/tc-i386.h (TC_DONT_FIX_NON_ADJUSTABLE): Remove. 519789857Sobrien <OBJ_ELF, OBJ_COFF, TE_PE> (TC_FIX_ADJUSTABLE): Define. 519889857Sobrien * config/tc-arm.h (TC_DONT_FIX_NON_ADJUSTABLE): Remove. 519989857Sobrien <OBJ_ELF> (TC_FIX_ADJUSTABLE): Define. 520089857Sobrien * config/tc-i960.h, config/tc-m68k.h, config/tc-v850.h: 520189857Sobrien Likewise. 520289857Sobrien 520389857Sobrien2000-08-22 Eric Christopher <echristo@cygnus.com> 520489857Sobrien 520589857Sobrien * config/tc-mn10300.c: (md_apply_fix): New function. 520689857Sobrien (mn10300_force_relocation): New function. 520789857Sobrien (mn10300_fix_adjustable): New function. 520889857Sobrien 520989857Sobrien * config/tc-mn10300.h: (TC_FORCE_RELOCATION): Define. 521089857Sobrien (TC_HANDLES_FX_DONE): Define. 521189857Sobrien (obj_fix_adjustable): Define. 521289857Sobrien (MD_APPLY_FIX3): Define. 521389857Sobrien (TC_LINKRELAX_FIXUP): Define. 521489857Sobrien 521589857Sobrien * write.c: (TC_LINKRELAX_FIXUP): Define if not 521689857Sobrien previously defined. 521789857Sobrien (fixup_segment): Use TC_LINKRELAX_FIXUP. 521889857Sobrien 521989857Sobrien * doc/internals.texi: Document TC_LINKRELAX_FIXUP. 522089857Sobrien 522189857Sobrien2000-08-21 Jason Eckhardt <jle@cygnus.com> 522289857Sobrien 522389857Sobrien * config/tc-i860.c (md_apply_fix3): Do not insert the immediate 522489857Sobrien if the fixup resulted in a relocation. 522589857Sobrien 522689857Sobrien2000-08-18 Nick Clifton <nickc@redhat.com> 522789857Sobrien 522889857Sobrien * config/tc-arm.c (decode_shift): Replace as_tsktsk with as_warn. 522989857Sobrien Make reference to first element of shift_names explicit. 523089857Sobrien 523189857Sobrien2000-08-18 Alexandre Oliva <aoliva@redhat.com> 523289857Sobrien 523389857Sobrien * write.c (fixup_segment) [TC_DONT_FIX_NON_ADJUSTABLE]: Use 523489857Sobrien obj_fix_adjustable() and tc_fix_adjustable() to tell whether to 523589857Sobrien add a symbol's address. Removed all target-specific #ifdefs that 523689857Sobrien used to accomplished the same. 523789857Sobrien * config/tc-v850.h (TC_DONT_FIX_NON_ADJUSTABLE): Define. 523889857Sobrien * config/tc-m68k.h (TC_DONT_FIX_NON_ADJUSTABLE): Define. 523989857Sobrien * config/tc-arm.h (TC_DONT_FIX_NON_ADJUSTABLE): Define. 524089857Sobrien * config/tc-i960.h (TC_DONT_FIX_NON_ADJUSTABLE): Define. 524189857Sobrien * config/tc-i386.h (TC_DONT_FIX_NON_ADJUSTABLE): Define. 524289857Sobrien 524389857Sobrien2000-08-17 Kazu Hirata <kazu@hxi.com> 524489857Sobrien 524589857Sobrien * dwarf2dbg.c: Fix formatting. 524689857Sobrien 524789857Sobrien2000-08-17 Nick Clifton <nickc@redhat.com> 524889857Sobrien 524989857Sobrien * config/tc-arm.c (decode_shift): Allow illegal shifts by zero 525089857Sobrien to be recoded as logical shift lefts by zero. 525189857Sobrien 525289857Sobrien2000-08-16 Jim Wilson <wilson@cygnus.com> 525389857Sobrien 525489857Sobrien * config/tc-ia64.c (specify_resource, case IA64_RS_GR): Handle 525589857Sobrien postincrement modified registers. Handle IA64_OPND_R3_2 addl 525689857Sobrien source registers. 525789857Sobrien (note_register_values): Handle IA64_OPND_R3_2 operands. 525889857Sobrien 525989857Sobrien2000-08-16 Jason Eckhardt <jle@cygnus.com> 526089857Sobrien 526189857Sobrien * config/tc-i860.c (md_operand): Silly typo fixed. 526289857Sobrien 526389857Sobrien2000-08-16 Nick Clifton <nickc@redhat.com> 526489857Sobrien 526589857Sobrien * config/tc-arm.c (struct asm_shift): Delete. 526689857Sobrien (shift[]): Delete. 526789857Sobrien (enum asm_shift_index): New. 526889857Sobrien (struct asm_shift_properties): New. 526989857Sobrien (struct asm_shift_name): New. 527089857Sobrien (shift_properties[]); New. 527189857Sobrien (shift_names[]); New. 527289857Sobrien 527389857Sobrien (decode_shift): Use new structures. 527489857Sobrien Issue a warning is "ROR #0" is used. 527589857Sobrien Issue a warning if "ASR #0" or "LSR #0" is used. 527689857Sobrien 527789857Sobrien (md_begin): Initialise arm_shift_hsh table from new 527889857Sobrien asm_shift_name array. 527989857Sobrien 528089857Sobrien2000-08-16 Jakub Jelinek <jakub@redhat.com> 528189857Sobrien 528289857Sobrien * config/tc-sparc.c: Kill all warnings. 528389857Sobrien (md_parse_option): Set -32/-64 for -xarch=, allow all -A archs 528489857Sobrien in -xarch= as well. 528589857Sobrien (md_show_usage): Update usage text. 528689857Sobrien 528789857Sobrien2000-08-16 Nick Clifton <nickc@redhat.com> 528889857Sobrien 528989857Sobrien * config/tc-arm.c (do_bx): Warn about "bx px" not being very 529089857Sobrien useful. 529189857Sobrien 529289857Sobrien2000-08-15 Will Cohen <wcohen@redhat.com> 529389857Sobrien 529489857Sobrien * config/tc-sh.h (DWARF2_LINE_MIN_INSN_LENGTH): Defined. 529589857Sobrien 529689857Sobrien * config/tc-sh.c (md_assemble): Changed so debug_type 529789857Sobrien test performed for ppi_assemble 529889857Sobrien * config/tc-sh.c: Included dwarf2dbg.h. 529989857Sobrien (debug_line): Defined. 530089857Sobrien (md_assemble): Generates dwarf2 line info. 530189857Sobrien (sh_finalize): New function. Finalize dwarf2 info. 530289857Sobrien (assemble_ppi): Returns size of code generated. 530389857Sobrien (build_Mytes): Returns size of code generated. 530489857Sobrien (md_pseudo_table): Added "file" and "loc" psuedo ops. 530589857Sobrien * config/tc-sh.h (md_end): Defined. 530689857Sobrien (sh_finalize): Declared. 530789857Sobrien 530889857Sobrien2000-08-15 Alexandre Oliva <aoliva@redhat.com> 530989857Sobrien 531089857Sobrien * config/tc-sh.c (md_apply_fix) [BFD_RELOC_32, BFD_RELOC_16]: Use 531189857Sobrien md_number_to_chars. 531289857Sobrien 531389857Sobrien2000-08-14 Nick Clifton <nickc@redhat.com> 531489857Sobrien 531589857Sobrien * config/tc-arm.c (do_bx): Allow "bx pc". 531689857Sobrien 531789857Sobrien2000-08-14 Jim Wilson <wilson@cygnus.com> 531889857Sobrien 531989857Sobrien * config/tc-ia64.c (md_longopts): Add -mconstant-gp and -mauto-pic. 532089857Sobrien (md_parse_option): Add OPTION_MCONSTANT_GP and OPTION_MAUTO_PIC. 532189857Sobrien (md_begin): Change assignment to md.flag to OR in the new bit. 532289857Sobrien 532389857Sobrien2000-08-14 Mark Elbrecht <snowball3@bigfoot.com> 532489857Sobrien 532589857Sobrien * config/obj-coff.c (obj_coff_endef) [BFD_ASSEMBLER]: Set the debug 532689857Sobrien flag for storage types C_ARG, C_REGPARM, C_FIELD, C_MOS, C_MOE, 532789857Sobrien C_MOU, and C_EOS. 532889857Sobrien 532989857Sobrien2000-08-14 Jason Eckhardt <jle@cygnus.com> 533089857Sobrien 533189857Sobrien * NEWS: Mention i860 support. 533289857Sobrien 533389857Sobrien2000-08-14 Jeffrey A Law (law@cygnus.com) 533489857Sobrien 533589857Sobrien * config/tc-mn10300.h (DWARF2_LINE_MIN_INSN_LENGTH): Define. 533689857Sobrien 533789857Sobrien2000-08-14 Andreas Schwab <schwab@suse.de> 533889857Sobrien 533989857Sobrien * doc/c-arm.texi (ARM Directives): Fix warnings from makeinfo. 534089857Sobrien 534189857Sobrien2000-08-11 Andreas Schwab <schwab@suse.de> 534289857Sobrien 534389857Sobrien * doc/c-i860.texi (Opcodes for i860): Remove braces from @item 534489857Sobrien argument. 534589857Sobrien 534689857Sobrien2000-08-11 Kazu Hirata <kazu@hxi.com> 534789857Sobrien 534889857Sobrien * expr.c: Fix formatting. 534989857Sobrien * config/obj-bout.c: Likewise. 535089857Sobrien 535189857Sobrien2000-08-10 Jason Eckhardt <jle@cygnus.com> 535289857Sobrien 535389857Sobrien * doc/c-i860.texi: Flesh out the i860 section more. 535489857Sobrien 535589857Sobrien2000-08-10 Kazu Hirata <kazu@hxi.com> 535689857Sobrien 535789857Sobrien * symbols.c: Fix formatting. 535889857Sobrien * expr.c: Likewise. 535989857Sobrien 536089857Sobrien2000-08-09 Diego Novillo <dnovillo@cygnus.com> 536189857Sobrien 536289857Sobrien * config/tc-i386.c (md_assemble): Skip suffix check if the opcode 536389857Sobrien modifier has the IgnoreSize bit set. 536489857Sobrien 536589857Sobrien2000-08-09 Alan Modra <alan@linuxcare.com.au> 536689857Sobrien 536789857Sobrien From Rodney Brown <RodneyBrown@mynd.com> 536889857Sobrien * configure.in: Use elf on Unixware 7 (i586-sco-sysv5uw7.1.0) 536989857Sobrien * configure: Regenerate. 537089857Sobrien 537189857Sobrien2000-08-09 Kazu Hirata <kazu@hxi.com> 537289857Sobrien 537389857Sobrien * hash.c: Fix formatting. 537489857Sobrien * gasp.c: Likewise. 537589857Sobrien 537689857Sobrien2000-08-08 Jason Eckhardt <jle@cygnus.com> 537789857Sobrien 537889857Sobrien * config/tc-i860.h: Rework completely for BFD_ASSEMBLER. 537989857Sobrien (i860_fix_info): New enum. 538089857Sobrien (MD_APPLY_FIX3): Define. 538189857Sobrien (WORKING_DOT_WORD): Define. 538289857Sobrien (TC_HANDLES_FX_DONE): Define. 538389857Sobrien (DIFF_EXPR_OK): Define. 538489857Sobrien (LISTING_HEADER): Define. 538589857Sobrien (TARGET_FORMAT): Select target format based on endian flag. 538689857Sobrien (TARGET_BYTES_BIG_ENDIAN): Default to little endian. 538789857Sobrien (target_big_endian): Add external declaration. 538889857Sobrien 538989857Sobrien * config/tc-i860.c: All existing code reworked completely. Other 539089857Sobrien new code shown below. 539189857Sobrien (SYNTAX_SVR4): Define. 539289857Sobrien (target_warn_expand): New variable. 539389857Sobrien (md_shortopts): Declare and define (-Qy, -Qn, and -V options). 539489857Sobrien (md_longopts): Declare and define with new options (-EL, -EB, 539589857Sobrien and -mwarn-expand). 539689857Sobrien (md_show_usage): New function. 539789857Sobrien (md_operand): New function. 539889857Sobrien (obtain_reloc_for_imm16): New function. 539989857Sobrien (md_apply_fix3): New function. 540089857Sobrien (tc_gen_reloc): New function. 540189857Sobrien 540289857Sobrien2000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr> 540389857Sobrien 540489857Sobrien * config/tc-m68hc11.c (build_jump_insn): Make sure the 540589857Sobrien 2 bytes of the jump address are in the same frag. 540689857Sobrien (find): Accept 68hc12 register indirect modes. 540789857Sobrien 540889857Sobrien * NEWS: Mention 68HC11 & 68HC12 support. 540989857Sobrien 541089857Sobrien2000-08-07 Richard Henderson <rth@cygnus.com> 541189857Sobrien 541289857Sobrien * config/tc-ia64.c (unwind): Add prologue_mask member. 541389857Sobrien (dot_vframe): Elide psp_gr record if it overlaps prologue_gr. 541489857Sobrien (dot_save): Likewise for pfs_gr, rp_gr, and preds_gr. 541589857Sobrien (dot_body): Clear unwind.prologue_mask. 541689857Sobrien (dot_prologue): Set it. Accept a register second argument. 541789857Sobrien 541889857Sobrien2000-08-07 Kazu Hirata <kazu@hxi.com> 541989857Sobrien 542089857Sobrien * config/atof-ieee.c: Fix formatting. 542189857Sobrien * config/atof-tahoe.c: Likewise. 542289857Sobrien 542389857Sobrien2000-08-06 Nick Clifton <nickc@cygnus.com> 542489857Sobrien 542589857Sobrien * config/tc-sparc.c (md_begin): Fix typo in recent formatting 542689857Sobrien work. 542789857Sobrien 542889857Sobrien * doc/as.texinfo (Pseudo Ops): Update to include descriptions 542989857Sobrien of .popsection, .previous, .pushsection, .subsection, 543089857Sobrien .version, .vtable_entry, .vtable_inherit and .weak. 543189857Sobrien 543289857Sobrien2000-08-05 Kazu Hirata <kazu@hxi.com> 543389857Sobrien 543489857Sobrien * config/tc-cris.c: Fix formatting. 543589857Sobrien * config/tc-i386.c: Likewise. 543689857Sobrien * config/tc-sparc.c (sparc_ip): Simplify the code. 543789857Sobrien 543889857Sobrien2000-08-04 Kazu Hirata <kazu@hxi.com> 543989857Sobrien 544089857Sobrien * config/tc-cris.c: Rearrange code for readability. 544189857Sobrien * config/tc-d10v.c: Fix formatting. 544289857Sobrien * config/tc-m32r.c: Likewise. 544389857Sobrien * config/tc-sparc.c: Likewise. 544489857Sobrien 544589857Sobrien2000-08-02 Jim Wilson <wilson@cygnus.com> 544689857Sobrien 544789857Sobrien * config/tc-ia64.c (emit_one_bundle): Call ia64_free_opcode 544889857Sobrien before ia64_find_opcode. 544989857Sobrien (md_assemble): Likewise. 545089857Sobrien 545189857Sobrien2000-08-01 Nick Clifton <nickc@cygnus.com> 545289857Sobrien 545389857Sobrien * config/tc-arm.c (do_mrs): Fix skip of 'cpsr_all' flag. 545489857Sobrien Undo some formatting fixes. 545589857Sobrien 545689857Sobrien2000-08-01 Kazu Hirata <kazu@hxi.com> 545789857Sobrien 545889857Sobrien * config/obj-som.c: Fix formatting. 545989857Sobrien * config/obj-ieee.c: Likewise. 546089857Sobrien * config/tc-arm.c: Likewise. 546189857Sobrien * config/tc-v850.c: Likewise. 546289857Sobrien 546389857Sobrien2000-08-01 Nick Clifton <nickc@redhat.com> 546489857Sobrien 546589857Sobrien * doc/c-m68k.texi (section M680x0 Options): Turn into a table 546689857Sobrien index by command line option. 546789857Sobrien 546889857Sobrien2000-08-01 Michael Sokolov <msokolov@ivan.Harhan.ORG> 546989857Sobrien 547089857Sobrien * doc/c-m68k.texi (@cindex @samp{--pcrel}): Rewrite option description. 547189857Sobrien (@node M68K-Branch): Rewrite to match the reality. 547289857Sobrien 547389857Sobrien2000-07-31 Jason Eckhardt <jle@cygnus.com> 547489857Sobrien 547589857Sobrien * doc/c-i860.texi: New file. 547689857Sobrien * doc/Makefile.am (CPU_DOCS): Add c-i860.texi. 547789857Sobrien * doc/Makefile.in: Regenerate. 547889857Sobrien * doc/all.texi: Add I860 as relevant architecture. 547989857Sobrien * doc/as.texinfo: Include i860 dependent file c-i860.texi. 548089857Sobrien 548189857Sobrien2000-07-31 Kazu Hirata <kazu@hxi.com> 548289857Sobrien 548389857Sobrien * config/tc-d30v.c: Fix formatting. 548489857Sobrien 548589857Sobrien2000-07-31 Michael Sokolov <msokolov@ivan.Harhan.ORG> 548689857Sobrien 548789857Sobrien * config/tc-m68k.c (flag_keep_pcrel, OPTION_PCREL): Add --pcrel option. 548889857Sobrien (md_convert_frag_1, md_estimate_size_before_relax): When making DBcc 548989857Sobrien long emit a long branch if available instead of an absolute jump, never 549089857Sobrien emit absolute jumps for anything with --pcrel. 549189857Sobrien 549289857Sobrien * doc/c-m68k.texi: Document new command line option. 549389857Sobrien 549489857Sobrien2000-07-29 Marek Michalkiewicz <marekm@linux.org.pl> 549589857Sobrien 549689857Sobrien * config/tc-avr.c: Use PARAMS macro in function declarations. 549789857Sobrien Don't declare md_pcrel_from_section (already in tc-avr.h). 549889857Sobrien (avr_operands): Use AVR_UNDEF_P and AVR_SKIP_P macros. 549989857Sobrien (avr_operand): Don't set (unsigned) op_mask to -1. 550089857Sobrien 550189857Sobrien2000-07-28 Jason Eckhardt <jle@cygnus.com> 550289857Sobrien 550389857Sobrien * configure.in: Add bits for i860-stardent-{sysv4, elf}*. 550489857Sobrien * configure: Regenerated. 550589857Sobrien * config/obj-elf.c (obj_elf_type): Recognize a fifth type 550689857Sobrien of operand to the .type directive (.e.g, "type"). 550789857Sobrien 550889857Sobrien2000-07-28 Alan Modra <alan@linuxcare.com.au> 550989857Sobrien 551089857Sobrien * as.h (warn_comment, found_comment, found_comment_file): Declare. 551189857Sobrien * app.c (do_scrub_chars): Record where first comment found. 551289857Sobrien * read.c (read_a_source_file): Init found_comment on entry, and 551389857Sobrien notify whether comments found on exit. 551489857Sobrien * config/tc-hppa.c (md_shortopts): Add "c". 551589857Sobrien (md_longopts): Add warn-comment. 551689857Sobrien (md_parse_option): Handle it. 551789857Sobrien (md_show_usage): Show available options. 551889857Sobrien * config/tc-hppa.h (WARN_COMMENTS): Define if TE_LINUX 551989857Sobrien 552089857Sobrien2000-07-27 Andrew Cagney <cagney@b1.cygnus.com> 552189857Sobrien 552289857Sobrien * config/tc-mn10300.c (md_convert_frag): Fix printfs. 552389857Sobrien (tc_gen_reloc): Add cast when assigning bfd_abs_symbol to 552489857Sobrien sym_ptr_ptr 552589857Sobrien (md_estimate_size_before_relax): Don't fall off end of function. 552689857Sobrien 552789857Sobrien2000-07-27 Kazu Hirata <kazu@hxi.com> 552889857Sobrien 552989857Sobrien * config/tc-avr.c: Fix formatting. 553089857Sobrien * config/tc-ns32k.c: Likewise. 553189857Sobrien 553289857Sobrien2000-07-27 Alan Modra <alan@linuxcare.com.au> 553389857Sobrien 553489857Sobrien * config/tc-d10v.c (find_opcode): Remove extraneous `='. 553589857Sobrien 553689857Sobrien2000-07-27 Kazu Hirata <kazu@hxi.com> 553789857Sobrien 553889857Sobrien * config/tc-d10v.c: Fix formatting. 553989857Sobrien * config/tc-z8k.c: Likewise. 554089857Sobrien * config/tc-sparc.c: Likewise. 554189857Sobrien 554289857Sobrien2000-07-26 Dave Brolley <brolley@redhat.com> 554389857Sobrien 554489857Sobrien * cgen.c (queue_fixup): Declare opinfo. 554589857Sobrien (gas_cgen_parse_operand): Mark unused parameters with ATTRIBUTE_UNUSED. 554689857Sobrien (gas_cgen_md_operand): Ditto. 554789857Sobrien (gas_cgen_md_apply_fix3): Ditto. 554889857Sobrien 554989857Sobrien2000-07-24 Mark Elbrecht <snowball3@bigfoot.com> 555089857Sobrien 555189857Sobrien * config/obj-coff.c (obj_frob_symbol): Don't merge 555289857Sobrien labels. Don't merge if the symbol isn't constant. Return 555389857Sobrien immediately if a symbol is merged. 555489857Sobrien 555589857Sobrien2000-07-22 Alan Modra <alan@linuxcare.com.au> 555689857Sobrien 555789857Sobrien * frags.c (frag_align): Correct absolute section alignment. 555889857Sobrien 555989857Sobrien2000-07-20 DJ Delorie <dj@redhat.com> 556089857Sobrien 556189857Sobrien * config/obj-coff.c (obj_frob_symbol): revert previous change, 556289857Sobrien it breaks linking against DLLs. 556389857Sobrien 556489857Sobrien2000-07-20 Hans-Peter Nilsson <hp@axis.com> 556589857Sobrien 556689857Sobrien * configure.in: Add CRIS support. 556789857Sobrien * configure: Regenerate. 556889857Sobrien * Makefile.am: (CPU_TYPES): Add cris. 556989857Sobrien (CPU_OBJ_VALID) [aout]: Add cris. 557089857Sobrien (MULTI_CPU_TYPES): Add cris. 557189857Sobrien (MULTI_CPU_OBJ_VALID) [aout]: Add cris. 557289857Sobrien [coff]: Only i386 and mips are valid. 557389857Sobrien (TARGET_CPU_CFILES): Add config/tc-cris.c. 557489857Sobrien (TARGET_CPU_HFILES): Add config/tc-cris.h. 557589857Sobrien (MULTI_CFILES): Add config/e-crisaout.c and config/e-criself.c. 557689857Sobrien Regenerate dependencies. 557789857Sobrien * Makefile.in: Regenerate. 557889857Sobrien * aclocal.m4: Regenerate. 557989857Sobrien * as.c: Declare crisaout, criself. 558089857Sobrien * config/tc-cris.h, config/tc-cris.c: New. 558189857Sobrien * config/e-criself.c, config/e-crisaout.c: New. 558289857Sobrien * po/POTFILES.in, po/gas.pot: Regenerate. 558389857Sobrien 558489857Sobrien2000-07-20 Kazu Hirata <kazu@hxi.com> 558589857Sobrien 558689857Sobrien * read.c: Fix formatting. 558789857Sobrien * write.c: Fix formatting. 558889857Sobrien 558989857Sobrien2000-07-19 H.J. Lu <hjl@gnu.org> 559089857Sobrien 559189857Sobrien * sb.c: Include <stdlib.h> if exists for abort (). 559289857Sobrien 559389857Sobrien2000-07-19 Alan Modra <alan@linuxcare.com.au> 559489857Sobrien 559589857Sobrien * config/tc-hppa.c (hppa_fix_adjustable): Correct LR%/RR% comment. 559689857Sobrien (arg_reloc_stub_needed): #ifdef OBJ_SOM, not #ifdef SOM. 559789857Sobrien (pa_type_args): Same here. 559889857Sobrien 559989857Sobrien2000-07-17 Mark Elbrecht <snowball3@bigfoot.com> 560089857Sobrien 560189857Sobrien * config/obj-coff.c (obj_frob_symbol): Don't merge labels. Don't 560289857Sobrien merge if the symbol isn't constant. Don't call S_SET_EXTERNAL if 560389857Sobrien the storage class is already set. 560489857Sobrien 560589857Sobrien2000-07-17 Kazu Hirata <kazu@hxi.com> 560689857Sobrien 560789857Sobrien * config/tc-m68hc11.c: Fix formatting. 560889857Sobrien * config/tc-mn10200.c: Likewise. 560989857Sobrien * config/tc-mn10300.c: Likewise. 561089857Sobrien * config/tc-pj.c: Likewise. 561189857Sobrien * config/tc-tic80.c: Likewise. 561289857Sobrien * config/tc-w65.c: Likewise. 561389857Sobrien 561489857Sobrien2000-07-17 Frank Ch. Eigler <fche@redhat.com> 561589857Sobrien 561689857Sobrien * expr.c (operand): Permit %bin literals if LITERAL_PREFIXPERCENT_BIN 561789857Sobrien is defined. 561889857Sobrien 561989857Sobrien2000-07-15 Ian Lance Taylor <ian@zembu.com> 562089857Sobrien 562189857Sobrien * doc/c-mips.texi (MIPS Opts): Remove erroneous space after 562289857Sobrien @code. 562389857Sobrien 562489857Sobrien2000-07-15 Alan Modra <alan@linuxcare.com.au> 562589857Sobrien 562689857Sobrien * config/tc-hppa.c (hppa_fix_adjustable): Use the same checks for 562789857Sobrien ELF as are used for SOM (except the 32-bit reloc one) to decide 562889857Sobrien whether a symbol can be reduced to a section symbol. Expand on 562989857Sobrien the comment for symbols involved in LR% and RR% expressions. 563089857Sobrien 563189857Sobrien2000-07-14 Nick Clifton <nickc@cygnus.com> 563289857Sobrien 563389857Sobrien * config/tc-mips.c (mips_disable_float_construction): New 563489857Sobrien static variable. Set to true if doubles should not be 563589857Sobrien constructed by loading two single width fp registers with 563689857Sobrien halves of the value. 563789857Sobrien (mips_ip): Test mips_disable_float_construction. 563889857Sobrien (md_longopts): Add command line switches --construct-floats 563989857Sobrien and --no-construct-floats. 564089857Sobrien (md_parse_option): Parse new command line options. 564189857Sobrien (md_show_usage): Describe new command line options. 564289857Sobrien 564389857Sobrien * doc/c-mips.texi: Document new command line options. 564489857Sobrien 564589857Sobrien2000-07-13 Koundinya K <kk@ddeorg.soft.net> 564689857Sobrien 564789857Sobrien * configure.in: Remove the test /usr/dde for mips-*-sysv4*MP* 564889857Sobrien * configure: Regenerate. 564989857Sobrien 565089857Sobrien2000-07-13 Hans-Peter Nilsson <hp@axis.com> 565189857Sobrien 565289857Sobrien * configure.in (DEFAULT_EMULATION setting): Revert part of 565389857Sobrien 2000-07-01 change that set te_multi=multi unless set to tmips. 565489857Sobrien * configure: Regenerate. 565589857Sobrien 565689857Sobrien2000-07-12 Mark Elbrecht <snowball3@bigfoot.com> 565789857Sobrien 565889857Sobrien * config/obj-coff.c (coff_frob_section): Add padding to the last 565989857Sobrien section when aligning it increases its size. 566089857Sobrien 566189857Sobrien2000-07-11 Kazu Hirata <kazu@hxi.com> 566289857Sobrien 566389857Sobrien * config/tc-tic54x.c: Fix formatting. 566489857Sobrien 566589857Sobrien2000-07-10 Kazu Hirata <kazu@hxi.com> 566689857Sobrien 566789857Sobrien * config/tc-h8500.c: Fix formatting. 566889857Sobrien * config/tc-tic54x.c: Fix formatting. 566989857Sobrien 567089857Sobrien2000-07-10 Alan Modra <alan@linuxcare.com.au> 567189857Sobrien 567289857Sobrien * config/tc-hppa.c (md_apply_fix): Check fmt 12 and 22 pc-rel 567389857Sobrien displacements correctly. 567489857Sobrien 567589857Sobrien * read.h (s_abort): Add ATTRIBUTE_NORETURN. 567689857Sobrien 567789857Sobrien2000-07-10 Ryan Bradetich <rbradetich@uswest.net> 567889857Sobrien 567989857Sobrien * hash.c (hash_insert): Add cast to obstruct_alloc to fix 568089857Sobrien warning. 568189857Sobrien (hash_jam): Ditto. 568289857Sobrien 568389857Sobrien2000-07-09 Alan Modra <alan@linuxcare.com.au> 568489857Sobrien 568589857Sobrien From David Huggins-Daines <dhd@linuxcare.com> 568689857Sobrien * config/te-hppalinux64.h: Add a new emulation. 568789857Sobrien * configure.in (emulations): Add configure bits to support the 568889857Sobrien 64-bit Linux/parisc target. 568989857Sobrien * configure: Regenerate. 569089857Sobrien 569189857Sobrien * config/tc-hppa.c (md_parse_option): Support `-V' for ELF. 569289857Sobrien (md_shortopts): Add `V' for ELF. 569389857Sobrien 569489857Sobrien * config/tc-hppa.c (arg_reloc_stub_needed): Define as zero except 569589857Sobrien when SOM or ELF_ARG_RELOC are defined. 569689857Sobrien (pa_type_args): Only set symbol_arg_reloc_info when SOM or 569789857Sobrien ELF_ARG_RELOC are defined. 569889857Sobrien (pa_stringer_aux): Don't pa_check_current_space_and_subspace here.. 569989857Sobrien (pa_stringer): ..Do it here instead. Fix comment typos. 570089857Sobrien (hppa_force_relocation): Cast enums to int before comparing with 570189857Sobrien ints. 570289857Sobrien 570389857Sobrien From Ryan Bradetich <rbradetich@uswest.net> 570489857Sobrien * config/tc-hppa.c: Removed unneeded libbfd.h to fix macro 570589857Sobrien redifinition warning. 570689857Sobrien (md_apply_fix): Added cast from enum to int for fixP->fx_r_type. 570789857Sobrien (hppa_force_relocation): ditto 570889857Sobrien (md_apply_fix): Added cast to buf to fix warnings. 570989857Sobrien 571089857Sobrien * config/tc-hppa.h (pa_define_label, parse_cons_expression_hppa, 571189857Sobrien cons_fix_new_hppa, hppa_force_relocation): Prototype. 571289857Sobrien 571389857Sobrien * config/tc-hppa.c (reloc_type): It's an enum for OBJ_ELF. 571489857Sobrien (R_N0SEL, R_N1SEL): Define only for OBJ_SOM. 571589857Sobrien (tc_gen_reloc): Make `code' a reloc_type and `codes' a 571689857Sobrien reloc_type** to avoid warnings in switch. 571789857Sobrien (md_apply_fix): Make insn, val signed. Zap buf_wd and read insn a 571889857Sobrien little earlier instead. 571989857Sobrien 572089857Sobrien * config/tc-hppa.c (symbol_arg_reloc_info): Define for both som 572189857Sobrien and elf. 572289857Sobrien (pa_type_args): Use symbol_arg_reloc_info. 572389857Sobrien (struct pa_it): Make arg_reloc unsigned int. 572489857Sobrien (struct hppa_fix_struct): Likewise for fx_arg_reloc. 572589857Sobrien (pa_text, pa_data, pa_comm): Don't compile for TE_LINUX. 572689857Sobrien (pa_code): Delete. pa_text duplicates this function. 572789857Sobrien (md_pseudo_table): Call obj_elf_text for ".code" if TE_LINUX. 572889857Sobrien (fix_new_hppa): Argument offset is offsetT, arg_reloc is unsigned 572989857Sobrien int. 573089857Sobrien (cons_fix_new_hppa): Actually change selector to e_fsel when 573189857Sobrien warning about assuming so. 573289857Sobrien (tc_gen_reloc): More example elf arg reloc code. 573389857Sobrien (md_apply_fix): Use arg_reloc_stub_needed for elf too. 573489857Sobrien (hppa_force_relocation): Likewise. 573589857Sobrien 573689857Sobrien * config/tc-hppa.h: Use TARGET_ARCH_SIZE to select target include 573789857Sobrien files. 573889857Sobrien (pa_end_of_source): Prototype. 573989857Sobrien (hppa_fix_adjustable): Prototype. 574089857Sobrien (LABELS_WITHOUT_COLONS): Move it.. 574189857Sobrien * config/te-hppa.h: To here. 574289857Sobrien 574389857Sobrien * config/te-hppa64.h: New file. 574489857Sobrien 574589857Sobrien * config/tc-hppa.c: Use TARGET_ARCH_SIZE to select target reloc 574689857Sobrien type. 574789857Sobrien (md_apply_fix): Pass stdoutput to bfd_hppa_insn2fmt. Handle 574889857Sobrien format -10, -16, 16 relocs. 574989857Sobrien (hppa_elf_mark_end_of_function): Test for null 575089857Sobrien last_call_info->start_symbol 575189857Sobrien 575289857Sobrien * config/tc-hppa.c (pa_ip): In case 'V', pass `strict' to 575389857Sobrien CHECK_FIELD, not INSERT_FIELD_AND_CONTINUE. Don't pass opcode to 575489857Sobrien re_assesmble_* functions. Delete extraneous statements. Fix 575589857Sobrien typos in comments. 575689857Sobrien (md_apply_fix): Compare against 1048575 in case 21. Don't pass 575789857Sobrien insn to re_assemble_*. 575889857Sobrien 575989857Sobrien2000-07-08 Ulf Carlsson <ulfc@engr.sgi.com> 576089857Sobrien 576189857Sobrien * doc/internals.texi (Expressions): Fix typo. 576289857Sobrien 576389857Sobrien2000-07-08 Kazu Hirata <kazu@hxi.com> 576489857Sobrien 576589857Sobrien * config/tc-sh.c: Fix formatting. 576689857Sobrien * config/tc-tic54x.c: Fix formatting. 576789857Sobrien * depend.c: Fix formatting. 576889857Sobrien * flonum-konst.c: Likewise. 576989857Sobrien * flonum-mult.c: Likewise. 577089857Sobrien 577189857Sobrien2000-07-07 Kazu Hirata <kazu@hxi.com> 577289857Sobrien 577389857Sobrien * config/tc-sh.c: Fix comments. 577489857Sobrien * config/obj-vms.c: Fix comments. 577589857Sobrien * config/tc-a29k.c: Likewise. 577689857Sobrien * config/tc-alpha.c: Likewise. 577789857Sobrien * config/tc-h8300.c: Likewise. 577889857Sobrien * config/tc-h8500.c: Likewise. 577989857Sobrien * config/tc-i370.c: Likewise. 578089857Sobrien * config/tc-ia64.c: Likewise. 578189857Sobrien * config/tc-m68hc11.c: Likewise. 578289857Sobrien * config/tc-m68k.c: Likewise. 578389857Sobrien * config/tc-mips.c: Likewise. 578489857Sobrien * config/tc-ns32k.c: Likewise. 578589857Sobrien * config/tc-ppc.c: Likewise. 578689857Sobrien * config/tc-z8k.c: Likewise. 578789857Sobrien 578889857Sobrien2000-07-06 Mark Elbrecht <snowball3@bigfoot.com> 578989857Sobrien 579089857Sobrien * config/obj-coff.c (TC_COFF_SECTION_DEFAULT_ATTRIBUTES): New. 579189857Sobrien Default to '(SEC_LOAD | SEC_DATA)'. 579289857Sobrien (obj_coff_section) [BFD_ASSEMBLER]: Use it. 579389857Sobrien 579489857Sobrien * doc/internals.texi (CPU Backend): Describe 579589857Sobrien TC_COFF_SECTION_DEFAULT_ATTRIBUTES. 579689857Sobrien 579789857Sobrien2000-06-06 Andrew Cagney <cagney@b1.cygnus.com> 579889857Sobrien 579989857Sobrien * as.c (parse_args): NULL terminate the long option list. 580089857Sobrien 580189857Sobrien2000-06-04 Andrew Cagney <cagney@b1.cygnus.com> 580289857Sobrien 580389857Sobrien * config/tc-d30v.h: Include "write.h" for fixS. 580489857Sobrien (d30v_start_line, md_pcrel_from_section): Add function prototypes. 580589857Sobrien 580689857Sobrien2000-07-05 Nick Clifton <nickc@cygnus.com> 580789857Sobrien 580889857Sobrien * config/tc-d30v.c (write_2_short): Further changes to warning 580989857Sobrien messages produced when combining EITHER_BUT_PREFER_MU attributed 581089857Sobrien opcodes. 581189857Sobrien 581289857Sobrien2000-07-05 DJ Delorie <dj@redhat.com> 581389857Sobrien 581489857Sobrien * MAINTAINERS: new 581589857Sobrien 581689857Sobrien2000-07-04 Alexandre Oliva <aoliva@redhat.com> 581789857Sobrien 581889857Sobrien * config/tc-arm.c (psrs): Accept combinations of flags. 581989857Sobrien 582089857Sobrien2000-07-03 Marek Michalkiewicz <marekm@linux.org.pl> 582189857Sobrien 582289857Sobrien * config/tc-avr.c: Change _ () to _() around all strings marked 582389857Sobrien for translation (exception from the usual coding style). 582489857Sobrien (avr_opt): New struct variable, how the new switches are set. 582589857Sobrien (OPTION_MMCU): Define as 'm' and actually use. 582689857Sobrien (md_longopts): Add -mall-opcodes, -mno-skip-bug, -mno-wrap. 582789857Sobrien (show_mcu_list): New function, display the list of known MCUs. 582889857Sobrien (md_show_usage): Document the new switches. Call show_mcu_list. 582989857Sobrien (avr_set_arch): Change 'm' to OPTION_MMCU. 583089857Sobrien (md_parse_option): Call show_mcu_list if unknown MCU specified. 583189857Sobrien Handle the new switches. 583289857Sobrien (avr_operands): Disable warnings for undefined combinations of 583389857Sobrien operands if -mall-opcodes. Disable warnings for skipping two-word 583489857Sobrien instructions if enhanced core or -mno-skip-bug. 583589857Sobrien (avr_operand): Accept all addressing modes on avr1 if -mall-opcodes. 583689857Sobrien (md_apply_fix3): Reject 8K wrap if >8K or -mno-wrap. 583789857Sobrien (md_assemble): Accept opcodes not supported by MCU if -mall-opcodes. 583889857Sobrien (avr_ldi_expression): Warn about implicit lo8(). 583989857Sobrien * config/tc-avr.h (md_pcrel_from_section): Add prototype. 584089857Sobrien 584189857Sobrien2000-07-01 Koundinya K <kk@ddeorg.soft.net> 584289857Sobrien 584389857Sobrien * configure.in: Add entry for mips-*-sysv4*MP* 584489857Sobrien * configure: Rebuild 584589857Sobrien * config/tc-mips.c (mips_target_format): Return elf32-tradbigmips or 584689857Sobrien elf32-tradlittlemips for traditional mips targets. 584789857Sobrien * config/tc-mips.c (md_estimate_size_before_relax): Duplicate the 584889857Sobrien test for Link Once sections as in adjust_reloc_syms. 584989857Sobrien * config/te-tmips.h: New file for traditional mips targets. Define 585089857Sobrien TE_TMIPS. 585189857Sobrien 585289857Sobrien2000-06-29 Mark Elbrecht <snowball3@bigfoot.com> 585389857Sobrien 585489857Sobrien * config/obj-coff.c (obj_coff_setcion) [BFD_ASSEMBLER]: If the 585589857Sobrien flags argument is not present, don't change an existing section's 585689857Sobrien section's attributes. If the flags argument is present, warn if the 585789857Sobrien attributes don't match the section's current attributes. When 585889857Sobrien long section names are supported, set SEC_LINK_ONCE and 585989857Sobrien SEC_LINK_DUPLICATES_DISCARD for a new .gnu.linkonce section. 586089857Sobrien 586189857Sobrien2000-06-29 Hans-Peter Nilsson <hp@axis.com> 586289857Sobrien 586389857Sobrien * config/obj-aout.c (obj_aout_type): Do not ignore for undefined 586489857Sobrien symbols; create them. 586589857Sobrien 586689857Sobrien2000-06-29 Mark Elbrecht <snowball3@bigfoot.com> 586789857Sobrien 586889857Sobrien * write.c (set_segment_vma): New: Set vma and lma for a segment. 586989857Sobrien (write_object_file) [BFD_ASSEMBLER && OBJ_COFF && TE_GO32]: Use it. 587089857Sobrien 587189857Sobrien2000-06-27 Aldy Hernandez <aldyh@redhat.com> 587289857Sobrien 587389857Sobrien * config/tc-mips.c (mips_ip): handle "(foo-.-4)" type of 587489857Sobrien expressions. Ignore the problem when handling 16 bit signed 587589857Sobrien immediates, because the assembler will take care of the relocation 587689857Sobrien later. 587789857Sobrien 587889857Sobrien2000-06-27 Nick Clifton <nickc@cygnus.com> 587989857Sobrien 588089857Sobrien * config/tc-d30v.c (write_2_short): Do not allow opcodes with 588189857Sobrien the EITHER_BUT_PREFER_MU attribute to be combined into a reverse 588289857Sobrien sequential order, and emit warning messages if the input source 588389857Sobrien code contains constructs like that, or parallel constructs 588489857Sobrien containing such opcodes. 588589857Sobrien 588689857Sobrien2000-06-26 Marek Michalkiewicz <marekm@linux.org.pl> 588789857Sobrien 588889857Sobrien * config/tc-avr.c (mcu_types): Rename avr4 to avr5, add avr4. 588989857Sobrien Add more MCU types for avr4 and avr5. Replace at94k{10,20,40} 589089857Sobrien with just at94k. Change AVR_ISA_85xx back to AVR_ISA_2xxx. 589189857Sobrien (md_show_usage): Update usage message. 589289857Sobrien (md_parse_option): Allow redefinition of MCU type within the 589389857Sobrien same avr[1-5] bfd machine type. Show both old and new MCU type 589489857Sobrien in the error message. 589589857Sobrien (md_apply_fix3): Support 8K wrap if AVR_ISA_MEGA is not set. 589689857Sobrien Simplify 8K wrap code. 589789857Sobrien 589889857Sobrien2000-06-25 Kazu Hirata <kazu@hxi.com> 589989857Sobrien 590089857Sobrien * config/obj-aout.c: Remove all uses of DEFUN. 590189857Sobrien * config/obj-ieee.c: Likewise. 590289857Sobrien * config/tc-sh.c: Fix comment typos. 590389857Sobrien * config/tc-tahoe.c: Likewise. 590489857Sobrien * config/tc-vax.c: Likewise. 590589857Sobrien * config/tc-w65.c: Likewise. 590689857Sobrien * config/tc-z8k.c: Likewise. 590789857Sobrien * config/tc-h8300.c (build_bytes): Assemble ldmac correctly. 590889857Sobrien 590989857Sobrien2000-06-24 DJ Delorie <dj@cygnus.com> 591089857Sobrien 591189857Sobrien * config/tc-i386.c (md_estimate_size_before_relax): Revert 591289857Sobrien more changes from Sept 1999 591389857Sobrien (tc_i386_fix_adjustable): ditto 591489857Sobrien (md_apply_fix3): ditto 591589857Sobrien 591689857Sobrien2000-06-24 Frank Ch. Eigler <fche@redhat.com> 591789857Sobrien 591889857Sobrien * cgen.c (expr_jmp_buf_p): New validity flag for expr_jmp_buf. 591989857Sobrien (gas_cgen_parse_operand): Set it around expression() call. 592089857Sobrien (gas_cgen_md_operand): Test for it before longjmp(). 592189857Sobrien 592289857Sobrien2000-06-24 Kazu Hirata <kazu@hxi.com> 592389857Sobrien 592489857Sobrien * config/tc-h8500.c: Remove all uses of DEFUN. 592589857Sobrien * config/tc-sh.c: Likewise. 592689857Sobrien * config/tc-w65.c: Likewise. 592789857Sobrien * config/tc-z8k.c: Likewise. 592889857Sobrien 592989857Sobrien * config/tc-h8500.c: Fix typos in comments. 593089857Sobrien 593189857Sobrien2000-06-23 Frank Ch. Eigler <fche@redhat.com> 593289857Sobrien 593389857Sobrien * expr.c (operand): Permit $hex literals if LITERAL_PREFIXDOLLAR_HEX 593489857Sobrien is defined. 593589857Sobrien 593689857Sobrien2000-06-23 matthew green <mrg@redhat.com> 593789857Sobrien 593889857Sobrien * expr.c (operand): Do not as_bad() if RELAX_PAREN_GROUPING is 593989857Sobrien defined. Fix error message for `[' grouping. 594089857Sobrien 594189857Sobrien2000-06-22 Kazu Hirata <kazu@hxi.com> 594289857Sobrien 594389857Sobrien * config/tc-h8300.c: Fix formatting and comment typos. 594489857Sobrien 594589857Sobrien2000-06-22 Timothy Wall <twall@cygnus.com> 594689857Sobrien 594789857Sobrien * config/tc-ia64.c (note_register_values): Move premature QP 594889857Sobrien notation clearing into the appropriate place. 594989857Sobrien 595089857Sobrien2000-06-22 Alan Modra <alan@linuxcare.com.au> 595189857Sobrien 595289857Sobrien * dep-in.sed: Escape literal `.'s on patterns. Trim off `../' 595389857Sobrien first before anything else. Add bin-bugs.h, emul.h and progress.h 595489857Sobrien Sort list of files as for $(OBJS) in Makefile.am. 595589857Sobrien 595689857Sobrien * Makefile.am (DEP): grep for leading `/' in DEPA, and fail if we 595789857Sobrien find one. Remake dependencies. 595889857Sobrien ($(OBJS)): Add bin-bugs.h, emul.h, and progress.h Sort the list. 595989857Sobrien * Makefile.in: Regenerate. 596089857Sobrien * doc/Makefile.in: Regenerate. 596189857Sobrien 596289857Sobrien * config/tc-i386.c (i386_displacement): Don't assume a constant 596389857Sobrien displacement is necessarily 16 bits when in 16 bit code mode. 596489857Sobrien (md_assemble): Instead size the displacement here after we know 596589857Sobrien for sure that a .code16gcc operand hasn't automatically added 596689857Sobrien operand size prefixes. 596789857Sobrien 596889857Sobrien2000-06-21 H.J. Lu <hjl@gnu.org> 596989857Sobrien 597089857Sobrien * Makefile.am: Rebuild dependency. 597189857Sobrien * Makefile.in: Rebuild. 597289857Sobrien 597389857Sobrien2000-06-21 Kazu Hirata <kazu@hxi.com> 597489857Sobrien 597589857Sobrien * config/tc-h8300.c (parse_reg): Make the function static. 597689857Sobrien (parse_exp): Likewise. 597789857Sobrien 597889857Sobrien2000-06-20 DJ Delorie <dj@cygnus.com> 597989857Sobrien 598089857Sobrien * config/tc-i386.c (tc_i386_fix_adjustable): Revert change from 598189857Sobrien Sept 1999; RVA relocs need to be treated more like DIR32 relocs 598289857Sobrien for cygwin import libraries to work properly. 598389857Sobrien 598489857Sobrien2000-06-20 H.J. Lu <hjl@gnu.org> 598589857Sobrien 598689857Sobrien * Makefile.am: Rebuild dependency. 598789857Sobrien * Makefile.in: Rebuild. 598889857Sobrien * configure: Likewise. 598989857Sobrien * doc/Makefile.in: Likewise. 599089857Sobrien 599189857Sobrien2000-06-20 Timothy Wall <twall@cygnus.com> 599289857Sobrien 599389857Sobrien * doc/internals.texi (CPU backend): Add @itemx for 599489857Sobrien TC_START_LABEL_WITHOUT_COLON. 599589857Sobrien * doc/c-tic54x.texi: New. 599689857Sobrien * doc/as.texinfo: Add tic54x features and include primary tic54x 599789857Sobrien documentation file. 599889857Sobrien * doc/all.texi: Add C54X. 599989857Sobrien * doc/Makefile.am (CPU_DOCS): Add c-tic54x.texi. 600089857Sobrien * doc/Makefile.in: Regenerate. 600189857Sobrien * configure.in: Add tic54x and define LIBM for tic54x. 600289857Sobrien * configure: Regenrate. 600389857Sobrien * config/tc-tic54x.[ch]: New. 600489857Sobrien * config/obj-coff.h: Add tic54x. 600589857Sobrien * Makefile.am: (CPU_TYPES): Add tic54x. 600689857Sobrien (TARGET_CPU_CFILES): Add 'tc-tic54x.c'. 600789857Sobrien (TARGET_CPU_HFILES): Add 'tc-tic54x.h'. 600889857Sobrien (as_new_LDADD): Add $(LIBM). 600989857Sobrien * Makefile.in: Regenerate. 601089857Sobrien 601189857Sobrien2000-06-18 Stephane Carrez <stcarrez@worldnet.fr> 601289857Sobrien 601389857Sobrien * doc/Makefile.am (CPU_DOCS): Added 68hc11 file. 601489857Sobrien * doc/c-m68hc11.texi: Document 68HC11 and 68HC12 port. 601589857Sobrien * doc/as.texinfo: Likewise. 601689857Sobrien 601789857Sobrien * configure, Makefile.in: Regenerate. 601889857Sobrien * configure.in (emulations): Recognize m6811 and m6812. 601989857Sobrien * Makefile.am (CPU_TYPES, TARGET_CPU_CFILES, TARGET_CPU_HFILES): 602089857Sobrien Added files for 68hc11 and 68hc12 assembler. 602189857Sobrien * config/tc-m68hc11.c: Assembler for 68hc11 and 68hc12. 602289857Sobrien * config/tc-m68hc11.h: Header definition for that assembler. 602389857Sobrien 602489857Sobrien2000-06-18 Nick Clifton <nickc@redhat.com> 602589857Sobrien 602689857Sobrien * symbols.c (resolve_symbol_value): Use bfd_octets_per_byte 602789857Sobrien instead of OCTETS_PER_BYTE. 602889857Sobrien 602989857Sobrien * config/tc-v850.c: Fix compile time warnings. 603089857Sobrien * config/tc-ppc.c: Fix compile time warnings. 603189857Sobrien 603289857Sobrien2000-06-18 H.J. Lu <hjl@gnu.org> 603389857Sobrien 603489857Sobrien * configure.in: Don't emulate i386-pc-pe-coff with i386coff. 603589857Sobrien * configure: Rebuild. 603689857Sobrien 603789857Sobrien2000-06-17 Mark Elbrecht <snowball3@bigfoot.com> 603889857Sobrien 603989857Sobrien * config/obj-coff.c (obj_coff_weak): Typo fix: Change BFD_ASSEMLER 604089857Sobrien to BFD_ASSEMBLER. 604189857Sobrien 604289857Sobrien2000-06-16 Nick Clifton <nickc@cygnus.com> 604389857Sobrien 604489857Sobrien * config/tc-mips.c (md_parse_option): Accept RM5200,RM5230, 604589857Sobrien RM5231, RM5261, RM5721 and RM7000 as r5000 cpu variants. 604689857Sobrien 604789857Sobrien * doc/c-mips.texi: Document newly accepted cpu variants. 604889857Sobrien 604989857Sobrien2000-06-15 Ulf Carlsson <ulfc@engr.sgi.com> 605089857Sobrien 605189857Sobrien * config/tc-mips.h: Remove definition of ONLY_STANDARD_ESCAPES. 605289857Sobrien 605389857Sobrien2000-06-13 Ulf Carlsson <ulfc@engr.sgi.com> 605489857Sobrien 605589857Sobrien * macro.c (getstring): Make it possible to escape the quote 605689857Sobrien character. 605789857Sobrien 605889857Sobrien2000-06-13 Catherine Moore <clm@redhat.com> 605989857Sobrien 606089857Sobrien * config/tc-hppa.c (pa_export): Weak symbols can be global. 606189857Sobrien 606289857Sobrien2000-06-13 H.J. Lu <hjl@gnu.org> 606389857Sobrien 606489857Sobrien * configure: Regenerate. 606589857Sobrien 606689857Sobrien2000-06-09 Alan Modra <alan@linuxcare.com.au> 606789857Sobrien 606889857Sobrien * app.c (do_scrub_begin): Don't default lex[';'] as a line 606989857Sobrien separator. 607089857Sobrien * doc/internals.texi (line_separator_chars): Semicolon is no 607189857Sobrien longer a default. Mention null and newline as defaults. 607289857Sobrien 607389857Sobrien * read.c (is_end_of_line): Remove ifdef TC_HPPA. 607489857Sobrien 607589857Sobrien * config/tc-i386.h (line_separator_chars): Explicitly mention `;' 607689857Sobrien * config/tc-i860.h (line_separator_chars): Likewise. 607789857Sobrien * config/tc-h8300.c (line_separator_chars): Likewise. 607889857Sobrien * config/tc-i960.c (line_separator_chars): Likewise. 607989857Sobrien * config/tc-m68k.c (line_separator_chars): Likewise. 608089857Sobrien * config/tc-mips.c (line_separator_chars): Likewise. 608189857Sobrien * config/tc-ns32k.c (line_separator_chars): Likewise. 608289857Sobrien * config/tc-sparc.c (line_separator_chars): Likewise. 608389857Sobrien * config/tc-vax.c (line_separator_chars): Likewise. 608489857Sobrien 608589857Sobrien * config/tc-h8300.c (comment_chars): Use string initialiser. 608689857Sobrien * config/tc-i960.c (line_comment_chars): Likewise. 608789857Sobrien * config/tc-z8k.c (comment_chars, line_comment_chars, 608889857Sobrien line_separator_chars): Likewise. 608989857Sobrien 609089857Sobrien * config/tc-arm.c (line_separator_chars): Always use `;', not just 609189857Sobrien for TE_LINUX. 609289857Sobrien 609389857Sobrien2000-06-08 Nick Clifton <nickc@cygnus.com> 609489857Sobrien 609589857Sobrien * config/tc-arm.c (cons_fix_new_arm): Assign correct reloc value 609689857Sobrien for size 1 fixes. 609789857Sobrien 609889857Sobrien2000-06-08 David O'Brien <obrien@FreeBSD.org> 609989857Sobrien 610089857Sobrien * configure.in (VERSION): Update to show this is the CVS mainline. 610189857Sobrien 610289857Sobrien2000-06-08 Matthew Jacob <mjacob@feral.com> 610389857Sobrien 610489857Sobrien * config/tc-alpha.c (md_undefined_symbol): Properly understand that 610589857Sobrien $at is the integer register $r28, vs. both $r28 and the floating 610689857Sobrien point register $f28. 610789857Sobrien 610889857Sobrien2000-06-08 James E. Wilson <wilson@cygnus.com> 610989857Sobrien 611089857Sobrien * config/tc-ia64.c (generate_unwind_image): Call ia64_flush_insns. 611189857Sobrien (dot_endp): Don't call ia64_flush_insns. 611289857Sobrien (emit_one_bundle): Don't delete prologue/body records from 611389857Sobrien unwind_record list in first loop. Rewrite second loop to account for 611489857Sobrien this. 611589857Sobrien 611689857Sobrien2000-06-07 David Mosberger <davidm@hpl.hp.com> 611789857Sobrien 611889857Sobrien * config/tc-ia64.c: Add missing prototypes. 611989857Sobrien (generate_unwind_image): Cast argument to output_unw_records call. 612089857Sobrien 612189857Sobrien2000-06-07 Denis Chertykov <denisc@overta.ru> 612289857Sobrien 612389857Sobrien * config/tc-avr.c (avr_operand): fix the formatting of the comment. 612489857Sobrien 612589857Sobrien2000-06-07 Denis Chertykov <denisc@overta.ru> 612689857Sobrien 612789857Sobrien * config/tc-avr.c (AVR_ISA_???): moved to include/opcode/avr.h 612889857Sobrien (REGISTER_P): likewise. 612989857Sobrien (avr_opcodes): uses include/opcode/avr.h 613089857Sobrien (avr_operand): enable ld r,Z or st r,Z for at90s1200. 613189857Sobrien 613289857Sobrien2000-06-04 Alan Modra <alan@linuxcare.com.au> 613389857Sobrien 613489857Sobrien * read.c (is_end_of_line): No ';' for TC_HPPA. Add missing 613589857Sobrien initializers too. 613689857Sobrien 613789857Sobrien2000-06-03 H.J. Lu <hjl@gnu.org> 613889857Sobrien 613989857Sobrien * read.c (is_end_of_line): Put back `;'. 614089857Sobrien 614189857Sobrien2000-06-03 Alan Modra <alan@linuxcare.com.au> 614289857Sobrien 614389857Sobrien * config/tc-i386.c (md_shortopts): Remove 'm', add 'q' to non-elf. 614489857Sobrien 614589857Sobrien2000-06-01 Alan Modra <alan@linuxcare.com.au> 614689857Sobrien 614789857Sobrien * expr.c (operand): Test is_end_of_line outside switch to catch 614889857Sobrien line separator chars that are also operators. 614989857Sobrien (operator): Return O_illegal for line separator chars. 615089857Sobrien 615189857Sobrien * read.c (is_end_of_line): Use 1 instead of 99. Don't set `;' 615289857Sobrien entry (or `!' entry for TC_HPPA). 615389857Sobrien 615489857Sobrien * config/tc-arm.c (my_get_float_expression): Cast to unsigned char 615589857Sobrien before indexing is_end_of_line. Remove redundant check for '\0'. 615689857Sobrien (fp_op2): Likewise. 615789857Sobrien * config/tc-h8500.c (md_assemble): Likewise. 615889857Sobrien * config/tc-mcore.c (md_assemble): Likewise. 615989857Sobrien * config/tc-tic30.c (tic30_find_parallel_insn): Likewise. 616089857Sobrien (md_atof): Likewise 616189857Sobrien 616289857Sobrien * config/tc-m88k.c (s_bss): Cast to unsigned char before indexing 616389857Sobrien is_end_of_line. 616489857Sobrien * config/tc-mcore.c (mcore_cons): Likewise. 616589857Sobrien (mcore_float_cons): Likewise. 616689857Sobrien (mcore_stringer): Likewise. 616789857Sobrien * config/tc-tic30.c (tic30_find_parallel_insn): Likewise. 616889857Sobrien 616989857Sobrien2000-06-01 Scott Bambrough <scottb@netwinder.org> 617089857Sobrien 617189857Sobrien * config/tc-arm.c (do_mrs): Allow SPSR_BIT to be set correctly. 617289857Sobrien 617389857Sobrien2000-05-29 Nick Clifton <nickc@cygnus.com> 617489857Sobrien 617589857Sobrien * config/tc-sh.c: Fix compile time warning messages. 617689857Sobrien 617789857Sobrien * config/tc-mips.c: Fix compile time warning messages. 617889857Sobrien 617989857Sobrien2000-05-29 Philip Blundell <philb@gnu.org> 618089857Sobrien 618189857Sobrien * doc/as.texinfo: Update copyright dates. 618289857Sobrien (Local Labels): Delete misplaced mention of ARM. 618389857Sobrien * NEWS: Mention ARM ELF support. 618489857Sobrien 618589857Sobrien2000-05-27 Alexandre Oliva <aoliva@cygnus.com> 618689857Sobrien 618789857Sobrien * config/tc-mn10300.c (md_assemble): Copy size to real_size before 618889857Sobrien it is modified, and use the real_size to compute the frag address 618989857Sobrien for dwarf2 line info. 619089857Sobrien 619189857Sobrien2000-05-27 Alan Modra <alan@linuxcare.com.au> 619289857Sobrien 619389857Sobrien * Makefile.am (DEP, DEP1, dep, dep-in, dep-am): Use a better sed 619489857Sobrien line-matching scheme to cope with automake moving variables around. 619589857Sobrien ($(TARG_CPU_O)): Remove dependency on TARG_CPU_DEP_@target_cpu_type@ 619689857Sobrien * Makefile.in: Regenerate. 619789857Sobrien 619889857Sobrien2000-05-26 Jakub Jelinek <jakub@redhat.com> 619989857Sobrien 620089857Sobrien * config/tc-sparc.c (sparc_relax): New. 620189857Sobrien (md_longopts): Add -relax and -no-relax options. 620289857Sobrien (md_parse_options, md_show_usage): Likewise. 620389857Sobrien (md_apply_fix3): Optimize tail call into branch always if possible. 620489857Sobrien 620589857Sobrien2000-05-04 Donald Lindsay <dlindsay@cygnus.com> 620689857Sobrien 620789857Sobrien * config/tc-d10v.c (write_2_short, parallel_ok, md_assemble, 620889857Sobrien d10v_cleanup) implement Mitsubishi's newly explained branch-packing 620989857Sobrien rules, with warning when a GAS statement specifies a packing that 621089857Sobrien will result in an instruction being squashed. 621189857Sobrien Added typdef packing_type and enumerals, changed various integer 621289857Sobrien literals to use the enumerals. 621389857Sobrien 621489857Sobrien2000-05-24 David Mosberger <davidm@hpl.hp.com> 621589857Sobrien 621689857Sobrien * config/tc-ia64.c (dot_restorereg_p): New function. 621789857Sobrien (md_pseudo_table): Add restorereg.p. 621889857Sobrien (output_X3_format): Fix typo: record type should be UNW_X3, not UNW_X1. 621989857Sobrien (output_X4_format): Fix typo: record type should be UNW_X4, not UNW_X2. 622089857Sobrien 622189857Sobrien * config/tc-ia64.h (unw_record_type): Add unwabi. 622289857Sobrien (unw_r_record): Rename member MASK to GRMASK. Add sub-structure 622389857Sobrien called MASK with members for imask, and the masks produced by 622489857Sobrien fr_mem, gr_mem, br_mem, and frgr_mem. 622589857Sobrien (unw_p_record): Add members ABI and CONTEXT. 622689857Sobrien (unw_x_record): Add member AB. 622789857Sobrien * config/tc-ia64.c (enum reg_symbol): Add REG_PSP and REG_PRIUNAT 622889857Sobrien as pseudo-register for use during unwind info generation. 622989857Sobrien (AR_PFS, AR_LC): New macros. 623089857Sobrien (enum pseudo_type): Add PSEUDO_FUNC_REG to permit declaring registers 623189857Sobrien whose names start with an at sign (as in "@priunat"). 623289857Sobrien (pseudo_func): Add "svr4", "hpux", "nt" constants and "priunat" 623389857Sobrien register. 623489857Sobrien (unwind_list, unwind_tail, current_unwind_entry, proc_start, 623589857Sobrien proc_end, unwind_info, personality_routine): Consolidate into 623689857Sobrien "unwind" structure to reduce offset-table use. Add member 623789857Sobrien NEXT_SLOT_NUMBER to track the slot number for the next instruction 623889857Sobrien to be emitted. 623989857Sobrien (output_R1_format, output_R3_format, output_P3_format, 624089857Sobrien output_P6_format): Initialize R with zero to reduce compiler warnings. 624189857Sobrien (output_P7_format): Ditto. Add `default' branch to switch 624289857Sobrien statement to reduce compiler warnings. 624389857Sobrien (output_P8_format, output_B1_format, output_B4_format): Ditto. 624489857Sobrien (output_P4_format): Rename 2nd & 3rd arg to IMASK and IMASK_SIZE. 624589857Sobrien (format_ab_reg): Rename from format_a_b_reg. Merge A and B args 624689857Sobrien into single argument. 624789857Sobrien (output_X1_format, output_X3_format): Initialize R with zero to reduce 624889857Sobrien compiler warnings. Merge A and B args into single argument. 624989857Sobrien (output_X2_format, output_X4_format): Remove unused variable R. Merge 625089857Sobrien A and B args into single argument. 625189857Sobrien (free_record): Removed (wasn't used). 625289857Sobrien (free_list_records): Also free imasks in prologue records. 625389857Sobrien (output_prologue, output_prologue_gr): Initialize mask bits to zero. 625489857Sobrien (output_spill_mask): Remove. 625589857Sobrien (output_unwabi): New function. 625689857Sobrien (output_epilogue, output_label_state, output_copy_state): Call 625789857Sobrien alloc_record. 625889857Sobrien (output_spill_psprel, output_spill_sprel, output_spill_psprel_p, 625989857Sobrien output_spill_sprel_p, output_spill_reg, output_spill_reg_p): Add AB 626089857Sobrien argument. 626189857Sobrien (process_one_record): New locals FR_MASK and GR_MASK. Ignore 626289857Sobrien gr_mem, fr_mem, br_mem, and frgr_mem records and instead emit them 626389857Sobrien as part of handling the prologue records. Emit region's imask if 626489857Sobrien we have one. Handle unwabi, epilogue, label_state, copy_state, 626589857Sobrien spill_psprel, spill_sprel, spill_reg, spill_psprel_p, 626689857Sobrien spill_sprel_p, and spill_reg_p records. 626789857Sobrien (set_imask, count_bits, slot_index): New function. 626889857Sobrien (fixup_unw_records): Fix region size computation. Handle 626989857Sobrien epilogue, spill_reg, spill_sprel, spill_psprel, spill_reg_p, 627089857Sobrien spill_sprel_p, and spill_psprel_p records. Merge mask bits of 627189857Sobrien frgr_mem, fr_mem, gr_mem, br_mem on a per-region basis and 627289857Sobrien set_imask accordingly. Update imask for gr_gr, and br_gr records. 627389857Sobrien (convert_expr_to_ab_reg, convert_expr_to_xy_reg): New function. 627489857Sobrien (dot_save): Use manifest constants for applicaton registers. 627589857Sobrien Handle REG_PR and REG_PRIUNAT. 627689857Sobrien (dot_restore): Don't just ignore it. 627789857Sobrien (dot_restorereg): New function.. 627889857Sobrien (generate_unwind_image): Ensure unwind info is a multiple of eight 627989857Sobrien bytes, not just four bytes. 628089857Sobrien (dot_handlerdata, dot_unwentry): Demand empty rest of line. 628189857Sobrien (dot_altrp): Don't just ignore it. 628289857Sobrien (dot_savemem): New function. Replaces dot_savesp() and 628389857Sobrien dot_savepsp(). Use manifest constants for applicaton registers. 628489857Sobrien Handle REG_PR and REG_PRIUNAT. 628589857Sobrien (dot_savef): Simplify. 628689857Sobrien (dot_saveb): Support generation of br_gr. 628789857Sobrien (dot_spillreg, dot_spillmem, dot_spillreg_p, dot_spillmem_p, 628889857Sobrien dot_label_state, dot_copy_state): New function. 628989857Sobrien (dot_unwabi): Don't just ignore it. 629089857Sobrien (md_pseudo_table): Add restorereg, spillreg, spillsp, spillpsp, 629189857Sobrien spillreg.p, spillsp.p, spillpsp, label_state, copy_state, 629289857Sobrien unwabi, vframesp, and vframepsp. Fix typo alprp->altrp. 629389857Sobrien (emit_one_bundle): Set slot number for prologue/body records 629489857Sobrien *before* emitting the first insn. 629589857Sobrien (emit_one_bundle): Set UNWIND.NEXT_SLOT_NUMBER. 629689857Sobrien (md_begin): Declare "psp" pseudo-register. 629789857Sobrien (md_operand): Handle PSEUDO_FUNC_REG. Fix printing of error message 629889857Sobrien so we don't get segfault. 629989857Sobrien (output_psp_sprel): Output sp/psp relative offsets as 4-byte word 630089857Sobrien counts as required per SW Conventions manual 630189857Sobrien (output_rp_psprel, output_rp_sprel, output_pfs_psprel,output_pfs_sprel, 630289857Sobrien output_preds_psprel, output_preds_sprel, output_spill_base, 630389857Sobrien output_unat_psprel, output_unat_sprel, output_lc_psprel, 630489857Sobrien output_lc_sprel, output_fpsr_psprel, output_fpsr_sprel, 630589857Sobrien output_priunat_psprel, output_priunat_sprel, output_bsp_psprel, 630689857Sobrien output_bsp_sprel, output_bspstore_psprel, output_bspstore_sprel, 630789857Sobrien output_rnat_psprel, output_rnat_sprel, output_spill_psprel, 630889857Sobrien output_spill_sprel, output_spill_psprel_p, output_spill_sprel_p):Ditto. 630989857Sobrien (dot_vframe): Implement. 631089857Sobrien (dot_vframesp, dot_vframepsp): New function. 631189857Sobrien 631289857Sobrien2000-05-23 Hans-Peter Nilsson <hp@axis.com> 631389857Sobrien 631489857Sobrien * configure.in (i386-*-freebsd a.out entry): Quote properly. 631589857Sobrien * configure: Regenerate. 631689857Sobrien 631789857Sobrien2000-05-23 Alan Modra <alan@linuxcare.com.au> 631889857Sobrien 631989857Sobrien * config/tc-i386.c (md_assemble): Pass jump reloc in fr_var... 632089857Sobrien (md_estimate_size_before_relax): so we can use it here instead of 632189857Sobrien old kludges. Localise vars to blocks. Comment. 632289857Sobrien 632389857Sobrien * frags.c (frag_new): Update fr_var comments. 632489857Sobrien * frags.h (struct frag): Ditto. 632589857Sobrien 632689857Sobrien2000-05-22 Richard Henderson <rth@cygnus.com> 632789857Sobrien 632889857Sobrien * config/tc-ia64.c (FUNC_PC_RELATIVE): New. 632989857Sobrien (pseudo_func): Add pcrel. 633089857Sobrien (operand_match): Handle IA64_OPND_TGT64. 633189857Sobrien (build_insn): Likewise. 633289857Sobrien (md_begin): Initialize pseudo_func[FUNC_PC_RELATIVE]. 633389857Sobrien (ia64_gen_real_reloc_type): Handle FUNC_PC_RELATIVE. 633489857Sobrien (fix_insn): Handle all three 64-bit relocation types. 633589857Sobrien 633689857Sobrien2000-05-22 Hans-Peter Nilsson <hp@axis.com> 633789857Sobrien 633889857Sobrien * obj.h (struct format_ops): New members begin, app_file, 633989857Sobrien s_set_other, s_set_desc, s_get_type, s_set_type, 634089857Sobrien separate_stab_sections, init_stab_section. 634189857Sobrien 634289857Sobrien * config/obj-multi.h: Update GPL notice to v2. 634389857Sobrien (obj_begin): New. 634489857Sobrien (obj_app_file): New. 634589857Sobrien (S_SET_SIZE): Test s_set_size for NULL before calling. 634689857Sobrien (S_SET_ALIGN): Similar for s_set_align. 634789857Sobrien (S_SET_OTHER): New. 634889857Sobrien (S_SET_DESC): New. 634989857Sobrien (S_GET_TYPE): New. 635089857Sobrien (S_SET_TYPE): New. 635189857Sobrien (SEPARATE_STAB_SECTIONS): New. 635289857Sobrien (INIT_STAB_SECTION): New. 635389857Sobrien (EMIT_SECTION_SYMBOLS): New. 635489857Sobrien (AOUT_STABS) [OBJ_MAYBE_AOUT]: Define. 635589857Sobrien 635689857Sobrien * config/obj-elf.h: Update GPL notice to v2. 635789857Sobrien Mention that this file is included from obj-multi.h. 635889857Sobrien (obj_begin): Wrap definition in ifndef. 635989857Sobrien (elf_file_symbol): Constify declaration. 636089857Sobrien (obj_app_file): Ditto. 636189857Sobrien (SEPARATE_STAB_SECTIONS, INIT_STAB_SECTION, OBJ_PROCESS_STAB): 636289857Sobrien Wrap in ifndef SEPARATE_STAB_SECTIONS. 636389857Sobrien 636489857Sobrien * config/obj-elf.c (elf_s_set_other): New. 636589857Sobrien (elf_file_symbol): Constify argument. 636689857Sobrien (elf_separate_stab_sections): New. 636789857Sobrien (elf_init_stab_section): New. 636889857Sobrien (elf_format_ops): Add new members. Remove comma at end. 636989857Sobrien 637089857Sobrien * config/obj-ecoff.c (ecoff_separate_stab_sections): New. 637189857Sobrien (ecoff_format_ops): Add new fields. Remove comma at end. 637289857Sobrien Mention inconsistency for emit_section_symbols. 637389857Sobrien 637489857Sobrien * config/obj-coff.h (c_dot_file_symbol): Constify declaration. 637589857Sobrien 637689857Sobrien * config/obj-coff.c (c_dot_file_symbol): Constify argument. 637789857Sobrien (coff_separate_stab_sections): New. 637889857Sobrien (coff_format_ops): Add new members. 637989857Sobrien 638089857Sobrien * config/obj-aout.c (obj_aout_sec_sym_ok_for_reloc): New. 638189857Sobrien (obj_aout_s_set_other): New. 638289857Sobrien (obj_aout_s_set_desc): New. 638389857Sobrien (obj_aout_s_get_type): New. 638489857Sobrien (obj_aout_s_set_type): New. 638589857Sobrien (obj_aout_separate_stab_sections): New. 638689857Sobrien (aout_format_ops): New members added. Use obj_aout_process_stab, 638789857Sobrien not 0. Use obj_aout_sec_sym_ok_for_reloc, not 0. 638889857Sobrien (obj_aout_frob_symbol): Add ATTRIBUTE_UNUSED to args as 638989857Sobrien appropriate. 639089857Sobrien (obj_aout_line, obj_aout_weak, obj_aout_type): Ditto. 639189857Sobrien 639289857Sobrien2000-05-22 Alan Modra <alan@linuxcare.com.au> 639389857Sobrien 639489857Sobrien * config/tc-i386.c (tc_i386_fix_adjustable): Prevent adjustment 639589857Sobrien for OBJ_MAYBE_ELF too. Use S_IS_EXTERNAL instead of S_IS_EXTERN. 639689857Sobrien (md_estimate_size_before_relax): Ensure jumps to weak and 639789857Sobrien externally visible symbols are relocatable. 639889857Sobrien 639989857Sobrien2000-05-20 Hans-Peter Nilsson <hp@axis.com> 640089857Sobrien 640189857Sobrien * stabs.c (aout_process_stab): Make global. 640289857Sobrien (s_desc): Add ATTRIBUTE_UNUSED to args as appropriate. 640389857Sobrien * read.h (aout_process_stab): Declare. 640489857Sobrien 640589857Sobrien * configure.in (EMULATIONS) [i386aout, i386coff, i386elf]: 640689857Sobrien Generalize to *aout, *coff *elf. 640789857Sobrien * configure: Regenerated. 640889857Sobrien 640989857Sobrien * doc/internals.texi (Object format backend): Say 641089857Sobrien SEPARATE_STAB_SECTIONS needs to be nonzero, not just defined. 641189857Sobrien 641289857Sobrien * Makefile.am (TARG_ENV_HFILES): Delete te-multi.h. 641389857Sobrien * Makefile.in: Regenerated. 641489857Sobrien 641589857Sobrien2000-05-19 Catherine Moore <clm@cygnus.com> 641689857Sobrien 641789857Sobrien * cgen.h (GAS_CGEN_MAX_FIXUPS): Check if already defined. 641889857Sobrien 641989857Sobrien2000-05-18 Alan Modra <alan@linuxcare.com.au> 642089857Sobrien 642189857Sobrien * config/tc-hppa.c (md_apply_fix): Mask out immediate bits of 642289857Sobrien instruction to reflect change in re_assemble_*. 642389857Sobrien 642489857Sobrien2000-05-18 Jeffrey A Law (law@cygnus.com) 642589857Sobrien 642689857Sobrien * configure.in (hppa-*-hpux11*): If the cpu is hppa*64*, then 642789857Sobrien build PA64 ELF tools. 642889857Sobrien * configure: Rebuilt. 642989857Sobrien 643089857Sobrien2000-05-17 Alan Modra <alan@linuxcare.com.au> 643189857Sobrien 643289857Sobrien * Makefile.am: Regenerate dependencies. 643389857Sobrien * Makefile.in: Regenerate. 643489857Sobrien 643589857Sobrien2000-05-15 Nick Clifton <nickc@cygnus.com> 643689857Sobrien 643789857Sobrien * config/tc-arm.c (struct asm_psr): Add boolean field 643889857Sobrien distinguishing between CSPR and SPSR. Rename 'number' field 643989857Sobrien to 'field'. 644089857Sobrien (psrs): Rearrange contents to match new asm_psr structure. 644189857Sobrien (arm_psr_parse): Move next to psr_required_here. Make it 644289857Sobrien return an asm_psr structure. 644389857Sobrien (psr_required_here): Use asm_psr structure returned by 644489857Sobrien arm_psr_parse. 644589857Sobrien (do_msr): Reorganise to allow psr_required_here to be called 644689857Sobrien only once. 644789857Sobrien (md_undefined_name): Mark 'name' parameter as unused, since 644889857Sobrien the COFF target does not use it. 644989857Sobrien 645089857Sobrien2000-05-14 David O'Brien <obrien@FreeBSD.org> 645189857Sobrien 645289857Sobrien * config/te-386bsd.h: Clean up comments to adhere to the GNU coding 645389857Sobrien standards. 645489857Sobrien * config/te-aux.h: Likewise. 645589857Sobrien * config/te-dpx2.h: Likewise. 645689857Sobrien * config/te-go32.h: Likewise. 645789857Sobrien * config/te-hp300.h: Likewise. 645889857Sobrien * config/te-hppa.h: Likewise. 645989857Sobrien * config/te-i386aix.h: Likewise. 646089857Sobrien * config/te-ic960.h: Likewise. 646189857Sobrien * config/te-interix.h: Likewise. 646289857Sobrien * config/te-nbsd532.h: Likewise. 646389857Sobrien * config/te-pc532mach.h: Likewise. 646489857Sobrien * config/te-ppcnw.h: Likewise. 646589857Sobrien * config/te-psos.h: Likewise. 646689857Sobrien * config/te-sparcaout.h: Likewise. 646789857Sobrien * config/te-sun3.h: Likewise. 646889857Sobrien * config/te-sysv32.h: Likewise. 646989857Sobrien 647089857Sobrien2000-05-14 Alan Modra <alan@linuxcare.com.au> 647189857Sobrien 647289857Sobrien * config/tc-h8300.c (do_a_fix_imm): Don't rely on `short' being 16 647389857Sobrien bits. Instead explicitly mask and sign extend. Do the 8 bit mask 647489857Sobrien and sign extend without an if statement. 647589857Sobrien (build_bytes): Likewise. 647689857Sobrien 647789857Sobrien2000-05-14 Kazu Hirata <kazu@hxi.com> 647889857Sobrien 647989857Sobrien * config/tc-h8300.c (do_a_fix_imm): Output a reloc for no 648089857Sobrien X_add_symbol L_32 case. 648189857Sobrien 648289857Sobrien2000-05-14 David O'Brien <obrien@FreeBSD.org> 648389857Sobrien 648489857Sobrien * config/te-freebsd.h: New file. 648589857Sobrien 648689857Sobrien2000-05-13 Alan Modra <alan@linuxcare.com.au> 648789857Sobrien 648889857Sobrien * asintl.h (gettext, dgettext, dcgettext, textdomain, 648989857Sobrien bindtextdomain): Replace defines with those from intl/libgettext.h 649089857Sobrien to quieten gcc warnings. 649189857Sobrien 649289857Sobrien * NEWS: Mention x86 .arch and -q. 649389857Sobrien 649489857Sobrien * config/tc-i386.c (quiet_warnings): New. 649589857Sobrien (md_assemble): Use quiet_warnings. 649689857Sobrien (md_parse_option): Set quiet_warnings from -q. 649789857Sobrien (md_show_usage): Mention -q, delete -m. 649889857Sobrien (flag_do_long_jump): Delete. 649989857Sobrien (md_parse_option): Remove -m. 650089857Sobrien (md_show_usage): Remove -m. 650189857Sobrien (md_create_long_jump): Remove useless flag_do_long_jump code. 650289857Sobrien 650389857Sobrien * as.c (parse_args): In case OPTION_DEFSYM, use a valueT to hold 650489857Sobrien the symbol value, and use bfd_scan_vma if BFD_ASSEMBLER. 650589857Sobrien 650689857Sobrien2000-05-13 Alan Modra <alan@linuxcare.com.au> 650789857Sobrien Alexander Sokolov <robocop@netlink.ru> 650889857Sobrien 650989857Sobrien * doc/c-i386.texi (i386-Arch): New section. 651089857Sobrien (i386-Syntax): Mention .intel_syntax and .att_syntax. 651189857Sobrien 651289857Sobrien * config/tc-i386.c (cpu_arch_name, cpu_arch_flags): New. 651389857Sobrien (smallest_imm_type): Use smallest opcode for shift by one if cpu 651489857Sobrien architecture has been given and is not 486. 651589857Sobrien (set_cpu_arch): New. 651689857Sobrien (md_pseudo_table): Add .arch. 651789857Sobrien (md_assemble): Warn if cpu architecture has been given and an 651889857Sobrien unsupported instruction. 651989857Sobrien 652089857Sobrien * config/tc-i386.h (SMALLEST_DISP_TYPE): Delete. 652189857Sobrien Move operand_types bit defines after relevant template field. 652289857Sobrien (template): Add cpu_flags. 652389857Sobrien (Cpu*): Define. 652489857Sobrien (arch_entry): New. 652589857Sobrien 652689857Sobrien2000-05-12 Alexandre Oliva <aoliva@cygnus.com> 652789857Sobrien 652889857Sobrien * config/tc-mn10300.h (md_end): Define. 652989857Sobrien (mn10300_finalize): Declare. 653089857Sobrien * config/tc-mn10300.c: Include dwarf2dbg.h. 653189857Sobrien (debug_line): Define. 653289857Sobrien (md_assemble): Generate dwarf2 line info. 653389857Sobrien (mn10300_finalize): New function. Finalize dwarf2 info. 653489857Sobrien 653589857Sobrien2000-05-11 Ulf Carlsson <ulfc@engr.sgi.com> 653689857Sobrien 653789857Sobrien * config/tc-mips.c (md_estimate_size_before_relax): Use the 653889857Sobrien external version of the relocation for weak symbols. 653989857Sobrien 654089857Sobrien2000-05-08 David Mosberger <davidm@hpl.hp.com> 654189857Sobrien 654289857Sobrien * config/tc-ia64.c (output_P7_format, case mem_stack_f): Output fixed 654389857Sobrien frame size in units of 16 bytes, as required per SW Conventions manual. 654489857Sobrien (output_unw_records): Output info-block header as a dword to get 654589857Sobrien byte-order right. 654689857Sobrien 654789857Sobrien2000-05-08 Alan Modra <alan@linuxcare.com.au> 654889857Sobrien 654989857Sobrien * as.h: #include "file", not <file> on files from ../include. 655089857Sobrien (as_abort, as_fatal): Add ATTRIBUTE_NORETURN. 655189857Sobrien * config/tc-m68k.c (m68k_ip): Fix signed/unsigned warnings. 655289857Sobrien (md_convert_frag): Add ATTRIBUTE_UNUSED. 655389857Sobrien (tc_coff_symbol_emit_hook): Ditto. 655489857Sobrien (OPTCOUNT): Cast to int to avoid compiler warning. 655589857Sobrien (md_begin): Fix signed/unsigned warnings. 655689857Sobrien 655789857Sobrien2000-05-08 Michael Sokolov <msokolov@ivan.Harhan.ORG> 655889857Sobrien 655989857Sobrien * config/tc-m68k.c (md_convert_frag_1): Abort if we end up in the 656089857Sobrien ABRANCH LONG case for a conditional branch on a 68000. 656189857Sobrien (md_estimate_size_before_relax): Likewise. Also handle 656289857Sobrien flag_short_refs correctly for ABRANCH, BCC68000, and DBCC. 656389857Sobrien (m68k-ip: case ABSL): Relax absolute references to 16-bit 656489857Sobrien PC-relative on all CPUs. 656589857Sobrien (md_estimate_size_before_relax): Likewise. 656689857Sobrien 656789857Sobrien2000-05-04 Alan Modra <alan@linuxcare.com.au> 656889857Sobrien 656989857Sobrien * as.c (parse_args): Just mention current year in printed 657089857Sobrien copyright message. 657189857Sobrien 657289857Sobrien2000-05-03 J.T. Conklin <jtc@redback.com> 657389857Sobrien 657489857Sobrien * config/tc-ppc.c (pre_defined_registers): Add entries for vector 657589857Sobrien unit registers. 657689857Sobrien (md_parse_option): Recognize -m7400. 657789857Sobrien 657889857Sobrien2000-05-03 Ian Lance Taylor <ian@zembu.com> 657989857Sobrien 658089857Sobrien * config/atof-ieee.c (gen_to_words): When adding carry back in, 658189857Sobrien don't permit lp to become less than the words array. 658289857Sobrien 658389857Sobrien2000-05-03 Rodney Brown <RodneyBrown@pmsc.com> 658489857Sobrien 658589857Sobrien config/tc-mcore.c (md_apply_fix3): BFD_RELOC_MCORE_PCREL_IMM11BY2 658689857Sobrien Fix little-endian case. 658789857Sobrien 658889857Sobrien2000-05-03 David O'Brien <obrien@NUXI.com> 658989857Sobrien 659089857Sobrien * as.c (parse_args): Update copyright. 659189857Sobrien 659289857Sobrien2000-05-03 Mark Elbrecht <snowball3@bigfoot.com> 659389857Sobrien 659489857Sobrien * config/tc-i386.h (SUB_SEGMENT_ALIGN): If TE_GO32, return 4 659589857Sobrien for the .bss section too. 659689857Sobrien 659789857Sobrien2000-05-02 Alan Modra <alan@linuxcare.com.au> 659889857Sobrien 659989857Sobrien * configure.in: Set em=linux for hppa-*-linux. 660089857Sobrien * configure: Regenerate. 660189857Sobrien * doc/Makefile.in: Regenerate with correct automake. 660289857Sobrien 660389857Sobrien * frags.c (frag_grow): Sanity check chunk_size. 660489857Sobrien 660589857Sobrien * config/obj-elf.h: #include "bfd.h" not <bfd.h> 660689857Sobrien * config/obj-som.h: Likewise. 660789857Sobrien * config/obj-ieee.h: Likewise. 660889857Sobrien 660989857Sobrien * config/tc-hppa.h: Test BFD_ARCH_SIZE, not BFD64. 661089857Sobrien 661189857Sobrien * config/tc-hppa.c (log2): Only compile when OBJ_SOM. 661289857Sobrien (md_pseudo_table): Fully initialise OBJ_ELF cases. 661389857Sobrien (fix_new_hppa): Add ATTRIBUTE_UNUSED to args as appropriate. 661489857Sobrien (pa_ip): low_sign_unext now returns via function value. Use 661589857Sobrien re_assemble_* instead of dis_assemble_* and 661689857Sobrien INSERT_FIELD_AND_CONTINUE combination. Don't call sign_unext 661789857Sobrien unnecessarily. 661889857Sobrien (md_convert_frag): Add ATTRIBUTE_UNUSED to args as appropriate. 661989857Sobrien (md_section_align, md_parse_option, md_show_usage, 662089857Sobrien md_undefined_symbol, pa_align, pa_block, pa_brtab, pa_try, 662189857Sobrien pa_callinfo, pa_code, pa_comm, pa_end, pa_enter, pa_entry, 662289857Sobrien pa_exit, pa_export, pa_import, pa_label, pa_leave, pa_level, 662389857Sobrien pa_origin, pa_param, pa_proc, pa_procend, pa_space, pa_spnum, 662489857Sobrien pa_version, pa_compiler, pa_copyright, pa_data, pa_fill, pa_lsym, 662589857Sobrien pa_text): Likewise. 662689857Sobrien (md_apply_fix): Change type of new_val to offsetT. Delete w1, w2, 662789857Sobrien w, resulti. Add insn, val. Move bfd_get_32 and bfd_put_32 662889857Sobrien outside of switch. Correct mask and shifting errors in case 10 662989857Sobrien and case -11. In case 21, compare against signed range to suit 663089857Sobrien hppa_field_adjust changes. In case 12, use re_assemble_12. In 663189857Sobrien case 17 and case 22, use offsetT variable to properly check range. 663289857Sobrien Use re_assemble_* here too. 663389857Sobrien (evaluate_absolute): Change type of value to offsetT. Call 663489857Sobrien hppa_field_adjust to do the work for us. 663589857Sobrien (pa_parse_cmpb_64_cmpltr): Delete save_s. 663689857Sobrien (pa_parse_cmpib_64_cmpltr): Ditto. 663789857Sobrien (pa_build_unwind_subspace): Delete unused var subseg. Change type 663889857Sobrien of i to unsigned int. 663989857Sobrien (pa_type_args): Conditionally declare symbol if OBJ_SOM. 664089857Sobrien (pa_end_of_source): Return type is void. 664189857Sobrien 664289857Sobrien2000-05-01 Catherine Moore <clm@cygnus.com> 664389857Sobrien 664489857Sobrien * macro.c (macro_expand_body): Don't prepend macro number with zeroes. 664589857Sobrien 664689857Sobrien2000-05-01 Denis Chertykov <denisc@overta.ru> 664789857Sobrien 664889857Sobrien * config/tc-avr.c: ATTRIBUTE_UNUSED added to the necessary places. 664989857Sobrien More comments added. 665089857Sobrien (md_begin): Removed "construct symbols for each register name". 665189857Sobrien Because register names conflicts with GCC generated function 665289857Sobrien names. 665389857Sobrien (avr_operand): Now constant numbers can be used as a register 665489857Sobrien identifiers (0 as r0, 31 as r31). 665589857Sobrien (md_assemble): use skip_space () before parsing instruction 665689857Sobrien operands. 665789857Sobrien 665889857Sobrien2000-05-01 Alan Modra <alan@linuxcare.com.au> 665989857Sobrien 666089857Sobrien * configure.in: Set bfd_gas=yes on i386-*-pe and i386-*-nt* to 666189857Sobrien ensure all pe targets use bfd. Remove unnecessary bfd_gas=yes on 666289857Sobrien arm-*-netbsd* and arm-*-wince as this is set for all arm*. 666389857Sobrien * configure: Regenerate. 666489857Sobrien 666589857Sobrien2000-04-29 Andreas Jaeger <aj@suse.de> 666689857Sobrien 666789857Sobrien * as.h: Correctly check GCC version. 666889857Sobrien 666989857Sobrien2000-04-26 David O'Brien <obrien@FreeBSD.org> 667089857Sobrien 667189857Sobrien * doc/as.1: Fix unbalanced brackets. 667289857Sobrien 667389857Sobrien * config/tc-i386.c (comment_chars): Don't use '/' as comment start if 667489857Sobrien TE_FreeBSD. 667589857Sobrien (line_comment_chars): Set to '/' if TE_FreeBSD. 667689857Sobrien 667789857Sobrien2000-04-25 Jeffrey A Law (law@cygnus.com) 667889857Sobrien 667989857Sobrien * configure.in: Configury support for PA64 (currently disabled). 668089857Sobrien * configure: Rebuilt. 668189857Sobrien 668289857Sobrien2000-04-25 Machida Hiroyuki <machida@sm.sony.co.jp> 668389857Sobrien 668489857Sobrien * config/tc-mips.c (s_change_sec): Use record_alignment, not 668589857Sobrien bfd_set_section_alignment. 668689857Sobrien 668789857Sobrien2000-04-25 Alan Modra <alan@linuxcare.com.au> 668889857Sobrien 668989857Sobrien * config/tc-i386.c (offset_in_range): Ensure shift counts are less 669089857Sobrien than 32. 669189857Sobrien 669289857Sobrien2000-04-24 Nick Clifton <nickc@cygnus.com> 669389857Sobrien 669489857Sobrien * doc/c-arm.texi (ARM Directives): Document behaviour of .align 0. 669589857Sobrien * doc/as.texinfo (Align): Include arm and strongarm in list of 669689857Sobrien targets that have the second form of the behaviour of the .align 669789857Sobrien directive. 669889857Sobrien 669989857Sobrien2000-04-24 Mark Klein <mklein@dis.com> 670089857Sobrien 670189857Sobrien * config/obj-som.c: Terminate obj_pseudo_table. 670289857Sobrien 670389857Sobrien2000-04-24 Clinton Popetz <cpopetz@cygnus.com> 670489857Sobrien 670589857Sobrien * as.c (parse_args): Allow md_parse_option to override -a listing 670689857Sobrien option. 670789857Sobrien * config/obj-coff.c (add_lineno): Change type of offset parameter 670889857Sobrien from "int" to "bfd_vma." 670989857Sobrien * config/tc-ppc.c (md_pseudo_table): Add "llong" and "machine." 671089857Sobrien (ppc_mach, ppc_subseg_align, ppc_target_format): New. 671189857Sobrien (ppc_change_csect): Align correctly for XCOFF64. 671289857Sobrien (ppc_machine): New function, which discards "ppc_machine" line. 671389857Sobrien (ppc_tc): Cons for 8 when code is 64 bit. 671489857Sobrien (md_apply_fix3): Don't check operand->insert. Handle 64 bit 671589857Sobrien relocations. 671689857Sobrien (md_parse_option): Handle -a64 and -a32. 671789857Sobrien (ppc_xcoff64): New. 671889857Sobrien * config/tc-ppc.h (TARGET_MACH): Define. 671989857Sobrien (TARGET_FORMAT): Move to function. 672089857Sobrien (SUB_SEGMENT_ALIGN): Use ppc_subseg_align. 672189857Sobrien 672289857Sobrien2000-04-23 Denis Chertykov <denisc@overta.ru> 672389857Sobrien 672489857Sobrien * config/tc-avr.c: New AVR_ISA_ defined. 672589857Sobrien (md_assemble): Handle opcodes with optional operands (lpm,elpm). 672689857Sobrien (avr_operand): Handle 'a', 'v' and 'z' constraint letters needed 672789857Sobrien for `fmul', `movw' and `lpm R,Z' instructions. 672889857Sobrien (avr_operands): Warn if current opcode is a two-word instruction 672989857Sobrien and previous opcode was cpse/sbic/sbis/sbrc/sbrs. 673089857Sobrien (avr_opcodes): New commands added. 673189857Sobrien (REGISTER_P): Check 'a' and 'v' constraint letters. 673289857Sobrien (mcu_types): New MCU added. 673389857Sobrien 673489857Sobrien2000-04-22 Timothy Wall <twall@cygnus.com> 673589857Sobrien 673689857Sobrien * config/tc-ia64.c (pseudo_func[]): Add new "nat" entry equivalent 673789857Sobrien to "natval". 673889857Sobrien (operand_match): Conditionally insert default bit values for IMMU9. 673989857Sobrien 674089857Sobrien2000-04-14 Matthew Green <mrg@cygnus.com> 674189857Sobrien 674289857Sobrien * configure.in: Add NetBSD/sparc ELF and NetBSD/sparc64 support. 674389857Sobrien * configure: Rebuilt. 674489857Sobrien 674589857Sobrien2000-04-21 Jeffrey A Law (law@cygnus.com) 674689857Sobrien Jason Eckhardt <jle@cygnus.com> 674789857Sobrien 674889857Sobrien * config/tc-hppa.c (md_apply_fix): Handle new PA2.0 formats. 674989857Sobrien 675089857Sobrien * config/tc-hppa.c (CHECK_ALIGN): New macro. 675189857Sobrien Added handling of new operand types l,y,&,fe,fE,fx. 675289857Sobrien 675389857Sobrien2000-04-21 Richard Henderson <rth@cygnus.com> 675489857Sobrien David Mosberger <davidm@hpl.hp.com> 675589857Sobrien Timothy Wall <twall@cygnus.com> 675689857Sobrien Andrew MacLeod <amacleod@cygnus.com> 675789857Sobrien Jim Wilson <wilson@cygnus.com> 675889857Sobrien 675989857Sobrien * Makefile.am (CPU_TYPES): Add ia64. 676089857Sobrien (TARGET_CPU_CFILES): Add config/tc-ia64.c. 676189857Sobrien (TARGET_CPU_HFILES): Add config/tc-ia64.h. 676289857Sobrien * Makefile.in: Rebuild. 676389857Sobrien * app.c (do_scrub_chars): Handle DOUBLESLASH_COMMENTS. 676489857Sobrien * configure: Rebuild. 676589857Sobrien * configure.in: Recognize ia64 as cpu type. Set bfd_gas. 676689857Sobrien (ia64-*-elf*, ia64-*-linux-gnu*): New targets. 676789857Sobrien * expr.c (expr): Handle md_optimize_expr. 676889857Sobrien * read.c (LEX_HASH): Add comment. 676989857Sobrien * config/tc-ia64.c, config/tc-ia64.h: New files. 677089857Sobrien 677189857Sobrien2000-04-21 Richard Henderson <rth@cygnus.com> 677289857Sobrien 677389857Sobrien * config/tc-d30v.c (write_2_short): Disregard opcode1->ecc when 677489857Sobrien bundling a non-delayed branch type instruction. 677589857Sobrien 677689857Sobrien2000-04-20 Alexandre Oliva <aoliva@cygnus.com> 677789857Sobrien 677889857Sobrien * config/tc-mn10300.c (HAVE_AM30): Define. 677989857Sobrien (md_assemble): Use it. 678089857Sobrien 678189857Sobrien2000-04-19 Alan Modra <alan@linuxcare.com.au> 678289857Sobrien 678389857Sobrien * config/obj-elf.c (obj_elf_change_section): Check for changed 678489857Sobrien section attributes. 678589857Sobrien 678689857Sobrien * Makefile.am: (CPU_MULTI_VALID): Remove. 678789857Sobrien (MULTI_CPU_TYPES): Define. 678889857Sobrien (MULTI_CPU_OBJ_VALID): Define. 678989857Sobrien (DEPTC): Use the above. 679089857Sobrien (DEPOBJ): Same here. 679189857Sobrien (DEP2): And here. 679289857Sobrien Regenerate dependencies. 679389857Sobrien * Makefile.in: Regenerate. 679489857Sobrien 679589857Sobrien2000-04-19 Michael Sokolov <msokolov@ivan.Harhan.ORG> 679689857Sobrien 679789857Sobrien * Makefile.am (YACC, LEX): Get them from configure. 679889857Sobrien 679989857Sobrien2000-04-18 H.J. Lu (hjl@gnu.org) 680089857Sobrien 680189857Sobrien * config/tc-i386.c (offset_in_range): Use addressT instead of 680289857Sobrien bfd_vma for non-bfd assemblers. 680389857Sobrien 680489857Sobrien2000-04-17 Alan Modra <alan@linuxcare.com.au> 680589857Sobrien 680689857Sobrien * config/tc-i386.c (offset_in_range): Sign extend val so BFD64 680789857Sobrien doesn't give spurious errors. 680889857Sobrien 680989857Sobrien2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG> 681089857Sobrien 681189857Sobrien * as.h (SEEK_SET): Define if undefined. 681289857Sobrien 681389857Sobrien2000-04-13 Alan Modra <alan@linuxcare.com.au> 681489857Sobrien 681589857Sobrien * config/tc-arm.c (md_apply_fix3): Don't use UL suffix on 681689857Sobrien constants, and don't assume offsetT is 32 bits. 681789857Sobrien 681889857Sobrien2000-04-12 Andrew Cagney <cagney@b1.cygnus.com> 681989857Sobrien 682089857Sobrien * config/tc-d10v.h: Include "write.h" to get definition of fixS. 682189857Sobrien (md_pcrel_from_section): Add prototype. 682289857Sobrien (d10v_fix_adjustable): Add prototype. 682389857Sobrien (d10v_force_relocation): Replace 'struct fix' with 'fixS'. 682489857Sobrien 682589857Sobrien * config/tc-d10v.c (md_apply_fix3): Add paren around &&. 682689857Sobrien 682789857Sobrien2000-04-12 Nick Clifton <nickc@cygnus.com> 682889857Sobrien 682989857Sobrien * config/tc-d10v.c (find_opcode): Correctly calculate position of 683089857Sobrien symbol in frag chain. 683189857Sobrien 683289857Sobrien2000-04-10 Alan Modra <alan@linuxcare.com.au> 683389857Sobrien 683489857Sobrien * config/tc-i386.c (fits_in_signed_byte): Change arg to offsetT. 683589857Sobrien (fits_in_unsigned_byte, fits_in_unsigned_word): Ditto. 683689857Sobrien (fits_in_signed_word, smallest_imm_type): Ditto. 683789857Sobrien (md_assemble): Use an offsetT var to hold offsetT values, not a 683889857Sobrien long. 683989857Sobrien (offset_in_range): New. 684089857Sobrien (md_assemble): Use it. 684189857Sobrien (md_convert_frag): Change type of target_address, opcode_address, 684289857Sobrien and displacement_from_opcode_start to offsetT. 684389857Sobrien (md_create_short_jump): Change type of offset to offsetT. 684489857Sobrien (md_create_long_jump): Ditto. 684589857Sobrien (md_apply_fix3): Use -4, not 0xfffffffc for BFD_RELOC_386_PLT32. 684689857Sobrien (md_chars_to_number): Remove. 684789857Sobrien (output_invalid): Remove duplicate prototype. 684889857Sobrien 684989857Sobrien2000-04-09 Nick Clifton <nickc@cygnus.com> 685089857Sobrien 685189857Sobrien * Makefile.am (CPU_TYPES): Add 'avr'. 685289857Sobrien (TARGET_CPU_CFILES): Add 'tc-avr.c'. 685389857Sobrien (TARGET_CPU_HFILES): Add 'tc-avr.h'. 685489857Sobrien 685589857Sobrien * Makefile.in: Regenerate. 685689857Sobrien 685789857Sobrien * doc/as.texinfo: Add M32R documentation. 685889857Sobrien 685989857Sobrien2000-04-07 Andrew Cagney <cagney@b1.cygnus.com> 686089857Sobrien 686189857Sobrien * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add 686289857Sobrien --enable-build-warnings option. 686389857Sobrien * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions. 686489857Sobrien * Makefile.in, configure: Re-generate. 686589857Sobrien 686689857Sobrien2000-04-07 Nick Clifton <nickc@cygnus.com> 686789857Sobrien 686889857Sobrien * config/tc-arm.c (md_apply_fix3): Treat BFD_RELOC_ARM_PCREL_BLX 686989857Sobrien in the same way as BFD_RELOC_ARM_PCREL_BRANCH, and 687089857Sobrien BFD_RELOC_THUMB_PCREL_BLX lie BFD_RELOC_THUMB_PCREL_BRANCH. 687189857Sobrien (tc_gen_reloc): Accept BFD_RELOC_{ARM|THUMB}_PCREL_BLX. 687289857Sobrien (arm_force_relocation): Force relocations for 687389857Sobrien BFD_RELOC_{ARM|THUMB}_PCREL_BLX as well. 687489857Sobrien 687589857Sobrien2000-04-05 J"orn Rennecke <amylaar@cygnus.co.uk> 687689857Sobrien 687789857Sobrien * config/tc-sh.c (get_operands): There's no third operand if the 687889857Sobrien first operand is an immediate. 687989857Sobrien 688089857Sobrien2000-04-05 J"orn Rennecke <amylaar@cygnus.co.uk> 688189857Sobrien 688289857Sobrien * config/tc-sh.c (immediate): Delete. 688389857Sobrien (sh_operand_info): Add immediate member. 688489857Sobrien (parse_reg): Use A_PC for pc. 688589857Sobrien (parse_exp): Add second argument 'op'. All callers changed. 688689857Sobrien (parse_at): Expect pc to be coded as A_PC. 688789857Sobrien Use immediate field in *op. 688889857Sobrien (insert): Add fourth argument 'op'. All callers changed. 688989857Sobrien (build_relax): Add second argument 'op'. All callers changed. 689089857Sobrien (insert_loop_bounds): New function. 689189857Sobrien (build_Mytes): Remove DISP_4. 689289857Sobrien Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}. Add REPEAT. 689389857Sobrien (assemble_ppi): Use immediate field in *operand. 689489857Sobrien (sh_force_relocation): Handle BFD_RELOC_SH_LOOP_{START,END}. 689589857Sobrien (md_apply_fix): Likewise. 689689857Sobrien (tc_gen_reloc): Likewise. Check for a pcrel BFD_RELOC_SH_LABEL. 689789857Sobrien 689889857Sobrien2000-04-05 Alexandre Oliva <oliva@lsd.ic.unicamp.br> 689989857Sobrien 690089857Sobrien * config/tc-sparc.c (sparc_ip): Avoid string pasting. 690189857Sobrien 690289857Sobrien2000-04-04 Hans-Peter Nilsson <hp@axis.com> 690389857Sobrien 690489857Sobrien * internals.texi (CPU backend): Document 690589857Sobrien TC_CHECK_ADJUSTED_BROKEN_DOT_WORD. 690689857Sobrien 690789857Sobrien2000-04-04 Alan Modra <alan@linuxcare.com.au> 690889857Sobrien 690989857Sobrien * po/gas.pot: Regenerate. 691089857Sobrien 691189857Sobrien * as.c (show_usage): Restore translated part of bug string. 691289857Sobrien * gasp.c (show_usage): Likewise. 691389857Sobrien 691489857Sobrien * Makefile.am (MKDEP): Use gcc -MM rather than ../mkdep. 691589857Sobrien (DEP): Quote when passing vars to sub-make. Use "mv -f" rather 691689857Sobrien than move-if-change. 691789857Sobrien (DEP1): Modify for "gcc -MM". 691889857Sobrien (DEPTC): Likewise. 691989857Sobrien (DEPOBJ): Likewise. 692089857Sobrien (DEP2): Likewise. 692189857Sobrien (CLEANFILES): Add DEPTCA, DEPOBJA, DEP2a, DEPA. 692289857Sobrien Update dependencies. 692389857Sobrien * Makefile.in: Regenerate. 692489857Sobrien 692589857Sobrien2000-04-03 Alexandre Oliva <aoliva@cygnus.com> 692689857Sobrien 692789857Sobrien * config/tc-mn10300.c (md_pseudo_table): Use constant names. 692889857Sobrien (md_begin): Likewise. 692989857Sobrien (HAVE_AM33): New macro. 693089857Sobrien (md_assemble): Use it. Match r_regs and xr_regs only if 693189857Sobrien HAVE_AM33. 693289857Sobrien 693389857Sobrien2000-04-03 Alan Modra <alan@linuxcare.com.au> 693489857Sobrien 693589857Sobrien * as.h: #include "bin-bugs.h" 693689857Sobrien * as.c (show_usage): Use REPORT_BUGS_TO. 693789857Sobrien * gasp.c: #include "bin-bugs.h" 693889857Sobrien (show_usage): Use REPORT_BUGS_TO. 693989857Sobrien 694089857Sobrien * config/tc-sparc.c (md_show_usage): Add a trailing newline. 694189857Sobrien 694289857Sobrien2000-04-03 Hans-Peter Nilsson <hp@axis.com> 694389857Sobrien 694489857Sobrien * write.c (write_object_file) [! WORKING_DOT_WORD]: If defined, 694589857Sobrien call TC_CHECK_ADJUSTED_BROKEN_DOT_WORD for each word after 694689857Sobrien adjustments. 694789857Sobrien 694889857Sobrien2000-04-03 Alan Modra <alan@linuxcare.com.au> 694989857Sobrien 695089857Sobrien * config/tc-i386.c (i386_immediate): Don't assume a constant 695189857Sobrien immediate is necessarily 16 bits when in 16 bit code mode. 695289857Sobrien (md_assemble): Instead set guess_suffix here after we have checked 695389857Sobrien registers. 695489857Sobrien 695589857Sobrien2000-04-02 Richard Henderson <rth@cygnus.com> 695689857Sobrien 695789857Sobrien * config/tc-d30v.c (check_range): Allow signed or unsigned 32-bit 695889857Sobrien quantities. Correct right shift sign extension. 695989857Sobrien (build_insn): Make `number' unsigned long. Mask top 6 bits of 696089857Sobrien 32-bit value when shifting into place. 696189857Sobrien 696289857Sobrien2000-04-01 Ian Lance Taylor <ian@zembu.com> 696389857Sobrien 696489857Sobrien * app.c: Add ATTRIBUTE_UNUSED as needed. 696589857Sobrien * config/tc-ppc.c: Likewise. 696689857Sobrien (ppc_size): Make unsigned long. 696789857Sobrien (ppc_insert_operand): Add casts to avoid warnings. 696889857Sobrien 696989857Sobrien2000-03-31 Nick Clifton <nickc@cygnus.com> 697089857Sobrien 697189857Sobrien * config/tc-d10v.h (md_flush_pending_output): Define. 697289857Sobrien 697389857Sobrien2000-03-29 Nick Clifton <nickc@cygnus.com> 697489857Sobrien 697589857Sobrien * config/tc-sh.h (SEG_NAME): New macro: return the name of a 697689857Sobrien segment. Works for both BFD_ASSEMBLER and others. 697789857Sobrien (SUB_SEGMENT_ALIGN): Use SEG_NAME. 697889857Sobrien 697989857Sobrien2000-03-29 Nick Clifton <nickc@cygnus.com 698089857Sobrien 698189857Sobrien * config/tc-arm.c (tinsns): Add "bal" instruction pattern. 698289857Sobrien 698389857Sobrien2000-03-28 Alan Modra <alan@linuxcare.com.au> 698489857Sobrien 698589857Sobrien * listing.c (LISTING_LHS_WIDTH): Default depends on 698689857Sobrien LISTING_WORD_SIZE. 698789857Sobrien (LISTING_LHS_WIDTH_SECOND): Default to LISTING_LHS_WIDTH. 698889857Sobrien 698989857Sobrien2000-03-27 Ian Lance Taylor <ian@zembu.com> 699089857Sobrien 699189857Sobrien * config/tc-sh.c (md_show_usage): Use backslash before newline in 699289857Sobrien string literal. 699389857Sobrien 699489857Sobrien2000-03-27 Alan Modra <alan@linuxcare.com.au> 699589857Sobrien 699689857Sobrien * config/tc-avr.h (TC_HANDLES_FX_DONE): Define. 699789857Sobrien 699889857Sobrien * config/tc-avr.c (mcu_types): Add missing initialiser. 699989857Sobrien (md_pcrel_from_section): Add prototype. 700089857Sobrien (avr_operand): Remove redundant test of unsigned < 0. 700189857Sobrien (avr_cons_fix_new): Ensure exp_mod_pm zero on function exit. 700289857Sobrien 700389857Sobrien2000-03-27 Denis Chertykov <denisc@overta.ru> 700489857Sobrien 700589857Sobrien * config/tc-avr.c: New file for AVR support. 700689857Sobrien * config/tc-avr.h: Likewise. 700789857Sobrien * configure.in: Add AVR support. 700889857Sobrien * configure: Regenerate. 700989857Sobrien 701089857Sobrien2000-03-26 Timothy Wall <twall@cygnus.com> 701189857Sobrien 701289857Sobrien * gasp.c (macro_op): Add new argument to check_macro call. 701389857Sobrien Macro structure definitions moved to macro.h 701489857Sobrien * sb.h: Add argument to prototype for input_scrub_include_sb. 701589857Sobrien * input-scrub.c (input_scrub_include_sb): Allow disabling of sb 701689857Sobrien nesting checks with an additional flag. 701789857Sobrien (struct input_save): Add flag to indicate whether current sb 701889857Sobrien should be checked for proper macro/conditional nesting. 701989857Sobrien (input_scrub_push/pop): Save/restore nest check flag. 702089857Sobrien (input_scrub_next_buffer): Ditto. Also call end of macro hook if 702189857Sobrien defined. 702289857Sobrien * macro.c (check_macro): Allow caller to retrieve parsed macro 702389857Sobrien information if a pointer is provided. This information may be 702489857Sobrien used by the new macro hooks. 702589857Sobrien * macro.h: Update prototype for check_macro. Macro struct 702689857Sobrien definitions moved here from macro.c/gasp.c. 702789857Sobrien * read.c (read_a_source_file): Add parameter to check_macro call, 702889857Sobrien and pass macro info to the macro hook, if defined. 702989857Sobrien (input_scrub_insert_line): New. Allow insertion of a line of 703089857Sobrien characters into the input stream. 703189857Sobrien (input_scrub_insert_file): New. Allow insertion of an arbitrary 703289857Sobrien file into the input stream. 703389857Sobrien (s_include): Use input_scrub_insert_file. 703489857Sobrien * internals.texi: Document new macro hooks. 703589857Sobrien * as.h: New prototypes added. 703689857Sobrien 703789857Sobrien2000-03-26 Alan Modra <alan@linuxcare.com.au> 703889857Sobrien 703989857Sobrien * config/tc-i386.c: Don't start any as_bad or as_warn message with 704089857Sobrien an initial capital letter. 704189857Sobrien (i386_index_check): Reindent. 704289857Sobrien 704389857Sobrien2000-03-19 Nick Clifton <nickc@cygnus.com> 704489857Sobrien 704589857Sobrien * config/tc-arm.c (md_apply_fix3): Fix bug detecting overflow of pc 704689857Sobrien relative branches. 704789857Sobrien 704889857Sobrien2000-03-17 Thomas de Lellis <tdel@windriver.com> 704989857Sobrien 705089857Sobrien * config/tc-arm.c (do_t_adr): Flag "adr Rd,label" 705189857Sobrien instruction operand bad if Rd > 7 when generating 705289857Sobrien thumb instructions. Prevents for example, 705389857Sobrien "adr r12,label" from silently failing and generating 705489857Sobrien the wrong instruction. 705589857Sobrien 705689857Sobrien2000-03-17 Nick Clifton <nickc@cygnus.com> 705789857Sobrien 705889857Sobrien * config/tc-arm.c (md_apply_fix3): Handle same-section relocations 705989857Sobrien that have a destingation >= 0x400000. 706089857Sobrien Fix compile time warning messages. 706189857Sobrien 706289857Sobrien2000-03-16 J"orn Rennecke <amylaar@cygnus.co.uk> 706389857Sobrien 706489857Sobrien * config/tc-sh.c (md_begin): When encountering insn that are 706589857Sobrien not supported by the current arch, only change the name if 706689857Sobrien its contents are the same as prev_name. 706789857Sobrien (get_specific): If the the architecture doesn't match, fail. 706889857Sobrien 706989857Sobrien2000-03-16 J"orn Rennecke <amylaar@cygnus.co.uk> 707089857Sobrien 707189857Sobrien * config/tc-sh.c (IDENT_CHAR): Define. 707289857Sobrien (parse_reg): Use it instead of isalnum. Put r[0..7]_bank operand 707389857Sobrien matching back where it came from. 707489857Sobrien 707589857Sobrien2000-03-16 J"orn Rennecke <amylaar@cygnus.co.uk> 707689857Sobrien 707789857Sobrien * config/tc-sh.c (md_show_usage): Add description of -dsp. 707889857Sobrien 707989857Sobrien2000-03-15 Jonathan Larmour <jlarmour@redhat.co.uk> 708089857Sobrien 708189857Sobrien * config/tc-sh.c (parse_reg): Match r[0..7]_bank operands before 708289857Sobrien normal operands. 708389857Sobrien 708489857Sobrien2000-03-15 Kazu Hirata <kazu@hxi.com> 708589857Sobrien 708689857Sobrien * config/tc-h8300.c: Add ATTRIBUTE_UNUSED as appropriate. 708789857Sobrien 708889857Sobrien2000-03-13 Hans-Peter Nilsson <hp@axis.se> 708989857Sobrien 709089857Sobrien * expr.c (operand) [case 'f']: When testing if '0f' can start a 709189857Sobrien floating-point-number, make sure 'f' is in FLT_CHARS. 709289857Sobrien 709389857Sobrien2000-03-11 Hans-Peter Nilsson <hp@axis.se> 709489857Sobrien 709589857Sobrien * read.c (TC_IMPLICIT_LCOMM_ALIGNMENT): New default-definition. 709689857Sobrien (s_lcomm_internal): Use it. 709789857Sobrien * doc/internals.texi (CPU backend): Document it. 709889857Sobrien * config/obj-evax.h (TC_IMPLICIT_LCOMM_ALIGNMENT): Set to 2**3 709989857Sobrien bytes. 710089857Sobrien 710189857Sobrien2000-03-10 Geoffrey Keating <geoffk@cygnus.com> 710289857Sobrien 710389857Sobrien * config/tc-mips.c (mips_ip): Don't put stuff in .rodata 710489857Sobrien when embedded-pic. 710589857Sobrien 710689857Sobrien * config/tc-mips.c (SWITCH_TABLE): The ELF embedded-pic 710789857Sobrien implementation doesn't have special handling for switch 710889857Sobrien statements. 710989857Sobrien (macro_build): Allow for code in sections other than .text. 711089857Sobrien (macro): Likewise. 711189857Sobrien (mips_ip): Likewise. 711289857Sobrien (md_apply_fix): Do pc-relative relocation madness for MIPS ELF. 711389857Sobrien Don't perform relocs if we will be outputting them. 711489857Sobrien (tc_gen_reloc): For ELF, just use fx_addnumber for pc-relative 711589857Sobrien relocations. Allow BFD_RELOC_16_PCREL_S2 relocs when 711689857Sobrien embedded-pic. 711789857Sobrien 711889857Sobrien2000-03-09 Catherine Moore <clm@cygnus.com> 711989857Sobrien 712089857Sobrien * config/tc-m32r.c (m32r_fix_adjustable): Look up the 712189857Sobrien relocation type based on the entry in the fixup structure. 712289857Sobrien Put S_IS_EXTERN processing back in. 712389857Sobrien 712489857Sobrien2000-03-08 H.J. Lu (hjl@gnu.org) 712589857Sobrien 712689857Sobrien * Makefile.am (install-exec-tooldir): Depend on 712789857Sobrien install-exec-bindir for parallel make. 712889857Sobrien * Makefile.in: Regenerated. 712989857Sobrien 713089857Sobrien2000-03-06 Nick Clifton <nickc@cygnus.com> 713189857Sobrien 713289857Sobrien * config/tc-m32r.c (struct md_longopts): Add -m32r command line 713389857Sobrien switch. 713489857Sobrien (md_parse_option): Parse -m32r command line switch - disable m32rx 713589857Sobrien compatability. 713689857Sobrien (md_show_usage): Document new option. 713789857Sobrien 713889857Sobrien * doc/Makefile.am (CPU_DOCS): Add c-m32r.texi. 713989857Sobrien * doc/Makefile.in: Regenerate. 714089857Sobrien * doc/c-m32r.texi (M32R-Opts): Document new command line switch. 714189857Sobrien 714289857Sobrien2000-03-02 Michael Meissner <meissner@redhat.com> 714389857Sobrien 714489857Sobrien * config/tc-d30v.c (check_range): Remove code that incorrectly 714589857Sobrien sign extended values where bits < 32. 714689857Sobrien 714789857Sobrien2000-03-02 H.J. Lu (hjl@gnu.org) 714889857Sobrien 714989857Sobrien * configure.in: Support --enable-targets=all on ia32. 715089857Sobrien * configure: Regenerated. 715189857Sobrien 715289857Sobrien2000-03-01 Nick Clifton <nickc@cygnus.com> 715389857Sobrien 715489857Sobrien * gasp.c (do_align): Remove bogus check of alignment value. 715589857Sobrien 715689857Sobrien2000-02-27 Thomas de Lellis <tdel@windriver.com> 715789857Sobrien 715889857Sobrien * config/obj-elf.c (elf_frob_symbol): Remove code which when 715989857Sobrien TC_PPC was defined forced the type of a symbol with no other type 716089857Sobrien to be BSF_OBJECT. 716189857Sobrien 716289857Sobrien2000-02-27 Hans-Peter Nilsson <hp@axis.com> 716389857Sobrien 716489857Sobrien * doc/internals.texi (CPU backend): Mention that 716589857Sobrien line_separator_chars do not break up comments. Fix typos for 716689857Sobrien LEX_AT and LEX_NAME descriptions. Document operands for 716789857Sobrien TC_EQUAL_IN_INSN, md_operand and md_section_align. Correct 716889857Sobrien description of md_create_short_jump usage. Document argument for 716989857Sobrien md_undefined_symbol. 717089857Sobrien 717189857Sobrien2000-02-27 Jakub Jelinek <jakub@redhat.com> 717289857Sobrien 717389857Sobrien * config/tc-sparc.c (OPTION_UNDECLARED_REGS): New option. 717489857Sobrien (md_parse_option): Handle it. 717589857Sobrien (md_show_usage): Document it. 717689857Sobrien 717789857Sobrien2000-02-27 Ian Lance Taylor <ian@zembu.com> 717889857Sobrien 717989857Sobrien * config/tc-alpha.c (md_assemble): Accept `1' and `9' in an 718089857Sobrien opcode, for the instruction `pal19'. From Andrea Arcangeli 718189857Sobrien <andrea@suse.de>. 718289857Sobrien 718389857Sobrien2000-02-26 Alan Modra <alan@spri.levels.unisa.edu.au> 718489857Sobrien 718589857Sobrien * config/tc-i386.c (i386_immediate): Move constant operand sizing 718689857Sobrien from here.. 718789857Sobrien (md_assemble): To here, before template operands are matched. 718889857Sobrien Also ensure a constant immediate is sign extended when we know the 718989857Sobrien size is at most 16 bits. This is to catch cases like "add 719089857Sobrien $0xffc0,%ax" where we don't know the size, and thus that the 719189857Sobrien immediate can be represented as Imm8S until after parsing the 719289857Sobrien register operand. 719389857Sobrien (i386_displacement): Similarly sign extend 16 bit constant 719489857Sobrien displacements. 719589857Sobrien (md_assemble): Relax 16-bit jump constant range check to suit sign 719689857Sobrien extended displacements. 719789857Sobrien 719889857Sobrien2000-02-26 Andreas Jaeger <aj@suse.de> 719989857Sobrien 720089857Sobrien * doc/c-mips.texi (MIPS Opts): Fix typo in last patch. 720189857Sobrien 720289857Sobrien2000-02-25 Alan Modra <alan@spri.levels.unisa.edu.au> 720389857Sobrien 720489857Sobrien * config/tc-i386.c (md_assemble): Don't swap intersegment jmp and 720589857Sobrien call operands when intel_syntax. 720689857Sobrien (intel_float_operand): Return 2 for "fi...". 720789857Sobrien (i386_operand_modifier): Change "DWORD PTR" test to suit above. 720889857Sobrien Return SHORT_MNEM_SUFFIX for "WORD PTR" when "fi...". Revert 720989857Sobrien earlier "SHORT" change. 721089857Sobrien (md_assemble): When determining suffix from Regs, exclude 721189857Sobrien InOutPortReg. 721289857Sobrien 721389857Sobrien2000-02-24 Nick Clifton <nickc@cygnus.com> 721489857Sobrien 721589857Sobrien * configure: Add arm-wince, mips-pe and sh-pe targets. 721689857Sobrien * configure: Regenerate. 721789857Sobrien 721889857Sobrien * config/obj-coff.h (COFF_WITH_PE): Define for mips-pe and 721989857Sobrien sh-pe targets. 722089857Sobrien (TARGET_FORMAT): Set to "pe-shl" for the sh-pe target and to 722189857Sobrien "pe-mips" for the mips-pe target. 722289857Sobrien 722389857Sobrien * config/tc-arm.c (insns): Change displacement encoded in BL 722489857Sobrien and B instructions if the target port is arm-wince. 722589857Sobrien (do_ldst): Do not bias the relocation offset if the target 722689857Sobrien port is arm-wince. 722789857Sobrien (md_pcrel_from): Add in missing relocation offset bias if the 722889857Sobrien target os arm-wince. 722989857Sobrien 723089857Sobrien * config/tc-mips.c (mips_target_format): Support COFF flavour. 723189857Sobrien (md_begin): Disable -G support for mips-pe target. 723289857Sobrien (md_apply_fix): Treat BFD_RELOC_RVA reloc as BFD_RELOC_32. 723389857Sobrien * config/tc-mips.h (USE_GLOBAL_POINTER_OPT): Add support for 723489857Sobrien COFF flavour. 723589857Sobrien 723689857Sobrien * config/tc-sh.c (md_begin): sh-pe target is little endian. 723789857Sobrien * config/tc-sh.h (SUB_SEGMENT_ALIGN): If using a BFD 723889857Sobrien assembler, just set the alignment to 4. 723989857Sobrien 724089857Sobrien * config/te-wince-pe.h: New file for WinCE targets. Define 724189857Sobrien TE_WINCE. 724289857Sobrien 724389857Sobrien2000-02-25 Alan Modra <alan@spri.levels.unisa.edu.au> 724489857Sobrien 724589857Sobrien * config/tc-i386.c (md_assemble): Swap segments too for intel mode 724689857Sobrien string instructions. 724789857Sobrien (i386_operand_modifier): Set i.suffix = WORD_MNEM_SUFFIX for SHORT. 724889857Sobrien (i386_intel_memory_operand): After finding a segment override, 724989857Sobrien check again for no `[' before looking for a displacement. Bomb if 725089857Sobrien more than one displacement rather than silently discarding the 725189857Sobrien second and subsequent ones. Free strings malloc'd by 725289857Sobrien build_displacement_string. 725389857Sobrien 725489857Sobrien2000-02-24 Catherine Moore <clm@cygnus.com> 725589857Sobrien 725689857Sobrien * config/obj-som.c (obj_pseudo_table): Add "weak". 725789857Sobrien (obj_som_weak): New routine. 725889857Sobrien 725989857Sobrien2000-02-24 Alan Modra <alan@spri.levels.unisa.edu.au> 726089857Sobrien 726189857Sobrien * config/tc-i386.c (union i386_op): New. 726289857Sobrien (struct _i386_insn): Delete disps[], imms[], regs[]. Add op[]. 726389857Sobrien Throughout file replace occurences of disps[n], imms[n], regs[n] 726489857Sobrien with equivalent op[n].disps, op[n].imms, op[n].regs. Simplify 726589857Sobrien intel mode operand swapping. Add assert in regKludge and 726689857Sobrien fake_zero_displacement code. Test i.types[n] when outputting 726789857Sobrien displacements and immediates. Combine output of Disp16 with 726889857Sobrien Disp32. 726989857Sobrien (md_assemble): Don't try to fix broken UNIXWARE_COMPAT opcodes 727089857Sobrien when in intel mode by (not) reversing fsub and fdiv operands 727189857Sobrien before the template search. This fails for single operand 727289857Sobrien shorthand forms of the instruction, and if UNIXWARE_COMPAT is 727389857Sobrien undefined. Instead fix the base_opcode after we've found the 727489857Sobrien template. Move base_opcode xor with found_reverse_match from 727589857Sobrien opcode output code to before this fix so we test for the correct 727689857Sobrien opcodes. 727789857Sobrien (md_assemble): Don't use strcmp when deciding to ignore the suffix 727889857Sobrien check in intel mode. Instead compare opcodes. 727989857Sobrien 728089857Sobrien * config/tc-i386.h (TC_RELOC): Delete. 728189857Sobrien * config/tc-i386.c (TC_RELOC): Delete. Replace usage of TC_RELOC 728289857Sobrien with equivalent call to reloc. 728389857Sobrien 728489857Sobrien * as.h (flag_m68k_mri): Move declaration after target include, and 728589857Sobrien only declare when TC_M68K defined. Define as zero otherwise. 728689857Sobrien (LABELS_WITHOUT_COLONS, NO_PSEUDO_DOT): If undefined, define as 0. 728789857Sobrien * app.c (scrub_m68k_mri): Declare only when TC_M68K defined. 728889857Sobrien Define as zero otherwise. 728989857Sobrien (do_scrub_begin): Use m68k_mri parameter only when TC_M68K defined. 729089857Sobrien (struct app_save): Declare scrub_m68k_mri only when TC_M68K. 729189857Sobrien (app_push, app_pop): Save scrub_m68k_mri only when TC_M68K. 729289857Sobrien (do_scrub_chars): Use LABELS_WITHOUT_COLONS directly rather than 729389857Sobrien testing whether defined. 729489857Sobrien * cond.c (ignore_input): Use NO_PSEUDO_DOT directly. 729589857Sobrien * expr.c (operand): #ifdef unused case labels when TC_M68K undefined. 729689857Sobrien * read.c: Use LABELS_WITHOUT_COLONS and NO_PSEUDO_DOT directly 729789857Sobrien rather than testing whether defined. 729889857Sobrien (s_mri): Set flag_m68k_mri only when TC_M68K defined. 729989857Sobrien (parse_mri_cons): Declare and use only when TC_M68K. 730089857Sobrien * config/tc-hppa.h (LABELS_WITHOUT_COLONS): Define as 1. 730189857Sobrien * config/tc-m68k.h (NO_PSEUDO_DOT): Define as 1. 730289857Sobrien * config/tc-m88k.h (NO_PSEUDO_DOT): Define as 1. 730389857Sobrien 730489857Sobrien * NEWS: Mention IBM 370 support. 730589857Sobrien 730689857Sobrien2000-02-23 Richard Henderson <rth@cygnus.com> 730789857Sobrien 730889857Sobrien * config/tc-i386.c (md_assemble): When swapping operands for 730989857Sobrien intel_syntax, assume everything that's not Imm or Disp is a 731089857Sobrien register. 731189857Sobrien 731289857Sobrien2000-02-23 Linas Vepstas <linas@linas.org> 731389857Sobrien 731489857Sobrien * config/tc-i370.c, config/tc-i370.h: New files. 731589857Sobrien * Makefile.am: Add support for Linux/IBM 370. 731689857Sobrien * configure.in: Likewise. 731789857Sobrien * app.c (do_scrub_begin): Don't lex single quote when TC_I370. 731889857Sobrien * config/obj-elf.c: Include elf/i370.h 731989857Sobrien (obj_elf_section): Don't do anything special for flag_mri if TC_I370. 732089857Sobrien 732189857Sobrien * Makefile.in: Regenerate. 732289857Sobrien * configure: Regenerate. 732389857Sobrien 732489857Sobrien * doc/c-i370.texi: New file. 732589857Sobrien * doc/all.texi: Include it. 732689857Sobrien * doc/as.texinfo: And here. 732789857Sobrien * doc/Makefile.am(CPU_DOCS): Add c-i370.texi. 732889857Sobrien * doc/Makefile.in: Regenerate. 732989857Sobrien 733089857Sobrien2000-02-19 Michael Meissner <meissner@redhat.com> 733189857Sobrien 733289857Sobrien * config/tc-d30v.c (parallel_ok): Use FLAG_NOT_WITH_ADDSUBppp to 733389857Sobrien determine if an instruction can be used in parallel with an ADDppp 733489857Sobrien or SUBppp instruction. 733589857Sobrien 733689857Sobrien2000-02-22 Andrew Haley <aph@cygnus.com> 733789857Sobrien 733889857Sobrien * doc/c-mips.texi (MIPS Opts): Document -mgp32 and -mgp64. 733989857Sobrien 734089857Sobrien2000-02-22 Andrew Haley <aph@cygnus.com> 734189857Sobrien 734289857Sobrien * config/tc-mips.c (mips_gp32): New variable. 734389857Sobrien (macro_build) Use mips_gp32. 734489857Sobrien (mips_ip): Ditto. 734589857Sobrien (md_longopts): Add "-mgp32" and "-mgp64". 734689857Sobrien (md_parse_option): Add OPTION_GP32 and OPTION_GP64. 734789857Sobrien 734889857Sobrien (OPTION_M7900): Change offset 734989857Sobrien (OPTION_NO_M7900): Ditto. 735089857Sobrien 735189857Sobrien2000-02-22 Alexandre Oliva <oliva@lsd.ic.unicamp.br> 735289857Sobrien 735389857Sobrien * config/obj-coff.c (add_lineno): Accept non-positive lineno with 735489857Sobrien warning, and bump it to 1. 735589857Sobrien 735689857Sobrien2000-02-22 Ian Lance Taylor <ian@zembu.com> 735789857Sobrien 735889857Sobrien From Brad Lucier <lucier@math.purdue.edu>: 735989857Sobrien * dwarf2dbg.c (print_stats): Add cast to force printf argument to 736089857Sobrien match format. 736189857Sobrien 736289857Sobrien2000-02-21 Catherine Moore <clm@cygnus.com> 736389857Sobrien 736489857Sobrien * config/tc-mips.c (MF_HILO_INSN): Define. 736589857Sobrien (mips_7000_hilo_fix): Declare. 736689857Sobrien (append_insn): Conditionally insert nops after an mfhi/mflo insn. 736789857Sobrien (md_parse_option): Check for 7000_HILO_FIX options. 736889857Sobrien (OPTION_M7000_HILO_FIX): Define. 736989857Sobrien (OPTION_NO_M7000_HILO_FIX): Define. 737089857Sobrien * doc/c-mips.texi (-mfix7000): Describe. 737189857Sobrien 737289857Sobrien2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au> 737389857Sobrien 737489857Sobrien * listing.c (print_lines): Remove unused variable `end'. 737589857Sobrien 737689857Sobrien * config/tc-i386.c (md_assemble): Use `reloc()' to select reloc 737789857Sobrien type for JumpInterSegment output. Use enum bfd_reloc_code_real for 737889857Sobrien reloc_type when BFD_ASSEMBLER. 737989857Sobrien (md_estimate_size_before_relax): Use enum bfd_reloc_code_real for 738089857Sobrien reloc_type when BFD_ASSEMBLER. Move common code out of switch 738189857Sobrien statement and quell signed vs. unsigned comparison warning. 738289857Sobrien 738389857Sobrien2000-02-18 Nick Clifton <nickc@cygnus.com> 738489857Sobrien 738589857Sobrien * config/tc-d10v.c (find_opcode): Add a symbol's value to 738689857Sobrien the computed frag offset, rather than overwriting it. 738789857Sobrien 738889857Sobrien2000-02-17 J"orn Rennecke <amylaar@cygnus.co.uk> 738989857Sobrien 739089857Sobrien * config/tc-sh.c ("elf/sh.h"): Include. 739189857Sobrien (sh_dsp, valid_arch, reg_x, reg_y, reg_efg): New static variables. 739289857Sobrien (md.begin): Initialize target_arch. 739389857Sobrien Only include opcodes in has table that match selected architecture. 739489857Sobrien (parse_reg): Recognize register names for sh-dsp. 739589857Sobrien (parse_at): Recognize post-modify addressing. 739689857Sobrien (get_operands): The leading space is now optional. 739789857Sobrien (get_specific): Remove FDREG_N support. Add support for sh-dsp 739889857Sobrien arguments. Update valid_arch. 739989857Sobrien (build_Mytes): Add support for SDT_REG_N. 740089857Sobrien (find_cooked_opcode): New function, broken out of md_assemble. 740189857Sobrien (assemble_ppi, sh_elf_final_processing): New functions. 740289857Sobrien (md_assemble): Use find_cooked_opcode and assemble_ppi. 740389857Sobrien (md_longopts, md_parse_option): New option: -dsp. 740489857Sobrien * config/tc-sh.h (elf_tc_final_processing): Define. 740589857Sobrien (sh_elf_final_processing): Declare. 740689857Sobrien 740789857Sobrien2000-02-11 Jeffrey A Law (law@cygnus.com) 740889857Sobrien 740989857Sobrien * config/tc-hppa.c (pa_build_unwind_subspace): Use subseg_new to create 741089857Sobrien the unwinder subspace. Save the current seg/subseg before creating 741189857Sobrien the new seg/subseg. 741289857Sobrien 741389857Sobrien2000-02-10 Nick Clifton <nickc@cygnus.com> 741489857Sobrien 741589857Sobrien * config/tc-mcore.c (INST_BYTE0): Redefine to handle big and 741689857Sobrien little endian targets. 741789857Sobrien (INST_BYTE1): Redefine to handle big and little endian 741889857Sobrien targets. 741989857Sobrien (cpu_type): New type: Select between M340 and M210. 742089857Sobrien (parse_psrmod): New function: Parse the PSRCLR and PSRSET 742189857Sobrien instructions of the M340. 742289857Sobrien (md_assemble): Add support for the MULSH and OPSR classes of 742389857Sobrien instructions. 742489857Sobrien (md_atof): Add support for little endian targets. 742589857Sobrien (md_parse_option): Add support for -EL, -EB and -mcpu command 742689857Sobrien line switches. 742789857Sobrien (md_convert_frag): Add support for little endian targets. 742889857Sobrien (md_apply_fix3): Add support for little endian targets. 742989857Sobrien (md_number_to_chars): Add support for little endian targets. 743089857Sobrien 743189857Sobrien2000-02-10 Timothy Wall <twall@redhat.com> 743289857Sobrien 743389857Sobrien * read.c (read_a_source_file): If TC_START_LABEL_WITHOUT_COLON is 743489857Sobrien defined, use it to verify the symbol just read should be a label. 743589857Sobrien 743689857Sobrien2000-02-10 Timothy Wall <twall@redhat.com> 743789857Sobrien 743889857Sobrien * app.c (do_scrub_chars): Handle "||" for parallel instructions 743989857Sobrien when DOUBLEBAR_PARALLEL is defined. Avoid stripping whitespace 744089857Sobrien around colons when KEEP_WHITE_AROUND_COLON is defined. 744189857Sobrien * doc/internals.texi (CPU backend): Document DOUBLEBAR_PARALLEL 744289857Sobrien and KEEP_WHITE_AROUND_COLON. 744389857Sobrien 744489857Sobrien2000-02-08 Timothy Wall <twall@redhat.com> 744589857Sobrien 744689857Sobrien * read.c (s_rept): Call do_repeat, which abstracts the repeat 744789857Sobrien logic. 744889857Sobrien (do_repeat): New. Abstract repeat logic so that a "break" can be 744989857Sobrien implemented. 745089857Sobrien (end_repeat): New. Provide support for a "break" out of the 745189857Sobrien repeat loop. 745289857Sobrien * read.h: Add prototypes for new functions. 745389857Sobrien 745489857Sobrien2000-02-08 Timothy Wall <twall@redhat.com> 745589857Sobrien 745689857Sobrien * doc/internals.texi: Document NUMBERS_WITH_SUFFIX macro. 745789857Sobrien * as.h: Provide a default NUMBERS_WITH_SUFFIX definition (zero). 745889857Sobrien * expr.c: Handle numbers with suffixes if NUMBERS_WITH_SUFFIX is 745989857Sobrien non-zero. 746089857Sobrien 746189857Sobrien2000-02-08 Timothy Wall <twall@redhat.com> 746289857Sobrien 746389857Sobrien * read.c: Added elseif to directives table. 746489857Sobrien * read.h: Added prototype for s_elseif. 746589857Sobrien * doc/as.texinfo: Added description for elseif. 746689857Sobrien * cond.c (s_elseif): New function 746789857Sobrien 746889857Sobrien2000-02-04 Timothy Wall <twall@redhat.com> 746989857Sobrien 747089857Sobrien * listing.c (print_lines): Remove conditionals causing bug in 747189857Sobrien listings. 747289857Sobrien 747389857Sobrien2000-02-03 Timothy Wall <twall@cygnus.com> 747489857Sobrien 747589857Sobrien * as.h: Define OCTETS_PER_BYTE and OCTETS_PER_BYTE_POWER 747689857Sobrien default values. 747789857Sobrien * frags.c (frag_new): Calculate fr_fix in octets 747889857Sobrien (frag_now_fix) Return offset as target address offset (bytes). 747989857Sobrien (frag_now_fix_octets) New - Return offset in octets (8-bit 748089857Sobrien quantities). 748189857Sobrien * frags.h: Added prototype for frag_now_fix_octets(). 748289857Sobrien Distinguish between octets and bytes in field descriptions. 748389857Sobrien * listing.c (calc_hex): Account for octets vs bytes when 748489857Sobrien printing addresses/offsets. 748589857Sobrien (print_lines) Ditto. Also, if LISTING_WORD_SIZE is not 1, and 748689857Sobrien target is little-endian, print the octets in a word in big-endian 748789857Sobrien order so that the display looks like a proper hexadecimal number, 748889857Sobrien instead of having the octets reversed. 748989857Sobrien * read.c (do_align): When recording alignment, alignment power 749089857Sobrien should be in terms of target bytes (minimum addressible unit) 749189857Sobrien instead of octets. 749289857Sobrien (do_org) Convert ORG target address (byte) argument into an 749389857Sobrien octet offset when generating a variable fragment. 749489857Sobrien * symbols.c (resolve_symbol_value): Symbol final value 749589857Sobrien converted to a target address offset (bytes) from its octet offset. 749689857Sobrien * config/obj-coff.c (coff_frob_symbol): Symbol target address 749789857Sobrien offset (bytes) is adjusted by the frag offset (octets) converted 749889857Sobrien to bytes. 749989857Sobrien (coff_frob_section) Section alignment power is in terms of bytes; 750089857Sobrien convert it to an octet alignment power when calculating size (and 750189857Sobrien size mask) in octets. Don't modify the section size in order to 750289857Sobrien "align" it for TI COFF, since that format has a different method 750389857Sobrien for storing alignment information. 750489857Sobrien 750589857Sobrien2000-02-01 Timothy Wall <twall@cygnus.com> 750689857Sobrien 750789857Sobrien * stabs.c (generate_asm_file): Escape backslashes in stabs file 750889857Sobrien entries, matching the way GCC generates them. If not escaped, the 750989857Sobrien filename is encoded incorrectly. 751089857Sobrien 751189857Sobrien2000-01-31 Nick Clifton <nickc@cygnus.com> 751289857Sobrien 751389857Sobrien * config/tc-arm.c (reg_table): Add support for ATPCS register 751489857Sobrien naming conventions. 751589857Sobrien 751689857Sobrien2000-01-31 Geoff Keating <geoffk@cygnus.com> 751789857Sobrien 751889857Sobrien * config/obj-coff.h (OBJ_COPY_SYMBOL_ATTRIBUTES): Don't define if 751989857Sobrien already defined. 752089857Sobrien * config/tc-ppc.h [OBJ_XCOFF] (OBJ_COPY_SYMBOL_ATTRIBUTES): 752189857Sobrien New macro. 752289857Sobrien * config/tc-ppc.c (ppc_fix_adjustable): Don't look at the frag 752389857Sobrien of a symbol when we really care about its value. 752489857Sobrien 752589857Sobrien2000-01-19 Chandra Chavva <cchavva@cygnus.com> 752689857Sobrien 752789857Sobrien * config/tc-mcore.c (md_assemble): Give warning message if 752889857Sobrien operands passes to instruction are more than the spec. 752989857Sobrien 753089857Sobrien2000-01-27 Thomas de Lellis <tdel@windriver.com> 753189857Sobrien 753289857Sobrien * config/tc-arm.c (armadjust_symtab): If the assembler is in 753389857Sobrien Thumb mode but the label seen was not declared as '.thumb_func' 753489857Sobrien then set the ST_INFO type to STT_ARM_16BIT mode. This allows 753589857Sobrien correct disassembly of Thumb code bounded by non function labels. 753689857Sobrien 753789857Sobrien2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au> 753889857Sobrien 753989857Sobrien * Makefile.am (MULTI_CFILES): Add config/e-i386aout.c 754089857Sobrien Add dependencies for e-i386aout.o. Fix 2 comment lines. 754189857Sobrien 754289857Sobrien * Makefile.in: Same here. 754389857Sobrien Update copyright. 754489857Sobrien 754589857Sobrien * configure.in: Set bfd_gas for i386-aout when primary target 754689857Sobrien is bfd. Handle i386aout emulation. Don't use te_file=multi, as 754789857Sobrien we may need the primary te_file. Remove incorrect comment. 754889857Sobrien 754989857Sobrien * configure: Regenerate. 755089857Sobrien 755189857Sobrien * config/e-i386aout.c: New file. 755289857Sobrien 755389857Sobrien * as.c (USE_EMULATIONS): Move to before print_version_id. 755489857Sobrien (struct emulation): Add i386aout. 755589857Sobrien (show_usage): Split text strings. Reformat -a text. Add --em 755689857Sobrien help. 755789857Sobrien Update copyright. 755889857Sobrien 755989857Sobrien * obj.h (struct format_ops): Add s_get_other and s_get_desc. 756089857Sobrien (aout_format_ops): New. 756189857Sobrien Update copyright. 756289857Sobrien 756389857Sobrien * read.c (s_lcomm_internal): Rewrite OBJ_AOUT,OBJ_BOUT 756489857Sobrien preprocessor conditional and add aout USE_EMULATIONS tests. 756589857Sobrien (read_a_source_file): Don't pass error strings to printf as 756689857Sobrien format arg. 756789857Sobrien Update copyright. 756889857Sobrien 756989857Sobrien * gasp.c (exp_get_abs): Don't pass error strings to printf as 757089857Sobrien format arg. 757189857Sobrien (do_data): Same here. 757289857Sobrien (process_file): And here. 757389857Sobrien Update copyright. 757489857Sobrien 757589857Sobrien * symbols.c (colon): Rewrite "already defined" fatal message 757689857Sobrien code for aout with USE_EMULATIONS. 757789857Sobrien Update copyright. 757889857Sobrien 757989857Sobrien * config/obj-aout.c (OBJ_HEADER): Define. 758089857Sobrien (obj_pseudo_table): Rename to aout_pseudo_table. Init all 758189857Sobrien fields of sentinel. 758289857Sobrien (obj_aout_frob_symbol): Expand S_GET_DESC, S_GET_TYPE, 758389857Sobrien S_GET_OTHER, S_SET_TYPE macros since we don't need obj-multi 758489857Sobrien forms here. 758589857Sobrien (obj_aout_type): Expand S_SET_OTHER here too. 758689857Sobrien (obj_read_begin_hook): Remove. 758789857Sobrien (aout_pop_insert): New. 758889857Sobrien (obj_aout_s_get_other): New. 758989857Sobrien (obj_aout_s_get_desc): New. 759089857Sobrien (aout_format_ops): New. 759189857Sobrien Update copyright. 759289857Sobrien 759389857Sobrien * config/obj-aout.h (obj_pop_insert): Define so non-multi usage 759489857Sobrien gets aout_pseudo_table. 759589857Sobrien (aout_pseudo_table): Declare. 759689857Sobrien (obj_read_begin_hook): Define. 759789857Sobrien Update copyright. 759889857Sobrien 759989857Sobrien * config/obj-coff.c (obj_pseudo_table): Rename to 760089857Sobrien coff_pseudo_table. 760189857Sobrien (coff_pop_insert): Use coff_pseudo_table. 760289857Sobrien (coff_sec_sym_ok_for_reloc): Remove. 760389857Sobrien (coff_format_ops): Add 0 entries for s_get_size, s_set_size, 760489857Sobrien and comment all zero entries and remove #if 0 code. 760589857Sobrien Update copyright. 760689857Sobrien 760789857Sobrien * config/obj-coff.h (obj_pop_insert): Define. 760889857Sobrien (coff_pseudo_table): Declare. 760989857Sobrien Update copyright. 761089857Sobrien 761189857Sobrien * config/obj-ecoff.c (ecoff_format_ops): Add 0 entries for 761289857Sobrien s_get_size, s_set_size. Comment all zero entries. 761389857Sobrien Update copyright. 761489857Sobrien 761589857Sobrien * config/obj-elf.c (elf_s_get_other): New function. 761689857Sobrien (obj_read_begin_hook): Rename to elf_obj_read_begin_hook. 761789857Sobrien (obj_symbol_new_hook): Rename to elf_obj_symbol_new_hook. 761889857Sobrien (elf_format_ops): Add elf_s_get_other, 0 s_get_size entry, and 761989857Sobrien comment. 762089857Sobrien (obj_elf_parse_section_letters): Don't pass error strings to 762189857Sobrien printf as format arg. 762289857Sobrien Update copyright. 762389857Sobrien 762489857Sobrien * config/obj-elf.h (ECOFF_DEBUGGING): Define when 762589857Sobrien OBJ_MAYBE_ECOFF. 762689857Sobrien (elf_s_get_other): Declare. 762789857Sobrien (S_GET_OTHER) Define as elf_s_get_other if not already 762889857Sobrien defined. 762989857Sobrien (S_SET_OTHER): Only define when not already defined. 763089857Sobrien (elf_obj_read_begin_hook): Declare. 763189857Sobrien (obj_read_begin_hook): Define. 763289857Sobrien (elf_obj_symbol_new_hook): Declare. 763389857Sobrien (obj_symbol_new_hook): Define. 763489857Sobrien Update copyright. 763589857Sobrien 763689857Sobrien * config/obj-multi.h: Add copyright header and protect against 763789857Sobrien multiple inclusion. Add * to all function pointers. 763889857Sobrien (OBJ_HEADER): If defined, include it rather than other defines 763989857Sobrien in this file. 764089857Sobrien (obj_frob_file_after_relocs): Test for NULL. 764189857Sobrien (obj_symbol_new_hook): Here too. 764289857Sobrien (obj_sec_sym_ok_for_reloc): And here. 764389857Sobrien (S_GET_OTHER): Define. 764489857Sobrien (S_GET_DESC): Define. 764589857Sobrien (ECOFF_DEBUGGING): Remove as it's done in obj-elf.h 764689857Sobrien (OBJ_MAYBE_ELF): Update comment. 764789857Sobrien 764889857Sobrien * config/tc-i386.c (i386_immediate): Add OBJ_MAYBE_AOUT to 764989857Sobrien OBJ_AOUT preprocessor conditional and handle emulation by 765089857Sobrien testing OUTPUT_FLAVOR. 765189857Sobrien (i386_displacement): Here too. 765289857Sobrien (md_section_align): Similarly here. 765389857Sobrien (i386_target_format): Conditionally compile when more than one 765489857Sobrien of OBJ_MAYBE_{ELF,COFF,AOUT} defined. Add aout case. 765589857Sobrien (i386_immediate): Fix error message for aout BFD_ASSMBLER. 765689857Sobrien (i386_displacement): Here too. 765789857Sobrien Update copyright. 765889857Sobrien 765989857Sobrien * config/tc-i386.h (AOUT_TARGET_FORMAT): Define for each TE_*. 766089857Sobrien Define TARGET_FORMAT for aout only when not multi. 766189857Sobrien Update copyright. 766289857Sobrien 766389857Sobrien * config/te-multi.h: Delete file as it's identical to te-generic.h 766489857Sobrien 766589857Sobrien2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au> 766689857Sobrien 766789857Sobrien * config/tc-i386.h (DWORD_MNEM_SUFFIX): Delete. 766889857Sobrien * config/tc-i386.c (DWORD_MNEM_SUFFIX): Rename all occurrences to 766989857Sobrien LONG_MNEM_SUFFIX. 767089857Sobrien 767189857Sobrien * config/tc-i386.h (INTEL_DWORD_MNEM_SUFFIX): Rename to 767289857Sobrien DWORD_MNEM_SUFFIX. 767389857Sobrien * config/tc-i386.c (INTEL_DWORD_MNEM_SUFFIX): Here too. Fix some 767489857Sobrien comments. 767589857Sobrien 767689857Sobrien2000-01-13 Clinton Popetz <cpopetz@cygnus.com> 767789857Sobrien 767889857Sobrien * config/tc-mips.c (mips_do_align): New function. 767989857Sobrien * config/tc-mips.h (md_do_align): Define. 768089857Sobrien 768189857Sobrien2000-01-10 Philip Blundell <philb@gnu.org> 768289857Sobrien 768389857Sobrien * doc/c-arm.texi (ARM Options): Fix typo. 768489857Sobrien (ARM-Chars): Correct description of `#'. Mention that `;' is a 768589857Sobrien line separator for Linux. 768689857Sobrien * doc/as.texinfo (Comments): Mention the ARM. 768789857Sobrien 768889857Sobrien2000-01-10 Philip Blundell <pb@futuretv.com> 768989857Sobrien 769089857Sobrien * configure.in (arm*-*-conix*): New target. 769189857Sobrien (arm*-*-linux-gnu*): Match instead of arm-*-linux* and 769289857Sobrien armv*-*-linux-gnu. 769389857Sobrien * configure: Regenerate. 769489857Sobrien 769589857Sobrien2000-01-03 Martin v. Loewis <loewis@informatik.hu-berlin.de> 769689857Sobrien 769789857Sobrien * config/obj-elf.c (elf_pseudo_table): Define visibility pseudos. 769889857Sobrien (obj_elf_visibility): New function. 769989857Sobrien 770089857Sobrien * doc/as.texinfo (Visibility): New node: document visibility 770189857Sobrien pseudo ops. 770289857Sobrien 770389857SobrienFor older changes see ChangeLog-9899 7704218822Sdim 7705218822SdimLocal Variables: 7706218822Sdimmode: change-log 7707218822Sdimleft-margin: 8 7708218822Sdimfill-column: 74 7709218822Sdimversion-control: never 7710218822SdimEnd: 7711