12009-01-14 Jakub Jelinek <jakub@redhat.com> 2 3 * Makefile.am (ehopt.o): Add struc-symbol.h. 4 * Makefile.in: Regenerated. 5 * ehopt.c: Include struc-symbol.h. 6 (check_eh_frame): For very small O_constant DW_CFA_advance_loc4 7 create correct DW_CFA_advance_loc. Handle O_subtract only 8 for code alignment factor 1, otherwise handle O_divide or 9 O_right_shift of O_subtract and O_constant. 10 (eh_frame_estimate_size_before_relax): Always divide by ca. 11 (eh_frame_convert_frag): Likewise. 12 132009-01-14 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> 14 15 * dw2gencfi.c (output_cfi_insn): Scale DW_CFA_advance_loc1, 16 DW_CFA_advance_loc2 and DW_CFA_advance_loc4 outputs. 17 182009-01-08 Adam Nemet <anemet@caviumnetworks.com> 19 20 * config/tc-mips.c (NO_ISA_COP): New macro. 21 (COP_INSN): New macro. 22 (is_opcode_valid): Use them. 23 (macro) <ld_st>: Use them. Don't accept coprocessor load store 24 insns based on the ISA if CPU is NO_ISA_COP. 25 <copz>: Likewise for coprocessor operations. 26 272008-10-09 Eric Botcazou <ebotcazou@adacore.com> 28 29 * dw2gencfi.c (cfi_finish): Deal with md_fix_up_eh_frame. 30 * config/tc-i386.h (md_fix_up_eh_frame): Define on Solaris. 31 (i386_solaris_fix_up_eh_frame): Declare. 32 * config/tc-i386.c (i386_solaris_fix_up_eh_frame): New function. 33 342008-09-29 Nick Clifton <nickc@redhat.com> 35 36 PR 6878 37 * app.c (do_scrub_chars): Only issue warnings about tick 38 characters detected in symbol strings if hex ticks are supported. 39 402008-09-29 Nick Clifton <nickc@redhat.com> 41 42 * dw2gencfi.c (output_cfi_insn): Fix typo in invocation of 43 tc_cfi_emit_pcrel_expr macro. 44 452008-09-28 Daniel Jacobowitz <dan@codesourcery.com> 46 47 * NEWS: Mention .cfi_val_encoded_addr. 48 492008-09-26 Eric Botcazou <ebotcazou@adacore.com> 50 51 * Makefile.am (TARG_ENV_HFILES): Add config/te-solaris.h. 52 * Makefile.in (TARG_ENV_HFILES): Likewise. 53 * configure.tgt (Solaris targets): Set em=solaris. 54 * config/te-solaris.h: New file. 55 562008-09-25 Richard Henderson <rth@redhat.com> 57 58 * dw2gencfi.c (DWARF2_ADDR_SIZE): Provide default. 59 (struct cfi_insn_data): Add ea member. 60 (CFI_val_encoded_addr, dot_cfi_val_encoded_addr): New. 61 (output_cfi_insn): Handle CFI_val_encoded_addr. 62 (select_cie_for_fde): Don't match CFI_val_encoded_addr. 63 * doc/as.texinfo (.cfi_val_encoded_addr): Document. 64 652008-09-25 Alan Modra <amodra@bigpond.net.au> 66 67 PR 6913 68 * listing.c (print_options): Don't call fprintf without format string. 69 702008-09-19 Alan Modra <amodra@bigpond.net.au> 71 72 * write.c (md_register_arithmetic): Define. 73 (fixup_segment): Pass segment to TC_FORCE_RELOCATION_SUB_ABS, 74 TC_FORCE_RELOCATION_SUB_LOCAL, TC_VALIDATE_FIX_SUB invocations. 75 Modify error message when registers involved. 76 (TC_FORCE_RELOCATION_SUB_ABS): Heed md_register_arithmetic. 77 (TC_FORCE_RELOCATION_SUB_LOCAL, TC_VALIDATE_FIX_SUB): Likewise. 78 * config/tc-frv.h (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise. 79 * config/tc-hppa.h (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise. 80 * config/tc-mn10300.h (TC_VALIDATE_FIX_SUB): Likewise. 81 * config/tc-sh.h (TC_FORCE_RELOCATION_SUB_ABS): Likewise. 82 (TC_FORCE_RELOCATION_SUB_LOCAL, TC_VALIDATE_FIX_SUB): Likewise. 83 * config/tc-sh64.h (TC_VALIDATE_FIX_SUB): Likewise. 84 * config/tc-xtensa.h (TC_VALIDATE_FIX_SUB): Likewise. 85 * doc/internals.texi (TC_FORCE_RELOCATION_SUB_ABS, 86 TC_FORCE_RELOCATION_SUB_LOCAL, TC_VALIDATE_FIX_SUB): Show new param. 87 882008-09-15 Alan Modra <amodra@bigpond.net.au> 89 90 * write.c (install_reloc): Correct EMIT_SECTION_SYMBOLS test. 91 922008-09-15 Alan Modra <amodra@bigpond.net.au> 93 94 * config/tc-frv.c (md_apply_fix): Use abs_section_sym for 95 relocs with no symbol. 96 * config/tc-mmix.c (md_assemble): Mark fake symbol on 97 BFD_RELOC_MMIX_BASE_PLUS_OFFSET as OK for use by relocs. 98 (mmix_md_end): Likewise mark mmix reg contents section symbol. 99 1002008-09-09 Alan Modra <amodra@bigpond.net.au> 101 102 * Makefile.am: Run "make dep-am". 103 * Makefile.in: Regenerate. 104 * po/gas.pot: Regenerate. 105 1062008-09-08 Tristan Gingold <gingold@adacore.com> 107 108 * NEWS: Add a marker for the 2.19 features. 109 1102008-09-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> 111 112 * config/tc-hppa.h (DIFF_EXPR_OK): Define for SOM target. Revise 113 comment regarding use of difference expressions. 114 (TC_FORCE_RELOCATION_SUB_LOCAL): Define to 1. 115 116 * dw2gencfi.c (CFI_DIFF_EXPR_OK): Define if not defined. 117 (dot_cfi_personality): Use CFI_DIFF_EXPR_OK instead of DIFF_EXPR_OK. 118 (dot_cfi_lsda, output_cie, output_fde): Likewise. 119 * config/tc-hppa.h (CFI_DIFF_EXPR_OK): Define. 120 1212008-09-06 Richard Sandiford <rdsandiford@googlemail.com> 122 123 * config/tc-mips.h (DWARF2_FDE_RELOC_SIZE): Define. 124 1252008-09-03 Nick Clifton <nickc@redhat.com> 126 127 * config/tc-i386.c (pe_lcomm_internal): New function. Allows the 128 alignment field of the .lcomm directive to be optional. 129 (pe_lcomm): New function. Pass pe_lcomm_internal to 130 s_comm_internal. 131 (md_pseudo_table): Implement .lcomm directive for COFF based 132 targets. 133 * doc/c-i386.texi (i386-Directives): New node. Used to document 134 the .lcomm directive. 135 1362008-08-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> 137 138 * config/tc-hppa.h: Don't define DWARF2_EH_FRAME_READ_ONLY on Linux 139 and NetBSD. 140 1412008-08-29 Eric B. Weddington <eric.weddington@atmel.com> 142 143 * config/tc-avr.c (mcu_types): Add atmega16u4. 144 * doc/c-avr.texi: Likewise. 145 1462008-08-28 H.J. Lu <hongjiu.lu@intel.com> 147 148 * config/tc-ia64.c (CR_IIB0): New. 149 (CR_IIB1): Likewise. 150 (cr): Add cr.iib0 and cr.iib1. 151 (specify_resource): Handle IA64_RS_CR_IIB and CR_IIB0/CR_IIB1. 152 1532008-08-28 Jan Beulich <jbeulich@novell.com> 154 155 * config/tc-i386.c (md_assemble): Force number of displacement 156 operands to zero when processing string instruction. 157 (i386_index_check): Special-case string instruction operands. Don't 158 fudge address prefix if there already was a memory operand. Fix 159 error message to correctly reflect the addressing mode used. 160 (i386_att_operand): Fix comment. 161 (i386_intel_operand): Snapshot, clear, and restore base and index 162 reg for each operand processed. Increment count of memory operands 163 later. 164 1652008-08-27 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> 166 167 * config/tc-hppa.c (is_SB_relative): New macro. 168 (fix_new_hppa): Remove $segrel$ marker. 169 (cons_fix_new_hppa): Set reloc type R_PARISC_SEGREL32 if expression is 170 segment relative. 171 * config/tc-hppa.h (tc_frob_symbol): Check for $segrel$. 172 1732008-08-27 Jan Beulich <jbeulich@novell.com> 174 175 * config/tc-i386.c (check_string): Use register_prefix for error 176 message. 177 (process_operands): Likewise. 178 1792008-08-26 Mark Mitchell <mark@codesourcery.com> 180 181 * c-arm.texi: Add tutorial on ARM unwinding pseudo ops. 182 1832008-08-26 Jie Zhang <jie.zhang@analog.com> 184 185 * config/bfin-parse.y (check_macfunc_option): Fix instruction 186 mode checking. 187 (asm_1): Check mode for 16-bit multiply instructions. 188 1892008-08-24 Alan Modra <amodra@bigpond.net.au> 190 191 * configure.in: Update a number of obsolete autoconf macros. 192 * configure: Regenerate. 193 * aclocal.m4: Regenerate. 194 1952008-08-22 Nick Clifton <nickc@redhat.com> 196 197 * config/tc-mcore.c (md_assemble): Increase length of name array 198 to include terminating NUL. 199 2002008-08-22 Jie Zhang <jie.zhang@analog.com> 201 202 * config/bfin-lex.l (NUMBER): Protect special `.'. 203 2042008-08-22 Alan Modra <amodra@bigpond.net.au> 205 206 * symbols.c (symbol_clone): Ensure clones are not external. 207 2082008-08-22 Alan Modra <amodra@bigpond.net.au> 209 210 * config/tc-hppa.c (md_begin): Set BSF_KEEP for "dummy_symbol". 211 2122008-08-21 Richard Henderson <rth@redhat.com> 213 214 * dw2gencfi.c (DWARF2_FDE_RELOC_SIZE): New. 215 (output_cie, output_fde): Use it. 216 (DWARF2_EH_FRAME_READ_ONLY): New. 217 (cfi_finish): Use it. 218 219 * config/tc-hppa.h (DWARF2_FDE_RELOC_SIZE): Set to 8 for 64-bit. 220 (DWARF2_CIE_DATA_ALIGNMENT): Change sign. 221 (DWARF2_EH_FRAME_READ_ONLY): New. 222 * config/tc-hppa.c (tc_gen_reloc): Generate pc-relative relocations 223 from the results of DIFF_EXPR_OK manipulation. 224 2252008-08-21 Sterling Augustine <sterling@tensilica.com> 226 227 * config/xtensa-istack.h (MAX_INSN_ARGS): Increase to 64. 228 2292008-08-20 Bob Wilson <bob.wilson@acm.org> 230 231 * config/tc-xtensa.c (O_tlsfunc, O_tlsarg, O_tlscall): Define. 232 (O_tpoff, O_dtpoff): Define. 233 (suffix_relocs): Add entries for TLS suffixes. 234 (xtensa_elf_cons): Check for invalid use of TLS relocations. 235 (map_operator_to_reloc): Add is_literal parameter and use it to 236 control translating TLS instruction relocations to the corresponding 237 literal relocations. 238 (xg_valid_literal_expression): Allow TLS operators. 239 (xg_build_to_insn): Copy TLS operators from pseudo-instruction 240 operands to generated literals. 241 (xg_assemble_literal): Handle TLS operators. Update call to 242 map_operator_to_reloc. 243 (md_assemble): Handle CALLXn.TLS pseudo-instruction. 244 (md_apply_fix): Handle TLS relocations. 245 (emit_single_op): Handle TLS operators. 246 (convert_frag_immed): Update call to map_operator_to_reloc. 247 (vinsn_to_insnbuf): Emit relocations for TLS-related instructions. 248 * config/xtensa-istack.h (tinsn_struct): Add tls_reloc field. 249 * config/xtensa-relax.c (append_literal_op): Add src_op parameter 250 to initialize the op_data field of the BuildOp. 251 (build_transition): Use it here to record the source operand 252 corresponding to a generated literal. 253 * config/xtensa-relax.h (build_op): Comment op_data use for literals. 254 2552008-08-20 H.J. Lu <hongjiu.lu@intel.com> 256 257 AVX Programming Reference (August, 2008) 258 * config/tc-i386.c (CPU_FLAGS_AES_MATCH): New. 259 (CPU_FLAGS_AVX_MATCH): Likewise. 260 (CPU_FLAGS_32BIT_MATCH): Updated. 261 (cpu_flags_match): Likewise. 262 2632008-08-20 Alan Modra <amodra@bigpond.net.au> 264 265 PR 6848 266 * write.c (install_reloc): Check that reloc symbols have been 267 written. 268 (set_symtab): Mark symbols with BSF_KEEP. 269 2702008-08-18 H.J. Lu <hongjiu.lu@intel.com> 271 272 * config/tc-i386.c (i386_align_code): Fix a comment typo. 273 2742008-08-15 Alan Modra <amodra@bigpond.net.au> 275 276 PR 6526 277 * configure.in: Invoke AC_USE_SYSTEM_EXTENSIONS. 278 * Makefile.in: Regenerate. 279 * aclocal.m4: Regenerate. 280 * config.in: Regenerate. 281 * configure: Regenerate. 282 * doc/Makefile.in: Regenerate. 283 2842008-08-14 Alan Modra <amodra@bigpond.net.au> 285 286 * config/tc-tic4x.c (tic4x_operands_parse): Make static. 287 2882008-08-13 Ben Elliston <bje@au.ibm.com> 289 290 * doc/as.texinfo (Align): Document the PowerPC behaviour. 291 2922008-08-13 Alan Modra <amodra@bigpond.net.au> 293 294 * as.c, as.h, ecoff.c, hash.c, macro.c, symbols.c, config/obj-evax.c, 295 config/obj-som.c, config/tc-alpha.c, config/tc-arm.c, config/tc-bfin.c, 296 config/tc-bfin.h, config/tc-crx.c, config/tc-frv.c, config/tc-frv.h, 297 config/tc-hppa.h, config/tc-i386.c, config/tc-i860.c, config/tc-i960.h, 298 config/tc-ia64.c, config/tc-ia64.h, config/tc-m32c.c, config/tc-m32c.h, 299 config/tc-m68k.c, config/tc-maxq.c, config/tc-s390.c, config/tc-s390.h, 300 config/tc-sparc.c, config/tc-sparc.h, config/tc-spu.c, config/tc-spu.h, 301 config/tc-tic4x.c, config/tc-tic4x.h, config/tc-tic54x.c, 302 config/tc-tic54x.h, config/tc-vax.c, doc/internals.texi: Banish PARAMS 303 and PTR. Convert to ISO C. Delete unnecessary forward declarations. 304 3052008-08-12 Alan Modra <amodra@bigpond.net.au> 306 307 * config/tc-arm.c (s_unreq): Adjust hash_delete call. 308 * config/tc-ia64.c (dot_rot): Likewise. 309 3102008-08-11 Alan Modra <amodra@bigpond.net.au> 311 312 PR 6575 313 * hash.c: Expand PTR to void *. 314 (hash_delete): Add "freeme" parameter. Call obstack_free. 315 * hash.h: Expand PTR to void *. 316 (hash_delete): Update prototype. 317 * macro.c (macro_expand_body): hash_delete LOCALs from formal_hash. 318 * config/tc-tic54x.c (tic54x_remove_local_label): Update hash_delete 319 call. 320 (subsym_substitute): Likewise. 321 * doc/internals.texi (hash_delete): Update. 322 3232008-08-08 Anatoly Sokolov <aesok@post.ru> 324 325 * config/tc-avr.c (mcu_types): Add avr25, avr31, avr35, and avr51 326 architectures. Reorganize list to put mcu types in correct 327 architectures and to order list same as in GCC. Use new ISA 328 definitions in include/opcode/avr.h. 329 * doc/c-avr.texi: Add avr25, avr31, avr35, and avr51 architecture 330 descriptions. Reorganize descriptions to put mcu types in correct 331 architectures and to order lists same as in GCC. 332 3332008-08-08 Richard Sandiford <rdsandiford@googlemail.com> 334 Daniel Jacobowitz <dan@codesourcery.com> 335 336 * config/tc-mips.c (OPTION_CALL_NONPIC): New macro. 337 (OPTION_NON_SHARED, OPTION_XGOT, OPTION_MABI, OPTION_32) 338 (OPTION_N32, OPTION_64, OPTION_MDEBUG, OPTION_NO_MDEBUG) 339 (OPTION_PDR, OPTION_NO_PDR, OPTION_MVXWORKS_PIC): Bump by 1. 340 (md_longopts): Add -call_nonpic. 341 (md_parse_option): Handle OPTION_CALL_NONPIC. 342 (md_show_usage): Add -call_nonpic. 343 3442008-08-08 Sterling Augustine <sterling@tensilica.com> 345 346 * config/tc-xtensa.c (exclude_section_from_property_tables): New. 347 (xtensa_create_property_segments): Use it. 348 (xtensa_create_xproperty_segments): Likewise. 349 3502008-08-08 Alan Modra <amodra@bigpond.net.au> 351 352 * doc/internals.texi (DWARF2_FORMAT): Update for 2008-08-04 change. 353 3542008-08-06 Richard Sandiford <rdsandiford@googlemail.com> 355 356 * config/tc-mips.c (mips16_reloc_p, got16_reloc_p, hi16_reloc_p) 357 (lo16_reloc_p): New functions. 358 (reloc_needs_lo_p): Use hi16_reloc_p and got16_reloc_p to 359 generalize relocation checks. 360 (matching_lo_reloc): New function. 361 (fixup_has_matching_lo_p): Use it. 362 (mips16_mark_labels): Don't clobber a symbol's visibility. 363 (append_insn): Use hi16_reloc_p and lo16_reloc_p. 364 (mips16_ip): Handle BFD_RELOC_MIPS16_GOT16 and BFD_RELOC_MIPS16_CALL16. 365 (md_apply_fix): Likewise. 366 (mips16_percent_op): Add %got and %call16. 367 (mips_frob_file): Use got16_reloc_p to generalize relocation checks. 368 Use matching_lo_reloc. 369 (mips_force_relocation): Use hi16_reloc_p and lo16_reloc_p to 370 generalize relocation checks. 371 (mips_fix_adjustable): Use lo16_reloc_p to generalize relocation 372 checks. 373 3742008-08-06 DJ Delorie <dj@redhat.com> 375 376 * NEWS: Mention these changes. 377 378 * config/tc-h8300.h (H_TICK_HEX): Define. 379 * config/tc-h8300.c (OPTION_H_TICK_HEX): New. 380 (md_longopts): Add "-h-tick-hex". 381 (md_parse_option): Support it. 382 * doc/c-h8300.texi (H8/300 Options): Document it. 383 * doc/as.texinfo (Overview): Likewise. 384 385 * config/tc-sh.h (H_TICK_HEX): Define. 386 * config/tc-sh.c (OPTION_H_TICK_HEX): New. 387 (md_longopts): Add "-h-tick-hex". 388 (md_parse_option): Support it. 389 * doc/c-sh.texi (SH Options): Document it. 390 * doc/c-sh64.texi (SH64 Options): Document it. 391 * doc/as.texinfo (Overview): Likewise. 392 3932008-08-05 Alan Modra <amodra@bigpond.net.au> 394 395 PR gas/6656 396 * dwarf2dbg.c (dwarf2_directive_file): Disable gas generated 397 debug info if we see compiler generated debug info. 398 (dwarf2_directive_loc): Likewise. Remove redundant debug_type test. 399 4002008-08-04 Alan Modra <amodra@bigpond.net.au> 401 402 * dwarf2dbg.c: Remove superfluous forward function declarations. 403 (DWARF2_FORMAT): Add section arg. 404 (out_header): New function, split out from.. 405 (out_debug_line): ..here. 406 (out_debug_aranges): Use out_header. 407 (out_debug_abbrev): Add info_seg and line_seg args. Use 408 DW_FORM_data8 (for DW_AT_stmt_list) if line_seg is 64-bit. 409 (out_debug_info): Use out_header. Output 8 byte DW_AT_stmt_list 410 if line_seg is 64-bit. 411 (dwarf2_finish): Adjust out_debug_abbrev call. 412 * config/tc-mips.h (DWARF2_FORMAT, mips_dwarf2_format): Add sec arg. 413 * config/tc-mips.c (mips_dwarf2_format): Likewise. 414 4152008-08-04 Alan Modra <amodra@bigpond.net.au> 416 417 * Makefile.am (POTFILES.in): Set LC_ALL=C. 418 * Makefile.in: Regenerate. 419 * po/POTFILES.in: Regenerate. 420 4212008-08-01 Peter Bergner <bergner@vnet.ibm.com> 422 423 * config/tc-ppc.c (parse_cpu): Rename altivec_or_spe to retain_flags. 424 Handle -mvsx and -mpower7. 425 (md_show_usage): Document -mpower7 and -mvsx. 426 * doc/as.texinfo (Target PowerPC): Document -mvsx. 427 * doc/c-ppc.texi (PowerPC-Opts): Document -mvsx and -mpower7. 428 4292008-07-31 Peter Bergner <bergner@vnet.ibm.com> 430 431 * config/tc-ppc.c (parse_cpu) <power6>: Accept Altivec instructions. 432 <cell>: Likewise. 433 4342008-07-30 Michael J. Eager <eager@eagercon.com> 435 436 * config/tc-ppc.c (parse_cpu): Separate handling of -m403/405. 437 (md_show_usage): Likewise. 438 4392008-07-30 Alan Modra <amodra@bigpond.net.au> 440 441 * messages.c, symbols.c, write.c: Silence gcc warnings. 442 4432008-07-28 Ineiev <ineiev@yahoo.co.uk> 444 445 * config/tc-i386.c (operand_type_check): Warning fix. 446 4472008-07-26 Michael Eager <eager@eagercon.com> 448 449 * doc/as.texinfo: Add description of single-precision attribute. 450 4512008-07-24 Jie Zhang <jie.zhang@analog.com> 452 453 * config/bfin-parse.y (asm_1): Error if plain symbol is used 454 as load/store offset. 455 4562008-07-22 Chao-ying Fu <fu@mips.com> 457 458 * config/tc-mips.c (mips_ip): Reset s to argsStart. 459 4602008-07-22 Jie Zhang <jie.zhang@analog.com> 461 462 * config/tc-bfin.c (bfin_gen_loop): Remove loop symbol. 463 4642008-07-21 DJ Delorie <dj@redhat.com> 465 466 * config/tc-h8300.c (fix_operand_size): Use the default size 467 specified by the .lbranch/.sbranch pseudos. 468 4692008-07-18 DJ Delorie <dj@redhat.com> 470 471 * config/tc-m32c.h (H_TICK_HEX): Define. 472 * config/tc-m32c.c (OPTION_H_TICK_HEX): Define. 473 (md_longopts): Add support for it. 474 (md_parse_option): Likewise. 475 * doc/as.texinfo (Overview): Add new m32c options. 476 * doc/c-m32c.texi (M32C-Modifiers): Likewise 477 478 * as.h: (enable_h_tick_hex): New. 479 * app.c (enable_h_tick_hex): New. 480 (LEX_IS_H): New. 481 (do_scrub_begin): Mark 'H' and 'h' as special if enable_h_tick_hex. 482 (do_scrub_chars): If enable_h_tick_hex and 'h', check for H'00 483 style hex constants and convert the input stream to 0x00 style. 484 (do_scrub_chars): If a 'X style character constant is found after 485 a symbol character (like you're or X'00), warn the user. 486 4872008-07-10 Richard Sandiford <rdsandiford@googlemail.com> 488 489 * config/tc-mips.c (mips16_mark_labels): Use ELF_ST_SET_MIPS16. 490 (mips_fix_adjustable): Likewise. 491 (mips_frob_file_after_relocs): Likewise. 492 4932008-07-08 Nathan Sidwell <nathan@codesourcery.com> 494 495 * config/tc-m68k.c (m68k_set_cpu, m68k_set_arch): Don't complain 496 about overriding an earlier setting. 497 4982008-07-07 Adam Nemet <anemet@caviumnetworks.com> 499 500 * config/tc-mips.c (NO_ISA_COP): New macro. 501 (COP_INSN): New macro. 502 (is_opcode_valid): Use them. 503 (macro) <ld_st>: Use them. Don't accept coprocessor load store 504 insns based on the ISA if CPU is NO_ISA_COP. 505 <copz>: Likewise for coprocessor operations. 506 5072008-07-07 Paul Brook <paul@codesourcery.com> 508 509 * config/tc-arm.c (arm_fix_adjustable): Don't adjust MOVW/MOVT 510 relocations. 511 5122008-07-07 Ralf Corsépius <ralf.corsepius@rtems.org> 513 514 * configure.tgt: Add bfin-*-rtems*. 515 5162008-07-04 Alan Modra <amodra@bigpond.net.au> 517 518 * config/tc-spu.c (md_apply_fix): Handle fully resolved 519 BFD_RELOC_32_PCREL, BFD_RELOC_SPU_HI16 and BFD_RELOC_SPU_LO16. 520 5212008-06-25 Peter Bergner <bergner@vnet.ibm.com> 522 523 * config/tc-ppc.c (parse_cpu): Handle -m464. 524 (md_show_usage): Likewise. 525 5262008-06-24 Eric B. Weddington <eric.weddington@atmel.com> 527 528 Add support for ATtiny13A. 529 * config/tc-avr.c (mcu_types): Add attiny13a. 530 * doc/c-avr.texi: Likewise. 531 5322008-06-24 Bob Wilson <bob.wilson@acm.org> 533 Alan Modra <amodra@bigpond.net.au> 534 535 * write.c (relax_segment <rs_org>): Include current stretch 536 value when calculating whether .org is backwards. 537 5382008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 539 540 * configure: Regenerate. 541 5422008-06-17 Nick Clifton <nickc@redhat.com> 543 544 * app.c (do_scrub_chars): Do not UNGET an EOF value. 545 5462008-06-16 Hans-Peter Nilsson <hp@bitrange.com> 547 548 PR gas/6607 549 * config/tc-mmix.c (s_loc): Assume "negative" addresses belong to 550 text_section. Do the "stepping backwards" test for text_section 551 using unsigned operands. 552 5532008-06-13 Peter Bergner <bergner@vnet.ibm.com> 554 555 * config/tc-ppc.c (ppc_cpu): Use ppc_cpu_t typedef. 556 (ppc_insert_operand): Likewise. 557 (ppc_machine): Likewise. 558 * config/tc-ppc.h: #include "opcode/ppc.h" 559 (struct _ppc_fix_extra <ppc_cpu>): Use ppc_cpu_t typedef. 560 (ppc_cpu): Update extern decl. 561 5622008-06-12 Adam Nemet <anemet@caviumnetworks.com> 563 564 * config/tc-mips.c (validate_mips_insn): Handle field descriptors 565 +x, +X, +p, +P, +s, +S. 566 (mips_ip): Likewise. 567 568 * config/tc-mips.c (validate_mips_insn): Handle field descriptor +Q. 569 (mips_ip): Likewise. 570 (macro_build): Likewise. 571 (CPU_HAS_SEQ): New macro. 572 (macro2) <M_SEQ_I, M_SNE_I>: Use it. Emit seq/sne and seqi/snei. 573 5742008-06-09 Eric B. Weddington <eric.weddington@atmel.com> 575 576 * config/tc-avr.c (mcu_types): Remove support for ATmega32HVB device. 577 * doc/c-avr.texi: Likewise. 578 5792008-06-04 Nick Clifton <nickc@redhat.com> 580 581 * app.c (do_scrub_chars): Do not UNGET an EOF value. 582 5832008-06-03 H.J. Lu <hongjiu.lu@intel.com> 584 585 * config/tc-i386.c (set_sse_check): New. 586 (md_pseudo_table): Add "sse_check". 587 5882008-06-03 Paul Brook <paul@codesourcery.com> 589 590 * config/tc-arm.c (do_t_rbit): Populate both rm fields. 591 5922008-05-30 Nick Clifton <nickc@redhat.com> 593 594 PR 5523 595 * config/tc-avr.c (avr_ldi_expression): Do not warn about unknown 596 relocs here. 597 5982008-05-29 Maxim Kuvyrkov <maxim@codesourcery.com> 599 600 * config/tc-mips.c (mips_cpu_info_table): Move records for 601 ST Loongson-2E/2F processors to a better place. 602 6032008-05-23 H.J. Lu <hongjiu.lu@intel.com> 604 605 PR gas/6518 606 * config/tc-i386.c (match_template): Report ambiguous operand 607 size, not invalid suffix when there is no match in Intel 608 syntax. 609 6102008-05-22 Paul Brook <paul@codesourcery.com> 611 612 * config/tc-arm.c (parse_cond): Covert to lowercase before matching. 613 6142008-05-21 I-Jui Sung <ijsung@gmail.com> 615 616 * config/tc-arm.c (arm_cpus): Add Faraday ARMv4 and ARMv5TE 617 compatible cores: fa526, fa626, fa626te, fa726te. 618 * doc/c-arm.texi (ARM Opts): Add -mcpu={fa526, fa626, fa626te, 619 fa726te} options. 620 6212008-05-14 Alan Modra <amodra@bigpond.net.au> 622 623 * Makefile.am: Run "make dep-am". 624 * Makefile.in: Regenerate. 625 * doc/Makefile.in: Regenerate. 626 * po/POTFILES.in: Regenerate. 627 6282008-05-09 Catherine Moore <clm@codesourcery.com> 629 630 * config/tc-mips.c (mips_frob_file): Don't match MIPS16 relocs 631 with non-MIPS16 relocs. 632 6332008-05-09 Chao-ying Fu <fu@mips.com> 634 635 * config/tc-mips.c (md_begin): Use strncmp to compare TARGET_OS, in 636 case that some characters append at the end of the name. 637 (mips_ip): Likewise. 638 (s_change_sec): Likewise. 639 (md_section_align): Likewise. 640 6412008-05-07 Bob Wilson <bob.wilson@acm.org> 642 643 * config/tc-xtensa.c (xtensa_create_property_segments): Use 644 xtensa_make_property_section instead of xtensa_get_property_section. 645 (xtensa_create_xproperty_segments): Likewise. 646 6472008-05-02 H.J. Lu <hongjiu.lu@intel.com> 648 649 * NEWS: Mention XSAVE, EPT and MOVBE. 650 651 * config/tc-i386.c (cpu_arch): Add .movbe and .ept. 652 (md_show_usage): Add .movbe and .ept. 653 654 * doc/c-i386.texi: Add movbe and ept to -march=. Document 655 .movbe and .ept. 656 6572008-04-29 David S. Miller <davem@davemloft.net> 658 659 * config/tc-sparc.c (v9a_asr_table): Fix order of softint entries. 660 6612008-04-28 Adam Nemet <anemet@caviumnetworks.com> 662 663 * config/tc-mips.c (file_mips_soft_float, file_mips_single_float): 664 New statics. 665 (OPTION_ELF_BASE): Make room for new option macros. 666 (OPTION_SOFT_FLOAT, OPTION_HARD_FLOAT, OPTION_SINGLE_FLOAT, 667 OPTION_DOUBLE_FLOAT): New option macros. 668 (md_longopts): Add msoft-float, mhard-float, msingle-float and 669 mdouble-float. 670 (md_parse_option): Handle OPTION_SINGLE_FLOAT, 671 OPTION_DOUBLE_FLOAT, OPTION_SOFT_FLOAT and OPTION_HARD_FLOAT. 672 (md_show_usage): Add -msoft-float, -mhard-float, -msingle-float 673 and -mdouble-float. 674 (struct mips_set_options): New fields soft_float and single_float. 675 (mips_opts): Initialized them. Add comment for each field 676 initializer. 677 (mips_after_parse_args): Set them based on file_mips_soft_float 678 and file_mips_single_float. 679 (s_mipsset): Add support for `.set softfloat', `.set hardfloat', 680 `.set singlefloat' and `.set doublefloat'. 681 (is_opcode_valid): New function to invoke OPCODE_IS_MEMBER. 682 Handle single-float and soft-float instructions here. 683 (macro_build, mips_ip): Use it instead of OPCODE_IS_MEMBER. 684 (is_opcode_valid_16): New function. 685 (mips16_ip): Use it instead of OPCODE_IS_MEMBER. 686 (macro) <M_LDC1_AB, M_SDC1_AB, M_L_DOB, M_L_DAB, M_S_DAB, 687 M_S_DOB>: Remove special-casing of r4650. 688 * doc/c-mips.texi (-march=): Add Octeon. 689 (MIPS Opts): Document -msoft-float and -mhard-float. Document 690 -msingle-float and -mdouble-float. 691 (MIPS floating-point): New section. Document `.set softfloat' and 692 `.set hardfloat'. Document `.set singlefloat' and `.set 693 doublefloat'. 694 6952008-04-25 David S. Miller <davem@davemloft.net> 696 697 * config/tc-sparc.c: Accept 'softint_clear' and 'softint_set' 698 %asr aliases. 699 700 * doc/c-sparc.texi: Consistently refer to architecture 'versions', 701 rather than occaisionally 'levels'. Consistently refer to Sun's 702 UNIX variant as SunOS, every version of Solaris is also SunOS. 703 Document new 'softint_clear' and 'softint_set' aliases. Clarify 704 which architecture versions support '%dcr', '%cq', and '%gl'. Add 705 section on 32-bit/64-bit opcode translations. 706 7072008-04-23 Mike Frysinger <vapier@gentoo.org> 708 709 * Makefile.am (OBJ_FORMAT_CFILES): Add config/obj-fdpicelf.c. 710 (OBJ_FORMAT_HFILES): Add config/obj-fdpicelf.h. 711 (obj-fdpicelf.o): Define. 712 * Makefile.in: Regenerate. 713 * configure.tgt: Set bfd_gas to yes when fmt is fdpicelf. 714 (bfin-*-*): Delete. 715 (bfin-*-linux-uclibc): New; set fmt to fdpicelf and em to linux. 716 (bfin-*-uclinux*): New; set fmt to elf and em to linux. 717 * config/obj-fdpicelf.c: New. 718 * config/obj-fdpicelf.h: Likewise. 719 * config/tc-bfin.c (bfin_flags, bfin_pic_flag): Set default based on 720 the OBJ_FDPIC_ELF define. 721 (OPTION_NOPIC): Define. 722 (md_longopts): Add mnopic and mno-fdpic. 723 (md_parse_option): Handle OPTION_NOPIC. 724 7252008-04-23 Paolo Bonzini <bonzini@gnu.org> 726 727 * aclocal.m4: Regenerate. 728 * configure: Regenerate. 729 7302008-04-23 David S. Miller <davem@davemloft.net> 731 732 * config/tc-sparc.c (v9a_asr_table): Add missing 733 'stick' and 'stick_cmpr', and document ordering rules 734 of table. 735 (tc_gen_reloc): Accept BFD_RELOC_SPARC_PC22 and 736 BFD_RELOC_SPARC_PC10. 737 * doc/c-sparc.texi: New section on Sparc constants. 738 Add documentation for %stick and %stick_cmpr. 739 7402008-04-22 David S. Miller <davem@davemloft.net> 741 742 * config/obj-elf.c (obj_elf_section_type): Add prototype 743 before obj_elf_section_word and add 'warn' arg. 744 (obj_elf_section_word): Add type pointer arg, and if no #SECTION 745 is matched, try checking for #SECTION_TYPE. 746 (obj_elf_section): Adjust for new args. 747 (obj_elf_type_name): New function. 748 (obj_elf_type): Call it, and accept STT_foo number strings 749 in .type statements as output by SunPRO compiler. 750 7512008-04-22 H.J. Lu <hongjiu.lu@intel.com> 752 753 * config/tc-i386.c (md_assemble): Don't check SSE instructions 754 if noavx is 0. 755 7562008-04-18 David S. Miller <davem@davemloft.net> 757 758 * doc/c-sparc.texi: Add syntax section. 759 7602008-04-18 H.J. Lu <hongjiu.lu@intel.com> 761 762 * config/tc-i386.c (build_modrm_byte): Don't check FMA to swap 763 REG and NDS for instructions with immediate operand. 764 7652008-04-18 H.J. Lu <hongjiu.lu@intel.com> 766 767 * config/tc-i386.c (build_modrm_byte): Swap REG and NDS for 768 FMA. 769 7702008-04-16 David S. Miller <davem@davemloft.net> 771 772 * config/tc-sparc.c (sparc_ip): Add support for gotdata mnemonics 773 and relocation generation. 774 (tc_gen_reloc): Likewise. 775 7762008-04-15 Andrew Stubbs <andrew.stubbs@st.com> 777 778 * config/tc-sh.c (md_apply_fix): Make sure BFD_RELOC_SH_PCRELIMM8BY4 779 relocations are properly aligned, and not negative. 780 7812008-04-15 Khem Raj <kraj@mvista.com> 782 783 * doc/tc-arm.texi: Fix fnstart and fnend directive names. 784 7852008-04-14 Edmar Wienskoski <edmar@freescale.com> 786 787 * config/tc-ppc.c (parse_cpu): Handle "e500mc". Extend "e500" to 788 accept e500mc instructions. 789 (md_show_usage): Document -me500mc. 790 7912008-04-11 Nick Clifton <nickc@redhat.com> 792 793 * listing.c (print_timestamp): Use localtime rather than 794 localtime_r since not all build environments provide the latter. 795 7962008-04-10 H.J. Lu <hongjiu.lu@intel.com> 797 798 * NEWS: Mention -msse-check=[none|error|warning]. 799 800 * config/tc-i386.c (sse_check): New. 801 (OPTION_MSSE_CHECK): Likewise. 802 (md_assemble): Check SSE instructions if needed. 803 (md_longopts): Add -msse-check. 804 (md_parse_option): Handle OPTION_MSSE_CHECK. 805 (md_show_usage): Show -msse-check=[none|error|warning]. 806 807 * doc/c-i386.texi: Document -msse-check=[none|error|warning]. 808 8092008-04-10 Santiago Urue�a <suruena@gmail.com> 810 811 * listing.c: Add -ag listing flag to show general information in 812 listings such as gas version, passed options, and time stamp. 813 (listing_general_info): New function. 814 (print_options): New function. 815 (print_single_option): New function. 816 (print_timestamp): New function. 817 (MAX_DATELEN): Define. 818 (listing_print): Add call to listing_general_info. 819 * listing.h (LISTING_GENERAL): Define. 820 (listing_print): Add new parameter. 821 * as.c (show_usage): Print new switch. 822 (parse_args): Parse new switch. 823 (main): Pass command line on to listing_print. 824 * NEWS: Mention this new feature. 825 * doc/as.texinfo: Document the new sub-option. 826 8272008-04-08 Alan Modra <amodra@bigpond.net.au> 828 829 * dwarf2dbg.c (dwarf2_emit_insn): Simplify test before dwarf2_where 830 call. Delete out of date comment. 831 (dwarf2_consume_line_info): Always clear dwarf2_loc_directive_seen. 832 (dwarf2_emit_label): Don't emit unless there has been a previous 833 .file or we are outputting assembler generated debug. 834 dwarf2_consume_line_info after emitting line info, not before. 835 (out_debug_info): Simplify files_in_use test. 836 8372008-04-07 H.J. Lu <hongjiu.lu@intel.com> 838 839 * config/tc-i386.c (parse_real_register): Return AVX register 840 only if AVX is enabled. 841 8422008-04-07 Kaz Kojima <kkojima@rr.iij4u.or.jp> 843 844 PR gas/6043 845 * config/tc-sh64.c (shmedia_md_pcrel_from_section): Use 846 md_pcrel_from_section for BFD_RELOC_64 and BFD_RELOC_64_PCREL. 847 8482008-04-04 Adrian Bunk <bunk@stusta.de> 849 Bob Wilson <bob.wilson@acm.org> 850 851 * config/tc-xtensa.c (xg_apply_fix_value): Check return code from 852 call to decode_reloc. 853 8542008-04-04 H.J. Lu <hongjiu.lu@intel.com> 855 856 * NEWS: Mention XSAVE. Change CLMUL to PCLMUL. 857 858 * config/tc-i386.c (cpu_arch): Add .pclmul. 859 (md_show_usage): Replace clmul with pclmul. 860 * doc/c-i386.texi: Likewise. 861 8622008-04-03 H.J. Lu <hongjiu.lu@intel.com> 863 864 * NEWS: Mention AES, CLMUL, AVX/FMA and -msse2avx. 865 866 * doc/c-i386.texi: Add avx, aes, clmul and fma to -march=. 867 Document -msse2avx, .avx, .aes, .clmul and .fma. 868 869 * config/tc-i386.c (YMMWORD_MNEM_SUFFIX): New. 870 (vex_prefix): Likewise. 871 (sse2avx): Likewise. 872 (CPU_FLAGS_ARCH_MATCH): Likewise. 873 (CPU_FLAGS_64BIT_MATCH): Likewise. 874 (CPU_FLAGS_32BIT_MATCH): Likewise. 875 (CPU_FLAGS_PERFECT_MATCH): Likewise. 876 (regymm): Likewise. 877 (vex_imm4): Likewise. 878 (fits_in_imm4): Likewise. 879 (build_vex_prefix): Likewise. 880 (VEX_check_operands): Likewise. 881 (bad_implicit_operand): Likewise. 882 (OPTION_MSSE2AVX): Likewise. 883 (T_YMMWORD): Likewise. 884 (_i386_insn): Add vex. 885 (cpu_arch): Add .avx, .aes, .clmul and .fma. 886 (cpu_flags_match): Changed to take a pointer to const template. 887 Enable encoding SSE instructions with VEX prefix for -msse2avx. 888 (match_mem_size): Also check ymmword. 889 (operand_type_match): Clear ymmword. 890 (md_begin): Allow '_' in mnemonic. 891 (type_names): Add OPERAND_TYPE_VEX_IMM4. 892 (process_immext): Update assert. 893 (md_assemble): Don't call process_immext if sse2avx and immext 894 are true. Call build_vex_prefix if vex is true. 895 (parse_insn): Updated for cpu_flags_match. 896 (swap_operands): Handle 5 operands. 897 (match_template): Handle 5 operands. Updated for cpu_flags_match. 898 Check regymm. Call VEX_check_operands. Handle YMMWORD_MNEM_SUFFIX. 899 (process_suffix): Handle YMMWORD_MNEM_SUFFIX. 900 (check_byte_reg): Check regymm. 901 (process_operands): Duplicate the destination register for 902 -msse2avx if needed. 903 (build_modrm_byte): Updated for instructions with VEX encoding. 904 (output_insn): Output VEX prefix if needed. 905 (md_longopts): Add msse2avx. 906 (md_parse_option): Handle OPTION_MSSE2AVX. 907 (md_show_usage): Add avx, aes, clmul, fma and -msse2avx. 908 (intel_e09): Support YMMWORD. 909 (intel_e11): Likewise. 910 (intel_get_token): Likewise. 911 9122008-03-28 Eric B. Weddington <eric.weddington@atmel.com> 913 914 * config/tc-avr.c (mcu_types): Add attiny167. 915 * doc/c-avr.texi: Likewise. 916 9172008-03-28 Eric B. Weddington <eric.weddington@atmel.com> 918 919 * config/tc-avr.c (mcu_types): Add atmega32u4. 920 * doc/c-avr.texi: Likewise. 921 9222008-03-28 Eric B. Weddington <eric.weddington@atmel.com> 923 924 * config/tc-avr.c (mcu_types): Add atmega32c1. 925 * doc/c-avr.texi: Likewise. 926 9272008-03-28 Paul Brook <paul@codesourcery.com> 928 929 * config/tc-arm.c (parse_neon_mov): Parse register before immediate 930 to avoid spurious symbols. 931 9322008-03-28 Nathan Sidwell <nathan@codesourcery.com> 933 934 * config/tc-m68k.c (md_convert_frag_1): Replace as_fatal with 935 as_bad_where. 936 9372008-03-27 Eric B. Weddington <eric.weddington@atmel.com> 938 939 * config/tc-avr.c (mcu_types): Add atmega32m1. 940 * doc/c-avr.texi: Likewise. 941 9422008-03-27 Ineiev <ineiev@yahoo.co.uk> 943 944 * config/tc-arm.c (do_neon_cvt): Move variable declarations to 945 start of block. 946 (do_neon_ext): Fix sign of comparison. 947 9482008-03-26 Bernd Schmidt <bernd.schmidt@analog.com> 949 950 From Jie Zhang <jie.zhang@analog.com> 951 * config/bfin-parse.y (asm_1): Check AREGS in comparison 952 instructions. And call yyerror when comparing PREG with 953 DREG. 954 (check_macfunc_option): New. 955 (check_macfuncs): Check option by calling check_macfunc_option. 956 Fix comparison always true warnings. Both scalar instructions 957 of vector instruction must share the same mode option. Only allow 958 option mode at the end of the second instruction of the vector. 959 (asm_1): Check option by calling check_macfunc_option. 960 961 * config/bfin-parse.y (check_macfunc_option): Allow (IU) 962 option for multiply and multiply-accumulate to data register 963 instruction. 964 (check_macfuncs): Don't check if accumulator matches the data register 965 here. 966 (assign_macfunc): Check if accumulator matches the 967 data register in each rule that moves to the data 968 register. 969 970 * config/tc-bfin.c (bfin_start_line_hook): Localize the labels 971 generated for LOOP_BEGIN and LOOP_END instructions. 972 (bfin_gen_loop): Likewise. 973 9742008-03-19 Andreas Krebbel <krebbel1@de.ibm.com> 975 976 * config/tc-s390.c (md_parse_option): z10 option added. 977 9782008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 979 980 * aclocal.m4: Regenerate. 981 * configure: Likewise. 982 * Makefile.in: Likewise. 983 * doc/Makefile.in: Likewise. 984 9852008-03-17 Adrian Bunk <bunk@stusta.de> 986 987 PR 5946 988 * config/tc-hppa.c (is_same_frag): Delete. 989 9902008-03-14 Sterling Augustine <sterling@tensilica.com> 991 992 * config/tc-xtensa.h (xtensa_relax_statesE): Update comment for 993 RELAX_LOOP_END_ADD_NOP. 994 9952008-03-13 Evandro Menezes <evandro@yahoo.com> 996 997 PR gas/5895 998 * read.c (s_mexit): Warn if attempting to exit a macro when not 999 inside a macro definition. 1000 10012008-03-13 Alan Modra <amodra@bigpond.net.au> 1002 1003 * Makefile.am: Run "make dep-am". 1004 * Makefile.in: Regenerate. 1005 * configure: Regenerate. 1006 10072008-03-09 Paul Brook <paul@codesourcery.com> 1008 1009 * config/tc-arm.c (arm_cpu_option_table): Add cortex-a9. 1010 * doc/c-arm.texi: Add cortex-a9. 1011 10122008-03-09 Paul Brook <paul@codesourcery.com> 1013 1014 * config/tc-arm.c (fpu_vfp_ext_d32): New vairable. 1015 (parse_vfp_reg_list, encode_arm_vfp_reg): Use it. 1016 (arm_option_cpu_value): Add vfpv3-d16, vfpv2 and vfpv3. 1017 (aeabi_set_public_attributes): Handle Tag_VFP_arch=VFPV3-D16. 1018 * doc/c-arm.texi: Document new ARM FPU variants. 1019 10202008-03-07 Paul Brook <paul@codesourcery.com> 1021 1022 * config/tc-arm.c (md_apply_fix): Use correct offset range. 1023 10242008-03-07 Alan Modra <amodra@bigpond.net.au> 1025 1026 * config/tc-ppc.c (ppc_setup_opcodes): Tidy. Add code to test 1027 for strict ordering of powerpc_opcodes, but disable for now. 1028 10292008-03-04 Paul Brook <paul@codesourcery.com> 1030 1031 * config/tc-arm.c (arm_ext_barrier, arm_ext_msr): New. 1032 (arm_ext_v7m): Rename... 1033 (arm_ext_m): ... to this. Include v6-M. 1034 (do_t_add_sub): Allow narrow low-reg non flag setting adds. 1035 (do_t_mrs, do_t_msr, aeabi_set_public_attributes): Use arm_ext_m. 1036 (md_assemble): Allow wide msr instructions. 1037 (insns): Add classifications for v6-m instructions. 1038 (arm_cpu_option_table): Add cortex-m1. 1039 (arm_arch_option_table): Add armv6-m. 1040 (cpu_arch): Add ARM_ARCH_V6M. Fix numbering of other v6 variants. 1041 10422008-03-03 Sterling Augustine <sterling@tensilica.com> 1043 Bob Wilson <bob.wilson@acm.org> 1044 1045 * config/tc-xtensa.c (xtensa_num_pipe_stages): New. 1046 (md_begin): Initialize it. 1047 (resources_conflict): Use it. 1048 10492008-03-03 Sterling Augustine <sterling@tensilica.com> 1050 1051 * config/tc-xtensa.h (RELAX_XTENSA_NONE): New. 1052 10532008-03-03 Denys Vlasenko <vda.linux@googlemail.com> 1054 H.J. Lu <hongjiu.lu@intel.com> 1055 1056 PR gas/5543 1057 * read.c (pseudo_set): Don't allow global register symbol. 1058 1059 * symbols.c (S_SET_EXTERNAL): Don't allow register symbol 1060 global. 1061 10622008-03-03 H.J. Lu <hongjiu.lu@intel.com> 1063 1064 PR gas/5543 1065 * write.c (write_object_file): Don't allow symbols which were 1066 equated to register. Stop if there is an error. 1067 10682008-03-01 Alan Modra <amodra@bigpond.net.au> 1069 1070 * config/tc-ppc.h (struct _ppc_fix_extra): New. 1071 (ppc_cpu): Declare. 1072 (TC_FIX_TYPE, TC_INIT_FIX_DATA): Define. 1073 * config/tc-ppc.c (ppu_cpu): Make global. 1074 (ppc_insert_operand): Add ppu_cpu parameter. 1075 (md_assemble): Adjust for above change. 1076 (md_apply_fix): Pass tc_fix_data.ppc_cpu to ppc_insert_operand. 1077 10782008-02-22 Nick Clifton <nickc@redhat.com> 1079 1080 * config/tc-arm.c (do_bx): Only test EF_ARM_EABI_VERSION on ELF 1081 targeted ARM ports, otherwise just skip generating the reloc. 1082 10832008-02-18 H.J. Lu <hongjiu.lu@intel.com> 1084 1085 * doc/c-i386.texi: Update -march= and .arch. 1086 10872008-02-18 Nick Clifton <nickc@redhat.com> 1088 1089 * config/tc-mn10300.c (has_known_symbol_location): New function. 1090 Do not regard weak symbols as having a known location. 1091 (md_estimate_size_before_relax): Use new function. 1092 (md_pcrel_from): Do not compute a pcrel against a weak symbol. 1093 10942008-02-18 Jan Beulich <jbeulich@novell.com> 1095 1096 * config/tc-i386.c (match_template): Disallow 'l' suffix when 1097 currently selected CPU has no 32-bit support. 1098 (parse_real_register): Do not return registers not available on 1099 currently selected CPU. 1100 11012008-02-16 H.J. Lu <hongjiu.lu@intel.com> 1102 1103 * config/tc-i386.c (process_immext): Fix format. 1104 11052008-02-16 H.J. Lu <hongjiu.lu@intel.com> 1106 1107 * config/tc-i386.c (inoutportreg): New. 1108 (process_immext): New. 1109 (md_assemble): Use it. 1110 (update_imm): Use imm16 and imm32s. 1111 (i386_att_operand): Use inoutportreg. 1112 11132008-02-14 H.J. Lu <hongjiu.lu@intel.com> 1114 1115 * config/tc-i386.c (operand_type_all_zero): New. 1116 (operand_type_set): Likewise. 1117 (operand_type_equal): Likewise. 1118 (cpu_flags_all_zero): Likewise. 1119 (cpu_flags_set): Likewise. 1120 (cpu_flags_equal): Likewise. 1121 (UINTS_ALL_ZERO): Removed. 1122 (UINTS_SET): Likewise. 1123 (UINTS_CLEAR): Likewise. 1124 (UINTS_EQUAL): Likewise. 1125 (cpu_flags_match): Updated. 1126 (smallest_imm_type): Likewise. 1127 (set_cpu_arch): Likewise. 1128 (md_assemble): Likewise. 1129 (optimize_imm): Likewise. 1130 (match_template): Likewise. 1131 (process_suffix): Likewise. 1132 (update_imm): Likewise. 1133 (process_drex): Likewise. 1134 (process_operands): Likewise. 1135 (build_modrm_byte): Likewise. 1136 (i386_immediate): Likewise. 1137 (i386_displacement): Likewise. 1138 (i386_att_operand): Likewise. 1139 (parse_real_register): Likewise. 1140 (md_parse_option): Likewise. 1141 (i386_target_format): Likewise. 1142 11432008-02-14 Dimitry Andric <dimitry@andric.com> 1144 1145 PR gas/5712 1146 * config/tc-arm.c (s_arm_unwind_save): Advance the input line 1147 pointer past the comma after parsing a floating point register 1148 name. 1149 11502008-02-14 Hakan Ardo <hakan@debian.org> 1151 1152 PR gas/2626 1153 * config/tc-avr.c (mcu_types): Change the ISA tyoe of the attiny26 1154 to AVR_ISA_2xxe. 1155 (avr_operand): Disallow post-increment addressing in the lpm 1156 instruction for the attiny26. 1157 11582008-02-13 Jan Beulich <jbeulich@novell.com> 1159 1160 * config/tc-i386.c (parse_real_register): Don't return 'FLAT' 1161 if not in Intel mode. 1162 (i386_intel_operand): Ignore segment overrides in immediate and 1163 offset operands. 1164 (intel_e11): Range-check i.mem_operands before use as array 1165 index. Filter out FLAT for uses other than as segment override. 1166 (intel_get_token): Remove broken promotion of "FLAT:" to mean 1167 "offset FLAT:". 1168 11692008-02-13 Jan Beulich <jbeulich@novell.com> 1170 1171 * config/tc-i386.c (intel_e09): Also special-case 'bound'. 1172 11732008-02-13 Jan Beulich <jbeulich@novell.com> 1174 1175 * config/tc-i386.c (allow_pseudo_reg): New. 1176 (parse_real_register): Check for NULL just once. Allow all 1177 register table entries when allow_pseudo_reg is non-zero. 1178 Don't allow any registers without type when allow_pseudo_reg 1179 is zero. 1180 (tc_x86_regname_to_dw2regnum): Replace with ... 1181 (tc_x86_parse_to_dw2regnum): ... this. 1182 (tc_x86_frame_initial_instructions): Adjust for above change. 1183 * config/tc-i386.h (tc_regname_to_dw2regnum): Remove. 1184 (tc_parse_to_dw2regnum): New. 1185 (tc_x86_regname_to_dw2regnum): Replace with ... 1186 (tc_x86_parse_to_dw2regnum): ... this. 1187 * dw2gencfi.c (tc_parse_to_dw2regnum): New, broken out of ... 1188 (cfi_parse_reg): ... this. Use tc_parse_to_dw2regnum. Adjust 1189 error handling. 1190 11912008-02-12 Nick Clifton <nickc@redhat.com> 1192 1193 * config/tc-tic4x.c (tic4x_insn_insert): Add const qualifier to 1194 argument. 1195 (tic4x_insn_add): Likewise. 1196 (md_begin): Drop cast that was discarding a const qualifier. 1197 * config/tc-d30v.c (get_reloc): Add const qualifier to op 1198 argument. 1199 (build_insn): Drop cast that was discarding a const qualifier. 1200 12012008-02-11 H.J. Lu <hongjiu.lu@intel.com> 1202 1203 * config/tc-i386.c (cpu_arch): Add .xsave. 1204 (md_show_usage): Add .xsave. 1205 1206 * doc/c-i386.texi: Add xsave to -march=. 1207 12082008-02-07 Alan Modra <amodra@bigpond.net.au> 1209 1210 * read.c (s_weakref): Don't pass unadorned NULL to concat. 1211 * config/tc-i386.c (set_cpu_arch, md_parse_option): Likewise. 1212 12132008-02-05 Sterling Augustine <sterling@tensilica.com> 1214 1215 * config/tc-xtensa.c (relax_frag_immed): Change internal consistency 1216 checks into assertions. When relaxation produces an operation that 1217 does not fit in the current FLIX instruction, make sure that the 1218 operation is relaxed as needed to account for being placed following 1219 the current instruction. 1220 12212008-02-04 H.J. Lu <hongjiu.lu@intel.com> 1222 1223 PR 5715 1224 * configure: Regenerated. 1225 12262008-02-04 Adam Nemet <anemet@caviumnetworks.com> 1227 1228 * config/tc-mips.c (mips_cpu_info_table): Add Octeon. 1229 12302008-01-31 Marc Gauthier <marc@tensilica.com> 1231 1232 * configure.tgt (xtensa*-*-*): Recognize processor variants. 1233 12342008-01-25 Kai Tietz <kai.tietz@onevision.com> 1235 1236 * read.c: (emit_expr): Correct for mingw use of printf size 1237 specifier. 1238 12392008-01-24 Bob Wilson <bob.wilson@acm.org> 1240 1241 * doc/c-xtensa.texi (Xtensa Syntax): Clarify handling of opcodes that 1242 can only be encoded in FLIX instructions but are not specified as such. 1243 (Xtensa Automatic Alignment): Remove obsolete comment about debugging 1244 labels. 1245 12462008-01-24 H.J. Lu <hongjiu.lu@intel.com> 1247 1248 * NEWS: Mention new command line options for x86 targets. 1249 12502008-01-23 H.J. Lu <hongjiu.lu@intel.com> 1251 1252 * config/tc-i386.c (md_show_usage): Replace tabs with spaces. 1253 12542008-01-23 Eric B. Weddington <eric.weddington@atmel.com> 1255 1256 * config/tc-avr.c (mcu_types): Change opcode set for at86rf401. 1257 12582008-01-23 H.J. Lu <hongjiu.lu@intel.com> 1259 1260 * config/tc-i386.c (md_show_usage): Show more processors for 1261 -march=/-mtune=. 1262 12632008-01-22 H.J. Lu <hongjiu.lu@intel.com> 1264 1265 * config/tc-i386.c (i386_target_format): Remove cpummx2. 1266 12672008-01-22 H.J. Lu <hongjiu.lu@intel.com> 1268 1269 * config/tc-i386.c (XXX_PREFIX): Moved from tc-i386.h. 1270 (XXX_MNEM_SUFFIX): Likewise. 1271 (END_OF_INSN): Likewise. 1272 (templates): Likewise. 1273 (modrm_byte): Likewise. 1274 (rex_byte): Likewise. 1275 (DREX_XXX): Likewise. 1276 (drex_byte): Likewise. 1277 (sib_byte): Likewise. 1278 (processor_type): Likewise. 1279 (arch_entry): Likewise. 1280 (cpu_sub_arch_name): Remove const. 1281 (cpu_arch): Add .vmx and .smx. 1282 (set_cpu_arch): Append cpu_sub_arch_name. 1283 (md_parse_option): Support -march=CPU[,+EXTENSION...]. 1284 (md_show_usage): Updated. 1285 1286 * config/tc-i386.h (XXX_PREFIX): Moved to tc-i386.c. 1287 (XXX_MNEM_SUFFIX): Likewise. 1288 (END_OF_INSN): Likewise. 1289 (templates): Likewise. 1290 (modrm_byte): Likewise. 1291 (rex_byte): Likewise. 1292 (DREX_XXX): Likewise. 1293 (drex_byte): Likewise. 1294 (sib_byte): Likewise. 1295 (processor_type): Likewise. 1296 (arch_entry): Likewise. 1297 1298 * doc/as.texinfo: Update i386 -march option. 1299 1300 * doc/c-i386.texi: Update -march= for ISA. 1301 13022008-01-18 Bob Wilson <bob.wilson@acm.org> 1303 1304 * config/tc-xtensa.c (xtensa_leb128): New function. 1305 (md_pseudo_table): Use it for sleb128 and uleb128. 1306 (is_leb128_expr): New internal flag. 1307 (xtensa_symbol_new_hook): Check new flag. 1308 13092008-01-16 Eric B. Weddington <eric.weddington@atmel.com> 1310 1311 * config/tc-avr.c (mcu_types): Change opcode set for avr3, 1312 at90usb82, at90usb162. 1313 * doc/c-avr.texi: Change architecture grouping for at90usb82, 1314 at90usb162. 1315 These changes support the new avr35 architecture group in gcc. 1316 13172008-01-15 H.J. Lu <hongjiu.lu@intel.com> 1318 1319 * config/tc-i386.c (md_assemble): Also zap movzx and movsx 1320 suffix for AT&T syntax. 1321 13222008-01-14 H.J. Lu <hongjiu.lu@intel.com> 1323 1324 * config/tc-i386.c (match_reg_size): New. 1325 (match_mem_size): Likewise. 1326 (operand_size_match): Likewise. 1327 (operand_type_match): Also clear all size fields. 1328 (match_template): Skip Intel syntax when in AT&T syntax. 1329 Call operand_size_match to check operand size. 1330 (i386_att_operand): Set the mem field to 1 for memory 1331 operand. 1332 (i386_intel_operand): Likewise. 1333 13342008-01-12 H.J. Lu <hongjiu.lu@intel.com> 1335 1336 PR gas/5534 1337 * config/tc-i386.c (_i386_insn): Update comment. 1338 (operand_type_match): Also clear unspecified. 1339 (operand_type_register_match): Likewise. 1340 (parse_operands): Initialize unspecified. 1341 (i386_intel_operand): Likewise. 1342 (match_template): Check memory and accumulator operand size. 1343 (i386_att_operand): Clear unspecified on register operand. 1344 (intel_e11): Likewise. 1345 (intel_e09): Set operand size and clean unspecified for 1346 "XXX PTR". 1347 13482008-01-11 Andreas Schwab <schwab@suse.de> 1349 1350 * read.c (s_space): Declare `repeat' as offsetT. 1351 13522008-01-10 H.J. Lu <hongjiu.lu@intel.com> 1353 1354 * config/tc-i386.c (match_template): Check processor support 1355 first. 1356 13572008-01-10 H.J. Lu <hongjiu.lu@intel.com> 1358 1359 * config/tc-i386.c (match_template): Continue if processor 1360 doesn't match. 1361 13622008-01-09 Alexandre Oliva <aoliva@redhat.com> 1363 1364 * config/tc-ia64.c (ia64_convert_frag): Zero-initialize room for 1365 unwind personality function address. 1366 13672008-01-09 Bob Wilson <bob.wilson@acm.org> 1368 1369 * dwarf2dbg.c (out_sleb128): Delete. 1370 (size_fixed_inc_line_addr, emit_fixed_inc_line_addr): New. 1371 (out_fixed_inc_line_addr): Delete. 1372 (relax_inc_line_addr, dwarf2dbg_estimate_size_before_relax): Call new 1373 size_fixed_inc_line_addr if DWARF2_USE_FIXED_ADVANCE_PC is set. 1374 (dwarf2dbg_convert_frag): Likewise for emit_fixed_inc_line_addr. 1375 (process_entries): Remove calls to out_fixed_inc_line_addr. When 1376 DWARF2_USE_FIXED_ADVANCE_PC is set, call relax_inc_line_addr. 1377 * read.h (emit_expr_fix): New prototype. 1378 * read.c (emit_expr): Move code to emit_expr_fix and use it here. 1379 (emit_expr_fix): New. 1380 13812008-01-09 H.J. Lu <hongjiu.lu@intel.com> 1382 1383 * config/tc-i386.c (match_template): Check register size 1384 only when size of operands can be encoded the canonical way. 1385 13862008-01-08 H.J. Lu <hongjiu.lu@intel.com> 1387 1388 * config/tc-i386.c (i386_operand): Renamed to ... 1389 (i386_att_operand): This. 1390 (parse_operands): Updated. 1391 13922008-01-05 H.J. Lu <hongjiu.lu@intel.com> 1393 1394 * doc/c-i386.texi: Update .att_mnemonic and .intel_mnemonic. 1395 1396 * config/tc-i386.c (set_intel_mnemonic): Set intel_mnemonic 1397 only. 1398 (md_assemble): Remove Intel mode workaround. 1399 (match_template): Check support for old gcc, AT&T mnemonic 1400 and Intel Syntax. 1401 (md_parse_option): Don't set intel_mnemonic to 0 for 1402 OPTION_MOLD_GCC. 1403 14042008-01-04 H.J. Lu <hongjiu.lu@intel.com> 1405 1406 * config/tc-i386.h: Update copyright to 2008. 1407 14082008-01-04 Nick Clifton <nickc@redhat.com> 1409 1410 * config/tc-ppc.c (parse_cpu): Preserve the settings of the 1411 PPC_OPCODE_ALTIVEC and PPC_OPCODE_SPE flags. 1412 14132008-01-03 H.J. Lu <hongjiu.lu@intel.com> 1414 1415 * config/tc-i386.c (md_assemble): Use !intel_mnemonic instead 1416 of SYSV386_COMPAT. 1417 14182008-01-03 H.J. Lu <hongjiu.lu@intel.com> 1419 1420 * gas/config/tc-i386.c (cpu_arch_flags_not): Removed. 1421 (cpu_flags_not): Likewise. 1422 (cpu_flags_match): Updated to check 64bit and arch. 1423 (set_code_flag): Remove cpu_arch_flags_not. 1424 (set_16bit_gcc_code_flag): Likewise. 1425 (set_cpu_arch): Likewise. 1426 (md_begin): Likewise. 1427 (parse_insn): Call cpu_flags_match to check 64bit and arch. 1428 (match_template): Likewise. 1429 14302008-01-03 Jakub Jelinek <jakub@redhat.com> 1431 1432 * config/tc-i386.c (process_drex): Initialize modrm_reg and 1433 modrm_regmem to 0 instead of None. 1434 14352008-01-03 H.J. Lu <hongjiu.lu@intel.com> 1436 1437 * config/tc-i386.c (match_template): Use the xmmword field 1438 instead of no_xsuf. 1439 14402008-01-02 H.J. Lu <hongjiu.lu@intel.com> 1441 1442 * config/tc-i386.c (process_suffix): Fix a typo. 1443 14442008-01-02 H.J. Lu <hongjiu.lu@intel.com> 1445 1446 PR gas/5534 1447 * config/tc-i386.c (match_template): Handle XMMWORD_MNEM_SUFFIX. 1448 Check memory size in Intel mode. 1449 (process_suffix): Handle XMMWORD_MNEM_SUFFIX. 1450 (intel_e09): Likewise. 1451 1452 * config/tc-i386.h (XMMWORD_MNEM_SUFFIX): New. 1453 14542008-01-02 Catherine Moore <clm@codesourcery.com> 1455 1456 * config/tc-mips.c (mips_ip): Check operands on jalr instruction. 1457 1458For older changes see ChangeLog-2007 1459 1460Local Variables: 1461mode: change-log 1462left-margin: 8 1463fill-column: 74 1464version-control: never 1465End: 1466