ChangeLog revision 77298
12001-04-02 Philip Blundell <philb@gnu.org> 2 3 From 2001-03-17 Richard Henderson <rth@redhat.com> 4 * dwarf2dbg.c (user_filenum, user_filenum_allocated): Remove. 5 (dwarf2_directive_loc): Don't use them. 6 (dwarf2_directive_file): Reject duplicate file definitions. 7 (get_filenum): Zero allocated memory. 8 (out_file_list): Complain about missing file definitions. 9 102001-03-31 Alan Modra <alan@linuxcare.com.au> 11 12 * listing.c (listing_listing): Enable listing on EDICT_NOLIST_NEXT 13 for one line if not already enabled. 14 * cond.c (s_elseif): Correct conditional assembly listing. 15 (s_else): Likewise. 16 17 * cond.c (s_endif): Correct handling of "if .. elseif .." trees. 18 Don't abort on NULL current_cframe. 19 202001-03-30 Richard Henderson <rth@redhat.com> 21 22 * write.c (relax_seg, size_seg): Split from relax_and_size_seg. 23 (write_object_file): Relax code then data, then size sections. 24 25 * config/tc-i386.c (md_convert_frag): Don't die on local symbols 26 that have been finalized. 27 282001-03-28 Alan Modra <alan@linuxcare.com.au> 29 30 * config/tc-hppa.c (DEFAULT_LEVEL): Define. 31 (md_begin): Use it when setting default architecture. 32 332001-03-27 Hans-Peter Nilsson <hp@axis.com> 34 35 * configure.in (cris-*-*): Change default emulation to criself. 36 (cris-*-*aout*): New rule. 37 * configure: Regenerate. 38 392001-03-19 Alan Modra <alan@linuxcare.com.au> 40 41 * config/tc-i386.c (md_assemble <REGISTER_WARNINGS>): Correct 42 used register name. 43 442001-03-18 Stephane Carrez <Stephane.Carrez@worldnet.fr> 45 46 * config/tc-m68hc11.c (md_pseudo_table): Recognize xrefb to comply 47 with 'Motorola specification for assembly language input standard'. 48 492001-03-18 Dave Brolley <brolley@redhat.com> 50 51 * config/tc-m32r.c (expand_debug_syms): Call frag_align_code rather 52 than m32r_do_align. 53 542001-03-16 Philip Blundell <philb@gnu.org> 55 56 * configure: Regenerate. 57 582001-03-15 David Mosberger <davidm@hpl.hp.com> 59 60 * config/tc-ia64.c (md): New member keep_pending_output. 61 (ia64_flush_pending_output): Flush only if md.keep_pending_output 62 is not set. 63 (dot_xdata): Turn on md.keep_pending_output for the duration of 64 this function. 65 (dot_xfloat_cons): Ditto. 66 (dot_xstringer): Ditto. 67 (dot_xdata_ua): Ditto. 68 (dot_xfloat_cons_ua): Ditto. 69 702001-03-15 Jim Wilson <wilson@redhat.com> 71 72 * config/tc-ia64.c (ia64_unrecognized_line, case '['): Add local 73 label support. 74 752001-03-11 Philip Blundell <philb@gnu.org> 76 77 * configure.in: Set version to 2.11. 78 792001-02-28 Andreas Jaeger <aj@suse.de>, Bo Thorsen <bo@suse.de> 80 81 * config/tc-i386.c (tc_gen_reloc): Remove ugly hack which is not needed 82 anymore since we use bfd_elf_generic_reloc now. 83 (md_apply_fix3): Only apply hack for partial_inplace if not using RELA. 84 852001-02-21 David Mosberger <davidm@hpl.hp.com> 86 87 * config/tc-ia64.c (enum operand_match_result): New type. 88 (operand_match): Change return type to operand_match_result. 89 Fix all returns appropriately, adding support for returning the 90 out-of-range result. 91 (parse_operands): New locals result, error_pos, out_of_range_pos, 92 curr_out_of_range_pos. Rewrite operand matching loop to give better 93 error messages. 94 952001-02-21 David Mosberger <davidm@hpl.hp.com> 96 97 * config/tc-ia64.c (struct unwind): Add member "prologue_count". 98 (dot_proc): Clear unwind.prologue_count to zero. 99 (dot_prologue): Increment unwind.prologue_count. 100 (dot_restore): If second operand is omitted, use 101 unwind.prologue_count -1 for "ecount" (# of additional regions to 102 pop). Decrement unwind.prologue_count by number of regions 103 popped. 104 1052001-02-20 Bo Thorsen <bo@suse.de> 106 107 * config/tc-i386.c (tc_i386_fix_adjustable): Fix GOTPCREL GOT 108 entry. 109 110001-02-18 David O'Brien <obrien@FreeBSD.org> 111 112 * configure.in (cpu_type, arch): Add a generic FreeBSD specification as 113 all FreeBSD platforms should look the same at this level. 114 * configure: Rebuilt. 115 * config/tc-i386.c: Add support for old FreeBSD a.out hosts. 116 1172001-02-14 Philip Blundell <pb@futuretv.com> 118 119 From 2001-02-06 H.J. Lu <hjl@gnu.org> 120 * config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): Do fixup if 121 there is no relocation. 122 123 From 2001-02-06 H.J. Lu <hjl@gnu.org> 124 * config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): New. Defined. 125 * config/tc-ia64.c (md_parse_option): Only accept the valid 126 ia64 options on "-axxx". 127 1282001-02-13 Alan Modra <alan@linuxcare.com.au> 129 130 * expr.c (operator): Don't bump input_line_pointer for two char 131 operators. Instead return operator size via new param num_chars. 132 (expr): Use above to parse multi-char operators correctly. 133 1342001-02-12 Philip Blundell <pb@futuretv.com> 135 136 * config/tc-arm.c (do_ldst): Improve warnings for unpredictable 137 ldrt/strt instructions. 138 139Mon Feb 12 17:44:08 CET 2001 Jan Hubicka <jh@suse.cz> 140 141 * tc-i386.c (i386_displacement): Fix handling of 142 BFD_RELOC_X86_64_GOTPCREL. 143 (i386_validate_fix): Likewise. 144 1452001-02-09 David Mosberger <davidm@hpl.hp.com> 146 147 * config/tc-ia64.h (md_elf_section_type): New macro. 148 (ELF_TC_SPECIAL_SECTIONS): Drop .IA_64.unwind and .IA_64.unwind_info 149 (they're now handled via ia64_elf_section_type. 150 151 * config/tc-ia64.c (unwind): New members saved_text_seg, 152 saved_text_subseg, and force_unwind_entry. 153 (optimize_unw_records): New function to optimize away unnecessary 154 unwind directives. 155 (ia64_elf_section_type): New function. 156 (output_unw_records): Generate unwind info only if the size is 157 non-zero or if it's forced for some other reason (e.g., 158 handlerdata or a personality routine). 159 (generate_unwind_image): Don't switch back to previous 160 section---stay inside the unwind info section instead so that 161 handlerdata that may follow goes into the right place. 162 (dot_handlerdata): Force generation of unwind entry and save the 163 current active text segment before generating unwind image. 164 (dot_unwentry): Force generation of unwind entry. 165 (dot_personality): Ditto. 166 (dot_endp): Generate unwind table entry only if there is 167 some unwind info or the unwind entry was forced. 168 169 * config/tc-ia64.c (make_unw_section_name): New macro to form 170 unwind section name. 171 (generate_unwind_image): Add "text_name" argument. Use it to 172 form unwind section name. 173 (dot_handlerdata): Determine current segment (section) name and 174 pass it to generate_unwind_image(). 175 (dot_endp): Determine current segment (section) name and use 176 it to determine the appropriate unwind section name. 177 (ia64_md_do_align): Add missing ATTRIBUTE_UNUSED declarations to 178 n, fill, and max arguments. 179 1802001-02-09 Alexandre Oliva <aoliva@redhat.com> 181 182 * config/tc-sh.c (md_pseudo_table): Add uaquad. Use s_uacons for 183 2byte, 4byte and 8byte. 184 1852001-02-08 Alan Modra <alan@linuxcare.com.au> 186 187 * config/tc-hppa.c (pa_build_unwind_subspace): Don't call 188 md_number_to_chars with size > sizeof (valueT). 189 1902001-02-05 Jim Wilson <wilson@redhat.com> 191 192 * config/tc-ia64.c (errata_nop_necessary_p): Return 0 instead of 193 aborting for invalid operands. 194 1952001-02-06 Alan Modra <alan@linuxcare.com.au> 196 197 * config/tc-hppa.c (fix_new_hppa): Pass in unwind directly rather 198 than via pointer. Update all callers. 199 (UNWIND_LOW32): Define. 200 (UNWIND_HIGH32): Define. 201 (pa_build_unwind_subspace): Use the above macros instead of dumping 202 bitfields directly. Call frag_more once rather than multiple times. 203 (md_assemble): Use UNWIND_LOW32. 204 (pa_entry): Likewise 205 (pa_procend): Likewise. 206 (process_exit): Use UNWIND_HIGH32. 207 2082001-02-04 Stephane Carrez <Stephane.Carrez@worldnet.fr> 209 210 * config/tc-m68hc11.h (LISTING_HEADER): Use m68hc11_listing_header 211 function to select the header according to the cpu. 212 (md_after_pass_hook, md_do_align): Remove. 213 (md_cleanup, m68hc11_cleanup): Remove. 214 (md_pcrel_from_section): Declare. 215 * config/tc-m68hc11.c (build_dbranch_insn): Remove insn_size. 216 (build_jump_insn, build_insn): Likewise. 217 (m68hc11_listing_header): New function. 218 (m68hc11_cleanup): Remove. 219 2202001-02-02 Stephane Carrez <Stephane.Carrez@worldnet.fr> 221 222 * config/tc-m68hc11.c (relaxable_symbol): Relax externally visible 223 symbols because there is no support for shared libraries and these 224 symbols can't be overridden (unless they are weak). 225 2262001-02-01 Momchil Velikov <velco@fadata.bg> 227 228 * dwarf2dbg.c (out_debug_abbrev): Terminate the abbreviations 229 for the compilation unit with a zero byte. 230 2312001-01-30 Alan Modra <alan@linuxcare.com.au> 232 233 * config/tc-hppa.c (pa_ip): Support 12 bit branches to absolute 234 destinations. Correct range check for 17 and 22 bit branches. 235 2362001-01-25 Nick Clifton <nickc@redhat.com> 237 238 * config/tc-m68k.c (tc_gen_reloc): Do not abort if tcbit is 239 still set. Issue an error message instead. 240 (md_estimate_size_before_relax): Delete unused variable 241 'buffer_address'. Fixup parentheses around if statement. 242 2432001-01-23 Kazu Hirata <kazu@hxi.com> 244 245 * as.c: Fix formatting. 246 * ehopt.c: Likewise. 247 * messages.c: Likewise. 248 * stabs.c: Likewise. 249 * symbols.c: Likewise. 250 2512001-01-23 Ben Elliston <bje@redhat.com> 252 253 * config/tc-m32r.c (m32r_handle_align): Declare type of fragp. 254 2552001-01-22 Kazu Hirata <kazu@hxi.com> 256 257 * config/tc-alpha.c: Fix formatting. 258 2592001-01-19 Kazu Hirata <kazu@hxi.com> 260 261 * config/tc-alpha.c: Fix formatting. 262 2632001-01-18 Kazu Hirata <kazu@hxi.com> 264 265 * config/tc-alpha.c: Fix formatting. 266 2672001-01-18 Nick Clifton <nickc@redhat.com> 268 269 * config/tc-arm.c (ldm_flags): Remove redundant bit from "fa" and 270 "da" flags. 271 (stm_flags): Remove redundant bit from "ed" and "da" flags. 272 2732001-01-18 Alexandre Oliva <aoliva@redhat.com> 274 275 * configure.in (cpu_type, arch): Match i386 too. 276 * configure: Rebuilt. 277 2782001-01-16 Kazu Hirata <kazu@hxi.com> 279 280 * config/tc-i386.c: Fix formatting. 281 2822001-01-16 Alan Modra <alan@linuxcare.com.au> 283 284 * config/tc-hppa.c (tc_gen_reloc): Use SEGREL32 instead of DIR32 285 relocs for .PARISC.unwind section. 286 287 * config/tc-hppa.c (pa_build_unwind_subspace): Build unwind 288 depending on section flags, not just for .text. 289 2902001-01-15 Jim Wilson <wilson@redhat.com> 291 292 * config/tc-ia64.c (ia64_flush_insns): Handle unwind directives 293 not immediately followed by an instruction. 294 2952001-01-15 Kazu Hirata <kazu@hxi.com> 296 297 * config/tc-m68hc11.c: Fix formatting. 298 2992001-01-15 Nick Clifton <nickc@redhat.com> 300 301 * symbols.c (colon): Change 'already defined symbol' from a 302 fatal error to an ordinary error. There is no reason why this 303 error should be fatal. 304 305 * message.c (as_fatal): Delete output file, if one has been 306 created. 307 3082001-01-14 Alan Modra <alan@linuxcare.com.au> 309 310 * config/tc-hppa.h (TARGET_FORMAT): Add hppa-linux variants. 311 3122001-01-14 Kazu Hirata <kazu@hxi.com> 313 314 * config/tc-alpha.c: Fix formatting. 315 * config/tc-arc.c: Likewise. 316 * config/tc-arc.h: Likewise. 317 * config/tc-d10v.c: Likewise. 318 * config/tc-i370.c: Likewise. 319 * config/tc-i386.c: Likewise. 320 * config/tc-i960.c: Likewise. 321 * config/tc-m68k.c: Likewise. 322 * config/tc-ppc.c: Likewise. 323 * config/tc-sparc.c: Likewise. 324 * config/tc-tahoe.c: Likewise. 325 * config/tc-vax.c: Likewise. 326 327 * config/tc-arc.c: Fix formatting. 328 329 * config/tc-arc.c: Fix formatting. 330 3312001-01-14 Alan Modra <alan@linuxcare.com.au> 332 333 * config/tc-hppa.c (pa_build_unwind_subspace): Use SEGREL32 for 334 both 32 and 64 bit ELF. 335 336 * config/tc-hppa.c (pa_ip): Store `a' flag in bit zero of operand 337 and don't bother storing `m' for "ce" completer. Tidy handling of 338 'J' and 'K' operands to suit. Handle '<' and '>' operands. 339 340Sun Jan 14 00:36:42 MET 2001 Jan Hubicka <jh@suse.cz> 341 342 * tc-i386.h (TARGET_MACH): New macro. 343 (i386_mach): Declare. 344 * tc-i386.c (i386_mach): New function. 345 3462001-01-13 Philip Blundell <philb@gnu.org> 347 348 * doc/as.texinfo: Fix spelling and cross-references. 349 350 * doc/c-arm.texi: Fix typos. Say that `;' is a line separator 351 character for all systems, not just GNU/Linux. Make it explicit 352 that `-k' doesn't affect code generation, just ELF flags. 353 354Sat Jan 13 01:47:35 MET 2001 Jan Hubicka <jh@suse.cz> 355 356 * config/tc-i386.c (md_assemble): Check cpu_flags even for nullary 357 instructions. 358 3592001-01-12 Frank Ch. Eigler <fche@redhat.com> 360 361 * cgen.c (gas_cgen_finish_insn): Call dwarf2_emit_insn. 362 3632001-01-12 Nick Clifton <nickc@redhat.com> 364 365 * as.c (print_args): Update copyright date to 2001. 366 3672001-01-12 Peter Targett <peter.targett@arccores.com> 368 369 * doc/c-arc.texi: New file. 370 Some sections to be expanded. 371 3722001-01-12 Alan Modra <alan@linuxcare.com.au> 373 374 * config/tc-i386.c (md_longopts): Recognize "--64" only for ELF. 375 (md_parse_option): Always accept "--32". 376 3772001-01-11 Peter Targett <peter.targett@arccores.com> 378 379 * as.h (TC_ARC): Ensure struc-symbol.h included. 380 * as.c (dwarf2dbg.h): Include to remove implicit declaration 381 warnings. 382 * struc-symbol.h (SYMBOLS_NEED_BACKPOINTERS): Define. 383 (TARGET_SYMBOL_FIELDS) added. 384 385 * doc/Makefile.am (CPU_DOCS): Added c-arc.texi. 386 * doc/c-arc.texi: New file. 387 Some sections to be expanded. 388 * doc/as.texinfo: Update command-line options. 389 Removed outdated text for ARC dependant features, instead include 390 text from above file. 391 392 * config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS): Define local flag. 393 (TARGET_SYMBOL_FIELDS): Alias to previous definition. 394 (targ-cpu.h) header. 395 * config/tc-arc.h: 396 * config/tc-arc.c: New updated configuration for 397 ARC, including selection of core variants, and extensibility of 398 instructions, registers etc. through directives. 399 400 * config/tc-arc.c (arc_extinst): Minor corrections for 401 error messages. 402 (arc_common) Likewise. Make alignment argument optional for local 403 symbols also, with default of zero. 404 4052001-01-11 Stephane Carrez <Stephane.Carrez@worldnet.fr> 406 407 * config/tc-m68hc11.c (md_estimate_size_before_relax): Fix 408 STATE_INDEXED_OFFSET when the symbol is undefined (16-bit offset). 409 (build_indexed_byte): Don't relax indexed byte, use 16-bit offset 410 and fix_new_exp() instead. 411 (md_convert_frag): For indexed post byte use the symbol value 412 rather than the displacement. 413 (md_relax_table): Fix indexed offset relax. 414 4152001-01-11 Stephane Carrez <Stephane.Carrez@worldnet.fr> 416 417 * config/tc-m68hc11.c (md_estimate_size_before_relax):Don't 418 relax weak symbols. 419 (relaxable_symbol): New function. 420 4212001-01-11 Andreas Jaeger <aj@suse.de> 422 423 * config/tc-i386.h (TC_RELOC_GLOBAL_OFFSET_TABLE): Removed, it's 424 not used anywhere. 425 4262001-01-10 Nick Clifton <nickc@redhat.com> 427 428 * config/tc-arm.c (arm_fix_adjustable): Define for OBJ_COFF. 429 * config/tc-arm.h (obj_fix_adjustable): Define for OBJ_COFF 430 4312001-01-10 Nick Clifton <nickc@redhat.com> 432 433 * symbols.c (DOLLAR_LABEL_CHAR): New constant - the magic 434 character used to dollar local symbols. 435 (LOCAL_LABEL_CHAR): New constant - the magic character used to 436 local label symbols. 437 (dollar_label_name): Use DOLLAR_LABEL_CHAR. 438 (fb_label_name): Prefix local labels with LOCAL_LABEL_PREFIX, 439 if defined. 440 Use LOCAL_LABEL_CHAR. 441 (decode_local_label_name): Skip LOCAL_LABEL_PREFIX. 442 Use DOLLAR_LABEL_CHAR and LOCAL_LABEL_CHAR. 443 (S_IS_LOCAL): Use DOLLAR_LABEL_CHAR and LOCAL_LABEL_CHAR. 444 4452001-01-08 Bo Thorsen <bo@suse.de> 446 447 * config/tc-i386.c (i386_immediate, i386_displacement): 448 GOTPCREL check fix. 449 4502001-01-07 Ian Lance Taylor <ian@zembu.com> 451 452 * doc/c-i386.texi (i386-Arch): Remove spaces incorrectly inserted 453 in last change. 454 4552001-01-07 Philip Blundell <philb@gnu.org> 456 457 * doc/as.texinfo (Bug Reporting): Update email address for 458 reports. 459 * README: Likewise. 460 461Sat Jan 6 13:33:10 MET 2001 Jan Hubicka <jh@suse.cz> 462 463 * configure.in: Define DEFAULT_ARCH for i386. 464 * tc-i386.c (md_assemble): Return after the error message; 465 move testing for 64bit operands to proper place. 466 4672001-01-06 Jan Hubicka <jh@suse.cz>, Andreas Jaeger <aj@suse.de> 468 469 * doc/as.texinfo: Document '#' as comment character for i386 and 470 x86_64. Add AMD x86-64 into menu of machine dependent information. 471 472 * doc/c-i386.texi: Document x86_64 extensions. 473 474Fri Jan 5 13:26:42 MET 2001 Jan Hubicka <jh@suse.cz> 475 476 * tc-i386.c (md_assemble): Handle third byte of the opcode as prefix. 477 478Thu Jan 4 22:25:26 MET 2001 Jan Hubicka <jh@suse.cz> 479 480 * tc-i386.c (cpu_arch): Add Pentium4 and modify sledgehammer entry. 481 * NEWS: Add note about Pentium4 support. 482 483Wed Jan 3 17:26:32 MET 2001 Jan Hubicka <jh@suse.cz> 484 485 * tc-i387.c (pi, pte, pt): Update. 486 (type_names): Add new types. 487 488Wed Jan 3 16:26:52 MET 2001 Jan Hubicka <jh@suse.cz> 489 490 * tc-i386.h (CpuK6, CpuAthlon, CpuSledgehammer, CpuMMX, Cpu3dnow, 491 CpuUnknown): Renumber 492 (CpuP4, CpuSSE2): New. 493 (CpuUnknownFlags): Add CpuP4 and CpuSSE2 494 4952001-01-03 Philip Blundell <pb@futuretv.com> 496 497 * config/tc-alpha.c (alpha_force_relocation): Handle vtable 498 relocs. 499 (alpha_fix_adjustable): Likewise. 500 (md_apply_fix): Likewise. 501 5022000-12-31 H.J. Lu <hjl@gnu.org> 503 504 * listing.c (listing_message): Allocate string only if it is 505 used. 506 507 * configure: Rebuild. 508 5092000-12-31 Hans-Peter Nilsson <hp@bitrange.com> 510 511 * doc/internals.texi (Relaxing with a table) <after relaxation>: 512 Point out caveats with generating fixups for the opcode in a frag. 513 514Sat Dec 30 19:02:48 MET 2000 Jan Hubicka <jh@suse.cz> 515 516 * configure.in: Add support for x86_64 and x86_64-*-linux-gnu* 517 * NEWS: Add x86_64. 518 5192000-12-29 H.J. Lu <hjl@gnu.org> 520 521 * listing.c (calc_hex): Print the variable part only if the 522 fragment type is rs_fill. 523 5242000-12-29 Hans-Peter Nilsson <hp@bitrange.com> 525 526 * doc/internals.texi (tc_conditional_pseudoop, 527 TC_LINKRELAX_FIXUP): Fix typos. 528 5292000-12-28 Richard Henderson <rth@redhat.com> 530 531 * write.c (subsegs_finish): Fix thinko last change -- don't 532 "optimize" the alignment == 0 case. 533 5342000-12-28 Richard Henderson <rth@redhat.com> 535 536 * as.h (rs_align_test): New. 537 * frags.c (NOP_OPCODE): Move default from read.c. 538 (MAX_MEM_FOR_RS_ALIGN_CODE): New default. 539 (frag_align_code): New. 540 * frags.h (frag_align_code): Declare. 541 * read.c (NOP_OPCODE): Remove. 542 (do_align): Use frag_align_code. 543 * write.c (NOP_OPCODE): Remove. 544 (get_recorded_alignment): New. 545 (cvt_frag_to_fill): Handle rs_align_test. 546 (relax_segment): Likewise. 547 (subsegs_finish): Align last subseg in section to the 548 section alignment. Use frag_align_code. 549 * write.h (get_recorded_alignment): Declare. 550 * config/obj-coff.c (size_section): Handle rs_align_test. 551 (fill_section, fixup_mdeps): Likewise. 552 (write_object_file): Use frag_align_code. 553 554 * config/tc-alpha.c (alpha_align): Use frag_align_code. 555 (alpha_handle_align): New. 556 * config/tc-alpha.h (HANDLE_ALIGN): New. 557 (MAX_MEM_FOR_RS_ALIGN_CODE): New. 558 559 * config/tc-i386.h (md_do_align): Use frag_align_code. 560 (MAX_MEM_FOR_RS_ALIGN_CODE): New. 561 562 * config/tc-ia64.c (ia64_md_do_align): Don't do code alignment. 563 (ia64_handle_align): New. 564 * config/tc-ia64.h (HANDLE_ALIGN): New. 565 (MAX_MEM_FOR_RS_ALIGN_CODE): New. 566 567 * config/tc-m32r.c (m32r_do_align): Remove. 568 (m32r_handle_align): New. 569 (fill_insn): Use frag_align_code. 570 * config/tc-m32r.h (md_do_align): Remove. 571 (HANDLE_ALIGN, MAX_MEM_FOR_RS_ALIGN_CODE): New. 572 * config/tc-m88k.c, config/tc-m88k.h: Similarly. 573 * config/tc-mips.c, config/tc-mips.h: Similarly. 574 575 * config/tc-sh.c (sh_cons_align): Use rs_align_test. 576 (sh_handle_align): Likewise. Handle rs_align_code. 577 (sh_do_align): Remove. 578 * config/tc-sh.h (md_do_align): Remove. 579 (MAX_MEM_FOR_RS_ALIGN_CODE): New. 580 581 * config/tc-sparc.c (sparc_cons_align): Use rs_align_test. 582 (sparc_handle_align): Likewise. Handle rs_align_code. 583 * config/tc-sparc.h (md_do_align): Remove. 584 (MAX_MEM_FOR_RS_ALIGN_CODE): New. 585 5862000-12-22 DJ Delorie <dj@redhat.com> 587 588 * config/tc-d10v.c (md_assemble): set prev_seg and prev_subseg 589 when we assemble the first half of a pair. 590 5912000-12-22 H.J. Lu <hjl@gnu.org> 592 593 * config/tc-i386.c (reloc): Update the macro for non-bfd 594 assembler. 595 (BFD_RELOC_X86_64_GOTPCREL): Set to 0 for non-bfd assembler. 596 5972000-12-22 H.J. Lu <hjl@gnu.org> 598 599 * dwarf2dbg.c (dwarf2_finish): Remove #if BFD_ASSEMBLER. 600 601Wed Dec 20 14:21:22 MET 2000 Jan Hubicka <jh@suse.cz> 602 603 * tc-i386.h (i386_target_format): Define even for ELFs. 604 (QWORD_MNEM_SUFFIX): New macro. 605 (CpuK6,CpuAthlon,CpuSledgehammer, Cpu64, CpuNo64, CpuUnknownFlags): 606 New macros 607 (CpuMMX,CpuSSE,Cpu3dnow, CpuUnknown): Renumber. 608 (IgnoreSize, DefaultSize, No_?Suf, FWait, IsString, regKludge, IsPrefix, 609 ImmExt): Renumber. 610 (Size64, No_qSuf, NoRex64, Rex64): New macros. 611 (Reg64, Imm32S, Imm64, Disp32S, Disp64): New macros. 612 (Imm8, Imm8S, Imm16, Imm32, Imm1, BaseIndex, Disp8, Disp16, Disp32, 613 InOutPortReg,ShiftCount, Control, Debug, Test, FloatReg, FloatAcc, 614 SReg2, SReg3, Acc, JumpAbsolute, RegMMX, RegXMM, EsSeg, InvMem): 615 Renumber. 616 (Reg, WordReg): Add Reg64. 617 (Imm): Add Imm32S and Imm64. 618 (EncImm): New. 619 (Disp): Add Disp64 and Disp32S. 620 (AnyMem): Add Disp32S. 621 (RegRex, RegRex64): New macros. 622 (rex_byte): New type. 623 * tc-i386.c (set_16bit_code_flag): Kill. 624 (fits_in_unsigned_long, fits_in_signed_long): New functions. 625 (reloc): New parameter "signed"; support x86_64. 626 (set_code_flag): New. 627 (DEFAULT_ARCH): New macro; default to "i386". 628 (default_arch): New static variable. 629 (struct _i386_insn): New fields Operand_PCrel; rex. 630 (flag_16bit_code): Kill; All tests replaced to "flag_code == CODE_64BIT" 631 (flag_code): New enum and static variable. 632 (use_rela_relocations): New static variable. 633 (flag_code_names): New static variable. 634 (cpu_arch_flags): Default to CpuUnknownFlags|CpuNo64. 635 (cpu_arch): Add "sledgehammer"; Add CPUAthlon to Athlon and CpuK6 to 636 K6 and Athlon. 637 (i386_align_code): Return plain "nop" for x86_64. 638 (mode_from_disp_size): Support Disp32S. 639 (smallest_imm_type): Support Imm32S and Imm64. 640 (offset_in_range): Support size of 8. 641 (set_cpu_arch): Do not clobber to Cpu64/CpuNo64. 642 (md_pseudo_table): Add "code64"; use set_code_flat. 643 (md_begin): Emit sane error message on hash failure. 644 (tc_i386_fix_adjustable): Support x86_64 relocations. 645 (md_assemble): Support QWORD_MNEM_SUFFIX, REX registers, 646 instructions supported on particular arch just partially, 647 output of 64bit immediates, handling of Imm32S and Disp32S type. 648 (i386_immedaite): Support x86_64 relocations; support 64bit constants. 649 (i386_displacement): Likewise. 650 (i386_index_check): Cleanup; support 64bit addresses. 651 (md_apply_fix3): Support x86_64 relocation and rela. 652 (md_longopts): Add "32" and "64". 653 (md_parse_option): Add OPTION_32 and OPTION_64. 654 (i386_target_format): Call even for ELFs; choose between 655 elf64-x86-64 and elf32-i386. 656 (i386_validate_fix): Refuse GOTOFF in 64bit mode. 657 (tc_gen_reloc): Support rela relocations and x86_64. 658 (intel_e09_1): Support QWORD. 659 6602000-12-15 Diego Novillo <dnovillo@redhat.com> 661 662 * config/tc-i386.c (intel_e09_1): Only flag as a memory operand if 663 it's not an offset expression. 664 (intel_e10_1): Ditto. Also, if the operand is an offset expression, 665 keep the braces '[' and ']' in the output string. 666 (intel_e11): Ditto. Also remove comparison intel_parser.op_modifier 667 != FLAT. There is no such op_modifier. 668 6692000-12-14 Michael Sokolov <msokolov@ivan.Harhan.ORG> 670 671 * dwarf2dbg.c: If we don't have <limits.h>, try including <sys/param.h> 672 if we have it. 673 6742000-12-13 Kazu Hirata <kazu@hxi.com> 675 676 * as.h: Fix formatting. 677 * cgen.h: Likewise. 678 * dwarf2dbg.c: Likewise. 679 * input-scrub.c: Likewise. 680 * read.h: Likewise. 681 6822000-12-13 Mark Elbrecht <snowball3@bigfoot.com> 683 684 * configure.in (i386-*-msdosdjgpp): Set bfd_gas to yes. 685 configure: Regenerate. 686 6872000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG> 688 689 * dwarf2dbg.c: #include <limits.h> only if it exists. 690 6912000-12-13 Rodney Brown <RodneyBrown@mynd.com> 692 693 * config/tc-hppa.c (pa_ip): Correct CHECK_FIELD typo. 694 (md_apply_fix): Here too. 695 6962000-12-12 Jim Wilson <wilson@redhat.com> 697 698 * config/tc-ia64.h (ia64_init): Add prototype. 699 7002000-12-12 H.J. Lu <hjl@gnu.org> 701 702 * dwarf2dbg.c: Enabled only if BFD_ASSEMBLER is defined. 703 704 * read.h (outputting_stabs_line_debug): Change it to int. 705 * stabs.c (outputting_stabs_line_debug): Likewise. 706 7072000-12-12 Geoffrey Keating <geoffk@redhat.com> 708 709 * config/obj-bout.c (obj_crawl_symbol_chain): Don't take 710 the address of a function result. 711 7122000-12-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> 713 714 * config/tc-ppc.c (md_pseudo_table): Add .file and .loc. 715 (md_assemble): Call dwarf2_emit_insn. 716 (shlib): Fix typo SHILB -> SHLIB. 717 (md_parse_option): Likewise. 718 (ppc_elf_validate_fix): Likewise: 719 * config/tc-ppc.h (DWARF2_LINE_MIN_INSN_LENGTH): New. 720 7212000-12-12 Nick Clifton <nickc@redhat.com> 722 723 * cgen.h: Fix formatting. 724 * input-scrub.c: Fix formatting. 725 * macro.c: Fix formatting. 726 * config/tc-mips.c: Fix formatting. 727 * doc/c-mips.texi: Fix formatting. 728 729Mon Dec 11 14:35:42 MET 2000 Jan hubicka <jh@suse.cz> 730 731 * tc-i386.c (md_assemble): Refuse 's' and 'l' suffixes in the intel 732 mode; convert 'd' suffix to 's' or 'l'; remove all DWORD_MNEM_SUFFIX 733 references. 734 (intel_e09_1): Convert QWORD to 'l' suffix for FP operations; refuse 735 otherwise. 736 * tc-i386.h (DWORD_MNEM_SUFFIX): Kill. 737 (No_dSuf): Kill. 738 739 * i386.h (*_Suf): Remove No_dSuf. 740 (d_suf, wld_Suf,sld_Suf, sldx_Suf, bwld_Suf, d_FP, sld_FP, sldx_FP) 741 Remove. 742 (i386_optab): Remove 'd' in the suffixes. 743 7442000-12-06 Mark Elbrecht <snowball3@bigfoot.com> 745 746 * config/tc-i386.c (T_SHORT): Undefine before defining. 747 7482000-12-05 Kazu Hirata <kazu@hxi.com> 749 750 * config/tc-mips.c: Fix formatting. 751 7522000-12-04 Matthew Hiller <hiller@redhat.com> 753 754 * config/tc-d10v.c (flag_allow_gstabs_packing): New variable. 755 (md_longopts): New options --gstabs-packing, --no-gstabs-packing. 756 (md_show_usage): Ditto. 757 (md_parse_option): Ditto. 758 (d10v_cleanup): Writes pending instruction only if 759 ! outputting_stabs_line_debug || ! flag_allow_gstabs_packing. 760 Fix compile time warning messages. 761 762 * doc/c-d10v.texi: Documents new options. 763 7642000-12-04 Matthew Hiller <hiller@redhat.com> 765 766 * stabs.c (outputting_stabs_line_debug): New variable. 767 (stabs_generate_asm_lineno): Set outputting_stabs_line_debug at 768 function entry and unset at function exit. 769 770 * read.h (outputting_stabs_line_debug): New extern declaration. 771 772 * as.c: Include dwarf2dbg.h for definition of dwarf2_finish. 773 774 * dwarf2dbg.c: Fix compile time warning messages. 775 7762000-12-03 Kazu Hirata <kazu@hxi.com> 777 778 * config/tc-a29k.c: Fix formatting. 779 * config/tc-alpha.c: Likewise. 780 * config/tc-arm.c: Likewise. 781 * config/tc-cris.c: Likewise. 782 * config/tc-hppa.c: Likewise. 783 * config/tc-i370.c: Likewise. 784 * config/tc-i386.c: Likewise. 785 * config/tc-i860.c: Likewise. 786 * config/tc-i960.c: Likewise. 787 * config/tc-ia64.c: Likewise. 788 * config/tc-m68hc11.c: Likewise. 789 * config/tc-m68k.c: Likewise. 790 * config/tc-m88k.c: Likewise. 791 * config/tc-pj.c: Likewise. 792 * config/tc-ppc.c: Likewise. 793 * config/tc-sh.c: Likewise. 794 * config/tc-sparc.c: Likewise. 795 * config/tc-tahoe.c: Likewise. 796 * config/tc-vax.c: Likewise. 797 7982000-12-01 Chris Demetriou <cgd@sibyte.com> 799 800 * config/tc-mips.c (mips_ip): When calculating offsets, 801 don't accept as constant the difference between the 802 addresses of symbols in two different sections. 803 804 * config/tc-mips.c (macro_build): Add new 'U' and 'J' operand 805 specifiers. 806 (validate_mips_insn): Likewise. Also, update 'B' operand 807 specifier to use OP_*_CODE20 constants and delete 'm' operand 808 specifier. 809 (mips_ip): Remove 'm' operand specifier, add 'U' and 'J' 810 operand specifiers. Change warning generated by 'B' operand 811 specifier to reflect its new multi-purpose usage. 812 813 * config/tc-mips.c (mips_set_options): Use ISA_UNKNOWN rather than 814 -1, and update comment. 815 (file_mips_isa): Likewise. 816 (mips_cpu): Use CPU_UNKNOWN rather than -1, and update comment. 817 (ISA_HAS_COPROC_DELAYS, ISA_HAS_64BIT_REGS, gpr_interlocks): Use 818 ISA_* constants rather than hard-coded numbers. 819 (mips_cpu_info): New structure. 820 (mips_cpu_info_table): New table describing CPU and ISA names 821 and numbers. 822 (mips_cpu_info_from_name, mips_cpu_info_from_isa, 823 mips_cpu_info_from_cpu): New functions. 824 (mips_isa_to_str): New function to get string for ISA name. 825 (mips_cpu_to_str): Convert to use mips_cpu_info_from_cpu, and 826 return const char *. 827 (md_begin): Redo CPU and ISA selection logic, using 828 mips_cpu_info_from_*. Convert to use ISA_* constants rather 829 than hard-coded numbers. 830 (append_insn, mips_emit_delays, macro, macro2): Convert to use 831 ISA_* constants rather than hard-coded numbers. 832 (mips_ip): Convert to use mips_isa_to_str to get ISA name. 833 (md_longopts): Delete OPTION_NO_MIPS32. 834 (md_parse_option): Convert to use ISA_* constants rather than 835 hard-coded numbers. Make OPTIONS_MIPS32 case treat MIPS32 836 as an ISA. Delete OPTION_NO_MIPS32 case. Convert OPTION_MCPU 837 to use strcasecmp to recognize "default" and to use 838 mips_cpu_info_from_name to get CPU numbers from argument. 839 (md_show_usage): Move -mips32 so it's with the rest of the ISA 840 flags. Change 4Kc, 4Kp and 4Km CPU entries to just be 841 mips32-4k. 842 (s_mipsset): Accept ISA value 32. 843 * doc/as.texinfo: Clean up MIPS options summary slightly, 844 remove -no-mips32. Add note about -mips4 and -mips32 845 specifying those ISA levels. Delete -mips32 and -no-mips32 846 cpu flag descriptions. 847 * doc/c-mips.texi: Add -mips32 to list of ISA switches. Clean 848 up the supported CPU switch list, and replace 4Kc, 4Km, and 849 4Kp entries with a single mips32-4k entry. Note that you can 850 use ".set mips32". 851 852 * tc-mips.c (ISA_HAS_64BIT_REGS): Add checks for ISA_MIPS5 and 853 ISA_MIPS64. 854 (md_longopts, OPTION_MIPS5, OPTION_MIPS64): Add options for 855 -mips5 and -mips64. 856 (md_parse_option): Add cases for OPTION_MIPS5 and 857 OPTION_MIPS64. 858 (md_show_usage): Mention -mips5 and -mips64 arguments. 859 (s_mipsset): Add cases for MIPS5 and MIPS64. 860 (mips_cpu_info_table): Add entries for MIPS5 and MIPS64 ISAs 861 and pseudo-CPUs. 862 * doc/as.texinfo: Mention -mips5 and -mips64 options 863 and their meanings. 864 * doc/c-mips.texi: Likewise. Also update introduction 865 and ".set" usage information. 866 867 * config/tc-mips.c (md_show_usage): Add "sb1" to the 868 CPU list. 869 (mips_cpu_info_table): Add SB-1 entries. 870 * doc/c-mips.texi: Add "sb1" to the list of CPUs 871 known to the -mcpu option. 872 873 * doc/as.texinfo: Correct description of MIPS -mcpu 874 option, by copying some of the text from doc/c-mips.texi. 875 8762000-12-01 Joel Sherrill <joel@OARcorp.com> 877 878 * configure.in (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*): 879 New targets. 880 (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets. 881 (sparc*-*-rtems*): Switched from a.out to ELF. 882 * configure: Regenerate. 883 * config.in: Regenerate. 884 * Makefile.in: Regenerate. 885 * aclocal.m4: Regenerate. 886 * po/gas.pot: Regenerate. 887 8882000-11-30 Philip Blundell <pb@futuretv.com> 889 890 * config/obj-coff.c (obj_coff_weak): Use S_SET_WEAK if it exists, 891 even in non BFD_ASSEMBLER case. 892 8932000-11-30 Diego Novillo <dnovillo@redhat.com> 894 895 * tc-i386.c (md_assemble): Swap i.disp_relocs when using intel 896 syntax. 897 8982000-11-29 Richard Henderson <rth@redhat.com> 899 900 * dwarf2dbg.c: Rewrite from scratch. Queue all debugging output 901 until dwarf2_finish; use relaxation to get cross-fragment offsets; 902 thread multiple subsegments properly; handle multiple code 903 sections properly; emit proper compilation unit info for assembler 904 generated debugging. 905 906 * as.h (enum _relax_state): Add rs_dwarf2dbg. 907 * dwarf2dbg.h (struct dwarf2_line_info): Remove filename. 908 (dwarf2dbg_estimate_size_before_relax): Declare. 909 (dwarf2dbg_relax_frag, dwarf2dbg_convert_frag): Declare. 910 * write.c: Include dwarf2dbg.h. 911 (cvt_frag_to_fill): Handle rs_dwarf2dbg. 912 (relax_segment): Likewise. 913 9142000-11-28 Hans-Peter Nilsson <hp@bitrange.com> 915 916 * config/tc-sh.c (md_convert_frag) <undefined symbol, conditional 917 jump>: Use as_bad_where instead of as_bad. Tweak error message 918 accordingly. Stabilize frag by updating fix part and resetting 919 variant part. 920 <undefined symbol, unconditional jump>: Ditto. 921 (sh_elf_cons): Cast *input_line_pointer to unsigned char when 922 indexing is_end_of_line[]. 923 (md_assemble): Initialize size to 0. 924 (md_section_align): Mark parameter seg as unused. 925 (parse_reg): Parse names case-insensitively. 926 9272000-11-28 Kazu Hirata <kazu@hxi.com> 928 929 * config/obj-aout.h: Fix formatting. 930 * config/obj-bout.h: Likewise. 931 * config/obj-coff.c: Likewise. 932 * config/obj-coff.h: Likewise. 933 * config/obj-elf.h: Likewise. 934 * config/obj-som.h: Likewise. 935 * config/obj-vms.c: Likewise. 936 * config/obj-vms.h: Likewise. 937 * config/tc-h8300.h: Likewise. 938 * config/tc-ns32k.h: Likewise. 939 * config/tc-sparc.h: Likewise. 940 * config/tc-tic54x.h: Likewise. 941 * config/tc-z8k.h: Likewise. 942 9432000-11-28 Nick Clifton <nickc@redhat.com> 944 945 * doc/as.1 (COPYING): Mention that the GNU Free Documentation 946 License is present in the sources, but not the output, and 947 also available from the GNU website. 948 (GNU Free Documentation License): Comment out this section. 949 9502000-11-28 Hans-Peter Nilsson <hp@axis.com> 951 952 * Makefile.am (CPU_OBJ_VALID): Add case to filter out invalid coff 953 targets. Remove i860 from valid a.out targets. 954 * Makefile.in: Regenerate. 955 956 * config/tc-cris.c: Include dwarf2dbg.h. 957 (md_pseudo_table): Add .file and .loc. 958 (md_assemble): Call dwarf2_emit_insn if generating ELF. 959 (s_cris_file, s_cris_loc): New. 960 * config/tc-cris.h (DWARF2_LINE_MIN_INSN_LENGTH): Define. 961 * Makefile.am: Regenerate dependencies. 962 * Makefile.in: Regenerate. 963 9642000-11-28 Alan Modra <alan@linuxcare.com.au> 965 966 * expr.c (STANDARD_MUL_PRECEDENCE): Correct value. 967 (MRI_MUL_PRECEDENCE): Likewise. 968 (op_rank): Fix a comment typo. 969 9702000-11-26 Stephane Carrez <Stephane.Carrez@worldnet.fr> 971 972 * config/tc-m68hc11.c (build_indexed_byte): Print the offset in 973 the error message. 974 (get_operand): Fix analysis for movw/movb instructions. 975 9762000-11-24 Nick Clifton <nickc@redhat.com> 977 978 * configure.in (xscale-elf): Add target. 979 (xscale-coff): Add target. 980 * configure: Regenerate. 981 982 * config/tc-arm.c (ARM_EXT_V5E): New ARM architecture 983 extenstion. 984 (ARM_EXT_XSCALE): New ARM architecture extension. 985 (ARM_LONGMUL): Rename to ARM_EXT_LONGMUL. 986 (ARM_HALFWORD): Rename to ARM_EXT_HALFWORD. 987 (ARM_THUMB): Rename to ARM_EXT_THUMB. 988 (ARM_ARCH_V4): Remove processor from architecture. 989 (ARM_ARCH_3M): New architecutre definition. 990 (ARM_ARCH_V5TE): New architecutre definition. 991 (ARM_ARCH_XSCALE): New architecutre definition. 992 (CPU_DEFAULT): Allow to be defaulted to XScale. 993 (atpcs): New boolean variable. 994 (ldr_flags): Support 'd' flag for double word loads. 995 (str_flags): Support 'd' flag for double word stored. 996 (do_mia): New function. 997 (do_mar): New function. 998 (do_mra): New function. 999 (do_pld): New function. 1000 (do_ldrd): New function. 1001 (do_blx): New function. 1002 (do_bkpt): New function. 1003 (do_clz): New function. 1004 (do_lstc2): New function. 1005 (do_cdp2): New function. 1006 (do_t_blx): New function. 1007 (do_t_bkpt): New function. 1008 (do_smla): New function. 1009 (do_smlal): New function. 1010 (do_smul): New function. 1011 (do_qadd): New function. 1012 (do_co_reg2c): New function. 1013 (LONGEST_INSN): Redefine to 7. 1014 1015 * doc/c-arm.texi: Document -mxscale, -mmarmv5te and -matpcs 1016 command line switches. 1017 10182000-11-22 Jim Wilson <wilson@redhat.com> 1019 1020 * config/tc-ia64.c (pseudo_func): Add missing initializers. 1021 (struct rsrc): Make line unsigned. 1022 (gr_values): Add missing initializer. 1023 (SLOT_NUM_NOT_SET): Add unsigned cast. 1024 (ia64_elf_section_flags, output_vbyte_mem, count_output, dot_radix, 1025 dot_fframe, dot_vframe, dot_vframesp, dot_vframepsp, dot_save, 1026 dot_restore, dot_restorereg, dot_restorereg_p, dot_handlerdata, 1027 dot_unwentry, dot_altrp, dot_saveg, dot_savef, dot_saveb, dot_savegf, 1028 dot_spill, dot_spillreg, dot_spillreg_p, dot_label_state, 1029 dot_copy_state, dot_unwabi, dot_personality, dot_proc, dot_body, 1030 dot_prologue, dot_endp, dot_regstk, dot_psr, dot_alias, dot_ln, 1031 dot_reg_val, dot_entry, dot_mem_offset, ia64_init, mark_resource, 1032 md_undefined_symbol, md_apply_fix3, tc_gen_reloc, ia64_md_do_align): 1033 Add ATTRIBUTE_UNUSED to unused parameters. 1034 (convert_expr_to_ab_reg): Add parens. 1035 (convert_expr_to_xy_reg): Add parens. Comment out >= REG_GR test. 1036 (dot_prologue): Initialize grsave when declared. 1037 (md_pseudo_table): Add missing initializers. 1038 (operand_match): Add casts to bfd_vma. 1039 (emit_one_bundle): Delete unused local prev. Make required_template 1040 unsigned. 1041 (specify_resource): Cast i to unsigned. 1042 (note_register_values): Use fprintf_vma. 1043 (print_dependency): Likewise. 1044 10452000-11-21 Jim Wilson <wilson@redhat.com> 1046 1047 * config/tc-ia64.c (generate_unwind_image): Call record_alignment 1048 for unwind info section. 1049 (dot_endp): Likewise for unwind section. 1050 1051 * config/tc-ia64.c (emit_one_bundle): Pass size of 8 not 4 to 1052 fix_new_exp. 1053 10542000-11-21 Jakub Jelinek <jakub@redhat.com> 1055 1056 * config/tc-sparc.c (md_pseudo_table): Add .file and .loc. 1057 (output_insn): Call dwarf2_emit_insn. 1058 * config/tc-sparc.h (DWARF2_LINE_MIN_INSN_LENGTH): New. 1059 10602000-11-17 Richard Henderson <rth@redhat.com> 1061 1062 * ehopt.c (eh_frame_code_alignment): New arg `in_seg', update all 1063 callers. Don't switch segments. Expect CIE == -1 in .debug_frame. 1064 (check_eh_frame): Handle .eh_frame and .debug_frame concurrently. 1065 10662000-11-17 Nick Clifton <nickc@redhat.com> 1067 1068 * config/tc-arm.c (md_pseudo_table): Add support for .line and 1069 .file pseudo ops. 1070 10712000-11-17 Richard Henderson <rth@redhat.com> 1072 1073 * config/tc-i386.c (md_pseudo_table): Add .file and .loc. 1074 10752000-11-17 Richard Henderson <rth@redhat.com> 1076 1077 * dwarf2dbg.c (dwarf2_gen_line_info): Early out for no line number. 1078 * config/obj-elf.h (ECOFF_DEBUGGING) [TC_ALPHA]: Adjust for 1079 tri-state definition of alpha_flag_mdebug. 1080 * config/tc-alpha.c (alpha_flag_mdebug): Init to -1. 1081 (s_alpha_file): Store first .file directive. 1082 (s_alpha_stab): New. 1083 (md_pseudo_table): Add stabs and stabn. 1084 10852000-11-17 Richard Henderson <rth@redhat.com> 1086 1087 * config/tc-i386.c (md_assemble): Call dwarf2_emit_insn. 1088 10892000-11-17 Richard Henderson <rth@redhat.com> 1090 1091 * as.c (debug_type): Init to DEBUG_UNSPECIFIED. 1092 (main): Call dwarf2_finish. 1093 * as.h (debug_type): Clarify documentation of the meaning 1094 of this variable. 1095 * dwarf2dbg.c (DWARF2_LINE_MIN_INSN_LENGTH): Default to 1. 1096 (print_stats): Fix parenthesis problem. 1097 (now_subseg_size): New. 1098 (dwarf2_finish): Use it. If DEBUG_DWARF2, emit bits for .debug_info. 1099 (dwarf2_directive_file): Don't set debug_type. 1100 (dwarf2_where): Honor DEBUG_DWARF2 first. 1101 (dwarf2_emit_insn): Renamed from dwarf2_generate_asm_lineno; 1102 do nothing if not emitting dwarf2 debug info, or no work. 1103 * dwarf2dbg.h (dwarf2_emit_insn): Update. 1104 * ecoff.c (add_file): Turn on DEBUG_ECOFF only if DEBUG_UNSPECIFIED. 1105 (ecoff_new_file): Likewise. 1106 * read.c (generate_lineno_debug): Kill ecoff hackery. Update 1107 commentary wrt dwarf2. 1108 1109 * config/tc-alpha.c (alpha_adjust_symtab_relocs): Add 1110 ATTRIBUTE_UNUSED as needed. 1111 (emit_insn): Call dwarf2_emit_insn. 1112 (s_alpha_file): New. 1113 (s_alpha_loc): New. 1114 (s_alpha_coff_wrapper): Don't handle them. 1115 (md_pseudo_table): Update for .file and .loc. 1116 * config/tc-alpha.h (DWARF2_LINE_MIN_INSN_LENGTH): New. 1117 1118 * config/tc-arm.c (output_inst): Update for dwarf2_emit_insn; 1119 don't protect with debug_type. 1120 * config/tc-hppa.c (md_assemble): Likewise. 1121 * config/tc-m68hc11.c (m68hc11_new_insn): Likewise. 1122 * config/tc-mn10300.c (md_assemble): Likewise. 1123 * config/tc-sh.c (md_assemble): Likewise. 1124 * config/tc-v850.c (md_assemble): Likewise. 1125 1126 * config/tc-arm.c (arm_end_of_source): Remove. 1127 * config/tc-hppa.c (pa_end_of_source): Remove. 1128 * config/tc-m68hc11.c (m68hc11_end_of_source): Remove. 1129 * config/tc-mn10300.c (mn10300_finalize): Remove. 1130 * config/tc-sh.c (sh_finalize): Remove. 1131 * config/tc-v850.c (sh_finalize): Remove. 1132 1133 * config/tc-arm.h (md_end): Remove. 1134 * config/tc-hppa.h (md_end): Remove. 1135 (DWARF2_LINE_MIN_INSN_LENGTH): New. 1136 * config/tc-m68hc11.h (md_end): Remove. 1137 * config/tc-mn10300.h (md_end): Remove. 1138 * config/tc-sh.h (md_end): Remove. 1139 * config/tc-v850.h (md_end): Remove. 1140 1141 * config/tc-ia64.c (emit_one_bundle): Don't protect 1142 dwarf2 bits with debug_type. 1143 (md_assemble): Likewise. 1144 (ia64_end_of_source): Don't call dwarf2_finish. 1145 11462000-11-16 Jim Wilson <wilson@redhat.com> 1147 1148 * config/tc-ia64.c (errata_nop_necessary_p): Abort if general regno 1149 >= 128 instead of > 128. Abort if predicate regno is >= 64 instead of 1150 > 16. 1151 11522000-11-16 H.J. Lu <hjl@gnu.org> 1153 1154 * config/obj-elf.c (obj_elf_symver): Don't check the missing 1155 version name. 1156 11572000-11-15 Kazu Hirata <kazu@hxi.com> 1158 1159 * config/tc-tic30.c: Fix formatting. 1160 * config/tc-tic80.c: Likewise. 1161 * config/tc-v850.c: Likewise. 1162 * config/tc-vax.c: Likewise. 1163 * config/tc-w65.c: Likewise. 1164 * config/tc-z8k.c: Likewise. 1165 11662000-11-14 DJ Delorie <dj@redhat.com> 1167 1168 * config/tc-v850.c: Support dwarf2. 1169 * config/tc-v850.h: Ditto. 1170 1171 * config/tc-v850.c (cons_fix_new_v850): Don't rely on 1172 parse_cons_expression_v850 to initialize hold_cons_reloc. 1173 11742000-11-15 Bernd Schmidt <bernds@redhat.com> 1175 1176 * tc-ia64.c (struct md): New entries LAST_GROUPS, GROUP_IDX. 1177 (errata_nops_necessary_p): New function. 1178 (emit_one_bundle): Call it. Update the GROUP_IDX field in struct 1179 md. 1180 11812000-11-14 Jim Wilson <wilson@redhat.com> 1182 1183 * config/tc-ia64.c (ia64_target_format): If EF_IA_64_BE not set, then 1184 return little endian bfd formats. 1185 11862000-11-14 Kazu Hirata <kazu@hxi.com> 1187 1188 * config/aout_gnu.h: Fix formatting. 1189 * config/atof-vax.c: Likewise. 1190 * config/m68k-parse.h: Likewise. 1191 * config/m88k-opcode.h: Likewise. 1192 * config/obj-elf.c: Likewise. 1193 * config/tc-arm.c: Likewise. 1194 * config/tc-cris.c: Likewise. 1195 * config/tc-i386.c: Likewise. 1196 * config/tc-ia64.c: Likewise. 1197 * config/tc-mn10300.c: Likewise. 1198 * config/te-386bsd.h: Likewise. 1199 * config/te-hppa.h: Likewise. 1200 * config/te-nbsd.h: Likewise. 1201 * config/te-ppcnw.h: Likewise. 1202 * config/te-sparcaout.h: Likewise. 1203 * config/te-tmips.h: Likewise. 1204 * config/vax-inst.h: Likewise. 1205 * config/vms-conf.h: Likewise. 1206 12072000-11-14 Jakub Jelinek <jakub@redhat.com> 1208 1209 * config/tc-alpha.c (s_alpha_prologue): Preserve visibility bits. 1210 12112000-11-13 H.J. Lu <hjl@gnu.org> 1212 1213 * config/obj-elf.c (elf_frob_symbol): Support 1214 ".symver name,name2@@@nodename". 1215 (elf_frob_file_before_adjust): Likewise. 1216 1217 * doc/as.texinfo: Updated for ".symver name,name2@@@nodename" 1218 and ".symver name,name2@@@nodename". 1219 Fix a typo. 1220 12212000-11-12 H.J. Lu (hjl@gnu.org) 1222 1223 * config/obj-elf.c (obj_elf_symver): Check missing version 1224 name. 1225 12262000-11-12 H.J. Lu (hjl@gnu.org) 1227 1228 * dwarf2dbg.c (dwarf2_generate_asm_lineno): Use addressT 1229 instead of bfd_vma for non-bfd assemblers. 1230 12312000-11-09 Kazu Hirata <kazu@hxi.com> 1232 1233 * itbl-ops.c: Fix comment typos. 1234 12352000-11-08 Jim Wilson <wilson@redhat.com> 1236 1237 * config/tc-ia64.c (struct unw_rec_list): Add slot_frag field. 1238 (struct unwind): Add next_slot_frag field. 1239 (slot_index): New parameters slot_frag and first_frag. Add code 1240 to add in frag sizes when different. Add comments. 1241 (fixup_unw_records): New locals first_frag and last_frag. Pass new 1242 arguments to slot_index. 1243 (emit_one_bundle): Set slot_frag field. Set next_slot_number after 1244 loop end. Set next_slot_frag field. 1245 12462000-11-07 H.J. Lu <hjl@gnu.org> 1247 1248 * doc/as.texinfo (.symver): Updated for versioned symbol 1249 reference. 1250 1251 * obj.h (format_ops): Add the frob_file_before_adjust field. 1252 1253 * config/obj-aout.c (aout_format_ops): Set the 1254 frob_file_before_adjust field to 0. 1255 * config/obj-coff.c (coff_format_ops): Likewise. 1256 * config/obj-ecoff.c (ecoff_format_ops): Likewise. 1257 1258 * config/obj-elf.c (obj_elf_symver): Allow duplicated version 1259 name. 1260 (elf_frob_file_before_adjust): New function to remove unneeded 1261 versioned symbols from the symbol table. 1262 (elf_format_ops): Set the frob_file_before_adjust field to 1263 elf_frob_file_before_adjust. 1264 1265 * config/obj-elf.h (obj_frob_file_before_adjust): Defined if 1266 not defined. 1267 1268 * config/obj-multi.h (obj_frob_file_before_adjust): Defined. 1269 12702000-11-07 Peter Targett <peter.targett@arccores.com> 1271 1272 * gas/config/tc-arc.h: Avoid warnings for LITTLE_ENDIAN and 1273 BIG_ENDIAN macros. 1274 * gas/config/tc-arc.c: Use S_IS_LOCAL to test local symbols. 1275 Fix compile time warning messages. 1276 12772000-11-07 Nick Clifton <nickc@redhat.com> 1278 1279 * stabs.c (generate_asm_file): Increase length of xmalloc'ed 1280 buffer in order to avoid buffer overflows. 1281 12822000-11-06 Steve Ellcey <sje@cup.hp.com> 1283 1284 * config/tc-ia64.c (md_shortopts, md_parse_option, md_show_usage): 1285 Change M to m for -milp32 or -mlp64 to match gcc. 1286 (dot_endp): Use bytes_per_address instead of 8. 1287 (emit_one_bundle): Use number_to_chars_littleendian instead of 1288 md_number_to_chars. 1289 (fix_insn): Likewise. 1290 (ia64_init): New function. 1291 (ia64_target_format): New function. 1292 (md_begin): Set endianness, arch, and machine as appropriate. 1293 * config/tc-ia64.h: (TARGET_BYTES_BIG_ENDIAN, md_number_to_chars): 1294 Make these macros depend on TE_HPUX macro. 1295 (TARGET_FORMAT): Define. 1296 (HOST_SPECIAL_INIT): Define. 1297 * config/te-hpux.h: New file. 1298 * configure.in: Add "ia64-*-hpux*" target to configure. 1299 * configure: Regenerate. 1300 13012000-11-06 Kazu Hirata <kazu@hxi.com> 1302 1303 * as.c: Fix formatting. 1304 * dwarf2dbg.c: Likewise. 1305 * input-file.c: Likewise. 1306 * input-file.h: Likewise. 1307 * input-scrub.c: Likewise. 1308 * itbl-ops.c: Likewise. 1309 * listing.c: Likewise. 1310 * macro.h: Likewise. 1311 * messages.c: Likewise. 1312 * read.c: Likewise. 1313 * subsegs.c: Likewise. 1314 * subsegs.h: Likewise. 1315 * write.c: Likewise. 1316 13172000-11-06 Nick Clifton <nickc@redhat.com> 1318 1319 * doc/as.texinfo: Add GNU Free Documentation License. 1320 * doc/gasp.texi: Add GNU Free Documentation License. 1321 * doc/as.1: Add GNU Free Documentation License. 1322 13232000-11-05 Nick Clifton <nickc@redhat.com> 1324 1325 * config/tc-arm.c: Add include of "dwarf2dbg.h" 1326 13272000-11-02 Per Lundberg <plundis@chaosdev.org> 1328 1329 * configure.in: Recognise i[3456]86-chaosdev-storm-chaos. 1330 * configure: Regenerate. 1331 13322000-11-01 Nick Clifton <nickc@redhat.com> 1333 1334 * read.c (original_case_string): New global variable. 1335 (read_a_source_file): Copy opcode string into 1336 original_case_string if clobbering the case of the opcode. 1337 * read.h: Export the definition of original_case_string. 1338 * config/tc-arm.c (md_assembler): When parsing a .req 1339 directive use the original opcode string, not the case 1340 clobbered version. 1341 13422000-11-02 Nick Clifton <nickc@redhat.com> 1343 1344 * config/tc-mn10300.c (debug_line): Remove this static 1345 variable. 1346 (md_assemble): Call dwarf2_generate_asm_lineno instead of 1347 dwarf2_where and dwarf2_gen_line_info. 1348 13492000-11-02 Theo Honohan <th@futuretv.com> 1350 1351 * config/tc-arm.c (do_msr): Improve error message. 1352 13532000-10-31 Eric Christopher <echristo@redhat.com> 1354 1355 * config/tc-mn10300.c (md_apply_fix3): Use valuep if fully resolved 1356 or pc-relative, else use fx_offset. 1357 13582000-10-31 Jim Wilson <wilson@redhat.com> 1359 1360 * config/tc-ia64.c (struct md): New field tag_fixups. 1361 (ia64_flush_insns): Handle tag_fixups. Error if dangling 1362 qualifying predicate. 1363 (emit_one_bundle): Delete spurious multiplication by one. Handle 1364 tag_fixups. 1365 (ia64_start_line): Error if dangling qualifying predicate. 1366 (defining_tag): New static variable. 1367 (ia64_unrecognized_line, case '['): Parse tags. 1368 (ia64_frob_label): Create tag_fixups. 1369 (md_assemble): Reset md.qp.X_op after using it. 1370 13712000-10-31 Kaz Kojima <kkojima@rr.iij4u.or.jp> 1372 1373 * config/tc-sh.c (md_apply_fix [BFD_RELOC_SH_PCDISP12BY2]): Allow 4094. 1374 13752000-10-31 Bernd Schmidt <bernds@redhat.co.uk> 1376 1377 * tc-ia64.c (extra_goodness): Only prefer F in slot 1 and B in slot 2. 1378 13792000-10-30 Kazu Hirata <kazu@hxi.com> 1380 1381 * expr.c: Fix formatting. 1382 * flonum-copy.c: Likewise. 1383 * flonum.h: Likewise. 1384 * gasp.c: Likewise. 1385 * hash.c: Likewise. 1386 13872000-10-30 Hans-Peter Nilsson <hp@bitrange.com> 1388 1389 * as.h (OPTION_MD_BASE): Bump to 190. 1390 * as.c (parse_args) <std_longopts>: Add comment about the need to 1391 check OPTION_MD_BASE in as.h. 1392 1393 * config/tc-sh.c (md_apply_fix): For ELF, do not "adjust back" VAL 1394 for weak symbols. 1395 13962000-10-27 Nick Clifton <nickc@redhat.com> 1397 1398 * configure.in (emulations): Add m68hc12. 1399 * configure: Regenerate. 1400 * po/gas.pot: Regenerate. 1401 14022000-10-27 Aldy Hernandez <aldyh@redhat.com> 1403 1404 * config/tc-arm.c (psrs): Remove lowercase versions of spsr* and 1405 cpsr*. 1406 (arm_psr_parse): Handle lowercase CPSR and SPSR. 1407 14082000-10-25 Nick Clifton <nickc@redhat.com> 1409 1410 * dwarf2out.c (dwarf2_generate_asm_lineno): New function: Generate 1411 a DWARF2 line number information sequence. 1412 1413 *dwarf2out.h: Add prototype for dwarf2_generate_asm_lineno. 1414 1415 * read.c (generate_lineno_debug): Update comment describing why 1416 DWARF2 line number debug information is not generated 1417 automatically by this function. 1418 1419 * doc/as.texinfo: Note that --gdwarf2 only works on some targets, 1420 not all. 1421 1422 * config/tc-arm.h (md_end): Define. 1423 (DWARF2_LINE_MIN_INSN_LENGTH): Define. 1424 1425 * config/tc-arm.c (output_inst): Call dwarf2_generate_asm_lineno 1426 if generating DWARF2 line numbers. 1427 (arm_end_of_source): New function. Call dwarf2_finish if 1428 necessary. 1429 1430 * config/tc-hppa.c (md_assemble): Use dwarf2_generate_asm_lineno. 1431 * config/tc-m68hc11.c (m68hc11_new_insn): Use dwarf2_generate_asm_lineno. 1432 * config/tc-sh.c (md_assemble): Use dwarf2_generate_asm_lineno. 1433 14342000-10-25 Diego Novillo <dnovillo@cygnus.com> 1435 1436 * tc-i386.c: Fix prototype declarations for functions taking no 1437 arguments. 1438 14392000-10-24 Diego Novillo <dnovillo@cygnus.com> 1440 1441 * tc-i386.c (i386_operand_modifier): Remove. 1442 (build_displacement_string): Remove. 1443 (i386_parse_seg): Remove. 1444 (i386_intel_memory_operand): Remove. 1445 (i386_intel_operand): Re-write using recursive descent parser based 1446 on MASM documentation. 1447 (struct intel_parser_s): New structure. 1448 (intel_parser): New static variable. 1449 (struct intel_token): New structure. 1450 (cur_token, prev_token): New static variables. 1451 (T_NIL): Define. 1452 (T_CONST): Define. 1453 (T_REG): Define. 1454 (T_BYTE): Define. 1455 (T_WORD): Define. 1456 (T_DWORD): Define. 1457 (T_QWORD): Define. 1458 (T_XWORD): Define. 1459 (T_SHORT): Define. 1460 (T_OFFSET): Define. 1461 (T_PTR): Define. 1462 (T_ID): Define. 1463 (intel_match_token): New function. 1464 (intel_get_token): New function. 1465 (intel_putback_token): New function. 1466 (intel_expr): New function. 1467 (intel_e05): New function. 1468 (intel_e05_1): New function. 1469 (intel_e06): New function. 1470 (intel_e06_1): New function. 1471 (intel_e09): New function. 1472 (intel_e09_1): New function. 1473 (intel_e10): New function. 1474 (intel_e10_1): New function. 1475 (intel_e11): New function. 1476 14772000-10-20 Jakub Jelinek <jakub@redhat.com> 1478 1479 * config/tc-sparc.c (sparc_ip): Fix a bug which caused v9_arg_p 1480 instructions to loose any special insn->architecture mask. 1481 1482 * config/tc-sparc.c (v9a_asr_table): Add v9b ASRs. 1483 (sparc_md_end, sparc_arch_types, sparc_arch, 1484 sparc_elf_final_processing): Handle v8plusb and v9b architectures. 1485 (sparc_ip): Handle siam mode operands. Support v9b ASRs (and 1486 request v9b architecture if they are used). 1487 14882000-10-18 Michael Sokolov <msokolov@ivan.Harhan.ORG> 1489 1490 * config/tc-m68k.c: Fix the previous misapplied patch. 1491 14922000-10-18 Michael Sokolov <msokolov@ivan.Harhan.ORG> 1493 1494 * config/tc-m68k.h (RELAX_RELOC_*): New definitions for both 1495 BFD_ASSEMBLER and !BFD_ASSEMBLER. 1496 * config/tc-m68k.c (md_convert_frag_1): Use them instead of 1497 BFD_RELOC_*. 1498 14992000-10-17 Kazu Hirata <kazu@hxi.com> 1500 1501 * debug.c: Fix formatting. 1502 * depend.c: Likewise. 1503 * dwarf2dbg.c: Likewise. 1504 * dwarf2dbg.h: Likewise. 1505 * ecoff.c: Likewise. 1506 * expr.c: Likewise. 1507 * expr.h: Likewise. 1508 * flonum-konst.c: Likewise. 1509 * frags.h: Likewise. 1510 15112000-10-17 Chandrakala Chavva <cchavva@redhat.com> 1512 1513 * as.c: New option OPTION_TARGET_HELP. Prints all target specific 1514 options. 1515 * doc/as.texinfo: Added notes about this new option. 1516 15172000-10-16 Hans-Peter Nilsson <hp@bitrange.com> 1518 1519 * config/tc-sh.c (JREG): Remove. 1520 (md_convert_frag): Remove #if 0:d code using JREG. 1521 15222000-10-15 Diego Novillo <dnovillo@cygnus.com> 1523 1524 * config/tc-i386.c (i386_operand_modifier): Only match 1525 modifiers SHORT and FLAT if they are followed by a space. 1526 (parse_register): When `allow_naked_reg' is set, do not confuse 1527 identifiers that start with a register name with a register. 1528 15292000-10-12 Kazu Hirata <kazu@hxi.com> 1530 1531 * app.c: Fix formatting. 1532 * as.c: Likewise. 1533 * as.h: Likewise. 1534 * bit_fix.h: Likewise. 1535 * cgen.c: Likewise. 1536 * cgen.h: Likewise. 1537 * cond.c: Likewise. 1538 15392000-10-11 Alan Modra <alan@linuxcare.com.au> 1540 1541 * config/obj-elf.c (elf_frob_symbol): Revert 2000-10-07 change. 1542 15432000-10-07 Alan Modra <alan@linuxcare.com.au> 1544 1545 * config/tc-hppa.c (md_apply_fix): Remove plainly wrong assert. 1546 Re-arrange function a little and improve error message. 1547 1548 * write.c (write_relocs): Fix a comment. 1549 1550 * config/obj-elf.c (elf_frob_symbol): Make section syms global on 1551 link-once sections. 1552 15532000-10-05 Jim Wilson <wilson@cygnus.com> 1554 1555 * config/tc-ia64.c (resources_match): Handle IA64_RS_PRr. 1556 15572000-10-05 Alan Modra <alan@linuxcare.com.au> 1558 1559 * config/tc-i386.c: Delete some useless comments, reformat others. 1560 1561 * config/tc-i386.h (TC_FIX_ADJUSTABLE): Add check to cover 1562 non-global syms in linkonce sections. 1563 15642000-10-04 Ralf Baechle <ralf@gnu.org> 1565 1566 * config/tc-ia64.c (operand_match): Don't use // style comments. 1567 * config/tc-i370.c: Likewise. 1568 15692000-09-29 Hans-Peter Nilsson <hp@axis.com> 1570 1571 Changes to handle varying register prefix and user symbol prefix. 1572 * config/tc-cris.c (SYNTAX_RELAX_REG_PREFIX, 1573 SYNTAX_ENFORCE_REG_PREFIX, SYNTAX_USER_SYM_LEADING_UNDERSCORE, 1574 SYNTAX_USER_SYM_NO_LEADING_UNDERSCORE, REGISTER_PREFIX_CHAR): New. 1575 (s_syntax, cris_force_reg_prefix, cris_relax_reg_prefix, 1576 cris_sym_leading_underscore, cris_sym_no_leading_underscore): New. 1577 (demand_register_prefix): New variable. 1578 (md_pseudo_table): New pseudo ".syntax". 1579 (md_longopts): New options --no-underscore and --underscore. 1580 (cris_target_format): Return elf32-us-cris or elf32-cris depending 1581 on symbols_have_leading_underscore. 1582 (get_gen_reg): Accept or require REGISTER_PREFIX_CHAR. 1583 (get_spec_reg): Ditto. 1584 (cris_number_to_imm) <case BFD_RELOC_VTABLE_ENTRY>: Remove FIXME. 1585 Fix formatting. 1586 (md_parse_option) <case 'h' 'H'>: Deprecate; add reference to 1587 --help. 1588 <case OPTION_NO_US, case OPTION_US>: New. 1589 (md_show_usage): Be brief and reformat to match continuation of 1590 --help. 1591 * po/gas.pot: Regenerate. 1592 15932000-09-28 Alan Modra <alan@linuxcare.com.au> 1594 1595 * config/tc-hppa.c (hppa_force_relocation): If OBJ_SOM, don't 1596 force relocs for 12 bit branches. 1597 (md_apply_fix): Similarly, adjust logic here. 1598 15992000-09-28 Alan Modra <alan@linuxcare.com.au> 1600 1601 * config/tc-hppa.c (md_apply_fix): Add fmt assertion. Don't 1602 adjust for external and weak syms as we will use a reloc. Allow 1603 for +8 offset when calculating limits of branches. 1604 (hppa_fix_adjustable): Undo 2000-09-23 change. 1605 (hppa_force_relocation): Likewise. Add fx_addsy assertion. 1606 Correct distance calculation. 1607 (tc_gen_reloc): Print the file name and line number if we can't 1608 handle a fixup. 1609 1610 From John David Anglin <dave@hiauly1.hia.nrc.ca> 1611 * config/tc-hppa.c (nonzero_dibits): Define. 1612 (arg_reloc_stub_needed): Check each arg and return value 1613 separately for zero case. 1614 (pa_align): Declare argument `bytes'. 1615 16162000-09-25 Kazu Hirata <kazu@hxi.com> 1617 1618 * config/tc-cris.c: Fix formatting. 1619 * config/tc-d10v.h: Likewise. 1620 * config/tc-d30v.c: Likewise. 1621 * config/tc-d30v.h: Likewise. 1622 * config/tc-fr30.c: Likewise. 1623 * config/tc-fr30.h: Likewise. 1624 * config/tc-m68k.c: Likewise. 1625 * config/tc-m68k.h: Likewise. 1626 * config/tc-pj.h: Likewise. 1627 * config/tc-ppc.c: Likewise. 1628 * config/tc-ppc.h: Likewise. 1629 * config/tc-sh.c: Likewise. 1630 * config/tc-sh.h: Likewise. 1631 * config/tc-sparc.c: Likewise. 1632 * config/tc-v850.h: Likewise. 1633 * config/tc-vax.h: Likewise. 1634 * config/tc-w65.h: Likewise. 1635 * config/tc-z8k.h: Likewise. 1636 16372000-09-23 Alan Modra <alan@linuxcare.com.au> 1638 1639 * config/tc-hppa.c (hppa_fix_adjustable): Do the external and weak 1640 checks only for ELF. 1641 (hppa_force_relocation): Likewise. 1642 16432000-09-22 Jim Wilson <wilson@cygnus.com> 1644 1645 * config/tc-ia64.c (dv_sem): Add "stop". 1646 (specify_resource, case IA64_RS_PR): Only handles regs 1 to 15 now. 1647 (specify_resource, case IA64_RS_PRr): New for regs 16 to 62. 1648 (specify_resource, case IA64_RS_PR63): Reorder (note == 7) test to 1649 match above. 1650 (mark_resources): Check IA64_RS_PRr. 1651 16522000-09-22 Michael Sokolov <msokolov@ivan.Harhan.ORG> 1653 1654 * config/tc-m68k.c (md_relax_table, m68k_ip, md_convert_frag_1, 1655 md_estimate_size_before_relax): Redesign and clean up the 1656 relaxation mechanism. 1657 16582000-09-21 Kazu Hirata <kazu@hxi.com> 1659 1660 * config/tc-ns32k.c: Fix formatting. 1661 * config/tc-ns32k.h: Likewise. 1662 16632000-09-20 Kazu Hirata <kazu@hxi.com> 1664 1665 * config/tc-m32r.c: Fix formatting. 1666 * config/tc-m32r.h: Likewise. 1667 * config/tc-m68851.h: Likewise. 1668 * config/tc-m68hc11.c: Likewise. 1669 * config/tc-m68hc11.h: Likewise. 1670 * config/tc-m88k.c: Likewise. 1671 * config/tc-mcore.c: Likewise. 1672 * config/tc-mcore.h: Likewise. 1673 * config/tc-mips.c: Likewise. 1674 * config/tc-mips.h: Likewise. 1675 * config/tc-mn10200.h: Likewise. 1676 * config/tc-mn10300.h: Likewise. 1677 * config/tc-tahoe.c: Likewise. 1678 * config/tc-tahoe.h: Likewise. 1679 16802000-09-19 Michael Sokolov <msokolov@ivan.Harhan.ORG> 1681 1682 * config/tc-vax.c (synthetic_votstrs): Remove jbssi and jbcci. 1683 Likewise in relaxation description comments. 1684 16852000-09-18 Alan Modra <alan@linuxcare.com.au> 1686 1687 * config/tc-hppa.h (TC_FORCE_RELOCATION_SECTION): Allow 1688 subtraction of two syms without emitting a relocation. 1689 1690 From David Huggins-Daines <dhd@linuxcare.com> 1691 * config/tc-hppa.c (hppa_force_relocation): Force relocations for 1692 global or weak symbols. 1693 16942000-09-15 Kazu Hirata <kazu@hxi.com> 1695 1696 * config/tc-h8300.h: Fix formatting. 1697 * config/tc-h8500.c: Likewise. 1698 * config/tc-h8500.h: Likewise. 1699 * config/tc-hppa.h: Likewise. 1700 * config/tc-i370.h: Likewise. 1701 * config/tc-i386.h: Likewise. 1702 * config/tc-i860.c: Likewise. 1703 * config/tc-i860.h: Likewise. 1704 * config/tc-i960.h: Likewise. 1705 * config/tc-ia64.c: Likewise. 1706 * config/tc-ia64.h: Likewise. 1707 17082000-09-14 Kazu Hirata <kazu@hxi.com> 1709 1710 * config/tc-a29k.c: Fix formatting. 1711 * config/tc-alpha.c: Likewise. 1712 * config/tc-arc.c: Likewise. 1713 * config/tc-arc.h: Likewise. 1714 * config/tc-arm.c: Likewise. 1715 * config/tc-arm.h: Likewise. 1716 * config/tc-avr.c: Likewise. 1717 * config/tc-avr.h: Likewise. 1718 * config/tc-tic30.c: Likewise. 1719 * config/tc-tic30.h: Likewise. 1720 * config/tc-tic54x.c: Likewise. 1721 * config/tc-tic54x.h: Likewise. 1722 * config/tc-tic80.c: Likewise. 1723 * config/tc-tic80.h: Likewise. 1724 17252000-09-14 Timothy Wall <twall@cygnus.com> 1726 1727 * config/tc-ia64.c (specify_resource): For PR%/PR63, note types of 1728 parallel comparisons for later use. 1729 (struct rsrc): Add parallel comparison type. 1730 (resources_match): Skip special cases of PR usage (non-conflicting 1731 parallel compares). 1732 17332000-09-13 Kazu Hirata <kazu@hxi.com> 1734 1735 * config/obj-ecoff.c: Fix formatting. 1736 * config/obj-elf.c: Likewise. 1737 * config/obj-elf.h: Likewise. 1738 * config/obj-evax.h: Likewise. 1739 * config/obj-generic.h: Likewise. 1740 * config/obj-hp300.c: Likewise. 1741 * config/obj-hp300.h: Likewise. 1742 * config/obj-ieee.h: Likewise. 1743 * config/obj-vms.c: Likewise. 1744 * config/obj-vms.h: Likewise. 1745 17462000-09-13 Anders Norlander <anorland@acc.umu.se> 1747 1748 * config/tc-mips.c (md_begin): Recognize 4Kc, 4Km and 4Kp processors. 1749 (md_parse_option): Ditto. 1750 (md_longopts): Add -mips32 option. 1751 (md_show_usage): Document new options. 1752 (mips_ip): Assemble sdbbp 20 bit 'm' args for MIPS32. 1753 (mips_ip): Assemble mfc0 with a sub-selection code. 1754 (validate_mips_insn): Handle 'H' (OP_*_SEL) and 'm' (OP_*_CODE20). 1755 (mips_cpu_to_str): New function. 1756 (mips_ip): Use mips_cpu_to_str instead of printing numeric cpu value. 1757 Use CPU_* defines instead of hardcoded numbers. 1758 1759 * doc/as.texinfo: Document new options. 1760 * doc/c-mips.texi: Ditto. 1761 17622000-09-12 Kazu Hirata <kazu@hxi.com> 1763 1764 * as.h: Fix formatting. 1765 * asintl.h: Likewise. 1766 * bit_fix.h: Likewise. 1767 * config/obj-aout.c: Likewise. 1768 * config/obj-aout.h: Likewise. 1769 * config/obj-bout.c: Likewise. 1770 * config/obj-bout.h: Likewise. 1771 * config/obj-coff.c: Likewise. 1772 * config/obj-coff.h: Likewise. 1773 * dwarf2dbg.h: Likewise. 1774 * expr.h: Likewise. 1775 * flonum.h: Likewise. 1776 * frags.h: Likewise. 1777 * itbl-ops.h: Likewise. 1778 * macro.h: Likewise. 1779 * read.h: Likewise. 1780 * sb.h: Likewise. 1781 * struc-symbol.h: Likewise. 1782 * subsegs.h: Likewise. 1783 * symbols.h: Likewise. 1784 * tc.h: Likewise. 1785 * write.h: Likewise. 1786 17872000-09-11 Kazu Hirata <kazu@hxi.com> 1788 1789 * bignum-copy.c: Fix formatting. 1790 * config/tc-i370.c: Likewise. 1791 * config/tc-i960.c: Likewise. 1792 * config/tc-m68k.c: Likewise. 1793 * ehopt.c: Likewise. 1794 * flonum-copy.c: Likewise. 1795 * flonum-konst.c: Likewise. 1796 * flonum-mult.c: Likewise. 1797 * literal.c: Likewise. 1798 * read.c: Likewise. 1799 * sb.c: Likewise. 1800 * stabs.c: Likewise. 1801 * subsegs.c: Likewise. 1802 18032000-09-09 Philip Blundell <philb@gnu.org> 1804 1805 * configure.in (arm*-*-uclinux*): New target. 1806 * configure: Regenerate. 1807 18082000-09-09 Kazu Hirata <kazu@hxi.com> 1809 1810 * input-file.c: Fix formatting. 1811 * itbl-ops.c: Likewise. 1812 * messages.c: Likewise. 1813 18142000-09-08 Philip Blundell <philb@gnu.org> 1815 1816 * config/tc-arm.c (md_apply_fix3): Correct handling of ADRL when 1817 offset is negative. 1818 18192000-09-07 H.J. Lu <hjl@gnu.org> 1820 1821 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM. 1822 * configure: Rebuild. 1823 18242000-09-07 Kazu Hirata <kazu@hxi.com> 1825 1826 * atof-generic.c: Fix formatting. 1827 * config/tc-mips.c: Likewise. 1828 * config/tc-vax.c: Likewise. 1829 * input-scrub.c: Likewise. 1830 18312000-09-07 Alexandre Oliva <aoliva@redhat.com> 1832 1833 * config/tc-sh.h (TARGET_FORMAT): Use sh-linux targets. 1834 * configure.in (sh-*-linux*): Added. 1835 * configure: Rebuilt. 1836 18372000-09-06 Kazu Hirata <kazu@hxi.com> 1838 1839 * config/tc-hppa.c: Fix formatting. 1840 1841 * ecoff.c: Fix formatting. 1842 18432000-09-06 Alexandre Oliva <aoliva@redhat.com> 1844 1845 * configure: Rebuilt with new libtool.m4. 1846 18472000-09-05 Kazu Hirata <kazu@hxi.com> 1848 1849 * cgen.c: Fix formatting. 1850 * config/tc-ia64.c: Likewise. 1851 18522000-09-05 Nick Clifton <nickc@redhat.com> 1853 1854 * aclocal.m4: Regenerate. 1855 * config.in: Regenerate. 1856 * configure: Regenerate. 1857 * po/gas.pot: Regenerate. 1858 18592000-09-05 Hans-Peter Nilsson <hp@axis.com> 1860 1861 * config/tc-cris.c: Correct comment typos. 1862 18632000-09-05 Eric Christopher <echristo@cygnus.com> 1864 1865 * config/tc-mn10300.c: Cleanup. 1866 (md_pcrel_from): Enable. 1867 18682000-09-05 Alan Modra <alan@linuxcare.com.au> 1869 1870 * expr.c (operand): Fix a comment typo. 1871 * write.c (write_relocs): Fix a signed/unsigned warning. 1872 1873 * config/tc-hppa.c (fudge_reg_expressions): New 1874 (hppa_force_reg_syms_absolute): New. 1875 (pa_equ): Allow reg_section expressions. 1876 * config/tc-hppa.c (md_optimize_expr): Define. 1877 (hppa_force_reg_syms_absolute): Prototype. 1878 1879 * config/tc-hppa.c (pa_11_fp_reg_struct): Delete. 1880 (pa_parse_number): Pass in arg to select fp reg parsing. 1881 Return 1 to indicate format checks pass. If strict, then only 1882 accept a register or register symbol. Return value in... 1883 (pa_number): New static for pa_parse_number. 1884 (FP_REG_BASE): Define. 1885 (FP_REG_RSEL): Define. 1886 (pre_defined_registers): Apply FP_REG_BASE and FP_REG_RSEL as 1887 appropriate. White space changes. 1888 (need_pa11_opcode): Don't bother passing any params, get them from 1889 globals instead. 1890 (pa_ip): Modify all calls to pa_parse_number and need_pa11_opcode. 1891 Remove extraneous check in case 'Q'. 1892 (pa_equ): Modify call to pa_parse_number to do strict parsing. If 1893 reg, set section of resulting symbol to reg_section. 1894 (pa_parse_space_stmt): Modify call to pa_parse_number. 1895 (pa_space): Likewise. 1896 1897 * config/tc-hppa.c: (md_apply_fix): Handle vtable relocs. 1898 (hppa_force_relocation): Handle vtable relocs. 1899 (pa_vtable_entry): New. 1900 (pa_vtable_inherit): New. 1901 (md_pseudo_table): Add entries for vtable pseudos. 1902 (hppa_fix_adjustable): Reject reduction of R_PARISC_GNU_VTINHERIT 1903 and R_PARISC_GNU_VTENTRY relocs. Reject reduction of relocs 1904 against weak syms. 1905 (tc_gen_reloc): Remove ELF_ARG_RELOC_INSN code. 1906 (pa_type_args): Don't call symbol_get_bfdsym multiple times. 1907 Set STT_PARISC_MILLICODE for OBJ_ELF when encountering a 1908 millicode import. 1909 * config/obj-elf.c (obj_elf_type): Allow md_elf_symbol_type to 1910 specify a symbol type. 1911 1912 * config/tc-hppa.h: Reorganize file a little, grouping OBJ_ELF 1913 dependent things together. 1914 (md_elf_symbol_type): Define. 1915 1916 * config/tc-hppa.c (fix_new_hppa): Elide "$PIC_pcrel$0" pseudo 1917 symbol. 1918 * config/tc-hppa.h (tc_frob_symbol): Elide "$PIC_pcrel$0" here too. 1919 1920 * config/obj-elf.h (obj_elf_vtable_inherit): Declare. 1921 (obj_elf_vtable_entry): Declare. 1922 1923 * config/obj-elf.c (obj_elf_vtable_inherit): Return struct fix * 1924 and export function. 1925 (obj_elf_vtable_entry): Similarly. 1926 (elf_pseudo_table): Fix the damage with a cast. 1927 19282000-09-03 Richard Henderson <rth@cygnus.com> 1929 1930 * config/tc-ia64.c (emit_one_bundle): Stop collecting insns 1931 for template selection when a label is needed. 1932 19332000-09-02 Kazu Hirata <kazu@hxi.com> 1934 1935 * config/tc-ia64.c: Fix formatting. 1936 19372000-09-02 Nick Clifton <nickc@redhat.com> 1938 1939 * configure.in: Increase version number to 2.10.91. 1940 * configure: Regenerate. 1941 * aclocal.m4: Regenerate. 1942 * config.in: Regenerate. 1943 * po/gas.pot: Regenerate. 1944 * Makefile.in: Regenerate. 1945 19462000-09-01 Alexandre Oliva <aoliva@redhat.com> 1947 1948 * config/tc-sh.h [OBJ_ELF] (TC_FIX_ADJUSTABLE): Define. 1949 * config/tc-sh.c (md_apply_fix): Map 32-bit relocations that 1950 become PC-relative to BFD_RELOC_32_PCREL. Reject 16- or 8-bit 1951 similar relocs. 1952 (sh_obj_adjustable): Return 1 for PC-relative offsets used in 1953 branches. 1954 19552000-09-01 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com> 1956 1957 * config/tc-sh.h (DIFF_EXPR_OK, GLOBAL_OFFSET_TABLE_NAME, 1958 TC_RELOC_GLOBAL_OFFSET_TABLE, TC_RELOC_RTSYM_LOC_FIXUP): Define. 1959 * config/tc-sh.c (sh_elf_cons, sh_elf_suffix): New functions. 1960 [OBJ_ELF] (md_pseudo_table) <long, int, word, short>: Use them. 1961 (GOT_symbol): New variable. 1962 (md_undefined_symbol): Set it. 1963 19642000-09-01 Richard Henderson <rth@cygnus.com> 1965 1966 * config/tc-ia64.c (match): Don't inline. 1967 (extra_goodness): New. 1968 (md_begin): Prefer nop.f and nop.b for best_template. 1969 19702000-08-31 Kazu Hirata <kazu@hxi.com> 1971 1972 * as.c: Fix formatting. 1973 * cond.c: Likewise. 1974 * frags.c: Likewise. 1975 * macro.c: Likewise. 1976 19772000-08-31 Eric Christopher <echristo@cygnus.com> 1978 1979 * config/tc-mn10300.c: Cleanup and fix warnings. 1980 (md_pseudo_table): Add initializers. 1981 (md_show_usage): Cleanup. 1982 (md_parse_option): Fix warnings. 1983 (md_undefined_symbol): Fix warnings. 1984 (md_conver_frag): Fix warnings. 1985 (tc_gen_reloc): Fix warnings. 1986 (md_apply_fix3): Fix warnings. 1987 (check_operand): Fix warnings. 1988 19892000-08-31 Alexandre Oliva <aoliva@redhat.com> 1990 1991 * acinclude.m4: Include libtool and gettext macros from the 1992 top level. 1993 * aclocal.m4, configure: Rebuilt. 1994 19952000-08-30 Mark Hatle <mhatle@mvista.com> 1996 1997 * config/tc-ppc.c (md_parse_option): Recognize -m405. 1998 19992000-08-31 Kazu Hirata <kazu@hxi.com> 2000 2001 * listing.c: Fix formatting. 2002 20032000-08-29 Kazu Hirata <kazu@hxi.com> 2004 2005 * app.c: Fix a comment typo. Fix formatting. 2006 20072000-08-25 J. David Anglin <dave@hiauly1.hia.nrc.ca> 2008 2009 * tc-vax.c (md_convert_frag): Correctly calculate the pc relative 2010 offset of the target destination for jmp instructions. 2011 (md_assemble): Change mode to VAX_ABSOLUTE_MODE as per comments. 2012 20132000-08-24 Hans-Peter Nilsson <hp@axis.com> 2014 2015 * NEWS: Mention support for CRIS. 2016 2017Thu Aug 24 20:41:05 2000 Denis Chertykov <denisc@overta.ru> 2018 2019 * config/tc-avr.h (TC_IMPLICIT_LCOMM_ALIGNMENT): New macros. 2020 Sets `.lcomm' alignment to zero. 2021 20222000-08-23 Alexandre Oliva <aoliva@redhat.com> 2023 2024 * config/tc-i386.h <OBJ_MAYBE_ELF, OBJ_MAYBE_COFF> 2025 (TC_FIX_ADJUSTABLE): Define. 2026 20272000-08-23 Jim Wilson <wilson@cygnus.com> 2028 2029 * config/tc-ia64.c (output_unw_records): Set U & E flags only if 2030 unwind.personality_routine is set. 2031 20322000-08-23 H.J. Lu <hjl@gnu.org> 2033 2034 * write.c (TC_FIX_ADJUSTABLE): Remove the duplicate. 2035 20362000-08-23 Alexandre Oliva <aoliva@redhat.com> 2037 2038 * config/tc-i386.h (TC_FIX_ADJUSTABLE): Do *NOT* define if target 2039 environment is pe. 2040 20412000-08-22 H.J. Lu <hjl@gnu.org> 2042 2043 * config.in (STRICTCOFF): New for strict COFF. 2044 2045 * configure.in: Define STRICTCOFF for i386-*-msdosdjgpp*, 2046 i386-*-go32* and i386-go32-rtems*. 2047 * configure: Rebuilt. 2048 2049 * config/obj-coff.c (obj_coff_endef): Follow the historical 2050 behavior if STRICTCOFF is not defined. 2051 2052 * doc/internals.texi: Document STRICTCOFF. 2053 20542000-08-22 Alexandre Oliva <aoliva@redhat.com> 2055 2056 * write.c (TC_FIX_ADJUSTABLE): Define to 1, if not defined. 2057 (fixup_segment) Use it instead of TC_DONT_FIX_NON_ADJUSTABLE. 2058 * config/tc-i386.h (TC_DONT_FIX_NON_ADJUSTABLE): Remove. 2059 <OBJ_ELF, OBJ_COFF, TE_PE> (TC_FIX_ADJUSTABLE): Define. 2060 * config/tc-arm.h (TC_DONT_FIX_NON_ADJUSTABLE): Remove. 2061 <OBJ_ELF> (TC_FIX_ADJUSTABLE): Define. 2062 * config/tc-i960.h, config/tc-m68k.h, config/tc-v850.h: 2063 Likewise. 2064 20652000-08-22 Eric Christopher <echristo@cygnus.com> 2066 2067 * config/tc-mn10300.c: (md_apply_fix): New function. 2068 (mn10300_force_relocation): New function. 2069 (mn10300_fix_adjustable): New function. 2070 2071 * config/tc-mn10300.h: (TC_FORCE_RELOCATION): Define. 2072 (TC_HANDLES_FX_DONE): Define. 2073 (obj_fix_adjustable): Define. 2074 (MD_APPLY_FIX3): Define. 2075 (TC_LINKRELAX_FIXUP): Define. 2076 2077 * write.c: (TC_LINKRELAX_FIXUP): Define if not 2078 previously defined. 2079 (fixup_segment): Use TC_LINKRELAX_FIXUP. 2080 2081 * doc/internals.texi: Document TC_LINKRELAX_FIXUP. 2082 20832000-08-21 Jason Eckhardt <jle@cygnus.com> 2084 2085 * config/tc-i860.c (md_apply_fix3): Do not insert the immediate 2086 if the fixup resulted in a relocation. 2087 20882000-08-18 Nick Clifton <nickc@redhat.com> 2089 2090 * config/tc-arm.c (decode_shift): Replace as_tsktsk with as_warn. 2091 Make reference to first element of shift_names explicit. 2092 20932000-08-18 Alexandre Oliva <aoliva@redhat.com> 2094 2095 * write.c (fixup_segment) [TC_DONT_FIX_NON_ADJUSTABLE]: Use 2096 obj_fix_adjustable() and tc_fix_adjustable() to tell whether to 2097 add a symbol's address. Removed all target-specific #ifdefs that 2098 used to accomplished the same. 2099 * config/tc-v850.h (TC_DONT_FIX_NON_ADJUSTABLE): Define. 2100 * config/tc-m68k.h (TC_DONT_FIX_NON_ADJUSTABLE): Define. 2101 * config/tc-arm.h (TC_DONT_FIX_NON_ADJUSTABLE): Define. 2102 * config/tc-i960.h (TC_DONT_FIX_NON_ADJUSTABLE): Define. 2103 * config/tc-i386.h (TC_DONT_FIX_NON_ADJUSTABLE): Define. 2104 21052000-08-17 Kazu Hirata <kazu@hxi.com> 2106 2107 * dwarf2dbg.c: Fix formatting. 2108 21092000-08-17 Nick Clifton <nickc@redhat.com> 2110 2111 * config/tc-arm.c (decode_shift): Allow illegal shifts by zero 2112 to be recoded as logical shift lefts by zero. 2113 21142000-08-16 Jim Wilson <wilson@cygnus.com> 2115 2116 * config/tc-ia64.c (specify_resource, case IA64_RS_GR): Handle 2117 postincrement modified registers. Handle IA64_OPND_R3_2 addl 2118 source registers. 2119 (note_register_values): Handle IA64_OPND_R3_2 operands. 2120 21212000-08-16 Jason Eckhardt <jle@cygnus.com> 2122 2123 * config/tc-i860.c (md_operand): Silly typo fixed. 2124 21252000-08-16 Nick Clifton <nickc@redhat.com> 2126 2127 * config/tc-arm.c (struct asm_shift): Delete. 2128 (shift[]): Delete. 2129 (enum asm_shift_index): New. 2130 (struct asm_shift_properties): New. 2131 (struct asm_shift_name): New. 2132 (shift_properties[]); New. 2133 (shift_names[]); New. 2134 2135 (decode_shift): Use new structures. 2136 Issue a warning is "ROR #0" is used. 2137 Issue a warning if "ASR #0" or "LSR #0" is used. 2138 2139 (md_begin): Initialise arm_shift_hsh table from new 2140 asm_shift_name array. 2141 21422000-08-16 Jakub Jelinek <jakub@redhat.com> 2143 2144 * config/tc-sparc.c: Kill all warnings. 2145 (md_parse_option): Set -32/-64 for -xarch=, allow all -A archs 2146 in -xarch= as well. 2147 (md_show_usage): Update usage text. 2148 21492000-08-16 Nick Clifton <nickc@redhat.com> 2150 2151 * config/tc-arm.c (do_bx): Warn about "bx px" not being very 2152 useful. 2153 21542000-08-15 Will Cohen <wcohen@redhat.com> 2155 2156 * config/tc-sh.h (DWARF2_LINE_MIN_INSN_LENGTH): Defined. 2157 2158 * config/tc-sh.c (md_assemble): Changed so debug_type 2159 test performed for ppi_assemble 2160 * config/tc-sh.c: Included dwarf2dbg.h. 2161 (debug_line): Defined. 2162 (md_assemble): Generates dwarf2 line info. 2163 (sh_finalize): New function. Finalize dwarf2 info. 2164 (assemble_ppi): Returns size of code generated. 2165 (build_Mytes): Returns size of code generated. 2166 (md_pseudo_table): Added "file" and "loc" psuedo ops. 2167 * config/tc-sh.h (md_end): Defined. 2168 (sh_finalize): Declared. 2169 21702000-08-15 Alexandre Oliva <aoliva@redhat.com> 2171 2172 * config/tc-sh.c (md_apply_fix) [BFD_RELOC_32, BFD_RELOC_16]: Use 2173 md_number_to_chars. 2174 21752000-08-14 Nick Clifton <nickc@redhat.com> 2176 2177 * config/tc-arm.c (do_bx): Allow "bx pc". 2178 21792000-08-14 Jim Wilson <wilson@cygnus.com> 2180 2181 * config/tc-ia64.c (md_longopts): Add -mconstant-gp and -mauto-pic. 2182 (md_parse_option): Add OPTION_MCONSTANT_GP and OPTION_MAUTO_PIC. 2183 (md_begin): Change assignment to md.flag to OR in the new bit. 2184 21852000-08-14 Mark Elbrecht <snowball3@bigfoot.com> 2186 2187 * config/obj-coff.c (obj_coff_endef) [BFD_ASSEMBLER]: Set the debug 2188 flag for storage types C_ARG, C_REGPARM, C_FIELD, C_MOS, C_MOE, 2189 C_MOU, and C_EOS. 2190 21912000-08-14 Jason Eckhardt <jle@cygnus.com> 2192 2193 * NEWS: Mention i860 support. 2194 2195Mon Aug 14 11:49:12 2000 Jeffrey A Law (law@cygnus.com) 2196 2197 * config/tc-mn10300.h (DWARF2_LINE_MIN_INSN_LENGTH): Define. 2198 21992000-08-14 Andreas Schwab <schwab@suse.de> 2200 2201 * doc/c-arm.texi (ARM Directives): Fix warnings from makeinfo. 2202 22032000-08-11 Andreas Schwab <schwab@suse.de> 2204 2205 * doc/c-i860.texi (Opcodes for i860): Remove braces from @item 2206 argument. 2207 22082000-08-11 Kazu Hirata <kazu@hxi.com> 2209 2210 * expr.c: Fix formatting. 2211 * config/obj-bout.c: Likewise. 2212 22132000-08-10 Jason Eckhardt <jle@cygnus.com> 2214 2215 * doc/c-i860.texi: Flesh out the i860 section more. 2216 22172000-08-10 Kazu Hirata <kazu@hxi.com> 2218 2219 * symbols.c: Fix formatting. 2220 * expr.c: Likewise. 2221 2222Wed Aug 9 16:28:21 EDT 2000 Diego Novillo <dnovillo@cygnus.com> 2223 2224 * tc-i386.c (md_assemble): Skip suffix check if the opcode modifier 2225 has the IgnoreSize bit set. 2226 22272000-08-09 Alan Modra <alan@linuxcare.com.au> 2228 2229 From Rodney Brown <RodneyBrown@mynd.com> 2230 * configure.in: Use elf on Unixware 7 (i586-sco-sysv5uw7.1.0) 2231 * configure: Regenerate. 2232 22332000-08-09 Kazu Hirata <kazu@hxi.com> 2234 2235 * hash.c: Fix formatting. 2236 * gasp.c: Likewise. 2237 22382000-08-08 Jason Eckhardt <jle@cygnus.com> 2239 2240 * config/tc-i860.h: Rework completely for BFD_ASSEMBLER. 2241 (i860_fix_info): New enum. 2242 (MD_APPLY_FIX3): Define. 2243 (WORKING_DOT_WORD): Define. 2244 (TC_HANDLES_FX_DONE): Define. 2245 (DIFF_EXPR_OK): Define. 2246 (LISTING_HEADER): Define. 2247 (TARGET_FORMAT): Select target format based on endian flag. 2248 (TARGET_BYTES_BIG_ENDIAN): Default to little endian. 2249 (target_big_endian): Add external declaration. 2250 2251 * config/tc-i860.c: All existing code reworked completely. Other 2252 new code shown below. 2253 (SYNTAX_SVR4): Define. 2254 (target_warn_expand): New variable. 2255 (md_shortopts): Declare and define (-Qy, -Qn, and -V options). 2256 (md_longopts): Declare and define with new options (-EL, -EB, 2257 and -mwarn-expand). 2258 (md_show_usage): New function. 2259 (md_operand): New function. 2260 (obtain_reloc_for_imm16): New function. 2261 (md_apply_fix3): New function. 2262 (tc_gen_reloc): New function. 2263 22642000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr> 2265 2266 * config/tc-m68hc11.c (build_jump_insn): Make sure the 2267 2 bytes of the jump address are in the same frag. 2268 (find): Accept 68hc12 register indirect modes. 2269 2270 * NEWS: Mention 68HC11 & 68HC12 support. 2271 22722000-08-07 Richard Henderson <rth@cygnus.com> 2273 2274 * config/tc-ia64.c (unwind): Add prologue_mask member. 2275 (dot_vframe): Elide psp_gr record if it overlaps prologue_gr. 2276 (dot_save): Likewise for pfs_gr, rp_gr, and preds_gr. 2277 (dot_body): Clear unwind.prologue_mask. 2278 (dot_prologue): Set it. Accept a register second argument. 2279 22802000-08-07 Kazu Hirata <kazu@hxi.com> 2281 2282 * config/atof-ieee.c: Fix formatting. 2283 * config/atof-tahoe.c: Likewise. 2284 22852000-08-06 Nick Clifton <nickc@cygnus.com> 2286 2287 * config/tc-sparc.c (md_begin): Fix typo in recent formatting 2288 work. 2289 2290 * doc/as.texinfo (Pseudo Ops): Update to include descriptions 2291 of .popsection, .previous, .pushsection, .subsection, 2292 .version, .vtable_entry, .vtable_inherit and .weak. 2293 22942000-08-05 Kazu Hirata <kazu@hxi.com> 2295 2296 * config/tc-cris.c: Fix formatting. 2297 * config/tc-i386.c: Likewise. 2298 * config/tc-sparc.c (sparc_ip): Simplify the code. 2299 23002000-08-04 Kazu Hirata <kazu@hxi.com> 2301 2302 * config/tc-cris.c: Rearrange code for readability. 2303 * config/tc-d10v.c: Fix formatting. 2304 * config/tc-m32r.c: Likewise. 2305 * config/tc-sparc.c: Likewise. 2306 23072000-08-02 Jim Wilson <wilson@cygnus.com> 2308 2309 * config/tc-ia64.c (emit_one_bundle): Call ia64_free_opcode 2310 before ia64_find_opcode. 2311 (md_assemble): Likewise. 2312 23132000-08-01 Nick Clifton <nickc@cygnus.com> 2314 2315 * config/tc-arm.c (do_mrs): Fix skip of 'cpsr_all' flag. 2316 Undo some formatting fixes. 2317 23182000-08-01 Kazu Hirata <kazu@hxi.com> 2319 2320 * config/obj-som.c: Fix formatting. 2321 * config/obj-ieee.c: Likewise. 2322 * config/tc-arm.c: Likewise. 2323 * config/tc-v850.c: Likewise. 2324 23252000-08-01 Nick Clifton <nickc@redhat.com> 2326 2327 * doc/c-m68k.texi (section M680x0 Options): Turn into a table 2328 index by command line option. 2329 23302000-08-01 Michael Sokolov <msokolov@ivan.Harhan.ORG> 2331 2332 * doc/c-m68k.texi (@cindex @samp{--pcrel}): Rewrite option description. 2333 (@node M68K-Branch): Rewrite to match the reality. 2334 23352000-07-31 Jason Eckhardt <jle@cygnus.com> 2336 2337 * doc/c-i860.texi: New file. 2338 * doc/Makefile.am (CPU_DOCS): Add c-i860.texi. 2339 * doc/Makefile.in: Regenerate. 2340 * doc/all.texi: Add I860 as relevant architecture. 2341 * doc/as.texinfo: Include i860 dependent file c-i860.texi. 2342 23432000-07-31 Kazu Hirata <kazu@hxi.com> 2344 2345 * config/tc-d30v.c: Fix formatting. 2346 23472000-07-31 Michael Sokolov <msokolov@ivan.Harhan.ORG> 2348 2349 * config/tc-m68k.c (flag_keep_pcrel, OPTION_PCREL): Add --pcrel option. 2350 (md_convert_frag_1, md_estimate_size_before_relax): When making DBcc 2351 long emit a long branch if available instead of an absolute jump, never 2352 emit absolute jumps for anything with --pcrel. 2353 2354 * doc/c-m68k.texi: Document new command line option. 2355 23562000-07-29 Marek Michalkiewicz <marekm@linux.org.pl> 2357 2358 * config/tc-avr.c: Use PARAMS macro in function declarations. 2359 Don't declare md_pcrel_from_section (already in tc-avr.h). 2360 (avr_operands): Use AVR_UNDEF_P and AVR_SKIP_P macros. 2361 (avr_operand): Don't set (unsigned) op_mask to -1. 2362 23632000-07-28 Jason Eckhardt <jle@cygnus.com> 2364 2365 * configure.in: Add bits for i860-stardent-{sysv4, elf}*. 2366 * configure: Regenerated. 2367 * config/obj-elf.c (obj_elf_type): Recognize a fifth type 2368 of operand to the .type directive (.e.g, "type"). 2369 23702000-07-28 Alan Modra <alan@linuxcare.com.au> 2371 2372 * as.h (warn_comment, found_comment, found_comment_file): Declare. 2373 * app.c (do_scrub_chars): Record where first comment found. 2374 * read.c (read_a_source_file): Init found_comment on entry, and 2375 notify whether comments found on exit. 2376 * config/tc-hppa.c (md_shortopts): Add "c". 2377 (md_longopts): Add warn-comment. 2378 (md_parse_option): Handle it. 2379 (md_show_usage): Show available options. 2380 * config/tc-hppa.h (WARN_COMMENTS): Define if TE_LINUX 2381 2382Thu Jul 27 11:25:01 2000 Andrew Cagney <cagney@b1.cygnus.com> 2383 2384 * config/tc-mn10300.c (md_convert_frag): Fix printfs. 2385 (tc_gen_reloc): Add cast when assigning bfd_abs_symbol to 2386 sym_ptr_ptr 2387 (md_estimate_size_before_relax): Don't fall off end of function. 2388 23892000-07-27 Kazu Hirata <kazu@hxi.com> 2390 2391 * config/tc-avr.c: Fix formatting. 2392 * config/tc-ns32k.c: Likewise. 2393 23942000-07-27 Alan Modra <alan@linuxcare.com.au> 2395 2396 * config/tc-d10v.c (find_opcode): Remove extraneous `='. 2397 23982000-07-27 Kazu Hirata <kazu@hxi.com> 2399 2400 * config/tc-d10v.c: Fix formatting. 2401 * config/tc-z8k.c: Likewise. 2402 * config/tc-sparc.c: Likewise. 2403 24042000-07-26 Dave Brolley <brolley@redhat.com> 2405 2406 * cgen.c (queue_fixup): Declare opinfo. 2407 (gas_cgen_parse_operand): Mark unused parameters with ATTRIBUTE_UNUSED. 2408 (gas_cgen_md_operand): Ditto. 2409 (gas_cgen_md_apply_fix3): Ditto. 2410 24112000-07-24 Mark Elbrecht <snowball3@bigfoot.com> 2412 2413 * config/obj-coff.c (obj_frob_symbol): Don't merge 2414 labels. Don't merge if the symbol isn't constant. Return 2415 immediately if a symbol is merged. 2416 24172000-07-22 Alan Modra <alan@linuxcare.com.au> 2418 2419 * frags.c (frag_align): Correct absolute section alignment. 2420 24212000-07-20 DJ Delorie <dj@redhat.com> 2422 2423 * config/obj-coff.c (obj_frob_symbol): revert previous change, 2424 it breaks linking against DLLs. 2425 24262000-07-20 Hans-Peter Nilsson <hp@axis.com> 2427 2428 * configure.in: Add CRIS support. 2429 * configure: Regenerate. 2430 * Makefile.am: (CPU_TYPES): Add cris. 2431 (CPU_OBJ_VALID) [aout]: Add cris. 2432 (MULTI_CPU_TYPES): Add cris. 2433 (MULTI_CPU_OBJ_VALID) [aout]: Add cris. 2434 [coff]: Only i386 and mips are valid. 2435 (TARGET_CPU_CFILES): Add config/tc-cris.c. 2436 (TARGET_CPU_HFILES): Add config/tc-cris.h. 2437 (MULTI_CFILES): Add config/e-crisaout.c and config/e-criself.c. 2438 Regenerate dependencies. 2439 * Makefile.in: Regenerate. 2440 * aclocal.m4: Regenerate. 2441 * as.c: Declare crisaout, criself. 2442 * config/tc-cris.h, config/tc-cris.c: New. 2443 * config/e-criself.c, config/e-crisaout.c: New. 2444 * po/POTFILES.in, po/gas.pot: Regenerate. 2445 24462000-07-20 Kazu Hirata <kazu@hxi.com> 2447 2448 * read.c: Fix formatting. 2449 * write.c: Fix formatting. 2450 24512000-07-19 H.J. Lu <hjl@gnu.org> 2452 2453 * sb.c: Include <stdlib.h> if exists for abort (). 2454 24552000-07-19 Alan Modra <alan@linuxcare.com.au> 2456 2457 * config/tc-hppa.c (hppa_fix_adjustable): Correct LR%/RR% comment. 2458 (arg_reloc_stub_needed): #ifdef OBJ_SOM, not #ifdef SOM. 2459 (pa_type_args): Same here. 2460 24612000-07-17 Mark Elbrecht <snowball3@bigfoot.com> 2462 2463 * config/obj-coff.c (obj_frob_symbol): Don't merge labels. Don't 2464 merge if the symbol isn't constant. Don't call S_SET_EXTERNAL if 2465 the storage class is already set. 2466 24672000-07-17 Kazu Hirata <kazu@hxi.com> 2468 2469 * config/tc-m68hc11.c: Fix formatting. 2470 * config/tc-mn10200.c: Likewise. 2471 * config/tc-mn10300.c: Likewise. 2472 * config/tc-pj.c: Likewise. 2473 * config/tc-tic80.c: Likewise. 2474 * config/tc-w65.c: Likewise. 2475 24762000-07-17 Frank Ch. Eigler <fche@redhat.com> 2477 2478 * expr.c (operand): Permit %bin literals if LITERAL_PREFIXPERCENT_BIN 2479 is defined. 2480 24812000-07-15 Ian Lance Taylor <ian@zembu.com> 2482 2483 * doc/c-mips.texi (MIPS Opts): Remove erroneous space after 2484 @code. 2485 24862000-07-15 Alan Modra <alan@linuxcare.com.au> 2487 2488 * config/tc-hppa.c (hppa_fix_adjustable): Use the same checks for 2489 ELF as are used for SOM (except the 32-bit reloc one) to decide 2490 whether a symbol can be reduced to a section symbol. Expand on 2491 the comment for symbols involved in LR% and RR% expressions. 2492 24932000-07-14 Nick Clifton <nickc@cygnus.com> 2494 2495 * config/tc-mips.c (mips_disable_float_construction): New 2496 static variable. Set to true if doubles should not be 2497 constructed by loading two single width fp registers with 2498 halves of the value. 2499 (mips_ip): Test mips_disable_float_construction. 2500 (md_longopts): Add command line switches --construct-floats 2501 and --no-construct-floats. 2502 (md_parse_option): Parse new command line options. 2503 (md_show_usage): Describe new command line options. 2504 2505 * doc/c-mips.texi: Document new command line options. 2506 25072000-07-13 Koundinya K <kk@ddeorg.soft.net> 2508 2509 * configure.in: Remove the test /usr/dde for mips-*-sysv4*MP* 2510 * configure: Regenerate. 2511 25122000-07-13 Hans-Peter Nilsson <hp@axis.com> 2513 2514 * configure.in (DEFAULT_EMULATION setting): Revert part of 2515 2000-07-01 change that set te_multi=multi unless set to tmips. 2516 * configure: Regenerate. 2517 25182000-07-12 Mark Elbrecht <snowball3@bigfoot.com> 2519 2520 * config/obj-coff.c (coff_frob_section): Add padding to the last 2521 section when aligning it increases its size. 2522 25232000-07-11 Kazu Hirata <kazu@hxi.com> 2524 2525 * config/tc-tic54x.c: Fix formatting. 2526 25272000-07-10 Kazu Hirata <kazu@hxi.com> 2528 2529 * config/tc-h8500.c: Fix formatting. 2530 * config/tc-tic54x.c: Fix formatting. 2531 25322000-07-10 Alan Modra <alan@linuxcare.com.au> 2533 2534 * config/tc-hppa.c (md_apply_fix): Check fmt 12 and 22 pc-rel 2535 displacements correctly. 2536 2537 * read.h (s_abort): Add ATTRIBUTE_NORETURN. 2538 25392000-07-10 Ryan Bradetich <rbradetich@uswest.net> 2540 2541 * hash.c (hash_insert): Add cast to obstruct_alloc to fix 2542 warning. 2543 (hash_jam): Ditto. 2544 25452000-07-09 Alan Modra <alan@linuxcare.com.au> 2546 2547 From David Huggins-Daines <dhd@linuxcare.com> 2548 * config/te-hppalinux64.h: Add a new emulation. 2549 * configure.in (emulations): Add configure bits to support the 2550 64-bit Linux/parisc target. 2551 * configure: Regenerate. 2552 2553 * config/tc-hppa.c (md_parse_option): Support `-V' for ELF. 2554 (md_shortopts): Add `V' for ELF. 2555 2556 * config/tc-hppa.c (arg_reloc_stub_needed): Define as zero except 2557 when SOM or ELF_ARG_RELOC are defined. 2558 (pa_type_args): Only set symbol_arg_reloc_info when SOM or 2559 ELF_ARG_RELOC are defined. 2560 (pa_stringer_aux): Don't pa_check_current_space_and_subspace here.. 2561 (pa_stringer): ..Do it here instead. Fix comment typos. 2562 (hppa_force_relocation): Cast enums to int before comparing with 2563 ints. 2564 2565 From Ryan Bradetich <rbradetich@uswest.net> 2566 * config/tc-hppa.c: Removed unneeded libbfd.h to fix macro 2567 redifinition warning. 2568 (md_apply_fix): Added cast from enum to int for fixP->fx_r_type. 2569 (hppa_force_relocation): ditto 2570 (md_apply_fix): Added cast to buf to fix warnings. 2571 2572 * config/tc-hppa.h (pa_define_label, parse_cons_expression_hppa, 2573 cons_fix_new_hppa, hppa_force_relocation): Prototype. 2574 2575 * config/tc-hppa.c (reloc_type): It's an enum for OBJ_ELF. 2576 (R_N0SEL, R_N1SEL): Define only for OBJ_SOM. 2577 (tc_gen_reloc): Make `code' a reloc_type and `codes' a 2578 reloc_type** to avoid warnings in switch. 2579 (md_apply_fix): Make insn, val signed. Zap buf_wd and read insn a 2580 little earlier instead. 2581 2582 * config/tc-hppa.c (symbol_arg_reloc_info): Define for both som 2583 and elf. 2584 (pa_type_args): Use symbol_arg_reloc_info. 2585 (struct pa_it): Make arg_reloc unsigned int. 2586 (struct hppa_fix_struct): Likewise for fx_arg_reloc. 2587 (pa_text, pa_data, pa_comm): Don't compile for TE_LINUX. 2588 (pa_code): Delete. pa_text duplicates this function. 2589 (md_pseudo_table): Call obj_elf_text for ".code" if TE_LINUX. 2590 (fix_new_hppa): Argument offset is offsetT, arg_reloc is unsigned 2591 int. 2592 (cons_fix_new_hppa): Actually change selector to e_fsel when 2593 warning about assuming so. 2594 (tc_gen_reloc): More example elf arg reloc code. 2595 (md_apply_fix): Use arg_reloc_stub_needed for elf too. 2596 (hppa_force_relocation): Likewise. 2597 2598 * config/tc-hppa.h: Use TARGET_ARCH_SIZE to select target include 2599 files. 2600 (pa_end_of_source): Prototype. 2601 (hppa_fix_adjustable): Prototype. 2602 (LABELS_WITHOUT_COLONS): Move it.. 2603 * config/te-hppa.h: To here. 2604 2605 * config/te-hppa64.h: New file. 2606 2607 * config/tc-hppa.c: Use TARGET_ARCH_SIZE to select target reloc 2608 type. 2609 (md_apply_fix): Pass stdoutput to bfd_hppa_insn2fmt. Handle 2610 format -10, -16, 16 relocs. 2611 (hppa_elf_mark_end_of_function): Test for null 2612 last_call_info->start_symbol 2613 2614 * config/tc-hppa.c (pa_ip): In case 'V', pass `strict' to 2615 CHECK_FIELD, not INSERT_FIELD_AND_CONTINUE. Don't pass opcode to 2616 re_assesmble_* functions. Delete extraneous statements. Fix 2617 typos in comments. 2618 (md_apply_fix): Compare against 1048575 in case 21. Don't pass 2619 insn to re_assemble_*. 2620 26212000-07-08 Ulf Carlsson <ulfc@engr.sgi.com> 2622 2623 * doc/internals.texi (Expressions): Fix typo. 2624 26252000-07-08 Kazu Hirata <kazu@hxi.com> 2626 2627 * config/tc-sh.c: Fix formatting. 2628 * config/tc-tic54x.c: Fix formatting. 2629 * depend.c: Fix formatting. 2630 * flonum-konst.c: Likewise. 2631 * flonum-mult.c: Likewise. 2632 26332000-07-07 Kazu Hirata <kazu@hxi.com> 2634 2635 * config/tc-sh.c: Fix comments. 2636 * config/obj-vms.c: Fix comments. 2637 * config/tc-a29k.c: Likewise. 2638 * config/tc-alpha.c: Likewise. 2639 * config/tc-h8300.c: Likewise. 2640 * config/tc-h8500.c: Likewise. 2641 * config/tc-i370.c: Likewise. 2642 * config/tc-ia64.c: Likewise. 2643 * config/tc-m68hc11.c: Likewise. 2644 * config/tc-m68k.c: Likewise. 2645 * config/tc-mips.c: Likewise. 2646 * config/tc-ns32k.c: Likewise. 2647 * config/tc-ppc.c: Likewise. 2648 * config/tc-z8k.c: Likewise. 2649 26502000-07-06 Mark Elbrecht <snowball3@bigfoot.com> 2651 2652 * config/obj-coff.c (TC_COFF_SECTION_DEFAULT_ATTRIBUTES): New. 2653 Default to '(SEC_LOAD | SEC_DATA)'. 2654 (obj_coff_section) [BFD_ASSEMBLER]: Use it. 2655 2656 * doc/internals.texi (CPU Backend): Describe 2657 TC_COFF_SECTION_DEFAULT_ATTRIBUTES. 2658 2659Thu Jul 6 17:20:58 2000 Andrew Cagney <cagney@b1.cygnus.com> 2660 2661 * as.c (parse_args): NULL terminate the long option list. 2662 2663Tue Jul 4 14:08:28 2000 Andrew Cagney <cagney@b1.cygnus.com> 2664 2665 * config/tc-d30v.h: Include "write.h" for fixS. 2666 (d30v_start_line, md_pcrel_from_section): Add function prototypes. 2667 26682000-07-05 Nick Clifton <nickc@cygnus.com> 2669 2670 * config/tc-d30v.c (write_2_short): Further changes to warning 2671 messages produced when combining EITHER_BUT_PREFER_MU attributed 2672 opcodes. 2673 26742000-07-05 DJ Delorie <dj@redhat.com> 2675 2676 * MAINTAINERS: new 2677 26782000-07-04 Alexandre Oliva <aoliva@redhat.com> 2679 2680 * config/tc-arm.c (psrs): Accept combinations of flags. 2681 26822000-07-03 Marek Michalkiewicz <marekm@linux.org.pl> 2683 2684 * config/tc-avr.c: Change _ () to _() around all strings marked 2685 for translation (exception from the usual coding style). 2686 (avr_opt): New struct variable, how the new switches are set. 2687 (OPTION_MMCU): Define as 'm' and actually use. 2688 (md_longopts): Add -mall-opcodes, -mno-skip-bug, -mno-wrap. 2689 (show_mcu_list): New function, display the list of known MCUs. 2690 (md_show_usage): Document the new switches. Call show_mcu_list. 2691 (avr_set_arch): Change 'm' to OPTION_MMCU. 2692 (md_parse_option): Call show_mcu_list if unknown MCU specified. 2693 Handle the new switches. 2694 (avr_operands): Disable warnings for undefined combinations of 2695 operands if -mall-opcodes. Disable warnings for skipping two-word 2696 instructions if enhanced core or -mno-skip-bug. 2697 (avr_operand): Accept all addressing modes on avr1 if -mall-opcodes. 2698 (md_apply_fix3): Reject 8K wrap if >8K or -mno-wrap. 2699 (md_assemble): Accept opcodes not supported by MCU if -mall-opcodes. 2700 (avr_ldi_expression): Warn about implicit lo8(). 2701 * config/tc-avr.h (md_pcrel_from_section): Add prototype. 2702 27032000-07-01 Koundinya K <kk@ddeorg.soft.net> 2704 2705 * configure.in: Add entry for mips-*-sysv4*MP* 2706 * configure: Rebuild 2707 * config/tc-mips.c (mips_target_format): Return elf32-tradbigmips or 2708 elf32-tradlittlemips for traditional mips targets. 2709 * config/tc-mips.c (md_estimate_size_before_relax): Duplicate the 2710 test for Link Once sections as in adjust_reloc_syms. 2711 * config/te-tmips.h: New file for traditional mips targets. Define 2712 TE_TMIPS. 2713 27142000-06-29 Mark Elbrecht <snowball3@bigfoot.com> 2715 2716 * config/obj-coff.c (obj_coff_setcion) [BFD_ASSEMBLER]: If the 2717 flags argument is not present, don't change an existing section's 2718 section's attributes. If the flags argument is present, warn if the 2719 attributes don't match the section's current attributes. When 2720 long section names are supported, set SEC_LINK_ONCE and 2721 SEC_LINK_DUPLICATES_DISCARD for a new .gnu.linkonce section. 2722 2723Thu Jun 29 21:30:00 2000 Hans-Peter Nilsson <hp@axis.com> 2724 2725 * config/obj-aout.c (obj_aout_type): Do not ignore for undefined 2726 symbols; create them. 2727 27282000-06-29 Mark Elbrecht <snowball3@bigfoot.com> 2729 2730 * write.c (set_segment_vma): New: Set vma and lma for a segment. 2731 (write_object_file) [BFD_ASSEMBLER && OBJ_COFF && TE_GO32]: Use it. 2732 27332000-06-27 Aldy Hernandez <aldyh@redhat.com> 2734 2735 * config/tc-mips.c (mips_ip): handle "(foo-.-4)" type of 2736 expressions. Ignore the problem when handling 16 bit signed 2737 immediates, because the assembler will take care of the relocation 2738 later. 2739 27402000-06-27 Nick Clifton <nickc@cygnus.com> 2741 2742 * config/tc-d30v.c (write_2_short): Do not allow opcodes with 2743 the EITHER_BUT_PREFER_MU attribute to be combined into a reverse 2744 sequential order, and emit warning messages if the input source 2745 code contains constructs like that, or parallel constructs 2746 containing such opcodes. 2747 27482000-06-26 Marek Michalkiewicz <marekm@linux.org.pl> 2749 2750 * config/tc-avr.c (mcu_types): Rename avr4 to avr5, add avr4. 2751 Add more MCU types for avr4 and avr5. Replace at94k{10,20,40} 2752 with just at94k. Change AVR_ISA_85xx back to AVR_ISA_2xxx. 2753 (md_show_usage): Update usage message. 2754 (md_parse_option): Allow redefinition of MCU type within the 2755 same avr[1-5] bfd machine type. Show both old and new MCU type 2756 in the error message. 2757 (md_apply_fix3): Support 8K wrap if AVR_ISA_MEGA is not set. 2758 Simplify 8K wrap code. 2759 27602000-06-25 Kazu Hirata <kazu@hxi.com> 2761 2762 * config/obj-aout.c: Remove all uses of DEFUN. 2763 * config/obj-ieee.c: Likewise. 2764 * config/tc-sh.c: Fix comment typos. 2765 * config/tc-tahoe.c: Likewise. 2766 * config/tc-vax.c: Likewise. 2767 * config/tc-w65.c: Likewise. 2768 * config/tc-z8k.c: Likewise. 2769 * config/tc-h8300.c (build_bytes): Assemble ldmac correctly. 2770 27712000-06-24 DJ Delorie <dj@cygnus.com> 2772 2773 * config/tc-i386.c (md_estimate_size_before_relax): Revert 2774 more changes from Sept 1999 2775 (tc_i386_fix_adjustable): ditto 2776 (md_apply_fix3): ditto 2777 27782000-06-24 Frank Ch. Eigler <fche@redhat.com> 2779 2780 * cgen.c (expr_jmp_buf_p): New validity flag for expr_jmp_buf. 2781 (gas_cgen_parse_operand): Set it around expression() call. 2782 (gas_cgen_md_operand): Test for it before longjmp(). 2783 27842000-06-24 Kazu Hirata <kazu@hxi.com> 2785 2786 * config/tc-h8500.c: Remove all uses of DEFUN. 2787 * config/tc-sh.c: Likewise. 2788 * config/tc-w65.c: Likewise. 2789 * config/tc-z8k.c: Likewise. 2790 2791 * config/tc-h8500.c: Fix typos in comments. 2792 27932000-06-23 Frank Ch. Eigler <fche@redhat.com> 2794 2795 * expr.c (operand): Permit $hex literals if LITERAL_PREFIXDOLLAR_HEX 2796 is defined. 2797 27982000-06-23 matthew green <mrg@redhat.com> 2799 2800 * expr.c (operand): Do not as_bad() if RELAX_PAREN_GROUPING is 2801 defined. Fix error message for `[' grouping. 2802 28032000-06-22 Kazu Hirata <kazu@hxi.com> 2804 2805 * config/tc-h8300.c: Fix formatting and comment typos. 2806 28072000-06-22 Timothy Wall <twall@cygnus.com> 2808 2809 * config/tc-ia64.c (note_register_values): Move premature QP 2810 notation clearing into the appropriate place. 2811 28122000-06-22 Alan Modra <alan@linuxcare.com.au> 2813 2814 * dep-in.sed: Escape literal `.'s on patterns. Trim off `../' 2815 first before anything else. Add bin-bugs.h, emul.h and progress.h 2816 Sort list of files as for $(OBJS) in Makefile.am. 2817 2818 * Makefile.am (DEP): grep for leading `/' in DEPA, and fail if we 2819 find one. Remake dependencies. 2820 ($(OBJS)): Add bin-bugs.h, emul.h, and progress.h Sort the list. 2821 * Makefile.in: Regenerate. 2822 * doc/Makefile.in: Regenerate. 2823 2824 * config/tc-i386.c (i386_displacement): Don't assume a constant 2825 displacement is necessarily 16 bits when in 16 bit code mode. 2826 (md_assemble): Instead size the displacement here after we know 2827 for sure that a .code16gcc operand hasn't automatically added 2828 operand size prefixes. 2829 28302000-06-21 H.J. Lu <hjl@gnu.org> 2831 2832 * Makefile.am: Rebuild dependency. 2833 * Makefile.in: Rebuild. 2834 28352000-06-21 Kazu Hirata <kazu@hxi.com> 2836 2837 * config/tc-h8300.c (parse_reg): Make the function static. 2838 (parse_exp): Likewise. 2839 28402000-06-20 DJ Delorie <dj@cygnus.com> 2841 2842 * config/tc-i386.c (tc_i386_fix_adjustable): Revert change from 2843 Sept 1999; RVA relocs need to be treated more like DIR32 relocs 2844 for cygwin import libraries to work properly. 2845 28462000-06-20 H.J. Lu <hjl@gnu.org> 2847 2848 * Makefile.am: Rebuild dependency. 2849 * Makefile.in: Rebuild. 2850 * configure: Likewise. 2851 * doc/Makefile.in: Likewise. 2852 28532000-06-20 Timothy Wall <twall@cygnus.com> 2854 2855 * doc/internals.texi (CPU backend): Add @itemx for 2856 TC_START_LABEL_WITHOUT_COLON. 2857 * doc/c-tic54x.texi: New. 2858 * doc/as.texinfo: Add tic54x features and include primary tic54x 2859 documentation file. 2860 * doc/all.texi: Add C54X. 2861 * doc/Makefile.am (CPU_DOCS): Add c-tic54x.texi. 2862 * doc/Makefile.in: Regenerate. 2863 * configure.in: Add tic54x and define LIBM for tic54x. 2864 * configure: Regenrate. 2865 * config/tc-tic54x.[ch]: New. 2866 * config/obj-coff.h: Add tic54x. 2867 * Makefile.am: (CPU_TYPES): Add tic54x. 2868 (TARGET_CPU_CFILES): Add 'tc-tic54x.c'. 2869 (TARGET_CPU_HFILES): Add 'tc-tic54x.h'. 2870 (as_new_LDADD): Add $(LIBM). 2871 * Makefile.in: Regenerate. 2872 28732000-06-18 Stephane Carrez <stcarrez@worldnet.fr> 2874 2875 * doc/Makefile.am (CPU_DOCS): Added 68hc11 file. 2876 * doc/c-m68hc11.texi: Document 68HC11 and 68HC12 port. 2877 * doc/as.texinfo: Likewise. 2878 2879 * configure, Makefile.in: Regenerate. 2880 * configure.in (emulations): Recognize m6811 and m6812. 2881 * Makefile.am (CPU_TYPES, TARGET_CPU_CFILES, TARGET_CPU_HFILES): 2882 Added files for 68hc11 and 68hc12 assembler. 2883 * config/tc-m68hc11.c: Assembler for 68hc11 and 68hc12. 2884 * config/tc-m68hc11.h: Header definition for that assembler. 2885 28862000-06-18 Nick Clifton <nickc@redhat.com> 2887 2888 * symbols.c (resolve_symbol_value): Use bfd_octets_per_byte 2889 instead of OCTETS_PER_BYTE. 2890 2891 * config/tc-v850.c: Fix compile time warnings. 2892 * config/tc-ppc.c: Fix compile time warnings. 2893 28942000-06-18 H.J. Lu <hjl@gnu.org> 2895 2896 * configure.in: Don't emulate i386-pc-pe-coff with i386coff. 2897 * configure: Rebuild. 2898 28992000-06-17 Mark Elbrecht <snowball3@bigfoot.com> 2900 2901 * config/obj-coff.c (obj_coff_weak): Typo fix: Change BFD_ASSEMLER 2902 to BFD_ASSEMBLER. 2903 29042000-06-16 Nick Clifton <nickc@cygnus.com> 2905 2906 * config/tc-mips.c (md_parse_option): Accept RM5200,RM5230, 2907 RM5231, RM5261, RM5721 and RM7000 as r5000 cpu variants. 2908 2909 * doc/c-mips.texi: Document newly accepted cpu variants. 2910 29112000-06-15 Ulf Carlsson <ulfc@engr.sgi.com> 2912 2913 * config/tc-mips.h: Remove definition of ONLY_STANDARD_ESCAPES. 2914 29152000-06-13 Ulf Carlsson <ulfc@engr.sgi.com> 2916 2917 * macro.c (getstring): Make it possible to escape the quote 2918 character. 2919 2920Tue Jun 13 20:58:28 2000 Catherine Moore <clm@redhat.com> 2921 2922 * config/tc-hppa.c (pa_export): Weak symbols can be global. 2923 29242000-06-13 H.J. Lu <hjl@gnu.org> 2925 2926 * configure: Regenerate. 2927 29282000-06-09 Alan Modra <alan@linuxcare.com.au> 2929 2930 * app.c (do_scrub_begin): Don't default lex[';'] as a line 2931 separator. 2932 * doc/internals.texi (line_separator_chars): Semicolon is no 2933 longer a default. Mention null and newline as defaults. 2934 2935 * read.c (is_end_of_line): Remove ifdef TC_HPPA. 2936 2937 * config/tc-i386.h (line_separator_chars): Explicitly mention `;' 2938 * config/tc-i860.h (line_separator_chars): Likewise. 2939 * config/tc-h8300.c (line_separator_chars): Likewise. 2940 * config/tc-i960.c (line_separator_chars): Likewise. 2941 * config/tc-m68k.c (line_separator_chars): Likewise. 2942 * config/tc-mips.c (line_separator_chars): Likewise. 2943 * config/tc-ns32k.c (line_separator_chars): Likewise. 2944 * config/tc-sparc.c (line_separator_chars): Likewise. 2945 * config/tc-vax.c (line_separator_chars): Likewise. 2946 2947 * config/tc-h8300.c (comment_chars): Use string initialiser. 2948 * config/tc-i960.c (line_comment_chars): Likewise. 2949 * config/tc-z8k.c (comment_chars, line_comment_chars, 2950 line_separator_chars): Likewise. 2951 2952 * config/tc-arm.c (line_separator_chars): Always use `;', not just 2953 for TE_LINUX. 2954 29552000-06-08 Nick Clifton <nickc@cygnus.com> 2956 2957 * config/tc-arm.c (cons_fix_new_arm): Assign correct reloc value 2958 for size 1 fixes. 2959 29602000-06-08 David O'Brien <obrien@FreeBSD.org> 2961 2962 * configure.in (VERSION): Update to show this is the CVS mainline. 2963 29642000-06-08 Matthew Jacob <mjacob@feral.com> 2965 2966 * config/tc-alpha.c (md_undefined_symbol): Properly understand that 2967 $at is the integer register $r28, vs. both $r28 and the floating 2968 point register $f28. 2969 29702000-06-08 James E. Wilson <wilson@cygnus.com> 2971 2972 * config/tc-ia64.c (generate_unwind_image): Call ia64_flush_insns. 2973 (dot_endp): Don't call ia64_flush_insns. 2974 (emit_one_bundle): Don't delete prologue/body records from 2975 unwind_record list in first loop. Rewrite second loop to account for 2976 this. 2977 29782000-06-07 David Mosberger <davidm@hpl.hp.com> 2979 2980 * config/tc-ia64.c: Add missing prototypes. 2981 (generate_unwind_image): Cast argument to output_unw_records call. 2982 2983Wed Jun 7 22:44:14 2000 Denis Chertykov <denisc@overta.ru> 2984 2985 * config/tc-avr.c (avr_operand): fix the formatting of the comment. 2986 2987Wed Jun 7 21:26:15 2000 Denis Chertykov <denisc@overta.ru> 2988 2989 * config/tc-avr.c (AVR_ISA_???): moved to include/opcode/avr.h 2990 (REGISTER_P): likewise. 2991 (avr_opcodes): uses include/opcode/avr.h 2992 (avr_operand): enable ld r,Z or st r,Z for at90s1200. 2993 29942000-06-04 Alan Modra <alan@linuxcare.com.au> 2995 2996 * read.c (is_end_of_line): No ';' for TC_HPPA. Add missing 2997 initializers too. 2998 29992000-06-03 H.J. Lu <hjl@gnu.org> 3000 3001 * read.c (is_end_of_line): Put back `;'. 3002 30032000-06-03 Alan Modra <alan@linuxcare.com.au> 3004 3005 * config/tc-i386.c (md_shortopts): Remove 'm', add 'q' to non-elf. 3006 30072000-06-01 Alan Modra <alan@linuxcare.com.au> 3008 3009 * expr.c (operand): Test is_end_of_line outside switch to catch 3010 line separator chars that are also operators. 3011 (operator): Return O_illegal for line separator chars. 3012 3013 * read.c (is_end_of_line): Use 1 instead of 99. Don't set `;' 3014 entry (or `!' entry for TC_HPPA). 3015 3016 * config/tc-arm.c (my_get_float_expression): Cast to unsigned char 3017 before indexing is_end_of_line. Remove redundant check for '\0'. 3018 (fp_op2): Likewise. 3019 * config/tc-h8500.c (md_assemble): Likewise. 3020 * config/tc-mcore.c (md_assemble): Likewise. 3021 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise. 3022 (md_atof): Likewise 3023 3024 * config/tc-m88k.c (s_bss): Cast to unsigned char before indexing 3025 is_end_of_line. 3026 * config/tc-mcore.c (mcore_cons): Likewise. 3027 (mcore_float_cons): Likewise. 3028 (mcore_stringer): Likewise. 3029 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise. 3030 30312000-06-01 Scott Bambrough <scottb@netwinder.org> 3032 3033 * config/tc-arm.c (do_mrs): Allow SPSR_BIT to be set correctly. 3034 30352000-05-29 Nick Clifton <nickc@cygnus.com> 3036 3037 * config/tc-sh.c: Fix compile time warning messages. 3038 3039 * config/tc-mips.c: Fix compile time warning messages. 3040 30412000-05-29 Philip Blundell <philb@gnu.org> 3042 3043 * doc/as.texinfo: Update copyright dates. 3044 (Local Labels): Delete misplaced mention of ARM. 3045 * NEWS: Mention ARM ELF support. 3046 30472000-05-27 Alexandre Oliva <aoliva@cygnus.com> 3048 3049 * config/tc-mn10300.c (md_assemble): Copy size to real_size before 3050 it is modified, and use the real_size to compute the frag address 3051 for dwarf2 line info. 3052 30532000-05-27 Alan Modra <alan@linuxcare.com.au> 3054 3055 * Makefile.am (DEP, DEP1, dep, dep-in, dep-am): Use a better sed 3056 line-matching scheme to cope with automake moving variables around. 3057 ($(TARG_CPU_O)): Remove dependency on TARG_CPU_DEP_@target_cpu_type@ 3058 * Makefile.in: Regenerate. 3059 30602000-05-26 Jakub Jelinek <jakub@redhat.com> 3061 3062 * config/tc-sparc.c (sparc_relax): New. 3063 (md_longopts): Add -relax and -no-relax options. 3064 (md_parse_options, md_show_usage): Likewise. 3065 (md_apply_fix3): Optimize tail call into branch always if possible. 3066 3067Thu May 4 15:27:07 2000 Donald Lindsay <dlindsay@cygnus.com> 3068 3069 * config/tc-d10v.c (write_2_short, parallel_ok, md_assemble, 3070 d10v_cleanup) implement Mitsubishi's newly explained branch-packing 3071 rules, with warning when a GAS statement specifies a packing that 3072 will result in an instruction being squashed. 3073 Added typdef packing_type and enumerals, changed various integer 3074 literals to use the enumerals. 3075 30762000-05-24 David Mosberger <davidm@hpl.hp.com> 3077 3078 * config/tc-ia64.c (dot_restorereg_p): New function. 3079 (md_pseudo_table): Add restorereg.p. 3080 (output_X3_format): Fix typo: record type should be UNW_X3, not UNW_X1. 3081 (output_X4_format): Fix typo: record type should be UNW_X4, not UNW_X2. 3082 3083 * config/tc-ia64.h (unw_record_type): Add unwabi. 3084 (unw_r_record): Rename member MASK to GRMASK. Add sub-structure 3085 called MASK with members for imask, and the masks produced by 3086 fr_mem, gr_mem, br_mem, and frgr_mem. 3087 (unw_p_record): Add members ABI and CONTEXT. 3088 (unw_x_record): Add member AB. 3089 * config/tc-ia64.c (enum reg_symbol): Add REG_PSP and REG_PRIUNAT 3090 as pseudo-register for use during unwind info generation. 3091 (AR_PFS, AR_LC): New macros. 3092 (enum pseudo_type): Add PSEUDO_FUNC_REG to permit declaring registers 3093 whose names start with an at sign (as in "@priunat"). 3094 (pseudo_func): Add "svr4", "hpux", "nt" constants and "priunat" 3095 register. 3096 (unwind_list, unwind_tail, current_unwind_entry, proc_start, 3097 proc_end, unwind_info, personality_routine): Consolidate into 3098 "unwind" structure to reduce offset-table use. Add member 3099 NEXT_SLOT_NUMBER to track the slot number for the next instruction 3100 to be emitted. 3101 (output_R1_format, output_R3_format, output_P3_format, 3102 output_P6_format): Initialize R with zero to reduce compiler warnings. 3103 (output_P7_format): Ditto. Add `default' branch to switch 3104 statement to reduce compiler warnings. 3105 (output_P8_format, output_B1_format, output_B4_format): Ditto. 3106 (output_P4_format): Rename 2nd & 3rd arg to IMASK and IMASK_SIZE. 3107 (format_ab_reg): Rename from format_a_b_reg. Merge A and B args 3108 into single argument. 3109 (output_X1_format, output_X3_format): Initialize R with zero to reduce 3110 compiler warnings. Merge A and B args into single argument. 3111 (output_X2_format, output_X4_format): Remove unused variable R. Merge 3112 A and B args into single argument. 3113 (free_record): Removed (wasn't used). 3114 (free_list_records): Also free imasks in prologue records. 3115 (output_prologue, output_prologue_gr): Initialize mask bits to zero. 3116 (output_spill_mask): Remove. 3117 (output_unwabi): New function. 3118 (output_epilogue, output_label_state, output_copy_state): Call 3119 alloc_record. 3120 (output_spill_psprel, output_spill_sprel, output_spill_psprel_p, 3121 output_spill_sprel_p, output_spill_reg, output_spill_reg_p): Add AB 3122 argument. 3123 (process_one_record): New locals FR_MASK and GR_MASK. Ignore 3124 gr_mem, fr_mem, br_mem, and frgr_mem records and instead emit them 3125 as part of handling the prologue records. Emit region's imask if 3126 we have one. Handle unwabi, epilogue, label_state, copy_state, 3127 spill_psprel, spill_sprel, spill_reg, spill_psprel_p, 3128 spill_sprel_p, and spill_reg_p records. 3129 (set_imask, count_bits, slot_index): New function. 3130 (fixup_unw_records): Fix region size computation. Handle 3131 epilogue, spill_reg, spill_sprel, spill_psprel, spill_reg_p, 3132 spill_sprel_p, and spill_psprel_p records. Merge mask bits of 3133 frgr_mem, fr_mem, gr_mem, br_mem on a per-region basis and 3134 set_imask accordingly. Update imask for gr_gr, and br_gr records. 3135 (convert_expr_to_ab_reg, convert_expr_to_xy_reg): New function. 3136 (dot_save): Use manifest constants for applicaton registers. 3137 Handle REG_PR and REG_PRIUNAT. 3138 (dot_restore): Don't just ignore it. 3139 (dot_restorereg): New function.. 3140 (generate_unwind_image): Ensure unwind info is a multiple of eight 3141 bytes, not just four bytes. 3142 (dot_handlerdata, dot_unwentry): Demand empty rest of line. 3143 (dot_altrp): Don't just ignore it. 3144 (dot_savemem): New function. Replaces dot_savesp() and 3145 dot_savepsp(). Use manifest constants for applicaton registers. 3146 Handle REG_PR and REG_PRIUNAT. 3147 (dot_savef): Simplify. 3148 (dot_saveb): Support generation of br_gr. 3149 (dot_spillreg, dot_spillmem, dot_spillreg_p, dot_spillmem_p, 3150 dot_label_state, dot_copy_state): New function. 3151 (dot_unwabi): Don't just ignore it. 3152 (md_pseudo_table): Add restorereg, spillreg, spillsp, spillpsp, 3153 spillreg.p, spillsp.p, spillpsp, label_state, copy_state, 3154 unwabi, vframesp, and vframepsp. Fix typo alprp->altrp. 3155 (emit_one_bundle): Set slot number for prologue/body records 3156 *before* emitting the first insn. 3157 (emit_one_bundle): Set UNWIND.NEXT_SLOT_NUMBER. 3158 (md_begin): Declare "psp" pseudo-register. 3159 (md_operand): Handle PSEUDO_FUNC_REG. Fix printing of error message 3160 so we don't get segfault. 3161 (output_psp_sprel): Output sp/psp relative offsets as 4-byte word 3162 counts as required per SW Conventions manual 3163 (output_rp_psprel, output_rp_sprel, output_pfs_psprel,output_pfs_sprel, 3164 output_preds_psprel, output_preds_sprel, output_spill_base, 3165 output_unat_psprel, output_unat_sprel, output_lc_psprel, 3166 output_lc_sprel, output_fpsr_psprel, output_fpsr_sprel, 3167 output_priunat_psprel, output_priunat_sprel, output_bsp_psprel, 3168 output_bsp_sprel, output_bspstore_psprel, output_bspstore_sprel, 3169 output_rnat_psprel, output_rnat_sprel, output_spill_psprel, 3170 output_spill_sprel, output_spill_psprel_p, output_spill_sprel_p):Ditto. 3171 (dot_vframe): Implement. 3172 (dot_vframesp, dot_vframepsp): New function. 3173 3174Tue May 23 00:57:05 2000 Hans-Peter Nilsson <hp@axis.com> 3175 3176 * configure.in (i386-*-freebsd a.out entry): Quote properly. 3177 * configure: Regenerate. 3178 31792000-05-23 Alan Modra <alan@linuxcare.com.au> 3180 3181 * config/tc-i386.c (md_assemble): Pass jump reloc in fr_var... 3182 (md_estimate_size_before_relax): so we can use it here instead of 3183 old kludges. Localise vars to blocks. Comment. 3184 3185 * frags.c (frag_new): Update fr_var comments. 3186 * frags.h (struct frag): Ditto. 3187 31882000-05-22 Richard Henderson <rth@cygnus.com> 3189 3190 * config/tc-ia64.c (FUNC_PC_RELATIVE): New. 3191 (pseudo_func): Add pcrel. 3192 (operand_match): Handle IA64_OPND_TGT64. 3193 (build_insn): Likewise. 3194 (md_begin): Initialize pseudo_func[FUNC_PC_RELATIVE]. 3195 (ia64_gen_real_reloc_type): Handle FUNC_PC_RELATIVE. 3196 (fix_insn): Handle all three 64-bit relocation types. 3197 3198Mon May 22 22:43:32 2000 Hans-Peter Nilsson <hp@axis.com> 3199 3200 * obj.h (struct format_ops): New members begin, app_file, 3201 s_set_other, s_set_desc, s_get_type, s_set_type, 3202 separate_stab_sections, init_stab_section. 3203 3204 * config/obj-multi.h: Update GPL notice to v2. 3205 (obj_begin): New. 3206 (obj_app_file): New. 3207 (S_SET_SIZE): Test s_set_size for NULL before calling. 3208 (S_SET_ALIGN): Similar for s_set_align. 3209 (S_SET_OTHER): New. 3210 (S_SET_DESC): New. 3211 (S_GET_TYPE): New. 3212 (S_SET_TYPE): New. 3213 (SEPARATE_STAB_SECTIONS): New. 3214 (INIT_STAB_SECTION): New. 3215 (EMIT_SECTION_SYMBOLS): New. 3216 (AOUT_STABS) [OBJ_MAYBE_AOUT]: Define. 3217 3218 * config/obj-elf.h: Update GPL notice to v2. 3219 Mention that this file is included from obj-multi.h. 3220 (obj_begin): Wrap definition in ifndef. 3221 (elf_file_symbol): Constify declaration. 3222 (obj_app_file): Ditto. 3223 (SEPARATE_STAB_SECTIONS, INIT_STAB_SECTION, OBJ_PROCESS_STAB): 3224 Wrap in ifndef SEPARATE_STAB_SECTIONS. 3225 3226 * config/obj-elf.c (elf_s_set_other): New. 3227 (elf_file_symbol): Constify argument. 3228 (elf_separate_stab_sections): New. 3229 (elf_init_stab_section): New. 3230 (elf_format_ops): Add new members. Remove comma at end. 3231 3232 * config/obj-ecoff.c (ecoff_separate_stab_sections): New. 3233 (ecoff_format_ops): Add new fields. Remove comma at end. 3234 Mention inconsistency for emit_section_symbols. 3235 3236 * config/obj-coff.h (c_dot_file_symbol): Constify declaration. 3237 3238 * config/obj-coff.c (c_dot_file_symbol): Constify argument. 3239 (coff_separate_stab_sections): New. 3240 (coff_format_ops): Add new members. 3241 3242 * config/obj-aout.c (obj_aout_sec_sym_ok_for_reloc): New. 3243 (obj_aout_s_set_other): New. 3244 (obj_aout_s_set_desc): New. 3245 (obj_aout_s_get_type): New. 3246 (obj_aout_s_set_type): New. 3247 (obj_aout_separate_stab_sections): New. 3248 (aout_format_ops): New members added. Use obj_aout_process_stab, 3249 not 0. Use obj_aout_sec_sym_ok_for_reloc, not 0. 3250 (obj_aout_frob_symbol): Add ATTRIBUTE_UNUSED to args as 3251 appropriate. 3252 (obj_aout_line, obj_aout_weak, obj_aout_type): Ditto. 3253 32542000-05-22 Alan Modra <alan@linuxcare.com.au> 3255 3256 * config/tc-i386.c (tc_i386_fix_adjustable): Prevent adjustment 3257 for OBJ_MAYBE_ELF too. Use S_IS_EXTERNAL instead of S_IS_EXTERN. 3258 (md_estimate_size_before_relax): Ensure jumps to weak and 3259 externally visible symbols are relocatable. 3260 3261Sat May 20 16:41:55 2000 Hans-Peter Nilsson <hp@axis.com> 3262 3263 * stabs.c (aout_process_stab): Make global. 3264 (s_desc): Add ATTRIBUTE_UNUSED to args as appropriate. 3265 * read.h (aout_process_stab): Declare. 3266 3267 * configure.in (EMULATIONS) [i386aout, i386coff, i386elf]: 3268 Generalize to *aout, *coff *elf. 3269 * configure: Regenerated. 3270 3271 * doc/internals.texi (Object format backend): Say 3272 SEPARATE_STAB_SECTIONS needs to be nonzero, not just defined. 3273 3274 * Makefile.am (TARG_ENV_HFILES): Delete te-multi.h. 3275 * Makefile.in: Regenerated. 3276 32772000-05-19 Catherine Moore <clm@cygnus.com> 3278 3279 * cgen.h (GAS_CGEN_MAX_FIXUPS): Check if already defined. 3280 32812000-05-18 Alan Modra <alan@linuxcare.com.au> 3282 3283 * config/tc-hppa.c (md_apply_fix): Mask out immediate bits of 3284 instruction to reflect change in re_assemble_*. 3285 3286Thu May 18 10:52:14 2000 Jeffrey A Law (law@cygnus.com) 3287 3288 * configure.in (hppa-*-hpux11*): If the cpu is hppa*64*, then 3289 build PA64 ELF tools. 3290 * configure: Rebuilt. 3291 32922000-05-17 Alan Modra <alan@linuxcare.com.au> 3293 3294 * Makefile.am: Regenerate dependencies. 3295 * Makefile.in: Regenerate. 3296 32972000-05-15 Nick Clifton <nickc@cygnus.com> 3298 3299 * config/tc-arm.c (struct asm_psr): Add boolean field 3300 distinguishing between CSPR and SPSR. Rename 'number' field 3301 to 'field'. 3302 (psrs): Rearrange contents to match new asm_psr structure. 3303 (arm_psr_parse): Move next to psr_required_here. Make it 3304 return an asm_psr structure. 3305 (psr_required_here): Use asm_psr structure returned by 3306 arm_psr_parse. 3307 (do_msr): Reorganise to allow psr_required_here to be called 3308 only once. 3309 (md_undefined_name): Mark 'name' parameter as unused, since 3310 the COFF target does not use it. 3311 33122000-05-14 David O'Brien <obrien@FreeBSD.org> 3313 3314 * config/te-386bsd.h: Clean up comments to adhere to the GNU coding 3315 standards. 3316 * config/te-aux.h: Likewise. 3317 * config/te-dpx2.h: Likewise. 3318 * config/te-go32.h: Likewise. 3319 * config/te-hp300.h: Likewise. 3320 * config/te-hppa.h: Likewise. 3321 * config/te-i386aix.h: Likewise. 3322 * config/te-ic960.h: Likewise. 3323 * config/te-interix.h: Likewise. 3324 * config/te-nbsd532.h: Likewise. 3325 * config/te-pc532mach.h: Likewise. 3326 * config/te-ppcnw.h: Likewise. 3327 * config/te-psos.h: Likewise. 3328 * config/te-sparcaout.h: Likewise. 3329 * config/te-sun3.h: Likewise. 3330 * config/te-sysv32.h: Likewise. 3331 33322000-05-14 Alan Modra <alan@linuxcare.com.au> 3333 3334 * config/tc-h8300.c (do_a_fix_imm): Don't rely on `short' being 16 3335 bits. Instead explicitly mask and sign extend. Do the 8 bit mask 3336 and sign extend without an if statement. 3337 (build_bytes): Likewise. 3338 33392000-05-14 Kazu Hirata <kazu@hxi.com> 3340 3341 * config/tc-h8300.c (do_a_fix_imm): Output a reloc for no 3342 X_add_symbol L_32 case. 3343 33442000-05-14 David O'Brien <obrien@FreeBSD.org> 3345 3346 * config/te-freebsd.h: New file. 3347 33482000-05-13 Alan Modra <alan@linuxcare.com.au> 3349 3350 * asintl.h (gettext, dgettext, dcgettext, textdomain, 3351 bindtextdomain): Replace defines with those from intl/libgettext.h 3352 to quieten gcc warnings. 3353 3354 * NEWS: Mention x86 .arch and -q. 3355 3356 * config/tc-i386.c (quiet_warnings): New. 3357 (md_assemble): Use quiet_warnings. 3358 (md_parse_option): Set quiet_warnings from -q. 3359 (md_show_usage): Mention -q, delete -m. 3360 (flag_do_long_jump): Delete. 3361 (md_parse_option): Remove -m. 3362 (md_show_usage): Remove -m. 3363 (md_create_long_jump): Remove useless flag_do_long_jump code. 3364 3365 * as.c (parse_args): In case OPTION_DEFSYM, use a valueT to hold 3366 the symbol value, and use bfd_scan_vma if BFD_ASSEMBLER. 3367 33682000-05-13 Alan Modra <alan@linuxcare.com.au> 3369 Alexander Sokolov <robocop@netlink.ru> 3370 3371 * doc/c-i386.texi (i386-Arch): New section. 3372 (i386-Syntax): Mention .intel_syntax and .att_syntax. 3373 3374 * config/tc-i386.c (cpu_arch_name, cpu_arch_flags): New. 3375 (smallest_imm_type): Use smallest opcode for shift by one if cpu 3376 architecture has been given and is not 486. 3377 (set_cpu_arch): New. 3378 (md_pseudo_table): Add .arch. 3379 (md_assemble): Warn if cpu architecture has been given and an 3380 unsupported instruction. 3381 3382 * config/tc-i386.h (SMALLEST_DISP_TYPE): Delete. 3383 Move operand_types bit defines after relevant template field. 3384 (template): Add cpu_flags. 3385 (Cpu*): Define. 3386 (arch_entry): New. 3387 33882000-05-12 Alexandre Oliva <aoliva@cygnus.com> 3389 3390 * config/tc-mn10300.h (md_end): Define. 3391 (mn10300_finalize): Declare. 3392 * config/tc-mn10300.c: Include dwarf2dbg.h. 3393 (debug_line): Define. 3394 (md_assemble): Generate dwarf2 line info. 3395 (mn10300_finalize): New function. Finalize dwarf2 info. 3396 33972000-05-11 Ulf Carlsson <ulfc@engr.sgi.com> 3398 3399 * config/tc-mips.c (md_estimate_size_before_relax): Use the 3400 external version of the relocation for weak symbols. 3401 34022000-05-08 David Mosberger <davidm@hpl.hp.com> 3403 3404 * config/tc-ia64.c (output_P7_format, case mem_stack_f): Output fixed 3405 frame size in units of 16 bytes, as required per SW Conventions manual. 3406 (output_unw_records): Output info-block header as a dword to get 3407 byte-order right. 3408 34092000-05-08 Alan Modra <alan@linuxcare.com.au> 3410 3411 * as.h: #include "file", not <file> on files from ../include. 3412 (as_abort, as_fatal): Add ATTRIBUTE_NORETURN. 3413 * config/tc-m68k.c (m68k_ip): Fix signed/unsigned warnings. 3414 (md_convert_frag): Add ATTRIBUTE_UNUSED. 3415 (tc_coff_symbol_emit_hook): Ditto. 3416 (OPTCOUNT): Cast to int to avoid compiler warning. 3417 (md_begin): Fix signed/unsigned warnings. 3418 34192000-05-08 Michael Sokolov <msokolov@ivan.Harhan.ORG> 3420 3421 * config/tc-m68k.c (md_convert_frag_1): Abort if we end up in the 3422 ABRANCH LONG case for a conditional branch on a 68000. 3423 (md_estimate_size_before_relax): Likewise. Also handle 3424 flag_short_refs correctly for ABRANCH, BCC68000, and DBCC. 3425 (m68k-ip: case ABSL): Relax absolute references to 16-bit 3426 PC-relative on all CPUs. 3427 (md_estimate_size_before_relax): Likewise. 3428 34292000-05-04 Alan Modra <alan@linuxcare.com.au> 3430 3431 * as.c (parse_args): Just mention current year in printed 3432 copyright message. 3433 34342000-05-03 J.T. Conklin <jtc@redback.com> 3435 3436 * config/tc-ppc.c (pre_defined_registers): Add entries for vector 3437 unit registers. 3438 (md_parse_option): Recognize -m7400. 3439 34402000-05-03 Ian Lance Taylor <ian@zembu.com> 3441 3442 * config/atof-ieee.c (gen_to_words): When adding carry back in, 3443 don't permit lp to become less than the words array. 3444 34452000-05-03 Rodney Brown <RodneyBrown@pmsc.com> 3446 3447 config/tc-mcore.c (md_apply_fix3): BFD_RELOC_MCORE_PCREL_IMM11BY2 3448 Fix little-endian case. 3449 34502000-05-03 David O'Brien <obrien@NUXI.com> 3451 3452 * as.c (parse_args): Update copyright. 3453 34542000-05-03 Mark Elbrecht <snowball3@bigfoot.com> 3455 3456 * gas/config/tc-i386.h (SUB_SEGMENT_ALIGN): If TE_GO32, return 4 3457 for the .bss section too. 3458 34592000-05-02 Alan Modra <alan@linuxcare.com.au> 3460 3461 * configure.in: Set em=linux for hppa-*-linux. 3462 * configure: Regenerate. 3463 * doc/Makefile.in: Regenerate with correct automake. 3464 3465 * frags.c (frag_grow): Sanity check chunk_size. 3466 3467 * config/obj-elf.h: #include "bfd.h" not <bfd.h> 3468 * config/obj-som.h: Likewise. 3469 * config/obj-ieee.h: Likewise. 3470 3471 * config/tc-hppa.h: Test BFD_ARCH_SIZE, not BFD64. 3472 3473 * config/tc-hppa.c (log2): Only compile when OBJ_SOM. 3474 (md_pseudo_table): Fully initialise OBJ_ELF cases. 3475 (fix_new_hppa): Add ATTRIBUTE_UNUSED to args as appropriate. 3476 (pa_ip): low_sign_unext now returns via function value. Use 3477 re_assemble_* instead of dis_assemble_* and 3478 INSERT_FIELD_AND_CONTINUE combination. Don't call sign_unext 3479 unnecessarily. 3480 (md_convert_frag): Add ATTRIBUTE_UNUSED to args as appropriate. 3481 (md_section_align, md_parse_option, md_show_usage, 3482 md_undefined_symbol, pa_align, pa_block, pa_brtab, pa_try, 3483 pa_callinfo, pa_code, pa_comm, pa_end, pa_enter, pa_entry, 3484 pa_exit, pa_export, pa_import, pa_label, pa_leave, pa_level, 3485 pa_origin, pa_param, pa_proc, pa_procend, pa_space, pa_spnum, 3486 pa_version, pa_compiler, pa_copyright, pa_data, pa_fill, pa_lsym, 3487 pa_text): Likewise. 3488 (md_apply_fix): Change type of new_val to offsetT. Delete w1, w2, 3489 w, resulti. Add insn, val. Move bfd_get_32 and bfd_put_32 3490 outside of switch. Correct mask and shifting errors in case 10 3491 and case -11. In case 21, compare against signed range to suit 3492 hppa_field_adjust changes. In case 12, use re_assemble_12. In 3493 case 17 and case 22, use offsetT variable to properly check range. 3494 Use re_assemble_* here too. 3495 (evaluate_absolute): Change type of value to offsetT. Call 3496 hppa_field_adjust to do the work for us. 3497 (pa_parse_cmpb_64_cmpltr): Delete save_s. 3498 (pa_parse_cmpib_64_cmpltr): Ditto. 3499 (pa_build_unwind_subspace): Delete unused var subseg. Change type 3500 of i to unsigned int. 3501 (pa_type_args): Conditionally declare symbol if OBJ_SOM. 3502 (pa_end_of_source): Return type is void. 3503 3504Mon May 1 08:54:23 2000 Catherine Moore <clm@cygnus.com> 3505 3506 * macro.c (macro_expand_body): Don't prepend macro number with zeroes. 3507 3508Mon May 1 14:19:39 2000 Denis Chertykov <denisc@overta.ru> 3509 3510 * config/tc-avr.c: ATTRIBUTE_UNUSED added to the necessary places. 3511 More comments added. 3512 (md_begin): Removed "construct symbols for each register name". 3513 Because register names conflicts with GCC generated function 3514 names. 3515 (avr_operand): Now constant numbers can be used as a register 3516 identifiers (0 as r0, 31 as r31). 3517 (md_assemble): use skip_space () before parsing instruction 3518 operands. 3519 35202000-05-01 Alan Modra <alan@linuxcare.com.au> 3521 3522 * configure.in: Set bfd_gas=yes on i386-*-pe and i386-*-nt* to 3523 ensure all pe targets use bfd. Remove unnecessary bfd_gas=yes on 3524 arm-*-netbsd* and arm-*-wince as this is set for all arm*. 3525 * configure: Regenerate. 3526 35272000-04-29 Andreas Jaeger <aj@suse.de> 3528 3529 * as.h: Correctly check GCC version. 3530 35312000-04-26 David O'Brien <obrien@FreeBSD.org> 3532 3533 * doc/as.1: Fix unbalanced brackets. 3534 3535 * config/tc-i386.c (comment_chars): Don't use '/' as comment start if 3536 TE_FreeBSD. 3537 (line_comment_chars): Set to '/' if TE_FreeBSD. 3538 3539Tue Apr 25 11:02:02 2000 Jeffrey A Law (law@cygnus.com) 3540 3541 * configure.in: Configury support for PA64 (currently disabled). 3542 * configure: Rebuilt. 3543 35442000-04-25 Machida Hiroyuki <machida@sm.sony.co.jp> 3545 3546 * config/tc-mips.c (s_change_sec): Use record_alignment, not 3547 bfd_set_section_alignment. 3548 35492000-04-25 Alan Modra <alan@linuxcare.com.au> 3550 3551 * config/tc-i386.c (offset_in_range): Ensure shift counts are less 3552 than 32. 3553 35542000-04-24 Nick Clifton <nickc@cygnus.com> 3555 3556 * doc/c-arm.texi (ARM Directives): Document behaviour of .align 0. 3557 * doc/as.texinfo (Align): Include arm and strongarm in list of 3558 targets that have the second form of the behaviour of the .align 3559 directive. 3560 35612000-04-24 Mark Klein <mklein@dis.com> 3562 3563 * obj-som.c: Terminate obj_pseudo_table. 3564 3565Mon Apr 24 15:21:11 2000 Clinton Popetz <cpopetz@cygnus.com> 3566 3567 * as.c (parse_args): Allow md_parse_option to override -a listing 3568 option. 3569 * config/obj-coff.c (add_lineno): Change type of offset parameter 3570 from "int" to "bfd_vma." 3571 * config/tc-ppc.c (md_pseudo_table): Add "llong" and "machine." 3572 (ppc_mach, ppc_subseg_align, ppc_target_format): New. 3573 (ppc_change_csect): Align correctly for XCOFF64. 3574 (ppc_machine): New function, which discards "ppc_machine" line. 3575 (ppc_tc): Cons for 8 when code is 64 bit. 3576 (md_apply_fix3): Don't check operand->insert. Handle 64 bit 3577 relocations. 3578 (md_parse_option): Handle -a64 and -a32. 3579 (ppc_xcoff64): New. 3580 * config/tc-ppc.h (TARGET_MACH): Define. 3581 (TARGET_FORMAT): Move to function. 3582 (SUB_SEGMENT_ALIGN): Use ppc_subseg_align. 3583 3584Sun Apr 23 16:45:45 2000 Denis Chertykov <denisc@overta.ru> 3585 3586 * config/tc-avr.c: New AVR_ISA_ defined. 3587 (md_assemble): Handle opcodes with optional operands (lpm,elpm). 3588 (avr_operand): Handle 'a', 'v' and 'z' constraint letters needed 3589 for `fmul', `movw' and `lpm R,Z' instructions. 3590 (avr_operands): Warn if current opcode is a two-word instruction 3591 and previous opcode was cpse/sbic/sbis/sbrc/sbrs. 3592 (avr_opcodes): New commands added. 3593 (REGISTER_P): Check 'a' and 'v' constraint letters. 3594 (mcu_types): New MCU added. 3595 35962000-04-22 Timothy Wall <twall@cygnus.com> 3597 3598 * config/tc-ia64.c (pseudo_func[]): Add new "nat" entry equivalent 3599 to "natval". 3600 (operand_match): Conditionally insert default bit values for IMMU9. 3601 36022000-04-14 Matthew Green <mrg@cygnus.com> 3603 3604 * configure.in: Add NetBSD/sparc ELF and NetBSD/sparc64 support. 3605 * configure: Rebuilt. 3606 3607Fri Apr 21 14:29:43 2000 Jeffrey A Law (law@cygnus.com) 3608 Jason Eckhardt <jle@cygnus.com> 3609 3610 * config/tc-hppa.c (md_apply_fix): Handle new PA2.0 formats. 3611 3612 * config/tc-hppa.c (CHECK_ALIGN): New macro. 3613 Added handling of new operand types l,y,&,fe,fE,fx. 3614 3615Fri Apr 21 13:20:53 2000 Richard Henderson <rth@cygnus.com> 3616 David Mosberger <davidm@hpl.hp.com> 3617 Timothy Wall <twall@cygnus.com> 3618 Andrew MacLeod <amacleod@cygnus.com> 3619 Jim Wilson <wilson@cygnus.com> 3620 3621 * Makefile.am (CPU_TYPES): Add ia64. 3622 (TARGET_CPU_CFILES): Add config/tc-ia64.c. 3623 (TARGET_CPU_HFILES): Add config/tc-ia64.h. 3624 * Makefile.in: Rebuild. 3625 * app.c (do_scrub_chars): Handle DOUBLESLASH_COMMENTS. 3626 * configure: Rebuild. 3627 * configure.in: Recognize ia64 as cpu type. Set bfd_gas. 3628 (ia64-*-elf*, ia64-*-linux-gnu*): New targets. 3629 * expr.c (expr): Handle md_optimize_expr. 3630 * read.c (LEX_HASH): Add comment. 3631 * config/tc-ia64.c, config/tc-ia64.h: New files. 3632 36332000-04-21 Richard Henderson <rth@cygnus.com> 3634 3635 * config/tc-d30v.c (write_2_short): Disregard opcode1->ecc when 3636 bundling a non-delayed branch type instruction. 3637 36382000-04-20 Alexandre Oliva <aoliva@cygnus.com> 3639 3640 * config/tc-mn10300.c (HAVE_AM30): Define. 3641 (md_assemble): Use it. 3642 36432000-04-19 Alan Modra <alan@linuxcare.com.au> 3644 3645 * config/obj-elf.c (obj_elf_change_section): Check for changed 3646 section attributes. 3647 3648 * Makefile.am: (CPU_MULTI_VALID): Remove. 3649 (MULTI_CPU_TYPES): Define. 3650 (MULTI_CPU_OBJ_VALID): Define. 3651 (DEPTC): Use the above. 3652 (DEPOBJ): Same here. 3653 (DEP2): And here. 3654 Regenerate dependencies. 3655 * Makefile.in: Regenerate. 3656 36572000-04-19 Michael Sokolov <msokolov@ivan.Harhan.ORG> 3658 3659 * Makefile.am (YACC, LEX): Get them from configure. 3660 36612000-04-18 H.J. Lu (hjl@gnu.org) 3662 3663 * config/tc-i386.c (offset_in_range): Use addressT instead of 3664 bfd_vma for non-bfd assemblers. 3665 36662000-04-17 Alan Modra <alan@linuxcare.com.au> 3667 3668 * config/tc-i386.c (offset_in_range): Sign extend val so BFD64 3669 doesn't give spurious errors. 3670 36712000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG> 3672 3673 * as.h (SEEK_SET): Define if undefined. 3674 36752000-04-13 Alan Modra <alan@linuxcare.com.au> 3676 3677 * config/tc-arm.c (md_apply_fix3): Don't use UL suffix on 3678 constants, and don't assume offsetT is 32 bits. 3679 36802000-04-12 Andrew Cagney <cagney@b1.cygnus.com> 3681 3682 * config/tc-d10v.h: Include "write.h" to get definition of fixS. 3683 (md_pcrel_from_section): Add prototype. 3684 (d10v_fix_adjustable): Add prototype. 3685 (d10v_force_relocation): Replace 'struct fix' with 'fixS'. 3686 3687 * config/tc-d10v.c (md_apply_fix3): Add paren around &&. 3688 36892000-04-12 Nick Clifton <nickc@cygnus.com> 3690 3691 * config/tc-d10v.c (find_opcode): Correctly calculate position of 3692 symbol in frag chain. 3693 36942000-04-10 Alan Modra <alan@linuxcare.com.au> 3695 3696 * config/tc-i386.c (fits_in_signed_byte): Change arg to offsetT. 3697 (fits_in_unsigned_byte, fits_in_unsigned_word): Ditto. 3698 (fits_in_signed_word, smallest_imm_type): Ditto. 3699 (md_assemble): Use an offsetT var to hold offsetT values, not a 3700 long. 3701 (offset_in_range): New. 3702 (md_assemble): Use it. 3703 (md_convert_frag): Change type of target_address, opcode_address, 3704 and displacement_from_opcode_start to offsetT. 3705 (md_create_short_jump): Change type of offset to offsetT. 3706 (md_create_long_jump): Ditto. 3707 (md_apply_fix3): Use -4, not 0xfffffffc for BFD_RELOC_386_PLT32. 3708 (md_chars_to_number): Remove. 3709 (output_invalid): Remove duplicate prototype. 3710 37112000-04-09 Nick Clifton <nickc@cygnus.com> 3712 3713 * Makefile.am (CPU_TYPES): Add 'avr'. 3714 (TARGET_CPU_CFILES): Add 'tc-avr.c'. 3715 (TARGET_CPU_HFILES): Add 'tc-avr.h'. 3716 3717 * Makefile.in: Regenerate. 3718 3719 * doc/as.texinfo: Add M32R documentation. 3720 3721Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com> 3722 3723 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add 3724 --enable-build-warnings option. 3725 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions. 3726 * Makefile.in, configure: Re-generate. 3727 37282000-04-07 Nick Clifton <nickc@cygnus.com> 3729 3730 * config/tc-arm.c (md_apply_fix3): Treat BFD_RELOC_ARM_PCREL_BLX 3731 in the same way as BFD_RELOC_ARM_PCREL_BRANCH, and 3732 BFD_RELOC_THUMB_PCREL_BLX lie BFD_RELOC_THUMB_PCREL_BRANCH. 3733 (tc_gen_reloc): Accept BFD_RELOC_{ARM|THUMB}_PCREL_BLX. 3734 (arm_force_relocation): Force relocations for 3735 BFD_RELOC_{ARM|THUMB}_PCREL_BLX as well. 3736 3737Wed Apr 5 22:26:32 2000 J"orn Rennecke <amylaar@cygnus.co.uk> 3738 3739 * config/tc-sh.c (get_operands): There's no third operand if the 3740 first operand is an immediate. 3741 3742Wed Apr 5 22:07:19 2000 J"orn Rennecke <amylaar@cygnus.co.uk> 3743 3744 * config/tc-sh.c (immediate): Delete. 3745 (sh_operand_info): Add immediate member. 3746 (parse_reg): Use A_PC for pc. 3747 (parse_exp): Add second argument 'op'. All callers changed. 3748 (parse_at): Expect pc to be coded as A_PC. 3749 Use immediate field in *op. 3750 (insert): Add fourth argument 'op'. All callers changed. 3751 (build_relax): Add second argument 'op'. All callers changed. 3752 (insert_loop_bounds): New function. 3753 (build_Mytes): Remove DISP_4. 3754 Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}. Add REPEAT. 3755 (assemble_ppi): Use immediate field in *operand. 3756 (sh_force_relocation): Handle BFD_RELOC_SH_LOOP_{START,END}. 3757 (md_apply_fix): Likewise. 3758 (tc_gen_reloc): Likewise. Check for a pcrel BFD_RELOC_SH_LABEL. 3759 3760Wed Apr 5 06:35:45 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br> 3761 3762 * config/tc-sparc.c (sparc_ip): Avoid string pasting. 3763 3764Tue Apr 4 19:27:50 2000 Hans-Peter Nilsson <hp@axis.com> 3765 3766 * internals.texi (CPU backend): Document 3767 TC_CHECK_ADJUSTED_BROKEN_DOT_WORD. 3768 37692000-04-04 Alan Modra <alan@linuxcare.com.au> 3770 3771 * po/gas.pot: Regenerate. 3772 3773 * as.c (show_usage): Restore translated part of bug string. 3774 * gasp.c (show_usage): Likewise. 3775 3776 * Makefile.am (MKDEP): Use gcc -MM rather than ../mkdep. 3777 (DEP): Quote when passing vars to sub-make. Use "mv -f" rather 3778 than move-if-change. 3779 (DEP1): Modify for "gcc -MM". 3780 (DEPTC): Likewise. 3781 (DEPOBJ): Likewise. 3782 (DEP2): Likewise. 3783 (CLEANFILES): Add DEPTCA, DEPOBJA, DEP2a, DEPA. 3784 Update dependencies. 3785 * Makefile.in: Regenerate. 3786 37872000-04-03 Alexandre Oliva <aoliva@cygnus.com> 3788 3789 * config/tc-mn10300.c (md_pseudo_table): Use constant names. 3790 (md_begin): Likewise. 3791 (HAVE_AM33): New macro. 3792 (md_assemble): Use it. Match r_regs and xr_regs only if 3793 HAVE_AM33. 3794 37952000-04-03 Alan Modra <alan@linuxcare.com.au> 3796 3797 * as.h: #include "bin-bugs.h" 3798 * as.c (show_usage): Use REPORT_BUGS_TO. 3799 * gasp.c: #include "bin-bugs.h" 3800 (show_usage): Use REPORT_BUGS_TO. 3801 3802 * config/tc-sparc.c (md_show_usage): Add a trailing newline. 3803 3804Mon Apr 3 13:56:03 2000 Hans-Peter Nilsson <hp@axis.com> 3805 3806 * write.c (write_object_file) [! WORKING_DOT_WORD]: If defined, 3807 call TC_CHECK_ADJUSTED_BROKEN_DOT_WORD for each word after 3808 adjustments. 3809 38102000-04-03 Alan Modra <alan@linuxcare.com.au> 3811 3812 * config/tc-i386.c (i386_immediate): Don't assume a constant 3813 immediate is necessarily 16 bits when in 16 bit code mode. 3814 (md_assemble): Instead set guess_suffix here after we have checked 3815 registers. 3816 38172000-04-02 Richard Henderson <rth@cygnus.com> 3818 3819 * config/tc-d30v.c (check_range): Allow signed or unsigned 32-bit 3820 quantities. Correct right shift sign extension. 3821 (build_insn): Make `number' unsigned long. Mask top 6 bits of 3822 32-bit value when shifting into place. 3823 38242000-04-01 Ian Lance Taylor <ian@zembu.com> 3825 3826 * app.c: Add ATTRIBUTE_UNUSED as needed. 3827 * config/tc-ppc.c: Likewise. 3828 (ppc_size): Make unsigned long. 3829 (ppc_insert_operand): Add casts to avoid warnings. 3830 38312000-03-31 Nick Clifton <nickc@cygnus.com> 3832 3833 * config/tc-d10v.h (md_flush_pending_output): Define. 3834 38352000-03-29 Nick Clifton <nickc@cygnus.com> 3836 3837 * config/tc-sh.h (SEG_NAME): New macro: return the name of a 3838 segment. Works for both BFD_ASSEMBLER and others. 3839 (SUB_SEGMENT_ALIGN): Use SEG_NAME. 3840 38412000-03-29 Nick Clifton <nickc@cygnus.com 3842 3843 * config/tc-arm.c (tinsns): Add "bal" instruction pattern. 3844 38452000-03-28 Alan Modra <alan@linuxcare.com.au> 3846 3847 * listing.c (LISTING_LHS_WIDTH): Default depends on 3848 LISTING_WORD_SIZE. 3849 (LISTING_LHS_WIDTH_SECOND): Default to LISTING_LHS_WIDTH. 3850 38512000-03-27 Ian Lance Taylor <ian@zembu.com> 3852 3853 * config/tc-sh.c (md_show_usage): Use backslash before newline in 3854 string literal. 3855 38562000-03-27 Alan Modra <alan@linuxcare.com.au> 3857 3858 * config/tc-avr.h (TC_HANDLES_FX_DONE): Define. 3859 3860 * config/tc-avr.c (mcu_types): Add missing initialiser. 3861 (md_pcrel_from_section): Add prototype. 3862 (avr_operand): Remove redundant test of unsigned < 0. 3863 (avr_cons_fix_new): Ensure exp_mod_pm zero on function exit. 3864 38652000-03-27 Denis Chertykov <denisc@overta.ru> 3866 3867 * config/tc-avr.c: New file for AVR support. 3868 * config/tc-avr.h: Likewise. 3869 * configure.in: Add AVR support. 3870 * configure: Regenerate. 3871 38722000-03-26 Timothy Wall <twall@cygnus.com> 3873 3874 * gasp.c (macro_op): Add new argument to check_macro call. 3875 Macro structure definitions moved to macro.h 3876 * sb.h: Add argument to prototype for input_scrub_include_sb. 3877 * input-scrub.c (input_scrub_include_sb): Allow disabling of sb 3878 nesting checks with an additional flag. 3879 (struct input_save): Add flag to indicate whether current sb 3880 should be checked for proper macro/conditional nesting. 3881 (input_scrub_push/pop): Save/restore nest check flag. 3882 (input_scrub_next_buffer): Ditto. Also call end of macro hook if 3883 defined. 3884 * macro.c (check_macro): Allow caller to retrieve parsed macro 3885 information if a pointer is provided. This information may be 3886 used by the new macro hooks. 3887 * macro.h: Update prototype for check_macro. Macro struct 3888 definitions moved here from macro.c/gasp.c. 3889 * read.c (read_a_source_file): Add parameter to check_macro call, 3890 and pass macro info to the macro hook, if defined. 3891 (input_scrub_insert_line): New. Allow insertion of a line of 3892 characters into the input stream. 3893 (input_scrub_insert_file): New. Allow insertion of an arbitrary 3894 file into the input stream. 3895 (s_include): Use input_scrub_insert_file. 3896 * internals.texi: Document new macro hooks. 3897 * as.h: New prototypes added. 3898 38992000-03-26 Alan Modra <alan@linuxcare.com.au> 3900 3901 * config/tc-i386.c: Don't start any as_bad or as_warn message with 3902 an initial capital letter. 3903 (i386_index_check): Reindent. 3904 39052000-03-19 Nick Clifton <nickc@cygnus.com> 3906 3907 * config/tc-arm.c (md_apply_fix3): Fix bug detecting overflow of pc 3908 relative branches. 3909 39102000-03-17 Thomas de Lellis <tdel@windriver.com> 3911 3912 * config/tc-arm.c (do_t_adr): Flag "adr Rd,label" 3913 instruction operand bad if Rd > 7 when generating 3914 thumb instructions. Prevents for example, 3915 "adr r12,label" from silently failing and generating 3916 the wrong instruction. 3917 39182000-03-17 Nick Clifton <nickc@cygnus.com> 3919 3920 * config/tc-arm.c (md_apply_fix3): Handle same-section relocations 3921 that have a destingation >= 0x400000. 3922 Fix compile time warning messages. 3923 3924Thu Mar 16 23:45:16 2000 J"orn Rennecke <amylaar@cygnus.co.uk> 3925 3926 * config/tc-sh.c (md_begin): When encountering insn that are 3927 not supported by the current arch, only change the name if 3928 its contents are the same as prev_name. 3929 (get_specific): If the the architecture doesn't match, fail. 3930 3931Thu Mar 16 21:18:13 2000 J"orn Rennecke <amylaar@cygnus.co.uk> 3932 3933 * config/tc-sh.c (IDENT_CHAR): Define. 3934 (parse_reg): Use it instead of isalnum. Put r[0..7]_bank operand 3935 matching back where it came from. 3936 3937Thu Mar 16 20:58:10 2000 J"orn Rennecke <amylaar@cygnus.co.uk> 3938 3939 * config/tc-sh.c (md_show_usage): Add description of -dsp. 3940 39412000-03-15 Jonathan Larmour <jlarmour@redhat.co.uk> 3942 3943 * config/tc-sh.c (parse_reg): Match r[0..7]_bank operands before 3944 normal operands. 3945 39462000-03-15 Kazu Hirata <kazu@hxi.com> 3947 3948 * config/tc-h8300.c: Add ATTRIBUTE_UNUSED as appropriate. 3949 3950Mon Mar 13 22:02:59 2000 Hans-Peter Nilsson <hp@axis.se> 3951 3952 * expr.c (operand) [case 'f']: When testing if '0f' can start a 3953 floating-point-number, make sure 'f' is in FLT_CHARS. 3954 3955Sat Mar 11 00:01:39 2000 Hans-Peter Nilsson <hp@axis.se> 3956 3957 * read.c (TC_IMPLICIT_LCOMM_ALIGNMENT): New default-definition. 3958 (s_lcomm_internal): Use it. 3959 * doc/internals.texi (CPU backend): Document it. 3960 * config/obj-evax.h (TC_IMPLICIT_LCOMM_ALIGNMENT): Set to 2**3 3961 bytes. 3962 39632000-03-10 Geoffrey Keating <geoffk@cygnus.com> 3964 3965 * config/tc-mips.c (mips_ip): Don't put stuff in .rodata 3966 when embedded-pic. 3967 3968 * config/tc-mips.c (SWITCH_TABLE): The ELF embedded-pic 3969 implementation doesn't have special handling for switch 3970 statements. 3971 (macro_build): Allow for code in sections other than .text. 3972 (macro): Likewise. 3973 (mips_ip): Likewise. 3974 (md_apply_fix): Do pc-relative relocation madness for MIPS ELF. 3975 Don't perform relocs if we will be outputting them. 3976 (tc_gen_reloc): For ELF, just use fx_addnumber for pc-relative 3977 relocations. Allow BFD_RELOC_16_PCREL_S2 relocs when 3978 embedded-pic. 3979 39802000-03-09 Catherine Moore <clm@cygnus.com> 3981 3982 * config/tc-m32r.c (m32r_fix_adjustable): Look up the 3983 relocation type based on the entry in the fixup structure. 3984 Put S_IS_EXTERN processing back in. 3985 39862000-03-08 H.J. Lu (hjl@gnu.org) 3987 3988 * Makefile.am (install-exec-tooldir): Depend on 3989 install-exec-bindir for parallel make. 3990 * Makefile.in: Regenerated. 3991 39922000-03-06 Nick Clifton <nickc@cygnus.com> 3993 3994 * config/tc-m32r.c (struct md_longopts): Add -m32r command line 3995 switch. 3996 (md_parse_option): Parse -m32r command line switch - disable m32rx 3997 compatability. 3998 (md_show_usage): Document new option. 3999 4000 * doc/Makefile.am (CPU_DOCS): Add c-m32r.texi. 4001 * doc/Makefile.in: Regenerate. 4002 * doc/c-m32r.texi (M32R-Opts): Document new command line switch. 4003 40042000-03-02 Michael Meissner <meissner@redhat.com> 4005 4006 * config/tc-d30v.c (check_range): Remove code that incorrectly 4007 sign extended values where bits < 32. 4008 40092000-03-02 H.J. Lu (hjl@gnu.org) 4010 4011 * configure.in: Support --enable-targets=all on ia32. 4012 * configure: Regenerated. 4013 40142000-03-01 Nick Clifton <nickc@cygnus.com> 4015 4016 * gasp.c (do_align): Remove bogus check of alignment value. 4017 40182000-02-27 Thomas de Lellis <tdel@windriver.com> 4019 4020 * config/obj-elf.c (elf_frob_symbol): Remove code which when 4021 TC_PPC was defined forced the type of a symbol with no other type 4022 to be BSF_OBJECT. 4023 40242000-02-27 Hans-Peter Nilsson <hp@axis.com> 4025 4026 * doc/internals.texi (CPU backend): Mention that 4027 line_separator_chars do not break up comments. Fix typos for 4028 LEX_AT and LEX_NAME descriptions. Document operands for 4029 TC_EQUAL_IN_INSN, md_operand and md_section_align. Correct 4030 description of md_create_short_jump usage. Document argument for 4031 md_undefined_symbol. 4032 40332000-02-27 Jakub Jelinek <jakub@redhat.com> 4034 4035 * config/tc-sparc.c (OPTION_UNDECLARED_REGS): New option. 4036 (md_parse_option): Handle it. 4037 (md_show_usage): Document it. 4038 40392000-02-27 Ian Lance Taylor <ian@zembu.com> 4040 4041 * config/tc-alpha.c (md_assemble): Accept `1' and `9' in an 4042 opcode, for the instruction `pal19'. From Andrea Arcangeli 4043 <andrea@suse.de>. 4044 40452000-02-26 Alan Modra <alan@spri.levels.unisa.edu.au> 4046 4047 * config/tc-i386.c (i386_immediate): Move constant operand sizing 4048 from here.. 4049 (md_assemble): To here, before template operands are matched. 4050 Also ensure a constant immediate is sign extended when we know the 4051 size is at most 16 bits. This is to catch cases like "add 4052 $0xffc0,%ax" where we don't know the size, and thus that the 4053 immediate can be represented as Imm8S until after parsing the 4054 register operand. 4055 (i386_displacement): Similarly sign extend 16 bit constant 4056 displacements. 4057 (md_assemble): Relax 16-bit jump constant range check to suit sign 4058 extended displacements. 4059 40602000-02-26 Andreas Jaeger <aj@suse.de> 4061 4062 * doc/c-mips.texi (MIPS Opts): Fix typo in last patch. 4063 40642000-02-25 Alan Modra <alan@spri.levels.unisa.edu.au> 4065 4066 * config/tc-i386.c (md_assemble): Don't swap intersegment jmp and 4067 call operands when intel_syntax. 4068 (intel_float_operand): Return 2 for "fi...". 4069 (i386_operand_modifier): Change "DWORD PTR" test to suit above. 4070 Return SHORT_MNEM_SUFFIX for "WORD PTR" when "fi...". Revert 4071 earlier "SHORT" change. 4072 (md_assemble): When determining suffix from Regs, exclude 4073 InOutPortReg. 4074 40752000-02-24 Nick Clifton <nickc@cygnus.com> 4076 4077 * configure: Add arm-wince, mips-pe and sh-pe targets. 4078 * configure: Regenerate. 4079 4080 * config/obj-coff.h (COFF_WITH_PE): Define for mips-pe and 4081 sh-pe targets. 4082 (TARGET_FORMAT): Set to "pe-shl" for the sh-pe target and to 4083 "pe-mips" for the mips-pe target. 4084 4085 * config/tc-arm.c (insns): Change displacement encoded in BL 4086 and B instructions if the target port is arm-wince. 4087 (do_ldst): Do not bias the relocation offset if the target 4088 port is arm-wince. 4089 (md_pcrel_from): Add in missing relocation offset bias if the 4090 target os arm-wince. 4091 4092 * config/tc-mips.c (mips_target_format): Support COFF flavour. 4093 (md_begin): Disable -G support for mips-pe target. 4094 (md_apply_fix): Treat BFD_RELOC_RVA reloc as BFD_RELOC_32. 4095 * config/tc-mips.h (USE_GLOBAL_POINTER_OPT): Add support for 4096 COFF flavour. 4097 4098 * config/tc-sh.c (md_begin): sh-pe target is little endian. 4099 * config/tc-sh.h (SUB_SEGMENT_ALIGN): If using a BFD 4100 assembler, just set the alignment to 4. 4101 4102 * config/te-wince-pe.h: New file for WinCE targets. Define 4103 TE_WINCE. 4104 41052000-02-25 Alan Modra <alan@spri.levels.unisa.edu.au> 4106 4107 * config/tc-i386.c (md_assemble): Swap segments too for intel mode 4108 string instructions. 4109 (i386_operand_modifier): Set i.suffix = WORD_MNEM_SUFFIX for SHORT. 4110 (i386_intel_memory_operand): After finding a segment override, 4111 check again for no `[' before looking for a displacement. Bomb if 4112 more than one displacement rather than silently discarding the 4113 second and subsequent ones. Free strings malloc'd by 4114 build_displacement_string. 4115 41162000-02-24 Catherine Moore <clm@cygnus.com> 4117 4118 * config/obj-som.c (obj_pseudo_table): Add "weak". 4119 (obj_som_weak): New routine. 4120 41212000-02-24 Alan Modra <alan@spri.levels.unisa.edu.au> 4122 4123 * config/tc-i386.c (union i386_op): New. 4124 (struct _i386_insn): Delete disps[], imms[], regs[]. Add op[]. 4125 Throughout file replace occurences of disps[n], imms[n], regs[n] 4126 with equivalent op[n].disps, op[n].imms, op[n].regs. Simplify 4127 intel mode operand swapping. Add assert in regKludge and 4128 fake_zero_displacement code. Test i.types[n] when outputting 4129 displacements and immediates. Combine output of Disp16 with 4130 Disp32. 4131 (md_assemble): Don't try to fix broken UNIXWARE_COMPAT opcodes 4132 when in intel mode by (not) reversing fsub and fdiv operands 4133 before the template search. This fails for single operand 4134 shorthand forms of the instruction, and if UNIXWARE_COMPAT is 4135 undefined. Instead fix the base_opcode after we've found the 4136 template. Move base_opcode xor with found_reverse_match from 4137 opcode output code to before this fix so we test for the correct 4138 opcodes. 4139 (md_assemble): Don't use strcmp when deciding to ignore the suffix 4140 check in intel mode. Instead compare opcodes. 4141 4142 * config/tc-i386.h (TC_RELOC): Delete. 4143 * config/tc-i386.c (TC_RELOC): Delete. Replace usage of TC_RELOC 4144 with equivalent call to reloc. 4145 4146 * as.h (flag_m68k_mri): Move declaration after target include, and 4147 only declare when TC_M68K defined. Define as zero otherwise. 4148 (LABELS_WITHOUT_COLONS, NO_PSEUDO_DOT): If undefined, define as 0. 4149 * app.c (scrub_m68k_mri): Declare only when TC_M68K defined. 4150 Define as zero otherwise. 4151 (do_scrub_begin): Use m68k_mri parameter only when TC_M68K defined. 4152 (struct app_save): Declare scrub_m68k_mri only when TC_M68K. 4153 (app_push, app_pop): Save scrub_m68k_mri only when TC_M68K. 4154 (do_scrub_chars): Use LABELS_WITHOUT_COLONS directly rather than 4155 testing whether defined. 4156 * cond.c (ignore_input): Use NO_PSEUDO_DOT directly. 4157 * expr.c (operand): #ifdef unused case labels when TC_M68K undefined. 4158 * read.c: Use LABELS_WITHOUT_COLONS and NO_PSEUDO_DOT directly 4159 rather than testing whether defined. 4160 (s_mri): Set flag_m68k_mri only when TC_M68K defined. 4161 (parse_mri_cons): Declare and use only when TC_M68K. 4162 * config/tc-hppa.h (LABELS_WITHOUT_COLONS): Define as 1. 4163 * config/tc-m68k.h (NO_PSEUDO_DOT): Define as 1. 4164 * config/tc-m88k.h (NO_PSEUDO_DOT): Define as 1. 4165 4166 * NEWS: Mention IBM 370 support. 4167 41682000-02-23 Richard Henderson <rth@cygnus.com> 4169 4170 * config/tc-i386.c (md_assemble): When swapping operands for 4171 intel_syntax, assume everything that's not Imm or Disp is a 4172 register. 4173 41742000-02-23 Linas Vepstas <linas@linas.org> 4175 4176 * config/tc-i370.c, config/tc-i370.h: New files. 4177 * Makefile.am: Add support for Linux/IBM 370. 4178 * configure.in: Likewise. 4179 * app.c (do_scrub_begin): Don't lex single quote when TC_I370. 4180 * config/obj-elf.c: Include elf/i370.h 4181 (obj_elf_section): Don't do anything special for flag_mri if TC_I370. 4182 4183 * Makefile.in: Regenerate. 4184 * configure: Regenerate. 4185 4186 * doc/c-i370.texi: New file. 4187 * doc/all.texi: Include it. 4188 * doc/as.texinfo: And here. 4189 * doc/Makefile.am(CPU_DOCS): Add c-i370.texi. 4190 * doc/Makefile.in: Regenerate. 4191 41922000-02-19 Michael Meissner <meissner@redhat.com> 4193 4194 * config/tc-d30v.c (parallel_ok): Use FLAG_NOT_WITH_ADDSUBppp to 4195 determine if an instruction can be used in parallel with an ADDppp 4196 or SUBppp instruction. 4197 41982000-02-22 Andrew Haley <aph@cygnus.com> 4199 4200 * doc/c-mips.texi (MIPS Opts): Document -mgp32 and -mgp64. 4201 42022000-02-22 Andrew Haley <aph@cygnus.com> 4203 4204 * config/tc-mips.c (mips_gp32): New variable. 4205 (macro_build) Use mips_gp32. 4206 (mips_ip): Ditto. 4207 (md_longopts): Add "-mgp32" and "-mgp64". 4208 (md_parse_option): Add OPTION_GP32 and OPTION_GP64. 4209 4210 (OPTION_M7900): Change offset 4211 (OPTION_NO_M7900): Ditto. 4212 42132000-02-22 Alexandre Oliva <oliva@lsd.ic.unicamp.br> 4214 4215 * config/obj-coff.c (add_lineno): Accept non-positive lineno with 4216 warning, and bump it to 1. 4217 42182000-02-22 Ian Lance Taylor <ian@zembu.com> 4219 4220 From Brad Lucier <lucier@math.purdue.edu>: 4221 * dwarf2dbg.c (print_stats): Add cast to force printf argument to 4222 match format. 4223 42242000-02-21 Catherine Moore <clm@cygnus.com> 4225 4226 * config/tc-mips.c (MF_HILO_INSN): Define. 4227 (mips_7000_hilo_fix): Declare. 4228 (append_insn): Conditionally insert nops after an mfhi/mflo insn. 4229 (md_parse_option): Check for 7000_HILO_FIX options. 4230 (OPTION_M7000_HILO_FIX): Define. 4231 (OPTION_NO_M7000_HILO_FIX): Define. 4232 * doc/c-mips.texi (-mfix7000): Describe. 4233 42342000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au> 4235 4236 * listing.c (print_lines): Remove unused variable `end'. 4237 4238 * config/tc-i386.c (md_assemble): Use `reloc()' to select reloc 4239 type for JumpInterSegment output. Use enum bfd_reloc_code_real for 4240 reloc_type when BFD_ASSEMBLER. 4241 (md_estimate_size_before_relax): Use enum bfd_reloc_code_real for 4242 reloc_type when BFD_ASSEMBLER. Move common code out of switch 4243 statement and quell signed vs. unsigned comparison warning. 4244 42452000-02-18 Nick Clifton <nickc@cygnus.com> 4246 4247 * config/tc-d10v.c (find_opcode): Add a symbol's value to 4248 the computed frag offset, rather than overwriting it. 4249 4250Thu Feb 17 00:11:08 2000 J"orn Rennecke <amylaar@cygnus.co.uk> 4251 4252 * config/tc-sh.c ("elf/sh.h"): Include. 4253 (sh_dsp, valid_arch, reg_x, reg_y, reg_efg): New static variables. 4254 (md.begin): Initialize target_arch. 4255 Only include opcodes in has table that match selected architecture. 4256 (parse_reg): Recognize register names for sh-dsp. 4257 (parse_at): Recognize post-modify addressing. 4258 (get_operands): The leading space is now optional. 4259 (get_specific): Remove FDREG_N support. Add support for sh-dsp 4260 arguments. Update valid_arch. 4261 (build_Mytes): Add support for SDT_REG_N. 4262 (find_cooked_opcode): New function, broken out of md_assemble. 4263 (assemble_ppi, sh_elf_final_processing): New functions. 4264 (md_assemble): Use find_cooked_opcode and assemble_ppi. 4265 (md_longopts, md_parse_option): New option: -dsp. 4266 * config/tc-sh.h (elf_tc_final_processing): Define. 4267 (sh_elf_final_processing): Declare. 4268 4269Fri Feb 11 14:21:51 2000 Jeffrey A Law (law@cygnus.com) 4270 4271 * config/tc-hppa.c (pa_build_unwind_subspace): Use subseg_new to create 4272 the unwinder subspace. Save the current seg/subseg before creating 4273 the new seg/subseg. 4274 42752000-02-10 Nick Clifton <nickc@cygnus.com> 4276 4277 * config/tc-mcore.c (INST_BYTE0): Redefine to handle big and 4278 little endian targets. 4279 (INST_BYTE1): Redefine to handle big and little endian 4280 targets. 4281 (cpu_type): New type: Select between M340 and M210. 4282 (parse_psrmod): New function: Parse the PSRCLR and PSRSET 4283 instructions of the M340. 4284 (md_assemble): Add support for the MULSH and OPSR classes of 4285 instructions. 4286 (md_atof): Add support for little endian targets. 4287 (md_parse_option): Add support for -EL, -EB and -mcpu command 4288 line switches. 4289 (md_convert_frag): Add support for little endian targets. 4290 (md_apply_fix3): Add support for little endian targets. 4291 (md_number_to_chars): Add support for little endian targets. 4292 42932000-02-10 Timothy Wall <twall@redhat.com> 4294 4295 * read.c (read_a_source_file): If TC_START_LABEL_WITHOUT_COLON is 4296 defined, use it to verify the symbol just read should be a label. 4297 42982000-02-10 Timothy Wall <twall@redhat.com> 4299 4300 * app.c (do_scrub_chars): Handle "||" for parallel instructions 4301 when DOUBLEBAR_PARALLEL is defined. Avoid stripping whitespace 4302 around colons when KEEP_WHITE_AROUND_COLON is defined. 4303 * doc/internals.texi (CPU backend): Document DOUBLEBAR_PARALLEL 4304 and KEEP_WHITE_AROUND_COLON. 4305 43062000-02-08 Timothy Wall <twall@redhat.com> 4307 4308 * read.c (s_rept): Call do_repeat, which abstracts the repeat 4309 logic. 4310 (do_repeat): New. Abstract repeat logic so that a "break" can be 4311 implemented. 4312 (end_repeat): New. Provide support for a "break" out of the 4313 repeat loop. 4314 * read.h: Add prototypes for new functions. 4315 43162000-02-08 Timothy Wall <twall@redhat.com> 4317 4318 * doc/internals.texi: Document NUMBERS_WITH_SUFFIX macro. 4319 * as.h: Provide a default NUMBERS_WITH_SUFFIX definition (zero). 4320 * expr.c: Handle numbers with suffixes if NUMBERS_WITH_SUFFIX is 4321 non-zero. 4322 43232000-02-08 Timothy Wall <twall@redhat.com> 4324 4325 * read.c: Added elseif to directives table. 4326 * read.h: Added prototype for s_elseif. 4327 * doc/as.texinfo: Added description for elseif. 4328 * cond.c (s_elseif): New function 4329 43302000-02-04 Timothy Wall <twall@redhat.com> 4331 4332 * listing.c (print_lines): Remove conditionals causing bug in 4333 listings. 4334 43352000-02-03 Timothy Wall <twall@cygnus.com> 4336 4337 * as.h: Define OCTETS_PER_BYTE and OCTETS_PER_BYTE_POWER 4338 default values. 4339 * frags.c (frag_new): Calculate fr_fix in octets 4340 (frag_now_fix) Return offset as target address offset (bytes). 4341 (frag_now_fix_octets) New - Return offset in octets (8-bit 4342 quantities). 4343 * frags.h: Added prototype for frag_now_fix_octets(). 4344 Distinguish between octets and bytes in field descriptions. 4345 * listing.c (calc_hex): Account for octets vs bytes when 4346 printing addresses/offsets. 4347 (print_lines) Ditto. Also, if LISTING_WORD_SIZE is not 1, and 4348 target is little-endian, print the octets in a word in big-endian 4349 order so that the display looks like a proper hexadecimal number, 4350 instead of having the octets reversed. 4351 * read.c (do_align): When recording alignment, alignment power 4352 should be in terms of target bytes (minimum addressible unit) 4353 instead of octets. 4354 (do_org) Convert ORG target address (byte) argument into an 4355 octet offset when generating a variable fragment. 4356 * symbols.c (resolve_symbol_value): Symbol final value 4357 converted to a target address offset (bytes) from its octet offset. 4358 * config/obj-coff.c (coff_frob_symbol): Symbol target address 4359 offset (bytes) is adjusted by the frag offset (octets) converted 4360 to bytes. 4361 (coff_frob_section) Section alignment power is in terms of bytes; 4362 convert it to an octet alignment power when calculating size (and 4363 size mask) in octets. Don't modify the section size in order to 4364 "align" it for TI COFF, since that format has a different method 4365 for storing alignment information. 4366 43672000-02-01 Timothy Wall <twall@cygnus.com> 4368 4369 * stabs.c (generate_asm_file): Escape backslashes in stabs file 4370 entries, matching the way GCC generates them. If not escaped, the 4371 filename is encoded incorrectly. 4372 43732000-01-31 Nick Clifton <nickc@cygnus.com> 4374 4375 * config/tc-arm.c (reg_table): Add support for ATPCS register 4376 naming conventions. 4377 43782000-01-31 Geoff Keating <geoffk@cygnus.com> 4379 4380 * config/obj-coff.h (OBJ_COPY_SYMBOL_ATTRIBUTES): Don't define if 4381 already defined. 4382 * config/tc-ppc.h [OBJ_XCOFF] (OBJ_COPY_SYMBOL_ATTRIBUTES): 4383 New macro. 4384 * config/tc-ppc.c (ppc_fix_adjustable): Don't look at the frag 4385 of a symbol when we really care about its value. 4386 43872000-01-19 Chandra Chavva <cchavva@cygnus.com> 4388 4389 * config/tc-mcore.c (md_assemble): Give warning message if 4390 operands passes to instruction are more than the spec. 4391 43922000-01-27 Thomas de Lellis <tdel@windriver.com> 4393 4394 * config/tc-arm.c (armadjust_symtab): If the assembler is in 4395 Thumb mode but the label seen was not declared as '.thumb_func' 4396 then set the ST_INFO type to STT_ARM_16BIT mode. This allows 4397 correct disassembly of Thumb code bounded by non function labels. 4398 43992000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au> 4400 4401 * Makefile.am (MULTI_CFILES): Add config/e-i386aout.c 4402 Add dependencies for e-i386aout.o. Fix 2 comment lines. 4403 4404 * Makefile.in: Same here. 4405 Update copyright. 4406 4407 * configure.in: Set bfd_gas for i386-aout when primary target 4408 is bfd. Handle i386aout emulation. Don't use te_file=multi, as 4409 we may need the primary te_file. Remove incorrect comment. 4410 4411 * configure: Regenerate. 4412 4413 * config/e-i386aout.c: New file. 4414 4415 * as.c (USE_EMULATIONS): Move to before print_version_id. 4416 (struct emulation): Add i386aout. 4417 (show_usage): Split text strings. Reformat -a text. Add --em 4418 help. 4419 Update copyright. 4420 4421 * obj.h (struct format_ops): Add s_get_other and s_get_desc. 4422 (aout_format_ops): New. 4423 Update copyright. 4424 4425 * read.c (s_lcomm_internal): Rewrite OBJ_AOUT,OBJ_BOUT 4426 preprocessor conditional and add aout USE_EMULATIONS tests. 4427 (read_a_source_file): Don't pass error strings to printf as 4428 format arg. 4429 Update copyright. 4430 4431 * gasp.c (exp_get_abs): Don't pass error strings to printf as 4432 format arg. 4433 (do_data): Same here. 4434 (process_file): And here. 4435 Update copyright. 4436 4437 * symbols.c (colon): Rewrite "already defined" fatal message 4438 code for aout with USE_EMULATIONS. 4439 Update copyright. 4440 4441 * config/obj-aout.c (OBJ_HEADER): Define. 4442 (obj_pseudo_table): Rename to aout_pseudo_table. Init all 4443 fields of sentinel. 4444 (obj_aout_frob_symbol): Expand S_GET_DESC, S_GET_TYPE, 4445 S_GET_OTHER, S_SET_TYPE macros since we don't need obj-multi 4446 forms here. 4447 (obj_aout_type): Expand S_SET_OTHER here too. 4448 (obj_read_begin_hook): Remove. 4449 (aout_pop_insert): New. 4450 (obj_aout_s_get_other): New. 4451 (obj_aout_s_get_desc): New. 4452 (aout_format_ops): New. 4453 Update copyright. 4454 4455 * config/obj-aout.h (obj_pop_insert): Define so non-multi usage 4456 gets aout_pseudo_table. 4457 (aout_pseudo_table): Declare. 4458 (obj_read_begin_hook): Define. 4459 Update copyright. 4460 4461 * config/obj-coff.c (obj_pseudo_table): Rename to 4462 coff_pseudo_table. 4463 (coff_pop_insert): Use coff_pseudo_table. 4464 (coff_sec_sym_ok_for_reloc): Remove. 4465 (coff_format_ops): Add 0 entries for s_get_size, s_set_size, 4466 and comment all zero entries and remove #if 0 code. 4467 Update copyright. 4468 4469 * config/obj-coff.h (obj_pop_insert): Define. 4470 (coff_pseudo_table): Declare. 4471 Update copyright. 4472 4473 * config/obj-ecoff.c (ecoff_format_ops): Add 0 entries for 4474 s_get_size, s_set_size. Comment all zero entries. 4475 Update copyright. 4476 4477 * config/obj-elf.c (elf_s_get_other): New function. 4478 (obj_read_begin_hook): Rename to elf_obj_read_begin_hook. 4479 (obj_symbol_new_hook): Rename to elf_obj_symbol_new_hook. 4480 (elf_format_ops): Add elf_s_get_other, 0 s_get_size entry, and 4481 comment. 4482 (obj_elf_parse_section_letters): Don't pass error strings to 4483 printf as format arg. 4484 Update copyright. 4485 4486 * config/obj-elf.h (ECOFF_DEBUGGING): Define when 4487 OBJ_MAYBE_ECOFF. 4488 (elf_s_get_other): Declare. 4489 (S_GET_OTHER) Define as elf_s_get_other if not already 4490 defined. 4491 (S_SET_OTHER): Only define when not already defined. 4492 (elf_obj_read_begin_hook): Declare. 4493 (obj_read_begin_hook): Define. 4494 (elf_obj_symbol_new_hook): Declare. 4495 (obj_symbol_new_hook): Define. 4496 Update copyright. 4497 4498 * config/obj-multi.h: Add copyright header and protect against 4499 multiple inclusion. Add * to all function pointers. 4500 (OBJ_HEADER): If defined, include it rather than other defines 4501 in this file. 4502 (obj_frob_file_after_relocs): Test for NULL. 4503 (obj_symbol_new_hook): Here too. 4504 (obj_sec_sym_ok_for_reloc): And here. 4505 (S_GET_OTHER): Define. 4506 (S_GET_DESC): Define. 4507 (ECOFF_DEBUGGING): Remove as it's done in obj-elf.h 4508 (OBJ_MAYBE_ELF): Update comment. 4509 4510 * config/tc-i386.c (i386_immediate): Add OBJ_MAYBE_AOUT to 4511 OBJ_AOUT preprocessor conditional and handle emulation by 4512 testing OUTPUT_FLAVOR. 4513 (i386_displacement): Here too. 4514 (md_section_align): Similarly here. 4515 (i386_target_format): Conditionally compile when more than one 4516 of OBJ_MAYBE_{ELF,COFF,AOUT} defined. Add aout case. 4517 (i386_immediate): Fix error message for aout BFD_ASSMBLER. 4518 (i386_displacement): Here too. 4519 Update copyright. 4520 4521 * config/tc-i386.h (AOUT_TARGET_FORMAT): Define for each TE_*. 4522 Define TARGET_FORMAT for aout only when not multi. 4523 Update copyright. 4524 4525 * config/te-multi.h: Delete file as it's identical to te-generic.h 4526 45272000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au> 4528 4529 * config/tc-i386.h (DWORD_MNEM_SUFFIX): Delete. 4530 * config/tc-i386.c (DWORD_MNEM_SUFFIX): Rename all occurrences to 4531 LONG_MNEM_SUFFIX. 4532 4533 * config/tc-i386.h (INTEL_DWORD_MNEM_SUFFIX): Rename to 4534 DWORD_MNEM_SUFFIX. 4535 * config/tc-i386.c (INTEL_DWORD_MNEM_SUFFIX): Here too. Fix some 4536 comments. 4537 45382000-01-13 Clinton Popetz <cpopetz@cygnus.com> 4539 4540 * config/tc-mips.c (mips_do_align): New function. 4541 * config/tc-mips.h (md_do_align): Define. 4542 45432000-01-10 Philip Blundell <philb@gnu.org> 4544 4545 * doc/c-arm.texi (ARM Options): Fix typo. 4546 (ARM-Chars): Correct description of `#'. Mention that `;' is a 4547 line separator for Linux. 4548 * doc/as.texinfo (Comments): Mention the ARM. 4549 45502000-01-10 Philip Blundell <pb@futuretv.com> 4551 4552 * configure.in (arm*-*-conix*): New target. 4553 (arm*-*-linux-gnu*): Match instead of arm-*-linux* and 4554 armv*-*-linux-gnu. 4555 * configure: Regenerate. 4556 45572000-01-03 Martin v. Loewis <loewis@informatik.hu-berlin.de> 4558 4559 * config/obj-elf.c (elf_pseudo_table): Define visibility pseudos. 4560 (obj_elf_visibility): New function. 4561 4562 * doc/as.texinfo (Visibility): New node: document visibility 4563 pseudo ops. 4564 4565For older changes see ChangeLog-9899 4566