12009-04-01 Nick Clifton <nickc@redhat.com> 2 3 * Import this patch: 4 5 2008-11-14 Peter Jansen <pwjansen@yahoo.com> 6 7 PR 7026 8 * config/tc-arm.c: Ensure that all uses of as_bad have a 9 formatting string. 10 112009-03-04 Alan Modra <amodra@bigpond.net.au> 12 13 * config/tc-ppc.c (md_assemble): APUinfo only for e500. 14 152009-03-02 Alan Modra <amodra@bigpond.net.au> 16 17 2009-02-26 Peter Bergner <bergner@vnet.ibm.com> 18 * config/tc-ppc.c (pre_defined_registers): Add "f32" to "f63", 19 "f.32" to "f.63", "vs0" to "vs63" and "vs.0" to "vs.63". 20 (parse_cpu): Extend -mpower7 to accept power7 and isel instructions. 21 22 2009-01-09 Peter Bergner <bergner@vnet.ibm.com> 23 * config/tc-ppc.c (ppc_setup_opcodes): Remove PPC_OPCODE_NOPOWER4 test. 24 Test the new "deprecated" opcode field. 25 26 2008-12-04 Ben Elliston <bje@au.ibm.com> 27 * config/tc-ppc.c (parse_cpu): Remove booke64 support. Update 28 usage strings. 29 (ppc_setup_opcodes): Likewise, remove booke64 support. 30 * doc/c-ppc.texi (PowerPC-Opts): Remove -mbooke32 and -mbooke64. 31 * doc/as.texinfo (Overview): Likewise. 32 33 2008-09-09 Peter Bergner <bergner@vnet.ibm.com> 34 * config/tc-ppc.c (ppc_setup_opcodes): Simplify POWER4/NOPOWER4 test. 35 Remove POWER5 and POWER6 tests. 36 372009-01-14 Jakub Jelinek <jakub@redhat.com> 38 39 * Makefile.am (ehopt.o): Add struc-symbol.h. 40 * Makefile.in: Regenerated. 41 * ehopt.c: Include struc-symbol.h. 42 (check_eh_frame): For very small O_constant DW_CFA_advance_loc4 43 create correct DW_CFA_advance_loc. Handle O_subtract only 44 for code alignment factor 1, otherwise handle O_divide or 45 O_right_shift of O_subtract and O_constant. 46 (eh_frame_estimate_size_before_relax): Always divide by ca. 47 (eh_frame_convert_frag): Likewise. 48 492009-01-14 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> 50 51 * dw2gencfi.c (output_cfi_insn): Scale DW_CFA_advance_loc1, 52 DW_CFA_advance_loc2 and DW_CFA_advance_loc4 outputs. 53 542009-01-08 Adam Nemet <anemet@caviumnetworks.com> 55 56 * config/tc-mips.c (NO_ISA_COP): New macro. 57 (COP_INSN): New macro. 58 (is_opcode_valid): Use them. 59 (macro) <ld_st>: Use them. Don't accept coprocessor load store 60 insns based on the ISA if CPU is NO_ISA_COP. 61 <copz>: Likewise for coprocessor operations. 62 632008-10-09 Eric Botcazou <ebotcazou@adacore.com> 64 65 * dw2gencfi.c (cfi_finish): Deal with md_fix_up_eh_frame. 66 * config/tc-i386.h (md_fix_up_eh_frame): Define on Solaris. 67 (i386_solaris_fix_up_eh_frame): Declare. 68 * config/tc-i386.c (i386_solaris_fix_up_eh_frame): New function. 69 702008-09-29 Nick Clifton <nickc@redhat.com> 71 72 PR 6878 73 * app.c (do_scrub_chars): Only issue warnings about tick 74 characters detected in symbol strings if hex ticks are supported. 75 762008-09-29 Nick Clifton <nickc@redhat.com> 77 78 * dw2gencfi.c (output_cfi_insn): Fix typo in invocation of 79 tc_cfi_emit_pcrel_expr macro. 80 812008-09-28 Daniel Jacobowitz <dan@codesourcery.com> 82 83 * NEWS: Mention .cfi_val_encoded_addr. 84 852008-09-26 Eric Botcazou <ebotcazou@adacore.com> 86 87 * Makefile.am (TARG_ENV_HFILES): Add config/te-solaris.h. 88 * Makefile.in (TARG_ENV_HFILES): Likewise. 89 * configure.tgt (Solaris targets): Set em=solaris. 90 * config/te-solaris.h: New file. 91 922008-09-25 Richard Henderson <rth@redhat.com> 93 94 * dw2gencfi.c (DWARF2_ADDR_SIZE): Provide default. 95 (struct cfi_insn_data): Add ea member. 96 (CFI_val_encoded_addr, dot_cfi_val_encoded_addr): New. 97 (output_cfi_insn): Handle CFI_val_encoded_addr. 98 (select_cie_for_fde): Don't match CFI_val_encoded_addr. 99 * doc/as.texinfo (.cfi_val_encoded_addr): Document. 100 1012008-09-25 Alan Modra <amodra@bigpond.net.au> 102 103 PR 6913 104 * listing.c (print_options): Don't call fprintf without format string. 105 1062008-09-19 Alan Modra <amodra@bigpond.net.au> 107 108 * write.c (md_register_arithmetic): Define. 109 (fixup_segment): Pass segment to TC_FORCE_RELOCATION_SUB_ABS, 110 TC_FORCE_RELOCATION_SUB_LOCAL, TC_VALIDATE_FIX_SUB invocations. 111 Modify error message when registers involved. 112 (TC_FORCE_RELOCATION_SUB_ABS): Heed md_register_arithmetic. 113 (TC_FORCE_RELOCATION_SUB_LOCAL, TC_VALIDATE_FIX_SUB): Likewise. 114 * config/tc-frv.h (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise. 115 * config/tc-hppa.h (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise. 116 * config/tc-mn10300.h (TC_VALIDATE_FIX_SUB): Likewise. 117 * config/tc-sh.h (TC_FORCE_RELOCATION_SUB_ABS): Likewise. 118 (TC_FORCE_RELOCATION_SUB_LOCAL, TC_VALIDATE_FIX_SUB): Likewise. 119 * config/tc-sh64.h (TC_VALIDATE_FIX_SUB): Likewise. 120 * config/tc-xtensa.h (TC_VALIDATE_FIX_SUB): Likewise. 121 * doc/internals.texi (TC_FORCE_RELOCATION_SUB_ABS, 122 TC_FORCE_RELOCATION_SUB_LOCAL, TC_VALIDATE_FIX_SUB): Show new param. 123 1242008-09-15 Alan Modra <amodra@bigpond.net.au> 125 126 * write.c (install_reloc): Correct EMIT_SECTION_SYMBOLS test. 127 1282008-09-15 Alan Modra <amodra@bigpond.net.au> 129 130 * config/tc-frv.c (md_apply_fix): Use abs_section_sym for 131 relocs with no symbol. 132 * config/tc-mmix.c (md_assemble): Mark fake symbol on 133 BFD_RELOC_MMIX_BASE_PLUS_OFFSET as OK for use by relocs. 134 (mmix_md_end): Likewise mark mmix reg contents section symbol. 135 1362008-09-09 Alan Modra <amodra@bigpond.net.au> 137 138 * Makefile.am: Run "make dep-am". 139 * Makefile.in: Regenerate. 140 * po/gas.pot: Regenerate. 141 1422008-09-08 Tristan Gingold <gingold@adacore.com> 143 144 * NEWS: Add a marker for the 2.19 features. 145 1462008-09-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> 147 148 * config/tc-hppa.h (DIFF_EXPR_OK): Define for SOM target. Revise 149 comment regarding use of difference expressions. 150 (TC_FORCE_RELOCATION_SUB_LOCAL): Define to 1. 151 152 * dw2gencfi.c (CFI_DIFF_EXPR_OK): Define if not defined. 153 (dot_cfi_personality): Use CFI_DIFF_EXPR_OK instead of DIFF_EXPR_OK. 154 (dot_cfi_lsda, output_cie, output_fde): Likewise. 155 * config/tc-hppa.h (CFI_DIFF_EXPR_OK): Define. 156 1572008-09-06 Richard Sandiford <rdsandiford@googlemail.com> 158 159 * config/tc-mips.h (DWARF2_FDE_RELOC_SIZE): Define. 160 1612008-09-03 Nick Clifton <nickc@redhat.com> 162 163 * config/tc-i386.c (pe_lcomm_internal): New function. Allows the 164 alignment field of the .lcomm directive to be optional. 165 (pe_lcomm): New function. Pass pe_lcomm_internal to 166 s_comm_internal. 167 (md_pseudo_table): Implement .lcomm directive for COFF based 168 targets. 169 * doc/c-i386.texi (i386-Directives): New node. Used to document 170 the .lcomm directive. 171 1722008-08-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> 173 174 * config/tc-hppa.h: Don't define DWARF2_EH_FRAME_READ_ONLY on Linux 175 and NetBSD. 176 1772008-08-29 Eric B. Weddington <eric.weddington@atmel.com> 178 179 * config/tc-avr.c (mcu_types): Add atmega16u4. 180 * doc/c-avr.texi: Likewise. 181 1822008-08-28 H.J. Lu <hongjiu.lu@intel.com> 183 184 * config/tc-ia64.c (CR_IIB0): New. 185 (CR_IIB1): Likewise. 186 (cr): Add cr.iib0 and cr.iib1. 187 (specify_resource): Handle IA64_RS_CR_IIB and CR_IIB0/CR_IIB1. 188 1892008-08-28 Jan Beulich <jbeulich@novell.com> 190 191 * config/tc-i386.c (md_assemble): Force number of displacement 192 operands to zero when processing string instruction. 193 (i386_index_check): Special-case string instruction operands. Don't 194 fudge address prefix if there already was a memory operand. Fix 195 error message to correctly reflect the addressing mode used. 196 (i386_att_operand): Fix comment. 197 (i386_intel_operand): Snapshot, clear, and restore base and index 198 reg for each operand processed. Increment count of memory operands 199 later. 200 2012008-08-27 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> 202 203 * config/tc-hppa.c (is_SB_relative): New macro. 204 (fix_new_hppa): Remove $segrel$ marker. 205 (cons_fix_new_hppa): Set reloc type R_PARISC_SEGREL32 if expression is 206 segment relative. 207 * config/tc-hppa.h (tc_frob_symbol): Check for $segrel$. 208 2092008-08-27 Jan Beulich <jbeulich@novell.com> 210 211 * config/tc-i386.c (check_string): Use register_prefix for error 212 message. 213 (process_operands): Likewise. 214 2152008-08-26 Mark Mitchell <mark@codesourcery.com> 216 217 * c-arm.texi: Add tutorial on ARM unwinding pseudo ops. 218 2192008-08-26 Jie Zhang <jie.zhang@analog.com> 220 221 * config/bfin-parse.y (check_macfunc_option): Fix instruction 222 mode checking. 223 (asm_1): Check mode for 16-bit multiply instructions. 224 2252008-08-24 Alan Modra <amodra@bigpond.net.au> 226 227 * configure.in: Update a number of obsolete autoconf macros. 228 * configure: Regenerate. 229 * aclocal.m4: Regenerate. 230 2312008-08-22 Nick Clifton <nickc@redhat.com> 232 233 * config/tc-mcore.c (md_assemble): Increase length of name array 234 to include terminating NUL. 235 2362008-08-22 Jie Zhang <jie.zhang@analog.com> 237 238 * config/bfin-lex.l (NUMBER): Protect special `.'. 239 2402008-08-22 Alan Modra <amodra@bigpond.net.au> 241 242 * symbols.c (symbol_clone): Ensure clones are not external. 243 2442008-08-22 Alan Modra <amodra@bigpond.net.au> 245 246 * config/tc-hppa.c (md_begin): Set BSF_KEEP for "dummy_symbol". 247 2482008-08-21 Richard Henderson <rth@redhat.com> 249 250 * dw2gencfi.c (DWARF2_FDE_RELOC_SIZE): New. 251 (output_cie, output_fde): Use it. 252 (DWARF2_EH_FRAME_READ_ONLY): New. 253 (cfi_finish): Use it. 254 255 * config/tc-hppa.h (DWARF2_FDE_RELOC_SIZE): Set to 8 for 64-bit. 256 (DWARF2_CIE_DATA_ALIGNMENT): Change sign. 257 (DWARF2_EH_FRAME_READ_ONLY): New. 258 * config/tc-hppa.c (tc_gen_reloc): Generate pc-relative relocations 259 from the results of DIFF_EXPR_OK manipulation. 260 2612008-08-21 Sterling Augustine <sterling@tensilica.com> 262 263 * config/xtensa-istack.h (MAX_INSN_ARGS): Increase to 64. 264 2652008-08-20 Bob Wilson <bob.wilson@acm.org> 266 267 * config/tc-xtensa.c (O_tlsfunc, O_tlsarg, O_tlscall): Define. 268 (O_tpoff, O_dtpoff): Define. 269 (suffix_relocs): Add entries for TLS suffixes. 270 (xtensa_elf_cons): Check for invalid use of TLS relocations. 271 (map_operator_to_reloc): Add is_literal parameter and use it to 272 control translating TLS instruction relocations to the corresponding 273 literal relocations. 274 (xg_valid_literal_expression): Allow TLS operators. 275 (xg_build_to_insn): Copy TLS operators from pseudo-instruction 276 operands to generated literals. 277 (xg_assemble_literal): Handle TLS operators. Update call to 278 map_operator_to_reloc. 279 (md_assemble): Handle CALLXn.TLS pseudo-instruction. 280 (md_apply_fix): Handle TLS relocations. 281 (emit_single_op): Handle TLS operators. 282 (convert_frag_immed): Update call to map_operator_to_reloc. 283 (vinsn_to_insnbuf): Emit relocations for TLS-related instructions. 284 * config/xtensa-istack.h (tinsn_struct): Add tls_reloc field. 285 * config/xtensa-relax.c (append_literal_op): Add src_op parameter 286 to initialize the op_data field of the BuildOp. 287 (build_transition): Use it here to record the source operand 288 corresponding to a generated literal. 289 * config/xtensa-relax.h (build_op): Comment op_data use for literals. 290 2912008-08-20 H.J. Lu <hongjiu.lu@intel.com> 292 293 AVX Programming Reference (August, 2008) 294 * config/tc-i386.c (CPU_FLAGS_AES_MATCH): New. 295 (CPU_FLAGS_AVX_MATCH): Likewise. 296 (CPU_FLAGS_32BIT_MATCH): Updated. 297 (cpu_flags_match): Likewise. 298 2992008-08-20 Alan Modra <amodra@bigpond.net.au> 300 301 PR 6848 302 * write.c (install_reloc): Check that reloc symbols have been 303 written. 304 (set_symtab): Mark symbols with BSF_KEEP. 305 3062008-08-18 H.J. Lu <hongjiu.lu@intel.com> 307 308 * config/tc-i386.c (i386_align_code): Fix a comment typo. 309 3102008-08-15 Alan Modra <amodra@bigpond.net.au> 311 312 PR 6526 313 * configure.in: Invoke AC_USE_SYSTEM_EXTENSIONS. 314 * Makefile.in: Regenerate. 315 * aclocal.m4: Regenerate. 316 * config.in: Regenerate. 317 * configure: Regenerate. 318 * doc/Makefile.in: Regenerate. 319 3202008-08-14 Alan Modra <amodra@bigpond.net.au> 321 322 * config/tc-tic4x.c (tic4x_operands_parse): Make static. 323 3242008-08-13 Ben Elliston <bje@au.ibm.com> 325 326 * doc/as.texinfo (Align): Document the PowerPC behaviour. 327 3282008-08-13 Alan Modra <amodra@bigpond.net.au> 329 330 * as.c, as.h, ecoff.c, hash.c, macro.c, symbols.c, config/obj-evax.c, 331 config/obj-som.c, config/tc-alpha.c, config/tc-arm.c, config/tc-bfin.c, 332 config/tc-bfin.h, config/tc-crx.c, config/tc-frv.c, config/tc-frv.h, 333 config/tc-hppa.h, config/tc-i386.c, config/tc-i860.c, config/tc-i960.h, 334 config/tc-ia64.c, config/tc-ia64.h, config/tc-m32c.c, config/tc-m32c.h, 335 config/tc-m68k.c, config/tc-maxq.c, config/tc-s390.c, config/tc-s390.h, 336 config/tc-sparc.c, config/tc-sparc.h, config/tc-spu.c, config/tc-spu.h, 337 config/tc-tic4x.c, config/tc-tic4x.h, config/tc-tic54x.c, 338 config/tc-tic54x.h, config/tc-vax.c, doc/internals.texi: Banish PARAMS 339 and PTR. Convert to ISO C. Delete unnecessary forward declarations. 340 3412008-08-12 Alan Modra <amodra@bigpond.net.au> 342 343 * config/tc-arm.c (s_unreq): Adjust hash_delete call. 344 * config/tc-ia64.c (dot_rot): Likewise. 345 3462008-08-11 Alan Modra <amodra@bigpond.net.au> 347 348 PR 6575 349 * hash.c: Expand PTR to void *. 350 (hash_delete): Add "freeme" parameter. Call obstack_free. 351 * hash.h: Expand PTR to void *. 352 (hash_delete): Update prototype. 353 * macro.c (macro_expand_body): hash_delete LOCALs from formal_hash. 354 * config/tc-tic54x.c (tic54x_remove_local_label): Update hash_delete 355 call. 356 (subsym_substitute): Likewise. 357 * doc/internals.texi (hash_delete): Update. 358 3592008-08-08 Anatoly Sokolov <aesok@post.ru> 360 361 * config/tc-avr.c (mcu_types): Add avr25, avr31, avr35, and avr51 362 architectures. Reorganize list to put mcu types in correct 363 architectures and to order list same as in GCC. Use new ISA 364 definitions in include/opcode/avr.h. 365 * doc/c-avr.texi: Add avr25, avr31, avr35, and avr51 architecture 366 descriptions. Reorganize descriptions to put mcu types in correct 367 architectures and to order lists same as in GCC. 368 3692008-08-08 Richard Sandiford <rdsandiford@googlemail.com> 370 Daniel Jacobowitz <dan@codesourcery.com> 371 372 * config/tc-mips.c (OPTION_CALL_NONPIC): New macro. 373 (OPTION_NON_SHARED, OPTION_XGOT, OPTION_MABI, OPTION_32) 374 (OPTION_N32, OPTION_64, OPTION_MDEBUG, OPTION_NO_MDEBUG) 375 (OPTION_PDR, OPTION_NO_PDR, OPTION_MVXWORKS_PIC): Bump by 1. 376 (md_longopts): Add -call_nonpic. 377 (md_parse_option): Handle OPTION_CALL_NONPIC. 378 (md_show_usage): Add -call_nonpic. 379 3802008-08-08 Sterling Augustine <sterling@tensilica.com> 381 382 * config/tc-xtensa.c (exclude_section_from_property_tables): New. 383 (xtensa_create_property_segments): Use it. 384 (xtensa_create_xproperty_segments): Likewise. 385 3862008-08-08 Alan Modra <amodra@bigpond.net.au> 387 388 * doc/internals.texi (DWARF2_FORMAT): Update for 2008-08-04 change. 389 3902008-08-06 Richard Sandiford <rdsandiford@googlemail.com> 391 392 * config/tc-mips.c (mips16_reloc_p, got16_reloc_p, hi16_reloc_p) 393 (lo16_reloc_p): New functions. 394 (reloc_needs_lo_p): Use hi16_reloc_p and got16_reloc_p to 395 generalize relocation checks. 396 (matching_lo_reloc): New function. 397 (fixup_has_matching_lo_p): Use it. 398 (mips16_mark_labels): Don't clobber a symbol's visibility. 399 (append_insn): Use hi16_reloc_p and lo16_reloc_p. 400 (mips16_ip): Handle BFD_RELOC_MIPS16_GOT16 and BFD_RELOC_MIPS16_CALL16. 401 (md_apply_fix): Likewise. 402 (mips16_percent_op): Add %got and %call16. 403 (mips_frob_file): Use got16_reloc_p to generalize relocation checks. 404 Use matching_lo_reloc. 405 (mips_force_relocation): Use hi16_reloc_p and lo16_reloc_p to 406 generalize relocation checks. 407 (mips_fix_adjustable): Use lo16_reloc_p to generalize relocation 408 checks. 409 4102008-08-06 DJ Delorie <dj@redhat.com> 411 412 * NEWS: Mention these changes. 413 414 * config/tc-h8300.h (H_TICK_HEX): Define. 415 * config/tc-h8300.c (OPTION_H_TICK_HEX): New. 416 (md_longopts): Add "-h-tick-hex". 417 (md_parse_option): Support it. 418 * doc/c-h8300.texi (H8/300 Options): Document it. 419 * doc/as.texinfo (Overview): Likewise. 420 421 * config/tc-sh.h (H_TICK_HEX): Define. 422 * config/tc-sh.c (OPTION_H_TICK_HEX): New. 423 (md_longopts): Add "-h-tick-hex". 424 (md_parse_option): Support it. 425 * doc/c-sh.texi (SH Options): Document it. 426 * doc/c-sh64.texi (SH64 Options): Document it. 427 * doc/as.texinfo (Overview): Likewise. 428 4292008-08-05 Alan Modra <amodra@bigpond.net.au> 430 431 PR gas/6656 432 * dwarf2dbg.c (dwarf2_directive_file): Disable gas generated 433 debug info if we see compiler generated debug info. 434 (dwarf2_directive_loc): Likewise. Remove redundant debug_type test. 435 4362008-08-04 Alan Modra <amodra@bigpond.net.au> 437 438 * dwarf2dbg.c: Remove superfluous forward function declarations. 439 (DWARF2_FORMAT): Add section arg. 440 (out_header): New function, split out from.. 441 (out_debug_line): ..here. 442 (out_debug_aranges): Use out_header. 443 (out_debug_abbrev): Add info_seg and line_seg args. Use 444 DW_FORM_data8 (for DW_AT_stmt_list) if line_seg is 64-bit. 445 (out_debug_info): Use out_header. Output 8 byte DW_AT_stmt_list 446 if line_seg is 64-bit. 447 (dwarf2_finish): Adjust out_debug_abbrev call. 448 * config/tc-mips.h (DWARF2_FORMAT, mips_dwarf2_format): Add sec arg. 449 * config/tc-mips.c (mips_dwarf2_format): Likewise. 450 4512008-08-04 Alan Modra <amodra@bigpond.net.au> 452 453 * Makefile.am (POTFILES.in): Set LC_ALL=C. 454 * Makefile.in: Regenerate. 455 * po/POTFILES.in: Regenerate. 456 4572008-08-01 Peter Bergner <bergner@vnet.ibm.com> 458 459 * config/tc-ppc.c (parse_cpu): Rename altivec_or_spe to retain_flags. 460 Handle -mvsx and -mpower7. 461 (md_show_usage): Document -mpower7 and -mvsx. 462 * doc/as.texinfo (Target PowerPC): Document -mvsx. 463 * doc/c-ppc.texi (PowerPC-Opts): Document -mvsx and -mpower7. 464 4652008-07-31 Peter Bergner <bergner@vnet.ibm.com> 466 467 * config/tc-ppc.c (parse_cpu) <power6>: Accept Altivec instructions. 468 <cell>: Likewise. 469 4702008-07-30 Michael J. Eager <eager@eagercon.com> 471 472 * config/tc-ppc.c (parse_cpu): Separate handling of -m403/405. 473 (md_show_usage): Likewise. 474 4752008-07-30 Alan Modra <amodra@bigpond.net.au> 476 477 * messages.c, symbols.c, write.c: Silence gcc warnings. 478 4792008-07-28 Ineiev <ineiev@yahoo.co.uk> 480 481 * config/tc-i386.c (operand_type_check): Warning fix. 482 4832008-07-26 Michael Eager <eager@eagercon.com> 484 485 * doc/as.texinfo: Add description of single-precision attribute. 486 4872008-07-24 Jie Zhang <jie.zhang@analog.com> 488 489 * config/bfin-parse.y (asm_1): Error if plain symbol is used 490 as load/store offset. 491 4922008-07-22 Chao-ying Fu <fu@mips.com> 493 494 * config/tc-mips.c (mips_ip): Reset s to argsStart. 495 4962008-07-22 Jie Zhang <jie.zhang@analog.com> 497 498 * config/tc-bfin.c (bfin_gen_loop): Remove loop symbol. 499 5002008-07-21 DJ Delorie <dj@redhat.com> 501 502 * config/tc-h8300.c (fix_operand_size): Use the default size 503 specified by the .lbranch/.sbranch pseudos. 504 5052008-07-18 DJ Delorie <dj@redhat.com> 506 507 * config/tc-m32c.h (H_TICK_HEX): Define. 508 * config/tc-m32c.c (OPTION_H_TICK_HEX): Define. 509 (md_longopts): Add support for it. 510 (md_parse_option): Likewise. 511 * doc/as.texinfo (Overview): Add new m32c options. 512 * doc/c-m32c.texi (M32C-Modifiers): Likewise 513 514 * as.h: (enable_h_tick_hex): New. 515 * app.c (enable_h_tick_hex): New. 516 (LEX_IS_H): New. 517 (do_scrub_begin): Mark 'H' and 'h' as special if enable_h_tick_hex. 518 (do_scrub_chars): If enable_h_tick_hex and 'h', check for H'00 519 style hex constants and convert the input stream to 0x00 style. 520 (do_scrub_chars): If a 'X style character constant is found after 521 a symbol character (like you're or X'00), warn the user. 522 5232008-07-10 Richard Sandiford <rdsandiford@googlemail.com> 524 525 * config/tc-mips.c (mips16_mark_labels): Use ELF_ST_SET_MIPS16. 526 (mips_fix_adjustable): Likewise. 527 (mips_frob_file_after_relocs): Likewise. 528 5292008-07-08 Nathan Sidwell <nathan@codesourcery.com> 530 531 * config/tc-m68k.c (m68k_set_cpu, m68k_set_arch): Don't complain 532 about overriding an earlier setting. 533 5342008-07-07 Adam Nemet <anemet@caviumnetworks.com> 535 536 * config/tc-mips.c (NO_ISA_COP): New macro. 537 (COP_INSN): New macro. 538 (is_opcode_valid): Use them. 539 (macro) <ld_st>: Use them. Don't accept coprocessor load store 540 insns based on the ISA if CPU is NO_ISA_COP. 541 <copz>: Likewise for coprocessor operations. 542 5432008-07-07 Paul Brook <paul@codesourcery.com> 544 545 * config/tc-arm.c (arm_fix_adjustable): Don't adjust MOVW/MOVT 546 relocations. 547 5482008-07-07 Ralf Corsépius <ralf.corsepius@rtems.org> 549 550 * configure.tgt: Add bfin-*-rtems*. 551 5522008-07-04 Alan Modra <amodra@bigpond.net.au> 553 554 * config/tc-spu.c (md_apply_fix): Handle fully resolved 555 BFD_RELOC_32_PCREL, BFD_RELOC_SPU_HI16 and BFD_RELOC_SPU_LO16. 556 5572008-06-25 Peter Bergner <bergner@vnet.ibm.com> 558 559 * config/tc-ppc.c (parse_cpu): Handle -m464. 560 (md_show_usage): Likewise. 561 5622008-06-24 Eric B. Weddington <eric.weddington@atmel.com> 563 564 Add support for ATtiny13A. 565 * config/tc-avr.c (mcu_types): Add attiny13a. 566 * doc/c-avr.texi: Likewise. 567 5682008-06-24 Bob Wilson <bob.wilson@acm.org> 569 Alan Modra <amodra@bigpond.net.au> 570 571 * write.c (relax_segment <rs_org>): Include current stretch 572 value when calculating whether .org is backwards. 573 5742008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 575 576 * configure: Regenerate. 577 5782008-06-17 Nick Clifton <nickc@redhat.com> 579 580 * app.c (do_scrub_chars): Do not UNGET an EOF value. 581 5822008-06-16 Hans-Peter Nilsson <hp@bitrange.com> 583 584 PR gas/6607 585 * config/tc-mmix.c (s_loc): Assume "negative" addresses belong to 586 text_section. Do the "stepping backwards" test for text_section 587 using unsigned operands. 588 5892008-06-13 Peter Bergner <bergner@vnet.ibm.com> 590 591 * config/tc-ppc.c (ppc_cpu): Use ppc_cpu_t typedef. 592 (ppc_insert_operand): Likewise. 593 (ppc_machine): Likewise. 594 * config/tc-ppc.h: #include "opcode/ppc.h" 595 (struct _ppc_fix_extra <ppc_cpu>): Use ppc_cpu_t typedef. 596 (ppc_cpu): Update extern decl. 597 5982008-06-12 Adam Nemet <anemet@caviumnetworks.com> 599 600 * config/tc-mips.c (validate_mips_insn): Handle field descriptors 601 +x, +X, +p, +P, +s, +S. 602 (mips_ip): Likewise. 603 604 * config/tc-mips.c (validate_mips_insn): Handle field descriptor +Q. 605 (mips_ip): Likewise. 606 (macro_build): Likewise. 607 (CPU_HAS_SEQ): New macro. 608 (macro2) <M_SEQ_I, M_SNE_I>: Use it. Emit seq/sne and seqi/snei. 609 6102008-06-09 Eric B. Weddington <eric.weddington@atmel.com> 611 612 * config/tc-avr.c (mcu_types): Remove support for ATmega32HVB device. 613 * doc/c-avr.texi: Likewise. 614 6152008-06-04 Nick Clifton <nickc@redhat.com> 616 617 * app.c (do_scrub_chars): Do not UNGET an EOF value. 618 6192008-06-03 H.J. Lu <hongjiu.lu@intel.com> 620 621 * config/tc-i386.c (set_sse_check): New. 622 (md_pseudo_table): Add "sse_check". 623 6242008-06-03 Paul Brook <paul@codesourcery.com> 625 626 * config/tc-arm.c (do_t_rbit): Populate both rm fields. 627 6282008-05-30 Nick Clifton <nickc@redhat.com> 629 630 PR 5523 631 * config/tc-avr.c (avr_ldi_expression): Do not warn about unknown 632 relocs here. 633 6342008-05-29 Maxim Kuvyrkov <maxim@codesourcery.com> 635 636 * config/tc-mips.c (mips_cpu_info_table): Move records for 637 ST Loongson-2E/2F processors to a better place. 638 6392008-05-23 H.J. Lu <hongjiu.lu@intel.com> 640 641 PR gas/6518 642 * config/tc-i386.c (match_template): Report ambiguous operand 643 size, not invalid suffix when there is no match in Intel 644 syntax. 645 6462008-05-22 Paul Brook <paul@codesourcery.com> 647 648 * config/tc-arm.c (parse_cond): Covert to lowercase before matching. 649 6502008-05-21 I-Jui Sung <ijsung@gmail.com> 651 652 * config/tc-arm.c (arm_cpus): Add Faraday ARMv4 and ARMv5TE 653 compatible cores: fa526, fa626, fa626te, fa726te. 654 * doc/c-arm.texi (ARM Opts): Add -mcpu={fa526, fa626, fa626te, 655 fa726te} options. 656 6572008-05-14 Alan Modra <amodra@bigpond.net.au> 658 659 * Makefile.am: Run "make dep-am". 660 * Makefile.in: Regenerate. 661 * doc/Makefile.in: Regenerate. 662 * po/POTFILES.in: Regenerate. 663 6642008-05-09 Catherine Moore <clm@codesourcery.com> 665 666 * config/tc-mips.c (mips_frob_file): Don't match MIPS16 relocs 667 with non-MIPS16 relocs. 668 6692008-05-09 Chao-ying Fu <fu@mips.com> 670 671 * config/tc-mips.c (md_begin): Use strncmp to compare TARGET_OS, in 672 case that some characters append at the end of the name. 673 (mips_ip): Likewise. 674 (s_change_sec): Likewise. 675 (md_section_align): Likewise. 676 6772008-05-07 Bob Wilson <bob.wilson@acm.org> 678 679 * config/tc-xtensa.c (xtensa_create_property_segments): Use 680 xtensa_make_property_section instead of xtensa_get_property_section. 681 (xtensa_create_xproperty_segments): Likewise. 682 6832008-05-02 H.J. Lu <hongjiu.lu@intel.com> 684 685 * NEWS: Mention XSAVE, EPT and MOVBE. 686 687 * config/tc-i386.c (cpu_arch): Add .movbe and .ept. 688 (md_show_usage): Add .movbe and .ept. 689 690 * doc/c-i386.texi: Add movbe and ept to -march=. Document 691 .movbe and .ept. 692 6932008-04-29 David S. Miller <davem@davemloft.net> 694 695 * config/tc-sparc.c (v9a_asr_table): Fix order of softint entries. 696 6972008-04-28 Adam Nemet <anemet@caviumnetworks.com> 698 699 * config/tc-mips.c (file_mips_soft_float, file_mips_single_float): 700 New statics. 701 (OPTION_ELF_BASE): Make room for new option macros. 702 (OPTION_SOFT_FLOAT, OPTION_HARD_FLOAT, OPTION_SINGLE_FLOAT, 703 OPTION_DOUBLE_FLOAT): New option macros. 704 (md_longopts): Add msoft-float, mhard-float, msingle-float and 705 mdouble-float. 706 (md_parse_option): Handle OPTION_SINGLE_FLOAT, 707 OPTION_DOUBLE_FLOAT, OPTION_SOFT_FLOAT and OPTION_HARD_FLOAT. 708 (md_show_usage): Add -msoft-float, -mhard-float, -msingle-float 709 and -mdouble-float. 710 (struct mips_set_options): New fields soft_float and single_float. 711 (mips_opts): Initialized them. Add comment for each field 712 initializer. 713 (mips_after_parse_args): Set them based on file_mips_soft_float 714 and file_mips_single_float. 715 (s_mipsset): Add support for `.set softfloat', `.set hardfloat', 716 `.set singlefloat' and `.set doublefloat'. 717 (is_opcode_valid): New function to invoke OPCODE_IS_MEMBER. 718 Handle single-float and soft-float instructions here. 719 (macro_build, mips_ip): Use it instead of OPCODE_IS_MEMBER. 720 (is_opcode_valid_16): New function. 721 (mips16_ip): Use it instead of OPCODE_IS_MEMBER. 722 (macro) <M_LDC1_AB, M_SDC1_AB, M_L_DOB, M_L_DAB, M_S_DAB, 723 M_S_DOB>: Remove special-casing of r4650. 724 * doc/c-mips.texi (-march=): Add Octeon. 725 (MIPS Opts): Document -msoft-float and -mhard-float. Document 726 -msingle-float and -mdouble-float. 727 (MIPS floating-point): New section. Document `.set softfloat' and 728 `.set hardfloat'. Document `.set singlefloat' and `.set 729 doublefloat'. 730 7312008-04-25 David S. Miller <davem@davemloft.net> 732 733 * config/tc-sparc.c: Accept 'softint_clear' and 'softint_set' 734 %asr aliases. 735 736 * doc/c-sparc.texi: Consistently refer to architecture 'versions', 737 rather than occaisionally 'levels'. Consistently refer to Sun's 738 UNIX variant as SunOS, every version of Solaris is also SunOS. 739 Document new 'softint_clear' and 'softint_set' aliases. Clarify 740 which architecture versions support '%dcr', '%cq', and '%gl'. Add 741 section on 32-bit/64-bit opcode translations. 742 7432008-04-23 Mike Frysinger <vapier@gentoo.org> 744 745 * Makefile.am (OBJ_FORMAT_CFILES): Add config/obj-fdpicelf.c. 746 (OBJ_FORMAT_HFILES): Add config/obj-fdpicelf.h. 747 (obj-fdpicelf.o): Define. 748 * Makefile.in: Regenerate. 749 * configure.tgt: Set bfd_gas to yes when fmt is fdpicelf. 750 (bfin-*-*): Delete. 751 (bfin-*-linux-uclibc): New; set fmt to fdpicelf and em to linux. 752 (bfin-*-uclinux*): New; set fmt to elf and em to linux. 753 * config/obj-fdpicelf.c: New. 754 * config/obj-fdpicelf.h: Likewise. 755 * config/tc-bfin.c (bfin_flags, bfin_pic_flag): Set default based on 756 the OBJ_FDPIC_ELF define. 757 (OPTION_NOPIC): Define. 758 (md_longopts): Add mnopic and mno-fdpic. 759 (md_parse_option): Handle OPTION_NOPIC. 760 7612008-04-23 Paolo Bonzini <bonzini@gnu.org> 762 763 * aclocal.m4: Regenerate. 764 * configure: Regenerate. 765 7662008-04-23 David S. Miller <davem@davemloft.net> 767 768 * config/tc-sparc.c (v9a_asr_table): Add missing 769 'stick' and 'stick_cmpr', and document ordering rules 770 of table. 771 (tc_gen_reloc): Accept BFD_RELOC_SPARC_PC22 and 772 BFD_RELOC_SPARC_PC10. 773 * doc/c-sparc.texi: New section on Sparc constants. 774 Add documentation for %stick and %stick_cmpr. 775 7762008-04-22 David S. Miller <davem@davemloft.net> 777 778 * config/obj-elf.c (obj_elf_section_type): Add prototype 779 before obj_elf_section_word and add 'warn' arg. 780 (obj_elf_section_word): Add type pointer arg, and if no #SECTION 781 is matched, try checking for #SECTION_TYPE. 782 (obj_elf_section): Adjust for new args. 783 (obj_elf_type_name): New function. 784 (obj_elf_type): Call it, and accept STT_foo number strings 785 in .type statements as output by SunPRO compiler. 786 7872008-04-22 H.J. Lu <hongjiu.lu@intel.com> 788 789 * config/tc-i386.c (md_assemble): Don't check SSE instructions 790 if noavx is 0. 791 7922008-04-18 David S. Miller <davem@davemloft.net> 793 794 * doc/c-sparc.texi: Add syntax section. 795 7962008-04-18 H.J. Lu <hongjiu.lu@intel.com> 797 798 * config/tc-i386.c (build_modrm_byte): Don't check FMA to swap 799 REG and NDS for instructions with immediate operand. 800 8012008-04-18 H.J. Lu <hongjiu.lu@intel.com> 802 803 * config/tc-i386.c (build_modrm_byte): Swap REG and NDS for 804 FMA. 805 8062008-04-16 David S. Miller <davem@davemloft.net> 807 808 * config/tc-sparc.c (sparc_ip): Add support for gotdata mnemonics 809 and relocation generation. 810 (tc_gen_reloc): Likewise. 811 8122008-04-15 Andrew Stubbs <andrew.stubbs@st.com> 813 814 * config/tc-sh.c (md_apply_fix): Make sure BFD_RELOC_SH_PCRELIMM8BY4 815 relocations are properly aligned, and not negative. 816 8172008-04-15 Khem Raj <kraj@mvista.com> 818 819 * doc/tc-arm.texi: Fix fnstart and fnend directive names. 820 8212008-04-14 Edmar Wienskoski <edmar@freescale.com> 822 823 * config/tc-ppc.c (parse_cpu): Handle "e500mc". Extend "e500" to 824 accept e500mc instructions. 825 (md_show_usage): Document -me500mc. 826 8272008-04-11 Nick Clifton <nickc@redhat.com> 828 829 * listing.c (print_timestamp): Use localtime rather than 830 localtime_r since not all build environments provide the latter. 831 8322008-04-10 H.J. Lu <hongjiu.lu@intel.com> 833 834 * NEWS: Mention -msse-check=[none|error|warning]. 835 836 * config/tc-i386.c (sse_check): New. 837 (OPTION_MSSE_CHECK): Likewise. 838 (md_assemble): Check SSE instructions if needed. 839 (md_longopts): Add -msse-check. 840 (md_parse_option): Handle OPTION_MSSE_CHECK. 841 (md_show_usage): Show -msse-check=[none|error|warning]. 842 843 * doc/c-i386.texi: Document -msse-check=[none|error|warning]. 844 8452008-04-10 Santiago Urue�a <suruena@gmail.com> 846 847 * listing.c: Add -ag listing flag to show general information in 848 listings such as gas version, passed options, and time stamp. 849 (listing_general_info): New function. 850 (print_options): New function. 851 (print_single_option): New function. 852 (print_timestamp): New function. 853 (MAX_DATELEN): Define. 854 (listing_print): Add call to listing_general_info. 855 * listing.h (LISTING_GENERAL): Define. 856 (listing_print): Add new parameter. 857 * as.c (show_usage): Print new switch. 858 (parse_args): Parse new switch. 859 (main): Pass command line on to listing_print. 860 * NEWS: Mention this new feature. 861 * doc/as.texinfo: Document the new sub-option. 862 8632008-04-08 Alan Modra <amodra@bigpond.net.au> 864 865 * dwarf2dbg.c (dwarf2_emit_insn): Simplify test before dwarf2_where 866 call. Delete out of date comment. 867 (dwarf2_consume_line_info): Always clear dwarf2_loc_directive_seen. 868 (dwarf2_emit_label): Don't emit unless there has been a previous 869 .file or we are outputting assembler generated debug. 870 dwarf2_consume_line_info after emitting line info, not before. 871 (out_debug_info): Simplify files_in_use test. 872 8732008-04-07 H.J. Lu <hongjiu.lu@intel.com> 874 875 * config/tc-i386.c (parse_real_register): Return AVX register 876 only if AVX is enabled. 877 8782008-04-07 Kaz Kojima <kkojima@rr.iij4u.or.jp> 879 880 PR gas/6043 881 * config/tc-sh64.c (shmedia_md_pcrel_from_section): Use 882 md_pcrel_from_section for BFD_RELOC_64 and BFD_RELOC_64_PCREL. 883 8842008-04-04 Adrian Bunk <bunk@stusta.de> 885 Bob Wilson <bob.wilson@acm.org> 886 887 * config/tc-xtensa.c (xg_apply_fix_value): Check return code from 888 call to decode_reloc. 889 8902008-04-04 H.J. Lu <hongjiu.lu@intel.com> 891 892 * NEWS: Mention XSAVE. Change CLMUL to PCLMUL. 893 894 * config/tc-i386.c (cpu_arch): Add .pclmul. 895 (md_show_usage): Replace clmul with pclmul. 896 * doc/c-i386.texi: Likewise. 897 8982008-04-03 H.J. Lu <hongjiu.lu@intel.com> 899 900 * NEWS: Mention AES, CLMUL, AVX/FMA and -msse2avx. 901 902 * doc/c-i386.texi: Add avx, aes, clmul and fma to -march=. 903 Document -msse2avx, .avx, .aes, .clmul and .fma. 904 905 * config/tc-i386.c (YMMWORD_MNEM_SUFFIX): New. 906 (vex_prefix): Likewise. 907 (sse2avx): Likewise. 908 (CPU_FLAGS_ARCH_MATCH): Likewise. 909 (CPU_FLAGS_64BIT_MATCH): Likewise. 910 (CPU_FLAGS_32BIT_MATCH): Likewise. 911 (CPU_FLAGS_PERFECT_MATCH): Likewise. 912 (regymm): Likewise. 913 (vex_imm4): Likewise. 914 (fits_in_imm4): Likewise. 915 (build_vex_prefix): Likewise. 916 (VEX_check_operands): Likewise. 917 (bad_implicit_operand): Likewise. 918 (OPTION_MSSE2AVX): Likewise. 919 (T_YMMWORD): Likewise. 920 (_i386_insn): Add vex. 921 (cpu_arch): Add .avx, .aes, .clmul and .fma. 922 (cpu_flags_match): Changed to take a pointer to const template. 923 Enable encoding SSE instructions with VEX prefix for -msse2avx. 924 (match_mem_size): Also check ymmword. 925 (operand_type_match): Clear ymmword. 926 (md_begin): Allow '_' in mnemonic. 927 (type_names): Add OPERAND_TYPE_VEX_IMM4. 928 (process_immext): Update assert. 929 (md_assemble): Don't call process_immext if sse2avx and immext 930 are true. Call build_vex_prefix if vex is true. 931 (parse_insn): Updated for cpu_flags_match. 932 (swap_operands): Handle 5 operands. 933 (match_template): Handle 5 operands. Updated for cpu_flags_match. 934 Check regymm. Call VEX_check_operands. Handle YMMWORD_MNEM_SUFFIX. 935 (process_suffix): Handle YMMWORD_MNEM_SUFFIX. 936 (check_byte_reg): Check regymm. 937 (process_operands): Duplicate the destination register for 938 -msse2avx if needed. 939 (build_modrm_byte): Updated for instructions with VEX encoding. 940 (output_insn): Output VEX prefix if needed. 941 (md_longopts): Add msse2avx. 942 (md_parse_option): Handle OPTION_MSSE2AVX. 943 (md_show_usage): Add avx, aes, clmul, fma and -msse2avx. 944 (intel_e09): Support YMMWORD. 945 (intel_e11): Likewise. 946 (intel_get_token): Likewise. 947 9482008-03-28 Eric B. Weddington <eric.weddington@atmel.com> 949 950 * config/tc-avr.c (mcu_types): Add attiny167. 951 * doc/c-avr.texi: Likewise. 952 9532008-03-28 Eric B. Weddington <eric.weddington@atmel.com> 954 955 * config/tc-avr.c (mcu_types): Add atmega32u4. 956 * doc/c-avr.texi: Likewise. 957 9582008-03-28 Eric B. Weddington <eric.weddington@atmel.com> 959 960 * config/tc-avr.c (mcu_types): Add atmega32c1. 961 * doc/c-avr.texi: Likewise. 962 9632008-03-28 Paul Brook <paul@codesourcery.com> 964 965 * config/tc-arm.c (parse_neon_mov): Parse register before immediate 966 to avoid spurious symbols. 967 9682008-03-28 Nathan Sidwell <nathan@codesourcery.com> 969 970 * config/tc-m68k.c (md_convert_frag_1): Replace as_fatal with 971 as_bad_where. 972 9732008-03-27 Eric B. Weddington <eric.weddington@atmel.com> 974 975 * config/tc-avr.c (mcu_types): Add atmega32m1. 976 * doc/c-avr.texi: Likewise. 977 9782008-03-27 Ineiev <ineiev@yahoo.co.uk> 979 980 * config/tc-arm.c (do_neon_cvt): Move variable declarations to 981 start of block. 982 (do_neon_ext): Fix sign of comparison. 983 9842008-03-26 Bernd Schmidt <bernd.schmidt@analog.com> 985 986 From Jie Zhang <jie.zhang@analog.com> 987 * config/bfin-parse.y (asm_1): Check AREGS in comparison 988 instructions. And call yyerror when comparing PREG with 989 DREG. 990 (check_macfunc_option): New. 991 (check_macfuncs): Check option by calling check_macfunc_option. 992 Fix comparison always true warnings. Both scalar instructions 993 of vector instruction must share the same mode option. Only allow 994 option mode at the end of the second instruction of the vector. 995 (asm_1): Check option by calling check_macfunc_option. 996 997 * config/bfin-parse.y (check_macfunc_option): Allow (IU) 998 option for multiply and multiply-accumulate to data register 999 instruction. 1000 (check_macfuncs): Don't check if accumulator matches the data register 1001 here. 1002 (assign_macfunc): Check if accumulator matches the 1003 data register in each rule that moves to the data 1004 register. 1005 1006 * config/tc-bfin.c (bfin_start_line_hook): Localize the labels 1007 generated for LOOP_BEGIN and LOOP_END instructions. 1008 (bfin_gen_loop): Likewise. 1009 10102008-03-19 Andreas Krebbel <krebbel1@de.ibm.com> 1011 1012 * config/tc-s390.c (md_parse_option): z10 option added. 1013 10142008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1015 1016 * aclocal.m4: Regenerate. 1017 * configure: Likewise. 1018 * Makefile.in: Likewise. 1019 * doc/Makefile.in: Likewise. 1020 10212008-03-17 Adrian Bunk <bunk@stusta.de> 1022 1023 PR 5946 1024 * config/tc-hppa.c (is_same_frag): Delete. 1025 10262008-03-14 Sterling Augustine <sterling@tensilica.com> 1027 1028 * config/tc-xtensa.h (xtensa_relax_statesE): Update comment for 1029 RELAX_LOOP_END_ADD_NOP. 1030 10312008-03-13 Evandro Menezes <evandro@yahoo.com> 1032 1033 PR gas/5895 1034 * read.c (s_mexit): Warn if attempting to exit a macro when not 1035 inside a macro definition. 1036 10372008-03-13 Alan Modra <amodra@bigpond.net.au> 1038 1039 * Makefile.am: Run "make dep-am". 1040 * Makefile.in: Regenerate. 1041 * configure: Regenerate. 1042 10432008-03-09 Paul Brook <paul@codesourcery.com> 1044 1045 * config/tc-arm.c (arm_cpu_option_table): Add cortex-a9. 1046 * doc/c-arm.texi: Add cortex-a9. 1047 10482008-03-09 Paul Brook <paul@codesourcery.com> 1049 1050 * config/tc-arm.c (fpu_vfp_ext_d32): New vairable. 1051 (parse_vfp_reg_list, encode_arm_vfp_reg): Use it. 1052 (arm_option_cpu_value): Add vfpv3-d16, vfpv2 and vfpv3. 1053 (aeabi_set_public_attributes): Handle Tag_VFP_arch=VFPV3-D16. 1054 * doc/c-arm.texi: Document new ARM FPU variants. 1055 10562008-03-07 Paul Brook <paul@codesourcery.com> 1057 1058 * config/tc-arm.c (md_apply_fix): Use correct offset range. 1059 10602008-03-07 Alan Modra <amodra@bigpond.net.au> 1061 1062 * config/tc-ppc.c (ppc_setup_opcodes): Tidy. Add code to test 1063 for strict ordering of powerpc_opcodes, but disable for now. 1064 10652008-03-04 Paul Brook <paul@codesourcery.com> 1066 1067 * config/tc-arm.c (arm_ext_barrier, arm_ext_msr): New. 1068 (arm_ext_v7m): Rename... 1069 (arm_ext_m): ... to this. Include v6-M. 1070 (do_t_add_sub): Allow narrow low-reg non flag setting adds. 1071 (do_t_mrs, do_t_msr, aeabi_set_public_attributes): Use arm_ext_m. 1072 (md_assemble): Allow wide msr instructions. 1073 (insns): Add classifications for v6-m instructions. 1074 (arm_cpu_option_table): Add cortex-m1. 1075 (arm_arch_option_table): Add armv6-m. 1076 (cpu_arch): Add ARM_ARCH_V6M. Fix numbering of other v6 variants. 1077 10782008-03-03 Sterling Augustine <sterling@tensilica.com> 1079 Bob Wilson <bob.wilson@acm.org> 1080 1081 * config/tc-xtensa.c (xtensa_num_pipe_stages): New. 1082 (md_begin): Initialize it. 1083 (resources_conflict): Use it. 1084 10852008-03-03 Sterling Augustine <sterling@tensilica.com> 1086 1087 * config/tc-xtensa.h (RELAX_XTENSA_NONE): New. 1088 10892008-03-03 Denys Vlasenko <vda.linux@googlemail.com> 1090 H.J. Lu <hongjiu.lu@intel.com> 1091 1092 PR gas/5543 1093 * read.c (pseudo_set): Don't allow global register symbol. 1094 1095 * symbols.c (S_SET_EXTERNAL): Don't allow register symbol 1096 global. 1097 10982008-03-03 H.J. Lu <hongjiu.lu@intel.com> 1099 1100 PR gas/5543 1101 * write.c (write_object_file): Don't allow symbols which were 1102 equated to register. Stop if there is an error. 1103 11042008-03-01 Alan Modra <amodra@bigpond.net.au> 1105 1106 * config/tc-ppc.h (struct _ppc_fix_extra): New. 1107 (ppc_cpu): Declare. 1108 (TC_FIX_TYPE, TC_INIT_FIX_DATA): Define. 1109 * config/tc-ppc.c (ppu_cpu): Make global. 1110 (ppc_insert_operand): Add ppu_cpu parameter. 1111 (md_assemble): Adjust for above change. 1112 (md_apply_fix): Pass tc_fix_data.ppc_cpu to ppc_insert_operand. 1113 11142008-02-22 Nick Clifton <nickc@redhat.com> 1115 1116 * config/tc-arm.c (do_bx): Only test EF_ARM_EABI_VERSION on ELF 1117 targeted ARM ports, otherwise just skip generating the reloc. 1118 11192008-02-18 H.J. Lu <hongjiu.lu@intel.com> 1120 1121 * doc/c-i386.texi: Update -march= and .arch. 1122 11232008-02-18 Nick Clifton <nickc@redhat.com> 1124 1125 * config/tc-mn10300.c (has_known_symbol_location): New function. 1126 Do not regard weak symbols as having a known location. 1127 (md_estimate_size_before_relax): Use new function. 1128 (md_pcrel_from): Do not compute a pcrel against a weak symbol. 1129 11302008-02-18 Jan Beulich <jbeulich@novell.com> 1131 1132 * config/tc-i386.c (match_template): Disallow 'l' suffix when 1133 currently selected CPU has no 32-bit support. 1134 (parse_real_register): Do not return registers not available on 1135 currently selected CPU. 1136 11372008-02-16 H.J. Lu <hongjiu.lu@intel.com> 1138 1139 * config/tc-i386.c (process_immext): Fix format. 1140 11412008-02-16 H.J. Lu <hongjiu.lu@intel.com> 1142 1143 * config/tc-i386.c (inoutportreg): New. 1144 (process_immext): New. 1145 (md_assemble): Use it. 1146 (update_imm): Use imm16 and imm32s. 1147 (i386_att_operand): Use inoutportreg. 1148 11492008-02-14 H.J. Lu <hongjiu.lu@intel.com> 1150 1151 * config/tc-i386.c (operand_type_all_zero): New. 1152 (operand_type_set): Likewise. 1153 (operand_type_equal): Likewise. 1154 (cpu_flags_all_zero): Likewise. 1155 (cpu_flags_set): Likewise. 1156 (cpu_flags_equal): Likewise. 1157 (UINTS_ALL_ZERO): Removed. 1158 (UINTS_SET): Likewise. 1159 (UINTS_CLEAR): Likewise. 1160 (UINTS_EQUAL): Likewise. 1161 (cpu_flags_match): Updated. 1162 (smallest_imm_type): Likewise. 1163 (set_cpu_arch): Likewise. 1164 (md_assemble): Likewise. 1165 (optimize_imm): Likewise. 1166 (match_template): Likewise. 1167 (process_suffix): Likewise. 1168 (update_imm): Likewise. 1169 (process_drex): Likewise. 1170 (process_operands): Likewise. 1171 (build_modrm_byte): Likewise. 1172 (i386_immediate): Likewise. 1173 (i386_displacement): Likewise. 1174 (i386_att_operand): Likewise. 1175 (parse_real_register): Likewise. 1176 (md_parse_option): Likewise. 1177 (i386_target_format): Likewise. 1178 11792008-02-14 Dimitry Andric <dimitry@andric.com> 1180 1181 PR gas/5712 1182 * config/tc-arm.c (s_arm_unwind_save): Advance the input line 1183 pointer past the comma after parsing a floating point register 1184 name. 1185 11862008-02-14 Hakan Ardo <hakan@debian.org> 1187 1188 PR gas/2626 1189 * config/tc-avr.c (mcu_types): Change the ISA tyoe of the attiny26 1190 to AVR_ISA_2xxe. 1191 (avr_operand): Disallow post-increment addressing in the lpm 1192 instruction for the attiny26. 1193 11942008-02-13 Jan Beulich <jbeulich@novell.com> 1195 1196 * config/tc-i386.c (parse_real_register): Don't return 'FLAT' 1197 if not in Intel mode. 1198 (i386_intel_operand): Ignore segment overrides in immediate and 1199 offset operands. 1200 (intel_e11): Range-check i.mem_operands before use as array 1201 index. Filter out FLAT for uses other than as segment override. 1202 (intel_get_token): Remove broken promotion of "FLAT:" to mean 1203 "offset FLAT:". 1204 12052008-02-13 Jan Beulich <jbeulich@novell.com> 1206 1207 * config/tc-i386.c (intel_e09): Also special-case 'bound'. 1208 12092008-02-13 Jan Beulich <jbeulich@novell.com> 1210 1211 * config/tc-i386.c (allow_pseudo_reg): New. 1212 (parse_real_register): Check for NULL just once. Allow all 1213 register table entries when allow_pseudo_reg is non-zero. 1214 Don't allow any registers without type when allow_pseudo_reg 1215 is zero. 1216 (tc_x86_regname_to_dw2regnum): Replace with ... 1217 (tc_x86_parse_to_dw2regnum): ... this. 1218 (tc_x86_frame_initial_instructions): Adjust for above change. 1219 * config/tc-i386.h (tc_regname_to_dw2regnum): Remove. 1220 (tc_parse_to_dw2regnum): New. 1221 (tc_x86_regname_to_dw2regnum): Replace with ... 1222 (tc_x86_parse_to_dw2regnum): ... this. 1223 * dw2gencfi.c (tc_parse_to_dw2regnum): New, broken out of ... 1224 (cfi_parse_reg): ... this. Use tc_parse_to_dw2regnum. Adjust 1225 error handling. 1226 12272008-02-12 Nick Clifton <nickc@redhat.com> 1228 1229 * config/tc-tic4x.c (tic4x_insn_insert): Add const qualifier to 1230 argument. 1231 (tic4x_insn_add): Likewise. 1232 (md_begin): Drop cast that was discarding a const qualifier. 1233 * config/tc-d30v.c (get_reloc): Add const qualifier to op 1234 argument. 1235 (build_insn): Drop cast that was discarding a const qualifier. 1236 12372008-02-11 H.J. Lu <hongjiu.lu@intel.com> 1238 1239 * config/tc-i386.c (cpu_arch): Add .xsave. 1240 (md_show_usage): Add .xsave. 1241 1242 * doc/c-i386.texi: Add xsave to -march=. 1243 12442008-02-07 Alan Modra <amodra@bigpond.net.au> 1245 1246 * read.c (s_weakref): Don't pass unadorned NULL to concat. 1247 * config/tc-i386.c (set_cpu_arch, md_parse_option): Likewise. 1248 12492008-02-05 Sterling Augustine <sterling@tensilica.com> 1250 1251 * config/tc-xtensa.c (relax_frag_immed): Change internal consistency 1252 checks into assertions. When relaxation produces an operation that 1253 does not fit in the current FLIX instruction, make sure that the 1254 operation is relaxed as needed to account for being placed following 1255 the current instruction. 1256 12572008-02-04 H.J. Lu <hongjiu.lu@intel.com> 1258 1259 PR 5715 1260 * configure: Regenerated. 1261 12622008-02-04 Adam Nemet <anemet@caviumnetworks.com> 1263 1264 * config/tc-mips.c (mips_cpu_info_table): Add Octeon. 1265 12662008-01-31 Marc Gauthier <marc@tensilica.com> 1267 1268 * configure.tgt (xtensa*-*-*): Recognize processor variants. 1269 12702008-01-25 Kai Tietz <kai.tietz@onevision.com> 1271 1272 * read.c: (emit_expr): Correct for mingw use of printf size 1273 specifier. 1274 12752008-01-24 Bob Wilson <bob.wilson@acm.org> 1276 1277 * doc/c-xtensa.texi (Xtensa Syntax): Clarify handling of opcodes that 1278 can only be encoded in FLIX instructions but are not specified as such. 1279 (Xtensa Automatic Alignment): Remove obsolete comment about debugging 1280 labels. 1281 12822008-01-24 H.J. Lu <hongjiu.lu@intel.com> 1283 1284 * NEWS: Mention new command line options for x86 targets. 1285 12862008-01-23 H.J. Lu <hongjiu.lu@intel.com> 1287 1288 * config/tc-i386.c (md_show_usage): Replace tabs with spaces. 1289 12902008-01-23 Eric B. Weddington <eric.weddington@atmel.com> 1291 1292 * config/tc-avr.c (mcu_types): Change opcode set for at86rf401. 1293 12942008-01-23 H.J. Lu <hongjiu.lu@intel.com> 1295 1296 * config/tc-i386.c (md_show_usage): Show more processors for 1297 -march=/-mtune=. 1298 12992008-01-22 H.J. Lu <hongjiu.lu@intel.com> 1300 1301 * config/tc-i386.c (i386_target_format): Remove cpummx2. 1302 13032008-01-22 H.J. Lu <hongjiu.lu@intel.com> 1304 1305 * config/tc-i386.c (XXX_PREFIX): Moved from tc-i386.h. 1306 (XXX_MNEM_SUFFIX): Likewise. 1307 (END_OF_INSN): Likewise. 1308 (templates): Likewise. 1309 (modrm_byte): Likewise. 1310 (rex_byte): Likewise. 1311 (DREX_XXX): Likewise. 1312 (drex_byte): Likewise. 1313 (sib_byte): Likewise. 1314 (processor_type): Likewise. 1315 (arch_entry): Likewise. 1316 (cpu_sub_arch_name): Remove const. 1317 (cpu_arch): Add .vmx and .smx. 1318 (set_cpu_arch): Append cpu_sub_arch_name. 1319 (md_parse_option): Support -march=CPU[,+EXTENSION...]. 1320 (md_show_usage): Updated. 1321 1322 * config/tc-i386.h (XXX_PREFIX): Moved to tc-i386.c. 1323 (XXX_MNEM_SUFFIX): Likewise. 1324 (END_OF_INSN): Likewise. 1325 (templates): Likewise. 1326 (modrm_byte): Likewise. 1327 (rex_byte): Likewise. 1328 (DREX_XXX): Likewise. 1329 (drex_byte): Likewise. 1330 (sib_byte): Likewise. 1331 (processor_type): Likewise. 1332 (arch_entry): Likewise. 1333 1334 * doc/as.texinfo: Update i386 -march option. 1335 1336 * doc/c-i386.texi: Update -march= for ISA. 1337 13382008-01-18 Bob Wilson <bob.wilson@acm.org> 1339 1340 * config/tc-xtensa.c (xtensa_leb128): New function. 1341 (md_pseudo_table): Use it for sleb128 and uleb128. 1342 (is_leb128_expr): New internal flag. 1343 (xtensa_symbol_new_hook): Check new flag. 1344 13452008-01-16 Eric B. Weddington <eric.weddington@atmel.com> 1346 1347 * config/tc-avr.c (mcu_types): Change opcode set for avr3, 1348 at90usb82, at90usb162. 1349 * doc/c-avr.texi: Change architecture grouping for at90usb82, 1350 at90usb162. 1351 These changes support the new avr35 architecture group in gcc. 1352 13532008-01-15 H.J. Lu <hongjiu.lu@intel.com> 1354 1355 * config/tc-i386.c (md_assemble): Also zap movzx and movsx 1356 suffix for AT&T syntax. 1357 13582008-01-14 H.J. Lu <hongjiu.lu@intel.com> 1359 1360 * config/tc-i386.c (match_reg_size): New. 1361 (match_mem_size): Likewise. 1362 (operand_size_match): Likewise. 1363 (operand_type_match): Also clear all size fields. 1364 (match_template): Skip Intel syntax when in AT&T syntax. 1365 Call operand_size_match to check operand size. 1366 (i386_att_operand): Set the mem field to 1 for memory 1367 operand. 1368 (i386_intel_operand): Likewise. 1369 13702008-01-12 H.J. Lu <hongjiu.lu@intel.com> 1371 1372 PR gas/5534 1373 * config/tc-i386.c (_i386_insn): Update comment. 1374 (operand_type_match): Also clear unspecified. 1375 (operand_type_register_match): Likewise. 1376 (parse_operands): Initialize unspecified. 1377 (i386_intel_operand): Likewise. 1378 (match_template): Check memory and accumulator operand size. 1379 (i386_att_operand): Clear unspecified on register operand. 1380 (intel_e11): Likewise. 1381 (intel_e09): Set operand size and clean unspecified for 1382 "XXX PTR". 1383 13842008-01-11 Andreas Schwab <schwab@suse.de> 1385 1386 * read.c (s_space): Declare `repeat' as offsetT. 1387 13882008-01-10 H.J. Lu <hongjiu.lu@intel.com> 1389 1390 * config/tc-i386.c (match_template): Check processor support 1391 first. 1392 13932008-01-10 H.J. Lu <hongjiu.lu@intel.com> 1394 1395 * config/tc-i386.c (match_template): Continue if processor 1396 doesn't match. 1397 13982008-01-09 Alexandre Oliva <aoliva@redhat.com> 1399 1400 * config/tc-ia64.c (ia64_convert_frag): Zero-initialize room for 1401 unwind personality function address. 1402 14032008-01-09 Bob Wilson <bob.wilson@acm.org> 1404 1405 * dwarf2dbg.c (out_sleb128): Delete. 1406 (size_fixed_inc_line_addr, emit_fixed_inc_line_addr): New. 1407 (out_fixed_inc_line_addr): Delete. 1408 (relax_inc_line_addr, dwarf2dbg_estimate_size_before_relax): Call new 1409 size_fixed_inc_line_addr if DWARF2_USE_FIXED_ADVANCE_PC is set. 1410 (dwarf2dbg_convert_frag): Likewise for emit_fixed_inc_line_addr. 1411 (process_entries): Remove calls to out_fixed_inc_line_addr. When 1412 DWARF2_USE_FIXED_ADVANCE_PC is set, call relax_inc_line_addr. 1413 * read.h (emit_expr_fix): New prototype. 1414 * read.c (emit_expr): Move code to emit_expr_fix and use it here. 1415 (emit_expr_fix): New. 1416 14172008-01-09 H.J. Lu <hongjiu.lu@intel.com> 1418 1419 * config/tc-i386.c (match_template): Check register size 1420 only when size of operands can be encoded the canonical way. 1421 14222008-01-08 H.J. Lu <hongjiu.lu@intel.com> 1423 1424 * config/tc-i386.c (i386_operand): Renamed to ... 1425 (i386_att_operand): This. 1426 (parse_operands): Updated. 1427 14282008-01-05 H.J. Lu <hongjiu.lu@intel.com> 1429 1430 * doc/c-i386.texi: Update .att_mnemonic and .intel_mnemonic. 1431 1432 * config/tc-i386.c (set_intel_mnemonic): Set intel_mnemonic 1433 only. 1434 (md_assemble): Remove Intel mode workaround. 1435 (match_template): Check support for old gcc, AT&T mnemonic 1436 and Intel Syntax. 1437 (md_parse_option): Don't set intel_mnemonic to 0 for 1438 OPTION_MOLD_GCC. 1439 14402008-01-04 H.J. Lu <hongjiu.lu@intel.com> 1441 1442 * config/tc-i386.h: Update copyright to 2008. 1443 14442008-01-04 Nick Clifton <nickc@redhat.com> 1445 1446 * config/tc-ppc.c (parse_cpu): Preserve the settings of the 1447 PPC_OPCODE_ALTIVEC and PPC_OPCODE_SPE flags. 1448 14492008-01-03 H.J. Lu <hongjiu.lu@intel.com> 1450 1451 * config/tc-i386.c (md_assemble): Use !intel_mnemonic instead 1452 of SYSV386_COMPAT. 1453 14542008-01-03 H.J. Lu <hongjiu.lu@intel.com> 1455 1456 * gas/config/tc-i386.c (cpu_arch_flags_not): Removed. 1457 (cpu_flags_not): Likewise. 1458 (cpu_flags_match): Updated to check 64bit and arch. 1459 (set_code_flag): Remove cpu_arch_flags_not. 1460 (set_16bit_gcc_code_flag): Likewise. 1461 (set_cpu_arch): Likewise. 1462 (md_begin): Likewise. 1463 (parse_insn): Call cpu_flags_match to check 64bit and arch. 1464 (match_template): Likewise. 1465 14662008-01-03 Jakub Jelinek <jakub@redhat.com> 1467 1468 * config/tc-i386.c (process_drex): Initialize modrm_reg and 1469 modrm_regmem to 0 instead of None. 1470 14712008-01-03 H.J. Lu <hongjiu.lu@intel.com> 1472 1473 * config/tc-i386.c (match_template): Use the xmmword field 1474 instead of no_xsuf. 1475 14762008-01-02 H.J. Lu <hongjiu.lu@intel.com> 1477 1478 * config/tc-i386.c (process_suffix): Fix a typo. 1479 14802008-01-02 H.J. Lu <hongjiu.lu@intel.com> 1481 1482 PR gas/5534 1483 * config/tc-i386.c (match_template): Handle XMMWORD_MNEM_SUFFIX. 1484 Check memory size in Intel mode. 1485 (process_suffix): Handle XMMWORD_MNEM_SUFFIX. 1486 (intel_e09): Likewise. 1487 1488 * config/tc-i386.h (XMMWORD_MNEM_SUFFIX): New. 1489 14902008-01-02 Catherine Moore <clm@codesourcery.com> 1491 1492 * config/tc-mips.c (mips_ip): Check operands on jalr instruction. 1493 1494For older changes see ChangeLog-2007 1495 1496Local Variables: 1497mode: change-log 1498left-margin: 8 1499fill-column: 74 1500version-control: never 1501End: 1502