12006-07-19 Mat Hostetter <[email protected]> 2 3 * symbols.c (report_op_error): Fix pasto. Don't use as_bad_where 4 when file and line unknown. 5 62006-06-07 Joseph S. Myers <[email protected]> 7 8 * po/Make-in (pdf, ps): New dummy targets. 9 102006-06-02 Joseph S. Myers <[email protected]> 11 12 * doc/Makefile.am (TEXI2DVI): Define. 13 * doc/Makefile.in: Regenerate. 14 * doc/c-arc.texi: Fix typo. 15 162006-05-30 Nick Clifton <[email protected]> 17 18 * po/es.po: Updated Spanish translation. 19 202006-05-25 Nathan Sidwell <[email protected]> 21 22 * gas/config/tc-m68k.c (m68k_init_arch): Move checking of 23 cfloat/m68881 to correct architecture before using it. 24 252006-05-16 Nick Clifton <[email protected]> 26 27 * Import these patches from the mainline: 28 29 2006-05-16 Bjoern Haase <[email protected]> 30 31 * config/tc-avr.h (TC_VALIDATE_FIX): Allow fixups for immediate 32 constant values. 33 34 2006-05-05 Bjoern Haase <[email protected]> 35 36 * gas/config/tc-avr.h (TC_VALIDATE_FIX): Define. Disable fixups 37 for PMEM related expressions. 38 392006-05-11 Thiemo Seufer <[email protected]> 40 41 * config/tc-mips.c (append_insn): Don't check the range of j or 42 jal addresses. 43 442006-05-10 Alan Modra <[email protected]> 45 46 * dwarf2dbg.c (get_line_subseg): Attach new struct line_seg to end 47 of list rather than beginning. 48 492006-05-10 Alan Modra <[email protected]> 50 51 * write.c (relax_segment): Add pass count arg. Don't error on 52 negative org/space on first two passes. 53 (relax_seg_info): New struct. 54 (relax_seg, write_object_file): Adjust. 55 * write.h (relax_segment): Update prototype. 56 572006-05-02 Joseph Myers <[email protected]> 58 59 * config/tc-arm.c (do_iwmmxt_wldstbh): Don't multiply offset by 4 60 here. 61 (md_apply_fix3): Multiply offset by 4 here for 62 BFD_RELOC_ARM_CP_OFF_IMM_S2 and BFD_RELOC_ARM_T32_CP_OFF_IMM_S2. 63 642006-05-02 Daniel Jacobowitz <[email protected]> 65 66 * doc/Makefile.am (AM_MAKEINFOFLAGS): New. 67 (TEXI2POD): Use AM_MAKEINFOFLAGS. 68 (asconfig.texi): Don't set top_srcdir. 69 * doc/as.texinfo: Don't use top_srcdir. 70 * aclocal.m4, Makefile.in, doc/Makefile.in: Regenerated. 71 722006-05-02 Paul Brook <[email protected]> 73 74 * config/tc-arm.c (arm_optimize_expr): New function. 75 * config/tc-arm.h (md_optimize_expr): Define 76 (arm_optimize_expr): Add prototype. 77 (TC_FORCE_RELOCATION_SUB_SAME): Define. 78 792006-05-01 James Lemke <[email protected]> 80 81 * subsegs.c (subseg_set_rest): Always set seginfp->frchainP if NULL. 82 832006-04-25 Bob Wilson <[email protected]> 84 85 * config/xtensa-relax.c (widen_spec_list): Use new "WIDE.<opcode>" 86 syntax instead of hardcoded opcodes with ".w18" suffixes. 87 (wide_branch_opcode): New. 88 (build_transition): Use it to check for wide branch opcodes with 89 either ".w18" or ".w15" suffixes. 90 912006-04-25 Bob Wilson <[email protected]> 92 93 * config/tc-xtensa.c (xtensa_create_literal_symbol, 94 xg_assemble_literal, xg_assemble_literal_space): Do not set the 95 frag's is_literal flag. 96 972006-04-25 Bob Wilson <[email protected]> 98 99 * config/xtensa-relax.c (XCHAL_HAVE_WIDE_BRANCHES): Provide default. 100 1012006-04-16 Daniel Jacobowitz <[email protected]> 102 103 * po/POTFILES.in: Regenerated. 104 1052006-04-14 Sterling Augustine <[email protected]> 106 107 * config/tc-xtensa.c (emit_single_op): Do not relax MOVI 108 instructions when such transformations have been disabled. 109 1102006-04-10 Sterling Augustine <[email protected]> 111 112 * config/tc-xtensa.c (xg_assemble_vliw_tokens): Record loop target 113 symbols in RELAX[_CHECK]_ALIGN_NEXT_OPCODE frags. 114 (xtensa_fix_close_loop_end_frags): Use the recorded values instead of 115 decoding the loop instructions. Remove current_offset variable. 116 (xtensa_fix_short_loop_frags): Likewise. 117 (min_bytes_to_other_loop_end): Remove current_offset argument. 118 1192006-04-09 Arnold Metselaar <[email protected]> 120 121 * config/tc-z80.c (z80_optimize_expr): Removed; redundant since 2006-04-04. 122 * config/tc-z80.h (z80_optimize_expr, md_optimize_expr): Removed. 123 1242006-04-07 Joerg Wunsch <[email protected]> 125 126 * gas/config/tc-avr.c (mcu_types): Add support for attiny261, 127 attiny461, attiny861, attiny25, attiny45, attiny85,attiny24, 128 attiny44, attiny84, at90pwm2, at90pwm3, atmega164, atmega324, 129 atmega644, atmega329, atmega3290, atmega649, atmega6490, 130 atmega406, atmega640, atmega1280, atmega1281, at90can32, 131 at90can64, at90usb646, at90usb647, at90usb1286 and 132 at90usb1287. 133 Move atmega48 and atmega88 from AVR_ISA_M8 to AVR_ISA_PWMx. 134 1352006-04-07 Paul Brook <[email protected]> 136 137 * config/tc-arm.c (parse_operands): Set default error message. 138 1392006-04-07 Paul Brook <[email protected]> 140 141 * config/tc-arm.c (parse_tb): Set inst.error before returning FAIL. 142 1432006-04-07 Paul Brook <[email protected]> 144 145 * config/tc-arm.c (md_apply_fix): Set H bit on blx instruction. 146 1472006-04-07 Paul Brook <[email protected]> 148 149 * config/tc-arm.c (THUMB2_LOAD_BIT): Define. 150 (move_or_literal_pool): Handle Thumb-2 instructions. 151 (do_t_ldst): Call move_or_literal_pool for =N addressing modes. 152 1532006-04-07 Alan Modra <[email protected]> 154 155 PR 2512. 156 * config/tc-i386.c (match_template): Move 64-bit operand tests 157 inside loop. 158 1592006-04-06 Carlos O'Donell <[email protected]> 160 161 * po/Make-in: Add install-html target. 162 * Makefile.am: Add install-html and install-html-recursive targets. 163 * Makefile.in: Regenerate. 164 * configure.in: AC_SUBST datarootdir, docdir, htmldir. 165 * configure: Regenerate. 166 * doc/Makefile.am: Add install-html and install-html-am targets. 167 * doc/Makefile.in: Regenerate. 168 1692006-04-06 Alan Modra <[email protected]> 170 171 * frags.c (frag_offset_fixed_p): Reinitialise offset before 172 second scan. 173 1742006-04-05 Richard Sandiford <[email protected]> 175 Daniel Jacobowitz <[email protected]> 176 177 * config/tc-sparc.c (sparc_target_format): Handle TE_VXWORKS. 178 (GOTT_BASE, GOTT_INDEX): New. 179 (tc_gen_reloc): Don't alter relocations against GOTT_BASE and 180 GOTT_INDEX when generating VxWorks PIC. 181 * configure.tgt (sparc*-*-vxworks*): Remove this special case; 182 use the generic *-*-vxworks* stanza instead. 183 1842006-04-04 Alan Modra <[email protected]> 185 186 PR 997 187 * frags.c (frag_offset_fixed_p): New function. 188 * frags.h (frag_offset_fixed_p): Declare. 189 * expr.c (expr): Use frag_offset_fixed_p when simplifying subtraction. 190 (resolve_expression): Likewise. 191 1922006-04-03 Sterling Augustine <[email protected]> 193 194 * config/tc-xtensa.c (init_op_placement_info_table): Check for formats 195 of the same length but different numbers of slots. 196 1972006-03-30 Andreas Schwab <[email protected]> 198 199 * configure.in: Fix help string for --enable-targets option. 200 * configure: Regenerate. 201 2022006-03-28 Nathan Sidwell <[email protected]> 203 204 * gas/config/tc-m68k.c (find_cf_chip): Merge into ... 205 (m68k_ip): ... here. Use for all chips. Protect against buffer 206 overrun and avoid excessive copying. 207 208 * config/tc-m68k.c (m68000_control_regs, m68010_control_regs, 209 m68020_control_regs, m68040_control_regs, m68060_control_regs, 210 mcf_control_regs, mcf5208_control_regs, mcf5213_control_regs, 211 mcf5329_control_regs, mcf5249_control_regs, mcf528x_control_regs, 212 mcfv4e_control_regs, m68010_control_regs): Rename and reorder to ... 213 (m68000_ctrl, m68010_ctrl, m68020_ctrl, m68040_ctrl, m68060_ctrl, 214 mcf_ctrl, mcf5208_ctrl, mcf5213_ctrl, mcf5235_ctrl, mcf5249_ctrl, 215 mcf5216_ctrl, mcf5250_ctrl, mcf5271_ctrl, mcf5272_ctrl, 216 mcf5282_ctrl, mcfv4e_ctrl): ... these. 217 (mcf5275_ctrl, mcf5329_ctrl, mcf5373_ctrl): New. 218 (struct m68k_cpu): Change chip field to control_regs. 219 (current_chip): Remove. 220 (control_regs): New. 221 (m68k_archs, m68k_extensions): Adjust. 222 (m68k_cpus): Reorder to be in cpu number order. Adjust. 223 (CPU_ALLOW_MC, CPU_ALLOW_NEGATION): Remove. 224 (find_cf_chip): Reimplement for new organization of cpu table. 225 (select_control_regs): Remove. 226 (mri_chip): Adjust. 227 (struct save_opts): Save control regs, not chip. 228 (s_save, s_restore): Adjust. 229 (m68k_lookup_cpu): Give deprecated warning when necessary. 230 (m68k_init_arch): Adjust. 231 (md_show_usage): Adjust for new cpu table organization. 232 2332006-03-25 Bernd Schmidt <[email protected]> 234 235 * config/bfin-defs.h (Expr_Node_Type enum): Add Expr_Node_GOT_Reloc. 236 * config/bfin-lex.l: Recognize GOT17M4 and FUNCDESC_GOT17M4. 237 * config/bfin-parse.y: Include "libbfd.h", "elf/common.h" and 238 "elf/bfin.h". 239 (GOT17M4, FUNCDESC_GOT17M4): New tokens of type <value>. 240 (any_gotrel): New rule. 241 (got): Use it, and create Expr_Node_GOT_Reloc nodes. 242 * config/tc-bfin.c: Include "libbfd.h", "elf/common.h" and 243 "elf/bfin.h". 244 (DEFAULT_FLAGS, bfin_flags, bfin_pic_flag): New. 245 (bfin_pic_ptr): New function. 246 (md_pseudo_table): Add it for ".picptr". 247 (OPTION_FDPIC): New macro. 248 (md_longopts): Add -mfdpic. 249 (md_parse_option): Handle it. 250 (md_begin): Set BFD flags. 251 (md_apply_fix3, bfin_fix_adjustable): Handle new relocs. 252 (bfin_gen_ldstidxi): Adjust to match the trees that the parser gives 253 us for GOT relocs. 254 * Makefile.am (bfin-parse.o): Update dependencies. 255 (DEPTC_bfin_elf): Likewise. 256 * Makefile.in: Regenerate. 257 2582006-03-25 Richard Sandiford <[email protected]> 259 260 * config/tc-m68k.c (m68k_cpus): Change cpu_cf5208 entries to use 261 mcfemac instead of mcfmac. 262 2632006-03-22 Richard Sandiford <[email protected]> 264 Daniel Jacobowitz <[email protected]> 265 Phil Edwards <[email protected]> 266 Zack Weinberg <[email protected]> 267 Mark Mitchell <[email protected]> 268 Nathan Sidwell <[email protected]> 269 270 * config/tc-mips.c (mips_target_format): Handle vxworks targets. 271 (md_begin): Complain about -G being used for PIC. Don't change 272 the text, data and bss alignments on VxWorks. 273 (reloc_needs_lo_p): Don't return true for R_MIPS_GOT16 when 274 generating VxWorks PIC. 275 (load_address): Extend SVR4_PIC handling to VXWORKS_PIC. 276 (macro): Likewise, but do not treat la $25 specially for 277 VxWorks PIC, and do not handle jal. 278 (OPTION_MVXWORKS_PIC): New macro. 279 (md_longopts): Add -mvxworks-pic. 280 (md_parse_option): Don't complain about using PIC and -G together here. 281 Handle OPTION_MVXWORKS_PIC. 282 (md_estimate_size_before_relax): Always use the first relaxation 283 sequence on VxWorks. 284 * config/tc-mips.h (VXWORKS_PIC): New. 285 2862006-03-21 Paul Brook <[email protected]> 287 288 * config/tc-arm.c (md_apply_fix): Fix typo in offset mask. 289 2902006-03-21 Sterling Augustine <[email protected]> 291 292 * config/tc-xtensa.c (enforce_three_byte_loop_align): New flag. 293 (xtensa_setup_hw_workarounds): Set this new flag for older hardware. 294 (get_loop_align_size): New. 295 (xtensa_end): Skip xtensa_mark_narrow_branches when not aligning. 296 (xtensa_mark_zcl_first_insns): Prevent widening of first loop frag. 297 (get_text_align_power): Rewrite to handle inputs in the range 2-8. 298 (get_noop_aligned_address): Use get_loop_align_size. 299 (get_aligned_diff): Likewise. 300 3012006-03-21 Paul Brook <[email protected]> 302 303 * config/tc-arm.c (insns): Correct opcodes for ldrbt and strbt. 304 3052006-03-20 Paul Brook <[email protected]> 306 307 * config/tc-arm.c (BAD_BRANCH, BAD_NOT_IT): Define. 308 (do_t_branch): Encode branches inside IT blocks as unconditional. 309 (do_t_cps): New function. 310 (do_t_blx, do_t_bkpt, do_t_branch23, do_t_bx, do_t_bxj, do_t_cpsi, 311 do_t_czb, do_t_it, do_t_setend, do_t_tb): Add IT constaints. 312 (opcode_lookup): Allow conditional suffixes on all instructions in 313 Thumb mode. 314 (md_assemble): Advance condexec state before checking for errors. 315 (insns): Use do_t_cps. 316 3172006-03-20 Paul Brook <[email protected]> 318 319 * config/tc-arm.c (output_relax_insn): Call dwarf2_emit_insn before 320 outputting the insn. 321 3222006-03-18 Jan-Benedict Glaw <[email protected]> 323 324 * config/tc-vax.c: Update copyright year. 325 * config/tc-vax.h: Likewise. 326 3272006-03-18 Jan-Benedict Glaw <[email protected]> 328 329 * config/tc-vax.c (md_chars_to_number): Used only locally, so 330 make it static. 331 * config/tc-vax.h (md_chars_to_number): Remove obsolete declaration. 332 3332006-03-17 Paul Brook <[email protected]> 334 335 * config/tc-arm.c (insns): Add ldm and stm. 336 3372006-03-17 Ben Elliston <[email protected]> 338 339 PR gas/2446 340 * doc/as.texinfo (Ident): Document this directive more thoroughly. 341 3422006-03-16 Paul Brook <[email protected]> 343 344 * config/tc-arm.c (insns): Add "svc". 345 3462006-03-13 Bob Wilson <[email protected]> 347 348 * config/tc-xtensa.c (xg_translate_sysreg_op): Remove has_underbar 349 flag and avoid double underscore prefixes. 350 3512006-03-10 Paul Brook <[email protected]> 352 353 * config/tc-arm.c (md_begin): Handle EABIv5. 354 (arm_eabis): Add EF_ARM_EABI_VER5. 355 * doc/c-arm.texi: Document -meabi=5. 356 3572006-03-10 Ben Elliston <[email protected]> 358 359 * app.c (do_scrub_chars): Simplify string handling. 360 3612006-03-07 Richard Sandiford <[email protected]> 362 Daniel Jacobowitz <[email protected]> 363 Zack Weinberg <[email protected]> 364 Nathan Sidwell <[email protected]> 365 Paul Brook <[email protected]> 366 Ricardo Anguiano <[email protected]> 367 Phil Edwards <[email protected]> 368 369 * config/tc-arm.c (md_apply_fix): Install a value of zero into a 370 BFD_RELOC_ARM_OFFSET_IMM field if we're going to generate a RELA 371 R_ARM_ABS12 reloc. 372 (tc_gen_reloc): Keep the original fx_offset for RELA pc-relative 373 relocs, but adjust by md_pcrel_from_section. Create R_ARM_ABS12 374 relocations for BFD_RELOC_ARM_OFFSET_IMM on RELA targets. 375 3762006-03-06 Bob Wilson <[email protected]> 377 378 * config/tc-xtensa.c (xtensa_post_relax_hook): Generate literal tables 379 even when using the text-section-literals option. 380 3812006-03-06 Nathan Sidwell <[email protected]> 382 383 * config/tc-m68k.c (m68k_extensions): Allow 'float' on both m68k 384 and cf. 385 (m68k_ip): <case 'J'> Check we have some control regs. 386 (md_parse_option): Allow raw arch switch. 387 (m68k_init_arch): Better detection of arch/cpu mismatch. Detect 388 whether 68881 or cfloat was meant by -mfloat. 389 (md_show_usage): Adjust extension display. 390 (m68k_elf_final_processing): Adjust. 391 3922006-03-03 Bjoern Haase <[email protected]> 393 394 * config/tc-avr.c (avr_mod_hash_value): New function. 395 (md_apply_fix, exp_mod): Use BFD_RELOC_HH8_LDI and 396 BFD_RELOC_MS8_LDI for hlo8() and hhi8() 397 (md_begin): Set linkrelax variable to 1, use avr_mod_hash_value 398 instead of int avr_ldi_expression: use avr_mod_hash_value instead 399 of (int). 400 (tc_gen_reloc): Handle substractions of symbols, if possible do 401 fixups, abort otherwise. 402 * config/tc-avr.h (TC_LINKRELAX_FIXUP, TC_VALIDATE_FIX, 403 tc_fix_adjustable): Define. 404 4052006-03-02 James E Wilson <[email protected]> 406 407 * config/tc-ia64.c (emit_one_bundle): For IA64_OPCODE_LAST, if we 408 change the template, then clear md.slot[curr].end_of_insn_group. 409 4102006-02-28 Jan Beulich <[email protected]> 411 412 * macro.c (get_any_string): Don't insert quotes for <>-quoted input. 413 4142006-02-28 Jan Beulich <[email protected]> 415 416 PR/1070 417 * macro.c (getstring): Don't treat parentheses special anymore. 418 (get_any_string): Don't consider '(' and ')' as quoting anymore. 419 Special-case '(', ')', '[', and ']' when dealing with non-quoting 420 characters. 421 4222006-02-28 Mat <[email protected]> 423 424 * dwarf2dbg.c (get_filenum): Don't inadvertently decrease files_in_use. 425 4262006-02-27 Jakub Jelinek <[email protected]> 427 428 * dw2gencfi.c (struct fde_entry, struct cie_entry): Add signal_frame 429 field. 430 (CFI_signal_frame): Define. 431 (cfi_pseudo_table): Add .cfi_signal_frame. 432 (dot_cfi): Handle CFI_signal_frame. 433 (output_cie): Handle cie->signal_frame. 434 (select_cie_for_fde): Don't share CIE if signal_frame flag is 435 different. Copy signal_frame from FDE to newly created CIE. 436 * doc/as.texinfo: Document .cfi_signal_frame. 437 4382006-02-27 Carlos O'Donell <[email protected]> 439 440 * doc/Makefile.am: Add html target. 441 * doc/Makefile.in: Regenerate. 442 * po/Make-in: Add html target. 443 4442006-02-27 H.J. Lu <[email protected]> 445 446 * config/tc-i386.c (output_insn): Support Intel Merom New 447 Instructions. 448 449 * config/tc-i386.h (CpuMNI): New. 450 (CpuUnknownFlags): Add CpuMNI. 451 4522006-02-24 David S. Miller <[email protected]> 453 454 * config/tc-sparc.c (priv_reg_table): Add entry for "gl". 455 (hpriv_reg_table): New table for hyperprivileged registers. 456 (sparc_ip): New cases '$' and '%' for wrhpr/rdhpr hyperprivileged 457 register encoding. 458 4592006-02-24 DJ Delorie <[email protected]> 460 461 * config/tc-m32c.h (md_apply_fix): Define to m32c_apply_fix. 462 (tc_gen_reloc): Don't define. 463 * config/tc-m32c.c (rl_for, relaxable): New convenience macros. 464 (OPTION_LINKRELAX): New. 465 (md_longopts): Add it. 466 (m32c_relax): New. 467 (md_parse_options): Set it. 468 (md_assemble): Emit relaxation relocs as needed. 469 (md_convert_frag): Emit relaxation relocs as needed. 470 (md_cgen_lookup_reloc): Add LAB_8_8 and LAB_8_16. 471 (m32c_apply_fix): New. 472 (tc_gen_reloc): New. 473 (m32c_force_relocation): Force out jump relocs when relaxing. 474 (m32c_fix_adjustable): Return false if relaxing. 475 4762006-02-24 Paul Brook <[email protected]> 477 478 * config/arm/tc-arm.c (arm_ext_v6_notm, arm_ext_div, arm_ext_v7, 479 arm_ext_v7a, arm_ext_v7r, arm_ext_v7m): New variables. 480 (struct asm_barrier_opt): Define. 481 (arm_v7m_psr_hsh, arm_barrier_opt_hsh): New variables. 482 (parse_psr): Accept V7M psr names. 483 (parse_barrier): New function. 484 (enum operand_parse_code): Add OP_oBARRIER. 485 (parse_operands): Implement OP_oBARRIER. 486 (do_barrier): New function. 487 (do_dbg, do_pli, do_t_barrier, do_t_dbg, do_t_div): New functions. 488 (do_t_cpsi): Add V7M restrictions. 489 (do_t_mrs, do_t_msr): Validate V7M variants. 490 (md_assemble): Check for NULL variants. 491 (v7m_psrs, barrier_opt_names): New tables. 492 (insns): Add V7 instructions. Mark V6 instructions absent from V7M. 493 (md_begin): Initialize arm_v7m_psr_hsh and arm_barrier_opt_hsh. 494 (arm_cpu_option_table): Add Cortex-M3, R4 and A8. 495 (arm_arch_option_table): Add armv7, armv7a, armv7r and armv7m. 496 (struct cpu_arch_ver_table): Define. 497 (cpu_arch_ver): New. 498 (aeabi_set_public_attributes): Use cpu_arch_ver. Set 499 Tag_CPU_arch_profile. 500 * doc/c-arm.texi: Document new cpu and arch options. 501 5022006-02-23 H.J. Lu <[email protected]> 503 504 * config/tc-ia64.c (operand_match): Handle IA64_OPND_IMMU5b. 505 5062006-02-23 H.J. Lu <[email protected]> 507 508 * config/tc-ia64.c: Update copyright years. 509 5102006-02-22 H.J. Lu <[email protected]> 511 512 * config/tc-ia64.c (specify_resource): Add the rule 17 from 513 SDM 2.2. 514 5152005-02-22 Paul Brook <[email protected]> 516 517 * config/tc-arm.c (do_pld): Remove incorrect write to 518 inst.instruction. 519 (encode_thumb32_addr_mode): Use correct operand. 520 5212006-02-21 Paul Brook <[email protected]> 522 523 * config/tc-arm.c (md_apply_fix): Fix off-by-one errors. 524 5252006-02-17 Shrirang Khisti <[email protected]> 526 Anil Paranjape <[email protected]> 527 Shilin Shakti <[email protected]> 528 529 * Makefile.am: Add xc16x related entry. 530 * Makefile.in: Regenerate. 531 * configure.in: Added xc16x related entry. 532 * configure: Regenerate. 533 * config/tc-xc16x.h: New file 534 * config/tc-xc16x.c: New file 535 * doc/c-xc16x.texi: New file for xc16x 536 * doc/all.texi: Entry for xc16x 537 * doc/Makefile.texi: Added c-xc16x.texi 538 * NEWS: Announce the support for the new target. 539 5402006-02-16 Nick Hudson <[email protected]> 541 542 * configure.tgt: set emulation for mips-*-netbsd* 543 5442006-02-14 Jakub Jelinek <[email protected]> 545 546 * config.in: Rebuilt. 547 5482006-02-13 Bob Wilson <[email protected]> 549 550 * config/tc-xtensa.c (xg_add_opcode_fix): Number operands starting 551 from 1, not 0, in error messages. 552 (md_assemble): Simplify special-case check for ENTRY instructions. 553 (tinsn_has_invalid_symbolic_operands): Do not include opcode and 554 operand in error message. 555 5562006-02-13 Joseph S. Myers <[email protected]> 557 558 * configure.tgt (arm-*-linux-gnueabi*): Change to 559 arm-*-linux-*eabi*. 560 5612006-02-10 Nick Clifton <[email protected]> 562 563 * config/tc-crx.c (check_range): Ensure that the sign bit of a 564 32-bit value is propagated into the upper bits of a 64-bit long. 565 566 * config/tc-arc.c (init_opcode_tables): Fix cast. 567 (arc_extoper, md_operand): Likewise. 568 5692006-02-09 David Heine <[email protected]> 570 571 * config/tc-xtensa.c (xg_assembly_relax): Increment steps_taken for 572 each relaxation step. 573 5742006-02-09 Eric Botcazou <[email protected]> 575 576 * configure.in (CHECK_DECLS): Add vsnprintf. 577 * configure: Regenerate. 578 * messages.c (errno.h, stdarg.h, varargs.h, va_list): Do not 579 include/declare here, but... 580 * as.h: Move code detecting VARARGS idiom to the top. 581 (errno.h, stdarg.h, varargs.h, va_list): ...here. 582 (vsnprintf): Declare if not already declared. 583 5842006-02-08 H.J. Lu <[email protected]> 585 586 * as.c (close_output_file): New. 587 (main): Register close_output_file with xatexit before 588 dump_statistics. Don't call output_file_close. 589 5902006-02-07 Nathan Sidwell <[email protected]> 591 592 * config/tc-m68k.c (mcf5208_control_regs, mcf5213_control_regs, 593 mcf5329_control_regs): New. 594 (not_current_architecture, selected_arch, selected_cpu): New. 595 (m68k_archs, m68k_extensions): New. 596 (archs): Renamed to ... 597 (m68k_cpus): ... here. Adjust. 598 (n_arches): Remove. 599 (md_pseudo_table): Add arch and cpu directives. 600 (find_cf_chip, m68k_ip): Adjust table scanning. 601 (no_68851, no_68881): Remove. 602 (md_assemble): Lazily initialize. 603 (select_control_regs): Adjust cpu names. Add 5208, 5213, 5329. 604 (md_init_after_args): Move functionality to m68k_init_arch. 605 (mri_chip): Adjust table scanning. 606 (md_parse_option): Reimplement 'm' processing to add -march & -mcpu 607 options with saner parsing. 608 (m68k_lookup_cpu, m68k_set_arch, m68k_set_cpu, m68k_set_extension, 609 m68k_init_arch): New. 610 (s_m68k_cpu, s_m68k_arch): New. 611 (md_show_usage): Adjust. 612 (m68k_elf_final_processing): Set CF EF flags. 613 * config/tc-m68k.h (m68k_init_after_args): Remove. 614 (tc_init_after_args): Remove. 615 * doc/c-m68k.texi (M68K-Opts): Document -march, -mcpu options. 616 (M68k-Directives): Document .arch and .cpu directives. 617 6182006-02-05 Arnold Metselaar <[email protected]> 619 620 * config/tc-z80.c (z80_start_line_hook): allow .equ and .defl as 621 synonyms for equ and defl. 622 (z80_cons_fix_new): New function. 623 (emit_byte): Disallow relative jumps to absolute locations. 624 (emit_data): Only handle defb, prototype changed, because defb is 625 now handled as pseudo-op rather than an instruction. 626 (instab): Entries for defb,defw,db,dw moved from here... 627 (md_pseudo_table): ... to here, use generic cons() for defw,dw. 628 Add entries for def24,def32,d24,d32. 629 (md_assemble): Improved error handling. 630 (md_apply_fix): New case BFD_RELOC_24, set fixP->fx_no_overflow to one. 631 * config/tc-z80.h (TC_CONS_FIX_NEW): Define. 632 (z80_cons_fix_new): Declare. 633 * doc/c-z80.texi (defb, db): Mention warning on overflow. 634 (def24,d24,def32,d32): New pseudo-ops. 635 6362006-02-02 Paul Brook <[email protected]> 637 638 * config/tc-arm.c (do_shift): Remove Thumb-1 constraint. 639 6402005-02-02 Paul Brook <[email protected]> 641 642 * config/tc-arm.c (T2_OPCODE_MASK, T2_DATA_OP_SHIFT, T2_OPCODE_AND, 643 T2_OPCODE_BIC, T2_OPCODE_ORR, T2_OPCODE_ORN, T2_OPCODE_EOR, 644 T2_OPCODE_ADD, T2_OPCODE_ADC, T2_OPCODE_SBC, T2_OPCODE_SUB, 645 T2_OPCODE_RSB): Define. 646 (thumb32_negate_data_op): New function. 647 (md_apply_fix): Use it. 648 6492006-01-31 Bob Wilson <[email protected]> 650 651 * config/xtensa-istack.h (TInsn): Remove record_fix and sub_symbol 652 fields. 653 * config/tc-xtensa.h (xtensa_frag_type): Remove slot_sub_symbols field. 654 * config/tc-xtensa.c (md_apply_fix): Check for unexpected uses of 655 subtracted symbols. 656 (relaxation_requirements): Add pfinish_frag argument and use it to 657 replace setting tinsn->record_fix fields. 658 (xg_assemble_vliw_tokens): Adjust calls to relaxation_requirements 659 and vinsn_to_insnbuf. Remove references to record_fix and 660 slot_sub_symbols fields. 661 (xtensa_mark_narrow_branches): Delete unused code. 662 (is_narrow_branch_guaranteed_in_range): Handle expr that is not just 663 a symbol. 664 (convert_frag_immed): Adjust vinsn_to_insnbuf call and do not set 665 record_fix fields. 666 (tinsn_immed_from_frag): Remove code for handling slot_sub_symbols. 667 (vinsn_to_insnbuf): Change use of record_fixup argument, replacing use 668 of the record_fix field. Simplify error messages for unexpected 669 symbolic operands. 670 (set_expr_symbol_offset_diff): Delete. 671 6722006-01-31 Paul Brook <[email protected]> 673 674 * config/tc-arm.c (arm_reg_parse): Check if reg is non-NULL. 675 6762006-01-31 Paul Brook <[email protected]> 677 Richard Earnshaw <[email protected]> 678 679 * config/tc-arm.c: Use arm_feature_set. 680 (arm_ext_*, arm_arch_full, arm_arch_t2, arm_arch_none, 681 arm_cext_iwmmxt, arm_cext_xscale, arm_cext_maverick, fpu_fpa_ext_v1, 682 fpu_fpa_ext_v2, fpu_vfp_ext_v1xd, fpu_vfp_ext_v1, fpu_vfp_ext_v2): 683 New variables. 684 (insns): Use them. 685 (md_atof, opcode_select, opcode_select, md_assemble, md_assemble, 686 md_begin, arm_parse_extension, arm_parse_cpu, arm_parse_arch, 687 arm_parse_fpu, arm_parse_float_abi, aeabi_set_public_attributes, 688 s_arm_cpu, s_arm_arch, s_arm_fpu): Use macros for accessing CPU 689 feature flags. 690 (arm_legacy_option_table, arm_option_cpu_value_table): New types. 691 (arm_opts): Move old cpu/arch options from here... 692 (arm_legacy_opts): ... to here. 693 (md_parse_option): Search arm_legacy_opts. 694 (arm_cpus, arm_archs, arm_extensions, arm_fpus) 695 (arm_float_abis, arm_eabis): Make const. 696 6972006-01-25 Bob Wilson <[email protected]> 698 699 * config/tc-xtensa.c (md_apply_fix): Set value to zero for PLT relocs. 700 7012006-01-21 Jie Zhang <[email protected]> 702 703 * config/bfin-parse.y (asm_1): Check value range for 16 bit immediate 704 in load immediate intruction. 705 7062006-01-21 Jie Zhang <[email protected]> 707 708 * config/bfin-parse.y (value_match): Use correct conversion 709 specifications in template string for __FILE__ and __LINE__. 710 (binary): Ditto. 711 (unary): Ditto. 712 7132006-01-18 Alexandre Oliva <[email protected]> 714 715 Introduce TLS descriptors for i386 and x86_64. 716 * config/tc-i386.c (tc_i386_fix_adjustable): Handle 717 BFD_RELOC_386_TLS_GOTDESC, BFD_RELOC_386_TLS_DESC_CALL, 718 BFD_RELOC_X86_64_GOTPC32_TLSDESC, BFD_RELOC_X86_64_TLSDESC_CALL. 719 (optimize_disp): Emit fix up for BFD_RELOC_386_TLS_DESC_CALL and 720 BFD_RELOC_X86_64_TLSDESC_CALL immediately, and clear the 721 displacement bits. 722 (build_modrm_byte): Set up zero modrm for TLS desc calls. 723 (lex_got): Handle @tlsdesc and @tlscall. 724 (md_apply_fix, tc_gen_reloc): Handle the new relocations. 725 7262006-01-11 Nick Clifton <[email protected]> 727 728 Fixes for building on 64-bit hosts: 729 * config/tc-avr.c (mod_index): New union to allow conversion 730 between pointers and integers. 731 (md_begin, avr_ldi_expression): Use it. 732 * config/tc-i370.c (md_assemble): Add cast for argument to print 733 statement. 734 * config/tc-tic54x.c (subsym_substitute): Likewise. 735 * config/tc-mn10200.c (md_assemble): Use a union to convert the 736 opindex field of fr_cgen structure into a pointer so that it can 737 be stored in a frag. 738 * config/tc-mn10300.c (md_assemble): Likewise. 739 * config/tc-frv.c (frv_debug_tomcat): Use %p to print pointer 740 types. 741 * config/tc-v850.c: Replace uses of (int) casts with correct 742 types. 743 7442006-01-09 H.J. Lu <[email protected]> 745 746 PR gas/2117 747 * symbols.c (snapshot_symbol): Don't change a defined symbol. 748 7492006-01-03 Hans-Peter Nilsson <[email protected]> 750 751 PR gas/2101 752 * config/tc-mmix.c (mmix_handle_mmixal): Don't treat #[0-9][FB] as 753 a local-label reference. 754 755For older changes see ChangeLog-2005 756 757Local Variables: 758mode: change-log 759left-margin: 8 760fill-column: 74 761version-control: never 762End: 763