1*ed0d50c3Schristos2001-12-31 Richard Henderson <rth@redhat.com> 2*ed0d50c3Schristos 3*ed0d50c3Schristos * config/tc-ia64.c (errata_nop_necessary_p): Prototype. 4*ed0d50c3Schristos (make_unw_section_name): Constify local variables. 5*ed0d50c3Schristos 6*ed0d50c3Schristos * config/tc-ia64.c (has_suffix_p): New. 7*ed0d50c3Schristos (note_register_values): Use it instead of strstr. 8*ed0d50c3Schristos 9*ed0d50c3Schristos2001-12-31 Jeffrey A Law (law@redhat.com) 10*ed0d50c3Schristos 11*ed0d50c3Schristos * config/tc-hppa.c (pa_ip): Handle new 'c' mode completers, 12*ed0d50c3Schristos 'X', 'M', and 'A'. 13*ed0d50c3Schristos 14*ed0d50c3Schristos2001-12-21 Jakub Jelinek <jakub@redhat.com> 15*ed0d50c3Schristos 16*ed0d50c3Schristos * config/tc-sparc.h (TC_PARSE_CONS_EXPRESSION): Define. 17*ed0d50c3Schristos (sparc_cons): Provide prototype. 18*ed0d50c3Schristos * config/tc-sparc.c (tc_gen_reloc): Handle BFD_RELOC_*_PCREL and 19*ed0d50c3Schristos BFD_RELOC_SPARC_PLT{32,64}. Enumerate for which relocs 20*ed0d50c3Schristos reloc->addend = fixp->fx_addnumber shouldn't be done instead of 21*ed0d50c3Schristos enumarating for which pc relative ones it should be done. 22*ed0d50c3Schristos (sparc_cons_special_reloc): New variable. 23*ed0d50c3Schristos (sparc_cons): New function. 24*ed0d50c3Schristos (cons_fix_new_sparc): Use sparc_cons_special_reloc. 25*ed0d50c3Schristos 26*ed0d50c3Schristos2001-12-20 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 27*ed0d50c3Schristos Daniel Jacobowitz <drow@mvista.com> 28*ed0d50c3Schristos 29*ed0d50c3Schristos * config/tc-mips.c (file_mips_gp32): Initialize to invalid value. 30*ed0d50c3Schristos (file_mips_fp32): Likewise. 31*ed0d50c3Schristos (md_begin): Compatibility handling for -mipsN option. 32*ed0d50c3Schristos 33*ed0d50c3Schristos2001-12-20 Alexandre Oliva <aoliva@redhat.com> 34*ed0d50c3Schristos 35*ed0d50c3Schristos * config/tc-sh.c (parse_at): Reject @(r0) and @(r0,). 36*ed0d50c3Schristos 37*ed0d50c3Schristos2001-12-20 matthew green <mrg@redhat.com> 38*ed0d50c3Schristos 39*ed0d50c3Schristos * config/tc-ppc.c (md_parse_option): Make -maltivec default 40*ed0d50c3Schristos to generating PowerPC instructions. 41*ed0d50c3Schristos 42*ed0d50c3Schristos2001-12-20 Jason Thorpe <thorpej@wasabisystems.com> 43*ed0d50c3Schristos 44*ed0d50c3Schristos * configure.in (mips-dec-netbsd*): Delete. 45*ed0d50c3Schristos * configure: Regenerate. 46*ed0d50c3Schristos 47*ed0d50c3Schristos * configure.in (arm-*-netbsdelf*): Add target. 48*ed0d50c3Schristos * configure: Regenerate. 49*ed0d50c3Schristos 50*ed0d50c3Schristos2001-12-18 Nick Clifton <nickc@cambridge.redhat.com> 51*ed0d50c3Schristos 52*ed0d50c3Schristos * config/tc-mips.h (TC_HANDLE_FX_DONE): Remove redundant 53*ed0d50c3Schristos definition. 54*ed0d50c3Schristos 55*ed0d50c3Schristos2001-12-18 Niibe Yutaka <gniibe@m17n.org> 56*ed0d50c3Schristos 57*ed0d50c3Schristos * configure.in (assign object format): Bug fix for setting 58*ed0d50c3Schristos endian. 59*ed0d50c3Schristos * configure: Regenerate. 60*ed0d50c3Schristos 61*ed0d50c3Schristos2001-12-18 matthew green <mrg@eterna.com.au> 62*ed0d50c3Schristos 63*ed0d50c3Schristos * configure.in (m68k-*-netbsdelf*): New target. 64*ed0d50c3Schristos (m68k-*-netbsd*): Also include ELF support. 65*ed0d50c3Schristos (m68k-*-netbsdaout*): New alias for m68*-*-netbsd*. 66*ed0d50c3Schristos * configure: Regenerate. 67*ed0d50c3Schristos 68*ed0d50c3Schristos2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 69*ed0d50c3Schristos 70*ed0d50c3Schristos * gasp.c (main): Protoype. 71*ed0d50c3Schristos 72*ed0d50c3Schristos2001-12-17 Richard Henderson <rth@redhat.com> 73*ed0d50c3Schristos 74*ed0d50c3Schristos * config/tc-alpha.c (alpha_handle_align): Encode unop with RB as $sp. 75*ed0d50c3Schristos 76*ed0d50c3Schristos2001-12-17 Nick Clifton <nickc@cambridge.redhat.com> 77*ed0d50c3Schristos 78*ed0d50c3Schristos * cgen.c: Add prototype for queue_fixup. 79*ed0d50c3Schristos (gas_cgen_parse_operand): Move initilisastion of errmsg to avoid 80*ed0d50c3Schristos possible longjmp corruption. 81*ed0d50c3Schristos * cgen.h: Add prototype for gas_cgen_md_operand. 82*ed0d50c3Schristos 83*ed0d50c3Schristos2001-12-15 Alan Modra <amodra@bigpond.net.au> 84*ed0d50c3Schristos 85*ed0d50c3Schristos * config/obj-elf.c (obj_elf_init_stab_section): References are 86*ed0d50c3Schristos kept to section name strings. Don't alloca them! 87*ed0d50c3Schristos 88*ed0d50c3Schristos2001-12-12 Alexandre Oliva <aoliva@redhat.com> 89*ed0d50c3Schristos 90*ed0d50c3Schristos * config/tc-d10v.c (get_operands): Mark OPERAND_PLUS after 91*ed0d50c3Schristos OPERAND_ATSIGN as O_absent. 92*ed0d50c3Schristos 93*ed0d50c3Schristos2001-12-07 Geoffrey Keating <geoffk@redhat.com> 94*ed0d50c3Schristos Richard Henderson <rth@redhat.com> 95*ed0d50c3Schristos 96*ed0d50c3Schristos * configure.in: Add support for xstormy16. 97*ed0d50c3Schristos * configure: Regenerated. 98*ed0d50c3Schristos * Makefile.am: Add support for xstormy16. 99*ed0d50c3Schristos * Makefile.in: Regenerated. 100*ed0d50c3Schristos * config/tc-xstormy16.c: New file. 101*ed0d50c3Schristos * config/tc-xstormy16.h: New file. 102*ed0d50c3Schristos 103*ed0d50c3Schristos2001-12-06 Richard Earnshaw (rearnsha@arm.com) 104*ed0d50c3Schristos 105*ed0d50c3Schristos * tc-arm.c (do_arit, do_cmp, do_mov, do_ldst, do_ldstt, do_ldmstm) 106*ed0d50c3Schristos (do_branch, do_swi, do_adr, do_adrl, do_empty, do_mul, do_mla) 107*ed0d50c3Schristos (do_swap, do_msr, do_mrs, do_mull, do_ldstv4, do_bx, do_blx) 108*ed0d50c3Schristos (do_bkpt, do_clz, do_lstc2, do_cdp2, do_co_reg2, do_smla, do_smlal) 109*ed0d50c3Schristos (do_smul, do_qadd, do_pld, do_ldrd, do_co_reg2c, do_cdp, do_lstc) 110*ed0d50c3Schristos (do_co_reg, do_fpa_ctrl, do_fpa_ldst, do_fpa_ldmstm, do_fpa_monadic) 111*ed0d50c3Schristos (do_fpa_dyadic, do_fpa_cmp, do_fpa_from_reg, do_fpa_to_reg, do_mia) 112*ed0d50c3Schristos (do_mar, do_mra, do_c_binops, do_c_binops_1, do_c_binops_2) 113*ed0d50c3Schristos (do_c_binops_3, do_c_triple, do_c_triple_4, do_c_triple_5, do_c_quad) 114*ed0d50c3Schristos (do_c_quad_6, do_c_dspsc, do_c_dspsc_1, do_c_dspsc_2, do_c_shift) 115*ed0d50c3Schristos (do_c_shift_1, do_c_shift_2, do_c_ldst, do_c_ldst_1, do_c_ldst_2) 116*ed0d50c3Schristos (do_c_ldst_3, do_c_ldst_4, do_branch25): Delete redundant argument, 117*ed0d50c3Schristos FLAGS. 118*ed0d50c3Schristos (struct asm_opcode): Adjust parms field accordingly. 119*ed0d50c3Schristos (md_assemble): Don't pass dummy second argument when calling worker 120*ed0d50c3Schristos functions. 121*ed0d50c3Schristos (build_arm_ops_hsh): Add prototype 122*ed0d50c3Schristos (BAD_FLAGS): Delete. 123*ed0d50c3Schristos 124*ed0d50c3Schristos2001-12-05 Richard Earnshaw <rearnsha@arm.com> 125*ed0d50c3Schristos 126*ed0d50c3Schristos * tc-arm.c (struct asm_opcode): Delete comp_suffix and flags. Add 127*ed0d50c3Schristos cond_offset. Rename variants->variant. 128*ed0d50c3Schristos (insns): Adjust for new format. Explicitly code each variant that 129*ed0d50c3Schristos takes flags. Remove temporary instructions. 130*ed0d50c3Schristos (struct arm_it): Remove redundant field suffix. 131*ed0d50c3Schristos (s_flag, ldr_flags, str_flags, byte_flag, cmp_flags, ldm_flags) 132*ed0d50c3Schristos (stm_flags, lfm_flags, sfm_flags, round_flags, fix_flags, except_flag) 133*ed0d50c3Schristos (long_flag): Delete. 134*ed0d50c3Schristos (struct asm_flg): Delete. 135*ed0d50c3Schristos (LONGEST_INST): Delete. 136*ed0d50c3Schristos (V4_STR_BIT): Define. 137*ed0d50c3Schristos (struct thumb_opcode): Rename variants->variant. 138*ed0d50c3Schristos (do_empty): Renamed from do_nop. 139*ed0d50c3Schristos (ldst_extend): Delete argument hwse. Split code for half-word and 140*ed0d50c3Schristos signed byte instructions to ... 141*ed0d50c3Schristos (ldst_extend_v4): ... here. 142*ed0d50c3Schristos (ld_mode_required_here): Use ldst_extend_v4. 143*ed0d50c3Schristos (do_ldrd): Simplify now that this is only called for ldrd. No 144*ed0d50c3Schristos need to test for XScale, which was wrong anyway. Don't reject r12 145*ed0d50c3Schristos as a target register. Add test that ldrd doesn't update an index 146*ed0d50c3Schristos register. 147*ed0d50c3Schristos (do_pld): Don't allow post-indexed or write-back addressing modes. 148*ed0d50c3Schristos Adjust call to ldst_extend. 149*ed0d50c3Schristos (do_adr): Split code for adrl to ... 150*ed0d50c3Schristos (do_adrl): ... here. 151*ed0d50c3Schristos (do_cmp): No need to fold in COND_BIT. 152*ed0d50c3Schristos (do_ldst): Simplify. Split code for ldrt/strt into do_ldstt. Split 153*ed0d50c3Schristos code to handle half-word and signed byte instructions to ... 154*ed0d50c3Schristos (do_ldstv4): ... here. 155*ed0d50c3Schristos (do_ldstt): New function. Handle load/store with translate. 156*ed0d50c3Schristos (do_ldmstm): Write feature modification bits directly into 157*ed0d50c3Schristos inst.instruction. 158*ed0d50c3Schristos (do_fpa_ldst): Remove suffix handling code. 159*ed0d50c3Schristos (do_fpa_dyadic, do_fpa_monadic, do_fpa_from_reg): Likewise. 160*ed0d50c3Schristos (do_fpa_ldmstm): Type of access is now held in inst.instruction. 161*ed0d50c3Schristos (build_arm_ops_hsh): New function. 162*ed0d50c3Schristos (md_begin): Call it. Don't build the ARM opcode directly. 163*ed0d50c3Schristos (md_assemble): Simplify ARM instruction handling. 164*ed0d50c3Schristos 165*ed0d50c3Schristos2001-12-05 Arati Dikey <aratid@kpit.com> 166*ed0d50c3Schristos 167*ed0d50c3Schristos * tc-sh.c (parse_at): Corrected incorrect op->type selection due 168*ed0d50c3Schristos to missing 'else'. 169*ed0d50c3Schristos 170*ed0d50c3Schristos2001-12-04 Alexandre Oliva <aoliva@redhat.com> 171*ed0d50c3Schristos 172*ed0d50c3Schristos * config/tc-d10v.c (write_2_short): Don't skip dummy fixups, so 173*ed0d50c3Schristos that we can tell which operand refers to the insn put in the L 174*ed0d50c3Schristos container and mark it as such, so that the relocation type can be 175*ed0d50c3Schristos adjusted. 176*ed0d50c3Schristos 177*ed0d50c3Schristos2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 178*ed0d50c3Schristos 179*ed0d50c3Schristos * config/tc-mips.c (mips_cpreturn_offset): Better comment. 180*ed0d50c3Schristos (load_register): Better error message. Cast away signedness 181*ed0d50c3Schristos mismatches. Add casts needed for varargs. 182*ed0d50c3Schristos (load_address): Replace checks of HAVE_64BIT_ADDRESS with dbl. 183*ed0d50c3Schristos Remove superfluous casts. 184*ed0d50c3Schristos (macro): Cast away signedness mismatches. Remove superfluous casts. 185*ed0d50c3Schristos (s_cpload): Fix wrong comment. 186*ed0d50c3Schristos (s_mips_weakext): Standardize output message. 187*ed0d50c3Schristos (get_number): Likewise. 188*ed0d50c3Schristos 189*ed0d50c3Schristos2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 190*ed0d50c3Schristos 191*ed0d50c3Schristos * config/tc-mips.c (append_insn): Add jump address range overflow 192*ed0d50c3Schristos check. 193*ed0d50c3Schristos 194*ed0d50c3Schristos2001-12-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 195*ed0d50c3Schristos 196*ed0d50c3Schristos * config/tc-mips.c (md_parse_option): Fix comment. Allow -mabi option 197*ed0d50c3Schristos for ELF only. 198*ed0d50c3Schristos (show): Document -mabi option. 199*ed0d50c3Schristos 200*ed0d50c3Schristos2001-12-03 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com> 201*ed0d50c3Schristos 202*ed0d50c3Schristos * config/tc-arm.c (md_parse_option): Only clear cpu part when 203*ed0d50c3Schristos specifying 'xscale' cpu (don't change the fpu part). 204*ed0d50c3Schristos 205*ed0d50c3Schristos2001-12-04 Alexandre Oliva <aoliva@redhat.com> 206*ed0d50c3Schristos 207*ed0d50c3Schristos * config/tc-d10v.c (find_opcode): Reject SP operand if 208*ed0d50c3Schristos OPERAND_NOSP flag is present. 209*ed0d50c3Schristos 210*ed0d50c3Schristos2001-12-03 Eric Christopher <echristo@redhat.com> 211*ed0d50c3Schristos 212*ed0d50c3Schristos * config/tc-mips.c (tc_gen_reloc): One missed BFD_RELOC_MIPS_GPREL. 213*ed0d50c3Schristos 214*ed0d50c3Schristos2001-12-02 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 215*ed0d50c3Schristos 216*ed0d50c3Schristos * config/tc-mips.c (macro_build): Replace BFD_RELOC_MIPS_GPREL 217*ed0d50c3Schristos by BFD_RELOC_GPREL16. 218*ed0d50c3Schristos (load_address): Likewise. 219*ed0d50c3Schristos (macro): Likewise. 220*ed0d50c3Schristos (md_apply_fix): Likewise. Replace BFD_RELOC_MIPS_GPREL32 by 221*ed0d50c3Schristos BFD_RELOC_GPREL32. 222*ed0d50c3Schristos (s_gpword): Replace BFD_RELOC_MIPS_GPREL32 by BFD_RELOC_GPREL32. 223*ed0d50c3Schristos (tc_gen_reloc): Replace BFD_RELOC_MIPS_GPREL by BFD_RELOC_GPREL16. 224*ed0d50c3Schristos *config/tc-mips.h: Replace BFD_RELOC_MIPS_GPREL by BFD_RELOC_GPREL16. 225*ed0d50c3Schristos 226*ed0d50c3Schristos2001-11-29 Alexandre Oliva <aoliva@redhat.com> 227*ed0d50c3Schristos 228*ed0d50c3Schristos * config/tc-d10v.c (get_operands): Emit OPERAND_PLUS for 229*ed0d50c3Schristos prefix `+'. 230*ed0d50c3Schristos 231*ed0d50c3Schristos * config/tc-d10v.c (find_opcode): Reject non-SP operand if 232*ed0d50c3Schristos flags requires SP. 233*ed0d50c3Schristos 234*ed0d50c3Schristos2001-11-29 Arati Dikey <aratid@kpit.com> 235*ed0d50c3Schristos 236*ed0d50c3Schristos * tc-sh.c (parse_at): Removed case-sensitivity of index register 237*ed0d50c3Schristos R8, R9. 238*ed0d50c3Schristos 239*ed0d50c3Schristos2001-11-28 Jakub Jelinek <jakub@redhat.com> 240*ed0d50c3Schristos 241*ed0d50c3Schristos * write.c (adjust_reloc_syms): Mark SEC_MERGE symbols as used 242*ed0d50c3Schristos in reloc if it has non-zero addend. 243*ed0d50c3Schristos * config/tc-alpha.c (tc_gen_reloc): Reinstall SEC_MERGE check. 244*ed0d50c3Schristos * config/tc-sparc.c (md_apply_fix3): Likewise. 245*ed0d50c3Schristos 246*ed0d50c3Schristos2001-11-28 Andreas Schwab <schwab@suse.de> 247*ed0d50c3Schristos 248*ed0d50c3Schristos * as.c (parse_args): Call md_after_parse_args if defined. 249*ed0d50c3Schristos * config/tc-ia64.h (md_after_parse_args): Define. 250*ed0d50c3Schristos * config/tc-ia64.c (ia64_after_parse_args): Reject --gstabs. 251*ed0d50c3Schristos * doc/internals.texi (CPU backend): Document md_after_parse_args. 252*ed0d50c3Schristos 253*ed0d50c3Schristos2001-11-23 Jakub Jelinek <jakub@redhat.com> 254*ed0d50c3Schristos 255*ed0d50c3Schristos * config/tc-alpha.c (tc_gen_reloc): Remove SEC_MERGE test. 256*ed0d50c3Schristos * write.c (adjust_reloc_syms): Don't handle relocs against 257*ed0d50c3Schristos SEC_MERGE section symbols specially. 258*ed0d50c3Schristos (fixup_segment): Likewise. 259*ed0d50c3Schristos 260*ed0d50c3Schristos2001-11-21 Richard Sandiford <rsandifo@redhat.com> 261*ed0d50c3Schristos 262*ed0d50c3Schristos * config/tc-mips.c (mips_need_elf_addend_fixup): New, extracted from... 263*ed0d50c3Schristos (md_apply_fix3): ...here. Don't prevent the symbol value being 264*ed0d50c3Schristos subtracted twice from GPREL addends. 265*ed0d50c3Schristos (tc_gen_reloc): Add the symbol value to a GPREL addend if it was 266*ed0d50c3Schristos subtracted by the previous function. 267*ed0d50c3Schristos 268*ed0d50c3Schristos2001-11-20 Nick Clifton <nickc@cambridge.redhat.com> 269*ed0d50c3Schristos 270*ed0d50c3Schristos * config/tc-avr.c (md_apply_fix3): Fix typo introduced by 271*ed0d50c3Schristos md_apply_fix3 change. 272*ed0d50c3Schristos 273*ed0d50c3Schristos2001-11-20 Ben Elliston <bje@redhat.com> 274*ed0d50c3Schristos 275*ed0d50c3Schristos * config/tc-m88k.c (md_apply_fix3): Match local variable `val' to 276*ed0d50c3Schristos usage after md_apply_fix3 cleanups. 277*ed0d50c3Schristos 278*ed0d50c3Schristos2001-11-19 Hans-Peter Nilsson <hp@bitrange.com> 279*ed0d50c3Schristos 280*ed0d50c3Schristos * doc/c-mmix.texi: Use texinfo 4 features. 281*ed0d50c3Schristos (MMIX-mmixal): Fix typo. 282*ed0d50c3Schristos 283*ed0d50c3Schristos2001-11-17 Hans-Peter Nilsson <hp@axis.com> 284*ed0d50c3Schristos 285*ed0d50c3Schristos * config/tc-cris.c (md_apply_fix3): Cast value, not pointer, in 286*ed0d50c3Schristos val assignment. 287*ed0d50c3Schristos 288*ed0d50c3Schristos2001-11-16 Michael Snyder <msnyder@redhat.com> 289*ed0d50c3Schristos 290*ed0d50c3Schristos * stabs.c (stabs_generate_asm_lineno): Remember file and line number 291*ed0d50c3Schristos from one call to the next, and eliminate consecutive duplicates 292*ed0d50c3Schristos (thereby emitting only one line symbol per source line). 293*ed0d50c3Schristos * dwarf2dbg.c (dwarf2_gen_line_info): Ditto. 294*ed0d50c3Schristos 295*ed0d50c3Schristos2001-11-16 Alan Modra <amodra@bigpond.net.au> 296*ed0d50c3Schristos 297*ed0d50c3Schristos * config/tc-m68k.c (md_apply_fix3): Change val back to a signed type. 298*ed0d50c3Schristos 299*ed0d50c3Schristos2001-11-15 H.J. Lu <hjl@gnu.org> 300*ed0d50c3Schristos 301*ed0d50c3Schristos * config/tc-hppa.c (md_apply_fix3): Fix a typo. 302*ed0d50c3Schristos 303*ed0d50c3Schristos2001-11-15 H.J. Lu <hjl@gnu.org> 304*ed0d50c3Schristos 305*ed0d50c3Schristos * config/tc-alpha.c (md_apply_fix3): Fix a typo. 306*ed0d50c3Schristos 307*ed0d50c3Schristos2001-11-15 Nick Clifton <nickc@cambridge.redhat.com> 308*ed0d50c3Schristos 309*ed0d50c3Schristos * write.c (fixup_segment): Remove references to md_apply_fix and 310*ed0d50c3Schristos TC_HANDLE_FX_DONE. 311*ed0d50c3Schristos * cgen.c, config/obj-coff.c, config/tc-*.c: Update all occurances 312*ed0d50c3Schristos of md_apply_fix to md_apply_fix3. 313*ed0d50c3Schristos Make all md_apply_fix3 functions void. 314*ed0d50c3Schristos * cgen.h, config/obj-coff.h, tc-*.h: Remove all definitions of 315*ed0d50c3Schristos MD_APPLY_FIX3 and TC_HANDLE_FX_DONE. 316*ed0d50c3Schristos * doc/internals.texi: Update references to md_apply_fix3. 317*ed0d50c3Schristos * tc.h: Update prototype for md_apply_fix3. 318*ed0d50c3Schristos 319*ed0d50c3Schristos2001-11-15 Alan Modra <amodra@bigpond.net.au> 320*ed0d50c3Schristos 321*ed0d50c3Schristos * config/tc-i386.h (md_end): Define. 322*ed0d50c3Schristos (i386_elf_emit_arch_note): Declare. 323*ed0d50c3Schristos (CpuUnknown): Delete. 324*ed0d50c3Schristos * config/tc-i386.c (default_arch): Constify. 325*ed0d50c3Schristos (smallest_imm_type): Remove CpuUnknown test. 326*ed0d50c3Schristos (md_assemble): Don't bother checking cpu_arch_flags non-zero. 327*ed0d50c3Schristos (i386_elf_emit_arch_note): New function. 328*ed0d50c3Schristos 329*ed0d50c3Schristos * po/POTFILES.in: Regenerate. 330*ed0d50c3Schristos 331*ed0d50c3Schristos2001-11-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 332*ed0d50c3Schristos 333*ed0d50c3Schristos * config/tc-mips.c (mips_ip): Re-allow %hi() op for non-ELF assembler. 334*ed0d50c3Schristos 335*ed0d50c3Schristos2001-11-15 Alan Modra <amodra@bigpond.net.au> 336*ed0d50c3Schristos 337*ed0d50c3Schristos * frags.c (frag_grow): Revert last change. 338*ed0d50c3Schristos 339*ed0d50c3Schristos * dwarf2dbg.c (get_frag_fix): Align last frag size. 340*ed0d50c3Schristos 341*ed0d50c3Schristos * config/tc-ppc.c (ppc_insert_operand): Pass (ppc_cpu | ppc_size) 342*ed0d50c3Schristos to operand->insert. 343*ed0d50c3Schristos (md_assemble): Likewise. 344*ed0d50c3Schristos 345*ed0d50c3Schristos2001-11-12 Nick Clifton <nickc@cambridge.redhat.com> 346*ed0d50c3Schristos 347*ed0d50c3Schristos * frags.c (frag_grow): Use frag_make_room() to grow the 348*ed0d50c3Schristos obstack. 349*ed0d50c3Schristos 350*ed0d50c3Schristos2001-11-14 Nick Clifton <nickc@cambridge.redhat.com> 351*ed0d50c3Schristos 352*ed0d50c3Schristos * config/tc-sparc.c (md_apply_fix3): Do not remove the symbol's 353*ed0d50c3Schristos value from the addend for fixups against local symbols in 354*ed0d50c3Schristos SEC_MERGE sections - it was not added in, in the first place. 355*ed0d50c3Schristos 356*ed0d50c3Schristos2001-11-11 Timothy Wall <twall@alum.mit.edu> 357*ed0d50c3Schristos 358*ed0d50c3Schristos * write.c (relax_segment): Convert symbol address into an octet 359*ed0d50c3Schristos offset prior to adding to the frag address, which is an octet 360*ed0d50c3Schristos offset. Add comments to that effect. 361*ed0d50c3Schristos * config/tc-tic54x.c: Fix bugs causing tests to fail. 362*ed0d50c3Schristos * config/tc-tic54x.h: Ditch PARAMS macro. 363*ed0d50c3Schristos 364*ed0d50c3Schristos2001-11-13 Alan Modra <amodra@bigpond.net.au> 365*ed0d50c3Schristos 366*ed0d50c3Schristos * config/obj-elf.c (obj_elf_version): Ensure terminating NUL is 367*ed0d50c3Schristos put in note section. Use sizeof instead of hard-coded constants. 368*ed0d50c3Schristos 369*ed0d50c3Schristos2001-11-12 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 370*ed0d50c3Schristos 371*ed0d50c3Schristos * config/tc-mips.c (support_64bit_objects): Define for OBJ_ELF only. 372*ed0d50c3Schristos (md_longopts): Allow OPTION_MABI for ELF compilation only. RE-allow 373*ed0d50c3Schristos OPTION_GP32, OPTION_GP64, OPTION_FP32 for non-ELF compilation. 374*ed0d50c3Schristos Sort options a bit more logical. 375*ed0d50c3Schristos (md_parse_option): Allow OPTION_32, OPTION_N32, OPTION_N64, 376*ed0d50c3Schristos OPTION_MABI only for elf targets. 377*ed0d50c3Schristos 378*ed0d50c3Schristos2001-11-12 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 379*ed0d50c3Schristos 380*ed0d50c3Schristos * config/tc-mips.c (set_at): Add cast needed for varargs. 381*ed0d50c3Schristos (load_register): Likewise. 382*ed0d50c3Schristos (macro): Likewise. Some code reformatting. 383*ed0d50c3Schristos (macro2): Add cast needed for varargs. 384*ed0d50c3Schristos (mips16_macro): Likewise. 385*ed0d50c3Schristos 386*ed0d50c3Schristos2001-11-12 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 387*ed0d50c3Schristos 388*ed0d50c3Schristos * config/tc-mips.c (md_assemble): Remove superflous casts. 389*ed0d50c3Schristos (append_insn): Likewise. 390*ed0d50c3Schristos (mips16_macro_build): Likewise. 391*ed0d50c3Schristos (macro): Likewise. 392*ed0d50c3Schristos (mips16_ip): Likewise. 393*ed0d50c3Schristos (s_cpload): Likewise. 394*ed0d50c3Schristos (mips_relax_frag): Likewise. 395*ed0d50c3Schristos 396*ed0d50c3Schristos2001-11-12 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 397*ed0d50c3Schristos 398*ed0d50c3Schristos * config/tc-mips.c (mips_abi_level): Move in front of 399*ed0d50c3Schristos mips_set_options. 400*ed0d50c3Schristos (mips_set_options): Add members gp32, fp32, abi. 401*ed0d50c3Schristos (file_mips_gp32): New flag. 402*ed0d50c3Schristos (file_mips_fp32): New flag. 403*ed0d50c3Schristos (mips_opts): Initialize the new members. 404*ed0d50c3Schristos (mips_gp32): Remove. 405*ed0d50c3Schristos (mips_fp32): Remove. 406*ed0d50c3Schristos (HAVE_32BIT_GPRS): Use the new values from mips_opts. 407*ed0d50c3Schristos (HAVE_32BIT_FPRS): Likewise. 408*ed0d50c3Schristos (HAVE_NEWABI): Likewise. 409*ed0d50c3Schristos (HAVE_64BIT_OBJECTS): Likewise. 410*ed0d50c3Schristos (md_begin): Likewise. Save default (file) values. 411*ed0d50c3Schristos (md_parse_option): Use the new values from mips_opts. 412*ed0d50c3Schristos (s_mipsset): Likewise. Fix logic to keep the ABI selection if 413*ed0d50c3Schristos possible. Let .set mipsN work together with .set push/pop. 414*ed0d50c3Schristos Enhance error messages. 415*ed0d50c3Schristos (mips_elf_final_processing): Use file_mips_* for header processing. 416*ed0d50c3Schristos 417*ed0d50c3Schristos2001-11-09 Marek Michalkiewicz <marekm@amelek.gda.pl> 418*ed0d50c3Schristos 419*ed0d50c3Schristos * config/tc-avr.c (mcu_types): Update for new devices. 420*ed0d50c3Schristos 421*ed0d50c3Schristos2001-11-09 Stephane Carrez <Stephane.Carrez@worldnet.fr> 422*ed0d50c3Schristos 423*ed0d50c3Schristos * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' for 424*ed0d50c3Schristos the page man title. 425*ed0d50c3Schristos * doc/Makefile.in: Rebuild. 426*ed0d50c3Schristos * doc/as.texinfo: Do not put man SEEALSO in document; 427*ed0d50c3Schristos Use @command for commands, @option for options; Reorganize usage 428*ed0d50c3Schristos to clearly identify target specific options. 429*ed0d50c3Schristos 430*ed0d50c3Schristos2001-11-08 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 431*ed0d50c3Schristos 432*ed0d50c3Schristos * config/tc-mips.c (mips_force_relocation): Remove duplicate code. 433*ed0d50c3Schristos 434*ed0d50c3Schristos2001-11-06 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 435*ed0d50c3Schristos 436*ed0d50c3Schristos * config/tc-mips.c (my_getSmallParser): Fix small parser bug. 437*ed0d50c3Schristos 438*ed0d50c3Schristos2001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com> 439*ed0d50c3Schristos 440*ed0d50c3Schristos * config/tc-s390.c (tc_s390_force_relocation): Force all relocations 441*ed0d50c3Schristos that need the global offset table. 442*ed0d50c3Schristos (md_apply_fix3): Add code to undo opertions done in fixup_segment 443*ed0d50c3Schristos triggered by TC_FORCE_RELOCATION. 444*ed0d50c3Schristos * config/tc-s390.h (TC_FORCE_RELOCATION): Replace macro code with 445*ed0d50c3Schristos a call to function tc_s390_force_relocation. 446*ed0d50c3Schristos (TC_FIX_ADJUSTABLE): Define. 447*ed0d50c3Schristos 448*ed0d50c3Schristos2001-11-04 Chris Demetriou <cgd@broadcom.com> 449*ed0d50c3Schristos 450*ed0d50c3Schristos * configure.in (mips-*-netbsd*): Add support for target. 451*ed0d50c3Schristos * configure: Regenerate. 452*ed0d50c3Schristos 453*ed0d50c3Schristos2001-11-02 Nick Clifton <nickc@cambridge.redhat.com> 454*ed0d50c3Schristos 455*ed0d50c3Schristos * configure.in (ALL_LINGUAS): Add 'fr'. 456*ed0d50c3Schristos * configure: Regernate. 457*ed0d50c3Schristos * po/fr.po: New file. Obtained from the translation project web 458*ed0d50c3Schristos site. 459*ed0d50c3Schristos 460*ed0d50c3Schristos2001-11-02 Richard Earnshaw <rearnsha@arm.com> 461*ed0d50c3Schristos 462*ed0d50c3Schristos * tc-arm.c: Re-arrange prototypes by architecture. 463*ed0d50c3Schristos (insns): Re-arrange instructions by archtitecture. Pld instruction 464*ed0d50c3Schristos is part of ARMv5E. 465*ed0d50c3Schristos (tinsns): blx and bkpt are part of ARMv5T. 466*ed0d50c3Schristos (do_fp_{ctrl,ldst,ldstm,dyadic,monadic,cmp,from_reg,to_reg}): Rename 467*ed0d50c3Schristos to do_fpa_*. All callers changed. 468*ed0d50c3Schristos 469*ed0d50c3Schristos * tc-arm.c (insns): Add two temporary instructions to handle 470*ed0d50c3Schristos ldrd/strd. 471*ed0d50c3Schristos 472*ed0d50c3Schristos2001-11-01 Stephane Carrez <Stephane.Carrez@worldnet.fr> 473*ed0d50c3Schristos 474*ed0d50c3Schristos * config/tc-m68hc11.c (build_jump_insn): Allocate worst case storage 475*ed0d50c3Schristos for bra/bsr and use frag_variant(), this ensure that the possible 476*ed0d50c3Schristos 16-bit BFD_RELOC_16 will be in the same frag. 477*ed0d50c3Schristos 478*ed0d50c3Schristos2001-10-31 Chris Demetriou <cgd@broadcom.com> 479*ed0d50c3Schristos 480*ed0d50c3Schristos * config/tc-mips.c (HAVE_32BIT_ADDRESSES): If compiling embedded 481*ed0d50c3Schristos PIC code, assume pointers the same size as GPRs. 482*ed0d50c3Schristos (macro): In M_LA_AB handling for embedded PIC code, support 483*ed0d50c3Schristos "la $treg,foo-bar($breg)". In load/store handling 484*ed0d50c3Schristos (label ld_st) support "<op> $treg,<sym>-<local_sym>($breg)" 485*ed0d50c3Schristos which is used by the compiler for switch statements. 486*ed0d50c3Schristos In load/store double multi-instruction macro handling 487*ed0d50c3Schristos (label ldd_std) add a comment that no special handling 488*ed0d50c3Schristos is currently done for embedded PIC. 489*ed0d50c3Schristos (mips_ip): In 'o' (16-bit offset) case, only accept 16 490*ed0d50c3Schristos bit offsets. 491*ed0d50c3Schristos 492*ed0d50c3Schristos2001-10-31 Richard Earnshaw <rearnsha@arm.com> 493*ed0d50c3Schristos 494*ed0d50c3Schristos General cleanup of feature definitions. 495*ed0d50c3Schristos * tc-arm.c (ARM_EXT_LONGMUL, ARM_EXT_HALFWORD, ARM_EXT_THUMB): Delete. 496*ed0d50c3Schristos (ARM_2UP, ARM_ALL, ARM_3UP, ARM_6UP): Delete. 497*ed0d50c3Schristos (FPU_CORE, FPU_FPA10, FPA_FPA11, FPU_ALL, FPA_MEMMULTI): Delete. 498*ed0d50c3Schristos (ARM_EXT_V{1,2,2S,3,3M,4,4T,5T,5ExP}): New defines. 499*ed0d50c3Schristos (ARM_EXT_V{5,5E}): Synchronize with above. 500*ed0d50c3Schristos (ARM_ARCH_V*): Define a complete set in terms of above features. 501*ed0d50c3Schristos (ARM_{1,2,3,250,6,7,8,9,STRONG}): Define in terms of architecture. 502*ed0d50c3Schristos (FPU_FPA_EXT_V[12]): Define. 503*ed0d50c3Schristos (FPU_ARCH_FPE, FPU_ARCH_FPA): Define in terms of above. 504*ed0d50c3Schristos (FPU_ANY): Define. 505*ed0d50c3Schristos (FPU_DEFAULT): Default to FPA. 506*ed0d50c3Schristos (CPU_DEFAULT): For XScale, this is now just ARM_ARCH_XSCALE; for 507*ed0d50c3Schristos Thumb, this is now ARM_ARCH_V5T. 508*ed0d50c3Schristos (insns): Rework for new feature defines. 509*ed0d50c3Schristos (tinsns): Likewise. 510*ed0d50c3Schristos (opcode_select, do_ldst, md_begin, md_parse_option): Likewise. 511*ed0d50c3Schristos 512*ed0d50c3Schristos2001-10-31 NIIBE Yutaka <gniibe@m17n.org> 513*ed0d50c3Schristos 514*ed0d50c3Schristos * configure.in: Handle sh*eb-*-linux* and sh*-*-linux*. 515*ed0d50c3Schristos * configure: Regenerate. 516*ed0d50c3Schristos * Makefile.in: Regenerate. 517*ed0d50c3Schristos * doc/c-sh.texi (SH Options): Added descriptions. 518*ed0d50c3Schristos 519*ed0d50c3Schristos2001-10-30 Hans-Peter Nilsson <hp@bitrange.com> 520*ed0d50c3Schristos 521*ed0d50c3Schristos * configure.in: Update for MMIX port. 522*ed0d50c3Schristos * Makefile.am: Ditto. Regenerate dependencies. 523*ed0d50c3Schristos * Makefile.in: Regenerate. 524*ed0d50c3Schristos * configure: Regenerate. 525*ed0d50c3Schristos * config/tc-mmix.h, config/tc-mmix.c: New files. 526*ed0d50c3Schristos * doc/Makefile.am (CPU_DOCS): Add c-mmix.texi 527*ed0d50c3Schristos * doc/Makefile.in: Regenerate. 528*ed0d50c3Schristos * doc/all.texi: @set MMIX. 529*ed0d50c3Schristos * doc/as.texinfo: Ditto. Add MMIX gas manpage option overview. 530*ed0d50c3Schristos Include c-mmix.texi. 531*ed0d50c3Schristos * doc/c-mmix.texi: New file. 532*ed0d50c3Schristos 533*ed0d50c3Schristos2001-10-24 Chris Demetriou <cgd@broadcom.com> 534*ed0d50c3Schristos 535*ed0d50c3Schristos * config/tc-mips.c (hilo_interlocks, cop_interlocks): Make 536*ed0d50c3Schristos these evaluate to true if mips_arch indicates SB-1. 537*ed0d50c3Schristos 538*ed0d50c3Schristos2001-10-23 Alan Modra <amodra@bigpond.net.au> 539*ed0d50c3Schristos 540*ed0d50c3Schristos * as.c (parse_args): Print the date as well for --version. 541*ed0d50c3Schristos 542*ed0d50c3Schristos2001-10-20 Chris Demetriou <cgd@broadcom.com> 543*ed0d50c3Schristos 544*ed0d50c3Schristos * config/tc-mips.c (md_show_usage): Print "sb1" for Broadcom 545*ed0d50c3Schristos SB-1 CPU for consistency. 546*ed0d50c3Schristos (mips_cpu_info_table): Tweak comment about SB-1. 547*ed0d50c3Schristos 548*ed0d50c3Schristos2001-10-20 H.J. Lu <hjl@gnu.org> 549*ed0d50c3Schristos 550*ed0d50c3Schristos * config/tc-arm.c (do_c_shift): Use ISDIGIT instead of isdigit. 551*ed0d50c3Schristos (cirrus_parse_offset): Likewise. 552*ed0d50c3Schristos 553*ed0d50c3Schristos2001-10-19 Nick Clifton <nickc@cambridge.redhat.com> 554*ed0d50c3Schristos 555*ed0d50c3Schristos * config/tc-arm.c: Restore line_comment_chars. 556*ed0d50c3Schristos 557*ed0d50c3Schristos2001-10-18 Nick Clifton <nickc@cambridge.redhat.com> 558*ed0d50c3Schristos 559*ed0d50c3Schristos * config/tc-arm.c (comment_chars): Remove semi-colon accidentally 560*ed0d50c3Schristos added to the list. 561*ed0d50c3Schristos 562*ed0d50c3Schristos2001-10-18 Hans-Peter Nilsson <hp@bitrange.com> 563*ed0d50c3Schristos 564*ed0d50c3Schristos * write.c (fixup_segment): Handle fixups for SEC_MERGE sections as 565*ed0d50c3Schristos for undefined symbols. 566*ed0d50c3Schristos 567*ed0d50c3Schristos2001-10-17 Chris Demetriou <cgd@broadcom.com> 568*ed0d50c3Schristos 569*ed0d50c3Schristos * doc/as.texinfo (MIPS ISA options): Added accidentally 570*ed0d50c3Schristos omitted "-mips64" option to list of options. 571*ed0d50c3Schristos 572*ed0d50c3Schristos2001-10-17 matthew green <mrg@redhat.com> 573*ed0d50c3Schristos 574*ed0d50c3Schristos * config/tc-ppc.c (md_show_usage): Add missing -maltivec, -m7400, 575*ed0d50c3Schristos -m7410, -m7450 and -m7455 options. 576*ed0d50c3Schristos 577*ed0d50c3Schristos2001-10-17 Alan Modra <amodra@bigpond.net.au> 578*ed0d50c3Schristos 579*ed0d50c3Schristos * config/tc-ppc.c (PPC_HA, PPC_HIGHERA, PPC_HIGHESTA): Simplify. 580*ed0d50c3Schristos (ppc_size): Select PPC_OPCODE_64 if 64 bit. 581*ed0d50c3Schristos (md_begin): Don't set ppc_size here. 582*ed0d50c3Schristos (ppc_target_format): Test ppc_size as well as BFD_DEFAULT_TARGET_SIZE. 583*ed0d50c3Schristos (md_shortopts): Constify. 584*ed0d50c3Schristos (md_longopts): Likewise. 585*ed0d50c3Schristos (md_longopts_size): Likewise. 586*ed0d50c3Schristos (ppc_elf_suffix): Only allow 64-bit relocs when ppc_size specifies 587*ed0d50c3Schristos 64-bit opcodes. 588*ed0d50c3Schristos (ppc_machine): Explain why this function is a nop. 589*ed0d50c3Schristos 590*ed0d50c3Schristos2001-10-17 Alan Modra <amodra@bigpond.net.au> 591*ed0d50c3Schristos 592*ed0d50c3Schristos * bit_fix.h: Comment typo fix. 593*ed0d50c3Schristos * config/tc-mips.c: Likewise. 594*ed0d50c3Schristos * config/tc-sh.c: Likewise. 595*ed0d50c3Schristos * config/tc-arc.c (arc_code_symbol): Remove unnecessary test. 596*ed0d50c3Schristos 597*ed0d50c3Schristos * configure.in (MIPS_STABS_ELF): AC_DEFINE in only one place so 598*ed0d50c3Schristos that autoheader doesn't duplicate config.in entries. 599*ed0d50c3Schristos (DEFAULT_ARCH): Ditto. 600*ed0d50c3Schristos * configure: Regenerate. 601*ed0d50c3Schristos * config.in: Regenerate. 602*ed0d50c3Schristos 603*ed0d50c3Schristos2001-10-16 Alan Modra <amodra@bigpond.net.au> 604*ed0d50c3Schristos 605*ed0d50c3Schristos From Andrew Pines <apines@cosmodog.com> 606*ed0d50c3Schristos * config/tc-m68k.c (m68k_ip): Correct absolute jmp opcodes. 607*ed0d50c3Schristos 608*ed0d50c3Schristos2001-10-16 NIIBE Yutaka <gniibe@m17n.org>, 609*ed0d50c3Schristos Hans-Peter Nilsson <hp@bitrange.com> 610*ed0d50c3Schristos 611*ed0d50c3Schristos * config/tc-sh.c (shl): Remove. 612*ed0d50c3Schristos (big): New function. 613*ed0d50c3Schristos (little): Remove shl handling. Emit error for endian mismatch. 614*ed0d50c3Schristos (md_show_usage): Add description of -big. 615*ed0d50c3Schristos (md_parse_option): Handle OPTION_BIG. Remove shl handling. 616*ed0d50c3Schristos (OPTION_BIG): Add. 617*ed0d50c3Schristos (md_pseudo_table): Add .big. 618*ed0d50c3Schristos (md_longopts): Add -big. 619*ed0d50c3Schristos (md_begin): Don't set target_big_endian here. 620*ed0d50c3Schristos * config/tc-sh.h (TARGET_BYTES_BIG_ENDIAN): Remove. 621*ed0d50c3Schristos (LISTING_HEADER, COFF_MAGIC, TARGET_FORMAT): Use target_big_endian. 622*ed0d50c3Schristos (shl): Remove. 623*ed0d50c3Schristos * configure.in (endian): Default is big. 624*ed0d50c3Schristos (sh-*-pe*): Little endian. 625*ed0d50c3Schristos (cpu_type): Set sh for target sh*. 626*ed0d50c3Schristos * configure: Regenerate. 627*ed0d50c3Schristos 628*ed0d50c3Schristos2001-10-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 629*ed0d50c3Schristos 630*ed0d50c3Schristos * config/tc-mips.c (md_apply_fix): Preliminary handling of NewABI 631*ed0d50c3Schristos relocations. 632*ed0d50c3Schristos 633*ed0d50c3Schristos2001-10-13 Nick Clifton <nickc@cambridge.redhat.com> 634*ed0d50c3Schristos 635*ed0d50c3Schristos * config/tc-arm.c: Replace CONST with const. 636*ed0d50c3Schristos 637*ed0d50c3Schristos * cgen.c: Tidy up formatting. 638*ed0d50c3Schristos 639*ed0d50c3Schristos2001-10-12 matthew green <mrg@redhat.com> 640*ed0d50c3Schristos 641*ed0d50c3Schristos * config/tc-ppc.c (md_parse_option): New -m7410, -m7450 and -m7455 642*ed0d50c3Schristos flags, equivalent to -m7400. New -maltivec to enable AltiVec 643*ed0d50c3Schristos instructions. New -mbook64 and -mbooke/-mbooke32 flags to enable 644*ed0d50c3Schristos 64-bit and 32-bit BookE support, respectively. Change -m403 and 645*ed0d50c3Schristos -m405 to set PPC403 option. 646*ed0d50c3Schristos (md_show_usage): Adjust for new options. 647*ed0d50c3Schristos * doc/all.texi: Set PPC. 648*ed0d50c3Schristos * doc/as.texinfo: Add PPC support and pull in c-ppc.texi. 649*ed0d50c3Schristos * doc/c-ppc.texi: New file. 650*ed0d50c3Schristos * doc/Makefile.am (CPU_DOCS): Add c-ppc.texi. 651*ed0d50c3Schristos * doc/Makefile.in: Regenerate. 652*ed0d50c3Schristos 653*ed0d50c3Schristos2001-10-12 Nick Clifton <nickc@cambridge.redhat.com> 654*ed0d50c3Schristos 655*ed0d50c3Schristos * read.c (s_bad_endr): New function. Issues a warning message 656*ed0d50c3Schristos about a bad use of the .rept pseudo op. 657*ed0d50c3Schristos (po_table[]): Add .endr. 658*ed0d50c3Schristos * read.h: Prototype s_bad_endr. 659*ed0d50c3Schristos 660*ed0d50c3Schristos * CONTRIBUTORS: Update contact email address. 661*ed0d50c3Schristos 662*ed0d50c3Schristos2001-10-11 Kazu Hirata <kazu@hxi.com> 663*ed0d50c3Schristos 664*ed0d50c3Schristos * config/tc-alpha.c: Fix comment typos. 665*ed0d50c3Schristos * config/tc-cris.c: Likewise. 666*ed0d50c3Schristos * config/tc-hppa.c: Likewise. 667*ed0d50c3Schristos * config/tc-i370.c: Likewise. 668*ed0d50c3Schristos * config/tc-mips.c: Likewise. 669*ed0d50c3Schristos * config/tc-mn10200.c: Likewise. 670*ed0d50c3Schristos * config/tc-mn10300.c: Likewise. 671*ed0d50c3Schristos * config/tc-sh.c: Likewise. 672*ed0d50c3Schristos * config/tc-tahoe.c: Likewise. 673*ed0d50c3Schristos * config/tc-v850.c: Likewise. 674*ed0d50c3Schristos 675*ed0d50c3Schristos2001-10-11 Kazu Hirata <kazu@hxi.com> 676*ed0d50c3Schristos 677*ed0d50c3Schristos * app.c: Fix comment typos. 678*ed0d50c3Schristos * bit_fix.h: Likewise. 679*ed0d50c3Schristos * expr.c: Likewise. 680*ed0d50c3Schristos * itbl-ops.c: Likewise. 681*ed0d50c3Schristos 682*ed0d50c3Schristos2001-10-11 Nick Clifton <nickc@cambridge.redhat.com> 683*ed0d50c3Schristos 684*ed0d50c3Schristos * input-file.c: Include safe-ctype.h. 685*ed0d50c3Schristos (input_file_open): Use ISSPACE instead of isspace. 686*ed0d50c3Schristos 687*ed0d50c3Schristos2001-10-10 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 688*ed0d50c3Schristos 689*ed0d50c3Schristos * config/tc-mips.c (mips_cpreturn_offset): New variable. 690*ed0d50c3Schristos (mips_cpreturn_register): Likewise. 691*ed0d50c3Schristos (mips_gp_register): Likewise. 692*ed0d50c3Schristos (s_cpsetup): New function prototype. 693*ed0d50c3Schristos (s_cplocal): Likewise. 694*ed0d50c3Schristos (s_cpreturn): Likewise. 695*ed0d50c3Schristos (s_gpvalue): Likewise. 696*ed0d50c3Schristos (mips_pseudo_table): Add .cpsetup, .cplocal, .cpreturn, .gpvalue 697*ed0d50c3Schristos pseudo-ops. 698*ed0d50c3Schristos (macro): Don't warn about .cprestore for NewABI. 699*ed0d50c3Schristos (md_pcrel_from): Code cleanup. 700*ed0d50c3Schristos (mips_force_relocation): Force output of some NewABI relocations even 701*ed0d50c3Schristos without a defined symbol. 702*ed0d50c3Schristos (s_cpload): Ignore .cpload for NewABI. 703*ed0d50c3Schristos (s_cpsetup): Handle .cpsetup. 704*ed0d50c3Schristos (s_cplocal): Handle .cplocal. 705*ed0d50c3Schristos (s_cprestore): Ignore .cprestore for NewABI. 706*ed0d50c3Schristos (s_cpreturn): Handle .cpreturn. 707*ed0d50c3Schristos (s_gpvalue): Handle .gpvalue. 708*ed0d50c3Schristos (s_cpadd): Ignore .cpadd for NewABI. 709*ed0d50c3Schristos (nopic_need_relax): Take g_switch_value into account as gp 710*ed0d50c3Schristos optimization. 711*ed0d50c3Schristos (tc_gen_reloc): Don't handle BFD_RELOC_MIPS_{CALL,GOT}* for NewABI. 712*ed0d50c3Schristos 713*ed0d50c3Schristos2001-10-10 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 714*ed0d50c3Schristos 715*ed0d50c3Schristos * config/tc-mips.c (my_getSmallParser): New function prototype. 716*ed0d50c3Schristos (small_ex_type): Named this enum, more return values for 717*ed0d50c3Schristos my_getSmallExpression. 718*ed0d50c3Schristos (mips_ip): Allow SPC and HT between arguments. Handle some NewABI 719*ed0d50c3Schristos triple relocations. Protect some parts with ifdef OBJ_ELF. 720*ed0d50c3Schristos (percent_op_match): New struct, lookup table for %some_reloc(). 721*ed0d50c3Schristos (my_getSmallParser): New function, parses nested percent_ops also. 722*ed0d50c3Schristos (my_getSmallExpression): Rewite to support nested percent_ops. 723*ed0d50c3Schristos 724*ed0d50c3Schristos2001-10-10 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 725*ed0d50c3Schristos 726*ed0d50c3Schristos * config/tc-mips.c 727*ed0d50c3Schristos (load_address): Support both 32- and 64-bit addresses. 728*ed0d50c3Schristos (macro): Call load_register correctly. Expand 64-bit loads ans stores. 729*ed0d50c3Schristos (macro2): Call load_address correctly. 730*ed0d50c3Schristos 731*ed0d50c3Schristos2001-10-09 Christian Groessler <cpg@aladdin.de> 732*ed0d50c3Schristos 733*ed0d50c3Schristos * config/tc-z8k.c: Include opcodes/z8k-opc.h after bfd.h 734*ed0d50c3Schristos since z8k-opc.h now uses the PARAMS macro. 735*ed0d50c3Schristos 736*ed0d50c3Schristos2001-10-09 Aldy Hernandez <aldyh@redhat.com> 737*ed0d50c3Schristos 738*ed0d50c3Schristos * config/tc-arm.c: Change MAVERIK to MAVERICK. 739*ed0d50c3Schristos 740*ed0d50c3Schristos2001-10-09 Alan Modra <amodra@bigpond.net.au> 741*ed0d50c3Schristos 742*ed0d50c3Schristos * config/obj-elf.c: Make use of elf_group_name and elf_next_in_group 743*ed0d50c3Schristos throughout file. 744*ed0d50c3Schristos (obj_elf_change_section): Rename "group" to "group_name". 745*ed0d50c3Schristos (obj_elf_section): Likewise. 746*ed0d50c3Schristos (elf_frob_file): Don't use sec->lineno for SHT_GROUP section to store 747*ed0d50c3Schristos first member section; Instead use elf_next_in_group. 748*ed0d50c3Schristos 749*ed0d50c3Schristos2001-10-09 Alan Modra <amodra@bigpond.net.au> 750*ed0d50c3Schristos 751*ed0d50c3Schristos * config/obj-elf.c: (obj_elf_change_section): Add "group" param. 752*ed0d50c3Schristos Set elf_section_data group from it. Warn if group name changed. 753*ed0d50c3Schristos (obj_elf_parse_section_letters): Parse 'G' too. 754*ed0d50c3Schristos (obj_elf_section): Parse group name. 755*ed0d50c3Schristos (struct group_list): New. 756*ed0d50c3Schristos (build_group_lists): New function. 757*ed0d50c3Schristos (elf_frob_file): Create SEC_GROUP section(s). 758*ed0d50c3Schristos 759*ed0d50c3Schristos * config/obj-elf.c: (elf_copy_symbol_attributes): Zap trailing 760*ed0d50c3Schristos whitespace. 761*ed0d50c3Schristos 762*ed0d50c3Schristos2001-10-08 Aldy Hernandez <aldyh@redhat.com> 763*ed0d50c3Schristos 764*ed0d50c3Schristos * doc/arm/c-arm.texi (ARM Options): Add arm9e documentation. 765*ed0d50c3Schristos 766*ed0d50c3Schristos * config/tc-arm.c (ARM_EXT_MAVERIK): New macro. 767*ed0d50c3Schristos (cirrus_regtype): New enum. 768*ed0d50c3Schristos (LONGEST_INST): Change to 10. 769*ed0d50c3Schristos (CIRRUS_MODE1): New. 770*ed0d50c3Schristos (CIRRUS_MODE2): New. 771*ed0d50c3Schristos (CIRRUS_MODE3): New. 772*ed0d50c3Schristos (CIRRUS_MODE4): New. 773*ed0d50c3Schristos (CIRRUS_MODE5): New. 774*ed0d50c3Schristos (CIRRUS_MODE6): New. 775*ed0d50c3Schristos (insns): Add cirrus dsp instructions. 776*ed0d50c3Schristos (ARM_EXT_MAVERIKSC_REG): New. 777*ed0d50c3Schristos (cirrus_register): New. 778*ed0d50c3Schristos (cirrus_mvf_register): New. 779*ed0d50c3Schristos (cirrus_mvd_register): New. 780*ed0d50c3Schristos (cirrus_mvfx_register): New. 781*ed0d50c3Schristos (cirrus_mvdx_register): New. 782*ed0d50c3Schristos (cirrus_mvax_register): New. 783*ed0d50c3Schristos (ARM_EXT_MAVERIKsc_register): New. 784*ed0d50c3Schristos (reg_table): Add cirrus registers. 785*ed0d50c3Schristos (cirrus_valid_reg): New. 786*ed0d50c3Schristos (cirrus_reg_required_here): New. 787*ed0d50c3Schristos (do_c_binops_1): New. 788*ed0d50c3Schristos (do_c_binops_2): New. 789*ed0d50c3Schristos (do_c_binops_3): New. 790*ed0d50c3Schristos (do_c_triple_4): New. 791*ed0d50c3Schristos (do_c_triple_5): New. 792*ed0d50c3Schristos (do_c_quad_6): New. 793*ed0d50c3Schristos (do_c_dspsc_1): New. 794*ed0d50c3Schristos (do_c_dspsc_2): New. 795*ed0d50c3Schristos (do_c_shift_1): New. 796*ed0d50c3Schristos (do_c_shift_2): New. 797*ed0d50c3Schristos (do_c_ldst_1): New. 798*ed0d50c3Schristos (do_c_ldst_2): New. 799*ed0d50c3Schristos (do_c_ldst_3): New. 800*ed0d50c3Schristos (do_c_ldst_4): New. 801*ed0d50c3Schristos (do_c_binops): New. 802*ed0d50c3Schristos (do_c_triple): New. 803*ed0d50c3Schristos (do_c_quad): New. 804*ed0d50c3Schristos (do_c_dspsc): New. 805*ed0d50c3Schristos (do_c_shift): New. 806*ed0d50c3Schristos (cirrus_parse_offset): New. 807*ed0d50c3Schristos (do_c_ldst): New. 808*ed0d50c3Schristos (md_parse_option): Add arm9e. 809*ed0d50c3Schristos (md_show_usage): Same. 810*ed0d50c3Schristos 811*ed0d50c3Schristos2001-10-08 Tom Rix <trix@redhat.com> 812*ed0d50c3Schristos 813*ed0d50c3Schristos * config/tc-ppc (ppc_bf, ppc_biei) : Set first .bi lineno value to 814*ed0d50c3Schristos location of next .bf 815*ed0d50c3Schristos * config/obj-coff.c (coff_frob_symbol) : XCOFF does not use endndx. 816*ed0d50c3Schristos 817*ed0d50c3Schristos2001-10-07 Alan Modra <amodra@bigpond.net.au> 818*ed0d50c3Schristos 819*ed0d50c3Schristos * config/obj-elf.c: Standardize error/warning messages - don't 820*ed0d50c3Schristos capitalise, no final period or newline, don't say "ignoring" for 821*ed0d50c3Schristos as_bad messages. In some cases, change the wording to that used 822*ed0d50c3Schristos elsewhere for similar messages. 823*ed0d50c3Schristos (obj_elf_section_name): New function, split out from .. 824*ed0d50c3Schristos (obj_elf_section): .. here. Correctly mask off SHF_MERGE if 825*ed0d50c3Schristos entsize not specified. 826*ed0d50c3Schristos 827*ed0d50c3Schristos2001-10-05 Jakub Jelinek <jakub@redhat.com> 828*ed0d50c3Schristos 829*ed0d50c3Schristos * doc/as.texinfo: Document M and S ELF section flags. 830*ed0d50c3Schristos 831*ed0d50c3Schristos2001-10-05 Alan Modra <amodra@bigpond.net.au> 832*ed0d50c3Schristos 833*ed0d50c3Schristos * subsegs.c (subseg_text_p): Return 0 for absolute section. 834*ed0d50c3Schristos * read.c (do_align): If in absolute section, warn about and ignore 835*ed0d50c3Schristos non-zero fill pattern. 836*ed0d50c3Schristos 837*ed0d50c3Schristos2001-10-05 Alexandre Oliva <aoliva@redhat.com> 838*ed0d50c3Schristos 839*ed0d50c3Schristos * config/tc-mn10300.c (tc_gen_reloc): Don't free 840*ed0d50c3Schristos reloc->sym_ptr_ptr if it's not allocated. 841*ed0d50c3Schristos 842*ed0d50c3Schristos2001-10-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 843*ed0d50c3Schristos 844*ed0d50c3Schristos * config/tc-mips.c (prev_insn_reloc_type): Make it an array to hold a 845*ed0d50c3Schristos relocation triple. 846*ed0d50c3Schristos (prev_insn_fixp): Likewise. 847*ed0d50c3Schristos (append_insn): Changed prototype to accept a relocation pointer. 848*ed0d50c3Schristos (imm_reloc): Make it an array. 849*ed0d50c3Schristos (offset_reloc): Likewise. 850*ed0d50c3Schristos (md_assemble): Handle triple relocations. 851*ed0d50c3Schristos (append_insn): Likewise. Add handling for some NewABI relocations. 852*ed0d50c3Schristos (mips_no_prev_insn): Handle triple relocations. 853*ed0d50c3Schristos (macro_build): Likewise. Add handling for some NewABI relocations. 854*ed0d50c3Schristos Move handling for the 'u' case to append_insn(). 855*ed0d50c3Schristos (mips16_macro_build): Handle triple relocations. 856*ed0d50c3Schristos (macro_build_lui): Likewise. Don't handle _gp_disp as special symbol 857*ed0d50c3Schristos for NewABI. 858*ed0d50c3Schristos (mips_ip): Handle triple relocations. 859*ed0d50c3Schristos (mips16_ip): Likewise. 860*ed0d50c3Schristos (mips_force_relocation): Force handling of triple relocations 861*ed0d50c3Schristos without symbols for NewABI. 862*ed0d50c3Schristos (md_apply_fix): Add handling for some NewABI relocations. 863*ed0d50c3Schristos 864*ed0d50c3Schristos2001-10-05 Alan Modra <amodra@bigpond.net.au> 865*ed0d50c3Schristos 866*ed0d50c3Schristos * config/tc-i386.c (parse_register): If not producing code for 867*ed0d50c3Schristos x86_64, reject x86_64 register name matches. 868*ed0d50c3Schristos (md_assemble): Remove now redundant check for x86_64 regs. 869*ed0d50c3Schristos 870*ed0d50c3Schristos2001-10-04 Alan Modra <amodra@bigpond.net.au> 871*ed0d50c3Schristos 872*ed0d50c3Schristos * config/tc-ppc.c (md_assemble <DS relocs>): Test ppc_size as well 873*ed0d50c3Schristos as BFD_DEFAULT_TARGET_SIZE. 874*ed0d50c3Schristos (ppc_tc): Likewise. 875*ed0d50c3Schristos (ppc_is_toc_sym): Likewise. 876*ed0d50c3Schristos (md_apply_fix3): Likewise. 877*ed0d50c3Schristos 878*ed0d50c3Schristos2001-10-03 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 879*ed0d50c3Schristos 880*ed0d50c3Schristos * config/tc-mips.c (mips_64): Remove. 881*ed0d50c3Schristos (mips_target_format): Move downwards in file, use HAVE_64BIT_OBJECTS 882*ed0d50c3Schristos in it. 883*ed0d50c3Schristos (mips_abi_level, mips_abi): New enum. 884*ed0d50c3Schristos (mips_32bit_abi): Remove. 885*ed0d50c3Schristos (HAVE*PRS): Use mips_abi instead of mips_32bit_abi. 886*ed0d50c3Schristos (HAVE_NEWABI): New define. 887*ed0d50c3Schristos (HAVE_64BIT_OBJECTS): New define. 888*ed0d50c3Schristos (HAVE_32BIT_ADDRESSES): Don't return true for 64bit objects. 889*ed0d50c3Schristos (HAVE_64BIT_ADDRESSES): New define, inverse of HAVE_32BIT_ADDRESSES. 890*ed0d50c3Schristos (support_64bit_objects): New prototype. 891*ed0d50c3Schristos (md_begin): Use mips_abi instead of mips_32bit_abi. Don't write 892*ed0d50c3Schristos .reginfo section for n32, use .MIPS.options instead. 893*ed0d50c3Schristos (support_64bit_objects): New function, code from md_parse_option. 894*ed0d50c3Schristos (md_longopts): Add -n32 option. 895*ed0d50c3Schristos (md_parse_option): Use mips_abi instead of mips_32bit_abi/mips64. 896*ed0d50c3Schristos Add -n32 option. Protect with OBJ_ELF. 897*ed0d50c3Schristos (s_mipsset): Use mips_abi instead of mips_32bit_abi. 898*ed0d50c3Schristos (mips_elf_final_processing): Likewise. Don't write .reginfo section 899*ed0d50c3Schristos for n32, use .MIPS.options instead. 900*ed0d50c3Schristos 901*ed0d50c3Schristos2001-10-03 Alan Modra <amodra@bigpond.net.au> 902*ed0d50c3Schristos 903*ed0d50c3Schristos * po/POTFILES.in: Regenerate. 904*ed0d50c3Schristos * configure: Regenerate. 905*ed0d50c3Schristos 906*ed0d50c3Schristos2001-10-02 Alan Modra <amodra@bigpond.net.au> 907*ed0d50c3Schristos 908*ed0d50c3Schristos * config/tc-ppc.c (md_apply_fix3 <BFD_RELOC_CTOR>): Make it 64 909*ed0d50c3Schristos bits if target is 64 bit. 910*ed0d50c3Schristos 911*ed0d50c3Schristos * doc/as.texinfo (listing): Fix typo. 912*ed0d50c3Schristos 913*ed0d50c3Schristos * as.c (print_version_id): Use BFD_VERSION_STRING in place of 914*ed0d50c3Schristos BFD_VERSION. 915*ed0d50c3Schristos * Makefile.am (Makefile): Depend on bfd/configure.in. 916*ed0d50c3Schristos Run "make dep-am". 917*ed0d50c3Schristos * Makefile.in: Regenerate. 918*ed0d50c3Schristos 919*ed0d50c3Schristos2001-09-30 H.J. Lu <hjl@gnu.org> 920*ed0d50c3Schristos 921*ed0d50c3Schristos * config/obj-elf.c (obj_elf_parse_section_letters): Accept "am" 922*ed0d50c3Schristos and "ams" for compatibility. 923*ed0d50c3Schristos 924*ed0d50c3Schristos2001-09-30 Hans-Peter Nilsson <hp@bitrange.com> 925*ed0d50c3Schristos 926*ed0d50c3Schristos * config/tc-sh.c (md_pcrel_from_section): Transformed from 927*ed0d50c3Schristos md_pcrel_from. Handle pc-relativeness against link-time 928*ed0d50c3Schristos symbol. Handle relativeness to elsewhere than the fixup. 929*ed0d50c3Schristos * config/tc-sh.h (MD_PCREL_FROM_SECTION): Define. 930*ed0d50c3Schristos (md_pcrel_from_section): Prototype. 931*ed0d50c3Schristos 932*ed0d50c3Schristos * Makefile.am: Update dependencies with "make dep-am". 933*ed0d50c3Schristos * Makefile.in: Regenerate. 934*ed0d50c3Schristos 935*ed0d50c3Schristos2001-09-30 Stephane Carrez <Stephane.Carrez@worldnet.fr> 936*ed0d50c3Schristos 937*ed0d50c3Schristos * config/tc-m68hc11.c (cmp_opcode): Define prototype. 938*ed0d50c3Schristos (print_opcode_format, skip_whites): Likewise. 939*ed0d50c3Schristos (convert_branch, m68hc11_new_insn): Likewise. 940*ed0d50c3Schristos (build_dbranch_insn, build_indexed_byte): Likewise. 941*ed0d50c3Schristos (build_reg_mode, find, find_opcode): Likewise. 942*ed0d50c3Schristos (print_insn_format): Fix call to print_opcode_format. 943*ed0d50c3Schristos (md_assemble): Fix call to build_dbranch_insn. 944*ed0d50c3Schristos 945*ed0d50c3Schristos2001-09-27 Nick Clifton <nickc@cambridge.redhat.com> 946*ed0d50c3Schristos 947*ed0d50c3Schristos * config/tc-arm.c: Add missing prototypes. 948*ed0d50c3Schristos 949*ed0d50c3Schristos2001-09-26 Jeff Johnston <jjohnstn@redhat.com> 950*ed0d50c3Schristos 951*ed0d50c3Schristos * input-file.c (input_file_open): When reading the 952*ed0d50c3Schristos first line looking for #NO_APP, prepare for the possibility 953*ed0d50c3Schristos of finding #APP instead. Also fix algorithm to allow 954*ed0d50c3Schristos white-space to follow either #NO_APP or #APP directives. 955*ed0d50c3Schristos 956*ed0d50c3Schristos2001-09-25 Geoff Berry <geoff.berry@bops.com> 957*ed0d50c3Schristos 958*ed0d50c3Schristos * listing.c (buffer_line): Don't write past the end of `line' when 959*ed0d50c3Schristos EOF is reached. 960*ed0d50c3Schristos 961*ed0d50c3Schristos2001-09-25 Alexandre Oliva <aoliva@redhat.com> 962*ed0d50c3Schristos 963*ed0d50c3Schristos * config/tc-mn10300.c (tc_gen_reloc): Don't emit an *ABS* 964*ed0d50c3Schristos relocation for differences between symbols in a section other 965*ed0d50c3Schristos than the one in which the difference is to be placed; apply 966*ed0d50c3Schristos the relocation instead. 967*ed0d50c3Schristos 968*ed0d50c3Schristos2001-09-24 Nick Clifton <nickc@cambridge.redhat.com> 969*ed0d50c3Schristos 970*ed0d50c3Schristos * config/tc-arc.c: Add missing prototype. 971*ed0d50c3Schristos (md_atof): Change type to int. Add missing prototype. 972*ed0d50c3Schristos * config/tc-arc.h: Prototype exported functions. 973*ed0d50c3Schristos 974*ed0d50c3Schristos2001-09-22 Nick Clifton <nickc@cambridge.redhat.com> 975*ed0d50c3Schristos 976*ed0d50c3Schristos * as.c: Add missing function prototype. 977*ed0d50c3Schristos * config/obj-aout.c: Fix compile time warning. 978*ed0d50c3Schristos 979*ed0d50c3Schristos2001-09-21 Bruno Haible <haible@clisp.cons.org> 980*ed0d50c3Schristos 981*ed0d50c3Schristos * config/tc-openrisc.c: Don't include <ctype.h>. 982*ed0d50c3Schristos 983*ed0d50c3Schristos2001-09-19 Martin Schwidefsky <schwidefsky@de.ibm.com> 984*ed0d50c3Schristos 985*ed0d50c3Schristos * gas/config/tc-s390.c: Add option -mwarn-areg-zero. 986*ed0d50c3Schristos 987*ed0d50c3Schristos2001-09-19 Alan Modra <amodra@bigpond.net.au> 988*ed0d50c3Schristos 989*ed0d50c3Schristos * config/tc-i370.c: Fix typo in last change. 990*ed0d50c3Schristos 991*ed0d50c3Schristos2001-09-19 Nick Clifton <nickc@cambridge.redhat.com> 992*ed0d50c3Schristos 993*ed0d50c3Schristos * doc/as.texinfo (Symbol Names): Improve documentation on local 994*ed0d50c3Schristos labels and add documenation about dollar labels. 995*ed0d50c3Schristos 996*ed0d50c3Schristos2001-09-18 Bruno Haible <haible@clisp.cons.org> 997*ed0d50c3Schristos 998*ed0d50c3Schristos * as.h: Don't include <ctype.h>. 999*ed0d50c3Schristos * as.c (main): For gettext, also set the LC_CTYPE locate facet. 1000*ed0d50c3Schristos * atof-generic.c: Include "safe-ctype.h" instead of <ctype.h>. 1001*ed0d50c3Schristos (atof_generic): Use ISDIGIT instead of isdigit. 1002*ed0d50c3Schristos * config/m68k-parse.y: Include "safe-ctype.h". 1003*ed0d50c3Schristos (yylex): Use ISDIGIT/ISALNUM instead of isdigit/isalnum. 1004*ed0d50c3Schristos * config/obj-elf.c: Include "safe-ctype.h". 1005*ed0d50c3Schristos (obj_elf_vtable_inherit): Use ISSPACE instead of isspace. 1006*ed0d50c3Schristos * config/obj-vms.c: Include "safe-ctype.h". 1007*ed0d50c3Schristos (Write_VMS_MHD_Records): Use TOUPPER instead of islower/toupper. 1008*ed0d50c3Schristos (VMS_Case_Hack_Symbol): Use ISUPPER/ISLOWER/TOUPPER/TOLOWER 1009*ed0d50c3Schristos instead of isupper/islower/toupper/tolower. 1010*ed0d50c3Schristos * config/tc-a29k.c: Include "safe-ctype.h" instead of <ctype.h>. 1011*ed0d50c3Schristos (insert_sreg): Use TOUPPER instead of islower/toupper. 1012*ed0d50c3Schristos (machine_ip): Use ISALPHA/ISALNUM/ISUPPER/TOLOWER instead of 1013*ed0d50c3Schristos isalpha/isalnum/isupper/tolower. 1014*ed0d50c3Schristos (a29k_unrecognized_line, md_operand): Use ISDIGIT instead of 1015*ed0d50c3Schristos isdigit. 1016*ed0d50c3Schristos * config/tc-alpha.c: Include "safe-ctype.h" instead of <ctype.h>. 1017*ed0d50c3Schristos (md_undefined_symbol, s_alpha_ent): Use ISDIGIT instead of isdigit. 1018*ed0d50c3Schristos * config/tc-arc.c: Include "safe-ctype.h" instead of <ctype.h>. 1019*ed0d50c3Schristos (md_assemble): Use ISSPACE/ISALNUM instead of isspace/isalnum. 1020*ed0d50c3Schristos (arc_extoper): Use TOLOWER instead of isupper/tolower. 1021*ed0d50c3Schristos * config/tc-arm.c: Include "safe-ctype.h" instead of <ctype.h>. 1022*ed0d50c3Schristos (arm_psr_parse): Use ISALPHA instead of isalpha. 1023*ed0d50c3Schristos (accum0_required_here): Use ISALNUM instead of isalnum. 1024*ed0d50c3Schristos (do_ldrd): Use ISSPACE instead of isspace. 1025*ed0d50c3Schristos (decode_shift): Use ISALPHA instead of isalpha. 1026*ed0d50c3Schristos (insert_reg): Use TOUPPER instead of islower/toupper. 1027*ed0d50c3Schristos (arm_reg_parse): Use ISALPHA instead of isalpha. 1028*ed0d50c3Schristos (arm_parse_reloc): Use ISALNUM/ISPUNCT/TOLOWER instead of 1029*ed0d50c3Schristos isalnum/ispunct/tolower. 1030*ed0d50c3Schristos * config/tc-avr.c: Include "safe-ctype.h" instead of <ctype.h>. 1031*ed0d50c3Schristos (md_parse_option): Use TOLOWER instead of tolower. 1032*ed0d50c3Schristos (avr_operand): Use ISDIGIT/TOLOWER instead of isdigit/tolower. 1033*ed0d50c3Schristos * config/tc-cris.c: Include "safe-ctype.h" instead of <ctype.h>. 1034*ed0d50c3Schristos (cris_process_instruction): Use ISLOWER instead of islower. 1035*ed0d50c3Schristos (get_gen_reg): Use ISALNUM/ISDIGIT instead of isalnum/isdigit. 1036*ed0d50c3Schristos (get_spec_reg): Use TOLOWER/ISALNUM instead of isupper/tolower/isalnum. 1037*ed0d50c3Schristos (get_flags): Use ISSPACE instead of isspace. 1038*ed0d50c3Schristos * config/tc-d10v.c: Include "safe-ctype.h" instead of <ctype.h>. 1039*ed0d50c3Schristos (do_assemble): Use TOLOWER instead of tolower. 1040*ed0d50c3Schristos * config/tc-d30v.c: Include "safe-ctype.h" instead of <ctype.h>. 1041*ed0d50c3Schristos (do_assemble): Use TOLOWER instead of tolower. 1042*ed0d50c3Schristos (d30v_start_line): Use ISSPACE instead of isspace. 1043*ed0d50c3Schristos * config/tc-fr30.c: Include "safe-ctype.h" instead of <ctype.h>. 1044*ed0d50c3Schristos (fr30_is_colon_insn): Use TOLOWER instead of tolower. 1045*ed0d50c3Schristos * config/tc-h8300.c: Include "safe-ctype.h" instead of <ctype.h>. 1046*ed0d50c3Schristos (skip_colonthing, get_operand): Use ISDIGIT instead of isdigit. 1047*ed0d50c3Schristos * config/tc-h8500.c: Include "safe-ctype.h" instead of <ctype.h>. 1048*ed0d50c3Schristos (start_label): Use ISALPHA instead of isalpha. 1049*ed0d50c3Schristos * config/tc-hppa.c: Include "safe-ctype.h" instead of <ctype.h>. 1050*ed0d50c3Schristos (pa_ip): Use ISUPPER/ISLOWER/TOLOWER instead of 1051*ed0d50c3Schristos isupper/islower/tolower. 1052*ed0d50c3Schristos (pa_parse_number): Use ISDIGIT instead of isdigit. 1053*ed0d50c3Schristos (pa_chk_field_selector): Use TOLOWER instead of tolower. 1054*ed0d50c3Schristos (pa_stringer): Use ISDIGIT instead of isdigit. 1055*ed0d50c3Schristos * config/tc-i370.c: Include "safe-ctype.h" instead of <ctype.h>. 1056*ed0d50c3Schristos (register_name): Use ISALPHA instead of isalpha. 1057*ed0d50c3Schristos (i370_elf_suffix): Use ISALNUM/TOLOWER instead of 1058*ed0d50c3Schristos isalnum/islower/tolower. 1059*ed0d50c3Schristos (i370_addr_offset): Use ISDIGIT/ISALPHA instead of 1060*ed0d50c3Schristos isdigit/isalpha. 1061*ed0d50c3Schristos (i370_addr_cons): Use ISALPHA/ISXDIGIT instead of 1062*ed0d50c3Schristos isalpha/isxdigit. 1063*ed0d50c3Schristos (md_assemble): Use ISSPACE instead of isspace. 1064*ed0d50c3Schristos * config/tc-i386.c: Include "safe-ctype.h" instead of <ctype.h>. 1065*ed0d50c3Schristos (md_begin): Use ISDIGIT/ISLOWER/ISUPPER/TOLOWER/ISALPHA 1066*ed0d50c3Schristos instead of isdigit/islower/isupper/tolower/isalpha. 1067*ed0d50c3Schristos (output_invalid): Use ISPRINT instead of isprint. 1068*ed0d50c3Schristos * config/tc-i860.c: Include "safe-ctype.h" instead of <ctype.h>. 1069*ed0d50c3Schristos (i860_ip): Use ISLOWER/ISDIGIT instead of islower/isdigit. 1070*ed0d50c3Schristos * config/tc-i960.c: Include "safe-ctype.h" instead of <ctype.h>. 1071*ed0d50c3Schristos (get_args): Use ISALNUM instead of isalnum. 1072*ed0d50c3Schristos * config/tc-ia64.c: Include "safe-ctype.h". 1073*ed0d50c3Schristos (dot_pred_rel): Use TOUPPER/ISDIGIT instead of toupper/isdigit. 1074*ed0d50c3Schristos (ia64_unrecognized_line): Use ISDIGIT instead of isdigit. 1075*ed0d50c3Schristos (ia64_parse_name): Likewise. 1076*ed0d50c3Schristos * config/tc-m32r.c: Include "safe-ctype.h" instead of <ctype.h>. 1077*ed0d50c3Schristos (assemble_two_insns): Use ISSPACE/ISALNUM/ISUPPER/TOLOWER 1078*ed0d50c3Schristos instead of isspace/isalnum/isupper/tolower. 1079*ed0d50c3Schristos * config/tc-m68hc11.c: Include "safe-ctype.h" instead of <ctype.h>. 1080*ed0d50c3Schristos (md_assemble): Use TOLOWER/ISALNUM instead of tolower/isalnum. 1081*ed0d50c3Schristos * config/tc-m68k.c: Include "safe-ctype.h" instead of <ctype.h>. 1082*ed0d50c3Schristos (mklower_table): Remove variable. 1083*ed0d50c3Schristos (mklower): Remove macro. 1084*ed0d50c3Schristos (insert_reg): Use TOUPPER instead of islower/toupper. 1085*ed0d50c3Schristos (md_begin): Remove initialization of mklower_table. 1086*ed0d50c3Schristos (s_reg): Use ISALNUM instead of isalnum. 1087*ed0d50c3Schristos (mri_assemble): Use ISUPPER/TOLOWER instead of isupper/tolower. 1088*ed0d50c3Schristos (parse_mri_condition): Use TOLOWER instead of isupper/tolower. 1089*ed0d50c3Schristos (build_mri_control_operand): Use TOLOWER instead of tolower. 1090*ed0d50c3Schristos (s_mri_else, s_mri_break, s_mri_next, s_mri_for): Likewise. 1091*ed0d50c3Schristos * config/tc-m88k.c: Include "safe-ctype.h" instead of <ctype.h>. 1092*ed0d50c3Schristos (md_assemble): Use ISSPACE instead of isspace. 1093*ed0d50c3Schristos (get_imm16): Use ISALNUM instead of isalnum. 1094*ed0d50c3Schristos (get_cnd): Use ISDIGIT/ISUPPER/TOLOWER instead of 1095*ed0d50c3Schristos isdigit/isupper/tolower. 1096*ed0d50c3Schristos (get_bf_offset_expression): Use ISALPHA/ISUPPER/TOLOWER 1097*ed0d50c3Schristos instead of isalpha/isupper/tolower. 1098*ed0d50c3Schristos (hexval): Use ISDIGIT/ISLOWER/ISUPPER instead of 1099*ed0d50c3Schristos isdigit/islower/isupper. 1100*ed0d50c3Schristos * config/tc-mcore.c: Include "safe-ctype.h" instead of <ctype.h>. 1101*ed0d50c3Schristos (mcore_s_section): Use ISSPACE instead of isspace. 1102*ed0d50c3Schristos (parse_reg): Use ISSPACE/TOLOWER/ISALNUM instead of 1103*ed0d50c3Schristos isspace/tolower/isalnum. 1104*ed0d50c3Schristos (parse_creg): Use ISSPACE/TOLOWER instead of isspace/tolower. 1105*ed0d50c3Schristos (parse_psrmod): Use TOLOWER instead of isascii/tolower. 1106*ed0d50c3Schristos (parse_exp, parse_mem, md_assemble): Use ISSPACE instead of 1107*ed0d50c3Schristos isspace. 1108*ed0d50c3Schristos * config/tc-mips.c: Include "safe-ctype.h" instead of <ctype.h>. 1109*ed0d50c3Schristos (mips_ip): Use ISSPACE/ISDIGIT instead of isspace/isdigit. 1110*ed0d50c3Schristos (mips16_ip): Use ISLOWER/ISDIGIT instead of islower/isdigit. 1111*ed0d50c3Schristos (my_getSmallExpression): Use ISDIGIT/TOLOWER instead of 1112*ed0d50c3Schristos isdigit/tolower. 1113*ed0d50c3Schristos (tc_get_register): Likewise. 1114*ed0d50c3Schristos (get_number): Use ISDIGIT/ISXDIGIT instead of isdigit/isxdigit. 1115*ed0d50c3Schristos (s_mips_ent): Use ISDIGIT instead of isdigit. 1116*ed0d50c3Schristos * config/tc-mn10200.c: Include "safe-ctype.h" instead of <ctype.h>. 1117*ed0d50c3Schristos (md_assemble): Use ISSPACE instead of isspace. 1118*ed0d50c3Schristos * config/tc-mn10300.c: Include "safe-ctype.h" instead of <ctype.h>. 1119*ed0d50c3Schristos (md_assemble): Use ISSPACE instead of isspace. 1120*ed0d50c3Schristos * config/tc-ns32k.c: Don't include <ctype.h>. 1121*ed0d50c3Schristos * config/tc-pdp11.c: Include "safe-ctype.h". 1122*ed0d50c3Schristos (mklower): Remove function. 1123*ed0d50c3Schristos (parse_reg): Use TOLOWER instead of mklower. 1124*ed0d50c3Schristos * config/tc-pj.c: Include "safe-ctype.h". 1125*ed0d50c3Schristos (md_assemble): Use ISSPACE instead of isspace. 1126*ed0d50c3Schristos * config/tc-ppc.c: Include "safe-ctype.h" instead of <ctype.h>. 1127*ed0d50c3Schristos (register_name): Use ISALPHA instead of isalpha. 1128*ed0d50c3Schristos (ppc_elf_suffix): Use ISALNUM/TOLOWER instead of 1129*ed0d50c3Schristos isalnum/islower/tolower. 1130*ed0d50c3Schristos (md_assemble): Use ISSPACE instead of isspace. 1131*ed0d50c3Schristos (ppc_canonicalize_symbol_name): Use ISLOWER/TOUPPER instead of 1132*ed0d50c3Schristos islower/toupper. 1133*ed0d50c3Schristos * config/tc-s390.c: Include "safe-ctype.h" instead of <ctype.h>. 1134*ed0d50c3Schristos (register_name): Use ISALPHA instead of isalpha. 1135*ed0d50c3Schristos (s390_elf_suffix, s390_lit_suffix): Use ISALNUM instead of isalnum. 1136*ed0d50c3Schristos (md_gather_operands, md_assemble, s390_insn): Use ISSPACE instead of 1137*ed0d50c3Schristos isspace. 1138*ed0d50c3Schristos * config/tc-sh.c: Include "safe-ctype.h" instead of <ctype.h>. 1139*ed0d50c3Schristos (sh_elf_suffix): Use ISALNUM/TOLOWER instead of 1140*ed0d50c3Schristos isalnum/islower/tolower. 1141*ed0d50c3Schristos (IDENT_CHAR): Use ISALNUM instead of isalnum. 1142*ed0d50c3Schristos (parse_reg): Use TOLOWER instead of tolower. 1143*ed0d50c3Schristos (find_cooked_opcode): Use TOLOWER instead of isupper/tolower. 1144*ed0d50c3Schristos * config/tc-sparc.c: Include "safe-ctype.h" instead of <ctype.h>. 1145*ed0d50c3Schristos (sparc_ip): Use ISLOWER/ISDIGIT instead of islower/isdigit. 1146*ed0d50c3Schristos (parse_keyword_arg): Use ISALNUM instead of isalnum. 1147*ed0d50c3Schristos * config/tc-tahoe.c: Include "safe-ctype.h". 1148*ed0d50c3Schristos (tahoe_reg_parse): Use ISDIGIT instead of isdigit. 1149*ed0d50c3Schristos (tip_op): Use TOLOWER instead of isupper/tolower. 1150*ed0d50c3Schristos * config/tc-tic30.c: Include "safe-ctype.h". 1151*ed0d50c3Schristos (md_begin): Use ISLOWER/ISDIGIT/ISUPPER/TOLOWER/ISLOWER/ 1152*ed0d50c3Schristos ISALPHA instead of islower/isdigit/isupper/tolower/islower/isalpha. 1153*ed0d50c3Schristos (tic30_operand): Use TOLOWER instead of tolower. 1154*ed0d50c3Schristos (tic30_find_parallel_insn): Likewise. 1155*ed0d50c3Schristos (output_invalid): Use ISPRINT instead of isprint. 1156*ed0d50c3Schristos * config/tc-tic54x.c: Include "safe-ctype.h". 1157*ed0d50c3Schristos (tic54x_asg, tic54x_eval): Use ISALPHA instead of isalpha. 1158*ed0d50c3Schristos (lookup_version): Use TOUPPER instead of toupper. 1159*ed0d50c3Schristos (tic54x_var): Use ISALPHA instead of isalpha. 1160*ed0d50c3Schristos (tic54x_mlib): Use ISSPACE instead of isspace. 1161*ed0d50c3Schristos (subsym_iscons): Use TOUPPER instead of toupper. 1162*ed0d50c3Schristos (get_operands): Use ISSPACE instead of isspace. 1163*ed0d50c3Schristos (is_type): Use TOUPPER/ISDIGIT instead of toupper/isdigit. 1164*ed0d50c3Schristos (encode_indirect, encode_operand): Use TOUPPER instead of toupper. 1165*ed0d50c3Schristos (next_line_shows_parallel): Use ISSPACE instead of isspace. 1166*ed0d50c3Schristos (subsym_get_arg, subsym_substitute): Use ISDIGIT instead of isdigit. 1167*ed0d50c3Schristos (tic54x_start_line_hook, md_assemble, tic54x_start_label): Use 1168*ed0d50c3Schristos ISSPACE instead of isspace. 1169*ed0d50c3Schristos * config/tc-tic80.c: Include "safe-ctype.h". 1170*ed0d50c3Schristos (md_assemble): Use ISSPACE instead of isspace. 1171*ed0d50c3Schristos * config/tc-v850.c: Include "safe-ctype.h" instead of <ctype.h>. 1172*ed0d50c3Schristos (system_register_name): Use ISDIGIT instead of isdigit. 1173*ed0d50c3Schristos (md_assemble): Use ISSPACE instead of isspace. 1174*ed0d50c3Schristos * config/tc-vax.c: Include "safe-ctype.h" instead of <ctype.h>. 1175*ed0d50c3Schristos (vax_reg_parse): Use TOLOWER/ISDIGIT instead of 1176*ed0d50c3Schristos isupper/tolower/isdigit. 1177*ed0d50c3Schristos (vip_op): Use TOLOWER instead of isupper/tolower. 1178*ed0d50c3Schristos * config/tc-w65.c: Don't include <ctype.h>. 1179*ed0d50c3Schristos * config/tc-z8k.c: Include "safe-ctype.h" instead of <ctype.h>. 1180*ed0d50c3Schristos (tohex): Use ISDIGIT/ISLOWER instead of isdigit/islower. 1181*ed0d50c3Schristos (whatreg): Use ISDIGIT instead of isdigit. 1182*ed0d50c3Schristos * ecoff.c: Include "safe-ctype.h" instead of <ctype.h>. 1183*ed0d50c3Schristos (ecoff_directive_ent, ecoff_stab): Use ISDIGIT instead of isdigit. 1184*ed0d50c3Schristos * expr.c: Include "safe-ctype.h" instead of <ctype.h>. 1185*ed0d50c3Schristos (integer_constant): Use ISALNUM/TOUPPER instead of 1186*ed0d50c3Schristos isalnum/islower/toupper. 1187*ed0d50c3Schristos (operand): Use TOLOWER instead of isupper/tolower. 1188*ed0d50c3Schristos * gasp.c: Include "safe-ctype.h" instead of <ctype.h>. 1189*ed0d50c3Schristos (sb_strtol, level_0, change_base, doinstr): Use ISDIGIT instead 1190*ed0d50c3Schristos of isdigit. 1191*ed0d50c3Schristos (process_assigns, whatcond): Use TOUPPER instead of toupper. 1192*ed0d50c3Schristos (chartype_init): Use ISALPHA/ISDIGIT instead of isalpha/isdigit. 1193*ed0d50c3Schristos (main): For gettext, also set the LC_CTYPE locate facet. 1194*ed0d50c3Schristos * hash.c: Include "safe-ctype.h". 1195*ed0d50c3Schristos (main): Use TOLOWER instead of isupper/tolower. 1196*ed0d50c3Schristos * itbl-lex.l: Don't include <ctype.h>. 1197*ed0d50c3Schristos * listing.c: Include "safe-ctype.h" instead of <ctype.h>. 1198*ed0d50c3Schristos (listing_newline): Use ISCNTRL instead of isascii/iscntrl. Don't 1199*ed0d50c3Schristos omit non-ASCII characters. 1200*ed0d50c3Schristos (debugging_pseudo): Use ISSPACE instead of isspace. 1201*ed0d50c3Schristos * macro.c: Include "safe-ctype.h" instead of <ctype.h>. 1202*ed0d50c3Schristos (buffer_and_nest): Use ISALNUM instead of isalnum. 1203*ed0d50c3Schristos (get_token): Use ISALPHA/ISALNUM instead of isalpha/isalnum. 1204*ed0d50c3Schristos (define_macro): Use ISUPPER/TOLOWER instead of isupper/tolower. 1205*ed0d50c3Schristos (macro_expand_body): Use ISALNUM/ISDIGIT/ISUPPER/ISALPHA 1206*ed0d50c3Schristos instead of isalnum/isdigit/isupper/isalpha. 1207*ed0d50c3Schristos (check_macro): Use ISALPHA/ISALNUM/ISUPPER/TOLOWER instead 1208*ed0d50c3Schristos of isalpha/isalnum/isupper/tolower. 1209*ed0d50c3Schristos * read.c: Include "safe-ctype.h" instead of <ctype.h>. 1210*ed0d50c3Schristos (read_a_source_file): Use ISUPPER/TOLOWER/ISDIGIT instead of 1211*ed0d50c3Schristos isupper/tolower/isdigit. 1212*ed0d50c3Schristos (s_mri_common): Use ISDIGIT instead of isdigit. 1213*ed0d50c3Schristos (s_mri_sect): Use ISDIGIT/TOUPPER instead of isdigit/toupper. 1214*ed0d50c3Schristos (s_float_space): Use ISALPHA instead of isalpha. 1215*ed0d50c3Schristos (ignore_rest_of_line): Use ISPRINT instead of isprint. 1216*ed0d50c3Schristos (float_cons): Use ISALPHA instead of isalpha. 1217*ed0d50c3Schristos (next_char_of_string): Use ISDIGIT/ISXDIGIT instead of 1218*ed0d50c3Schristos isdigit/isxdigit. 1219*ed0d50c3Schristos * symbols.c: Include "safe-ctype.h" instead of <ctype.h>. 1220*ed0d50c3Schristos (save_symbol_name): Use ISLOWER/TOUPPER instead of 1221*ed0d50c3Schristos islower/toupper. 1222*ed0d50c3Schristos (symbol_find_base): Use TOUPPER instead of islower/toupper. 1223*ed0d50c3Schristos (decode_local_label_name): Use ISDIGIT instead of isdigit. 1224*ed0d50c3Schristos 1225*ed0d50c3Schristos2001-09-18 Martin Schwidefsky <schwidefsky@de.ibm.com> 1226*ed0d50c3Schristos 1227*ed0d50c3Schristos * tc-s390.c (s390_insn): Add code to cope with 6 byte O_constants 1228*ed0d50c3Schristos in 64 bit mode and make format "e" work. 1229*ed0d50c3Schristos 1230*ed0d50c3Schristos2001-09-18 Alan Modra <amodra@bigpond.net.au> 1231*ed0d50c3Schristos 1232*ed0d50c3Schristos * dwarf2dbg.c (dwarf2_directive_file): Avoid signed/unsigned warning. 1233*ed0d50c3Schristos 1234*ed0d50c3Schristos * write.c (set_symtab): Update bfd_alloc declaration. Use a temp 1235*ed0d50c3Schristos var to ensure bfd_alloc arg is the right type. 1236*ed0d50c3Schristos (write_object_file): Cast args of bfd_seek. Replace bfd_write with 1237*ed0d50c3Schristos bfd_bwrite. 1238*ed0d50c3Schristos 1239*ed0d50c3Schristos * config/obj-coff.c: Replace calls to bfd_write with calls to 1240*ed0d50c3Schristos bfd_bwrite. Cast args of bfd_seek. 1241*ed0d50c3Schristos 1242*ed0d50c3Schristos * config/obj-elf.c (obj_elf_change_section): Avoid signed/unsigned 1243*ed0d50c3Schristos warning. 1244*ed0d50c3Schristos 1245*ed0d50c3Schristos * config/tc-mn10300.c (set_arch_mach): Make param unsigned. 1246*ed0d50c3Schristos 1247*ed0d50c3Schristos * config/tc-tic54x.c (tic54x_mlib): Replace bfd_read call with 1248*ed0d50c3Schristos call to bfd_bread. 1249*ed0d50c3Schristos 1250*ed0d50c3Schristos2001-09-15 Hans-Peter Nilsson <hp@bitrange.com> 1251*ed0d50c3Schristos 1252*ed0d50c3Schristos * config/tc-sh.h (sh_force_relocation): Prototype. 1253*ed0d50c3Schristos (struct fix): Forward declare. 1254*ed0d50c3Schristos * config/tc-sh.c (type sh_operand_info): Move to top of file. 1255*ed0d50c3Schristos (cons, s_align_bytes): Remove old-type declarations. 1256*ed0d50c3Schristos (sh_elf_suffix, parse_reg, dot, parse_exp, parse_at, get_operand, 1257*ed0d50c3Schristos get_operands, get_specific, insert, build_relax, 1258*ed0d50c3Schristos insert_loop_bounds, build_Mytes): Prototype. 1259*ed0d50c3Schristos (little): Make static. Prototype. 1260*ed0d50c3Schristos (check, tc_Nout_fix_to_chars): Delete unused functions. 1261*ed0d50c3Schristos 1262*ed0d50c3Schristos2001-09-14 Eric Christopher <echristo@redhat.com> 1263*ed0d50c3Schristos 1264*ed0d50c3Schristos * config/tc-mips.c (md_parse_option): Remove setting mips_64 via 1265*ed0d50c3Schristos -mgp32/mgp64. 1266*ed0d50c3Schristos 1267*ed0d50c3Schristos2001-09-14 Kevin Lo <kevlo@openbsd.org> 1268*ed0d50c3Schristos 1269*ed0d50c3Schristos * configure.in: Add arm-openbsd target. 1270*ed0d50c3Schristos * configure: Regenerate. 1271*ed0d50c3Schristos 1272*ed0d50c3Schristos2001-09-14 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 1273*ed0d50c3Schristos 1274*ed0d50c3Schristos * configure.in: Change machine triplets from mips-*-linux-gnu* to 1275*ed0d50c3Schristos mips*-*-linux*. 1276*ed0d50c3Schristos 1277*ed0d50c3Schristos2001-09-12 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 1278*ed0d50c3Schristos 1279*ed0d50c3Schristos * config/tc-mips.c (append_insn): Don't rightshift BFD_RELOC_16_PCREL. 1280*ed0d50c3Schristos 1281*ed0d50c3Schristos2001-09-11 Richard Henderson <rth@redhat.com> 1282*ed0d50c3Schristos 1283*ed0d50c3Schristos * config/tc-alpha.c (alpha_elf_section_letter): New. 1284*ed0d50c3Schristos (alpha_elf_section_flags): New. 1285*ed0d50c3Schristos * config/tc-alpha.h (md_elf_section_letter): New. 1286*ed0d50c3Schristos (md_elf_section_flags): New. 1287*ed0d50c3Schristos * config/tc-ia64.c (ia64_elf_section_letter): New. 1288*ed0d50c3Schristos * config/tc-ia64.h (md_elf_section_letter): New. 1289*ed0d50c3Schristos 1290*ed0d50c3Schristos2001-09-11 Jakub Jelinek <jakub@redhat.com> 1291*ed0d50c3Schristos 1292*ed0d50c3Schristos * config/obj-elf.c (obj_elf_parse_section_letters): Use 'M' instead 1293*ed0d50c3Schristos of 'm', 'S' instead of 's'. Update bad_msg. 1294*ed0d50c3Schristos * config/tc-ppc.c (ppc_section_letter): Update bad_msg. 1295*ed0d50c3Schristos * config/tc-i370.c (i370_sectioN_letter): Update bad_msg. 1296*ed0d50c3Schristos 1297*ed0d50c3Schristos2001-09-09 Alan Modra <amodra@bigpond.net.au> 1298*ed0d50c3Schristos 1299*ed0d50c3Schristos * expr.c (expr): Move code setting "retval" to the end of the loop, 1300*ed0d50c3Schristos and rearrange for efficiency. For "PIC code" subtraction, use 1301*ed0d50c3Schristos "rightseg" rather than recalculating. For "symbol OP symbol" 1302*ed0d50c3Schristos subtract, set "retval" to absolute_section if symbols in same 1303*ed0d50c3Schristos section. 1304*ed0d50c3Schristos * symbols.c (resolve_symbol_value): Resolve "sym +/- expr" to an 1305*ed0d50c3Schristos O_symbol. Simplify a +/- b code. Allow equality and non-equality 1306*ed0d50c3Schristos comparisons on symbols from any section. Allow other comparison 1307*ed0d50c3Schristos operators as for subtraction. 1308*ed0d50c3Schristos (symbol_equated_reloc_p): New predicate function. 1309*ed0d50c3Schristos * symbols.h (symbol_equated_reloc_p): Declare. 1310*ed0d50c3Schristos * write.c (relax_segment <rs_machine_dependent>): Ensure segment 1311*ed0d50c3Schristos for expression syms is set correctly. 1312*ed0d50c3Schristos (adjust_reloc_syms): Use symbol_equated_reloc_p. 1313*ed0d50c3Schristos (write_relocs): Likewise. 1314*ed0d50c3Schristos (write_object_file): Likewise. 1315*ed0d50c3Schristos * config/tc-mips.c (md_estimate_size_before_relax): Likewise. 1316*ed0d50c3Schristos * config/tc-i386.c (md_assemble <Output jumps>): Don't lose part 1317*ed0d50c3Schristos of a complex expression when setting up frag_var. 1318*ed0d50c3Schristos 1319*ed0d50c3Schristos2001-09-07 Richard Henderson <rth@redhat.com> 1320*ed0d50c3Schristos 1321*ed0d50c3Schristos * config/tc-alpha.c (alpha_reloc_op_tag): Replace need_seq with 1322*ed0d50c3Schristos require_seq and allow_seq. Let !literal omit the sequence number. 1323*ed0d50c3Schristos (tokenize_arguments): Reject sequence numbers of !allow_seq. 1324*ed0d50c3Schristos 1325*ed0d50c3Schristos2001-09-08 Jakub Jelinek <jakub@redhat.com> 1326*ed0d50c3Schristos 1327*ed0d50c3Schristos * config/tc-sparc.c (md_apply_fix3): Handle relocs against SEC_MERGE 1328*ed0d50c3Schristos section symbols the same way as externs. 1329*ed0d50c3Schristos 1330*ed0d50c3Schristos2001-09-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 1331*ed0d50c3Schristos 1332*ed0d50c3Schristos * config/tc-mips.c (s_mipsset): Reallow unrestricted use of .set mipsX 1333*ed0d50c3Schristos pseudo-op. 1334*ed0d50c3Schristos 1335*ed0d50c3Schristos2001-09-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 1336*ed0d50c3Schristos 1337*ed0d50c3Schristos * config/tc-mips.c (append_insn): Handle BFD_RELOC_16_PCREL. 1338*ed0d50c3Schristos (macro_build): Use BFD_RELOC_16_PCREL_S2 only for embedded 1339*ed0d50c3Schristos PIC, BFD_RELOC_16_PCREL for the rest. 1340*ed0d50c3Schristos (mips_ip): Likewise. 1341*ed0d50c3Schristos (md_pcrel_from): return the right offset for the differently shifted 1342*ed0d50c3Schristos pcrel relocs. 1343*ed0d50c3Schristos (md_apply_fix): Handle BFD_RELOC_16_PCREL. 1344*ed0d50c3Schristos 1345*ed0d50c3Schristos2001-09-05 Richard Henderson <rth@redhat.com> 1346*ed0d50c3Schristos 1347*ed0d50c3Schristos * config/tc-ia64.c (FUNC_IPLT_RELOC): New. 1348*ed0d50c3Schristos (pseudo_func): Add @iplt. 1349*ed0d50c3Schristos (pseudo_opcode): Add data16 and data16.ua. 1350*ed0d50c3Schristos (md_begin): Set iplt pseudo. 1351*ed0d50c3Schristos (ia64_cons_fix_new): Handle 16 byte iplt reloc specially. 1352*ed0d50c3Schristos 1353*ed0d50c3Schristos2001-09-04 Richard Henderson <rth@redhat.com> 1354*ed0d50c3Schristos 1355*ed0d50c3Schristos * config/tc-alpha.c (struct alpha_insn): Make sequence scalar long. 1356*ed0d50c3Schristos (MACRO_LITERAL, MACRO_BASE, MACRO_BYTOFF, MACRO_JSR): Remove. 1357*ed0d50c3Schristos (alpha_macros): Remove occurrences of same. 1358*ed0d50c3Schristos (O_lituse_addr, O_gprel): New. 1359*ed0d50c3Schristos (DUMMY_RELOC_LITUSE_*): New. 1360*ed0d50c3Schristos (s_alpha_ucons, s_alpha_arch): Prototype. 1361*ed0d50c3Schristos (alpha_reloc_op): Construct elements via DEF macro. 1362*ed0d50c3Schristos (ALPHA_RELOC_SEQUENCE_OK): Remove. 1363*ed0d50c3Schristos (struct alpha_reloc_tag): Rename from alpha_literal_tag; rename 1364*ed0d50c3Schristos members to not be literal specific. 1365*ed0d50c3Schristos (next_sequence_num): New. 1366*ed0d50c3Schristos (md_apply_fix3): Cope with missing GPDISP_LO16. Adjust for 1367*ed0d50c3Schristos added/removed BFD relocations. 1368*ed0d50c3Schristos (alpha_force_relocation, alpha_fix_adjustable): Likewise. 1369*ed0d50c3Schristos (alpha_adjust_symtab_relocs): Handle GPDISP relocs as well. 1370*ed0d50c3Schristos (tokenize_arguments): Parse ! relocations properly. 1371*ed0d50c3Schristos (find_macro_match): Delete unused macro argument types. 1372*ed0d50c3Schristos (assemble_insn): Add reloc parameter; emit that instead of the 1373*ed0d50c3Schristos default as appropriate. 1374*ed0d50c3Schristos (get_alpha_reloc_tag): New. Split from ... 1375*ed0d50c3Schristos (emit_insn): ... here. Allocate a reloc tag for GPDISP. 1376*ed0d50c3Schristos (assemble_tokens): Don't search macros if user relocation present. 1377*ed0d50c3Schristos Copy reloc sequence number to insn struct. 1378*ed0d50c3Schristos (emit_ldgp): Remove user reloc handling. 1379*ed0d50c3Schristos (load_expression, emit_lda, emit_ldah, emit_ir_load): Likewise. 1380*ed0d50c3Schristos (emit_loadstore, emit_ldXu, emit_ldil, emit_stX): Likewise. 1381*ed0d50c3Schristos (emit_sextX, emit_division, emit_jsrjmp, emit_retjcr): Likewise. 1382*ed0d50c3Schristos * config/tc-alpha.h (tc_adjust_symtab): Always define. 1383*ed0d50c3Schristos (struct alpha_fix_tag): Name members less literal specific. 1384*ed0d50c3Schristos 1385*ed0d50c3Schristos2001-09-04 Jeffrey A Law (law@cygnus.com) 1386*ed0d50c3Schristos 1387*ed0d50c3Schristos * tc-h8300.c (tc_gen_reloc): Give an error if we try to take the 1388*ed0d50c3Schristos address of two symbols in different sections. 1389*ed0d50c3Schristos 1390*ed0d50c3Schristos2001-08-31 Eric Christopher <echristo@redhat.com> 1391*ed0d50c3Schristos Jason Eckhardt <jle@redhat.com> 1392*ed0d50c3Schristos 1393*ed0d50c3Schristos * config/tc-mips.c (mips_cpu_info): Add support for mipsisa32, 1394*ed0d50c3Schristos 5kc, and 20kc. Clean up old entries. 1395*ed0d50c3Schristos 1396*ed0d50c3Schristos2001-08-31 J"orn Rennecke <amylaar@redhat.com> 1397*ed0d50c3Schristos Jeff Law <law@redhat.com> 1398*ed0d50c3Schristos 1399*ed0d50c3Schristos * config/tc-h8300.c (build_bytes): For OBJ_ELF, make relocation's 1400*ed0d50c3Schristos offset match H8 ELF spec. 1401*ed0d50c3Schristos (md_section_align): Alternate implementation for BFD_ASSEMBLER. 1402*ed0d50c3Schristos (md_apply_fix): Fix argument and return types for BFD_ASSEMBLER. 1403*ed0d50c3Schristos 1404*ed0d50c3Schristos * tc-h8300.c (relocation mappings): Remove. Moved to tc-h8300.h. 1405*ed0d50c3Schristos (build_bytes): Mark fixups for PCrel branches as signed. For 1406*ed0d50c3Schristos OBJ_ELF, make sure the reloc's offset points to the first byte 1407*ed0d50c3Schristos to be modified. 1408*ed0d50c3Schristos (md_convert_frag): Update definiton based on BFD_ASSEMBLER. 1409*ed0d50c3Schristos * tc-h8300.h (relocation mappings): Add. 1410*ed0d50c3Schristos 1411*ed0d50c3Schristos2001-08-30 J"orn Rennecke <amylaar@redhat.com> 1412*ed0d50c3Schristos 1413*ed0d50c3Schristos * tc-h8300.c (tc_crawl_symbol_chain, tc_headers_hook): Don't 1414*ed0d50c3Schristos define for BFD_ASSEMBLER. 1415*ed0d50c3Schristos (tc_reloc_mangle): Likewise. 1416*ed0d50c3Schristos (tc_gen_reloc): New function for BFD_ASSEMBLER. 1417*ed0d50c3Schristos 1418*ed0d50c3Schristos2001-08-29 Jeffrey A Law (law@cygnus.com) 1419*ed0d50c3Schristos 1420*ed0d50c3Schristos * config/tc-h8300.c (h8300hmode): Record the machine type 1421*ed0d50c3Schristos if BFD_ASSEMBLER is defined. 1422*ed0d50c3Schristos (h8300smode, md_begin): Similarly. 1423*ed0d50c3Schristos 1424*ed0d50c3Schristos2001-08-29 Joel Sherrill <joel@OARcorp.com> 1425*ed0d50c3Schristos 1426*ed0d50c3Schristos * configure.in (i[3456]86-*-rtems*, m68*-*-rtems*): Change 1427*ed0d50c3Schristos default from coff to elf. 1428*ed0d50c3Schristos * configure: Regenerate. 1429*ed0d50c3Schristos 1430*ed0d50c3Schristos2001-08-29 J"orn Rennecke <amylaar@redhat.com> 1431*ed0d50c3Schristos 1432*ed0d50c3Schristos * tc-h8300.c: If OBJ_ELF, include elf/h8.h, and define 1433*ed0d50c3Schristos assorted coff relocations to the corresponding elf relocations. 1434*ed0d50c3Schristos * tc-h8300.h (TARGET_ARCH, TARGET_FORMAT): Define appropriately. 1435*ed0d50c3Schristos 1436*ed0d50c3Schristos * configure.in: Add case for h8300-*-elf. 1437*ed0d50c3Schristos * configure: Regenerate. 1438*ed0d50c3Schristos 1439*ed0d50c3Schristos2001-08-29 J"orn Rennecke <amylaar@redhat.com> 1440*ed0d50c3Schristos 1441*ed0d50c3Schristos * doc/internals.texi (MD_PCREL_FROM_SECTION): Change 1442*ed0d50c3Schristos documentation to reflect reality. 1443*ed0d50c3Schristos 1444*ed0d50c3Schristos2001-08-27 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 1445*ed0d50c3Schristos 1446*ed0d50c3Schristos * config/tc-mips.c (load_address): Reflect change to MAX_GPREL_OFFSET. 1447*ed0d50c3Schristos (macro): Reflect change to MAX_GPREL_OFFSET. 1448*ed0d50c3Schristos 1449*ed0d50c3Schristos2001-08-27 Torbjorn Granlund <tege@swox.com> 1450*ed0d50c3Schristos Staffan Ulfberg <staffanu@swox.se> 1451*ed0d50c3Schristos Linus Nordberg <linus@swox.se> 1452*ed0d50c3Schristos Alan Modra <amodra@bigpond.net.au> 1453*ed0d50c3Schristos 1454*ed0d50c3Schristos * configure.in: Recognise powerpc*le*, not just powerpcle*. 1455*ed0d50c3Schristos * configure: Regenerate. 1456*ed0d50c3Schristos * config/tc-ppc.c (PPC_LO, PPC_HI, PPC_HA, PPC_HIGHER, 1457*ed0d50c3Schristos PPC_HIGHERA, PPC_HIGHEST, PPC_HIGHESTA, SEX16): New macros. 1458*ed0d50c3Schristos (md_assemble): Use them. 1459*ed0d50c3Schristos (ppc_machine): Support stub for ELF64 as well as XCOFF. 1460*ed0d50c3Schristos (md_pseudo_table): Add "llong", "quad". 1461*ed0d50c3Schristos (md_parse_option): Match default_cpu of powerpc*. 1462*ed0d50c3Schristos (ppc_arch): Likewise. 1463*ed0d50c3Schristos (ppc_subseg_align): Only for OBJ_XCOFF. 1464*ed0d50c3Schristos (ppc_target_format): Return elf64-powerpc strings for 64 bit ELF. 1465*ed0d50c3Schristos (md_begin): Select PPC_OPCODE_64 for 64 bit. 1466*ed0d50c3Schristos (ppc_insert_operand): Don't bother testing 'file' before calling 1467*ed0d50c3Schristos as_bad_where. Use as_bad_where for operand->insert errors. 1468*ed0d50c3Schristos (mapping): Add ELF64 relocation modifiers. 1469*ed0d50c3Schristos (ppc_elf_suffix): Replace symbol on BFD_RELOC_PPC64_TOC reloc 1470*ed0d50c3Schristos expressions with abs_symbol. 1471*ed0d50c3Schristos (ppc_elf_cons): Correct offset for little endian targets. 1472*ed0d50c3Schristos (ppc_elf_frob_symbol): New. 1473*ed0d50c3Schristos (md_assemble): Add support for 64 bit ELF relocs. 1474*ed0d50c3Schristos (ppc_tc): Ensure 8 byte alignment when 64 bit. 1475*ed0d50c3Schristos (ppc_is_toc_sym): Only define for OBJ_XCOFF and OBJ_ELF. Match 1476*ed0d50c3Schristos ".toc" section for 64 bit ELF. 1477*ed0d50c3Schristos (ppc_fix_adjustable): New. Macro body moved from tc-ppc.h. 1478*ed0d50c3Schristos (md_apply_fix3): Silence warning with ATTRIBUTE_UNUSED. Only do 1479*ed0d50c3Schristos the ppc_is_toc_sym check for OBJ_XCOFF and OBJ_ELF. For 64 bit, 1480*ed0d50c3Schristos use BFD_RELOC_PPC64_TOC16_DS instead of BFD_RELOC_PPC_TOC16. 1481*ed0d50c3Schristos Expand on comments, error message. Add support for 64 bit relocs, 1482*ed0d50c3Schristos and use PPC_HI etc. macros. 1483*ed0d50c3Schristos * config/tc-ppc.h (MAX_MEM_FOR_RS_ALIGN_CODE): Define. 1484*ed0d50c3Schristos (HANDLE_ALIGN): Define to generate nops in code sections rather 1485*ed0d50c3Schristos than zeros. 1486*ed0d50c3Schristos (TC_FORCE_RELOCATION): Force for BFD_RELOC_PPC64_TOC. 1487*ed0d50c3Schristos (ELF_TC_SPECIAL_SECTIONS): Add 64 bit ELF sections. 1488*ed0d50c3Schristos (tc_fix_adjustable): Move body of macro to tc-ppc.c. 1489*ed0d50c3Schristos (ppc_fix_adjustable): Declare. 1490*ed0d50c3Schristos (tc_frob_symbol): Define. 1491*ed0d50c3Schristos (ppc_elf_frob_symbol): Declare. 1492*ed0d50c3Schristos 1493*ed0d50c3Schristos2001-08-26 Andreas Jaeger <aj@suse.de> 1494*ed0d50c3Schristos 1495*ed0d50c3Schristos * config/tc-s390.c: Add missing prototypes 1496*ed0d50c3Schristos (md_gather_operands): Make static. 1497*ed0d50c3Schristos 1498*ed0d50c3Schristos2001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 1499*ed0d50c3Schristos 1500*ed0d50c3Schristos * config/tc-mips.h (MAX_GPREL_OFFSET): Change it to the maximum 1501*ed0d50c3Schristos allowed value, not the word beyond maximum. 1502*ed0d50c3Schristos * config/tc-mips.c (macro_build_lui): Code cleanup. 1503*ed0d50c3Schristos (macro): Reflect change to MAX_GPREL_OFFSET. 1504*ed0d50c3Schristos (mips_ip): Check explicitly against S_EX_NONE. 1505*ed0d50c3Schristos (my_get_SmallExpression): parse for %gp_rel, not %gprel. 1506*ed0d50c3Schristos (md_apply_fix): Code cleanup. 1507*ed0d50c3Schristos 1508*ed0d50c3Schristos2001-08-24 Andreas Jaeger <aj@suse.de> 1509*ed0d50c3Schristos 1510*ed0d50c3Schristos * config/tc-ppc.h: Fix prototype declaration. 1511*ed0d50c3Schristos 1512*ed0d50c3Schristos2001-08-23 Jakub Jelinek <jakub@redhat.com> 1513*ed0d50c3Schristos 1514*ed0d50c3Schristos * config/tc-ia64.c (dot_endp): Set function symbol sizes. 1515*ed0d50c3Schristos * config/obj-elf.c (obj_elf_size): When size is constant, free 1516*ed0d50c3Schristos and clear symbol_get_obj(sym)->size if any. 1517*ed0d50c3Schristos 1518*ed0d50c3Schristos2001-08-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 1519*ed0d50c3Schristos 1520*ed0d50c3Schristos * config/tc-mips.c (md_begin): Warn about incompatibility between 1521*ed0d50c3Schristos -march=FOO and -mipsN option, continue with default ISA. 1522*ed0d50c3Schristos 1523*ed0d50c3Schristos2001-08-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 1524*ed0d50c3Schristos 1525*ed0d50c3Schristos * config/tc-mips.c (md_parse_option): #ifdef the 1526*ed0d50c3Schristos traditional/non-traditional names as it is done in mips_target_format. 1527*ed0d50c3Schristos 1528*ed0d50c3Schristos2001-08-20 Richard Henderson <rth@redhat.com> 1529*ed0d50c3Schristos 1530*ed0d50c3Schristos * config/tc-alpha.h (MD_APPLY_FIX3): Define. 1531*ed0d50c3Schristos * config/tc-alpha.c (md_apply_fix3): Rename from md_apply_fix; 1532*ed0d50c3Schristos use seg parameter instead of now_seg. 1533*ed0d50c3Schristos 1534*ed0d50c3Schristos2001-08-18 H.J. Lu <hjl@gnu.org> 1535*ed0d50c3Schristos 1536*ed0d50c3Schristos * config/tc-mips.c (show): Add the missing prototype. 1537*ed0d50c3Schristos 1538*ed0d50c3Schristos2001-08-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 1539*ed0d50c3Schristos 1540*ed0d50c3Schristos * config/tc-mips.c (S_EX_*): New enum for my_getSmallExpression() 1541*ed0d50c3Schristos return values. 1542*ed0d50c3Schristos (mips_ip): Use the new return values instead of characters. Add 1543*ed0d50c3Schristos support for %higher and %highest. 1544*ed0d50c3Schristos (LP): Remove. 1545*ed0d50c3Schristos (RP): Remove. 1546*ed0d50c3Schristos (my_getSmallExpression): Make parsing case insensitive and more 1547*ed0d50c3Schristos reliable. Add support for %higher and %highest. Further support to 1548*ed0d50c3Schristos parse %gprel and %neg is implemented but currently deactivated. 1549*ed0d50c3Schristos 1550*ed0d50c3Schristos2001-08-17 Alan Modra <amodra@bigpond.net.au> 1551*ed0d50c3Schristos 1552*ed0d50c3Schristos * ecoff.c (ecoff_frob_symbol): Remove casts from bfd_get_gp_size. 1553*ed0d50c3Schristos (ecoff_build_symbols): Likewise. 1554*ed0d50c3Schristos * read.c (s_lcomm_internal): Fix signed/unsigned warning. 1555*ed0d50c3Schristos 1556*ed0d50c3Schristos2001-08-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 1557*ed0d50c3Schristos 1558*ed0d50c3Schristos * config/tc-mips.c (mips_elf_final_processing): Set elf header flags 1559*ed0d50c3Schristos for n32 ABI if appropriate. 1560*ed0d50c3Schristos 1561*ed0d50c3Schristos2001-08-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 1562*ed0d50c3Schristos 1563*ed0d50c3Schristos * config/tc-mips.c (cons_fix_new_mips): Remove. 1564*ed0d50c3Schristos * config/tc-mips.h (TC_CONS_FIX_NEW): Remove. 1565*ed0d50c3Schristos (cons_fix_new_mips): Remove. 1566*ed0d50c3Schristos 1567*ed0d50c3Schristos2001-08-14 Jeff Johnston <jjohnstn@redhat.com> 1568*ed0d50c3Schristos 1569*ed0d50c3Schristos * expr.c (operand)[LITERAL_PREFIXDOLLAR_HEX]: Treat $L as 1570*ed0d50c3Schristos a label, not a hex constant. 1571*ed0d50c3Schristos 1572*ed0d50c3Schristos2001-08-13 Nick Clifton <nickc@cambridge.redhat.com> 1573*ed0d50c3Schristos 1574*ed0d50c3Schristos * config/tc-v850.h: Add missing prototypes. 1575*ed0d50c3Schristos 1576*ed0d50c3Schristos2001-08-12 Martin Schwidefsky <schwidefsky@de.ibm.com> 1577*ed0d50c3Schristos 1578*ed0d50c3Schristos * config/tc-s390.c (s390_elf_cons): Correct fixups for PLT 1579*ed0d50c3Schristos relocations. 1580*ed0d50c3Schristos 1581*ed0d50c3Schristos2001-08-12 TAKAI Kousuke <takai@vlsi.kuee.kyoto-u.ac.jp> 1582*ed0d50c3Schristos 1583*ed0d50c3Schristos * config/tc-sparc.c (cons_fix_new_sparc): Move 1584*ed0d50c3Schristos `sparc_no_align_cons = 0;' to... 1585*ed0d50c3Schristos (s_uacons): ...here so that sparc_no_align_cons will get 1586*ed0d50c3Schristos cleared properly. 1587*ed0d50c3Schristos 1588*ed0d50c3Schristos2001-08-11 Kazu Hirata <kazu@hxi.com> 1589*ed0d50c3Schristos 1590*ed0d50c3Schristos * config/tc-mips.c: Fix a comment typo. 1591*ed0d50c3Schristos 1592*ed0d50c3Schristos2001-08-10 Richard Sandiford <rsandifo@redhat.com> 1593*ed0d50c3Schristos 1594*ed0d50c3Schristos * config/tc-mips.c (move_register): New function. 1595*ed0d50c3Schristos (macro_build): Remove OPCODE_IS_MEMBER's gp32 argument. 1596*ed0d50c3Schristos (mips_ip): Likewise. 1597*ed0d50c3Schristos (macro2): Use move_register rather than macro_build for moves. 1598*ed0d50c3Schristos (mips16_macro): Likewise. 1599*ed0d50c3Schristos (macro): Likewise. Handle M_MOVE. 1600*ed0d50c3Schristos 1601*ed0d50c3Schristos2001-08-10 Andreas Jaeger <aj@suse.de> 1602*ed0d50c3Schristos 1603*ed0d50c3Schristos * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes 1604*ed0d50c3Schristos to build warnings. 1605*ed0d50c3Schristos * configure: Regenerate. 1606*ed0d50c3Schristos 1607*ed0d50c3Schristos2001-08-10 Alan Modra <amodra@bigpond.net.au> 1608*ed0d50c3Schristos 1609*ed0d50c3Schristos * as.h (alloca): Don't declare if __GNUC__. Remove an old comment. 1610*ed0d50c3Schristos Comment indentation of #pragma. 1611*ed0d50c3Schristos * macro.c (alloca): Likewise. 1612*ed0d50c3Schristos 1613*ed0d50c3Schristos * config/tc-ppc.c: Revert 2001-08-08. 1614*ed0d50c3Schristos 1615*ed0d50c3Schristos2001-08-09 Alan Modra <amodra@bigpond.net.au> 1616*ed0d50c3Schristos 1617*ed0d50c3Schristos * symbols.c: Add missing prototypes. 1618*ed0d50c3Schristos * config/e-i386elf.c: Likewise. 1619*ed0d50c3Schristos * config/e-i386coff.c: Likewise. 1620*ed0d50c3Schristos * config/e-i386aout.c: Likewise. 1621*ed0d50c3Schristos * config/obj-coff.c: Likewise. 1622*ed0d50c3Schristos (def_symbol_in_progress, stack): Move definition. 1623*ed0d50c3Schristos * config/obj-elf.c: Add missing prototypes. 1624*ed0d50c3Schristos (obj_elf_change_section): Make static. 1625*ed0d50c3Schristos (obj_elf_parse_section_letters): Likewise. 1626*ed0d50c3Schristos (obj_elf_section_word): Likewise. 1627*ed0d50c3Schristos (obj_elf_section_type): Likewise. 1628*ed0d50c3Schristos 1629*ed0d50c3Schristos2001-08-08 Alan Modra <amodra@bigpond.net.au> 1630*ed0d50c3Schristos 1631*ed0d50c3Schristos From 1999-10-25 Torbjorn Granlund <tege@swox.com> 1632*ed0d50c3Schristos * config/tc-ppc.c (md_apply_fix3): Replace haphazard code for 1633*ed0d50c3Schristos determining reloc type with code reading operands->reloc field. 1634*ed0d50c3Schristos 1635*ed0d50c3Schristos2001-08-08 Alan Modra <amodra@bigpond.net.au> 1636*ed0d50c3Schristos 1637*ed0d50c3Schristos * config/obj-elf.c (elf_copy_symbol_attributes): Make it a global 1638*ed0d50c3Schristos function, and expand old obj-elf.h OBJ_COPY_SYMBOL_ATTRIBUTES here. 1639*ed0d50c3Schristos * config/obj-elf.h (elf_copy_symbol_attributes): Declare. 1640*ed0d50c3Schristos (OBJ_COPY_SYMBOL_ATTRIBUTES): Call elf_copy_symbol_attributes. 1641*ed0d50c3Schristos 1642*ed0d50c3Schristos * output-file.c (output_file_create): Don't try to open a second 1643*ed0d50c3Schristos time as it's unnecessary. FOPEN_W was undefined too. 1644*ed0d50c3Schristos 1645*ed0d50c3Schristos2001-08-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 1646*ed0d50c3Schristos 1647*ed0d50c3Schristos * config/tc-mips.c (macro_build): Replace magic constants by defines. 1648*ed0d50c3Schristos (mips_ip): Likewise. Typo. 1649*ed0d50c3Schristos 1650*ed0d50c3Schristos2001-08-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 1651*ed0d50c3Schristos 1652*ed0d50c3Schristos * config/tc-mips.c (mips_abi_string): Initialize with NULL instead 1653*ed0d50c3Schristos of 0. 1654*ed0d50c3Schristos (RELAX_ENCODE): Replace bfd_vma by valueT. 1655*ed0d50c3Schristos (load_address): Formatting. 1656*ed0d50c3Schristos (macro): Likewise. Code cleanup. Typo. 1657*ed0d50c3Schristos (macro2): Formatting. 1658*ed0d50c3Schristos (md_parse_option): Typo. 1659*ed0d50c3Schristos (s_mipsset): Reorder cases to look nicer. 1660*ed0d50c3Schristos (md_estimate_size_before_relax): Formatting. Code cleanup. 1661*ed0d50c3Schristos (mips_elf_final_processing): Check against NULL instead of 0. 1662*ed0d50c3Schristos (md_obj_end): Remove ugly `' in message string. 1663*ed0d50c3Schristos (s_mips_ent): Remove ugly `' in message string. 1664*ed0d50c3Schristos 1665*ed0d50c3Schristos2001-07-30 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 1666*ed0d50c3Schristos 1667*ed0d50c3Schristos * config/tc-mips.c (md_begin): Take -mcpu value into account even when 1668*ed0d50c3Schristos -mipsX is specified. Make both -mcpu/-march and -mcpu/-mtune pairs 1669*ed0d50c3Schristos mutually exclusive (if they are different). 1670*ed0d50c3Schristos (md_parse_option): Warn if an -march/-mtune/-mcpu/-m<cpu> option is 1671*ed0d50c3Schristos set more than once. 1672*ed0d50c3Schristos 1673*ed0d50c3Schristos2001-08-03 Richard Sandiford <rsandifo@redhat.com> 1674*ed0d50c3Schristos 1675*ed0d50c3Schristos * config/tc-mips.c (md_apply_fix): Don't subtract the symbol value 1676*ed0d50c3Schristos from GPREL addends. 1677*ed0d50c3Schristos 1678*ed0d50c3Schristos2001-08-02 Richard Sandiford <rsandifo@redhat.com> 1679*ed0d50c3Schristos 1680*ed0d50c3Schristos * doc/c-mips.tex (-mgp32, -mfp32): Added -mfp32, unified with -mgp32. 1681*ed0d50c3Schristos * config/tc-mips.c (mips_fp32, mips_32bit_abi): New static variables. 1682*ed0d50c3Schristos (md_long_opts): Add -mfp32 option. 1683*ed0d50c3Schristos (md_parse_option): Handle it. Set mips_32bit_abi given -mabi=32. 1684*ed0d50c3Schristos (md_show_usage): Show usage for -mfp32 and -mgp32. 1685*ed0d50c3Schristos (HAVE_32BIT_GPRS, HAVE_32BIT_FPRS): New macros. 1686*ed0d50c3Schristos (HAVE_64BIT_GPRS, HAVE_64BIT_FPRS): New macros, inverse of the above. 1687*ed0d50c3Schristos (HAVE_32BIT_ADDRESSES): New macro. 1688*ed0d50c3Schristos (load_register): Use HAVE_32BIT_GPRS to determine the register width. 1689*ed0d50c3Schristos (load_address): Use HAVE_32BIT_ADDRESSES to determine the address size. 1690*ed0d50c3Schristos (s_cprestore, s_cpadd): Likewise. 1691*ed0d50c3Schristos (macro): Use HAVE_32BIT_GPRS to determine the width of registers 1692*ed0d50c3Schristos used in branch and M_LI_D macros. Use HAVE_64BIT_FPRS to determine 1693*ed0d50c3Schristos the width registers used in M_LI_DD macros. Use HAVE_32BIT_ADDRESSES 1694*ed0d50c3Schristos to determine the width of addresses in load, store and jump macros. 1695*ed0d50c3Schristos (macro2): Use HAVE_32BIT_GPRS to determine the width of registers 1696*ed0d50c3Schristos used in set instructions; do not check the address size for them. 1697*ed0d50c3Schristos Use HAVE_32BIT_ADDRESSES to determine the width of addresses in 1698*ed0d50c3Schristos unaligned load and store macros. 1699*ed0d50c3Schristos (mips_ip): Use the new macros to check the width of a register when 1700*ed0d50c3Schristos processing float constants. Force a constant into memory if it is 1701*ed0d50c3Schristos destined for an FPR and the FPRs are wider than the GPRs. Warn about 1702*ed0d50c3Schristos odd FPR numbers if HAVE_32BIT_FPRS. Use HAVE_32BIT_GPRS rather 1703*ed0d50c3Schristos than mips_gp32 to select synthetic instructions. 1704*ed0d50c3Schristos (macro_build): Use HAVE_32BIT_GPRS rather than mips_gp32 to select 1705*ed0d50c3Schristos synthetic instructions. 1706*ed0d50c3Schristos 1707*ed0d50c3Schristos2001-08-01 Christian Groessler <cpg@aladdin.de> 1708*ed0d50c3Schristos 1709*ed0d50c3Schristos * config/tc-z8k.c (parse_reg): If a string starts with "r", "rl", 1710*ed0d50c3Schristos "rh", "rr", "rq", or "sp" then don't automatically assume 1711*ed0d50c3Schristos it's a register name. Check whether there is a number 1712*ed0d50c3Schristos following. 1713*ed0d50c3Schristos 1714*ed0d50c3Schristos2001-08-01 Alan Modra <amodra@bigpond.net.au> 1715*ed0d50c3Schristos 1716*ed0d50c3Schristos * config/tc-i386.c (lex_got): Match lower case relocation tokens. 1717*ed0d50c3Schristos Don't allocate more space than necessary for the input line copy. 1718*ed0d50c3Schristos 1719*ed0d50c3Schristos2001-08-01 Alan Modra <amodra@bigpond.net.au> 1720*ed0d50c3Schristos 1721*ed0d50c3Schristos * read.c: Standardize error/warning messages - don't capitalise, no 1722*ed0d50c3Schristos final period or newline, don't say "ignored" or "zero assumed" for 1723*ed0d50c3Schristos as_bad messages. In some cases, change the wording to that used 1724*ed0d50c3Schristos elsewhere for similar messages. 1725*ed0d50c3Schristos * app.c: Likewise. 1726*ed0d50c3Schristos * as.c: Likewise. 1727*ed0d50c3Schristos * atof-generic.c: Likewise. 1728*ed0d50c3Schristos * cgen.c: Likewise. 1729*ed0d50c3Schristos * cond.c: Likewise. 1730*ed0d50c3Schristos * depend.c: Likewise. 1731*ed0d50c3Schristos * dwarf2dbg.c: Likewise. 1732*ed0d50c3Schristos * ecoff.c: Likewise. 1733*ed0d50c3Schristos * expr.c: Likewise. 1734*ed0d50c3Schristos * frags.c: Likewise. 1735*ed0d50c3Schristos * input-file.c: Likewise. 1736*ed0d50c3Schristos * input-scrub.c: Likewise. 1737*ed0d50c3Schristos * listing.c: Likewise. 1738*ed0d50c3Schristos * output-file.c: Likewise. 1739*ed0d50c3Schristos * stabs.c: Likewise. 1740*ed0d50c3Schristos * subsegs.c: Likewise. 1741*ed0d50c3Schristos * symbols.c: Likewise. 1742*ed0d50c3Schristos * write.c: Likewise. 1743*ed0d50c3Schristos * ecoff.c (ecoff_directive_end): Test for missing name by 1744*ed0d50c3Schristos comparing input line pointers rather than reading string. 1745*ed0d50c3Schristos (ecoff_directive_ent): Likewise. 1746*ed0d50c3Schristos * read.c (s_set): Likewise. 1747*ed0d50c3Schristos (s_align): Report a warning rather than an error for 1748*ed0d50c3Schristos alignment too large. 1749*ed0d50c3Schristos (s_comm): Check for missing symbol name. 1750*ed0d50c3Schristos (s_lcomm_internal): Likewise. 1751*ed0d50c3Schristos (s_lsym): Likewise. 1752*ed0d50c3Schristos (s_globl): Use is_end_of_line instead of looking for '\n'. 1753*ed0d50c3Schristos (s_lcomm_internal): Likewise. 1754*ed0d50c3Schristos (ignore_rest_of_line): Report a warning rather than an error. 1755*ed0d50c3Schristos 1756*ed0d50c3Schristos2001-07-31 Geoffrey Keating <geoffk@redhat.com> 1757*ed0d50c3Schristos 1758*ed0d50c3Schristos * config/tc-ppc.c (ppc_elf_validate_fix): It's OK to have 1759*ed0d50c3Schristos any kind of relocation against a not-loaded section. 1760*ed0d50c3Schristos 1761*ed0d50c3Schristos2001-07-30 Alan Modra <amodra@bigpond.net.au> 1762*ed0d50c3Schristos 1763*ed0d50c3Schristos * config/obj-elf.c (obj_elf_symver): Temporarily modify lex_type 1764*ed0d50c3Schristos to include '@' in symbol names when parsing versioned symbols 1765*ed0d50c3Schristos rather than calling get_symbol_end multiple times. 1766*ed0d50c3Schristos * config/tc-i370.c (register_name): Format fixes. Don't call 1767*ed0d50c3Schristos get_symbol_end after parsing number. 1768*ed0d50c3Schristos * config/tc-mn10200.c (data_register_name): Format fixes. Hoist 1769*ed0d50c3Schristos code out of conditional. 1770*ed0d50c3Schristos (address_register_name): Likewise. 1771*ed0d50c3Schristos (other_register_name): Likewise. 1772*ed0d50c3Schristos * config/tc-mn10300.c (r_register_name): Likewise. 1773*ed0d50c3Schristos (xr_register_name): Likewise. 1774*ed0d50c3Schristos (data_register_name): Likewise. 1775*ed0d50c3Schristos (address_register_name): Likewise. 1776*ed0d50c3Schristos (other_register_name): Likewise. 1777*ed0d50c3Schristos * config/tc-ppc.c (register_name): Likewise. 1778*ed0d50c3Schristos * config/tc-s390.c (register_name): Likewise. 1779*ed0d50c3Schristos 1780*ed0d50c3Schristos2001-07-27 Stephane Carrez <Stephane.Carrez@worldnet.fr> 1781*ed0d50c3Schristos 1782*ed0d50c3Schristos * config/tc-m68hc11.c (md_estimate_size_before_relax): Fix bsr 1783*ed0d50c3Schristos and bra relax: update fragP->fr_fix after the fixup. 1784*ed0d50c3Schristos 1785*ed0d50c3Schristos2001-07-27 Tracy Kuhrt <Tracy.Kuhrt@microchip.com> 1786*ed0d50c3Schristos 1787*ed0d50c3Schristos * read.c (s_set): Check for missing symbol name. 1788*ed0d50c3Schristos 1789*ed0d50c3Schristos2001-07-26 Alan Modra <amodra@bigpond.net.au> 1790*ed0d50c3Schristos 1791*ed0d50c3Schristos * write.c (relax_segment <rs_space>): Account for fr_fix. 1792*ed0d50c3Schristos 1793*ed0d50c3Schristos2001-07-25 H.J. Lu <hjl@gnu.org> 1794*ed0d50c3Schristos 1795*ed0d50c3Schristos * config/tc-mips.c (md_estimate_size_before_relax): Make sure 1796*ed0d50c3Schristos we treat weak like extern only for ELF. 1797*ed0d50c3Schristos (mips_fix_adjustable): Make sure we don't adjust extern/weak 1798*ed0d50c3Schristos symbols only for ELF. 1799*ed0d50c3Schristos 1800*ed0d50c3Schristos2001-07-25 Chris Demetriou <cgd@broadcom.com> 1801*ed0d50c3Schristos 1802*ed0d50c3Schristos * config/tc-mips.c: Fix spelling error in comment. 1803*ed0d50c3Schristos 1804*ed0d50c3Schristos2001-07-25 Dave Brolley <brolley@redhat.com> 1805*ed0d50c3Schristos 1806*ed0d50c3Schristos * app.c (LEX_IS_PARALLEL_SEPARATOR): New macro. 1807*ed0d50c3Schristos (IS_PARALLEL_SEPARATOR): New macro. 1808*ed0d50c3Schristos (do_scrub_begin): Set up characters in tc_parallel_separator_chars 1809*ed0d50c3Schristos as LEX_IS_PARALLEL_SEPARATOR, if it is defined. 1810*ed0d50c3Schristos (do_scrub_chars): Handle LEX_PARALLEL_SEPARATOR chars like 1811*ed0d50c3Schristos LEX_LINE_SEPARATOR except that we go to state 1 (as if the label has 1812*ed0d50c3Schristos been seen). 1813*ed0d50c3Schristos 1814*ed0d50c3Schristos2001-07-24 Alan Modra <amodra@bigpond.net.au> 1815*ed0d50c3Schristos 1816*ed0d50c3Schristos * Makefile.am (DEP_FLAGS): Define, add -DOBJ_MAYBE_ELF. 1817*ed0d50c3Schristos (DEP1, DEPTC, DEPOBJ, DEP2): Use it. 1818*ed0d50c3Schristos Update dependencies with "make dep-am". 1819*ed0d50c3Schristos * Makefile.in: Regenerate. 1820*ed0d50c3Schristos * doc/Makefile.in: Regenerate. 1821*ed0d50c3Schristos 1822*ed0d50c3Schristos2001-07-23 Kazu Hirata <kazu@hxi.com> 1823*ed0d50c3Schristos 1824*ed0d50c3Schristos * config/tc-alpha.h: Fix formatting. 1825*ed0d50c3Schristos * config/tc-arc.c: Likewise. 1826*ed0d50c3Schristos * config/tc-d10v.h: Likewise. 1827*ed0d50c3Schristos * config/tc-hppa.c: Likewise. 1828*ed0d50c3Schristos * config/tc-i370.c: Likewise. 1829*ed0d50c3Schristos * config/tc-i386.h: Likewise. 1830*ed0d50c3Schristos * config/tc-i960.h: Likewise. 1831*ed0d50c3Schristos * config/tc-ia64.c: Likewise. 1832*ed0d50c3Schristos * config/tc-ia64.h: Likewise. 1833*ed0d50c3Schristos * config/tc-m32r.c: Likewise. 1834*ed0d50c3Schristos * config/tc-m68k.c: Likewise. 1835*ed0d50c3Schristos * config/tc-m88k.c: Likewise. 1836*ed0d50c3Schristos * config/tc-ns32k.c: Likewise. 1837*ed0d50c3Schristos * config/tc-pdp11.c: Likewise. 1838*ed0d50c3Schristos * config/tc-pj.h: Likewise. 1839*ed0d50c3Schristos * config/tc-s390.c: Likewise. 1840*ed0d50c3Schristos * config/tc-sparc.c: Likewise. 1841*ed0d50c3Schristos * config/tc-sparc.h: Likewise. 1842*ed0d50c3Schristos * config/tc-tic80.c: Likewise. 1843*ed0d50c3Schristos * config/tc-w65.h: Likewise. 1844*ed0d50c3Schristos 1845*ed0d50c3Schristos2001-07-23 Alan Modra <amodra@bigpond.net.au> 1846*ed0d50c3Schristos 1847*ed0d50c3Schristos * symbols.c (S_GET_VALUE): Don't treat O_constant and local 1848*ed0d50c3Schristos symbols specially. Always resolve, adding fr_address to value. 1849*ed0d50c3Schristos * write.c (write_object_file): Don't add fr_address to sym values. 1850*ed0d50c3Schristos (relax_frag): Likewise. 1851*ed0d50c3Schristos (relax_segment): Likewise. 1852*ed0d50c3Schristos * config/obj-ieee.c (do_symbols): Likewise. 1853*ed0d50c3Schristos * config/tc-cris.c (md_convert_frag): Likewise. 1854*ed0d50c3Schristos * config/tc-fr30.c (md_convert_frag): Likewise. 1855*ed0d50c3Schristos * config/tc-i386.c (md_convert_frag): Likewise. 1856*ed0d50c3Schristos * config/tc-m32r.c (md_convert_frag): Likewise. 1857*ed0d50c3Schristos * config/tc-m68hc11.c (md_convert_frag): Likewise. 1858*ed0d50c3Schristos * config/tc-mcore.c (md_convert_frag): Likewise. 1859*ed0d50c3Schristos * config/tc-mips.c (mips16_extended_frag): Likewise. 1860*ed0d50c3Schristos * config/tc-ns32k.c (md_convert_frag): Likewise. 1861*ed0d50c3Schristos * config/tc-m68k.c (md_convert_frag_1): Likewise. 1862*ed0d50c3Schristos (BRANCHBWL, BRABSJUNC, BRABSJCOND, BRANCHBW, FBRANCH, DBCCLBR, 1863*ed0d50c3Schristos DBCCABSJ, PCREL1632, PCINDEX, ABSTOPCREL): Decrement. 1864*ed0d50c3Schristos (md_relax_table): Remove first four entries. Format. 1865*ed0d50c3Schristos (md_estimate_size_before_relax): Remove old_fix. Don't bother 1866*ed0d50c3Schristos setting fr_var. Simplify byte branch checks. 1867*ed0d50c3Schristos 1868*ed0d50c3Schristos2001-07-23 Alan Modra <amodra@bigpond.net.au> 1869*ed0d50c3Schristos 1870*ed0d50c3Schristos * config/tc-hppa.c (pa_parse_nonneg_cmpsub_cmpltr): Remove 1871*ed0d50c3Schristos "isbranch" param as all calls have it set. 1872*ed0d50c3Schristos (pa_parse_neg_cmpsub_cmpltr): Likewise. 1873*ed0d50c3Schristos (pa_parse_nonneg_add_cmpltr): Likewise. Remember result of 1874*ed0d50c3Schristos strcasecmp in "nullify" var. 1875*ed0d50c3Schristos (pa_parse_neg_add_cmpltr): Likewise. 1876*ed0d50c3Schristos (pa_ip): Don't "save_s" unnecessarily. Update calls to above 1877*ed0d50c3Schristos functions. Don't print wrong conditions in error messages. 1878*ed0d50c3Schristos 1879*ed0d50c3Schristos2001-07-23 Andreas Jaeger <aj@suse.de> 1880*ed0d50c3Schristos 1881*ed0d50c3Schristos * config/tc-s390.c (s390_force_relocation): Removed. 1882*ed0d50c3Schristos 1883*ed0d50c3Schristos * config/tc-s390.h: Remove double declaration of 1884*ed0d50c3Schristos TC_FORCE_RELOCATION. 1885*ed0d50c3Schristos 1886*ed0d50c3Schristos2001-07-22 H.J. Lu <hjl@gnu.org> 1887*ed0d50c3Schristos 1888*ed0d50c3Schristos * config/tc-mips.c (s_mips_end): Remove unused variables. 1889*ed0d50c3Schristos (s_mips_frame): Add ATTRIBUTE_UNUSED. 1890*ed0d50c3Schristos 1891*ed0d50c3Schristos2001-07-17 Andreas Schwab <schwab@suse.de> 1892*ed0d50c3Schristos 1893*ed0d50c3Schristos * config/tc-m68k.c (md_pseudo_table) [OBJ_ELF]: Add .file and 1894*ed0d50c3Schristos .loc. 1895*ed0d50c3Schristos (md_assemble) [OBJ_ELF]: Call dwarf2_emit_insn before emitting 1896*ed0d50c3Schristos insn. 1897*ed0d50c3Schristos * config/tc-m68k.h (DWARF2_LINE_MIN_INSN_LENGTH): Define. 1898*ed0d50c3Schristos 1899*ed0d50c3Schristos2001-07-17 matthew green <mrg@eterna.com.au> 1900*ed0d50c3Schristos 1901*ed0d50c3Schristos * config/tc-i386.c (comment_chars): Don't use '/' as comment start if 1902*ed0d50c3Schristos TE_NetBSD. 1903*ed0d50c3Schristos (line_comment_chars): Set to '/' if TE_NetBSD. 1904*ed0d50c3Schristos 1905*ed0d50c3Schristos2001-07-14 matthew green <mrg@eterna.com.au> 1906*ed0d50c3Schristos 1907*ed0d50c3Schristos * configure.in (i386-*-netbsdelf*): New target. 1908*ed0d50c3Schristos * configure: Regenerate. 1909*ed0d50c3Schristos 1910*ed0d50c3Schristos2001-07-10 Mark Elbrecht <snowball3@softhome.net> 1911*ed0d50c3Schristos 1912*ed0d50c3Schristos * config/obj-coff.c (coff_frob_symbol): Don't merge if the storage 1913*ed0d50c3Schristos class of the non-debug symbol is C_NULL. 1914*ed0d50c3Schristos 1915*ed0d50c3Schristos2001-07-10 Anders Norlander <anorland@synergenix.se> 1916*ed0d50c3Schristos 1917*ed0d50c3Schristos * doc/as.texinfo (Incbin): Fix grammatical errors. 1918*ed0d50c3Schristos 1919*ed0d50c3Schristos2001-07-10 Nick Clifton <nickc@cambridge.redhat.com> 1920*ed0d50c3Schristos 1921*ed0d50c3Schristos * depend.c: Use FOPEN_.. macros in calls to fopen(). 1922*ed0d50c3Schristos * input-file.c: As above. 1923*ed0d50c3Schristos * itbl-ops.c: As above. 1924*ed0d50c3Schristos * listing.c: As above. 1925*ed0d50c3Schristos * output-file.c: As above. 1926*ed0d50c3Schristos * read.c: As above. 1927*ed0d50c3Schristos 1928*ed0d50c3Schristos2001-07-08 Anders Norlander <anorland@synergenix.se> 1929*ed0d50c3Schristos 1930*ed0d50c3Schristos * read.c (s_incbin): New .incbin function. 1931*ed0d50c3Schristos * read.c (potable): Add "incbin" pseudo-op. 1932*ed0d50c3Schristos * read.h: Add s_incbin prototype. 1933*ed0d50c3Schristos * doc/as.texinfo (incbin): Document .incbin pseudo-op. 1934*ed0d50c3Schristos * NEWS: Mention new feature. 1935*ed0d50c3Schristos 1936*ed0d50c3Schristos2001-07-07 Nick Clifton <nickc@cambridge.redhat.com> 1937*ed0d50c3Schristos 1938*ed0d50c3Schristos * ecoff.c (add_file): Only set debug_type to DEBUG_NONE if it is 1939*ed0d50c3Schristos DEBUG_UNSPECIFIED. 1940*ed0d50c3Schristos 1941*ed0d50c3Schristos2001-07-06 John Healy <jhealy@redhat.com> 1942*ed0d50c3Schristos 1943*ed0d50c3Schristos * cgen.c (gas_cgen_save_fixups): Modified to allow more than one 1944*ed0d50c3Schristos set of fixups to be stored. 1945*ed0d50c3Schristos (gas_cgen_restore_fixups): Modified to allow the fixup chain to be 1946*ed0d50c3Schristos restored to be chosen from any that are saved. 1947*ed0d50c3Schristos (gas_cgen_swap_fixups): Modified to allow the current set of 1948*ed0d50c3Schristos fixups to be swapped with any other set that has been saved. 1949*ed0d50c3Schristos (gas_cgen_initialize_saved_fixups_array): New routine. 1950*ed0d50c3Schristos * cgen.h: Modifed prototypes for gas_cgen_save_fixups, 1951*ed0d50c3Schristos gas_cgen_restore_fixups, and gas_cgen_swap_fixups. Added definitions 1952*ed0d50c3Schristos or MAX_SAVED_FIXUP_CHAINS. 1953*ed0d50c3Schristos * config/tc-m32r.c (assemble_two_insns): Changed calls to fixup 1954*ed0d50c3Schristos store, swap and restore fuctions to reflect the new interface. 1955*ed0d50c3Schristos 1956*ed0d50c3Schristos2001-07-06 Nick Clifton <nickc@cambridge.redhat.com> 1957*ed0d50c3Schristos 1958*ed0d50c3Schristos * config/tc-m68k.c (md_estimate_size_before_relax): Catch and 1959*ed0d50c3Schristos ignore empty, ineffectual alignment frags when deciding if a 1960*ed0d50c3Schristos branch can be short. 1961*ed0d50c3Schristos 1962*ed0d50c3Schristos2001-07-05 Steve Ellcey <sje@cup.hp.com> 1963*ed0d50c3Schristos 1964*ed0d50c3Schristos * config/tc-ia64.c (special_section): Add SPECIAL_SECTION_INIT_ARRAY 1965*ed0d50c3Schristos and SPECIAL_SECTION_FINI_ARRAY. 1966*ed0d50c3Schristos (special_section_name): Add .init_array and .fini_array. 1967*ed0d50c3Schristos (md_pseudo_table): Add init_array and fini_array. 1968*ed0d50c3Schristos (md): Add pointer_size and pointer_size_shift fields. 1969*ed0d50c3Schristos (setup_unwind_header): New static function. 1970*ed0d50c3Schristos (output_unw_records): Modify to use setup_unwind_header. 1971*ed0d50c3Schristos (generate_unwind_image, dot_endp): Modify to use md.pointer_size and 1972*ed0d50c3Schristos md.pointer_size_shift. 1973*ed0d50c3Schristos (md_begin): Initialize md.pointer_size and md.pointer_size_shift. 1974*ed0d50c3Schristos 1975*ed0d50c3Schristos2001-07-05 Ben Elliston <bje@redhat.com> 1976*ed0d50c3Schristos 1977*ed0d50c3Schristos * README (Supported platforms): m88k no longer suffers bitrot. 1978*ed0d50c3Schristos 1979*ed0d50c3Schristos * config/tc-m88k.c (md_pseudo_table): Remove redundant "global". 1980*ed0d50c3Schristos 1981*ed0d50c3Schristos2001-07-05 Alan Modra <amodra@bigpond.net.au> 1982*ed0d50c3Schristos 1983*ed0d50c3Schristos * struc-symbol.h (struct local_symbol): Rename lsy_offset to 1984*ed0d50c3Schristos lsy_value. Correct typos in comments. 1985*ed0d50c3Schristos * symbols.c (local_symbol_make): Update for name change. 1986*ed0d50c3Schristos (local_symbol_convert): Likewise. 1987*ed0d50c3Schristos (colon): Likewise. 1988*ed0d50c3Schristos (S_GET_VALUE): Likewise. 1989*ed0d50c3Schristos (S_SET_VALUE): Likewise. 1990*ed0d50c3Schristos (print_symbol_value_1): Likewise. 1991*ed0d50c3Schristos (resolve_symbol_value): Likewise. Don't divide local sym values 1992*ed0d50c3Schristos by OCTETS_PER_BYTE twice. 1993*ed0d50c3Schristos 1994*ed0d50c3Schristos2001-07-04 Jim Wilson <wilson@redhat.com> 1995*ed0d50c3Schristos 1996*ed0d50c3Schristos * config/tc-ia64.c (md_pseudo_table): Add 2byte, 4byte, and 8byte. 1997*ed0d50c3Schristos 1998*ed0d50c3Schristos * config/tc-ia64.c (is_conditional_branch): Rewrite to exclude mod 1999*ed0d50c3Schristos sched branches. 2000*ed0d50c3Schristos 2001*ed0d50c3Schristos2001-07-05 Ben Elliston <bje@redhat.com> 2002*ed0d50c3Schristos 2003*ed0d50c3Schristos * read.c (s_fill): Correct spelling error in comments. 2004*ed0d50c3Schristos 2005*ed0d50c3Schristos * doc/c-m88k.texi: New file. 2006*ed0d50c3Schristos * doc/Makefile.am (CPU_DOCS): Add c-m88k.texi. 2007*ed0d50c3Schristos * doc/Makefile.in: Regenerate. 2008*ed0d50c3Schristos * doc/all.texi: Set M880X0. 2009*ed0d50c3Schristos * doc/as.texinfo: Hook in m88k-dependent documentation. 2010*ed0d50c3Schristos 2011*ed0d50c3Schristos2001-07-04 Eric Christopher <echristo@redhat.com> 2012*ed0d50c3Schristos 2013*ed0d50c3Schristos * doc/c-mips.texi (MIPS Opts): Document 12000 as valid cpu. 2014*ed0d50c3Schristos 2015*ed0d50c3Schristos * config/tc-mips.c (mips_cpu_info_table): Add rm5200, rm5231, rm5261, 2016*ed0d50c3Schristos and rm5721 as valid cpu strings. 2017*ed0d50c3Schristos (md_show_usage): Add rm5200, rm5231, rm5261, rm5721. 2018*ed0d50c3Schristos 2019*ed0d50c3Schristos2001-07-04 Richard Sandiford <rsandifo@redhat.com> 2020*ed0d50c3Schristos 2021*ed0d50c3Schristos * config/tc-mips.c (md_apply_fix): Prevent addend from becoming zero 2022*ed0d50c3Schristos if it's expected to be non-zero. 2023*ed0d50c3Schristos 2024*ed0d50c3Schristos2001-07-03 Nick Clifton <nickc@cambridge.redhat.com> 2025*ed0d50c3Schristos 2026*ed0d50c3Schristos * config/tc-sh.c (sh_frob_section): Replace symbol_get_frag() with 2027*ed0d50c3Schristos fscan->fx_frag. 2028*ed0d50c3Schristos 2029*ed0d50c3Schristos * write.c (TC_FINALIZE_SYMS_BEFORE_SIZE_SEG): Default to 1. 2030*ed0d50c3Schristos (write_object_file): Set finalize_syms to 2031*ed0d50c3Schristos TC_FINALIZE_SYMS_BEFORE_SIZE_SEG just before size_segs is 2032*ed0d50c3Schristos called. 2033*ed0d50c3Schristos 2034*ed0d50c3Schristos * doc/internals.texi: Document 2035*ed0d50c3Schristos TC_FINALIZE_SYMS_BEFORE_SIZE_SEG. 2036*ed0d50c3Schristos 2037*ed0d50c3Schristos2001-07-02 Alan Modra <amodra@bigpond.net.au> 2038*ed0d50c3Schristos 2039*ed0d50c3Schristos * config/tc-ppc.c: Formatting fixes. 2040*ed0d50c3Schristos 2041*ed0d50c3Schristos2001-07-01 Ben Elliston <bje@redhat.com> 2042*ed0d50c3Schristos 2043*ed0d50c3Schristos * config/tc-m88k.c: Back out warning fixes from 2001-06-24, as 2044*ed0d50c3Schristos they cause some subtle breakage. Will fix them again later. 2045*ed0d50c3Schristos 2046*ed0d50c3Schristos2001-06-28 Nick Clifton <nickc@cambridge.redhat.com> 2047*ed0d50c3Schristos 2048*ed0d50c3Schristos * config/obj-coff.c (obj_coff_ln): Treat a .ln directive 2049*ed0d50c3Schristos outside of a function as a .appline directive. 2050*ed0d50c3Schristos 2051*ed0d50c3Schristos2001-06-28 Eric Christopher <echristo@redhat.com> 2052*ed0d50c3Schristos H.J. Lu <hjl@gnu.org> 2053*ed0d50c3Schristos 2054*ed0d50c3Schristos * config/tc-mips.c (mips_arch): New. Use mips_arch instead 2055*ed0d50c3Schristos of mips_cpu for the ISA selection. 2056*ed0d50c3Schristos (md_longopts): Add OPTION_MARCH and OPTION_MTUNE. 2057*ed0d50c3Schristos (md_parse_option): Handle OPTION_MARCH and OPTION_MTUNE. 2058*ed0d50c3Schristos (mips_tune): New. Use mips_tune for scheduling and optimization 2059*ed0d50c3Schristos issues. 2060*ed0d50c3Schristos (append_insn): Use mips_tune and mips_arch. 2061*ed0d50c3Schristos (macro_build): Ditto. 2062*ed0d50c3Schristos (mips_ip): Ditto. 2063*ed0d50c3Schristos (md_begin): Handle mips_arch, mips_tune and mips_cpu. For 2064*ed0d50c3Schristos backwards compatability mips_cpu generates arch and tune. 2065*ed0d50c3Schristos (md_show_usage): Document new behavior. 2066*ed0d50c3Schristos 2067*ed0d50c3Schristos * doc/c-mips.texi (MIPS Opts): Document -march and -mtune. 2068*ed0d50c3Schristos Deprecate -mcpu. 2069*ed0d50c3Schristos 2070*ed0d50c3Schristos * NEWS: Update. 2071*ed0d50c3Schristos 2072*ed0d50c3Schristos2001-06-27 Nick Clifton <nickc@cambridge.redhat.com> 2073*ed0d50c3Schristos 2074*ed0d50c3Schristos * write.c (write_object_file): Do not set finalize_syms until 2075*ed0d50c3Schristos after the segments have been sized. Some backends may still 2076*ed0d50c3Schristos need to access the syms's frags in order to adjust relaxed 2077*ed0d50c3Schristos frags. 2078*ed0d50c3Schristos 2079*ed0d50c3Schristos * config/tc-arm.c (do_ldst): Use MVN to build simple inverted 2080*ed0d50c3Schristos constants. 2081*ed0d50c3Schristos 2082*ed0d50c3Schristos2001-06-27 Alan Modra <amodra@bigpond.net.au> 2083*ed0d50c3Schristos 2084*ed0d50c3Schristos * write.c (fixup_segment <Difference of 2 syms same seg>): Don't 2085*ed0d50c3Schristos subtract MD_PCREL_FROM_SECTION for 68k. 2086*ed0d50c3Schristos (fixup_segment <Difference of 2 syms different seg>): Only fudge 2087*ed0d50c3Schristos by adding MD_PCREL_FROM_SECTION for 68k or if not already pcrel. 2088*ed0d50c3Schristos 2089*ed0d50c3Schristos2001-06-27 Tracy A. Kuhrt <Tracy.Kuhrt@microchip.com> 2090*ed0d50c3Schristos 2091*ed0d50c3Schristos * write.c (fixup_segment <Difference of 2 syms same seg>): If 2092*ed0d50c3Schristos pcrel, subtract MD_PCREL_FROM_SECTION value. 2093*ed0d50c3Schristos 2094*ed0d50c3Schristos2001-06-24 Ben Elliston <bje@redhat.com> 2095*ed0d50c3Schristos 2096*ed0d50c3Schristos * stabs.c (generate_asm_file): Make local variable `len' a size_t. 2097*ed0d50c3Schristos 2098*ed0d50c3Schristos2001-06-24 Jakub Jelinek <jakub@redhat.com> 2099*ed0d50c3Schristos 2100*ed0d50c3Schristos * config/tc-alpha.c (tc_gen_reloc): Handle relocs against SEC_MERGE 2101*ed0d50c3Schristos section symbols the same way as externs. 2102*ed0d50c3Schristos 2103*ed0d50c3Schristos2001-06-24 Ben Elliston <bje@redhat.com> 2104*ed0d50c3Schristos 2105*ed0d50c3Schristos * config/tc-m88k.c (md_number_to_imm): Remove; unused since 1993. 2106*ed0d50c3Schristos (emit_relocations): Ditto. 2107*ed0d50c3Schristos (s_bss): Ditto. 2108*ed0d50c3Schristos (md_begin): Reformat comments to conform to the GNU standards. 2109*ed0d50c3Schristos (md_assemble): Ditto. 2110*ed0d50c3Schristos 2111*ed0d50c3Schristos * config/tc-m88k.c (get_reg): Adjust type of `reg_prefix' to char. 2112*ed0d50c3Schristos (md_parse_option): Mark parameters as unused. 2113*ed0d50c3Schristos (md_show_usage): Ditto. 2114*ed0d50c3Schristos (calcop): Adjust type of `reg_prefix' to char. 2115*ed0d50c3Schristos (get_reg): Ditto. 2116*ed0d50c3Schristos (getval): Adjust type of local `c' to char. 2117*ed0d50c3Schristos (md_create_short_jump): Mark from_addr, to_addr params as unused. 2118*ed0d50c3Schristos (md_create_long_jump): Ditto. 2119*ed0d50c3Schristos (md_estimate_size_before_relax): Mark parameters as unused. 2120*ed0d50c3Schristos 2121*ed0d50c3Schristos * config/tc-m88k.c (md_pseudo_table): Properly terminate the table 2122*ed0d50c3Schristos to allay a possible compiler warning. 2123*ed0d50c3Schristos 2124*ed0d50c3Schristos2001-06-22 Nick Clifton <nickc@cambridge.redhat.com> 2125*ed0d50c3Schristos 2126*ed0d50c3Schristos * doc/internals.texi (CPU backend): Document md_atof. 2127*ed0d50c3Schristos 2128*ed0d50c3Schristos2001-06-22 Matthew Wilcox <willy@ldl.fc.hp.com> 2129*ed0d50c3Schristos 2130*ed0d50c3Schristos * config/tc-hppa.c (pre_defined_registers): Add %mrp (millicode 2131*ed0d50c3Schristos return pointer) alias for %r2 or %r31, depending on 32 or 64 bit 2132*ed0d50c3Schristos architecture. 2133*ed0d50c3Schristos 2134*ed0d50c3Schristos2001-06-21 Philip Blundell <philb@gnu.org> 2135*ed0d50c3Schristos 2136*ed0d50c3Schristos * config/tc-arm.c (cplong_flag): Rename to long_flag. All uses 2137*ed0d50c3Schristos updated. 2138*ed0d50c3Schristos (insns): Remove entry for adrl. Add long_flag for adr. 2139*ed0d50c3Schristos (do_adr): Handle `l' suffix. 2140*ed0d50c3Schristos (do_adrl): Delete. 2141*ed0d50c3Schristos 2142*ed0d50c3Schristos2001-06-21 Alan Modra <amodra@bigpond.net.au> 2143*ed0d50c3Schristos 2144*ed0d50c3Schristos * config/tc-hppa.c (CHECK_FIELD_WHERE): Define. 2145*ed0d50c3Schristos (md_apply_fix): Use it here. Replace printf with equivalent 2146*ed0d50c3Schristos as_bad_where. 2147*ed0d50c3Schristos (tc_gen_reloc): Use as_bad_where instead of as_bad. 2148*ed0d50c3Schristos (md_apply_fix): Here too. 2149*ed0d50c3Schristos * config/tc-i386.c (tc_gen_reloc): Use as_bad_where instead of as_bad. 2150*ed0d50c3Schristos * config/tc-m68k.c (tc_gen_reloc): Likewise. 2151*ed0d50c3Schristos (md_convert_frag_1): Likewise. 2152*ed0d50c3Schristos 2153*ed0d50c3Schristos2000-06-20 Tom Rix <trix@redhat.com> 2154*ed0d50c3Schristos 2155*ed0d50c3Schristos * config/tc-ppc.c (ppc_comm): Change default alignment to 4 bytes. 2156*ed0d50c3Schristos 2157*ed0d50c3Schristos2001-06-18 H.J. Lu <hjl@gnu.org> 2158*ed0d50c3Schristos 2159*ed0d50c3Schristos * doc/Makefile.am (info): Depend on $(MANS). 2160*ed0d50c3Schristos (as.1): Remove the prefix `$(srcdir)/'. 2161*ed0d50c3Schristos * doc/Makefile.in: Regenerated. 2162*ed0d50c3Schristos 2163*ed0d50c3Schristos * as.1: Removed. 2164*ed0d50c3Schristos 2165*ed0d50c3Schristos2001-06-18 Philip Blundell <philb@gnu.org> 2166*ed0d50c3Schristos 2167*ed0d50c3Schristos * config/tc-arm.c (do_msr): Remove restriction on usage of 2168*ed0d50c3Schristos immediate operands. 2169*ed0d50c3Schristos 2170*ed0d50c3Schristos2001-06-19 Alan Modra <amodra@bigpond.net.au> 2171*ed0d50c3Schristos 2172*ed0d50c3Schristos * dwarf2dbg.c (dwarf2_finish): Output file info even when no 2173*ed0d50c3Schristos line info. 2174*ed0d50c3Schristos 2175*ed0d50c3Schristos2001-06-13 Philip Blundell <philb@gnu.org> 2176*ed0d50c3Schristos 2177*ed0d50c3Schristos * config/tc-arm.c (thumb_shift): Improve wording of error message. 2178*ed0d50c3Schristos (do_t_arit): Likewise. 2179*ed0d50c3Schristos 2180*ed0d50c3Schristos2001-06-13 Nick Clifton <nickc@cambridge.redhat.com> 2181*ed0d50c3Schristos 2182*ed0d50c3Schristos * config/tc-sh.c (md_pseudo_table): Only intercept the .file and 2183*ed0d50c3Schristos .loc pseudos if the dfwarf2 functions are available. 2184*ed0d50c3Schristos (md_assemble): Only call dwarf2_emit_insn if it is available. 2185*ed0d50c3Schristos 2186*ed0d50c3Schristos * expr.c: Fix typo in comment. 2187*ed0d50c3Schristos 2188*ed0d50c3Schristos2001-06-12 Nick Clifton <nickc@cambridge.redhat.com> 2189*ed0d50c3Schristos 2190*ed0d50c3Schristos * doc/as.texinfo (Infix Ops): Document that comparison and 2191*ed0d50c3Schristos combiner operators can be used as infix operators. 2192*ed0d50c3Schristos 2193*ed0d50c3Schristos2001-06-12 Peter Jakubek <pjak@snafu.de> 2194*ed0d50c3Schristos 2195*ed0d50c3Schristos * config/tc-m68k.c (parse_mri_control_operand): Fix handling 2196*ed0d50c3Schristos of AND/OR. 2197*ed0d50c3Schristos (swap_mri_condition): Add HS (alias fo CC) and LO (alias for CS). 2198*ed0d50c3Schristos (reverse_mri_condition): Likewise. 2199*ed0d50c3Schristos (swap_mri_condition): Issue warning for conditions that can not be 2200*ed0d50c3Schristos swapped. 2201*ed0d50c3Schristos (build_mri_control_operand): Fix order of operands (swapped). 2202*ed0d50c3Schristos (build_mri_control_operand): Allow upper case extension in structured 2203*ed0d50c3Schristos control directives. 2204*ed0d50c3Schristos (s_mri_else): Likewise. 2205*ed0d50c3Schristos (s_mri_next): Likewise. 2206*ed0d50c3Schristos (s_mri_for): Likewise. 2207*ed0d50c3Schristos (s_mri_if): Fix handling comment ('*') in mri mode. 2208*ed0d50c3Schristos (s_mri_while): Likewise. 2209*ed0d50c3Schristos * macro.c (macro_expand): Allow macro invocation with empty 2210*ed0d50c3Schristos extension. 2211*ed0d50c3Schristos 2212*ed0d50c3Schristos2001-06-12 Nick Clifton <nickc@cambridge.redhat.com> 2213*ed0d50c3Schristos 2214*ed0d50c3Schristos * config/tc-arm.c: Fix test for overlow of literal pool. 2215*ed0d50c3Schristos 2216*ed0d50c3Schristos2001-06-11 H.J. Lu <hjl@gnu.org> 2217*ed0d50c3Schristos 2218*ed0d50c3Schristos * NEWS: Updated for the new -n option for the MIPS assembler. 2219*ed0d50c3Schristos 2220*ed0d50c3Schristos * config/tc-mips.c (md_show_usage): Add -n. 2221*ed0d50c3Schristos 2222*ed0d50c3Schristos * doc/as.texinfo: Document the new -n option. 2223*ed0d50c3Schristos * doc/c-mips.texi: Likewise. 2224*ed0d50c3Schristos * doc/as.1: Regenerated. 2225*ed0d50c3Schristos 2226*ed0d50c3Schristos2001-06-10 Alan Modra <amodra@bigpond.net.au> 2227*ed0d50c3Schristos 2228*ed0d50c3Schristos * config/obj-coff.c (obj_coff_section): Formatting fix. 2229*ed0d50c3Schristos 2230*ed0d50c3Schristos * config/tc-i386.c (md_assemble): Accept branch hints as ",pt" and 2231*ed0d50c3Schristos ",pn". 2232*ed0d50c3Schristos 2233*ed0d50c3Schristos2001-06-08 H.J. Lu <hjl@gnu.org> 2234*ed0d50c3Schristos 2235*ed0d50c3Schristos * config/tc-mips.c (warn_nops): New variable. Set to 0 to 2236*ed0d50c3Schristos disable warning about all NOPS that the assembler generates. 2237*ed0d50c3Schristos (macro): Warn NOPS generated only if warn_nops is not 0. 2238*ed0d50c3Schristos (md_shortopts): Add `n'. 2239*ed0d50c3Schristos (md_parse_option): Set warn_nops to 1 for `n'. 2240*ed0d50c3Schristos 2241*ed0d50c3Schristos2001-06-08 H.J. Lu <hjl@gnu.org> 2242*ed0d50c3Schristos 2243*ed0d50c3Schristos * config/tc-mips.c (mips_ip): Properly handle illegal operands. 2244*ed0d50c3Schristos 2245*ed0d50c3Schristos2001-06-08 H.J. Lu <hjl@gnu.org> 2246*ed0d50c3Schristos 2247*ed0d50c3Schristos * config/tc-mips.c (md_apply_fix): Don't adjust common 2248*ed0d50c3Schristos extern/weak symbols for ELF. 2249*ed0d50c3Schristos (md_estimate_size_before_relax): Treat weak like extern for 2250*ed0d50c3Schristos ELF. 2251*ed0d50c3Schristos (mips_fix_adjustable): Don't adjust extern/weak symbols for 2252*ed0d50c3Schristos ELF. 2253*ed0d50c3Schristos 2254*ed0d50c3Schristos2001-06-08 Alan Modra <amodra@bigpond.net.au> 2255*ed0d50c3Schristos 2256*ed0d50c3Schristos * Makefile.am: 'som' is not wrongly spelled 'some'. 2257*ed0d50c3Schristos * Makefile.in: Regenerate. 2258*ed0d50c3Schristos 2259*ed0d50c3Schristos * config/tc-mips.c (mips16_mark_labels): Reduce number of calls to 2260*ed0d50c3Schristos S_GET_VALUE by using a temp. 2261*ed0d50c3Schristos (append_insn): Likewise, and for S_SET_VALUE too. 2262*ed0d50c3Schristos (mips_emit_delays): Likewise. 2263*ed0d50c3Schristos (my_getExpression): Likewise. 2264*ed0d50c3Schristos (md_apply_fix): Likewise. Use "valueT" rather than "long" for "value". 2265*ed0d50c3Schristos (mips16_extended_frag): Remove code concerned with avoiding 2266*ed0d50c3Schristos locking in a frag address now that symbols are not finalized until 2267*ed0d50c3Schristos relaxation is complete. Cater for first relaxation pass having 2268*ed0d50c3Schristos bogus addresses. Use relax_marker to reliably determine whether a 2269*ed0d50c3Schristos symbol frag has been reached on the current pass. 2270*ed0d50c3Schristos 2271*ed0d50c3Schristos2001-06-07 H.J. Lu <hjl@gnu.org> 2272*ed0d50c3Schristos 2273*ed0d50c3Schristos * configure.in: Move "mips-*-linux-gnu*" before "mips-*-gnu*". 2274*ed0d50c3Schristos * configure: Regenerate. 2275*ed0d50c3Schristos 2276*ed0d50c3Schristos2001-06-07 H.J. Lu <hjl@gnu.org> 2277*ed0d50c3Schristos 2278*ed0d50c3Schristos * configure.in: Use MIPS_STABS_ELF for Linux/mips and remove 2279*ed0d50c3Schristos ecoff emulation. 2280*ed0d50c3Schristos * configure: Regenerate. 2281*ed0d50c3Schristos 2282*ed0d50c3Schristos2001-06-07 H.J. Lu <hjl@gnu.org> 2283*ed0d50c3Schristos 2284*ed0d50c3Schristos * config/tc-mips.c (mips_pseudo_table): Add "extern" if 2285*ed0d50c3Schristos MIPS_STABS_ELF is defined. 2286*ed0d50c3Schristos 2287*ed0d50c3Schristos2001-06-06 Nick Clifton <nickc@cambridge.redhat.com> 2288*ed0d50c3Schristos 2289*ed0d50c3Schristos * as.c (show_usage): Remove L from listing options. It is not a 2290*ed0d50c3Schristos generic option. 2291*ed0d50c3Schristos 2292*ed0d50c3Schristos2001-06-06 Christian Groessler <cpg@aladdin.de> 2293*ed0d50c3Schristos 2294*ed0d50c3Schristos * config/tc-z8k.c: Removed many warnings by removing unused 2295*ed0d50c3Schristos variables and tagging unused parameters as such. 2296*ed0d50c3Schristos (md_begin): Fixed a typo (","instead of ";"). 2297*ed0d50c3Schristos (struct ctrl_table): Add parentheses to initialize array 2298*ed0d50c3Schristos correctly. 2299*ed0d50c3Schristos (struct flag_table): Likewise. 2300*ed0d50c3Schristos (struct intr_table): Likewise. 2301*ed0d50c3Schristos (struct table): Likewise. 2302*ed0d50c3Schristos (check_operand): "#if 0"'ed since it doesn't seem to be used. 2303*ed0d50c3Schristos 2304*ed0d50c3Schristos2001-06-06 Peter Jakubek <pjak@snafu.de> 2305*ed0d50c3Schristos 2306*ed0d50c3Schristos * config/tc-m68k.c (md_show_usage): Add all supported ColdFire 2307*ed0d50c3Schristos options to list (e.g. m5206e, m5307, m5407). 2308*ed0d50c3Schristos 2309*ed0d50c3Schristos2001-06-06 Martin Schwidefsky <schwidefsky@de.ibm.com> 2310*ed0d50c3Schristos 2311*ed0d50c3Schristos * config/tc-s390.h (TC_FORCE_RELOCATION): Always emit relocations 2312*ed0d50c3Schristos BFD_RELOC_VTABLE_INHERIT and BFD_RELOC_VTABLE_ENTRY. 2313*ed0d50c3Schristos 2314*ed0d50c3Schristos2001-06-06 Alan Modra <amodra@bigpond.net.au> 2315*ed0d50c3Schristos 2316*ed0d50c3Schristos * config/tc-i386.c (md_assemble): Handle Pentium4 branch hints. 2317*ed0d50c3Schristos <JumpByte, JumpDword insn output>: Remove dead code. 2318*ed0d50c3Schristos 2319*ed0d50c3Schristos2001-06-06 Tracy Kuhrt <Tracy.Kuhrt@microchip.com> 2320*ed0d50c3Schristos 2321*ed0d50c3Schristos * as.c (parse_args): Correct option name "listing-lhs-width2". 2322*ed0d50c3Schristos 2323*ed0d50c3Schristos2001-06-05 Nick Clifton <nickc@cambridge.redhat.com> 2324*ed0d50c3Schristos 2325*ed0d50c3Schristos * symbols.c (S_SET_EXTERNAL): Do not override a section symbol's 2326*ed0d50c3Schristos status. 2327*ed0d50c3Schristos 2328*ed0d50c3Schristos2001-05-30 Richard Henderson <rth@redhat.com> 2329*ed0d50c3Schristos 2330*ed0d50c3Schristos * read.c (emit_leb128_expr): Call md_cons_align. 2331*ed0d50c3Schristos 2332*ed0d50c3Schristos2001-05-28 Jeff Sturm <jsturm@one-point.com> 2333*ed0d50c3Schristos 2334*ed0d50c3Schristos * config/tc-sparc.c (md_apply_fix3): Handle BFD_RELOC_SPARC_UA16, 2335*ed0d50c3Schristos BFD_RELOC_SPARC_UA32 and BFD_RELOC_SPARC_UA64. 2336*ed0d50c3Schristos (tc_gen_reloc): Likewise. 2337*ed0d50c3Schristos (sparc_cons_align): Don't clear sparc_no_align_cons. 2338*ed0d50c3Schristos (cons_fix_new_sparc): Substitute BFD_RELOC_SPARC_UA{16|32|64} for 2339*ed0d50c3Schristos BFD_RELOC_{16|32|64} iff sparc_no_align_cons is set. 2340*ed0d50c3Schristos 2341*ed0d50c3Schristos2001-05-27 Alan Modra <amodra@one.net.au> 2342*ed0d50c3Schristos 2343*ed0d50c3Schristos * write.c (relax_segment <rs_space>): Check the section of a 2344*ed0d50c3Schristos symbol to determine whether it is absolute rather than comparing 2345*ed0d50c3Schristos its frag against zero_address_frag as listings play tricks with 2346*ed0d50c3Schristos frags. 2347*ed0d50c3Schristos 2348*ed0d50c3Schristos * config/tc-m68k.c (md_assemble): Ensure variable part of frag is 2349*ed0d50c3Schristos allocated in the same chunk as the fixed part. 2350*ed0d50c3Schristos 2351*ed0d50c3Schristos2001-05-26 Alan Modra <amodra@one.net.au> 2352*ed0d50c3Schristos 2353*ed0d50c3Schristos * write.c (relax_segment <rs_space>): Calculate growth using 2354*ed0d50c3Schristos addresses before stretch. Prevent repeated error messages. 2355*ed0d50c3Schristos From Peter Jakubek <pjak@snafu.de> 2356*ed0d50c3Schristos Use as_bad_where and as_warn_where to pinpoint errors. 2357*ed0d50c3Schristos 2358*ed0d50c3Schristos2001-05-25 Alan Modra <amodra@one.net.au> 2359*ed0d50c3Schristos 2360*ed0d50c3Schristos * symbols.c (resolve_symbol_value): Always set segment, even when 2361*ed0d50c3Schristos not finalizing symbol value. 2362*ed0d50c3Schristos 2363*ed0d50c3Schristos * config/obj-ieee.c (write_object_file): Set finalize_syms. 2364*ed0d50c3Schristos * config/obj-coff.c (write_object_file): Likewise. 2365*ed0d50c3Schristos * (size_section): Remove rs_space assert as fr_symbol is no longer 2366*ed0d50c3Schristos removed. 2367*ed0d50c3Schristos (fill_section): Likewise. 2368*ed0d50c3Schristos 2369*ed0d50c3Schristos * configure.in: Replace linuxoldld with linux*oldld. 2370*ed0d50c3Schristos * configure: Regenerate. 2371*ed0d50c3Schristos 2372*ed0d50c3Schristos From 2.11 branch 2001-03-30 Richard Henderson <rth@redhat.com> 2373*ed0d50c3Schristos * config/tc-i386.c (md_convert_frag): Don't die on local symbols 2374*ed0d50c3Schristos that have been finalized. 2375*ed0d50c3Schristos 2376*ed0d50c3Schristos * symbols.c (resolve_symbol_value): Clear sy_resolving before 2377*ed0d50c3Schristos taking exit_dont_set_value. 2378*ed0d50c3Schristos 2379*ed0d50c3Schristos * write.c (relax_segment <rs_space>): Don't zap fr_symbol when 2380*ed0d50c3Schristos relaxing. 2381*ed0d50c3Schristos 2382*ed0d50c3Schristos2000-05-24 Tom Rix <trix@redhat.com> 2383*ed0d50c3Schristos 2384*ed0d50c3Schristos * config/obj-coff.c (add_lineno): xcoff allows negative line 2385*ed0d50c3Schristos numbers 2386*ed0d50c3Schristos * config/tc-ppc.c (ppc_stabx): fix generated symbol 2387*ed0d50c3Schristos 2388*ed0d50c3Schristos2001-05-24 Alan Modra <amodra@one.net.au> 2389*ed0d50c3Schristos 2390*ed0d50c3Schristos * write.c (write_object_file): Set finalize_syms = 1 before 2391*ed0d50c3Schristos size_seg is called. 2392*ed0d50c3Schristos 2393*ed0d50c3Schristos2001-05-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 2394*ed0d50c3Schristos 2395*ed0d50c3Schristos * config/tc-mips.c (ISA_HAS_64BIT_REGS): Add ISA_MIPS64 as 64 bit 2396*ed0d50c3Schristos architecture, remove erraneous ISA_MIPS32. 2397*ed0d50c3Schristos (md_show_usage): Add MIPS r12k support. 2398*ed0d50c3Schristos (mips_cpu_info_table): Add MIPS r12k support. 2399*ed0d50c3Schristos 2400*ed0d50c3Schristos2001-05-22 Alan Modra <amodra@one.net.au> 2401*ed0d50c3Schristos 2402*ed0d50c3Schristos * config/tc-arc.c (md_assemble): Use is_end_of_line instead of 2403*ed0d50c3Schristos testing for NULs. 2404*ed0d50c3Schristos 2405*ed0d50c3Schristos * symbols.c (resolve_symbol_value): Remove "finalize" param, 2406*ed0d50c3Schristos instead use finalize_syms directly. Don't treat expressions 2407*ed0d50c3Schristos specially with regard to finalize_syms. Update calls to self. 2408*ed0d50c3Schristos (resolve_local_symbol): Update call to resolve_symbol_value. 2409*ed0d50c3Schristos (S_GET_VALUE): Likewise. Return resolve_symbol_value if 2410*ed0d50c3Schristos !finalize_syms. 2411*ed0d50c3Schristos * symbols.h (resolve_symbol_value): Update prototype. 2412*ed0d50c3Schristos * config/obj-aout.c (obj_crawl_symbol_chain): Update call 2413*ed0d50c3Schristos to resolve_symbol_value. 2414*ed0d50c3Schristos * config/obj-bout.c (obj_crawl_symbol_chain): Likewise. 2415*ed0d50c3Schristos * config/obj-coff.c (do_relocs_for): Likewise. 2416*ed0d50c3Schristos (yank_symbols): Likewise. 2417*ed0d50c3Schristos (fixup_segment): Likewise. 2418*ed0d50c3Schristos * config/obj-vms.c (obj_crawl_symbol_chain): Likewise. 2419*ed0d50c3Schristos * config/tc-mips.c (md_convert_frag): Likewise. 2420*ed0d50c3Schristos * config/tc-ppc.c (ppc_frob_symbol): Likewise. 2421*ed0d50c3Schristos (ppc_fix_adjustable): Likewise. 2422*ed0d50c3Schristos * dwarf2dbg.c (dwarf2dbg_estimate_size_before_relax): Likewise. 2423*ed0d50c3Schristos (dwarf2dbg_convert_frag): Likewise. 2424*ed0d50c3Schristos * ehopt.c (eh_frame_estimate_size_before_relax): Likewise. 2425*ed0d50c3Schristos (eh_frame_convert_frag): Likewise. 2426*ed0d50c3Schristos * expr.c (make_expr_symbol): Likewise. 2427*ed0d50c3Schristos * write.c (adjust_reloc_syms): Likewise. 2428*ed0d50c3Schristos (write_object_file): Likewise. 2429*ed0d50c3Schristos (relax_segment): Likewise. 2430*ed0d50c3Schristos (fixup_segment): Likewise. 2431*ed0d50c3Schristos (finalize_syms): Init to zero, and update comment. 2432*ed0d50c3Schristos (write_object_file): Set finalize_syms to 1 rather than 2. 2433*ed0d50c3Schristos * doc/internals.texi (sy_value): Mention finalize_syms. 2434*ed0d50c3Schristos (S_GET_VALUE): Remove restriction on when S_GET_VALUE can be called. 2435*ed0d50c3Schristos 2436*ed0d50c3Schristos * config/tc-m68k.c (relaxable_symbol): Only treat external symbols 2437*ed0d50c3Schristos as relaxable if embedded system, make weak syms non-relaxable. 2438*ed0d50c3Schristos Move definition.. 2439*ed0d50c3Schristos (tc_m68k_fix_adjustable): ..so it can be used here. 2440*ed0d50c3Schristos (md_apply_fix_2): Sign extend without conditional. 2441*ed0d50c3Schristos 2442*ed0d50c3Schristos * config/tc-v850.c: Update copyright. 2443*ed0d50c3Schristos 2444*ed0d50c3Schristos2001-05-16 Jeff Johnston <jjohnstn@redhat.com> 2445*ed0d50c3Schristos 2446*ed0d50c3Schristos * cgen.c (gas_cgen_tc_gen_reloc): Changed error message when 2447*ed0d50c3Schristos howto entry is not found. 2448*ed0d50c3Schristos 2449*ed0d50c3Schristos2001-05-15 Alexandre Oliva <aoliva@redhat.com> 2450*ed0d50c3Schristos 2451*ed0d50c3Schristos * config/tc-mn10300.c (mn10300_force_relocation): Don't 2452*ed0d50c3Schristos optimize differences between symbols in code sections to 2453*ed0d50c3Schristos constants. 2454*ed0d50c3Schristos (mn10300_fix_adjustable): Don't adjust to section+offset 2455*ed0d50c3Schristos relocations pointing at symbols in code sections. 2456*ed0d50c3Schristos 2457*ed0d50c3Schristos2001-05-16 Alan Modra <amodra@one.net.au> 2458*ed0d50c3Schristos 2459*ed0d50c3Schristos * config/tc-arc.c (md_assemble): Correct dwarf2_emit_insn param 2460*ed0d50c3Schristos for 8 byte insns. 2461*ed0d50c3Schristos * config/tc-i386.c (md_assemble): Call dwarf2_emit_insn before 2462*ed0d50c3Schristos opcodes are output rather than after. Delete insn_size. 2463*ed0d50c3Schristos * config/tc-v850.c (md_assemble): Similarly, but delete 2464*ed0d50c3Schristos total_insn_size. 2465*ed0d50c3Schristos 2466*ed0d50c3Schristos2001-05-14 Richard Henderson <rth@redhat.com> 2467*ed0d50c3Schristos 2468*ed0d50c3Schristos * ehopt.c (eh_frame_convert_frag): Fix missed subtype adjustment 2469*ed0d50c3Schristos last change. 2470*ed0d50c3Schristos 2471*ed0d50c3Schristos2001-05-14 Richard Henderson <rth@redhat.com> 2472*ed0d50c3Schristos 2473*ed0d50c3Schristos * ehopt.c (get_cie_info): Rename from eh_frame_code_alignment; 2474*ed0d50c3Schristos also collect whether to expect an FDE augmentation. 2475*ed0d50c3Schristos (check_eh_frame): Rewrite as a state machine. Track where in 2476*ed0d50c3Schristos an FDE we are located, skip any augmentation. 2477*ed0d50c3Schristos (eh_frame_estimate_size_before_relax): Get code alignment from 2478*ed0d50c3Schristos the fragment subtype. 2479*ed0d50c3Schristos (eh_frame_relax_frag, eh_frame_convert_frag): Likewise. 2480*ed0d50c3Schristos * read.c (emit_leb128_expr): Call check_eh_frame. 2481*ed0d50c3Schristos 2482*ed0d50c3Schristos2001-05-14 Alexandre Oliva <aoliva@redhat.com> 2483*ed0d50c3Schristos 2484*ed0d50c3Schristos * config/tc-mn10300.c (md_assemble): Anchor dwarf2 line info 2485*ed0d50c3Schristos before a relaxable insns. 2486*ed0d50c3Schristos 2487*ed0d50c3Schristos2001-05-13 Alexandre Oliva <aoliva@redhat.com> 2488*ed0d50c3Schristos 2489*ed0d50c3Schristos * config/tc-mn10300.c (tc_gen_reloc): Don't reject differences 2490*ed0d50c3Schristos between symbols if the base symbol is in the current section; 2491*ed0d50c3Schristos emit a PC-relative relocation instead. 2492*ed0d50c3Schristos 2493*ed0d50c3Schristos2001-05-12 Peter Targett <peter.targett@arccores.com> 2494*ed0d50c3Schristos 2495*ed0d50c3Schristos * config/tc-arc.c: Update copyright and tidy source comments. 2496*ed0d50c3Schristos (md_pseudo_table): Add directive .cpu back as an alias for 2497*ed0d50c3Schristos .option. Add .file and .line for dwarf2 support. 2498*ed0d50c3Schristos (arc_mach_type): Make bfd_mach_arc_6 default. 2499*ed0d50c3Schristos (md_longopts): Add entry 'pre-v6' representing old command line 2500*ed0d50c3Schristos option when assembling for 'arc5' core versions. 2501*ed0d50c3Schristos (md_parse_option): Make OPTION_ARC same as OPTION_ARC6, for new 2502*ed0d50c3Schristos default behaviour. 2503*ed0d50c3Schristos (arc_code_symbol): Make symbol value for @h30 fixup expression 2504*ed0d50c3Schristos equal to O_constant. 2505*ed0d50c3Schristos (md_assemble): Call dwarf2_emit_insn. 2506*ed0d50c3Schristos Include "dwarf2dbg2.h". Formatting fixes throughout file. 2507*ed0d50c3Schristos * config/tc-arc.h (DWARF2_LINE_MIN_INSN_LENGTH): Define. 2508*ed0d50c3Schristos * doc/c-arc.texi (ARC_CORE_DEFAULT): Update to new default. 2509*ed0d50c3Schristos 2510*ed0d50c3Schristos2001-05-11 Jakub Jelinek <jakub@redhat.com> 2511*ed0d50c3Schristos 2512*ed0d50c3Schristos * config/tc-ia64.c (special_linkonce_name): New. 2513*ed0d50c3Schristos (make_unw_section): Map .gnu.linkonce.t.FOO text section into 2514*ed0d50c3Schristos .gnu.linkonce.ia64unw{,i}.FOO. 2515*ed0d50c3Schristos (ia64_elf_section_type): Handle .gnu.linkonce.ia64unw{,i}.FOO. 2516*ed0d50c3Schristos (dot_endp): Add comment about it. 2517*ed0d50c3Schristos 2518*ed0d50c3Schristos2001-05-11 Nick Clifton <nickc@cambridge.redhat.com> 2519*ed0d50c3Schristos 2520*ed0d50c3Schristos * config/tc-arm.c (arm_handle_align): When truncating an aligned 2521*ed0d50c3Schristos block, ensure that the low order bits of the alignment are 2522*ed0d50c3Schristos preserved. 2523*ed0d50c3Schristos 2524*ed0d50c3Schristos2001-05-10 Alan Modra <amodra@one.net.au> 2525*ed0d50c3Schristos 2526*ed0d50c3Schristos * config/obj-vms.c (obj_crawl_symbol_chain): Don't take address of 2527*ed0d50c3Schristos symbol_next. 2528*ed0d50c3Schristos 2529*ed0d50c3Schristos * config/tc-fr30.c (md_estimate_size_before_relax): Return size of 2530*ed0d50c3Schristos current variable part of frag. 2531*ed0d50c3Schristos * config/tc-m32r.c (md_estimate_size_before_relax): Likewise. 2532*ed0d50c3Schristos * config/tc-openrisc.c (md_estimate_size_before_relax): Likewise. 2533*ed0d50c3Schristos * config/tc-m68hc11.c (RELAX_STATE): Define. 2534*ed0d50c3Schristos (RELAX_LENGTH): Define. 2535*ed0d50c3Schristos (md_estimate_size_before_relax): Handle non-relaxable cases 2536*ed0d50c3Schristos separately from relaxable cases for clarity, and return correct 2537*ed0d50c3Schristos size for multi-pass relaxation. 2538*ed0d50c3Schristos * config/tc-tahoe.c (RELAX_LENGTH): Correct. 2539*ed0d50c3Schristos (md_estimate_size_before_relax): As for tc-m68hc11.c. 2540*ed0d50c3Schristos (md_convert_frag): Remove "length_code". 2541*ed0d50c3Schristos * config/tc-vax.c (RELAX_STATE): Define. 2542*ed0d50c3Schristos (RELAX_LENGTH): Define. 2543*ed0d50c3Schristos (md_relax_table): Add missing entry. 2544*ed0d50c3Schristos (md_estimate_size_before_relax): As for tc-m68hc11.c. 2545*ed0d50c3Schristos (md_convert_frag): Remove "length_code". 2546*ed0d50c3Schristos * config/tc-ns32k.c (md_estimate_size_before_relax): Simplify and 2547*ed0d50c3Schristos don't bother setting fr_var. Return correct size for multi-pass 2548*ed0d50c3Schristos relaxation. 2549*ed0d50c3Schristos * config/tc-v850.c (md_estimate_size_before_relax): Rewrite. 2550*ed0d50c3Schristos (md_convert_frag): Don't bother clearing fr_var. 2551*ed0d50c3Schristos (md_pseudo_table): Correct initialization. 2552*ed0d50c3Schristos * config/tc-h8500.c (md_convert_frag): Don't bother clearing fr_var. 2553*ed0d50c3Schristos (md_estimate_size_before_relax): No need to set fr_var. 2554*ed0d50c3Schristos * config/tc-mcore.c (md_convert_frag): Don't bother clearing fr_var. 2555*ed0d50c3Schristos (md_estimate_size_before_relax): No need to set fr_var. 2556*ed0d50c3Schristos 2557*ed0d50c3Schristos2001-05-09 Richard Henderson <rth@redhat.com> 2558*ed0d50c3Schristos 2559*ed0d50c3Schristos * config/tc-ia64.c (generate_unwind_image): Align the fragment 2560*ed0d50c3Schristos beginning a function's unwind info block. 2561*ed0d50c3Schristos 2562*ed0d50c3Schristos2001-05-09 Alexandre Oliva <aoliva@redhat.com> 2563*ed0d50c3Schristos 2564*ed0d50c3Schristos * config/tc-mn10300.c (md_apply_fix3): Accept PC-relative relocs. 2565*ed0d50c3Schristos 2566*ed0d50c3Schristos2001-05-08 Andreas Schwab <schwab@suse.de> 2567*ed0d50c3Schristos 2568*ed0d50c3Schristos * config/tc-m68k.c: Instead of replacing -1 by 64 in assignment to 2569*ed0d50c3Schristos fx_pcrel_adjust explicitly sign extend when reading it. 2570*ed0d50c3Schristos 2571*ed0d50c3Schristos2001-05-08 Alan Modra <amodra@one.net.au> 2572*ed0d50c3Schristos 2573*ed0d50c3Schristos * config/tc-m68k.c (md_estimate_size_before_relax): Set fr_var 2574*ed0d50c3Schristos from md_relax_table, and combine some switch cases. 2575*ed0d50c3Schristos 2576*ed0d50c3Schristos2001-05-06 Alexandre Oliva <aoliva@redhat.com> 2577*ed0d50c3Schristos 2578*ed0d50c3Schristos * config/tc-mn10300.c (md_assemble): Subtract operand->shift 2579*ed0d50c3Schristos from offset in non-pcrel operands too. 2580*ed0d50c3Schristos 2581*ed0d50c3Schristos2001-05-06 Nick Clifton <nickc@cambridge.redhat.com> 2582*ed0d50c3Schristos 2583*ed0d50c3Schristos * config/tc-arm.h (MAX_MEM_FOR_RS_ALIGN_CODE): Define. 2584*ed0d50c3Schristos * config/tc-arm.c (arm_handle_align): Do not insert more than 2585*ed0d50c3Schristos MAX_MEM_FOR_RS_ALIGN_CODE bytes. 2586*ed0d50c3Schristos (arm_frag_align_code): Use MAX_MEM_FOR_RS_ALIGN_CODE. 2587*ed0d50c3Schristos 2588*ed0d50c3Schristos2001-05-03 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 2589*ed0d50c3Schristos 2590*ed0d50c3Schristos * Makefile.am (TARG_ENV_HFILES): Add te-hppa64.h and te-hppalinux64.h. 2591*ed0d50c3Schristos Run "make dep-am". 2592*ed0d50c3Schristos * Makefile.in: Regenerate. 2593*ed0d50c3Schristos * configure.in: Remove duplicate mips-*-ecoff* entry. 2594*ed0d50c3Schristos * configure: Regenerate. 2595*ed0d50c3Schristos 2596*ed0d50c3Schristos * config/obj-ecoff.c (obj_pseudo_table): Fix terminating entry. 2597*ed0d50c3Schristos (n_names): Cast away type mismatch. 2598*ed0d50c3Schristos (ecoff_sec_sym_ok_for_reloc): Add unused attribute. 2599*ed0d50c3Schristos (obj_ecoff_frob_symbol): Likewise. 2600*ed0d50c3Schristos * ecoff.c: (add_file): Add unused attribute. 2601*ed0d50c3Schristos (ecoff_directive_begin): Likewise. 2602*ed0d50c3Schristos (ecoff_directive_bend): Likewise. 2603*ed0d50c3Schristos (ecoff_directive_def): Likewise. 2604*ed0d50c3Schristos (ecoff_directive_dim): Likewise. 2605*ed0d50c3Schristos (ecoff_directive_scl): Likewise. 2606*ed0d50c3Schristos (ecoff_directive_size): Likewise. 2607*ed0d50c3Schristos (ecoff_directive_type): Likewise. 2608*ed0d50c3Schristos (ecoff_directive_tag): Likewise. 2609*ed0d50c3Schristos (ecoff_directive_val): Likewise. 2610*ed0d50c3Schristos (ecoff_directive_endef): Likewise. 2611*ed0d50c3Schristos (ecoff_directive_end): Likewise. 2612*ed0d50c3Schristos (ecoff_directive_ent): Likewise. 2613*ed0d50c3Schristos (ecoff_directive_extern): Likewise. 2614*ed0d50c3Schristos (ecoff_directive_file): Likewise. 2615*ed0d50c3Schristos (ecoff_directive_fmask): Likewise. 2616*ed0d50c3Schristos (ecoff_directive_frame): Likewise. 2617*ed0d50c3Schristos (ecoff_directive_mask): Likewise. 2618*ed0d50c3Schristos (ecoff_directive_loc): Likewise. 2619*ed0d50c3Schristos (mark_stabs): Likewise. 2620*ed0d50c3Schristos (ecoff_stab): Likewise. 2621*ed0d50c3Schristos (ecoff_frob_symbol): Cast away type mismatch. 2622*ed0d50c3Schristos (ecoff_padding_adjust): Likewise. 2623*ed0d50c3Schristos (ecoff_build_symbols): Likewise. 2624*ed0d50c3Schristos (ecoff_build_procs): Likewise. 2625*ed0d50c3Schristos (ecoff_build_aux): Likewise. 2626*ed0d50c3Schristos (ecoff_build_strings): Likewise. 2627*ed0d50c3Schristos (ecoff_build_fdr): Likewise. 2628*ed0d50c3Schristos (ecoff_build_debug): Likewise. 2629*ed0d50c3Schristos * itbl-ops.c (itbl_assemble): Variable initialization. 2630*ed0d50c3Schristos 2631*ed0d50c3Schristos2001-05-03 Alan Modra <amodra@one.net.au> 2632*ed0d50c3Schristos 2633*ed0d50c3Schristos * config/tc-i386.c (i386_displacement): Call as_bad for bad GOTOFF 2634*ed0d50c3Schristos expressions rather than triggering an assert. 2635*ed0d50c3Schristos 2636*ed0d50c3Schristos2001-05-02 Johan Rydberg <jrydberg@opencores.org> 2637*ed0d50c3Schristos 2638*ed0d50c3Schristos * config/tc-openrisc.c: New file. 2639*ed0d50c3Schristos * config/tc-openrisc.h: Likewise. 2640*ed0d50c3Schristos 2641*ed0d50c3Schristos * Makefile.am: Add OpenRISC target. 2642*ed0d50c3Schristos * Makefile.in: Regenerated. 2643*ed0d50c3Schristos 2644*ed0d50c3Schristos * configure.in (openrisc-*-*): Add target. 2645*ed0d50c3Schristos * configure: Regenerated. 2646*ed0d50c3Schristos 2647*ed0d50c3Schristos2001-05-02 Nick Clifton <nickc@cambridge.redhat.com> 2648*ed0d50c3Schristos 2649*ed0d50c3Schristos * config/tc-arm.c (arm_frag_align_code): Change error message to 2650*ed0d50c3Schristos more explanatory version. 2651*ed0d50c3Schristos 2652*ed0d50c3Schristos2001-04-29 Keith M Wesolowski <wesolows@foobazco.org> 2653*ed0d50c3Schristos 2654*ed0d50c3Schristos * config/tc-mips.c (md_parse_option): Also accept 2655*ed0d50c3Schristos elf64-tradbigmips and elf64-tradlittlemips for OPTION_64. 2656*ed0d50c3Schristos 2657*ed0d50c3Schristos2001-04-27 David Mosberger <davidm@hpl.hp.com> 2658*ed0d50c3Schristos 2659*ed0d50c3Schristos * config/tc-ia64.c (dot_spillmem_p): Fix output_spill_?sprel_p() 2660*ed0d50c3Schristos argument passing order: predicate goes last, not first. 2661*ed0d50c3Schristos 2662*ed0d50c3Schristos2001-04-27 Sean McNeil <sean@mcneil.com> 2663*ed0d50c3Schristos 2664*ed0d50c3Schristos * configure.in: Add arm-vxworks. 2665*ed0d50c3Schristos * configure: Regenerate. 2666*ed0d50c3Schristos 2667*ed0d50c3Schristos2001-04-26 Nick Clifton <nickc@cambridge.redhat.com> 2668*ed0d50c3Schristos 2669*ed0d50c3Schristos * config/tc-arm.c (arm_handle_align): New Function: Generate 2670*ed0d50c3Schristos no-op filled alignment frags. 2671*ed0d50c3Schristos (arm_frag_align_code): New Function: Create a code alignment frag. 2672*ed0d50c3Schristos (arm_init_frag): New Function: Initialse the target dependent 2673*ed0d50c3Schristos parts of a frag. 2674*ed0d50c3Schristos 2675*ed0d50c3Schristos * config/tc-arm.h (TC_FRAG_TYPE): Define. 2676*ed0d50c3Schristos (TC_FRAG_INIT): Define. 2677*ed0d50c3Schristos (HANDLE_ALIGN): Define. 2678*ed0d50c3Schristos (md_do_align): Define. 2679*ed0d50c3Schristos 2680*ed0d50c3Schristos2001-04-25 Nick Clifton <nickc@cambridge.redhat.com> 2681*ed0d50c3Schristos 2682*ed0d50c3Schristos * config/obj-coff.c (do_linenos_for): Check to see if the filename 2683*ed0d50c3Schristos symbol has been initialised before extracting its symbol index. 2684*ed0d50c3Schristos 2685*ed0d50c3Schristos2001-04-24 H.J. Lu <hjl@gnu.org> 2686*ed0d50c3Schristos 2687*ed0d50c3Schristos * configure: Regenerated with the right version of autoconf. 2688*ed0d50c3Schristos 2689*ed0d50c3Schristos2001-04-24 Christian Groessler <cpg@aladdin.de> 2690*ed0d50c3Schristos 2691*ed0d50c3Schristos * config/tc-z8k.c (build_bytes): 12 and 16 bit displacements now 2692*ed0d50c3Schristos generate R_CALLR and R_REL16 relocations 2693*ed0d50c3Schristos 2694*ed0d50c3Schristos2000-04-20 Jason Eckhardt <jle@redhat.com> 2695*ed0d50c3Schristos 2696*ed0d50c3Schristos * config/tc-d10v.h (tc_frob_label): Update the symbol's frag 2697*ed0d50c3Schristos since frag_now can change after d10v_cleanup is called. 2698*ed0d50c3Schristos 2699*ed0d50c3Schristos2001-04-16 David O'Brien <obrien@FreeBSD.org> 2700*ed0d50c3Schristos 2701*ed0d50c3Schristos * configure.in: Add the em type for FreeBSD targets. 2702*ed0d50c3Schristos * configure: Regenerate. 2703*ed0d50c3Schristos 2704*ed0d50c3Schristos2001-04-14 Alexandre Oliva <aoliva@redhat.com> 2705*ed0d50c3Schristos 2706*ed0d50c3Schristos * struc-symbol.h (struct local_symbol): New TC_LOCAL_SYMFIELD_TYPE. 2707*ed0d50c3Schristos * symbols.c (local_symbol_convert): Call TC_LOCAL_SYMFIELD_CONVERT. 2708*ed0d50c3Schristos 2709*ed0d50c3Schristos * config/tc-mn10300.c (md_assemble): Simplify offset adjustment of 2710*ed0d50c3Schristos pc-relative relocations not placed at the end of the instruction. 2711*ed0d50c3Schristos 2712*ed0d50c3Schristos2001-04-13 Jim Wilson <wilson@redhat.com> 2713*ed0d50c3Schristos 2714*ed0d50c3Schristos * tc-ia64.c (is_conditional_branch): Return true for br, brl, and br. 2715*ed0d50c3Schristos excluding br.i. 2716*ed0d50c3Schristos 2717*ed0d50c3Schristos2001-04-13 Jakub Jelinek <jakub@redhat.com> 2718*ed0d50c3Schristos 2719*ed0d50c3Schristos * config/obj-elf.c (obj_elf_change_section): Add entsize argument, 2720*ed0d50c3Schristos handle SHF_MERGE and SHF_STRINGS. 2721*ed0d50c3Schristos (obj_elf_parse_section_letters): Set SHF_MERGE and SHF_STRINGS. 2722*ed0d50c3Schristos (obj_elf_section): Allow additional argument specifying entity size. 2723*ed0d50c3Schristos * write.c (adjust_reloc_syms): Keep relocations against local symbols 2724*ed0d50c3Schristos in SEC_MERGE sections. 2725*ed0d50c3Schristos 2726*ed0d50c3Schristos2001-04-12 Jason Merrill <jason_merrill@redhat.com> 2727*ed0d50c3Schristos 2728*ed0d50c3Schristos * dwarf2dbg.c (process_entries): Don't optimize redundant line notes. 2729*ed0d50c3Schristos 2730*ed0d50c3Schristos2001-04-12 Alexandre Oliva <aoliva@redhat.com> 2731*ed0d50c3Schristos 2732*ed0d50c3Schristos * expr.c (operand): Pass &c to md_parse_name(). 2733*ed0d50c3Schristos * config/tc-ia64.h, config/tc-ppc.h, config/tc-tic54x.h: Adjust. 2734*ed0d50c3Schristos 2735*ed0d50c3Schristos2001-04-07 Steven J. Hill <sjhill@cotw.com> 2736*ed0d50c3Schristos 2737*ed0d50c3Schristos * config/tc-mips.c: Support ELF64 for traditional MIPS targets. 2738*ed0d50c3Schristos 2739*ed0d50c3Schristos * Makefile.am: (TARG_ENV_HFILES): Add tc-mips.h. 2740*ed0d50c3Schristos * Makefile.in: Regenerated. 2741*ed0d50c3Schristos 2742*ed0d50c3Schristos * configure.in: Use traditional MIPS targets for Linux/MIPS. 2743*ed0d50c3Schristos * configure: Regenerated. 2744*ed0d50c3Schristos 2745*ed0d50c3Schristos2001-04-06 Alexandre Oliva <aoliva@redhat.com> 2746*ed0d50c3Schristos 2747*ed0d50c3Schristos * config/tc-mn10300.c (xr_registers): Added `pc'. 2748*ed0d50c3Schristos 2749*ed0d50c3Schristos2001-04-05 Alan Modra <alan@linuxcare.com.au> 2750*ed0d50c3Schristos 2751*ed0d50c3Schristos * configure.in: Add h8500-*-coff and h8500-*-rtems targets. 2752*ed0d50c3Schristos * configure: Regenerate. 2753*ed0d50c3Schristos 2754*ed0d50c3Schristos * config/tc-h8500.c (md_estimate_size_before_relax): Add missing 2755*ed0d50c3Schristos cases, and always return size based on current fr_subtype. 2756*ed0d50c3Schristos (md_begin): Move initialization of md_relax_table.. 2757*ed0d50c3Schristos (md_relax_table): ..to static initializer. Set rlx_length for 2758*ed0d50c3Schristos UNDEF_WORD_DISP cases. 2759*ed0d50c3Schristos * config/tc-w65.c (md_estimate_size_before_relax): Likewise. 2760*ed0d50c3Schristos (md_begin): Likewise. 2761*ed0d50c3Schristos (md_relax_table): Likewise. 2762*ed0d50c3Schristos * config/tc-mcore.c (md_estimate_size_before_relax): Likewise. 2763*ed0d50c3Schristos (md_relax_table): Set rlx_length for UNDEF_WORD_DISP cases. 2764*ed0d50c3Schristos Set rlx_backward and rlx_forward to zero for unused states. 2765*ed0d50c3Schristos * config/tc-sh.c (md_estimate_size_before_relax): Likewise. 2766*ed0d50c3Schristos (md_relax_table): Set rlx_length for UNDEF_WORD_DISP cases. 2767*ed0d50c3Schristos (UNCOND12, UNCOND32): Remove duplicate defines. 2768*ed0d50c3Schristos 2769*ed0d50c3Schristos2001-04-04 Hans-Peter Nilsson <hp@axis.com> 2770*ed0d50c3Schristos 2771*ed0d50c3Schristos * config/tc-cris.c (md_estimate_size_before_relax) <case 2772*ed0d50c3Schristos ENCODE_RELAX (STATE_CONDITIONAL_BRANCH, STATE_UNDF)>: Don't emit 2773*ed0d50c3Schristos 32-bit branch, just set fragP->fr_subtype. Set fragP->fr_var. 2774*ed0d50c3Schristos <all cases>: Always set fragP->fr_var using md_cris_relax_table. 2775*ed0d50c3Schristos Add cases to cover all relax states. 2776*ed0d50c3Schristos (cris_insn_first_word_frag): New. 2777*ed0d50c3Schristos (md_assemble): Call cris_insn_first_word_frag to get the first 2778*ed0d50c3Schristos frag in an insn, not frag_more. Don't call dwarf2_emit_insn at 2779*ed0d50c3Schristos end. Drop variable insn_size. 2780*ed0d50c3Schristos (gen_bdap): Call cris_insn_first_word_frag, not frag_more. 2781*ed0d50c3Schristos (cris_sym_leading_underscore): Wrap first as_bad parameter in _(). 2782*ed0d50c3Schristos (cris_sym_no_leading_underscore, s_cris_file, s_cris_loc): Ditto. 2783*ed0d50c3Schristos 2784*ed0d50c3Schristos * write.c (write_object_file): Reset broken word state before 2785*ed0d50c3Schristos calling relax_seg. 2786*ed0d50c3Schristos 2787*ed0d50c3Schristos2001-03-31 Alan Modra <alan@linuxcare.com.au> 2788*ed0d50c3Schristos 2789*ed0d50c3Schristos * listing.c (listing_listing): Enable listing on EDICT_NOLIST_NEXT 2790*ed0d50c3Schristos for one line if not already enabled. 2791*ed0d50c3Schristos * cond.c (s_elseif): Correct conditional assembly listing. 2792*ed0d50c3Schristos (s_else): Likewise. 2793*ed0d50c3Schristos 2794*ed0d50c3Schristos * cond.c (s_endif): Correct handling of "if .. elseif .." trees. 2795*ed0d50c3Schristos Don't abort on NULL current_cframe. 2796*ed0d50c3Schristos 2797*ed0d50c3Schristos2001-03-30 Alan Modra <alan@linuxcare.com.au> 2798*ed0d50c3Schristos 2799*ed0d50c3Schristos * dwarf2dbg.c (dwarf2_directive_file): Fix warnings. 2800*ed0d50c3Schristos (dwarf2dbg_convert_frag): Pass `finalize_syms' to resolve_symbol_value. 2801*ed0d50c3Schristos * config/obj-aout.c (obj_crawl_symbol_chain): Likewise. 2802*ed0d50c3Schristos * config/obj-bout.c (obj_crawl_symbol_chain): Likewise. 2803*ed0d50c3Schristos * config/obj-coff.c (do_relocs_for): Likewise. 2804*ed0d50c3Schristos (yank_symbols): Likewise. 2805*ed0d50c3Schristos (fixup_segment): Likewise. 2806*ed0d50c3Schristos * config/tc-ppc.c (ppc_frob_symbol): Likewise. 2807*ed0d50c3Schristos (ppc_fix_adjustable): Likewise. 2808*ed0d50c3Schristos * config/tc-mips.c (md_convert_frag): Likewise. 2809*ed0d50c3Schristos * config/obj-vms.c (obj_crawl_symbol_chain): Likewise. 2810*ed0d50c3Schristos * ehopt.c (eh_frame_convert_frag): Likewise. 2811*ed0d50c3Schristos * expr.c (make_expr_symbol): Likewise. 2812*ed0d50c3Schristos 2813*ed0d50c3Schristos * frags.h (struct frag): Add last_fr_address. Reorder fields for 2814*ed0d50c3Schristos better packing. 2815*ed0d50c3Schristos * symbols.c (resolve_symbol_value): Don't fix expression values 2816*ed0d50c3Schristos until relaxation is complete. 2817*ed0d50c3Schristos (resolve_local_symbol): Pass `finalize_syms' to resolve_symbol_value. 2818*ed0d50c3Schristos (S_GET_VALUE): Likewise, and return unresolved expression value. 2819*ed0d50c3Schristos * write.c (finalize_syms): New. 2820*ed0d50c3Schristos (relax_and_size_seg): Split into.. 2821*ed0d50c3Schristos (relax_seg): New function, returns 1 if anything changed.. 2822*ed0d50c3Schristos (size_seg): And the remainder of relax_and_size_seg. 2823*ed0d50c3Schristos (fixup_segment): Arrange for final resolution of sym values. 2824*ed0d50c3Schristos (adjust_reloc_syms): Likewise. 2825*ed0d50c3Schristos (write_object_file): Likewise, and repeatedly call relax_seg until 2826*ed0d50c3Schristos nothing more changes. 2827*ed0d50c3Schristos (relax_segment): Return 1 if anything changed. Use correct types 2828*ed0d50c3Schristos for rs_org `target' and `after'. 2829*ed0d50c3Schristos * write.h (finalize_syms): Declare. 2830*ed0d50c3Schristos (relax_segment): Update prototype. 2831*ed0d50c3Schristos 2832*ed0d50c3Schristos * config/tc-sh.c (md_estimate_size_before_relax): Add extra 2833*ed0d50c3Schristos do-nothing cases to switch to avoid abort on a second relaxation 2834*ed0d50c3Schristos pass, and tidy code a little. 2835*ed0d50c3Schristos * config/tc-cris.c (md_estimate_size_before_relax): Likewise. 2836*ed0d50c3Schristos * config/tc-h8500.c (md_estimate_size_before_relax): Likewise. 2837*ed0d50c3Schristos * config/tc-w65.c (md_estimate_size_before_relax): Likewise. 2838*ed0d50c3Schristos * config/tc-i386.c (UNCOND_JUMP, COND_JUMP, COND_JUMP86): Decrement. 2839*ed0d50c3Schristos (md_relax_table): Remove first four unused entries. Increment 2840*ed0d50c3Schristos rlx_length by one throughout table, and update comments to suit. 2841*ed0d50c3Schristos (md_estimate_size_before_relax): Return size of current variable 2842*ed0d50c3Schristos part of frag to reflect reality when relaxing more than once. 2843*ed0d50c3Schristos * config/tc-mcore.c (COND12, UNCD12): Rename to DISP12 throughout. 2844*ed0d50c3Schristos (COND32, UNCD32): Rename to DISP32 throughout. 2845*ed0d50c3Schristos (UNDEF_WORD_DISP): Renumber to 3. 2846*ed0d50c3Schristos (md_estimate_size_before_relax): Add extra do-nothing cases. 2847*ed0d50c3Schristos * config/tc-mn10200.c (md_estimate_size_before_relax): Rewrite. 2848*ed0d50c3Schristos * config/tc-mn10300.c (md_estimate_size_before_relax): Rewrite. 2849*ed0d50c3Schristos * config/tc-ns32k.c (md_estimate_size_before_relax): Add cases to 2850*ed0d50c3Schristos handle word and dword branches. 2851*ed0d50c3Schristos 2852*ed0d50c3Schristos2001-03-29 Hans-Peter Nilsson <hp@axis.com> 2853*ed0d50c3Schristos 2854*ed0d50c3Schristos * config/tc-cris.h (tc_fix_adjustable): Allow only 2855*ed0d50c3Schristos BFD_RELOC_CRIS_32_GOTREL of the PIC relocs. 2856*ed0d50c3Schristos * config/tc-cris.c (cris_get_pic_suffix): Correct reloc type in 2857*ed0d50c3Schristos example in comment to valid type. 2858*ed0d50c3Schristos 2859*ed0d50c3Schristos2001-03-28 H.J. Lu <hjl@gnu.org> 2860*ed0d50c3Schristos 2861*ed0d50c3Schristos * read.c (equals): Set to local for COFF only if it hasn't been 2862*ed0d50c3Schristos defined before. 2863*ed0d50c3Schristos 2864*ed0d50c3Schristos2001-03-28 Alan Modra <alan@linuxcare.com.au> 2865*ed0d50c3Schristos 2866*ed0d50c3Schristos * config/tc-hppa.c (DEFAULT_LEVEL): Define. 2867*ed0d50c3Schristos (md_begin): Use it when setting default architecture. 2868*ed0d50c3Schristos 2869*ed0d50c3Schristos2001-03-27 Nick Papadonis <nick@coelacanth.com> 2870*ed0d50c3Schristos 2871*ed0d50c3Schristos * read.c (equals): (for COFF) default symbols to being local. 2872*ed0d50c3Schristos 2873*ed0d50c3Schristos2001-03-27 Hans-Peter Nilsson <hp@axis.com> 2874*ed0d50c3Schristos 2875*ed0d50c3Schristos * configure.in (cris-*-*): Change default emulation to criself. 2876*ed0d50c3Schristos (cris-*-*aout*): New rule. 2877*ed0d50c3Schristos * configure: Regenerate. 2878*ed0d50c3Schristos 2879*ed0d50c3Schristos2001-03-26 Martin Schwidefsky <schwidefsky@de.ibm.com> 2880*ed0d50c3Schristos 2881*ed0d50c3Schristos * config/tc-s390.c (tc_s390_fix_adjustable): Add test for 2882*ed0d50c3Schristos BFD_RELOC_390_GOTENT. 2883*ed0d50c3Schristos * config/tc-s390.h (TC_RELOC_RTSYM_LOC_FIXUP): Add test for 2884*ed0d50c3Schristos BFD_RELOC_390_GOTENT. 2885*ed0d50c3Schristos 2886*ed0d50c3Schristos2001-03-26 Nick Clifton <nickc@redhat.com> 2887*ed0d50c3Schristos 2888*ed0d50c3Schristos * config/tc-s390.h (TC_FORCE_RELOCATION): Define. 2889*ed0d50c3Schristos * config/tc-s390.c (s390_force_relocation): New function: Force 2890*ed0d50c3Schristos relocations for VTINHERIT relocs. 2891*ed0d50c3Schristos 2892*ed0d50c3Schristos2001-03-23 Stephane Carrez <Stephane.Carrez@worldnet.fr> 2893*ed0d50c3Schristos 2894*ed0d50c3Schristos * doc/as.texinfo: Put @c man begin to generate the as man page. 2895*ed0d50c3Schristos When generating man, define all the variables. Re-organize some 2896*ed0d50c3Schristos options to obtain better indentation of man page. 2897*ed0d50c3Schristos * doc/Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable. 2898*ed0d50c3Schristos (as.1): Build from as.texinfo. 2899*ed0d50c3Schristos * doc/Makefile.in: Regenerate.Index: binutils/Makefile.am 2900*ed0d50c3Schristos 2901*ed0d50c3Schristos2001-03-25 Alan Modra <alan@linuxcare.com.au> 2902*ed0d50c3Schristos 2903*ed0d50c3Schristos * config/tc-i386.c (i386_scale): Accept an absolute expression for 2904*ed0d50c3Schristos scale factor, and return the end of the expression. 2905*ed0d50c3Schristos (i386_operand): Modify for above. 2906*ed0d50c3Schristos 2907*ed0d50c3Schristos2001-03-23 Nick Clifton <nickc@redhat.com> 2908*ed0d50c3Schristos 2909*ed0d50c3Schristos * doc/as.texinfo: Document --listing-XXX command line switches. 2910*ed0d50c3Schristos Explain why listings behave differently when -pipe is used. 2911*ed0d50c3Schristos 2912*ed0d50c3Schristos2001-03-23 Richard Sandiford <rsandifo@redhat.com> 2913*ed0d50c3Schristos 2914*ed0d50c3Schristos * write.c (fix_new_exp): Print an error if passed a register. 2915*ed0d50c3Schristos 2916*ed0d50c3Schristos2001-03-23 Hans-Peter Nilsson <hp@axis.com> 2917*ed0d50c3Schristos 2918*ed0d50c3Schristos * config/tc-cris.c: Tweak attribution. Fix typos. PIC support. 2919*ed0d50c3Schristos (PIC_SUFFIX_CHAR): New macro. 2920*ed0d50c3Schristos (cris_get_pic_suffix, cris_get_pic_reloc_size): New functions. 2921*ed0d50c3Schristos (pic): New variable. 2922*ed0d50c3Schristos (md_longopts): New option --pic. 2923*ed0d50c3Schristos (OPTION_PIC): Define. 2924*ed0d50c3Schristos (md_estimate_size_before_relax): Tweak longish comment. 2925*ed0d50c3Schristos (md_create_long_jump): Make the long jumps generate ADD.D offset,PC. 2926*ed0d50c3Schristos (md_assemble): Handle a PIC relocation on prefix and normal 2927*ed0d50c3Schristos instruction operands. 2928*ed0d50c3Schristos <output_instruction.insn_type == CRIS_INSN_BRANCH>: Handle 2929*ed0d50c3Schristos "complex" operand expressions. Call frag_more outside 2930*ed0d50c3Schristos gen_cond_branch_32 parameter list. 2931*ed0d50c3Schristos (cris_process_instruction): Handle PIC relocs on parsed 2932*ed0d50c3Schristos operand expressions. Validize PIC reloc sizes. 2933*ed0d50c3Schristos (get_autoinc_prefix_or_indir_op): Handle PIC suffix. 2934*ed0d50c3Schristos (gen_bdap): Handle "complex" operand expressions. 2935*ed0d50c3Schristos (gen_cond_branch_32): Use as_warn_where, not as_warn. Use 2936*ed0d50c3Schristos ADD.D offset,PC as jump instruction if generating PIC. Generate 2937*ed0d50c3Schristos error instead of crashing on complex expressions. 2938*ed0d50c3Schristos (cris_number_to_imm): Add segT parameter. All callers changed. 2939*ed0d50c3Schristos Use segT parameter, not now_seg, for segment of fixup. Handle 2940*ed0d50c3Schristos PCREL relocations but check that they are fully resolved. 2941*ed0d50c3Schristos (md_parse_option): Handle OPTION_PIC. 2942*ed0d50c3Schristos (tc_gen_reloc): Handle PIC relocs. 2943*ed0d50c3Schristos (md_show_usage): Update for --pic. 2944*ed0d50c3Schristos (md_apply_fix3): Renamed from md_apply_fix. 2945*ed0d50c3Schristos (md_pcrel_from): Accept emitting PCREL relocs when ELF. 2946*ed0d50c3Schristos (md_cris_force_relocation): Force relocation for PIC relocs. 2947*ed0d50c3Schristos 2948*ed0d50c3Schristos * config/tc-cris.h: Tweak attribution. 2949*ed0d50c3Schristos (MD_APPLY_FIX3): Define. 2950*ed0d50c3Schristos (IS_CRIS_PIC_RELOC): New macro. 2951*ed0d50c3Schristos (TC_RELOC_RTSYM_LOC_FIXUP): Define. 2952*ed0d50c3Schristos (tc_fix_adjustable): Don't adjust a globally visible symbol when 2953*ed0d50c3Schristos generating ELF. 2954*ed0d50c3Schristos (tc_frob_symbol): Avoid emitting undefined symbols. 2955*ed0d50c3Schristos 2956*ed0d50c3Schristos2001-03-20 Alan Modra <alan@linuxcare.com.au> 2957*ed0d50c3Schristos 2958*ed0d50c3Schristos * frags.h (struct frag): Add relax_marker. 2959*ed0d50c3Schristos * write.c (is_dnrange): Delete. 2960*ed0d50c3Schristos (relax_frag): Use correct types for `aim', `target', `address'. 2961*ed0d50c3Schristos Delete `offset', `was_address'. Test `relax_marker' instead of 2962*ed0d50c3Schristos using fragile (and slow) address test. 2963*ed0d50c3Schristos (relax_segment): Init and flip `relax_marker'. 2964*ed0d50c3Schristos 2965*ed0d50c3Schristos2001-03-19 Alan Modra <alan@linuxcare.com.au> 2966*ed0d50c3Schristos 2967*ed0d50c3Schristos * config/tc-i386.c (md_assemble <REGISTER_WARNINGS>): Correct 2968*ed0d50c3Schristos used register name. 2969*ed0d50c3Schristos 2970*ed0d50c3Schristos2001-03-18 Stephane Carrez <Stephane.Carrez@worldnet.fr> 2971*ed0d50c3Schristos 2972*ed0d50c3Schristos * config/tc-m68hc11.c (md_pseudo_table): Recognize xrefb to comply 2973*ed0d50c3Schristos with 'Motorola specification for assembly language input standard'. 2974*ed0d50c3Schristos 2975*ed0d50c3Schristos2001-03-17 Richard Henderson <rth@redhat.com> 2976*ed0d50c3Schristos 2977*ed0d50c3Schristos * dwarf2dbg.c (user_filenum, user_filenum_allocated): Remove. 2978*ed0d50c3Schristos (dwarf2_directive_loc): Don't use them. 2979*ed0d50c3Schristos (dwarf2_directive_file): Reject duplicate file definitions. 2980*ed0d50c3Schristos (get_filenum): Zero allocated memory. 2981*ed0d50c3Schristos (out_file_list): Complain about missing file definitions. 2982*ed0d50c3Schristos 2983*ed0d50c3Schristos2001-03-17 Alan Modra <alan@linuxcare.com.au> 2984*ed0d50c3Schristos 2985*ed0d50c3Schristos * read.c (do_org): Handle complex expressions. 2986*ed0d50c3Schristos * cgen.c (gas_cgen_finish_insn): Likewise. 2987*ed0d50c3Schristos 2988*ed0d50c3Schristos2001-03-15 David Mosberger <davidm@hpl.hp.com> 2989*ed0d50c3Schristos 2990*ed0d50c3Schristos * config/tc-ia64.c (md): New member keep_pending_output. 2991*ed0d50c3Schristos (ia64_flush_pending_output): Flush only if md.keep_pending_output 2992*ed0d50c3Schristos is not set. 2993*ed0d50c3Schristos (dot_xdata): Turn on md.keep_pending_output for the duration of 2994*ed0d50c3Schristos this function. 2995*ed0d50c3Schristos (dot_xfloat_cons): Ditto. 2996*ed0d50c3Schristos (dot_xstringer): Ditto. 2997*ed0d50c3Schristos (dot_xdata_ua): Ditto. 2998*ed0d50c3Schristos (dot_xfloat_cons_ua): Ditto. 2999*ed0d50c3Schristos 3000*ed0d50c3Schristos2001-03-15 Jim Wilson <wilson@redhat.com> 3001*ed0d50c3Schristos 3002*ed0d50c3Schristos * config/tc-ia64.c (ia64_unrecognized_line, case '['): Add local 3003*ed0d50c3Schristos label support. 3004*ed0d50c3Schristos 3005*ed0d50c3Schristos2001-03-15 Alexandre Oliva <aoliva@redhat.com> 3006*ed0d50c3Schristos 3007*ed0d50c3Schristos * config/tc-sh.c (parse_reg): Match capital MACH and MACL. 3008*ed0d50c3Schristos 3009*ed0d50c3Schristos2001-03-15 DJ Delorie <dj@redhat.com> 3010*ed0d50c3Schristos 3011*ed0d50c3Schristos * stabs.c (s_stab_generic): Don't corrupt the notes obstack by 3012*ed0d50c3Schristos blindly freeing string if it isn't at the top of the obstack. 3013*ed0d50c3Schristos 3014*ed0d50c3Schristos2001-03-13 Alan Modra <alan@linuxcare.com.au> 3015*ed0d50c3Schristos 3016*ed0d50c3Schristos * config/tc-i386.c (RELOC_ENUM): Define. Use throughout file. 3017*ed0d50c3Schristos (NUM_FLAG_CODE): Define. 3018*ed0d50c3Schristos (lex_got): New function. 3019*ed0d50c3Schristos (got_reloc): New global var. 3020*ed0d50c3Schristos (x86_cons_fix_new): New function. 3021*ed0d50c3Schristos (x86_cons): New function. 3022*ed0d50c3Schristos (i386_immediate): Use lex_got here, replacing inline code. Change 3023*ed0d50c3Schristos "ignoring junk.." error message to "junk.." 3024*ed0d50c3Schristos (i386_displacement): Likewise. 3025*ed0d50c3Schristos * config/tc-i386.h (TC_PARSE_CONS_EXPRESSION): Define. 3026*ed0d50c3Schristos (x86_cons): Declare. 3027*ed0d50c3Schristos (TC_CONS_FIX_NEW): Define. 3028*ed0d50c3Schristos (x86_cons_fix_new): Declare. 3029*ed0d50c3Schristos 3030*ed0d50c3Schristos2001-03-12 Nick Clifton <nickc@redhat.com> 3031*ed0d50c3Schristos 3032*ed0d50c3Schristos * config/tc-arm.c (md_begin): Always set machine type based on 3033*ed0d50c3Schristos cpu_variant. 3034*ed0d50c3Schristos 3035*ed0d50c3Schristos2001-03-07 Alan Modra <alan@linuxcare.com.au> 3036*ed0d50c3Schristos 3037*ed0d50c3Schristos * config/tc-i386.c (struct _i386_insn): Rename disp_reloc to reloc. 3038*ed0d50c3Schristos (md_assemble) <smallest displacement>: Use correct field of i.op[] 3039*ed0d50c3Schristos union. 3040*ed0d50c3Schristos <JumpInterSegment output>: Use correct i.disp_reloc[]. 3041*ed0d50c3Schristos <immediate output>: Likewise. 3042*ed0d50c3Schristos 3043*ed0d50c3Schristos2001-03-06 Nick Clifton <nickc@redhat.com> 3044*ed0d50c3Schristos 3045*ed0d50c3Schristos * config/tc-arm.c (md_apply_fix3): Clear bit zero of offset in 3046*ed0d50c3Schristos BLX(1) instruction. 3047*ed0d50c3Schristos 3048*ed0d50c3Schristos2001-03-06 Igor Shevlyakov <igor@windriver.com> 3049*ed0d50c3Schristos 3050*ed0d50c3Schristos * config/tc-m68k.c : Add 5407 to archs[] table. 3051*ed0d50c3Schristos (HAVE_LONG_BRANCH): Add mcf5407. 3052*ed0d50c3Schristos (select_control_regs): Recognize 5407. 3053*ed0d50c3Schristos 3054*ed0d50c3Schristos2001-03-02 Dave Brolley <brolley@redhat.com> 3055*ed0d50c3Schristos 3056*ed0d50c3Schristos * config/tc-m32r.c (expand_debug_syms): Call frag_align_code rather 3057*ed0d50c3Schristos than m32r_do_align. 3058*ed0d50c3Schristos 3059*ed0d50c3Schristos2001-03-02 Richard Sandiford <rsandifo@redhat.com> 3060*ed0d50c3Schristos 3061*ed0d50c3Schristos * config/atof-ieee.c (TC_LARGEST_EXPONENT_IS_NORMAL): New macro. 3062*ed0d50c3Schristos (gen_to_words): Print warnings if NaNs are found and the target CPU 3063*ed0d50c3Schristos does not support them. Allow largest exponent to be used in normal 3064*ed0d50c3Schristos numbers if TC_LARGEST_EXPONENT_IS_NORMAL evaluates to true. 3065*ed0d50c3Schristos 3066*ed0d50c3Schristos2001-02-28 Andreas Jaeger <aj@suse.de>, Bo Thorsen <bo@suse.de> 3067*ed0d50c3Schristos 3068*ed0d50c3Schristos * config/tc-i386.c (tc_gen_reloc): Remove ugly hack which is not needed 3069*ed0d50c3Schristos anymore since we use bfd_elf_generic_reloc now. 3070*ed0d50c3Schristos (md_apply_fix3): Only apply hack for partial_inplace if not using RELA. 3071*ed0d50c3Schristos 3072*ed0d50c3Schristos2001-02-27 Alan Modra <alan@linuxcare.com.au> 3073*ed0d50c3Schristos 3074*ed0d50c3Schristos * configure.in (BFD_VERSION): New. 3075*ed0d50c3Schristos (AM_INIT_AUTOMAKE): Use $BFD_VERSION. 3076*ed0d50c3Schristos * configure: Regenerate. 3077*ed0d50c3Schristos * Makefile.am: Run "make dep-am" 3078*ed0d50c3Schristos * Makefile.in: Regenerate. 3079*ed0d50c3Schristos * doc/Makefile.in: Regenerate. 3080*ed0d50c3Schristos 3081*ed0d50c3Schristos2001-02-26 Mark Elbrecht <snowball3@bigfoot.com> 3082*ed0d50c3Schristos 3083*ed0d50c3Schristos * config/obj-coff.c [BFD_ASSEMBLER] (obj_coff_section): Set 3084*ed0d50c3Schristos SEC_NEVER_LOAD when the 'n' flag is used. 3085*ed0d50c3Schristos Add SEC_NEVER_LOAD to matchflags. 3086*ed0d50c3Schristos 3087*ed0d50c3Schristos2001-02-24 Stephane Carrez <Stephane.Carrez@worldnet.fr> 3088*ed0d50c3Schristos 3089*ed0d50c3Schristos * symbols.c (decode_local_label_name): Initialize message_format 3090*ed0d50c3Schristos only when an error is reported (perf pb due to I18N). 3091*ed0d50c3Schristos 3092*ed0d50c3Schristos2001-02-23 H.J. Lu <hjl@gnu.org> 3093*ed0d50c3Schristos 3094*ed0d50c3Schristos * dwarf2dbg.c (dwarf2_directive_file): Call s_app_file (0) if 3095*ed0d50c3Schristos BFD_ASSEMBLER is not defined. 3096*ed0d50c3Schristos 3097*ed0d50c3Schristos2001-02-23 Richard Sandiford <rsandifo@redhat.com> 3098*ed0d50c3Schristos 3099*ed0d50c3Schristos * config/tc-mn10300.c (md_apply_fix3): Don't mark a fixup as 3100*ed0d50c3Schristos done if it's against a symbol. 3101*ed0d50c3Schristos 3102*ed0d50c3Schristos2001-02-22 Timothy Wall <twall@cygnus.com> 3103*ed0d50c3Schristos 3104*ed0d50c3Schristos * config/tc-ia64.c (ia64_target_format): Return ia64-aix-specific 3105*ed0d50c3Schristos target formats if applicable. 3106*ed0d50c3Schristos * config/te-ia64aix.h: New. Configuration for AIX5 on IA-64. 3107*ed0d50c3Schristos * Makefile.am (TARG_ENV_HFILES): Added config/te-ia64aix.h. 3108*ed0d50c3Schristos * Makefile.in: Regenerated. 3109*ed0d50c3Schristos * configure.in: Added configuration for ia64-*-aix*. 3110*ed0d50c3Schristos * configure: Regenerated. 3111*ed0d50c3Schristos 3112*ed0d50c3Schristos2001-02-21 David Mosberger <davidm@hpl.hp.com> 3113*ed0d50c3Schristos 3114*ed0d50c3Schristos * config/tc-ia64.c (enum operand_match_result): New type. 3115*ed0d50c3Schristos (operand_match): Change return type to operand_match_result. 3116*ed0d50c3Schristos Fix all returns appropriately, adding support for returning the 3117*ed0d50c3Schristos out-of-range result. 3118*ed0d50c3Schristos (parse_operands): New locals result, error_pos, out_of_range_pos, 3119*ed0d50c3Schristos curr_out_of_range_pos. Rewrite operand matching loop to give better 3120*ed0d50c3Schristos error messages. 3121*ed0d50c3Schristos 3122*ed0d50c3Schristos2001-02-21 David Mosberger <davidm@hpl.hp.com> 3123*ed0d50c3Schristos 3124*ed0d50c3Schristos * config/tc-ia64.c (struct unwind): Add member "prologue_count". 3125*ed0d50c3Schristos (dot_proc): Clear unwind.prologue_count to zero. 3126*ed0d50c3Schristos (dot_prologue): Increment unwind.prologue_count. 3127*ed0d50c3Schristos (dot_restore): If second operand is omitted, use 3128*ed0d50c3Schristos unwind.prologue_count -1 for "ecount" (# of additional regions to 3129*ed0d50c3Schristos pop). Decrement unwind.prologue_count by number of regions 3130*ed0d50c3Schristos popped. 3131*ed0d50c3Schristos 3132*ed0d50c3Schristos2001-02-21 Nick Clifton <nickc@redhat.com> 3133*ed0d50c3Schristos 3134*ed0d50c3Schristos * doc/as.texinfo (Section): Note that some flags to the COFF 3135*ed0d50c3Schristos version of .section remove attributes rather than setting them. 3136*ed0d50c3Schristos 3137*ed0d50c3Schristos2001-02-20 Kazu Hirata <kazu@hxi.com> 3138*ed0d50c3Schristos 3139*ed0d50c3Schristos * config/tc-pdp11.c: Fix formatting. 3140*ed0d50c3Schristos * config/tc-pdp11.h: Likewise. 3141*ed0d50c3Schristos 3142*ed0d50c3Schristos2001-02-20 Bo Thorsen <bo@suse.de> 3143*ed0d50c3Schristos 3144*ed0d50c3Schristos * config/tc-i386.c (tc_i386_fix_adjustable): Fix GOTPCREL GOT 3145*ed0d50c3Schristos entry. 3146*ed0d50c3Schristos 3147*ed0d50c3Schristos2001-02-18 David O'Brien <obrien@FreeBSD.org> 3148*ed0d50c3Schristos 3149*ed0d50c3Schristos * configure.in (cpu_type, arch): Add a generic FreeBSD specification as 3150*ed0d50c3Schristos all FreeBSD platforms should look the same at this level. 3151*ed0d50c3Schristos * configure: Rebuilt. 3152*ed0d50c3Schristos * config/tc-i386.c: Add support for old FreeBSD a.out hosts. 3153*ed0d50c3Schristos 3154*ed0d50c3Schristos2001-02-18 lars brinkhoff <lars@nocrew.org> 3155*ed0d50c3Schristos 3156*ed0d50c3Schristos * Makefile.am: Add PDP-11 target. 3157*ed0d50c3Schristos * configure.in: Likewise. 3158*ed0d50c3Schristos * config/tc-pdp11.c: New file. 3159*ed0d50c3Schristos * config/tc-pdp11.h: New file. 3160*ed0d50c3Schristos * doc/Makefile.am: Add PDP-11 documentation. 3161*ed0d50c3Schristos * doc/all.texi: Likewise. 3162*ed0d50c3Schristos * doc/as.texinfo: Likewise. 3163*ed0d50c3Schristos * doc/c-pdp11.texi: New file. 3164*ed0d50c3Schristos 3165*ed0d50c3Schristos2001-02-16 matthew green <mrg@redhat.com> 3166*ed0d50c3Schristos 3167*ed0d50c3Schristos * cgen.c (gas_cgen_md_apply_fix3): Support BFD_RELOC_64. 3168*ed0d50c3Schristos 3169*ed0d50c3Schristos2001-02-13 Jim Wilson <wilson@redhat.com> 3170*ed0d50c3Schristos 3171*ed0d50c3Schristos * config/tc-ia64.c (operand_match, case TAG13): Make a BFD_RELOC_UNUSED 3172*ed0d50c3Schristos reloc instead of a 0 reloc. 3173*ed0d50c3Schristos (md_apply_fix3): Check for BFD_RELOC_UNUSED instead of 0, and mark it 3174*ed0d50c3Schristos as done. 3175*ed0d50c3Schristos * config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): Likewise. 3176*ed0d50c3Schristos 3177*ed0d50c3Schristos2001-02-13 Ian Lance Taylor <ian@zembu.com> 3178*ed0d50c3Schristos 3179*ed0d50c3Schristos * write.c (is_dnrange): Stop as soon as the address becomes 3180*ed0d50c3Schristos larger. 3181*ed0d50c3Schristos (relax_frag): Add segment parameter. Only call symbol_get_frag 3182*ed0d50c3Schristos once. Only call is_dnrange if the symbol is in the same segment, 3183*ed0d50c3Schristos and the symbol address is larger. 3184*ed0d50c3Schristos (relax_segment): Pass segment to md_relax_frag and relax_frag. 3185*ed0d50c3Schristos * write.h (relax_frag): Update declaration. 3186*ed0d50c3Schristos * config/tc-fr30.c (fr30_relax_frag): Add segment parameter. Pass 3187*ed0d50c3Schristos it to relax_frag. 3188*ed0d50c3Schristos * config/tc-m32r.c (m32r_relax_frag): Likewise. 3189*ed0d50c3Schristos * config/tc-m32r.h (md_relax_frag): Add segment parameter. 3190*ed0d50c3Schristos (m32r_relax_frag): Update declaration. 3191*ed0d50c3Schristos * config/tc-mips.h (md_relax_frag): Add segment parameter. 3192*ed0d50c3Schristos * config/tc-tic54x.h (md_relax_frag): Likewise. 3193*ed0d50c3Schristos * doc/internals.texi (CPU backend): Update documentation for 3194*ed0d50c3Schristos md_relax_frag. 3195*ed0d50c3Schristos 3196*ed0d50c3Schristos2001-02-13 Alan Modra <alan@linuxcare.com.au> 3197*ed0d50c3Schristos 3198*ed0d50c3Schristos * doc/c-i386.texi (i386-Arch): Add "jumps"/"nojumps" blurb. 3199*ed0d50c3Schristos Mention effect of < 386 architectures on jump promotion. 3200*ed0d50c3Schristos (i386-Jumps): xref above. Don't assume long disp is 32 bits. 3201*ed0d50c3Schristos 3202*ed0d50c3Schristos * config/tc-i386.c (no_cond_jump_promotion): New. 3203*ed0d50c3Schristos (set_cpu_arch): Parse "jumps" arch modifier. 3204*ed0d50c3Schristos (insn_size): Modify usage comment. 3205*ed0d50c3Schristos (ENCODE_RELAX_STATE): Reformat and protect macro arg. 3206*ed0d50c3Schristos (SIZE_FROM_RELAX_STATE): Rename to DISP_SIZE_FROM_RELAX_STATE. 3207*ed0d50c3Schristos (TYPE_FROM_RELAX_STATE): New define. 3208*ed0d50c3Schristos (UNCOND_JUMP, COND_JUMP): Renumber. 3209*ed0d50c3Schristos (md_relax_table): Reorder to suit. 3210*ed0d50c3Schristos (COND_JUMP86): New define. 3211*ed0d50c3Schristos (md_relax_table): Handle COND_JUMP86 cases. Add a few comments. 3212*ed0d50c3Schristos (md_assemble): Create frag var for jumps of max size, encode relax 3213*ed0d50c3Schristos state for COND_JUMP86. 3214*ed0d50c3Schristos (md_estimate_size_before_relax): Handle COND_JUMP86 cases, and 3215*ed0d50c3Schristos leave conditional jumps small if no_cond_jump_promotion. 3216*ed0d50c3Schristos (md_convert_frag): Likewise. 3217*ed0d50c3Schristos 3218*ed0d50c3Schristos * expr.c (operator): Don't bump input_line_pointer for two char 3219*ed0d50c3Schristos operators. Instead return operator size via new param num_chars. 3220*ed0d50c3Schristos (expr): Use above to parse multi-char operators correctly. 3221*ed0d50c3Schristos 3222*ed0d50c3Schristos2001-02-12 Jan Hubicka <jh@suse.cz> 3223*ed0d50c3Schristos 3224*ed0d50c3Schristos * config/tc-i386.c (i386_displacement): Fix handling of 3225*ed0d50c3Schristos BFD_RELOC_X86_64_GOTPCREL. 3226*ed0d50c3Schristos (i386_validate_fix): Likewise. 3227*ed0d50c3Schristos 3228*ed0d50c3Schristos2001-02-12 Philip Blundell <pb@futuretv.com> 3229*ed0d50c3Schristos 3230*ed0d50c3Schristos * config/tc-arm.c (do_ldst): Improve warnings for unpredictable 3231*ed0d50c3Schristos ldrt/strt instructions. 3232*ed0d50c3Schristos 3233*ed0d50c3Schristos2001-02-11 Maciej W. Rozycki <macro@ds2.pg.gda.pl> 3234*ed0d50c3Schristos 3235*ed0d50c3Schristos * config/tc-mips.c (macro): For M_LA_AB emit a 3236*ed0d50c3Schristos BFD_RELOC_MIPS_CALL16 relocation or a 3237*ed0d50c3Schristos BFD_RELOC_MIPS_CALL_HI16/BFD_RELOC_MIPS_CALL_LO16 pair instead of 3238*ed0d50c3Schristos BFD_RELOC_MIPS_GOT16 and 3239*ed0d50c3Schristos BFD_RELOC_MIPS_GOT_HI16/BFD_RELOC_MIPS_GOT_LO16, respectively for 3240*ed0d50c3Schristos loading the jump register when generating SVR4_PIC code. 3241*ed0d50c3Schristos 3242*ed0d50c3Schristos2001-02-10 Chris Demetriou <cgd@broadcom.com> 3243*ed0d50c3Schristos 3244*ed0d50c3Schristos * configure.in: Make 'mipself' and 'mipsecoff' emulations 3245*ed0d50c3Schristos map to MIPS-specific files, as they used to do before the 3246*ed0d50c3Schristos change on 2000-05-21. 3247*ed0d50c3Schristos * configure: Regerate. 3248*ed0d50c3Schristos 3249*ed0d50c3Schristos2001-02-10 Chris Demetriou <cgd@broadcom.com> 3250*ed0d50c3Schristos 3251*ed0d50c3Schristos * config/tc-mips.c (md_parse_option): Don't try to compile 3252*ed0d50c3Schristos ELF-only option code if not ELF. 3253*ed0d50c3Schristos 3254*ed0d50c3Schristos2001-02-08 David Mosberger <davidm@hpl.hp.com> 3255*ed0d50c3Schristos 3256*ed0d50c3Schristos * config/tc-ia64.h (md_elf_section_type): New macro. 3257*ed0d50c3Schristos (ELF_TC_SPECIAL_SECTIONS): Drop .IA_64.unwind and .IA_64.unwind_info 3258*ed0d50c3Schristos (they're now handled via ia64_elf_section_type. 3259*ed0d50c3Schristos 3260*ed0d50c3Schristos * config/tc-ia64.c (unwind): New members saved_text_seg, 3261*ed0d50c3Schristos saved_text_subseg, and force_unwind_entry. 3262*ed0d50c3Schristos (optimize_unw_records): New function to optimize away unnecessary 3263*ed0d50c3Schristos unwind directives. 3264*ed0d50c3Schristos (ia64_elf_section_type): New function. 3265*ed0d50c3Schristos (output_unw_records): Generate unwind info only if the size is 3266*ed0d50c3Schristos non-zero or if it's forced for some other reason (e.g., 3267*ed0d50c3Schristos handlerdata or a personality routine). 3268*ed0d50c3Schristos (generate_unwind_image): Don't switch back to previous 3269*ed0d50c3Schristos section---stay inside the unwind info section instead so that 3270*ed0d50c3Schristos handlerdata that may follow goes into the right place. 3271*ed0d50c3Schristos (dot_handlerdata): Force generation of unwind entry and save the 3272*ed0d50c3Schristos current active text segment before generating unwind image. 3273*ed0d50c3Schristos (dot_unwentry): Force generation of unwind entry. 3274*ed0d50c3Schristos (dot_personality): Ditto. 3275*ed0d50c3Schristos (dot_endp): Generate unwind table entry only if there is 3276*ed0d50c3Schristos some unwind info or the unwind entry was forced. 3277*ed0d50c3Schristos 3278*ed0d50c3Schristos * config/tc-ia64.c (make_unw_section_name): New macro to form 3279*ed0d50c3Schristos unwind section name. 3280*ed0d50c3Schristos (generate_unwind_image): Add "text_name" argument. Use it to 3281*ed0d50c3Schristos form unwind section name. 3282*ed0d50c3Schristos (dot_handlerdata): Determine current segment (section) name and 3283*ed0d50c3Schristos pass it to generate_unwind_image(). 3284*ed0d50c3Schristos (dot_endp): Determine current segment (section) name and use 3285*ed0d50c3Schristos it to determine the appropriate unwind section name. 3286*ed0d50c3Schristos (ia64_md_do_align): Add missing ATTRIBUTE_UNUSED declarations to 3287*ed0d50c3Schristos n, fill, and max arguments. 3288*ed0d50c3Schristos 3289*ed0d50c3Schristos2001-02-09 Schwidefsky <schwidefsky@de.ibm.com> 3290*ed0d50c3Schristos 3291*ed0d50c3Schristos * Makefile.am: Add linux target for S/390. 3292*ed0d50c3Schristos * configure.in: Likewise. 3293*ed0d50c3Schristos * config/tc-s390.c: New file. 3294*ed0d50c3Schristos * config/tc-s390.h: New file. 3295*ed0d50c3Schristos 3296*ed0d50c3Schristos2001-02-09 Alexandre Oliva <aoliva@redhat.com> 3297*ed0d50c3Schristos 3298*ed0d50c3Schristos * config/tc-sh.c (md_pseudo_table): Add uaquad. Use s_uacons for 3299*ed0d50c3Schristos 2byte, 4byte and 8byte. 3300*ed0d50c3Schristos 3301*ed0d50c3Schristos2001-02-08 Alan Modra <alan@linuxcare.com.au> 3302*ed0d50c3Schristos 3303*ed0d50c3Schristos * config/tc-hppa.c (pa_build_unwind_subspace): Don't call 3304*ed0d50c3Schristos md_number_to_chars with size > sizeof (valueT). 3305*ed0d50c3Schristos 3306*ed0d50c3Schristos2001-02-06 H.J. Lu <hjl@gnu.org> 3307*ed0d50c3Schristos 3308*ed0d50c3Schristos * config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): Do fixup if 3309*ed0d50c3Schristos there is no relocation. 3310*ed0d50c3Schristos 3311*ed0d50c3Schristos2001-02-06 H.J. Lu <hjl@gnu.org> 3312*ed0d50c3Schristos 3313*ed0d50c3Schristos * config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): New. Defined. 3314*ed0d50c3Schristos 3315*ed0d50c3Schristos * config/tc-ia64.c (md_parse_option): Only accept the valid 3316*ed0d50c3Schristos ia64 options on "-axxx". 3317*ed0d50c3Schristos 3318*ed0d50c3Schristos2001-02-05 Jim Wilson <wilson@redhat.com> 3319*ed0d50c3Schristos 3320*ed0d50c3Schristos * config/tc-ia64.c (errata_nop_necessary_p): Return 0 instead of 3321*ed0d50c3Schristos aborting for invalid operands. 3322*ed0d50c3Schristos 3323*ed0d50c3Schristos2001-02-06 Alan Modra <alan@linuxcare.com.au> 3324*ed0d50c3Schristos 3325*ed0d50c3Schristos * config/tc-hppa.c (fix_new_hppa): Pass in unwind directly rather 3326*ed0d50c3Schristos than via pointer. Update all callers. 3327*ed0d50c3Schristos (UNWIND_LOW32): Define. 3328*ed0d50c3Schristos (UNWIND_HIGH32): Define. 3329*ed0d50c3Schristos (pa_build_unwind_subspace): Use the above macros instead of dumping 3330*ed0d50c3Schristos bitfields directly. Call frag_more once rather than multiple times. 3331*ed0d50c3Schristos (md_assemble): Use UNWIND_LOW32. 3332*ed0d50c3Schristos (pa_entry): Likewise 3333*ed0d50c3Schristos (pa_procend): Likewise. 3334*ed0d50c3Schristos (process_exit): Use UNWIND_HIGH32. 3335*ed0d50c3Schristos 3336*ed0d50c3Schristos2001-02-04 Stephane Carrez <Stephane.Carrez@worldnet.fr> 3337*ed0d50c3Schristos 3338*ed0d50c3Schristos * config/tc-m68hc11.h (LISTING_HEADER): Use m68hc11_listing_header 3339*ed0d50c3Schristos function to select the header according to the cpu. 3340*ed0d50c3Schristos (md_after_pass_hook, md_do_align): Remove. 3341*ed0d50c3Schristos (md_cleanup, m68hc11_cleanup): Remove. 3342*ed0d50c3Schristos (md_pcrel_from_section): Declare. 3343*ed0d50c3Schristos * config/tc-m68hc11.c (build_dbranch_insn): Remove insn_size. 3344*ed0d50c3Schristos (build_jump_insn, build_insn): Likewise. 3345*ed0d50c3Schristos (m68hc11_listing_header): New function. 3346*ed0d50c3Schristos (m68hc11_cleanup): Remove. 3347*ed0d50c3Schristos 3348*ed0d50c3Schristos2001-02-02 Stephane Carrez <Stephane.Carrez@worldnet.fr> 3349*ed0d50c3Schristos 3350*ed0d50c3Schristos * config/tc-m68hc11.c (relaxable_symbol): Relax externally visible 3351*ed0d50c3Schristos symbols because there is no support for shared libraries and these 3352*ed0d50c3Schristos symbols can't be overridden (unless they are weak). 3353*ed0d50c3Schristos 3354*ed0d50c3Schristos2001-02-01 Momchil Velikov <velco@fadata.bg> 3355*ed0d50c3Schristos 3356*ed0d50c3Schristos * dwarf2dbg.c (out_debug_abbrev): Terminate the abbreviations 3357*ed0d50c3Schristos for the compilation unit with a zero byte. 3358*ed0d50c3Schristos 3359*ed0d50c3Schristos2001-01-30 Alan Modra <alan@linuxcare.com.au> 3360*ed0d50c3Schristos 3361*ed0d50c3Schristos * config/tc-hppa.c (pa_ip): Support 12 bit branches to absolute 3362*ed0d50c3Schristos destinations. Correct range check for 17 and 22 bit branches. 3363*ed0d50c3Schristos 3364*ed0d50c3Schristos2001-01-25 Nick Clifton <nickc@redhat.com> 3365*ed0d50c3Schristos 3366*ed0d50c3Schristos * config/tc-m68k.c (tc_gen_reloc): Do not abort if tcbit is 3367*ed0d50c3Schristos still set. Issue an error message instead. 3368*ed0d50c3Schristos (md_estimate_size_before_relax): Delete unused variable 3369*ed0d50c3Schristos 'buffer_address'. Fixup parentheses around if statement. 3370*ed0d50c3Schristos 3371*ed0d50c3Schristos2001-01-23 Kazu Hirata <kazu@hxi.com> 3372*ed0d50c3Schristos 3373*ed0d50c3Schristos * as.c: Fix formatting. 3374*ed0d50c3Schristos * ehopt.c: Likewise. 3375*ed0d50c3Schristos * messages.c: Likewise. 3376*ed0d50c3Schristos * stabs.c: Likewise. 3377*ed0d50c3Schristos * symbols.c: Likewise. 3378*ed0d50c3Schristos 3379*ed0d50c3Schristos2001-01-23 Ben Elliston <bje@redhat.com> 3380*ed0d50c3Schristos 3381*ed0d50c3Schristos * config/tc-m32r.c (m32r_handle_align): Declare type of fragp. 3382*ed0d50c3Schristos 3383*ed0d50c3Schristos2001-01-22 Kazu Hirata <kazu@hxi.com> 3384*ed0d50c3Schristos 3385*ed0d50c3Schristos * config/tc-alpha.c: Fix formatting. 3386*ed0d50c3Schristos 3387*ed0d50c3Schristos2001-01-19 Kazu Hirata <kazu@hxi.com> 3388*ed0d50c3Schristos 3389*ed0d50c3Schristos * config/tc-alpha.c: Fix formatting. 3390*ed0d50c3Schristos 3391*ed0d50c3Schristos2001-01-18 Kazu Hirata <kazu@hxi.com> 3392*ed0d50c3Schristos 3393*ed0d50c3Schristos * config/tc-alpha.c: Fix formatting. 3394*ed0d50c3Schristos 3395*ed0d50c3Schristos2001-01-18 Nick Clifton <nickc@redhat.com> 3396*ed0d50c3Schristos 3397*ed0d50c3Schristos * config/tc-arm.c (ldm_flags): Remove redundant bit from "fa" and 3398*ed0d50c3Schristos "da" flags. 3399*ed0d50c3Schristos (stm_flags): Remove redundant bit from "ed" and "da" flags. 3400*ed0d50c3Schristos 3401*ed0d50c3Schristos2001-01-18 Alexandre Oliva <aoliva@redhat.com> 3402*ed0d50c3Schristos 3403*ed0d50c3Schristos * configure.in (cpu_type, arch): Match i386 too. 3404*ed0d50c3Schristos * configure: Rebuilt. 3405*ed0d50c3Schristos 3406*ed0d50c3Schristos2001-01-16 Kazu Hirata <kazu@hxi.com> 3407*ed0d50c3Schristos 3408*ed0d50c3Schristos * config/tc-i386.c: Fix formatting. 3409*ed0d50c3Schristos 3410*ed0d50c3Schristos2001-01-16 Alan Modra <alan@linuxcare.com.au> 3411*ed0d50c3Schristos 3412*ed0d50c3Schristos * config/tc-hppa.c (tc_gen_reloc): Use SEGREL32 instead of DIR32 3413*ed0d50c3Schristos relocs for .PARISC.unwind section. 3414*ed0d50c3Schristos 3415*ed0d50c3Schristos * config/tc-hppa.c (pa_build_unwind_subspace): Build unwind 3416*ed0d50c3Schristos depending on section flags, not just for .text. 3417*ed0d50c3Schristos 3418*ed0d50c3Schristos2001-01-15 Jim Wilson <wilson@redhat.com> 3419*ed0d50c3Schristos 3420*ed0d50c3Schristos * config/tc-ia64.c (ia64_flush_insns): Handle unwind directives 3421*ed0d50c3Schristos not immediately followed by an instruction. 3422*ed0d50c3Schristos 3423*ed0d50c3Schristos2001-01-15 Kazu Hirata <kazu@hxi.com> 3424*ed0d50c3Schristos 3425*ed0d50c3Schristos * config/tc-m68hc11.c: Fix formatting. 3426*ed0d50c3Schristos 3427*ed0d50c3Schristos2001-01-15 Nick Clifton <nickc@redhat.com> 3428*ed0d50c3Schristos 3429*ed0d50c3Schristos * symbols.c (colon): Change 'already defined symbol' from a 3430*ed0d50c3Schristos fatal error to an ordinary error. There is no reason why this 3431*ed0d50c3Schristos error should be fatal. 3432*ed0d50c3Schristos 3433*ed0d50c3Schristos * message.c (as_fatal): Delete output file, if one has been 3434*ed0d50c3Schristos created. 3435*ed0d50c3Schristos 3436*ed0d50c3Schristos2001-01-14 Alan Modra <alan@linuxcare.com.au> 3437*ed0d50c3Schristos 3438*ed0d50c3Schristos * config/tc-hppa.h (TARGET_FORMAT): Add hppa-linux variants. 3439*ed0d50c3Schristos 3440*ed0d50c3Schristos2001-01-14 Kazu Hirata <kazu@hxi.com> 3441*ed0d50c3Schristos 3442*ed0d50c3Schristos * config/tc-alpha.c: Fix formatting. 3443*ed0d50c3Schristos * config/tc-arc.c: Likewise. 3444*ed0d50c3Schristos * config/tc-arc.h: Likewise. 3445*ed0d50c3Schristos * config/tc-d10v.c: Likewise. 3446*ed0d50c3Schristos * config/tc-i370.c: Likewise. 3447*ed0d50c3Schristos * config/tc-i386.c: Likewise. 3448*ed0d50c3Schristos * config/tc-i960.c: Likewise. 3449*ed0d50c3Schristos * config/tc-m68k.c: Likewise. 3450*ed0d50c3Schristos * config/tc-ppc.c: Likewise. 3451*ed0d50c3Schristos * config/tc-sparc.c: Likewise. 3452*ed0d50c3Schristos * config/tc-tahoe.c: Likewise. 3453*ed0d50c3Schristos * config/tc-vax.c: Likewise. 3454*ed0d50c3Schristos 3455*ed0d50c3Schristos * config/tc-arc.c: Fix formatting. 3456*ed0d50c3Schristos 3457*ed0d50c3Schristos * config/tc-arc.c: Fix formatting. 3458*ed0d50c3Schristos 3459*ed0d50c3Schristos2001-01-14 Alan Modra <alan@linuxcare.com.au> 3460*ed0d50c3Schristos 3461*ed0d50c3Schristos * config/tc-hppa.c (pa_build_unwind_subspace): Use SEGREL32 for 3462*ed0d50c3Schristos both 32 and 64 bit ELF. 3463*ed0d50c3Schristos 3464*ed0d50c3Schristos * config/tc-hppa.c (pa_ip): Store `a' flag in bit zero of operand 3465*ed0d50c3Schristos and don't bother storing `m' for "ce" completer. Tidy handling of 3466*ed0d50c3Schristos 'J' and 'K' operands to suit. Handle '<' and '>' operands. 3467*ed0d50c3Schristos 3468*ed0d50c3Schristos2001-01-14 Jan Hubicka <jh@suse.cz> 3469*ed0d50c3Schristos 3470*ed0d50c3Schristos * config/tc-i386.h (TARGET_MACH): New macro. 3471*ed0d50c3Schristos (i386_mach): Declare. 3472*ed0d50c3Schristos * config/tc-i386.c (i386_mach): New function. 3473*ed0d50c3Schristos 3474*ed0d50c3Schristos2001-01-13 Philip Blundell <philb@gnu.org> 3475*ed0d50c3Schristos 3476*ed0d50c3Schristos * doc/as.texinfo: Fix spelling and cross-references. 3477*ed0d50c3Schristos 3478*ed0d50c3Schristos * doc/c-arm.texi: Fix typos. Say that `;' is a line separator 3479*ed0d50c3Schristos character for all systems, not just GNU/Linux. Make it explicit 3480*ed0d50c3Schristos that `-k' doesn't affect code generation, just ELF flags. 3481*ed0d50c3Schristos 3482*ed0d50c3Schristos2001-01-13 Jan Hubicka <jh@suse.cz> 3483*ed0d50c3Schristos 3484*ed0d50c3Schristos * config/tc-i386.c (md_assemble): Check cpu_flags even for nullary 3485*ed0d50c3Schristos instructions. 3486*ed0d50c3Schristos 3487*ed0d50c3Schristos2001-01-12 Frank Ch. Eigler <fche@redhat.com> 3488*ed0d50c3Schristos 3489*ed0d50c3Schristos * cgen.c (gas_cgen_finish_insn): Call dwarf2_emit_insn. 3490*ed0d50c3Schristos 3491*ed0d50c3Schristos2001-01-12 Nick Clifton <nickc@redhat.com> 3492*ed0d50c3Schristos 3493*ed0d50c3Schristos * as.c (print_args): Update copyright date to 2001. 3494*ed0d50c3Schristos 3495*ed0d50c3Schristos2001-01-12 Peter Targett <peter.targett@arccores.com> 3496*ed0d50c3Schristos 3497*ed0d50c3Schristos * doc/c-arc.texi: New file. 3498*ed0d50c3Schristos Some sections to be expanded. 3499*ed0d50c3Schristos 3500*ed0d50c3Schristos2001-01-12 Alan Modra <alan@linuxcare.com.au> 3501*ed0d50c3Schristos 3502*ed0d50c3Schristos * config/tc-i386.c (md_longopts): Recognize "--64" only for ELF. 3503*ed0d50c3Schristos (md_parse_option): Always accept "--32". 3504*ed0d50c3Schristos 3505*ed0d50c3Schristos2001-01-11 Peter Targett <peter.targett@arccores.com> 3506*ed0d50c3Schristos 3507*ed0d50c3Schristos * as.h (TC_ARC): Ensure struc-symbol.h included. 3508*ed0d50c3Schristos * as.c (dwarf2dbg.h): Include to remove implicit declaration 3509*ed0d50c3Schristos warnings. 3510*ed0d50c3Schristos * struc-symbol.h (SYMBOLS_NEED_BACKPOINTERS): Define. 3511*ed0d50c3Schristos (TARGET_SYMBOL_FIELDS) added. 3512*ed0d50c3Schristos 3513*ed0d50c3Schristos * doc/Makefile.am (CPU_DOCS): Added c-arc.texi. 3514*ed0d50c3Schristos * doc/c-arc.texi: New file. 3515*ed0d50c3Schristos Some sections to be expanded. 3516*ed0d50c3Schristos * doc/as.texinfo: Update command-line options. 3517*ed0d50c3Schristos Removed outdated text for ARC dependant features, instead include 3518*ed0d50c3Schristos text from above file. 3519*ed0d50c3Schristos 3520*ed0d50c3Schristos * config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS): Define local flag. 3521*ed0d50c3Schristos (TARGET_SYMBOL_FIELDS): Alias to previous definition. 3522*ed0d50c3Schristos (targ-cpu.h) header. 3523*ed0d50c3Schristos * config/tc-arc.h: 3524*ed0d50c3Schristos * config/tc-arc.c: New updated configuration for 3525*ed0d50c3Schristos ARC, including selection of core variants, and extensibility of 3526*ed0d50c3Schristos instructions, registers etc. through directives. 3527*ed0d50c3Schristos 3528*ed0d50c3Schristos * config/tc-arc.c (arc_extinst): Minor corrections for 3529*ed0d50c3Schristos error messages. 3530*ed0d50c3Schristos (arc_common) Likewise. Make alignment argument optional for local 3531*ed0d50c3Schristos symbols also, with default of zero. 3532*ed0d50c3Schristos 3533*ed0d50c3Schristos2001-01-11 Stephane Carrez <Stephane.Carrez@worldnet.fr> 3534*ed0d50c3Schristos 3535*ed0d50c3Schristos * config/tc-m68hc11.c (md_estimate_size_before_relax): Fix 3536*ed0d50c3Schristos STATE_INDEXED_OFFSET when the symbol is undefined (16-bit offset). 3537*ed0d50c3Schristos (build_indexed_byte): Don't relax indexed byte, use 16-bit offset 3538*ed0d50c3Schristos and fix_new_exp() instead. 3539*ed0d50c3Schristos (md_convert_frag): For indexed post byte use the symbol value 3540*ed0d50c3Schristos rather than the displacement. 3541*ed0d50c3Schristos (md_relax_table): Fix indexed offset relax. 3542*ed0d50c3Schristos 3543*ed0d50c3Schristos2001-01-11 Stephane Carrez <Stephane.Carrez@worldnet.fr> 3544*ed0d50c3Schristos 3545*ed0d50c3Schristos * config/tc-m68hc11.c (md_estimate_size_before_relax):Don't 3546*ed0d50c3Schristos relax weak symbols. 3547*ed0d50c3Schristos (relaxable_symbol): New function. 3548*ed0d50c3Schristos 3549*ed0d50c3Schristos2001-01-11 Andreas Jaeger <aj@suse.de> 3550*ed0d50c3Schristos 3551*ed0d50c3Schristos * config/tc-i386.h (TC_RELOC_GLOBAL_OFFSET_TABLE): Removed, it's 3552*ed0d50c3Schristos not used anywhere. 3553*ed0d50c3Schristos 3554*ed0d50c3Schristos2001-01-10 Nick Clifton <nickc@redhat.com> 3555*ed0d50c3Schristos 3556*ed0d50c3Schristos * config/tc-arm.c (arm_fix_adjustable): Define for OBJ_COFF. 3557*ed0d50c3Schristos * config/tc-arm.h (obj_fix_adjustable): Define for OBJ_COFF 3558*ed0d50c3Schristos 3559*ed0d50c3Schristos2001-01-10 Nick Clifton <nickc@redhat.com> 3560*ed0d50c3Schristos 3561*ed0d50c3Schristos * symbols.c (DOLLAR_LABEL_CHAR): New constant - the magic 3562*ed0d50c3Schristos character used to dollar local symbols. 3563*ed0d50c3Schristos (LOCAL_LABEL_CHAR): New constant - the magic character used to 3564*ed0d50c3Schristos local label symbols. 3565*ed0d50c3Schristos (dollar_label_name): Use DOLLAR_LABEL_CHAR. 3566*ed0d50c3Schristos (fb_label_name): Prefix local labels with LOCAL_LABEL_PREFIX, 3567*ed0d50c3Schristos if defined. 3568*ed0d50c3Schristos Use LOCAL_LABEL_CHAR. 3569*ed0d50c3Schristos (decode_local_label_name): Skip LOCAL_LABEL_PREFIX. 3570*ed0d50c3Schristos Use DOLLAR_LABEL_CHAR and LOCAL_LABEL_CHAR. 3571*ed0d50c3Schristos (S_IS_LOCAL): Use DOLLAR_LABEL_CHAR and LOCAL_LABEL_CHAR. 3572*ed0d50c3Schristos 3573*ed0d50c3Schristos2001-01-08 Bo Thorsen <bo@suse.de> 3574*ed0d50c3Schristos 3575*ed0d50c3Schristos * config/tc-i386.c (i386_immediate, i386_displacement): 3576*ed0d50c3Schristos GOTPCREL check fix. 3577*ed0d50c3Schristos 3578*ed0d50c3Schristos2001-01-07 Ian Lance Taylor <ian@zembu.com> 3579*ed0d50c3Schristos 3580*ed0d50c3Schristos * doc/c-i386.texi (i386-Arch): Remove spaces incorrectly inserted 3581*ed0d50c3Schristos in last change. 3582*ed0d50c3Schristos 3583*ed0d50c3Schristos2001-01-07 Philip Blundell <philb@gnu.org> 3584*ed0d50c3Schristos 3585*ed0d50c3Schristos * doc/as.texinfo (Bug Reporting): Update email address for 3586*ed0d50c3Schristos reports. 3587*ed0d50c3Schristos * README: Likewise. 3588*ed0d50c3Schristos 3589*ed0d50c3Schristos2001-01-06 Jan Hubicka <jh@suse.cz> 3590*ed0d50c3Schristos 3591*ed0d50c3Schristos * configure.in: Define DEFAULT_ARCH for i386. 3592*ed0d50c3Schristos * config/tc-i386.c (md_assemble): Return after the error message; 3593*ed0d50c3Schristos move testing for 64bit operands to proper place. 3594*ed0d50c3Schristos 3595*ed0d50c3Schristos2001-01-06 Jan Hubicka <jh@suse.cz>, Andreas Jaeger <aj@suse.de> 3596*ed0d50c3Schristos 3597*ed0d50c3Schristos * doc/as.texinfo: Document '#' as comment character for i386 and 3598*ed0d50c3Schristos x86_64. Add AMD x86-64 into menu of machine dependent information. 3599*ed0d50c3Schristos 3600*ed0d50c3Schristos * doc/c-i386.texi: Document x86_64 extensions. 3601*ed0d50c3Schristos 3602*ed0d50c3Schristos2001-01-05 Jan Hubicka <jh@suse.cz> 3603*ed0d50c3Schristos 3604*ed0d50c3Schristos * config/tc-i386.c (md_assemble): Handle third byte of the opcode as prefix. 3605*ed0d50c3Schristos 3606*ed0d50c3Schristos2001-01-04 Jan Hubicka <jh@suse.cz> 3607*ed0d50c3Schristos 3608*ed0d50c3Schristos * config/tc-i386.c (cpu_arch): Add Pentium4 and modify sledgehammer entry. 3609*ed0d50c3Schristos * NEWS: Add note about Pentium4 support. 3610*ed0d50c3Schristos 3611*ed0d50c3Schristos2001-01-04 Jan Hubicka <jh@suse.cz> 3612*ed0d50c3Schristos 3613*ed0d50c3Schristos * config/tc-i387.c (pi, pte, pt): Update. 3614*ed0d50c3Schristos (type_names): Add new types. 3615*ed0d50c3Schristos 3616*ed0d50c3Schristos2001-01-03 Jan Hubicka <jh@suse.cz> 3617*ed0d50c3Schristos 3618*ed0d50c3Schristos * config/tc-i386.h (CpuK6, CpuAthlon, CpuSledgehammer, CpuMMX, Cpu3dnow, 3619*ed0d50c3Schristos CpuUnknown): Renumber 3620*ed0d50c3Schristos (CpuP4, CpuSSE2): New. 3621*ed0d50c3Schristos (CpuUnknownFlags): Add CpuP4 and CpuSSE2 3622*ed0d50c3Schristos 3623*ed0d50c3Schristos2001-01-03 Philip Blundell <pb@futuretv.com> 3624*ed0d50c3Schristos 3625*ed0d50c3Schristos * config/tc-alpha.c (alpha_force_relocation): Handle vtable 3626*ed0d50c3Schristos relocs. 3627*ed0d50c3Schristos (alpha_fix_adjustable): Likewise. 3628*ed0d50c3Schristos (md_apply_fix): Likewise. 3629*ed0d50c3Schristos 3630*ed0d50c3Schristos2000-12-31 H.J. Lu <hjl@gnu.org> 3631*ed0d50c3Schristos 3632*ed0d50c3Schristos * listing.c (listing_message): Allocate string only if it is 3633*ed0d50c3Schristos used. 3634*ed0d50c3Schristos 3635*ed0d50c3Schristos * configure: Rebuild. 3636*ed0d50c3Schristos 3637*ed0d50c3Schristos2000-12-31 Hans-Peter Nilsson <hp@bitrange.com> 3638*ed0d50c3Schristos 3639*ed0d50c3Schristos * doc/internals.texi (Relaxing with a table) <after relaxation>: 3640*ed0d50c3Schristos Point out caveats with generating fixups for the opcode in a frag. 3641*ed0d50c3Schristos 3642*ed0d50c3Schristos2000-12-30 Jan Hubicka <jh@suse.cz> 3643*ed0d50c3Schristos 3644*ed0d50c3Schristos * configure.in: Add support for x86_64 and x86_64-*-linux-gnu* 3645*ed0d50c3Schristos * NEWS: Add x86_64. 3646*ed0d50c3Schristos 3647*ed0d50c3Schristos2000-12-29 H.J. Lu <hjl@gnu.org> 3648*ed0d50c3Schristos 3649*ed0d50c3Schristos * listing.c (calc_hex): Print the variable part only if the 3650*ed0d50c3Schristos fragment type is rs_fill. 3651*ed0d50c3Schristos 3652*ed0d50c3Schristos2000-12-29 Hans-Peter Nilsson <hp@bitrange.com> 3653*ed0d50c3Schristos 3654*ed0d50c3Schristos * doc/internals.texi (tc_conditional_pseudoop, 3655*ed0d50c3Schristos TC_LINKRELAX_FIXUP): Fix typos. 3656*ed0d50c3Schristos 3657*ed0d50c3Schristos2000-12-28 Richard Henderson <rth@redhat.com> 3658*ed0d50c3Schristos 3659*ed0d50c3Schristos * write.c (subsegs_finish): Fix thinko last change -- don't 3660*ed0d50c3Schristos "optimize" the alignment == 0 case. 3661*ed0d50c3Schristos 3662*ed0d50c3Schristos2000-12-28 Richard Henderson <rth@redhat.com> 3663*ed0d50c3Schristos 3664*ed0d50c3Schristos * as.h (rs_align_test): New. 3665*ed0d50c3Schristos * frags.c (NOP_OPCODE): Move default from read.c. 3666*ed0d50c3Schristos (MAX_MEM_FOR_RS_ALIGN_CODE): New default. 3667*ed0d50c3Schristos (frag_align_code): New. 3668*ed0d50c3Schristos * frags.h (frag_align_code): Declare. 3669*ed0d50c3Schristos * read.c (NOP_OPCODE): Remove. 3670*ed0d50c3Schristos (do_align): Use frag_align_code. 3671*ed0d50c3Schristos * write.c (NOP_OPCODE): Remove. 3672*ed0d50c3Schristos (get_recorded_alignment): New. 3673*ed0d50c3Schristos (cvt_frag_to_fill): Handle rs_align_test. 3674*ed0d50c3Schristos (relax_segment): Likewise. 3675*ed0d50c3Schristos (subsegs_finish): Align last subseg in section to the 3676*ed0d50c3Schristos section alignment. Use frag_align_code. 3677*ed0d50c3Schristos * write.h (get_recorded_alignment): Declare. 3678*ed0d50c3Schristos * config/obj-coff.c (size_section): Handle rs_align_test. 3679*ed0d50c3Schristos (fill_section, fixup_mdeps): Likewise. 3680*ed0d50c3Schristos (write_object_file): Use frag_align_code. 3681*ed0d50c3Schristos 3682*ed0d50c3Schristos * config/tc-alpha.c (alpha_align): Use frag_align_code. 3683*ed0d50c3Schristos (alpha_handle_align): New. 3684*ed0d50c3Schristos * config/tc-alpha.h (HANDLE_ALIGN): New. 3685*ed0d50c3Schristos (MAX_MEM_FOR_RS_ALIGN_CODE): New. 3686*ed0d50c3Schristos 3687*ed0d50c3Schristos * config/tc-i386.h (md_do_align): Use frag_align_code. 3688*ed0d50c3Schristos (MAX_MEM_FOR_RS_ALIGN_CODE): New. 3689*ed0d50c3Schristos 3690*ed0d50c3Schristos * config/tc-ia64.c (ia64_md_do_align): Don't do code alignment. 3691*ed0d50c3Schristos (ia64_handle_align): New. 3692*ed0d50c3Schristos * config/tc-ia64.h (HANDLE_ALIGN): New. 3693*ed0d50c3Schristos (MAX_MEM_FOR_RS_ALIGN_CODE): New. 3694*ed0d50c3Schristos 3695*ed0d50c3Schristos * config/tc-m32r.c (m32r_do_align): Remove. 3696*ed0d50c3Schristos (m32r_handle_align): New. 3697*ed0d50c3Schristos (fill_insn): Use frag_align_code. 3698*ed0d50c3Schristos * config/tc-m32r.h (md_do_align): Remove. 3699*ed0d50c3Schristos (HANDLE_ALIGN, MAX_MEM_FOR_RS_ALIGN_CODE): New. 3700*ed0d50c3Schristos * config/tc-m88k.c, config/tc-m88k.h: Similarly. 3701*ed0d50c3Schristos * config/tc-mips.c, config/tc-mips.h: Similarly. 3702*ed0d50c3Schristos 3703*ed0d50c3Schristos * config/tc-sh.c (sh_cons_align): Use rs_align_test. 3704*ed0d50c3Schristos (sh_handle_align): Likewise. Handle rs_align_code. 3705*ed0d50c3Schristos (sh_do_align): Remove. 3706*ed0d50c3Schristos * config/tc-sh.h (md_do_align): Remove. 3707*ed0d50c3Schristos (MAX_MEM_FOR_RS_ALIGN_CODE): New. 3708*ed0d50c3Schristos 3709*ed0d50c3Schristos * config/tc-sparc.c (sparc_cons_align): Use rs_align_test. 3710*ed0d50c3Schristos (sparc_handle_align): Likewise. Handle rs_align_code. 3711*ed0d50c3Schristos * config/tc-sparc.h (md_do_align): Remove. 3712*ed0d50c3Schristos (MAX_MEM_FOR_RS_ALIGN_CODE): New. 3713*ed0d50c3Schristos 3714*ed0d50c3Schristos2000-12-22 DJ Delorie <dj@redhat.com> 3715*ed0d50c3Schristos 3716*ed0d50c3Schristos * config/tc-d10v.c (md_assemble): set prev_seg and prev_subseg 3717*ed0d50c3Schristos when we assemble the first half of a pair. 3718*ed0d50c3Schristos 3719*ed0d50c3Schristos2000-12-22 H.J. Lu <hjl@gnu.org> 3720*ed0d50c3Schristos 3721*ed0d50c3Schristos * config/tc-i386.c (reloc): Update the macro for non-bfd 3722*ed0d50c3Schristos assembler. 3723*ed0d50c3Schristos (BFD_RELOC_X86_64_GOTPCREL): Set to 0 for non-bfd assembler. 3724*ed0d50c3Schristos 3725*ed0d50c3Schristos2000-12-22 H.J. Lu <hjl@gnu.org> 3726*ed0d50c3Schristos 3727*ed0d50c3Schristos * dwarf2dbg.c (dwarf2_finish): Remove #if BFD_ASSEMBLER. 3728*ed0d50c3Schristos 3729*ed0d50c3Schristos2000-12-20 Jan Hubicka <jh@suse.cz> 3730*ed0d50c3Schristos 3731*ed0d50c3Schristos * config/tc-i386.h (i386_target_format): Define even for ELFs. 3732*ed0d50c3Schristos (QWORD_MNEM_SUFFIX): New macro. 3733*ed0d50c3Schristos (CpuK6,CpuAthlon,CpuSledgehammer, Cpu64, CpuNo64, CpuUnknownFlags): 3734*ed0d50c3Schristos New macros 3735*ed0d50c3Schristos (CpuMMX,CpuSSE,Cpu3dnow, CpuUnknown): Renumber. 3736*ed0d50c3Schristos (IgnoreSize, DefaultSize, No_?Suf, FWait, IsString, regKludge, IsPrefix, 3737*ed0d50c3Schristos ImmExt): Renumber. 3738*ed0d50c3Schristos (Size64, No_qSuf, NoRex64, Rex64): New macros. 3739*ed0d50c3Schristos (Reg64, Imm32S, Imm64, Disp32S, Disp64): New macros. 3740*ed0d50c3Schristos (Imm8, Imm8S, Imm16, Imm32, Imm1, BaseIndex, Disp8, Disp16, Disp32, 3741*ed0d50c3Schristos InOutPortReg,ShiftCount, Control, Debug, Test, FloatReg, FloatAcc, 3742*ed0d50c3Schristos SReg2, SReg3, Acc, JumpAbsolute, RegMMX, RegXMM, EsSeg, InvMem): 3743*ed0d50c3Schristos Renumber. 3744*ed0d50c3Schristos (Reg, WordReg): Add Reg64. 3745*ed0d50c3Schristos (Imm): Add Imm32S and Imm64. 3746*ed0d50c3Schristos (EncImm): New. 3747*ed0d50c3Schristos (Disp): Add Disp64 and Disp32S. 3748*ed0d50c3Schristos (AnyMem): Add Disp32S. 3749*ed0d50c3Schristos (RegRex, RegRex64): New macros. 3750*ed0d50c3Schristos (rex_byte): New type. 3751*ed0d50c3Schristos * config/tc-i386.c (set_16bit_code_flag): Kill. 3752*ed0d50c3Schristos (fits_in_unsigned_long, fits_in_signed_long): New functions. 3753*ed0d50c3Schristos (reloc): New parameter "signed"; support x86_64. 3754*ed0d50c3Schristos (set_code_flag): New. 3755*ed0d50c3Schristos (DEFAULT_ARCH): New macro; default to "i386". 3756*ed0d50c3Schristos (default_arch): New static variable. 3757*ed0d50c3Schristos (struct _i386_insn): New fields Operand_PCrel; rex. 3758*ed0d50c3Schristos (flag_16bit_code): Kill; All tests replaced to "flag_code == CODE_64BIT" 3759*ed0d50c3Schristos (flag_code): New enum and static variable. 3760*ed0d50c3Schristos (use_rela_relocations): New static variable. 3761*ed0d50c3Schristos (flag_code_names): New static variable. 3762*ed0d50c3Schristos (cpu_arch_flags): Default to CpuUnknownFlags|CpuNo64. 3763*ed0d50c3Schristos (cpu_arch): Add "sledgehammer"; Add CPUAthlon to Athlon and CpuK6 to 3764*ed0d50c3Schristos K6 and Athlon. 3765*ed0d50c3Schristos (i386_align_code): Return plain "nop" for x86_64. 3766*ed0d50c3Schristos (mode_from_disp_size): Support Disp32S. 3767*ed0d50c3Schristos (smallest_imm_type): Support Imm32S and Imm64. 3768*ed0d50c3Schristos (offset_in_range): Support size of 8. 3769*ed0d50c3Schristos (set_cpu_arch): Do not clobber to Cpu64/CpuNo64. 3770*ed0d50c3Schristos (md_pseudo_table): Add "code64"; use set_code_flat. 3771*ed0d50c3Schristos (md_begin): Emit sane error message on hash failure. 3772*ed0d50c3Schristos (tc_i386_fix_adjustable): Support x86_64 relocations. 3773*ed0d50c3Schristos (md_assemble): Support QWORD_MNEM_SUFFIX, REX registers, 3774*ed0d50c3Schristos instructions supported on particular arch just partially, 3775*ed0d50c3Schristos output of 64bit immediates, handling of Imm32S and Disp32S type. 3776*ed0d50c3Schristos (i386_immedaite): Support x86_64 relocations; support 64bit constants. 3777*ed0d50c3Schristos (i386_displacement): Likewise. 3778*ed0d50c3Schristos (i386_index_check): Cleanup; support 64bit addresses. 3779*ed0d50c3Schristos (md_apply_fix3): Support x86_64 relocation and rela. 3780*ed0d50c3Schristos (md_longopts): Add "32" and "64". 3781*ed0d50c3Schristos (md_parse_option): Add OPTION_32 and OPTION_64. 3782*ed0d50c3Schristos (i386_target_format): Call even for ELFs; choose between 3783*ed0d50c3Schristos elf64-x86-64 and elf32-i386. 3784*ed0d50c3Schristos (i386_validate_fix): Refuse GOTOFF in 64bit mode. 3785*ed0d50c3Schristos (tc_gen_reloc): Support rela relocations and x86_64. 3786*ed0d50c3Schristos (intel_e09_1): Support QWORD. 3787*ed0d50c3Schristos 3788*ed0d50c3Schristos2000-12-15 Diego Novillo <dnovillo@redhat.com> 3789*ed0d50c3Schristos 3790*ed0d50c3Schristos * config/tc-i386.c (intel_e09_1): Only flag as a memory operand if 3791*ed0d50c3Schristos it's not an offset expression. 3792*ed0d50c3Schristos (intel_e10_1): Ditto. Also, if the operand is an offset expression, 3793*ed0d50c3Schristos keep the braces '[' and ']' in the output string. 3794*ed0d50c3Schristos (intel_e11): Ditto. Also remove comparison intel_parser.op_modifier 3795*ed0d50c3Schristos != FLAT. There is no such op_modifier. 3796*ed0d50c3Schristos 3797*ed0d50c3Schristos2000-12-14 Michael Sokolov <msokolov@ivan.Harhan.ORG> 3798*ed0d50c3Schristos 3799*ed0d50c3Schristos * dwarf2dbg.c: If we don't have <limits.h>, try including <sys/param.h> 3800*ed0d50c3Schristos if we have it. 3801*ed0d50c3Schristos 3802*ed0d50c3Schristos2000-12-13 Kazu Hirata <kazu@hxi.com> 3803*ed0d50c3Schristos 3804*ed0d50c3Schristos * as.h: Fix formatting. 3805*ed0d50c3Schristos * cgen.h: Likewise. 3806*ed0d50c3Schristos * dwarf2dbg.c: Likewise. 3807*ed0d50c3Schristos * input-scrub.c: Likewise. 3808*ed0d50c3Schristos * read.h: Likewise. 3809*ed0d50c3Schristos 3810*ed0d50c3Schristos2000-12-13 Mark Elbrecht <snowball3@bigfoot.com> 3811*ed0d50c3Schristos 3812*ed0d50c3Schristos * configure.in (i386-*-msdosdjgpp): Set bfd_gas to yes. 3813*ed0d50c3Schristos configure: Regenerate. 3814*ed0d50c3Schristos 3815*ed0d50c3Schristos2000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG> 3816*ed0d50c3Schristos 3817*ed0d50c3Schristos * dwarf2dbg.c: #include <limits.h> only if it exists. 3818*ed0d50c3Schristos 3819*ed0d50c3Schristos2000-12-13 Rodney Brown <RodneyBrown@mynd.com> 3820*ed0d50c3Schristos 3821*ed0d50c3Schristos * config/tc-hppa.c (pa_ip): Correct CHECK_FIELD typo. 3822*ed0d50c3Schristos (md_apply_fix): Here too. 3823*ed0d50c3Schristos 3824*ed0d50c3Schristos2000-12-12 Jim Wilson <wilson@redhat.com> 3825*ed0d50c3Schristos 3826*ed0d50c3Schristos * config/tc-ia64.h (ia64_init): Add prototype. 3827*ed0d50c3Schristos 3828*ed0d50c3Schristos2000-12-12 H.J. Lu <hjl@gnu.org> 3829*ed0d50c3Schristos 3830*ed0d50c3Schristos * dwarf2dbg.c: Enabled only if BFD_ASSEMBLER is defined. 3831*ed0d50c3Schristos 3832*ed0d50c3Schristos * read.h (outputting_stabs_line_debug): Change it to int. 3833*ed0d50c3Schristos * stabs.c (outputting_stabs_line_debug): Likewise. 3834*ed0d50c3Schristos 3835*ed0d50c3Schristos2000-12-12 Geoffrey Keating <geoffk@redhat.com> 3836*ed0d50c3Schristos 3837*ed0d50c3Schristos * config/obj-bout.c (obj_crawl_symbol_chain): Don't take 3838*ed0d50c3Schristos the address of a function result. 3839*ed0d50c3Schristos 3840*ed0d50c3Schristos2000-12-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> 3841*ed0d50c3Schristos 3842*ed0d50c3Schristos * config/tc-ppc.c (md_pseudo_table): Add .file and .loc. 3843*ed0d50c3Schristos (md_assemble): Call dwarf2_emit_insn. 3844*ed0d50c3Schristos (shlib): Fix typo SHILB -> SHLIB. 3845*ed0d50c3Schristos (md_parse_option): Likewise. 3846*ed0d50c3Schristos (ppc_elf_validate_fix): Likewise: 3847*ed0d50c3Schristos * config/tc-ppc.h (DWARF2_LINE_MIN_INSN_LENGTH): New. 3848*ed0d50c3Schristos 3849*ed0d50c3Schristos2000-12-12 Nick Clifton <nickc@redhat.com> 3850*ed0d50c3Schristos 3851*ed0d50c3Schristos * cgen.h: Fix formatting. 3852*ed0d50c3Schristos * input-scrub.c: Fix formatting. 3853*ed0d50c3Schristos * macro.c: Fix formatting. 3854*ed0d50c3Schristos * config/tc-mips.c: Fix formatting. 3855*ed0d50c3Schristos * doc/c-mips.texi: Fix formatting. 3856*ed0d50c3Schristos 3857*ed0d50c3Schristos2000-12-11 Jan hubicka <jh@suse.cz> 3858*ed0d50c3Schristos 3859*ed0d50c3Schristos * config/tc-i386.c (md_assemble): Refuse 's' and 'l' suffixes in the intel 3860*ed0d50c3Schristos mode; convert 'd' suffix to 's' or 'l'; remove all DWORD_MNEM_SUFFIX 3861*ed0d50c3Schristos references. 3862*ed0d50c3Schristos (intel_e09_1): Convert QWORD to 'l' suffix for FP operations; refuse 3863*ed0d50c3Schristos otherwise. 3864*ed0d50c3Schristos * config/tc-i386.h (DWORD_MNEM_SUFFIX): Kill. 3865*ed0d50c3Schristos (No_dSuf): Kill. 3866*ed0d50c3Schristos 3867*ed0d50c3Schristos * i386.h (*_Suf): Remove No_dSuf. 3868*ed0d50c3Schristos (d_suf, wld_Suf,sld_Suf, sldx_Suf, bwld_Suf, d_FP, sld_FP, sldx_FP) 3869*ed0d50c3Schristos Remove. 3870*ed0d50c3Schristos (i386_optab): Remove 'd' in the suffixes. 3871*ed0d50c3Schristos 3872*ed0d50c3Schristos2000-12-06 Mark Elbrecht <snowball3@bigfoot.com> 3873*ed0d50c3Schristos 3874*ed0d50c3Schristos * config/tc-i386.c (T_SHORT): Undefine before defining. 3875*ed0d50c3Schristos 3876*ed0d50c3Schristos2000-12-05 Kazu Hirata <kazu@hxi.com> 3877*ed0d50c3Schristos 3878*ed0d50c3Schristos * config/tc-mips.c: Fix formatting. 3879*ed0d50c3Schristos 3880*ed0d50c3Schristos2000-12-04 Matthew Hiller <hiller@redhat.com> 3881*ed0d50c3Schristos 3882*ed0d50c3Schristos * config/tc-d10v.c (flag_allow_gstabs_packing): New variable. 3883*ed0d50c3Schristos (md_longopts): New options --gstabs-packing, --no-gstabs-packing. 3884*ed0d50c3Schristos (md_show_usage): Ditto. 3885*ed0d50c3Schristos (md_parse_option): Ditto. 3886*ed0d50c3Schristos (d10v_cleanup): Writes pending instruction only if 3887*ed0d50c3Schristos ! outputting_stabs_line_debug || ! flag_allow_gstabs_packing. 3888*ed0d50c3Schristos Fix compile time warning messages. 3889*ed0d50c3Schristos 3890*ed0d50c3Schristos * doc/c-d10v.texi: Documents new options. 3891*ed0d50c3Schristos 3892*ed0d50c3Schristos2000-12-04 Matthew Hiller <hiller@redhat.com> 3893*ed0d50c3Schristos 3894*ed0d50c3Schristos * stabs.c (outputting_stabs_line_debug): New variable. 3895*ed0d50c3Schristos (stabs_generate_asm_lineno): Set outputting_stabs_line_debug at 3896*ed0d50c3Schristos function entry and unset at function exit. 3897*ed0d50c3Schristos 3898*ed0d50c3Schristos * read.h (outputting_stabs_line_debug): New extern declaration. 3899*ed0d50c3Schristos 3900*ed0d50c3Schristos * as.c: Include dwarf2dbg.h for definition of dwarf2_finish. 3901*ed0d50c3Schristos 3902*ed0d50c3Schristos * dwarf2dbg.c: Fix compile time warning messages. 3903*ed0d50c3Schristos 3904*ed0d50c3Schristos2000-12-03 Kazu Hirata <kazu@hxi.com> 3905*ed0d50c3Schristos 3906*ed0d50c3Schristos * config/tc-a29k.c: Fix formatting. 3907*ed0d50c3Schristos * config/tc-alpha.c: Likewise. 3908*ed0d50c3Schristos * config/tc-arm.c: Likewise. 3909*ed0d50c3Schristos * config/tc-cris.c: Likewise. 3910*ed0d50c3Schristos * config/tc-hppa.c: Likewise. 3911*ed0d50c3Schristos * config/tc-i370.c: Likewise. 3912*ed0d50c3Schristos * config/tc-i386.c: Likewise. 3913*ed0d50c3Schristos * config/tc-i860.c: Likewise. 3914*ed0d50c3Schristos * config/tc-i960.c: Likewise. 3915*ed0d50c3Schristos * config/tc-ia64.c: Likewise. 3916*ed0d50c3Schristos * config/tc-m68hc11.c: Likewise. 3917*ed0d50c3Schristos * config/tc-m68k.c: Likewise. 3918*ed0d50c3Schristos * config/tc-m88k.c: Likewise. 3919*ed0d50c3Schristos * config/tc-pj.c: Likewise. 3920*ed0d50c3Schristos * config/tc-ppc.c: Likewise. 3921*ed0d50c3Schristos * config/tc-sh.c: Likewise. 3922*ed0d50c3Schristos * config/tc-sparc.c: Likewise. 3923*ed0d50c3Schristos * config/tc-tahoe.c: Likewise. 3924*ed0d50c3Schristos * config/tc-vax.c: Likewise. 3925*ed0d50c3Schristos 3926*ed0d50c3Schristos2000-12-01 Chris Demetriou <cgd@sibyte.com> 3927*ed0d50c3Schristos 3928*ed0d50c3Schristos * config/tc-mips.c (mips_ip): When calculating offsets, 3929*ed0d50c3Schristos don't accept as constant the difference between the 3930*ed0d50c3Schristos addresses of symbols in two different sections. 3931*ed0d50c3Schristos 3932*ed0d50c3Schristos * config/tc-mips.c (macro_build): Add new 'U' and 'J' operand 3933*ed0d50c3Schristos specifiers. 3934*ed0d50c3Schristos (validate_mips_insn): Likewise. Also, update 'B' operand 3935*ed0d50c3Schristos specifier to use OP_*_CODE20 constants and delete 'm' operand 3936*ed0d50c3Schristos specifier. 3937*ed0d50c3Schristos (mips_ip): Remove 'm' operand specifier, add 'U' and 'J' 3938*ed0d50c3Schristos operand specifiers. Change warning generated by 'B' operand 3939*ed0d50c3Schristos specifier to reflect its new multi-purpose usage. 3940*ed0d50c3Schristos 3941*ed0d50c3Schristos * config/tc-mips.c (mips_set_options): Use ISA_UNKNOWN rather than 3942*ed0d50c3Schristos -1, and update comment. 3943*ed0d50c3Schristos (file_mips_isa): Likewise. 3944*ed0d50c3Schristos (mips_cpu): Use CPU_UNKNOWN rather than -1, and update comment. 3945*ed0d50c3Schristos (ISA_HAS_COPROC_DELAYS, ISA_HAS_64BIT_REGS, gpr_interlocks): Use 3946*ed0d50c3Schristos ISA_* constants rather than hard-coded numbers. 3947*ed0d50c3Schristos (mips_cpu_info): New structure. 3948*ed0d50c3Schristos (mips_cpu_info_table): New table describing CPU and ISA names 3949*ed0d50c3Schristos and numbers. 3950*ed0d50c3Schristos (mips_cpu_info_from_name, mips_cpu_info_from_isa, 3951*ed0d50c3Schristos mips_cpu_info_from_cpu): New functions. 3952*ed0d50c3Schristos (mips_isa_to_str): New function to get string for ISA name. 3953*ed0d50c3Schristos (mips_cpu_to_str): Convert to use mips_cpu_info_from_cpu, and 3954*ed0d50c3Schristos return const char *. 3955*ed0d50c3Schristos (md_begin): Redo CPU and ISA selection logic, using 3956*ed0d50c3Schristos mips_cpu_info_from_*. Convert to use ISA_* constants rather 3957*ed0d50c3Schristos than hard-coded numbers. 3958*ed0d50c3Schristos (append_insn, mips_emit_delays, macro, macro2): Convert to use 3959*ed0d50c3Schristos ISA_* constants rather than hard-coded numbers. 3960*ed0d50c3Schristos (mips_ip): Convert to use mips_isa_to_str to get ISA name. 3961*ed0d50c3Schristos (md_longopts): Delete OPTION_NO_MIPS32. 3962*ed0d50c3Schristos (md_parse_option): Convert to use ISA_* constants rather than 3963*ed0d50c3Schristos hard-coded numbers. Make OPTIONS_MIPS32 case treat MIPS32 3964*ed0d50c3Schristos as an ISA. Delete OPTION_NO_MIPS32 case. Convert OPTION_MCPU 3965*ed0d50c3Schristos to use strcasecmp to recognize "default" and to use 3966*ed0d50c3Schristos mips_cpu_info_from_name to get CPU numbers from argument. 3967*ed0d50c3Schristos (md_show_usage): Move -mips32 so it's with the rest of the ISA 3968*ed0d50c3Schristos flags. Change 4Kc, 4Kp and 4Km CPU entries to just be 3969*ed0d50c3Schristos mips32-4k. 3970*ed0d50c3Schristos (s_mipsset): Accept ISA value 32. 3971*ed0d50c3Schristos * doc/as.texinfo: Clean up MIPS options summary slightly, 3972*ed0d50c3Schristos remove -no-mips32. Add note about -mips4 and -mips32 3973*ed0d50c3Schristos specifying those ISA levels. Delete -mips32 and -no-mips32 3974*ed0d50c3Schristos cpu flag descriptions. 3975*ed0d50c3Schristos * doc/c-mips.texi: Add -mips32 to list of ISA switches. Clean 3976*ed0d50c3Schristos up the supported CPU switch list, and replace 4Kc, 4Km, and 3977*ed0d50c3Schristos 4Kp entries with a single mips32-4k entry. Note that you can 3978*ed0d50c3Schristos use ".set mips32". 3979*ed0d50c3Schristos 3980*ed0d50c3Schristos * config/tc-mips.c (ISA_HAS_64BIT_REGS): Add checks for ISA_MIPS5 and 3981*ed0d50c3Schristos ISA_MIPS64. 3982*ed0d50c3Schristos (md_longopts, OPTION_MIPS5, OPTION_MIPS64): Add options for 3983*ed0d50c3Schristos -mips5 and -mips64. 3984*ed0d50c3Schristos (md_parse_option): Add cases for OPTION_MIPS5 and 3985*ed0d50c3Schristos OPTION_MIPS64. 3986*ed0d50c3Schristos (md_show_usage): Mention -mips5 and -mips64 arguments. 3987*ed0d50c3Schristos (s_mipsset): Add cases for MIPS5 and MIPS64. 3988*ed0d50c3Schristos (mips_cpu_info_table): Add entries for MIPS5 and MIPS64 ISAs 3989*ed0d50c3Schristos and pseudo-CPUs. 3990*ed0d50c3Schristos * doc/as.texinfo: Mention -mips5 and -mips64 options 3991*ed0d50c3Schristos and their meanings. 3992*ed0d50c3Schristos * doc/c-mips.texi: Likewise. Also update introduction 3993*ed0d50c3Schristos and ".set" usage information. 3994*ed0d50c3Schristos 3995*ed0d50c3Schristos * config/tc-mips.c (md_show_usage): Add "sb1" to the 3996*ed0d50c3Schristos CPU list. 3997*ed0d50c3Schristos (mips_cpu_info_table): Add SB-1 entries. 3998*ed0d50c3Schristos * doc/c-mips.texi: Add "sb1" to the list of CPUs 3999*ed0d50c3Schristos known to the -mcpu option. 4000*ed0d50c3Schristos 4001*ed0d50c3Schristos * doc/as.texinfo: Correct description of MIPS -mcpu 4002*ed0d50c3Schristos option, by copying some of the text from doc/c-mips.texi. 4003*ed0d50c3Schristos 4004*ed0d50c3Schristos2000-12-01 Joel Sherrill <joel@OARcorp.com> 4005*ed0d50c3Schristos 4006*ed0d50c3Schristos * configure.in (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*): 4007*ed0d50c3Schristos New targets. 4008*ed0d50c3Schristos (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets. 4009*ed0d50c3Schristos (sparc*-*-rtems*): Switched from a.out to ELF. 4010*ed0d50c3Schristos * configure: Regenerate. 4011*ed0d50c3Schristos * config.in: Regenerate. 4012*ed0d50c3Schristos * Makefile.in: Regenerate. 4013*ed0d50c3Schristos * aclocal.m4: Regenerate. 4014*ed0d50c3Schristos * po/gas.pot: Regenerate. 4015*ed0d50c3Schristos 4016*ed0d50c3Schristos2000-11-30 Philip Blundell <pb@futuretv.com> 4017*ed0d50c3Schristos 4018*ed0d50c3Schristos * config/obj-coff.c (obj_coff_weak): Use S_SET_WEAK if it exists, 4019*ed0d50c3Schristos even in non BFD_ASSEMBLER case. 4020*ed0d50c3Schristos 4021*ed0d50c3Schristos2000-11-30 Diego Novillo <dnovillo@redhat.com> 4022*ed0d50c3Schristos 4023*ed0d50c3Schristos * config/tc-i386.c (md_assemble): Swap i.disp_relocs when using intel 4024*ed0d50c3Schristos syntax. 4025*ed0d50c3Schristos 4026*ed0d50c3Schristos2000-11-29 Richard Henderson <rth@redhat.com> 4027*ed0d50c3Schristos 4028*ed0d50c3Schristos * dwarf2dbg.c: Rewrite from scratch. Queue all debugging output 4029*ed0d50c3Schristos until dwarf2_finish; use relaxation to get cross-fragment offsets; 4030*ed0d50c3Schristos thread multiple subsegments properly; handle multiple code 4031*ed0d50c3Schristos sections properly; emit proper compilation unit info for assembler 4032*ed0d50c3Schristos generated debugging. 4033*ed0d50c3Schristos 4034*ed0d50c3Schristos * as.h (enum _relax_state): Add rs_dwarf2dbg. 4035*ed0d50c3Schristos * dwarf2dbg.h (struct dwarf2_line_info): Remove filename. 4036*ed0d50c3Schristos (dwarf2dbg_estimate_size_before_relax): Declare. 4037*ed0d50c3Schristos (dwarf2dbg_relax_frag, dwarf2dbg_convert_frag): Declare. 4038*ed0d50c3Schristos * write.c: Include dwarf2dbg.h. 4039*ed0d50c3Schristos (cvt_frag_to_fill): Handle rs_dwarf2dbg. 4040*ed0d50c3Schristos (relax_segment): Likewise. 4041*ed0d50c3Schristos 4042*ed0d50c3Schristos2000-11-28 Hans-Peter Nilsson <hp@bitrange.com> 4043*ed0d50c3Schristos 4044*ed0d50c3Schristos * config/tc-sh.c (md_convert_frag) <undefined symbol, conditional 4045*ed0d50c3Schristos jump>: Use as_bad_where instead of as_bad. Tweak error message 4046*ed0d50c3Schristos accordingly. Stabilize frag by updating fix part and resetting 4047*ed0d50c3Schristos variant part. 4048*ed0d50c3Schristos <undefined symbol, unconditional jump>: Ditto. 4049*ed0d50c3Schristos (sh_elf_cons): Cast *input_line_pointer to unsigned char when 4050*ed0d50c3Schristos indexing is_end_of_line[]. 4051*ed0d50c3Schristos (md_assemble): Initialize size to 0. 4052*ed0d50c3Schristos (md_section_align): Mark parameter seg as unused. 4053*ed0d50c3Schristos (parse_reg): Parse names case-insensitively. 4054*ed0d50c3Schristos 4055*ed0d50c3Schristos2000-11-28 Kazu Hirata <kazu@hxi.com> 4056*ed0d50c3Schristos 4057*ed0d50c3Schristos * config/obj-aout.h: Fix formatting. 4058*ed0d50c3Schristos * config/obj-bout.h: Likewise. 4059*ed0d50c3Schristos * config/obj-coff.c: Likewise. 4060*ed0d50c3Schristos * config/obj-coff.h: Likewise. 4061*ed0d50c3Schristos * config/obj-elf.h: Likewise. 4062*ed0d50c3Schristos * config/obj-som.h: Likewise. 4063*ed0d50c3Schristos * config/obj-vms.c: Likewise. 4064*ed0d50c3Schristos * config/obj-vms.h: Likewise. 4065*ed0d50c3Schristos * config/tc-h8300.h: Likewise. 4066*ed0d50c3Schristos * config/tc-ns32k.h: Likewise. 4067*ed0d50c3Schristos * config/tc-sparc.h: Likewise. 4068*ed0d50c3Schristos * config/tc-tic54x.h: Likewise. 4069*ed0d50c3Schristos * config/tc-z8k.h: Likewise. 4070*ed0d50c3Schristos 4071*ed0d50c3Schristos2000-11-28 Nick Clifton <nickc@redhat.com> 4072*ed0d50c3Schristos 4073*ed0d50c3Schristos * doc/as.1 (COPYING): Mention that the GNU Free Documentation 4074*ed0d50c3Schristos License is present in the sources, but not the output, and 4075*ed0d50c3Schristos also available from the GNU website. 4076*ed0d50c3Schristos (GNU Free Documentation License): Comment out this section. 4077*ed0d50c3Schristos 4078*ed0d50c3Schristos2000-11-28 Hans-Peter Nilsson <hp@axis.com> 4079*ed0d50c3Schristos 4080*ed0d50c3Schristos * Makefile.am (CPU_OBJ_VALID): Add case to filter out invalid coff 4081*ed0d50c3Schristos targets. Remove i860 from valid a.out targets. 4082*ed0d50c3Schristos * Makefile.in: Regenerate. 4083*ed0d50c3Schristos 4084*ed0d50c3Schristos * config/tc-cris.c: Include dwarf2dbg.h. 4085*ed0d50c3Schristos (md_pseudo_table): Add .file and .loc. 4086*ed0d50c3Schristos (md_assemble): Call dwarf2_emit_insn if generating ELF. 4087*ed0d50c3Schristos (s_cris_file, s_cris_loc): New. 4088*ed0d50c3Schristos * config/tc-cris.h (DWARF2_LINE_MIN_INSN_LENGTH): Define. 4089*ed0d50c3Schristos * Makefile.am: Regenerate dependencies. 4090*ed0d50c3Schristos * Makefile.in: Regenerate. 4091*ed0d50c3Schristos 4092*ed0d50c3Schristos2000-11-28 Alan Modra <alan@linuxcare.com.au> 4093*ed0d50c3Schristos 4094*ed0d50c3Schristos * expr.c (STANDARD_MUL_PRECEDENCE): Correct value. 4095*ed0d50c3Schristos (MRI_MUL_PRECEDENCE): Likewise. 4096*ed0d50c3Schristos (op_rank): Fix a comment typo. 4097*ed0d50c3Schristos 4098*ed0d50c3Schristos2000-11-26 Stephane Carrez <Stephane.Carrez@worldnet.fr> 4099*ed0d50c3Schristos 4100*ed0d50c3Schristos * config/tc-m68hc11.c (build_indexed_byte): Print the offset in 4101*ed0d50c3Schristos the error message. 4102*ed0d50c3Schristos (get_operand): Fix analysis for movw/movb instructions. 4103*ed0d50c3Schristos 4104*ed0d50c3Schristos2000-11-24 Nick Clifton <nickc@redhat.com> 4105*ed0d50c3Schristos 4106*ed0d50c3Schristos * configure.in (xscale-elf): Add target. 4107*ed0d50c3Schristos (xscale-coff): Add target. 4108*ed0d50c3Schristos * configure: Regenerate. 4109*ed0d50c3Schristos 4110*ed0d50c3Schristos * config/tc-arm.c (ARM_EXT_V5E): New ARM architecture 4111*ed0d50c3Schristos extenstion. 4112*ed0d50c3Schristos (ARM_EXT_XSCALE): New ARM architecture extension. 4113*ed0d50c3Schristos (ARM_LONGMUL): Rename to ARM_EXT_LONGMUL. 4114*ed0d50c3Schristos (ARM_HALFWORD): Rename to ARM_EXT_HALFWORD. 4115*ed0d50c3Schristos (ARM_THUMB): Rename to ARM_EXT_THUMB. 4116*ed0d50c3Schristos (ARM_ARCH_V4): Remove processor from architecture. 4117*ed0d50c3Schristos (ARM_ARCH_3M): New architecutre definition. 4118*ed0d50c3Schristos (ARM_ARCH_V5TE): New architecutre definition. 4119*ed0d50c3Schristos (ARM_ARCH_XSCALE): New architecutre definition. 4120*ed0d50c3Schristos (CPU_DEFAULT): Allow to be defaulted to XScale. 4121*ed0d50c3Schristos (atpcs): New boolean variable. 4122*ed0d50c3Schristos (ldr_flags): Support 'd' flag for double word loads. 4123*ed0d50c3Schristos (str_flags): Support 'd' flag for double word stored. 4124*ed0d50c3Schristos (do_mia): New function. 4125*ed0d50c3Schristos (do_mar): New function. 4126*ed0d50c3Schristos (do_mra): New function. 4127*ed0d50c3Schristos (do_pld): New function. 4128*ed0d50c3Schristos (do_ldrd): New function. 4129*ed0d50c3Schristos (do_blx): New function. 4130*ed0d50c3Schristos (do_bkpt): New function. 4131*ed0d50c3Schristos (do_clz): New function. 4132*ed0d50c3Schristos (do_lstc2): New function. 4133*ed0d50c3Schristos (do_cdp2): New function. 4134*ed0d50c3Schristos (do_t_blx): New function. 4135*ed0d50c3Schristos (do_t_bkpt): New function. 4136*ed0d50c3Schristos (do_smla): New function. 4137*ed0d50c3Schristos (do_smlal): New function. 4138*ed0d50c3Schristos (do_smul): New function. 4139*ed0d50c3Schristos (do_qadd): New function. 4140*ed0d50c3Schristos (do_co_reg2c): New function. 4141*ed0d50c3Schristos (LONGEST_INSN): Redefine to 7. 4142*ed0d50c3Schristos 4143*ed0d50c3Schristos * doc/c-arm.texi: Document -mxscale, -mmarmv5te and -matpcs 4144*ed0d50c3Schristos command line switches. 4145*ed0d50c3Schristos 4146*ed0d50c3Schristos2000-11-22 Jim Wilson <wilson@redhat.com> 4147*ed0d50c3Schristos 4148*ed0d50c3Schristos * config/tc-ia64.c (pseudo_func): Add missing initializers. 4149*ed0d50c3Schristos (struct rsrc): Make line unsigned. 4150*ed0d50c3Schristos (gr_values): Add missing initializer. 4151*ed0d50c3Schristos (SLOT_NUM_NOT_SET): Add unsigned cast. 4152*ed0d50c3Schristos (ia64_elf_section_flags, output_vbyte_mem, count_output, dot_radix, 4153*ed0d50c3Schristos dot_fframe, dot_vframe, dot_vframesp, dot_vframepsp, dot_save, 4154*ed0d50c3Schristos dot_restore, dot_restorereg, dot_restorereg_p, dot_handlerdata, 4155*ed0d50c3Schristos dot_unwentry, dot_altrp, dot_saveg, dot_savef, dot_saveb, dot_savegf, 4156*ed0d50c3Schristos dot_spill, dot_spillreg, dot_spillreg_p, dot_label_state, 4157*ed0d50c3Schristos dot_copy_state, dot_unwabi, dot_personality, dot_proc, dot_body, 4158*ed0d50c3Schristos dot_prologue, dot_endp, dot_regstk, dot_psr, dot_alias, dot_ln, 4159*ed0d50c3Schristos dot_reg_val, dot_entry, dot_mem_offset, ia64_init, mark_resource, 4160*ed0d50c3Schristos md_undefined_symbol, md_apply_fix3, tc_gen_reloc, ia64_md_do_align): 4161*ed0d50c3Schristos Add ATTRIBUTE_UNUSED to unused parameters. 4162*ed0d50c3Schristos (convert_expr_to_ab_reg): Add parens. 4163*ed0d50c3Schristos (convert_expr_to_xy_reg): Add parens. Comment out >= REG_GR test. 4164*ed0d50c3Schristos (dot_prologue): Initialize grsave when declared. 4165*ed0d50c3Schristos (md_pseudo_table): Add missing initializers. 4166*ed0d50c3Schristos (operand_match): Add casts to bfd_vma. 4167*ed0d50c3Schristos (emit_one_bundle): Delete unused local prev. Make required_template 4168*ed0d50c3Schristos unsigned. 4169*ed0d50c3Schristos (specify_resource): Cast i to unsigned. 4170*ed0d50c3Schristos (note_register_values): Use fprintf_vma. 4171*ed0d50c3Schristos (print_dependency): Likewise. 4172*ed0d50c3Schristos 4173*ed0d50c3Schristos2000-11-21 Jim Wilson <wilson@redhat.com> 4174*ed0d50c3Schristos 4175*ed0d50c3Schristos * config/tc-ia64.c (generate_unwind_image): Call record_alignment 4176*ed0d50c3Schristos for unwind info section. 4177*ed0d50c3Schristos (dot_endp): Likewise for unwind section. 4178*ed0d50c3Schristos 4179*ed0d50c3Schristos * config/tc-ia64.c (emit_one_bundle): Pass size of 8 not 4 to 4180*ed0d50c3Schristos fix_new_exp. 4181*ed0d50c3Schristos 4182*ed0d50c3Schristos2000-11-21 Jakub Jelinek <jakub@redhat.com> 4183*ed0d50c3Schristos 4184*ed0d50c3Schristos * config/tc-sparc.c (md_pseudo_table): Add .file and .loc. 4185*ed0d50c3Schristos (output_insn): Call dwarf2_emit_insn. 4186*ed0d50c3Schristos * config/tc-sparc.h (DWARF2_LINE_MIN_INSN_LENGTH): New. 4187*ed0d50c3Schristos 4188*ed0d50c3Schristos2000-11-17 Richard Henderson <rth@redhat.com> 4189*ed0d50c3Schristos 4190*ed0d50c3Schristos * ehopt.c (eh_frame_code_alignment): New arg `in_seg', update all 4191*ed0d50c3Schristos callers. Don't switch segments. Expect CIE == -1 in .debug_frame. 4192*ed0d50c3Schristos (check_eh_frame): Handle .eh_frame and .debug_frame concurrently. 4193*ed0d50c3Schristos 4194*ed0d50c3Schristos2000-11-17 Nick Clifton <nickc@redhat.com> 4195*ed0d50c3Schristos 4196*ed0d50c3Schristos * config/tc-arm.c (md_pseudo_table): Add support for .line and 4197*ed0d50c3Schristos .file pseudo ops. 4198*ed0d50c3Schristos 4199*ed0d50c3Schristos2000-11-17 Richard Henderson <rth@redhat.com> 4200*ed0d50c3Schristos 4201*ed0d50c3Schristos * config/tc-i386.c (md_pseudo_table): Add .file and .loc. 4202*ed0d50c3Schristos 4203*ed0d50c3Schristos2000-11-17 Richard Henderson <rth@redhat.com> 4204*ed0d50c3Schristos 4205*ed0d50c3Schristos * dwarf2dbg.c (dwarf2_gen_line_info): Early out for no line number. 4206*ed0d50c3Schristos * config/obj-elf.h (ECOFF_DEBUGGING) [TC_ALPHA]: Adjust for 4207*ed0d50c3Schristos tri-state definition of alpha_flag_mdebug. 4208*ed0d50c3Schristos * config/tc-alpha.c (alpha_flag_mdebug): Init to -1. 4209*ed0d50c3Schristos (s_alpha_file): Store first .file directive. 4210*ed0d50c3Schristos (s_alpha_stab): New. 4211*ed0d50c3Schristos (md_pseudo_table): Add stabs and stabn. 4212*ed0d50c3Schristos 4213*ed0d50c3Schristos2000-11-17 Richard Henderson <rth@redhat.com> 4214*ed0d50c3Schristos 4215*ed0d50c3Schristos * config/tc-i386.c (md_assemble): Call dwarf2_emit_insn. 4216*ed0d50c3Schristos 4217*ed0d50c3Schristos2000-11-17 Richard Henderson <rth@redhat.com> 4218*ed0d50c3Schristos 4219*ed0d50c3Schristos * as.c (debug_type): Init to DEBUG_UNSPECIFIED. 4220*ed0d50c3Schristos (main): Call dwarf2_finish. 4221*ed0d50c3Schristos * as.h (debug_type): Clarify documentation of the meaning 4222*ed0d50c3Schristos of this variable. 4223*ed0d50c3Schristos * dwarf2dbg.c (DWARF2_LINE_MIN_INSN_LENGTH): Default to 1. 4224*ed0d50c3Schristos (print_stats): Fix parenthesis problem. 4225*ed0d50c3Schristos (now_subseg_size): New. 4226*ed0d50c3Schristos (dwarf2_finish): Use it. If DEBUG_DWARF2, emit bits for .debug_info. 4227*ed0d50c3Schristos (dwarf2_directive_file): Don't set debug_type. 4228*ed0d50c3Schristos (dwarf2_where): Honor DEBUG_DWARF2 first. 4229*ed0d50c3Schristos (dwarf2_emit_insn): Renamed from dwarf2_generate_asm_lineno; 4230*ed0d50c3Schristos do nothing if not emitting dwarf2 debug info, or no work. 4231*ed0d50c3Schristos * dwarf2dbg.h (dwarf2_emit_insn): Update. 4232*ed0d50c3Schristos * ecoff.c (add_file): Turn on DEBUG_ECOFF only if DEBUG_UNSPECIFIED. 4233*ed0d50c3Schristos (ecoff_new_file): Likewise. 4234*ed0d50c3Schristos * read.c (generate_lineno_debug): Kill ecoff hackery. Update 4235*ed0d50c3Schristos commentary wrt dwarf2. 4236*ed0d50c3Schristos 4237*ed0d50c3Schristos * config/tc-alpha.c (alpha_adjust_symtab_relocs): Add 4238*ed0d50c3Schristos ATTRIBUTE_UNUSED as needed. 4239*ed0d50c3Schristos (emit_insn): Call dwarf2_emit_insn. 4240*ed0d50c3Schristos (s_alpha_file): New. 4241*ed0d50c3Schristos (s_alpha_loc): New. 4242*ed0d50c3Schristos (s_alpha_coff_wrapper): Don't handle them. 4243*ed0d50c3Schristos (md_pseudo_table): Update for .file and .loc. 4244*ed0d50c3Schristos * config/tc-alpha.h (DWARF2_LINE_MIN_INSN_LENGTH): New. 4245*ed0d50c3Schristos 4246*ed0d50c3Schristos * config/tc-arm.c (output_inst): Update for dwarf2_emit_insn; 4247*ed0d50c3Schristos don't protect with debug_type. 4248*ed0d50c3Schristos * config/tc-hppa.c (md_assemble): Likewise. 4249*ed0d50c3Schristos * config/tc-m68hc11.c (m68hc11_new_insn): Likewise. 4250*ed0d50c3Schristos * config/tc-mn10300.c (md_assemble): Likewise. 4251*ed0d50c3Schristos * config/tc-sh.c (md_assemble): Likewise. 4252*ed0d50c3Schristos * config/tc-v850.c (md_assemble): Likewise. 4253*ed0d50c3Schristos 4254*ed0d50c3Schristos * config/tc-arm.c (arm_end_of_source): Remove. 4255*ed0d50c3Schristos * config/tc-hppa.c (pa_end_of_source): Remove. 4256*ed0d50c3Schristos * config/tc-m68hc11.c (m68hc11_end_of_source): Remove. 4257*ed0d50c3Schristos * config/tc-mn10300.c (mn10300_finalize): Remove. 4258*ed0d50c3Schristos * config/tc-sh.c (sh_finalize): Remove. 4259*ed0d50c3Schristos * config/tc-v850.c (sh_finalize): Remove. 4260*ed0d50c3Schristos 4261*ed0d50c3Schristos * config/tc-arm.h (md_end): Remove. 4262*ed0d50c3Schristos * config/tc-hppa.h (md_end): Remove. 4263*ed0d50c3Schristos (DWARF2_LINE_MIN_INSN_LENGTH): New. 4264*ed0d50c3Schristos * config/tc-m68hc11.h (md_end): Remove. 4265*ed0d50c3Schristos * config/tc-mn10300.h (md_end): Remove. 4266*ed0d50c3Schristos * config/tc-sh.h (md_end): Remove. 4267*ed0d50c3Schristos * config/tc-v850.h (md_end): Remove. 4268*ed0d50c3Schristos 4269*ed0d50c3Schristos * config/tc-ia64.c (emit_one_bundle): Don't protect 4270*ed0d50c3Schristos dwarf2 bits with debug_type. 4271*ed0d50c3Schristos (md_assemble): Likewise. 4272*ed0d50c3Schristos (ia64_end_of_source): Don't call dwarf2_finish. 4273*ed0d50c3Schristos 4274*ed0d50c3Schristos2000-11-16 Jim Wilson <wilson@redhat.com> 4275*ed0d50c3Schristos 4276*ed0d50c3Schristos * config/tc-ia64.c (errata_nop_necessary_p): Abort if general regno 4277*ed0d50c3Schristos >= 128 instead of > 128. Abort if predicate regno is >= 64 instead of 4278*ed0d50c3Schristos > 16. 4279*ed0d50c3Schristos 4280*ed0d50c3Schristos2000-11-16 H.J. Lu <hjl@gnu.org> 4281*ed0d50c3Schristos 4282*ed0d50c3Schristos * config/obj-elf.c (obj_elf_symver): Don't check the missing 4283*ed0d50c3Schristos version name. 4284*ed0d50c3Schristos 4285*ed0d50c3Schristos2000-11-15 Kazu Hirata <kazu@hxi.com> 4286*ed0d50c3Schristos 4287*ed0d50c3Schristos * config/tc-tic30.c: Fix formatting. 4288*ed0d50c3Schristos * config/tc-tic80.c: Likewise. 4289*ed0d50c3Schristos * config/tc-v850.c: Likewise. 4290*ed0d50c3Schristos * config/tc-vax.c: Likewise. 4291*ed0d50c3Schristos * config/tc-w65.c: Likewise. 4292*ed0d50c3Schristos * config/tc-z8k.c: Likewise. 4293*ed0d50c3Schristos 4294*ed0d50c3Schristos2000-11-14 DJ Delorie <dj@redhat.com> 4295*ed0d50c3Schristos 4296*ed0d50c3Schristos * config/tc-v850.c: Support dwarf2. 4297*ed0d50c3Schristos * config/tc-v850.h: Ditto. 4298*ed0d50c3Schristos 4299*ed0d50c3Schristos * config/tc-v850.c (cons_fix_new_v850): Don't rely on 4300*ed0d50c3Schristos parse_cons_expression_v850 to initialize hold_cons_reloc. 4301*ed0d50c3Schristos 4302*ed0d50c3Schristos2000-11-15 Bernd Schmidt <bernds@redhat.com> 4303*ed0d50c3Schristos 4304*ed0d50c3Schristos * config/tc-ia64.c (struct md): New entries LAST_GROUPS, GROUP_IDX. 4305*ed0d50c3Schristos (errata_nops_necessary_p): New function. 4306*ed0d50c3Schristos (emit_one_bundle): Call it. Update the GROUP_IDX field in struct 4307*ed0d50c3Schristos md. 4308*ed0d50c3Schristos 4309*ed0d50c3Schristos2000-11-14 Jim Wilson <wilson@redhat.com> 4310*ed0d50c3Schristos 4311*ed0d50c3Schristos * config/tc-ia64.c (ia64_target_format): If EF_IA_64_BE not set, then 4312*ed0d50c3Schristos return little endian bfd formats. 4313*ed0d50c3Schristos 4314*ed0d50c3Schristos2000-11-14 Kazu Hirata <kazu@hxi.com> 4315*ed0d50c3Schristos 4316*ed0d50c3Schristos * config/aout_gnu.h: Fix formatting. 4317*ed0d50c3Schristos * config/atof-vax.c: Likewise. 4318*ed0d50c3Schristos * config/m68k-parse.h: Likewise. 4319*ed0d50c3Schristos * config/m88k-opcode.h: Likewise. 4320*ed0d50c3Schristos * config/obj-elf.c: Likewise. 4321*ed0d50c3Schristos * config/tc-arm.c: Likewise. 4322*ed0d50c3Schristos * config/tc-cris.c: Likewise. 4323*ed0d50c3Schristos * config/tc-i386.c: Likewise. 4324*ed0d50c3Schristos * config/tc-ia64.c: Likewise. 4325*ed0d50c3Schristos * config/tc-mn10300.c: Likewise. 4326*ed0d50c3Schristos * config/te-386bsd.h: Likewise. 4327*ed0d50c3Schristos * config/te-hppa.h: Likewise. 4328*ed0d50c3Schristos * config/te-nbsd.h: Likewise. 4329*ed0d50c3Schristos * config/te-ppcnw.h: Likewise. 4330*ed0d50c3Schristos * config/te-sparcaout.h: Likewise. 4331*ed0d50c3Schristos * config/te-tmips.h: Likewise. 4332*ed0d50c3Schristos * config/vax-inst.h: Likewise. 4333*ed0d50c3Schristos * config/vms-conf.h: Likewise. 4334*ed0d50c3Schristos 4335*ed0d50c3Schristos2000-11-14 Jakub Jelinek <jakub@redhat.com> 4336*ed0d50c3Schristos 4337*ed0d50c3Schristos * config/tc-alpha.c (s_alpha_prologue): Preserve visibility bits. 4338*ed0d50c3Schristos 4339*ed0d50c3Schristos2000-11-13 H.J. Lu <hjl@gnu.org> 4340*ed0d50c3Schristos 4341*ed0d50c3Schristos * config/obj-elf.c (elf_frob_symbol): Support 4342*ed0d50c3Schristos ".symver name,name2@@@nodename". 4343*ed0d50c3Schristos (elf_frob_file_before_adjust): Likewise. 4344*ed0d50c3Schristos 4345*ed0d50c3Schristos * doc/as.texinfo: Updated for ".symver name,name2@@@nodename" 4346*ed0d50c3Schristos and ".symver name,name2@@@nodename". 4347*ed0d50c3Schristos Fix a typo. 4348*ed0d50c3Schristos 4349*ed0d50c3Schristos2000-11-12 H.J. Lu (hjl@gnu.org) 4350*ed0d50c3Schristos 4351*ed0d50c3Schristos * config/obj-elf.c (obj_elf_symver): Check missing version 4352*ed0d50c3Schristos name. 4353*ed0d50c3Schristos 4354*ed0d50c3Schristos2000-11-12 H.J. Lu (hjl@gnu.org) 4355*ed0d50c3Schristos 4356*ed0d50c3Schristos * dwarf2dbg.c (dwarf2_generate_asm_lineno): Use addressT 4357*ed0d50c3Schristos instead of bfd_vma for non-bfd assemblers. 4358*ed0d50c3Schristos 4359*ed0d50c3Schristos2000-11-09 Kazu Hirata <kazu@hxi.com> 4360*ed0d50c3Schristos 4361*ed0d50c3Schristos * itbl-ops.c: Fix comment typos. 4362*ed0d50c3Schristos 4363*ed0d50c3Schristos2000-11-08 Jim Wilson <wilson@redhat.com> 4364*ed0d50c3Schristos 4365*ed0d50c3Schristos * config/tc-ia64.c (struct unw_rec_list): Add slot_frag field. 4366*ed0d50c3Schristos (struct unwind): Add next_slot_frag field. 4367*ed0d50c3Schristos (slot_index): New parameters slot_frag and first_frag. Add code 4368*ed0d50c3Schristos to add in frag sizes when different. Add comments. 4369*ed0d50c3Schristos (fixup_unw_records): New locals first_frag and last_frag. Pass new 4370*ed0d50c3Schristos arguments to slot_index. 4371*ed0d50c3Schristos (emit_one_bundle): Set slot_frag field. Set next_slot_number after 4372*ed0d50c3Schristos loop end. Set next_slot_frag field. 4373*ed0d50c3Schristos 4374*ed0d50c3Schristos2000-11-07 H.J. Lu <hjl@gnu.org> 4375*ed0d50c3Schristos 4376*ed0d50c3Schristos * doc/as.texinfo (.symver): Updated for versioned symbol 4377*ed0d50c3Schristos reference. 4378*ed0d50c3Schristos 4379*ed0d50c3Schristos * obj.h (format_ops): Add the frob_file_before_adjust field. 4380*ed0d50c3Schristos 4381*ed0d50c3Schristos * config/obj-aout.c (aout_format_ops): Set the 4382*ed0d50c3Schristos frob_file_before_adjust field to 0. 4383*ed0d50c3Schristos * config/obj-coff.c (coff_format_ops): Likewise. 4384*ed0d50c3Schristos * config/obj-ecoff.c (ecoff_format_ops): Likewise. 4385*ed0d50c3Schristos 4386*ed0d50c3Schristos * config/obj-elf.c (obj_elf_symver): Allow duplicated version 4387*ed0d50c3Schristos name. 4388*ed0d50c3Schristos (elf_frob_file_before_adjust): New function to remove unneeded 4389*ed0d50c3Schristos versioned symbols from the symbol table. 4390*ed0d50c3Schristos (elf_format_ops): Set the frob_file_before_adjust field to 4391*ed0d50c3Schristos elf_frob_file_before_adjust. 4392*ed0d50c3Schristos 4393*ed0d50c3Schristos * config/obj-elf.h (obj_frob_file_before_adjust): Defined if 4394*ed0d50c3Schristos not defined. 4395*ed0d50c3Schristos 4396*ed0d50c3Schristos * config/obj-multi.h (obj_frob_file_before_adjust): Defined. 4397*ed0d50c3Schristos 4398*ed0d50c3Schristos2000-11-07 Peter Targett <peter.targett@arccores.com> 4399*ed0d50c3Schristos 4400*ed0d50c3Schristos * config/tc-arc.h: Avoid warnings for LITTLE_ENDIAN and 4401*ed0d50c3Schristos BIG_ENDIAN macros. 4402*ed0d50c3Schristos * config/tc-arc.c: Use S_IS_LOCAL to test local symbols. 4403*ed0d50c3Schristos Fix compile time warning messages. 4404*ed0d50c3Schristos 4405*ed0d50c3Schristos2000-11-07 Nick Clifton <nickc@redhat.com> 4406*ed0d50c3Schristos 4407*ed0d50c3Schristos * stabs.c (generate_asm_file): Increase length of xmalloc'ed 4408*ed0d50c3Schristos buffer in order to avoid buffer overflows. 4409*ed0d50c3Schristos 4410*ed0d50c3Schristos2000-11-06 Steve Ellcey <sje@cup.hp.com> 4411*ed0d50c3Schristos 4412*ed0d50c3Schristos * config/tc-ia64.c (md_shortopts, md_parse_option, md_show_usage): 4413*ed0d50c3Schristos Change M to m for -milp32 or -mlp64 to match gcc. 4414*ed0d50c3Schristos (dot_endp): Use bytes_per_address instead of 8. 4415*ed0d50c3Schristos (emit_one_bundle): Use number_to_chars_littleendian instead of 4416*ed0d50c3Schristos md_number_to_chars. 4417*ed0d50c3Schristos (fix_insn): Likewise. 4418*ed0d50c3Schristos (ia64_init): New function. 4419*ed0d50c3Schristos (ia64_target_format): New function. 4420*ed0d50c3Schristos (md_begin): Set endianness, arch, and machine as appropriate. 4421*ed0d50c3Schristos * config/tc-ia64.h: (TARGET_BYTES_BIG_ENDIAN, md_number_to_chars): 4422*ed0d50c3Schristos Make these macros depend on TE_HPUX macro. 4423*ed0d50c3Schristos (TARGET_FORMAT): Define. 4424*ed0d50c3Schristos (HOST_SPECIAL_INIT): Define. 4425*ed0d50c3Schristos * config/te-hpux.h: New file. 4426*ed0d50c3Schristos * configure.in: Add "ia64-*-hpux*" target to configure. 4427*ed0d50c3Schristos * configure: Regenerate. 4428*ed0d50c3Schristos 4429*ed0d50c3Schristos2000-11-06 Kazu Hirata <kazu@hxi.com> 4430*ed0d50c3Schristos 4431*ed0d50c3Schristos * as.c: Fix formatting. 4432*ed0d50c3Schristos * dwarf2dbg.c: Likewise. 4433*ed0d50c3Schristos * input-file.c: Likewise. 4434*ed0d50c3Schristos * input-file.h: Likewise. 4435*ed0d50c3Schristos * input-scrub.c: Likewise. 4436*ed0d50c3Schristos * itbl-ops.c: Likewise. 4437*ed0d50c3Schristos * listing.c: Likewise. 4438*ed0d50c3Schristos * macro.h: Likewise. 4439*ed0d50c3Schristos * messages.c: Likewise. 4440*ed0d50c3Schristos * read.c: Likewise. 4441*ed0d50c3Schristos * subsegs.c: Likewise. 4442*ed0d50c3Schristos * subsegs.h: Likewise. 4443*ed0d50c3Schristos * write.c: Likewise. 4444*ed0d50c3Schristos 4445*ed0d50c3Schristos2000-11-06 Nick Clifton <nickc@redhat.com> 4446*ed0d50c3Schristos 4447*ed0d50c3Schristos * doc/as.texinfo: Add GNU Free Documentation License. 4448*ed0d50c3Schristos * doc/gasp.texi: Add GNU Free Documentation License. 4449*ed0d50c3Schristos * doc/as.1: Add GNU Free Documentation License. 4450*ed0d50c3Schristos 4451*ed0d50c3Schristos2000-11-05 Nick Clifton <nickc@redhat.com> 4452*ed0d50c3Schristos 4453*ed0d50c3Schristos * config/tc-arm.c: Add include of "dwarf2dbg.h" 4454*ed0d50c3Schristos 4455*ed0d50c3Schristos2000-11-02 Per Lundberg <plundis@chaosdev.org> 4456*ed0d50c3Schristos 4457*ed0d50c3Schristos * configure.in: Recognise i[3456]86-chaosdev-storm-chaos. 4458*ed0d50c3Schristos * configure: Regenerate. 4459*ed0d50c3Schristos 4460*ed0d50c3Schristos2000-11-01 Nick Clifton <nickc@redhat.com> 4461*ed0d50c3Schristos 4462*ed0d50c3Schristos * read.c (original_case_string): New global variable. 4463*ed0d50c3Schristos (read_a_source_file): Copy opcode string into 4464*ed0d50c3Schristos original_case_string if clobbering the case of the opcode. 4465*ed0d50c3Schristos * read.h: Export the definition of original_case_string. 4466*ed0d50c3Schristos * config/tc-arm.c (md_assembler): When parsing a .req 4467*ed0d50c3Schristos directive use the original opcode string, not the case 4468*ed0d50c3Schristos clobbered version. 4469*ed0d50c3Schristos 4470*ed0d50c3Schristos2000-11-02 Nick Clifton <nickc@redhat.com> 4471*ed0d50c3Schristos 4472*ed0d50c3Schristos * config/tc-mn10300.c (debug_line): Remove this static 4473*ed0d50c3Schristos variable. 4474*ed0d50c3Schristos (md_assemble): Call dwarf2_generate_asm_lineno instead of 4475*ed0d50c3Schristos dwarf2_where and dwarf2_gen_line_info. 4476*ed0d50c3Schristos 4477*ed0d50c3Schristos2000-11-02 Theo Honohan <th@futuretv.com> 4478*ed0d50c3Schristos 4479*ed0d50c3Schristos * config/tc-arm.c (do_msr): Improve error message. 4480*ed0d50c3Schristos 4481*ed0d50c3Schristos2000-10-31 Eric Christopher <echristo@redhat.com> 4482*ed0d50c3Schristos 4483*ed0d50c3Schristos * config/tc-mn10300.c (md_apply_fix3): Use valuep if fully resolved 4484*ed0d50c3Schristos or pc-relative, else use fx_offset. 4485*ed0d50c3Schristos 4486*ed0d50c3Schristos2000-10-31 Jim Wilson <wilson@redhat.com> 4487*ed0d50c3Schristos 4488*ed0d50c3Schristos * config/tc-ia64.c (struct md): New field tag_fixups. 4489*ed0d50c3Schristos (ia64_flush_insns): Handle tag_fixups. Error if dangling 4490*ed0d50c3Schristos qualifying predicate. 4491*ed0d50c3Schristos (emit_one_bundle): Delete spurious multiplication by one. Handle 4492*ed0d50c3Schristos tag_fixups. 4493*ed0d50c3Schristos (ia64_start_line): Error if dangling qualifying predicate. 4494*ed0d50c3Schristos (defining_tag): New static variable. 4495*ed0d50c3Schristos (ia64_unrecognized_line, case '['): Parse tags. 4496*ed0d50c3Schristos (ia64_frob_label): Create tag_fixups. 4497*ed0d50c3Schristos (md_assemble): Reset md.qp.X_op after using it. 4498*ed0d50c3Schristos 4499*ed0d50c3Schristos2000-10-31 Kaz Kojima <kkojima@rr.iij4u.or.jp> 4500*ed0d50c3Schristos 4501*ed0d50c3Schristos * config/tc-sh.c (md_apply_fix [BFD_RELOC_SH_PCDISP12BY2]): Allow 4094. 4502*ed0d50c3Schristos 4503*ed0d50c3Schristos2000-10-31 Bernd Schmidt <bernds@redhat.co.uk> 4504*ed0d50c3Schristos 4505*ed0d50c3Schristos * config/tc-ia64.c (extra_goodness): Only prefer F in slot 1 and B in slot 2. 4506*ed0d50c3Schristos 4507*ed0d50c3Schristos2000-10-30 Kazu Hirata <kazu@hxi.com> 4508*ed0d50c3Schristos 4509*ed0d50c3Schristos * expr.c: Fix formatting. 4510*ed0d50c3Schristos * flonum-copy.c: Likewise. 4511*ed0d50c3Schristos * flonum.h: Likewise. 4512*ed0d50c3Schristos * gasp.c: Likewise. 4513*ed0d50c3Schristos * hash.c: Likewise. 4514*ed0d50c3Schristos 4515*ed0d50c3Schristos2000-10-30 Hans-Peter Nilsson <hp@bitrange.com> 4516*ed0d50c3Schristos 4517*ed0d50c3Schristos * as.h (OPTION_MD_BASE): Bump to 190. 4518*ed0d50c3Schristos * as.c (parse_args) <std_longopts>: Add comment about the need to 4519*ed0d50c3Schristos check OPTION_MD_BASE in as.h. 4520*ed0d50c3Schristos 4521*ed0d50c3Schristos * config/tc-sh.c (md_apply_fix): For ELF, do not "adjust back" VAL 4522*ed0d50c3Schristos for weak symbols. 4523*ed0d50c3Schristos 4524*ed0d50c3Schristos2000-10-27 Nick Clifton <nickc@redhat.com> 4525*ed0d50c3Schristos 4526*ed0d50c3Schristos * configure.in (emulations): Add m68hc12. 4527*ed0d50c3Schristos * configure: Regenerate. 4528*ed0d50c3Schristos * po/gas.pot: Regenerate. 4529*ed0d50c3Schristos 4530*ed0d50c3Schristos2000-10-27 Aldy Hernandez <aldyh@redhat.com> 4531*ed0d50c3Schristos 4532*ed0d50c3Schristos * config/tc-arm.c (psrs): Remove lowercase versions of spsr* and 4533*ed0d50c3Schristos cpsr*. 4534*ed0d50c3Schristos (arm_psr_parse): Handle lowercase CPSR and SPSR. 4535*ed0d50c3Schristos 4536*ed0d50c3Schristos2000-10-25 Nick Clifton <nickc@redhat.com> 4537*ed0d50c3Schristos 4538*ed0d50c3Schristos * dwarf2out.c (dwarf2_generate_asm_lineno): New function: Generate 4539*ed0d50c3Schristos a DWARF2 line number information sequence. 4540*ed0d50c3Schristos 4541*ed0d50c3Schristos *dwarf2out.h: Add prototype for dwarf2_generate_asm_lineno. 4542*ed0d50c3Schristos 4543*ed0d50c3Schristos * read.c (generate_lineno_debug): Update comment describing why 4544*ed0d50c3Schristos DWARF2 line number debug information is not generated 4545*ed0d50c3Schristos automatically by this function. 4546*ed0d50c3Schristos 4547*ed0d50c3Schristos * doc/as.texinfo: Note that --gdwarf2 only works on some targets, 4548*ed0d50c3Schristos not all. 4549*ed0d50c3Schristos 4550*ed0d50c3Schristos * config/tc-arm.h (md_end): Define. 4551*ed0d50c3Schristos (DWARF2_LINE_MIN_INSN_LENGTH): Define. 4552*ed0d50c3Schristos 4553*ed0d50c3Schristos * config/tc-arm.c (output_inst): Call dwarf2_generate_asm_lineno 4554*ed0d50c3Schristos if generating DWARF2 line numbers. 4555*ed0d50c3Schristos (arm_end_of_source): New function. Call dwarf2_finish if 4556*ed0d50c3Schristos necessary. 4557*ed0d50c3Schristos 4558*ed0d50c3Schristos * config/tc-hppa.c (md_assemble): Use dwarf2_generate_asm_lineno. 4559*ed0d50c3Schristos * config/tc-m68hc11.c (m68hc11_new_insn): Use dwarf2_generate_asm_lineno. 4560*ed0d50c3Schristos * config/tc-sh.c (md_assemble): Use dwarf2_generate_asm_lineno. 4561*ed0d50c3Schristos 4562*ed0d50c3Schristos2000-10-25 Diego Novillo <dnovillo@cygnus.com> 4563*ed0d50c3Schristos 4564*ed0d50c3Schristos * config/tc-i386.c: Fix prototype declarations for functions taking no 4565*ed0d50c3Schristos arguments. 4566*ed0d50c3Schristos 4567*ed0d50c3Schristos2000-10-24 Diego Novillo <dnovillo@cygnus.com> 4568*ed0d50c3Schristos 4569*ed0d50c3Schristos * config/tc-i386.c (i386_operand_modifier): Remove. 4570*ed0d50c3Schristos (build_displacement_string): Remove. 4571*ed0d50c3Schristos (i386_parse_seg): Remove. 4572*ed0d50c3Schristos (i386_intel_memory_operand): Remove. 4573*ed0d50c3Schristos (i386_intel_operand): Re-write using recursive descent parser based 4574*ed0d50c3Schristos on MASM documentation. 4575*ed0d50c3Schristos (struct intel_parser_s): New structure. 4576*ed0d50c3Schristos (intel_parser): New static variable. 4577*ed0d50c3Schristos (struct intel_token): New structure. 4578*ed0d50c3Schristos (cur_token, prev_token): New static variables. 4579*ed0d50c3Schristos (T_NIL): Define. 4580*ed0d50c3Schristos (T_CONST): Define. 4581*ed0d50c3Schristos (T_REG): Define. 4582*ed0d50c3Schristos (T_BYTE): Define. 4583*ed0d50c3Schristos (T_WORD): Define. 4584*ed0d50c3Schristos (T_DWORD): Define. 4585*ed0d50c3Schristos (T_QWORD): Define. 4586*ed0d50c3Schristos (T_XWORD): Define. 4587*ed0d50c3Schristos (T_SHORT): Define. 4588*ed0d50c3Schristos (T_OFFSET): Define. 4589*ed0d50c3Schristos (T_PTR): Define. 4590*ed0d50c3Schristos (T_ID): Define. 4591*ed0d50c3Schristos (intel_match_token): New function. 4592*ed0d50c3Schristos (intel_get_token): New function. 4593*ed0d50c3Schristos (intel_putback_token): New function. 4594*ed0d50c3Schristos (intel_expr): New function. 4595*ed0d50c3Schristos (intel_e05): New function. 4596*ed0d50c3Schristos (intel_e05_1): New function. 4597*ed0d50c3Schristos (intel_e06): New function. 4598*ed0d50c3Schristos (intel_e06_1): New function. 4599*ed0d50c3Schristos (intel_e09): New function. 4600*ed0d50c3Schristos (intel_e09_1): New function. 4601*ed0d50c3Schristos (intel_e10): New function. 4602*ed0d50c3Schristos (intel_e10_1): New function. 4603*ed0d50c3Schristos (intel_e11): New function. 4604*ed0d50c3Schristos 4605*ed0d50c3Schristos2000-10-20 Jakub Jelinek <jakub@redhat.com> 4606*ed0d50c3Schristos 4607*ed0d50c3Schristos * config/tc-sparc.c (sparc_ip): Fix a bug which caused v9_arg_p 4608*ed0d50c3Schristos instructions to loose any special insn->architecture mask. 4609*ed0d50c3Schristos 4610*ed0d50c3Schristos * config/tc-sparc.c (v9a_asr_table): Add v9b ASRs. 4611*ed0d50c3Schristos (sparc_md_end, sparc_arch_types, sparc_arch, 4612*ed0d50c3Schristos sparc_elf_final_processing): Handle v8plusb and v9b architectures. 4613*ed0d50c3Schristos (sparc_ip): Handle siam mode operands. Support v9b ASRs (and 4614*ed0d50c3Schristos request v9b architecture if they are used). 4615*ed0d50c3Schristos 4616*ed0d50c3Schristos2000-10-18 Michael Sokolov <msokolov@ivan.Harhan.ORG> 4617*ed0d50c3Schristos 4618*ed0d50c3Schristos * config/tc-m68k.c: Fix the previous misapplied patch. 4619*ed0d50c3Schristos 4620*ed0d50c3Schristos2000-10-18 Michael Sokolov <msokolov@ivan.Harhan.ORG> 4621*ed0d50c3Schristos 4622*ed0d50c3Schristos * config/tc-m68k.h (RELAX_RELOC_*): New definitions for both 4623*ed0d50c3Schristos BFD_ASSEMBLER and !BFD_ASSEMBLER. 4624*ed0d50c3Schristos * config/tc-m68k.c (md_convert_frag_1): Use them instead of 4625*ed0d50c3Schristos BFD_RELOC_*. 4626*ed0d50c3Schristos 4627*ed0d50c3Schristos2000-10-17 Kazu Hirata <kazu@hxi.com> 4628*ed0d50c3Schristos 4629*ed0d50c3Schristos * debug.c: Fix formatting. 4630*ed0d50c3Schristos * depend.c: Likewise. 4631*ed0d50c3Schristos * dwarf2dbg.c: Likewise. 4632*ed0d50c3Schristos * dwarf2dbg.h: Likewise. 4633*ed0d50c3Schristos * ecoff.c: Likewise. 4634*ed0d50c3Schristos * expr.c: Likewise. 4635*ed0d50c3Schristos * expr.h: Likewise. 4636*ed0d50c3Schristos * flonum-konst.c: Likewise. 4637*ed0d50c3Schristos * frags.h: Likewise. 4638*ed0d50c3Schristos 4639*ed0d50c3Schristos2000-10-17 Chandrakala Chavva <cchavva@redhat.com> 4640*ed0d50c3Schristos 4641*ed0d50c3Schristos * as.c: New option OPTION_TARGET_HELP. Prints all target specific 4642*ed0d50c3Schristos options. 4643*ed0d50c3Schristos * doc/as.texinfo: Added notes about this new option. 4644*ed0d50c3Schristos 4645*ed0d50c3Schristos2000-10-16 Hans-Peter Nilsson <hp@bitrange.com> 4646*ed0d50c3Schristos 4647*ed0d50c3Schristos * config/tc-sh.c (JREG): Remove. 4648*ed0d50c3Schristos (md_convert_frag): Remove #if 0:d code using JREG. 4649*ed0d50c3Schristos 4650*ed0d50c3Schristos2000-10-15 Diego Novillo <dnovillo@cygnus.com> 4651*ed0d50c3Schristos 4652*ed0d50c3Schristos * config/tc-i386.c (i386_operand_modifier): Only match 4653*ed0d50c3Schristos modifiers SHORT and FLAT if they are followed by a space. 4654*ed0d50c3Schristos (parse_register): When `allow_naked_reg' is set, do not confuse 4655*ed0d50c3Schristos identifiers that start with a register name with a register. 4656*ed0d50c3Schristos 4657*ed0d50c3Schristos2000-10-12 Kazu Hirata <kazu@hxi.com> 4658*ed0d50c3Schristos 4659*ed0d50c3Schristos * app.c: Fix formatting. 4660*ed0d50c3Schristos * as.c: Likewise. 4661*ed0d50c3Schristos * as.h: Likewise. 4662*ed0d50c3Schristos * bit_fix.h: Likewise. 4663*ed0d50c3Schristos * cgen.c: Likewise. 4664*ed0d50c3Schristos * cgen.h: Likewise. 4665*ed0d50c3Schristos * cond.c: Likewise. 4666*ed0d50c3Schristos 4667*ed0d50c3Schristos2000-10-11 Alan Modra <alan@linuxcare.com.au> 4668*ed0d50c3Schristos 4669*ed0d50c3Schristos * config/obj-elf.c (elf_frob_symbol): Revert 2000-10-07 change. 4670*ed0d50c3Schristos 4671*ed0d50c3Schristos2000-10-07 Alan Modra <alan@linuxcare.com.au> 4672*ed0d50c3Schristos 4673*ed0d50c3Schristos * config/tc-hppa.c (md_apply_fix): Remove plainly wrong assert. 4674*ed0d50c3Schristos Re-arrange function a little and improve error message. 4675*ed0d50c3Schristos 4676*ed0d50c3Schristos * write.c (write_relocs): Fix a comment. 4677*ed0d50c3Schristos 4678*ed0d50c3Schristos * config/obj-elf.c (elf_frob_symbol): Make section syms global on 4679*ed0d50c3Schristos link-once sections. 4680*ed0d50c3Schristos 4681*ed0d50c3Schristos2000-10-05 Jim Wilson <wilson@cygnus.com> 4682*ed0d50c3Schristos 4683*ed0d50c3Schristos * config/tc-ia64.c (resources_match): Handle IA64_RS_PRr. 4684*ed0d50c3Schristos 4685*ed0d50c3Schristos2000-10-05 Alan Modra <alan@linuxcare.com.au> 4686*ed0d50c3Schristos 4687*ed0d50c3Schristos * config/tc-i386.c: Delete some useless comments, reformat others. 4688*ed0d50c3Schristos 4689*ed0d50c3Schristos * config/tc-i386.h (TC_FIX_ADJUSTABLE): Add check to cover 4690*ed0d50c3Schristos non-global syms in linkonce sections. 4691*ed0d50c3Schristos 4692*ed0d50c3Schristos2000-10-04 Ralf Baechle <ralf@gnu.org> 4693*ed0d50c3Schristos 4694*ed0d50c3Schristos * config/tc-ia64.c (operand_match): Don't use // style comments. 4695*ed0d50c3Schristos * config/tc-i370.c: Likewise. 4696*ed0d50c3Schristos 4697*ed0d50c3Schristos2000-09-29 Hans-Peter Nilsson <hp@axis.com> 4698*ed0d50c3Schristos 4699*ed0d50c3Schristos Changes to handle varying register prefix and user symbol prefix. 4700*ed0d50c3Schristos * config/tc-cris.c (SYNTAX_RELAX_REG_PREFIX, 4701*ed0d50c3Schristos SYNTAX_ENFORCE_REG_PREFIX, SYNTAX_USER_SYM_LEADING_UNDERSCORE, 4702*ed0d50c3Schristos SYNTAX_USER_SYM_NO_LEADING_UNDERSCORE, REGISTER_PREFIX_CHAR): New. 4703*ed0d50c3Schristos (s_syntax, cris_force_reg_prefix, cris_relax_reg_prefix, 4704*ed0d50c3Schristos cris_sym_leading_underscore, cris_sym_no_leading_underscore): New. 4705*ed0d50c3Schristos (demand_register_prefix): New variable. 4706*ed0d50c3Schristos (md_pseudo_table): New pseudo ".syntax". 4707*ed0d50c3Schristos (md_longopts): New options --no-underscore and --underscore. 4708*ed0d50c3Schristos (cris_target_format): Return elf32-us-cris or elf32-cris depending 4709*ed0d50c3Schristos on symbols_have_leading_underscore. 4710*ed0d50c3Schristos (get_gen_reg): Accept or require REGISTER_PREFIX_CHAR. 4711*ed0d50c3Schristos (get_spec_reg): Ditto. 4712*ed0d50c3Schristos (cris_number_to_imm) <case BFD_RELOC_VTABLE_ENTRY>: Remove FIXME. 4713*ed0d50c3Schristos Fix formatting. 4714*ed0d50c3Schristos (md_parse_option) <case 'h' 'H'>: Deprecate; add reference to 4715*ed0d50c3Schristos --help. 4716*ed0d50c3Schristos <case OPTION_NO_US, case OPTION_US>: New. 4717*ed0d50c3Schristos (md_show_usage): Be brief and reformat to match continuation of 4718*ed0d50c3Schristos --help. 4719*ed0d50c3Schristos * po/gas.pot: Regenerate. 4720*ed0d50c3Schristos 4721*ed0d50c3Schristos2000-09-28 Alan Modra <alan@linuxcare.com.au> 4722*ed0d50c3Schristos 4723*ed0d50c3Schristos * config/tc-hppa.c (hppa_force_relocation): If OBJ_SOM, don't 4724*ed0d50c3Schristos force relocs for 12 bit branches. 4725*ed0d50c3Schristos (md_apply_fix): Similarly, adjust logic here. 4726*ed0d50c3Schristos 4727*ed0d50c3Schristos2000-09-28 Alan Modra <alan@linuxcare.com.au> 4728*ed0d50c3Schristos 4729*ed0d50c3Schristos * config/tc-hppa.c (md_apply_fix): Add fmt assertion. Don't 4730*ed0d50c3Schristos adjust for external and weak syms as we will use a reloc. Allow 4731*ed0d50c3Schristos for +8 offset when calculating limits of branches. 4732*ed0d50c3Schristos (hppa_fix_adjustable): Undo 2000-09-23 change. 4733*ed0d50c3Schristos (hppa_force_relocation): Likewise. Add fx_addsy assertion. 4734*ed0d50c3Schristos Correct distance calculation. 4735*ed0d50c3Schristos (tc_gen_reloc): Print the file name and line number if we can't 4736*ed0d50c3Schristos handle a fixup. 4737*ed0d50c3Schristos 4738*ed0d50c3Schristos From John David Anglin <dave@hiauly1.hia.nrc.ca> 4739*ed0d50c3Schristos * config/tc-hppa.c (nonzero_dibits): Define. 4740*ed0d50c3Schristos (arg_reloc_stub_needed): Check each arg and return value 4741*ed0d50c3Schristos separately for zero case. 4742*ed0d50c3Schristos (pa_align): Declare argument `bytes'. 4743*ed0d50c3Schristos 4744*ed0d50c3Schristos2000-09-25 Kazu Hirata <kazu@hxi.com> 4745*ed0d50c3Schristos 4746*ed0d50c3Schristos * config/tc-cris.c: Fix formatting. 4747*ed0d50c3Schristos * config/tc-d10v.h: Likewise. 4748*ed0d50c3Schristos * config/tc-d30v.c: Likewise. 4749*ed0d50c3Schristos * config/tc-d30v.h: Likewise. 4750*ed0d50c3Schristos * config/tc-fr30.c: Likewise. 4751*ed0d50c3Schristos * config/tc-fr30.h: Likewise. 4752*ed0d50c3Schristos * config/tc-m68k.c: Likewise. 4753*ed0d50c3Schristos * config/tc-m68k.h: Likewise. 4754*ed0d50c3Schristos * config/tc-pj.h: Likewise. 4755*ed0d50c3Schristos * config/tc-ppc.c: Likewise. 4756*ed0d50c3Schristos * config/tc-ppc.h: Likewise. 4757*ed0d50c3Schristos * config/tc-sh.c: Likewise. 4758*ed0d50c3Schristos * config/tc-sh.h: Likewise. 4759*ed0d50c3Schristos * config/tc-sparc.c: Likewise. 4760*ed0d50c3Schristos * config/tc-v850.h: Likewise. 4761*ed0d50c3Schristos * config/tc-vax.h: Likewise. 4762*ed0d50c3Schristos * config/tc-w65.h: Likewise. 4763*ed0d50c3Schristos * config/tc-z8k.h: Likewise. 4764*ed0d50c3Schristos 4765*ed0d50c3Schristos2000-09-23 Alan Modra <alan@linuxcare.com.au> 4766*ed0d50c3Schristos 4767*ed0d50c3Schristos * config/tc-hppa.c (hppa_fix_adjustable): Do the external and weak 4768*ed0d50c3Schristos checks only for ELF. 4769*ed0d50c3Schristos (hppa_force_relocation): Likewise. 4770*ed0d50c3Schristos 4771*ed0d50c3Schristos2000-09-22 Jim Wilson <wilson@cygnus.com> 4772*ed0d50c3Schristos 4773*ed0d50c3Schristos * config/tc-ia64.c (dv_sem): Add "stop". 4774*ed0d50c3Schristos (specify_resource, case IA64_RS_PR): Only handles regs 1 to 15 now. 4775*ed0d50c3Schristos (specify_resource, case IA64_RS_PRr): New for regs 16 to 62. 4776*ed0d50c3Schristos (specify_resource, case IA64_RS_PR63): Reorder (note == 7) test to 4777*ed0d50c3Schristos match above. 4778*ed0d50c3Schristos (mark_resources): Check IA64_RS_PRr. 4779*ed0d50c3Schristos 4780*ed0d50c3Schristos2000-09-22 Michael Sokolov <msokolov@ivan.Harhan.ORG> 4781*ed0d50c3Schristos 4782*ed0d50c3Schristos * config/tc-m68k.c (md_relax_table, m68k_ip, md_convert_frag_1, 4783*ed0d50c3Schristos md_estimate_size_before_relax): Redesign and clean up the 4784*ed0d50c3Schristos relaxation mechanism. 4785*ed0d50c3Schristos 4786*ed0d50c3Schristos2000-09-21 Kazu Hirata <kazu@hxi.com> 4787*ed0d50c3Schristos 4788*ed0d50c3Schristos * config/tc-ns32k.c: Fix formatting. 4789*ed0d50c3Schristos * config/tc-ns32k.h: Likewise. 4790*ed0d50c3Schristos 4791*ed0d50c3Schristos2000-09-20 Kazu Hirata <kazu@hxi.com> 4792*ed0d50c3Schristos 4793*ed0d50c3Schristos * config/tc-m32r.c: Fix formatting. 4794*ed0d50c3Schristos * config/tc-m32r.h: Likewise. 4795*ed0d50c3Schristos * config/tc-m68851.h: Likewise. 4796*ed0d50c3Schristos * config/tc-m68hc11.c: Likewise. 4797*ed0d50c3Schristos * config/tc-m68hc11.h: Likewise. 4798*ed0d50c3Schristos * config/tc-m88k.c: Likewise. 4799*ed0d50c3Schristos * config/tc-mcore.c: Likewise. 4800*ed0d50c3Schristos * config/tc-mcore.h: Likewise. 4801*ed0d50c3Schristos * config/tc-mips.c: Likewise. 4802*ed0d50c3Schristos * config/tc-mips.h: Likewise. 4803*ed0d50c3Schristos * config/tc-mn10200.h: Likewise. 4804*ed0d50c3Schristos * config/tc-mn10300.h: Likewise. 4805*ed0d50c3Schristos * config/tc-tahoe.c: Likewise. 4806*ed0d50c3Schristos * config/tc-tahoe.h: Likewise. 4807*ed0d50c3Schristos 4808*ed0d50c3Schristos2000-09-19 Michael Sokolov <msokolov@ivan.Harhan.ORG> 4809*ed0d50c3Schristos 4810*ed0d50c3Schristos * config/tc-vax.c (synthetic_votstrs): Remove jbssi and jbcci. 4811*ed0d50c3Schristos Likewise in relaxation description comments. 4812*ed0d50c3Schristos 4813*ed0d50c3Schristos2000-09-18 Alan Modra <alan@linuxcare.com.au> 4814*ed0d50c3Schristos 4815*ed0d50c3Schristos * config/tc-hppa.h (TC_FORCE_RELOCATION_SECTION): Allow 4816*ed0d50c3Schristos subtraction of two syms without emitting a relocation. 4817*ed0d50c3Schristos 4818*ed0d50c3Schristos From David Huggins-Daines <dhd@linuxcare.com> 4819*ed0d50c3Schristos * config/tc-hppa.c (hppa_force_relocation): Force relocations for 4820*ed0d50c3Schristos global or weak symbols. 4821*ed0d50c3Schristos 4822*ed0d50c3Schristos2000-09-15 Kazu Hirata <kazu@hxi.com> 4823*ed0d50c3Schristos 4824*ed0d50c3Schristos * config/tc-h8300.h: Fix formatting. 4825*ed0d50c3Schristos * config/tc-h8500.c: Likewise. 4826*ed0d50c3Schristos * config/tc-h8500.h: Likewise. 4827*ed0d50c3Schristos * config/tc-hppa.h: Likewise. 4828*ed0d50c3Schristos * config/tc-i370.h: Likewise. 4829*ed0d50c3Schristos * config/tc-i386.h: Likewise. 4830*ed0d50c3Schristos * config/tc-i860.c: Likewise. 4831*ed0d50c3Schristos * config/tc-i860.h: Likewise. 4832*ed0d50c3Schristos * config/tc-i960.h: Likewise. 4833*ed0d50c3Schristos * config/tc-ia64.c: Likewise. 4834*ed0d50c3Schristos * config/tc-ia64.h: Likewise. 4835*ed0d50c3Schristos 4836*ed0d50c3Schristos2000-09-14 Kazu Hirata <kazu@hxi.com> 4837*ed0d50c3Schristos 4838*ed0d50c3Schristos * config/tc-a29k.c: Fix formatting. 4839*ed0d50c3Schristos * config/tc-alpha.c: Likewise. 4840*ed0d50c3Schristos * config/tc-arc.c: Likewise. 4841*ed0d50c3Schristos * config/tc-arc.h: Likewise. 4842*ed0d50c3Schristos * config/tc-arm.c: Likewise. 4843*ed0d50c3Schristos * config/tc-arm.h: Likewise. 4844*ed0d50c3Schristos * config/tc-avr.c: Likewise. 4845*ed0d50c3Schristos * config/tc-avr.h: Likewise. 4846*ed0d50c3Schristos * config/tc-tic30.c: Likewise. 4847*ed0d50c3Schristos * config/tc-tic30.h: Likewise. 4848*ed0d50c3Schristos * config/tc-tic54x.c: Likewise. 4849*ed0d50c3Schristos * config/tc-tic54x.h: Likewise. 4850*ed0d50c3Schristos * config/tc-tic80.c: Likewise. 4851*ed0d50c3Schristos * config/tc-tic80.h: Likewise. 4852*ed0d50c3Schristos 4853*ed0d50c3Schristos2000-09-14 Timothy Wall <twall@cygnus.com> 4854*ed0d50c3Schristos 4855*ed0d50c3Schristos * config/tc-ia64.c (specify_resource): For PR%/PR63, note types of 4856*ed0d50c3Schristos parallel comparisons for later use. 4857*ed0d50c3Schristos (struct rsrc): Add parallel comparison type. 4858*ed0d50c3Schristos (resources_match): Skip special cases of PR usage (non-conflicting 4859*ed0d50c3Schristos parallel compares). 4860*ed0d50c3Schristos 4861*ed0d50c3Schristos2000-09-13 Kazu Hirata <kazu@hxi.com> 4862*ed0d50c3Schristos 4863*ed0d50c3Schristos * config/obj-ecoff.c: Fix formatting. 4864*ed0d50c3Schristos * config/obj-elf.c: Likewise. 4865*ed0d50c3Schristos * config/obj-elf.h: Likewise. 4866*ed0d50c3Schristos * config/obj-evax.h: Likewise. 4867*ed0d50c3Schristos * config/obj-generic.h: Likewise. 4868*ed0d50c3Schristos * config/obj-hp300.c: Likewise. 4869*ed0d50c3Schristos * config/obj-hp300.h: Likewise. 4870*ed0d50c3Schristos * config/obj-ieee.h: Likewise. 4871*ed0d50c3Schristos * config/obj-vms.c: Likewise. 4872*ed0d50c3Schristos * config/obj-vms.h: Likewise. 4873*ed0d50c3Schristos 4874*ed0d50c3Schristos2000-09-13 Anders Norlander <anorland@acc.umu.se> 4875*ed0d50c3Schristos 4876*ed0d50c3Schristos * config/tc-mips.c (md_begin): Recognize 4Kc, 4Km and 4Kp processors. 4877*ed0d50c3Schristos (md_parse_option): Ditto. 4878*ed0d50c3Schristos (md_longopts): Add -mips32 option. 4879*ed0d50c3Schristos (md_show_usage): Document new options. 4880*ed0d50c3Schristos (mips_ip): Assemble sdbbp 20 bit 'm' args for MIPS32. 4881*ed0d50c3Schristos (mips_ip): Assemble mfc0 with a sub-selection code. 4882*ed0d50c3Schristos (validate_mips_insn): Handle 'H' (OP_*_SEL) and 'm' (OP_*_CODE20). 4883*ed0d50c3Schristos (mips_cpu_to_str): New function. 4884*ed0d50c3Schristos (mips_ip): Use mips_cpu_to_str instead of printing numeric cpu value. 4885*ed0d50c3Schristos Use CPU_* defines instead of hardcoded numbers. 4886*ed0d50c3Schristos 4887*ed0d50c3Schristos * doc/as.texinfo: Document new options. 4888*ed0d50c3Schristos * doc/c-mips.texi: Ditto. 4889*ed0d50c3Schristos 4890*ed0d50c3Schristos2000-09-12 Kazu Hirata <kazu@hxi.com> 4891*ed0d50c3Schristos 4892*ed0d50c3Schristos * as.h: Fix formatting. 4893*ed0d50c3Schristos * asintl.h: Likewise. 4894*ed0d50c3Schristos * bit_fix.h: Likewise. 4895*ed0d50c3Schristos * config/obj-aout.c: Likewise. 4896*ed0d50c3Schristos * config/obj-aout.h: Likewise. 4897*ed0d50c3Schristos * config/obj-bout.c: Likewise. 4898*ed0d50c3Schristos * config/obj-bout.h: Likewise. 4899*ed0d50c3Schristos * config/obj-coff.c: Likewise. 4900*ed0d50c3Schristos * config/obj-coff.h: Likewise. 4901*ed0d50c3Schristos * dwarf2dbg.h: Likewise. 4902*ed0d50c3Schristos * expr.h: Likewise. 4903*ed0d50c3Schristos * flonum.h: Likewise. 4904*ed0d50c3Schristos * frags.h: Likewise. 4905*ed0d50c3Schristos * itbl-ops.h: Likewise. 4906*ed0d50c3Schristos * macro.h: Likewise. 4907*ed0d50c3Schristos * read.h: Likewise. 4908*ed0d50c3Schristos * sb.h: Likewise. 4909*ed0d50c3Schristos * struc-symbol.h: Likewise. 4910*ed0d50c3Schristos * subsegs.h: Likewise. 4911*ed0d50c3Schristos * symbols.h: Likewise. 4912*ed0d50c3Schristos * tc.h: Likewise. 4913*ed0d50c3Schristos * write.h: Likewise. 4914*ed0d50c3Schristos 4915*ed0d50c3Schristos2000-09-11 Kazu Hirata <kazu@hxi.com> 4916*ed0d50c3Schristos 4917*ed0d50c3Schristos * bignum-copy.c: Fix formatting. 4918*ed0d50c3Schristos * config/tc-i370.c: Likewise. 4919*ed0d50c3Schristos * config/tc-i960.c: Likewise. 4920*ed0d50c3Schristos * config/tc-m68k.c: Likewise. 4921*ed0d50c3Schristos * ehopt.c: Likewise. 4922*ed0d50c3Schristos * flonum-copy.c: Likewise. 4923*ed0d50c3Schristos * flonum-konst.c: Likewise. 4924*ed0d50c3Schristos * flonum-mult.c: Likewise. 4925*ed0d50c3Schristos * literal.c: Likewise. 4926*ed0d50c3Schristos * read.c: Likewise. 4927*ed0d50c3Schristos * sb.c: Likewise. 4928*ed0d50c3Schristos * stabs.c: Likewise. 4929*ed0d50c3Schristos * subsegs.c: Likewise. 4930*ed0d50c3Schristos 4931*ed0d50c3Schristos2000-09-09 Philip Blundell <philb@gnu.org> 4932*ed0d50c3Schristos 4933*ed0d50c3Schristos * configure.in (arm*-*-uclinux*): New target. 4934*ed0d50c3Schristos * configure: Regenerate. 4935*ed0d50c3Schristos 4936*ed0d50c3Schristos2000-09-09 Kazu Hirata <kazu@hxi.com> 4937*ed0d50c3Schristos 4938*ed0d50c3Schristos * input-file.c: Fix formatting. 4939*ed0d50c3Schristos * itbl-ops.c: Likewise. 4940*ed0d50c3Schristos * messages.c: Likewise. 4941*ed0d50c3Schristos 4942*ed0d50c3Schristos2000-09-08 Philip Blundell <philb@gnu.org> 4943*ed0d50c3Schristos 4944*ed0d50c3Schristos * config/tc-arm.c (md_apply_fix3): Correct handling of ADRL when 4945*ed0d50c3Schristos offset is negative. 4946*ed0d50c3Schristos 4947*ed0d50c3Schristos2000-09-07 H.J. Lu <hjl@gnu.org> 4948*ed0d50c3Schristos 4949*ed0d50c3Schristos * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM. 4950*ed0d50c3Schristos * configure: Rebuild. 4951*ed0d50c3Schristos 4952*ed0d50c3Schristos2000-09-07 Kazu Hirata <kazu@hxi.com> 4953*ed0d50c3Schristos 4954*ed0d50c3Schristos * atof-generic.c: Fix formatting. 4955*ed0d50c3Schristos * config/tc-mips.c: Likewise. 4956*ed0d50c3Schristos * config/tc-vax.c: Likewise. 4957*ed0d50c3Schristos * input-scrub.c: Likewise. 4958*ed0d50c3Schristos 4959*ed0d50c3Schristos2000-09-07 Alexandre Oliva <aoliva@redhat.com> 4960*ed0d50c3Schristos 4961*ed0d50c3Schristos * config/tc-sh.h (TARGET_FORMAT): Use sh-linux targets. 4962*ed0d50c3Schristos * configure.in (sh-*-linux*): Added. 4963*ed0d50c3Schristos * configure: Rebuilt. 4964*ed0d50c3Schristos 4965*ed0d50c3Schristos2000-09-06 Kazu Hirata <kazu@hxi.com> 4966*ed0d50c3Schristos 4967*ed0d50c3Schristos * config/tc-hppa.c: Fix formatting. 4968*ed0d50c3Schristos 4969*ed0d50c3Schristos * ecoff.c: Fix formatting. 4970*ed0d50c3Schristos 4971*ed0d50c3Schristos2000-09-06 Alexandre Oliva <aoliva@redhat.com> 4972*ed0d50c3Schristos 4973*ed0d50c3Schristos * configure: Rebuilt with new libtool.m4. 4974*ed0d50c3Schristos 4975*ed0d50c3Schristos2000-09-05 Kazu Hirata <kazu@hxi.com> 4976*ed0d50c3Schristos 4977*ed0d50c3Schristos * cgen.c: Fix formatting. 4978*ed0d50c3Schristos * config/tc-ia64.c: Likewise. 4979*ed0d50c3Schristos 4980*ed0d50c3Schristos2000-09-05 Nick Clifton <nickc@redhat.com> 4981*ed0d50c3Schristos 4982*ed0d50c3Schristos * aclocal.m4: Regenerate. 4983*ed0d50c3Schristos * config.in: Regenerate. 4984*ed0d50c3Schristos * configure: Regenerate. 4985*ed0d50c3Schristos * po/gas.pot: Regenerate. 4986*ed0d50c3Schristos 4987*ed0d50c3Schristos2000-09-05 Hans-Peter Nilsson <hp@axis.com> 4988*ed0d50c3Schristos 4989*ed0d50c3Schristos * config/tc-cris.c: Correct comment typos. 4990*ed0d50c3Schristos 4991*ed0d50c3Schristos2000-09-05 Eric Christopher <echristo@cygnus.com> 4992*ed0d50c3Schristos 4993*ed0d50c3Schristos * config/tc-mn10300.c: Cleanup. 4994*ed0d50c3Schristos (md_pcrel_from): Enable. 4995*ed0d50c3Schristos 4996*ed0d50c3Schristos2000-09-05 Alan Modra <alan@linuxcare.com.au> 4997*ed0d50c3Schristos 4998*ed0d50c3Schristos * expr.c (operand): Fix a comment typo. 4999*ed0d50c3Schristos * write.c (write_relocs): Fix a signed/unsigned warning. 5000*ed0d50c3Schristos 5001*ed0d50c3Schristos * config/tc-hppa.c (fudge_reg_expressions): New 5002*ed0d50c3Schristos (hppa_force_reg_syms_absolute): New. 5003*ed0d50c3Schristos (pa_equ): Allow reg_section expressions. 5004*ed0d50c3Schristos * config/tc-hppa.c (md_optimize_expr): Define. 5005*ed0d50c3Schristos (hppa_force_reg_syms_absolute): Prototype. 5006*ed0d50c3Schristos 5007*ed0d50c3Schristos * config/tc-hppa.c (pa_11_fp_reg_struct): Delete. 5008*ed0d50c3Schristos (pa_parse_number): Pass in arg to select fp reg parsing. 5009*ed0d50c3Schristos Return 1 to indicate format checks pass. If strict, then only 5010*ed0d50c3Schristos accept a register or register symbol. Return value in... 5011*ed0d50c3Schristos (pa_number): New static for pa_parse_number. 5012*ed0d50c3Schristos (FP_REG_BASE): Define. 5013*ed0d50c3Schristos (FP_REG_RSEL): Define. 5014*ed0d50c3Schristos (pre_defined_registers): Apply FP_REG_BASE and FP_REG_RSEL as 5015*ed0d50c3Schristos appropriate. White space changes. 5016*ed0d50c3Schristos (need_pa11_opcode): Don't bother passing any params, get them from 5017*ed0d50c3Schristos globals instead. 5018*ed0d50c3Schristos (pa_ip): Modify all calls to pa_parse_number and need_pa11_opcode. 5019*ed0d50c3Schristos Remove extraneous check in case 'Q'. 5020*ed0d50c3Schristos (pa_equ): Modify call to pa_parse_number to do strict parsing. If 5021*ed0d50c3Schristos reg, set section of resulting symbol to reg_section. 5022*ed0d50c3Schristos (pa_parse_space_stmt): Modify call to pa_parse_number. 5023*ed0d50c3Schristos (pa_space): Likewise. 5024*ed0d50c3Schristos 5025*ed0d50c3Schristos * config/tc-hppa.c: (md_apply_fix): Handle vtable relocs. 5026*ed0d50c3Schristos (hppa_force_relocation): Handle vtable relocs. 5027*ed0d50c3Schristos (pa_vtable_entry): New. 5028*ed0d50c3Schristos (pa_vtable_inherit): New. 5029*ed0d50c3Schristos (md_pseudo_table): Add entries for vtable pseudos. 5030*ed0d50c3Schristos (hppa_fix_adjustable): Reject reduction of R_PARISC_GNU_VTINHERIT 5031*ed0d50c3Schristos and R_PARISC_GNU_VTENTRY relocs. Reject reduction of relocs 5032*ed0d50c3Schristos against weak syms. 5033*ed0d50c3Schristos (tc_gen_reloc): Remove ELF_ARG_RELOC_INSN code. 5034*ed0d50c3Schristos (pa_type_args): Don't call symbol_get_bfdsym multiple times. 5035*ed0d50c3Schristos Set STT_PARISC_MILLICODE for OBJ_ELF when encountering a 5036*ed0d50c3Schristos millicode import. 5037*ed0d50c3Schristos * config/obj-elf.c (obj_elf_type): Allow md_elf_symbol_type to 5038*ed0d50c3Schristos specify a symbol type. 5039*ed0d50c3Schristos 5040*ed0d50c3Schristos * config/tc-hppa.h: Reorganize file a little, grouping OBJ_ELF 5041*ed0d50c3Schristos dependent things together. 5042*ed0d50c3Schristos (md_elf_symbol_type): Define. 5043*ed0d50c3Schristos 5044*ed0d50c3Schristos * config/tc-hppa.c (fix_new_hppa): Elide "$PIC_pcrel$0" pseudo 5045*ed0d50c3Schristos symbol. 5046*ed0d50c3Schristos * config/tc-hppa.h (tc_frob_symbol): Elide "$PIC_pcrel$0" here too. 5047*ed0d50c3Schristos 5048*ed0d50c3Schristos * config/obj-elf.h (obj_elf_vtable_inherit): Declare. 5049*ed0d50c3Schristos (obj_elf_vtable_entry): Declare. 5050*ed0d50c3Schristos 5051*ed0d50c3Schristos * config/obj-elf.c (obj_elf_vtable_inherit): Return struct fix * 5052*ed0d50c3Schristos and export function. 5053*ed0d50c3Schristos (obj_elf_vtable_entry): Similarly. 5054*ed0d50c3Schristos (elf_pseudo_table): Fix the damage with a cast. 5055*ed0d50c3Schristos 5056*ed0d50c3Schristos2000-09-03 Richard Henderson <rth@cygnus.com> 5057*ed0d50c3Schristos 5058*ed0d50c3Schristos * config/tc-ia64.c (emit_one_bundle): Stop collecting insns 5059*ed0d50c3Schristos for template selection when a label is needed. 5060*ed0d50c3Schristos 5061*ed0d50c3Schristos2000-09-02 Kazu Hirata <kazu@hxi.com> 5062*ed0d50c3Schristos 5063*ed0d50c3Schristos * config/tc-ia64.c: Fix formatting. 5064*ed0d50c3Schristos 5065*ed0d50c3Schristos2000-09-02 Nick Clifton <nickc@redhat.com> 5066*ed0d50c3Schristos 5067*ed0d50c3Schristos * configure.in: Increase version number to 2.10.91. 5068*ed0d50c3Schristos * configure: Regenerate. 5069*ed0d50c3Schristos * aclocal.m4: Regenerate. 5070*ed0d50c3Schristos * config.in: Regenerate. 5071*ed0d50c3Schristos * po/gas.pot: Regenerate. 5072*ed0d50c3Schristos * Makefile.in: Regenerate. 5073*ed0d50c3Schristos 5074*ed0d50c3Schristos2000-09-01 Alexandre Oliva <aoliva@redhat.com> 5075*ed0d50c3Schristos 5076*ed0d50c3Schristos * config/tc-sh.h [OBJ_ELF] (TC_FIX_ADJUSTABLE): Define. 5077*ed0d50c3Schristos * config/tc-sh.c (md_apply_fix): Map 32-bit relocations that 5078*ed0d50c3Schristos become PC-relative to BFD_RELOC_32_PCREL. Reject 16- or 8-bit 5079*ed0d50c3Schristos similar relocs. 5080*ed0d50c3Schristos (sh_obj_adjustable): Return 1 for PC-relative offsets used in 5081*ed0d50c3Schristos branches. 5082*ed0d50c3Schristos 5083*ed0d50c3Schristos2000-09-01 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com> 5084*ed0d50c3Schristos 5085*ed0d50c3Schristos * config/tc-sh.h (DIFF_EXPR_OK, GLOBAL_OFFSET_TABLE_NAME, 5086*ed0d50c3Schristos TC_RELOC_GLOBAL_OFFSET_TABLE, TC_RELOC_RTSYM_LOC_FIXUP): Define. 5087*ed0d50c3Schristos * config/tc-sh.c (sh_elf_cons, sh_elf_suffix): New functions. 5088*ed0d50c3Schristos [OBJ_ELF] (md_pseudo_table) <long, int, word, short>: Use them. 5089*ed0d50c3Schristos (GOT_symbol): New variable. 5090*ed0d50c3Schristos (md_undefined_symbol): Set it. 5091*ed0d50c3Schristos 5092*ed0d50c3Schristos2000-09-01 Richard Henderson <rth@cygnus.com> 5093*ed0d50c3Schristos 5094*ed0d50c3Schristos * config/tc-ia64.c (match): Don't inline. 5095*ed0d50c3Schristos (extra_goodness): New. 5096*ed0d50c3Schristos (md_begin): Prefer nop.f and nop.b for best_template. 5097*ed0d50c3Schristos 5098*ed0d50c3Schristos2000-08-31 Kazu Hirata <kazu@hxi.com> 5099*ed0d50c3Schristos 5100*ed0d50c3Schristos * as.c: Fix formatting. 5101*ed0d50c3Schristos * cond.c: Likewise. 5102*ed0d50c3Schristos * frags.c: Likewise. 5103*ed0d50c3Schristos * macro.c: Likewise. 5104*ed0d50c3Schristos 5105*ed0d50c3Schristos2000-08-31 Eric Christopher <echristo@cygnus.com> 5106*ed0d50c3Schristos 5107*ed0d50c3Schristos * config/tc-mn10300.c: Cleanup and fix warnings. 5108*ed0d50c3Schristos (md_pseudo_table): Add initializers. 5109*ed0d50c3Schristos (md_show_usage): Cleanup. 5110*ed0d50c3Schristos (md_parse_option): Fix warnings. 5111*ed0d50c3Schristos (md_undefined_symbol): Fix warnings. 5112*ed0d50c3Schristos (md_conver_frag): Fix warnings. 5113*ed0d50c3Schristos (tc_gen_reloc): Fix warnings. 5114*ed0d50c3Schristos (md_apply_fix3): Fix warnings. 5115*ed0d50c3Schristos (check_operand): Fix warnings. 5116*ed0d50c3Schristos 5117*ed0d50c3Schristos2000-08-31 Alexandre Oliva <aoliva@redhat.com> 5118*ed0d50c3Schristos 5119*ed0d50c3Schristos * acinclude.m4: Include libtool and gettext macros from the 5120*ed0d50c3Schristos top level. 5121*ed0d50c3Schristos * aclocal.m4, configure: Rebuilt. 5122*ed0d50c3Schristos 5123*ed0d50c3Schristos2000-08-30 Mark Hatle <mhatle@mvista.com> 5124*ed0d50c3Schristos 5125*ed0d50c3Schristos * config/tc-ppc.c (md_parse_option): Recognize -m405. 5126*ed0d50c3Schristos 5127*ed0d50c3Schristos2000-08-31 Kazu Hirata <kazu@hxi.com> 5128*ed0d50c3Schristos 5129*ed0d50c3Schristos * listing.c: Fix formatting. 5130*ed0d50c3Schristos 5131*ed0d50c3Schristos2000-08-29 Kazu Hirata <kazu@hxi.com> 5132*ed0d50c3Schristos 5133*ed0d50c3Schristos * app.c: Fix a comment typo. Fix formatting. 5134*ed0d50c3Schristos 5135*ed0d50c3Schristos2000-08-25 J. David Anglin <dave@hiauly1.hia.nrc.ca> 5136*ed0d50c3Schristos 5137*ed0d50c3Schristos * config/tc-vax.c (md_convert_frag): Correctly calculate the pc relative 5138*ed0d50c3Schristos offset of the target destination for jmp instructions. 5139*ed0d50c3Schristos (md_assemble): Change mode to VAX_ABSOLUTE_MODE as per comments. 5140*ed0d50c3Schristos 5141*ed0d50c3Schristos2000-08-24 Hans-Peter Nilsson <hp@axis.com> 5142*ed0d50c3Schristos 5143*ed0d50c3Schristos * NEWS: Mention support for CRIS. 5144*ed0d50c3Schristos 5145*ed0d50c3Schristos2000-08-24 Denis Chertykov <denisc@overta.ru> 5146*ed0d50c3Schristos 5147*ed0d50c3Schristos * config/tc-avr.h (TC_IMPLICIT_LCOMM_ALIGNMENT): New macros. 5148*ed0d50c3Schristos Sets `.lcomm' alignment to zero. 5149*ed0d50c3Schristos 5150*ed0d50c3Schristos2000-08-23 Alexandre Oliva <aoliva@redhat.com> 5151*ed0d50c3Schristos 5152*ed0d50c3Schristos * config/tc-i386.h (OBJ_MAYBE_ELF, OBJ_MAYBE_COFF, 5153*ed0d50c3Schristos TC_FIX_ADJUSTABLE): Define. 5154*ed0d50c3Schristos 5155*ed0d50c3Schristos2000-08-23 Jim Wilson <wilson@cygnus.com> 5156*ed0d50c3Schristos 5157*ed0d50c3Schristos * config/tc-ia64.c (output_unw_records): Set U & E flags only if 5158*ed0d50c3Schristos unwind.personality_routine is set. 5159*ed0d50c3Schristos 5160*ed0d50c3Schristos2000-08-23 H.J. Lu <hjl@gnu.org> 5161*ed0d50c3Schristos 5162*ed0d50c3Schristos * write.c (TC_FIX_ADJUSTABLE): Remove the duplicate. 5163*ed0d50c3Schristos 5164*ed0d50c3Schristos2000-08-23 Alexandre Oliva <aoliva@redhat.com> 5165*ed0d50c3Schristos 5166*ed0d50c3Schristos * config/tc-i386.h (TC_FIX_ADJUSTABLE): Do *NOT* define if target 5167*ed0d50c3Schristos environment is pe. 5168*ed0d50c3Schristos 5169*ed0d50c3Schristos2000-08-22 H.J. Lu <hjl@gnu.org> 5170*ed0d50c3Schristos 5171*ed0d50c3Schristos * config.in (STRICTCOFF): New for strict COFF. 5172*ed0d50c3Schristos 5173*ed0d50c3Schristos * configure.in: Define STRICTCOFF for i386-*-msdosdjgpp*, 5174*ed0d50c3Schristos i386-*-go32* and i386-go32-rtems*. 5175*ed0d50c3Schristos * configure: Rebuilt. 5176*ed0d50c3Schristos 5177*ed0d50c3Schristos * config/obj-coff.c (obj_coff_endef): Follow the historical 5178*ed0d50c3Schristos behavior if STRICTCOFF is not defined. 5179*ed0d50c3Schristos 5180*ed0d50c3Schristos * doc/internals.texi: Document STRICTCOFF. 5181*ed0d50c3Schristos 5182*ed0d50c3Schristos2000-08-22 Alexandre Oliva <aoliva@redhat.com> 5183*ed0d50c3Schristos 5184*ed0d50c3Schristos * write.c (TC_FIX_ADJUSTABLE): Define to 1, if not defined. 5185*ed0d50c3Schristos (fixup_segment) Use it instead of TC_DONT_FIX_NON_ADJUSTABLE. 5186*ed0d50c3Schristos * config/tc-i386.h (TC_DONT_FIX_NON_ADJUSTABLE): Remove. 5187*ed0d50c3Schristos <OBJ_ELF, OBJ_COFF, TE_PE> (TC_FIX_ADJUSTABLE): Define. 5188*ed0d50c3Schristos * config/tc-arm.h (TC_DONT_FIX_NON_ADJUSTABLE): Remove. 5189*ed0d50c3Schristos <OBJ_ELF> (TC_FIX_ADJUSTABLE): Define. 5190*ed0d50c3Schristos * config/tc-i960.h, config/tc-m68k.h, config/tc-v850.h: 5191*ed0d50c3Schristos Likewise. 5192*ed0d50c3Schristos 5193*ed0d50c3Schristos2000-08-22 Eric Christopher <echristo@cygnus.com> 5194*ed0d50c3Schristos 5195*ed0d50c3Schristos * config/tc-mn10300.c: (md_apply_fix): New function. 5196*ed0d50c3Schristos (mn10300_force_relocation): New function. 5197*ed0d50c3Schristos (mn10300_fix_adjustable): New function. 5198*ed0d50c3Schristos 5199*ed0d50c3Schristos * config/tc-mn10300.h: (TC_FORCE_RELOCATION): Define. 5200*ed0d50c3Schristos (TC_HANDLES_FX_DONE): Define. 5201*ed0d50c3Schristos (obj_fix_adjustable): Define. 5202*ed0d50c3Schristos (MD_APPLY_FIX3): Define. 5203*ed0d50c3Schristos (TC_LINKRELAX_FIXUP): Define. 5204*ed0d50c3Schristos 5205*ed0d50c3Schristos * write.c: (TC_LINKRELAX_FIXUP): Define if not 5206*ed0d50c3Schristos previously defined. 5207*ed0d50c3Schristos (fixup_segment): Use TC_LINKRELAX_FIXUP. 5208*ed0d50c3Schristos 5209*ed0d50c3Schristos * doc/internals.texi: Document TC_LINKRELAX_FIXUP. 5210*ed0d50c3Schristos 5211*ed0d50c3Schristos2000-08-21 Jason Eckhardt <jle@cygnus.com> 5212*ed0d50c3Schristos 5213*ed0d50c3Schristos * config/tc-i860.c (md_apply_fix3): Do not insert the immediate 5214*ed0d50c3Schristos if the fixup resulted in a relocation. 5215*ed0d50c3Schristos 5216*ed0d50c3Schristos2000-08-18 Nick Clifton <nickc@redhat.com> 5217*ed0d50c3Schristos 5218*ed0d50c3Schristos * config/tc-arm.c (decode_shift): Replace as_tsktsk with as_warn. 5219*ed0d50c3Schristos Make reference to first element of shift_names explicit. 5220*ed0d50c3Schristos 5221*ed0d50c3Schristos2000-08-18 Alexandre Oliva <aoliva@redhat.com> 5222*ed0d50c3Schristos 5223*ed0d50c3Schristos * write.c (fixup_segment) [TC_DONT_FIX_NON_ADJUSTABLE]: Use 5224*ed0d50c3Schristos obj_fix_adjustable() and tc_fix_adjustable() to tell whether to 5225*ed0d50c3Schristos add a symbol's address. Removed all target-specific #ifdefs that 5226*ed0d50c3Schristos used to accomplished the same. 5227*ed0d50c3Schristos * config/tc-v850.h (TC_DONT_FIX_NON_ADJUSTABLE): Define. 5228*ed0d50c3Schristos * config/tc-m68k.h (TC_DONT_FIX_NON_ADJUSTABLE): Define. 5229*ed0d50c3Schristos * config/tc-arm.h (TC_DONT_FIX_NON_ADJUSTABLE): Define. 5230*ed0d50c3Schristos * config/tc-i960.h (TC_DONT_FIX_NON_ADJUSTABLE): Define. 5231*ed0d50c3Schristos * config/tc-i386.h (TC_DONT_FIX_NON_ADJUSTABLE): Define. 5232*ed0d50c3Schristos 5233*ed0d50c3Schristos2000-08-17 Kazu Hirata <kazu@hxi.com> 5234*ed0d50c3Schristos 5235*ed0d50c3Schristos * dwarf2dbg.c: Fix formatting. 5236*ed0d50c3Schristos 5237*ed0d50c3Schristos2000-08-17 Nick Clifton <nickc@redhat.com> 5238*ed0d50c3Schristos 5239*ed0d50c3Schristos * config/tc-arm.c (decode_shift): Allow illegal shifts by zero 5240*ed0d50c3Schristos to be recoded as logical shift lefts by zero. 5241*ed0d50c3Schristos 5242*ed0d50c3Schristos2000-08-16 Jim Wilson <wilson@cygnus.com> 5243*ed0d50c3Schristos 5244*ed0d50c3Schristos * config/tc-ia64.c (specify_resource, case IA64_RS_GR): Handle 5245*ed0d50c3Schristos postincrement modified registers. Handle IA64_OPND_R3_2 addl 5246*ed0d50c3Schristos source registers. 5247*ed0d50c3Schristos (note_register_values): Handle IA64_OPND_R3_2 operands. 5248*ed0d50c3Schristos 5249*ed0d50c3Schristos2000-08-16 Jason Eckhardt <jle@cygnus.com> 5250*ed0d50c3Schristos 5251*ed0d50c3Schristos * config/tc-i860.c (md_operand): Silly typo fixed. 5252*ed0d50c3Schristos 5253*ed0d50c3Schristos2000-08-16 Nick Clifton <nickc@redhat.com> 5254*ed0d50c3Schristos 5255*ed0d50c3Schristos * config/tc-arm.c (struct asm_shift): Delete. 5256*ed0d50c3Schristos (shift[]): Delete. 5257*ed0d50c3Schristos (enum asm_shift_index): New. 5258*ed0d50c3Schristos (struct asm_shift_properties): New. 5259*ed0d50c3Schristos (struct asm_shift_name): New. 5260*ed0d50c3Schristos (shift_properties[]); New. 5261*ed0d50c3Schristos (shift_names[]); New. 5262*ed0d50c3Schristos 5263*ed0d50c3Schristos (decode_shift): Use new structures. 5264*ed0d50c3Schristos Issue a warning is "ROR #0" is used. 5265*ed0d50c3Schristos Issue a warning if "ASR #0" or "LSR #0" is used. 5266*ed0d50c3Schristos 5267*ed0d50c3Schristos (md_begin): Initialise arm_shift_hsh table from new 5268*ed0d50c3Schristos asm_shift_name array. 5269*ed0d50c3Schristos 5270*ed0d50c3Schristos2000-08-16 Jakub Jelinek <jakub@redhat.com> 5271*ed0d50c3Schristos 5272*ed0d50c3Schristos * config/tc-sparc.c: Kill all warnings. 5273*ed0d50c3Schristos (md_parse_option): Set -32/-64 for -xarch=, allow all -A archs 5274*ed0d50c3Schristos in -xarch= as well. 5275*ed0d50c3Schristos (md_show_usage): Update usage text. 5276*ed0d50c3Schristos 5277*ed0d50c3Schristos2000-08-16 Nick Clifton <nickc@redhat.com> 5278*ed0d50c3Schristos 5279*ed0d50c3Schristos * config/tc-arm.c (do_bx): Warn about "bx px" not being very 5280*ed0d50c3Schristos useful. 5281*ed0d50c3Schristos 5282*ed0d50c3Schristos2000-08-15 Will Cohen <wcohen@redhat.com> 5283*ed0d50c3Schristos 5284*ed0d50c3Schristos * config/tc-sh.h (DWARF2_LINE_MIN_INSN_LENGTH): Defined. 5285*ed0d50c3Schristos 5286*ed0d50c3Schristos * config/tc-sh.c (md_assemble): Changed so debug_type 5287*ed0d50c3Schristos test performed for ppi_assemble 5288*ed0d50c3Schristos * config/tc-sh.c: Included dwarf2dbg.h. 5289*ed0d50c3Schristos (debug_line): Defined. 5290*ed0d50c3Schristos (md_assemble): Generates dwarf2 line info. 5291*ed0d50c3Schristos (sh_finalize): New function. Finalize dwarf2 info. 5292*ed0d50c3Schristos (assemble_ppi): Returns size of code generated. 5293*ed0d50c3Schristos (build_Mytes): Returns size of code generated. 5294*ed0d50c3Schristos (md_pseudo_table): Added "file" and "loc" psuedo ops. 5295*ed0d50c3Schristos * config/tc-sh.h (md_end): Defined. 5296*ed0d50c3Schristos (sh_finalize): Declared. 5297*ed0d50c3Schristos 5298*ed0d50c3Schristos2000-08-15 Alexandre Oliva <aoliva@redhat.com> 5299*ed0d50c3Schristos 5300*ed0d50c3Schristos * config/tc-sh.c (md_apply_fix) [BFD_RELOC_32, BFD_RELOC_16]: Use 5301*ed0d50c3Schristos md_number_to_chars. 5302*ed0d50c3Schristos 5303*ed0d50c3Schristos2000-08-14 Nick Clifton <nickc@redhat.com> 5304*ed0d50c3Schristos 5305*ed0d50c3Schristos * config/tc-arm.c (do_bx): Allow "bx pc". 5306*ed0d50c3Schristos 5307*ed0d50c3Schristos2000-08-14 Jim Wilson <wilson@cygnus.com> 5308*ed0d50c3Schristos 5309*ed0d50c3Schristos * config/tc-ia64.c (md_longopts): Add -mconstant-gp and -mauto-pic. 5310*ed0d50c3Schristos (md_parse_option): Add OPTION_MCONSTANT_GP and OPTION_MAUTO_PIC. 5311*ed0d50c3Schristos (md_begin): Change assignment to md.flag to OR in the new bit. 5312*ed0d50c3Schristos 5313*ed0d50c3Schristos2000-08-14 Mark Elbrecht <snowball3@bigfoot.com> 5314*ed0d50c3Schristos 5315*ed0d50c3Schristos * config/obj-coff.c (obj_coff_endef) [BFD_ASSEMBLER]: Set the debug 5316*ed0d50c3Schristos flag for storage types C_ARG, C_REGPARM, C_FIELD, C_MOS, C_MOE, 5317*ed0d50c3Schristos C_MOU, and C_EOS. 5318*ed0d50c3Schristos 5319*ed0d50c3Schristos2000-08-14 Jason Eckhardt <jle@cygnus.com> 5320*ed0d50c3Schristos 5321*ed0d50c3Schristos * NEWS: Mention i860 support. 5322*ed0d50c3Schristos 5323*ed0d50c3Schristos2000-08-14 Jeffrey A Law (law@cygnus.com) 5324*ed0d50c3Schristos 5325*ed0d50c3Schristos * config/tc-mn10300.h (DWARF2_LINE_MIN_INSN_LENGTH): Define. 5326*ed0d50c3Schristos 5327*ed0d50c3Schristos2000-08-14 Andreas Schwab <schwab@suse.de> 5328*ed0d50c3Schristos 5329*ed0d50c3Schristos * doc/c-arm.texi (ARM Directives): Fix warnings from makeinfo. 5330*ed0d50c3Schristos 5331*ed0d50c3Schristos2000-08-11 Andreas Schwab <schwab@suse.de> 5332*ed0d50c3Schristos 5333*ed0d50c3Schristos * doc/c-i860.texi (Opcodes for i860): Remove braces from @item 5334*ed0d50c3Schristos argument. 5335*ed0d50c3Schristos 5336*ed0d50c3Schristos2000-08-11 Kazu Hirata <kazu@hxi.com> 5337*ed0d50c3Schristos 5338*ed0d50c3Schristos * expr.c: Fix formatting. 5339*ed0d50c3Schristos * config/obj-bout.c: Likewise. 5340*ed0d50c3Schristos 5341*ed0d50c3Schristos2000-08-10 Jason Eckhardt <jle@cygnus.com> 5342*ed0d50c3Schristos 5343*ed0d50c3Schristos * doc/c-i860.texi: Flesh out the i860 section more. 5344*ed0d50c3Schristos 5345*ed0d50c3Schristos2000-08-10 Kazu Hirata <kazu@hxi.com> 5346*ed0d50c3Schristos 5347*ed0d50c3Schristos * symbols.c: Fix formatting. 5348*ed0d50c3Schristos * expr.c: Likewise. 5349*ed0d50c3Schristos 5350*ed0d50c3Schristos2000-08-09 Diego Novillo <dnovillo@cygnus.com> 5351*ed0d50c3Schristos 5352*ed0d50c3Schristos * config/tc-i386.c (md_assemble): Skip suffix check if the opcode 5353*ed0d50c3Schristos modifier has the IgnoreSize bit set. 5354*ed0d50c3Schristos 5355*ed0d50c3Schristos2000-08-09 Alan Modra <alan@linuxcare.com.au> 5356*ed0d50c3Schristos 5357*ed0d50c3Schristos From Rodney Brown <RodneyBrown@mynd.com> 5358*ed0d50c3Schristos * configure.in: Use elf on Unixware 7 (i586-sco-sysv5uw7.1.0) 5359*ed0d50c3Schristos * configure: Regenerate. 5360*ed0d50c3Schristos 5361*ed0d50c3Schristos2000-08-09 Kazu Hirata <kazu@hxi.com> 5362*ed0d50c3Schristos 5363*ed0d50c3Schristos * hash.c: Fix formatting. 5364*ed0d50c3Schristos * gasp.c: Likewise. 5365*ed0d50c3Schristos 5366*ed0d50c3Schristos2000-08-08 Jason Eckhardt <jle@cygnus.com> 5367*ed0d50c3Schristos 5368*ed0d50c3Schristos * config/tc-i860.h: Rework completely for BFD_ASSEMBLER. 5369*ed0d50c3Schristos (i860_fix_info): New enum. 5370*ed0d50c3Schristos (MD_APPLY_FIX3): Define. 5371*ed0d50c3Schristos (WORKING_DOT_WORD): Define. 5372*ed0d50c3Schristos (TC_HANDLES_FX_DONE): Define. 5373*ed0d50c3Schristos (DIFF_EXPR_OK): Define. 5374*ed0d50c3Schristos (LISTING_HEADER): Define. 5375*ed0d50c3Schristos (TARGET_FORMAT): Select target format based on endian flag. 5376*ed0d50c3Schristos (TARGET_BYTES_BIG_ENDIAN): Default to little endian. 5377*ed0d50c3Schristos (target_big_endian): Add external declaration. 5378*ed0d50c3Schristos 5379*ed0d50c3Schristos * config/tc-i860.c: All existing code reworked completely. Other 5380*ed0d50c3Schristos new code shown below. 5381*ed0d50c3Schristos (SYNTAX_SVR4): Define. 5382*ed0d50c3Schristos (target_warn_expand): New variable. 5383*ed0d50c3Schristos (md_shortopts): Declare and define (-Qy, -Qn, and -V options). 5384*ed0d50c3Schristos (md_longopts): Declare and define with new options (-EL, -EB, 5385*ed0d50c3Schristos and -mwarn-expand). 5386*ed0d50c3Schristos (md_show_usage): New function. 5387*ed0d50c3Schristos (md_operand): New function. 5388*ed0d50c3Schristos (obtain_reloc_for_imm16): New function. 5389*ed0d50c3Schristos (md_apply_fix3): New function. 5390*ed0d50c3Schristos (tc_gen_reloc): New function. 5391*ed0d50c3Schristos 5392*ed0d50c3Schristos2000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr> 5393*ed0d50c3Schristos 5394*ed0d50c3Schristos * config/tc-m68hc11.c (build_jump_insn): Make sure the 5395*ed0d50c3Schristos 2 bytes of the jump address are in the same frag. 5396*ed0d50c3Schristos (find): Accept 68hc12 register indirect modes. 5397*ed0d50c3Schristos 5398*ed0d50c3Schristos * NEWS: Mention 68HC11 & 68HC12 support. 5399*ed0d50c3Schristos 5400*ed0d50c3Schristos2000-08-07 Richard Henderson <rth@cygnus.com> 5401*ed0d50c3Schristos 5402*ed0d50c3Schristos * config/tc-ia64.c (unwind): Add prologue_mask member. 5403*ed0d50c3Schristos (dot_vframe): Elide psp_gr record if it overlaps prologue_gr. 5404*ed0d50c3Schristos (dot_save): Likewise for pfs_gr, rp_gr, and preds_gr. 5405*ed0d50c3Schristos (dot_body): Clear unwind.prologue_mask. 5406*ed0d50c3Schristos (dot_prologue): Set it. Accept a register second argument. 5407*ed0d50c3Schristos 5408*ed0d50c3Schristos2000-08-07 Kazu Hirata <kazu@hxi.com> 5409*ed0d50c3Schristos 5410*ed0d50c3Schristos * config/atof-ieee.c: Fix formatting. 5411*ed0d50c3Schristos * config/atof-tahoe.c: Likewise. 5412*ed0d50c3Schristos 5413*ed0d50c3Schristos2000-08-06 Nick Clifton <nickc@cygnus.com> 5414*ed0d50c3Schristos 5415*ed0d50c3Schristos * config/tc-sparc.c (md_begin): Fix typo in recent formatting 5416*ed0d50c3Schristos work. 5417*ed0d50c3Schristos 5418*ed0d50c3Schristos * doc/as.texinfo (Pseudo Ops): Update to include descriptions 5419*ed0d50c3Schristos of .popsection, .previous, .pushsection, .subsection, 5420*ed0d50c3Schristos .version, .vtable_entry, .vtable_inherit and .weak. 5421*ed0d50c3Schristos 5422*ed0d50c3Schristos2000-08-05 Kazu Hirata <kazu@hxi.com> 5423*ed0d50c3Schristos 5424*ed0d50c3Schristos * config/tc-cris.c: Fix formatting. 5425*ed0d50c3Schristos * config/tc-i386.c: Likewise. 5426*ed0d50c3Schristos * config/tc-sparc.c (sparc_ip): Simplify the code. 5427*ed0d50c3Schristos 5428*ed0d50c3Schristos2000-08-04 Kazu Hirata <kazu@hxi.com> 5429*ed0d50c3Schristos 5430*ed0d50c3Schristos * config/tc-cris.c: Rearrange code for readability. 5431*ed0d50c3Schristos * config/tc-d10v.c: Fix formatting. 5432*ed0d50c3Schristos * config/tc-m32r.c: Likewise. 5433*ed0d50c3Schristos * config/tc-sparc.c: Likewise. 5434*ed0d50c3Schristos 5435*ed0d50c3Schristos2000-08-02 Jim Wilson <wilson@cygnus.com> 5436*ed0d50c3Schristos 5437*ed0d50c3Schristos * config/tc-ia64.c (emit_one_bundle): Call ia64_free_opcode 5438*ed0d50c3Schristos before ia64_find_opcode. 5439*ed0d50c3Schristos (md_assemble): Likewise. 5440*ed0d50c3Schristos 5441*ed0d50c3Schristos2000-08-01 Nick Clifton <nickc@cygnus.com> 5442*ed0d50c3Schristos 5443*ed0d50c3Schristos * config/tc-arm.c (do_mrs): Fix skip of 'cpsr_all' flag. 5444*ed0d50c3Schristos Undo some formatting fixes. 5445*ed0d50c3Schristos 5446*ed0d50c3Schristos2000-08-01 Kazu Hirata <kazu@hxi.com> 5447*ed0d50c3Schristos 5448*ed0d50c3Schristos * config/obj-som.c: Fix formatting. 5449*ed0d50c3Schristos * config/obj-ieee.c: Likewise. 5450*ed0d50c3Schristos * config/tc-arm.c: Likewise. 5451*ed0d50c3Schristos * config/tc-v850.c: Likewise. 5452*ed0d50c3Schristos 5453*ed0d50c3Schristos2000-08-01 Nick Clifton <nickc@redhat.com> 5454*ed0d50c3Schristos 5455*ed0d50c3Schristos * doc/c-m68k.texi (section M680x0 Options): Turn into a table 5456*ed0d50c3Schristos index by command line option. 5457*ed0d50c3Schristos 5458*ed0d50c3Schristos2000-08-01 Michael Sokolov <msokolov@ivan.Harhan.ORG> 5459*ed0d50c3Schristos 5460*ed0d50c3Schristos * doc/c-m68k.texi (@cindex @samp{--pcrel}): Rewrite option description. 5461*ed0d50c3Schristos (@node M68K-Branch): Rewrite to match the reality. 5462*ed0d50c3Schristos 5463*ed0d50c3Schristos2000-07-31 Jason Eckhardt <jle@cygnus.com> 5464*ed0d50c3Schristos 5465*ed0d50c3Schristos * doc/c-i860.texi: New file. 5466*ed0d50c3Schristos * doc/Makefile.am (CPU_DOCS): Add c-i860.texi. 5467*ed0d50c3Schristos * doc/Makefile.in: Regenerate. 5468*ed0d50c3Schristos * doc/all.texi: Add I860 as relevant architecture. 5469*ed0d50c3Schristos * doc/as.texinfo: Include i860 dependent file c-i860.texi. 5470*ed0d50c3Schristos 5471*ed0d50c3Schristos2000-07-31 Kazu Hirata <kazu@hxi.com> 5472*ed0d50c3Schristos 5473*ed0d50c3Schristos * config/tc-d30v.c: Fix formatting. 5474*ed0d50c3Schristos 5475*ed0d50c3Schristos2000-07-31 Michael Sokolov <msokolov@ivan.Harhan.ORG> 5476*ed0d50c3Schristos 5477*ed0d50c3Schristos * config/tc-m68k.c (flag_keep_pcrel, OPTION_PCREL): Add --pcrel option. 5478*ed0d50c3Schristos (md_convert_frag_1, md_estimate_size_before_relax): When making DBcc 5479*ed0d50c3Schristos long emit a long branch if available instead of an absolute jump, never 5480*ed0d50c3Schristos emit absolute jumps for anything with --pcrel. 5481*ed0d50c3Schristos 5482*ed0d50c3Schristos * doc/c-m68k.texi: Document new command line option. 5483*ed0d50c3Schristos 5484*ed0d50c3Schristos2000-07-29 Marek Michalkiewicz <marekm@linux.org.pl> 5485*ed0d50c3Schristos 5486*ed0d50c3Schristos * config/tc-avr.c: Use PARAMS macro in function declarations. 5487*ed0d50c3Schristos Don't declare md_pcrel_from_section (already in tc-avr.h). 5488*ed0d50c3Schristos (avr_operands): Use AVR_UNDEF_P and AVR_SKIP_P macros. 5489*ed0d50c3Schristos (avr_operand): Don't set (unsigned) op_mask to -1. 5490*ed0d50c3Schristos 5491*ed0d50c3Schristos2000-07-28 Jason Eckhardt <jle@cygnus.com> 5492*ed0d50c3Schristos 5493*ed0d50c3Schristos * configure.in: Add bits for i860-stardent-{sysv4, elf}*. 5494*ed0d50c3Schristos * configure: Regenerated. 5495*ed0d50c3Schristos * config/obj-elf.c (obj_elf_type): Recognize a fifth type 5496*ed0d50c3Schristos of operand to the .type directive (.e.g, "type"). 5497*ed0d50c3Schristos 5498*ed0d50c3Schristos2000-07-28 Alan Modra <alan@linuxcare.com.au> 5499*ed0d50c3Schristos 5500*ed0d50c3Schristos * as.h (warn_comment, found_comment, found_comment_file): Declare. 5501*ed0d50c3Schristos * app.c (do_scrub_chars): Record where first comment found. 5502*ed0d50c3Schristos * read.c (read_a_source_file): Init found_comment on entry, and 5503*ed0d50c3Schristos notify whether comments found on exit. 5504*ed0d50c3Schristos * config/tc-hppa.c (md_shortopts): Add "c". 5505*ed0d50c3Schristos (md_longopts): Add warn-comment. 5506*ed0d50c3Schristos (md_parse_option): Handle it. 5507*ed0d50c3Schristos (md_show_usage): Show available options. 5508*ed0d50c3Schristos * config/tc-hppa.h (WARN_COMMENTS): Define if TE_LINUX 5509*ed0d50c3Schristos 5510*ed0d50c3Schristos2000-07-27 Andrew Cagney <cagney@b1.cygnus.com> 5511*ed0d50c3Schristos 5512*ed0d50c3Schristos * config/tc-mn10300.c (md_convert_frag): Fix printfs. 5513*ed0d50c3Schristos (tc_gen_reloc): Add cast when assigning bfd_abs_symbol to 5514*ed0d50c3Schristos sym_ptr_ptr 5515*ed0d50c3Schristos (md_estimate_size_before_relax): Don't fall off end of function. 5516*ed0d50c3Schristos 5517*ed0d50c3Schristos2000-07-27 Kazu Hirata <kazu@hxi.com> 5518*ed0d50c3Schristos 5519*ed0d50c3Schristos * config/tc-avr.c: Fix formatting. 5520*ed0d50c3Schristos * config/tc-ns32k.c: Likewise. 5521*ed0d50c3Schristos 5522*ed0d50c3Schristos2000-07-27 Alan Modra <alan@linuxcare.com.au> 5523*ed0d50c3Schristos 5524*ed0d50c3Schristos * config/tc-d10v.c (find_opcode): Remove extraneous `='. 5525*ed0d50c3Schristos 5526*ed0d50c3Schristos2000-07-27 Kazu Hirata <kazu@hxi.com> 5527*ed0d50c3Schristos 5528*ed0d50c3Schristos * config/tc-d10v.c: Fix formatting. 5529*ed0d50c3Schristos * config/tc-z8k.c: Likewise. 5530*ed0d50c3Schristos * config/tc-sparc.c: Likewise. 5531*ed0d50c3Schristos 5532*ed0d50c3Schristos2000-07-26 Dave Brolley <brolley@redhat.com> 5533*ed0d50c3Schristos 5534*ed0d50c3Schristos * cgen.c (queue_fixup): Declare opinfo. 5535*ed0d50c3Schristos (gas_cgen_parse_operand): Mark unused parameters with ATTRIBUTE_UNUSED. 5536*ed0d50c3Schristos (gas_cgen_md_operand): Ditto. 5537*ed0d50c3Schristos (gas_cgen_md_apply_fix3): Ditto. 5538*ed0d50c3Schristos 5539*ed0d50c3Schristos2000-07-24 Mark Elbrecht <snowball3@bigfoot.com> 5540*ed0d50c3Schristos 5541*ed0d50c3Schristos * config/obj-coff.c (obj_frob_symbol): Don't merge 5542*ed0d50c3Schristos labels. Don't merge if the symbol isn't constant. Return 5543*ed0d50c3Schristos immediately if a symbol is merged. 5544*ed0d50c3Schristos 5545*ed0d50c3Schristos2000-07-22 Alan Modra <alan@linuxcare.com.au> 5546*ed0d50c3Schristos 5547*ed0d50c3Schristos * frags.c (frag_align): Correct absolute section alignment. 5548*ed0d50c3Schristos 5549*ed0d50c3Schristos2000-07-20 DJ Delorie <dj@redhat.com> 5550*ed0d50c3Schristos 5551*ed0d50c3Schristos * config/obj-coff.c (obj_frob_symbol): revert previous change, 5552*ed0d50c3Schristos it breaks linking against DLLs. 5553*ed0d50c3Schristos 5554*ed0d50c3Schristos2000-07-20 Hans-Peter Nilsson <hp@axis.com> 5555*ed0d50c3Schristos 5556*ed0d50c3Schristos * configure.in: Add CRIS support. 5557*ed0d50c3Schristos * configure: Regenerate. 5558*ed0d50c3Schristos * Makefile.am: (CPU_TYPES): Add cris. 5559*ed0d50c3Schristos (CPU_OBJ_VALID) [aout]: Add cris. 5560*ed0d50c3Schristos (MULTI_CPU_TYPES): Add cris. 5561*ed0d50c3Schristos (MULTI_CPU_OBJ_VALID) [aout]: Add cris. 5562*ed0d50c3Schristos [coff]: Only i386 and mips are valid. 5563*ed0d50c3Schristos (TARGET_CPU_CFILES): Add config/tc-cris.c. 5564*ed0d50c3Schristos (TARGET_CPU_HFILES): Add config/tc-cris.h. 5565*ed0d50c3Schristos (MULTI_CFILES): Add config/e-crisaout.c and config/e-criself.c. 5566*ed0d50c3Schristos Regenerate dependencies. 5567*ed0d50c3Schristos * Makefile.in: Regenerate. 5568*ed0d50c3Schristos * aclocal.m4: Regenerate. 5569*ed0d50c3Schristos * as.c: Declare crisaout, criself. 5570*ed0d50c3Schristos * config/tc-cris.h, config/tc-cris.c: New. 5571*ed0d50c3Schristos * config/e-criself.c, config/e-crisaout.c: New. 5572*ed0d50c3Schristos * po/POTFILES.in, po/gas.pot: Regenerate. 5573*ed0d50c3Schristos 5574*ed0d50c3Schristos2000-07-20 Kazu Hirata <kazu@hxi.com> 5575*ed0d50c3Schristos 5576*ed0d50c3Schristos * read.c: Fix formatting. 5577*ed0d50c3Schristos * write.c: Fix formatting. 5578*ed0d50c3Schristos 5579*ed0d50c3Schristos2000-07-19 H.J. Lu <hjl@gnu.org> 5580*ed0d50c3Schristos 5581*ed0d50c3Schristos * sb.c: Include <stdlib.h> if exists for abort (). 5582*ed0d50c3Schristos 5583*ed0d50c3Schristos2000-07-19 Alan Modra <alan@linuxcare.com.au> 5584*ed0d50c3Schristos 5585*ed0d50c3Schristos * config/tc-hppa.c (hppa_fix_adjustable): Correct LR%/RR% comment. 5586*ed0d50c3Schristos (arg_reloc_stub_needed): #ifdef OBJ_SOM, not #ifdef SOM. 5587*ed0d50c3Schristos (pa_type_args): Same here. 5588*ed0d50c3Schristos 5589*ed0d50c3Schristos2000-07-17 Mark Elbrecht <snowball3@bigfoot.com> 5590*ed0d50c3Schristos 5591*ed0d50c3Schristos * config/obj-coff.c (obj_frob_symbol): Don't merge labels. Don't 5592*ed0d50c3Schristos merge if the symbol isn't constant. Don't call S_SET_EXTERNAL if 5593*ed0d50c3Schristos the storage class is already set. 5594*ed0d50c3Schristos 5595*ed0d50c3Schristos2000-07-17 Kazu Hirata <kazu@hxi.com> 5596*ed0d50c3Schristos 5597*ed0d50c3Schristos * config/tc-m68hc11.c: Fix formatting. 5598*ed0d50c3Schristos * config/tc-mn10200.c: Likewise. 5599*ed0d50c3Schristos * config/tc-mn10300.c: Likewise. 5600*ed0d50c3Schristos * config/tc-pj.c: Likewise. 5601*ed0d50c3Schristos * config/tc-tic80.c: Likewise. 5602*ed0d50c3Schristos * config/tc-w65.c: Likewise. 5603*ed0d50c3Schristos 5604*ed0d50c3Schristos2000-07-17 Frank Ch. Eigler <fche@redhat.com> 5605*ed0d50c3Schristos 5606*ed0d50c3Schristos * expr.c (operand): Permit %bin literals if LITERAL_PREFIXPERCENT_BIN 5607*ed0d50c3Schristos is defined. 5608*ed0d50c3Schristos 5609*ed0d50c3Schristos2000-07-15 Ian Lance Taylor <ian@zembu.com> 5610*ed0d50c3Schristos 5611*ed0d50c3Schristos * doc/c-mips.texi (MIPS Opts): Remove erroneous space after 5612*ed0d50c3Schristos @code. 5613*ed0d50c3Schristos 5614*ed0d50c3Schristos2000-07-15 Alan Modra <alan@linuxcare.com.au> 5615*ed0d50c3Schristos 5616*ed0d50c3Schristos * config/tc-hppa.c (hppa_fix_adjustable): Use the same checks for 5617*ed0d50c3Schristos ELF as are used for SOM (except the 32-bit reloc one) to decide 5618*ed0d50c3Schristos whether a symbol can be reduced to a section symbol. Expand on 5619*ed0d50c3Schristos the comment for symbols involved in LR% and RR% expressions. 5620*ed0d50c3Schristos 5621*ed0d50c3Schristos2000-07-14 Nick Clifton <nickc@cygnus.com> 5622*ed0d50c3Schristos 5623*ed0d50c3Schristos * config/tc-mips.c (mips_disable_float_construction): New 5624*ed0d50c3Schristos static variable. Set to true if doubles should not be 5625*ed0d50c3Schristos constructed by loading two single width fp registers with 5626*ed0d50c3Schristos halves of the value. 5627*ed0d50c3Schristos (mips_ip): Test mips_disable_float_construction. 5628*ed0d50c3Schristos (md_longopts): Add command line switches --construct-floats 5629*ed0d50c3Schristos and --no-construct-floats. 5630*ed0d50c3Schristos (md_parse_option): Parse new command line options. 5631*ed0d50c3Schristos (md_show_usage): Describe new command line options. 5632*ed0d50c3Schristos 5633*ed0d50c3Schristos * doc/c-mips.texi: Document new command line options. 5634*ed0d50c3Schristos 5635*ed0d50c3Schristos2000-07-13 Koundinya K <kk@ddeorg.soft.net> 5636*ed0d50c3Schristos 5637*ed0d50c3Schristos * configure.in: Remove the test /usr/dde for mips-*-sysv4*MP* 5638*ed0d50c3Schristos * configure: Regenerate. 5639*ed0d50c3Schristos 5640*ed0d50c3Schristos2000-07-13 Hans-Peter Nilsson <hp@axis.com> 5641*ed0d50c3Schristos 5642*ed0d50c3Schristos * configure.in (DEFAULT_EMULATION setting): Revert part of 5643*ed0d50c3Schristos 2000-07-01 change that set te_multi=multi unless set to tmips. 5644*ed0d50c3Schristos * configure: Regenerate. 5645*ed0d50c3Schristos 5646*ed0d50c3Schristos2000-07-12 Mark Elbrecht <snowball3@bigfoot.com> 5647*ed0d50c3Schristos 5648*ed0d50c3Schristos * config/obj-coff.c (coff_frob_section): Add padding to the last 5649*ed0d50c3Schristos section when aligning it increases its size. 5650*ed0d50c3Schristos 5651*ed0d50c3Schristos2000-07-11 Kazu Hirata <kazu@hxi.com> 5652*ed0d50c3Schristos 5653*ed0d50c3Schristos * config/tc-tic54x.c: Fix formatting. 5654*ed0d50c3Schristos 5655*ed0d50c3Schristos2000-07-10 Kazu Hirata <kazu@hxi.com> 5656*ed0d50c3Schristos 5657*ed0d50c3Schristos * config/tc-h8500.c: Fix formatting. 5658*ed0d50c3Schristos * config/tc-tic54x.c: Fix formatting. 5659*ed0d50c3Schristos 5660*ed0d50c3Schristos2000-07-10 Alan Modra <alan@linuxcare.com.au> 5661*ed0d50c3Schristos 5662*ed0d50c3Schristos * config/tc-hppa.c (md_apply_fix): Check fmt 12 and 22 pc-rel 5663*ed0d50c3Schristos displacements correctly. 5664*ed0d50c3Schristos 5665*ed0d50c3Schristos * read.h (s_abort): Add ATTRIBUTE_NORETURN. 5666*ed0d50c3Schristos 5667*ed0d50c3Schristos2000-07-10 Ryan Bradetich <rbradetich@uswest.net> 5668*ed0d50c3Schristos 5669*ed0d50c3Schristos * hash.c (hash_insert): Add cast to obstruct_alloc to fix 5670*ed0d50c3Schristos warning. 5671*ed0d50c3Schristos (hash_jam): Ditto. 5672*ed0d50c3Schristos 5673*ed0d50c3Schristos2000-07-09 Alan Modra <alan@linuxcare.com.au> 5674*ed0d50c3Schristos 5675*ed0d50c3Schristos From David Huggins-Daines <dhd@linuxcare.com> 5676*ed0d50c3Schristos * config/te-hppalinux64.h: Add a new emulation. 5677*ed0d50c3Schristos * configure.in (emulations): Add configure bits to support the 5678*ed0d50c3Schristos 64-bit Linux/parisc target. 5679*ed0d50c3Schristos * configure: Regenerate. 5680*ed0d50c3Schristos 5681*ed0d50c3Schristos * config/tc-hppa.c (md_parse_option): Support `-V' for ELF. 5682*ed0d50c3Schristos (md_shortopts): Add `V' for ELF. 5683*ed0d50c3Schristos 5684*ed0d50c3Schristos * config/tc-hppa.c (arg_reloc_stub_needed): Define as zero except 5685*ed0d50c3Schristos when SOM or ELF_ARG_RELOC are defined. 5686*ed0d50c3Schristos (pa_type_args): Only set symbol_arg_reloc_info when SOM or 5687*ed0d50c3Schristos ELF_ARG_RELOC are defined. 5688*ed0d50c3Schristos (pa_stringer_aux): Don't pa_check_current_space_and_subspace here.. 5689*ed0d50c3Schristos (pa_stringer): ..Do it here instead. Fix comment typos. 5690*ed0d50c3Schristos (hppa_force_relocation): Cast enums to int before comparing with 5691*ed0d50c3Schristos ints. 5692*ed0d50c3Schristos 5693*ed0d50c3Schristos From Ryan Bradetich <rbradetich@uswest.net> 5694*ed0d50c3Schristos * config/tc-hppa.c: Removed unneeded libbfd.h to fix macro 5695*ed0d50c3Schristos redifinition warning. 5696*ed0d50c3Schristos (md_apply_fix): Added cast from enum to int for fixP->fx_r_type. 5697*ed0d50c3Schristos (hppa_force_relocation): ditto 5698*ed0d50c3Schristos (md_apply_fix): Added cast to buf to fix warnings. 5699*ed0d50c3Schristos 5700*ed0d50c3Schristos * config/tc-hppa.h (pa_define_label, parse_cons_expression_hppa, 5701*ed0d50c3Schristos cons_fix_new_hppa, hppa_force_relocation): Prototype. 5702*ed0d50c3Schristos 5703*ed0d50c3Schristos * config/tc-hppa.c (reloc_type): It's an enum for OBJ_ELF. 5704*ed0d50c3Schristos (R_N0SEL, R_N1SEL): Define only for OBJ_SOM. 5705*ed0d50c3Schristos (tc_gen_reloc): Make `code' a reloc_type and `codes' a 5706*ed0d50c3Schristos reloc_type** to avoid warnings in switch. 5707*ed0d50c3Schristos (md_apply_fix): Make insn, val signed. Zap buf_wd and read insn a 5708*ed0d50c3Schristos little earlier instead. 5709*ed0d50c3Schristos 5710*ed0d50c3Schristos * config/tc-hppa.c (symbol_arg_reloc_info): Define for both som 5711*ed0d50c3Schristos and elf. 5712*ed0d50c3Schristos (pa_type_args): Use symbol_arg_reloc_info. 5713*ed0d50c3Schristos (struct pa_it): Make arg_reloc unsigned int. 5714*ed0d50c3Schristos (struct hppa_fix_struct): Likewise for fx_arg_reloc. 5715*ed0d50c3Schristos (pa_text, pa_data, pa_comm): Don't compile for TE_LINUX. 5716*ed0d50c3Schristos (pa_code): Delete. pa_text duplicates this function. 5717*ed0d50c3Schristos (md_pseudo_table): Call obj_elf_text for ".code" if TE_LINUX. 5718*ed0d50c3Schristos (fix_new_hppa): Argument offset is offsetT, arg_reloc is unsigned 5719*ed0d50c3Schristos int. 5720*ed0d50c3Schristos (cons_fix_new_hppa): Actually change selector to e_fsel when 5721*ed0d50c3Schristos warning about assuming so. 5722*ed0d50c3Schristos (tc_gen_reloc): More example elf arg reloc code. 5723*ed0d50c3Schristos (md_apply_fix): Use arg_reloc_stub_needed for elf too. 5724*ed0d50c3Schristos (hppa_force_relocation): Likewise. 5725*ed0d50c3Schristos 5726*ed0d50c3Schristos * config/tc-hppa.h: Use TARGET_ARCH_SIZE to select target include 5727*ed0d50c3Schristos files. 5728*ed0d50c3Schristos (pa_end_of_source): Prototype. 5729*ed0d50c3Schristos (hppa_fix_adjustable): Prototype. 5730*ed0d50c3Schristos (LABELS_WITHOUT_COLONS): Move it.. 5731*ed0d50c3Schristos * config/te-hppa.h: To here. 5732*ed0d50c3Schristos 5733*ed0d50c3Schristos * config/te-hppa64.h: New file. 5734*ed0d50c3Schristos 5735*ed0d50c3Schristos * config/tc-hppa.c: Use TARGET_ARCH_SIZE to select target reloc 5736*ed0d50c3Schristos type. 5737*ed0d50c3Schristos (md_apply_fix): Pass stdoutput to bfd_hppa_insn2fmt. Handle 5738*ed0d50c3Schristos format -10, -16, 16 relocs. 5739*ed0d50c3Schristos (hppa_elf_mark_end_of_function): Test for null 5740*ed0d50c3Schristos last_call_info->start_symbol 5741*ed0d50c3Schristos 5742*ed0d50c3Schristos * config/tc-hppa.c (pa_ip): In case 'V', pass `strict' to 5743*ed0d50c3Schristos CHECK_FIELD, not INSERT_FIELD_AND_CONTINUE. Don't pass opcode to 5744*ed0d50c3Schristos re_assesmble_* functions. Delete extraneous statements. Fix 5745*ed0d50c3Schristos typos in comments. 5746*ed0d50c3Schristos (md_apply_fix): Compare against 1048575 in case 21. Don't pass 5747*ed0d50c3Schristos insn to re_assemble_*. 5748*ed0d50c3Schristos 5749*ed0d50c3Schristos2000-07-08 Ulf Carlsson <ulfc@engr.sgi.com> 5750*ed0d50c3Schristos 5751*ed0d50c3Schristos * doc/internals.texi (Expressions): Fix typo. 5752*ed0d50c3Schristos 5753*ed0d50c3Schristos2000-07-08 Kazu Hirata <kazu@hxi.com> 5754*ed0d50c3Schristos 5755*ed0d50c3Schristos * config/tc-sh.c: Fix formatting. 5756*ed0d50c3Schristos * config/tc-tic54x.c: Fix formatting. 5757*ed0d50c3Schristos * depend.c: Fix formatting. 5758*ed0d50c3Schristos * flonum-konst.c: Likewise. 5759*ed0d50c3Schristos * flonum-mult.c: Likewise. 5760*ed0d50c3Schristos 5761*ed0d50c3Schristos2000-07-07 Kazu Hirata <kazu@hxi.com> 5762*ed0d50c3Schristos 5763*ed0d50c3Schristos * config/tc-sh.c: Fix comments. 5764*ed0d50c3Schristos * config/obj-vms.c: Fix comments. 5765*ed0d50c3Schristos * config/tc-a29k.c: Likewise. 5766*ed0d50c3Schristos * config/tc-alpha.c: Likewise. 5767*ed0d50c3Schristos * config/tc-h8300.c: Likewise. 5768*ed0d50c3Schristos * config/tc-h8500.c: Likewise. 5769*ed0d50c3Schristos * config/tc-i370.c: Likewise. 5770*ed0d50c3Schristos * config/tc-ia64.c: Likewise. 5771*ed0d50c3Schristos * config/tc-m68hc11.c: Likewise. 5772*ed0d50c3Schristos * config/tc-m68k.c: Likewise. 5773*ed0d50c3Schristos * config/tc-mips.c: Likewise. 5774*ed0d50c3Schristos * config/tc-ns32k.c: Likewise. 5775*ed0d50c3Schristos * config/tc-ppc.c: Likewise. 5776*ed0d50c3Schristos * config/tc-z8k.c: Likewise. 5777*ed0d50c3Schristos 5778*ed0d50c3Schristos2000-07-06 Mark Elbrecht <snowball3@bigfoot.com> 5779*ed0d50c3Schristos 5780*ed0d50c3Schristos * config/obj-coff.c (TC_COFF_SECTION_DEFAULT_ATTRIBUTES): New. 5781*ed0d50c3Schristos Default to '(SEC_LOAD | SEC_DATA)'. 5782*ed0d50c3Schristos (obj_coff_section) [BFD_ASSEMBLER]: Use it. 5783*ed0d50c3Schristos 5784*ed0d50c3Schristos * doc/internals.texi (CPU Backend): Describe 5785*ed0d50c3Schristos TC_COFF_SECTION_DEFAULT_ATTRIBUTES. 5786*ed0d50c3Schristos 5787*ed0d50c3Schristos2000-06-06 Andrew Cagney <cagney@b1.cygnus.com> 5788*ed0d50c3Schristos 5789*ed0d50c3Schristos * as.c (parse_args): NULL terminate the long option list. 5790*ed0d50c3Schristos 5791*ed0d50c3Schristos2000-06-04 Andrew Cagney <cagney@b1.cygnus.com> 5792*ed0d50c3Schristos 5793*ed0d50c3Schristos * config/tc-d30v.h: Include "write.h" for fixS. 5794*ed0d50c3Schristos (d30v_start_line, md_pcrel_from_section): Add function prototypes. 5795*ed0d50c3Schristos 5796*ed0d50c3Schristos2000-07-05 Nick Clifton <nickc@cygnus.com> 5797*ed0d50c3Schristos 5798*ed0d50c3Schristos * config/tc-d30v.c (write_2_short): Further changes to warning 5799*ed0d50c3Schristos messages produced when combining EITHER_BUT_PREFER_MU attributed 5800*ed0d50c3Schristos opcodes. 5801*ed0d50c3Schristos 5802*ed0d50c3Schristos2000-07-05 DJ Delorie <dj@redhat.com> 5803*ed0d50c3Schristos 5804*ed0d50c3Schristos * MAINTAINERS: new 5805*ed0d50c3Schristos 5806*ed0d50c3Schristos2000-07-04 Alexandre Oliva <aoliva@redhat.com> 5807*ed0d50c3Schristos 5808*ed0d50c3Schristos * config/tc-arm.c (psrs): Accept combinations of flags. 5809*ed0d50c3Schristos 5810*ed0d50c3Schristos2000-07-03 Marek Michalkiewicz <marekm@linux.org.pl> 5811*ed0d50c3Schristos 5812*ed0d50c3Schristos * config/tc-avr.c: Change _ () to _() around all strings marked 5813*ed0d50c3Schristos for translation (exception from the usual coding style). 5814*ed0d50c3Schristos (avr_opt): New struct variable, how the new switches are set. 5815*ed0d50c3Schristos (OPTION_MMCU): Define as 'm' and actually use. 5816*ed0d50c3Schristos (md_longopts): Add -mall-opcodes, -mno-skip-bug, -mno-wrap. 5817*ed0d50c3Schristos (show_mcu_list): New function, display the list of known MCUs. 5818*ed0d50c3Schristos (md_show_usage): Document the new switches. Call show_mcu_list. 5819*ed0d50c3Schristos (avr_set_arch): Change 'm' to OPTION_MMCU. 5820*ed0d50c3Schristos (md_parse_option): Call show_mcu_list if unknown MCU specified. 5821*ed0d50c3Schristos Handle the new switches. 5822*ed0d50c3Schristos (avr_operands): Disable warnings for undefined combinations of 5823*ed0d50c3Schristos operands if -mall-opcodes. Disable warnings for skipping two-word 5824*ed0d50c3Schristos instructions if enhanced core or -mno-skip-bug. 5825*ed0d50c3Schristos (avr_operand): Accept all addressing modes on avr1 if -mall-opcodes. 5826*ed0d50c3Schristos (md_apply_fix3): Reject 8K wrap if >8K or -mno-wrap. 5827*ed0d50c3Schristos (md_assemble): Accept opcodes not supported by MCU if -mall-opcodes. 5828*ed0d50c3Schristos (avr_ldi_expression): Warn about implicit lo8(). 5829*ed0d50c3Schristos * config/tc-avr.h (md_pcrel_from_section): Add prototype. 5830*ed0d50c3Schristos 5831*ed0d50c3Schristos2000-07-01 Koundinya K <kk@ddeorg.soft.net> 5832*ed0d50c3Schristos 5833*ed0d50c3Schristos * configure.in: Add entry for mips-*-sysv4*MP* 5834*ed0d50c3Schristos * configure: Rebuild 5835*ed0d50c3Schristos * config/tc-mips.c (mips_target_format): Return elf32-tradbigmips or 5836*ed0d50c3Schristos elf32-tradlittlemips for traditional mips targets. 5837*ed0d50c3Schristos * config/tc-mips.c (md_estimate_size_before_relax): Duplicate the 5838*ed0d50c3Schristos test for Link Once sections as in adjust_reloc_syms. 5839*ed0d50c3Schristos * config/te-tmips.h: New file for traditional mips targets. Define 5840*ed0d50c3Schristos TE_TMIPS. 5841*ed0d50c3Schristos 5842*ed0d50c3Schristos2000-06-29 Mark Elbrecht <snowball3@bigfoot.com> 5843*ed0d50c3Schristos 5844*ed0d50c3Schristos * config/obj-coff.c (obj_coff_setcion) [BFD_ASSEMBLER]: If the 5845*ed0d50c3Schristos flags argument is not present, don't change an existing section's 5846*ed0d50c3Schristos section's attributes. If the flags argument is present, warn if the 5847*ed0d50c3Schristos attributes don't match the section's current attributes. When 5848*ed0d50c3Schristos long section names are supported, set SEC_LINK_ONCE and 5849*ed0d50c3Schristos SEC_LINK_DUPLICATES_DISCARD for a new .gnu.linkonce section. 5850*ed0d50c3Schristos 5851*ed0d50c3Schristos2000-06-29 Hans-Peter Nilsson <hp@axis.com> 5852*ed0d50c3Schristos 5853*ed0d50c3Schristos * config/obj-aout.c (obj_aout_type): Do not ignore for undefined 5854*ed0d50c3Schristos symbols; create them. 5855*ed0d50c3Schristos 5856*ed0d50c3Schristos2000-06-29 Mark Elbrecht <snowball3@bigfoot.com> 5857*ed0d50c3Schristos 5858*ed0d50c3Schristos * write.c (set_segment_vma): New: Set vma and lma for a segment. 5859*ed0d50c3Schristos (write_object_file) [BFD_ASSEMBLER && OBJ_COFF && TE_GO32]: Use it. 5860*ed0d50c3Schristos 5861*ed0d50c3Schristos2000-06-27 Aldy Hernandez <aldyh@redhat.com> 5862*ed0d50c3Schristos 5863*ed0d50c3Schristos * config/tc-mips.c (mips_ip): handle "(foo-.-4)" type of 5864*ed0d50c3Schristos expressions. Ignore the problem when handling 16 bit signed 5865*ed0d50c3Schristos immediates, because the assembler will take care of the relocation 5866*ed0d50c3Schristos later. 5867*ed0d50c3Schristos 5868*ed0d50c3Schristos2000-06-27 Nick Clifton <nickc@cygnus.com> 5869*ed0d50c3Schristos 5870*ed0d50c3Schristos * config/tc-d30v.c (write_2_short): Do not allow opcodes with 5871*ed0d50c3Schristos the EITHER_BUT_PREFER_MU attribute to be combined into a reverse 5872*ed0d50c3Schristos sequential order, and emit warning messages if the input source 5873*ed0d50c3Schristos code contains constructs like that, or parallel constructs 5874*ed0d50c3Schristos containing such opcodes. 5875*ed0d50c3Schristos 5876*ed0d50c3Schristos2000-06-26 Marek Michalkiewicz <marekm@linux.org.pl> 5877*ed0d50c3Schristos 5878*ed0d50c3Schristos * config/tc-avr.c (mcu_types): Rename avr4 to avr5, add avr4. 5879*ed0d50c3Schristos Add more MCU types for avr4 and avr5. Replace at94k{10,20,40} 5880*ed0d50c3Schristos with just at94k. Change AVR_ISA_85xx back to AVR_ISA_2xxx. 5881*ed0d50c3Schristos (md_show_usage): Update usage message. 5882*ed0d50c3Schristos (md_parse_option): Allow redefinition of MCU type within the 5883*ed0d50c3Schristos same avr[1-5] bfd machine type. Show both old and new MCU type 5884*ed0d50c3Schristos in the error message. 5885*ed0d50c3Schristos (md_apply_fix3): Support 8K wrap if AVR_ISA_MEGA is not set. 5886*ed0d50c3Schristos Simplify 8K wrap code. 5887*ed0d50c3Schristos 5888*ed0d50c3Schristos2000-06-25 Kazu Hirata <kazu@hxi.com> 5889*ed0d50c3Schristos 5890*ed0d50c3Schristos * config/obj-aout.c: Remove all uses of DEFUN. 5891*ed0d50c3Schristos * config/obj-ieee.c: Likewise. 5892*ed0d50c3Schristos * config/tc-sh.c: Fix comment typos. 5893*ed0d50c3Schristos * config/tc-tahoe.c: Likewise. 5894*ed0d50c3Schristos * config/tc-vax.c: Likewise. 5895*ed0d50c3Schristos * config/tc-w65.c: Likewise. 5896*ed0d50c3Schristos * config/tc-z8k.c: Likewise. 5897*ed0d50c3Schristos * config/tc-h8300.c (build_bytes): Assemble ldmac correctly. 5898*ed0d50c3Schristos 5899*ed0d50c3Schristos2000-06-24 DJ Delorie <dj@cygnus.com> 5900*ed0d50c3Schristos 5901*ed0d50c3Schristos * config/tc-i386.c (md_estimate_size_before_relax): Revert 5902*ed0d50c3Schristos more changes from Sept 1999 5903*ed0d50c3Schristos (tc_i386_fix_adjustable): ditto 5904*ed0d50c3Schristos (md_apply_fix3): ditto 5905*ed0d50c3Schristos 5906*ed0d50c3Schristos2000-06-24 Frank Ch. Eigler <fche@redhat.com> 5907*ed0d50c3Schristos 5908*ed0d50c3Schristos * cgen.c (expr_jmp_buf_p): New validity flag for expr_jmp_buf. 5909*ed0d50c3Schristos (gas_cgen_parse_operand): Set it around expression() call. 5910*ed0d50c3Schristos (gas_cgen_md_operand): Test for it before longjmp(). 5911*ed0d50c3Schristos 5912*ed0d50c3Schristos2000-06-24 Kazu Hirata <kazu@hxi.com> 5913*ed0d50c3Schristos 5914*ed0d50c3Schristos * config/tc-h8500.c: Remove all uses of DEFUN. 5915*ed0d50c3Schristos * config/tc-sh.c: Likewise. 5916*ed0d50c3Schristos * config/tc-w65.c: Likewise. 5917*ed0d50c3Schristos * config/tc-z8k.c: Likewise. 5918*ed0d50c3Schristos 5919*ed0d50c3Schristos * config/tc-h8500.c: Fix typos in comments. 5920*ed0d50c3Schristos 5921*ed0d50c3Schristos2000-06-23 Frank Ch. Eigler <fche@redhat.com> 5922*ed0d50c3Schristos 5923*ed0d50c3Schristos * expr.c (operand): Permit $hex literals if LITERAL_PREFIXDOLLAR_HEX 5924*ed0d50c3Schristos is defined. 5925*ed0d50c3Schristos 5926*ed0d50c3Schristos2000-06-23 matthew green <mrg@redhat.com> 5927*ed0d50c3Schristos 5928*ed0d50c3Schristos * expr.c (operand): Do not as_bad() if RELAX_PAREN_GROUPING is 5929*ed0d50c3Schristos defined. Fix error message for `[' grouping. 5930*ed0d50c3Schristos 5931*ed0d50c3Schristos2000-06-22 Kazu Hirata <kazu@hxi.com> 5932*ed0d50c3Schristos 5933*ed0d50c3Schristos * config/tc-h8300.c: Fix formatting and comment typos. 5934*ed0d50c3Schristos 5935*ed0d50c3Schristos2000-06-22 Timothy Wall <twall@cygnus.com> 5936*ed0d50c3Schristos 5937*ed0d50c3Schristos * config/tc-ia64.c (note_register_values): Move premature QP 5938*ed0d50c3Schristos notation clearing into the appropriate place. 5939*ed0d50c3Schristos 5940*ed0d50c3Schristos2000-06-22 Alan Modra <alan@linuxcare.com.au> 5941*ed0d50c3Schristos 5942*ed0d50c3Schristos * dep-in.sed: Escape literal `.'s on patterns. Trim off `../' 5943*ed0d50c3Schristos first before anything else. Add bin-bugs.h, emul.h and progress.h 5944*ed0d50c3Schristos Sort list of files as for $(OBJS) in Makefile.am. 5945*ed0d50c3Schristos 5946*ed0d50c3Schristos * Makefile.am (DEP): grep for leading `/' in DEPA, and fail if we 5947*ed0d50c3Schristos find one. Remake dependencies. 5948*ed0d50c3Schristos ($(OBJS)): Add bin-bugs.h, emul.h, and progress.h Sort the list. 5949*ed0d50c3Schristos * Makefile.in: Regenerate. 5950*ed0d50c3Schristos * doc/Makefile.in: Regenerate. 5951*ed0d50c3Schristos 5952*ed0d50c3Schristos * config/tc-i386.c (i386_displacement): Don't assume a constant 5953*ed0d50c3Schristos displacement is necessarily 16 bits when in 16 bit code mode. 5954*ed0d50c3Schristos (md_assemble): Instead size the displacement here after we know 5955*ed0d50c3Schristos for sure that a .code16gcc operand hasn't automatically added 5956*ed0d50c3Schristos operand size prefixes. 5957*ed0d50c3Schristos 5958*ed0d50c3Schristos2000-06-21 H.J. Lu <hjl@gnu.org> 5959*ed0d50c3Schristos 5960*ed0d50c3Schristos * Makefile.am: Rebuild dependency. 5961*ed0d50c3Schristos * Makefile.in: Rebuild. 5962*ed0d50c3Schristos 5963*ed0d50c3Schristos2000-06-21 Kazu Hirata <kazu@hxi.com> 5964*ed0d50c3Schristos 5965*ed0d50c3Schristos * config/tc-h8300.c (parse_reg): Make the function static. 5966*ed0d50c3Schristos (parse_exp): Likewise. 5967*ed0d50c3Schristos 5968*ed0d50c3Schristos2000-06-20 DJ Delorie <dj@cygnus.com> 5969*ed0d50c3Schristos 5970*ed0d50c3Schristos * config/tc-i386.c (tc_i386_fix_adjustable): Revert change from 5971*ed0d50c3Schristos Sept 1999; RVA relocs need to be treated more like DIR32 relocs 5972*ed0d50c3Schristos for cygwin import libraries to work properly. 5973*ed0d50c3Schristos 5974*ed0d50c3Schristos2000-06-20 H.J. Lu <hjl@gnu.org> 5975*ed0d50c3Schristos 5976*ed0d50c3Schristos * Makefile.am: Rebuild dependency. 5977*ed0d50c3Schristos * Makefile.in: Rebuild. 5978*ed0d50c3Schristos * configure: Likewise. 5979*ed0d50c3Schristos * doc/Makefile.in: Likewise. 5980*ed0d50c3Schristos 5981*ed0d50c3Schristos2000-06-20 Timothy Wall <twall@cygnus.com> 5982*ed0d50c3Schristos 5983*ed0d50c3Schristos * doc/internals.texi (CPU backend): Add @itemx for 5984*ed0d50c3Schristos TC_START_LABEL_WITHOUT_COLON. 5985*ed0d50c3Schristos * doc/c-tic54x.texi: New. 5986*ed0d50c3Schristos * doc/as.texinfo: Add tic54x features and include primary tic54x 5987*ed0d50c3Schristos documentation file. 5988*ed0d50c3Schristos * doc/all.texi: Add C54X. 5989*ed0d50c3Schristos * doc/Makefile.am (CPU_DOCS): Add c-tic54x.texi. 5990*ed0d50c3Schristos * doc/Makefile.in: Regenerate. 5991*ed0d50c3Schristos * configure.in: Add tic54x and define LIBM for tic54x. 5992*ed0d50c3Schristos * configure: Regenrate. 5993*ed0d50c3Schristos * config/tc-tic54x.[ch]: New. 5994*ed0d50c3Schristos * config/obj-coff.h: Add tic54x. 5995*ed0d50c3Schristos * Makefile.am: (CPU_TYPES): Add tic54x. 5996*ed0d50c3Schristos (TARGET_CPU_CFILES): Add 'tc-tic54x.c'. 5997*ed0d50c3Schristos (TARGET_CPU_HFILES): Add 'tc-tic54x.h'. 5998*ed0d50c3Schristos (as_new_LDADD): Add $(LIBM). 5999*ed0d50c3Schristos * Makefile.in: Regenerate. 6000*ed0d50c3Schristos 6001*ed0d50c3Schristos2000-06-18 Stephane Carrez <stcarrez@worldnet.fr> 6002*ed0d50c3Schristos 6003*ed0d50c3Schristos * doc/Makefile.am (CPU_DOCS): Added 68hc11 file. 6004*ed0d50c3Schristos * doc/c-m68hc11.texi: Document 68HC11 and 68HC12 port. 6005*ed0d50c3Schristos * doc/as.texinfo: Likewise. 6006*ed0d50c3Schristos 6007*ed0d50c3Schristos * configure, Makefile.in: Regenerate. 6008*ed0d50c3Schristos * configure.in (emulations): Recognize m6811 and m6812. 6009*ed0d50c3Schristos * Makefile.am (CPU_TYPES, TARGET_CPU_CFILES, TARGET_CPU_HFILES): 6010*ed0d50c3Schristos Added files for 68hc11 and 68hc12 assembler. 6011*ed0d50c3Schristos * config/tc-m68hc11.c: Assembler for 68hc11 and 68hc12. 6012*ed0d50c3Schristos * config/tc-m68hc11.h: Header definition for that assembler. 6013*ed0d50c3Schristos 6014*ed0d50c3Schristos2000-06-18 Nick Clifton <nickc@redhat.com> 6015*ed0d50c3Schristos 6016*ed0d50c3Schristos * symbols.c (resolve_symbol_value): Use bfd_octets_per_byte 6017*ed0d50c3Schristos instead of OCTETS_PER_BYTE. 6018*ed0d50c3Schristos 6019*ed0d50c3Schristos * config/tc-v850.c: Fix compile time warnings. 6020*ed0d50c3Schristos * config/tc-ppc.c: Fix compile time warnings. 6021*ed0d50c3Schristos 6022*ed0d50c3Schristos2000-06-18 H.J. Lu <hjl@gnu.org> 6023*ed0d50c3Schristos 6024*ed0d50c3Schristos * configure.in: Don't emulate i386-pc-pe-coff with i386coff. 6025*ed0d50c3Schristos * configure: Rebuild. 6026*ed0d50c3Schristos 6027*ed0d50c3Schristos2000-06-17 Mark Elbrecht <snowball3@bigfoot.com> 6028*ed0d50c3Schristos 6029*ed0d50c3Schristos * config/obj-coff.c (obj_coff_weak): Typo fix: Change BFD_ASSEMLER 6030*ed0d50c3Schristos to BFD_ASSEMBLER. 6031*ed0d50c3Schristos 6032*ed0d50c3Schristos2000-06-16 Nick Clifton <nickc@cygnus.com> 6033*ed0d50c3Schristos 6034*ed0d50c3Schristos * config/tc-mips.c (md_parse_option): Accept RM5200,RM5230, 6035*ed0d50c3Schristos RM5231, RM5261, RM5721 and RM7000 as r5000 cpu variants. 6036*ed0d50c3Schristos 6037*ed0d50c3Schristos * doc/c-mips.texi: Document newly accepted cpu variants. 6038*ed0d50c3Schristos 6039*ed0d50c3Schristos2000-06-15 Ulf Carlsson <ulfc@engr.sgi.com> 6040*ed0d50c3Schristos 6041*ed0d50c3Schristos * config/tc-mips.h: Remove definition of ONLY_STANDARD_ESCAPES. 6042*ed0d50c3Schristos 6043*ed0d50c3Schristos2000-06-13 Ulf Carlsson <ulfc@engr.sgi.com> 6044*ed0d50c3Schristos 6045*ed0d50c3Schristos * macro.c (getstring): Make it possible to escape the quote 6046*ed0d50c3Schristos character. 6047*ed0d50c3Schristos 6048*ed0d50c3Schristos2000-06-13 Catherine Moore <clm@redhat.com> 6049*ed0d50c3Schristos 6050*ed0d50c3Schristos * config/tc-hppa.c (pa_export): Weak symbols can be global. 6051*ed0d50c3Schristos 6052*ed0d50c3Schristos2000-06-13 H.J. Lu <hjl@gnu.org> 6053*ed0d50c3Schristos 6054*ed0d50c3Schristos * configure: Regenerate. 6055*ed0d50c3Schristos 6056*ed0d50c3Schristos2000-06-09 Alan Modra <alan@linuxcare.com.au> 6057*ed0d50c3Schristos 6058*ed0d50c3Schristos * app.c (do_scrub_begin): Don't default lex[';'] as a line 6059*ed0d50c3Schristos separator. 6060*ed0d50c3Schristos * doc/internals.texi (line_separator_chars): Semicolon is no 6061*ed0d50c3Schristos longer a default. Mention null and newline as defaults. 6062*ed0d50c3Schristos 6063*ed0d50c3Schristos * read.c (is_end_of_line): Remove ifdef TC_HPPA. 6064*ed0d50c3Schristos 6065*ed0d50c3Schristos * config/tc-i386.h (line_separator_chars): Explicitly mention `;' 6066*ed0d50c3Schristos * config/tc-i860.h (line_separator_chars): Likewise. 6067*ed0d50c3Schristos * config/tc-h8300.c (line_separator_chars): Likewise. 6068*ed0d50c3Schristos * config/tc-i960.c (line_separator_chars): Likewise. 6069*ed0d50c3Schristos * config/tc-m68k.c (line_separator_chars): Likewise. 6070*ed0d50c3Schristos * config/tc-mips.c (line_separator_chars): Likewise. 6071*ed0d50c3Schristos * config/tc-ns32k.c (line_separator_chars): Likewise. 6072*ed0d50c3Schristos * config/tc-sparc.c (line_separator_chars): Likewise. 6073*ed0d50c3Schristos * config/tc-vax.c (line_separator_chars): Likewise. 6074*ed0d50c3Schristos 6075*ed0d50c3Schristos * config/tc-h8300.c (comment_chars): Use string initialiser. 6076*ed0d50c3Schristos * config/tc-i960.c (line_comment_chars): Likewise. 6077*ed0d50c3Schristos * config/tc-z8k.c (comment_chars, line_comment_chars, 6078*ed0d50c3Schristos line_separator_chars): Likewise. 6079*ed0d50c3Schristos 6080*ed0d50c3Schristos * config/tc-arm.c (line_separator_chars): Always use `;', not just 6081*ed0d50c3Schristos for TE_LINUX. 6082*ed0d50c3Schristos 6083*ed0d50c3Schristos2000-06-08 Nick Clifton <nickc@cygnus.com> 6084*ed0d50c3Schristos 6085*ed0d50c3Schristos * config/tc-arm.c (cons_fix_new_arm): Assign correct reloc value 6086*ed0d50c3Schristos for size 1 fixes. 6087*ed0d50c3Schristos 6088*ed0d50c3Schristos2000-06-08 David O'Brien <obrien@FreeBSD.org> 6089*ed0d50c3Schristos 6090*ed0d50c3Schristos * configure.in (VERSION): Update to show this is the CVS mainline. 6091*ed0d50c3Schristos 6092*ed0d50c3Schristos2000-06-08 Matthew Jacob <mjacob@feral.com> 6093*ed0d50c3Schristos 6094*ed0d50c3Schristos * config/tc-alpha.c (md_undefined_symbol): Properly understand that 6095*ed0d50c3Schristos $at is the integer register $r28, vs. both $r28 and the floating 6096*ed0d50c3Schristos point register $f28. 6097*ed0d50c3Schristos 6098*ed0d50c3Schristos2000-06-08 James E. Wilson <wilson@cygnus.com> 6099*ed0d50c3Schristos 6100*ed0d50c3Schristos * config/tc-ia64.c (generate_unwind_image): Call ia64_flush_insns. 6101*ed0d50c3Schristos (dot_endp): Don't call ia64_flush_insns. 6102*ed0d50c3Schristos (emit_one_bundle): Don't delete prologue/body records from 6103*ed0d50c3Schristos unwind_record list in first loop. Rewrite second loop to account for 6104*ed0d50c3Schristos this. 6105*ed0d50c3Schristos 6106*ed0d50c3Schristos2000-06-07 David Mosberger <davidm@hpl.hp.com> 6107*ed0d50c3Schristos 6108*ed0d50c3Schristos * config/tc-ia64.c: Add missing prototypes. 6109*ed0d50c3Schristos (generate_unwind_image): Cast argument to output_unw_records call. 6110*ed0d50c3Schristos 6111*ed0d50c3Schristos2000-06-07 Denis Chertykov <denisc@overta.ru> 6112*ed0d50c3Schristos 6113*ed0d50c3Schristos * config/tc-avr.c (avr_operand): fix the formatting of the comment. 6114*ed0d50c3Schristos 6115*ed0d50c3Schristos2000-06-07 Denis Chertykov <denisc@overta.ru> 6116*ed0d50c3Schristos 6117*ed0d50c3Schristos * config/tc-avr.c (AVR_ISA_???): moved to include/opcode/avr.h 6118*ed0d50c3Schristos (REGISTER_P): likewise. 6119*ed0d50c3Schristos (avr_opcodes): uses include/opcode/avr.h 6120*ed0d50c3Schristos (avr_operand): enable ld r,Z or st r,Z for at90s1200. 6121*ed0d50c3Schristos 6122*ed0d50c3Schristos2000-06-04 Alan Modra <alan@linuxcare.com.au> 6123*ed0d50c3Schristos 6124*ed0d50c3Schristos * read.c (is_end_of_line): No ';' for TC_HPPA. Add missing 6125*ed0d50c3Schristos initializers too. 6126*ed0d50c3Schristos 6127*ed0d50c3Schristos2000-06-03 H.J. Lu <hjl@gnu.org> 6128*ed0d50c3Schristos 6129*ed0d50c3Schristos * read.c (is_end_of_line): Put back `;'. 6130*ed0d50c3Schristos 6131*ed0d50c3Schristos2000-06-03 Alan Modra <alan@linuxcare.com.au> 6132*ed0d50c3Schristos 6133*ed0d50c3Schristos * config/tc-i386.c (md_shortopts): Remove 'm', add 'q' to non-elf. 6134*ed0d50c3Schristos 6135*ed0d50c3Schristos2000-06-01 Alan Modra <alan@linuxcare.com.au> 6136*ed0d50c3Schristos 6137*ed0d50c3Schristos * expr.c (operand): Test is_end_of_line outside switch to catch 6138*ed0d50c3Schristos line separator chars that are also operators. 6139*ed0d50c3Schristos (operator): Return O_illegal for line separator chars. 6140*ed0d50c3Schristos 6141*ed0d50c3Schristos * read.c (is_end_of_line): Use 1 instead of 99. Don't set `;' 6142*ed0d50c3Schristos entry (or `!' entry for TC_HPPA). 6143*ed0d50c3Schristos 6144*ed0d50c3Schristos * config/tc-arm.c (my_get_float_expression): Cast to unsigned char 6145*ed0d50c3Schristos before indexing is_end_of_line. Remove redundant check for '\0'. 6146*ed0d50c3Schristos (fp_op2): Likewise. 6147*ed0d50c3Schristos * config/tc-h8500.c (md_assemble): Likewise. 6148*ed0d50c3Schristos * config/tc-mcore.c (md_assemble): Likewise. 6149*ed0d50c3Schristos * config/tc-tic30.c (tic30_find_parallel_insn): Likewise. 6150*ed0d50c3Schristos (md_atof): Likewise 6151*ed0d50c3Schristos 6152*ed0d50c3Schristos * config/tc-m88k.c (s_bss): Cast to unsigned char before indexing 6153*ed0d50c3Schristos is_end_of_line. 6154*ed0d50c3Schristos * config/tc-mcore.c (mcore_cons): Likewise. 6155*ed0d50c3Schristos (mcore_float_cons): Likewise. 6156*ed0d50c3Schristos (mcore_stringer): Likewise. 6157*ed0d50c3Schristos * config/tc-tic30.c (tic30_find_parallel_insn): Likewise. 6158*ed0d50c3Schristos 6159*ed0d50c3Schristos2000-06-01 Scott Bambrough <scottb@netwinder.org> 6160*ed0d50c3Schristos 6161*ed0d50c3Schristos * config/tc-arm.c (do_mrs): Allow SPSR_BIT to be set correctly. 6162*ed0d50c3Schristos 6163*ed0d50c3Schristos2000-05-29 Nick Clifton <nickc@cygnus.com> 6164*ed0d50c3Schristos 6165*ed0d50c3Schristos * config/tc-sh.c: Fix compile time warning messages. 6166*ed0d50c3Schristos 6167*ed0d50c3Schristos * config/tc-mips.c: Fix compile time warning messages. 6168*ed0d50c3Schristos 6169*ed0d50c3Schristos2000-05-29 Philip Blundell <philb@gnu.org> 6170*ed0d50c3Schristos 6171*ed0d50c3Schristos * doc/as.texinfo: Update copyright dates. 6172*ed0d50c3Schristos (Local Labels): Delete misplaced mention of ARM. 6173*ed0d50c3Schristos * NEWS: Mention ARM ELF support. 6174*ed0d50c3Schristos 6175*ed0d50c3Schristos2000-05-27 Alexandre Oliva <aoliva@cygnus.com> 6176*ed0d50c3Schristos 6177*ed0d50c3Schristos * config/tc-mn10300.c (md_assemble): Copy size to real_size before 6178*ed0d50c3Schristos it is modified, and use the real_size to compute the frag address 6179*ed0d50c3Schristos for dwarf2 line info. 6180*ed0d50c3Schristos 6181*ed0d50c3Schristos2000-05-27 Alan Modra <alan@linuxcare.com.au> 6182*ed0d50c3Schristos 6183*ed0d50c3Schristos * Makefile.am (DEP, DEP1, dep, dep-in, dep-am): Use a better sed 6184*ed0d50c3Schristos line-matching scheme to cope with automake moving variables around. 6185*ed0d50c3Schristos ($(TARG_CPU_O)): Remove dependency on TARG_CPU_DEP_@target_cpu_type@ 6186*ed0d50c3Schristos * Makefile.in: Regenerate. 6187*ed0d50c3Schristos 6188*ed0d50c3Schristos2000-05-26 Jakub Jelinek <jakub@redhat.com> 6189*ed0d50c3Schristos 6190*ed0d50c3Schristos * config/tc-sparc.c (sparc_relax): New. 6191*ed0d50c3Schristos (md_longopts): Add -relax and -no-relax options. 6192*ed0d50c3Schristos (md_parse_options, md_show_usage): Likewise. 6193*ed0d50c3Schristos (md_apply_fix3): Optimize tail call into branch always if possible. 6194*ed0d50c3Schristos 6195*ed0d50c3Schristos2000-05-04 Donald Lindsay <dlindsay@cygnus.com> 6196*ed0d50c3Schristos 6197*ed0d50c3Schristos * config/tc-d10v.c (write_2_short, parallel_ok, md_assemble, 6198*ed0d50c3Schristos d10v_cleanup) implement Mitsubishi's newly explained branch-packing 6199*ed0d50c3Schristos rules, with warning when a GAS statement specifies a packing that 6200*ed0d50c3Schristos will result in an instruction being squashed. 6201*ed0d50c3Schristos Added typdef packing_type and enumerals, changed various integer 6202*ed0d50c3Schristos literals to use the enumerals. 6203*ed0d50c3Schristos 6204*ed0d50c3Schristos2000-05-24 David Mosberger <davidm@hpl.hp.com> 6205*ed0d50c3Schristos 6206*ed0d50c3Schristos * config/tc-ia64.c (dot_restorereg_p): New function. 6207*ed0d50c3Schristos (md_pseudo_table): Add restorereg.p. 6208*ed0d50c3Schristos (output_X3_format): Fix typo: record type should be UNW_X3, not UNW_X1. 6209*ed0d50c3Schristos (output_X4_format): Fix typo: record type should be UNW_X4, not UNW_X2. 6210*ed0d50c3Schristos 6211*ed0d50c3Schristos * config/tc-ia64.h (unw_record_type): Add unwabi. 6212*ed0d50c3Schristos (unw_r_record): Rename member MASK to GRMASK. Add sub-structure 6213*ed0d50c3Schristos called MASK with members for imask, and the masks produced by 6214*ed0d50c3Schristos fr_mem, gr_mem, br_mem, and frgr_mem. 6215*ed0d50c3Schristos (unw_p_record): Add members ABI and CONTEXT. 6216*ed0d50c3Schristos (unw_x_record): Add member AB. 6217*ed0d50c3Schristos * config/tc-ia64.c (enum reg_symbol): Add REG_PSP and REG_PRIUNAT 6218*ed0d50c3Schristos as pseudo-register for use during unwind info generation. 6219*ed0d50c3Schristos (AR_PFS, AR_LC): New macros. 6220*ed0d50c3Schristos (enum pseudo_type): Add PSEUDO_FUNC_REG to permit declaring registers 6221*ed0d50c3Schristos whose names start with an at sign (as in "@priunat"). 6222*ed0d50c3Schristos (pseudo_func): Add "svr4", "hpux", "nt" constants and "priunat" 6223*ed0d50c3Schristos register. 6224*ed0d50c3Schristos (unwind_list, unwind_tail, current_unwind_entry, proc_start, 6225*ed0d50c3Schristos proc_end, unwind_info, personality_routine): Consolidate into 6226*ed0d50c3Schristos "unwind" structure to reduce offset-table use. Add member 6227*ed0d50c3Schristos NEXT_SLOT_NUMBER to track the slot number for the next instruction 6228*ed0d50c3Schristos to be emitted. 6229*ed0d50c3Schristos (output_R1_format, output_R3_format, output_P3_format, 6230*ed0d50c3Schristos output_P6_format): Initialize R with zero to reduce compiler warnings. 6231*ed0d50c3Schristos (output_P7_format): Ditto. Add `default' branch to switch 6232*ed0d50c3Schristos statement to reduce compiler warnings. 6233*ed0d50c3Schristos (output_P8_format, output_B1_format, output_B4_format): Ditto. 6234*ed0d50c3Schristos (output_P4_format): Rename 2nd & 3rd arg to IMASK and IMASK_SIZE. 6235*ed0d50c3Schristos (format_ab_reg): Rename from format_a_b_reg. Merge A and B args 6236*ed0d50c3Schristos into single argument. 6237*ed0d50c3Schristos (output_X1_format, output_X3_format): Initialize R with zero to reduce 6238*ed0d50c3Schristos compiler warnings. Merge A and B args into single argument. 6239*ed0d50c3Schristos (output_X2_format, output_X4_format): Remove unused variable R. Merge 6240*ed0d50c3Schristos A and B args into single argument. 6241*ed0d50c3Schristos (free_record): Removed (wasn't used). 6242*ed0d50c3Schristos (free_list_records): Also free imasks in prologue records. 6243*ed0d50c3Schristos (output_prologue, output_prologue_gr): Initialize mask bits to zero. 6244*ed0d50c3Schristos (output_spill_mask): Remove. 6245*ed0d50c3Schristos (output_unwabi): New function. 6246*ed0d50c3Schristos (output_epilogue, output_label_state, output_copy_state): Call 6247*ed0d50c3Schristos alloc_record. 6248*ed0d50c3Schristos (output_spill_psprel, output_spill_sprel, output_spill_psprel_p, 6249*ed0d50c3Schristos output_spill_sprel_p, output_spill_reg, output_spill_reg_p): Add AB 6250*ed0d50c3Schristos argument. 6251*ed0d50c3Schristos (process_one_record): New locals FR_MASK and GR_MASK. Ignore 6252*ed0d50c3Schristos gr_mem, fr_mem, br_mem, and frgr_mem records and instead emit them 6253*ed0d50c3Schristos as part of handling the prologue records. Emit region's imask if 6254*ed0d50c3Schristos we have one. Handle unwabi, epilogue, label_state, copy_state, 6255*ed0d50c3Schristos spill_psprel, spill_sprel, spill_reg, spill_psprel_p, 6256*ed0d50c3Schristos spill_sprel_p, and spill_reg_p records. 6257*ed0d50c3Schristos (set_imask, count_bits, slot_index): New function. 6258*ed0d50c3Schristos (fixup_unw_records): Fix region size computation. Handle 6259*ed0d50c3Schristos epilogue, spill_reg, spill_sprel, spill_psprel, spill_reg_p, 6260*ed0d50c3Schristos spill_sprel_p, and spill_psprel_p records. Merge mask bits of 6261*ed0d50c3Schristos frgr_mem, fr_mem, gr_mem, br_mem on a per-region basis and 6262*ed0d50c3Schristos set_imask accordingly. Update imask for gr_gr, and br_gr records. 6263*ed0d50c3Schristos (convert_expr_to_ab_reg, convert_expr_to_xy_reg): New function. 6264*ed0d50c3Schristos (dot_save): Use manifest constants for applicaton registers. 6265*ed0d50c3Schristos Handle REG_PR and REG_PRIUNAT. 6266*ed0d50c3Schristos (dot_restore): Don't just ignore it. 6267*ed0d50c3Schristos (dot_restorereg): New function.. 6268*ed0d50c3Schristos (generate_unwind_image): Ensure unwind info is a multiple of eight 6269*ed0d50c3Schristos bytes, not just four bytes. 6270*ed0d50c3Schristos (dot_handlerdata, dot_unwentry): Demand empty rest of line. 6271*ed0d50c3Schristos (dot_altrp): Don't just ignore it. 6272*ed0d50c3Schristos (dot_savemem): New function. Replaces dot_savesp() and 6273*ed0d50c3Schristos dot_savepsp(). Use manifest constants for applicaton registers. 6274*ed0d50c3Schristos Handle REG_PR and REG_PRIUNAT. 6275*ed0d50c3Schristos (dot_savef): Simplify. 6276*ed0d50c3Schristos (dot_saveb): Support generation of br_gr. 6277*ed0d50c3Schristos (dot_spillreg, dot_spillmem, dot_spillreg_p, dot_spillmem_p, 6278*ed0d50c3Schristos dot_label_state, dot_copy_state): New function. 6279*ed0d50c3Schristos (dot_unwabi): Don't just ignore it. 6280*ed0d50c3Schristos (md_pseudo_table): Add restorereg, spillreg, spillsp, spillpsp, 6281*ed0d50c3Schristos spillreg.p, spillsp.p, spillpsp, label_state, copy_state, 6282*ed0d50c3Schristos unwabi, vframesp, and vframepsp. Fix typo alprp->altrp. 6283*ed0d50c3Schristos (emit_one_bundle): Set slot number for prologue/body records 6284*ed0d50c3Schristos *before* emitting the first insn. 6285*ed0d50c3Schristos (emit_one_bundle): Set UNWIND.NEXT_SLOT_NUMBER. 6286*ed0d50c3Schristos (md_begin): Declare "psp" pseudo-register. 6287*ed0d50c3Schristos (md_operand): Handle PSEUDO_FUNC_REG. Fix printing of error message 6288*ed0d50c3Schristos so we don't get segfault. 6289*ed0d50c3Schristos (output_psp_sprel): Output sp/psp relative offsets as 4-byte word 6290*ed0d50c3Schristos counts as required per SW Conventions manual 6291*ed0d50c3Schristos (output_rp_psprel, output_rp_sprel, output_pfs_psprel,output_pfs_sprel, 6292*ed0d50c3Schristos output_preds_psprel, output_preds_sprel, output_spill_base, 6293*ed0d50c3Schristos output_unat_psprel, output_unat_sprel, output_lc_psprel, 6294*ed0d50c3Schristos output_lc_sprel, output_fpsr_psprel, output_fpsr_sprel, 6295*ed0d50c3Schristos output_priunat_psprel, output_priunat_sprel, output_bsp_psprel, 6296*ed0d50c3Schristos output_bsp_sprel, output_bspstore_psprel, output_bspstore_sprel, 6297*ed0d50c3Schristos output_rnat_psprel, output_rnat_sprel, output_spill_psprel, 6298*ed0d50c3Schristos output_spill_sprel, output_spill_psprel_p, output_spill_sprel_p):Ditto. 6299*ed0d50c3Schristos (dot_vframe): Implement. 6300*ed0d50c3Schristos (dot_vframesp, dot_vframepsp): New function. 6301*ed0d50c3Schristos 6302*ed0d50c3Schristos2000-05-23 Hans-Peter Nilsson <hp@axis.com> 6303*ed0d50c3Schristos 6304*ed0d50c3Schristos * configure.in (i386-*-freebsd a.out entry): Quote properly. 6305*ed0d50c3Schristos * configure: Regenerate. 6306*ed0d50c3Schristos 6307*ed0d50c3Schristos2000-05-23 Alan Modra <alan@linuxcare.com.au> 6308*ed0d50c3Schristos 6309*ed0d50c3Schristos * config/tc-i386.c (md_assemble): Pass jump reloc in fr_var... 6310*ed0d50c3Schristos (md_estimate_size_before_relax): so we can use it here instead of 6311*ed0d50c3Schristos old kludges. Localise vars to blocks. Comment. 6312*ed0d50c3Schristos 6313*ed0d50c3Schristos * frags.c (frag_new): Update fr_var comments. 6314*ed0d50c3Schristos * frags.h (struct frag): Ditto. 6315*ed0d50c3Schristos 6316*ed0d50c3Schristos2000-05-22 Richard Henderson <rth@cygnus.com> 6317*ed0d50c3Schristos 6318*ed0d50c3Schristos * config/tc-ia64.c (FUNC_PC_RELATIVE): New. 6319*ed0d50c3Schristos (pseudo_func): Add pcrel. 6320*ed0d50c3Schristos (operand_match): Handle IA64_OPND_TGT64. 6321*ed0d50c3Schristos (build_insn): Likewise. 6322*ed0d50c3Schristos (md_begin): Initialize pseudo_func[FUNC_PC_RELATIVE]. 6323*ed0d50c3Schristos (ia64_gen_real_reloc_type): Handle FUNC_PC_RELATIVE. 6324*ed0d50c3Schristos (fix_insn): Handle all three 64-bit relocation types. 6325*ed0d50c3Schristos 6326*ed0d50c3Schristos2000-05-22 Hans-Peter Nilsson <hp@axis.com> 6327*ed0d50c3Schristos 6328*ed0d50c3Schristos * obj.h (struct format_ops): New members begin, app_file, 6329*ed0d50c3Schristos s_set_other, s_set_desc, s_get_type, s_set_type, 6330*ed0d50c3Schristos separate_stab_sections, init_stab_section. 6331*ed0d50c3Schristos 6332*ed0d50c3Schristos * config/obj-multi.h: Update GPL notice to v2. 6333*ed0d50c3Schristos (obj_begin): New. 6334*ed0d50c3Schristos (obj_app_file): New. 6335*ed0d50c3Schristos (S_SET_SIZE): Test s_set_size for NULL before calling. 6336*ed0d50c3Schristos (S_SET_ALIGN): Similar for s_set_align. 6337*ed0d50c3Schristos (S_SET_OTHER): New. 6338*ed0d50c3Schristos (S_SET_DESC): New. 6339*ed0d50c3Schristos (S_GET_TYPE): New. 6340*ed0d50c3Schristos (S_SET_TYPE): New. 6341*ed0d50c3Schristos (SEPARATE_STAB_SECTIONS): New. 6342*ed0d50c3Schristos (INIT_STAB_SECTION): New. 6343*ed0d50c3Schristos (EMIT_SECTION_SYMBOLS): New. 6344*ed0d50c3Schristos (AOUT_STABS) [OBJ_MAYBE_AOUT]: Define. 6345*ed0d50c3Schristos 6346*ed0d50c3Schristos * config/obj-elf.h: Update GPL notice to v2. 6347*ed0d50c3Schristos Mention that this file is included from obj-multi.h. 6348*ed0d50c3Schristos (obj_begin): Wrap definition in ifndef. 6349*ed0d50c3Schristos (elf_file_symbol): Constify declaration. 6350*ed0d50c3Schristos (obj_app_file): Ditto. 6351*ed0d50c3Schristos (SEPARATE_STAB_SECTIONS, INIT_STAB_SECTION, OBJ_PROCESS_STAB): 6352*ed0d50c3Schristos Wrap in ifndef SEPARATE_STAB_SECTIONS. 6353*ed0d50c3Schristos 6354*ed0d50c3Schristos * config/obj-elf.c (elf_s_set_other): New. 6355*ed0d50c3Schristos (elf_file_symbol): Constify argument. 6356*ed0d50c3Schristos (elf_separate_stab_sections): New. 6357*ed0d50c3Schristos (elf_init_stab_section): New. 6358*ed0d50c3Schristos (elf_format_ops): Add new members. Remove comma at end. 6359*ed0d50c3Schristos 6360*ed0d50c3Schristos * config/obj-ecoff.c (ecoff_separate_stab_sections): New. 6361*ed0d50c3Schristos (ecoff_format_ops): Add new fields. Remove comma at end. 6362*ed0d50c3Schristos Mention inconsistency for emit_section_symbols. 6363*ed0d50c3Schristos 6364*ed0d50c3Schristos * config/obj-coff.h (c_dot_file_symbol): Constify declaration. 6365*ed0d50c3Schristos 6366*ed0d50c3Schristos * config/obj-coff.c (c_dot_file_symbol): Constify argument. 6367*ed0d50c3Schristos (coff_separate_stab_sections): New. 6368*ed0d50c3Schristos (coff_format_ops): Add new members. 6369*ed0d50c3Schristos 6370*ed0d50c3Schristos * config/obj-aout.c (obj_aout_sec_sym_ok_for_reloc): New. 6371*ed0d50c3Schristos (obj_aout_s_set_other): New. 6372*ed0d50c3Schristos (obj_aout_s_set_desc): New. 6373*ed0d50c3Schristos (obj_aout_s_get_type): New. 6374*ed0d50c3Schristos (obj_aout_s_set_type): New. 6375*ed0d50c3Schristos (obj_aout_separate_stab_sections): New. 6376*ed0d50c3Schristos (aout_format_ops): New members added. Use obj_aout_process_stab, 6377*ed0d50c3Schristos not 0. Use obj_aout_sec_sym_ok_for_reloc, not 0. 6378*ed0d50c3Schristos (obj_aout_frob_symbol): Add ATTRIBUTE_UNUSED to args as 6379*ed0d50c3Schristos appropriate. 6380*ed0d50c3Schristos (obj_aout_line, obj_aout_weak, obj_aout_type): Ditto. 6381*ed0d50c3Schristos 6382*ed0d50c3Schristos2000-05-22 Alan Modra <alan@linuxcare.com.au> 6383*ed0d50c3Schristos 6384*ed0d50c3Schristos * config/tc-i386.c (tc_i386_fix_adjustable): Prevent adjustment 6385*ed0d50c3Schristos for OBJ_MAYBE_ELF too. Use S_IS_EXTERNAL instead of S_IS_EXTERN. 6386*ed0d50c3Schristos (md_estimate_size_before_relax): Ensure jumps to weak and 6387*ed0d50c3Schristos externally visible symbols are relocatable. 6388*ed0d50c3Schristos 6389*ed0d50c3Schristos2000-05-20 Hans-Peter Nilsson <hp@axis.com> 6390*ed0d50c3Schristos 6391*ed0d50c3Schristos * stabs.c (aout_process_stab): Make global. 6392*ed0d50c3Schristos (s_desc): Add ATTRIBUTE_UNUSED to args as appropriate. 6393*ed0d50c3Schristos * read.h (aout_process_stab): Declare. 6394*ed0d50c3Schristos 6395*ed0d50c3Schristos * configure.in (EMULATIONS) [i386aout, i386coff, i386elf]: 6396*ed0d50c3Schristos Generalize to *aout, *coff *elf. 6397*ed0d50c3Schristos * configure: Regenerated. 6398*ed0d50c3Schristos 6399*ed0d50c3Schristos * doc/internals.texi (Object format backend): Say 6400*ed0d50c3Schristos SEPARATE_STAB_SECTIONS needs to be nonzero, not just defined. 6401*ed0d50c3Schristos 6402*ed0d50c3Schristos * Makefile.am (TARG_ENV_HFILES): Delete te-multi.h. 6403*ed0d50c3Schristos * Makefile.in: Regenerated. 6404*ed0d50c3Schristos 6405*ed0d50c3Schristos2000-05-19 Catherine Moore <clm@cygnus.com> 6406*ed0d50c3Schristos 6407*ed0d50c3Schristos * cgen.h (GAS_CGEN_MAX_FIXUPS): Check if already defined. 6408*ed0d50c3Schristos 6409*ed0d50c3Schristos2000-05-18 Alan Modra <alan@linuxcare.com.au> 6410*ed0d50c3Schristos 6411*ed0d50c3Schristos * config/tc-hppa.c (md_apply_fix): Mask out immediate bits of 6412*ed0d50c3Schristos instruction to reflect change in re_assemble_*. 6413*ed0d50c3Schristos 6414*ed0d50c3Schristos2000-05-18 Jeffrey A Law (law@cygnus.com) 6415*ed0d50c3Schristos 6416*ed0d50c3Schristos * configure.in (hppa-*-hpux11*): If the cpu is hppa*64*, then 6417*ed0d50c3Schristos build PA64 ELF tools. 6418*ed0d50c3Schristos * configure: Rebuilt. 6419*ed0d50c3Schristos 6420*ed0d50c3Schristos2000-05-17 Alan Modra <alan@linuxcare.com.au> 6421*ed0d50c3Schristos 6422*ed0d50c3Schristos * Makefile.am: Regenerate dependencies. 6423*ed0d50c3Schristos * Makefile.in: Regenerate. 6424*ed0d50c3Schristos 6425*ed0d50c3Schristos2000-05-15 Nick Clifton <nickc@cygnus.com> 6426*ed0d50c3Schristos 6427*ed0d50c3Schristos * config/tc-arm.c (struct asm_psr): Add boolean field 6428*ed0d50c3Schristos distinguishing between CSPR and SPSR. Rename 'number' field 6429*ed0d50c3Schristos to 'field'. 6430*ed0d50c3Schristos (psrs): Rearrange contents to match new asm_psr structure. 6431*ed0d50c3Schristos (arm_psr_parse): Move next to psr_required_here. Make it 6432*ed0d50c3Schristos return an asm_psr structure. 6433*ed0d50c3Schristos (psr_required_here): Use asm_psr structure returned by 6434*ed0d50c3Schristos arm_psr_parse. 6435*ed0d50c3Schristos (do_msr): Reorganise to allow psr_required_here to be called 6436*ed0d50c3Schristos only once. 6437*ed0d50c3Schristos (md_undefined_name): Mark 'name' parameter as unused, since 6438*ed0d50c3Schristos the COFF target does not use it. 6439*ed0d50c3Schristos 6440*ed0d50c3Schristos2000-05-14 David O'Brien <obrien@FreeBSD.org> 6441*ed0d50c3Schristos 6442*ed0d50c3Schristos * config/te-386bsd.h: Clean up comments to adhere to the GNU coding 6443*ed0d50c3Schristos standards. 6444*ed0d50c3Schristos * config/te-aux.h: Likewise. 6445*ed0d50c3Schristos * config/te-dpx2.h: Likewise. 6446*ed0d50c3Schristos * config/te-go32.h: Likewise. 6447*ed0d50c3Schristos * config/te-hp300.h: Likewise. 6448*ed0d50c3Schristos * config/te-hppa.h: Likewise. 6449*ed0d50c3Schristos * config/te-i386aix.h: Likewise. 6450*ed0d50c3Schristos * config/te-ic960.h: Likewise. 6451*ed0d50c3Schristos * config/te-interix.h: Likewise. 6452*ed0d50c3Schristos * config/te-nbsd532.h: Likewise. 6453*ed0d50c3Schristos * config/te-pc532mach.h: Likewise. 6454*ed0d50c3Schristos * config/te-ppcnw.h: Likewise. 6455*ed0d50c3Schristos * config/te-psos.h: Likewise. 6456*ed0d50c3Schristos * config/te-sparcaout.h: Likewise. 6457*ed0d50c3Schristos * config/te-sun3.h: Likewise. 6458*ed0d50c3Schristos * config/te-sysv32.h: Likewise. 6459*ed0d50c3Schristos 6460*ed0d50c3Schristos2000-05-14 Alan Modra <alan@linuxcare.com.au> 6461*ed0d50c3Schristos 6462*ed0d50c3Schristos * config/tc-h8300.c (do_a_fix_imm): Don't rely on `short' being 16 6463*ed0d50c3Schristos bits. Instead explicitly mask and sign extend. Do the 8 bit mask 6464*ed0d50c3Schristos and sign extend without an if statement. 6465*ed0d50c3Schristos (build_bytes): Likewise. 6466*ed0d50c3Schristos 6467*ed0d50c3Schristos2000-05-14 Kazu Hirata <kazu@hxi.com> 6468*ed0d50c3Schristos 6469*ed0d50c3Schristos * config/tc-h8300.c (do_a_fix_imm): Output a reloc for no 6470*ed0d50c3Schristos X_add_symbol L_32 case. 6471*ed0d50c3Schristos 6472*ed0d50c3Schristos2000-05-14 David O'Brien <obrien@FreeBSD.org> 6473*ed0d50c3Schristos 6474*ed0d50c3Schristos * config/te-freebsd.h: New file. 6475*ed0d50c3Schristos 6476*ed0d50c3Schristos2000-05-13 Alan Modra <alan@linuxcare.com.au> 6477*ed0d50c3Schristos 6478*ed0d50c3Schristos * asintl.h (gettext, dgettext, dcgettext, textdomain, 6479*ed0d50c3Schristos bindtextdomain): Replace defines with those from intl/libgettext.h 6480*ed0d50c3Schristos to quieten gcc warnings. 6481*ed0d50c3Schristos 6482*ed0d50c3Schristos * NEWS: Mention x86 .arch and -q. 6483*ed0d50c3Schristos 6484*ed0d50c3Schristos * config/tc-i386.c (quiet_warnings): New. 6485*ed0d50c3Schristos (md_assemble): Use quiet_warnings. 6486*ed0d50c3Schristos (md_parse_option): Set quiet_warnings from -q. 6487*ed0d50c3Schristos (md_show_usage): Mention -q, delete -m. 6488*ed0d50c3Schristos (flag_do_long_jump): Delete. 6489*ed0d50c3Schristos (md_parse_option): Remove -m. 6490*ed0d50c3Schristos (md_show_usage): Remove -m. 6491*ed0d50c3Schristos (md_create_long_jump): Remove useless flag_do_long_jump code. 6492*ed0d50c3Schristos 6493*ed0d50c3Schristos * as.c (parse_args): In case OPTION_DEFSYM, use a valueT to hold 6494*ed0d50c3Schristos the symbol value, and use bfd_scan_vma if BFD_ASSEMBLER. 6495*ed0d50c3Schristos 6496*ed0d50c3Schristos2000-05-13 Alan Modra <alan@linuxcare.com.au> 6497*ed0d50c3Schristos Alexander Sokolov <robocop@netlink.ru> 6498*ed0d50c3Schristos 6499*ed0d50c3Schristos * doc/c-i386.texi (i386-Arch): New section. 6500*ed0d50c3Schristos (i386-Syntax): Mention .intel_syntax and .att_syntax. 6501*ed0d50c3Schristos 6502*ed0d50c3Schristos * config/tc-i386.c (cpu_arch_name, cpu_arch_flags): New. 6503*ed0d50c3Schristos (smallest_imm_type): Use smallest opcode for shift by one if cpu 6504*ed0d50c3Schristos architecture has been given and is not 486. 6505*ed0d50c3Schristos (set_cpu_arch): New. 6506*ed0d50c3Schristos (md_pseudo_table): Add .arch. 6507*ed0d50c3Schristos (md_assemble): Warn if cpu architecture has been given and an 6508*ed0d50c3Schristos unsupported instruction. 6509*ed0d50c3Schristos 6510*ed0d50c3Schristos * config/tc-i386.h (SMALLEST_DISP_TYPE): Delete. 6511*ed0d50c3Schristos Move operand_types bit defines after relevant template field. 6512*ed0d50c3Schristos (template): Add cpu_flags. 6513*ed0d50c3Schristos (Cpu*): Define. 6514*ed0d50c3Schristos (arch_entry): New. 6515*ed0d50c3Schristos 6516*ed0d50c3Schristos2000-05-12 Alexandre Oliva <aoliva@cygnus.com> 6517*ed0d50c3Schristos 6518*ed0d50c3Schristos * config/tc-mn10300.h (md_end): Define. 6519*ed0d50c3Schristos (mn10300_finalize): Declare. 6520*ed0d50c3Schristos * config/tc-mn10300.c: Include dwarf2dbg.h. 6521*ed0d50c3Schristos (debug_line): Define. 6522*ed0d50c3Schristos (md_assemble): Generate dwarf2 line info. 6523*ed0d50c3Schristos (mn10300_finalize): New function. Finalize dwarf2 info. 6524*ed0d50c3Schristos 6525*ed0d50c3Schristos2000-05-11 Ulf Carlsson <ulfc@engr.sgi.com> 6526*ed0d50c3Schristos 6527*ed0d50c3Schristos * config/tc-mips.c (md_estimate_size_before_relax): Use the 6528*ed0d50c3Schristos external version of the relocation for weak symbols. 6529*ed0d50c3Schristos 6530*ed0d50c3Schristos2000-05-08 David Mosberger <davidm@hpl.hp.com> 6531*ed0d50c3Schristos 6532*ed0d50c3Schristos * config/tc-ia64.c (output_P7_format, case mem_stack_f): Output fixed 6533*ed0d50c3Schristos frame size in units of 16 bytes, as required per SW Conventions manual. 6534*ed0d50c3Schristos (output_unw_records): Output info-block header as a dword to get 6535*ed0d50c3Schristos byte-order right. 6536*ed0d50c3Schristos 6537*ed0d50c3Schristos2000-05-08 Alan Modra <alan@linuxcare.com.au> 6538*ed0d50c3Schristos 6539*ed0d50c3Schristos * as.h: #include "file", not <file> on files from ../include. 6540*ed0d50c3Schristos (as_abort, as_fatal): Add ATTRIBUTE_NORETURN. 6541*ed0d50c3Schristos * config/tc-m68k.c (m68k_ip): Fix signed/unsigned warnings. 6542*ed0d50c3Schristos (md_convert_frag): Add ATTRIBUTE_UNUSED. 6543*ed0d50c3Schristos (tc_coff_symbol_emit_hook): Ditto. 6544*ed0d50c3Schristos (OPTCOUNT): Cast to int to avoid compiler warning. 6545*ed0d50c3Schristos (md_begin): Fix signed/unsigned warnings. 6546*ed0d50c3Schristos 6547*ed0d50c3Schristos2000-05-08 Michael Sokolov <msokolov@ivan.Harhan.ORG> 6548*ed0d50c3Schristos 6549*ed0d50c3Schristos * config/tc-m68k.c (md_convert_frag_1): Abort if we end up in the 6550*ed0d50c3Schristos ABRANCH LONG case for a conditional branch on a 68000. 6551*ed0d50c3Schristos (md_estimate_size_before_relax): Likewise. Also handle 6552*ed0d50c3Schristos flag_short_refs correctly for ABRANCH, BCC68000, and DBCC. 6553*ed0d50c3Schristos (m68k-ip: case ABSL): Relax absolute references to 16-bit 6554*ed0d50c3Schristos PC-relative on all CPUs. 6555*ed0d50c3Schristos (md_estimate_size_before_relax): Likewise. 6556*ed0d50c3Schristos 6557*ed0d50c3Schristos2000-05-04 Alan Modra <alan@linuxcare.com.au> 6558*ed0d50c3Schristos 6559*ed0d50c3Schristos * as.c (parse_args): Just mention current year in printed 6560*ed0d50c3Schristos copyright message. 6561*ed0d50c3Schristos 6562*ed0d50c3Schristos2000-05-03 J.T. Conklin <jtc@redback.com> 6563*ed0d50c3Schristos 6564*ed0d50c3Schristos * config/tc-ppc.c (pre_defined_registers): Add entries for vector 6565*ed0d50c3Schristos unit registers. 6566*ed0d50c3Schristos (md_parse_option): Recognize -m7400. 6567*ed0d50c3Schristos 6568*ed0d50c3Schristos2000-05-03 Ian Lance Taylor <ian@zembu.com> 6569*ed0d50c3Schristos 6570*ed0d50c3Schristos * config/atof-ieee.c (gen_to_words): When adding carry back in, 6571*ed0d50c3Schristos don't permit lp to become less than the words array. 6572*ed0d50c3Schristos 6573*ed0d50c3Schristos2000-05-03 Rodney Brown <RodneyBrown@pmsc.com> 6574*ed0d50c3Schristos 6575*ed0d50c3Schristos config/tc-mcore.c (md_apply_fix3): BFD_RELOC_MCORE_PCREL_IMM11BY2 6576*ed0d50c3Schristos Fix little-endian case. 6577*ed0d50c3Schristos 6578*ed0d50c3Schristos2000-05-03 David O'Brien <obrien@NUXI.com> 6579*ed0d50c3Schristos 6580*ed0d50c3Schristos * as.c (parse_args): Update copyright. 6581*ed0d50c3Schristos 6582*ed0d50c3Schristos2000-05-03 Mark Elbrecht <snowball3@bigfoot.com> 6583*ed0d50c3Schristos 6584*ed0d50c3Schristos * config/tc-i386.h (SUB_SEGMENT_ALIGN): If TE_GO32, return 4 6585*ed0d50c3Schristos for the .bss section too. 6586*ed0d50c3Schristos 6587*ed0d50c3Schristos2000-05-02 Alan Modra <alan@linuxcare.com.au> 6588*ed0d50c3Schristos 6589*ed0d50c3Schristos * configure.in: Set em=linux for hppa-*-linux. 6590*ed0d50c3Schristos * configure: Regenerate. 6591*ed0d50c3Schristos * doc/Makefile.in: Regenerate with correct automake. 6592*ed0d50c3Schristos 6593*ed0d50c3Schristos * frags.c (frag_grow): Sanity check chunk_size. 6594*ed0d50c3Schristos 6595*ed0d50c3Schristos * config/obj-elf.h: #include "bfd.h" not <bfd.h> 6596*ed0d50c3Schristos * config/obj-som.h: Likewise. 6597*ed0d50c3Schristos * config/obj-ieee.h: Likewise. 6598*ed0d50c3Schristos 6599*ed0d50c3Schristos * config/tc-hppa.h: Test BFD_ARCH_SIZE, not BFD64. 6600*ed0d50c3Schristos 6601*ed0d50c3Schristos * config/tc-hppa.c (log2): Only compile when OBJ_SOM. 6602*ed0d50c3Schristos (md_pseudo_table): Fully initialise OBJ_ELF cases. 6603*ed0d50c3Schristos (fix_new_hppa): Add ATTRIBUTE_UNUSED to args as appropriate. 6604*ed0d50c3Schristos (pa_ip): low_sign_unext now returns via function value. Use 6605*ed0d50c3Schristos re_assemble_* instead of dis_assemble_* and 6606*ed0d50c3Schristos INSERT_FIELD_AND_CONTINUE combination. Don't call sign_unext 6607*ed0d50c3Schristos unnecessarily. 6608*ed0d50c3Schristos (md_convert_frag): Add ATTRIBUTE_UNUSED to args as appropriate. 6609*ed0d50c3Schristos (md_section_align, md_parse_option, md_show_usage, 6610*ed0d50c3Schristos md_undefined_symbol, pa_align, pa_block, pa_brtab, pa_try, 6611*ed0d50c3Schristos pa_callinfo, pa_code, pa_comm, pa_end, pa_enter, pa_entry, 6612*ed0d50c3Schristos pa_exit, pa_export, pa_import, pa_label, pa_leave, pa_level, 6613*ed0d50c3Schristos pa_origin, pa_param, pa_proc, pa_procend, pa_space, pa_spnum, 6614*ed0d50c3Schristos pa_version, pa_compiler, pa_copyright, pa_data, pa_fill, pa_lsym, 6615*ed0d50c3Schristos pa_text): Likewise. 6616*ed0d50c3Schristos (md_apply_fix): Change type of new_val to offsetT. Delete w1, w2, 6617*ed0d50c3Schristos w, resulti. Add insn, val. Move bfd_get_32 and bfd_put_32 6618*ed0d50c3Schristos outside of switch. Correct mask and shifting errors in case 10 6619*ed0d50c3Schristos and case -11. In case 21, compare against signed range to suit 6620*ed0d50c3Schristos hppa_field_adjust changes. In case 12, use re_assemble_12. In 6621*ed0d50c3Schristos case 17 and case 22, use offsetT variable to properly check range. 6622*ed0d50c3Schristos Use re_assemble_* here too. 6623*ed0d50c3Schristos (evaluate_absolute): Change type of value to offsetT. Call 6624*ed0d50c3Schristos hppa_field_adjust to do the work for us. 6625*ed0d50c3Schristos (pa_parse_cmpb_64_cmpltr): Delete save_s. 6626*ed0d50c3Schristos (pa_parse_cmpib_64_cmpltr): Ditto. 6627*ed0d50c3Schristos (pa_build_unwind_subspace): Delete unused var subseg. Change type 6628*ed0d50c3Schristos of i to unsigned int. 6629*ed0d50c3Schristos (pa_type_args): Conditionally declare symbol if OBJ_SOM. 6630*ed0d50c3Schristos (pa_end_of_source): Return type is void. 6631*ed0d50c3Schristos 6632*ed0d50c3Schristos2000-05-01 Catherine Moore <clm@cygnus.com> 6633*ed0d50c3Schristos 6634*ed0d50c3Schristos * macro.c (macro_expand_body): Don't prepend macro number with zeroes. 6635*ed0d50c3Schristos 6636*ed0d50c3Schristos2000-05-01 Denis Chertykov <denisc@overta.ru> 6637*ed0d50c3Schristos 6638*ed0d50c3Schristos * config/tc-avr.c: ATTRIBUTE_UNUSED added to the necessary places. 6639*ed0d50c3Schristos More comments added. 6640*ed0d50c3Schristos (md_begin): Removed "construct symbols for each register name". 6641*ed0d50c3Schristos Because register names conflicts with GCC generated function 6642*ed0d50c3Schristos names. 6643*ed0d50c3Schristos (avr_operand): Now constant numbers can be used as a register 6644*ed0d50c3Schristos identifiers (0 as r0, 31 as r31). 6645*ed0d50c3Schristos (md_assemble): use skip_space () before parsing instruction 6646*ed0d50c3Schristos operands. 6647*ed0d50c3Schristos 6648*ed0d50c3Schristos2000-05-01 Alan Modra <alan@linuxcare.com.au> 6649*ed0d50c3Schristos 6650*ed0d50c3Schristos * configure.in: Set bfd_gas=yes on i386-*-pe and i386-*-nt* to 6651*ed0d50c3Schristos ensure all pe targets use bfd. Remove unnecessary bfd_gas=yes on 6652*ed0d50c3Schristos arm-*-netbsd* and arm-*-wince as this is set for all arm*. 6653*ed0d50c3Schristos * configure: Regenerate. 6654*ed0d50c3Schristos 6655*ed0d50c3Schristos2000-04-29 Andreas Jaeger <aj@suse.de> 6656*ed0d50c3Schristos 6657*ed0d50c3Schristos * as.h: Correctly check GCC version. 6658*ed0d50c3Schristos 6659*ed0d50c3Schristos2000-04-26 David O'Brien <obrien@FreeBSD.org> 6660*ed0d50c3Schristos 6661*ed0d50c3Schristos * doc/as.1: Fix unbalanced brackets. 6662*ed0d50c3Schristos 6663*ed0d50c3Schristos * config/tc-i386.c (comment_chars): Don't use '/' as comment start if 6664*ed0d50c3Schristos TE_FreeBSD. 6665*ed0d50c3Schristos (line_comment_chars): Set to '/' if TE_FreeBSD. 6666*ed0d50c3Schristos 6667*ed0d50c3Schristos2000-04-25 Jeffrey A Law (law@cygnus.com) 6668*ed0d50c3Schristos 6669*ed0d50c3Schristos * configure.in: Configury support for PA64 (currently disabled). 6670*ed0d50c3Schristos * configure: Rebuilt. 6671*ed0d50c3Schristos 6672*ed0d50c3Schristos2000-04-25 Machida Hiroyuki <machida@sm.sony.co.jp> 6673*ed0d50c3Schristos 6674*ed0d50c3Schristos * config/tc-mips.c (s_change_sec): Use record_alignment, not 6675*ed0d50c3Schristos bfd_set_section_alignment. 6676*ed0d50c3Schristos 6677*ed0d50c3Schristos2000-04-25 Alan Modra <alan@linuxcare.com.au> 6678*ed0d50c3Schristos 6679*ed0d50c3Schristos * config/tc-i386.c (offset_in_range): Ensure shift counts are less 6680*ed0d50c3Schristos than 32. 6681*ed0d50c3Schristos 6682*ed0d50c3Schristos2000-04-24 Nick Clifton <nickc@cygnus.com> 6683*ed0d50c3Schristos 6684*ed0d50c3Schristos * doc/c-arm.texi (ARM Directives): Document behaviour of .align 0. 6685*ed0d50c3Schristos * doc/as.texinfo (Align): Include arm and strongarm in list of 6686*ed0d50c3Schristos targets that have the second form of the behaviour of the .align 6687*ed0d50c3Schristos directive. 6688*ed0d50c3Schristos 6689*ed0d50c3Schristos2000-04-24 Mark Klein <mklein@dis.com> 6690*ed0d50c3Schristos 6691*ed0d50c3Schristos * config/obj-som.c: Terminate obj_pseudo_table. 6692*ed0d50c3Schristos 6693*ed0d50c3Schristos2000-04-24 Clinton Popetz <cpopetz@cygnus.com> 6694*ed0d50c3Schristos 6695*ed0d50c3Schristos * as.c (parse_args): Allow md_parse_option to override -a listing 6696*ed0d50c3Schristos option. 6697*ed0d50c3Schristos * config/obj-coff.c (add_lineno): Change type of offset parameter 6698*ed0d50c3Schristos from "int" to "bfd_vma." 6699*ed0d50c3Schristos * config/tc-ppc.c (md_pseudo_table): Add "llong" and "machine." 6700*ed0d50c3Schristos (ppc_mach, ppc_subseg_align, ppc_target_format): New. 6701*ed0d50c3Schristos (ppc_change_csect): Align correctly for XCOFF64. 6702*ed0d50c3Schristos (ppc_machine): New function, which discards "ppc_machine" line. 6703*ed0d50c3Schristos (ppc_tc): Cons for 8 when code is 64 bit. 6704*ed0d50c3Schristos (md_apply_fix3): Don't check operand->insert. Handle 64 bit 6705*ed0d50c3Schristos relocations. 6706*ed0d50c3Schristos (md_parse_option): Handle -a64 and -a32. 6707*ed0d50c3Schristos (ppc_xcoff64): New. 6708*ed0d50c3Schristos * config/tc-ppc.h (TARGET_MACH): Define. 6709*ed0d50c3Schristos (TARGET_FORMAT): Move to function. 6710*ed0d50c3Schristos (SUB_SEGMENT_ALIGN): Use ppc_subseg_align. 6711*ed0d50c3Schristos 6712*ed0d50c3Schristos2000-04-23 Denis Chertykov <denisc@overta.ru> 6713*ed0d50c3Schristos 6714*ed0d50c3Schristos * config/tc-avr.c: New AVR_ISA_ defined. 6715*ed0d50c3Schristos (md_assemble): Handle opcodes with optional operands (lpm,elpm). 6716*ed0d50c3Schristos (avr_operand): Handle 'a', 'v' and 'z' constraint letters needed 6717*ed0d50c3Schristos for `fmul', `movw' and `lpm R,Z' instructions. 6718*ed0d50c3Schristos (avr_operands): Warn if current opcode is a two-word instruction 6719*ed0d50c3Schristos and previous opcode was cpse/sbic/sbis/sbrc/sbrs. 6720*ed0d50c3Schristos (avr_opcodes): New commands added. 6721*ed0d50c3Schristos (REGISTER_P): Check 'a' and 'v' constraint letters. 6722*ed0d50c3Schristos (mcu_types): New MCU added. 6723*ed0d50c3Schristos 6724*ed0d50c3Schristos2000-04-22 Timothy Wall <twall@cygnus.com> 6725*ed0d50c3Schristos 6726*ed0d50c3Schristos * config/tc-ia64.c (pseudo_func[]): Add new "nat" entry equivalent 6727*ed0d50c3Schristos to "natval". 6728*ed0d50c3Schristos (operand_match): Conditionally insert default bit values for IMMU9. 6729*ed0d50c3Schristos 6730*ed0d50c3Schristos2000-04-14 Matthew Green <mrg@cygnus.com> 6731*ed0d50c3Schristos 6732*ed0d50c3Schristos * configure.in: Add NetBSD/sparc ELF and NetBSD/sparc64 support. 6733*ed0d50c3Schristos * configure: Rebuilt. 6734*ed0d50c3Schristos 6735*ed0d50c3Schristos2000-04-21 Jeffrey A Law (law@cygnus.com) 6736*ed0d50c3Schristos Jason Eckhardt <jle@cygnus.com> 6737*ed0d50c3Schristos 6738*ed0d50c3Schristos * config/tc-hppa.c (md_apply_fix): Handle new PA2.0 formats. 6739*ed0d50c3Schristos 6740*ed0d50c3Schristos * config/tc-hppa.c (CHECK_ALIGN): New macro. 6741*ed0d50c3Schristos Added handling of new operand types l,y,&,fe,fE,fx. 6742*ed0d50c3Schristos 6743*ed0d50c3Schristos2000-04-21 Richard Henderson <rth@cygnus.com> 6744*ed0d50c3Schristos David Mosberger <davidm@hpl.hp.com> 6745*ed0d50c3Schristos Timothy Wall <twall@cygnus.com> 6746*ed0d50c3Schristos Andrew MacLeod <amacleod@cygnus.com> 6747*ed0d50c3Schristos Jim Wilson <wilson@cygnus.com> 6748*ed0d50c3Schristos 6749*ed0d50c3Schristos * Makefile.am (CPU_TYPES): Add ia64. 6750*ed0d50c3Schristos (TARGET_CPU_CFILES): Add config/tc-ia64.c. 6751*ed0d50c3Schristos (TARGET_CPU_HFILES): Add config/tc-ia64.h. 6752*ed0d50c3Schristos * Makefile.in: Rebuild. 6753*ed0d50c3Schristos * app.c (do_scrub_chars): Handle DOUBLESLASH_COMMENTS. 6754*ed0d50c3Schristos * configure: Rebuild. 6755*ed0d50c3Schristos * configure.in: Recognize ia64 as cpu type. Set bfd_gas. 6756*ed0d50c3Schristos (ia64-*-elf*, ia64-*-linux-gnu*): New targets. 6757*ed0d50c3Schristos * expr.c (expr): Handle md_optimize_expr. 6758*ed0d50c3Schristos * read.c (LEX_HASH): Add comment. 6759*ed0d50c3Schristos * config/tc-ia64.c, config/tc-ia64.h: New files. 6760*ed0d50c3Schristos 6761*ed0d50c3Schristos2000-04-21 Richard Henderson <rth@cygnus.com> 6762*ed0d50c3Schristos 6763*ed0d50c3Schristos * config/tc-d30v.c (write_2_short): Disregard opcode1->ecc when 6764*ed0d50c3Schristos bundling a non-delayed branch type instruction. 6765*ed0d50c3Schristos 6766*ed0d50c3Schristos2000-04-20 Alexandre Oliva <aoliva@cygnus.com> 6767*ed0d50c3Schristos 6768*ed0d50c3Schristos * config/tc-mn10300.c (HAVE_AM30): Define. 6769*ed0d50c3Schristos (md_assemble): Use it. 6770*ed0d50c3Schristos 6771*ed0d50c3Schristos2000-04-19 Alan Modra <alan@linuxcare.com.au> 6772*ed0d50c3Schristos 6773*ed0d50c3Schristos * config/obj-elf.c (obj_elf_change_section): Check for changed 6774*ed0d50c3Schristos section attributes. 6775*ed0d50c3Schristos 6776*ed0d50c3Schristos * Makefile.am: (CPU_MULTI_VALID): Remove. 6777*ed0d50c3Schristos (MULTI_CPU_TYPES): Define. 6778*ed0d50c3Schristos (MULTI_CPU_OBJ_VALID): Define. 6779*ed0d50c3Schristos (DEPTC): Use the above. 6780*ed0d50c3Schristos (DEPOBJ): Same here. 6781*ed0d50c3Schristos (DEP2): And here. 6782*ed0d50c3Schristos Regenerate dependencies. 6783*ed0d50c3Schristos * Makefile.in: Regenerate. 6784*ed0d50c3Schristos 6785*ed0d50c3Schristos2000-04-19 Michael Sokolov <msokolov@ivan.Harhan.ORG> 6786*ed0d50c3Schristos 6787*ed0d50c3Schristos * Makefile.am (YACC, LEX): Get them from configure. 6788*ed0d50c3Schristos 6789*ed0d50c3Schristos2000-04-18 H.J. Lu (hjl@gnu.org) 6790*ed0d50c3Schristos 6791*ed0d50c3Schristos * config/tc-i386.c (offset_in_range): Use addressT instead of 6792*ed0d50c3Schristos bfd_vma for non-bfd assemblers. 6793*ed0d50c3Schristos 6794*ed0d50c3Schristos2000-04-17 Alan Modra <alan@linuxcare.com.au> 6795*ed0d50c3Schristos 6796*ed0d50c3Schristos * config/tc-i386.c (offset_in_range): Sign extend val so BFD64 6797*ed0d50c3Schristos doesn't give spurious errors. 6798*ed0d50c3Schristos 6799*ed0d50c3Schristos2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG> 6800*ed0d50c3Schristos 6801*ed0d50c3Schristos * as.h (SEEK_SET): Define if undefined. 6802*ed0d50c3Schristos 6803*ed0d50c3Schristos2000-04-13 Alan Modra <alan@linuxcare.com.au> 6804*ed0d50c3Schristos 6805*ed0d50c3Schristos * config/tc-arm.c (md_apply_fix3): Don't use UL suffix on 6806*ed0d50c3Schristos constants, and don't assume offsetT is 32 bits. 6807*ed0d50c3Schristos 6808*ed0d50c3Schristos2000-04-12 Andrew Cagney <cagney@b1.cygnus.com> 6809*ed0d50c3Schristos 6810*ed0d50c3Schristos * config/tc-d10v.h: Include "write.h" to get definition of fixS. 6811*ed0d50c3Schristos (md_pcrel_from_section): Add prototype. 6812*ed0d50c3Schristos (d10v_fix_adjustable): Add prototype. 6813*ed0d50c3Schristos (d10v_force_relocation): Replace 'struct fix' with 'fixS'. 6814*ed0d50c3Schristos 6815*ed0d50c3Schristos * config/tc-d10v.c (md_apply_fix3): Add paren around &&. 6816*ed0d50c3Schristos 6817*ed0d50c3Schristos2000-04-12 Nick Clifton <nickc@cygnus.com> 6818*ed0d50c3Schristos 6819*ed0d50c3Schristos * config/tc-d10v.c (find_opcode): Correctly calculate position of 6820*ed0d50c3Schristos symbol in frag chain. 6821*ed0d50c3Schristos 6822*ed0d50c3Schristos2000-04-10 Alan Modra <alan@linuxcare.com.au> 6823*ed0d50c3Schristos 6824*ed0d50c3Schristos * config/tc-i386.c (fits_in_signed_byte): Change arg to offsetT. 6825*ed0d50c3Schristos (fits_in_unsigned_byte, fits_in_unsigned_word): Ditto. 6826*ed0d50c3Schristos (fits_in_signed_word, smallest_imm_type): Ditto. 6827*ed0d50c3Schristos (md_assemble): Use an offsetT var to hold offsetT values, not a 6828*ed0d50c3Schristos long. 6829*ed0d50c3Schristos (offset_in_range): New. 6830*ed0d50c3Schristos (md_assemble): Use it. 6831*ed0d50c3Schristos (md_convert_frag): Change type of target_address, opcode_address, 6832*ed0d50c3Schristos and displacement_from_opcode_start to offsetT. 6833*ed0d50c3Schristos (md_create_short_jump): Change type of offset to offsetT. 6834*ed0d50c3Schristos (md_create_long_jump): Ditto. 6835*ed0d50c3Schristos (md_apply_fix3): Use -4, not 0xfffffffc for BFD_RELOC_386_PLT32. 6836*ed0d50c3Schristos (md_chars_to_number): Remove. 6837*ed0d50c3Schristos (output_invalid): Remove duplicate prototype. 6838*ed0d50c3Schristos 6839*ed0d50c3Schristos2000-04-09 Nick Clifton <nickc@cygnus.com> 6840*ed0d50c3Schristos 6841*ed0d50c3Schristos * Makefile.am (CPU_TYPES): Add 'avr'. 6842*ed0d50c3Schristos (TARGET_CPU_CFILES): Add 'tc-avr.c'. 6843*ed0d50c3Schristos (TARGET_CPU_HFILES): Add 'tc-avr.h'. 6844*ed0d50c3Schristos 6845*ed0d50c3Schristos * Makefile.in: Regenerate. 6846*ed0d50c3Schristos 6847*ed0d50c3Schristos * doc/as.texinfo: Add M32R documentation. 6848*ed0d50c3Schristos 6849*ed0d50c3Schristos2000-04-07 Andrew Cagney <cagney@b1.cygnus.com> 6850*ed0d50c3Schristos 6851*ed0d50c3Schristos * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add 6852*ed0d50c3Schristos --enable-build-warnings option. 6853*ed0d50c3Schristos * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions. 6854*ed0d50c3Schristos * Makefile.in, configure: Re-generate. 6855*ed0d50c3Schristos 6856*ed0d50c3Schristos2000-04-07 Nick Clifton <nickc@cygnus.com> 6857*ed0d50c3Schristos 6858*ed0d50c3Schristos * config/tc-arm.c (md_apply_fix3): Treat BFD_RELOC_ARM_PCREL_BLX 6859*ed0d50c3Schristos in the same way as BFD_RELOC_ARM_PCREL_BRANCH, and 6860*ed0d50c3Schristos BFD_RELOC_THUMB_PCREL_BLX lie BFD_RELOC_THUMB_PCREL_BRANCH. 6861*ed0d50c3Schristos (tc_gen_reloc): Accept BFD_RELOC_{ARM|THUMB}_PCREL_BLX. 6862*ed0d50c3Schristos (arm_force_relocation): Force relocations for 6863*ed0d50c3Schristos BFD_RELOC_{ARM|THUMB}_PCREL_BLX as well. 6864*ed0d50c3Schristos 6865*ed0d50c3Schristos2000-04-05 J"orn Rennecke <amylaar@cygnus.co.uk> 6866*ed0d50c3Schristos 6867*ed0d50c3Schristos * config/tc-sh.c (get_operands): There's no third operand if the 6868*ed0d50c3Schristos first operand is an immediate. 6869*ed0d50c3Schristos 6870*ed0d50c3Schristos2000-04-05 J"orn Rennecke <amylaar@cygnus.co.uk> 6871*ed0d50c3Schristos 6872*ed0d50c3Schristos * config/tc-sh.c (immediate): Delete. 6873*ed0d50c3Schristos (sh_operand_info): Add immediate member. 6874*ed0d50c3Schristos (parse_reg): Use A_PC for pc. 6875*ed0d50c3Schristos (parse_exp): Add second argument 'op'. All callers changed. 6876*ed0d50c3Schristos (parse_at): Expect pc to be coded as A_PC. 6877*ed0d50c3Schristos Use immediate field in *op. 6878*ed0d50c3Schristos (insert): Add fourth argument 'op'. All callers changed. 6879*ed0d50c3Schristos (build_relax): Add second argument 'op'. All callers changed. 6880*ed0d50c3Schristos (insert_loop_bounds): New function. 6881*ed0d50c3Schristos (build_Mytes): Remove DISP_4. 6882*ed0d50c3Schristos Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}. Add REPEAT. 6883*ed0d50c3Schristos (assemble_ppi): Use immediate field in *operand. 6884*ed0d50c3Schristos (sh_force_relocation): Handle BFD_RELOC_SH_LOOP_{START,END}. 6885*ed0d50c3Schristos (md_apply_fix): Likewise. 6886*ed0d50c3Schristos (tc_gen_reloc): Likewise. Check for a pcrel BFD_RELOC_SH_LABEL. 6887*ed0d50c3Schristos 6888*ed0d50c3Schristos2000-04-05 Alexandre Oliva <oliva@lsd.ic.unicamp.br> 6889*ed0d50c3Schristos 6890*ed0d50c3Schristos * config/tc-sparc.c (sparc_ip): Avoid string pasting. 6891*ed0d50c3Schristos 6892*ed0d50c3Schristos2000-04-04 Hans-Peter Nilsson <hp@axis.com> 6893*ed0d50c3Schristos 6894*ed0d50c3Schristos * internals.texi (CPU backend): Document 6895*ed0d50c3Schristos TC_CHECK_ADJUSTED_BROKEN_DOT_WORD. 6896*ed0d50c3Schristos 6897*ed0d50c3Schristos2000-04-04 Alan Modra <alan@linuxcare.com.au> 6898*ed0d50c3Schristos 6899*ed0d50c3Schristos * po/gas.pot: Regenerate. 6900*ed0d50c3Schristos 6901*ed0d50c3Schristos * as.c (show_usage): Restore translated part of bug string. 6902*ed0d50c3Schristos * gasp.c (show_usage): Likewise. 6903*ed0d50c3Schristos 6904*ed0d50c3Schristos * Makefile.am (MKDEP): Use gcc -MM rather than ../mkdep. 6905*ed0d50c3Schristos (DEP): Quote when passing vars to sub-make. Use "mv -f" rather 6906*ed0d50c3Schristos than move-if-change. 6907*ed0d50c3Schristos (DEP1): Modify for "gcc -MM". 6908*ed0d50c3Schristos (DEPTC): Likewise. 6909*ed0d50c3Schristos (DEPOBJ): Likewise. 6910*ed0d50c3Schristos (DEP2): Likewise. 6911*ed0d50c3Schristos (CLEANFILES): Add DEPTCA, DEPOBJA, DEP2a, DEPA. 6912*ed0d50c3Schristos Update dependencies. 6913*ed0d50c3Schristos * Makefile.in: Regenerate. 6914*ed0d50c3Schristos 6915*ed0d50c3Schristos2000-04-03 Alexandre Oliva <aoliva@cygnus.com> 6916*ed0d50c3Schristos 6917*ed0d50c3Schristos * config/tc-mn10300.c (md_pseudo_table): Use constant names. 6918*ed0d50c3Schristos (md_begin): Likewise. 6919*ed0d50c3Schristos (HAVE_AM33): New macro. 6920*ed0d50c3Schristos (md_assemble): Use it. Match r_regs and xr_regs only if 6921*ed0d50c3Schristos HAVE_AM33. 6922*ed0d50c3Schristos 6923*ed0d50c3Schristos2000-04-03 Alan Modra <alan@linuxcare.com.au> 6924*ed0d50c3Schristos 6925*ed0d50c3Schristos * as.h: #include "bin-bugs.h" 6926*ed0d50c3Schristos * as.c (show_usage): Use REPORT_BUGS_TO. 6927*ed0d50c3Schristos * gasp.c: #include "bin-bugs.h" 6928*ed0d50c3Schristos (show_usage): Use REPORT_BUGS_TO. 6929*ed0d50c3Schristos 6930*ed0d50c3Schristos * config/tc-sparc.c (md_show_usage): Add a trailing newline. 6931*ed0d50c3Schristos 6932*ed0d50c3Schristos2000-04-03 Hans-Peter Nilsson <hp@axis.com> 6933*ed0d50c3Schristos 6934*ed0d50c3Schristos * write.c (write_object_file) [! WORKING_DOT_WORD]: If defined, 6935*ed0d50c3Schristos call TC_CHECK_ADJUSTED_BROKEN_DOT_WORD for each word after 6936*ed0d50c3Schristos adjustments. 6937*ed0d50c3Schristos 6938*ed0d50c3Schristos2000-04-03 Alan Modra <alan@linuxcare.com.au> 6939*ed0d50c3Schristos 6940*ed0d50c3Schristos * config/tc-i386.c (i386_immediate): Don't assume a constant 6941*ed0d50c3Schristos immediate is necessarily 16 bits when in 16 bit code mode. 6942*ed0d50c3Schristos (md_assemble): Instead set guess_suffix here after we have checked 6943*ed0d50c3Schristos registers. 6944*ed0d50c3Schristos 6945*ed0d50c3Schristos2000-04-02 Richard Henderson <rth@cygnus.com> 6946*ed0d50c3Schristos 6947*ed0d50c3Schristos * config/tc-d30v.c (check_range): Allow signed or unsigned 32-bit 6948*ed0d50c3Schristos quantities. Correct right shift sign extension. 6949*ed0d50c3Schristos (build_insn): Make `number' unsigned long. Mask top 6 bits of 6950*ed0d50c3Schristos 32-bit value when shifting into place. 6951*ed0d50c3Schristos 6952*ed0d50c3Schristos2000-04-01 Ian Lance Taylor <ian@zembu.com> 6953*ed0d50c3Schristos 6954*ed0d50c3Schristos * app.c: Add ATTRIBUTE_UNUSED as needed. 6955*ed0d50c3Schristos * config/tc-ppc.c: Likewise. 6956*ed0d50c3Schristos (ppc_size): Make unsigned long. 6957*ed0d50c3Schristos (ppc_insert_operand): Add casts to avoid warnings. 6958*ed0d50c3Schristos 6959*ed0d50c3Schristos2000-03-31 Nick Clifton <nickc@cygnus.com> 6960*ed0d50c3Schristos 6961*ed0d50c3Schristos * config/tc-d10v.h (md_flush_pending_output): Define. 6962*ed0d50c3Schristos 6963*ed0d50c3Schristos2000-03-29 Nick Clifton <nickc@cygnus.com> 6964*ed0d50c3Schristos 6965*ed0d50c3Schristos * config/tc-sh.h (SEG_NAME): New macro: return the name of a 6966*ed0d50c3Schristos segment. Works for both BFD_ASSEMBLER and others. 6967*ed0d50c3Schristos (SUB_SEGMENT_ALIGN): Use SEG_NAME. 6968*ed0d50c3Schristos 6969*ed0d50c3Schristos2000-03-29 Nick Clifton <nickc@cygnus.com 6970*ed0d50c3Schristos 6971*ed0d50c3Schristos * config/tc-arm.c (tinsns): Add "bal" instruction pattern. 6972*ed0d50c3Schristos 6973*ed0d50c3Schristos2000-03-28 Alan Modra <alan@linuxcare.com.au> 6974*ed0d50c3Schristos 6975*ed0d50c3Schristos * listing.c (LISTING_LHS_WIDTH): Default depends on 6976*ed0d50c3Schristos LISTING_WORD_SIZE. 6977*ed0d50c3Schristos (LISTING_LHS_WIDTH_SECOND): Default to LISTING_LHS_WIDTH. 6978*ed0d50c3Schristos 6979*ed0d50c3Schristos2000-03-27 Ian Lance Taylor <ian@zembu.com> 6980*ed0d50c3Schristos 6981*ed0d50c3Schristos * config/tc-sh.c (md_show_usage): Use backslash before newline in 6982*ed0d50c3Schristos string literal. 6983*ed0d50c3Schristos 6984*ed0d50c3Schristos2000-03-27 Alan Modra <alan@linuxcare.com.au> 6985*ed0d50c3Schristos 6986*ed0d50c3Schristos * config/tc-avr.h (TC_HANDLES_FX_DONE): Define. 6987*ed0d50c3Schristos 6988*ed0d50c3Schristos * config/tc-avr.c (mcu_types): Add missing initialiser. 6989*ed0d50c3Schristos (md_pcrel_from_section): Add prototype. 6990*ed0d50c3Schristos (avr_operand): Remove redundant test of unsigned < 0. 6991*ed0d50c3Schristos (avr_cons_fix_new): Ensure exp_mod_pm zero on function exit. 6992*ed0d50c3Schristos 6993*ed0d50c3Schristos2000-03-27 Denis Chertykov <denisc@overta.ru> 6994*ed0d50c3Schristos 6995*ed0d50c3Schristos * config/tc-avr.c: New file for AVR support. 6996*ed0d50c3Schristos * config/tc-avr.h: Likewise. 6997*ed0d50c3Schristos * configure.in: Add AVR support. 6998*ed0d50c3Schristos * configure: Regenerate. 6999*ed0d50c3Schristos 7000*ed0d50c3Schristos2000-03-26 Timothy Wall <twall@cygnus.com> 7001*ed0d50c3Schristos 7002*ed0d50c3Schristos * gasp.c (macro_op): Add new argument to check_macro call. 7003*ed0d50c3Schristos Macro structure definitions moved to macro.h 7004*ed0d50c3Schristos * sb.h: Add argument to prototype for input_scrub_include_sb. 7005*ed0d50c3Schristos * input-scrub.c (input_scrub_include_sb): Allow disabling of sb 7006*ed0d50c3Schristos nesting checks with an additional flag. 7007*ed0d50c3Schristos (struct input_save): Add flag to indicate whether current sb 7008*ed0d50c3Schristos should be checked for proper macro/conditional nesting. 7009*ed0d50c3Schristos (input_scrub_push/pop): Save/restore nest check flag. 7010*ed0d50c3Schristos (input_scrub_next_buffer): Ditto. Also call end of macro hook if 7011*ed0d50c3Schristos defined. 7012*ed0d50c3Schristos * macro.c (check_macro): Allow caller to retrieve parsed macro 7013*ed0d50c3Schristos information if a pointer is provided. This information may be 7014*ed0d50c3Schristos used by the new macro hooks. 7015*ed0d50c3Schristos * macro.h: Update prototype for check_macro. Macro struct 7016*ed0d50c3Schristos definitions moved here from macro.c/gasp.c. 7017*ed0d50c3Schristos * read.c (read_a_source_file): Add parameter to check_macro call, 7018*ed0d50c3Schristos and pass macro info to the macro hook, if defined. 7019*ed0d50c3Schristos (input_scrub_insert_line): New. Allow insertion of a line of 7020*ed0d50c3Schristos characters into the input stream. 7021*ed0d50c3Schristos (input_scrub_insert_file): New. Allow insertion of an arbitrary 7022*ed0d50c3Schristos file into the input stream. 7023*ed0d50c3Schristos (s_include): Use input_scrub_insert_file. 7024*ed0d50c3Schristos * internals.texi: Document new macro hooks. 7025*ed0d50c3Schristos * as.h: New prototypes added. 7026*ed0d50c3Schristos 7027*ed0d50c3Schristos2000-03-26 Alan Modra <alan@linuxcare.com.au> 7028*ed0d50c3Schristos 7029*ed0d50c3Schristos * config/tc-i386.c: Don't start any as_bad or as_warn message with 7030*ed0d50c3Schristos an initial capital letter. 7031*ed0d50c3Schristos (i386_index_check): Reindent. 7032*ed0d50c3Schristos 7033*ed0d50c3Schristos2000-03-19 Nick Clifton <nickc@cygnus.com> 7034*ed0d50c3Schristos 7035*ed0d50c3Schristos * config/tc-arm.c (md_apply_fix3): Fix bug detecting overflow of pc 7036*ed0d50c3Schristos relative branches. 7037*ed0d50c3Schristos 7038*ed0d50c3Schristos2000-03-17 Thomas de Lellis <tdel@windriver.com> 7039*ed0d50c3Schristos 7040*ed0d50c3Schristos * config/tc-arm.c (do_t_adr): Flag "adr Rd,label" 7041*ed0d50c3Schristos instruction operand bad if Rd > 7 when generating 7042*ed0d50c3Schristos thumb instructions. Prevents for example, 7043*ed0d50c3Schristos "adr r12,label" from silently failing and generating 7044*ed0d50c3Schristos the wrong instruction. 7045*ed0d50c3Schristos 7046*ed0d50c3Schristos2000-03-17 Nick Clifton <nickc@cygnus.com> 7047*ed0d50c3Schristos 7048*ed0d50c3Schristos * config/tc-arm.c (md_apply_fix3): Handle same-section relocations 7049*ed0d50c3Schristos that have a destingation >= 0x400000. 7050*ed0d50c3Schristos Fix compile time warning messages. 7051*ed0d50c3Schristos 7052*ed0d50c3Schristos2000-03-16 J"orn Rennecke <amylaar@cygnus.co.uk> 7053*ed0d50c3Schristos 7054*ed0d50c3Schristos * config/tc-sh.c (md_begin): When encountering insn that are 7055*ed0d50c3Schristos not supported by the current arch, only change the name if 7056*ed0d50c3Schristos its contents are the same as prev_name. 7057*ed0d50c3Schristos (get_specific): If the the architecture doesn't match, fail. 7058*ed0d50c3Schristos 7059*ed0d50c3Schristos2000-03-16 J"orn Rennecke <amylaar@cygnus.co.uk> 7060*ed0d50c3Schristos 7061*ed0d50c3Schristos * config/tc-sh.c (IDENT_CHAR): Define. 7062*ed0d50c3Schristos (parse_reg): Use it instead of isalnum. Put r[0..7]_bank operand 7063*ed0d50c3Schristos matching back where it came from. 7064*ed0d50c3Schristos 7065*ed0d50c3Schristos2000-03-16 J"orn Rennecke <amylaar@cygnus.co.uk> 7066*ed0d50c3Schristos 7067*ed0d50c3Schristos * config/tc-sh.c (md_show_usage): Add description of -dsp. 7068*ed0d50c3Schristos 7069*ed0d50c3Schristos2000-03-15 Jonathan Larmour <jlarmour@redhat.co.uk> 7070*ed0d50c3Schristos 7071*ed0d50c3Schristos * config/tc-sh.c (parse_reg): Match r[0..7]_bank operands before 7072*ed0d50c3Schristos normal operands. 7073*ed0d50c3Schristos 7074*ed0d50c3Schristos2000-03-15 Kazu Hirata <kazu@hxi.com> 7075*ed0d50c3Schristos 7076*ed0d50c3Schristos * config/tc-h8300.c: Add ATTRIBUTE_UNUSED as appropriate. 7077*ed0d50c3Schristos 7078*ed0d50c3Schristos2000-03-13 Hans-Peter Nilsson <hp@axis.se> 7079*ed0d50c3Schristos 7080*ed0d50c3Schristos * expr.c (operand) [case 'f']: When testing if '0f' can start a 7081*ed0d50c3Schristos floating-point-number, make sure 'f' is in FLT_CHARS. 7082*ed0d50c3Schristos 7083*ed0d50c3Schristos2000-03-11 Hans-Peter Nilsson <hp@axis.se> 7084*ed0d50c3Schristos 7085*ed0d50c3Schristos * read.c (TC_IMPLICIT_LCOMM_ALIGNMENT): New default-definition. 7086*ed0d50c3Schristos (s_lcomm_internal): Use it. 7087*ed0d50c3Schristos * doc/internals.texi (CPU backend): Document it. 7088*ed0d50c3Schristos * config/obj-evax.h (TC_IMPLICIT_LCOMM_ALIGNMENT): Set to 2**3 7089*ed0d50c3Schristos bytes. 7090*ed0d50c3Schristos 7091*ed0d50c3Schristos2000-03-10 Geoffrey Keating <geoffk@cygnus.com> 7092*ed0d50c3Schristos 7093*ed0d50c3Schristos * config/tc-mips.c (mips_ip): Don't put stuff in .rodata 7094*ed0d50c3Schristos when embedded-pic. 7095*ed0d50c3Schristos 7096*ed0d50c3Schristos * config/tc-mips.c (SWITCH_TABLE): The ELF embedded-pic 7097*ed0d50c3Schristos implementation doesn't have special handling for switch 7098*ed0d50c3Schristos statements. 7099*ed0d50c3Schristos (macro_build): Allow for code in sections other than .text. 7100*ed0d50c3Schristos (macro): Likewise. 7101*ed0d50c3Schristos (mips_ip): Likewise. 7102*ed0d50c3Schristos (md_apply_fix): Do pc-relative relocation madness for MIPS ELF. 7103*ed0d50c3Schristos Don't perform relocs if we will be outputting them. 7104*ed0d50c3Schristos (tc_gen_reloc): For ELF, just use fx_addnumber for pc-relative 7105*ed0d50c3Schristos relocations. Allow BFD_RELOC_16_PCREL_S2 relocs when 7106*ed0d50c3Schristos embedded-pic. 7107*ed0d50c3Schristos 7108*ed0d50c3Schristos2000-03-09 Catherine Moore <clm@cygnus.com> 7109*ed0d50c3Schristos 7110*ed0d50c3Schristos * config/tc-m32r.c (m32r_fix_adjustable): Look up the 7111*ed0d50c3Schristos relocation type based on the entry in the fixup structure. 7112*ed0d50c3Schristos Put S_IS_EXTERN processing back in. 7113*ed0d50c3Schristos 7114*ed0d50c3Schristos2000-03-08 H.J. Lu (hjl@gnu.org) 7115*ed0d50c3Schristos 7116*ed0d50c3Schristos * Makefile.am (install-exec-tooldir): Depend on 7117*ed0d50c3Schristos install-exec-bindir for parallel make. 7118*ed0d50c3Schristos * Makefile.in: Regenerated. 7119*ed0d50c3Schristos 7120*ed0d50c3Schristos2000-03-06 Nick Clifton <nickc@cygnus.com> 7121*ed0d50c3Schristos 7122*ed0d50c3Schristos * config/tc-m32r.c (struct md_longopts): Add -m32r command line 7123*ed0d50c3Schristos switch. 7124*ed0d50c3Schristos (md_parse_option): Parse -m32r command line switch - disable m32rx 7125*ed0d50c3Schristos compatability. 7126*ed0d50c3Schristos (md_show_usage): Document new option. 7127*ed0d50c3Schristos 7128*ed0d50c3Schristos * doc/Makefile.am (CPU_DOCS): Add c-m32r.texi. 7129*ed0d50c3Schristos * doc/Makefile.in: Regenerate. 7130*ed0d50c3Schristos * doc/c-m32r.texi (M32R-Opts): Document new command line switch. 7131*ed0d50c3Schristos 7132*ed0d50c3Schristos2000-03-02 Michael Meissner <meissner@redhat.com> 7133*ed0d50c3Schristos 7134*ed0d50c3Schristos * config/tc-d30v.c (check_range): Remove code that incorrectly 7135*ed0d50c3Schristos sign extended values where bits < 32. 7136*ed0d50c3Schristos 7137*ed0d50c3Schristos2000-03-02 H.J. Lu (hjl@gnu.org) 7138*ed0d50c3Schristos 7139*ed0d50c3Schristos * configure.in: Support --enable-targets=all on ia32. 7140*ed0d50c3Schristos * configure: Regenerated. 7141*ed0d50c3Schristos 7142*ed0d50c3Schristos2000-03-01 Nick Clifton <nickc@cygnus.com> 7143*ed0d50c3Schristos 7144*ed0d50c3Schristos * gasp.c (do_align): Remove bogus check of alignment value. 7145*ed0d50c3Schristos 7146*ed0d50c3Schristos2000-02-27 Thomas de Lellis <tdel@windriver.com> 7147*ed0d50c3Schristos 7148*ed0d50c3Schristos * config/obj-elf.c (elf_frob_symbol): Remove code which when 7149*ed0d50c3Schristos TC_PPC was defined forced the type of a symbol with no other type 7150*ed0d50c3Schristos to be BSF_OBJECT. 7151*ed0d50c3Schristos 7152*ed0d50c3Schristos2000-02-27 Hans-Peter Nilsson <hp@axis.com> 7153*ed0d50c3Schristos 7154*ed0d50c3Schristos * doc/internals.texi (CPU backend): Mention that 7155*ed0d50c3Schristos line_separator_chars do not break up comments. Fix typos for 7156*ed0d50c3Schristos LEX_AT and LEX_NAME descriptions. Document operands for 7157*ed0d50c3Schristos TC_EQUAL_IN_INSN, md_operand and md_section_align. Correct 7158*ed0d50c3Schristos description of md_create_short_jump usage. Document argument for 7159*ed0d50c3Schristos md_undefined_symbol. 7160*ed0d50c3Schristos 7161*ed0d50c3Schristos2000-02-27 Jakub Jelinek <jakub@redhat.com> 7162*ed0d50c3Schristos 7163*ed0d50c3Schristos * config/tc-sparc.c (OPTION_UNDECLARED_REGS): New option. 7164*ed0d50c3Schristos (md_parse_option): Handle it. 7165*ed0d50c3Schristos (md_show_usage): Document it. 7166*ed0d50c3Schristos 7167*ed0d50c3Schristos2000-02-27 Ian Lance Taylor <ian@zembu.com> 7168*ed0d50c3Schristos 7169*ed0d50c3Schristos * config/tc-alpha.c (md_assemble): Accept `1' and `9' in an 7170*ed0d50c3Schristos opcode, for the instruction `pal19'. From Andrea Arcangeli 7171*ed0d50c3Schristos <andrea@suse.de>. 7172*ed0d50c3Schristos 7173*ed0d50c3Schristos2000-02-26 Alan Modra <alan@spri.levels.unisa.edu.au> 7174*ed0d50c3Schristos 7175*ed0d50c3Schristos * config/tc-i386.c (i386_immediate): Move constant operand sizing 7176*ed0d50c3Schristos from here.. 7177*ed0d50c3Schristos (md_assemble): To here, before template operands are matched. 7178*ed0d50c3Schristos Also ensure a constant immediate is sign extended when we know the 7179*ed0d50c3Schristos size is at most 16 bits. This is to catch cases like "add 7180*ed0d50c3Schristos $0xffc0,%ax" where we don't know the size, and thus that the 7181*ed0d50c3Schristos immediate can be represented as Imm8S until after parsing the 7182*ed0d50c3Schristos register operand. 7183*ed0d50c3Schristos (i386_displacement): Similarly sign extend 16 bit constant 7184*ed0d50c3Schristos displacements. 7185*ed0d50c3Schristos (md_assemble): Relax 16-bit jump constant range check to suit sign 7186*ed0d50c3Schristos extended displacements. 7187*ed0d50c3Schristos 7188*ed0d50c3Schristos2000-02-26 Andreas Jaeger <aj@suse.de> 7189*ed0d50c3Schristos 7190*ed0d50c3Schristos * doc/c-mips.texi (MIPS Opts): Fix typo in last patch. 7191*ed0d50c3Schristos 7192*ed0d50c3Schristos2000-02-25 Alan Modra <alan@spri.levels.unisa.edu.au> 7193*ed0d50c3Schristos 7194*ed0d50c3Schristos * config/tc-i386.c (md_assemble): Don't swap intersegment jmp and 7195*ed0d50c3Schristos call operands when intel_syntax. 7196*ed0d50c3Schristos (intel_float_operand): Return 2 for "fi...". 7197*ed0d50c3Schristos (i386_operand_modifier): Change "DWORD PTR" test to suit above. 7198*ed0d50c3Schristos Return SHORT_MNEM_SUFFIX for "WORD PTR" when "fi...". Revert 7199*ed0d50c3Schristos earlier "SHORT" change. 7200*ed0d50c3Schristos (md_assemble): When determining suffix from Regs, exclude 7201*ed0d50c3Schristos InOutPortReg. 7202*ed0d50c3Schristos 7203*ed0d50c3Schristos2000-02-24 Nick Clifton <nickc@cygnus.com> 7204*ed0d50c3Schristos 7205*ed0d50c3Schristos * configure: Add arm-wince, mips-pe and sh-pe targets. 7206*ed0d50c3Schristos * configure: Regenerate. 7207*ed0d50c3Schristos 7208*ed0d50c3Schristos * config/obj-coff.h (COFF_WITH_PE): Define for mips-pe and 7209*ed0d50c3Schristos sh-pe targets. 7210*ed0d50c3Schristos (TARGET_FORMAT): Set to "pe-shl" for the sh-pe target and to 7211*ed0d50c3Schristos "pe-mips" for the mips-pe target. 7212*ed0d50c3Schristos 7213*ed0d50c3Schristos * config/tc-arm.c (insns): Change displacement encoded in BL 7214*ed0d50c3Schristos and B instructions if the target port is arm-wince. 7215*ed0d50c3Schristos (do_ldst): Do not bias the relocation offset if the target 7216*ed0d50c3Schristos port is arm-wince. 7217*ed0d50c3Schristos (md_pcrel_from): Add in missing relocation offset bias if the 7218*ed0d50c3Schristos target os arm-wince. 7219*ed0d50c3Schristos 7220*ed0d50c3Schristos * config/tc-mips.c (mips_target_format): Support COFF flavour. 7221*ed0d50c3Schristos (md_begin): Disable -G support for mips-pe target. 7222*ed0d50c3Schristos (md_apply_fix): Treat BFD_RELOC_RVA reloc as BFD_RELOC_32. 7223*ed0d50c3Schristos * config/tc-mips.h (USE_GLOBAL_POINTER_OPT): Add support for 7224*ed0d50c3Schristos COFF flavour. 7225*ed0d50c3Schristos 7226*ed0d50c3Schristos * config/tc-sh.c (md_begin): sh-pe target is little endian. 7227*ed0d50c3Schristos * config/tc-sh.h (SUB_SEGMENT_ALIGN): If using a BFD 7228*ed0d50c3Schristos assembler, just set the alignment to 4. 7229*ed0d50c3Schristos 7230*ed0d50c3Schristos * config/te-wince-pe.h: New file for WinCE targets. Define 7231*ed0d50c3Schristos TE_WINCE. 7232*ed0d50c3Schristos 7233*ed0d50c3Schristos2000-02-25 Alan Modra <alan@spri.levels.unisa.edu.au> 7234*ed0d50c3Schristos 7235*ed0d50c3Schristos * config/tc-i386.c (md_assemble): Swap segments too for intel mode 7236*ed0d50c3Schristos string instructions. 7237*ed0d50c3Schristos (i386_operand_modifier): Set i.suffix = WORD_MNEM_SUFFIX for SHORT. 7238*ed0d50c3Schristos (i386_intel_memory_operand): After finding a segment override, 7239*ed0d50c3Schristos check again for no `[' before looking for a displacement. Bomb if 7240*ed0d50c3Schristos more than one displacement rather than silently discarding the 7241*ed0d50c3Schristos second and subsequent ones. Free strings malloc'd by 7242*ed0d50c3Schristos build_displacement_string. 7243*ed0d50c3Schristos 7244*ed0d50c3Schristos2000-02-24 Catherine Moore <clm@cygnus.com> 7245*ed0d50c3Schristos 7246*ed0d50c3Schristos * config/obj-som.c (obj_pseudo_table): Add "weak". 7247*ed0d50c3Schristos (obj_som_weak): New routine. 7248*ed0d50c3Schristos 7249*ed0d50c3Schristos2000-02-24 Alan Modra <alan@spri.levels.unisa.edu.au> 7250*ed0d50c3Schristos 7251*ed0d50c3Schristos * config/tc-i386.c (union i386_op): New. 7252*ed0d50c3Schristos (struct _i386_insn): Delete disps[], imms[], regs[]. Add op[]. 7253*ed0d50c3Schristos Throughout file replace occurences of disps[n], imms[n], regs[n] 7254*ed0d50c3Schristos with equivalent op[n].disps, op[n].imms, op[n].regs. Simplify 7255*ed0d50c3Schristos intel mode operand swapping. Add assert in regKludge and 7256*ed0d50c3Schristos fake_zero_displacement code. Test i.types[n] when outputting 7257*ed0d50c3Schristos displacements and immediates. Combine output of Disp16 with 7258*ed0d50c3Schristos Disp32. 7259*ed0d50c3Schristos (md_assemble): Don't try to fix broken UNIXWARE_COMPAT opcodes 7260*ed0d50c3Schristos when in intel mode by (not) reversing fsub and fdiv operands 7261*ed0d50c3Schristos before the template search. This fails for single operand 7262*ed0d50c3Schristos shorthand forms of the instruction, and if UNIXWARE_COMPAT is 7263*ed0d50c3Schristos undefined. Instead fix the base_opcode after we've found the 7264*ed0d50c3Schristos template. Move base_opcode xor with found_reverse_match from 7265*ed0d50c3Schristos opcode output code to before this fix so we test for the correct 7266*ed0d50c3Schristos opcodes. 7267*ed0d50c3Schristos (md_assemble): Don't use strcmp when deciding to ignore the suffix 7268*ed0d50c3Schristos check in intel mode. Instead compare opcodes. 7269*ed0d50c3Schristos 7270*ed0d50c3Schristos * config/tc-i386.h (TC_RELOC): Delete. 7271*ed0d50c3Schristos * config/tc-i386.c (TC_RELOC): Delete. Replace usage of TC_RELOC 7272*ed0d50c3Schristos with equivalent call to reloc. 7273*ed0d50c3Schristos 7274*ed0d50c3Schristos * as.h (flag_m68k_mri): Move declaration after target include, and 7275*ed0d50c3Schristos only declare when TC_M68K defined. Define as zero otherwise. 7276*ed0d50c3Schristos (LABELS_WITHOUT_COLONS, NO_PSEUDO_DOT): If undefined, define as 0. 7277*ed0d50c3Schristos * app.c (scrub_m68k_mri): Declare only when TC_M68K defined. 7278*ed0d50c3Schristos Define as zero otherwise. 7279*ed0d50c3Schristos (do_scrub_begin): Use m68k_mri parameter only when TC_M68K defined. 7280*ed0d50c3Schristos (struct app_save): Declare scrub_m68k_mri only when TC_M68K. 7281*ed0d50c3Schristos (app_push, app_pop): Save scrub_m68k_mri only when TC_M68K. 7282*ed0d50c3Schristos (do_scrub_chars): Use LABELS_WITHOUT_COLONS directly rather than 7283*ed0d50c3Schristos testing whether defined. 7284*ed0d50c3Schristos * cond.c (ignore_input): Use NO_PSEUDO_DOT directly. 7285*ed0d50c3Schristos * expr.c (operand): #ifdef unused case labels when TC_M68K undefined. 7286*ed0d50c3Schristos * read.c: Use LABELS_WITHOUT_COLONS and NO_PSEUDO_DOT directly 7287*ed0d50c3Schristos rather than testing whether defined. 7288*ed0d50c3Schristos (s_mri): Set flag_m68k_mri only when TC_M68K defined. 7289*ed0d50c3Schristos (parse_mri_cons): Declare and use only when TC_M68K. 7290*ed0d50c3Schristos * config/tc-hppa.h (LABELS_WITHOUT_COLONS): Define as 1. 7291*ed0d50c3Schristos * config/tc-m68k.h (NO_PSEUDO_DOT): Define as 1. 7292*ed0d50c3Schristos * config/tc-m88k.h (NO_PSEUDO_DOT): Define as 1. 7293*ed0d50c3Schristos 7294*ed0d50c3Schristos * NEWS: Mention IBM 370 support. 7295*ed0d50c3Schristos 7296*ed0d50c3Schristos2000-02-23 Richard Henderson <rth@cygnus.com> 7297*ed0d50c3Schristos 7298*ed0d50c3Schristos * config/tc-i386.c (md_assemble): When swapping operands for 7299*ed0d50c3Schristos intel_syntax, assume everything that's not Imm or Disp is a 7300*ed0d50c3Schristos register. 7301*ed0d50c3Schristos 7302*ed0d50c3Schristos2000-02-23 Linas Vepstas <linas@linas.org> 7303*ed0d50c3Schristos 7304*ed0d50c3Schristos * config/tc-i370.c, config/tc-i370.h: New files. 7305*ed0d50c3Schristos * Makefile.am: Add support for Linux/IBM 370. 7306*ed0d50c3Schristos * configure.in: Likewise. 7307*ed0d50c3Schristos * app.c (do_scrub_begin): Don't lex single quote when TC_I370. 7308*ed0d50c3Schristos * config/obj-elf.c: Include elf/i370.h 7309*ed0d50c3Schristos (obj_elf_section): Don't do anything special for flag_mri if TC_I370. 7310*ed0d50c3Schristos 7311*ed0d50c3Schristos * Makefile.in: Regenerate. 7312*ed0d50c3Schristos * configure: Regenerate. 7313*ed0d50c3Schristos 7314*ed0d50c3Schristos * doc/c-i370.texi: New file. 7315*ed0d50c3Schristos * doc/all.texi: Include it. 7316*ed0d50c3Schristos * doc/as.texinfo: And here. 7317*ed0d50c3Schristos * doc/Makefile.am(CPU_DOCS): Add c-i370.texi. 7318*ed0d50c3Schristos * doc/Makefile.in: Regenerate. 7319*ed0d50c3Schristos 7320*ed0d50c3Schristos2000-02-19 Michael Meissner <meissner@redhat.com> 7321*ed0d50c3Schristos 7322*ed0d50c3Schristos * config/tc-d30v.c (parallel_ok): Use FLAG_NOT_WITH_ADDSUBppp to 7323*ed0d50c3Schristos determine if an instruction can be used in parallel with an ADDppp 7324*ed0d50c3Schristos or SUBppp instruction. 7325*ed0d50c3Schristos 7326*ed0d50c3Schristos2000-02-22 Andrew Haley <aph@cygnus.com> 7327*ed0d50c3Schristos 7328*ed0d50c3Schristos * doc/c-mips.texi (MIPS Opts): Document -mgp32 and -mgp64. 7329*ed0d50c3Schristos 7330*ed0d50c3Schristos2000-02-22 Andrew Haley <aph@cygnus.com> 7331*ed0d50c3Schristos 7332*ed0d50c3Schristos * config/tc-mips.c (mips_gp32): New variable. 7333*ed0d50c3Schristos (macro_build) Use mips_gp32. 7334*ed0d50c3Schristos (mips_ip): Ditto. 7335*ed0d50c3Schristos (md_longopts): Add "-mgp32" and "-mgp64". 7336*ed0d50c3Schristos (md_parse_option): Add OPTION_GP32 and OPTION_GP64. 7337*ed0d50c3Schristos 7338*ed0d50c3Schristos (OPTION_M7900): Change offset 7339*ed0d50c3Schristos (OPTION_NO_M7900): Ditto. 7340*ed0d50c3Schristos 7341*ed0d50c3Schristos2000-02-22 Alexandre Oliva <oliva@lsd.ic.unicamp.br> 7342*ed0d50c3Schristos 7343*ed0d50c3Schristos * config/obj-coff.c (add_lineno): Accept non-positive lineno with 7344*ed0d50c3Schristos warning, and bump it to 1. 7345*ed0d50c3Schristos 7346*ed0d50c3Schristos2000-02-22 Ian Lance Taylor <ian@zembu.com> 7347*ed0d50c3Schristos 7348*ed0d50c3Schristos From Brad Lucier <lucier@math.purdue.edu>: 7349*ed0d50c3Schristos * dwarf2dbg.c (print_stats): Add cast to force printf argument to 7350*ed0d50c3Schristos match format. 7351*ed0d50c3Schristos 7352*ed0d50c3Schristos2000-02-21 Catherine Moore <clm@cygnus.com> 7353*ed0d50c3Schristos 7354*ed0d50c3Schristos * config/tc-mips.c (MF_HILO_INSN): Define. 7355*ed0d50c3Schristos (mips_7000_hilo_fix): Declare. 7356*ed0d50c3Schristos (append_insn): Conditionally insert nops after an mfhi/mflo insn. 7357*ed0d50c3Schristos (md_parse_option): Check for 7000_HILO_FIX options. 7358*ed0d50c3Schristos (OPTION_M7000_HILO_FIX): Define. 7359*ed0d50c3Schristos (OPTION_NO_M7000_HILO_FIX): Define. 7360*ed0d50c3Schristos * doc/c-mips.texi (-mfix7000): Describe. 7361*ed0d50c3Schristos 7362*ed0d50c3Schristos2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au> 7363*ed0d50c3Schristos 7364*ed0d50c3Schristos * listing.c (print_lines): Remove unused variable `end'. 7365*ed0d50c3Schristos 7366*ed0d50c3Schristos * config/tc-i386.c (md_assemble): Use `reloc()' to select reloc 7367*ed0d50c3Schristos type for JumpInterSegment output. Use enum bfd_reloc_code_real for 7368*ed0d50c3Schristos reloc_type when BFD_ASSEMBLER. 7369*ed0d50c3Schristos (md_estimate_size_before_relax): Use enum bfd_reloc_code_real for 7370*ed0d50c3Schristos reloc_type when BFD_ASSEMBLER. Move common code out of switch 7371*ed0d50c3Schristos statement and quell signed vs. unsigned comparison warning. 7372*ed0d50c3Schristos 7373*ed0d50c3Schristos2000-02-18 Nick Clifton <nickc@cygnus.com> 7374*ed0d50c3Schristos 7375*ed0d50c3Schristos * config/tc-d10v.c (find_opcode): Add a symbol's value to 7376*ed0d50c3Schristos the computed frag offset, rather than overwriting it. 7377*ed0d50c3Schristos 7378*ed0d50c3Schristos2000-02-17 J"orn Rennecke <amylaar@cygnus.co.uk> 7379*ed0d50c3Schristos 7380*ed0d50c3Schristos * config/tc-sh.c ("elf/sh.h"): Include. 7381*ed0d50c3Schristos (sh_dsp, valid_arch, reg_x, reg_y, reg_efg): New static variables. 7382*ed0d50c3Schristos (md.begin): Initialize target_arch. 7383*ed0d50c3Schristos Only include opcodes in has table that match selected architecture. 7384*ed0d50c3Schristos (parse_reg): Recognize register names for sh-dsp. 7385*ed0d50c3Schristos (parse_at): Recognize post-modify addressing. 7386*ed0d50c3Schristos (get_operands): The leading space is now optional. 7387*ed0d50c3Schristos (get_specific): Remove FDREG_N support. Add support for sh-dsp 7388*ed0d50c3Schristos arguments. Update valid_arch. 7389*ed0d50c3Schristos (build_Mytes): Add support for SDT_REG_N. 7390*ed0d50c3Schristos (find_cooked_opcode): New function, broken out of md_assemble. 7391*ed0d50c3Schristos (assemble_ppi, sh_elf_final_processing): New functions. 7392*ed0d50c3Schristos (md_assemble): Use find_cooked_opcode and assemble_ppi. 7393*ed0d50c3Schristos (md_longopts, md_parse_option): New option: -dsp. 7394*ed0d50c3Schristos * config/tc-sh.h (elf_tc_final_processing): Define. 7395*ed0d50c3Schristos (sh_elf_final_processing): Declare. 7396*ed0d50c3Schristos 7397*ed0d50c3Schristos2000-02-11 Jeffrey A Law (law@cygnus.com) 7398*ed0d50c3Schristos 7399*ed0d50c3Schristos * config/tc-hppa.c (pa_build_unwind_subspace): Use subseg_new to create 7400*ed0d50c3Schristos the unwinder subspace. Save the current seg/subseg before creating 7401*ed0d50c3Schristos the new seg/subseg. 7402*ed0d50c3Schristos 7403*ed0d50c3Schristos2000-02-10 Nick Clifton <nickc@cygnus.com> 7404*ed0d50c3Schristos 7405*ed0d50c3Schristos * config/tc-mcore.c (INST_BYTE0): Redefine to handle big and 7406*ed0d50c3Schristos little endian targets. 7407*ed0d50c3Schristos (INST_BYTE1): Redefine to handle big and little endian 7408*ed0d50c3Schristos targets. 7409*ed0d50c3Schristos (cpu_type): New type: Select between M340 and M210. 7410*ed0d50c3Schristos (parse_psrmod): New function: Parse the PSRCLR and PSRSET 7411*ed0d50c3Schristos instructions of the M340. 7412*ed0d50c3Schristos (md_assemble): Add support for the MULSH and OPSR classes of 7413*ed0d50c3Schristos instructions. 7414*ed0d50c3Schristos (md_atof): Add support for little endian targets. 7415*ed0d50c3Schristos (md_parse_option): Add support for -EL, -EB and -mcpu command 7416*ed0d50c3Schristos line switches. 7417*ed0d50c3Schristos (md_convert_frag): Add support for little endian targets. 7418*ed0d50c3Schristos (md_apply_fix3): Add support for little endian targets. 7419*ed0d50c3Schristos (md_number_to_chars): Add support for little endian targets. 7420*ed0d50c3Schristos 7421*ed0d50c3Schristos2000-02-10 Timothy Wall <twall@redhat.com> 7422*ed0d50c3Schristos 7423*ed0d50c3Schristos * read.c (read_a_source_file): If TC_START_LABEL_WITHOUT_COLON is 7424*ed0d50c3Schristos defined, use it to verify the symbol just read should be a label. 7425*ed0d50c3Schristos 7426*ed0d50c3Schristos2000-02-10 Timothy Wall <twall@redhat.com> 7427*ed0d50c3Schristos 7428*ed0d50c3Schristos * app.c (do_scrub_chars): Handle "||" for parallel instructions 7429*ed0d50c3Schristos when DOUBLEBAR_PARALLEL is defined. Avoid stripping whitespace 7430*ed0d50c3Schristos around colons when KEEP_WHITE_AROUND_COLON is defined. 7431*ed0d50c3Schristos * doc/internals.texi (CPU backend): Document DOUBLEBAR_PARALLEL 7432*ed0d50c3Schristos and KEEP_WHITE_AROUND_COLON. 7433*ed0d50c3Schristos 7434*ed0d50c3Schristos2000-02-08 Timothy Wall <twall@redhat.com> 7435*ed0d50c3Schristos 7436*ed0d50c3Schristos * read.c (s_rept): Call do_repeat, which abstracts the repeat 7437*ed0d50c3Schristos logic. 7438*ed0d50c3Schristos (do_repeat): New. Abstract repeat logic so that a "break" can be 7439*ed0d50c3Schristos implemented. 7440*ed0d50c3Schristos (end_repeat): New. Provide support for a "break" out of the 7441*ed0d50c3Schristos repeat loop. 7442*ed0d50c3Schristos * read.h: Add prototypes for new functions. 7443*ed0d50c3Schristos 7444*ed0d50c3Schristos2000-02-08 Timothy Wall <twall@redhat.com> 7445*ed0d50c3Schristos 7446*ed0d50c3Schristos * doc/internals.texi: Document NUMBERS_WITH_SUFFIX macro. 7447*ed0d50c3Schristos * as.h: Provide a default NUMBERS_WITH_SUFFIX definition (zero). 7448*ed0d50c3Schristos * expr.c: Handle numbers with suffixes if NUMBERS_WITH_SUFFIX is 7449*ed0d50c3Schristos non-zero. 7450*ed0d50c3Schristos 7451*ed0d50c3Schristos2000-02-08 Timothy Wall <twall@redhat.com> 7452*ed0d50c3Schristos 7453*ed0d50c3Schristos * read.c: Added elseif to directives table. 7454*ed0d50c3Schristos * read.h: Added prototype for s_elseif. 7455*ed0d50c3Schristos * doc/as.texinfo: Added description for elseif. 7456*ed0d50c3Schristos * cond.c (s_elseif): New function 7457*ed0d50c3Schristos 7458*ed0d50c3Schristos2000-02-04 Timothy Wall <twall@redhat.com> 7459*ed0d50c3Schristos 7460*ed0d50c3Schristos * listing.c (print_lines): Remove conditionals causing bug in 7461*ed0d50c3Schristos listings. 7462*ed0d50c3Schristos 7463*ed0d50c3Schristos2000-02-03 Timothy Wall <twall@cygnus.com> 7464*ed0d50c3Schristos 7465*ed0d50c3Schristos * as.h: Define OCTETS_PER_BYTE and OCTETS_PER_BYTE_POWER 7466*ed0d50c3Schristos default values. 7467*ed0d50c3Schristos * frags.c (frag_new): Calculate fr_fix in octets 7468*ed0d50c3Schristos (frag_now_fix) Return offset as target address offset (bytes). 7469*ed0d50c3Schristos (frag_now_fix_octets) New - Return offset in octets (8-bit 7470*ed0d50c3Schristos quantities). 7471*ed0d50c3Schristos * frags.h: Added prototype for frag_now_fix_octets(). 7472*ed0d50c3Schristos Distinguish between octets and bytes in field descriptions. 7473*ed0d50c3Schristos * listing.c (calc_hex): Account for octets vs bytes when 7474*ed0d50c3Schristos printing addresses/offsets. 7475*ed0d50c3Schristos (print_lines) Ditto. Also, if LISTING_WORD_SIZE is not 1, and 7476*ed0d50c3Schristos target is little-endian, print the octets in a word in big-endian 7477*ed0d50c3Schristos order so that the display looks like a proper hexadecimal number, 7478*ed0d50c3Schristos instead of having the octets reversed. 7479*ed0d50c3Schristos * read.c (do_align): When recording alignment, alignment power 7480*ed0d50c3Schristos should be in terms of target bytes (minimum addressible unit) 7481*ed0d50c3Schristos instead of octets. 7482*ed0d50c3Schristos (do_org) Convert ORG target address (byte) argument into an 7483*ed0d50c3Schristos octet offset when generating a variable fragment. 7484*ed0d50c3Schristos * symbols.c (resolve_symbol_value): Symbol final value 7485*ed0d50c3Schristos converted to a target address offset (bytes) from its octet offset. 7486*ed0d50c3Schristos * config/obj-coff.c (coff_frob_symbol): Symbol target address 7487*ed0d50c3Schristos offset (bytes) is adjusted by the frag offset (octets) converted 7488*ed0d50c3Schristos to bytes. 7489*ed0d50c3Schristos (coff_frob_section) Section alignment power is in terms of bytes; 7490*ed0d50c3Schristos convert it to an octet alignment power when calculating size (and 7491*ed0d50c3Schristos size mask) in octets. Don't modify the section size in order to 7492*ed0d50c3Schristos "align" it for TI COFF, since that format has a different method 7493*ed0d50c3Schristos for storing alignment information. 7494*ed0d50c3Schristos 7495*ed0d50c3Schristos2000-02-01 Timothy Wall <twall@cygnus.com> 7496*ed0d50c3Schristos 7497*ed0d50c3Schristos * stabs.c (generate_asm_file): Escape backslashes in stabs file 7498*ed0d50c3Schristos entries, matching the way GCC generates them. If not escaped, the 7499*ed0d50c3Schristos filename is encoded incorrectly. 7500*ed0d50c3Schristos 7501*ed0d50c3Schristos2000-01-31 Nick Clifton <nickc@cygnus.com> 7502*ed0d50c3Schristos 7503*ed0d50c3Schristos * config/tc-arm.c (reg_table): Add support for ATPCS register 7504*ed0d50c3Schristos naming conventions. 7505*ed0d50c3Schristos 7506*ed0d50c3Schristos2000-01-31 Geoff Keating <geoffk@cygnus.com> 7507*ed0d50c3Schristos 7508*ed0d50c3Schristos * config/obj-coff.h (OBJ_COPY_SYMBOL_ATTRIBUTES): Don't define if 7509*ed0d50c3Schristos already defined. 7510*ed0d50c3Schristos * config/tc-ppc.h [OBJ_XCOFF] (OBJ_COPY_SYMBOL_ATTRIBUTES): 7511*ed0d50c3Schristos New macro. 7512*ed0d50c3Schristos * config/tc-ppc.c (ppc_fix_adjustable): Don't look at the frag 7513*ed0d50c3Schristos of a symbol when we really care about its value. 7514*ed0d50c3Schristos 7515*ed0d50c3Schristos2000-01-19 Chandra Chavva <cchavva@cygnus.com> 7516*ed0d50c3Schristos 7517*ed0d50c3Schristos * config/tc-mcore.c (md_assemble): Give warning message if 7518*ed0d50c3Schristos operands passes to instruction are more than the spec. 7519*ed0d50c3Schristos 7520*ed0d50c3Schristos2000-01-27 Thomas de Lellis <tdel@windriver.com> 7521*ed0d50c3Schristos 7522*ed0d50c3Schristos * config/tc-arm.c (armadjust_symtab): If the assembler is in 7523*ed0d50c3Schristos Thumb mode but the label seen was not declared as '.thumb_func' 7524*ed0d50c3Schristos then set the ST_INFO type to STT_ARM_16BIT mode. This allows 7525*ed0d50c3Schristos correct disassembly of Thumb code bounded by non function labels. 7526*ed0d50c3Schristos 7527*ed0d50c3Schristos2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au> 7528*ed0d50c3Schristos 7529*ed0d50c3Schristos * Makefile.am (MULTI_CFILES): Add config/e-i386aout.c 7530*ed0d50c3Schristos Add dependencies for e-i386aout.o. Fix 2 comment lines. 7531*ed0d50c3Schristos 7532*ed0d50c3Schristos * Makefile.in: Same here. 7533*ed0d50c3Schristos Update copyright. 7534*ed0d50c3Schristos 7535*ed0d50c3Schristos * configure.in: Set bfd_gas for i386-aout when primary target 7536*ed0d50c3Schristos is bfd. Handle i386aout emulation. Don't use te_file=multi, as 7537*ed0d50c3Schristos we may need the primary te_file. Remove incorrect comment. 7538*ed0d50c3Schristos 7539*ed0d50c3Schristos * configure: Regenerate. 7540*ed0d50c3Schristos 7541*ed0d50c3Schristos * config/e-i386aout.c: New file. 7542*ed0d50c3Schristos 7543*ed0d50c3Schristos * as.c (USE_EMULATIONS): Move to before print_version_id. 7544*ed0d50c3Schristos (struct emulation): Add i386aout. 7545*ed0d50c3Schristos (show_usage): Split text strings. Reformat -a text. Add --em 7546*ed0d50c3Schristos help. 7547*ed0d50c3Schristos Update copyright. 7548*ed0d50c3Schristos 7549*ed0d50c3Schristos * obj.h (struct format_ops): Add s_get_other and s_get_desc. 7550*ed0d50c3Schristos (aout_format_ops): New. 7551*ed0d50c3Schristos Update copyright. 7552*ed0d50c3Schristos 7553*ed0d50c3Schristos * read.c (s_lcomm_internal): Rewrite OBJ_AOUT,OBJ_BOUT 7554*ed0d50c3Schristos preprocessor conditional and add aout USE_EMULATIONS tests. 7555*ed0d50c3Schristos (read_a_source_file): Don't pass error strings to printf as 7556*ed0d50c3Schristos format arg. 7557*ed0d50c3Schristos Update copyright. 7558*ed0d50c3Schristos 7559*ed0d50c3Schristos * gasp.c (exp_get_abs): Don't pass error strings to printf as 7560*ed0d50c3Schristos format arg. 7561*ed0d50c3Schristos (do_data): Same here. 7562*ed0d50c3Schristos (process_file): And here. 7563*ed0d50c3Schristos Update copyright. 7564*ed0d50c3Schristos 7565*ed0d50c3Schristos * symbols.c (colon): Rewrite "already defined" fatal message 7566*ed0d50c3Schristos code for aout with USE_EMULATIONS. 7567*ed0d50c3Schristos Update copyright. 7568*ed0d50c3Schristos 7569*ed0d50c3Schristos * config/obj-aout.c (OBJ_HEADER): Define. 7570*ed0d50c3Schristos (obj_pseudo_table): Rename to aout_pseudo_table. Init all 7571*ed0d50c3Schristos fields of sentinel. 7572*ed0d50c3Schristos (obj_aout_frob_symbol): Expand S_GET_DESC, S_GET_TYPE, 7573*ed0d50c3Schristos S_GET_OTHER, S_SET_TYPE macros since we don't need obj-multi 7574*ed0d50c3Schristos forms here. 7575*ed0d50c3Schristos (obj_aout_type): Expand S_SET_OTHER here too. 7576*ed0d50c3Schristos (obj_read_begin_hook): Remove. 7577*ed0d50c3Schristos (aout_pop_insert): New. 7578*ed0d50c3Schristos (obj_aout_s_get_other): New. 7579*ed0d50c3Schristos (obj_aout_s_get_desc): New. 7580*ed0d50c3Schristos (aout_format_ops): New. 7581*ed0d50c3Schristos Update copyright. 7582*ed0d50c3Schristos 7583*ed0d50c3Schristos * config/obj-aout.h (obj_pop_insert): Define so non-multi usage 7584*ed0d50c3Schristos gets aout_pseudo_table. 7585*ed0d50c3Schristos (aout_pseudo_table): Declare. 7586*ed0d50c3Schristos (obj_read_begin_hook): Define. 7587*ed0d50c3Schristos Update copyright. 7588*ed0d50c3Schristos 7589*ed0d50c3Schristos * config/obj-coff.c (obj_pseudo_table): Rename to 7590*ed0d50c3Schristos coff_pseudo_table. 7591*ed0d50c3Schristos (coff_pop_insert): Use coff_pseudo_table. 7592*ed0d50c3Schristos (coff_sec_sym_ok_for_reloc): Remove. 7593*ed0d50c3Schristos (coff_format_ops): Add 0 entries for s_get_size, s_set_size, 7594*ed0d50c3Schristos and comment all zero entries and remove #if 0 code. 7595*ed0d50c3Schristos Update copyright. 7596*ed0d50c3Schristos 7597*ed0d50c3Schristos * config/obj-coff.h (obj_pop_insert): Define. 7598*ed0d50c3Schristos (coff_pseudo_table): Declare. 7599*ed0d50c3Schristos Update copyright. 7600*ed0d50c3Schristos 7601*ed0d50c3Schristos * config/obj-ecoff.c (ecoff_format_ops): Add 0 entries for 7602*ed0d50c3Schristos s_get_size, s_set_size. Comment all zero entries. 7603*ed0d50c3Schristos Update copyright. 7604*ed0d50c3Schristos 7605*ed0d50c3Schristos * config/obj-elf.c (elf_s_get_other): New function. 7606*ed0d50c3Schristos (obj_read_begin_hook): Rename to elf_obj_read_begin_hook. 7607*ed0d50c3Schristos (obj_symbol_new_hook): Rename to elf_obj_symbol_new_hook. 7608*ed0d50c3Schristos (elf_format_ops): Add elf_s_get_other, 0 s_get_size entry, and 7609*ed0d50c3Schristos comment. 7610*ed0d50c3Schristos (obj_elf_parse_section_letters): Don't pass error strings to 7611*ed0d50c3Schristos printf as format arg. 7612*ed0d50c3Schristos Update copyright. 7613*ed0d50c3Schristos 7614*ed0d50c3Schristos * config/obj-elf.h (ECOFF_DEBUGGING): Define when 7615*ed0d50c3Schristos OBJ_MAYBE_ECOFF. 7616*ed0d50c3Schristos (elf_s_get_other): Declare. 7617*ed0d50c3Schristos (S_GET_OTHER) Define as elf_s_get_other if not already 7618*ed0d50c3Schristos defined. 7619*ed0d50c3Schristos (S_SET_OTHER): Only define when not already defined. 7620*ed0d50c3Schristos (elf_obj_read_begin_hook): Declare. 7621*ed0d50c3Schristos (obj_read_begin_hook): Define. 7622*ed0d50c3Schristos (elf_obj_symbol_new_hook): Declare. 7623*ed0d50c3Schristos (obj_symbol_new_hook): Define. 7624*ed0d50c3Schristos Update copyright. 7625*ed0d50c3Schristos 7626*ed0d50c3Schristos * config/obj-multi.h: Add copyright header and protect against 7627*ed0d50c3Schristos multiple inclusion. Add * to all function pointers. 7628*ed0d50c3Schristos (OBJ_HEADER): If defined, include it rather than other defines 7629*ed0d50c3Schristos in this file. 7630*ed0d50c3Schristos (obj_frob_file_after_relocs): Test for NULL. 7631*ed0d50c3Schristos (obj_symbol_new_hook): Here too. 7632*ed0d50c3Schristos (obj_sec_sym_ok_for_reloc): And here. 7633*ed0d50c3Schristos (S_GET_OTHER): Define. 7634*ed0d50c3Schristos (S_GET_DESC): Define. 7635*ed0d50c3Schristos (ECOFF_DEBUGGING): Remove as it's done in obj-elf.h 7636*ed0d50c3Schristos (OBJ_MAYBE_ELF): Update comment. 7637*ed0d50c3Schristos 7638*ed0d50c3Schristos * config/tc-i386.c (i386_immediate): Add OBJ_MAYBE_AOUT to 7639*ed0d50c3Schristos OBJ_AOUT preprocessor conditional and handle emulation by 7640*ed0d50c3Schristos testing OUTPUT_FLAVOR. 7641*ed0d50c3Schristos (i386_displacement): Here too. 7642*ed0d50c3Schristos (md_section_align): Similarly here. 7643*ed0d50c3Schristos (i386_target_format): Conditionally compile when more than one 7644*ed0d50c3Schristos of OBJ_MAYBE_{ELF,COFF,AOUT} defined. Add aout case. 7645*ed0d50c3Schristos (i386_immediate): Fix error message for aout BFD_ASSMBLER. 7646*ed0d50c3Schristos (i386_displacement): Here too. 7647*ed0d50c3Schristos Update copyright. 7648*ed0d50c3Schristos 7649*ed0d50c3Schristos * config/tc-i386.h (AOUT_TARGET_FORMAT): Define for each TE_*. 7650*ed0d50c3Schristos Define TARGET_FORMAT for aout only when not multi. 7651*ed0d50c3Schristos Update copyright. 7652*ed0d50c3Schristos 7653*ed0d50c3Schristos * config/te-multi.h: Delete file as it's identical to te-generic.h 7654*ed0d50c3Schristos 7655*ed0d50c3Schristos2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au> 7656*ed0d50c3Schristos 7657*ed0d50c3Schristos * config/tc-i386.h (DWORD_MNEM_SUFFIX): Delete. 7658*ed0d50c3Schristos * config/tc-i386.c (DWORD_MNEM_SUFFIX): Rename all occurrences to 7659*ed0d50c3Schristos LONG_MNEM_SUFFIX. 7660*ed0d50c3Schristos 7661*ed0d50c3Schristos * config/tc-i386.h (INTEL_DWORD_MNEM_SUFFIX): Rename to 7662*ed0d50c3Schristos DWORD_MNEM_SUFFIX. 7663*ed0d50c3Schristos * config/tc-i386.c (INTEL_DWORD_MNEM_SUFFIX): Here too. Fix some 7664*ed0d50c3Schristos comments. 7665*ed0d50c3Schristos 7666*ed0d50c3Schristos2000-01-13 Clinton Popetz <cpopetz@cygnus.com> 7667*ed0d50c3Schristos 7668*ed0d50c3Schristos * config/tc-mips.c (mips_do_align): New function. 7669*ed0d50c3Schristos * config/tc-mips.h (md_do_align): Define. 7670*ed0d50c3Schristos 7671*ed0d50c3Schristos2000-01-10 Philip Blundell <philb@gnu.org> 7672*ed0d50c3Schristos 7673*ed0d50c3Schristos * doc/c-arm.texi (ARM Options): Fix typo. 7674*ed0d50c3Schristos (ARM-Chars): Correct description of `#'. Mention that `;' is a 7675*ed0d50c3Schristos line separator for Linux. 7676*ed0d50c3Schristos * doc/as.texinfo (Comments): Mention the ARM. 7677*ed0d50c3Schristos 7678*ed0d50c3Schristos2000-01-10 Philip Blundell <pb@futuretv.com> 7679*ed0d50c3Schristos 7680*ed0d50c3Schristos * configure.in (arm*-*-conix*): New target. 7681*ed0d50c3Schristos (arm*-*-linux-gnu*): Match instead of arm-*-linux* and 7682*ed0d50c3Schristos armv*-*-linux-gnu. 7683*ed0d50c3Schristos * configure: Regenerate. 7684*ed0d50c3Schristos 7685*ed0d50c3Schristos2000-01-03 Martin v. Loewis <loewis@informatik.hu-berlin.de> 7686*ed0d50c3Schristos 7687*ed0d50c3Schristos * config/obj-elf.c (elf_pseudo_table): Define visibility pseudos. 7688*ed0d50c3Schristos (obj_elf_visibility): New function. 7689*ed0d50c3Schristos 7690*ed0d50c3Schristos * doc/as.texinfo (Visibility): New node: document visibility 7691*ed0d50c3Schristos pseudo ops. 7692*ed0d50c3Schristos 7693*ed0d50c3SchristosFor older changes see ChangeLog-9899 7694*ed0d50c3Schristos 7695*ed0d50c3SchristosCopyright (C) 2001 Free Software Foundation, Inc. 7696*ed0d50c3Schristos 7697*ed0d50c3SchristosCopying and distribution of this file, with or without modification, 7698*ed0d50c3Schristosare permitted in any medium without royalty provided the copyright 7699*ed0d50c3Schristosnotice and this notice are preserved. 7700*ed0d50c3Schristos 7701*ed0d50c3SchristosLocal Variables: 7702*ed0d50c3Schristosmode: change-log 7703*ed0d50c3Schristosleft-margin: 8 7704*ed0d50c3Schristosfill-column: 74 7705*ed0d50c3Schristosversion-control: never 7706*ed0d50c3SchristosEnd: 7707