ChangeLog revision 85815
12001-10-16 Alan Modra <amodra@bigpond.net.au> 2 3 From Andrew Pines <apines@cosmodog.com> 4 * config/tc-m68k.c (m68k_ip): Correct absolute jmp opcodes. 5 62001-10-05 Alan Modra <amodra@bigpond.net.au> 7 8 * config/tc-i386.c (parse_register): If not producing code for 9 x86_64, reject x86_64 register name matches. 10 (md_assemble): Remove now redundant check for x86_64 regs. 11 122001-09-30 Stephane Carrez <Stephane.Carrez@worldnet.fr> 13 14 * config/tc-m68hc11.c (cmp_opcode): Define prototype. 15 (print_opcode_format, skip_whites): Likewise. 16 (convert_branch, m68hc11_new_insn): Likewise. 17 (build_dbranch_insn, build_indexed_byte): Likewise. 18 (build_reg_mode, find, find_opcode): Likewise. 19 (print_insn_format): Fix call to print_opcode_format. 20 (md_assemble): Fix call to build_dbranch_insn. 21 222001-09-19 Andreas Schwab <schwab@suse.de> 23 24 * config/tc-m68k.c: Include "dwarf2dbg.h". 25 262001-08-29 Joel Sherrill <joel@OARcorp.com> 27 28 * configure.in (i[3456]86-*-rtems*, m68*-*-rtems*): Change 29 default from coff to elf. 30 * configure: Regenerate. 31 322001-08-28 Philip Blundell <philb@gnu.org> 33 34 * configure.in (sh-*-coff*, sh-*-rtems*): Set bfd_gas to yes. 35 Patch from Joel Sherril <joel.sherrill@OARcorp.com> 36 * configure: Regenerate. 37 382001-07-21 Andreas Schwab <schwab@suse.de> 39 40 * config/tc-m68k.c (md_pseudo_table) [OBJ_ELF]: Add .file and 41 .loc. 42 (md_assemble) [OBJ_ELF]: Call dwarf2_emit_insn before emitting 43 insn. 44 * config/tc-m68k.h (DWARF2_LINE_MIN_INSN_LENGTH): Define. 45 462001-07-14 matthew green <mrg@eterna.com.au> 47 48 * configure.in (i386-*-netbsdelf*): New target. 49 * configure: Regenerate. 50 512001-07-07 Nick Clifton <nickc@cambridge.redhat.com> 52 53 * ecoff.c (add_file): Only set debug_type to DEBUG_NONE if it is 54 DEBUG_UNSPECIFIED. 55 562001-06-27 Nick Clifton <nickc@cambridge.redhat.com> 57 58 * config/tc-arm.c (do_ldst): Use MVN to build simple inverted 59 constants. 60 612000-06-20 Tom Rix <trix@redhat.com> 62 63 * config/tc-ppc.c (ppc_comm): Change default alignment to 4 bytes. 64 652001-06-18 Philip Blundell <philb@gnu.org> 66 67 * config/tc-arm.c (do_msr): Remove restriction on usage of 68 immediate operands. 69 702001-06-13 Philip Blundell <philb@gnu.org> 71 72 * config/tc-arm.c (thumb_shift): Improve wording of error message. 73 (do_t_arit): Likewise. 74 752001-06-13 Nick Clifton <nickc@cambridge.redhat.com> 76 77 * config/tc-sh.c (md_pseudo_table): Only intercept the .file and 78 .loc pseudos if the dfwarf2 functions are available. 79 (md_assemble): Only call dwarf2_emit_insn if it is available. 80 812001-06-13 Nick Clifton <nickc@cambridge.redhat.com> 82 83 Merge from mainline: 84 2001-05-11 Nick Clifton <nickc@cambridge.redhat.com> 85 * config/tc-arm.c (arm_handle_align): When truncating an aligned 86 block, ensure that the low order bits of the alignment are 87 preserved. 88 2001-05-06 Nick Clifton <nickc@cambridge.redhat.com> 89 * config/tc-arm.h (MAX_MEM_FOR_RS_ALIGN_CODE): Define. 90 * config/tc-arm.c (arm_handle_align): Do not insert more than 91 MAX_MEM_FOR_RS_ALIGN_CODE bytes. 92 (arm_frag_align_code): Use MAX_MEM_FOR_RS_ALIGN_CODE. 93 2001-04-26 Nick Clifton <nickc@cambridge.redhat.com> 94 * config/tc-arm.c (arm_handle_align): New Function: Generate 95 no-op filled alignment frags. 96 (arm_frag_align_code): New Function: Create a code alignment frag. 97 (arm_init_frag): New Function: Initialse the target dependent 98 parts of a frag. 99 * config/tc-arm.h (TC_FRAG_TYPE): Define. 100 (TC_FRAG_INIT): Define. 101 (HANDLE_ALIGN): Define. 102 (md_do_align): Define. 103 2001-03-12 Nick Clifton <nickc@redhat.com> 104 * config/tc-arm.c (md_begin): Always set machine type based on 105 cpu_variant. 106 2001-03-06 Nick Clifton <nickc@redhat.com> 107 * config/tc-arm.c (md_apply_fix3): Clear bit zero of offset in 108 BLX(1) instruction. 109 1102001-06-12 Nick Clifton <nickc@cambridge.redhat.com> 111 112 * doc/as.texinfo (Infix Ops): Document that comparison and 113 combiner operators can be used as infix operators. 114 1152001-06-12 Nick Clifton <nickc@cambridge.redhat.com> 116 117 * config/tc-arm.c: Fix test for overlow of literal pool. 118 1192001-06-11 Alan Modra <amodra@bigpond.net.au> 120 121 Merge from mainline. 122 2001-06-08 Alan Modra <amodra@bigpond.net.au> 123 * config/tc-mips.c (mips16_mark_labels): Reduce number of calls to 124 S_GET_VALUE by using a temp. 125 (append_insn): Likewise, and for S_SET_VALUE too. 126 (mips_emit_delays): Likewise. 127 (my_getExpression): Likewise. 128 (md_apply_fix): Likewise. Use "valueT" rather than "long" for "value". 129 (mips16_extended_frag): Cater for first relaxation pass having 130 bogus addresses. Use relax_marker to reliably determine whether a 131 symbol frag has been reached on the current pass. 132 133 2001-06-07 H.J. Lu <hjl@gnu.org> 134 * configure.in: Use MIPS_STABS_ELF for Linux/mips. 135 * configure: Regenerate. 136 137 2001-06-07 H.J. Lu <hjl@gnu.org> 138 * config/tc-mips.c (mips_pseudo_table): Add "extern" if 139 MIPS_STABS_ELF is defined. 140 141 2001-06-06 Christian Groessler <cpg@aladdin.de> 142 * config/tc-z8k.c: Removed many warnings by removing unused 143 variables and tagging unused parameters as such. 144 (md_begin): Fixed a typo (","instead of ";"). 145 (struct ctrl_table): Add parentheses to initialize array 146 correctly. 147 (struct flag_table): Likewise. 148 (struct intr_table): Likewise. 149 (struct table): Likewise. 150 (check_operand): "#if 0"'ed since it doesn't seem to be used. 151 152 2001-06-06 Peter Jakubek <pjak@snafu.de> 153 * gas/config/tc-m68k.c (md_show_usage): Add all supported ColdFire 154 options to list (e.g. m5206e, m5307, m5407). 155 156 2001-06-06 Alan Modra <amodra@bigpond.net.au> 157 * config/tc-i386.c (md_assemble): Handle Pentium4 branch hints. 158 <JumpByte, JumpDword insn output>: Remove dead code. 159 160 2001-06-05 Nick Clifton <nickc@cambridge.redhat.com> 161 * symbols.c (S_SET_EXTERNAL): Do not override a section symbol's 162 status. 163 164 2001-05-27 Alan Modra <amodra@one.net.au> 165 * config/tc-m68k.c (md_assemble): Ensure variable part of frag is 166 allocated in the same chunk as the fixed part. 167 168 2001-05-25 Alan Modra <amodra@one.net.au> 169 * configure.in: Replace linuxoldld with linux*oldld. 170 * configure: Regenerate. 171 172 2000-05-24 Tom Rix <trix@redhat.com> 173 * config/obj-coff.c (add_lineno): xcoff allows negative line 174 numbers 175 * config/tc-ppc.c (ppc_stabx): fix generated symbol 176 177 2001-05-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 178 * config/tc-mips.c (ISA_HAS_64BIT_REGS): Add ISA_MIPS64 as 64 bit 179 architecture, remove erraneous ISA_MIPS32. 180 (md_show_usage): Add MIPS r12k support. 181 (mips_cpu_info_table): Add MIPS r12k support. 182 183 2001-05-22 Alan Modra <amodra@one.net.au> 184 * config/tc-m68k.c (relaxable_symbol): Only treat external symbols 185 as relaxable if embedded system, make weak syms non-relaxable. 186 Move definition.. 187 (tc_m68k_fix_adjustable): ..so it can be used here. 188 (md_apply_fix_2): Sign extend without conditional. 189 190 2001-05-16 Jeff Johnston <jjohnstn@redhat.com> 191 * cgen.c (gas_cgen_tc_gen_reloc): Changed error message when 192 howto entry is not found. 193 194 2001-05-10 Alan Modra <amodra@one.net.au> 195 * config/obj-vms.c (obj_crawl_symbol_chain): Don't take address of 196 symbol_next. 197 * config/tc-fr30.c (md_estimate_size_before_relax): Return size of 198 current variable part of frag. 199 * config/tc-m32r.c (md_estimate_size_before_relax): Likewise. 200 * config/tc-m68hc11.c (RELAX_STATE): Define. 201 (RELAX_LENGTH): Define. 202 (md_estimate_size_before_relax): Handle non-relaxable cases 203 separately from relaxable cases for clarity, and return correct 204 size for multi-pass relaxation. 205 * config/tc-tahoe.c (RELAX_LENGTH): Correct. 206 (md_estimate_size_before_relax): As for tc-m68hc11.c. 207 (md_convert_frag): Remove "length_code". 208 * config/tc-vax.c (RELAX_STATE): Define. 209 (RELAX_LENGTH): Define. 210 (md_relax_table): Add missing entry. 211 (md_estimate_size_before_relax): As for tc-m68hc11.c. 212 (md_convert_frag): Remove "length_code". 213 * config/tc-ns32k.c (md_estimate_size_before_relax): Simplify and 214 don't bother setting fr_var. Return correct size for multi-pass 215 relaxation. 216 * config/tc-h8500.c (md_convert_frag): Don't bother clearing fr_var. 217 (md_estimate_size_before_relax): No need to set fr_var. 218 * config/tc-mcore.c (md_convert_frag): Don't bother clearing fr_var. 219 (md_estimate_size_before_relax): No need to set fr_var. 220 221 2001-05-08 Andreas Schwab <schwab@suse.de> 222 * config/tc-m68k.c: Instead of replacing -1 by 64 in assignment to 223 fx_pcrel_adjust explicitly sign extend when reading it. 224 225 2001-05-03 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 226 * Makefile.am (TARG_ENV_HFILES): Add te-hppa64.h and te-hppalinux64.h. 227 Run "make dep-am". 228 * Makefile.in: Regenerate. 229 * configure.in: Remove duplicate mips-*-ecoff* entry. 230 * configure: Regenerate. 231 * config/obj-ecoff.c (obj_pseudo_table): Fix terminating entry. 232 (n_names): Cast away type mismatch. 233 (ecoff_sec_sym_ok_for_reloc): Add unused attribute. 234 (obj_ecoff_frob_symbol): Likewise. 235 * ecoff.c: (add_file): Add unused attribute. 236 (ecoff_directive_begin): Likewise. 237 (ecoff_directive_bend): Likewise. 238 (ecoff_directive_def): Likewise. 239 (ecoff_directive_dim): Likewise. 240 (ecoff_directive_scl): Likewise. 241 (ecoff_directive_size): Likewise. 242 (ecoff_directive_type): Likewise. 243 (ecoff_directive_tag): Likewise. 244 (ecoff_directive_val): Likewise. 245 (ecoff_directive_endef): Likewise. 246 (ecoff_directive_end): Likewise. 247 (ecoff_directive_ent): Likewise. 248 (ecoff_directive_extern): Likewise. 249 (ecoff_directive_file): Likewise. 250 (ecoff_directive_fmask): Likewise. 251 (ecoff_directive_frame): Likewise. 252 (ecoff_directive_mask): Likewise. 253 (ecoff_directive_loc): Likewise. 254 (mark_stabs): Likewise. 255 (ecoff_stab): Likewise. 256 (ecoff_frob_symbol): Cast away type mismatch. 257 (ecoff_padding_adjust): Likewise. 258 (ecoff_build_symbols): Likewise. 259 (ecoff_build_procs): Likewise. 260 (ecoff_build_aux): Likewise. 261 (ecoff_build_strings): Likewise. 262 (ecoff_build_fdr): Likewise. 263 (ecoff_build_debug): Likewise. 264 * itbl-ops.c (itbl_assemble): Variable initialization. 265 266 2001-04-29 Keith M Wesolowski <wesolows@foobazco.org> 267 * config/tc-mips.c (md_parse_option): Also accept 268 elf64-tradbigmips and elf64-tradlittlemips for OPTION_64. 269 270 2001-04-27 Sean McNeil <sean@mcneil.com> 271 * configure.in: Add arm-vxworks. 272 * configure: Regenerate. 273 274 2001-04-25 Nick Clifton <nickc@cambridge.redhat.com> 275 * config/obj-coff.c (do_linenos_for): Check to see if the filename 276 symbol has been initialised before extracting its symbol index. 277 278 2001-04-24 Christian Groessler <cpg@aladdin.de> 279 * config/tc-z8k.c (build_bytes): 12 and 16 bit displacements now 280 generate R_CALLR and R_REL16 relocations 281 282 2000-04-20 Jason Eckhardt <jle@redhat.com> 283 * config/tc-d10v.h (tc_frob_label): Update the symbol's frag 284 since frag_now can change after d10v_cleanup is called. 285 286 2001-04-12 Jason Merrill <jason_merrill@redhat.com> 287 * dwarf2dbg.c (process_entries): Don't optimize redundant line notes. 288 289 2001-04-07 Steven J. Hill <sjhill@cotw.com> 290 * config/tc-mips.c: Support ELF64 for traditional MIPS targets. 291 * Makefile.am: (TARG_ENV_HFILES): Add tc-mips.h. 292 * Makefile.in: Regenerated. 293 * configure.in: Use traditional MIPS targets for Linux/MIPS. 294 * configure: Regenerated. 295 296 2001-04-05 Alan Modra <alan@linuxcare.com.au> 297 * configure.in: Add h8500-*-coff and h8500-*-rtems targets. 298 * configure: Regenerate. 299 * config/tc-h8500.c (md_estimate_size_before_relax): Add missing 300 cases, and always return size based on current fr_subtype. 301 (md_begin): Move initialization of md_relax_table.. 302 (md_relax_table): ..to static initializer. Set rlx_length for 303 UNDEF_WORD_DISP cases. 304 * config/tc-w65.c (md_estimate_size_before_relax): Likewise. 305 (md_begin): Likewise. 306 (md_relax_table): Likewise. 307 * config/tc-mcore.c (md_estimate_size_before_relax): Likewise. 308 (md_relax_table): Set rlx_length for UNDEF_WORD_DISP cases. 309 Set rlx_backward and rlx_forward to zero for unused states. 310 * config/tc-sh.c (md_estimate_size_before_relax): Likewise. 311 (md_relax_table): Set rlx_length for UNDEF_WORD_DISP cases. 312 (UNCOND12, UNCOND32): Remove duplicate defines. 313 314 2001-03-30 Alan Modra <alan@linuxcare.com.au> 315 * dwarf2dbg.c (dwarf2_directive_file): Fix warnings. 316 317 2001-03-30 Alan Modra <alan@linuxcare.com.au> 318 * config/tc-sh.c (md_estimate_size_before_relax): Add extra 319 do-nothing cases to switch to avoid abort on a second relaxation 320 pass, and tidy code a little. 321 * config/tc-h8500.c (md_estimate_size_before_relax): Likewise. 322 * config/tc-w65.c (md_estimate_size_before_relax): Likewise. 323 * config/tc-mcore.c (COND12, UNCD12): Rename to DISP12 throughout. 324 (COND32, UNCD32): Rename to DISP32 throughout. 325 (UNDEF_WORD_DISP): Renumber to 3. 326 (md_estimate_size_before_relax): Add extra do-nothing cases. 327 * config/tc-mn10200.c (md_estimate_size_before_relax): Rewrite. 328 * config/tc-ns32k.c (md_estimate_size_before_relax): Add cases to 329 handle word and dword branches. 330 331 2001-03-17 Alan Modra <alan@linuxcare.com.au> 332 * read.c (do_org): Handle complex expressions. 333 * cgen.c (gas_cgen_finish_insn): Likewise. 334 335 2001-03-15 Alexandre Oliva <aoliva@redhat.com> 336 * config/tc-sh.c (parse_reg): Match capital MACH and MACL. 337 338 2001-03-06 Igor Shevlyakov <igor@windriver.com> 339 * config/tc-m68k.c : Add 5407 to archs[] table. 340 (HAVE_LONG_BRANCH): Add mcf5407. 341 (select_control_regs): Recognize 5407. 342 343 2001-03-02 Richard Sandiford <rsandifo@redhat.com> 344 * config/atof-ieee.c (TC_LARGEST_EXPONENT_IS_NORMAL): New macro. 345 (gen_to_words): Print warnings if NaNs are found and the target CPU 346 does not support them. Allow largest exponent to be used in normal 347 numbers if TC_LARGEST_EXPONENT_IS_NORMAL evaluates to true. 348 349 2001-02-27 Alan Modra <alan@linuxcare.com.au> 350 * configure.in (BFD_VERSION): New. 351 (AM_INIT_AUTOMAKE): Use $BFD_VERSION. 352 * configure: Regenerate. 353 354 2001-02-26 Mark Elbrecht <snowball3@bigfoot.com> 355 * config/obj-coff.c [BFD_ASSEMBLER] (obj_coff_section): Set 356 SEC_NEVER_LOAD when the 'n' flag is used. 357 Add SEC_NEVER_LOAD to matchflags. 358 359 2001-02-24 Stephane Carrez <Stephane.Carrez@worldnet.fr> 360 * symbols.c (decode_local_label_name): Initialize message_format 361 only when an error is reported (perf pb due to I18N). 362 363 2001-02-23 H.J. Lu <hjl@gnu.org> 364 * dwarf2dbg.c (dwarf2_directive_file): Call s_app_file (0) if 365 BFD_ASSEMBLER is not defined. 366 367 2001-02-16 matthew green <mrg@redhat.com> 368 * cgen.c (gas_cgen_md_apply_fix3): Support BFD_RELOC_64. 369 370 2001-02-11 Maciej W. Rozycki <macro@ds2.pg.gda.pl> 371 * config/tc-mips.c (macro): For M_LA_AB emit a 372 BFD_RELOC_MIPS_CALL16 relocation or a 373 BFD_RELOC_MIPS_CALL_HI16/BFD_RELOC_MIPS_CALL_LO16 pair instead of 374 BFD_RELOC_MIPS_GOT16 and 375 BFD_RELOC_MIPS_GOT_HI16/BFD_RELOC_MIPS_GOT_LO16, respectively for 376 loading the jump register when generating SVR4_PIC code. 377 378 2001-02-10 Chris Demetriou <cgd@broadcom.com> 379 * configure.in: Make 'mipself' and 'mipsecoff' emulations 380 map to MIPS-specific files, as they used to do before the 381 change on 2000-05-21. 382 * configure: Regerate. 383 384 2001-02-10 Chris Demetriou <cgd@broadcom.com> 385 * config/tc-mips.c (md_parse_option): Don't try to compile 386 ELF-only option code if not ELF. 387 3882001-06-10 Philip Blundell <philb@gnu.org> 389 390 * configure.in: Set version to 2.11.1. 391 * configure: Regenerate. 392 3932001-06-07 Alan Modra <amodra@bigpond.net.au> 394 395 * Most files: Update copyright notices. 396 3972001-06-06 Hans-Peter Nilsson <hp@axis.com> 398 399 * config/tc-cris.c (cris_insn_first_word_frag): New. 400 (md_assemble): Call cris_insn_first_word_frag to get the first 401 frag in an insn, not frag_more. Don't call dwarf2_emit_insn at 402 end. Drop variable insn_size. 403 (gen_bdap): Call cris_insn_first_word_frag, not frag_more. 404 4052001-06-06 Nick Clifton <nickc@cambridge.redhat.com> 406 407 * as.c (show_usage): Remove L from listing options. It is not a 408 generic option. 409 4102001-06-06 Tracy Kuhrt <Tracy.Kuhrt@microchip.com> 411 412 * as.c (parse_args): Correct option name "listing-lhs-width2". 413 4142001-05-30 Richard Henderson <rth@redhat.com> 415 416 * read.c (emit_leb128_expr): Call md_cons_align. 417 4182001-05-28 Jeff Sturm <jsturm@one-point.com> 419 420 * config/tc-sparc.c (md_apply_fix3): Handle BFD_RELOC_SPARC_UA16, 421 BFD_RELOC_SPARC_UA32 and BFD_RELOC_SPARC_UA64. 422 (tc_gen_reloc): Likewise. 423 (sparc_cons_align): Don't clear sparc_no_align_cons. 424 (cons_fix_new_sparc): Substitute BFD_RELOC_SPARC_UA{16|32|64} for 425 BFD_RELOC_{16|32|64} iff sparc_no_align_cons is set. 426 4272001-05-23 Alan Modra <amodra@one.net.au> 428 429 Merge from mainline. 430 2001-05-22 Alan Modra <amodra@one.net.au> 431 * config/tc-arc.c (md_assemble): Use is_end_of_line instead of 432 testing for NULs. 433 434 2001-05-16 Alan Modra <amodra@one.net.au> 435 * config/tc-arc.c (md_assemble): Correct dwarf2_emit_insn param 436 for 8 byte insns. 437 * config/tc-i386.c (md_assemble): Call dwarf2_emit_insn before 438 opcodes are output rather than after. Delete insn_size. 439 * config/tc-v850.c (md_assemble): Similarly, but delete 440 total_insn_size. Update copyright. 441 442 2001-05-03 Alan Modra <amodra@one.net.au> 443 * config/tc-i386.c (i386_displacement): Call as_bad for bad GOTOFF 444 expressions rather than triggering an assert. 445 446 2001-03-30 Alan Modra <alan@linuxcare.com.au> 447 * config/tc-i386.c (UNCOND_JUMP, COND_JUMP, COND_JUMP86): Decrement. 448 (md_relax_table): Remove first four unused entries. Increment 449 rlx_length by one throughout table, and update comments to suit. 450 (md_estimate_size_before_relax): Return size of current variable 451 part of frag to reflect reality when relaxing more than once. 452 453 2001-03-25 Alan Modra <alan@linuxcare.com.au> 454 * config/tc-i386.c (i386_scale): Accept an absolute expression for 455 scale factor, and return the end of the expression. 456 (i386_operand): Modify for above. 457 458 2001-03-13 Alan Modra <alan@linuxcare.com.au> 459 * config/tc-i386.c (RELOC_ENUM): Define. Use throughout file. 460 (NUM_FLAG_CODE): Define. 461 (lex_got): New function. 462 (got_reloc): New global var. 463 (x86_cons_fix_new): New function. 464 (x86_cons): New function. 465 (i386_immediate): Use lex_got here, replacing inline code. Change 466 "ignoring junk.." error message to "junk.." 467 (i386_displacement): Likewise. 468 * config/tc-i386.h (TC_PARSE_CONS_EXPRESSION): Define. 469 (x86_cons): Declare. 470 (TC_CONS_FIX_NEW): Define. 471 (x86_cons_fix_new): Declare. 472 473 2001-03-07 Alan Modra <alan@linuxcare.com.au> 474 * config/tc-i386.c (struct _i386_insn): Rename disp_reloc to reloc. 475 (md_assemble) <smallest displacement>: Use correct field of i.op[] 476 union. 477 <JumpInterSegment output>: Use correct i.disp_reloc[]. 478 <immediate output>: Likewise. 479 480 2001-02-13 Alan Modra <alan@linuxcare.com.au> 481 * doc/c-i386.texi (i386-Arch): Add "jumps"/"nojumps" blurb. 482 Mention effect of < 386 architectures on jump promotion. 483 (i386-Jumps): xref above. Don't assume long disp is 32 bits. 484 485 * config/tc-i386.c (no_cond_jump_promotion): New. 486 (set_cpu_arch): Parse "jumps" arch modifier. 487 (insn_size): Modify usage comment. 488 (ENCODE_RELAX_STATE): Reformat and protect macro arg. 489 (SIZE_FROM_RELAX_STATE): Rename to DISP_SIZE_FROM_RELAX_STATE. 490 (TYPE_FROM_RELAX_STATE): New define. 491 (UNCOND_JUMP, COND_JUMP): Renumber. 492 (md_relax_table): Reorder to suit. 493 (COND_JUMP86): New define. 494 (md_relax_table): Handle COND_JUMP86 cases. Add a few comments. 495 (md_assemble): Create frag var for jumps of max size, encode relax 496 state for COND_JUMP86. 497 (md_estimate_size_before_relax): Handle COND_JUMP86 cases, and 498 leave conditional jumps small if no_cond_jump_promotion. 499 (md_convert_frag): Likewise. 500 501 2001-05-10 Alan Modra <amodra@one.net.au> 502 * config/tc-v850.c (md_estimate_size_before_relax): Rewrite. 503 (md_convert_frag): Don't bother clearing fr_var. 504 (md_pseudo_table): Correct initialization. 505 506 2001-05-12 Peter Targett <peter.targett@arccores.com> 507 * config/tc-arc.c: Update copyright and tidy source comments. 508 (md_pseudo_table): Add directive .cpu back as an alias for 509 .option. Add .file and .line for dwarf2 support. 510 (arc_mach_type): Make bfd_mach_arc_6 default. 511 (md_longopts): Add entry 'pre-v6' representing old command line 512 option when assembling for 'arc5' core versions. 513 (md_parse_option): Make OPTION_ARC same as OPTION_ARC6, for new 514 default behaviour. 515 (arc_code_symbol): Make symbol value for @h30 fixup expression 516 equal to O_constant. 517 (md_assemble): Call dwarf2_emit_insn. 518 Include "dwarf2dbg2.h". Formatting fixes throughout file. 519 * config/tc-arc.h (DWARF2_LINE_MIN_INSN_LENGTH): Define. 520 * doc/c-arc.texi (ARC_CORE_DEFAULT): Update to new default. 521 522 2001-05-15 Alexandre Oliva <aoliva@redhat.com> 523 * config/tc-mn10300.c (mn10300_force_relocation): Don't 524 optimize differences between symbols in code sections to 525 constants. 526 (mn10300_fix_adjustable): Don't adjust to section+offset 527 relocations pointing at symbols in code sections. 528 529 2001-05-14 Alexandre Oliva <aoliva@redhat.com> 530 * config/tc-mn10300.c (md_assemble): Anchor dwarf2 line info 531 before a relaxable insns. 532 533 2001-05-13 Alexandre Oliva <aoliva@redhat.com> 534 * config/tc-mn10300.c (tc_gen_reloc): Don't reject differences 535 between symbols if the base symbol is in the current section; 536 emit a PC-relative relocation instead. 537 538 2001-05-09 Alexandre Oliva <aoliva@redhat.com> 539 * config/tc-mn10300.c (md_apply_fix3): Accept PC-relative relocs. 540 541 2001-05-06 Alexandre Oliva <aoliva@redhat.com> 542 * config/tc-mn10300.c (md_assemble): Subtract operand->shift 543 from offset in non-pcrel operands too. 544 545 2001-04-14 Alexandre Oliva <aoliva@redhat.com> 546 * config/tc-mn10300.c (md_assemble): Simplify offset adjustment of 547 pc-relative relocations not placed at the end of the instruction. 548 549 2001-04-06 Alexandre Oliva <aoliva@redhat.com> 550 * config/tc-mn10300.c (xr_registers): Added `pc'. 551 552 2001-03-30 Alan Modra <alan@linuxcare.com.au> 553 * config/tc-mn10300.c (md_estimate_size_before_relax): Rewrite. 554 555 2001-02-23 Richard Sandiford <rsandifo@redhat.com> 556 * config/tc-mn10300.c (md_apply_fix3): Don't mark a fixup as 557 done if it's against a symbol. 558 559 2001-03-28 H.J. Lu <hjl@gnu.org> 560 * read.c (equals): Set to local for COFF only if it hasn't been 561 defined before. 562 563 2001-03-27 Nick Papadonis <nick@coelacanth.com> 564 * read.c (equals): (for COFF) default symbols to being local. 565 566 2001-03-23 Richard Sandiford <rsandifo@redhat.com> 567 * write.c (fix_new_exp): Print an error if passed a register. 568 569 2001-03-20 Alan Modra <alan@linuxcare.com.au> 570 * frags.h (struct frag): Add relax_marker. 571 * write.c (is_dnrange): Delete. 572 (relax_frag): Use correct types for `aim', `target', `address'. 573 Delete `offset', `was_address'. Test `relax_marker' instead of 574 using fragile (and slow) address test. 575 (relax_segment): Init and flip `relax_marker'. 576 577 2001-02-13 Ian Lance Taylor <ian@zembu.com> 578 * write.c (is_dnrange): Stop as soon as the address becomes 579 larger. 580 (relax_frag): Add segment parameter. Only call symbol_get_frag 581 once. Only call is_dnrange if the symbol is in the same segment, 582 and the symbol address is larger. 583 (relax_segment): Pass segment to md_relax_frag and relax_frag. 584 * write.h (relax_frag): Update declaration. 585 * config/tc-fr30.c (fr30_relax_frag): Add segment parameter. Pass 586 it to relax_frag. 587 * config/tc-m32r.c (m32r_relax_frag): Likewise. 588 * config/tc-m32r.h (md_relax_frag): Add segment parameter. 589 (m32r_relax_frag): Update declaration. 590 * config/tc-mips.h (md_relax_frag): Add segment parameter. 591 * config/tc-tic54x.h (md_relax_frag): Likewise. 592 * doc/internals.texi (CPU backend): Update documentation for 593 md_relax_frag. 594 595 2001-03-15 DJ Delorie <dj@redhat.com> 596 * stabs.c (s_stab_generic): Don't corrupt the notes obstack by 597 blindly freeing string if it isn't at the top of the obstack. 598 5992001-05-14 Richard Henderson <rth@redhat.com> 600 601 * ehopt.c (eh_frame_convert_frag): Fix missed subtype adjustment 602 last change. 603 6042001-05-14 Richard Henderson <rth@redhat.com> 605 606 * ehopt.c (get_cie_info): Rename from eh_frame_code_alignment; 607 also collect whether to expect an FDE augmentation. 608 (check_eh_frame): Rewrite as a state machine. Track where in 609 an FDE we are located, skip any augmentation. 610 (eh_frame_estimate_size_before_relax): Get code alignment from 611 the fragment subtype. 612 (eh_frame_relax_frag, eh_frame_convert_frag): Likewise. 613 * read.c (emit_leb128_expr): Call check_eh_frame. 614 6152001-05-09 Richard Henderson <rth@redhat.com> 616 617 * config/tc-ia64.c (generate_unwind_image): Align the fragment 618 beginning a function's unwind info block. 619 6202001-04-27 David Mosberger <davidm@hpl.hp.com> 621 622 * config/tc-ia64.c (dot_spillmem_p): Fix output_spill_?sprel_p() 623 argument passing order: predicate goes last, not first. 624 6252001-04-16 David O'Brien <obrien@FreeBSD.org> 626 627 * configure.in: Add the em type for FreeBSD targets. 628 * configure: Regenerate. 629 6302001-04-13 Jim Wilson <wilson@redhat.com> 631 632 * tc-ia64.c (is_conditional_branch): Return true for br, brl, and br. 633 excluding br.i. 634 6352001-04-02 Philip Blundell <philb@gnu.org> 636 637 From 2001-03-17 Richard Henderson <rth@redhat.com> 638 * dwarf2dbg.c (user_filenum, user_filenum_allocated): Remove. 639 (dwarf2_directive_loc): Don't use them. 640 (dwarf2_directive_file): Reject duplicate file definitions. 641 (get_filenum): Zero allocated memory. 642 (out_file_list): Complain about missing file definitions. 643 6442001-03-31 Alan Modra <alan@linuxcare.com.au> 645 646 * listing.c (listing_listing): Enable listing on EDICT_NOLIST_NEXT 647 for one line if not already enabled. 648 * cond.c (s_elseif): Correct conditional assembly listing. 649 (s_else): Likewise. 650 651 * cond.c (s_endif): Correct handling of "if .. elseif .." trees. 652 Don't abort on NULL current_cframe. 653 6542001-03-30 Richard Henderson <rth@redhat.com> 655 656 * write.c (relax_seg, size_seg): Split from relax_and_size_seg. 657 (write_object_file): Relax code then data, then size sections. 658 659 * config/tc-i386.c (md_convert_frag): Don't die on local symbols 660 that have been finalized. 661 6622001-03-28 Alan Modra <alan@linuxcare.com.au> 663 664 * config/tc-hppa.c (DEFAULT_LEVEL): Define. 665 (md_begin): Use it when setting default architecture. 666 6672001-03-27 Hans-Peter Nilsson <hp@axis.com> 668 669 * configure.in (cris-*-*): Change default emulation to criself. 670 (cris-*-*aout*): New rule. 671 * configure: Regenerate. 672 6732001-03-19 Alan Modra <alan@linuxcare.com.au> 674 675 * config/tc-i386.c (md_assemble <REGISTER_WARNINGS>): Correct 676 used register name. 677 6782001-03-18 Stephane Carrez <Stephane.Carrez@worldnet.fr> 679 680 * config/tc-m68hc11.c (md_pseudo_table): Recognize xrefb to comply 681 with 'Motorola specification for assembly language input standard'. 682 6832001-03-18 Dave Brolley <brolley@redhat.com> 684 685 * config/tc-m32r.c (expand_debug_syms): Call frag_align_code rather 686 than m32r_do_align. 687 6882001-03-16 Philip Blundell <philb@gnu.org> 689 690 * configure: Regenerate. 691 6922001-03-15 David Mosberger <davidm@hpl.hp.com> 693 694 * config/tc-ia64.c (md): New member keep_pending_output. 695 (ia64_flush_pending_output): Flush only if md.keep_pending_output 696 is not set. 697 (dot_xdata): Turn on md.keep_pending_output for the duration of 698 this function. 699 (dot_xfloat_cons): Ditto. 700 (dot_xstringer): Ditto. 701 (dot_xdata_ua): Ditto. 702 (dot_xfloat_cons_ua): Ditto. 703 7042001-03-15 Jim Wilson <wilson@redhat.com> 705 706 * config/tc-ia64.c (ia64_unrecognized_line, case '['): Add local 707 label support. 708 7092001-03-11 Philip Blundell <philb@gnu.org> 710 711 * configure.in: Set version to 2.11. 712 7132001-02-28 Andreas Jaeger <aj@suse.de>, Bo Thorsen <bo@suse.de> 714 715 * config/tc-i386.c (tc_gen_reloc): Remove ugly hack which is not needed 716 anymore since we use bfd_elf_generic_reloc now. 717 (md_apply_fix3): Only apply hack for partial_inplace if not using RELA. 718 7192001-02-21 David Mosberger <davidm@hpl.hp.com> 720 721 * config/tc-ia64.c (enum operand_match_result): New type. 722 (operand_match): Change return type to operand_match_result. 723 Fix all returns appropriately, adding support for returning the 724 out-of-range result. 725 (parse_operands): New locals result, error_pos, out_of_range_pos, 726 curr_out_of_range_pos. Rewrite operand matching loop to give better 727 error messages. 728 7292001-02-21 David Mosberger <davidm@hpl.hp.com> 730 731 * config/tc-ia64.c (struct unwind): Add member "prologue_count". 732 (dot_proc): Clear unwind.prologue_count to zero. 733 (dot_prologue): Increment unwind.prologue_count. 734 (dot_restore): If second operand is omitted, use 735 unwind.prologue_count -1 for "ecount" (# of additional regions to 736 pop). Decrement unwind.prologue_count by number of regions 737 popped. 738 7392001-02-20 Bo Thorsen <bo@suse.de> 740 741 * config/tc-i386.c (tc_i386_fix_adjustable): Fix GOTPCREL GOT 742 entry. 743 7442001-02-18 David O'Brien <obrien@FreeBSD.org> 745 746 * configure.in (cpu_type, arch): Add a generic FreeBSD specification as 747 all FreeBSD platforms should look the same at this level. 748 * configure: Rebuilt. 749 * config/tc-i386.c: Add support for old FreeBSD a.out hosts. 750 7512001-02-14 Philip Blundell <pb@futuretv.com> 752 753 From 2001-02-06 H.J. Lu <hjl@gnu.org> 754 * config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): Do fixup if 755 there is no relocation. 756 757 From 2001-02-06 H.J. Lu <hjl@gnu.org> 758 * config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): New. Defined. 759 * config/tc-ia64.c (md_parse_option): Only accept the valid 760 ia64 options on "-axxx". 761 7622001-02-13 Alan Modra <alan@linuxcare.com.au> 763 764 * expr.c (operator): Don't bump input_line_pointer for two char 765 operators. Instead return operator size via new param num_chars. 766 (expr): Use above to parse multi-char operators correctly. 767 7682001-02-12 Philip Blundell <pb@futuretv.com> 769 770 * config/tc-arm.c (do_ldst): Improve warnings for unpredictable 771 ldrt/strt instructions. 772 773Mon Feb 12 17:44:08 CET 2001 Jan Hubicka <jh@suse.cz> 774 775 * tc-i386.c (i386_displacement): Fix handling of 776 BFD_RELOC_X86_64_GOTPCREL. 777 (i386_validate_fix): Likewise. 778 7792001-02-09 David Mosberger <davidm@hpl.hp.com> 780 781 * config/tc-ia64.h (md_elf_section_type): New macro. 782 (ELF_TC_SPECIAL_SECTIONS): Drop .IA_64.unwind and .IA_64.unwind_info 783 (they're now handled via ia64_elf_section_type. 784 785 * config/tc-ia64.c (unwind): New members saved_text_seg, 786 saved_text_subseg, and force_unwind_entry. 787 (optimize_unw_records): New function to optimize away unnecessary 788 unwind directives. 789 (ia64_elf_section_type): New function. 790 (output_unw_records): Generate unwind info only if the size is 791 non-zero or if it's forced for some other reason (e.g., 792 handlerdata or a personality routine). 793 (generate_unwind_image): Don't switch back to previous 794 section---stay inside the unwind info section instead so that 795 handlerdata that may follow goes into the right place. 796 (dot_handlerdata): Force generation of unwind entry and save the 797 current active text segment before generating unwind image. 798 (dot_unwentry): Force generation of unwind entry. 799 (dot_personality): Ditto. 800 (dot_endp): Generate unwind table entry only if there is 801 some unwind info or the unwind entry was forced. 802 803 * config/tc-ia64.c (make_unw_section_name): New macro to form 804 unwind section name. 805 (generate_unwind_image): Add "text_name" argument. Use it to 806 form unwind section name. 807 (dot_handlerdata): Determine current segment (section) name and 808 pass it to generate_unwind_image(). 809 (dot_endp): Determine current segment (section) name and use 810 it to determine the appropriate unwind section name. 811 (ia64_md_do_align): Add missing ATTRIBUTE_UNUSED declarations to 812 n, fill, and max arguments. 813 8142001-02-09 Alexandre Oliva <aoliva@redhat.com> 815 816 * config/tc-sh.c (md_pseudo_table): Add uaquad. Use s_uacons for 817 2byte, 4byte and 8byte. 818 8192001-02-08 Alan Modra <alan@linuxcare.com.au> 820 821 * config/tc-hppa.c (pa_build_unwind_subspace): Don't call 822 md_number_to_chars with size > sizeof (valueT). 823 8242001-02-05 Jim Wilson <wilson@redhat.com> 825 826 * config/tc-ia64.c (errata_nop_necessary_p): Return 0 instead of 827 aborting for invalid operands. 828 8292001-02-06 Alan Modra <alan@linuxcare.com.au> 830 831 * config/tc-hppa.c (fix_new_hppa): Pass in unwind directly rather 832 than via pointer. Update all callers. 833 (UNWIND_LOW32): Define. 834 (UNWIND_HIGH32): Define. 835 (pa_build_unwind_subspace): Use the above macros instead of dumping 836 bitfields directly. Call frag_more once rather than multiple times. 837 (md_assemble): Use UNWIND_LOW32. 838 (pa_entry): Likewise 839 (pa_procend): Likewise. 840 (process_exit): Use UNWIND_HIGH32. 841 8422001-02-04 Stephane Carrez <Stephane.Carrez@worldnet.fr> 843 844 * config/tc-m68hc11.h (LISTING_HEADER): Use m68hc11_listing_header 845 function to select the header according to the cpu. 846 (md_after_pass_hook, md_do_align): Remove. 847 (md_cleanup, m68hc11_cleanup): Remove. 848 (md_pcrel_from_section): Declare. 849 * config/tc-m68hc11.c (build_dbranch_insn): Remove insn_size. 850 (build_jump_insn, build_insn): Likewise. 851 (m68hc11_listing_header): New function. 852 (m68hc11_cleanup): Remove. 853 8542001-02-02 Stephane Carrez <Stephane.Carrez@worldnet.fr> 855 856 * config/tc-m68hc11.c (relaxable_symbol): Relax externally visible 857 symbols because there is no support for shared libraries and these 858 symbols can't be overridden (unless they are weak). 859 8602001-02-01 Momchil Velikov <velco@fadata.bg> 861 862 * dwarf2dbg.c (out_debug_abbrev): Terminate the abbreviations 863 for the compilation unit with a zero byte. 864 8652001-01-30 Alan Modra <alan@linuxcare.com.au> 866 867 * config/tc-hppa.c (pa_ip): Support 12 bit branches to absolute 868 destinations. Correct range check for 17 and 22 bit branches. 869 8702001-01-25 Nick Clifton <nickc@redhat.com> 871 872 * config/tc-m68k.c (tc_gen_reloc): Do not abort if tcbit is 873 still set. Issue an error message instead. 874 (md_estimate_size_before_relax): Delete unused variable 875 'buffer_address'. Fixup parentheses around if statement. 876 8772001-01-23 Kazu Hirata <kazu@hxi.com> 878 879 * as.c: Fix formatting. 880 * ehopt.c: Likewise. 881 * messages.c: Likewise. 882 * stabs.c: Likewise. 883 * symbols.c: Likewise. 884 8852001-01-23 Ben Elliston <bje@redhat.com> 886 887 * config/tc-m32r.c (m32r_handle_align): Declare type of fragp. 888 8892001-01-22 Kazu Hirata <kazu@hxi.com> 890 891 * config/tc-alpha.c: Fix formatting. 892 8932001-01-19 Kazu Hirata <kazu@hxi.com> 894 895 * config/tc-alpha.c: Fix formatting. 896 8972001-01-18 Kazu Hirata <kazu@hxi.com> 898 899 * config/tc-alpha.c: Fix formatting. 900 9012001-01-18 Nick Clifton <nickc@redhat.com> 902 903 * config/tc-arm.c (ldm_flags): Remove redundant bit from "fa" and 904 "da" flags. 905 (stm_flags): Remove redundant bit from "ed" and "da" flags. 906 9072001-01-18 Alexandre Oliva <aoliva@redhat.com> 908 909 * configure.in (cpu_type, arch): Match i386 too. 910 * configure: Rebuilt. 911 9122001-01-16 Kazu Hirata <kazu@hxi.com> 913 914 * config/tc-i386.c: Fix formatting. 915 9162001-01-16 Alan Modra <alan@linuxcare.com.au> 917 918 * config/tc-hppa.c (tc_gen_reloc): Use SEGREL32 instead of DIR32 919 relocs for .PARISC.unwind section. 920 921 * config/tc-hppa.c (pa_build_unwind_subspace): Build unwind 922 depending on section flags, not just for .text. 923 9242001-01-15 Jim Wilson <wilson@redhat.com> 925 926 * config/tc-ia64.c (ia64_flush_insns): Handle unwind directives 927 not immediately followed by an instruction. 928 9292001-01-15 Kazu Hirata <kazu@hxi.com> 930 931 * config/tc-m68hc11.c: Fix formatting. 932 9332001-01-15 Nick Clifton <nickc@redhat.com> 934 935 * symbols.c (colon): Change 'already defined symbol' from a 936 fatal error to an ordinary error. There is no reason why this 937 error should be fatal. 938 939 * message.c (as_fatal): Delete output file, if one has been 940 created. 941 9422001-01-14 Alan Modra <alan@linuxcare.com.au> 943 944 * config/tc-hppa.h (TARGET_FORMAT): Add hppa-linux variants. 945 9462001-01-14 Kazu Hirata <kazu@hxi.com> 947 948 * config/tc-alpha.c: Fix formatting. 949 * config/tc-arc.c: Likewise. 950 * config/tc-arc.h: Likewise. 951 * config/tc-d10v.c: Likewise. 952 * config/tc-i370.c: Likewise. 953 * config/tc-i386.c: Likewise. 954 * config/tc-i960.c: Likewise. 955 * config/tc-m68k.c: Likewise. 956 * config/tc-ppc.c: Likewise. 957 * config/tc-sparc.c: Likewise. 958 * config/tc-tahoe.c: Likewise. 959 * config/tc-vax.c: Likewise. 960 961 * config/tc-arc.c: Fix formatting. 962 963 * config/tc-arc.c: Fix formatting. 964 9652001-01-14 Alan Modra <alan@linuxcare.com.au> 966 967 * config/tc-hppa.c (pa_build_unwind_subspace): Use SEGREL32 for 968 both 32 and 64 bit ELF. 969 970 * config/tc-hppa.c (pa_ip): Store `a' flag in bit zero of operand 971 and don't bother storing `m' for "ce" completer. Tidy handling of 972 'J' and 'K' operands to suit. Handle '<' and '>' operands. 973 974Sun Jan 14 00:36:42 MET 2001 Jan Hubicka <jh@suse.cz> 975 976 * tc-i386.h (TARGET_MACH): New macro. 977 (i386_mach): Declare. 978 * tc-i386.c (i386_mach): New function. 979 9802001-01-13 Philip Blundell <philb@gnu.org> 981 982 * doc/as.texinfo: Fix spelling and cross-references. 983 984 * doc/c-arm.texi: Fix typos. Say that `;' is a line separator 985 character for all systems, not just GNU/Linux. Make it explicit 986 that `-k' doesn't affect code generation, just ELF flags. 987 988Sat Jan 13 01:47:35 MET 2001 Jan Hubicka <jh@suse.cz> 989 990 * config/tc-i386.c (md_assemble): Check cpu_flags even for nullary 991 instructions. 992 9932001-01-12 Frank Ch. Eigler <fche@redhat.com> 994 995 * cgen.c (gas_cgen_finish_insn): Call dwarf2_emit_insn. 996 9972001-01-12 Nick Clifton <nickc@redhat.com> 998 999 * as.c (print_args): Update copyright date to 2001. 1000 10012001-01-12 Peter Targett <peter.targett@arccores.com> 1002 1003 * doc/c-arc.texi: New file. 1004 Some sections to be expanded. 1005 10062001-01-12 Alan Modra <alan@linuxcare.com.au> 1007 1008 * config/tc-i386.c (md_longopts): Recognize "--64" only for ELF. 1009 (md_parse_option): Always accept "--32". 1010 10112001-01-11 Peter Targett <peter.targett@arccores.com> 1012 1013 * as.h (TC_ARC): Ensure struc-symbol.h included. 1014 * as.c (dwarf2dbg.h): Include to remove implicit declaration 1015 warnings. 1016 * struc-symbol.h (SYMBOLS_NEED_BACKPOINTERS): Define. 1017 (TARGET_SYMBOL_FIELDS) added. 1018 1019 * doc/Makefile.am (CPU_DOCS): Added c-arc.texi. 1020 * doc/c-arc.texi: New file. 1021 Some sections to be expanded. 1022 * doc/as.texinfo: Update command-line options. 1023 Removed outdated text for ARC dependant features, instead include 1024 text from above file. 1025 1026 * config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS): Define local flag. 1027 (TARGET_SYMBOL_FIELDS): Alias to previous definition. 1028 (targ-cpu.h) header. 1029 * config/tc-arc.h: 1030 * config/tc-arc.c: New updated configuration for 1031 ARC, including selection of core variants, and extensibility of 1032 instructions, registers etc. through directives. 1033 1034 * config/tc-arc.c (arc_extinst): Minor corrections for 1035 error messages. 1036 (arc_common) Likewise. Make alignment argument optional for local 1037 symbols also, with default of zero. 1038 10392001-01-11 Stephane Carrez <Stephane.Carrez@worldnet.fr> 1040 1041 * config/tc-m68hc11.c (md_estimate_size_before_relax): Fix 1042 STATE_INDEXED_OFFSET when the symbol is undefined (16-bit offset). 1043 (build_indexed_byte): Don't relax indexed byte, use 16-bit offset 1044 and fix_new_exp() instead. 1045 (md_convert_frag): For indexed post byte use the symbol value 1046 rather than the displacement. 1047 (md_relax_table): Fix indexed offset relax. 1048 10492001-01-11 Stephane Carrez <Stephane.Carrez@worldnet.fr> 1050 1051 * config/tc-m68hc11.c (md_estimate_size_before_relax):Don't 1052 relax weak symbols. 1053 (relaxable_symbol): New function. 1054 10552001-01-11 Andreas Jaeger <aj@suse.de> 1056 1057 * config/tc-i386.h (TC_RELOC_GLOBAL_OFFSET_TABLE): Removed, it's 1058 not used anywhere. 1059 10602001-01-10 Nick Clifton <nickc@redhat.com> 1061 1062 * config/tc-arm.c (arm_fix_adjustable): Define for OBJ_COFF. 1063 * config/tc-arm.h (obj_fix_adjustable): Define for OBJ_COFF 1064 10652001-01-10 Nick Clifton <nickc@redhat.com> 1066 1067 * symbols.c (DOLLAR_LABEL_CHAR): New constant - the magic 1068 character used to dollar local symbols. 1069 (LOCAL_LABEL_CHAR): New constant - the magic character used to 1070 local label symbols. 1071 (dollar_label_name): Use DOLLAR_LABEL_CHAR. 1072 (fb_label_name): Prefix local labels with LOCAL_LABEL_PREFIX, 1073 if defined. 1074 Use LOCAL_LABEL_CHAR. 1075 (decode_local_label_name): Skip LOCAL_LABEL_PREFIX. 1076 Use DOLLAR_LABEL_CHAR and LOCAL_LABEL_CHAR. 1077 (S_IS_LOCAL): Use DOLLAR_LABEL_CHAR and LOCAL_LABEL_CHAR. 1078 10792001-01-08 Bo Thorsen <bo@suse.de> 1080 1081 * config/tc-i386.c (i386_immediate, i386_displacement): 1082 GOTPCREL check fix. 1083 10842001-01-07 Ian Lance Taylor <ian@zembu.com> 1085 1086 * doc/c-i386.texi (i386-Arch): Remove spaces incorrectly inserted 1087 in last change. 1088 10892001-01-07 Philip Blundell <philb@gnu.org> 1090 1091 * doc/as.texinfo (Bug Reporting): Update email address for 1092 reports. 1093 * README: Likewise. 1094 1095Sat Jan 6 13:33:10 MET 2001 Jan Hubicka <jh@suse.cz> 1096 1097 * configure.in: Define DEFAULT_ARCH for i386. 1098 * tc-i386.c (md_assemble): Return after the error message; 1099 move testing for 64bit operands to proper place. 1100 11012001-01-06 Jan Hubicka <jh@suse.cz>, Andreas Jaeger <aj@suse.de> 1102 1103 * doc/as.texinfo: Document '#' as comment character for i386 and 1104 x86_64. Add AMD x86-64 into menu of machine dependent information. 1105 1106 * doc/c-i386.texi: Document x86_64 extensions. 1107 1108Fri Jan 5 13:26:42 MET 2001 Jan Hubicka <jh@suse.cz> 1109 1110 * tc-i386.c (md_assemble): Handle third byte of the opcode as prefix. 1111 1112Thu Jan 4 22:25:26 MET 2001 Jan Hubicka <jh@suse.cz> 1113 1114 * tc-i386.c (cpu_arch): Add Pentium4 and modify sledgehammer entry. 1115 * NEWS: Add note about Pentium4 support. 1116 1117Wed Jan 3 17:26:32 MET 2001 Jan Hubicka <jh@suse.cz> 1118 1119 * tc-i387.c (pi, pte, pt): Update. 1120 (type_names): Add new types. 1121 1122Wed Jan 3 16:26:52 MET 2001 Jan Hubicka <jh@suse.cz> 1123 1124 * tc-i386.h (CpuK6, CpuAthlon, CpuSledgehammer, CpuMMX, Cpu3dnow, 1125 CpuUnknown): Renumber 1126 (CpuP4, CpuSSE2): New. 1127 (CpuUnknownFlags): Add CpuP4 and CpuSSE2 1128 11292001-01-03 Philip Blundell <pb@futuretv.com> 1130 1131 * config/tc-alpha.c (alpha_force_relocation): Handle vtable 1132 relocs. 1133 (alpha_fix_adjustable): Likewise. 1134 (md_apply_fix): Likewise. 1135 11362000-12-31 H.J. Lu <hjl@gnu.org> 1137 1138 * listing.c (listing_message): Allocate string only if it is 1139 used. 1140 1141 * configure: Rebuild. 1142 11432000-12-31 Hans-Peter Nilsson <hp@bitrange.com> 1144 1145 * doc/internals.texi (Relaxing with a table) <after relaxation>: 1146 Point out caveats with generating fixups for the opcode in a frag. 1147 1148Sat Dec 30 19:02:48 MET 2000 Jan Hubicka <jh@suse.cz> 1149 1150 * configure.in: Add support for x86_64 and x86_64-*-linux-gnu* 1151 * NEWS: Add x86_64. 1152 11532000-12-29 H.J. Lu <hjl@gnu.org> 1154 1155 * listing.c (calc_hex): Print the variable part only if the 1156 fragment type is rs_fill. 1157 11582000-12-29 Hans-Peter Nilsson <hp@bitrange.com> 1159 1160 * doc/internals.texi (tc_conditional_pseudoop, 1161 TC_LINKRELAX_FIXUP): Fix typos. 1162 11632000-12-28 Richard Henderson <rth@redhat.com> 1164 1165 * write.c (subsegs_finish): Fix thinko last change -- don't 1166 "optimize" the alignment == 0 case. 1167 11682000-12-28 Richard Henderson <rth@redhat.com> 1169 1170 * as.h (rs_align_test): New. 1171 * frags.c (NOP_OPCODE): Move default from read.c. 1172 (MAX_MEM_FOR_RS_ALIGN_CODE): New default. 1173 (frag_align_code): New. 1174 * frags.h (frag_align_code): Declare. 1175 * read.c (NOP_OPCODE): Remove. 1176 (do_align): Use frag_align_code. 1177 * write.c (NOP_OPCODE): Remove. 1178 (get_recorded_alignment): New. 1179 (cvt_frag_to_fill): Handle rs_align_test. 1180 (relax_segment): Likewise. 1181 (subsegs_finish): Align last subseg in section to the 1182 section alignment. Use frag_align_code. 1183 * write.h (get_recorded_alignment): Declare. 1184 * config/obj-coff.c (size_section): Handle rs_align_test. 1185 (fill_section, fixup_mdeps): Likewise. 1186 (write_object_file): Use frag_align_code. 1187 1188 * config/tc-alpha.c (alpha_align): Use frag_align_code. 1189 (alpha_handle_align): New. 1190 * config/tc-alpha.h (HANDLE_ALIGN): New. 1191 (MAX_MEM_FOR_RS_ALIGN_CODE): New. 1192 1193 * config/tc-i386.h (md_do_align): Use frag_align_code. 1194 (MAX_MEM_FOR_RS_ALIGN_CODE): New. 1195 1196 * config/tc-ia64.c (ia64_md_do_align): Don't do code alignment. 1197 (ia64_handle_align): New. 1198 * config/tc-ia64.h (HANDLE_ALIGN): New. 1199 (MAX_MEM_FOR_RS_ALIGN_CODE): New. 1200 1201 * config/tc-m32r.c (m32r_do_align): Remove. 1202 (m32r_handle_align): New. 1203 (fill_insn): Use frag_align_code. 1204 * config/tc-m32r.h (md_do_align): Remove. 1205 (HANDLE_ALIGN, MAX_MEM_FOR_RS_ALIGN_CODE): New. 1206 * config/tc-m88k.c, config/tc-m88k.h: Similarly. 1207 * config/tc-mips.c, config/tc-mips.h: Similarly. 1208 1209 * config/tc-sh.c (sh_cons_align): Use rs_align_test. 1210 (sh_handle_align): Likewise. Handle rs_align_code. 1211 (sh_do_align): Remove. 1212 * config/tc-sh.h (md_do_align): Remove. 1213 (MAX_MEM_FOR_RS_ALIGN_CODE): New. 1214 1215 * config/tc-sparc.c (sparc_cons_align): Use rs_align_test. 1216 (sparc_handle_align): Likewise. Handle rs_align_code. 1217 * config/tc-sparc.h (md_do_align): Remove. 1218 (MAX_MEM_FOR_RS_ALIGN_CODE): New. 1219 12202000-12-22 DJ Delorie <dj@redhat.com> 1221 1222 * config/tc-d10v.c (md_assemble): set prev_seg and prev_subseg 1223 when we assemble the first half of a pair. 1224 12252000-12-22 H.J. Lu <hjl@gnu.org> 1226 1227 * config/tc-i386.c (reloc): Update the macro for non-bfd 1228 assembler. 1229 (BFD_RELOC_X86_64_GOTPCREL): Set to 0 for non-bfd assembler. 1230 12312000-12-22 H.J. Lu <hjl@gnu.org> 1232 1233 * dwarf2dbg.c (dwarf2_finish): Remove #if BFD_ASSEMBLER. 1234 1235Wed Dec 20 14:21:22 MET 2000 Jan Hubicka <jh@suse.cz> 1236 1237 * tc-i386.h (i386_target_format): Define even for ELFs. 1238 (QWORD_MNEM_SUFFIX): New macro. 1239 (CpuK6,CpuAthlon,CpuSledgehammer, Cpu64, CpuNo64, CpuUnknownFlags): 1240 New macros 1241 (CpuMMX,CpuSSE,Cpu3dnow, CpuUnknown): Renumber. 1242 (IgnoreSize, DefaultSize, No_?Suf, FWait, IsString, regKludge, IsPrefix, 1243 ImmExt): Renumber. 1244 (Size64, No_qSuf, NoRex64, Rex64): New macros. 1245 (Reg64, Imm32S, Imm64, Disp32S, Disp64): New macros. 1246 (Imm8, Imm8S, Imm16, Imm32, Imm1, BaseIndex, Disp8, Disp16, Disp32, 1247 InOutPortReg,ShiftCount, Control, Debug, Test, FloatReg, FloatAcc, 1248 SReg2, SReg3, Acc, JumpAbsolute, RegMMX, RegXMM, EsSeg, InvMem): 1249 Renumber. 1250 (Reg, WordReg): Add Reg64. 1251 (Imm): Add Imm32S and Imm64. 1252 (EncImm): New. 1253 (Disp): Add Disp64 and Disp32S. 1254 (AnyMem): Add Disp32S. 1255 (RegRex, RegRex64): New macros. 1256 (rex_byte): New type. 1257 * tc-i386.c (set_16bit_code_flag): Kill. 1258 (fits_in_unsigned_long, fits_in_signed_long): New functions. 1259 (reloc): New parameter "signed"; support x86_64. 1260 (set_code_flag): New. 1261 (DEFAULT_ARCH): New macro; default to "i386". 1262 (default_arch): New static variable. 1263 (struct _i386_insn): New fields Operand_PCrel; rex. 1264 (flag_16bit_code): Kill; All tests replaced to "flag_code == CODE_64BIT" 1265 (flag_code): New enum and static variable. 1266 (use_rela_relocations): New static variable. 1267 (flag_code_names): New static variable. 1268 (cpu_arch_flags): Default to CpuUnknownFlags|CpuNo64. 1269 (cpu_arch): Add "sledgehammer"; Add CPUAthlon to Athlon and CpuK6 to 1270 K6 and Athlon. 1271 (i386_align_code): Return plain "nop" for x86_64. 1272 (mode_from_disp_size): Support Disp32S. 1273 (smallest_imm_type): Support Imm32S and Imm64. 1274 (offset_in_range): Support size of 8. 1275 (set_cpu_arch): Do not clobber to Cpu64/CpuNo64. 1276 (md_pseudo_table): Add "code64"; use set_code_flat. 1277 (md_begin): Emit sane error message on hash failure. 1278 (tc_i386_fix_adjustable): Support x86_64 relocations. 1279 (md_assemble): Support QWORD_MNEM_SUFFIX, REX registers, 1280 instructions supported on particular arch just partially, 1281 output of 64bit immediates, handling of Imm32S and Disp32S type. 1282 (i386_immedaite): Support x86_64 relocations; support 64bit constants. 1283 (i386_displacement): Likewise. 1284 (i386_index_check): Cleanup; support 64bit addresses. 1285 (md_apply_fix3): Support x86_64 relocation and rela. 1286 (md_longopts): Add "32" and "64". 1287 (md_parse_option): Add OPTION_32 and OPTION_64. 1288 (i386_target_format): Call even for ELFs; choose between 1289 elf64-x86-64 and elf32-i386. 1290 (i386_validate_fix): Refuse GOTOFF in 64bit mode. 1291 (tc_gen_reloc): Support rela relocations and x86_64. 1292 (intel_e09_1): Support QWORD. 1293 12942000-12-15 Diego Novillo <dnovillo@redhat.com> 1295 1296 * config/tc-i386.c (intel_e09_1): Only flag as a memory operand if 1297 it's not an offset expression. 1298 (intel_e10_1): Ditto. Also, if the operand is an offset expression, 1299 keep the braces '[' and ']' in the output string. 1300 (intel_e11): Ditto. Also remove comparison intel_parser.op_modifier 1301 != FLAT. There is no such op_modifier. 1302 13032000-12-14 Michael Sokolov <msokolov@ivan.Harhan.ORG> 1304 1305 * dwarf2dbg.c: If we don't have <limits.h>, try including <sys/param.h> 1306 if we have it. 1307 13082000-12-13 Kazu Hirata <kazu@hxi.com> 1309 1310 * as.h: Fix formatting. 1311 * cgen.h: Likewise. 1312 * dwarf2dbg.c: Likewise. 1313 * input-scrub.c: Likewise. 1314 * read.h: Likewise. 1315 13162000-12-13 Mark Elbrecht <snowball3@bigfoot.com> 1317 1318 * configure.in (i386-*-msdosdjgpp): Set bfd_gas to yes. 1319 configure: Regenerate. 1320 13212000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG> 1322 1323 * dwarf2dbg.c: #include <limits.h> only if it exists. 1324 13252000-12-13 Rodney Brown <RodneyBrown@mynd.com> 1326 1327 * config/tc-hppa.c (pa_ip): Correct CHECK_FIELD typo. 1328 (md_apply_fix): Here too. 1329 13302000-12-12 Jim Wilson <wilson@redhat.com> 1331 1332 * config/tc-ia64.h (ia64_init): Add prototype. 1333 13342000-12-12 H.J. Lu <hjl@gnu.org> 1335 1336 * dwarf2dbg.c: Enabled only if BFD_ASSEMBLER is defined. 1337 1338 * read.h (outputting_stabs_line_debug): Change it to int. 1339 * stabs.c (outputting_stabs_line_debug): Likewise. 1340 13412000-12-12 Geoffrey Keating <geoffk@redhat.com> 1342 1343 * config/obj-bout.c (obj_crawl_symbol_chain): Don't take 1344 the address of a function result. 1345 13462000-12-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> 1347 1348 * config/tc-ppc.c (md_pseudo_table): Add .file and .loc. 1349 (md_assemble): Call dwarf2_emit_insn. 1350 (shlib): Fix typo SHILB -> SHLIB. 1351 (md_parse_option): Likewise. 1352 (ppc_elf_validate_fix): Likewise: 1353 * config/tc-ppc.h (DWARF2_LINE_MIN_INSN_LENGTH): New. 1354 13552000-12-12 Nick Clifton <nickc@redhat.com> 1356 1357 * cgen.h: Fix formatting. 1358 * input-scrub.c: Fix formatting. 1359 * macro.c: Fix formatting. 1360 * config/tc-mips.c: Fix formatting. 1361 * doc/c-mips.texi: Fix formatting. 1362 1363Mon Dec 11 14:35:42 MET 2000 Jan hubicka <jh@suse.cz> 1364 1365 * tc-i386.c (md_assemble): Refuse 's' and 'l' suffixes in the intel 1366 mode; convert 'd' suffix to 's' or 'l'; remove all DWORD_MNEM_SUFFIX 1367 references. 1368 (intel_e09_1): Convert QWORD to 'l' suffix for FP operations; refuse 1369 otherwise. 1370 * tc-i386.h (DWORD_MNEM_SUFFIX): Kill. 1371 (No_dSuf): Kill. 1372 1373 * i386.h (*_Suf): Remove No_dSuf. 1374 (d_suf, wld_Suf,sld_Suf, sldx_Suf, bwld_Suf, d_FP, sld_FP, sldx_FP) 1375 Remove. 1376 (i386_optab): Remove 'd' in the suffixes. 1377 13782000-12-06 Mark Elbrecht <snowball3@bigfoot.com> 1379 1380 * config/tc-i386.c (T_SHORT): Undefine before defining. 1381 13822000-12-05 Kazu Hirata <kazu@hxi.com> 1383 1384 * config/tc-mips.c: Fix formatting. 1385 13862000-12-04 Matthew Hiller <hiller@redhat.com> 1387 1388 * config/tc-d10v.c (flag_allow_gstabs_packing): New variable. 1389 (md_longopts): New options --gstabs-packing, --no-gstabs-packing. 1390 (md_show_usage): Ditto. 1391 (md_parse_option): Ditto. 1392 (d10v_cleanup): Writes pending instruction only if 1393 ! outputting_stabs_line_debug || ! flag_allow_gstabs_packing. 1394 Fix compile time warning messages. 1395 1396 * doc/c-d10v.texi: Documents new options. 1397 13982000-12-04 Matthew Hiller <hiller@redhat.com> 1399 1400 * stabs.c (outputting_stabs_line_debug): New variable. 1401 (stabs_generate_asm_lineno): Set outputting_stabs_line_debug at 1402 function entry and unset at function exit. 1403 1404 * read.h (outputting_stabs_line_debug): New extern declaration. 1405 1406 * as.c: Include dwarf2dbg.h for definition of dwarf2_finish. 1407 1408 * dwarf2dbg.c: Fix compile time warning messages. 1409 14102000-12-03 Kazu Hirata <kazu@hxi.com> 1411 1412 * config/tc-a29k.c: Fix formatting. 1413 * config/tc-alpha.c: Likewise. 1414 * config/tc-arm.c: Likewise. 1415 * config/tc-cris.c: Likewise. 1416 * config/tc-hppa.c: Likewise. 1417 * config/tc-i370.c: Likewise. 1418 * config/tc-i386.c: Likewise. 1419 * config/tc-i860.c: Likewise. 1420 * config/tc-i960.c: Likewise. 1421 * config/tc-ia64.c: Likewise. 1422 * config/tc-m68hc11.c: Likewise. 1423 * config/tc-m68k.c: Likewise. 1424 * config/tc-m88k.c: Likewise. 1425 * config/tc-pj.c: Likewise. 1426 * config/tc-ppc.c: Likewise. 1427 * config/tc-sh.c: Likewise. 1428 * config/tc-sparc.c: Likewise. 1429 * config/tc-tahoe.c: Likewise. 1430 * config/tc-vax.c: Likewise. 1431 14322000-12-01 Chris Demetriou <cgd@sibyte.com> 1433 1434 * config/tc-mips.c (mips_ip): When calculating offsets, 1435 don't accept as constant the difference between the 1436 addresses of symbols in two different sections. 1437 1438 * config/tc-mips.c (macro_build): Add new 'U' and 'J' operand 1439 specifiers. 1440 (validate_mips_insn): Likewise. Also, update 'B' operand 1441 specifier to use OP_*_CODE20 constants and delete 'm' operand 1442 specifier. 1443 (mips_ip): Remove 'm' operand specifier, add 'U' and 'J' 1444 operand specifiers. Change warning generated by 'B' operand 1445 specifier to reflect its new multi-purpose usage. 1446 1447 * config/tc-mips.c (mips_set_options): Use ISA_UNKNOWN rather than 1448 -1, and update comment. 1449 (file_mips_isa): Likewise. 1450 (mips_cpu): Use CPU_UNKNOWN rather than -1, and update comment. 1451 (ISA_HAS_COPROC_DELAYS, ISA_HAS_64BIT_REGS, gpr_interlocks): Use 1452 ISA_* constants rather than hard-coded numbers. 1453 (mips_cpu_info): New structure. 1454 (mips_cpu_info_table): New table describing CPU and ISA names 1455 and numbers. 1456 (mips_cpu_info_from_name, mips_cpu_info_from_isa, 1457 mips_cpu_info_from_cpu): New functions. 1458 (mips_isa_to_str): New function to get string for ISA name. 1459 (mips_cpu_to_str): Convert to use mips_cpu_info_from_cpu, and 1460 return const char *. 1461 (md_begin): Redo CPU and ISA selection logic, using 1462 mips_cpu_info_from_*. Convert to use ISA_* constants rather 1463 than hard-coded numbers. 1464 (append_insn, mips_emit_delays, macro, macro2): Convert to use 1465 ISA_* constants rather than hard-coded numbers. 1466 (mips_ip): Convert to use mips_isa_to_str to get ISA name. 1467 (md_longopts): Delete OPTION_NO_MIPS32. 1468 (md_parse_option): Convert to use ISA_* constants rather than 1469 hard-coded numbers. Make OPTIONS_MIPS32 case treat MIPS32 1470 as an ISA. Delete OPTION_NO_MIPS32 case. Convert OPTION_MCPU 1471 to use strcasecmp to recognize "default" and to use 1472 mips_cpu_info_from_name to get CPU numbers from argument. 1473 (md_show_usage): Move -mips32 so it's with the rest of the ISA 1474 flags. Change 4Kc, 4Kp and 4Km CPU entries to just be 1475 mips32-4k. 1476 (s_mipsset): Accept ISA value 32. 1477 * doc/as.texinfo: Clean up MIPS options summary slightly, 1478 remove -no-mips32. Add note about -mips4 and -mips32 1479 specifying those ISA levels. Delete -mips32 and -no-mips32 1480 cpu flag descriptions. 1481 * doc/c-mips.texi: Add -mips32 to list of ISA switches. Clean 1482 up the supported CPU switch list, and replace 4Kc, 4Km, and 1483 4Kp entries with a single mips32-4k entry. Note that you can 1484 use ".set mips32". 1485 1486 * tc-mips.c (ISA_HAS_64BIT_REGS): Add checks for ISA_MIPS5 and 1487 ISA_MIPS64. 1488 (md_longopts, OPTION_MIPS5, OPTION_MIPS64): Add options for 1489 -mips5 and -mips64. 1490 (md_parse_option): Add cases for OPTION_MIPS5 and 1491 OPTION_MIPS64. 1492 (md_show_usage): Mention -mips5 and -mips64 arguments. 1493 (s_mipsset): Add cases for MIPS5 and MIPS64. 1494 (mips_cpu_info_table): Add entries for MIPS5 and MIPS64 ISAs 1495 and pseudo-CPUs. 1496 * doc/as.texinfo: Mention -mips5 and -mips64 options 1497 and their meanings. 1498 * doc/c-mips.texi: Likewise. Also update introduction 1499 and ".set" usage information. 1500 1501 * config/tc-mips.c (md_show_usage): Add "sb1" to the 1502 CPU list. 1503 (mips_cpu_info_table): Add SB-1 entries. 1504 * doc/c-mips.texi: Add "sb1" to the list of CPUs 1505 known to the -mcpu option. 1506 1507 * doc/as.texinfo: Correct description of MIPS -mcpu 1508 option, by copying some of the text from doc/c-mips.texi. 1509 15102000-12-01 Joel Sherrill <joel@OARcorp.com> 1511 1512 * configure.in (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*): 1513 New targets. 1514 (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets. 1515 (sparc*-*-rtems*): Switched from a.out to ELF. 1516 * configure: Regenerate. 1517 * config.in: Regenerate. 1518 * Makefile.in: Regenerate. 1519 * aclocal.m4: Regenerate. 1520 * po/gas.pot: Regenerate. 1521 15222000-11-30 Philip Blundell <pb@futuretv.com> 1523 1524 * config/obj-coff.c (obj_coff_weak): Use S_SET_WEAK if it exists, 1525 even in non BFD_ASSEMBLER case. 1526 15272000-11-30 Diego Novillo <dnovillo@redhat.com> 1528 1529 * tc-i386.c (md_assemble): Swap i.disp_relocs when using intel 1530 syntax. 1531 15322000-11-29 Richard Henderson <rth@redhat.com> 1533 1534 * dwarf2dbg.c: Rewrite from scratch. Queue all debugging output 1535 until dwarf2_finish; use relaxation to get cross-fragment offsets; 1536 thread multiple subsegments properly; handle multiple code 1537 sections properly; emit proper compilation unit info for assembler 1538 generated debugging. 1539 1540 * as.h (enum _relax_state): Add rs_dwarf2dbg. 1541 * dwarf2dbg.h (struct dwarf2_line_info): Remove filename. 1542 (dwarf2dbg_estimate_size_before_relax): Declare. 1543 (dwarf2dbg_relax_frag, dwarf2dbg_convert_frag): Declare. 1544 * write.c: Include dwarf2dbg.h. 1545 (cvt_frag_to_fill): Handle rs_dwarf2dbg. 1546 (relax_segment): Likewise. 1547 15482000-11-28 Hans-Peter Nilsson <hp@bitrange.com> 1549 1550 * config/tc-sh.c (md_convert_frag) <undefined symbol, conditional 1551 jump>: Use as_bad_where instead of as_bad. Tweak error message 1552 accordingly. Stabilize frag by updating fix part and resetting 1553 variant part. 1554 <undefined symbol, unconditional jump>: Ditto. 1555 (sh_elf_cons): Cast *input_line_pointer to unsigned char when 1556 indexing is_end_of_line[]. 1557 (md_assemble): Initialize size to 0. 1558 (md_section_align): Mark parameter seg as unused. 1559 (parse_reg): Parse names case-insensitively. 1560 15612000-11-28 Kazu Hirata <kazu@hxi.com> 1562 1563 * config/obj-aout.h: Fix formatting. 1564 * config/obj-bout.h: Likewise. 1565 * config/obj-coff.c: Likewise. 1566 * config/obj-coff.h: Likewise. 1567 * config/obj-elf.h: Likewise. 1568 * config/obj-som.h: Likewise. 1569 * config/obj-vms.c: Likewise. 1570 * config/obj-vms.h: Likewise. 1571 * config/tc-h8300.h: Likewise. 1572 * config/tc-ns32k.h: Likewise. 1573 * config/tc-sparc.h: Likewise. 1574 * config/tc-tic54x.h: Likewise. 1575 * config/tc-z8k.h: Likewise. 1576 15772000-11-28 Nick Clifton <nickc@redhat.com> 1578 1579 * doc/as.1 (COPYING): Mention that the GNU Free Documentation 1580 License is present in the sources, but not the output, and 1581 also available from the GNU website. 1582 (GNU Free Documentation License): Comment out this section. 1583 15842000-11-28 Hans-Peter Nilsson <hp@axis.com> 1585 1586 * Makefile.am (CPU_OBJ_VALID): Add case to filter out invalid coff 1587 targets. Remove i860 from valid a.out targets. 1588 * Makefile.in: Regenerate. 1589 1590 * config/tc-cris.c: Include dwarf2dbg.h. 1591 (md_pseudo_table): Add .file and .loc. 1592 (md_assemble): Call dwarf2_emit_insn if generating ELF. 1593 (s_cris_file, s_cris_loc): New. 1594 * config/tc-cris.h (DWARF2_LINE_MIN_INSN_LENGTH): Define. 1595 * Makefile.am: Regenerate dependencies. 1596 * Makefile.in: Regenerate. 1597 15982000-11-28 Alan Modra <alan@linuxcare.com.au> 1599 1600 * expr.c (STANDARD_MUL_PRECEDENCE): Correct value. 1601 (MRI_MUL_PRECEDENCE): Likewise. 1602 (op_rank): Fix a comment typo. 1603 16042000-11-26 Stephane Carrez <Stephane.Carrez@worldnet.fr> 1605 1606 * config/tc-m68hc11.c (build_indexed_byte): Print the offset in 1607 the error message. 1608 (get_operand): Fix analysis for movw/movb instructions. 1609 16102000-11-24 Nick Clifton <nickc@redhat.com> 1611 1612 * configure.in (xscale-elf): Add target. 1613 (xscale-coff): Add target. 1614 * configure: Regenerate. 1615 1616 * config/tc-arm.c (ARM_EXT_V5E): New ARM architecture 1617 extenstion. 1618 (ARM_EXT_XSCALE): New ARM architecture extension. 1619 (ARM_LONGMUL): Rename to ARM_EXT_LONGMUL. 1620 (ARM_HALFWORD): Rename to ARM_EXT_HALFWORD. 1621 (ARM_THUMB): Rename to ARM_EXT_THUMB. 1622 (ARM_ARCH_V4): Remove processor from architecture. 1623 (ARM_ARCH_3M): New architecutre definition. 1624 (ARM_ARCH_V5TE): New architecutre definition. 1625 (ARM_ARCH_XSCALE): New architecutre definition. 1626 (CPU_DEFAULT): Allow to be defaulted to XScale. 1627 (atpcs): New boolean variable. 1628 (ldr_flags): Support 'd' flag for double word loads. 1629 (str_flags): Support 'd' flag for double word stored. 1630 (do_mia): New function. 1631 (do_mar): New function. 1632 (do_mra): New function. 1633 (do_pld): New function. 1634 (do_ldrd): New function. 1635 (do_blx): New function. 1636 (do_bkpt): New function. 1637 (do_clz): New function. 1638 (do_lstc2): New function. 1639 (do_cdp2): New function. 1640 (do_t_blx): New function. 1641 (do_t_bkpt): New function. 1642 (do_smla): New function. 1643 (do_smlal): New function. 1644 (do_smul): New function. 1645 (do_qadd): New function. 1646 (do_co_reg2c): New function. 1647 (LONGEST_INSN): Redefine to 7. 1648 1649 * doc/c-arm.texi: Document -mxscale, -mmarmv5te and -matpcs 1650 command line switches. 1651 16522000-11-22 Jim Wilson <wilson@redhat.com> 1653 1654 * config/tc-ia64.c (pseudo_func): Add missing initializers. 1655 (struct rsrc): Make line unsigned. 1656 (gr_values): Add missing initializer. 1657 (SLOT_NUM_NOT_SET): Add unsigned cast. 1658 (ia64_elf_section_flags, output_vbyte_mem, count_output, dot_radix, 1659 dot_fframe, dot_vframe, dot_vframesp, dot_vframepsp, dot_save, 1660 dot_restore, dot_restorereg, dot_restorereg_p, dot_handlerdata, 1661 dot_unwentry, dot_altrp, dot_saveg, dot_savef, dot_saveb, dot_savegf, 1662 dot_spill, dot_spillreg, dot_spillreg_p, dot_label_state, 1663 dot_copy_state, dot_unwabi, dot_personality, dot_proc, dot_body, 1664 dot_prologue, dot_endp, dot_regstk, dot_psr, dot_alias, dot_ln, 1665 dot_reg_val, dot_entry, dot_mem_offset, ia64_init, mark_resource, 1666 md_undefined_symbol, md_apply_fix3, tc_gen_reloc, ia64_md_do_align): 1667 Add ATTRIBUTE_UNUSED to unused parameters. 1668 (convert_expr_to_ab_reg): Add parens. 1669 (convert_expr_to_xy_reg): Add parens. Comment out >= REG_GR test. 1670 (dot_prologue): Initialize grsave when declared. 1671 (md_pseudo_table): Add missing initializers. 1672 (operand_match): Add casts to bfd_vma. 1673 (emit_one_bundle): Delete unused local prev. Make required_template 1674 unsigned. 1675 (specify_resource): Cast i to unsigned. 1676 (note_register_values): Use fprintf_vma. 1677 (print_dependency): Likewise. 1678 16792000-11-21 Jim Wilson <wilson@redhat.com> 1680 1681 * config/tc-ia64.c (generate_unwind_image): Call record_alignment 1682 for unwind info section. 1683 (dot_endp): Likewise for unwind section. 1684 1685 * config/tc-ia64.c (emit_one_bundle): Pass size of 8 not 4 to 1686 fix_new_exp. 1687 16882000-11-21 Jakub Jelinek <jakub@redhat.com> 1689 1690 * config/tc-sparc.c (md_pseudo_table): Add .file and .loc. 1691 (output_insn): Call dwarf2_emit_insn. 1692 * config/tc-sparc.h (DWARF2_LINE_MIN_INSN_LENGTH): New. 1693 16942000-11-17 Richard Henderson <rth@redhat.com> 1695 1696 * ehopt.c (eh_frame_code_alignment): New arg `in_seg', update all 1697 callers. Don't switch segments. Expect CIE == -1 in .debug_frame. 1698 (check_eh_frame): Handle .eh_frame and .debug_frame concurrently. 1699 17002000-11-17 Nick Clifton <nickc@redhat.com> 1701 1702 * config/tc-arm.c (md_pseudo_table): Add support for .line and 1703 .file pseudo ops. 1704 17052000-11-17 Richard Henderson <rth@redhat.com> 1706 1707 * config/tc-i386.c (md_pseudo_table): Add .file and .loc. 1708 17092000-11-17 Richard Henderson <rth@redhat.com> 1710 1711 * dwarf2dbg.c (dwarf2_gen_line_info): Early out for no line number. 1712 * config/obj-elf.h (ECOFF_DEBUGGING) [TC_ALPHA]: Adjust for 1713 tri-state definition of alpha_flag_mdebug. 1714 * config/tc-alpha.c (alpha_flag_mdebug): Init to -1. 1715 (s_alpha_file): Store first .file directive. 1716 (s_alpha_stab): New. 1717 (md_pseudo_table): Add stabs and stabn. 1718 17192000-11-17 Richard Henderson <rth@redhat.com> 1720 1721 * config/tc-i386.c (md_assemble): Call dwarf2_emit_insn. 1722 17232000-11-17 Richard Henderson <rth@redhat.com> 1724 1725 * as.c (debug_type): Init to DEBUG_UNSPECIFIED. 1726 (main): Call dwarf2_finish. 1727 * as.h (debug_type): Clarify documentation of the meaning 1728 of this variable. 1729 * dwarf2dbg.c (DWARF2_LINE_MIN_INSN_LENGTH): Default to 1. 1730 (print_stats): Fix parenthesis problem. 1731 (now_subseg_size): New. 1732 (dwarf2_finish): Use it. If DEBUG_DWARF2, emit bits for .debug_info. 1733 (dwarf2_directive_file): Don't set debug_type. 1734 (dwarf2_where): Honor DEBUG_DWARF2 first. 1735 (dwarf2_emit_insn): Renamed from dwarf2_generate_asm_lineno; 1736 do nothing if not emitting dwarf2 debug info, or no work. 1737 * dwarf2dbg.h (dwarf2_emit_insn): Update. 1738 * ecoff.c (add_file): Turn on DEBUG_ECOFF only if DEBUG_UNSPECIFIED. 1739 (ecoff_new_file): Likewise. 1740 * read.c (generate_lineno_debug): Kill ecoff hackery. Update 1741 commentary wrt dwarf2. 1742 1743 * config/tc-alpha.c (alpha_adjust_symtab_relocs): Add 1744 ATTRIBUTE_UNUSED as needed. 1745 (emit_insn): Call dwarf2_emit_insn. 1746 (s_alpha_file): New. 1747 (s_alpha_loc): New. 1748 (s_alpha_coff_wrapper): Don't handle them. 1749 (md_pseudo_table): Update for .file and .loc. 1750 * config/tc-alpha.h (DWARF2_LINE_MIN_INSN_LENGTH): New. 1751 1752 * config/tc-arm.c (output_inst): Update for dwarf2_emit_insn; 1753 don't protect with debug_type. 1754 * config/tc-hppa.c (md_assemble): Likewise. 1755 * config/tc-m68hc11.c (m68hc11_new_insn): Likewise. 1756 * config/tc-mn10300.c (md_assemble): Likewise. 1757 * config/tc-sh.c (md_assemble): Likewise. 1758 * config/tc-v850.c (md_assemble): Likewise. 1759 1760 * config/tc-arm.c (arm_end_of_source): Remove. 1761 * config/tc-hppa.c (pa_end_of_source): Remove. 1762 * config/tc-m68hc11.c (m68hc11_end_of_source): Remove. 1763 * config/tc-mn10300.c (mn10300_finalize): Remove. 1764 * config/tc-sh.c (sh_finalize): Remove. 1765 * config/tc-v850.c (sh_finalize): Remove. 1766 1767 * config/tc-arm.h (md_end): Remove. 1768 * config/tc-hppa.h (md_end): Remove. 1769 (DWARF2_LINE_MIN_INSN_LENGTH): New. 1770 * config/tc-m68hc11.h (md_end): Remove. 1771 * config/tc-mn10300.h (md_end): Remove. 1772 * config/tc-sh.h (md_end): Remove. 1773 * config/tc-v850.h (md_end): Remove. 1774 1775 * config/tc-ia64.c (emit_one_bundle): Don't protect 1776 dwarf2 bits with debug_type. 1777 (md_assemble): Likewise. 1778 (ia64_end_of_source): Don't call dwarf2_finish. 1779 17802000-11-16 Jim Wilson <wilson@redhat.com> 1781 1782 * config/tc-ia64.c (errata_nop_necessary_p): Abort if general regno 1783 >= 128 instead of > 128. Abort if predicate regno is >= 64 instead of 1784 > 16. 1785 17862000-11-16 H.J. Lu <hjl@gnu.org> 1787 1788 * config/obj-elf.c (obj_elf_symver): Don't check the missing 1789 version name. 1790 17912000-11-15 Kazu Hirata <kazu@hxi.com> 1792 1793 * config/tc-tic30.c: Fix formatting. 1794 * config/tc-tic80.c: Likewise. 1795 * config/tc-v850.c: Likewise. 1796 * config/tc-vax.c: Likewise. 1797 * config/tc-w65.c: Likewise. 1798 * config/tc-z8k.c: Likewise. 1799 18002000-11-14 DJ Delorie <dj@redhat.com> 1801 1802 * config/tc-v850.c: Support dwarf2. 1803 * config/tc-v850.h: Ditto. 1804 1805 * config/tc-v850.c (cons_fix_new_v850): Don't rely on 1806 parse_cons_expression_v850 to initialize hold_cons_reloc. 1807 18082000-11-15 Bernd Schmidt <bernds@redhat.com> 1809 1810 * tc-ia64.c (struct md): New entries LAST_GROUPS, GROUP_IDX. 1811 (errata_nops_necessary_p): New function. 1812 (emit_one_bundle): Call it. Update the GROUP_IDX field in struct 1813 md. 1814 18152000-11-14 Jim Wilson <wilson@redhat.com> 1816 1817 * config/tc-ia64.c (ia64_target_format): If EF_IA_64_BE not set, then 1818 return little endian bfd formats. 1819 18202000-11-14 Kazu Hirata <kazu@hxi.com> 1821 1822 * config/aout_gnu.h: Fix formatting. 1823 * config/atof-vax.c: Likewise. 1824 * config/m68k-parse.h: Likewise. 1825 * config/m88k-opcode.h: Likewise. 1826 * config/obj-elf.c: Likewise. 1827 * config/tc-arm.c: Likewise. 1828 * config/tc-cris.c: Likewise. 1829 * config/tc-i386.c: Likewise. 1830 * config/tc-ia64.c: Likewise. 1831 * config/tc-mn10300.c: Likewise. 1832 * config/te-386bsd.h: Likewise. 1833 * config/te-hppa.h: Likewise. 1834 * config/te-nbsd.h: Likewise. 1835 * config/te-ppcnw.h: Likewise. 1836 * config/te-sparcaout.h: Likewise. 1837 * config/te-tmips.h: Likewise. 1838 * config/vax-inst.h: Likewise. 1839 * config/vms-conf.h: Likewise. 1840 18412000-11-14 Jakub Jelinek <jakub@redhat.com> 1842 1843 * config/tc-alpha.c (s_alpha_prologue): Preserve visibility bits. 1844 18452000-11-13 H.J. Lu <hjl@gnu.org> 1846 1847 * config/obj-elf.c (elf_frob_symbol): Support 1848 ".symver name,name2@@@nodename". 1849 (elf_frob_file_before_adjust): Likewise. 1850 1851 * doc/as.texinfo: Updated for ".symver name,name2@@@nodename" 1852 and ".symver name,name2@@@nodename". 1853 Fix a typo. 1854 18552000-11-12 H.J. Lu (hjl@gnu.org) 1856 1857 * config/obj-elf.c (obj_elf_symver): Check missing version 1858 name. 1859 18602000-11-12 H.J. Lu (hjl@gnu.org) 1861 1862 * dwarf2dbg.c (dwarf2_generate_asm_lineno): Use addressT 1863 instead of bfd_vma for non-bfd assemblers. 1864 18652000-11-09 Kazu Hirata <kazu@hxi.com> 1866 1867 * itbl-ops.c: Fix comment typos. 1868 18692000-11-08 Jim Wilson <wilson@redhat.com> 1870 1871 * config/tc-ia64.c (struct unw_rec_list): Add slot_frag field. 1872 (struct unwind): Add next_slot_frag field. 1873 (slot_index): New parameters slot_frag and first_frag. Add code 1874 to add in frag sizes when different. Add comments. 1875 (fixup_unw_records): New locals first_frag and last_frag. Pass new 1876 arguments to slot_index. 1877 (emit_one_bundle): Set slot_frag field. Set next_slot_number after 1878 loop end. Set next_slot_frag field. 1879 18802000-11-07 H.J. Lu <hjl@gnu.org> 1881 1882 * doc/as.texinfo (.symver): Updated for versioned symbol 1883 reference. 1884 1885 * obj.h (format_ops): Add the frob_file_before_adjust field. 1886 1887 * config/obj-aout.c (aout_format_ops): Set the 1888 frob_file_before_adjust field to 0. 1889 * config/obj-coff.c (coff_format_ops): Likewise. 1890 * config/obj-ecoff.c (ecoff_format_ops): Likewise. 1891 1892 * config/obj-elf.c (obj_elf_symver): Allow duplicated version 1893 name. 1894 (elf_frob_file_before_adjust): New function to remove unneeded 1895 versioned symbols from the symbol table. 1896 (elf_format_ops): Set the frob_file_before_adjust field to 1897 elf_frob_file_before_adjust. 1898 1899 * config/obj-elf.h (obj_frob_file_before_adjust): Defined if 1900 not defined. 1901 1902 * config/obj-multi.h (obj_frob_file_before_adjust): Defined. 1903 19042000-11-07 Peter Targett <peter.targett@arccores.com> 1905 1906 * gas/config/tc-arc.h: Avoid warnings for LITTLE_ENDIAN and 1907 BIG_ENDIAN macros. 1908 * gas/config/tc-arc.c: Use S_IS_LOCAL to test local symbols. 1909 Fix compile time warning messages. 1910 19112000-11-07 Nick Clifton <nickc@redhat.com> 1912 1913 * stabs.c (generate_asm_file): Increase length of xmalloc'ed 1914 buffer in order to avoid buffer overflows. 1915 19162000-11-06 Steve Ellcey <sje@cup.hp.com> 1917 1918 * config/tc-ia64.c (md_shortopts, md_parse_option, md_show_usage): 1919 Change M to m for -milp32 or -mlp64 to match gcc. 1920 (dot_endp): Use bytes_per_address instead of 8. 1921 (emit_one_bundle): Use number_to_chars_littleendian instead of 1922 md_number_to_chars. 1923 (fix_insn): Likewise. 1924 (ia64_init): New function. 1925 (ia64_target_format): New function. 1926 (md_begin): Set endianness, arch, and machine as appropriate. 1927 * config/tc-ia64.h: (TARGET_BYTES_BIG_ENDIAN, md_number_to_chars): 1928 Make these macros depend on TE_HPUX macro. 1929 (TARGET_FORMAT): Define. 1930 (HOST_SPECIAL_INIT): Define. 1931 * config/te-hpux.h: New file. 1932 * configure.in: Add "ia64-*-hpux*" target to configure. 1933 * configure: Regenerate. 1934 19352000-11-06 Kazu Hirata <kazu@hxi.com> 1936 1937 * as.c: Fix formatting. 1938 * dwarf2dbg.c: Likewise. 1939 * input-file.c: Likewise. 1940 * input-file.h: Likewise. 1941 * input-scrub.c: Likewise. 1942 * itbl-ops.c: Likewise. 1943 * listing.c: Likewise. 1944 * macro.h: Likewise. 1945 * messages.c: Likewise. 1946 * read.c: Likewise. 1947 * subsegs.c: Likewise. 1948 * subsegs.h: Likewise. 1949 * write.c: Likewise. 1950 19512000-11-06 Nick Clifton <nickc@redhat.com> 1952 1953 * doc/as.texinfo: Add GNU Free Documentation License. 1954 * doc/gasp.texi: Add GNU Free Documentation License. 1955 * doc/as.1: Add GNU Free Documentation License. 1956 19572000-11-05 Nick Clifton <nickc@redhat.com> 1958 1959 * config/tc-arm.c: Add include of "dwarf2dbg.h" 1960 19612000-11-02 Per Lundberg <plundis@chaosdev.org> 1962 1963 * configure.in: Recognise i[3456]86-chaosdev-storm-chaos. 1964 * configure: Regenerate. 1965 19662000-11-01 Nick Clifton <nickc@redhat.com> 1967 1968 * read.c (original_case_string): New global variable. 1969 (read_a_source_file): Copy opcode string into 1970 original_case_string if clobbering the case of the opcode. 1971 * read.h: Export the definition of original_case_string. 1972 * config/tc-arm.c (md_assembler): When parsing a .req 1973 directive use the original opcode string, not the case 1974 clobbered version. 1975 19762000-11-02 Nick Clifton <nickc@redhat.com> 1977 1978 * config/tc-mn10300.c (debug_line): Remove this static 1979 variable. 1980 (md_assemble): Call dwarf2_generate_asm_lineno instead of 1981 dwarf2_where and dwarf2_gen_line_info. 1982 19832000-11-02 Theo Honohan <th@futuretv.com> 1984 1985 * config/tc-arm.c (do_msr): Improve error message. 1986 19872000-10-31 Eric Christopher <echristo@redhat.com> 1988 1989 * config/tc-mn10300.c (md_apply_fix3): Use valuep if fully resolved 1990 or pc-relative, else use fx_offset. 1991 19922000-10-31 Jim Wilson <wilson@redhat.com> 1993 1994 * config/tc-ia64.c (struct md): New field tag_fixups. 1995 (ia64_flush_insns): Handle tag_fixups. Error if dangling 1996 qualifying predicate. 1997 (emit_one_bundle): Delete spurious multiplication by one. Handle 1998 tag_fixups. 1999 (ia64_start_line): Error if dangling qualifying predicate. 2000 (defining_tag): New static variable. 2001 (ia64_unrecognized_line, case '['): Parse tags. 2002 (ia64_frob_label): Create tag_fixups. 2003 (md_assemble): Reset md.qp.X_op after using it. 2004 20052000-10-31 Kaz Kojima <kkojima@rr.iij4u.or.jp> 2006 2007 * config/tc-sh.c (md_apply_fix [BFD_RELOC_SH_PCDISP12BY2]): Allow 4094. 2008 20092000-10-31 Bernd Schmidt <bernds@redhat.co.uk> 2010 2011 * tc-ia64.c (extra_goodness): Only prefer F in slot 1 and B in slot 2. 2012 20132000-10-30 Kazu Hirata <kazu@hxi.com> 2014 2015 * expr.c: Fix formatting. 2016 * flonum-copy.c: Likewise. 2017 * flonum.h: Likewise. 2018 * gasp.c: Likewise. 2019 * hash.c: Likewise. 2020 20212000-10-30 Hans-Peter Nilsson <hp@bitrange.com> 2022 2023 * as.h (OPTION_MD_BASE): Bump to 190. 2024 * as.c (parse_args) <std_longopts>: Add comment about the need to 2025 check OPTION_MD_BASE in as.h. 2026 2027 * config/tc-sh.c (md_apply_fix): For ELF, do not "adjust back" VAL 2028 for weak symbols. 2029 20302000-10-27 Nick Clifton <nickc@redhat.com> 2031 2032 * configure.in (emulations): Add m68hc12. 2033 * configure: Regenerate. 2034 * po/gas.pot: Regenerate. 2035 20362000-10-27 Aldy Hernandez <aldyh@redhat.com> 2037 2038 * config/tc-arm.c (psrs): Remove lowercase versions of spsr* and 2039 cpsr*. 2040 (arm_psr_parse): Handle lowercase CPSR and SPSR. 2041 20422000-10-25 Nick Clifton <nickc@redhat.com> 2043 2044 * dwarf2out.c (dwarf2_generate_asm_lineno): New function: Generate 2045 a DWARF2 line number information sequence. 2046 2047 *dwarf2out.h: Add prototype for dwarf2_generate_asm_lineno. 2048 2049 * read.c (generate_lineno_debug): Update comment describing why 2050 DWARF2 line number debug information is not generated 2051 automatically by this function. 2052 2053 * doc/as.texinfo: Note that --gdwarf2 only works on some targets, 2054 not all. 2055 2056 * config/tc-arm.h (md_end): Define. 2057 (DWARF2_LINE_MIN_INSN_LENGTH): Define. 2058 2059 * config/tc-arm.c (output_inst): Call dwarf2_generate_asm_lineno 2060 if generating DWARF2 line numbers. 2061 (arm_end_of_source): New function. Call dwarf2_finish if 2062 necessary. 2063 2064 * config/tc-hppa.c (md_assemble): Use dwarf2_generate_asm_lineno. 2065 * config/tc-m68hc11.c (m68hc11_new_insn): Use dwarf2_generate_asm_lineno. 2066 * config/tc-sh.c (md_assemble): Use dwarf2_generate_asm_lineno. 2067 20682000-10-25 Diego Novillo <dnovillo@cygnus.com> 2069 2070 * tc-i386.c: Fix prototype declarations for functions taking no 2071 arguments. 2072 20732000-10-24 Diego Novillo <dnovillo@cygnus.com> 2074 2075 * tc-i386.c (i386_operand_modifier): Remove. 2076 (build_displacement_string): Remove. 2077 (i386_parse_seg): Remove. 2078 (i386_intel_memory_operand): Remove. 2079 (i386_intel_operand): Re-write using recursive descent parser based 2080 on MASM documentation. 2081 (struct intel_parser_s): New structure. 2082 (intel_parser): New static variable. 2083 (struct intel_token): New structure. 2084 (cur_token, prev_token): New static variables. 2085 (T_NIL): Define. 2086 (T_CONST): Define. 2087 (T_REG): Define. 2088 (T_BYTE): Define. 2089 (T_WORD): Define. 2090 (T_DWORD): Define. 2091 (T_QWORD): Define. 2092 (T_XWORD): Define. 2093 (T_SHORT): Define. 2094 (T_OFFSET): Define. 2095 (T_PTR): Define. 2096 (T_ID): Define. 2097 (intel_match_token): New function. 2098 (intel_get_token): New function. 2099 (intel_putback_token): New function. 2100 (intel_expr): New function. 2101 (intel_e05): New function. 2102 (intel_e05_1): New function. 2103 (intel_e06): New function. 2104 (intel_e06_1): New function. 2105 (intel_e09): New function. 2106 (intel_e09_1): New function. 2107 (intel_e10): New function. 2108 (intel_e10_1): New function. 2109 (intel_e11): New function. 2110 21112000-10-20 Jakub Jelinek <jakub@redhat.com> 2112 2113 * config/tc-sparc.c (sparc_ip): Fix a bug which caused v9_arg_p 2114 instructions to loose any special insn->architecture mask. 2115 2116 * config/tc-sparc.c (v9a_asr_table): Add v9b ASRs. 2117 (sparc_md_end, sparc_arch_types, sparc_arch, 2118 sparc_elf_final_processing): Handle v8plusb and v9b architectures. 2119 (sparc_ip): Handle siam mode operands. Support v9b ASRs (and 2120 request v9b architecture if they are used). 2121 21222000-10-18 Michael Sokolov <msokolov@ivan.Harhan.ORG> 2123 2124 * config/tc-m68k.c: Fix the previous misapplied patch. 2125 21262000-10-18 Michael Sokolov <msokolov@ivan.Harhan.ORG> 2127 2128 * config/tc-m68k.h (RELAX_RELOC_*): New definitions for both 2129 BFD_ASSEMBLER and !BFD_ASSEMBLER. 2130 * config/tc-m68k.c (md_convert_frag_1): Use them instead of 2131 BFD_RELOC_*. 2132 21332000-10-17 Kazu Hirata <kazu@hxi.com> 2134 2135 * debug.c: Fix formatting. 2136 * depend.c: Likewise. 2137 * dwarf2dbg.c: Likewise. 2138 * dwarf2dbg.h: Likewise. 2139 * ecoff.c: Likewise. 2140 * expr.c: Likewise. 2141 * expr.h: Likewise. 2142 * flonum-konst.c: Likewise. 2143 * frags.h: Likewise. 2144 21452000-10-17 Chandrakala Chavva <cchavva@redhat.com> 2146 2147 * as.c: New option OPTION_TARGET_HELP. Prints all target specific 2148 options. 2149 * doc/as.texinfo: Added notes about this new option. 2150 21512000-10-16 Hans-Peter Nilsson <hp@bitrange.com> 2152 2153 * config/tc-sh.c (JREG): Remove. 2154 (md_convert_frag): Remove #if 0:d code using JREG. 2155 21562000-10-15 Diego Novillo <dnovillo@cygnus.com> 2157 2158 * config/tc-i386.c (i386_operand_modifier): Only match 2159 modifiers SHORT and FLAT if they are followed by a space. 2160 (parse_register): When `allow_naked_reg' is set, do not confuse 2161 identifiers that start with a register name with a register. 2162 21632000-10-12 Kazu Hirata <kazu@hxi.com> 2164 2165 * app.c: Fix formatting. 2166 * as.c: Likewise. 2167 * as.h: Likewise. 2168 * bit_fix.h: Likewise. 2169 * cgen.c: Likewise. 2170 * cgen.h: Likewise. 2171 * cond.c: Likewise. 2172 21732000-10-11 Alan Modra <alan@linuxcare.com.au> 2174 2175 * config/obj-elf.c (elf_frob_symbol): Revert 2000-10-07 change. 2176 21772000-10-07 Alan Modra <alan@linuxcare.com.au> 2178 2179 * config/tc-hppa.c (md_apply_fix): Remove plainly wrong assert. 2180 Re-arrange function a little and improve error message. 2181 2182 * write.c (write_relocs): Fix a comment. 2183 2184 * config/obj-elf.c (elf_frob_symbol): Make section syms global on 2185 link-once sections. 2186 21872000-10-05 Jim Wilson <wilson@cygnus.com> 2188 2189 * config/tc-ia64.c (resources_match): Handle IA64_RS_PRr. 2190 21912000-10-05 Alan Modra <alan@linuxcare.com.au> 2192 2193 * config/tc-i386.c: Delete some useless comments, reformat others. 2194 2195 * config/tc-i386.h (TC_FIX_ADJUSTABLE): Add check to cover 2196 non-global syms in linkonce sections. 2197 21982000-10-04 Ralf Baechle <ralf@gnu.org> 2199 2200 * config/tc-ia64.c (operand_match): Don't use // style comments. 2201 * config/tc-i370.c: Likewise. 2202 22032000-09-29 Hans-Peter Nilsson <hp@axis.com> 2204 2205 Changes to handle varying register prefix and user symbol prefix. 2206 * config/tc-cris.c (SYNTAX_RELAX_REG_PREFIX, 2207 SYNTAX_ENFORCE_REG_PREFIX, SYNTAX_USER_SYM_LEADING_UNDERSCORE, 2208 SYNTAX_USER_SYM_NO_LEADING_UNDERSCORE, REGISTER_PREFIX_CHAR): New. 2209 (s_syntax, cris_force_reg_prefix, cris_relax_reg_prefix, 2210 cris_sym_leading_underscore, cris_sym_no_leading_underscore): New. 2211 (demand_register_prefix): New variable. 2212 (md_pseudo_table): New pseudo ".syntax". 2213 (md_longopts): New options --no-underscore and --underscore. 2214 (cris_target_format): Return elf32-us-cris or elf32-cris depending 2215 on symbols_have_leading_underscore. 2216 (get_gen_reg): Accept or require REGISTER_PREFIX_CHAR. 2217 (get_spec_reg): Ditto. 2218 (cris_number_to_imm) <case BFD_RELOC_VTABLE_ENTRY>: Remove FIXME. 2219 Fix formatting. 2220 (md_parse_option) <case 'h' 'H'>: Deprecate; add reference to 2221 --help. 2222 <case OPTION_NO_US, case OPTION_US>: New. 2223 (md_show_usage): Be brief and reformat to match continuation of 2224 --help. 2225 * po/gas.pot: Regenerate. 2226 22272000-09-28 Alan Modra <alan@linuxcare.com.au> 2228 2229 * config/tc-hppa.c (hppa_force_relocation): If OBJ_SOM, don't 2230 force relocs for 12 bit branches. 2231 (md_apply_fix): Similarly, adjust logic here. 2232 22332000-09-28 Alan Modra <alan@linuxcare.com.au> 2234 2235 * config/tc-hppa.c (md_apply_fix): Add fmt assertion. Don't 2236 adjust for external and weak syms as we will use a reloc. Allow 2237 for +8 offset when calculating limits of branches. 2238 (hppa_fix_adjustable): Undo 2000-09-23 change. 2239 (hppa_force_relocation): Likewise. Add fx_addsy assertion. 2240 Correct distance calculation. 2241 (tc_gen_reloc): Print the file name and line number if we can't 2242 handle a fixup. 2243 2244 From John David Anglin <dave@hiauly1.hia.nrc.ca> 2245 * config/tc-hppa.c (nonzero_dibits): Define. 2246 (arg_reloc_stub_needed): Check each arg and return value 2247 separately for zero case. 2248 (pa_align): Declare argument `bytes'. 2249 22502000-09-25 Kazu Hirata <kazu@hxi.com> 2251 2252 * config/tc-cris.c: Fix formatting. 2253 * config/tc-d10v.h: Likewise. 2254 * config/tc-d30v.c: Likewise. 2255 * config/tc-d30v.h: Likewise. 2256 * config/tc-fr30.c: Likewise. 2257 * config/tc-fr30.h: Likewise. 2258 * config/tc-m68k.c: Likewise. 2259 * config/tc-m68k.h: Likewise. 2260 * config/tc-pj.h: Likewise. 2261 * config/tc-ppc.c: Likewise. 2262 * config/tc-ppc.h: Likewise. 2263 * config/tc-sh.c: Likewise. 2264 * config/tc-sh.h: Likewise. 2265 * config/tc-sparc.c: Likewise. 2266 * config/tc-v850.h: Likewise. 2267 * config/tc-vax.h: Likewise. 2268 * config/tc-w65.h: Likewise. 2269 * config/tc-z8k.h: Likewise. 2270 22712000-09-23 Alan Modra <alan@linuxcare.com.au> 2272 2273 * config/tc-hppa.c (hppa_fix_adjustable): Do the external and weak 2274 checks only for ELF. 2275 (hppa_force_relocation): Likewise. 2276 22772000-09-22 Jim Wilson <wilson@cygnus.com> 2278 2279 * config/tc-ia64.c (dv_sem): Add "stop". 2280 (specify_resource, case IA64_RS_PR): Only handles regs 1 to 15 now. 2281 (specify_resource, case IA64_RS_PRr): New for regs 16 to 62. 2282 (specify_resource, case IA64_RS_PR63): Reorder (note == 7) test to 2283 match above. 2284 (mark_resources): Check IA64_RS_PRr. 2285 22862000-09-22 Michael Sokolov <msokolov@ivan.Harhan.ORG> 2287 2288 * config/tc-m68k.c (md_relax_table, m68k_ip, md_convert_frag_1, 2289 md_estimate_size_before_relax): Redesign and clean up the 2290 relaxation mechanism. 2291 22922000-09-21 Kazu Hirata <kazu@hxi.com> 2293 2294 * config/tc-ns32k.c: Fix formatting. 2295 * config/tc-ns32k.h: Likewise. 2296 22972000-09-20 Kazu Hirata <kazu@hxi.com> 2298 2299 * config/tc-m32r.c: Fix formatting. 2300 * config/tc-m32r.h: Likewise. 2301 * config/tc-m68851.h: Likewise. 2302 * config/tc-m68hc11.c: Likewise. 2303 * config/tc-m68hc11.h: Likewise. 2304 * config/tc-m88k.c: Likewise. 2305 * config/tc-mcore.c: Likewise. 2306 * config/tc-mcore.h: Likewise. 2307 * config/tc-mips.c: Likewise. 2308 * config/tc-mips.h: Likewise. 2309 * config/tc-mn10200.h: Likewise. 2310 * config/tc-mn10300.h: Likewise. 2311 * config/tc-tahoe.c: Likewise. 2312 * config/tc-tahoe.h: Likewise. 2313 23142000-09-19 Michael Sokolov <msokolov@ivan.Harhan.ORG> 2315 2316 * config/tc-vax.c (synthetic_votstrs): Remove jbssi and jbcci. 2317 Likewise in relaxation description comments. 2318 23192000-09-18 Alan Modra <alan@linuxcare.com.au> 2320 2321 * config/tc-hppa.h (TC_FORCE_RELOCATION_SECTION): Allow 2322 subtraction of two syms without emitting a relocation. 2323 2324 From David Huggins-Daines <dhd@linuxcare.com> 2325 * config/tc-hppa.c (hppa_force_relocation): Force relocations for 2326 global or weak symbols. 2327 23282000-09-15 Kazu Hirata <kazu@hxi.com> 2329 2330 * config/tc-h8300.h: Fix formatting. 2331 * config/tc-h8500.c: Likewise. 2332 * config/tc-h8500.h: Likewise. 2333 * config/tc-hppa.h: Likewise. 2334 * config/tc-i370.h: Likewise. 2335 * config/tc-i386.h: Likewise. 2336 * config/tc-i860.c: Likewise. 2337 * config/tc-i860.h: Likewise. 2338 * config/tc-i960.h: Likewise. 2339 * config/tc-ia64.c: Likewise. 2340 * config/tc-ia64.h: Likewise. 2341 23422000-09-14 Kazu Hirata <kazu@hxi.com> 2343 2344 * config/tc-a29k.c: Fix formatting. 2345 * config/tc-alpha.c: Likewise. 2346 * config/tc-arc.c: Likewise. 2347 * config/tc-arc.h: Likewise. 2348 * config/tc-arm.c: Likewise. 2349 * config/tc-arm.h: Likewise. 2350 * config/tc-avr.c: Likewise. 2351 * config/tc-avr.h: Likewise. 2352 * config/tc-tic30.c: Likewise. 2353 * config/tc-tic30.h: Likewise. 2354 * config/tc-tic54x.c: Likewise. 2355 * config/tc-tic54x.h: Likewise. 2356 * config/tc-tic80.c: Likewise. 2357 * config/tc-tic80.h: Likewise. 2358 23592000-09-14 Timothy Wall <twall@cygnus.com> 2360 2361 * config/tc-ia64.c (specify_resource): For PR%/PR63, note types of 2362 parallel comparisons for later use. 2363 (struct rsrc): Add parallel comparison type. 2364 (resources_match): Skip special cases of PR usage (non-conflicting 2365 parallel compares). 2366 23672000-09-13 Kazu Hirata <kazu@hxi.com> 2368 2369 * config/obj-ecoff.c: Fix formatting. 2370 * config/obj-elf.c: Likewise. 2371 * config/obj-elf.h: Likewise. 2372 * config/obj-evax.h: Likewise. 2373 * config/obj-generic.h: Likewise. 2374 * config/obj-hp300.c: Likewise. 2375 * config/obj-hp300.h: Likewise. 2376 * config/obj-ieee.h: Likewise. 2377 * config/obj-vms.c: Likewise. 2378 * config/obj-vms.h: Likewise. 2379 23802000-09-13 Anders Norlander <anorland@acc.umu.se> 2381 2382 * config/tc-mips.c (md_begin): Recognize 4Kc, 4Km and 4Kp processors. 2383 (md_parse_option): Ditto. 2384 (md_longopts): Add -mips32 option. 2385 (md_show_usage): Document new options. 2386 (mips_ip): Assemble sdbbp 20 bit 'm' args for MIPS32. 2387 (mips_ip): Assemble mfc0 with a sub-selection code. 2388 (validate_mips_insn): Handle 'H' (OP_*_SEL) and 'm' (OP_*_CODE20). 2389 (mips_cpu_to_str): New function. 2390 (mips_ip): Use mips_cpu_to_str instead of printing numeric cpu value. 2391 Use CPU_* defines instead of hardcoded numbers. 2392 2393 * doc/as.texinfo: Document new options. 2394 * doc/c-mips.texi: Ditto. 2395 23962000-09-12 Kazu Hirata <kazu@hxi.com> 2397 2398 * as.h: Fix formatting. 2399 * asintl.h: Likewise. 2400 * bit_fix.h: Likewise. 2401 * config/obj-aout.c: Likewise. 2402 * config/obj-aout.h: Likewise. 2403 * config/obj-bout.c: Likewise. 2404 * config/obj-bout.h: Likewise. 2405 * config/obj-coff.c: Likewise. 2406 * config/obj-coff.h: Likewise. 2407 * dwarf2dbg.h: Likewise. 2408 * expr.h: Likewise. 2409 * flonum.h: Likewise. 2410 * frags.h: Likewise. 2411 * itbl-ops.h: Likewise. 2412 * macro.h: Likewise. 2413 * read.h: Likewise. 2414 * sb.h: Likewise. 2415 * struc-symbol.h: Likewise. 2416 * subsegs.h: Likewise. 2417 * symbols.h: Likewise. 2418 * tc.h: Likewise. 2419 * write.h: Likewise. 2420 24212000-09-11 Kazu Hirata <kazu@hxi.com> 2422 2423 * bignum-copy.c: Fix formatting. 2424 * config/tc-i370.c: Likewise. 2425 * config/tc-i960.c: Likewise. 2426 * config/tc-m68k.c: Likewise. 2427 * ehopt.c: Likewise. 2428 * flonum-copy.c: Likewise. 2429 * flonum-konst.c: Likewise. 2430 * flonum-mult.c: Likewise. 2431 * literal.c: Likewise. 2432 * read.c: Likewise. 2433 * sb.c: Likewise. 2434 * stabs.c: Likewise. 2435 * subsegs.c: Likewise. 2436 24372000-09-09 Philip Blundell <philb@gnu.org> 2438 2439 * configure.in (arm*-*-uclinux*): New target. 2440 * configure: Regenerate. 2441 24422000-09-09 Kazu Hirata <kazu@hxi.com> 2443 2444 * input-file.c: Fix formatting. 2445 * itbl-ops.c: Likewise. 2446 * messages.c: Likewise. 2447 24482000-09-08 Philip Blundell <philb@gnu.org> 2449 2450 * config/tc-arm.c (md_apply_fix3): Correct handling of ADRL when 2451 offset is negative. 2452 24532000-09-07 H.J. Lu <hjl@gnu.org> 2454 2455 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM. 2456 * configure: Rebuild. 2457 24582000-09-07 Kazu Hirata <kazu@hxi.com> 2459 2460 * atof-generic.c: Fix formatting. 2461 * config/tc-mips.c: Likewise. 2462 * config/tc-vax.c: Likewise. 2463 * input-scrub.c: Likewise. 2464 24652000-09-07 Alexandre Oliva <aoliva@redhat.com> 2466 2467 * config/tc-sh.h (TARGET_FORMAT): Use sh-linux targets. 2468 * configure.in (sh-*-linux*): Added. 2469 * configure: Rebuilt. 2470 24712000-09-06 Kazu Hirata <kazu@hxi.com> 2472 2473 * config/tc-hppa.c: Fix formatting. 2474 2475 * ecoff.c: Fix formatting. 2476 24772000-09-06 Alexandre Oliva <aoliva@redhat.com> 2478 2479 * configure: Rebuilt with new libtool.m4. 2480 24812000-09-05 Kazu Hirata <kazu@hxi.com> 2482 2483 * cgen.c: Fix formatting. 2484 * config/tc-ia64.c: Likewise. 2485 24862000-09-05 Nick Clifton <nickc@redhat.com> 2487 2488 * aclocal.m4: Regenerate. 2489 * config.in: Regenerate. 2490 * configure: Regenerate. 2491 * po/gas.pot: Regenerate. 2492 24932000-09-05 Hans-Peter Nilsson <hp@axis.com> 2494 2495 * config/tc-cris.c: Correct comment typos. 2496 24972000-09-05 Eric Christopher <echristo@cygnus.com> 2498 2499 * config/tc-mn10300.c: Cleanup. 2500 (md_pcrel_from): Enable. 2501 25022000-09-05 Alan Modra <alan@linuxcare.com.au> 2503 2504 * expr.c (operand): Fix a comment typo. 2505 * write.c (write_relocs): Fix a signed/unsigned warning. 2506 2507 * config/tc-hppa.c (fudge_reg_expressions): New 2508 (hppa_force_reg_syms_absolute): New. 2509 (pa_equ): Allow reg_section expressions. 2510 * config/tc-hppa.c (md_optimize_expr): Define. 2511 (hppa_force_reg_syms_absolute): Prototype. 2512 2513 * config/tc-hppa.c (pa_11_fp_reg_struct): Delete. 2514 (pa_parse_number): Pass in arg to select fp reg parsing. 2515 Return 1 to indicate format checks pass. If strict, then only 2516 accept a register or register symbol. Return value in... 2517 (pa_number): New static for pa_parse_number. 2518 (FP_REG_BASE): Define. 2519 (FP_REG_RSEL): Define. 2520 (pre_defined_registers): Apply FP_REG_BASE and FP_REG_RSEL as 2521 appropriate. White space changes. 2522 (need_pa11_opcode): Don't bother passing any params, get them from 2523 globals instead. 2524 (pa_ip): Modify all calls to pa_parse_number and need_pa11_opcode. 2525 Remove extraneous check in case 'Q'. 2526 (pa_equ): Modify call to pa_parse_number to do strict parsing. If 2527 reg, set section of resulting symbol to reg_section. 2528 (pa_parse_space_stmt): Modify call to pa_parse_number. 2529 (pa_space): Likewise. 2530 2531 * config/tc-hppa.c: (md_apply_fix): Handle vtable relocs. 2532 (hppa_force_relocation): Handle vtable relocs. 2533 (pa_vtable_entry): New. 2534 (pa_vtable_inherit): New. 2535 (md_pseudo_table): Add entries for vtable pseudos. 2536 (hppa_fix_adjustable): Reject reduction of R_PARISC_GNU_VTINHERIT 2537 and R_PARISC_GNU_VTENTRY relocs. Reject reduction of relocs 2538 against weak syms. 2539 (tc_gen_reloc): Remove ELF_ARG_RELOC_INSN code. 2540 (pa_type_args): Don't call symbol_get_bfdsym multiple times. 2541 Set STT_PARISC_MILLICODE for OBJ_ELF when encountering a 2542 millicode import. 2543 * config/obj-elf.c (obj_elf_type): Allow md_elf_symbol_type to 2544 specify a symbol type. 2545 2546 * config/tc-hppa.h: Reorganize file a little, grouping OBJ_ELF 2547 dependent things together. 2548 (md_elf_symbol_type): Define. 2549 2550 * config/tc-hppa.c (fix_new_hppa): Elide "$PIC_pcrel$0" pseudo 2551 symbol. 2552 * config/tc-hppa.h (tc_frob_symbol): Elide "$PIC_pcrel$0" here too. 2553 2554 * config/obj-elf.h (obj_elf_vtable_inherit): Declare. 2555 (obj_elf_vtable_entry): Declare. 2556 2557 * config/obj-elf.c (obj_elf_vtable_inherit): Return struct fix * 2558 and export function. 2559 (obj_elf_vtable_entry): Similarly. 2560 (elf_pseudo_table): Fix the damage with a cast. 2561 25622000-09-03 Richard Henderson <rth@cygnus.com> 2563 2564 * config/tc-ia64.c (emit_one_bundle): Stop collecting insns 2565 for template selection when a label is needed. 2566 25672000-09-02 Kazu Hirata <kazu@hxi.com> 2568 2569 * config/tc-ia64.c: Fix formatting. 2570 25712000-09-02 Nick Clifton <nickc@redhat.com> 2572 2573 * configure.in: Increase version number to 2.10.91. 2574 * configure: Regenerate. 2575 * aclocal.m4: Regenerate. 2576 * config.in: Regenerate. 2577 * po/gas.pot: Regenerate. 2578 * Makefile.in: Regenerate. 2579 25802000-09-01 Alexandre Oliva <aoliva@redhat.com> 2581 2582 * config/tc-sh.h [OBJ_ELF] (TC_FIX_ADJUSTABLE): Define. 2583 * config/tc-sh.c (md_apply_fix): Map 32-bit relocations that 2584 become PC-relative to BFD_RELOC_32_PCREL. Reject 16- or 8-bit 2585 similar relocs. 2586 (sh_obj_adjustable): Return 1 for PC-relative offsets used in 2587 branches. 2588 25892000-09-01 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com> 2590 2591 * config/tc-sh.h (DIFF_EXPR_OK, GLOBAL_OFFSET_TABLE_NAME, 2592 TC_RELOC_GLOBAL_OFFSET_TABLE, TC_RELOC_RTSYM_LOC_FIXUP): Define. 2593 * config/tc-sh.c (sh_elf_cons, sh_elf_suffix): New functions. 2594 [OBJ_ELF] (md_pseudo_table) <long, int, word, short>: Use them. 2595 (GOT_symbol): New variable. 2596 (md_undefined_symbol): Set it. 2597 25982000-09-01 Richard Henderson <rth@cygnus.com> 2599 2600 * config/tc-ia64.c (match): Don't inline. 2601 (extra_goodness): New. 2602 (md_begin): Prefer nop.f and nop.b for best_template. 2603 26042000-08-31 Kazu Hirata <kazu@hxi.com> 2605 2606 * as.c: Fix formatting. 2607 * cond.c: Likewise. 2608 * frags.c: Likewise. 2609 * macro.c: Likewise. 2610 26112000-08-31 Eric Christopher <echristo@cygnus.com> 2612 2613 * config/tc-mn10300.c: Cleanup and fix warnings. 2614 (md_pseudo_table): Add initializers. 2615 (md_show_usage): Cleanup. 2616 (md_parse_option): Fix warnings. 2617 (md_undefined_symbol): Fix warnings. 2618 (md_conver_frag): Fix warnings. 2619 (tc_gen_reloc): Fix warnings. 2620 (md_apply_fix3): Fix warnings. 2621 (check_operand): Fix warnings. 2622 26232000-08-31 Alexandre Oliva <aoliva@redhat.com> 2624 2625 * acinclude.m4: Include libtool and gettext macros from the 2626 top level. 2627 * aclocal.m4, configure: Rebuilt. 2628 26292000-08-30 Mark Hatle <mhatle@mvista.com> 2630 2631 * config/tc-ppc.c (md_parse_option): Recognize -m405. 2632 26332000-08-31 Kazu Hirata <kazu@hxi.com> 2634 2635 * listing.c: Fix formatting. 2636 26372000-08-29 Kazu Hirata <kazu@hxi.com> 2638 2639 * app.c: Fix a comment typo. Fix formatting. 2640 26412000-08-25 J. David Anglin <dave@hiauly1.hia.nrc.ca> 2642 2643 * tc-vax.c (md_convert_frag): Correctly calculate the pc relative 2644 offset of the target destination for jmp instructions. 2645 (md_assemble): Change mode to VAX_ABSOLUTE_MODE as per comments. 2646 26472000-08-24 Hans-Peter Nilsson <hp@axis.com> 2648 2649 * NEWS: Mention support for CRIS. 2650 2651Thu Aug 24 20:41:05 2000 Denis Chertykov <denisc@overta.ru> 2652 2653 * config/tc-avr.h (TC_IMPLICIT_LCOMM_ALIGNMENT): New macros. 2654 Sets `.lcomm' alignment to zero. 2655 26562000-08-23 Alexandre Oliva <aoliva@redhat.com> 2657 2658 * config/tc-i386.h <OBJ_MAYBE_ELF, OBJ_MAYBE_COFF> 2659 (TC_FIX_ADJUSTABLE): Define. 2660 26612000-08-23 Jim Wilson <wilson@cygnus.com> 2662 2663 * config/tc-ia64.c (output_unw_records): Set U & E flags only if 2664 unwind.personality_routine is set. 2665 26662000-08-23 H.J. Lu <hjl@gnu.org> 2667 2668 * write.c (TC_FIX_ADJUSTABLE): Remove the duplicate. 2669 26702000-08-23 Alexandre Oliva <aoliva@redhat.com> 2671 2672 * config/tc-i386.h (TC_FIX_ADJUSTABLE): Do *NOT* define if target 2673 environment is pe. 2674 26752000-08-22 H.J. Lu <hjl@gnu.org> 2676 2677 * config.in (STRICTCOFF): New for strict COFF. 2678 2679 * configure.in: Define STRICTCOFF for i386-*-msdosdjgpp*, 2680 i386-*-go32* and i386-go32-rtems*. 2681 * configure: Rebuilt. 2682 2683 * config/obj-coff.c (obj_coff_endef): Follow the historical 2684 behavior if STRICTCOFF is not defined. 2685 2686 * doc/internals.texi: Document STRICTCOFF. 2687 26882000-08-22 Alexandre Oliva <aoliva@redhat.com> 2689 2690 * write.c (TC_FIX_ADJUSTABLE): Define to 1, if not defined. 2691 (fixup_segment) Use it instead of TC_DONT_FIX_NON_ADJUSTABLE. 2692 * config/tc-i386.h (TC_DONT_FIX_NON_ADJUSTABLE): Remove. 2693 <OBJ_ELF, OBJ_COFF, TE_PE> (TC_FIX_ADJUSTABLE): Define. 2694 * config/tc-arm.h (TC_DONT_FIX_NON_ADJUSTABLE): Remove. 2695 <OBJ_ELF> (TC_FIX_ADJUSTABLE): Define. 2696 * config/tc-i960.h, config/tc-m68k.h, config/tc-v850.h: 2697 Likewise. 2698 26992000-08-22 Eric Christopher <echristo@cygnus.com> 2700 2701 * config/tc-mn10300.c: (md_apply_fix): New function. 2702 (mn10300_force_relocation): New function. 2703 (mn10300_fix_adjustable): New function. 2704 2705 * config/tc-mn10300.h: (TC_FORCE_RELOCATION): Define. 2706 (TC_HANDLES_FX_DONE): Define. 2707 (obj_fix_adjustable): Define. 2708 (MD_APPLY_FIX3): Define. 2709 (TC_LINKRELAX_FIXUP): Define. 2710 2711 * write.c: (TC_LINKRELAX_FIXUP): Define if not 2712 previously defined. 2713 (fixup_segment): Use TC_LINKRELAX_FIXUP. 2714 2715 * doc/internals.texi: Document TC_LINKRELAX_FIXUP. 2716 27172000-08-21 Jason Eckhardt <jle@cygnus.com> 2718 2719 * config/tc-i860.c (md_apply_fix3): Do not insert the immediate 2720 if the fixup resulted in a relocation. 2721 27222000-08-18 Nick Clifton <nickc@redhat.com> 2723 2724 * config/tc-arm.c (decode_shift): Replace as_tsktsk with as_warn. 2725 Make reference to first element of shift_names explicit. 2726 27272000-08-18 Alexandre Oliva <aoliva@redhat.com> 2728 2729 * write.c (fixup_segment) [TC_DONT_FIX_NON_ADJUSTABLE]: Use 2730 obj_fix_adjustable() and tc_fix_adjustable() to tell whether to 2731 add a symbol's address. Removed all target-specific #ifdefs that 2732 used to accomplished the same. 2733 * config/tc-v850.h (TC_DONT_FIX_NON_ADJUSTABLE): Define. 2734 * config/tc-m68k.h (TC_DONT_FIX_NON_ADJUSTABLE): Define. 2735 * config/tc-arm.h (TC_DONT_FIX_NON_ADJUSTABLE): Define. 2736 * config/tc-i960.h (TC_DONT_FIX_NON_ADJUSTABLE): Define. 2737 * config/tc-i386.h (TC_DONT_FIX_NON_ADJUSTABLE): Define. 2738 27392000-08-17 Kazu Hirata <kazu@hxi.com> 2740 2741 * dwarf2dbg.c: Fix formatting. 2742 27432000-08-17 Nick Clifton <nickc@redhat.com> 2744 2745 * config/tc-arm.c (decode_shift): Allow illegal shifts by zero 2746 to be recoded as logical shift lefts by zero. 2747 27482000-08-16 Jim Wilson <wilson@cygnus.com> 2749 2750 * config/tc-ia64.c (specify_resource, case IA64_RS_GR): Handle 2751 postincrement modified registers. Handle IA64_OPND_R3_2 addl 2752 source registers. 2753 (note_register_values): Handle IA64_OPND_R3_2 operands. 2754 27552000-08-16 Jason Eckhardt <jle@cygnus.com> 2756 2757 * config/tc-i860.c (md_operand): Silly typo fixed. 2758 27592000-08-16 Nick Clifton <nickc@redhat.com> 2760 2761 * config/tc-arm.c (struct asm_shift): Delete. 2762 (shift[]): Delete. 2763 (enum asm_shift_index): New. 2764 (struct asm_shift_properties): New. 2765 (struct asm_shift_name): New. 2766 (shift_properties[]); New. 2767 (shift_names[]); New. 2768 2769 (decode_shift): Use new structures. 2770 Issue a warning is "ROR #0" is used. 2771 Issue a warning if "ASR #0" or "LSR #0" is used. 2772 2773 (md_begin): Initialise arm_shift_hsh table from new 2774 asm_shift_name array. 2775 27762000-08-16 Jakub Jelinek <jakub@redhat.com> 2777 2778 * config/tc-sparc.c: Kill all warnings. 2779 (md_parse_option): Set -32/-64 for -xarch=, allow all -A archs 2780 in -xarch= as well. 2781 (md_show_usage): Update usage text. 2782 27832000-08-16 Nick Clifton <nickc@redhat.com> 2784 2785 * config/tc-arm.c (do_bx): Warn about "bx px" not being very 2786 useful. 2787 27882000-08-15 Will Cohen <wcohen@redhat.com> 2789 2790 * config/tc-sh.h (DWARF2_LINE_MIN_INSN_LENGTH): Defined. 2791 2792 * config/tc-sh.c (md_assemble): Changed so debug_type 2793 test performed for ppi_assemble 2794 * config/tc-sh.c: Included dwarf2dbg.h. 2795 (debug_line): Defined. 2796 (md_assemble): Generates dwarf2 line info. 2797 (sh_finalize): New function. Finalize dwarf2 info. 2798 (assemble_ppi): Returns size of code generated. 2799 (build_Mytes): Returns size of code generated. 2800 (md_pseudo_table): Added "file" and "loc" psuedo ops. 2801 * config/tc-sh.h (md_end): Defined. 2802 (sh_finalize): Declared. 2803 28042000-08-15 Alexandre Oliva <aoliva@redhat.com> 2805 2806 * config/tc-sh.c (md_apply_fix) [BFD_RELOC_32, BFD_RELOC_16]: Use 2807 md_number_to_chars. 2808 28092000-08-14 Nick Clifton <nickc@redhat.com> 2810 2811 * config/tc-arm.c (do_bx): Allow "bx pc". 2812 28132000-08-14 Jim Wilson <wilson@cygnus.com> 2814 2815 * config/tc-ia64.c (md_longopts): Add -mconstant-gp and -mauto-pic. 2816 (md_parse_option): Add OPTION_MCONSTANT_GP and OPTION_MAUTO_PIC. 2817 (md_begin): Change assignment to md.flag to OR in the new bit. 2818 28192000-08-14 Mark Elbrecht <snowball3@bigfoot.com> 2820 2821 * config/obj-coff.c (obj_coff_endef) [BFD_ASSEMBLER]: Set the debug 2822 flag for storage types C_ARG, C_REGPARM, C_FIELD, C_MOS, C_MOE, 2823 C_MOU, and C_EOS. 2824 28252000-08-14 Jason Eckhardt <jle@cygnus.com> 2826 2827 * NEWS: Mention i860 support. 2828 2829Mon Aug 14 11:49:12 2000 Jeffrey A Law (law@cygnus.com) 2830 2831 * config/tc-mn10300.h (DWARF2_LINE_MIN_INSN_LENGTH): Define. 2832 28332000-08-14 Andreas Schwab <schwab@suse.de> 2834 2835 * doc/c-arm.texi (ARM Directives): Fix warnings from makeinfo. 2836 28372000-08-11 Andreas Schwab <schwab@suse.de> 2838 2839 * doc/c-i860.texi (Opcodes for i860): Remove braces from @item 2840 argument. 2841 28422000-08-11 Kazu Hirata <kazu@hxi.com> 2843 2844 * expr.c: Fix formatting. 2845 * config/obj-bout.c: Likewise. 2846 28472000-08-10 Jason Eckhardt <jle@cygnus.com> 2848 2849 * doc/c-i860.texi: Flesh out the i860 section more. 2850 28512000-08-10 Kazu Hirata <kazu@hxi.com> 2852 2853 * symbols.c: Fix formatting. 2854 * expr.c: Likewise. 2855 2856Wed Aug 9 16:28:21 EDT 2000 Diego Novillo <dnovillo@cygnus.com> 2857 2858 * tc-i386.c (md_assemble): Skip suffix check if the opcode modifier 2859 has the IgnoreSize bit set. 2860 28612000-08-09 Alan Modra <alan@linuxcare.com.au> 2862 2863 From Rodney Brown <RodneyBrown@mynd.com> 2864 * configure.in: Use elf on Unixware 7 (i586-sco-sysv5uw7.1.0) 2865 * configure: Regenerate. 2866 28672000-08-09 Kazu Hirata <kazu@hxi.com> 2868 2869 * hash.c: Fix formatting. 2870 * gasp.c: Likewise. 2871 28722000-08-08 Jason Eckhardt <jle@cygnus.com> 2873 2874 * config/tc-i860.h: Rework completely for BFD_ASSEMBLER. 2875 (i860_fix_info): New enum. 2876 (MD_APPLY_FIX3): Define. 2877 (WORKING_DOT_WORD): Define. 2878 (TC_HANDLES_FX_DONE): Define. 2879 (DIFF_EXPR_OK): Define. 2880 (LISTING_HEADER): Define. 2881 (TARGET_FORMAT): Select target format based on endian flag. 2882 (TARGET_BYTES_BIG_ENDIAN): Default to little endian. 2883 (target_big_endian): Add external declaration. 2884 2885 * config/tc-i860.c: All existing code reworked completely. Other 2886 new code shown below. 2887 (SYNTAX_SVR4): Define. 2888 (target_warn_expand): New variable. 2889 (md_shortopts): Declare and define (-Qy, -Qn, and -V options). 2890 (md_longopts): Declare and define with new options (-EL, -EB, 2891 and -mwarn-expand). 2892 (md_show_usage): New function. 2893 (md_operand): New function. 2894 (obtain_reloc_for_imm16): New function. 2895 (md_apply_fix3): New function. 2896 (tc_gen_reloc): New function. 2897 28982000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr> 2899 2900 * config/tc-m68hc11.c (build_jump_insn): Make sure the 2901 2 bytes of the jump address are in the same frag. 2902 (find): Accept 68hc12 register indirect modes. 2903 2904 * NEWS: Mention 68HC11 & 68HC12 support. 2905 29062000-08-07 Richard Henderson <rth@cygnus.com> 2907 2908 * config/tc-ia64.c (unwind): Add prologue_mask member. 2909 (dot_vframe): Elide psp_gr record if it overlaps prologue_gr. 2910 (dot_save): Likewise for pfs_gr, rp_gr, and preds_gr. 2911 (dot_body): Clear unwind.prologue_mask. 2912 (dot_prologue): Set it. Accept a register second argument. 2913 29142000-08-07 Kazu Hirata <kazu@hxi.com> 2915 2916 * config/atof-ieee.c: Fix formatting. 2917 * config/atof-tahoe.c: Likewise. 2918 29192000-08-06 Nick Clifton <nickc@cygnus.com> 2920 2921 * config/tc-sparc.c (md_begin): Fix typo in recent formatting 2922 work. 2923 2924 * doc/as.texinfo (Pseudo Ops): Update to include descriptions 2925 of .popsection, .previous, .pushsection, .subsection, 2926 .version, .vtable_entry, .vtable_inherit and .weak. 2927 29282000-08-05 Kazu Hirata <kazu@hxi.com> 2929 2930 * config/tc-cris.c: Fix formatting. 2931 * config/tc-i386.c: Likewise. 2932 * config/tc-sparc.c (sparc_ip): Simplify the code. 2933 29342000-08-04 Kazu Hirata <kazu@hxi.com> 2935 2936 * config/tc-cris.c: Rearrange code for readability. 2937 * config/tc-d10v.c: Fix formatting. 2938 * config/tc-m32r.c: Likewise. 2939 * config/tc-sparc.c: Likewise. 2940 29412000-08-02 Jim Wilson <wilson@cygnus.com> 2942 2943 * config/tc-ia64.c (emit_one_bundle): Call ia64_free_opcode 2944 before ia64_find_opcode. 2945 (md_assemble): Likewise. 2946 29472000-08-01 Nick Clifton <nickc@cygnus.com> 2948 2949 * config/tc-arm.c (do_mrs): Fix skip of 'cpsr_all' flag. 2950 Undo some formatting fixes. 2951 29522000-08-01 Kazu Hirata <kazu@hxi.com> 2953 2954 * config/obj-som.c: Fix formatting. 2955 * config/obj-ieee.c: Likewise. 2956 * config/tc-arm.c: Likewise. 2957 * config/tc-v850.c: Likewise. 2958 29592000-08-01 Nick Clifton <nickc@redhat.com> 2960 2961 * doc/c-m68k.texi (section M680x0 Options): Turn into a table 2962 index by command line option. 2963 29642000-08-01 Michael Sokolov <msokolov@ivan.Harhan.ORG> 2965 2966 * doc/c-m68k.texi (@cindex @samp{--pcrel}): Rewrite option description. 2967 (@node M68K-Branch): Rewrite to match the reality. 2968 29692000-07-31 Jason Eckhardt <jle@cygnus.com> 2970 2971 * doc/c-i860.texi: New file. 2972 * doc/Makefile.am (CPU_DOCS): Add c-i860.texi. 2973 * doc/Makefile.in: Regenerate. 2974 * doc/all.texi: Add I860 as relevant architecture. 2975 * doc/as.texinfo: Include i860 dependent file c-i860.texi. 2976 29772000-07-31 Kazu Hirata <kazu@hxi.com> 2978 2979 * config/tc-d30v.c: Fix formatting. 2980 29812000-07-31 Michael Sokolov <msokolov@ivan.Harhan.ORG> 2982 2983 * config/tc-m68k.c (flag_keep_pcrel, OPTION_PCREL): Add --pcrel option. 2984 (md_convert_frag_1, md_estimate_size_before_relax): When making DBcc 2985 long emit a long branch if available instead of an absolute jump, never 2986 emit absolute jumps for anything with --pcrel. 2987 2988 * doc/c-m68k.texi: Document new command line option. 2989 29902000-07-29 Marek Michalkiewicz <marekm@linux.org.pl> 2991 2992 * config/tc-avr.c: Use PARAMS macro in function declarations. 2993 Don't declare md_pcrel_from_section (already in tc-avr.h). 2994 (avr_operands): Use AVR_UNDEF_P and AVR_SKIP_P macros. 2995 (avr_operand): Don't set (unsigned) op_mask to -1. 2996 29972000-07-28 Jason Eckhardt <jle@cygnus.com> 2998 2999 * configure.in: Add bits for i860-stardent-{sysv4, elf}*. 3000 * configure: Regenerated. 3001 * config/obj-elf.c (obj_elf_type): Recognize a fifth type 3002 of operand to the .type directive (.e.g, "type"). 3003 30042000-07-28 Alan Modra <alan@linuxcare.com.au> 3005 3006 * as.h (warn_comment, found_comment, found_comment_file): Declare. 3007 * app.c (do_scrub_chars): Record where first comment found. 3008 * read.c (read_a_source_file): Init found_comment on entry, and 3009 notify whether comments found on exit. 3010 * config/tc-hppa.c (md_shortopts): Add "c". 3011 (md_longopts): Add warn-comment. 3012 (md_parse_option): Handle it. 3013 (md_show_usage): Show available options. 3014 * config/tc-hppa.h (WARN_COMMENTS): Define if TE_LINUX 3015 3016Thu Jul 27 11:25:01 2000 Andrew Cagney <cagney@b1.cygnus.com> 3017 3018 * config/tc-mn10300.c (md_convert_frag): Fix printfs. 3019 (tc_gen_reloc): Add cast when assigning bfd_abs_symbol to 3020 sym_ptr_ptr 3021 (md_estimate_size_before_relax): Don't fall off end of function. 3022 30232000-07-27 Kazu Hirata <kazu@hxi.com> 3024 3025 * config/tc-avr.c: Fix formatting. 3026 * config/tc-ns32k.c: Likewise. 3027 30282000-07-27 Alan Modra <alan@linuxcare.com.au> 3029 3030 * config/tc-d10v.c (find_opcode): Remove extraneous `='. 3031 30322000-07-27 Kazu Hirata <kazu@hxi.com> 3033 3034 * config/tc-d10v.c: Fix formatting. 3035 * config/tc-z8k.c: Likewise. 3036 * config/tc-sparc.c: Likewise. 3037 30382000-07-26 Dave Brolley <brolley@redhat.com> 3039 3040 * cgen.c (queue_fixup): Declare opinfo. 3041 (gas_cgen_parse_operand): Mark unused parameters with ATTRIBUTE_UNUSED. 3042 (gas_cgen_md_operand): Ditto. 3043 (gas_cgen_md_apply_fix3): Ditto. 3044 30452000-07-24 Mark Elbrecht <snowball3@bigfoot.com> 3046 3047 * config/obj-coff.c (obj_frob_symbol): Don't merge 3048 labels. Don't merge if the symbol isn't constant. Return 3049 immediately if a symbol is merged. 3050 30512000-07-22 Alan Modra <alan@linuxcare.com.au> 3052 3053 * frags.c (frag_align): Correct absolute section alignment. 3054 30552000-07-20 DJ Delorie <dj@redhat.com> 3056 3057 * config/obj-coff.c (obj_frob_symbol): revert previous change, 3058 it breaks linking against DLLs. 3059 30602000-07-20 Hans-Peter Nilsson <hp@axis.com> 3061 3062 * configure.in: Add CRIS support. 3063 * configure: Regenerate. 3064 * Makefile.am: (CPU_TYPES): Add cris. 3065 (CPU_OBJ_VALID) [aout]: Add cris. 3066 (MULTI_CPU_TYPES): Add cris. 3067 (MULTI_CPU_OBJ_VALID) [aout]: Add cris. 3068 [coff]: Only i386 and mips are valid. 3069 (TARGET_CPU_CFILES): Add config/tc-cris.c. 3070 (TARGET_CPU_HFILES): Add config/tc-cris.h. 3071 (MULTI_CFILES): Add config/e-crisaout.c and config/e-criself.c. 3072 Regenerate dependencies. 3073 * Makefile.in: Regenerate. 3074 * aclocal.m4: Regenerate. 3075 * as.c: Declare crisaout, criself. 3076 * config/tc-cris.h, config/tc-cris.c: New. 3077 * config/e-criself.c, config/e-crisaout.c: New. 3078 * po/POTFILES.in, po/gas.pot: Regenerate. 3079 30802000-07-20 Kazu Hirata <kazu@hxi.com> 3081 3082 * read.c: Fix formatting. 3083 * write.c: Fix formatting. 3084 30852000-07-19 H.J. Lu <hjl@gnu.org> 3086 3087 * sb.c: Include <stdlib.h> if exists for abort (). 3088 30892000-07-19 Alan Modra <alan@linuxcare.com.au> 3090 3091 * config/tc-hppa.c (hppa_fix_adjustable): Correct LR%/RR% comment. 3092 (arg_reloc_stub_needed): #ifdef OBJ_SOM, not #ifdef SOM. 3093 (pa_type_args): Same here. 3094 30952000-07-17 Mark Elbrecht <snowball3@bigfoot.com> 3096 3097 * config/obj-coff.c (obj_frob_symbol): Don't merge labels. Don't 3098 merge if the symbol isn't constant. Don't call S_SET_EXTERNAL if 3099 the storage class is already set. 3100 31012000-07-17 Kazu Hirata <kazu@hxi.com> 3102 3103 * config/tc-m68hc11.c: Fix formatting. 3104 * config/tc-mn10200.c: Likewise. 3105 * config/tc-mn10300.c: Likewise. 3106 * config/tc-pj.c: Likewise. 3107 * config/tc-tic80.c: Likewise. 3108 * config/tc-w65.c: Likewise. 3109 31102000-07-17 Frank Ch. Eigler <fche@redhat.com> 3111 3112 * expr.c (operand): Permit %bin literals if LITERAL_PREFIXPERCENT_BIN 3113 is defined. 3114 31152000-07-15 Ian Lance Taylor <ian@zembu.com> 3116 3117 * doc/c-mips.texi (MIPS Opts): Remove erroneous space after 3118 @code. 3119 31202000-07-15 Alan Modra <alan@linuxcare.com.au> 3121 3122 * config/tc-hppa.c (hppa_fix_adjustable): Use the same checks for 3123 ELF as are used for SOM (except the 32-bit reloc one) to decide 3124 whether a symbol can be reduced to a section symbol. Expand on 3125 the comment for symbols involved in LR% and RR% expressions. 3126 31272000-07-14 Nick Clifton <nickc@cygnus.com> 3128 3129 * config/tc-mips.c (mips_disable_float_construction): New 3130 static variable. Set to true if doubles should not be 3131 constructed by loading two single width fp registers with 3132 halves of the value. 3133 (mips_ip): Test mips_disable_float_construction. 3134 (md_longopts): Add command line switches --construct-floats 3135 and --no-construct-floats. 3136 (md_parse_option): Parse new command line options. 3137 (md_show_usage): Describe new command line options. 3138 3139 * doc/c-mips.texi: Document new command line options. 3140 31412000-07-13 Koundinya K <kk@ddeorg.soft.net> 3142 3143 * configure.in: Remove the test /usr/dde for mips-*-sysv4*MP* 3144 * configure: Regenerate. 3145 31462000-07-13 Hans-Peter Nilsson <hp@axis.com> 3147 3148 * configure.in (DEFAULT_EMULATION setting): Revert part of 3149 2000-07-01 change that set te_multi=multi unless set to tmips. 3150 * configure: Regenerate. 3151 31522000-07-12 Mark Elbrecht <snowball3@bigfoot.com> 3153 3154 * config/obj-coff.c (coff_frob_section): Add padding to the last 3155 section when aligning it increases its size. 3156 31572000-07-11 Kazu Hirata <kazu@hxi.com> 3158 3159 * config/tc-tic54x.c: Fix formatting. 3160 31612000-07-10 Kazu Hirata <kazu@hxi.com> 3162 3163 * config/tc-h8500.c: Fix formatting. 3164 * config/tc-tic54x.c: Fix formatting. 3165 31662000-07-10 Alan Modra <alan@linuxcare.com.au> 3167 3168 * config/tc-hppa.c (md_apply_fix): Check fmt 12 and 22 pc-rel 3169 displacements correctly. 3170 3171 * read.h (s_abort): Add ATTRIBUTE_NORETURN. 3172 31732000-07-10 Ryan Bradetich <rbradetich@uswest.net> 3174 3175 * hash.c (hash_insert): Add cast to obstruct_alloc to fix 3176 warning. 3177 (hash_jam): Ditto. 3178 31792000-07-09 Alan Modra <alan@linuxcare.com.au> 3180 3181 From David Huggins-Daines <dhd@linuxcare.com> 3182 * config/te-hppalinux64.h: Add a new emulation. 3183 * configure.in (emulations): Add configure bits to support the 3184 64-bit Linux/parisc target. 3185 * configure: Regenerate. 3186 3187 * config/tc-hppa.c (md_parse_option): Support `-V' for ELF. 3188 (md_shortopts): Add `V' for ELF. 3189 3190 * config/tc-hppa.c (arg_reloc_stub_needed): Define as zero except 3191 when SOM or ELF_ARG_RELOC are defined. 3192 (pa_type_args): Only set symbol_arg_reloc_info when SOM or 3193 ELF_ARG_RELOC are defined. 3194 (pa_stringer_aux): Don't pa_check_current_space_and_subspace here.. 3195 (pa_stringer): ..Do it here instead. Fix comment typos. 3196 (hppa_force_relocation): Cast enums to int before comparing with 3197 ints. 3198 3199 From Ryan Bradetich <rbradetich@uswest.net> 3200 * config/tc-hppa.c: Removed unneeded libbfd.h to fix macro 3201 redifinition warning. 3202 (md_apply_fix): Added cast from enum to int for fixP->fx_r_type. 3203 (hppa_force_relocation): ditto 3204 (md_apply_fix): Added cast to buf to fix warnings. 3205 3206 * config/tc-hppa.h (pa_define_label, parse_cons_expression_hppa, 3207 cons_fix_new_hppa, hppa_force_relocation): Prototype. 3208 3209 * config/tc-hppa.c (reloc_type): It's an enum for OBJ_ELF. 3210 (R_N0SEL, R_N1SEL): Define only for OBJ_SOM. 3211 (tc_gen_reloc): Make `code' a reloc_type and `codes' a 3212 reloc_type** to avoid warnings in switch. 3213 (md_apply_fix): Make insn, val signed. Zap buf_wd and read insn a 3214 little earlier instead. 3215 3216 * config/tc-hppa.c (symbol_arg_reloc_info): Define for both som 3217 and elf. 3218 (pa_type_args): Use symbol_arg_reloc_info. 3219 (struct pa_it): Make arg_reloc unsigned int. 3220 (struct hppa_fix_struct): Likewise for fx_arg_reloc. 3221 (pa_text, pa_data, pa_comm): Don't compile for TE_LINUX. 3222 (pa_code): Delete. pa_text duplicates this function. 3223 (md_pseudo_table): Call obj_elf_text for ".code" if TE_LINUX. 3224 (fix_new_hppa): Argument offset is offsetT, arg_reloc is unsigned 3225 int. 3226 (cons_fix_new_hppa): Actually change selector to e_fsel when 3227 warning about assuming so. 3228 (tc_gen_reloc): More example elf arg reloc code. 3229 (md_apply_fix): Use arg_reloc_stub_needed for elf too. 3230 (hppa_force_relocation): Likewise. 3231 3232 * config/tc-hppa.h: Use TARGET_ARCH_SIZE to select target include 3233 files. 3234 (pa_end_of_source): Prototype. 3235 (hppa_fix_adjustable): Prototype. 3236 (LABELS_WITHOUT_COLONS): Move it.. 3237 * config/te-hppa.h: To here. 3238 3239 * config/te-hppa64.h: New file. 3240 3241 * config/tc-hppa.c: Use TARGET_ARCH_SIZE to select target reloc 3242 type. 3243 (md_apply_fix): Pass stdoutput to bfd_hppa_insn2fmt. Handle 3244 format -10, -16, 16 relocs. 3245 (hppa_elf_mark_end_of_function): Test for null 3246 last_call_info->start_symbol 3247 3248 * config/tc-hppa.c (pa_ip): In case 'V', pass `strict' to 3249 CHECK_FIELD, not INSERT_FIELD_AND_CONTINUE. Don't pass opcode to 3250 re_assesmble_* functions. Delete extraneous statements. Fix 3251 typos in comments. 3252 (md_apply_fix): Compare against 1048575 in case 21. Don't pass 3253 insn to re_assemble_*. 3254 32552000-07-08 Ulf Carlsson <ulfc@engr.sgi.com> 3256 3257 * doc/internals.texi (Expressions): Fix typo. 3258 32592000-07-08 Kazu Hirata <kazu@hxi.com> 3260 3261 * config/tc-sh.c: Fix formatting. 3262 * config/tc-tic54x.c: Fix formatting. 3263 * depend.c: Fix formatting. 3264 * flonum-konst.c: Likewise. 3265 * flonum-mult.c: Likewise. 3266 32672000-07-07 Kazu Hirata <kazu@hxi.com> 3268 3269 * config/tc-sh.c: Fix comments. 3270 * config/obj-vms.c: Fix comments. 3271 * config/tc-a29k.c: Likewise. 3272 * config/tc-alpha.c: Likewise. 3273 * config/tc-h8300.c: Likewise. 3274 * config/tc-h8500.c: Likewise. 3275 * config/tc-i370.c: Likewise. 3276 * config/tc-ia64.c: Likewise. 3277 * config/tc-m68hc11.c: Likewise. 3278 * config/tc-m68k.c: Likewise. 3279 * config/tc-mips.c: Likewise. 3280 * config/tc-ns32k.c: Likewise. 3281 * config/tc-ppc.c: Likewise. 3282 * config/tc-z8k.c: Likewise. 3283 32842000-07-06 Mark Elbrecht <snowball3@bigfoot.com> 3285 3286 * config/obj-coff.c (TC_COFF_SECTION_DEFAULT_ATTRIBUTES): New. 3287 Default to '(SEC_LOAD | SEC_DATA)'. 3288 (obj_coff_section) [BFD_ASSEMBLER]: Use it. 3289 3290 * doc/internals.texi (CPU Backend): Describe 3291 TC_COFF_SECTION_DEFAULT_ATTRIBUTES. 3292 3293Thu Jul 6 17:20:58 2000 Andrew Cagney <cagney@b1.cygnus.com> 3294 3295 * as.c (parse_args): NULL terminate the long option list. 3296 3297Tue Jul 4 14:08:28 2000 Andrew Cagney <cagney@b1.cygnus.com> 3298 3299 * config/tc-d30v.h: Include "write.h" for fixS. 3300 (d30v_start_line, md_pcrel_from_section): Add function prototypes. 3301 33022000-07-05 Nick Clifton <nickc@cygnus.com> 3303 3304 * config/tc-d30v.c (write_2_short): Further changes to warning 3305 messages produced when combining EITHER_BUT_PREFER_MU attributed 3306 opcodes. 3307 33082000-07-05 DJ Delorie <dj@redhat.com> 3309 3310 * MAINTAINERS: new 3311 33122000-07-04 Alexandre Oliva <aoliva@redhat.com> 3313 3314 * config/tc-arm.c (psrs): Accept combinations of flags. 3315 33162000-07-03 Marek Michalkiewicz <marekm@linux.org.pl> 3317 3318 * config/tc-avr.c: Change _ () to _() around all strings marked 3319 for translation (exception from the usual coding style). 3320 (avr_opt): New struct variable, how the new switches are set. 3321 (OPTION_MMCU): Define as 'm' and actually use. 3322 (md_longopts): Add -mall-opcodes, -mno-skip-bug, -mno-wrap. 3323 (show_mcu_list): New function, display the list of known MCUs. 3324 (md_show_usage): Document the new switches. Call show_mcu_list. 3325 (avr_set_arch): Change 'm' to OPTION_MMCU. 3326 (md_parse_option): Call show_mcu_list if unknown MCU specified. 3327 Handle the new switches. 3328 (avr_operands): Disable warnings for undefined combinations of 3329 operands if -mall-opcodes. Disable warnings for skipping two-word 3330 instructions if enhanced core or -mno-skip-bug. 3331 (avr_operand): Accept all addressing modes on avr1 if -mall-opcodes. 3332 (md_apply_fix3): Reject 8K wrap if >8K or -mno-wrap. 3333 (md_assemble): Accept opcodes not supported by MCU if -mall-opcodes. 3334 (avr_ldi_expression): Warn about implicit lo8(). 3335 * config/tc-avr.h (md_pcrel_from_section): Add prototype. 3336 33372000-07-01 Koundinya K <kk@ddeorg.soft.net> 3338 3339 * configure.in: Add entry for mips-*-sysv4*MP* 3340 * configure: Rebuild 3341 * config/tc-mips.c (mips_target_format): Return elf32-tradbigmips or 3342 elf32-tradlittlemips for traditional mips targets. 3343 * config/tc-mips.c (md_estimate_size_before_relax): Duplicate the 3344 test for Link Once sections as in adjust_reloc_syms. 3345 * config/te-tmips.h: New file for traditional mips targets. Define 3346 TE_TMIPS. 3347 33482000-06-29 Mark Elbrecht <snowball3@bigfoot.com> 3349 3350 * config/obj-coff.c (obj_coff_setcion) [BFD_ASSEMBLER]: If the 3351 flags argument is not present, don't change an existing section's 3352 section's attributes. If the flags argument is present, warn if the 3353 attributes don't match the section's current attributes. When 3354 long section names are supported, set SEC_LINK_ONCE and 3355 SEC_LINK_DUPLICATES_DISCARD for a new .gnu.linkonce section. 3356 3357Thu Jun 29 21:30:00 2000 Hans-Peter Nilsson <hp@axis.com> 3358 3359 * config/obj-aout.c (obj_aout_type): Do not ignore for undefined 3360 symbols; create them. 3361 33622000-06-29 Mark Elbrecht <snowball3@bigfoot.com> 3363 3364 * write.c (set_segment_vma): New: Set vma and lma for a segment. 3365 (write_object_file) [BFD_ASSEMBLER && OBJ_COFF && TE_GO32]: Use it. 3366 33672000-06-27 Aldy Hernandez <aldyh@redhat.com> 3368 3369 * config/tc-mips.c (mips_ip): handle "(foo-.-4)" type of 3370 expressions. Ignore the problem when handling 16 bit signed 3371 immediates, because the assembler will take care of the relocation 3372 later. 3373 33742000-06-27 Nick Clifton <nickc@cygnus.com> 3375 3376 * config/tc-d30v.c (write_2_short): Do not allow opcodes with 3377 the EITHER_BUT_PREFER_MU attribute to be combined into a reverse 3378 sequential order, and emit warning messages if the input source 3379 code contains constructs like that, or parallel constructs 3380 containing such opcodes. 3381 33822000-06-26 Marek Michalkiewicz <marekm@linux.org.pl> 3383 3384 * config/tc-avr.c (mcu_types): Rename avr4 to avr5, add avr4. 3385 Add more MCU types for avr4 and avr5. Replace at94k{10,20,40} 3386 with just at94k. Change AVR_ISA_85xx back to AVR_ISA_2xxx. 3387 (md_show_usage): Update usage message. 3388 (md_parse_option): Allow redefinition of MCU type within the 3389 same avr[1-5] bfd machine type. Show both old and new MCU type 3390 in the error message. 3391 (md_apply_fix3): Support 8K wrap if AVR_ISA_MEGA is not set. 3392 Simplify 8K wrap code. 3393 33942000-06-25 Kazu Hirata <kazu@hxi.com> 3395 3396 * config/obj-aout.c: Remove all uses of DEFUN. 3397 * config/obj-ieee.c: Likewise. 3398 * config/tc-sh.c: Fix comment typos. 3399 * config/tc-tahoe.c: Likewise. 3400 * config/tc-vax.c: Likewise. 3401 * config/tc-w65.c: Likewise. 3402 * config/tc-z8k.c: Likewise. 3403 * config/tc-h8300.c (build_bytes): Assemble ldmac correctly. 3404 34052000-06-24 DJ Delorie <dj@cygnus.com> 3406 3407 * config/tc-i386.c (md_estimate_size_before_relax): Revert 3408 more changes from Sept 1999 3409 (tc_i386_fix_adjustable): ditto 3410 (md_apply_fix3): ditto 3411 34122000-06-24 Frank Ch. Eigler <fche@redhat.com> 3413 3414 * cgen.c (expr_jmp_buf_p): New validity flag for expr_jmp_buf. 3415 (gas_cgen_parse_operand): Set it around expression() call. 3416 (gas_cgen_md_operand): Test for it before longjmp(). 3417 34182000-06-24 Kazu Hirata <kazu@hxi.com> 3419 3420 * config/tc-h8500.c: Remove all uses of DEFUN. 3421 * config/tc-sh.c: Likewise. 3422 * config/tc-w65.c: Likewise. 3423 * config/tc-z8k.c: Likewise. 3424 3425 * config/tc-h8500.c: Fix typos in comments. 3426 34272000-06-23 Frank Ch. Eigler <fche@redhat.com> 3428 3429 * expr.c (operand): Permit $hex literals if LITERAL_PREFIXDOLLAR_HEX 3430 is defined. 3431 34322000-06-23 matthew green <mrg@redhat.com> 3433 3434 * expr.c (operand): Do not as_bad() if RELAX_PAREN_GROUPING is 3435 defined. Fix error message for `[' grouping. 3436 34372000-06-22 Kazu Hirata <kazu@hxi.com> 3438 3439 * config/tc-h8300.c: Fix formatting and comment typos. 3440 34412000-06-22 Timothy Wall <twall@cygnus.com> 3442 3443 * config/tc-ia64.c (note_register_values): Move premature QP 3444 notation clearing into the appropriate place. 3445 34462000-06-22 Alan Modra <alan@linuxcare.com.au> 3447 3448 * dep-in.sed: Escape literal `.'s on patterns. Trim off `../' 3449 first before anything else. Add bin-bugs.h, emul.h and progress.h 3450 Sort list of files as for $(OBJS) in Makefile.am. 3451 3452 * Makefile.am (DEP): grep for leading `/' in DEPA, and fail if we 3453 find one. Remake dependencies. 3454 ($(OBJS)): Add bin-bugs.h, emul.h, and progress.h Sort the list. 3455 * Makefile.in: Regenerate. 3456 * doc/Makefile.in: Regenerate. 3457 3458 * config/tc-i386.c (i386_displacement): Don't assume a constant 3459 displacement is necessarily 16 bits when in 16 bit code mode. 3460 (md_assemble): Instead size the displacement here after we know 3461 for sure that a .code16gcc operand hasn't automatically added 3462 operand size prefixes. 3463 34642000-06-21 H.J. Lu <hjl@gnu.org> 3465 3466 * Makefile.am: Rebuild dependency. 3467 * Makefile.in: Rebuild. 3468 34692000-06-21 Kazu Hirata <kazu@hxi.com> 3470 3471 * config/tc-h8300.c (parse_reg): Make the function static. 3472 (parse_exp): Likewise. 3473 34742000-06-20 DJ Delorie <dj@cygnus.com> 3475 3476 * config/tc-i386.c (tc_i386_fix_adjustable): Revert change from 3477 Sept 1999; RVA relocs need to be treated more like DIR32 relocs 3478 for cygwin import libraries to work properly. 3479 34802000-06-20 H.J. Lu <hjl@gnu.org> 3481 3482 * Makefile.am: Rebuild dependency. 3483 * Makefile.in: Rebuild. 3484 * configure: Likewise. 3485 * doc/Makefile.in: Likewise. 3486 34872000-06-20 Timothy Wall <twall@cygnus.com> 3488 3489 * doc/internals.texi (CPU backend): Add @itemx for 3490 TC_START_LABEL_WITHOUT_COLON. 3491 * doc/c-tic54x.texi: New. 3492 * doc/as.texinfo: Add tic54x features and include primary tic54x 3493 documentation file. 3494 * doc/all.texi: Add C54X. 3495 * doc/Makefile.am (CPU_DOCS): Add c-tic54x.texi. 3496 * doc/Makefile.in: Regenerate. 3497 * configure.in: Add tic54x and define LIBM for tic54x. 3498 * configure: Regenrate. 3499 * config/tc-tic54x.[ch]: New. 3500 * config/obj-coff.h: Add tic54x. 3501 * Makefile.am: (CPU_TYPES): Add tic54x. 3502 (TARGET_CPU_CFILES): Add 'tc-tic54x.c'. 3503 (TARGET_CPU_HFILES): Add 'tc-tic54x.h'. 3504 (as_new_LDADD): Add $(LIBM). 3505 * Makefile.in: Regenerate. 3506 35072000-06-18 Stephane Carrez <stcarrez@worldnet.fr> 3508 3509 * doc/Makefile.am (CPU_DOCS): Added 68hc11 file. 3510 * doc/c-m68hc11.texi: Document 68HC11 and 68HC12 port. 3511 * doc/as.texinfo: Likewise. 3512 3513 * configure, Makefile.in: Regenerate. 3514 * configure.in (emulations): Recognize m6811 and m6812. 3515 * Makefile.am (CPU_TYPES, TARGET_CPU_CFILES, TARGET_CPU_HFILES): 3516 Added files for 68hc11 and 68hc12 assembler. 3517 * config/tc-m68hc11.c: Assembler for 68hc11 and 68hc12. 3518 * config/tc-m68hc11.h: Header definition for that assembler. 3519 35202000-06-18 Nick Clifton <nickc@redhat.com> 3521 3522 * symbols.c (resolve_symbol_value): Use bfd_octets_per_byte 3523 instead of OCTETS_PER_BYTE. 3524 3525 * config/tc-v850.c: Fix compile time warnings. 3526 * config/tc-ppc.c: Fix compile time warnings. 3527 35282000-06-18 H.J. Lu <hjl@gnu.org> 3529 3530 * configure.in: Don't emulate i386-pc-pe-coff with i386coff. 3531 * configure: Rebuild. 3532 35332000-06-17 Mark Elbrecht <snowball3@bigfoot.com> 3534 3535 * config/obj-coff.c (obj_coff_weak): Typo fix: Change BFD_ASSEMLER 3536 to BFD_ASSEMBLER. 3537 35382000-06-16 Nick Clifton <nickc@cygnus.com> 3539 3540 * config/tc-mips.c (md_parse_option): Accept RM5200,RM5230, 3541 RM5231, RM5261, RM5721 and RM7000 as r5000 cpu variants. 3542 3543 * doc/c-mips.texi: Document newly accepted cpu variants. 3544 35452000-06-15 Ulf Carlsson <ulfc@engr.sgi.com> 3546 3547 * config/tc-mips.h: Remove definition of ONLY_STANDARD_ESCAPES. 3548 35492000-06-13 Ulf Carlsson <ulfc@engr.sgi.com> 3550 3551 * macro.c (getstring): Make it possible to escape the quote 3552 character. 3553 3554Tue Jun 13 20:58:28 2000 Catherine Moore <clm@redhat.com> 3555 3556 * config/tc-hppa.c (pa_export): Weak symbols can be global. 3557 35582000-06-13 H.J. Lu <hjl@gnu.org> 3559 3560 * configure: Regenerate. 3561 35622000-06-09 Alan Modra <alan@linuxcare.com.au> 3563 3564 * app.c (do_scrub_begin): Don't default lex[';'] as a line 3565 separator. 3566 * doc/internals.texi (line_separator_chars): Semicolon is no 3567 longer a default. Mention null and newline as defaults. 3568 3569 * read.c (is_end_of_line): Remove ifdef TC_HPPA. 3570 3571 * config/tc-i386.h (line_separator_chars): Explicitly mention `;' 3572 * config/tc-i860.h (line_separator_chars): Likewise. 3573 * config/tc-h8300.c (line_separator_chars): Likewise. 3574 * config/tc-i960.c (line_separator_chars): Likewise. 3575 * config/tc-m68k.c (line_separator_chars): Likewise. 3576 * config/tc-mips.c (line_separator_chars): Likewise. 3577 * config/tc-ns32k.c (line_separator_chars): Likewise. 3578 * config/tc-sparc.c (line_separator_chars): Likewise. 3579 * config/tc-vax.c (line_separator_chars): Likewise. 3580 3581 * config/tc-h8300.c (comment_chars): Use string initialiser. 3582 * config/tc-i960.c (line_comment_chars): Likewise. 3583 * config/tc-z8k.c (comment_chars, line_comment_chars, 3584 line_separator_chars): Likewise. 3585 3586 * config/tc-arm.c (line_separator_chars): Always use `;', not just 3587 for TE_LINUX. 3588 35892000-06-08 Nick Clifton <nickc@cygnus.com> 3590 3591 * config/tc-arm.c (cons_fix_new_arm): Assign correct reloc value 3592 for size 1 fixes. 3593 35942000-06-08 David O'Brien <obrien@FreeBSD.org> 3595 3596 * configure.in (VERSION): Update to show this is the CVS mainline. 3597 35982000-06-08 Matthew Jacob <mjacob@feral.com> 3599 3600 * config/tc-alpha.c (md_undefined_symbol): Properly understand that 3601 $at is the integer register $r28, vs. both $r28 and the floating 3602 point register $f28. 3603 36042000-06-08 James E. Wilson <wilson@cygnus.com> 3605 3606 * config/tc-ia64.c (generate_unwind_image): Call ia64_flush_insns. 3607 (dot_endp): Don't call ia64_flush_insns. 3608 (emit_one_bundle): Don't delete prologue/body records from 3609 unwind_record list in first loop. Rewrite second loop to account for 3610 this. 3611 36122000-06-07 David Mosberger <davidm@hpl.hp.com> 3613 3614 * config/tc-ia64.c: Add missing prototypes. 3615 (generate_unwind_image): Cast argument to output_unw_records call. 3616 3617Wed Jun 7 22:44:14 2000 Denis Chertykov <denisc@overta.ru> 3618 3619 * config/tc-avr.c (avr_operand): fix the formatting of the comment. 3620 3621Wed Jun 7 21:26:15 2000 Denis Chertykov <denisc@overta.ru> 3622 3623 * config/tc-avr.c (AVR_ISA_???): moved to include/opcode/avr.h 3624 (REGISTER_P): likewise. 3625 (avr_opcodes): uses include/opcode/avr.h 3626 (avr_operand): enable ld r,Z or st r,Z for at90s1200. 3627 36282000-06-04 Alan Modra <alan@linuxcare.com.au> 3629 3630 * read.c (is_end_of_line): No ';' for TC_HPPA. Add missing 3631 initializers too. 3632 36332000-06-03 H.J. Lu <hjl@gnu.org> 3634 3635 * read.c (is_end_of_line): Put back `;'. 3636 36372000-06-03 Alan Modra <alan@linuxcare.com.au> 3638 3639 * config/tc-i386.c (md_shortopts): Remove 'm', add 'q' to non-elf. 3640 36412000-06-01 Alan Modra <alan@linuxcare.com.au> 3642 3643 * expr.c (operand): Test is_end_of_line outside switch to catch 3644 line separator chars that are also operators. 3645 (operator): Return O_illegal for line separator chars. 3646 3647 * read.c (is_end_of_line): Use 1 instead of 99. Don't set `;' 3648 entry (or `!' entry for TC_HPPA). 3649 3650 * config/tc-arm.c (my_get_float_expression): Cast to unsigned char 3651 before indexing is_end_of_line. Remove redundant check for '\0'. 3652 (fp_op2): Likewise. 3653 * config/tc-h8500.c (md_assemble): Likewise. 3654 * config/tc-mcore.c (md_assemble): Likewise. 3655 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise. 3656 (md_atof): Likewise 3657 3658 * config/tc-m88k.c (s_bss): Cast to unsigned char before indexing 3659 is_end_of_line. 3660 * config/tc-mcore.c (mcore_cons): Likewise. 3661 (mcore_float_cons): Likewise. 3662 (mcore_stringer): Likewise. 3663 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise. 3664 36652000-06-01 Scott Bambrough <scottb@netwinder.org> 3666 3667 * config/tc-arm.c (do_mrs): Allow SPSR_BIT to be set correctly. 3668 36692000-05-29 Nick Clifton <nickc@cygnus.com> 3670 3671 * config/tc-sh.c: Fix compile time warning messages. 3672 3673 * config/tc-mips.c: Fix compile time warning messages. 3674 36752000-05-29 Philip Blundell <philb@gnu.org> 3676 3677 * doc/as.texinfo: Update copyright dates. 3678 (Local Labels): Delete misplaced mention of ARM. 3679 * NEWS: Mention ARM ELF support. 3680 36812000-05-27 Alexandre Oliva <aoliva@cygnus.com> 3682 3683 * config/tc-mn10300.c (md_assemble): Copy size to real_size before 3684 it is modified, and use the real_size to compute the frag address 3685 for dwarf2 line info. 3686 36872000-05-27 Alan Modra <alan@linuxcare.com.au> 3688 3689 * Makefile.am (DEP, DEP1, dep, dep-in, dep-am): Use a better sed 3690 line-matching scheme to cope with automake moving variables around. 3691 ($(TARG_CPU_O)): Remove dependency on TARG_CPU_DEP_@target_cpu_type@ 3692 * Makefile.in: Regenerate. 3693 36942000-05-26 Jakub Jelinek <jakub@redhat.com> 3695 3696 * config/tc-sparc.c (sparc_relax): New. 3697 (md_longopts): Add -relax and -no-relax options. 3698 (md_parse_options, md_show_usage): Likewise. 3699 (md_apply_fix3): Optimize tail call into branch always if possible. 3700 3701Thu May 4 15:27:07 2000 Donald Lindsay <dlindsay@cygnus.com> 3702 3703 * config/tc-d10v.c (write_2_short, parallel_ok, md_assemble, 3704 d10v_cleanup) implement Mitsubishi's newly explained branch-packing 3705 rules, with warning when a GAS statement specifies a packing that 3706 will result in an instruction being squashed. 3707 Added typdef packing_type and enumerals, changed various integer 3708 literals to use the enumerals. 3709 37102000-05-24 David Mosberger <davidm@hpl.hp.com> 3711 3712 * config/tc-ia64.c (dot_restorereg_p): New function. 3713 (md_pseudo_table): Add restorereg.p. 3714 (output_X3_format): Fix typo: record type should be UNW_X3, not UNW_X1. 3715 (output_X4_format): Fix typo: record type should be UNW_X4, not UNW_X2. 3716 3717 * config/tc-ia64.h (unw_record_type): Add unwabi. 3718 (unw_r_record): Rename member MASK to GRMASK. Add sub-structure 3719 called MASK with members for imask, and the masks produced by 3720 fr_mem, gr_mem, br_mem, and frgr_mem. 3721 (unw_p_record): Add members ABI and CONTEXT. 3722 (unw_x_record): Add member AB. 3723 * config/tc-ia64.c (enum reg_symbol): Add REG_PSP and REG_PRIUNAT 3724 as pseudo-register for use during unwind info generation. 3725 (AR_PFS, AR_LC): New macros. 3726 (enum pseudo_type): Add PSEUDO_FUNC_REG to permit declaring registers 3727 whose names start with an at sign (as in "@priunat"). 3728 (pseudo_func): Add "svr4", "hpux", "nt" constants and "priunat" 3729 register. 3730 (unwind_list, unwind_tail, current_unwind_entry, proc_start, 3731 proc_end, unwind_info, personality_routine): Consolidate into 3732 "unwind" structure to reduce offset-table use. Add member 3733 NEXT_SLOT_NUMBER to track the slot number for the next instruction 3734 to be emitted. 3735 (output_R1_format, output_R3_format, output_P3_format, 3736 output_P6_format): Initialize R with zero to reduce compiler warnings. 3737 (output_P7_format): Ditto. Add `default' branch to switch 3738 statement to reduce compiler warnings. 3739 (output_P8_format, output_B1_format, output_B4_format): Ditto. 3740 (output_P4_format): Rename 2nd & 3rd arg to IMASK and IMASK_SIZE. 3741 (format_ab_reg): Rename from format_a_b_reg. Merge A and B args 3742 into single argument. 3743 (output_X1_format, output_X3_format): Initialize R with zero to reduce 3744 compiler warnings. Merge A and B args into single argument. 3745 (output_X2_format, output_X4_format): Remove unused variable R. Merge 3746 A and B args into single argument. 3747 (free_record): Removed (wasn't used). 3748 (free_list_records): Also free imasks in prologue records. 3749 (output_prologue, output_prologue_gr): Initialize mask bits to zero. 3750 (output_spill_mask): Remove. 3751 (output_unwabi): New function. 3752 (output_epilogue, output_label_state, output_copy_state): Call 3753 alloc_record. 3754 (output_spill_psprel, output_spill_sprel, output_spill_psprel_p, 3755 output_spill_sprel_p, output_spill_reg, output_spill_reg_p): Add AB 3756 argument. 3757 (process_one_record): New locals FR_MASK and GR_MASK. Ignore 3758 gr_mem, fr_mem, br_mem, and frgr_mem records and instead emit them 3759 as part of handling the prologue records. Emit region's imask if 3760 we have one. Handle unwabi, epilogue, label_state, copy_state, 3761 spill_psprel, spill_sprel, spill_reg, spill_psprel_p, 3762 spill_sprel_p, and spill_reg_p records. 3763 (set_imask, count_bits, slot_index): New function. 3764 (fixup_unw_records): Fix region size computation. Handle 3765 epilogue, spill_reg, spill_sprel, spill_psprel, spill_reg_p, 3766 spill_sprel_p, and spill_psprel_p records. Merge mask bits of 3767 frgr_mem, fr_mem, gr_mem, br_mem on a per-region basis and 3768 set_imask accordingly. Update imask for gr_gr, and br_gr records. 3769 (convert_expr_to_ab_reg, convert_expr_to_xy_reg): New function. 3770 (dot_save): Use manifest constants for applicaton registers. 3771 Handle REG_PR and REG_PRIUNAT. 3772 (dot_restore): Don't just ignore it. 3773 (dot_restorereg): New function.. 3774 (generate_unwind_image): Ensure unwind info is a multiple of eight 3775 bytes, not just four bytes. 3776 (dot_handlerdata, dot_unwentry): Demand empty rest of line. 3777 (dot_altrp): Don't just ignore it. 3778 (dot_savemem): New function. Replaces dot_savesp() and 3779 dot_savepsp(). Use manifest constants for applicaton registers. 3780 Handle REG_PR and REG_PRIUNAT. 3781 (dot_savef): Simplify. 3782 (dot_saveb): Support generation of br_gr. 3783 (dot_spillreg, dot_spillmem, dot_spillreg_p, dot_spillmem_p, 3784 dot_label_state, dot_copy_state): New function. 3785 (dot_unwabi): Don't just ignore it. 3786 (md_pseudo_table): Add restorereg, spillreg, spillsp, spillpsp, 3787 spillreg.p, spillsp.p, spillpsp, label_state, copy_state, 3788 unwabi, vframesp, and vframepsp. Fix typo alprp->altrp. 3789 (emit_one_bundle): Set slot number for prologue/body records 3790 *before* emitting the first insn. 3791 (emit_one_bundle): Set UNWIND.NEXT_SLOT_NUMBER. 3792 (md_begin): Declare "psp" pseudo-register. 3793 (md_operand): Handle PSEUDO_FUNC_REG. Fix printing of error message 3794 so we don't get segfault. 3795 (output_psp_sprel): Output sp/psp relative offsets as 4-byte word 3796 counts as required per SW Conventions manual 3797 (output_rp_psprel, output_rp_sprel, output_pfs_psprel,output_pfs_sprel, 3798 output_preds_psprel, output_preds_sprel, output_spill_base, 3799 output_unat_psprel, output_unat_sprel, output_lc_psprel, 3800 output_lc_sprel, output_fpsr_psprel, output_fpsr_sprel, 3801 output_priunat_psprel, output_priunat_sprel, output_bsp_psprel, 3802 output_bsp_sprel, output_bspstore_psprel, output_bspstore_sprel, 3803 output_rnat_psprel, output_rnat_sprel, output_spill_psprel, 3804 output_spill_sprel, output_spill_psprel_p, output_spill_sprel_p):Ditto. 3805 (dot_vframe): Implement. 3806 (dot_vframesp, dot_vframepsp): New function. 3807 3808Tue May 23 00:57:05 2000 Hans-Peter Nilsson <hp@axis.com> 3809 3810 * configure.in (i386-*-freebsd a.out entry): Quote properly. 3811 * configure: Regenerate. 3812 38132000-05-23 Alan Modra <alan@linuxcare.com.au> 3814 3815 * config/tc-i386.c (md_assemble): Pass jump reloc in fr_var... 3816 (md_estimate_size_before_relax): so we can use it here instead of 3817 old kludges. Localise vars to blocks. Comment. 3818 3819 * frags.c (frag_new): Update fr_var comments. 3820 * frags.h (struct frag): Ditto. 3821 38222000-05-22 Richard Henderson <rth@cygnus.com> 3823 3824 * config/tc-ia64.c (FUNC_PC_RELATIVE): New. 3825 (pseudo_func): Add pcrel. 3826 (operand_match): Handle IA64_OPND_TGT64. 3827 (build_insn): Likewise. 3828 (md_begin): Initialize pseudo_func[FUNC_PC_RELATIVE]. 3829 (ia64_gen_real_reloc_type): Handle FUNC_PC_RELATIVE. 3830 (fix_insn): Handle all three 64-bit relocation types. 3831 3832Mon May 22 22:43:32 2000 Hans-Peter Nilsson <hp@axis.com> 3833 3834 * obj.h (struct format_ops): New members begin, app_file, 3835 s_set_other, s_set_desc, s_get_type, s_set_type, 3836 separate_stab_sections, init_stab_section. 3837 3838 * config/obj-multi.h: Update GPL notice to v2. 3839 (obj_begin): New. 3840 (obj_app_file): New. 3841 (S_SET_SIZE): Test s_set_size for NULL before calling. 3842 (S_SET_ALIGN): Similar for s_set_align. 3843 (S_SET_OTHER): New. 3844 (S_SET_DESC): New. 3845 (S_GET_TYPE): New. 3846 (S_SET_TYPE): New. 3847 (SEPARATE_STAB_SECTIONS): New. 3848 (INIT_STAB_SECTION): New. 3849 (EMIT_SECTION_SYMBOLS): New. 3850 (AOUT_STABS) [OBJ_MAYBE_AOUT]: Define. 3851 3852 * config/obj-elf.h: Update GPL notice to v2. 3853 Mention that this file is included from obj-multi.h. 3854 (obj_begin): Wrap definition in ifndef. 3855 (elf_file_symbol): Constify declaration. 3856 (obj_app_file): Ditto. 3857 (SEPARATE_STAB_SECTIONS, INIT_STAB_SECTION, OBJ_PROCESS_STAB): 3858 Wrap in ifndef SEPARATE_STAB_SECTIONS. 3859 3860 * config/obj-elf.c (elf_s_set_other): New. 3861 (elf_file_symbol): Constify argument. 3862 (elf_separate_stab_sections): New. 3863 (elf_init_stab_section): New. 3864 (elf_format_ops): Add new members. Remove comma at end. 3865 3866 * config/obj-ecoff.c (ecoff_separate_stab_sections): New. 3867 (ecoff_format_ops): Add new fields. Remove comma at end. 3868 Mention inconsistency for emit_section_symbols. 3869 3870 * config/obj-coff.h (c_dot_file_symbol): Constify declaration. 3871 3872 * config/obj-coff.c (c_dot_file_symbol): Constify argument. 3873 (coff_separate_stab_sections): New. 3874 (coff_format_ops): Add new members. 3875 3876 * config/obj-aout.c (obj_aout_sec_sym_ok_for_reloc): New. 3877 (obj_aout_s_set_other): New. 3878 (obj_aout_s_set_desc): New. 3879 (obj_aout_s_get_type): New. 3880 (obj_aout_s_set_type): New. 3881 (obj_aout_separate_stab_sections): New. 3882 (aout_format_ops): New members added. Use obj_aout_process_stab, 3883 not 0. Use obj_aout_sec_sym_ok_for_reloc, not 0. 3884 (obj_aout_frob_symbol): Add ATTRIBUTE_UNUSED to args as 3885 appropriate. 3886 (obj_aout_line, obj_aout_weak, obj_aout_type): Ditto. 3887 38882000-05-22 Alan Modra <alan@linuxcare.com.au> 3889 3890 * config/tc-i386.c (tc_i386_fix_adjustable): Prevent adjustment 3891 for OBJ_MAYBE_ELF too. Use S_IS_EXTERNAL instead of S_IS_EXTERN. 3892 (md_estimate_size_before_relax): Ensure jumps to weak and 3893 externally visible symbols are relocatable. 3894 3895Sat May 20 16:41:55 2000 Hans-Peter Nilsson <hp@axis.com> 3896 3897 * stabs.c (aout_process_stab): Make global. 3898 (s_desc): Add ATTRIBUTE_UNUSED to args as appropriate. 3899 * read.h (aout_process_stab): Declare. 3900 3901 * configure.in (EMULATIONS) [i386aout, i386coff, i386elf]: 3902 Generalize to *aout, *coff *elf. 3903 * configure: Regenerated. 3904 3905 * doc/internals.texi (Object format backend): Say 3906 SEPARATE_STAB_SECTIONS needs to be nonzero, not just defined. 3907 3908 * Makefile.am (TARG_ENV_HFILES): Delete te-multi.h. 3909 * Makefile.in: Regenerated. 3910 39112000-05-19 Catherine Moore <clm@cygnus.com> 3912 3913 * cgen.h (GAS_CGEN_MAX_FIXUPS): Check if already defined. 3914 39152000-05-18 Alan Modra <alan@linuxcare.com.au> 3916 3917 * config/tc-hppa.c (md_apply_fix): Mask out immediate bits of 3918 instruction to reflect change in re_assemble_*. 3919 3920Thu May 18 10:52:14 2000 Jeffrey A Law (law@cygnus.com) 3921 3922 * configure.in (hppa-*-hpux11*): If the cpu is hppa*64*, then 3923 build PA64 ELF tools. 3924 * configure: Rebuilt. 3925 39262000-05-17 Alan Modra <alan@linuxcare.com.au> 3927 3928 * Makefile.am: Regenerate dependencies. 3929 * Makefile.in: Regenerate. 3930 39312000-05-15 Nick Clifton <nickc@cygnus.com> 3932 3933 * config/tc-arm.c (struct asm_psr): Add boolean field 3934 distinguishing between CSPR and SPSR. Rename 'number' field 3935 to 'field'. 3936 (psrs): Rearrange contents to match new asm_psr structure. 3937 (arm_psr_parse): Move next to psr_required_here. Make it 3938 return an asm_psr structure. 3939 (psr_required_here): Use asm_psr structure returned by 3940 arm_psr_parse. 3941 (do_msr): Reorganise to allow psr_required_here to be called 3942 only once. 3943 (md_undefined_name): Mark 'name' parameter as unused, since 3944 the COFF target does not use it. 3945 39462000-05-14 David O'Brien <obrien@FreeBSD.org> 3947 3948 * config/te-386bsd.h: Clean up comments to adhere to the GNU coding 3949 standards. 3950 * config/te-aux.h: Likewise. 3951 * config/te-dpx2.h: Likewise. 3952 * config/te-go32.h: Likewise. 3953 * config/te-hp300.h: Likewise. 3954 * config/te-hppa.h: Likewise. 3955 * config/te-i386aix.h: Likewise. 3956 * config/te-ic960.h: Likewise. 3957 * config/te-interix.h: Likewise. 3958 * config/te-nbsd532.h: Likewise. 3959 * config/te-pc532mach.h: Likewise. 3960 * config/te-ppcnw.h: Likewise. 3961 * config/te-psos.h: Likewise. 3962 * config/te-sparcaout.h: Likewise. 3963 * config/te-sun3.h: Likewise. 3964 * config/te-sysv32.h: Likewise. 3965 39662000-05-14 Alan Modra <alan@linuxcare.com.au> 3967 3968 * config/tc-h8300.c (do_a_fix_imm): Don't rely on `short' being 16 3969 bits. Instead explicitly mask and sign extend. Do the 8 bit mask 3970 and sign extend without an if statement. 3971 (build_bytes): Likewise. 3972 39732000-05-14 Kazu Hirata <kazu@hxi.com> 3974 3975 * config/tc-h8300.c (do_a_fix_imm): Output a reloc for no 3976 X_add_symbol L_32 case. 3977 39782000-05-14 David O'Brien <obrien@FreeBSD.org> 3979 3980 * config/te-freebsd.h: New file. 3981 39822000-05-13 Alan Modra <alan@linuxcare.com.au> 3983 3984 * asintl.h (gettext, dgettext, dcgettext, textdomain, 3985 bindtextdomain): Replace defines with those from intl/libgettext.h 3986 to quieten gcc warnings. 3987 3988 * NEWS: Mention x86 .arch and -q. 3989 3990 * config/tc-i386.c (quiet_warnings): New. 3991 (md_assemble): Use quiet_warnings. 3992 (md_parse_option): Set quiet_warnings from -q. 3993 (md_show_usage): Mention -q, delete -m. 3994 (flag_do_long_jump): Delete. 3995 (md_parse_option): Remove -m. 3996 (md_show_usage): Remove -m. 3997 (md_create_long_jump): Remove useless flag_do_long_jump code. 3998 3999 * as.c (parse_args): In case OPTION_DEFSYM, use a valueT to hold 4000 the symbol value, and use bfd_scan_vma if BFD_ASSEMBLER. 4001 40022000-05-13 Alan Modra <alan@linuxcare.com.au> 4003 Alexander Sokolov <robocop@netlink.ru> 4004 4005 * doc/c-i386.texi (i386-Arch): New section. 4006 (i386-Syntax): Mention .intel_syntax and .att_syntax. 4007 4008 * config/tc-i386.c (cpu_arch_name, cpu_arch_flags): New. 4009 (smallest_imm_type): Use smallest opcode for shift by one if cpu 4010 architecture has been given and is not 486. 4011 (set_cpu_arch): New. 4012 (md_pseudo_table): Add .arch. 4013 (md_assemble): Warn if cpu architecture has been given and an 4014 unsupported instruction. 4015 4016 * config/tc-i386.h (SMALLEST_DISP_TYPE): Delete. 4017 Move operand_types bit defines after relevant template field. 4018 (template): Add cpu_flags. 4019 (Cpu*): Define. 4020 (arch_entry): New. 4021 40222000-05-12 Alexandre Oliva <aoliva@cygnus.com> 4023 4024 * config/tc-mn10300.h (md_end): Define. 4025 (mn10300_finalize): Declare. 4026 * config/tc-mn10300.c: Include dwarf2dbg.h. 4027 (debug_line): Define. 4028 (md_assemble): Generate dwarf2 line info. 4029 (mn10300_finalize): New function. Finalize dwarf2 info. 4030 40312000-05-11 Ulf Carlsson <ulfc@engr.sgi.com> 4032 4033 * config/tc-mips.c (md_estimate_size_before_relax): Use the 4034 external version of the relocation for weak symbols. 4035 40362000-05-08 David Mosberger <davidm@hpl.hp.com> 4037 4038 * config/tc-ia64.c (output_P7_format, case mem_stack_f): Output fixed 4039 frame size in units of 16 bytes, as required per SW Conventions manual. 4040 (output_unw_records): Output info-block header as a dword to get 4041 byte-order right. 4042 40432000-05-08 Alan Modra <alan@linuxcare.com.au> 4044 4045 * as.h: #include "file", not <file> on files from ../include. 4046 (as_abort, as_fatal): Add ATTRIBUTE_NORETURN. 4047 * config/tc-m68k.c (m68k_ip): Fix signed/unsigned warnings. 4048 (md_convert_frag): Add ATTRIBUTE_UNUSED. 4049 (tc_coff_symbol_emit_hook): Ditto. 4050 (OPTCOUNT): Cast to int to avoid compiler warning. 4051 (md_begin): Fix signed/unsigned warnings. 4052 40532000-05-08 Michael Sokolov <msokolov@ivan.Harhan.ORG> 4054 4055 * config/tc-m68k.c (md_convert_frag_1): Abort if we end up in the 4056 ABRANCH LONG case for a conditional branch on a 68000. 4057 (md_estimate_size_before_relax): Likewise. Also handle 4058 flag_short_refs correctly for ABRANCH, BCC68000, and DBCC. 4059 (m68k-ip: case ABSL): Relax absolute references to 16-bit 4060 PC-relative on all CPUs. 4061 (md_estimate_size_before_relax): Likewise. 4062 40632000-05-04 Alan Modra <alan@linuxcare.com.au> 4064 4065 * as.c (parse_args): Just mention current year in printed 4066 copyright message. 4067 40682000-05-03 J.T. Conklin <jtc@redback.com> 4069 4070 * config/tc-ppc.c (pre_defined_registers): Add entries for vector 4071 unit registers. 4072 (md_parse_option): Recognize -m7400. 4073 40742000-05-03 Ian Lance Taylor <ian@zembu.com> 4075 4076 * config/atof-ieee.c (gen_to_words): When adding carry back in, 4077 don't permit lp to become less than the words array. 4078 40792000-05-03 Rodney Brown <RodneyBrown@pmsc.com> 4080 4081 config/tc-mcore.c (md_apply_fix3): BFD_RELOC_MCORE_PCREL_IMM11BY2 4082 Fix little-endian case. 4083 40842000-05-03 David O'Brien <obrien@NUXI.com> 4085 4086 * as.c (parse_args): Update copyright. 4087 40882000-05-03 Mark Elbrecht <snowball3@bigfoot.com> 4089 4090 * gas/config/tc-i386.h (SUB_SEGMENT_ALIGN): If TE_GO32, return 4 4091 for the .bss section too. 4092 40932000-05-02 Alan Modra <alan@linuxcare.com.au> 4094 4095 * configure.in: Set em=linux for hppa-*-linux. 4096 * configure: Regenerate. 4097 * doc/Makefile.in: Regenerate with correct automake. 4098 4099 * frags.c (frag_grow): Sanity check chunk_size. 4100 4101 * config/obj-elf.h: #include "bfd.h" not <bfd.h> 4102 * config/obj-som.h: Likewise. 4103 * config/obj-ieee.h: Likewise. 4104 4105 * config/tc-hppa.h: Test BFD_ARCH_SIZE, not BFD64. 4106 4107 * config/tc-hppa.c (log2): Only compile when OBJ_SOM. 4108 (md_pseudo_table): Fully initialise OBJ_ELF cases. 4109 (fix_new_hppa): Add ATTRIBUTE_UNUSED to args as appropriate. 4110 (pa_ip): low_sign_unext now returns via function value. Use 4111 re_assemble_* instead of dis_assemble_* and 4112 INSERT_FIELD_AND_CONTINUE combination. Don't call sign_unext 4113 unnecessarily. 4114 (md_convert_frag): Add ATTRIBUTE_UNUSED to args as appropriate. 4115 (md_section_align, md_parse_option, md_show_usage, 4116 md_undefined_symbol, pa_align, pa_block, pa_brtab, pa_try, 4117 pa_callinfo, pa_code, pa_comm, pa_end, pa_enter, pa_entry, 4118 pa_exit, pa_export, pa_import, pa_label, pa_leave, pa_level, 4119 pa_origin, pa_param, pa_proc, pa_procend, pa_space, pa_spnum, 4120 pa_version, pa_compiler, pa_copyright, pa_data, pa_fill, pa_lsym, 4121 pa_text): Likewise. 4122 (md_apply_fix): Change type of new_val to offsetT. Delete w1, w2, 4123 w, resulti. Add insn, val. Move bfd_get_32 and bfd_put_32 4124 outside of switch. Correct mask and shifting errors in case 10 4125 and case -11. In case 21, compare against signed range to suit 4126 hppa_field_adjust changes. In case 12, use re_assemble_12. In 4127 case 17 and case 22, use offsetT variable to properly check range. 4128 Use re_assemble_* here too. 4129 (evaluate_absolute): Change type of value to offsetT. Call 4130 hppa_field_adjust to do the work for us. 4131 (pa_parse_cmpb_64_cmpltr): Delete save_s. 4132 (pa_parse_cmpib_64_cmpltr): Ditto. 4133 (pa_build_unwind_subspace): Delete unused var subseg. Change type 4134 of i to unsigned int. 4135 (pa_type_args): Conditionally declare symbol if OBJ_SOM. 4136 (pa_end_of_source): Return type is void. 4137 4138Mon May 1 08:54:23 2000 Catherine Moore <clm@cygnus.com> 4139 4140 * macro.c (macro_expand_body): Don't prepend macro number with zeroes. 4141 4142Mon May 1 14:19:39 2000 Denis Chertykov <denisc@overta.ru> 4143 4144 * config/tc-avr.c: ATTRIBUTE_UNUSED added to the necessary places. 4145 More comments added. 4146 (md_begin): Removed "construct symbols for each register name". 4147 Because register names conflicts with GCC generated function 4148 names. 4149 (avr_operand): Now constant numbers can be used as a register 4150 identifiers (0 as r0, 31 as r31). 4151 (md_assemble): use skip_space () before parsing instruction 4152 operands. 4153 41542000-05-01 Alan Modra <alan@linuxcare.com.au> 4155 4156 * configure.in: Set bfd_gas=yes on i386-*-pe and i386-*-nt* to 4157 ensure all pe targets use bfd. Remove unnecessary bfd_gas=yes on 4158 arm-*-netbsd* and arm-*-wince as this is set for all arm*. 4159 * configure: Regenerate. 4160 41612000-04-29 Andreas Jaeger <aj@suse.de> 4162 4163 * as.h: Correctly check GCC version. 4164 41652000-04-26 David O'Brien <obrien@FreeBSD.org> 4166 4167 * doc/as.1: Fix unbalanced brackets. 4168 4169 * config/tc-i386.c (comment_chars): Don't use '/' as comment start if 4170 TE_FreeBSD. 4171 (line_comment_chars): Set to '/' if TE_FreeBSD. 4172 4173Tue Apr 25 11:02:02 2000 Jeffrey A Law (law@cygnus.com) 4174 4175 * configure.in: Configury support for PA64 (currently disabled). 4176 * configure: Rebuilt. 4177 41782000-04-25 Machida Hiroyuki <machida@sm.sony.co.jp> 4179 4180 * config/tc-mips.c (s_change_sec): Use record_alignment, not 4181 bfd_set_section_alignment. 4182 41832000-04-25 Alan Modra <alan@linuxcare.com.au> 4184 4185 * config/tc-i386.c (offset_in_range): Ensure shift counts are less 4186 than 32. 4187 41882000-04-24 Nick Clifton <nickc@cygnus.com> 4189 4190 * doc/c-arm.texi (ARM Directives): Document behaviour of .align 0. 4191 * doc/as.texinfo (Align): Include arm and strongarm in list of 4192 targets that have the second form of the behaviour of the .align 4193 directive. 4194 41952000-04-24 Mark Klein <mklein@dis.com> 4196 4197 * obj-som.c: Terminate obj_pseudo_table. 4198 4199Mon Apr 24 15:21:11 2000 Clinton Popetz <cpopetz@cygnus.com> 4200 4201 * as.c (parse_args): Allow md_parse_option to override -a listing 4202 option. 4203 * config/obj-coff.c (add_lineno): Change type of offset parameter 4204 from "int" to "bfd_vma." 4205 * config/tc-ppc.c (md_pseudo_table): Add "llong" and "machine." 4206 (ppc_mach, ppc_subseg_align, ppc_target_format): New. 4207 (ppc_change_csect): Align correctly for XCOFF64. 4208 (ppc_machine): New function, which discards "ppc_machine" line. 4209 (ppc_tc): Cons for 8 when code is 64 bit. 4210 (md_apply_fix3): Don't check operand->insert. Handle 64 bit 4211 relocations. 4212 (md_parse_option): Handle -a64 and -a32. 4213 (ppc_xcoff64): New. 4214 * config/tc-ppc.h (TARGET_MACH): Define. 4215 (TARGET_FORMAT): Move to function. 4216 (SUB_SEGMENT_ALIGN): Use ppc_subseg_align. 4217 4218Sun Apr 23 16:45:45 2000 Denis Chertykov <denisc@overta.ru> 4219 4220 * config/tc-avr.c: New AVR_ISA_ defined. 4221 (md_assemble): Handle opcodes with optional operands (lpm,elpm). 4222 (avr_operand): Handle 'a', 'v' and 'z' constraint letters needed 4223 for `fmul', `movw' and `lpm R,Z' instructions. 4224 (avr_operands): Warn if current opcode is a two-word instruction 4225 and previous opcode was cpse/sbic/sbis/sbrc/sbrs. 4226 (avr_opcodes): New commands added. 4227 (REGISTER_P): Check 'a' and 'v' constraint letters. 4228 (mcu_types): New MCU added. 4229 42302000-04-22 Timothy Wall <twall@cygnus.com> 4231 4232 * config/tc-ia64.c (pseudo_func[]): Add new "nat" entry equivalent 4233 to "natval". 4234 (operand_match): Conditionally insert default bit values for IMMU9. 4235 42362000-04-14 Matthew Green <mrg@cygnus.com> 4237 4238 * configure.in: Add NetBSD/sparc ELF and NetBSD/sparc64 support. 4239 * configure: Rebuilt. 4240 4241Fri Apr 21 14:29:43 2000 Jeffrey A Law (law@cygnus.com) 4242 Jason Eckhardt <jle@cygnus.com> 4243 4244 * config/tc-hppa.c (md_apply_fix): Handle new PA2.0 formats. 4245 4246 * config/tc-hppa.c (CHECK_ALIGN): New macro. 4247 Added handling of new operand types l,y,&,fe,fE,fx. 4248 4249Fri Apr 21 13:20:53 2000 Richard Henderson <rth@cygnus.com> 4250 David Mosberger <davidm@hpl.hp.com> 4251 Timothy Wall <twall@cygnus.com> 4252 Andrew MacLeod <amacleod@cygnus.com> 4253 Jim Wilson <wilson@cygnus.com> 4254 4255 * Makefile.am (CPU_TYPES): Add ia64. 4256 (TARGET_CPU_CFILES): Add config/tc-ia64.c. 4257 (TARGET_CPU_HFILES): Add config/tc-ia64.h. 4258 * Makefile.in: Rebuild. 4259 * app.c (do_scrub_chars): Handle DOUBLESLASH_COMMENTS. 4260 * configure: Rebuild. 4261 * configure.in: Recognize ia64 as cpu type. Set bfd_gas. 4262 (ia64-*-elf*, ia64-*-linux-gnu*): New targets. 4263 * expr.c (expr): Handle md_optimize_expr. 4264 * read.c (LEX_HASH): Add comment. 4265 * config/tc-ia64.c, config/tc-ia64.h: New files. 4266 42672000-04-21 Richard Henderson <rth@cygnus.com> 4268 4269 * config/tc-d30v.c (write_2_short): Disregard opcode1->ecc when 4270 bundling a non-delayed branch type instruction. 4271 42722000-04-20 Alexandre Oliva <aoliva@cygnus.com> 4273 4274 * config/tc-mn10300.c (HAVE_AM30): Define. 4275 (md_assemble): Use it. 4276 42772000-04-19 Alan Modra <alan@linuxcare.com.au> 4278 4279 * config/obj-elf.c (obj_elf_change_section): Check for changed 4280 section attributes. 4281 4282 * Makefile.am: (CPU_MULTI_VALID): Remove. 4283 (MULTI_CPU_TYPES): Define. 4284 (MULTI_CPU_OBJ_VALID): Define. 4285 (DEPTC): Use the above. 4286 (DEPOBJ): Same here. 4287 (DEP2): And here. 4288 Regenerate dependencies. 4289 * Makefile.in: Regenerate. 4290 42912000-04-19 Michael Sokolov <msokolov@ivan.Harhan.ORG> 4292 4293 * Makefile.am (YACC, LEX): Get them from configure. 4294 42952000-04-18 H.J. Lu (hjl@gnu.org) 4296 4297 * config/tc-i386.c (offset_in_range): Use addressT instead of 4298 bfd_vma for non-bfd assemblers. 4299 43002000-04-17 Alan Modra <alan@linuxcare.com.au> 4301 4302 * config/tc-i386.c (offset_in_range): Sign extend val so BFD64 4303 doesn't give spurious errors. 4304 43052000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG> 4306 4307 * as.h (SEEK_SET): Define if undefined. 4308 43092000-04-13 Alan Modra <alan@linuxcare.com.au> 4310 4311 * config/tc-arm.c (md_apply_fix3): Don't use UL suffix on 4312 constants, and don't assume offsetT is 32 bits. 4313 43142000-04-12 Andrew Cagney <cagney@b1.cygnus.com> 4315 4316 * config/tc-d10v.h: Include "write.h" to get definition of fixS. 4317 (md_pcrel_from_section): Add prototype. 4318 (d10v_fix_adjustable): Add prototype. 4319 (d10v_force_relocation): Replace 'struct fix' with 'fixS'. 4320 4321 * config/tc-d10v.c (md_apply_fix3): Add paren around &&. 4322 43232000-04-12 Nick Clifton <nickc@cygnus.com> 4324 4325 * config/tc-d10v.c (find_opcode): Correctly calculate position of 4326 symbol in frag chain. 4327 43282000-04-10 Alan Modra <alan@linuxcare.com.au> 4329 4330 * config/tc-i386.c (fits_in_signed_byte): Change arg to offsetT. 4331 (fits_in_unsigned_byte, fits_in_unsigned_word): Ditto. 4332 (fits_in_signed_word, smallest_imm_type): Ditto. 4333 (md_assemble): Use an offsetT var to hold offsetT values, not a 4334 long. 4335 (offset_in_range): New. 4336 (md_assemble): Use it. 4337 (md_convert_frag): Change type of target_address, opcode_address, 4338 and displacement_from_opcode_start to offsetT. 4339 (md_create_short_jump): Change type of offset to offsetT. 4340 (md_create_long_jump): Ditto. 4341 (md_apply_fix3): Use -4, not 0xfffffffc for BFD_RELOC_386_PLT32. 4342 (md_chars_to_number): Remove. 4343 (output_invalid): Remove duplicate prototype. 4344 43452000-04-09 Nick Clifton <nickc@cygnus.com> 4346 4347 * Makefile.am (CPU_TYPES): Add 'avr'. 4348 (TARGET_CPU_CFILES): Add 'tc-avr.c'. 4349 (TARGET_CPU_HFILES): Add 'tc-avr.h'. 4350 4351 * Makefile.in: Regenerate. 4352 4353 * doc/as.texinfo: Add M32R documentation. 4354 4355Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com> 4356 4357 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add 4358 --enable-build-warnings option. 4359 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions. 4360 * Makefile.in, configure: Re-generate. 4361 43622000-04-07 Nick Clifton <nickc@cygnus.com> 4363 4364 * config/tc-arm.c (md_apply_fix3): Treat BFD_RELOC_ARM_PCREL_BLX 4365 in the same way as BFD_RELOC_ARM_PCREL_BRANCH, and 4366 BFD_RELOC_THUMB_PCREL_BLX lie BFD_RELOC_THUMB_PCREL_BRANCH. 4367 (tc_gen_reloc): Accept BFD_RELOC_{ARM|THUMB}_PCREL_BLX. 4368 (arm_force_relocation): Force relocations for 4369 BFD_RELOC_{ARM|THUMB}_PCREL_BLX as well. 4370 4371Wed Apr 5 22:26:32 2000 J"orn Rennecke <amylaar@cygnus.co.uk> 4372 4373 * config/tc-sh.c (get_operands): There's no third operand if the 4374 first operand is an immediate. 4375 4376Wed Apr 5 22:07:19 2000 J"orn Rennecke <amylaar@cygnus.co.uk> 4377 4378 * config/tc-sh.c (immediate): Delete. 4379 (sh_operand_info): Add immediate member. 4380 (parse_reg): Use A_PC for pc. 4381 (parse_exp): Add second argument 'op'. All callers changed. 4382 (parse_at): Expect pc to be coded as A_PC. 4383 Use immediate field in *op. 4384 (insert): Add fourth argument 'op'. All callers changed. 4385 (build_relax): Add second argument 'op'. All callers changed. 4386 (insert_loop_bounds): New function. 4387 (build_Mytes): Remove DISP_4. 4388 Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}. Add REPEAT. 4389 (assemble_ppi): Use immediate field in *operand. 4390 (sh_force_relocation): Handle BFD_RELOC_SH_LOOP_{START,END}. 4391 (md_apply_fix): Likewise. 4392 (tc_gen_reloc): Likewise. Check for a pcrel BFD_RELOC_SH_LABEL. 4393 4394Wed Apr 5 06:35:45 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br> 4395 4396 * config/tc-sparc.c (sparc_ip): Avoid string pasting. 4397 4398Tue Apr 4 19:27:50 2000 Hans-Peter Nilsson <hp@axis.com> 4399 4400 * internals.texi (CPU backend): Document 4401 TC_CHECK_ADJUSTED_BROKEN_DOT_WORD. 4402 44032000-04-04 Alan Modra <alan@linuxcare.com.au> 4404 4405 * po/gas.pot: Regenerate. 4406 4407 * as.c (show_usage): Restore translated part of bug string. 4408 * gasp.c (show_usage): Likewise. 4409 4410 * Makefile.am (MKDEP): Use gcc -MM rather than ../mkdep. 4411 (DEP): Quote when passing vars to sub-make. Use "mv -f" rather 4412 than move-if-change. 4413 (DEP1): Modify for "gcc -MM". 4414 (DEPTC): Likewise. 4415 (DEPOBJ): Likewise. 4416 (DEP2): Likewise. 4417 (CLEANFILES): Add DEPTCA, DEPOBJA, DEP2a, DEPA. 4418 Update dependencies. 4419 * Makefile.in: Regenerate. 4420 44212000-04-03 Alexandre Oliva <aoliva@cygnus.com> 4422 4423 * config/tc-mn10300.c (md_pseudo_table): Use constant names. 4424 (md_begin): Likewise. 4425 (HAVE_AM33): New macro. 4426 (md_assemble): Use it. Match r_regs and xr_regs only if 4427 HAVE_AM33. 4428 44292000-04-03 Alan Modra <alan@linuxcare.com.au> 4430 4431 * as.h: #include "bin-bugs.h" 4432 * as.c (show_usage): Use REPORT_BUGS_TO. 4433 * gasp.c: #include "bin-bugs.h" 4434 (show_usage): Use REPORT_BUGS_TO. 4435 4436 * config/tc-sparc.c (md_show_usage): Add a trailing newline. 4437 4438Mon Apr 3 13:56:03 2000 Hans-Peter Nilsson <hp@axis.com> 4439 4440 * write.c (write_object_file) [! WORKING_DOT_WORD]: If defined, 4441 call TC_CHECK_ADJUSTED_BROKEN_DOT_WORD for each word after 4442 adjustments. 4443 44442000-04-03 Alan Modra <alan@linuxcare.com.au> 4445 4446 * config/tc-i386.c (i386_immediate): Don't assume a constant 4447 immediate is necessarily 16 bits when in 16 bit code mode. 4448 (md_assemble): Instead set guess_suffix here after we have checked 4449 registers. 4450 44512000-04-02 Richard Henderson <rth@cygnus.com> 4452 4453 * config/tc-d30v.c (check_range): Allow signed or unsigned 32-bit 4454 quantities. Correct right shift sign extension. 4455 (build_insn): Make `number' unsigned long. Mask top 6 bits of 4456 32-bit value when shifting into place. 4457 44582000-04-01 Ian Lance Taylor <ian@zembu.com> 4459 4460 * app.c: Add ATTRIBUTE_UNUSED as needed. 4461 * config/tc-ppc.c: Likewise. 4462 (ppc_size): Make unsigned long. 4463 (ppc_insert_operand): Add casts to avoid warnings. 4464 44652000-03-31 Nick Clifton <nickc@cygnus.com> 4466 4467 * config/tc-d10v.h (md_flush_pending_output): Define. 4468 44692000-03-29 Nick Clifton <nickc@cygnus.com> 4470 4471 * config/tc-sh.h (SEG_NAME): New macro: return the name of a 4472 segment. Works for both BFD_ASSEMBLER and others. 4473 (SUB_SEGMENT_ALIGN): Use SEG_NAME. 4474 44752000-03-29 Nick Clifton <nickc@cygnus.com 4476 4477 * config/tc-arm.c (tinsns): Add "bal" instruction pattern. 4478 44792000-03-28 Alan Modra <alan@linuxcare.com.au> 4480 4481 * listing.c (LISTING_LHS_WIDTH): Default depends on 4482 LISTING_WORD_SIZE. 4483 (LISTING_LHS_WIDTH_SECOND): Default to LISTING_LHS_WIDTH. 4484 44852000-03-27 Ian Lance Taylor <ian@zembu.com> 4486 4487 * config/tc-sh.c (md_show_usage): Use backslash before newline in 4488 string literal. 4489 44902000-03-27 Alan Modra <alan@linuxcare.com.au> 4491 4492 * config/tc-avr.h (TC_HANDLES_FX_DONE): Define. 4493 4494 * config/tc-avr.c (mcu_types): Add missing initialiser. 4495 (md_pcrel_from_section): Add prototype. 4496 (avr_operand): Remove redundant test of unsigned < 0. 4497 (avr_cons_fix_new): Ensure exp_mod_pm zero on function exit. 4498 44992000-03-27 Denis Chertykov <denisc@overta.ru> 4500 4501 * config/tc-avr.c: New file for AVR support. 4502 * config/tc-avr.h: Likewise. 4503 * configure.in: Add AVR support. 4504 * configure: Regenerate. 4505 45062000-03-26 Timothy Wall <twall@cygnus.com> 4507 4508 * gasp.c (macro_op): Add new argument to check_macro call. 4509 Macro structure definitions moved to macro.h 4510 * sb.h: Add argument to prototype for input_scrub_include_sb. 4511 * input-scrub.c (input_scrub_include_sb): Allow disabling of sb 4512 nesting checks with an additional flag. 4513 (struct input_save): Add flag to indicate whether current sb 4514 should be checked for proper macro/conditional nesting. 4515 (input_scrub_push/pop): Save/restore nest check flag. 4516 (input_scrub_next_buffer): Ditto. Also call end of macro hook if 4517 defined. 4518 * macro.c (check_macro): Allow caller to retrieve parsed macro 4519 information if a pointer is provided. This information may be 4520 used by the new macro hooks. 4521 * macro.h: Update prototype for check_macro. Macro struct 4522 definitions moved here from macro.c/gasp.c. 4523 * read.c (read_a_source_file): Add parameter to check_macro call, 4524 and pass macro info to the macro hook, if defined. 4525 (input_scrub_insert_line): New. Allow insertion of a line of 4526 characters into the input stream. 4527 (input_scrub_insert_file): New. Allow insertion of an arbitrary 4528 file into the input stream. 4529 (s_include): Use input_scrub_insert_file. 4530 * internals.texi: Document new macro hooks. 4531 * as.h: New prototypes added. 4532 45332000-03-26 Alan Modra <alan@linuxcare.com.au> 4534 4535 * config/tc-i386.c: Don't start any as_bad or as_warn message with 4536 an initial capital letter. 4537 (i386_index_check): Reindent. 4538 45392000-03-19 Nick Clifton <nickc@cygnus.com> 4540 4541 * config/tc-arm.c (md_apply_fix3): Fix bug detecting overflow of pc 4542 relative branches. 4543 45442000-03-17 Thomas de Lellis <tdel@windriver.com> 4545 4546 * config/tc-arm.c (do_t_adr): Flag "adr Rd,label" 4547 instruction operand bad if Rd > 7 when generating 4548 thumb instructions. Prevents for example, 4549 "adr r12,label" from silently failing and generating 4550 the wrong instruction. 4551 45522000-03-17 Nick Clifton <nickc@cygnus.com> 4553 4554 * config/tc-arm.c (md_apply_fix3): Handle same-section relocations 4555 that have a destingation >= 0x400000. 4556 Fix compile time warning messages. 4557 4558Thu Mar 16 23:45:16 2000 J"orn Rennecke <amylaar@cygnus.co.uk> 4559 4560 * config/tc-sh.c (md_begin): When encountering insn that are 4561 not supported by the current arch, only change the name if 4562 its contents are the same as prev_name. 4563 (get_specific): If the the architecture doesn't match, fail. 4564 4565Thu Mar 16 21:18:13 2000 J"orn Rennecke <amylaar@cygnus.co.uk> 4566 4567 * config/tc-sh.c (IDENT_CHAR): Define. 4568 (parse_reg): Use it instead of isalnum. Put r[0..7]_bank operand 4569 matching back where it came from. 4570 4571Thu Mar 16 20:58:10 2000 J"orn Rennecke <amylaar@cygnus.co.uk> 4572 4573 * config/tc-sh.c (md_show_usage): Add description of -dsp. 4574 45752000-03-15 Jonathan Larmour <jlarmour@redhat.co.uk> 4576 4577 * config/tc-sh.c (parse_reg): Match r[0..7]_bank operands before 4578 normal operands. 4579 45802000-03-15 Kazu Hirata <kazu@hxi.com> 4581 4582 * config/tc-h8300.c: Add ATTRIBUTE_UNUSED as appropriate. 4583 4584Mon Mar 13 22:02:59 2000 Hans-Peter Nilsson <hp@axis.se> 4585 4586 * expr.c (operand) [case 'f']: When testing if '0f' can start a 4587 floating-point-number, make sure 'f' is in FLT_CHARS. 4588 4589Sat Mar 11 00:01:39 2000 Hans-Peter Nilsson <hp@axis.se> 4590 4591 * read.c (TC_IMPLICIT_LCOMM_ALIGNMENT): New default-definition. 4592 (s_lcomm_internal): Use it. 4593 * doc/internals.texi (CPU backend): Document it. 4594 * config/obj-evax.h (TC_IMPLICIT_LCOMM_ALIGNMENT): Set to 2**3 4595 bytes. 4596 45972000-03-10 Geoffrey Keating <geoffk@cygnus.com> 4598 4599 * config/tc-mips.c (mips_ip): Don't put stuff in .rodata 4600 when embedded-pic. 4601 4602 * config/tc-mips.c (SWITCH_TABLE): The ELF embedded-pic 4603 implementation doesn't have special handling for switch 4604 statements. 4605 (macro_build): Allow for code in sections other than .text. 4606 (macro): Likewise. 4607 (mips_ip): Likewise. 4608 (md_apply_fix): Do pc-relative relocation madness for MIPS ELF. 4609 Don't perform relocs if we will be outputting them. 4610 (tc_gen_reloc): For ELF, just use fx_addnumber for pc-relative 4611 relocations. Allow BFD_RELOC_16_PCREL_S2 relocs when 4612 embedded-pic. 4613 46142000-03-09 Catherine Moore <clm@cygnus.com> 4615 4616 * config/tc-m32r.c (m32r_fix_adjustable): Look up the 4617 relocation type based on the entry in the fixup structure. 4618 Put S_IS_EXTERN processing back in. 4619 46202000-03-08 H.J. Lu (hjl@gnu.org) 4621 4622 * Makefile.am (install-exec-tooldir): Depend on 4623 install-exec-bindir for parallel make. 4624 * Makefile.in: Regenerated. 4625 46262000-03-06 Nick Clifton <nickc@cygnus.com> 4627 4628 * config/tc-m32r.c (struct md_longopts): Add -m32r command line 4629 switch. 4630 (md_parse_option): Parse -m32r command line switch - disable m32rx 4631 compatability. 4632 (md_show_usage): Document new option. 4633 4634 * doc/Makefile.am (CPU_DOCS): Add c-m32r.texi. 4635 * doc/Makefile.in: Regenerate. 4636 * doc/c-m32r.texi (M32R-Opts): Document new command line switch. 4637 46382000-03-02 Michael Meissner <meissner@redhat.com> 4639 4640 * config/tc-d30v.c (check_range): Remove code that incorrectly 4641 sign extended values where bits < 32. 4642 46432000-03-02 H.J. Lu (hjl@gnu.org) 4644 4645 * configure.in: Support --enable-targets=all on ia32. 4646 * configure: Regenerated. 4647 46482000-03-01 Nick Clifton <nickc@cygnus.com> 4649 4650 * gasp.c (do_align): Remove bogus check of alignment value. 4651 46522000-02-27 Thomas de Lellis <tdel@windriver.com> 4653 4654 * config/obj-elf.c (elf_frob_symbol): Remove code which when 4655 TC_PPC was defined forced the type of a symbol with no other type 4656 to be BSF_OBJECT. 4657 46582000-02-27 Hans-Peter Nilsson <hp@axis.com> 4659 4660 * doc/internals.texi (CPU backend): Mention that 4661 line_separator_chars do not break up comments. Fix typos for 4662 LEX_AT and LEX_NAME descriptions. Document operands for 4663 TC_EQUAL_IN_INSN, md_operand and md_section_align. Correct 4664 description of md_create_short_jump usage. Document argument for 4665 md_undefined_symbol. 4666 46672000-02-27 Jakub Jelinek <jakub@redhat.com> 4668 4669 * config/tc-sparc.c (OPTION_UNDECLARED_REGS): New option. 4670 (md_parse_option): Handle it. 4671 (md_show_usage): Document it. 4672 46732000-02-27 Ian Lance Taylor <ian@zembu.com> 4674 4675 * config/tc-alpha.c (md_assemble): Accept `1' and `9' in an 4676 opcode, for the instruction `pal19'. From Andrea Arcangeli 4677 <andrea@suse.de>. 4678 46792000-02-26 Alan Modra <alan@spri.levels.unisa.edu.au> 4680 4681 * config/tc-i386.c (i386_immediate): Move constant operand sizing 4682 from here.. 4683 (md_assemble): To here, before template operands are matched. 4684 Also ensure a constant immediate is sign extended when we know the 4685 size is at most 16 bits. This is to catch cases like "add 4686 $0xffc0,%ax" where we don't know the size, and thus that the 4687 immediate can be represented as Imm8S until after parsing the 4688 register operand. 4689 (i386_displacement): Similarly sign extend 16 bit constant 4690 displacements. 4691 (md_assemble): Relax 16-bit jump constant range check to suit sign 4692 extended displacements. 4693 46942000-02-26 Andreas Jaeger <aj@suse.de> 4695 4696 * doc/c-mips.texi (MIPS Opts): Fix typo in last patch. 4697 46982000-02-25 Alan Modra <alan@spri.levels.unisa.edu.au> 4699 4700 * config/tc-i386.c (md_assemble): Don't swap intersegment jmp and 4701 call operands when intel_syntax. 4702 (intel_float_operand): Return 2 for "fi...". 4703 (i386_operand_modifier): Change "DWORD PTR" test to suit above. 4704 Return SHORT_MNEM_SUFFIX for "WORD PTR" when "fi...". Revert 4705 earlier "SHORT" change. 4706 (md_assemble): When determining suffix from Regs, exclude 4707 InOutPortReg. 4708 47092000-02-24 Nick Clifton <nickc@cygnus.com> 4710 4711 * configure: Add arm-wince, mips-pe and sh-pe targets. 4712 * configure: Regenerate. 4713 4714 * config/obj-coff.h (COFF_WITH_PE): Define for mips-pe and 4715 sh-pe targets. 4716 (TARGET_FORMAT): Set to "pe-shl" for the sh-pe target and to 4717 "pe-mips" for the mips-pe target. 4718 4719 * config/tc-arm.c (insns): Change displacement encoded in BL 4720 and B instructions if the target port is arm-wince. 4721 (do_ldst): Do not bias the relocation offset if the target 4722 port is arm-wince. 4723 (md_pcrel_from): Add in missing relocation offset bias if the 4724 target os arm-wince. 4725 4726 * config/tc-mips.c (mips_target_format): Support COFF flavour. 4727 (md_begin): Disable -G support for mips-pe target. 4728 (md_apply_fix): Treat BFD_RELOC_RVA reloc as BFD_RELOC_32. 4729 * config/tc-mips.h (USE_GLOBAL_POINTER_OPT): Add support for 4730 COFF flavour. 4731 4732 * config/tc-sh.c (md_begin): sh-pe target is little endian. 4733 * config/tc-sh.h (SUB_SEGMENT_ALIGN): If using a BFD 4734 assembler, just set the alignment to 4. 4735 4736 * config/te-wince-pe.h: New file for WinCE targets. Define 4737 TE_WINCE. 4738 47392000-02-25 Alan Modra <alan@spri.levels.unisa.edu.au> 4740 4741 * config/tc-i386.c (md_assemble): Swap segments too for intel mode 4742 string instructions. 4743 (i386_operand_modifier): Set i.suffix = WORD_MNEM_SUFFIX for SHORT. 4744 (i386_intel_memory_operand): After finding a segment override, 4745 check again for no `[' before looking for a displacement. Bomb if 4746 more than one displacement rather than silently discarding the 4747 second and subsequent ones. Free strings malloc'd by 4748 build_displacement_string. 4749 47502000-02-24 Catherine Moore <clm@cygnus.com> 4751 4752 * config/obj-som.c (obj_pseudo_table): Add "weak". 4753 (obj_som_weak): New routine. 4754 47552000-02-24 Alan Modra <alan@spri.levels.unisa.edu.au> 4756 4757 * config/tc-i386.c (union i386_op): New. 4758 (struct _i386_insn): Delete disps[], imms[], regs[]. Add op[]. 4759 Throughout file replace occurences of disps[n], imms[n], regs[n] 4760 with equivalent op[n].disps, op[n].imms, op[n].regs. Simplify 4761 intel mode operand swapping. Add assert in regKludge and 4762 fake_zero_displacement code. Test i.types[n] when outputting 4763 displacements and immediates. Combine output of Disp16 with 4764 Disp32. 4765 (md_assemble): Don't try to fix broken UNIXWARE_COMPAT opcodes 4766 when in intel mode by (not) reversing fsub and fdiv operands 4767 before the template search. This fails for single operand 4768 shorthand forms of the instruction, and if UNIXWARE_COMPAT is 4769 undefined. Instead fix the base_opcode after we've found the 4770 template. Move base_opcode xor with found_reverse_match from 4771 opcode output code to before this fix so we test for the correct 4772 opcodes. 4773 (md_assemble): Don't use strcmp when deciding to ignore the suffix 4774 check in intel mode. Instead compare opcodes. 4775 4776 * config/tc-i386.h (TC_RELOC): Delete. 4777 * config/tc-i386.c (TC_RELOC): Delete. Replace usage of TC_RELOC 4778 with equivalent call to reloc. 4779 4780 * as.h (flag_m68k_mri): Move declaration after target include, and 4781 only declare when TC_M68K defined. Define as zero otherwise. 4782 (LABELS_WITHOUT_COLONS, NO_PSEUDO_DOT): If undefined, define as 0. 4783 * app.c (scrub_m68k_mri): Declare only when TC_M68K defined. 4784 Define as zero otherwise. 4785 (do_scrub_begin): Use m68k_mri parameter only when TC_M68K defined. 4786 (struct app_save): Declare scrub_m68k_mri only when TC_M68K. 4787 (app_push, app_pop): Save scrub_m68k_mri only when TC_M68K. 4788 (do_scrub_chars): Use LABELS_WITHOUT_COLONS directly rather than 4789 testing whether defined. 4790 * cond.c (ignore_input): Use NO_PSEUDO_DOT directly. 4791 * expr.c (operand): #ifdef unused case labels when TC_M68K undefined. 4792 * read.c: Use LABELS_WITHOUT_COLONS and NO_PSEUDO_DOT directly 4793 rather than testing whether defined. 4794 (s_mri): Set flag_m68k_mri only when TC_M68K defined. 4795 (parse_mri_cons): Declare and use only when TC_M68K. 4796 * config/tc-hppa.h (LABELS_WITHOUT_COLONS): Define as 1. 4797 * config/tc-m68k.h (NO_PSEUDO_DOT): Define as 1. 4798 * config/tc-m88k.h (NO_PSEUDO_DOT): Define as 1. 4799 4800 * NEWS: Mention IBM 370 support. 4801 48022000-02-23 Richard Henderson <rth@cygnus.com> 4803 4804 * config/tc-i386.c (md_assemble): When swapping operands for 4805 intel_syntax, assume everything that's not Imm or Disp is a 4806 register. 4807 48082000-02-23 Linas Vepstas <linas@linas.org> 4809 4810 * config/tc-i370.c, config/tc-i370.h: New files. 4811 * Makefile.am: Add support for Linux/IBM 370. 4812 * configure.in: Likewise. 4813 * app.c (do_scrub_begin): Don't lex single quote when TC_I370. 4814 * config/obj-elf.c: Include elf/i370.h 4815 (obj_elf_section): Don't do anything special for flag_mri if TC_I370. 4816 4817 * Makefile.in: Regenerate. 4818 * configure: Regenerate. 4819 4820 * doc/c-i370.texi: New file. 4821 * doc/all.texi: Include it. 4822 * doc/as.texinfo: And here. 4823 * doc/Makefile.am(CPU_DOCS): Add c-i370.texi. 4824 * doc/Makefile.in: Regenerate. 4825 48262000-02-19 Michael Meissner <meissner@redhat.com> 4827 4828 * config/tc-d30v.c (parallel_ok): Use FLAG_NOT_WITH_ADDSUBppp to 4829 determine if an instruction can be used in parallel with an ADDppp 4830 or SUBppp instruction. 4831 48322000-02-22 Andrew Haley <aph@cygnus.com> 4833 4834 * doc/c-mips.texi (MIPS Opts): Document -mgp32 and -mgp64. 4835 48362000-02-22 Andrew Haley <aph@cygnus.com> 4837 4838 * config/tc-mips.c (mips_gp32): New variable. 4839 (macro_build) Use mips_gp32. 4840 (mips_ip): Ditto. 4841 (md_longopts): Add "-mgp32" and "-mgp64". 4842 (md_parse_option): Add OPTION_GP32 and OPTION_GP64. 4843 4844 (OPTION_M7900): Change offset 4845 (OPTION_NO_M7900): Ditto. 4846 48472000-02-22 Alexandre Oliva <oliva@lsd.ic.unicamp.br> 4848 4849 * config/obj-coff.c (add_lineno): Accept non-positive lineno with 4850 warning, and bump it to 1. 4851 48522000-02-22 Ian Lance Taylor <ian@zembu.com> 4853 4854 From Brad Lucier <lucier@math.purdue.edu>: 4855 * dwarf2dbg.c (print_stats): Add cast to force printf argument to 4856 match format. 4857 48582000-02-21 Catherine Moore <clm@cygnus.com> 4859 4860 * config/tc-mips.c (MF_HILO_INSN): Define. 4861 (mips_7000_hilo_fix): Declare. 4862 (append_insn): Conditionally insert nops after an mfhi/mflo insn. 4863 (md_parse_option): Check for 7000_HILO_FIX options. 4864 (OPTION_M7000_HILO_FIX): Define. 4865 (OPTION_NO_M7000_HILO_FIX): Define. 4866 * doc/c-mips.texi (-mfix7000): Describe. 4867 48682000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au> 4869 4870 * listing.c (print_lines): Remove unused variable `end'. 4871 4872 * config/tc-i386.c (md_assemble): Use `reloc()' to select reloc 4873 type for JumpInterSegment output. Use enum bfd_reloc_code_real for 4874 reloc_type when BFD_ASSEMBLER. 4875 (md_estimate_size_before_relax): Use enum bfd_reloc_code_real for 4876 reloc_type when BFD_ASSEMBLER. Move common code out of switch 4877 statement and quell signed vs. unsigned comparison warning. 4878 48792000-02-18 Nick Clifton <nickc@cygnus.com> 4880 4881 * config/tc-d10v.c (find_opcode): Add a symbol's value to 4882 the computed frag offset, rather than overwriting it. 4883 4884Thu Feb 17 00:11:08 2000 J"orn Rennecke <amylaar@cygnus.co.uk> 4885 4886 * config/tc-sh.c ("elf/sh.h"): Include. 4887 (sh_dsp, valid_arch, reg_x, reg_y, reg_efg): New static variables. 4888 (md.begin): Initialize target_arch. 4889 Only include opcodes in has table that match selected architecture. 4890 (parse_reg): Recognize register names for sh-dsp. 4891 (parse_at): Recognize post-modify addressing. 4892 (get_operands): The leading space is now optional. 4893 (get_specific): Remove FDREG_N support. Add support for sh-dsp 4894 arguments. Update valid_arch. 4895 (build_Mytes): Add support for SDT_REG_N. 4896 (find_cooked_opcode): New function, broken out of md_assemble. 4897 (assemble_ppi, sh_elf_final_processing): New functions. 4898 (md_assemble): Use find_cooked_opcode and assemble_ppi. 4899 (md_longopts, md_parse_option): New option: -dsp. 4900 * config/tc-sh.h (elf_tc_final_processing): Define. 4901 (sh_elf_final_processing): Declare. 4902 4903Fri Feb 11 14:21:51 2000 Jeffrey A Law (law@cygnus.com) 4904 4905 * config/tc-hppa.c (pa_build_unwind_subspace): Use subseg_new to create 4906 the unwinder subspace. Save the current seg/subseg before creating 4907 the new seg/subseg. 4908 49092000-02-10 Nick Clifton <nickc@cygnus.com> 4910 4911 * config/tc-mcore.c (INST_BYTE0): Redefine to handle big and 4912 little endian targets. 4913 (INST_BYTE1): Redefine to handle big and little endian 4914 targets. 4915 (cpu_type): New type: Select between M340 and M210. 4916 (parse_psrmod): New function: Parse the PSRCLR and PSRSET 4917 instructions of the M340. 4918 (md_assemble): Add support for the MULSH and OPSR classes of 4919 instructions. 4920 (md_atof): Add support for little endian targets. 4921 (md_parse_option): Add support for -EL, -EB and -mcpu command 4922 line switches. 4923 (md_convert_frag): Add support for little endian targets. 4924 (md_apply_fix3): Add support for little endian targets. 4925 (md_number_to_chars): Add support for little endian targets. 4926 49272000-02-10 Timothy Wall <twall@redhat.com> 4928 4929 * read.c (read_a_source_file): If TC_START_LABEL_WITHOUT_COLON is 4930 defined, use it to verify the symbol just read should be a label. 4931 49322000-02-10 Timothy Wall <twall@redhat.com> 4933 4934 * app.c (do_scrub_chars): Handle "||" for parallel instructions 4935 when DOUBLEBAR_PARALLEL is defined. Avoid stripping whitespace 4936 around colons when KEEP_WHITE_AROUND_COLON is defined. 4937 * doc/internals.texi (CPU backend): Document DOUBLEBAR_PARALLEL 4938 and KEEP_WHITE_AROUND_COLON. 4939 49402000-02-08 Timothy Wall <twall@redhat.com> 4941 4942 * read.c (s_rept): Call do_repeat, which abstracts the repeat 4943 logic. 4944 (do_repeat): New. Abstract repeat logic so that a "break" can be 4945 implemented. 4946 (end_repeat): New. Provide support for a "break" out of the 4947 repeat loop. 4948 * read.h: Add prototypes for new functions. 4949 49502000-02-08 Timothy Wall <twall@redhat.com> 4951 4952 * doc/internals.texi: Document NUMBERS_WITH_SUFFIX macro. 4953 * as.h: Provide a default NUMBERS_WITH_SUFFIX definition (zero). 4954 * expr.c: Handle numbers with suffixes if NUMBERS_WITH_SUFFIX is 4955 non-zero. 4956 49572000-02-08 Timothy Wall <twall@redhat.com> 4958 4959 * read.c: Added elseif to directives table. 4960 * read.h: Added prototype for s_elseif. 4961 * doc/as.texinfo: Added description for elseif. 4962 * cond.c (s_elseif): New function 4963 49642000-02-04 Timothy Wall <twall@redhat.com> 4965 4966 * listing.c (print_lines): Remove conditionals causing bug in 4967 listings. 4968 49692000-02-03 Timothy Wall <twall@cygnus.com> 4970 4971 * as.h: Define OCTETS_PER_BYTE and OCTETS_PER_BYTE_POWER 4972 default values. 4973 * frags.c (frag_new): Calculate fr_fix in octets 4974 (frag_now_fix) Return offset as target address offset (bytes). 4975 (frag_now_fix_octets) New - Return offset in octets (8-bit 4976 quantities). 4977 * frags.h: Added prototype for frag_now_fix_octets(). 4978 Distinguish between octets and bytes in field descriptions. 4979 * listing.c (calc_hex): Account for octets vs bytes when 4980 printing addresses/offsets. 4981 (print_lines) Ditto. Also, if LISTING_WORD_SIZE is not 1, and 4982 target is little-endian, print the octets in a word in big-endian 4983 order so that the display looks like a proper hexadecimal number, 4984 instead of having the octets reversed. 4985 * read.c (do_align): When recording alignment, alignment power 4986 should be in terms of target bytes (minimum addressible unit) 4987 instead of octets. 4988 (do_org) Convert ORG target address (byte) argument into an 4989 octet offset when generating a variable fragment. 4990 * symbols.c (resolve_symbol_value): Symbol final value 4991 converted to a target address offset (bytes) from its octet offset. 4992 * config/obj-coff.c (coff_frob_symbol): Symbol target address 4993 offset (bytes) is adjusted by the frag offset (octets) converted 4994 to bytes. 4995 (coff_frob_section) Section alignment power is in terms of bytes; 4996 convert it to an octet alignment power when calculating size (and 4997 size mask) in octets. Don't modify the section size in order to 4998 "align" it for TI COFF, since that format has a different method 4999 for storing alignment information. 5000 50012000-02-01 Timothy Wall <twall@cygnus.com> 5002 5003 * stabs.c (generate_asm_file): Escape backslashes in stabs file 5004 entries, matching the way GCC generates them. If not escaped, the 5005 filename is encoded incorrectly. 5006 50072000-01-31 Nick Clifton <nickc@cygnus.com> 5008 5009 * config/tc-arm.c (reg_table): Add support for ATPCS register 5010 naming conventions. 5011 50122000-01-31 Geoff Keating <geoffk@cygnus.com> 5013 5014 * config/obj-coff.h (OBJ_COPY_SYMBOL_ATTRIBUTES): Don't define if 5015 already defined. 5016 * config/tc-ppc.h [OBJ_XCOFF] (OBJ_COPY_SYMBOL_ATTRIBUTES): 5017 New macro. 5018 * config/tc-ppc.c (ppc_fix_adjustable): Don't look at the frag 5019 of a symbol when we really care about its value. 5020 50212000-01-19 Chandra Chavva <cchavva@cygnus.com> 5022 5023 * config/tc-mcore.c (md_assemble): Give warning message if 5024 operands passes to instruction are more than the spec. 5025 50262000-01-27 Thomas de Lellis <tdel@windriver.com> 5027 5028 * config/tc-arm.c (armadjust_symtab): If the assembler is in 5029 Thumb mode but the label seen was not declared as '.thumb_func' 5030 then set the ST_INFO type to STT_ARM_16BIT mode. This allows 5031 correct disassembly of Thumb code bounded by non function labels. 5032 50332000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au> 5034 5035 * Makefile.am (MULTI_CFILES): Add config/e-i386aout.c 5036 Add dependencies for e-i386aout.o. Fix 2 comment lines. 5037 5038 * Makefile.in: Same here. 5039 Update copyright. 5040 5041 * configure.in: Set bfd_gas for i386-aout when primary target 5042 is bfd. Handle i386aout emulation. Don't use te_file=multi, as 5043 we may need the primary te_file. Remove incorrect comment. 5044 5045 * configure: Regenerate. 5046 5047 * config/e-i386aout.c: New file. 5048 5049 * as.c (USE_EMULATIONS): Move to before print_version_id. 5050 (struct emulation): Add i386aout. 5051 (show_usage): Split text strings. Reformat -a text. Add --em 5052 help. 5053 Update copyright. 5054 5055 * obj.h (struct format_ops): Add s_get_other and s_get_desc. 5056 (aout_format_ops): New. 5057 Update copyright. 5058 5059 * read.c (s_lcomm_internal): Rewrite OBJ_AOUT,OBJ_BOUT 5060 preprocessor conditional and add aout USE_EMULATIONS tests. 5061 (read_a_source_file): Don't pass error strings to printf as 5062 format arg. 5063 Update copyright. 5064 5065 * gasp.c (exp_get_abs): Don't pass error strings to printf as 5066 format arg. 5067 (do_data): Same here. 5068 (process_file): And here. 5069 Update copyright. 5070 5071 * symbols.c (colon): Rewrite "already defined" fatal message 5072 code for aout with USE_EMULATIONS. 5073 Update copyright. 5074 5075 * config/obj-aout.c (OBJ_HEADER): Define. 5076 (obj_pseudo_table): Rename to aout_pseudo_table. Init all 5077 fields of sentinel. 5078 (obj_aout_frob_symbol): Expand S_GET_DESC, S_GET_TYPE, 5079 S_GET_OTHER, S_SET_TYPE macros since we don't need obj-multi 5080 forms here. 5081 (obj_aout_type): Expand S_SET_OTHER here too. 5082 (obj_read_begin_hook): Remove. 5083 (aout_pop_insert): New. 5084 (obj_aout_s_get_other): New. 5085 (obj_aout_s_get_desc): New. 5086 (aout_format_ops): New. 5087 Update copyright. 5088 5089 * config/obj-aout.h (obj_pop_insert): Define so non-multi usage 5090 gets aout_pseudo_table. 5091 (aout_pseudo_table): Declare. 5092 (obj_read_begin_hook): Define. 5093 Update copyright. 5094 5095 * config/obj-coff.c (obj_pseudo_table): Rename to 5096 coff_pseudo_table. 5097 (coff_pop_insert): Use coff_pseudo_table. 5098 (coff_sec_sym_ok_for_reloc): Remove. 5099 (coff_format_ops): Add 0 entries for s_get_size, s_set_size, 5100 and comment all zero entries and remove #if 0 code. 5101 Update copyright. 5102 5103 * config/obj-coff.h (obj_pop_insert): Define. 5104 (coff_pseudo_table): Declare. 5105 Update copyright. 5106 5107 * config/obj-ecoff.c (ecoff_format_ops): Add 0 entries for 5108 s_get_size, s_set_size. Comment all zero entries. 5109 Update copyright. 5110 5111 * config/obj-elf.c (elf_s_get_other): New function. 5112 (obj_read_begin_hook): Rename to elf_obj_read_begin_hook. 5113 (obj_symbol_new_hook): Rename to elf_obj_symbol_new_hook. 5114 (elf_format_ops): Add elf_s_get_other, 0 s_get_size entry, and 5115 comment. 5116 (obj_elf_parse_section_letters): Don't pass error strings to 5117 printf as format arg. 5118 Update copyright. 5119 5120 * config/obj-elf.h (ECOFF_DEBUGGING): Define when 5121 OBJ_MAYBE_ECOFF. 5122 (elf_s_get_other): Declare. 5123 (S_GET_OTHER) Define as elf_s_get_other if not already 5124 defined. 5125 (S_SET_OTHER): Only define when not already defined. 5126 (elf_obj_read_begin_hook): Declare. 5127 (obj_read_begin_hook): Define. 5128 (elf_obj_symbol_new_hook): Declare. 5129 (obj_symbol_new_hook): Define. 5130 Update copyright. 5131 5132 * config/obj-multi.h: Add copyright header and protect against 5133 multiple inclusion. Add * to all function pointers. 5134 (OBJ_HEADER): If defined, include it rather than other defines 5135 in this file. 5136 (obj_frob_file_after_relocs): Test for NULL. 5137 (obj_symbol_new_hook): Here too. 5138 (obj_sec_sym_ok_for_reloc): And here. 5139 (S_GET_OTHER): Define. 5140 (S_GET_DESC): Define. 5141 (ECOFF_DEBUGGING): Remove as it's done in obj-elf.h 5142 (OBJ_MAYBE_ELF): Update comment. 5143 5144 * config/tc-i386.c (i386_immediate): Add OBJ_MAYBE_AOUT to 5145 OBJ_AOUT preprocessor conditional and handle emulation by 5146 testing OUTPUT_FLAVOR. 5147 (i386_displacement): Here too. 5148 (md_section_align): Similarly here. 5149 (i386_target_format): Conditionally compile when more than one 5150 of OBJ_MAYBE_{ELF,COFF,AOUT} defined. Add aout case. 5151 (i386_immediate): Fix error message for aout BFD_ASSMBLER. 5152 (i386_displacement): Here too. 5153 Update copyright. 5154 5155 * config/tc-i386.h (AOUT_TARGET_FORMAT): Define for each TE_*. 5156 Define TARGET_FORMAT for aout only when not multi. 5157 Update copyright. 5158 5159 * config/te-multi.h: Delete file as it's identical to te-generic.h 5160 51612000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au> 5162 5163 * config/tc-i386.h (DWORD_MNEM_SUFFIX): Delete. 5164 * config/tc-i386.c (DWORD_MNEM_SUFFIX): Rename all occurrences to 5165 LONG_MNEM_SUFFIX. 5166 5167 * config/tc-i386.h (INTEL_DWORD_MNEM_SUFFIX): Rename to 5168 DWORD_MNEM_SUFFIX. 5169 * config/tc-i386.c (INTEL_DWORD_MNEM_SUFFIX): Here too. Fix some 5170 comments. 5171 51722000-01-13 Clinton Popetz <cpopetz@cygnus.com> 5173 5174 * config/tc-mips.c (mips_do_align): New function. 5175 * config/tc-mips.h (md_do_align): Define. 5176 51772000-01-10 Philip Blundell <philb@gnu.org> 5178 5179 * doc/c-arm.texi (ARM Options): Fix typo. 5180 (ARM-Chars): Correct description of `#'. Mention that `;' is a 5181 line separator for Linux. 5182 * doc/as.texinfo (Comments): Mention the ARM. 5183 51842000-01-10 Philip Blundell <pb@futuretv.com> 5185 5186 * configure.in (arm*-*-conix*): New target. 5187 (arm*-*-linux-gnu*): Match instead of arm-*-linux* and 5188 armv*-*-linux-gnu. 5189 * configure: Regenerate. 5190 51912000-01-03 Martin v. Loewis <loewis@informatik.hu-berlin.de> 5192 5193 * config/obj-elf.c (elf_pseudo_table): Define visibility pseudos. 5194 (obj_elf_visibility): New function. 5195 5196 * doc/as.texinfo (Visibility): New node: document visibility 5197 pseudo ops. 5198 5199For older changes see ChangeLog-9899 5200