1 2001-10-12 Nick Clifton <nickc@cambridge.redhat.com>
3 * CONTRIBUTORS: Update contact email address.
5 2001-10-11 Kazu Hirata <kazu@hxi.com>
7 * config/tc-alpha.c: Fix comment typos.
8 * config/tc-cris.c: Likewise.
9 * config/tc-hppa.c: Likewise.
10 * config/tc-i370.c: Likewise.
11 * config/tc-mips.c: Likewise.
12 * config/tc-mn10200.c: Likewise.
13 * config/tc-mn10300.c: Likewise.
14 * config/tc-sh.c: Likewise.
15 * config/tc-tahoe.c: Likewise.
16 * config/tc-v850.c: Likewise.
18 2001-10-11 Kazu Hirata <kazu@hxi.com>
20 * app.c: Fix comment typos.
21 * bit_fix.h: Likewise.
23 * itbl-ops.c: Likewise.
25 2001-10-11 Nick Clifton <nickc@cambridge.redhat.com>
27 * input-file.c: Include safe-ctype.h.
28 (input_file_open): Use ISSPACE instead of isspace.
30 2001-10-10 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
32 * config/tc-mips.c (mips_cpreturn_offset): New variable.
33 (mips_cpreturn_register): Likewise.
34 (mips_gp_register): Likewise.
35 (s_cpsetup): New function prototype.
36 (s_cplocal): Likewise.
37 (s_cpreturn): Likewise.
38 (s_gpvalue): Likewise.
39 (mips_pseudo_table): Add .cpsetup, .cplocal, .cpreturn, .gpvalue
41 (macro): Don't warn about .cprestore for NewABI.
42 (md_pcrel_from): Code cleanup.
43 (mips_force_relocation): Force output of some NewABI relocations even
44 without a defined symbol.
45 (s_cpload): Ignore .cpload for NewABI.
46 (s_cpsetup): Handle .cpsetup.
47 (s_cplocal): Handle .cplocal.
48 (s_cprestore): Ignore .cprestore for NewABI.
49 (s_cpreturn): Handle .cpreturn.
50 (s_gpvalue): Handle .gpvalue.
51 (s_cpadd): Ignore .cpadd for NewABI.
52 (nopic_need_relax): Take g_switch_value into account as gp
54 (tc_gen_reloc): Don't handle BFD_RELOC_MIPS_{CALL,GOT}* for NewABI.
56 2001-10-10 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
58 * config/tc-mips.c (my_getSmallParser): New function prototype.
59 (small_ex_type): Named this enum, more return values for
60 my_getSmallExpression.
61 (mips_ip): Allow SPC and HT between arguments. Handle some NewABI
62 triple relocations. Protect some parts with ifdef OBJ_ELF.
63 (percent_op_match): New struct, lookup table for %some_reloc().
64 (my_getSmallParser): New function, parses nested percent_ops also.
65 (my_getSmallExpression): Rewite to support nested percent_ops.
67 2001-10-10 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
70 (load_address): Support both 32- and 64-bit addresses.
71 (macro): Call load_register correctly. Expand 64-bit loads ans stores.
72 (macro2): Call load_address correctly.
74 2001-10-09 Christian Groessler <cpg@aladdin.de>
76 * config/tc-z8k.c: Include opcodes/z8k-opc.h after bfd.h
77 since z8k-opc.h now uses the PARAMS macro.
79 2001-10-09 Aldy Hernandez <aldyh@redhat.com>
81 * config/tc-arm.c: Change MAVERIK to MAVERICK.
83 2001-10-09 Alan Modra <amodra@bigpond.net.au>
85 * config/obj-elf.c: Make use of elf_group_name and elf_next_in_group
87 (obj_elf_change_section): Rename "group" to "group_name".
88 (obj_elf_section): Likewise.
89 (elf_frob_file): Don't use sec->lineno for SHT_GROUP section to store
90 first member section; Instead use elf_next_in_group.
92 2001-10-09 Alan Modra <amodra@bigpond.net.au>
94 * config/obj-elf.c: (obj_elf_change_section): Add "group" param.
95 Set elf_section_data group from it. Warn if group name changed.
96 (obj_elf_parse_section_letters): Parse 'G' too.
97 (obj_elf_section): Parse group name.
98 (struct group_list): New.
99 (build_group_lists): New function.
100 (elf_frob_file): Create SEC_GROUP section(s).
102 * config/obj-elf.c: (elf_copy_symbol_attributes): Zap trailing
105 2001-10-08 Aldy Hernandez <aldyh@redhat.com>
107 * doc/arm/c-arm.texi (ARM Options): Add arm9e documentation.
109 * config/tc-arm.c (ARM_EXT_MAVERIK): New macro.
110 (cirrus_regtype): New enum.
111 (LONGEST_INST): Change to 10.
118 (insns): Add cirrus dsp instructions.
119 (ARM_EXT_MAVERIKSC_REG): New.
120 (cirrus_register): New.
121 (cirrus_mvf_register): New.
122 (cirrus_mvd_register): New.
123 (cirrus_mvfx_register): New.
124 (cirrus_mvdx_register): New.
125 (cirrus_mvax_register): New.
126 (ARM_EXT_MAVERIKsc_register): New.
127 (reg_table): Add cirrus registers.
128 (cirrus_valid_reg): New.
129 (cirrus_reg_required_here): New.
130 (do_c_binops_1): New.
131 (do_c_binops_2): New.
132 (do_c_binops_3): New.
133 (do_c_triple_4): New.
134 (do_c_triple_5): New.
149 (cirrus_parse_offset): New.
151 (md_parse_option): Add arm9e.
152 (md_show_usage): Same.
154 2001-10-08 Tom Rix <trix@redhat.com>
156 * config/tc-ppc (ppc_bf, ppc_biei) : Set first .bi lineno value to
158 * config/obj-coff.c (coff_frob_symbol) : XCOFF does not use endndx.
160 2001-10-07 Alan Modra <amodra@bigpond.net.au>
162 * config/obj-elf.c: Standardize error/warning messages - don't
163 capitalise, no final period or newline, don't say "ignoring" for
164 as_bad messages. In some cases, change the wording to that used
165 elsewhere for similar messages.
166 (obj_elf_section_name): New function, split out from ..
167 (obj_elf_section): .. here. Correctly mask off SHF_MERGE if
168 entsize not specified.
170 2001-10-05 Jakub Jelinek <jakub@redhat.com>
172 * doc/as.texinfo: Document M and S ELF section flags.
174 2001-10-05 Alan Modra <amodra@bigpond.net.au>
176 * subsegs.c (subseg_text_p): Return 0 for absolute section.
177 * read.c (do_align): If in absolute section, warn about and ignore
178 non-zero fill pattern.
180 2001-10-05 Alexandre Oliva <aoliva@redhat.com>
182 * config/tc-mn10300.c (tc_gen_reloc): Don't free
183 reloc->sym_ptr_ptr if it's not allocated.
185 2001-10-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
187 * config/tc-mips.c (prev_insn_reloc_type): Make it an array to hold a
189 (prev_insn_fixp): Likewise.
190 (append_insn): Changed prototype to accept a relocation pointer.
191 (imm_reloc): Make it an array.
192 (offset_reloc): Likewise.
193 (md_assemble): Handle triple relocations.
194 (append_insn): Likewise. Add handling for some NewABI relocations.
195 (mips_no_prev_insn): Handle triple relocations.
196 (macro_build): Likewise. Add handling for some NewABI relocations.
197 Move handling for the 'u' case to append_insn().
198 (mips16_macro_build): Handle triple relocations.
199 (macro_build_lui): Likewise. Don't handle _gp_disp as special symbol
201 (mips_ip): Handle triple relocations.
202 (mips16_ip): Likewise.
203 (mips_force_relocation): Force handling of triple relocations
204 without symbols for NewABI.
205 (md_apply_fix): Add handling for some NewABI relocations.
207 2001-10-05 Alan Modra <amodra@bigpond.net.au>
209 * config/tc-i386.c (parse_register): If not producing code for
210 x86_64, reject x86_64 register name matches.
211 (md_assemble): Remove now redundant check for x86_64 regs.
213 2001-10-04 Alan Modra <amodra@bigpond.net.au>
215 * config/tc-ppc.c (md_assemble <DS relocs>): Test ppc_size as well
216 as BFD_DEFAULT_TARGET_SIZE.
218 (ppc_is_toc_sym): Likewise.
219 (md_apply_fix3): Likewise.
221 2001-10-03 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
223 * config/tc-mips.c (mips_64): Remove.
224 (mips_target_format): Move downwards in file, use HAVE_64BIT_OBJECTS
226 (mips_abi_level, mips_abi): New enum.
227 (mips_32bit_abi): Remove.
228 (HAVE*PRS): Use mips_abi instead of mips_32bit_abi.
229 (HAVE_NEWABI): New define.
230 (HAVE_64BIT_OBJECTS): New define.
231 (HAVE_32BIT_ADDRESSES): Don't return true for 64bit objects.
232 (HAVE_64BIT_ADDRESSES): New define, inverse of HAVE_32BIT_ADDRESSES.
233 (support_64bit_objects): New prototype.
234 (md_begin): Use mips_abi instead of mips_32bit_abi. Don't write
235 .reginfo section for n32, use .MIPS.options instead.
236 (support_64bit_objects): New function, code from md_parse_option.
237 (md_longopts): Add -n32 option.
238 (md_parse_option): Use mips_abi instead of mips_32bit_abi/mips64.
239 Add -n32 option. Protect with OBJ_ELF.
240 (s_mipsset): Use mips_abi instead of mips_32bit_abi.
241 (mips_elf_final_processing): Likewise. Don't write .reginfo section
242 for n32, use .MIPS.options instead.
244 2001-10-03 Alan Modra <amodra@bigpond.net.au>
246 * po/POTFILES.in: Regenerate.
247 * configure: Regenerate.
249 2001-10-02 Alan Modra <amodra@bigpond.net.au>
251 * config/tc-ppc.c (md_apply_fix3 <BFD_RELOC_CTOR>): Make it 64
252 bits if target is 64 bit.
254 * doc/as.texinfo (listing): Fix typo.
256 * as.c (print_version_id): Use BFD_VERSION_STRING in place of
258 * Makefile.am (Makefile): Depend on bfd/configure.in.
260 * Makefile.in: Regenerate.
262 2001-09-30 H.J. Lu <hjl@gnu.org>
264 * config/obj-elf.c (obj_elf_parse_section_letters): Accept "am"
265 and "ams" for compatibility.
267 2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
269 * config/tc-sh.c (md_pcrel_from_section): Transformed from
270 md_pcrel_from. Handle pc-relativeness against link-time
271 symbol. Handle relativeness to elsewhere than the fixup.
272 * config/tc-sh.h (MD_PCREL_FROM_SECTION): Define.
273 (md_pcrel_from_section): Prototype.
275 * Makefile.am: Update dependencies with "make dep-am".
276 * Makefile.in: Regenerate.
278 2001-09-30 Stephane Carrez <Stephane.Carrez@worldnet.fr>
280 * config/tc-m68hc11.c (cmp_opcode): Define prototype.
281 (print_opcode_format, skip_whites): Likewise.
282 (convert_branch, m68hc11_new_insn): Likewise.
283 (build_dbranch_insn, build_indexed_byte): Likewise.
284 (build_reg_mode, find, find_opcode): Likewise.
285 (print_insn_format): Fix call to print_opcode_format.
286 (md_assemble): Fix call to build_dbranch_insn.
288 2001-09-27 Nick Clifton <nickc@cambridge.redhat.com>
290 * config/tc-arm.c: Add missing prototypes.
292 2001-09-26 Jeff Johnston <jjohnstn@redhat.com>
294 * input-file.c (input_file_open): When reading the
295 first line looking for #NO_APP, prepare for the possibility
296 of finding #APP instead. Also fix algorithm to allow
297 white-space to follow either #NO_APP or #APP directives.
299 2001-09-25 Geoff Berry <geoff.berry@bops.com>
301 * listing.c (buffer_line): Don't write past the end of `line' when
304 2001-09-25 Alexandre Oliva <aoliva@redhat.com>
306 * config/tc-mn10300.c (tc_gen_reloc): Don't emit an *ABS*
307 relocation for differences between symbols in a section other
308 than the one in which the difference is to be placed; apply
309 the relocation instead.
311 2001-09-24 Nick Clifton <nickc@cambridge.redhat.com>
313 * config/tc-arc.c: Add missing prototype.
314 (md_atof): Change type to int. Add missing prototype.
315 * config/tc-arc.h: Prototype exported functions.
317 2001-09-22 Nick Clifton <nickc@cambridge.redhat.com>
319 * as.c: Add missing function prototype.
320 * config/obj-aout.c: Fix compile time warning.
322 2001-09-21 Bruno Haible <haible@clisp.cons.org>
324 * config/tc-openrisc.c: Don't include <ctype.h>.
326 2001-09-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
328 * gas/config/tc-s390.c: Add option -mwarn-areg-zero.
330 2001-09-19 Alan Modra <amodra@bigpond.net.au>
332 * config/tc-i370.c: Fix typo in last change.
334 2001-09-19 Nick Clifton <nickc@cambridge.redhat.com>
336 * doc/as.texinfo (Symbol Names): Improve documentation on local
337 labels and add documenation about dollar labels.
339 2001-09-18 Bruno Haible <haible@clisp.cons.org>
341 * as.h: Don't include <ctype.h>.
342 * as.c (main): For gettext, also set the LC_CTYPE locate facet.
343 * atof-generic.c: Include "safe-ctype.h" instead of <ctype.h>.
344 (atof_generic): Use ISDIGIT instead of isdigit.
345 * config/m68k-parse.y: Include "safe-ctype.h".
346 (yylex): Use ISDIGIT/ISALNUM instead of isdigit/isalnum.
347 * config/obj-elf.c: Include "safe-ctype.h".
348 (obj_elf_vtable_inherit): Use ISSPACE instead of isspace.
349 * config/obj-vms.c: Include "safe-ctype.h".
350 (Write_VMS_MHD_Records): Use TOUPPER instead of islower/toupper.
351 (VMS_Case_Hack_Symbol): Use ISUPPER/ISLOWER/TOUPPER/TOLOWER
352 instead of isupper/islower/toupper/tolower.
353 * config/tc-a29k.c: Include "safe-ctype.h" instead of <ctype.h>.
354 (insert_sreg): Use TOUPPER instead of islower/toupper.
355 (machine_ip): Use ISALPHA/ISALNUM/ISUPPER/TOLOWER instead of
356 isalpha/isalnum/isupper/tolower.
357 (a29k_unrecognized_line, md_operand): Use ISDIGIT instead of
359 * config/tc-alpha.c: Include "safe-ctype.h" instead of <ctype.h>.
360 (md_undefined_symbol, s_alpha_ent): Use ISDIGIT instead of isdigit.
361 * config/tc-arc.c: Include "safe-ctype.h" instead of <ctype.h>.
362 (md_assemble): Use ISSPACE/ISALNUM instead of isspace/isalnum.
363 (arc_extoper): Use TOLOWER instead of isupper/tolower.
364 * config/tc-arm.c: Include "safe-ctype.h" instead of <ctype.h>.
365 (arm_psr_parse): Use ISALPHA instead of isalpha.
366 (accum0_required_here): Use ISALNUM instead of isalnum.
367 (do_ldrd): Use ISSPACE instead of isspace.
368 (decode_shift): Use ISALPHA instead of isalpha.
369 (insert_reg): Use TOUPPER instead of islower/toupper.
370 (arm_reg_parse): Use ISALPHA instead of isalpha.
371 (arm_parse_reloc): Use ISALNUM/ISPUNCT/TOLOWER instead of
372 isalnum/ispunct/tolower.
373 * config/tc-avr.c: Include "safe-ctype.h" instead of <ctype.h>.
374 (md_parse_option): Use TOLOWER instead of tolower.
375 (avr_operand): Use ISDIGIT/TOLOWER instead of isdigit/tolower.
376 * config/tc-cris.c: Include "safe-ctype.h" instead of <ctype.h>.
377 (cris_process_instruction): Use ISLOWER instead of islower.
378 (get_gen_reg): Use ISALNUM/ISDIGIT instead of isalnum/isdigit.
379 (get_spec_reg): Use TOLOWER/ISALNUM instead of isupper/tolower/isalnum.
380 (get_flags): Use ISSPACE instead of isspace.
381 * config/tc-d10v.c: Include "safe-ctype.h" instead of <ctype.h>.
382 (do_assemble): Use TOLOWER instead of tolower.
383 * config/tc-d30v.c: Include "safe-ctype.h" instead of <ctype.h>.
384 (do_assemble): Use TOLOWER instead of tolower.
385 (d30v_start_line): Use ISSPACE instead of isspace.
386 * config/tc-fr30.c: Include "safe-ctype.h" instead of <ctype.h>.
387 (fr30_is_colon_insn): Use TOLOWER instead of tolower.
388 * config/tc-h8300.c: Include "safe-ctype.h" instead of <ctype.h>.
389 (skip_colonthing, get_operand): Use ISDIGIT instead of isdigit.
390 * config/tc-h8500.c: Include "safe-ctype.h" instead of <ctype.h>.
391 (start_label): Use ISALPHA instead of isalpha.
392 * config/tc-hppa.c: Include "safe-ctype.h" instead of <ctype.h>.
393 (pa_ip): Use ISUPPER/ISLOWER/TOLOWER instead of
394 isupper/islower/tolower.
395 (pa_parse_number): Use ISDIGIT instead of isdigit.
396 (pa_chk_field_selector): Use TOLOWER instead of tolower.
397 (pa_stringer): Use ISDIGIT instead of isdigit.
398 * config/tc-i370.c: Include "safe-ctype.h" instead of <ctype.h>.
399 (register_name): Use ISALPHA instead of isalpha.
400 (i370_elf_suffix): Use ISALNUM/TOLOWER instead of
401 isalnum/islower/tolower.
402 (i370_addr_offset): Use ISDIGIT/ISALPHA instead of
404 (i370_addr_cons): Use ISALPHA/ISXDIGIT instead of
406 (md_assemble): Use ISSPACE instead of isspace.
407 * config/tc-i386.c: Include "safe-ctype.h" instead of <ctype.h>.
408 (md_begin): Use ISDIGIT/ISLOWER/ISUPPER/TOLOWER/ISALPHA
409 instead of isdigit/islower/isupper/tolower/isalpha.
410 (output_invalid): Use ISPRINT instead of isprint.
411 * config/tc-i860.c: Include "safe-ctype.h" instead of <ctype.h>.
412 (i860_ip): Use ISLOWER/ISDIGIT instead of islower/isdigit.
413 * config/tc-i960.c: Include "safe-ctype.h" instead of <ctype.h>.
414 (get_args): Use ISALNUM instead of isalnum.
415 * config/tc-ia64.c: Include "safe-ctype.h".
416 (dot_pred_rel): Use TOUPPER/ISDIGIT instead of toupper/isdigit.
417 (ia64_unrecognized_line): Use ISDIGIT instead of isdigit.
418 (ia64_parse_name): Likewise.
419 * config/tc-m32r.c: Include "safe-ctype.h" instead of <ctype.h>.
420 (assemble_two_insns): Use ISSPACE/ISALNUM/ISUPPER/TOLOWER
421 instead of isspace/isalnum/isupper/tolower.
422 * config/tc-m68hc11.c: Include "safe-ctype.h" instead of <ctype.h>.
423 (md_assemble): Use TOLOWER/ISALNUM instead of tolower/isalnum.
424 * config/tc-m68k.c: Include "safe-ctype.h" instead of <ctype.h>.
425 (mklower_table): Remove variable.
426 (mklower): Remove macro.
427 (insert_reg): Use TOUPPER instead of islower/toupper.
428 (md_begin): Remove initialization of mklower_table.
429 (s_reg): Use ISALNUM instead of isalnum.
430 (mri_assemble): Use ISUPPER/TOLOWER instead of isupper/tolower.
431 (parse_mri_condition): Use TOLOWER instead of isupper/tolower.
432 (build_mri_control_operand): Use TOLOWER instead of tolower.
433 (s_mri_else, s_mri_break, s_mri_next, s_mri_for): Likewise.
434 * config/tc-m88k.c: Include "safe-ctype.h" instead of <ctype.h>.
435 (md_assemble): Use ISSPACE instead of isspace.
436 (get_imm16): Use ISALNUM instead of isalnum.
437 (get_cnd): Use ISDIGIT/ISUPPER/TOLOWER instead of
438 isdigit/isupper/tolower.
439 (get_bf_offset_expression): Use ISALPHA/ISUPPER/TOLOWER
440 instead of isalpha/isupper/tolower.
441 (hexval): Use ISDIGIT/ISLOWER/ISUPPER instead of
442 isdigit/islower/isupper.
443 * config/tc-mcore.c: Include "safe-ctype.h" instead of <ctype.h>.
444 (mcore_s_section): Use ISSPACE instead of isspace.
445 (parse_reg): Use ISSPACE/TOLOWER/ISALNUM instead of
446 isspace/tolower/isalnum.
447 (parse_creg): Use ISSPACE/TOLOWER instead of isspace/tolower.
448 (parse_psrmod): Use TOLOWER instead of isascii/tolower.
449 (parse_exp, parse_mem, md_assemble): Use ISSPACE instead of
451 * config/tc-mips.c: Include "safe-ctype.h" instead of <ctype.h>.
452 (mips_ip): Use ISSPACE/ISDIGIT instead of isspace/isdigit.
453 (mips16_ip): Use ISLOWER/ISDIGIT instead of islower/isdigit.
454 (my_getSmallExpression): Use ISDIGIT/TOLOWER instead of
456 (tc_get_register): Likewise.
457 (get_number): Use ISDIGIT/ISXDIGIT instead of isdigit/isxdigit.
458 (s_mips_ent): Use ISDIGIT instead of isdigit.
459 * config/tc-mn10200.c: Include "safe-ctype.h" instead of <ctype.h>.
460 (md_assemble): Use ISSPACE instead of isspace.
461 * config/tc-mn10300.c: Include "safe-ctype.h" instead of <ctype.h>.
462 (md_assemble): Use ISSPACE instead of isspace.
463 * config/tc-ns32k.c: Don't include <ctype.h>.
464 * config/tc-pdp11.c: Include "safe-ctype.h".
465 (mklower): Remove function.
466 (parse_reg): Use TOLOWER instead of mklower.
467 * config/tc-pj.c: Include "safe-ctype.h".
468 (md_assemble): Use ISSPACE instead of isspace.
469 * config/tc-ppc.c: Include "safe-ctype.h" instead of <ctype.h>.
470 (register_name): Use ISALPHA instead of isalpha.
471 (ppc_elf_suffix): Use ISALNUM/TOLOWER instead of
472 isalnum/islower/tolower.
473 (md_assemble): Use ISSPACE instead of isspace.
474 (ppc_canonicalize_symbol_name): Use ISLOWER/TOUPPER instead of
476 * config/tc-s390.c: Include "safe-ctype.h" instead of <ctype.h>.
477 (register_name): Use ISALPHA instead of isalpha.
478 (s390_elf_suffix, s390_lit_suffix): Use ISALNUM instead of isalnum.
479 (md_gather_operands, md_assemble, s390_insn): Use ISSPACE instead of
481 * config/tc-sh.c: Include "safe-ctype.h" instead of <ctype.h>.
482 (sh_elf_suffix): Use ISALNUM/TOLOWER instead of
483 isalnum/islower/tolower.
484 (IDENT_CHAR): Use ISALNUM instead of isalnum.
485 (parse_reg): Use TOLOWER instead of tolower.
486 (find_cooked_opcode): Use TOLOWER instead of isupper/tolower.
487 * config/tc-sparc.c: Include "safe-ctype.h" instead of <ctype.h>.
488 (sparc_ip): Use ISLOWER/ISDIGIT instead of islower/isdigit.
489 (parse_keyword_arg): Use ISALNUM instead of isalnum.
490 * config/tc-tahoe.c: Include "safe-ctype.h".
491 (tahoe_reg_parse): Use ISDIGIT instead of isdigit.
492 (tip_op): Use TOLOWER instead of isupper/tolower.
493 * config/tc-tic30.c: Include "safe-ctype.h".
494 (md_begin): Use ISLOWER/ISDIGIT/ISUPPER/TOLOWER/ISLOWER/
495 ISALPHA instead of islower/isdigit/isupper/tolower/islower/isalpha.
496 (tic30_operand): Use TOLOWER instead of tolower.
497 (tic30_find_parallel_insn): Likewise.
498 (output_invalid): Use ISPRINT instead of isprint.
499 * config/tc-tic54x.c: Include "safe-ctype.h".
500 (tic54x_asg, tic54x_eval): Use ISALPHA instead of isalpha.
501 (lookup_version): Use TOUPPER instead of toupper.
502 (tic54x_var): Use ISALPHA instead of isalpha.
503 (tic54x_mlib): Use ISSPACE instead of isspace.
504 (subsym_iscons): Use TOUPPER instead of toupper.
505 (get_operands): Use ISSPACE instead of isspace.
506 (is_type): Use TOUPPER/ISDIGIT instead of toupper/isdigit.
507 (encode_indirect, encode_operand): Use TOUPPER instead of toupper.
508 (next_line_shows_parallel): Use ISSPACE instead of isspace.
509 (subsym_get_arg, subsym_substitute): Use ISDIGIT instead of isdigit.
510 (tic54x_start_line_hook, md_assemble, tic54x_start_label): Use
511 ISSPACE instead of isspace.
512 * config/tc-tic80.c: Include "safe-ctype.h".
513 (md_assemble): Use ISSPACE instead of isspace.
514 * config/tc-v850.c: Include "safe-ctype.h" instead of <ctype.h>.
515 (system_register_name): Use ISDIGIT instead of isdigit.
516 (md_assemble): Use ISSPACE instead of isspace.
517 * config/tc-vax.c: Include "safe-ctype.h" instead of <ctype.h>.
518 (vax_reg_parse): Use TOLOWER/ISDIGIT instead of
519 isupper/tolower/isdigit.
520 (vip_op): Use TOLOWER instead of isupper/tolower.
521 * config/tc-w65.c: Don't include <ctype.h>.
522 * config/tc-z8k.c: Include "safe-ctype.h" instead of <ctype.h>.
523 (tohex): Use ISDIGIT/ISLOWER instead of isdigit/islower.
524 (whatreg): Use ISDIGIT instead of isdigit.
525 * ecoff.c: Include "safe-ctype.h" instead of <ctype.h>.
526 (ecoff_directive_ent, ecoff_stab): Use ISDIGIT instead of isdigit.
527 * expr.c: Include "safe-ctype.h" instead of <ctype.h>.
528 (integer_constant): Use ISALNUM/TOUPPER instead of
529 isalnum/islower/toupper.
530 (operand): Use TOLOWER instead of isupper/tolower.
531 * gasp.c: Include "safe-ctype.h" instead of <ctype.h>.
532 (sb_strtol, level_0, change_base, doinstr): Use ISDIGIT instead
534 (process_assigns, whatcond): Use TOUPPER instead of toupper.
535 (chartype_init): Use ISALPHA/ISDIGIT instead of isalpha/isdigit.
536 (main): For gettext, also set the LC_CTYPE locate facet.
537 * hash.c: Include "safe-ctype.h".
538 (main): Use TOLOWER instead of isupper/tolower.
539 * itbl-lex.l: Don't include <ctype.h>.
540 * listing.c: Include "safe-ctype.h" instead of <ctype.h>.
541 (listing_newline): Use ISCNTRL instead of isascii/iscntrl. Don't
542 omit non-ASCII characters.
543 (debugging_pseudo): Use ISSPACE instead of isspace.
544 * macro.c: Include "safe-ctype.h" instead of <ctype.h>.
545 (buffer_and_nest): Use ISALNUM instead of isalnum.
546 (get_token): Use ISALPHA/ISALNUM instead of isalpha/isalnum.
547 (define_macro): Use ISUPPER/TOLOWER instead of isupper/tolower.
548 (macro_expand_body): Use ISALNUM/ISDIGIT/ISUPPER/ISALPHA
549 instead of isalnum/isdigit/isupper/isalpha.
550 (check_macro): Use ISALPHA/ISALNUM/ISUPPER/TOLOWER instead
551 of isalpha/isalnum/isupper/tolower.
552 * read.c: Include "safe-ctype.h" instead of <ctype.h>.
553 (read_a_source_file): Use ISUPPER/TOLOWER/ISDIGIT instead of
554 isupper/tolower/isdigit.
555 (s_mri_common): Use ISDIGIT instead of isdigit.
556 (s_mri_sect): Use ISDIGIT/TOUPPER instead of isdigit/toupper.
557 (s_float_space): Use ISALPHA instead of isalpha.
558 (ignore_rest_of_line): Use ISPRINT instead of isprint.
559 (float_cons): Use ISALPHA instead of isalpha.
560 (next_char_of_string): Use ISDIGIT/ISXDIGIT instead of
562 * symbols.c: Include "safe-ctype.h" instead of <ctype.h>.
563 (save_symbol_name): Use ISLOWER/TOUPPER instead of
565 (symbol_find_base): Use TOUPPER instead of islower/toupper.
566 (decode_local_label_name): Use ISDIGIT instead of isdigit.
568 2001-09-18 Martin Schwidefsky <schwidefsky@de.ibm.com>
570 * tc-s390.c (s390_insn): Add code to cope with 6 byte O_constants
571 in 64 bit mode and make format "e" work.
573 2001-09-18 Alan Modra <amodra@bigpond.net.au>
575 * dwarf2dbg.c (dwarf2_directive_file): Avoid signed/unsigned warning.
577 * write.c (set_symtab): Update bfd_alloc declaration. Use a temp
578 var to ensure bfd_alloc arg is the right type.
579 (write_object_file): Cast args of bfd_seek. Replace bfd_write with
582 * config/obj-coff.c: Replace calls to bfd_write with calls to
583 bfd_bwrite. Cast args of bfd_seek.
585 * config/obj-elf.c (obj_elf_change_section): Avoid signed/unsigned
588 * config/tc-mn10300.c (set_arch_mach): Make param unsigned.
590 * config/tc-tic54x.c (tic54x_mlib): Replace bfd_read call with
593 2001-09-15 Hans-Peter Nilsson <hp@bitrange.com>
595 * config/tc-sh.h (sh_force_relocation): Prototype.
596 (struct fix): Forward declare.
597 * config/tc-sh.c (type sh_operand_info): Move to top of file.
598 (cons, s_align_bytes): Remove old-type declarations.
599 (sh_elf_suffix, parse_reg, dot, parse_exp, parse_at, get_operand,
600 get_operands, get_specific, insert, build_relax,
601 insert_loop_bounds, build_Mytes): Prototype.
602 (little): Make static. Prototype.
603 (check, tc_Nout_fix_to_chars): Delete unused functions.
605 2001-09-14 Eric Christopher <echristo@redhat.com>
607 * config/tc-mips.c (md_parse_option): Remove setting mips_64 via
610 2001-09-14 Kevin Lo <kevlo@openbsd.org>
612 * configure.in: Add arm-openbsd target.
613 * configure: Regenerate.
615 2001-09-14 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
617 * configure.in: Change machine triplets from mips-*-linux-gnu* to
620 2001-09-12 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
622 * config/tc-mips.c (append_insn): Don't rightshift BFD_RELOC_16_PCREL.
624 2001-09-11 Richard Henderson <rth@redhat.com>
626 * config/tc-alpha.c (alpha_elf_section_letter): New.
627 (alpha_elf_section_flags): New.
628 * config/tc-alpha.h (md_elf_section_letter): New.
629 (md_elf_section_flags): New.
630 * config/tc-ia64.c (ia64_elf_section_letter): New.
631 * config/tc-ia64.h (md_elf_section_letter): New.
633 2001-09-11 Jakub Jelinek <jakub@redhat.com>
635 * config/obj-elf.c (obj_elf_parse_section_letters): Use 'M' instead
636 of 'm', 'S' instead of 's'. Update bad_msg.
637 * config/tc-ppc.c (ppc_section_letter): Update bad_msg.
638 * config/tc-i370.c (i370_sectioN_letter): Update bad_msg.
640 2001-09-09 Alan Modra <amodra@bigpond.net.au>
642 * expr.c (expr): Move code setting "retval" to the end of the loop,
643 and rearrange for efficiency. For "PIC code" subtraction, use
644 "rightseg" rather than recalculating. For "symbol OP symbol"
645 subtract, set "retval" to absolute_section if symbols in same
647 * symbols.c (resolve_symbol_value): Resolve "sym +/- expr" to an
648 O_symbol. Simplify a +/- b code. Allow equality and non-equality
649 comparisons on symbols from any section. Allow other comparison
650 operators as for subtraction.
651 (symbol_equated_reloc_p): New predicate function.
652 * symbols.h (symbol_equated_reloc_p): Declare.
653 * write.c (relax_segment <rs_machine_dependent>): Ensure segment
654 for expression syms is set correctly.
655 (adjust_reloc_syms): Use symbol_equated_reloc_p.
656 (write_relocs): Likewise.
657 (write_object_file): Likewise.
658 * config/tc-mips.c (md_estimate_size_before_relax): Likewise.
659 * config/tc-i386.c (md_assemble <Output jumps>): Don't lose part
660 of a complex expression when setting up frag_var.
662 2001-09-07 Richard Henderson <rth@redhat.com>
664 * config/tc-alpha.c (alpha_reloc_op_tag): Replace need_seq with
665 require_seq and allow_seq. Let !literal omit the sequence number.
666 (tokenize_arguments): Reject sequence numbers of !allow_seq.
668 2001-09-08 Jakub Jelinek <jakub@redhat.com>
670 * config/tc-sparc.c (md_apply_fix3): Handle relocs against SEC_MERGE
671 section symbols the same way as externs.
673 2001-09-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
675 * config/tc-mips.c (s_mipsset): Reallow unrestricted use of .set mipsX
678 2001-09-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
680 * config/tc-mips.c (append_insn): Handle BFD_RELOC_16_PCREL.
681 (macro_build): Use BFD_RELOC_16_PCREL_S2 only for embedded
682 PIC, BFD_RELOC_16_PCREL for the rest.
684 (md_pcrel_from): return the right offset for the differently shifted
686 (md_apply_fix): Handle BFD_RELOC_16_PCREL.
688 2001-09-05 Richard Henderson <rth@redhat.com>
690 * config/tc-ia64.c (FUNC_IPLT_RELOC): New.
691 (pseudo_func): Add @iplt.
692 (pseudo_opcode): Add data16 and data16.ua.
693 (md_begin): Set iplt pseudo.
694 (ia64_cons_fix_new): Handle 16 byte iplt reloc specially.
696 2001-09-04 Richard Henderson <rth@redhat.com>
698 * config/tc-alpha.c (struct alpha_insn): Make sequence scalar long.
699 (MACRO_LITERAL, MACRO_BASE, MACRO_BYTOFF, MACRO_JSR): Remove.
700 (alpha_macros): Remove occurrences of same.
701 (O_lituse_addr, O_gprel): New.
702 (DUMMY_RELOC_LITUSE_*): New.
703 (s_alpha_ucons, s_alpha_arch): Prototype.
704 (alpha_reloc_op): Construct elements via DEF macro.
705 (ALPHA_RELOC_SEQUENCE_OK): Remove.
706 (struct alpha_reloc_tag): Rename from alpha_literal_tag; rename
707 members to not be literal specific.
708 (next_sequence_num): New.
709 (md_apply_fix3): Cope with missing GPDISP_LO16. Adjust for
710 added/removed BFD relocations.
711 (alpha_force_relocation, alpha_fix_adjustable): Likewise.
712 (alpha_adjust_symtab_relocs): Handle GPDISP relocs as well.
713 (tokenize_arguments): Parse ! relocations properly.
714 (find_macro_match): Delete unused macro argument types.
715 (assemble_insn): Add reloc parameter; emit that instead of the
716 default as appropriate.
717 (get_alpha_reloc_tag): New. Split from ...
718 (emit_insn): ... here. Allocate a reloc tag for GPDISP.
719 (assemble_tokens): Don't search macros if user relocation present.
720 Copy reloc sequence number to insn struct.
721 (emit_ldgp): Remove user reloc handling.
722 (load_expression, emit_lda, emit_ldah, emit_ir_load): Likewise.
723 (emit_loadstore, emit_ldXu, emit_ldil, emit_stX): Likewise.
724 (emit_sextX, emit_division, emit_jsrjmp, emit_retjcr): Likewise.
725 * config/tc-alpha.h (tc_adjust_symtab): Always define.
726 (struct alpha_fix_tag): Name members less literal specific.
728 Tue Sep 4 20:01:19 2001 Jeffrey A Law (law@cygnus.com)
730 * tc-h8300.c (tc_gen_reloc): Give an error if we try to take the
731 address of two symbols in different sections.
733 2001-08-31 Eric Christopher <echristo@redhat.com>
734 Jason Eckhardt <jle@redhat.com>
736 * config/tc-mips.c (mips_cpu_info): Add support for mipsisa32,
737 5kc, and 20kc. Clean up old entries.
739 Fri Aug 31 12:05:13 2001 J"orn Rennecke <amylaar@redhat.com>
740 Jeff Law <law@redhat.com>
742 * config/tc-h8300.c (build_bytes): For OBJ_ELF, make relocation's
743 offset match H8 ELF spec.
744 (md_section_align): Alternate implementation for BFD_ASSEMBLER.
745 (md_apply_fix): Fix argument and return types for BFD_ASSEMBLER.
747 * tc-h8300.c (relocation mappings): Remove. Moved to tc-h8300.h.
748 (build_bytes): Mark fixups for PCrel branches as signed. For
749 OBJ_ELF, make sure the reloc's offset points to the first byte
751 (md_convert_frag): Update definiton based on BFD_ASSEMBLER.
752 * tc-h8300.h (relocation mappings): Add.
754 Thu Aug 30 12:05:13 2001 J"orn Rennecke <amylaar@redhat.com>
756 * tc-h8300.c (tc_crawl_symbol_chain, tc_headers_hook): Don't
757 define for BFD_ASSEMBLER.
758 (tc_reloc_mangle): Likewise.
759 (tc_gen_reloc): New function for BFD_ASSEMBLER.
761 Wed Aug 29 12:49:58 2001 Jeffrey A Law (law@cygnus.com)
763 * config/tc-h8300.c (h8300hmode): Record the machine type
764 if BFD_ASSEMBLER is defined.
765 (h8300smode, md_begin): Similarly.
767 2001-08-29 Joel Sherrill <joel@OARcorp.com>
769 * configure.in (i[3456]86-*-rtems*, m68*-*-rtems*): Change
770 default from coff to elf.
771 * configure: Regenerate.
773 Wed Aug 29 12:05:13 2001 J"orn Rennecke <amylaar@redhat.com>
775 * tc-h8300.c: If OBJ_ELF, include elf/h8.h, and define
776 assorted coff relocations to the corresponding elf relocations.
777 * tc-h8300.h (TARGET_ARCH, TARGET_FORMAT): Define appropriately.
779 * configure.in: Add case for h8300-*-elf.
780 * configure: Regenerate.
782 Wed Aug 29 12:05:13 2001 J"orn Rennecke <amylaar@redhat.com>
784 * doc/internals.texi (MD_PCREL_FROM_SECTION): Change
785 documentation to reflect reality.
787 2001-08-27 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
789 * config/tc-mips.c (load_address): Reflect change to MAX_GPREL_OFFSET.
790 (macro): Reflect change to MAX_GPREL_OFFSET.
792 2001-08-27 Torbjorn Granlund <tege@swox.com>
793 Staffan Ulfberg <staffanu@swox.se>
794 Linus Nordberg <linus@swox.se>
795 Alan Modra <amodra@bigpond.net.au>
797 * configure.in: Recognise powerpc*le*, not just powerpcle*.
798 * configure: Regenerate.
799 * config/tc-ppc.c (PPC_LO, PPC_HI, PPC_HA, PPC_HIGHER,
800 PPC_HIGHERA, PPC_HIGHEST, PPC_HIGHESTA, SEX16): New macros.
801 (md_assemble): Use them.
802 (ppc_machine): Support stub for ELF64 as well as XCOFF.
803 (md_pseudo_table): Add "llong", "quad".
804 (md_parse_option): Match default_cpu of powerpc*.
805 (ppc_arch): Likewise.
806 (ppc_subseg_align): Only for OBJ_XCOFF.
807 (ppc_target_format): Return elf64-powerpc strings for 64 bit ELF.
808 (md_begin): Select PPC_OPCODE_64 for 64 bit.
809 (ppc_insert_operand): Don't bother testing 'file' before calling
810 as_bad_where. Use as_bad_where for operand->insert errors.
811 (mapping): Add ELF64 relocation modifiers.
812 (ppc_elf_suffix): Replace symbol on BFD_RELOC_PPC64_TOC reloc
813 expressions with abs_symbol.
814 (ppc_elf_cons): Correct offset for little endian targets.
815 (ppc_elf_frob_symbol): New.
816 (md_assemble): Add support for 64 bit ELF relocs.
817 (ppc_tc): Ensure 8 byte alignment when 64 bit.
818 (ppc_is_toc_sym): Only define for OBJ_XCOFF and OBJ_ELF. Match
819 ".toc" section for 64 bit ELF.
820 (ppc_fix_adjustable): New. Macro body moved from tc-ppc.h.
821 (md_apply_fix3): Silence warning with ATTRIBUTE_UNUSED. Only do
822 the ppc_is_toc_sym check for OBJ_XCOFF and OBJ_ELF. For 64 bit,
823 use BFD_RELOC_PPC64_TOC16_DS instead of BFD_RELOC_PPC_TOC16.
824 Expand on comments, error message. Add support for 64 bit relocs,
825 and use PPC_HI etc. macros.
826 * config/tc-ppc.h (MAX_MEM_FOR_RS_ALIGN_CODE): Define.
827 (HANDLE_ALIGN): Define to generate nops in code sections rather
829 (TC_FORCE_RELOCATION): Force for BFD_RELOC_PPC64_TOC.
830 (ELF_TC_SPECIAL_SECTIONS): Add 64 bit ELF sections.
831 (tc_fix_adjustable): Move body of macro to tc-ppc.c.
832 (ppc_fix_adjustable): Declare.
833 (tc_frob_symbol): Define.
834 (ppc_elf_frob_symbol): Declare.
836 2001-08-26 Andreas Jaeger <aj@suse.de>
838 * config/tc-s390.c: Add missing prototypes
839 (md_gather_operands): Make static.
841 2001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
843 * config/tc-mips.h (MAX_GPREL_OFFSET): Change it to the maximum
844 allowed value, not the word beyond maximum.
845 * config/tc-mips.c (macro_build_lui): Code cleanup.
846 (macro): Reflect change to MAX_GPREL_OFFSET.
847 (mips_ip): Check explicitly against S_EX_NONE.
848 (my_get_SmallExpression): parse for %gp_rel, not %gprel.
849 (md_apply_fix): Code cleanup.
851 2001-08-24 Andreas Jaeger <aj@suse.de>
853 * config/tc-ppc.h: Fix prototype declaration.
855 2001-08-23 Jakub Jelinek <jakub@redhat.com>
857 * config/tc-ia64.c (dot_endp): Set function symbol sizes.
858 * config/obj-elf.c (obj_elf_size): When size is constant, free
859 and clear symbol_get_obj(sym)->size if any.
861 2001-08-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
863 * config/tc-mips.c (md_begin): Warn about incompatibility between
864 -march=FOO and -mipsN option, continue with default ISA.
866 2001-08-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
868 * config/tc-mips.c (md_parse_option): #ifdef the
869 traditional/non-traditional names as it is done in mips_target_format.
871 2001-08-20 Richard Henderson <rth@redhat.com>
873 * config/tc-alpha.h (MD_APPLY_FIX3): Define.
874 * config/tc-alpha.c (md_apply_fix3): Rename from md_apply_fix;
875 use seg parameter instead of now_seg.
877 2001-08-18 H.J. Lu <hjl@gnu.org>
879 * config/tc-mips.c (show): Add the missing prototype.
881 2001-08-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
883 * config/tc-mips.c (S_EX_*): New enum for my_getSmallExpression()
885 (mips_ip): Use the new return values instead of characters. Add
886 support for %higher and %highest.
889 (my_getSmallExpression): Make parsing case insensitive and more
890 reliable. Add support for %higher and %highest. Further support to
891 parse %gprel and %neg is implemented but currently deactivated.
893 2001-08-17 Alan Modra <amodra@bigpond.net.au>
895 * ecoff.c (ecoff_frob_symbol): Remove casts from bfd_get_gp_size.
896 (ecoff_build_symbols): Likewise.
897 * read.c (s_lcomm_internal): Fix signed/unsigned warning.
899 2001-08-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
901 * config/tc-mips.c (mips_elf_final_processing): Set elf header flags
902 for n32 ABI if appropriate.
904 2001-08-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
906 * config/tc-mips.c (cons_fix_new_mips): Remove.
907 * config/tc-mips.h (TC_CONS_FIX_NEW): Remove.
908 (cons_fix_new_mips): Remove.
910 2001-08-14 Jeff Johnston <jjohnstn@redhat.com>
912 * expr.c (operand)[LITERAL_PREFIXDOLLAR_HEX]: Treat $L as
913 a label, not a hex constant.
915 2001-08-13 Nick Clifton <nickc@cambridge.redhat.com>
917 * config/tc-v850.h: Add missing prototypes.
919 2001-08-12 Martin Schwidefsky <schwidefsky@de.ibm.com>
921 * config/tc-s390.c (s390_elf_cons): Correct fixups for PLT
924 2001-08-12 TAKAI Kousuke <takai@vlsi.kuee.kyoto-u.ac.jp>
926 * config/tc-sparc.c (cons_fix_new_sparc): Move
927 `sparc_no_align_cons = 0;' to...
928 (s_uacons): ...here so that sparc_no_align_cons will get
931 2001-08-11 Kazu Hirata <kazu@hxi.com>
933 * config/tc-mips.c: Fix a comment typo.
935 2001-08-10 Richard Sandiford <rsandifo@redhat.com>
937 * config/tc-mips.c (move_register): New function.
938 (macro_build): Remove OPCODE_IS_MEMBER's gp32 argument.
940 (macro2): Use move_register rather than macro_build for moves.
941 (mips16_macro): Likewise.
942 (macro): Likewise. Handle M_MOVE.
944 2001-08-10 Andreas Jaeger <aj@suse.de>
946 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
948 * configure: Regenerate.
950 2001-08-10 Alan Modra <amodra@bigpond.net.au>
952 * as.h (alloca): Don't declare if __GNUC__. Remove an old comment.
953 Comment indentation of #pragma.
954 * macro.c (alloca): Likewise.
956 * config/tc-ppc.c: Revert 2001-08-08.
958 2001-08-09 Alan Modra <amodra@bigpond.net.au>
960 * symbols.c: Add missing prototypes.
961 * config/e-i386elf.c: Likewise.
962 * config/e-i386coff.c: Likewise.
963 * config/e-i386aout.c: Likewise.
964 * config/obj-coff.c: Likewise.
965 (def_symbol_in_progress, stack): Move definition.
966 * config/obj-elf.c: Add missing prototypes.
967 (obj_elf_change_section): Make static.
968 (obj_elf_parse_section_letters): Likewise.
969 (obj_elf_section_word): Likewise.
970 (obj_elf_section_type): Likewise.
972 2001-08-08 Alan Modra <amodra@bigpond.net.au>
974 From 1999-10-25 Torbjorn Granlund <tege@swox.com>
975 * config/tc-ppc.c (md_apply_fix3): Replace haphazard code for
976 determining reloc type with code reading operands->reloc field.
978 2001-08-08 Alan Modra <amodra@bigpond.net.au>
980 * config/obj-elf.c (elf_copy_symbol_attributes): Make it a global
981 function, and expand old obj-elf.h OBJ_COPY_SYMBOL_ATTRIBUTES here.
982 * config/obj-elf.h (elf_copy_symbol_attributes): Declare.
983 (OBJ_COPY_SYMBOL_ATTRIBUTES): Call elf_copy_symbol_attributes.
985 * output-file.c (output_file_create): Don't try to open a second
986 time as it's unnecessary. FOPEN_W was undefined too.
988 2001-08-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
990 * config/tc-mips.c (macro_build): Replace magic constants by defines.
991 (mips_ip): Likewise. Typo.
993 2001-08-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
995 * config/tc-mips.c (mips_abi_string): Initialize with NULL instead
997 (RELAX_ENCODE): Replace bfd_vma by valueT.
998 (load_address): Formatting.
999 (macro): Likewise. Code cleanup. Typo.
1000 (macro2): Formatting.
1001 (md_parse_option): Typo.
1002 (s_mipsset): Reorder cases to look nicer.
1003 (md_estimate_size_before_relax): Formatting. Code cleanup.
1004 (mips_elf_final_processing): Check against NULL instead of 0.
1005 (md_obj_end): Remove ugly `' in message string.
1006 (s_mips_ent): Remove ugly `' in message string.
1008 2001-07-30 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1010 * config/tc-mips.c (md_begin): Take -mcpu value into account even when
1011 -mipsX is specified. Make both -mcpu/-march and -mcpu/-mtune pairs
1012 mutually exclusive (if they are different).
1013 (md_parse_option): Warn if an -march/-mtune/-mcpu/-m<cpu> option is
1016 2001-08-03 Richard Sandiford <rsandifo@redhat.com>
1018 * config/tc-mips.c (md_apply_fix): Don't subtract the symbol value
1021 2001-08-02 Richard Sandiford <rsandifo@redhat.com>
1023 * doc/c-mips.tex (-mgp32, -mfp32): Added -mfp32, unified with -mgp32.
1024 * config/tc-mips.c (mips_fp32, mips_32bit_abi): New static variables.
1025 (md_long_opts): Add -mfp32 option.
1026 (md_parse_option): Handle it. Set mips_32bit_abi given -mabi=32.
1027 (md_show_usage): Show usage for -mfp32 and -mgp32.
1028 (HAVE_32BIT_GPRS, HAVE_32BIT_FPRS): New macros.
1029 (HAVE_64BIT_GPRS, HAVE_64BIT_FPRS): New macros, inverse of the above.
1030 (HAVE_32BIT_ADDRESSES): New macro.
1031 (load_register): Use HAVE_32BIT_GPRS to determine the register width.
1032 (load_address): Use HAVE_32BIT_ADDRESSES to determine the address size.
1033 (s_cprestore, s_cpadd): Likewise.
1034 (macro): Use HAVE_32BIT_GPRS to determine the width of registers
1035 used in branch and M_LI_D macros. Use HAVE_64BIT_FPRS to determine
1036 the width registers used in M_LI_DD macros. Use HAVE_32BIT_ADDRESSES
1037 to determine the width of addresses in load, store and jump macros.
1038 (macro2): Use HAVE_32BIT_GPRS to determine the width of registers
1039 used in set instructions; do not check the address size for them.
1040 Use HAVE_32BIT_ADDRESSES to determine the width of addresses in
1041 unaligned load and store macros.
1042 (mips_ip): Use the new macros to check the width of a register when
1043 processing float constants. Force a constant into memory if it is
1044 destined for an FPR and the FPRs are wider than the GPRs. Warn about
1045 odd FPR numbers if HAVE_32BIT_FPRS. Use HAVE_32BIT_GPRS rather
1046 than mips_gp32 to select synthetic instructions.
1047 (macro_build): Use HAVE_32BIT_GPRS rather than mips_gp32 to select
1048 synthetic instructions.
1050 2001-08-01 Christian Groessler <cpg@aladdin.de>
1052 * config/tc-z8k.c (parse_reg): If a string starts with "r", "rl",
1053 "rh", "rr", "rq", or "sp" then don't automatically assume
1054 it's a register name. Check whether there is a number
1057 2001-08-01 Alan Modra <amodra@bigpond.net.au>
1059 * config/tc-i386.c (lex_got): Match lower case relocation tokens.
1060 Don't allocate more space than necessary for the input line copy.
1062 2001-08-01 Alan Modra <amodra@bigpond.net.au>
1064 * read.c: Standardize error/warning messages - don't capitalise, no
1065 final period or newline, don't say "ignored" or "zero assumed" for
1066 as_bad messages. In some cases, change the wording to that used
1067 elsewhere for similar messages.
1070 * atof-generic.c: Likewise.
1073 * depend.c: Likewise.
1074 * dwarf2dbg.c: Likewise.
1075 * ecoff.c: Likewise.
1077 * frags.c: Likewise.
1078 * input-file.c: Likewise.
1079 * input-scrub.c: Likewise.
1080 * listing.c: Likewise.
1081 * output-file.c: Likewise.
1082 * stabs.c: Likewise.
1083 * subsegs.c: Likewise.
1084 * symbols.c: Likewise.
1085 * write.c: Likewise.
1086 * ecoff.c (ecoff_directive_end): Test for missing name by
1087 comparing input line pointers rather than reading string.
1088 (ecoff_directive_ent): Likewise.
1089 * read.c (s_set): Likewise.
1090 (s_align): Report a warning rather than an error for
1091 alignment too large.
1092 (s_comm): Check for missing symbol name.
1093 (s_lcomm_internal): Likewise.
1095 (s_globl): Use is_end_of_line instead of looking for '\n'.
1096 (s_lcomm_internal): Likewise.
1097 (ignore_rest_of_line): Report a warning rather than an error.
1099 2001-07-31 Geoffrey Keating <geoffk@redhat.com>
1101 * config/tc-ppc.c (ppc_elf_validate_fix): It's OK to have
1102 any kind of relocation against a not-loaded section.
1104 2001-07-30 Alan Modra <amodra@bigpond.net.au>
1106 * config/obj-elf.c (obj_elf_symver): Temporarily modify lex_type
1107 to include '@' in symbol names when parsing versioned symbols
1108 rather than calling get_symbol_end multiple times.
1109 * config/tc-i370.c (register_name): Format fixes. Don't call
1110 get_symbol_end after parsing number.
1111 * config/tc-mn10200.c (data_register_name): Format fixes. Hoist
1112 code out of conditional.
1113 (address_register_name): Likewise.
1114 (other_register_name): Likewise.
1115 * config/tc-mn10300.c (r_register_name): Likewise.
1116 (xr_register_name): Likewise.
1117 (data_register_name): Likewise.
1118 (address_register_name): Likewise.
1119 (other_register_name): Likewise.
1120 * config/tc-ppc.c (register_name): Likewise.
1121 * config/tc-s390.c (register_name): Likewise.
1123 2001-07-27 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1125 * config/tc-m68hc11.c (md_estimate_size_before_relax): Fix bsr
1126 and bra relax: update fragP->fr_fix after the fixup.
1128 2001-07-27 Tracy Kuhrt <Tracy.Kuhrt@microchip.com>
1130 * read.c (s_set): Check for missing symbol name.
1132 2001-07-26 Alan Modra <amodra@bigpond.net.au>
1134 * write.c (relax_segment <rs_space>): Account for fr_fix.
1136 2001-07-25 H.J. Lu <hjl@gnu.org>
1138 * config/tc-mips.c (md_estimate_size_before_relax): Make sure
1139 we treat weak like extern only for ELF.
1140 (mips_fix_adjustable): Make sure we don't adjust extern/weak
1141 symbols only for ELF.
1143 2001-07-25 Chris Demetriou <cgd@broadcom.com>
1145 * config/tc-mips.c: Fix spelling error in comment.
1147 2001-07-25 Dave Brolley <brolley@redhat.com>
1149 * app.c (LEX_IS_PARALLEL_SEPARATOR): New macro.
1150 (IS_PARALLEL_SEPARATOR): New macro.
1151 (do_scrub_begin): Set up characters in tc_parallel_separator_chars
1152 as LEX_IS_PARALLEL_SEPARATOR, if it is defined.
1153 (do_scrub_chars): Handle LEX_PARALLEL_SEPARATOR chars like
1154 LEX_LINE_SEPARATOR except that we go to state 1 (as if the label has
1157 2001-07-24 Alan Modra <amodra@bigpond.net.au>
1159 * Makefile.am (DEP_FLAGS): Define, add -DOBJ_MAYBE_ELF.
1160 (DEP1, DEPTC, DEPOBJ, DEP2): Use it.
1161 Update dependencies with "make dep-am".
1162 * Makefile.in: Regenerate.
1163 * doc/Makefile.in: Regenerate.
1165 2001-07-23 Kazu Hirata <kazu@hxi.com>
1167 * config/tc-alpha.h: Fix formatting.
1168 * config/tc-arc.c: Likewise.
1169 * config/tc-d10v.h: Likewise.
1170 * config/tc-hppa.c: Likewise.
1171 * config/tc-i370.c: Likewise.
1172 * config/tc-i386.h: Likewise.
1173 * config/tc-i960.h: Likewise.
1174 * config/tc-ia64.c: Likewise.
1175 * config/tc-ia64.h: Likewise.
1176 * config/tc-m32r.c: Likewise.
1177 * config/tc-m68k.c: Likewise.
1178 * config/tc-m88k.c: Likewise.
1179 * config/tc-ns32k.c: Likewise.
1180 * config/tc-pdp11.c: Likewise.
1181 * config/tc-pj.h: Likewise.
1182 * config/tc-s390.c: Likewise.
1183 * config/tc-sparc.c: Likewise.
1184 * config/tc-sparc.h: Likewise.
1185 * config/tc-tic80.c: Likewise.
1186 * config/tc-w65.h: Likewise.
1188 2001-07-23 Alan Modra <amodra@bigpond.net.au>
1190 * symbols.c (S_GET_VALUE): Don't treat O_constant and local
1191 symbols specially. Always resolve, adding fr_address to value.
1192 * write.c (write_object_file): Don't add fr_address to sym values.
1193 (relax_frag): Likewise.
1194 (relax_segment): Likewise.
1195 * config/obj-ieee.c (do_symbols): Likewise.
1196 * config/tc-cris.c (md_convert_frag): Likewise.
1197 * config/tc-fr30.c (md_convert_frag): Likewise.
1198 * config/tc-i386.c (md_convert_frag): Likewise.
1199 * config/tc-m32r.c (md_convert_frag): Likewise.
1200 * config/tc-m68hc11.c (md_convert_frag): Likewise.
1201 * config/tc-mcore.c (md_convert_frag): Likewise.
1202 * config/tc-mips.c (mips16_extended_frag): Likewise.
1203 * config/tc-ns32k.c (md_convert_frag): Likewise.
1204 * config/tc-m68k.c (md_convert_frag_1): Likewise.
1205 (BRANCHBWL, BRABSJUNC, BRABSJCOND, BRANCHBW, FBRANCH, DBCCLBR,
1206 DBCCABSJ, PCREL1632, PCINDEX, ABSTOPCREL): Decrement.
1207 (md_relax_table): Remove first four entries. Format.
1208 (md_estimate_size_before_relax): Remove old_fix. Don't bother
1209 setting fr_var. Simplify byte branch checks.
1211 2001-07-23 Alan Modra <amodra@bigpond.net.au>
1213 * config/tc-hppa.c (pa_parse_nonneg_cmpsub_cmpltr): Remove
1214 "isbranch" param as all calls have it set.
1215 (pa_parse_neg_cmpsub_cmpltr): Likewise.
1216 (pa_parse_nonneg_add_cmpltr): Likewise. Remember result of
1217 strcasecmp in "nullify" var.
1218 (pa_parse_neg_add_cmpltr): Likewise.
1219 (pa_ip): Don't "save_s" unnecessarily. Update calls to above
1220 functions. Don't print wrong conditions in error messages.
1222 2001-07-23 Andreas Jaeger <aj@suse.de>
1224 * config/tc-s390.c (s390_force_relocation): Removed.
1226 * config/tc-s390.h: Remove double declaration of
1227 TC_FORCE_RELOCATION.
1229 2001-07-22 H.J. Lu <hjl@gnu.org>
1231 * config/tc-mips.c (s_mips_end): Remove unused variables.
1232 (s_mips_frame): Add ATTRIBUTE_UNUSED.
1234 2001-07-17 Andreas Schwab <schwab@suse.de>
1236 * config/tc-m68k.c (md_pseudo_table) [OBJ_ELF]: Add .file and
1238 (md_assemble) [OBJ_ELF]: Call dwarf2_emit_insn before emitting
1240 * config/tc-m68k.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
1242 2001-07-17 matthew green <mrg@eterna.com.au>
1244 * config/tc-i386.c (comment_chars): Don't use '/' as comment start if
1246 (line_comment_chars): Set to '/' if TE_NetBSD.
1248 2001-07-14 matthew green <mrg@eterna.com.au>
1250 * configure.in (i386-*-netbsdelf*): New target.
1251 * configure: Regenerate.
1253 2001-07-10 Mark Elbrecht <snowball3@softhome.net>
1255 * config/obj-coff.c (coff_frob_symbol): Don't merge if the storage
1256 class of the non-debug symbol is C_NULL.
1258 2001-07-10 Anders Norlander <anorland@synergenix.se>
1260 * doc/as.texinfo (Incbin): Fix grammatical errors.
1262 2001-07-10 Nick Clifton <nickc@cambridge.redhat.com>
1264 * depend.c: Use FOPEN_.. macros in calls to fopen().
1265 * input-file.c: As above.
1266 * itbl-ops.c: As above.
1267 * listing.c: As above.
1268 * output-file.c: As above.
1271 2001-07-08 Anders Norlander <anorland@synergenix.se>
1273 * read.c (s_incbin): New .incbin function.
1274 * read.c (potable): Add "incbin" pseudo-op.
1275 * read.h: Add s_incbin prototype.
1276 * doc/as.texinfo (incbin): Document .incbin pseudo-op.
1277 * NEWS: Mention new feature.
1279 2001-07-07 Nick Clifton <nickc@cambridge.redhat.com>
1281 * ecoff.c (add_file): Only set debug_type to DEBUG_NONE if it is
1284 2001-07-06 John Healy <jhealy@redhat.com>
1286 * cgen.c (gas_cgen_save_fixups): Modified to allow more than one
1287 set of fixups to be stored.
1288 (gas_cgen_restore_fixups): Modified to allow the fixup chain to be
1289 restored to be chosen from any that are saved.
1290 (gas_cgen_swap_fixups): Modified to allow the current set of
1291 fixups to be swapped with any other set that has been saved.
1292 (gas_cgen_initialize_saved_fixups_array): New routine.
1293 * cgen.h: Modifed prototypes for gas_cgen_save_fixups,
1294 gas_cgen_restore_fixups, and gas_cgen_swap_fixups. Added definitions
1295 or MAX_SAVED_FIXUP_CHAINS.
1296 * config/tc-m32r.c (assemble_two_insns): Changed calls to fixup
1297 store, swap and restore fuctions to reflect the new interface.
1299 2001-07-06 Nick Clifton <nickc@cambridge.redhat.com>
1301 * config/tc-m68k.c (md_estimate_size_before_relax): Catch and
1302 ignore empty, ineffectual alignment frags when deciding if a
1303 branch can be short.
1305 2001-07-05 Steve Ellcey <sje@cup.hp.com>
1307 * config/tc-ia64.c (special_section): Add SPECIAL_SECTION_INIT_ARRAY
1308 and SPECIAL_SECTION_FINI_ARRAY.
1309 (special_section_name): Add .init_array and .fini_array.
1310 (md_pseudo_table): Add init_array and fini_array.
1311 (md): Add pointer_size and pointer_size_shift fields.
1312 (setup_unwind_header): New static function.
1313 (output_unw_records): Modify to use setup_unwind_header.
1314 (generate_unwind_image, dot_endp): Modify to use md.pointer_size and
1315 md.pointer_size_shift.
1316 (md_begin): Initialize md.pointer_size and md.pointer_size_shift.
1318 2001-07-05 Ben Elliston <bje@redhat.com>
1320 * README (Supported platforms): m88k no longer suffers bitrot.
1322 * config/tc-m88k.c (md_pseudo_table): Remove redundant "global".
1324 2001-07-05 Alan Modra <amodra@bigpond.net.au>
1326 * struc-symbol.h (struct local_symbol): Rename lsy_offset to
1327 lsy_value. Correct typos in comments.
1328 * symbols.c (local_symbol_make): Update for name change.
1329 (local_symbol_convert): Likewise.
1331 (S_GET_VALUE): Likewise.
1332 (S_SET_VALUE): Likewise.
1333 (print_symbol_value_1): Likewise.
1334 (resolve_symbol_value): Likewise. Don't divide local sym values
1335 by OCTETS_PER_BYTE twice.
1337 2001-07-04 Jim Wilson <wilson@redhat.com>
1339 * config/tc-ia64.c (md_pseudo_table): Add 2byte, 4byte, and 8byte.
1341 * config/tc-ia64.c (is_conditional_branch): Rewrite to exclude mod
1344 2001-07-05 Ben Elliston <bje@redhat.com>
1346 * read.c (s_fill): Correct spelling error in comments.
1348 * doc/c-m88k.texi: New file.
1349 * doc/Makefile.am (CPU_DOCS): Add c-m88k.texi.
1350 * doc/Makefile.in: Regenerate.
1351 * doc/all.texi: Set M880X0.
1352 * doc/as.texinfo: Hook in m88k-dependent documentation.
1354 2001-07-04 Eric Christopher <echristo@redhat.com>
1356 * doc/c-mips.texi (MIPS Opts): Document 12000 as valid cpu.
1358 * config/tc-mips.c (mips_cpu_info_table): Add rm5200, rm5231, rm5261,
1359 and rm5721 as valid cpu strings.
1360 (md_show_usage): Add rm5200, rm5231, rm5261, rm5721.
1362 2001-07-04 Richard Sandiford <rsandifo@redhat.com>
1364 * config/tc-mips.c (md_apply_fix): Prevent addend from becoming zero
1365 if it's expected to be non-zero.
1367 2001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
1369 * config/tc-sh.c (sh_frob_section): Replace symbol_get_frag() with
1372 * write.c (TC_FINALIZE_SYMS_BEFORE_SIZE_SEG): Default to 1.
1373 (write_object_file): Set finalize_syms to
1374 TC_FINALIZE_SYMS_BEFORE_SIZE_SEG just before size_segs is
1377 * doc/internals.texi; Document
1378 TC_FINALIZE_SYMS_BEFORE_SIZE_SEG.
1380 2001-07-02 Alan Modra <amodra@bigpond.net.au>
1382 * config/tc-ppc.c: Formatting fixes.
1384 2001-07-01 Ben Elliston <bje@redhat.com>
1386 * config/tc-m88k.c: Back out warning fixes from 2001-06-24, as
1387 they cause some subtle breakage. Will fix them again later.
1389 2001-06-28 Nick Clifton <nickc@cambridge.redhat.com>
1391 * config/obj-coff.c (obj_coff_ln): Treat a .ln directive
1392 outside of a function as a .appline directive.
1394 2001-06-28 Eric Christopher <echristo@redhat.com>
1395 H.J. Lu <hjl@gnu.org>
1397 * config/tc-mips.c (mips_arch): New. Use mips_arch instead
1398 of mips_cpu for the ISA selection.
1399 (md_longopts): Add OPTION_MARCH and OPTION_MTUNE.
1400 (md_parse_option): Handle OPTION_MARCH and OPTION_MTUNE.
1401 (mips_tune): New. Use mips_tune for scheduling and optimization
1403 (append_insn): Use mips_tune and mips_arch.
1404 (macro_build): Ditto.
1406 (md_begin): Handle mips_arch, mips_tune and mips_cpu. For
1407 backwards compatability mips_cpu generates arch and tune.
1408 (md_show_usage): Document new behavior.
1410 * doc/c-mips.texi (MIPS Opts): Document -march and -mtune.
1415 2001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
1417 * write.c (write_object_file): Do not set finalize_syms until
1418 after the segments have been sized. Some backends may still
1419 need to access the syms's frags in order to adjust relaxed
1422 * config/tc-arm.c (do_ldst): Use MVN to build simple inverted
1425 2001-06-27 Alan Modra <amodra@bigpond.net.au>
1427 * write.c (fixup_segment <Difference of 2 syms same seg>): Don't
1428 subtract MD_PCREL_FROM_SECTION for 68k.
1429 (fixup_segment <Difference of 2 syms different seg>): Only fudge
1430 by adding MD_PCREL_FROM_SECTION for 68k or if not already pcrel.
1432 2001-06-27 Tracy A. Kuhrt <Tracy.Kuhrt@microchip.com>
1434 * write.c (fixup_segment <Difference of 2 syms same seg>): If
1435 pcrel, subtract MD_PCREL_FROM_SECTION value.
1437 2001-06-24 Ben Elliston <bje@redhat.com>
1439 * stabs.c (generate_asm_file): Make local variable `len' a size_t.
1441 2001-06-24 Jakub Jelinek <jakub@redhat.com>
1443 * config/tc-alpha.c (tc_gen_reloc): Handle relocs against SEC_MERGE
1444 section symbols the same way as externs.
1446 2001-06-24 Ben Elliston <bje@redhat.com>
1448 * config/tc-m88k.c (md_number_to_imm): Remove; unused since 1993.
1449 (emit_relocations): Ditto.
1451 (md_begin): Reformat comments to conform to the GNU standards.
1452 (md_assemble): Ditto.
1454 * config/tc-m88k.c (get_reg): Adjust type of `reg_prefix' to char.
1455 (md_parse_option): Mark parameters as unused.
1456 (md_show_usage): Ditto.
1457 (calcop): Adjust type of `reg_prefix' to char.
1459 (getval): Adjust type of local `c' to char.
1460 (md_create_short_jump): Mark from_addr, to_addr params as unused.
1461 (md_create_long_jump): Ditto.
1462 (md_estimate_size_before_relax): Mark parameters as unused.
1464 * config/tc-m88k.c (md_pseudo_table): Properly terminate the table
1465 to allay a possible compiler warning.
1467 2001-06-22 Nick Clifton <nickc@cambridge.redhat.com>
1469 * doc/internals.texi (CPU backend): Document md_atof.
1471 2001-06-22 Matthew Wilcox <willy@ldl.fc.hp.com>
1473 * config/tc-hppa.c (pre_defined_registers): Add %mrp (millicode
1474 return pointer) alias for %r2 or %r31, depending on 32 or 64 bit
1477 2001-06-21 Philip Blundell <philb@gnu.org>
1479 * config/tc-arm.c (cplong_flag): Rename to long_flag. All uses
1481 (insns): Remove entry for adrl. Add long_flag for adr.
1482 (do_adr): Handle `l' suffix.
1485 2001-06-21 Alan Modra <amodra@bigpond.net.au>
1487 * config/tc-hppa.c (CHECK_FIELD_WHERE): Define.
1488 (md_apply_fix): Use it here. Replace printf with equivalent
1490 (tc_gen_reloc): Use as_bad_where instead of as_bad.
1491 (md_apply_fix): Here too.
1492 * config/tc-i386.c (tc_gen_reloc): Use as_bad_where instead of as_bad.
1493 * config/tc-m68k.c (tc_gen_reloc): Likewise.
1494 (md_convert_frag_1): Likewise.
1496 2000-06-20 Tom Rix <trix@redhat.com>
1498 * config/tc-ppc.c (ppc_comm): Change default alignment to 4 bytes.
1500 2001-06-18 H.J. Lu <hjl@gnu.org>
1502 * doc/Makefile.am (info): Depend on $(MANS).
1503 (as.1): Remove the prefix `$(srcdir)/'.
1504 * doc/Makefile.in: Regenerated.
1508 2001-06-18 Philip Blundell <philb@gnu.org>
1510 * config/tc-arm.c (do_msr): Remove restriction on usage of
1513 2001-06-19 Alan Modra <amodra@bigpond.net.au>
1515 * dwarf2dbg.c (dwarf2_finish): Output file info even when no
1518 2001-06-13 Philip Blundell <philb@gnu.org>
1520 * config/tc-arm.c (thumb_shift): Improve wording of error message.
1521 (do_t_arit): Likewise.
1523 2001-06-13 Nick Clifton <nickc@cambridge.redhat.com>
1525 * config/tc-sh.c (md_pseudo_table): Only intercept the .file and
1526 .loc pseudos if the dfwarf2 functions are available.
1527 (md_assemble): Only call dwarf2_emit_insn if it is available.
1529 * expr.c: Fix typo in comment.
1531 2001-06-12 Nick Clifton <nickc@cambridge.redhat.com>
1533 * doc/as.texinfo (Infix Ops): Document that comparison and
1534 combiner operators can be used as infix operators.
1536 2001-06-12 Peter Jakubek <pjak@snafu.de>
1538 * config/tc-m68k.c (parse_mri_control_operand): Fix handling
1540 (swap_mri_condition): Add HS (alias fo CC) and LO (alias for CS).
1541 (reverse_mri_condition): Likewise.
1542 (swap_mri_condition): Issue warning for conditions that can not be
1544 (build_mri_control_operand): Fix order of operands (swapped).
1545 (build_mri_control_operand): Allow upper case extension in structured
1547 (s_mri_else): Likewise.
1548 (s_mri_next): Likewise.
1549 (s_mri_for): Likewise.
1550 (s_mri_if): Fix handling comment ('*') in mri mode.
1551 (s_mri_while): Likewise.
1552 * macro.c (macro_expand): Allow macro invocation with empty
1555 2001-06-12 Nick Clifton <nickc@cambridge.redhat.com>
1557 * config/tc-arm.c: Fix test for overlow of literal pool.
1559 2001-06-11 H.J. Lu <hjl@gnu.org>
1561 * NEWS: Updated for the new -n option for the MIPS assembler.
1563 * config/tc-mips.c (md_show_usage): Add -n.
1565 * doc/as.texinfo: Document the new -n option.
1566 * doc/c-mips.texi: Likewise.
1567 * doc/as.1: Regenerated.
1569 2001-06-10 Alan Modra <amodra@bigpond.net.au>
1571 * config/obj-coff.c (obj_coff_section): Formatting fix.
1573 * config/tc-i386.c (md_assemble): Accept branch hints as ",pt" and
1576 2001-06-08 H.J. Lu <hjl@gnu.org>
1578 * config/tc-mips.c (warn_nops): New variable. Set to 0 to
1579 disable warning about all NOPS that the assembler generates.
1580 (macro): Warn NOPS generated only if warn_nops is not 0.
1581 (md_shortopts): Add `n'.
1582 (md_parse_option): Set warn_nops to 1 for `n'.
1584 2001-06-08 H.J. Lu <hjl@gnu.org>
1586 * config/tc-mips.c (mips_ip): Properly handle illegal operands.
1588 2001-06-08 H.J. Lu <hjl@gnu.org>
1590 * config/tc-mips.c (md_apply_fix): Don't adjust common
1591 extern/weak symbols for ELF.
1592 (md_estimate_size_before_relax): Treat weak like extern for
1594 (mips_fix_adjustable): Don't adjust extern/weak symbols for
1597 2001-06-08 Alan Modra <amodra@bigpond.net.au>
1599 * Makefile.am: 'som' is not wrongly spelled 'some'.
1600 * Makefile.in: Regenerate.
1602 * config/tc-mips.c (mips16_mark_labels): Reduce number of calls to
1603 S_GET_VALUE by using a temp.
1604 (append_insn): Likewise, and for S_SET_VALUE too.
1605 (mips_emit_delays): Likewise.
1606 (my_getExpression): Likewise.
1607 (md_apply_fix): Likewise. Use "valueT" rather than "long" for "value".
1608 (mips16_extended_frag): Remove code concerned with avoiding
1609 locking in a frag address now that symbols are not finalized until
1610 relaxation is complete. Cater for first relaxation pass having
1611 bogus addresses. Use relax_marker to reliably determine whether a
1612 symbol frag has been reached on the current pass.
1614 2001-06-07 H.J. Lu <hjl@gnu.org>
1616 * configure.in: Move "mips-*-linux-gnu*" before "mips-*-gnu*".
1617 * configure: Regenerate.
1619 2001-06-07 H.J. Lu <hjl@gnu.org>
1621 * configure.in: Use MIPS_STABS_ELF for Linux/mips and remove
1623 * configure: Regenerate.
1625 2001-06-07 H.J. Lu <hjl@gnu.org>
1627 * config/tc-mips.c (mips_pseudo_table): Add "extern" if
1628 MIPS_STABS_ELF is defined.
1630 2001-06-06 Nick Clifton <nickc@cambridge.redhat.com>
1632 * as.c (show_usage): Remove L from listing options. It is not a
1635 2001-06-06 Christian Groessler <cpg@aladdin.de>
1637 * config/tc-z8k.c: Removed many warnings by removing unused
1638 variables and tagging unused parameters as such.
1639 (md_begin): Fixed a typo (","instead of ";").
1640 (struct ctrl_table): Add parentheses to initialize array
1642 (struct flag_table): Likewise.
1643 (struct intr_table): Likewise.
1644 (struct table): Likewise.
1645 (check_operand): "#if 0"'ed since it doesn't seem to be used.
1647 2001-06-06 Peter Jakubek <pjak@snafu.de>
1649 * config/tc-m68k.c (md_show_usage): Add all supported ColdFire
1650 options to list (e.g. m5206e, m5307, m5407).
1652 2001-06-06 Martin Schwidefsky <schwidefsky@de.ibm.com>
1654 * config/tc-s390.h (TC_FORCE_RELOCATION): Always emit relocations
1655 BFD_RELOC_VTABLE_INHERIT and BFD_RELOC_VTABLE_ENTRY.
1657 2001-06-06 Alan Modra <amodra@bigpond.net.au>
1659 * config/tc-i386.c (md_assemble): Handle Pentium4 branch hints.
1660 <JumpByte, JumpDword insn output>: Remove dead code.
1662 2001-06-06 Tracy Kuhrt <Tracy.Kuhrt@microchip.com>
1664 * as.c (parse_args): Correct option name "listing-lhs-width2".
1666 2001-06-05 Nick Clifton <nickc@cambridge.redhat.com>
1668 * symbols.c (S_SET_EXTERNAL): Do not override a section symbol's
1671 2001-05-30 Richard Henderson <rth@redhat.com>
1673 * read.c (emit_leb128_expr): Call md_cons_align.
1675 2001-05-28 Jeff Sturm <jsturm@one-point.com>
1677 * config/tc-sparc.c (md_apply_fix3): Handle BFD_RELOC_SPARC_UA16,
1678 BFD_RELOC_SPARC_UA32 and BFD_RELOC_SPARC_UA64.
1679 (tc_gen_reloc): Likewise.
1680 (sparc_cons_align): Don't clear sparc_no_align_cons.
1681 (cons_fix_new_sparc): Substitute BFD_RELOC_SPARC_UA{16|32|64} for
1682 BFD_RELOC_{16|32|64} iff sparc_no_align_cons is set.
1684 2001-05-27 Alan Modra <amodra@one.net.au>
1686 * write.c (relax_segment <rs_space>): Check the section of a
1687 symbol to determine whether it is absolute rather than comparing
1688 its frag against zero_address_frag as listings play tricks with
1691 * config/tc-m68k.c (md_assemble): Ensure variable part of frag is
1692 allocated in the same chunk as the fixed part.
1694 2001-05-26 Alan Modra <amodra@one.net.au>
1696 * write.c (relax_segment <rs_space>): Calculate growth using
1697 addresses before stretch. Prevent repeated error messages.
1698 From Peter Jakubek <pjak@snafu.de>
1699 Use as_bad_where and as_warn_where to pinpoint errors.
1701 2001-05-25 Alan Modra <amodra@one.net.au>
1703 * symbols.c (resolve_symbol_value): Always set segment, even when
1704 not finalizing symbol value.
1706 * config/obj-ieee.c (write_object_file): Set finalize_syms.
1707 * config/obj-coff.c (write_object_file): Likewise.
1708 * (size_section): Remove rs_space assert as fr_symbol is no longer
1710 (fill_section): Likewise.
1712 * configure.in: Replace linuxoldld with linux*oldld.
1713 * configure: Regenerate.
1715 From 2.11 branch 2001-03-30 Richard Henderson <rth@redhat.com>
1716 * config/tc-i386.c (md_convert_frag): Don't die on local symbols
1717 that have been finalized.
1719 * symbols.c (resolve_symbol_value): Clear sy_resolving before
1720 taking exit_dont_set_value.
1722 * write.c (relax_segment <rs_space>): Don't zap fr_symbol when
1725 2000-05-24 Tom Rix <trix@redhat.com>
1727 * config/obj-coff.c (add_lineno): xcoff allows negative line
1729 * config/tc-ppc.c (ppc_stabx): fix generated symbol
1731 2001-05-24 Alan Modra <amodra@one.net.au>
1733 * write.c (write_object_file): Set finalize_syms = 1 before
1736 2001-05-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1738 * config/tc-mips.c (ISA_HAS_64BIT_REGS): Add ISA_MIPS64 as 64 bit
1739 architecture, remove erraneous ISA_MIPS32.
1740 (md_show_usage): Add MIPS r12k support.
1741 (mips_cpu_info_table): Add MIPS r12k support.
1743 2001-05-22 Alan Modra <amodra@one.net.au>
1745 * config/tc-arc.c (md_assemble): Use is_end_of_line instead of
1748 * symbols.c (resolve_symbol_value): Remove "finalize" param,
1749 instead use finalize_syms directly. Don't treat expressions
1750 specially with regard to finalize_syms. Update calls to self.
1751 (resolve_local_symbol): Update call to resolve_symbol_value.
1752 (S_GET_VALUE): Likewise. Return resolve_symbol_value if
1754 * symbols.h (resolve_symbol_value): Update prototype.
1755 * config/obj-aout.c (obj_crawl_symbol_chain): Update call
1756 to resolve_symbol_value.
1757 * config/obj-bout.c (obj_crawl_symbol_chain): Likewise.
1758 * config/obj-coff.c (do_relocs_for): Likewise.
1759 (yank_symbols): Likewise.
1760 (fixup_segment): Likewise.
1761 * config/obj-vms.c (obj_crawl_symbol_chain): Likewise.
1762 * config/tc-mips.c (md_convert_frag): Likewise.
1763 * config/tc-ppc.c (ppc_frob_symbol): Likewise.
1764 (ppc_fix_adjustable): Likewise.
1765 * dwarf2dbg.c (dwarf2dbg_estimate_size_before_relax): Likewise.
1766 (dwarf2dbg_convert_frag): Likewise.
1767 * ehopt.c (eh_frame_estimate_size_before_relax): Likewise.
1768 (eh_frame_convert_frag): Likewise.
1769 * expr.c (make_expr_symbol): Likewise.
1770 * write.c (adjust_reloc_syms): Likewise.
1771 (write_object_file): Likewise.
1772 (relax_segment): Likewise.
1773 (fixup_segment): Likewise.
1774 (finalize_syms): Init to zero, and update comment.
1775 (write_object_file): Set finalize_syms to 1 rather than 2.
1776 * doc/internals.texi (sy_value): Mention finalize_syms.
1777 (S_GET_VALUE): Remove restriction on when S_GET_VALUE can be called.
1779 * config/tc-m68k.c (relaxable_symbol): Only treat external symbols
1780 as relaxable if embedded system, make weak syms non-relaxable.
1782 (tc_m68k_fix_adjustable): ..so it can be used here.
1783 (md_apply_fix_2): Sign extend without conditional.
1785 * config/tc-v850.c: Update copyright.
1787 2001-05-16 Jeff Johnston <jjohnstn@redhat.com>
1789 * cgen.c (gas_cgen_tc_gen_reloc): Changed error message when
1790 howto entry is not found.
1792 2001-05-15 Alexandre Oliva <aoliva@redhat.com>
1794 * config/tc-mn10300.c (mn10300_force_relocation): Don't
1795 optimize differences between symbols in code sections to
1797 (mn10300_fix_adjustable): Don't adjust to section+offset
1798 relocations pointing at symbols in code sections.
1800 2001-05-16 Alan Modra <amodra@one.net.au>
1802 * config/tc-arc.c (md_assemble): Correct dwarf2_emit_insn param
1804 * config/tc-i386.c (md_assemble): Call dwarf2_emit_insn before
1805 opcodes are output rather than after. Delete insn_size.
1806 * config/tc-v850.c (md_assemble): Similarly, but delete
1809 2001-05-14 Richard Henderson <rth@redhat.com>
1811 * ehopt.c (eh_frame_convert_frag): Fix missed subtype adjustment
1814 2001-05-14 Richard Henderson <rth@redhat.com>
1816 * ehopt.c (get_cie_info): Rename from eh_frame_code_alignment;
1817 also collect whether to expect an FDE augmentation.
1818 (check_eh_frame): Rewrite as a state machine. Track where in
1819 an FDE we are located, skip any augmentation.
1820 (eh_frame_estimate_size_before_relax): Get code alignment from
1821 the fragment subtype.
1822 (eh_frame_relax_frag, eh_frame_convert_frag): Likewise.
1823 * read.c (emit_leb128_expr): Call check_eh_frame.
1825 2001-05-14 Alexandre Oliva <aoliva@redhat.com>
1827 * config/tc-mn10300.c (md_assemble): Anchor dwarf2 line info
1828 before a relaxable insns.
1830 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
1832 * config/tc-mn10300.c (tc_gen_reloc): Don't reject differences
1833 between symbols if the base symbol is in the current section;
1834 emit a PC-relative relocation instead.
1836 2001-05-12 Peter Targett <peter.targett@arccores.com>
1838 * config/tc-arc.c: Update copyright and tidy source comments.
1839 (md_pseudo_table): Add directive .cpu back as an alias for
1840 .option. Add .file and .line for dwarf2 support.
1841 (arc_mach_type): Make bfd_mach_arc_6 default.
1842 (md_longopts): Add entry 'pre-v6' representing old command line
1843 option when assembling for 'arc5' core versions.
1844 (md_parse_option): Make OPTION_ARC same as OPTION_ARC6, for new
1846 (arc_code_symbol): Make symbol value for @h30 fixup expression
1847 equal to O_constant.
1848 (md_assemble): Call dwarf2_emit_insn.
1849 Include "dwarf2dbg2.h". Formatting fixes throughout file.
1850 * config/tc-arc.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
1851 * doc/c-arc.texi (ARC_CORE_DEFAULT): Update to new default.
1853 2001-05-11 Jakub Jelinek <jakub@redhat.com>
1855 * config/tc-ia64.c (special_linkonce_name): New.
1856 (make_unw_section): Map .gnu.linkonce.t.FOO text section into
1857 .gnu.linkonce.ia64unw{,i}.FOO.
1858 (ia64_elf_section_type): Handle .gnu.linkonce.ia64unw{,i}.FOO.
1859 (dot_endp): Add comment about it.
1861 2001-05-11 Nick Clifton <nickc@cambridge.redhat.com>
1863 * config/tc-arm.c (arm_handle_align): When truncating an aligned
1864 block, ensure that the low order bits of the alignment are
1867 2001-05-10 Alan Modra <amodra@one.net.au>
1869 * config/obj-vms.c (obj_crawl_symbol_chain): Don't take address of
1872 * config/tc-fr30.c (md_estimate_size_before_relax): Return size of
1873 current variable part of frag.
1874 * config/tc-m32r.c (md_estimate_size_before_relax): Likewise.
1875 * config/tc-openrisc.c (md_estimate_size_before_relax): Likewise.
1876 * config/tc-m68hc11.c (RELAX_STATE): Define.
1877 (RELAX_LENGTH): Define.
1878 (md_estimate_size_before_relax): Handle non-relaxable cases
1879 separately from relaxable cases for clarity, and return correct
1880 size for multi-pass relaxation.
1881 * config/tc-tahoe.c (RELAX_LENGTH): Correct.
1882 (md_estimate_size_before_relax): As for tc-m68hc11.c.
1883 (md_convert_frag): Remove "length_code".
1884 * config/tc-vax.c (RELAX_STATE): Define.
1885 (RELAX_LENGTH): Define.
1886 (md_relax_table): Add missing entry.
1887 (md_estimate_size_before_relax): As for tc-m68hc11.c.
1888 (md_convert_frag): Remove "length_code".
1889 * config/tc-ns32k.c (md_estimate_size_before_relax): Simplify and
1890 don't bother setting fr_var. Return correct size for multi-pass
1892 * config/tc-v850.c (md_estimate_size_before_relax): Rewrite.
1893 (md_convert_frag): Don't bother clearing fr_var.
1894 (md_pseudo_table): Correct initialization.
1895 * config/tc-h8500.c (md_convert_frag): Don't bother clearing fr_var.
1896 (md_estimate_size_before_relax): No need to set fr_var.
1897 * config/tc-mcore.c (md_convert_frag): Don't bother clearing fr_var.
1898 (md_estimate_size_before_relax): No need to set fr_var.
1900 2001-05-09 Richard Henderson <rth@redhat.com>
1902 * config/tc-ia64.c (generate_unwind_image): Align the fragment
1903 beginning a function's unwind info block.
1905 2001-05-09 Alexandre Oliva <aoliva@redhat.com>
1907 * config/tc-mn10300.c (md_apply_fix3): Accept PC-relative relocs.
1909 2001-05-08 Andreas Schwab <schwab@suse.de>
1911 * config/tc-m68k.c: Instead of replacing -1 by 64 in assignment to
1912 fx_pcrel_adjust explicitly sign extend when reading it.
1914 2001-05-08 Alan Modra <amodra@one.net.au>
1916 * config/tc-m68k.c (md_estimate_size_before_relax): Set fr_var
1917 from md_relax_table, and combine some switch cases.
1919 2001-05-06 Alexandre Oliva <aoliva@redhat.com>
1921 * config/tc-mn10300.c (md_assemble): Subtract operand->shift
1922 from offset in non-pcrel operands too.
1924 2001-05-06 Nick Clifton <nickc@cambridge.redhat.com>
1926 * config/tc-arm.h (MAX_MEM_FOR_RS_ALIGN_CODE): Define.
1927 * config/tc-arm.c (arm_handle_align): Do not insert more than
1928 MAX_MEM_FOR_RS_ALIGN_CODE bytes.
1929 (arm_frag_align_code): Use MAX_MEM_FOR_RS_ALIGN_CODE.
1931 2001-05-03 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1933 * Makefile.am (TARG_ENV_HFILES): Add te-hppa64.h and te-hppalinux64.h.
1935 * Makefile.in: Regenerate.
1936 * configure.in: Remove duplicate mips-*-ecoff* entry.
1937 * configure: Regenerate.
1939 * config/obj-ecoff.c (obj_pseudo_table): Fix terminating entry.
1940 (n_names): Cast away type mismatch.
1941 (ecoff_sec_sym_ok_for_reloc): Add unused attribute.
1942 (obj_ecoff_frob_symbol): Likewise.
1943 * ecoff.c: (add_file): Add unused attribute.
1944 (ecoff_directive_begin): Likewise.
1945 (ecoff_directive_bend): Likewise.
1946 (ecoff_directive_def): Likewise.
1947 (ecoff_directive_dim): Likewise.
1948 (ecoff_directive_scl): Likewise.
1949 (ecoff_directive_size): Likewise.
1950 (ecoff_directive_type): Likewise.
1951 (ecoff_directive_tag): Likewise.
1952 (ecoff_directive_val): Likewise.
1953 (ecoff_directive_endef): Likewise.
1954 (ecoff_directive_end): Likewise.
1955 (ecoff_directive_ent): Likewise.
1956 (ecoff_directive_extern): Likewise.
1957 (ecoff_directive_file): Likewise.
1958 (ecoff_directive_fmask): Likewise.
1959 (ecoff_directive_frame): Likewise.
1960 (ecoff_directive_mask): Likewise.
1961 (ecoff_directive_loc): Likewise.
1962 (mark_stabs): Likewise.
1963 (ecoff_stab): Likewise.
1964 (ecoff_frob_symbol): Cast away type mismatch.
1965 (ecoff_padding_adjust): Likewise.
1966 (ecoff_build_symbols): Likewise.
1967 (ecoff_build_procs): Likewise.
1968 (ecoff_build_aux): Likewise.
1969 (ecoff_build_strings): Likewise.
1970 (ecoff_build_fdr): Likewise.
1971 (ecoff_build_debug): Likewise.
1972 * itbl-ops.c (itbl_assemble): Variable initialization.
1974 2001-05-03 Alan Modra <amodra@one.net.au>
1976 * config/tc-i386.c (i386_displacement): Call as_bad for bad GOTOFF
1977 expressions rather than triggering an assert.
1979 2001-05-02 Johan Rydberg <jrydberg@opencores.org>
1981 * config/tc-openrisc.c: New file.
1982 * config/tc-openrisc.h: Likewise.
1984 * Makefile.am: Add OpenRISC target.
1985 * Makefile.in: Regenerated.
1987 * configure.in (openrisc-*-*): Add target.
1988 * configure: Regenerated.
1990 2001-05-02 Nick Clifton <nickc@cambridge.redhat.com>
1992 * config/tc-arm.c (arm_frag_align_code): Change error message to
1993 more explanatory version.
1995 2001-04-29 Keith M Wesolowski <wesolows@foobazco.org>
1997 * config/tc-mips.c (md_parse_option): Also accept
1998 elf64-tradbigmips and elf64-tradlittlemips for OPTION_64.
2000 2001-04-27 David Mosberger <davidm@hpl.hp.com>
2002 * config/tc-ia64.c (dot_spillmem_p): Fix output_spill_?sprel_p()
2003 argument passing order: predicate goes last, not first.
2005 2001-04-27 Sean McNeil <sean@mcneil.com>
2007 * configure.in: Add arm-vxworks.
2008 * configure: Regenerate.
2010 2001-04-26 Nick Clifton <nickc@cambridge.redhat.com>
2012 * config/tc-arm.c (arm_handle_align): New Function: Generate
2013 no-op filled alignment frags.
2014 (arm_frag_align_code): New Function: Create a code alignment frag.
2015 (arm_init_frag): New Function: Initialse the target dependent
2018 * config/tc-arm.h (TC_FRAG_TYPE): Define.
2019 (TC_FRAG_INIT): Define.
2020 (HANDLE_ALIGN): Define.
2021 (md_do_align): Define.
2023 2001-04-25 Nick Clifton <nickc@cambridge.redhat.com>
2025 * config/obj-coff.c (do_linenos_for): Check to see if the filename
2026 symbol has been initialised before extracting its symbol index.
2028 2001-04-24 H.J. Lu <hjl@gnu.org>
2030 * configure: Regenerated with the right version of autoconf.
2032 2001-04-24 Christian Groessler <cpg@aladdin.de>
2034 * config/tc-z8k.c (build_bytes): 12 and 16 bit displacements now
2035 generate R_CALLR and R_REL16 relocations
2037 2000-04-20 Jason Eckhardt <jle@redhat.com>
2039 * config/tc-d10v.h (tc_frob_label): Update the symbol's frag
2040 since frag_now can change after d10v_cleanup is called.
2042 2001-04-16 David O'Brien <obrien@FreeBSD.org>
2044 * configure.in: Add the em type for FreeBSD targets.
2045 * configure: Regenerate.
2047 2001-04-14 Alexandre Oliva <aoliva@redhat.com>
2049 * struc-symbol.h (struct local_symbol): New TC_LOCAL_SYMFIELD_TYPE.
2050 * symbols.c (local_symbol_convert): Call TC_LOCAL_SYMFIELD_CONVERT.
2052 * config/tc-mn10300.c (md_assemble): Simplify offset adjustment of
2053 pc-relative relocations not placed at the end of the instruction.
2055 2001-04-13 Jim Wilson <wilson@redhat.com>
2057 * tc-ia64.c (is_conditional_branch): Return true for br, brl, and br.
2060 2001-04-13 Jakub Jelinek <jakub@redhat.com>
2062 * config/obj-elf.c (obj_elf_change_section): Add entsize argument,
2063 handle SHF_MERGE and SHF_STRINGS.
2064 (obj_elf_parse_section_letters): Set SHF_MERGE and SHF_STRINGS.
2065 (obj_elf_section): Allow additional argument specifying entity size.
2066 * write.c (adjust_reloc_syms): Keep relocations against local symbols
2067 in SEC_MERGE sections.
2069 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
2071 * dwarf2dbg.c (process_entries): Don't optimize redundant line notes.
2073 2001-04-12 Alexandre Oliva <aoliva@redhat.com>
2075 * expr.c (operand): Pass &c to md_parse_name().
2076 * config/tc-ia64.h, config/tc-ppc.h, config/tc-tic54x.h: Adjust.
2078 2001-04-07 Steven J. Hill <sjhill@cotw.com>
2080 * config/tc-mips.c: Support ELF64 for traditional MIPS targets.
2082 * Makefile.am: (TARG_ENV_HFILES): Add tc-mips.h.
2083 * Makefile.in: Regenerated.
2085 * configure.in: Use traditional MIPS targets for Linux/MIPS.
2086 * configure: Regenerated.
2088 2001-04-06 Alexandre Oliva <aoliva@redhat.com>
2090 * config/tc-mn10300.c (xr_registers): Added `pc'.
2092 2001-04-05 Alan Modra <alan@linuxcare.com.au>
2094 * configure.in: Add h8500-*-coff and h8500-*-rtems targets.
2095 * configure: Regenerate.
2097 * config/tc-h8500.c (md_estimate_size_before_relax): Add missing
2098 cases, and always return size based on current fr_subtype.
2099 (md_begin): Move initialization of md_relax_table..
2100 (md_relax_table): ..to static initializer. Set rlx_length for
2101 UNDEF_WORD_DISP cases.
2102 * config/tc-w65.c (md_estimate_size_before_relax): Likewise.
2103 (md_begin): Likewise.
2104 (md_relax_table): Likewise.
2105 * config/tc-mcore.c (md_estimate_size_before_relax): Likewise.
2106 (md_relax_table): Set rlx_length for UNDEF_WORD_DISP cases.
2107 Set rlx_backward and rlx_forward to zero for unused states.
2108 * config/tc-sh.c (md_estimate_size_before_relax): Likewise.
2109 (md_relax_table): Set rlx_length for UNDEF_WORD_DISP cases.
2110 (UNCOND12, UNCOND32): Remove duplicate defines.
2112 2001-04-04 Hans-Peter Nilsson <hp@axis.com>
2114 * config/tc-cris.c (md_estimate_size_before_relax) <case
2115 ENCODE_RELAX (STATE_CONDITIONAL_BRANCH, STATE_UNDF)>: Don't emit
2116 32-bit branch, just set fragP->fr_subtype. Set fragP->fr_var.
2117 <all cases>: Always set fragP->fr_var using md_cris_relax_table.
2118 Add cases to cover all relax states.
2119 (cris_insn_first_word_frag): New.
2120 (md_assemble): Call cris_insn_first_word_frag to get the first
2121 frag in an insn, not frag_more. Don't call dwarf2_emit_insn at
2122 end. Drop variable insn_size.
2123 (gen_bdap): Call cris_insn_first_word_frag, not frag_more.
2124 (cris_sym_leading_underscore): Wrap first as_bad parameter in _().
2125 (cris_sym_no_leading_underscore, s_cris_file, s_cris_loc): Ditto.
2127 * write.c (write_object_file): Reset broken word state before
2130 2001-03-31 Alan Modra <alan@linuxcare.com.au>
2132 * listing.c (listing_listing): Enable listing on EDICT_NOLIST_NEXT
2133 for one line if not already enabled.
2134 * cond.c (s_elseif): Correct conditional assembly listing.
2137 * cond.c (s_endif): Correct handling of "if .. elseif .." trees.
2138 Don't abort on NULL current_cframe.
2140 2001-03-30 Alan Modra <alan@linuxcare.com.au>
2142 * dwarf2dbg.c (dwarf2_directive_file): Fix warnings.
2143 (dwarf2dbg_convert_frag): Pass `finalize_syms' to resolve_symbol_value.
2144 * config/obj-aout.c (obj_crawl_symbol_chain): Likewise.
2145 * config/obj-bout.c (obj_crawl_symbol_chain): Likewise.
2146 * config/obj-coff.c (do_relocs_for): Likewise.
2147 (yank_symbols): Likewise.
2148 (fixup_segment): Likewise.
2149 * config/tc-ppc.c (ppc_frob_symbol): Likewise.
2150 (ppc_fix_adjustable): Likewise.
2151 * config/tc-mips.c (md_convert_frag): Likewise.
2152 * config/obj-vms.c (obj_crawl_symbol_chain): Likewise.
2153 * ehopt.c (eh_frame_convert_frag): Likewise.
2154 * expr.c (make_expr_symbol): Likewise.
2156 * frags.h (struct frag): Add last_fr_address. Reorder fields for
2158 * symbols.c (resolve_symbol_value): Don't fix expression values
2159 until relaxation is complete.
2160 (resolve_local_symbol): Pass `finalize_syms' to resolve_symbol_value.
2161 (S_GET_VALUE): Likewise, and return unresolved expression value.
2162 * write.c (finalize_syms): New.
2163 (relax_and_size_seg): Split into..
2164 (relax_seg): New function, returns 1 if anything changed..
2165 (size_seg): And the remainder of relax_and_size_seg.
2166 (fixup_segment): Arrange for final resolution of sym values.
2167 (adjust_reloc_syms): Likewise.
2168 (write_object_file): Likewise, and repeatedly call relax_seg until
2169 nothing more changes.
2170 (relax_segment): Return 1 if anything changed. Use correct types
2171 for rs_org `target' and `after'.
2172 * write.h (finalize_syms): Declare.
2173 (relax_segment): Update prototype.
2175 * config/tc-sh.c (md_estimate_size_before_relax): Add extra
2176 do-nothing cases to switch to avoid abort on a second relaxation
2177 pass, and tidy code a little.
2178 * config/tc-cris.c (md_estimate_size_before_relax): Likewise.
2179 * config/tc-h8500.c (md_estimate_size_before_relax): Likewise.
2180 * config/tc-w65.c (md_estimate_size_before_relax): Likewise.
2181 * config/tc-i386.c (UNCOND_JUMP, COND_JUMP, COND_JUMP86): Decrement.
2182 (md_relax_table): Remove first four unused entries. Increment
2183 rlx_length by one throughout table, and update comments to suit.
2184 (md_estimate_size_before_relax): Return size of current variable
2185 part of frag to reflect reality when relaxing more than once.
2186 * config/tc-mcore.c (COND12, UNCD12): Rename to DISP12 throughout.
2187 (COND32, UNCD32): Rename to DISP32 throughout.
2188 (UNDEF_WORD_DISP): Renumber to 3.
2189 (md_estimate_size_before_relax): Add extra do-nothing cases.
2190 * config/tc-mn10200.c (md_estimate_size_before_relax): Rewrite.
2191 * config/tc-mn10300.c (md_estimate_size_before_relax): Rewrite.
2192 * config/tc-ns32k.c (md_estimate_size_before_relax): Add cases to
2193 handle word and dword branches.
2195 2001-03-29 Hans-Peter Nilsson <hp@axis.com>
2197 * config/tc-cris.h (tc_fix_adjustable): Allow only
2198 BFD_RELOC_CRIS_32_GOTREL of the PIC relocs.
2199 * config/tc-cris.c (cris_get_pic_suffix): Correct reloc type in
2200 example in comment to valid type.
2202 2001-03-28 H.J. Lu <hjl@gnu.org>
2204 * read.c (equals): Set to local for COFF only if it hasn't been
2207 2001-03-28 Alan Modra <alan@linuxcare.com.au>
2209 * config/tc-hppa.c (DEFAULT_LEVEL): Define.
2210 (md_begin): Use it when setting default architecture.
2212 2001-03-27 Nick Papadonis <nick@coelacanth.com>
2214 * read.c (equals): (for COFF) default symbols to being local.
2216 2001-03-27 Hans-Peter Nilsson <hp@axis.com>
2218 * configure.in (cris-*-*): Change default emulation to criself.
2219 (cris-*-*aout*): New rule.
2220 * configure: Regenerate.
2222 2001-03-26 Martin Schwidefsky <schwidefsky@de.ibm.com>
2224 * config/tc-s390.c (tc_s390_fix_adjustable): Add test for
2225 BFD_RELOC_390_GOTENT.
2226 * config/tc-s390.h (TC_RELOC_RTSYM_LOC_FIXUP): Add test for
2227 BFD_RELOC_390_GOTENT.
2229 2001-03-26 Nick Clifton <nickc@redhat.com>
2231 * config/tc-s390.h (TC_FORCE_RELOCATION): Define.
2232 * config/tc-s390.c (s390_force_relocation): New function: Force
2233 relocations for VTINHERIT relocs.
2235 2001-03-23 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2237 * doc/as.texinfo: Put @c man begin to generate the as man page.
2238 When generating man, define all the variables. Re-organize some
2239 options to obtain better indentation of man page.
2240 * doc/Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
2241 (as.1): Build from as.texinfo.
2242 * doc/Makefile.in: Regenerate.Index: binutils/Makefile.am
2244 2001-03-25 Alan Modra <alan@linuxcare.com.au>
2246 * config/tc-i386.c (i386_scale): Accept an absolute expression for
2247 scale factor, and return the end of the expression.
2248 (i386_operand): Modify for above.
2250 2001-03-23 Nick Clifton <nickc@redhat.com>
2252 * doc/as.texinfo: Document --listing-XXX command line switches.
2253 Explain why listings behave differently when -pipe is used.
2255 2001-03-23 Richard Sandiford <rsandifo@redhat.com>
2257 * write.c (fix_new_exp): Print an error if passed a register.
2259 2001-03-23 Hans-Peter Nilsson <hp@axis.com>
2261 * config/tc-cris.c: Tweak attribution. Fix typos. PIC support.
2262 (PIC_SUFFIX_CHAR): New macro.
2263 (cris_get_pic_suffix, cris_get_pic_reloc_size): New functions.
2264 (pic): New variable.
2265 (md_longopts): New option --pic.
2266 (OPTION_PIC): Define.
2267 (md_estimate_size_before_relax): Tweak longish comment.
2268 (md_create_long_jump): Make the long jumps generate ADD.D offset,PC.
2269 (md_assemble): Handle a PIC relocation on prefix and normal
2270 instruction operands.
2271 <output_instruction.insn_type == CRIS_INSN_BRANCH>: Handle
2272 "complex" operand expressions. Call frag_more outside
2273 gen_cond_branch_32 parameter list.
2274 (cris_process_instruction): Handle PIC relocs on parsed
2275 operand expressions. Validize PIC reloc sizes.
2276 (get_autoinc_prefix_or_indir_op): Handle PIC suffix.
2277 (gen_bdap): Handle "complex" operand expressions.
2278 (gen_cond_branch_32): Use as_warn_where, not as_warn. Use
2279 ADD.D offset,PC as jump instruction if generating PIC. Generate
2280 error instead of crashing on complex expressions.
2281 (cris_number_to_imm): Add segT parameter. All callers changed.
2282 Use segT parameter, not now_seg, for segment of fixup. Handle
2283 PCREL relocations but check that they are fully resolved.
2284 (md_parse_option): Handle OPTION_PIC.
2285 (tc_gen_reloc): Handle PIC relocs.
2286 (md_show_usage): Update for --pic.
2287 (md_apply_fix3): Renamed from md_apply_fix.
2288 (md_pcrel_from): Accept emitting PCREL relocs when ELF.
2289 (md_cris_force_relocation): Force relocation for PIC relocs.
2291 * config/tc-cris.h: Tweak attribution.
2292 (MD_APPLY_FIX3): Define.
2293 (IS_CRIS_PIC_RELOC): New macro.
2294 (TC_RELOC_RTSYM_LOC_FIXUP): Define.
2295 (tc_fix_adjustable): Don't adjust a globally visible symbol when
2297 (tc_frob_symbol): Avoid emitting undefined symbols.
2299 2001-03-20 Alan Modra <alan@linuxcare.com.au>
2301 * frags.h (struct frag): Add relax_marker.
2302 * write.c (is_dnrange): Delete.
2303 (relax_frag): Use correct types for `aim', `target', `address'.
2304 Delete `offset', `was_address'. Test `relax_marker' instead of
2305 using fragile (and slow) address test.
2306 (relax_segment): Init and flip `relax_marker'.
2308 2001-03-19 Alan Modra <alan@linuxcare.com.au>
2310 * config/tc-i386.c (md_assemble <REGISTER_WARNINGS>): Correct
2313 2001-03-18 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2315 * config/tc-m68hc11.c (md_pseudo_table): Recognize xrefb to comply
2316 with 'Motorola specification for assembly language input standard'.
2318 2001-03-17 Richard Henderson <rth@redhat.com>
2320 * dwarf2dbg.c (user_filenum, user_filenum_allocated): Remove.
2321 (dwarf2_directive_loc): Don't use them.
2322 (dwarf2_directive_file): Reject duplicate file definitions.
2323 (get_filenum): Zero allocated memory.
2324 (out_file_list): Complain about missing file definitions.
2326 2001-03-17 Alan Modra <alan@linuxcare.com.au>
2328 * read.c (do_org): Handle complex expressions.
2329 * cgen.c (gas_cgen_finish_insn): Likewise.
2331 2001-03-15 David Mosberger <davidm@hpl.hp.com>
2333 * config/tc-ia64.c (md): New member keep_pending_output.
2334 (ia64_flush_pending_output): Flush only if md.keep_pending_output
2336 (dot_xdata): Turn on md.keep_pending_output for the duration of
2338 (dot_xfloat_cons): Ditto.
2339 (dot_xstringer): Ditto.
2340 (dot_xdata_ua): Ditto.
2341 (dot_xfloat_cons_ua): Ditto.
2343 2001-03-15 Jim Wilson <wilson@redhat.com>
2345 * config/tc-ia64.c (ia64_unrecognized_line, case '['): Add local
2348 2001-03-15 Alexandre Oliva <aoliva@redhat.com>
2350 * config/tc-sh.c (parse_reg): Match capital MACH and MACL.
2352 2001-03-15 DJ Delorie <dj@redhat.com>
2354 * stabs.c (s_stab_generic): Don't corrupt the notes obstack by
2355 blindly freeing string if it isn't at the top of the obstack.
2357 2001-03-13 Alan Modra <alan@linuxcare.com.au>
2359 * config/tc-i386.c (RELOC_ENUM): Define. Use throughout file.
2360 (NUM_FLAG_CODE): Define.
2361 (lex_got): New function.
2362 (got_reloc): New global var.
2363 (x86_cons_fix_new): New function.
2364 (x86_cons): New function.
2365 (i386_immediate): Use lex_got here, replacing inline code. Change
2366 "ignoring junk.." error message to "junk.."
2367 (i386_displacement): Likewise.
2368 * config/tc-i386.h (TC_PARSE_CONS_EXPRESSION): Define.
2369 (x86_cons): Declare.
2370 (TC_CONS_FIX_NEW): Define.
2371 (x86_cons_fix_new): Declare.
2373 2001-03-12 Nick Clifton <nickc@redhat.com>
2375 * config/tc-arm.c (md_begin): Always set machine type based on
2378 2001-03-07 Alan Modra <alan@linuxcare.com.au>
2380 * config/tc-i386.c (struct _i386_insn): Rename disp_reloc to reloc.
2381 (md_assemble) <smallest displacement>: Use correct field of i.op[]
2383 <JumpInterSegment output>: Use correct i.disp_reloc[].
2384 <immediate output>: Likewise.
2386 2001-03-06 Nick Clifton <nickc@redhat.com>
2388 * config/tc-arm.c (md_apply_fix3): Clear bit zero of offset in
2391 2001-03-06 Igor Shevlyakov <igor@windriver.com>
2393 * config/tc-m68k.c : Add 5407 to archs[] table.
2394 (HAVE_LONG_BRANCH): Add mcf5407.
2395 (select_control_regs): Recognize 5407.
2397 2001-03-02 Dave Brolley <brolley@redhat.com>
2399 * config/tc-m32r.c (expand_debug_syms): Call frag_align_code rather
2402 2001-03-02 Richard Sandiford <rsandifo@redhat.com>
2404 * config/atof-ieee.c (TC_LARGEST_EXPONENT_IS_NORMAL): New macro.
2405 (gen_to_words): Print warnings if NaNs are found and the target CPU
2406 does not support them. Allow largest exponent to be used in normal
2407 numbers if TC_LARGEST_EXPONENT_IS_NORMAL evaluates to true.
2409 2001-02-28 Andreas Jaeger <aj@suse.de>, Bo Thorsen <bo@suse.de>
2411 * config/tc-i386.c (tc_gen_reloc): Remove ugly hack which is not needed
2412 anymore since we use bfd_elf_generic_reloc now.
2413 (md_apply_fix3): Only apply hack for partial_inplace if not using RELA.
2415 2001-02-27 Alan Modra <alan@linuxcare.com.au>
2417 * configure.in (BFD_VERSION): New.
2418 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
2419 * configure: Regenerate.
2420 * Makefile.am: Run "make dep-am"
2421 * Makefile.in: Regenerate.
2422 * doc/Makefile.in: Regenerate.
2424 2001-02-26 Mark Elbrecht <snowball3@bigfoot.com>
2426 * config/obj-coff.c [BFD_ASSEMBLER] (obj_coff_section): Set
2427 SEC_NEVER_LOAD when the 'n' flag is used.
2428 Add SEC_NEVER_LOAD to matchflags.
2430 2001-02-24 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2432 * symbols.c (decode_local_label_name): Initialize message_format
2433 only when an error is reported (perf pb due to I18N).
2435 2001-02-23 H.J. Lu <hjl@gnu.org>
2437 * dwarf2dbg.c (dwarf2_directive_file): Call s_app_file (0) if
2438 BFD_ASSEMBLER is not defined.
2440 2001-02-23 Richard Sandiford <rsandifo@redhat.com>
2442 * config/tc-mn10300.c (md_apply_fix3): Don't mark a fixup as
2443 done if it's against a symbol.
2445 2001-02-22 Timothy Wall <twall@cygnus.com>
2447 * config/tc-ia64.c (ia64_target_format): Return ia64-aix-specific
2448 target formats if applicable.
2449 * config/te-ia64aix.h: New. Configuration for AIX5 on IA-64.
2450 * Makefile.am (TARG_ENV_HFILES): Added config/te-ia64aix.h.
2451 * Makefile.in: Regenerated.
2452 * configure.in: Added configuration for ia64-*-aix*.
2453 * configure: Regenerated.
2455 2001-02-21 David Mosberger <davidm@hpl.hp.com>
2457 * config/tc-ia64.c (enum operand_match_result): New type.
2458 (operand_match): Change return type to operand_match_result.
2459 Fix all returns appropriately, adding support for returning the
2460 out-of-range result.
2461 (parse_operands): New locals result, error_pos, out_of_range_pos,
2462 curr_out_of_range_pos. Rewrite operand matching loop to give better
2465 2001-02-21 David Mosberger <davidm@hpl.hp.com>
2467 * config/tc-ia64.c (struct unwind): Add member "prologue_count".
2468 (dot_proc): Clear unwind.prologue_count to zero.
2469 (dot_prologue): Increment unwind.prologue_count.
2470 (dot_restore): If second operand is omitted, use
2471 unwind.prologue_count -1 for "ecount" (# of additional regions to
2472 pop). Decrement unwind.prologue_count by number of regions
2475 2001-02-21 Nick Clifton <nickc@redhat.com>
2477 * doc/as.texinfo (Section): Note that some flags to the COFF
2478 version of .section remove attributes rather than setting them.
2480 2001-02-20 Kazu Hirata <kazu@hxi.com>
2482 * config/tc-pdp11.c: Fix formatting.
2483 * config/tc-pdp11.h: Likewise.
2485 2001-02-20 Bo Thorsen <bo@suse.de>
2487 * config/tc-i386.c (tc_i386_fix_adjustable): Fix GOTPCREL GOT
2490 2001-02-18 David O'Brien <obrien@FreeBSD.org>
2492 * configure.in (cpu_type, arch): Add a generic FreeBSD specification as
2493 all FreeBSD platforms should look the same at this level.
2494 * configure: Rebuilt.
2495 * config/tc-i386.c: Add support for old FreeBSD a.out hosts.
2497 2001-02-18 lars brinkhoff <lars@nocrew.org>
2499 * Makefile.am: Add PDP-11 target.
2500 * configure.in: Likewise.
2501 * config/tc-pdp11.c: New file.
2502 * config/tc-pdp11.h: New file.
2503 * doc/Makefile.am: Add PDP-11 documentation.
2504 * doc/all.texi: Likewise.
2505 * doc/as.texinfo: Likewise.
2506 * doc/c-pdp11.texi: New file.
2508 2001-02-16 matthew green <mrg@redhat.com>
2510 * cgen.c (gas_cgen_md_apply_fix3): Support BFD_RELOC_64.
2512 2001-02-13 Jim Wilson <wilson@redhat.com>
2514 * config/tc-ia64.c (operand_match, case TAG13): Make a BFD_RELOC_UNUSED
2515 reloc instead of a 0 reloc.
2516 (md_apply_fix3): Check for BFD_RELOC_UNUSED instead of 0, and mark it
2518 * config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): Likewise.
2520 2001-02-13 Ian Lance Taylor <ian@zembu.com>
2522 * write.c (is_dnrange): Stop as soon as the address becomes
2524 (relax_frag): Add segment parameter. Only call symbol_get_frag
2525 once. Only call is_dnrange if the symbol is in the same segment,
2526 and the symbol address is larger.
2527 (relax_segment): Pass segment to md_relax_frag and relax_frag.
2528 * write.h (relax_frag): Update declaration.
2529 * config/tc-fr30.c (fr30_relax_frag): Add segment parameter. Pass
2531 * config/tc-m32r.c (m32r_relax_frag): Likewise.
2532 * config/tc-m32r.h (md_relax_frag): Add segment parameter.
2533 (m32r_relax_frag): Update declaration.
2534 * config/tc-mips.h (md_relax_frag): Add segment parameter.
2535 * config/tc-tic54x.h (md_relax_frag): Likewise.
2536 * doc/internals.texi (CPU backend): Update documentation for
2539 2001-02-13 Alan Modra <alan@linuxcare.com.au>
2541 * doc/c-i386.texi (i386-Arch): Add "jumps"/"nojumps" blurb.
2542 Mention effect of < 386 architectures on jump promotion.
2543 (i386-Jumps): xref above. Don't assume long disp is 32 bits.
2545 * config/tc-i386.c (no_cond_jump_promotion): New.
2546 (set_cpu_arch): Parse "jumps" arch modifier.
2547 (insn_size): Modify usage comment.
2548 (ENCODE_RELAX_STATE): Reformat and protect macro arg.
2549 (SIZE_FROM_RELAX_STATE): Rename to DISP_SIZE_FROM_RELAX_STATE.
2550 (TYPE_FROM_RELAX_STATE): New define.
2551 (UNCOND_JUMP, COND_JUMP): Renumber.
2552 (md_relax_table): Reorder to suit.
2553 (COND_JUMP86): New define.
2554 (md_relax_table): Handle COND_JUMP86 cases. Add a few comments.
2555 (md_assemble): Create frag var for jumps of max size, encode relax
2556 state for COND_JUMP86.
2557 (md_estimate_size_before_relax): Handle COND_JUMP86 cases, and
2558 leave conditional jumps small if no_cond_jump_promotion.
2559 (md_convert_frag): Likewise.
2561 * expr.c (operator): Don't bump input_line_pointer for two char
2562 operators. Instead return operator size via new param num_chars.
2563 (expr): Use above to parse multi-char operators correctly.
2565 Mon Feb 12 17:45:50 CET 2001 Jan Hubicka <jh@suse.cz>
2567 * config/tc-i386.c (i386_displacement): Fix handling of
2568 BFD_RELOC_X86_64_GOTPCREL.
2569 (i386_validate_fix): Likewise.
2571 2001-02-12 Philip Blundell <pb@futuretv.com>
2573 * config/tc-arm.c (do_ldst): Improve warnings for unpredictable
2574 ldrt/strt instructions.
2576 2001-02-11 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2578 * config/tc-mips.c (macro): For M_LA_AB emit a
2579 BFD_RELOC_MIPS_CALL16 relocation or a
2580 BFD_RELOC_MIPS_CALL_HI16/BFD_RELOC_MIPS_CALL_LO16 pair instead of
2581 BFD_RELOC_MIPS_GOT16 and
2582 BFD_RELOC_MIPS_GOT_HI16/BFD_RELOC_MIPS_GOT_LO16, respectively for
2583 loading the jump register when generating SVR4_PIC code.
2585 2001-02-10 Chris Demetriou <cgd@broadcom.com>
2587 * configure.in: Make 'mipself' and 'mipsecoff' emulations
2588 map to MIPS-specific files, as they used to do before the
2589 change on 2000-05-21.
2590 * configure: Regerate.
2592 2001-02-10 Chris Demetriou <cgd@broadcom.com>
2594 * config/tc-mips.c (md_parse_option): Don't try to compile
2595 ELF-only option code if not ELF.
2597 2001-02-08 David Mosberger <davidm@hpl.hp.com>
2599 * config/tc-ia64.h (md_elf_section_type): New macro.
2600 (ELF_TC_SPECIAL_SECTIONS): Drop .IA_64.unwind and .IA_64.unwind_info
2601 (they're now handled via ia64_elf_section_type.
2603 * config/tc-ia64.c (unwind): New members saved_text_seg,
2604 saved_text_subseg, and force_unwind_entry.
2605 (optimize_unw_records): New function to optimize away unnecessary
2607 (ia64_elf_section_type): New function.
2608 (output_unw_records): Generate unwind info only if the size is
2609 non-zero or if it's forced for some other reason (e.g.,
2610 handlerdata or a personality routine).
2611 (generate_unwind_image): Don't switch back to previous
2612 section---stay inside the unwind info section instead so that
2613 handlerdata that may follow goes into the right place.
2614 (dot_handlerdata): Force generation of unwind entry and save the
2615 current active text segment before generating unwind image.
2616 (dot_unwentry): Force generation of unwind entry.
2617 (dot_personality): Ditto.
2618 (dot_endp): Generate unwind table entry only if there is
2619 some unwind info or the unwind entry was forced.
2621 * config/tc-ia64.c (make_unw_section_name): New macro to form
2622 unwind section name.
2623 (generate_unwind_image): Add "text_name" argument. Use it to
2624 form unwind section name.
2625 (dot_handlerdata): Determine current segment (section) name and
2626 pass it to generate_unwind_image().
2627 (dot_endp): Determine current segment (section) name and use
2628 it to determine the appropriate unwind section name.
2629 (ia64_md_do_align): Add missing ATTRIBUTE_UNUSED declarations to
2630 n, fill, and max arguments.
2632 2001-02-09 Schwidefsky <schwidefsky@de.ibm.com>
2634 * Makefile.am: Add linux target for S/390.
2635 * configure.in: Likewise.
2636 * config/tc-s390.c: New file.
2637 * config/tc-s390.h: New file.
2639 2001-02-09 Alexandre Oliva <aoliva@redhat.com>
2641 * config/tc-sh.c (md_pseudo_table): Add uaquad. Use s_uacons for
2642 2byte, 4byte and 8byte.
2644 2001-02-08 Alan Modra <alan@linuxcare.com.au>
2646 * config/tc-hppa.c (pa_build_unwind_subspace): Don't call
2647 md_number_to_chars with size > sizeof (valueT).
2649 2001-02-06 H.J. Lu <hjl@gnu.org>
2651 * config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): Do fixup if
2652 there is no relocation.
2654 2001-02-06 H.J. Lu <hjl@gnu.org>
2656 * config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): New. Defined.
2658 * config/tc-ia64.c (md_parse_option): Only accept the valid
2659 ia64 options on "-axxx".
2661 2001-02-05 Jim Wilson <wilson@redhat.com>
2663 * config/tc-ia64.c (errata_nop_necessary_p): Return 0 instead of
2664 aborting for invalid operands.
2666 2001-02-06 Alan Modra <alan@linuxcare.com.au>
2668 * config/tc-hppa.c (fix_new_hppa): Pass in unwind directly rather
2669 than via pointer. Update all callers.
2670 (UNWIND_LOW32): Define.
2671 (UNWIND_HIGH32): Define.
2672 (pa_build_unwind_subspace): Use the above macros instead of dumping
2673 bitfields directly. Call frag_more once rather than multiple times.
2674 (md_assemble): Use UNWIND_LOW32.
2675 (pa_entry): Likewise
2676 (pa_procend): Likewise.
2677 (process_exit): Use UNWIND_HIGH32.
2679 2001-02-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2681 * config/tc-m68hc11.h (LISTING_HEADER): Use m68hc11_listing_header
2682 function to select the header according to the cpu.
2683 (md_after_pass_hook, md_do_align): Remove.
2684 (md_cleanup, m68hc11_cleanup): Remove.
2685 (md_pcrel_from_section): Declare.
2686 * config/tc-m68hc11.c (build_dbranch_insn): Remove insn_size.
2687 (build_jump_insn, build_insn): Likewise.
2688 (m68hc11_listing_header): New function.
2689 (m68hc11_cleanup): Remove.
2691 2001-02-02 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2693 * config/tc-m68hc11.c (relaxable_symbol): Relax externally visible
2694 symbols because there is no support for shared libraries and these
2695 symbols can't be overridden (unless they are weak).
2697 2001-02-01 Momchil Velikov <velco@fadata.bg>
2699 * dwarf2dbg.c (out_debug_abbrev): Terminate the abbreviations
2700 for the compilation unit with a zero byte.
2702 2001-01-30 Alan Modra <alan@linuxcare.com.au>
2704 * config/tc-hppa.c (pa_ip): Support 12 bit branches to absolute
2705 destinations. Correct range check for 17 and 22 bit branches.
2707 2001-01-25 Nick Clifton <nickc@redhat.com>
2709 * config/tc-m68k.c (tc_gen_reloc): Do not abort if tcbit is
2710 still set. Issue an error message instead.
2711 (md_estimate_size_before_relax): Delete unused variable
2712 'buffer_address'. Fixup parentheses around if statement.
2714 2001-01-23 Kazu Hirata <kazu@hxi.com>
2716 * as.c: Fix formatting.
2717 * ehopt.c: Likewise.
2718 * messages.c: Likewise.
2719 * stabs.c: Likewise.
2720 * symbols.c: Likewise.
2722 2001-01-23 Ben Elliston <bje@redhat.com>
2724 * config/tc-m32r.c (m32r_handle_align): Declare type of fragp.
2726 2001-01-22 Kazu Hirata <kazu@hxi.com>
2728 * config/tc-alpha.c: Fix formatting.
2730 2001-01-19 Kazu Hirata <kazu@hxi.com>
2732 * config/tc-alpha.c: Fix formatting.
2734 2001-01-18 Kazu Hirata <kazu@hxi.com>
2736 * config/tc-alpha.c: Fix formatting.
2738 2001-01-18 Nick Clifton <nickc@redhat.com>
2740 * config/tc-arm.c (ldm_flags): Remove redundant bit from "fa" and
2742 (stm_flags): Remove redundant bit from "ed" and "da" flags.
2744 2001-01-18 Alexandre Oliva <aoliva@redhat.com>
2746 * configure.in (cpu_type, arch): Match i386 too.
2747 * configure: Rebuilt.
2749 2001-01-16 Kazu Hirata <kazu@hxi.com>
2751 * config/tc-i386.c: Fix formatting.
2753 2001-01-16 Alan Modra <alan@linuxcare.com.au>
2755 * config/tc-hppa.c (tc_gen_reloc): Use SEGREL32 instead of DIR32
2756 relocs for .PARISC.unwind section.
2758 * config/tc-hppa.c (pa_build_unwind_subspace): Build unwind
2759 depending on section flags, not just for .text.
2761 2001-01-15 Jim Wilson <wilson@redhat.com>
2763 * config/tc-ia64.c (ia64_flush_insns): Handle unwind directives
2764 not immediately followed by an instruction.
2766 2001-01-15 Kazu Hirata <kazu@hxi.com>
2768 * config/tc-m68hc11.c: Fix formatting.
2770 2001-01-15 Nick Clifton <nickc@redhat.com>
2772 * symbols.c (colon): Change 'already defined symbol' from a
2773 fatal error to an ordinary error. There is no reason why this
2774 error should be fatal.
2776 * message.c (as_fatal): Delete output file, if one has been
2779 2001-01-14 Alan Modra <alan@linuxcare.com.au>
2781 * config/tc-hppa.h (TARGET_FORMAT): Add hppa-linux variants.
2783 2001-01-14 Kazu Hirata <kazu@hxi.com>
2785 * config/tc-alpha.c: Fix formatting.
2786 * config/tc-arc.c: Likewise.
2787 * config/tc-arc.h: Likewise.
2788 * config/tc-d10v.c: Likewise.
2789 * config/tc-i370.c: Likewise.
2790 * config/tc-i386.c: Likewise.
2791 * config/tc-i960.c: Likewise.
2792 * config/tc-m68k.c: Likewise.
2793 * config/tc-ppc.c: Likewise.
2794 * config/tc-sparc.c: Likewise.
2795 * config/tc-tahoe.c: Likewise.
2796 * config/tc-vax.c: Likewise.
2798 * config/tc-arc.c: Fix formatting.
2800 * config/tc-arc.c: Fix formatting.
2802 2001-01-14 Alan Modra <alan@linuxcare.com.au>
2804 * config/tc-hppa.c (pa_build_unwind_subspace): Use SEGREL32 for
2805 both 32 and 64 bit ELF.
2807 * config/tc-hppa.c (pa_ip): Store `a' flag in bit zero of operand
2808 and don't bother storing `m' for "ce" completer. Tidy handling of
2809 'J' and 'K' operands to suit. Handle '<' and '>' operands.
2811 Sun Jan 14 00:36:42 MET 2001 Jan Hubicka <jh@suse.cz>
2813 * config/tc-i386.h (TARGET_MACH): New macro.
2814 (i386_mach): Declare.
2815 * config/tc-i386.c (i386_mach): New function.
2817 2001-01-13 Philip Blundell <philb@gnu.org>
2819 * doc/as.texinfo: Fix spelling and cross-references.
2821 * doc/c-arm.texi: Fix typos. Say that `;' is a line separator
2822 character for all systems, not just GNU/Linux. Make it explicit
2823 that `-k' doesn't affect code generation, just ELF flags.
2825 Sat Jan 13 01:47:35 MET 2001 Jan Hubicka <jh@suse.cz>
2827 * config/tc-i386.c (md_assemble): Check cpu_flags even for nullary
2830 2001-01-12 Frank Ch. Eigler <fche@redhat.com>
2832 * cgen.c (gas_cgen_finish_insn): Call dwarf2_emit_insn.
2834 2001-01-12 Nick Clifton <nickc@redhat.com>
2836 * as.c (print_args): Update copyright date to 2001.
2838 2001-01-12 Peter Targett <peter.targett@arccores.com>
2840 * doc/c-arc.texi: New file.
2841 Some sections to be expanded.
2843 2001-01-12 Alan Modra <alan@linuxcare.com.au>
2845 * config/tc-i386.c (md_longopts): Recognize "--64" only for ELF.
2846 (md_parse_option): Always accept "--32".
2848 2001-01-11 Peter Targett <peter.targett@arccores.com>
2850 * as.h (TC_ARC): Ensure struc-symbol.h included.
2851 * as.c (dwarf2dbg.h): Include to remove implicit declaration
2853 * struc-symbol.h (SYMBOLS_NEED_BACKPOINTERS): Define.
2854 (TARGET_SYMBOL_FIELDS) added.
2856 * doc/Makefile.am (CPU_DOCS): Added c-arc.texi.
2857 * doc/c-arc.texi: New file.
2858 Some sections to be expanded.
2859 * doc/as.texinfo: Update command-line options.
2860 Removed outdated text for ARC dependant features, instead include
2861 text from above file.
2863 * config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS): Define local flag.
2864 (TARGET_SYMBOL_FIELDS): Alias to previous definition.
2865 (targ-cpu.h) header.
2867 * config/tc-arc.c: New updated configuration for
2868 ARC, including selection of core variants, and extensibility of
2869 instructions, registers etc. through directives.
2871 * config/tc-arc.c (arc_extinst): Minor corrections for
2873 (arc_common) Likewise. Make alignment argument optional for local
2874 symbols also, with default of zero.
2876 2001-01-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2878 * config/tc-m68hc11.c (md_estimate_size_before_relax): Fix
2879 STATE_INDEXED_OFFSET when the symbol is undefined (16-bit offset).
2880 (build_indexed_byte): Don't relax indexed byte, use 16-bit offset
2881 and fix_new_exp() instead.
2882 (md_convert_frag): For indexed post byte use the symbol value
2883 rather than the displacement.
2884 (md_relax_table): Fix indexed offset relax.
2886 2001-01-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2888 * config/tc-m68hc11.c (md_estimate_size_before_relax):Don't
2890 (relaxable_symbol): New function.
2892 2001-01-11 Andreas Jaeger <aj@suse.de>
2894 * config/tc-i386.h (TC_RELOC_GLOBAL_OFFSET_TABLE): Removed, it's
2897 2001-01-10 Nick Clifton <nickc@redhat.com>
2899 * config/tc-arm.c (arm_fix_adjustable): Define for OBJ_COFF.
2900 * config/tc-arm.h (obj_fix_adjustable): Define for OBJ_COFF
2902 2001-01-10 Nick Clifton <nickc@redhat.com>
2904 * symbols.c (DOLLAR_LABEL_CHAR): New constant - the magic
2905 character used to dollar local symbols.
2906 (LOCAL_LABEL_CHAR): New constant - the magic character used to
2907 local label symbols.
2908 (dollar_label_name): Use DOLLAR_LABEL_CHAR.
2909 (fb_label_name): Prefix local labels with LOCAL_LABEL_PREFIX,
2911 Use LOCAL_LABEL_CHAR.
2912 (decode_local_label_name): Skip LOCAL_LABEL_PREFIX.
2913 Use DOLLAR_LABEL_CHAR and LOCAL_LABEL_CHAR.
2914 (S_IS_LOCAL): Use DOLLAR_LABEL_CHAR and LOCAL_LABEL_CHAR.
2916 2001-01-08 Bo Thorsen <bo@suse.de>
2918 * config/tc-i386.c (i386_immediate, i386_displacement):
2921 2001-01-07 Ian Lance Taylor <ian@zembu.com>
2923 * doc/c-i386.texi (i386-Arch): Remove spaces incorrectly inserted
2926 2001-01-07 Philip Blundell <philb@gnu.org>
2928 * doc/as.texinfo (Bug Reporting): Update email address for
2932 Sat Jan 6 13:33:10 MET 2001 Jan Hubicka <jh@suse.cz>
2934 * configure.in: Define DEFAULT_ARCH for i386.
2935 * config/tc-i386.c (md_assemble): Return after the error message;
2936 move testing for 64bit operands to proper place.
2938 2001-01-06 Jan Hubicka <jh@suse.cz>, Andreas Jaeger <aj@suse.de>
2940 * doc/as.texinfo: Document '#' as comment character for i386 and
2941 x86_64. Add AMD x86-64 into menu of machine dependent information.
2943 * doc/c-i386.texi: Document x86_64 extensions.
2945 Fri Jan 5 13:26:42 MET 2001 Jan Hubicka <jh@suse.cz>
2947 * config/tc-i386.c (md_assemble): Handle third byte of the opcode as prefix.
2949 Thu Jan 4 22:25:26 MET 2001 Jan Hubicka <jh@suse.cz>
2951 * config/tc-i386.c (cpu_arch): Add Pentium4 and modify sledgehammer entry.
2952 * NEWS: Add note about Pentium4 support.
2954 Wed Jan 3 17:26:32 MET 2001 Jan Hubicka <jh@suse.cz>
2956 * config/tc-i387.c (pi, pte, pt): Update.
2957 (type_names): Add new types.
2959 Wed Jan 3 16:26:52 MET 2001 Jan Hubicka <jh@suse.cz>
2961 * config/tc-i386.h (CpuK6, CpuAthlon, CpuSledgehammer, CpuMMX, Cpu3dnow,
2962 CpuUnknown): Renumber
2963 (CpuP4, CpuSSE2): New.
2964 (CpuUnknownFlags): Add CpuP4 and CpuSSE2
2966 2001-01-03 Philip Blundell <pb@futuretv.com>
2968 * config/tc-alpha.c (alpha_force_relocation): Handle vtable
2970 (alpha_fix_adjustable): Likewise.
2971 (md_apply_fix): Likewise.
2973 2000-12-31 H.J. Lu <hjl@gnu.org>
2975 * listing.c (listing_message): Allocate string only if it is
2978 * configure: Rebuild.
2980 2000-12-31 Hans-Peter Nilsson <hp@bitrange.com>
2982 * doc/internals.texi (Relaxing with a table) <after relaxation>:
2983 Point out caveats with generating fixups for the opcode in a frag.
2985 Sat Dec 30 19:02:48 MET 2000 Jan Hubicka <jh@suse.cz>
2987 * configure.in: Add support for x86_64 and x86_64-*-linux-gnu*
2990 2000-12-29 H.J. Lu <hjl@gnu.org>
2992 * listing.c (calc_hex): Print the variable part only if the
2993 fragment type is rs_fill.
2995 2000-12-29 Hans-Peter Nilsson <hp@bitrange.com>
2997 * doc/internals.texi (tc_conditional_pseudoop,
2998 TC_LINKRELAX_FIXUP): Fix typos.
3000 2000-12-28 Richard Henderson <rth@redhat.com>
3002 * write.c (subsegs_finish): Fix thinko last change -- don't
3003 "optimize" the alignment == 0 case.
3005 2000-12-28 Richard Henderson <rth@redhat.com>
3007 * as.h (rs_align_test): New.
3008 * frags.c (NOP_OPCODE): Move default from read.c.
3009 (MAX_MEM_FOR_RS_ALIGN_CODE): New default.
3010 (frag_align_code): New.
3011 * frags.h (frag_align_code): Declare.
3012 * read.c (NOP_OPCODE): Remove.
3013 (do_align): Use frag_align_code.
3014 * write.c (NOP_OPCODE): Remove.
3015 (get_recorded_alignment): New.
3016 (cvt_frag_to_fill): Handle rs_align_test.
3017 (relax_segment): Likewise.
3018 (subsegs_finish): Align last subseg in section to the
3019 section alignment. Use frag_align_code.
3020 * write.h (get_recorded_alignment): Declare.
3021 * config/obj-coff.c (size_section): Handle rs_align_test.
3022 (fill_section, fixup_mdeps): Likewise.
3023 (write_object_file): Use frag_align_code.
3025 * config/tc-alpha.c (alpha_align): Use frag_align_code.
3026 (alpha_handle_align): New.
3027 * config/tc-alpha.h (HANDLE_ALIGN): New.
3028 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
3030 * config/tc-i386.h (md_do_align): Use frag_align_code.
3031 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
3033 * config/tc-ia64.c (ia64_md_do_align): Don't do code alignment.
3034 (ia64_handle_align): New.
3035 * config/tc-ia64.h (HANDLE_ALIGN): New.
3036 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
3038 * config/tc-m32r.c (m32r_do_align): Remove.
3039 (m32r_handle_align): New.
3040 (fill_insn): Use frag_align_code.
3041 * config/tc-m32r.h (md_do_align): Remove.
3042 (HANDLE_ALIGN, MAX_MEM_FOR_RS_ALIGN_CODE): New.
3043 * config/tc-m88k.c, config/tc-m88k.h: Similarly.
3044 * config/tc-mips.c, config/tc-mips.h: Similarly.
3046 * config/tc-sh.c (sh_cons_align): Use rs_align_test.
3047 (sh_handle_align): Likewise. Handle rs_align_code.
3048 (sh_do_align): Remove.
3049 * config/tc-sh.h (md_do_align): Remove.
3050 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
3052 * config/tc-sparc.c (sparc_cons_align): Use rs_align_test.
3053 (sparc_handle_align): Likewise. Handle rs_align_code.
3054 * config/tc-sparc.h (md_do_align): Remove.
3055 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
3057 2000-12-22 DJ Delorie <dj@redhat.com>
3059 * config/tc-d10v.c (md_assemble): set prev_seg and prev_subseg
3060 when we assemble the first half of a pair.
3062 2000-12-22 H.J. Lu <hjl@gnu.org>
3064 * config/tc-i386.c (reloc): Update the macro for non-bfd
3066 (BFD_RELOC_X86_64_GOTPCREL): Set to 0 for non-bfd assembler.
3068 2000-12-22 H.J. Lu <hjl@gnu.org>
3070 * dwarf2dbg.c (dwarf2_finish): Remove #if BFD_ASSEMBLER.
3072 Wed Dec 20 14:21:22 MET 2000 Jan Hubicka <jh@suse.cz>
3074 * config/tc-i386.h (i386_target_format): Define even for ELFs.
3075 (QWORD_MNEM_SUFFIX): New macro.
3076 (CpuK6,CpuAthlon,CpuSledgehammer, Cpu64, CpuNo64, CpuUnknownFlags):
3078 (CpuMMX,CpuSSE,Cpu3dnow, CpuUnknown): Renumber.
3079 (IgnoreSize, DefaultSize, No_?Suf, FWait, IsString, regKludge, IsPrefix,
3081 (Size64, No_qSuf, NoRex64, Rex64): New macros.
3082 (Reg64, Imm32S, Imm64, Disp32S, Disp64): New macros.
3083 (Imm8, Imm8S, Imm16, Imm32, Imm1, BaseIndex, Disp8, Disp16, Disp32,
3084 InOutPortReg,ShiftCount, Control, Debug, Test, FloatReg, FloatAcc,
3085 SReg2, SReg3, Acc, JumpAbsolute, RegMMX, RegXMM, EsSeg, InvMem):
3087 (Reg, WordReg): Add Reg64.
3088 (Imm): Add Imm32S and Imm64.
3090 (Disp): Add Disp64 and Disp32S.
3091 (AnyMem): Add Disp32S.
3092 (RegRex, RegRex64): New macros.
3093 (rex_byte): New type.
3094 * config/tc-i386.c (set_16bit_code_flag): Kill.
3095 (fits_in_unsigned_long, fits_in_signed_long): New functions.
3096 (reloc): New parameter "signed"; support x86_64.
3097 (set_code_flag): New.
3098 (DEFAULT_ARCH): New macro; default to "i386".
3099 (default_arch): New static variable.
3100 (struct _i386_insn): New fields Operand_PCrel; rex.
3101 (flag_16bit_code): Kill; All tests replaced to "flag_code == CODE_64BIT"
3102 (flag_code): New enum and static variable.
3103 (use_rela_relocations): New static variable.
3104 (flag_code_names): New static variable.
3105 (cpu_arch_flags): Default to CpuUnknownFlags|CpuNo64.
3106 (cpu_arch): Add "sledgehammer"; Add CPUAthlon to Athlon and CpuK6 to
3108 (i386_align_code): Return plain "nop" for x86_64.
3109 (mode_from_disp_size): Support Disp32S.
3110 (smallest_imm_type): Support Imm32S and Imm64.
3111 (offset_in_range): Support size of 8.
3112 (set_cpu_arch): Do not clobber to Cpu64/CpuNo64.
3113 (md_pseudo_table): Add "code64"; use set_code_flat.
3114 (md_begin): Emit sane error message on hash failure.
3115 (tc_i386_fix_adjustable): Support x86_64 relocations.
3116 (md_assemble): Support QWORD_MNEM_SUFFIX, REX registers,
3117 instructions supported on particular arch just partially,
3118 output of 64bit immediates, handling of Imm32S and Disp32S type.
3119 (i386_immedaite): Support x86_64 relocations; support 64bit constants.
3120 (i386_displacement): Likewise.
3121 (i386_index_check): Cleanup; support 64bit addresses.
3122 (md_apply_fix3): Support x86_64 relocation and rela.
3123 (md_longopts): Add "32" and "64".
3124 (md_parse_option): Add OPTION_32 and OPTION_64.
3125 (i386_target_format): Call even for ELFs; choose between
3126 elf64-x86-64 and elf32-i386.
3127 (i386_validate_fix): Refuse GOTOFF in 64bit mode.
3128 (tc_gen_reloc): Support rela relocations and x86_64.
3129 (intel_e09_1): Support QWORD.
3131 2000-12-15 Diego Novillo <dnovillo@redhat.com>
3133 * config/tc-i386.c (intel_e09_1): Only flag as a memory operand if
3134 it's not an offset expression.
3135 (intel_e10_1): Ditto. Also, if the operand is an offset expression,
3136 keep the braces '[' and ']' in the output string.
3137 (intel_e11): Ditto. Also remove comparison intel_parser.op_modifier
3138 != FLAT. There is no such op_modifier.
3140 2000-12-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3142 * dwarf2dbg.c: If we don't have <limits.h>, try including <sys/param.h>
3145 2000-12-13 Kazu Hirata <kazu@hxi.com>
3147 * as.h: Fix formatting.
3149 * dwarf2dbg.c: Likewise.
3150 * input-scrub.c: Likewise.
3153 2000-12-13 Mark Elbrecht <snowball3@bigfoot.com>
3155 * configure.in (i386-*-msdosdjgpp): Set bfd_gas to yes.
3156 configure: Regenerate.
3158 2000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3160 * dwarf2dbg.c: #include <limits.h> only if it exists.
3162 2000-12-13 Rodney Brown <RodneyBrown@mynd.com>
3164 * config/tc-hppa.c (pa_ip): Correct CHECK_FIELD typo.
3165 (md_apply_fix): Here too.
3167 2000-12-12 Jim Wilson <wilson@redhat.com>
3169 * config/tc-ia64.h (ia64_init): Add prototype.
3171 2000-12-12 H.J. Lu <hjl@gnu.org>
3173 * dwarf2dbg.c: Enabled only if BFD_ASSEMBLER is defined.
3175 * read.h (outputting_stabs_line_debug): Change it to int.
3176 * stabs.c (outputting_stabs_line_debug): Likewise.
3178 2000-12-12 Geoffrey Keating <geoffk@redhat.com>
3180 * config/obj-bout.c (obj_crawl_symbol_chain): Don't take
3181 the address of a function result.
3183 2000-12-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3185 * config/tc-ppc.c (md_pseudo_table): Add .file and .loc.
3186 (md_assemble): Call dwarf2_emit_insn.
3187 (shlib): Fix typo SHILB -> SHLIB.
3188 (md_parse_option): Likewise.
3189 (ppc_elf_validate_fix): Likewise:
3190 * config/tc-ppc.h (DWARF2_LINE_MIN_INSN_LENGTH): New.
3192 2000-12-12 Nick Clifton <nickc@redhat.com>
3194 * cgen.h: Fix formatting.
3195 * input-scrub.c: Fix formatting.
3196 * macro.c: Fix formatting.
3197 * config/tc-mips.c: Fix formatting.
3198 * doc/c-mips.texi: Fix formatting.
3200 Mon Dec 11 14:35:42 MET 2000 Jan hubicka <jh@suse.cz>
3202 * config/tc-i386.c (md_assemble): Refuse 's' and 'l' suffixes in the intel
3203 mode; convert 'd' suffix to 's' or 'l'; remove all DWORD_MNEM_SUFFIX
3205 (intel_e09_1): Convert QWORD to 'l' suffix for FP operations; refuse
3207 * config/tc-i386.h (DWORD_MNEM_SUFFIX): Kill.
3210 * i386.h (*_Suf): Remove No_dSuf.
3211 (d_suf, wld_Suf,sld_Suf, sldx_Suf, bwld_Suf, d_FP, sld_FP, sldx_FP)
3213 (i386_optab): Remove 'd' in the suffixes.
3215 2000-12-06 Mark Elbrecht <snowball3@bigfoot.com>
3217 * config/tc-i386.c (T_SHORT): Undefine before defining.
3219 2000-12-05 Kazu Hirata <kazu@hxi.com>
3221 * config/tc-mips.c: Fix formatting.
3223 2000-12-04 Matthew Hiller <hiller@redhat.com>
3225 * config/tc-d10v.c (flag_allow_gstabs_packing): New variable.
3226 (md_longopts): New options --gstabs-packing, --no-gstabs-packing.
3227 (md_show_usage): Ditto.
3228 (md_parse_option): Ditto.
3229 (d10v_cleanup): Writes pending instruction only if
3230 ! outputting_stabs_line_debug || ! flag_allow_gstabs_packing.
3231 Fix compile time warning messages.
3233 * doc/c-d10v.texi: Documents new options.
3235 2000-12-04 Matthew Hiller <hiller@redhat.com>
3237 * stabs.c (outputting_stabs_line_debug): New variable.
3238 (stabs_generate_asm_lineno): Set outputting_stabs_line_debug at
3239 function entry and unset at function exit.
3241 * read.h (outputting_stabs_line_debug): New extern declaration.
3243 * as.c: Include dwarf2dbg.h for definition of dwarf2_finish.
3245 * dwarf2dbg.c: Fix compile time warning messages.
3247 2000-12-03 Kazu Hirata <kazu@hxi.com>
3249 * config/tc-a29k.c: Fix formatting.
3250 * config/tc-alpha.c: Likewise.
3251 * config/tc-arm.c: Likewise.
3252 * config/tc-cris.c: Likewise.
3253 * config/tc-hppa.c: Likewise.
3254 * config/tc-i370.c: Likewise.
3255 * config/tc-i386.c: Likewise.
3256 * config/tc-i860.c: Likewise.
3257 * config/tc-i960.c: Likewise.
3258 * config/tc-ia64.c: Likewise.
3259 * config/tc-m68hc11.c: Likewise.
3260 * config/tc-m68k.c: Likewise.
3261 * config/tc-m88k.c: Likewise.
3262 * config/tc-pj.c: Likewise.
3263 * config/tc-ppc.c: Likewise.
3264 * config/tc-sh.c: Likewise.
3265 * config/tc-sparc.c: Likewise.
3266 * config/tc-tahoe.c: Likewise.
3267 * config/tc-vax.c: Likewise.
3269 2000-12-01 Chris Demetriou <cgd@sibyte.com>
3271 * config/tc-mips.c (mips_ip): When calculating offsets,
3272 don't accept as constant the difference between the
3273 addresses of symbols in two different sections.
3275 * config/tc-mips.c (macro_build): Add new 'U' and 'J' operand
3277 (validate_mips_insn): Likewise. Also, update 'B' operand
3278 specifier to use OP_*_CODE20 constants and delete 'm' operand
3280 (mips_ip): Remove 'm' operand specifier, add 'U' and 'J'
3281 operand specifiers. Change warning generated by 'B' operand
3282 specifier to reflect its new multi-purpose usage.
3284 * config/tc-mips.c (mips_set_options): Use ISA_UNKNOWN rather than
3285 -1, and update comment.
3286 (file_mips_isa): Likewise.
3287 (mips_cpu): Use CPU_UNKNOWN rather than -1, and update comment.
3288 (ISA_HAS_COPROC_DELAYS, ISA_HAS_64BIT_REGS, gpr_interlocks): Use
3289 ISA_* constants rather than hard-coded numbers.
3290 (mips_cpu_info): New structure.
3291 (mips_cpu_info_table): New table describing CPU and ISA names
3293 (mips_cpu_info_from_name, mips_cpu_info_from_isa,
3294 mips_cpu_info_from_cpu): New functions.
3295 (mips_isa_to_str): New function to get string for ISA name.
3296 (mips_cpu_to_str): Convert to use mips_cpu_info_from_cpu, and
3297 return const char *.
3298 (md_begin): Redo CPU and ISA selection logic, using
3299 mips_cpu_info_from_*. Convert to use ISA_* constants rather
3300 than hard-coded numbers.
3301 (append_insn, mips_emit_delays, macro, macro2): Convert to use
3302 ISA_* constants rather than hard-coded numbers.
3303 (mips_ip): Convert to use mips_isa_to_str to get ISA name.
3304 (md_longopts): Delete OPTION_NO_MIPS32.
3305 (md_parse_option): Convert to use ISA_* constants rather than
3306 hard-coded numbers. Make OPTIONS_MIPS32 case treat MIPS32
3307 as an ISA. Delete OPTION_NO_MIPS32 case. Convert OPTION_MCPU
3308 to use strcasecmp to recognize "default" and to use
3309 mips_cpu_info_from_name to get CPU numbers from argument.
3310 (md_show_usage): Move -mips32 so it's with the rest of the ISA
3311 flags. Change 4Kc, 4Kp and 4Km CPU entries to just be
3313 (s_mipsset): Accept ISA value 32.
3314 * doc/as.texinfo: Clean up MIPS options summary slightly,
3315 remove -no-mips32. Add note about -mips4 and -mips32
3316 specifying those ISA levels. Delete -mips32 and -no-mips32
3317 cpu flag descriptions.
3318 * doc/c-mips.texi: Add -mips32 to list of ISA switches. Clean
3319 up the supported CPU switch list, and replace 4Kc, 4Km, and
3320 4Kp entries with a single mips32-4k entry. Note that you can
3323 * config/tc-mips.c (ISA_HAS_64BIT_REGS): Add checks for ISA_MIPS5 and
3325 (md_longopts, OPTION_MIPS5, OPTION_MIPS64): Add options for
3327 (md_parse_option): Add cases for OPTION_MIPS5 and
3329 (md_show_usage): Mention -mips5 and -mips64 arguments.
3330 (s_mipsset): Add cases for MIPS5 and MIPS64.
3331 (mips_cpu_info_table): Add entries for MIPS5 and MIPS64 ISAs
3333 * doc/as.texinfo: Mention -mips5 and -mips64 options
3335 * doc/c-mips.texi: Likewise. Also update introduction
3336 and ".set" usage information.
3338 * config/tc-mips.c (md_show_usage): Add "sb1" to the
3340 (mips_cpu_info_table): Add SB-1 entries.
3341 * doc/c-mips.texi: Add "sb1" to the list of CPUs
3342 known to the -mcpu option.
3344 * doc/as.texinfo: Correct description of MIPS -mcpu
3345 option, by copying some of the text from doc/c-mips.texi.
3347 2000-12-01 Joel Sherrill <joel@OARcorp.com>
3349 * configure.in (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
3351 (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
3352 (sparc*-*-rtems*): Switched from a.out to ELF.
3353 * configure: Regenerate.
3354 * config.in: Regenerate.
3355 * Makefile.in: Regenerate.
3356 * aclocal.m4: Regenerate.
3357 * po/gas.pot: Regenerate.
3359 2000-11-30 Philip Blundell <pb@futuretv.com>
3361 * config/obj-coff.c (obj_coff_weak): Use S_SET_WEAK if it exists,
3362 even in non BFD_ASSEMBLER case.
3364 2000-11-30 Diego Novillo <dnovillo@redhat.com>
3366 * config/tc-i386.c (md_assemble): Swap i.disp_relocs when using intel
3369 2000-11-29 Richard Henderson <rth@redhat.com>
3371 * dwarf2dbg.c: Rewrite from scratch. Queue all debugging output
3372 until dwarf2_finish; use relaxation to get cross-fragment offsets;
3373 thread multiple subsegments properly; handle multiple code
3374 sections properly; emit proper compilation unit info for assembler
3375 generated debugging.
3377 * as.h (enum _relax_state): Add rs_dwarf2dbg.
3378 * dwarf2dbg.h (struct dwarf2_line_info): Remove filename.
3379 (dwarf2dbg_estimate_size_before_relax): Declare.
3380 (dwarf2dbg_relax_frag, dwarf2dbg_convert_frag): Declare.
3381 * write.c: Include dwarf2dbg.h.
3382 (cvt_frag_to_fill): Handle rs_dwarf2dbg.
3383 (relax_segment): Likewise.
3385 2000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
3387 * config/tc-sh.c (md_convert_frag) <undefined symbol, conditional
3388 jump>: Use as_bad_where instead of as_bad. Tweak error message
3389 accordingly. Stabilize frag by updating fix part and resetting
3391 <undefined symbol, unconditional jump>: Ditto.
3392 (sh_elf_cons): Cast *input_line_pointer to unsigned char when
3393 indexing is_end_of_line[].
3394 (md_assemble): Initialize size to 0.
3395 (md_section_align): Mark parameter seg as unused.
3396 (parse_reg): Parse names case-insensitively.
3398 2000-11-28 Kazu Hirata <kazu@hxi.com>
3400 * config/obj-aout.h: Fix formatting.
3401 * config/obj-bout.h: Likewise.
3402 * config/obj-coff.c: Likewise.
3403 * config/obj-coff.h: Likewise.
3404 * config/obj-elf.h: Likewise.
3405 * config/obj-som.h: Likewise.
3406 * config/obj-vms.c: Likewise.
3407 * config/obj-vms.h: Likewise.
3408 * config/tc-h8300.h: Likewise.
3409 * config/tc-ns32k.h: Likewise.
3410 * config/tc-sparc.h: Likewise.
3411 * config/tc-tic54x.h: Likewise.
3412 * config/tc-z8k.h: Likewise.
3414 2000-11-28 Nick Clifton <nickc@redhat.com>
3416 * doc/as.1 (COPYING): Mention that the GNU Free Documentation
3417 License is present in the sources, but not the output, and
3418 also available from the GNU website.
3419 (GNU Free Documentation License): Comment out this section.
3421 2000-11-28 Hans-Peter Nilsson <hp@axis.com>
3423 * Makefile.am (CPU_OBJ_VALID): Add case to filter out invalid coff
3424 targets. Remove i860 from valid a.out targets.
3425 * Makefile.in: Regenerate.
3427 * config/tc-cris.c: Include dwarf2dbg.h.
3428 (md_pseudo_table): Add .file and .loc.
3429 (md_assemble): Call dwarf2_emit_insn if generating ELF.
3430 (s_cris_file, s_cris_loc): New.
3431 * config/tc-cris.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
3432 * Makefile.am: Regenerate dependencies.
3433 * Makefile.in: Regenerate.
3435 2000-11-28 Alan Modra <alan@linuxcare.com.au>
3437 * expr.c (STANDARD_MUL_PRECEDENCE): Correct value.
3438 (MRI_MUL_PRECEDENCE): Likewise.
3439 (op_rank): Fix a comment typo.
3441 2000-11-26 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3443 * config/tc-m68hc11.c (build_indexed_byte): Print the offset in
3445 (get_operand): Fix analysis for movw/movb instructions.
3447 2000-11-24 Nick Clifton <nickc@redhat.com>
3449 * configure.in (xscale-elf): Add target.
3450 (xscale-coff): Add target.
3451 * configure: Regenerate.
3453 * config/tc-arm.c (ARM_EXT_V5E): New ARM architecture
3455 (ARM_EXT_XSCALE): New ARM architecture extension.
3456 (ARM_LONGMUL): Rename to ARM_EXT_LONGMUL.
3457 (ARM_HALFWORD): Rename to ARM_EXT_HALFWORD.
3458 (ARM_THUMB): Rename to ARM_EXT_THUMB.
3459 (ARM_ARCH_V4): Remove processor from architecture.
3460 (ARM_ARCH_3M): New architecutre definition.
3461 (ARM_ARCH_V5TE): New architecutre definition.
3462 (ARM_ARCH_XSCALE): New architecutre definition.
3463 (CPU_DEFAULT): Allow to be defaulted to XScale.
3464 (atpcs): New boolean variable.
3465 (ldr_flags): Support 'd' flag for double word loads.
3466 (str_flags): Support 'd' flag for double word stored.
3467 (do_mia): New function.
3468 (do_mar): New function.
3469 (do_mra): New function.
3470 (do_pld): New function.
3471 (do_ldrd): New function.
3472 (do_blx): New function.
3473 (do_bkpt): New function.
3474 (do_clz): New function.
3475 (do_lstc2): New function.
3476 (do_cdp2): New function.
3477 (do_t_blx): New function.
3478 (do_t_bkpt): New function.
3479 (do_smla): New function.
3480 (do_smlal): New function.
3481 (do_smul): New function.
3482 (do_qadd): New function.
3483 (do_co_reg2c): New function.
3484 (LONGEST_INSN): Redefine to 7.
3486 * doc/c-arm.texi: Document -mxscale, -mmarmv5te and -matpcs
3487 command line switches.
3489 2000-11-22 Jim Wilson <wilson@redhat.com>
3491 * config/tc-ia64.c (pseudo_func): Add missing initializers.
3492 (struct rsrc): Make line unsigned.
3493 (gr_values): Add missing initializer.
3494 (SLOT_NUM_NOT_SET): Add unsigned cast.
3495 (ia64_elf_section_flags, output_vbyte_mem, count_output, dot_radix,
3496 dot_fframe, dot_vframe, dot_vframesp, dot_vframepsp, dot_save,
3497 dot_restore, dot_restorereg, dot_restorereg_p, dot_handlerdata,
3498 dot_unwentry, dot_altrp, dot_saveg, dot_savef, dot_saveb, dot_savegf,
3499 dot_spill, dot_spillreg, dot_spillreg_p, dot_label_state,
3500 dot_copy_state, dot_unwabi, dot_personality, dot_proc, dot_body,
3501 dot_prologue, dot_endp, dot_regstk, dot_psr, dot_alias, dot_ln,
3502 dot_reg_val, dot_entry, dot_mem_offset, ia64_init, mark_resource,
3503 md_undefined_symbol, md_apply_fix3, tc_gen_reloc, ia64_md_do_align):
3504 Add ATTRIBUTE_UNUSED to unused parameters.
3505 (convert_expr_to_ab_reg): Add parens.
3506 (convert_expr_to_xy_reg): Add parens. Comment out >= REG_GR test.
3507 (dot_prologue): Initialize grsave when declared.
3508 (md_pseudo_table): Add missing initializers.
3509 (operand_match): Add casts to bfd_vma.
3510 (emit_one_bundle): Delete unused local prev. Make required_template
3512 (specify_resource): Cast i to unsigned.
3513 (note_register_values): Use fprintf_vma.
3514 (print_dependency): Likewise.
3516 2000-11-21 Jim Wilson <wilson@redhat.com>
3518 * config/tc-ia64.c (generate_unwind_image): Call record_alignment
3519 for unwind info section.
3520 (dot_endp): Likewise for unwind section.
3522 * config/tc-ia64.c (emit_one_bundle): Pass size of 8 not 4 to
3525 2000-11-21 Jakub Jelinek <jakub@redhat.com>
3527 * config/tc-sparc.c (md_pseudo_table): Add .file and .loc.
3528 (output_insn): Call dwarf2_emit_insn.
3529 * config/tc-sparc.h (DWARF2_LINE_MIN_INSN_LENGTH): New.
3531 2000-11-17 Richard Henderson <rth@redhat.com>
3533 * ehopt.c (eh_frame_code_alignment): New arg `in_seg', update all
3534 callers. Don't switch segments. Expect CIE == -1 in .debug_frame.
3535 (check_eh_frame): Handle .eh_frame and .debug_frame concurrently.
3537 2000-11-17 Nick Clifton <nickc@redhat.com>
3539 * config/tc-arm.c (md_pseudo_table): Add support for .line and
3542 2000-11-17 Richard Henderson <rth@redhat.com>
3544 * config/tc-i386.c (md_pseudo_table): Add .file and .loc.
3546 2000-11-17 Richard Henderson <rth@redhat.com>
3548 * dwarf2dbg.c (dwarf2_gen_line_info): Early out for no line number.
3549 * config/obj-elf.h (ECOFF_DEBUGGING) [TC_ALPHA]: Adjust for
3550 tri-state definition of alpha_flag_mdebug.
3551 * config/tc-alpha.c (alpha_flag_mdebug): Init to -1.
3552 (s_alpha_file): Store first .file directive.
3553 (s_alpha_stab): New.
3554 (md_pseudo_table): Add stabs and stabn.
3556 2000-11-17 Richard Henderson <rth@redhat.com>
3558 * config/tc-i386.c (md_assemble): Call dwarf2_emit_insn.
3560 2000-11-17 Richard Henderson <rth@redhat.com>
3562 * as.c (debug_type): Init to DEBUG_UNSPECIFIED.
3563 (main): Call dwarf2_finish.
3564 * as.h (debug_type): Clarify documentation of the meaning
3566 * dwarf2dbg.c (DWARF2_LINE_MIN_INSN_LENGTH): Default to 1.
3567 (print_stats): Fix parenthesis problem.
3568 (now_subseg_size): New.
3569 (dwarf2_finish): Use it. If DEBUG_DWARF2, emit bits for .debug_info.
3570 (dwarf2_directive_file): Don't set debug_type.
3571 (dwarf2_where): Honor DEBUG_DWARF2 first.
3572 (dwarf2_emit_insn): Renamed from dwarf2_generate_asm_lineno;
3573 do nothing if not emitting dwarf2 debug info, or no work.
3574 * dwarf2dbg.h (dwarf2_emit_insn): Update.
3575 * ecoff.c (add_file): Turn on DEBUG_ECOFF only if DEBUG_UNSPECIFIED.
3576 (ecoff_new_file): Likewise.
3577 * read.c (generate_lineno_debug): Kill ecoff hackery. Update
3578 commentary wrt dwarf2.
3580 * config/tc-alpha.c (alpha_adjust_symtab_relocs): Add
3581 ATTRIBUTE_UNUSED as needed.
3582 (emit_insn): Call dwarf2_emit_insn.
3583 (s_alpha_file): New.
3585 (s_alpha_coff_wrapper): Don't handle them.
3586 (md_pseudo_table): Update for .file and .loc.
3587 * config/tc-alpha.h (DWARF2_LINE_MIN_INSN_LENGTH): New.
3589 * config/tc-arm.c (output_inst): Update for dwarf2_emit_insn;
3590 don't protect with debug_type.
3591 * config/tc-hppa.c (md_assemble): Likewise.
3592 * config/tc-m68hc11.c (m68hc11_new_insn): Likewise.
3593 * config/tc-mn10300.c (md_assemble): Likewise.
3594 * config/tc-sh.c (md_assemble): Likewise.
3595 * config/tc-v850.c (md_assemble): Likewise.
3597 * config/tc-arm.c (arm_end_of_source): Remove.
3598 * config/tc-hppa.c (pa_end_of_source): Remove.
3599 * config/tc-m68hc11.c (m68hc11_end_of_source): Remove.
3600 * config/tc-mn10300.c (mn10300_finalize): Remove.
3601 * config/tc-sh.c (sh_finalize): Remove.
3602 * config/tc-v850.c (sh_finalize): Remove.
3604 * config/tc-arm.h (md_end): Remove.
3605 * config/tc-hppa.h (md_end): Remove.
3606 (DWARF2_LINE_MIN_INSN_LENGTH): New.
3607 * config/tc-m68hc11.h (md_end): Remove.
3608 * config/tc-mn10300.h (md_end): Remove.
3609 * config/tc-sh.h (md_end): Remove.
3610 * config/tc-v850.h (md_end): Remove.
3612 * config/tc-ia64.c (emit_one_bundle): Don't protect
3613 dwarf2 bits with debug_type.
3614 (md_assemble): Likewise.
3615 (ia64_end_of_source): Don't call dwarf2_finish.
3617 2000-11-16 Jim Wilson <wilson@redhat.com>
3619 * config/tc-ia64.c (errata_nop_necessary_p): Abort if general regno
3620 >= 128 instead of > 128. Abort if predicate regno is >= 64 instead of
3623 2000-11-16 H.J. Lu <hjl@gnu.org>
3625 * config/obj-elf.c (obj_elf_symver): Don't check the missing
3628 2000-11-15 Kazu Hirata <kazu@hxi.com>
3630 * config/tc-tic30.c: Fix formatting.
3631 * config/tc-tic80.c: Likewise.
3632 * config/tc-v850.c: Likewise.
3633 * config/tc-vax.c: Likewise.
3634 * config/tc-w65.c: Likewise.
3635 * config/tc-z8k.c: Likewise.
3637 2000-11-14 DJ Delorie <dj@redhat.com>
3639 * config/tc-v850.c: Support dwarf2.
3640 * config/tc-v850.h: Ditto.
3642 * config/tc-v850.c (cons_fix_new_v850): Don't rely on
3643 parse_cons_expression_v850 to initialize hold_cons_reloc.
3645 2000-11-15 Bernd Schmidt <bernds@redhat.com>
3647 * config/tc-ia64.c (struct md): New entries LAST_GROUPS, GROUP_IDX.
3648 (errata_nops_necessary_p): New function.
3649 (emit_one_bundle): Call it. Update the GROUP_IDX field in struct
3652 2000-11-14 Jim Wilson <wilson@redhat.com>
3654 * config/tc-ia64.c (ia64_target_format): If EF_IA_64_BE not set, then
3655 return little endian bfd formats.
3657 2000-11-14 Kazu Hirata <kazu@hxi.com>
3659 * config/aout_gnu.h: Fix formatting.
3660 * config/atof-vax.c: Likewise.
3661 * config/m68k-parse.h: Likewise.
3662 * config/m88k-opcode.h: Likewise.
3663 * config/obj-elf.c: Likewise.
3664 * config/tc-arm.c: Likewise.
3665 * config/tc-cris.c: Likewise.
3666 * config/tc-i386.c: Likewise.
3667 * config/tc-ia64.c: Likewise.
3668 * config/tc-mn10300.c: Likewise.
3669 * config/te-386bsd.h: Likewise.
3670 * config/te-hppa.h: Likewise.
3671 * config/te-nbsd.h: Likewise.
3672 * config/te-ppcnw.h: Likewise.
3673 * config/te-sparcaout.h: Likewise.
3674 * config/te-tmips.h: Likewise.
3675 * config/vax-inst.h: Likewise.
3676 * config/vms-conf.h: Likewise.
3678 2000-11-14 Jakub Jelinek <jakub@redhat.com>
3680 * config/tc-alpha.c (s_alpha_prologue): Preserve visibility bits.
3682 2000-11-13 H.J. Lu <hjl@gnu.org>
3684 * config/obj-elf.c (elf_frob_symbol): Support
3685 ".symver name,name2@@@nodename".
3686 (elf_frob_file_before_adjust): Likewise.
3688 * doc/as.texinfo: Updated for ".symver name,name2@@@nodename"
3689 and ".symver name,name2@@@nodename".
3692 2000-11-12 H.J. Lu (hjl@gnu.org)
3694 * config/obj-elf.c (obj_elf_symver): Check missing version
3697 2000-11-12 H.J. Lu (hjl@gnu.org)
3699 * dwarf2dbg.c (dwarf2_generate_asm_lineno): Use addressT
3700 instead of bfd_vma for non-bfd assemblers.
3702 2000-11-09 Kazu Hirata <kazu@hxi.com>
3704 * itbl-ops.c: Fix comment typos.
3706 2000-11-08 Jim Wilson <wilson@redhat.com>
3708 * config/tc-ia64.c (struct unw_rec_list): Add slot_frag field.
3709 (struct unwind): Add next_slot_frag field.
3710 (slot_index): New parameters slot_frag and first_frag. Add code
3711 to add in frag sizes when different. Add comments.
3712 (fixup_unw_records): New locals first_frag and last_frag. Pass new
3713 arguments to slot_index.
3714 (emit_one_bundle): Set slot_frag field. Set next_slot_number after
3715 loop end. Set next_slot_frag field.
3717 2000-11-07 H.J. Lu <hjl@gnu.org>
3719 * doc/as.texinfo (.symver): Updated for versioned symbol
3722 * obj.h (format_ops): Add the frob_file_before_adjust field.
3724 * config/obj-aout.c (aout_format_ops): Set the
3725 frob_file_before_adjust field to 0.
3726 * config/obj-coff.c (coff_format_ops): Likewise.
3727 * config/obj-ecoff.c (ecoff_format_ops): Likewise.
3729 * config/obj-elf.c (obj_elf_symver): Allow duplicated version
3731 (elf_frob_file_before_adjust): New function to remove unneeded
3732 versioned symbols from the symbol table.
3733 (elf_format_ops): Set the frob_file_before_adjust field to
3734 elf_frob_file_before_adjust.
3736 * config/obj-elf.h (obj_frob_file_before_adjust): Defined if
3739 * config/obj-multi.h (obj_frob_file_before_adjust): Defined.
3741 2000-11-07 Peter Targett <peter.targett@arccores.com>
3743 * config/tc-arc.h: Avoid warnings for LITTLE_ENDIAN and
3745 * config/tc-arc.c: Use S_IS_LOCAL to test local symbols.
3746 Fix compile time warning messages.
3748 2000-11-07 Nick Clifton <nickc@redhat.com>
3750 * stabs.c (generate_asm_file): Increase length of xmalloc'ed
3751 buffer in order to avoid buffer overflows.
3753 2000-11-06 Steve Ellcey <sje@cup.hp.com>
3755 * config/tc-ia64.c (md_shortopts, md_parse_option, md_show_usage):
3756 Change M to m for -milp32 or -mlp64 to match gcc.
3757 (dot_endp): Use bytes_per_address instead of 8.
3758 (emit_one_bundle): Use number_to_chars_littleendian instead of
3760 (fix_insn): Likewise.
3761 (ia64_init): New function.
3762 (ia64_target_format): New function.
3763 (md_begin): Set endianness, arch, and machine as appropriate.
3764 * config/tc-ia64.h: (TARGET_BYTES_BIG_ENDIAN, md_number_to_chars):
3765 Make these macros depend on TE_HPUX macro.
3766 (TARGET_FORMAT): Define.
3767 (HOST_SPECIAL_INIT): Define.
3768 * config/te-hpux.h: New file.
3769 * configure.in: Add "ia64-*-hpux*" target to configure.
3770 * configure: Regenerate.
3772 2000-11-06 Kazu Hirata <kazu@hxi.com>
3774 * as.c: Fix formatting.
3775 * dwarf2dbg.c: Likewise.
3776 * input-file.c: Likewise.
3777 * input-file.h: Likewise.
3778 * input-scrub.c: Likewise.
3779 * itbl-ops.c: Likewise.
3780 * listing.c: Likewise.
3781 * macro.h: Likewise.
3782 * messages.c: Likewise.
3784 * subsegs.c: Likewise.
3785 * subsegs.h: Likewise.
3786 * write.c: Likewise.
3788 2000-11-06 Nick Clifton <nickc@redhat.com>
3790 * doc/as.texinfo: Add GNU Free Documentation License.
3791 * doc/gasp.texi: Add GNU Free Documentation License.
3792 * doc/as.1: Add GNU Free Documentation License.
3794 2000-11-05 Nick Clifton <nickc@redhat.com>
3796 * config/tc-arm.c: Add include of "dwarf2dbg.h"
3798 2000-11-02 Per Lundberg <plundis@chaosdev.org>
3800 * configure.in: Recognise i[3456]86-chaosdev-storm-chaos.
3801 * configure: Regenerate.
3803 2000-11-01 Nick Clifton <nickc@redhat.com>
3805 * read.c (original_case_string): New global variable.
3806 (read_a_source_file): Copy opcode string into
3807 original_case_string if clobbering the case of the opcode.
3808 * read.h: Export the definition of original_case_string.
3809 * config/tc-arm.c (md_assembler): When parsing a .req
3810 directive use the original opcode string, not the case
3813 2000-11-02 Nick Clifton <nickc@redhat.com>
3815 * config/tc-mn10300.c (debug_line): Remove this static
3817 (md_assemble): Call dwarf2_generate_asm_lineno instead of
3818 dwarf2_where and dwarf2_gen_line_info.
3820 2000-11-02 Theo Honohan <th@futuretv.com>
3822 * config/tc-arm.c (do_msr): Improve error message.
3824 2000-10-31 Eric Christopher <echristo@redhat.com>
3826 * config/tc-mn10300.c (md_apply_fix3): Use valuep if fully resolved
3827 or pc-relative, else use fx_offset.
3829 2000-10-31 Jim Wilson <wilson@redhat.com>
3831 * config/tc-ia64.c (struct md): New field tag_fixups.
3832 (ia64_flush_insns): Handle tag_fixups. Error if dangling
3833 qualifying predicate.
3834 (emit_one_bundle): Delete spurious multiplication by one. Handle
3836 (ia64_start_line): Error if dangling qualifying predicate.
3837 (defining_tag): New static variable.
3838 (ia64_unrecognized_line, case '['): Parse tags.
3839 (ia64_frob_label): Create tag_fixups.
3840 (md_assemble): Reset md.qp.X_op after using it.
3842 2000-10-31 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3844 * config/tc-sh.c (md_apply_fix [BFD_RELOC_SH_PCDISP12BY2]): Allow 4094.
3846 2000-10-31 Bernd Schmidt <bernds@redhat.co.uk>
3848 * config/tc-ia64.c (extra_goodness): Only prefer F in slot 1 and B in slot 2.
3850 2000-10-30 Kazu Hirata <kazu@hxi.com>
3852 * expr.c: Fix formatting.
3853 * flonum-copy.c: Likewise.
3854 * flonum.h: Likewise.
3858 2000-10-30 Hans-Peter Nilsson <hp@bitrange.com>
3860 * as.h (OPTION_MD_BASE): Bump to 190.
3861 * as.c (parse_args) <std_longopts>: Add comment about the need to
3862 check OPTION_MD_BASE in as.h.
3864 * config/tc-sh.c (md_apply_fix): For ELF, do not "adjust back" VAL
3867 2000-10-27 Nick Clifton <nickc@redhat.com>
3869 * configure.in (emulations): Add m68hc12.
3870 * configure: Regenerate.
3871 * po/gas.pot: Regenerate.
3873 2000-10-27 Aldy Hernandez <aldyh@redhat.com>
3875 * config/tc-arm.c (psrs): Remove lowercase versions of spsr* and
3877 (arm_psr_parse): Handle lowercase CPSR and SPSR.
3879 2000-10-25 Nick Clifton <nickc@redhat.com>
3881 * dwarf2out.c (dwarf2_generate_asm_lineno): New function: Generate
3882 a DWARF2 line number information sequence.
3884 *dwarf2out.h: Add prototype for dwarf2_generate_asm_lineno.
3886 * read.c (generate_lineno_debug): Update comment describing why
3887 DWARF2 line number debug information is not generated
3888 automatically by this function.
3890 * doc/as.texinfo: Note that --gdwarf2 only works on some targets,
3893 * config/tc-arm.h (md_end): Define.
3894 (DWARF2_LINE_MIN_INSN_LENGTH): Define.
3896 * config/tc-arm.c (output_inst): Call dwarf2_generate_asm_lineno
3897 if generating DWARF2 line numbers.
3898 (arm_end_of_source): New function. Call dwarf2_finish if
3901 * config/tc-hppa.c (md_assemble): Use dwarf2_generate_asm_lineno.
3902 * config/tc-m68hc11.c (m68hc11_new_insn): Use dwarf2_generate_asm_lineno.
3903 * config/tc-sh.c (md_assemble): Use dwarf2_generate_asm_lineno.
3905 2000-10-25 Diego Novillo <dnovillo@cygnus.com>
3907 * config/tc-i386.c: Fix prototype declarations for functions taking no
3910 2000-10-24 Diego Novillo <dnovillo@cygnus.com>
3912 * config/tc-i386.c (i386_operand_modifier): Remove.
3913 (build_displacement_string): Remove.
3914 (i386_parse_seg): Remove.
3915 (i386_intel_memory_operand): Remove.
3916 (i386_intel_operand): Re-write using recursive descent parser based
3917 on MASM documentation.
3918 (struct intel_parser_s): New structure.
3919 (intel_parser): New static variable.
3920 (struct intel_token): New structure.
3921 (cur_token, prev_token): New static variables.
3934 (intel_match_token): New function.
3935 (intel_get_token): New function.
3936 (intel_putback_token): New function.
3937 (intel_expr): New function.
3938 (intel_e05): New function.
3939 (intel_e05_1): New function.
3940 (intel_e06): New function.
3941 (intel_e06_1): New function.
3942 (intel_e09): New function.
3943 (intel_e09_1): New function.
3944 (intel_e10): New function.
3945 (intel_e10_1): New function.
3946 (intel_e11): New function.
3948 2000-10-20 Jakub Jelinek <jakub@redhat.com>
3950 * config/tc-sparc.c (sparc_ip): Fix a bug which caused v9_arg_p
3951 instructions to loose any special insn->architecture mask.
3953 * config/tc-sparc.c (v9a_asr_table): Add v9b ASRs.
3954 (sparc_md_end, sparc_arch_types, sparc_arch,
3955 sparc_elf_final_processing): Handle v8plusb and v9b architectures.
3956 (sparc_ip): Handle siam mode operands. Support v9b ASRs (and
3957 request v9b architecture if they are used).
3959 2000-10-18 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3961 * config/tc-m68k.c: Fix the previous misapplied patch.
3963 2000-10-18 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3965 * config/tc-m68k.h (RELAX_RELOC_*): New definitions for both
3966 BFD_ASSEMBLER and !BFD_ASSEMBLER.
3967 * config/tc-m68k.c (md_convert_frag_1): Use them instead of
3970 2000-10-17 Kazu Hirata <kazu@hxi.com>
3972 * debug.c: Fix formatting.
3973 * depend.c: Likewise.
3974 * dwarf2dbg.c: Likewise.
3975 * dwarf2dbg.h: Likewise.
3976 * ecoff.c: Likewise.
3979 * flonum-konst.c: Likewise.
3980 * frags.h: Likewise.
3982 2000-10-17 Chandrakala Chavva <cchavva@redhat.com>
3984 * as.c: New option OPTION_TARGET_HELP. Prints all target specific
3986 * doc/as.texinfo: Added notes about this new option.
3988 2000-10-16 Hans-Peter Nilsson <hp@bitrange.com>
3990 * config/tc-sh.c (JREG): Remove.
3991 (md_convert_frag): Remove #if 0:d code using JREG.
3993 2000-10-15 Diego Novillo <dnovillo@cygnus.com>
3995 * config/tc-i386.c (i386_operand_modifier): Only match
3996 modifiers SHORT and FLAT if they are followed by a space.
3997 (parse_register): When `allow_naked_reg' is set, do not confuse
3998 identifiers that start with a register name with a register.
4000 2000-10-12 Kazu Hirata <kazu@hxi.com>
4002 * app.c: Fix formatting.
4005 * bit_fix.h: Likewise.
4010 2000-10-11 Alan Modra <alan@linuxcare.com.au>
4012 * config/obj-elf.c (elf_frob_symbol): Revert 2000-10-07 change.
4014 2000-10-07 Alan Modra <alan@linuxcare.com.au>
4016 * config/tc-hppa.c (md_apply_fix): Remove plainly wrong assert.
4017 Re-arrange function a little and improve error message.
4019 * write.c (write_relocs): Fix a comment.
4021 * config/obj-elf.c (elf_frob_symbol): Make section syms global on
4024 2000-10-05 Jim Wilson <wilson@cygnus.com>
4026 * config/tc-ia64.c (resources_match): Handle IA64_RS_PRr.
4028 2000-10-05 Alan Modra <alan@linuxcare.com.au>
4030 * config/tc-i386.c: Delete some useless comments, reformat others.
4032 * config/tc-i386.h (TC_FIX_ADJUSTABLE): Add check to cover
4033 non-global syms in linkonce sections.
4035 2000-10-04 Ralf Baechle <ralf@gnu.org>
4037 * config/tc-ia64.c (operand_match): Don't use // style comments.
4038 * config/tc-i370.c: Likewise.
4040 2000-09-29 Hans-Peter Nilsson <hp@axis.com>
4042 Changes to handle varying register prefix and user symbol prefix.
4043 * config/tc-cris.c (SYNTAX_RELAX_REG_PREFIX,
4044 SYNTAX_ENFORCE_REG_PREFIX, SYNTAX_USER_SYM_LEADING_UNDERSCORE,
4045 SYNTAX_USER_SYM_NO_LEADING_UNDERSCORE, REGISTER_PREFIX_CHAR): New.
4046 (s_syntax, cris_force_reg_prefix, cris_relax_reg_prefix,
4047 cris_sym_leading_underscore, cris_sym_no_leading_underscore): New.
4048 (demand_register_prefix): New variable.
4049 (md_pseudo_table): New pseudo ".syntax".
4050 (md_longopts): New options --no-underscore and --underscore.
4051 (cris_target_format): Return elf32-us-cris or elf32-cris depending
4052 on symbols_have_leading_underscore.
4053 (get_gen_reg): Accept or require REGISTER_PREFIX_CHAR.
4054 (get_spec_reg): Ditto.
4055 (cris_number_to_imm) <case BFD_RELOC_VTABLE_ENTRY>: Remove FIXME.
4057 (md_parse_option) <case 'h' 'H'>: Deprecate; add reference to
4059 <case OPTION_NO_US, case OPTION_US>: New.
4060 (md_show_usage): Be brief and reformat to match continuation of
4062 * po/gas.pot: Regenerate.
4064 2000-09-28 Alan Modra <alan@linuxcare.com.au>
4066 * config/tc-hppa.c (hppa_force_relocation): If OBJ_SOM, don't
4067 force relocs for 12 bit branches.
4068 (md_apply_fix): Similarly, adjust logic here.
4070 2000-09-28 Alan Modra <alan@linuxcare.com.au>
4072 * config/tc-hppa.c (md_apply_fix): Add fmt assertion. Don't
4073 adjust for external and weak syms as we will use a reloc. Allow
4074 for +8 offset when calculating limits of branches.
4075 (hppa_fix_adjustable): Undo 2000-09-23 change.
4076 (hppa_force_relocation): Likewise. Add fx_addsy assertion.
4077 Correct distance calculation.
4078 (tc_gen_reloc): Print the file name and line number if we can't
4081 From John David Anglin <dave@hiauly1.hia.nrc.ca>
4082 * config/tc-hppa.c (nonzero_dibits): Define.
4083 (arg_reloc_stub_needed): Check each arg and return value
4084 separately for zero case.
4085 (pa_align): Declare argument `bytes'.
4087 2000-09-25 Kazu Hirata <kazu@hxi.com>
4089 * config/tc-cris.c: Fix formatting.
4090 * config/tc-d10v.h: Likewise.
4091 * config/tc-d30v.c: Likewise.
4092 * config/tc-d30v.h: Likewise.
4093 * config/tc-fr30.c: Likewise.
4094 * config/tc-fr30.h: Likewise.
4095 * config/tc-m68k.c: Likewise.
4096 * config/tc-m68k.h: Likewise.
4097 * config/tc-pj.h: Likewise.
4098 * config/tc-ppc.c: Likewise.
4099 * config/tc-ppc.h: Likewise.
4100 * config/tc-sh.c: Likewise.
4101 * config/tc-sh.h: Likewise.
4102 * config/tc-sparc.c: Likewise.
4103 * config/tc-v850.h: Likewise.
4104 * config/tc-vax.h: Likewise.
4105 * config/tc-w65.h: Likewise.
4106 * config/tc-z8k.h: Likewise.
4108 2000-09-23 Alan Modra <alan@linuxcare.com.au>
4110 * config/tc-hppa.c (hppa_fix_adjustable): Do the external and weak
4111 checks only for ELF.
4112 (hppa_force_relocation): Likewise.
4114 2000-09-22 Jim Wilson <wilson@cygnus.com>
4116 * config/tc-ia64.c (dv_sem): Add "stop".
4117 (specify_resource, case IA64_RS_PR): Only handles regs 1 to 15 now.
4118 (specify_resource, case IA64_RS_PRr): New for regs 16 to 62.
4119 (specify_resource, case IA64_RS_PR63): Reorder (note == 7) test to
4121 (mark_resources): Check IA64_RS_PRr.
4123 2000-09-22 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4125 * config/tc-m68k.c (md_relax_table, m68k_ip, md_convert_frag_1,
4126 md_estimate_size_before_relax): Redesign and clean up the
4127 relaxation mechanism.
4129 2000-09-21 Kazu Hirata <kazu@hxi.com>
4131 * config/tc-ns32k.c: Fix formatting.
4132 * config/tc-ns32k.h: Likewise.
4134 2000-09-20 Kazu Hirata <kazu@hxi.com>
4136 * config/tc-m32r.c: Fix formatting.
4137 * config/tc-m32r.h: Likewise.
4138 * config/tc-m68851.h: Likewise.
4139 * config/tc-m68hc11.c: Likewise.
4140 * config/tc-m68hc11.h: Likewise.
4141 * config/tc-m88k.c: Likewise.
4142 * config/tc-mcore.c: Likewise.
4143 * config/tc-mcore.h: Likewise.
4144 * config/tc-mips.c: Likewise.
4145 * config/tc-mips.h: Likewise.
4146 * config/tc-mn10200.h: Likewise.
4147 * config/tc-mn10300.h: Likewise.
4148 * config/tc-tahoe.c: Likewise.
4149 * config/tc-tahoe.h: Likewise.
4151 2000-09-19 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4153 * config/tc-vax.c (synthetic_votstrs): Remove jbssi and jbcci.
4154 Likewise in relaxation description comments.
4156 2000-09-18 Alan Modra <alan@linuxcare.com.au>
4158 * config/tc-hppa.h (TC_FORCE_RELOCATION_SECTION): Allow
4159 subtraction of two syms without emitting a relocation.
4161 From David Huggins-Daines <dhd@linuxcare.com>
4162 * config/tc-hppa.c (hppa_force_relocation): Force relocations for
4163 global or weak symbols.
4165 2000-09-15 Kazu Hirata <kazu@hxi.com>
4167 * config/tc-h8300.h: Fix formatting.
4168 * config/tc-h8500.c: Likewise.
4169 * config/tc-h8500.h: Likewise.
4170 * config/tc-hppa.h: Likewise.
4171 * config/tc-i370.h: Likewise.
4172 * config/tc-i386.h: Likewise.
4173 * config/tc-i860.c: Likewise.
4174 * config/tc-i860.h: Likewise.
4175 * config/tc-i960.h: Likewise.
4176 * config/tc-ia64.c: Likewise.
4177 * config/tc-ia64.h: Likewise.
4179 2000-09-14 Kazu Hirata <kazu@hxi.com>
4181 * config/tc-a29k.c: Fix formatting.
4182 * config/tc-alpha.c: Likewise.
4183 * config/tc-arc.c: Likewise.
4184 * config/tc-arc.h: Likewise.
4185 * config/tc-arm.c: Likewise.
4186 * config/tc-arm.h: Likewise.
4187 * config/tc-avr.c: Likewise.
4188 * config/tc-avr.h: Likewise.
4189 * config/tc-tic30.c: Likewise.
4190 * config/tc-tic30.h: Likewise.
4191 * config/tc-tic54x.c: Likewise.
4192 * config/tc-tic54x.h: Likewise.
4193 * config/tc-tic80.c: Likewise.
4194 * config/tc-tic80.h: Likewise.
4196 2000-09-14 Timothy Wall <twall@cygnus.com>
4198 * config/tc-ia64.c (specify_resource): For PR%/PR63, note types of
4199 parallel comparisons for later use.
4200 (struct rsrc): Add parallel comparison type.
4201 (resources_match): Skip special cases of PR usage (non-conflicting
4204 2000-09-13 Kazu Hirata <kazu@hxi.com>
4206 * config/obj-ecoff.c: Fix formatting.
4207 * config/obj-elf.c: Likewise.
4208 * config/obj-elf.h: Likewise.
4209 * config/obj-evax.h: Likewise.
4210 * config/obj-generic.h: Likewise.
4211 * config/obj-hp300.c: Likewise.
4212 * config/obj-hp300.h: Likewise.
4213 * config/obj-ieee.h: Likewise.
4214 * config/obj-vms.c: Likewise.
4215 * config/obj-vms.h: Likewise.
4217 2000-09-13 Anders Norlander <anorland@acc.umu.se>
4219 * config/tc-mips.c (md_begin): Recognize 4Kc, 4Km and 4Kp processors.
4220 (md_parse_option): Ditto.
4221 (md_longopts): Add -mips32 option.
4222 (md_show_usage): Document new options.
4223 (mips_ip): Assemble sdbbp 20 bit 'm' args for MIPS32.
4224 (mips_ip): Assemble mfc0 with a sub-selection code.
4225 (validate_mips_insn): Handle 'H' (OP_*_SEL) and 'm' (OP_*_CODE20).
4226 (mips_cpu_to_str): New function.
4227 (mips_ip): Use mips_cpu_to_str instead of printing numeric cpu value.
4228 Use CPU_* defines instead of hardcoded numbers.
4230 * doc/as.texinfo: Document new options.
4231 * doc/c-mips.texi: Ditto.
4233 2000-09-12 Kazu Hirata <kazu@hxi.com>
4235 * as.h: Fix formatting.
4236 * asintl.h: Likewise.
4237 * bit_fix.h: Likewise.
4238 * config/obj-aout.c: Likewise.
4239 * config/obj-aout.h: Likewise.
4240 * config/obj-bout.c: Likewise.
4241 * config/obj-bout.h: Likewise.
4242 * config/obj-coff.c: Likewise.
4243 * config/obj-coff.h: Likewise.
4244 * dwarf2dbg.h: Likewise.
4246 * flonum.h: Likewise.
4247 * frags.h: Likewise.
4248 * itbl-ops.h: Likewise.
4249 * macro.h: Likewise.
4252 * struc-symbol.h: Likewise.
4253 * subsegs.h: Likewise.
4254 * symbols.h: Likewise.
4256 * write.h: Likewise.
4258 2000-09-11 Kazu Hirata <kazu@hxi.com>
4260 * bignum-copy.c: Fix formatting.
4261 * config/tc-i370.c: Likewise.
4262 * config/tc-i960.c: Likewise.
4263 * config/tc-m68k.c: Likewise.
4264 * ehopt.c: Likewise.
4265 * flonum-copy.c: Likewise.
4266 * flonum-konst.c: Likewise.
4267 * flonum-mult.c: Likewise.
4268 * literal.c: Likewise.
4271 * stabs.c: Likewise.
4272 * subsegs.c: Likewise.
4274 2000-09-09 Philip Blundell <philb@gnu.org>
4276 * configure.in (arm*-*-uclinux*): New target.
4277 * configure: Regenerate.
4279 2000-09-09 Kazu Hirata <kazu@hxi.com>
4281 * input-file.c: Fix formatting.
4282 * itbl-ops.c: Likewise.
4283 * messages.c: Likewise.
4285 2000-09-08 Philip Blundell <philb@gnu.org>
4287 * config/tc-arm.c (md_apply_fix3): Correct handling of ADRL when
4290 2000-09-07 H.J. Lu <hjl@gnu.org>
4292 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
4293 * configure: Rebuild.
4295 2000-09-07 Kazu Hirata <kazu@hxi.com>
4297 * atof-generic.c: Fix formatting.
4298 * config/tc-mips.c: Likewise.
4299 * config/tc-vax.c: Likewise.
4300 * input-scrub.c: Likewise.
4302 2000-09-07 Alexandre Oliva <aoliva@redhat.com>
4304 * config/tc-sh.h (TARGET_FORMAT): Use sh-linux targets.
4305 * configure.in (sh-*-linux*): Added.
4306 * configure: Rebuilt.
4308 2000-09-06 Kazu Hirata <kazu@hxi.com>
4310 * config/tc-hppa.c: Fix formatting.
4312 * ecoff.c: Fix formatting.
4314 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
4316 * configure: Rebuilt with new libtool.m4.
4318 2000-09-05 Kazu Hirata <kazu@hxi.com>
4320 * cgen.c: Fix formatting.
4321 * config/tc-ia64.c: Likewise.
4323 2000-09-05 Nick Clifton <nickc@redhat.com>
4325 * aclocal.m4: Regenerate.
4326 * config.in: Regenerate.
4327 * configure: Regenerate.
4328 * po/gas.pot: Regenerate.
4330 2000-09-05 Hans-Peter Nilsson <hp@axis.com>
4332 * config/tc-cris.c: Correct comment typos.
4334 2000-09-05 Eric Christopher <echristo@cygnus.com>
4336 * config/tc-mn10300.c: Cleanup.
4337 (md_pcrel_from): Enable.
4339 2000-09-05 Alan Modra <alan@linuxcare.com.au>
4341 * expr.c (operand): Fix a comment typo.
4342 * write.c (write_relocs): Fix a signed/unsigned warning.
4344 * config/tc-hppa.c (fudge_reg_expressions): New
4345 (hppa_force_reg_syms_absolute): New.
4346 (pa_equ): Allow reg_section expressions.
4347 * config/tc-hppa.c (md_optimize_expr): Define.
4348 (hppa_force_reg_syms_absolute): Prototype.
4350 * config/tc-hppa.c (pa_11_fp_reg_struct): Delete.
4351 (pa_parse_number): Pass in arg to select fp reg parsing.
4352 Return 1 to indicate format checks pass. If strict, then only
4353 accept a register or register symbol. Return value in...
4354 (pa_number): New static for pa_parse_number.
4355 (FP_REG_BASE): Define.
4356 (FP_REG_RSEL): Define.
4357 (pre_defined_registers): Apply FP_REG_BASE and FP_REG_RSEL as
4358 appropriate. White space changes.
4359 (need_pa11_opcode): Don't bother passing any params, get them from
4361 (pa_ip): Modify all calls to pa_parse_number and need_pa11_opcode.
4362 Remove extraneous check in case 'Q'.
4363 (pa_equ): Modify call to pa_parse_number to do strict parsing. If
4364 reg, set section of resulting symbol to reg_section.
4365 (pa_parse_space_stmt): Modify call to pa_parse_number.
4366 (pa_space): Likewise.
4368 * config/tc-hppa.c: (md_apply_fix): Handle vtable relocs.
4369 (hppa_force_relocation): Handle vtable relocs.
4370 (pa_vtable_entry): New.
4371 (pa_vtable_inherit): New.
4372 (md_pseudo_table): Add entries for vtable pseudos.
4373 (hppa_fix_adjustable): Reject reduction of R_PARISC_GNU_VTINHERIT
4374 and R_PARISC_GNU_VTENTRY relocs. Reject reduction of relocs
4376 (tc_gen_reloc): Remove ELF_ARG_RELOC_INSN code.
4377 (pa_type_args): Don't call symbol_get_bfdsym multiple times.
4378 Set STT_PARISC_MILLICODE for OBJ_ELF when encountering a
4380 * config/obj-elf.c (obj_elf_type): Allow md_elf_symbol_type to
4381 specify a symbol type.
4383 * config/tc-hppa.h: Reorganize file a little, grouping OBJ_ELF
4384 dependent things together.
4385 (md_elf_symbol_type): Define.
4387 * config/tc-hppa.c (fix_new_hppa): Elide "$PIC_pcrel$0" pseudo
4389 * config/tc-hppa.h (tc_frob_symbol): Elide "$PIC_pcrel$0" here too.
4391 * config/obj-elf.h (obj_elf_vtable_inherit): Declare.
4392 (obj_elf_vtable_entry): Declare.
4394 * config/obj-elf.c (obj_elf_vtable_inherit): Return struct fix *
4395 and export function.
4396 (obj_elf_vtable_entry): Similarly.
4397 (elf_pseudo_table): Fix the damage with a cast.
4399 2000-09-03 Richard Henderson <rth@cygnus.com>
4401 * config/tc-ia64.c (emit_one_bundle): Stop collecting insns
4402 for template selection when a label is needed.
4404 2000-09-02 Kazu Hirata <kazu@hxi.com>
4406 * config/tc-ia64.c: Fix formatting.
4408 2000-09-02 Nick Clifton <nickc@redhat.com>
4410 * configure.in: Increase version number to 2.10.91.
4411 * configure: Regenerate.
4412 * aclocal.m4: Regenerate.
4413 * config.in: Regenerate.
4414 * po/gas.pot: Regenerate.
4415 * Makefile.in: Regenerate.
4417 2000-09-01 Alexandre Oliva <aoliva@redhat.com>
4419 * config/tc-sh.h [OBJ_ELF] (TC_FIX_ADJUSTABLE): Define.
4420 * config/tc-sh.c (md_apply_fix): Map 32-bit relocations that
4421 become PC-relative to BFD_RELOC_32_PCREL. Reject 16- or 8-bit
4423 (sh_obj_adjustable): Return 1 for PC-relative offsets used in
4426 2000-09-01 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>
4428 * config/tc-sh.h (DIFF_EXPR_OK, GLOBAL_OFFSET_TABLE_NAME,
4429 TC_RELOC_GLOBAL_OFFSET_TABLE, TC_RELOC_RTSYM_LOC_FIXUP): Define.
4430 * config/tc-sh.c (sh_elf_cons, sh_elf_suffix): New functions.
4431 [OBJ_ELF] (md_pseudo_table) <long, int, word, short>: Use them.
4432 (GOT_symbol): New variable.
4433 (md_undefined_symbol): Set it.
4435 2000-09-01 Richard Henderson <rth@cygnus.com>
4437 * config/tc-ia64.c (match): Don't inline.
4438 (extra_goodness): New.
4439 (md_begin): Prefer nop.f and nop.b for best_template.
4441 2000-08-31 Kazu Hirata <kazu@hxi.com>
4443 * as.c: Fix formatting.
4445 * frags.c: Likewise.
4446 * macro.c: Likewise.
4448 2000-08-31 Eric Christopher <echristo@cygnus.com>
4450 * config/tc-mn10300.c: Cleanup and fix warnings.
4451 (md_pseudo_table): Add initializers.
4452 (md_show_usage): Cleanup.
4453 (md_parse_option): Fix warnings.
4454 (md_undefined_symbol): Fix warnings.
4455 (md_conver_frag): Fix warnings.
4456 (tc_gen_reloc): Fix warnings.
4457 (md_apply_fix3): Fix warnings.
4458 (check_operand): Fix warnings.
4460 2000-08-31 Alexandre Oliva <aoliva@redhat.com>
4462 * acinclude.m4: Include libtool and gettext macros from the
4464 * aclocal.m4, configure: Rebuilt.
4466 2000-08-30 Mark Hatle <mhatle@mvista.com>
4468 * config/tc-ppc.c (md_parse_option): Recognize -m405.
4470 2000-08-31 Kazu Hirata <kazu@hxi.com>
4472 * listing.c: Fix formatting.
4474 2000-08-29 Kazu Hirata <kazu@hxi.com>
4476 * app.c: Fix a comment typo. Fix formatting.
4478 2000-08-25 J. David Anglin <dave@hiauly1.hia.nrc.ca>
4480 * config/tc-vax.c (md_convert_frag): Correctly calculate the pc relative
4481 offset of the target destination for jmp instructions.
4482 (md_assemble): Change mode to VAX_ABSOLUTE_MODE as per comments.
4484 2000-08-24 Hans-Peter Nilsson <hp@axis.com>
4486 * NEWS: Mention support for CRIS.
4488 Thu Aug 24 20:41:05 2000 Denis Chertykov <denisc@overta.ru>
4490 * config/tc-avr.h (TC_IMPLICIT_LCOMM_ALIGNMENT): New macros.
4491 Sets `.lcomm' alignment to zero.
4493 2000-08-23 Alexandre Oliva <aoliva@redhat.com>
4495 * config/tc-i386.h (OBJ_MAYBE_ELF, OBJ_MAYBE_COFF,
4496 TC_FIX_ADJUSTABLE): Define.
4498 2000-08-23 Jim Wilson <wilson@cygnus.com>
4500 * config/tc-ia64.c (output_unw_records): Set U & E flags only if
4501 unwind.personality_routine is set.
4503 2000-08-23 H.J. Lu <hjl@gnu.org>
4505 * write.c (TC_FIX_ADJUSTABLE): Remove the duplicate.
4507 2000-08-23 Alexandre Oliva <aoliva@redhat.com>
4509 * config/tc-i386.h (TC_FIX_ADJUSTABLE): Do *NOT* define if target
4512 2000-08-22 H.J. Lu <hjl@gnu.org>
4514 * config.in (STRICTCOFF): New for strict COFF.
4516 * configure.in: Define STRICTCOFF for i386-*-msdosdjgpp*,
4517 i386-*-go32* and i386-go32-rtems*.
4518 * configure: Rebuilt.
4520 * config/obj-coff.c (obj_coff_endef): Follow the historical
4521 behavior if STRICTCOFF is not defined.
4523 * doc/internals.texi: Document STRICTCOFF.
4525 2000-08-22 Alexandre Oliva <aoliva@redhat.com>
4527 * write.c (TC_FIX_ADJUSTABLE): Define to 1, if not defined.
4528 (fixup_segment) Use it instead of TC_DONT_FIX_NON_ADJUSTABLE.
4529 * config/tc-i386.h (TC_DONT_FIX_NON_ADJUSTABLE): Remove.
4530 <OBJ_ELF, OBJ_COFF, TE_PE> (TC_FIX_ADJUSTABLE): Define.
4531 * config/tc-arm.h (TC_DONT_FIX_NON_ADJUSTABLE): Remove.
4532 <OBJ_ELF> (TC_FIX_ADJUSTABLE): Define.
4533 * config/tc-i960.h, config/tc-m68k.h, config/tc-v850.h:
4536 2000-08-22 Eric Christopher <echristo@cygnus.com>
4538 * config/tc-mn10300.c: (md_apply_fix): New function.
4539 (mn10300_force_relocation): New function.
4540 (mn10300_fix_adjustable): New function.
4542 * config/tc-mn10300.h: (TC_FORCE_RELOCATION): Define.
4543 (TC_HANDLES_FX_DONE): Define.
4544 (obj_fix_adjustable): Define.
4545 (MD_APPLY_FIX3): Define.
4546 (TC_LINKRELAX_FIXUP): Define.
4548 * write.c: (TC_LINKRELAX_FIXUP): Define if not
4550 (fixup_segment): Use TC_LINKRELAX_FIXUP.
4552 * doc/internals.texi: Document TC_LINKRELAX_FIXUP.
4554 2000-08-21 Jason Eckhardt <jle@cygnus.com>
4556 * config/tc-i860.c (md_apply_fix3): Do not insert the immediate
4557 if the fixup resulted in a relocation.
4559 2000-08-18 Nick Clifton <nickc@redhat.com>
4561 * config/tc-arm.c (decode_shift): Replace as_tsktsk with as_warn.
4562 Make reference to first element of shift_names explicit.
4564 2000-08-18 Alexandre Oliva <aoliva@redhat.com>
4566 * write.c (fixup_segment) [TC_DONT_FIX_NON_ADJUSTABLE]: Use
4567 obj_fix_adjustable() and tc_fix_adjustable() to tell whether to
4568 add a symbol's address. Removed all target-specific #ifdefs that
4569 used to accomplished the same.
4570 * config/tc-v850.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
4571 * config/tc-m68k.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
4572 * config/tc-arm.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
4573 * config/tc-i960.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
4574 * config/tc-i386.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
4576 2000-08-17 Kazu Hirata <kazu@hxi.com>
4578 * dwarf2dbg.c: Fix formatting.
4580 2000-08-17 Nick Clifton <nickc@redhat.com>
4582 * config/tc-arm.c (decode_shift): Allow illegal shifts by zero
4583 to be recoded as logical shift lefts by zero.
4585 2000-08-16 Jim Wilson <wilson@cygnus.com>
4587 * config/tc-ia64.c (specify_resource, case IA64_RS_GR): Handle
4588 postincrement modified registers. Handle IA64_OPND_R3_2 addl
4590 (note_register_values): Handle IA64_OPND_R3_2 operands.
4592 2000-08-16 Jason Eckhardt <jle@cygnus.com>
4594 * config/tc-i860.c (md_operand): Silly typo fixed.
4596 2000-08-16 Nick Clifton <nickc@redhat.com>
4598 * config/tc-arm.c (struct asm_shift): Delete.
4600 (enum asm_shift_index): New.
4601 (struct asm_shift_properties): New.
4602 (struct asm_shift_name): New.
4603 (shift_properties[]); New.
4604 (shift_names[]); New.
4606 (decode_shift): Use new structures.
4607 Issue a warning is "ROR #0" is used.
4608 Issue a warning if "ASR #0" or "LSR #0" is used.
4610 (md_begin): Initialise arm_shift_hsh table from new
4611 asm_shift_name array.
4613 2000-08-16 Jakub Jelinek <jakub@redhat.com>
4615 * config/tc-sparc.c: Kill all warnings.
4616 (md_parse_option): Set -32/-64 for -xarch=, allow all -A archs
4618 (md_show_usage): Update usage text.
4620 2000-08-16 Nick Clifton <nickc@redhat.com>
4622 * config/tc-arm.c (do_bx): Warn about "bx px" not being very
4625 2000-08-15 Will Cohen <wcohen@redhat.com>
4627 * config/tc-sh.h (DWARF2_LINE_MIN_INSN_LENGTH): Defined.
4629 * config/tc-sh.c (md_assemble): Changed so debug_type
4630 test performed for ppi_assemble
4631 * config/tc-sh.c: Included dwarf2dbg.h.
4632 (debug_line): Defined.
4633 (md_assemble): Generates dwarf2 line info.
4634 (sh_finalize): New function. Finalize dwarf2 info.
4635 (assemble_ppi): Returns size of code generated.
4636 (build_Mytes): Returns size of code generated.
4637 (md_pseudo_table): Added "file" and "loc" psuedo ops.
4638 * config/tc-sh.h (md_end): Defined.
4639 (sh_finalize): Declared.
4641 2000-08-15 Alexandre Oliva <aoliva@redhat.com>
4643 * config/tc-sh.c (md_apply_fix) [BFD_RELOC_32, BFD_RELOC_16]: Use
4646 2000-08-14 Nick Clifton <nickc@redhat.com>
4648 * config/tc-arm.c (do_bx): Allow "bx pc".
4650 2000-08-14 Jim Wilson <wilson@cygnus.com>
4652 * config/tc-ia64.c (md_longopts): Add -mconstant-gp and -mauto-pic.
4653 (md_parse_option): Add OPTION_MCONSTANT_GP and OPTION_MAUTO_PIC.
4654 (md_begin): Change assignment to md.flag to OR in the new bit.
4656 2000-08-14 Mark Elbrecht <snowball3@bigfoot.com>
4658 * config/obj-coff.c (obj_coff_endef) [BFD_ASSEMBLER]: Set the debug
4659 flag for storage types C_ARG, C_REGPARM, C_FIELD, C_MOS, C_MOE,
4662 2000-08-14 Jason Eckhardt <jle@cygnus.com>
4664 * NEWS: Mention i860 support.
4666 Mon Aug 14 11:49:12 2000 Jeffrey A Law (law@cygnus.com)
4668 * config/tc-mn10300.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
4670 2000-08-14 Andreas Schwab <schwab@suse.de>
4672 * doc/c-arm.texi (ARM Directives): Fix warnings from makeinfo.
4674 2000-08-11 Andreas Schwab <schwab@suse.de>
4676 * doc/c-i860.texi (Opcodes for i860): Remove braces from @item
4679 2000-08-11 Kazu Hirata <kazu@hxi.com>
4681 * expr.c: Fix formatting.
4682 * config/obj-bout.c: Likewise.
4684 2000-08-10 Jason Eckhardt <jle@cygnus.com>
4686 * doc/c-i860.texi: Flesh out the i860 section more.
4688 2000-08-10 Kazu Hirata <kazu@hxi.com>
4690 * symbols.c: Fix formatting.
4693 Wed Aug 9 16:28:21 EDT 2000 Diego Novillo <dnovillo@cygnus.com>
4695 * config/tc-i386.c (md_assemble): Skip suffix check if the opcode
4696 modifier has the IgnoreSize bit set.
4698 2000-08-09 Alan Modra <alan@linuxcare.com.au>
4700 From Rodney Brown <RodneyBrown@mynd.com>
4701 * configure.in: Use elf on Unixware 7 (i586-sco-sysv5uw7.1.0)
4702 * configure: Regenerate.
4704 2000-08-09 Kazu Hirata <kazu@hxi.com>
4706 * hash.c: Fix formatting.
4709 2000-08-08 Jason Eckhardt <jle@cygnus.com>
4711 * config/tc-i860.h: Rework completely for BFD_ASSEMBLER.
4712 (i860_fix_info): New enum.
4713 (MD_APPLY_FIX3): Define.
4714 (WORKING_DOT_WORD): Define.
4715 (TC_HANDLES_FX_DONE): Define.
4716 (DIFF_EXPR_OK): Define.
4717 (LISTING_HEADER): Define.
4718 (TARGET_FORMAT): Select target format based on endian flag.
4719 (TARGET_BYTES_BIG_ENDIAN): Default to little endian.
4720 (target_big_endian): Add external declaration.
4722 * config/tc-i860.c: All existing code reworked completely. Other
4723 new code shown below.
4724 (SYNTAX_SVR4): Define.
4725 (target_warn_expand): New variable.
4726 (md_shortopts): Declare and define (-Qy, -Qn, and -V options).
4727 (md_longopts): Declare and define with new options (-EL, -EB,
4729 (md_show_usage): New function.
4730 (md_operand): New function.
4731 (obtain_reloc_for_imm16): New function.
4732 (md_apply_fix3): New function.
4733 (tc_gen_reloc): New function.
4735 2000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4737 * config/tc-m68hc11.c (build_jump_insn): Make sure the
4738 2 bytes of the jump address are in the same frag.
4739 (find): Accept 68hc12 register indirect modes.
4741 * NEWS: Mention 68HC11 & 68HC12 support.
4743 2000-08-07 Richard Henderson <rth@cygnus.com>
4745 * config/tc-ia64.c (unwind): Add prologue_mask member.
4746 (dot_vframe): Elide psp_gr record if it overlaps prologue_gr.
4747 (dot_save): Likewise for pfs_gr, rp_gr, and preds_gr.
4748 (dot_body): Clear unwind.prologue_mask.
4749 (dot_prologue): Set it. Accept a register second argument.
4751 2000-08-07 Kazu Hirata <kazu@hxi.com>
4753 * config/atof-ieee.c: Fix formatting.
4754 * config/atof-tahoe.c: Likewise.
4756 2000-08-06 Nick Clifton <nickc@cygnus.com>
4758 * config/tc-sparc.c (md_begin): Fix typo in recent formatting
4761 * doc/as.texinfo (Pseudo Ops): Update to include descriptions
4762 of .popsection, .previous, .pushsection, .subsection,
4763 .version, .vtable_entry, .vtable_inherit and .weak.
4765 2000-08-05 Kazu Hirata <kazu@hxi.com>
4767 * config/tc-cris.c: Fix formatting.
4768 * config/tc-i386.c: Likewise.
4769 * config/tc-sparc.c (sparc_ip): Simplify the code.
4771 2000-08-04 Kazu Hirata <kazu@hxi.com>
4773 * config/tc-cris.c: Rearrange code for readability.
4774 * config/tc-d10v.c: Fix formatting.
4775 * config/tc-m32r.c: Likewise.
4776 * config/tc-sparc.c: Likewise.
4778 2000-08-02 Jim Wilson <wilson@cygnus.com>
4780 * config/tc-ia64.c (emit_one_bundle): Call ia64_free_opcode
4781 before ia64_find_opcode.
4782 (md_assemble): Likewise.
4784 2000-08-01 Nick Clifton <nickc@cygnus.com>
4786 * config/tc-arm.c (do_mrs): Fix skip of 'cpsr_all' flag.
4787 Undo some formatting fixes.
4789 2000-08-01 Kazu Hirata <kazu@hxi.com>
4791 * config/obj-som.c: Fix formatting.
4792 * config/obj-ieee.c: Likewise.
4793 * config/tc-arm.c: Likewise.
4794 * config/tc-v850.c: Likewise.
4796 2000-08-01 Nick Clifton <nickc@redhat.com>
4798 * doc/c-m68k.texi (section M680x0 Options): Turn into a table
4799 index by command line option.
4801 2000-08-01 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4803 * doc/c-m68k.texi (@cindex @samp{--pcrel}): Rewrite option description.
4804 (@node M68K-Branch): Rewrite to match the reality.
4806 2000-07-31 Jason Eckhardt <jle@cygnus.com>
4808 * doc/c-i860.texi: New file.
4809 * doc/Makefile.am (CPU_DOCS): Add c-i860.texi.
4810 * doc/Makefile.in: Regenerate.
4811 * doc/all.texi: Add I860 as relevant architecture.
4812 * doc/as.texinfo: Include i860 dependent file c-i860.texi.
4814 2000-07-31 Kazu Hirata <kazu@hxi.com>
4816 * config/tc-d30v.c: Fix formatting.
4818 2000-07-31 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4820 * config/tc-m68k.c (flag_keep_pcrel, OPTION_PCREL): Add --pcrel option.
4821 (md_convert_frag_1, md_estimate_size_before_relax): When making DBcc
4822 long emit a long branch if available instead of an absolute jump, never
4823 emit absolute jumps for anything with --pcrel.
4825 * doc/c-m68k.texi: Document new command line option.
4827 2000-07-29 Marek Michalkiewicz <marekm@linux.org.pl>
4829 * config/tc-avr.c: Use PARAMS macro in function declarations.
4830 Don't declare md_pcrel_from_section (already in tc-avr.h).
4831 (avr_operands): Use AVR_UNDEF_P and AVR_SKIP_P macros.
4832 (avr_operand): Don't set (unsigned) op_mask to -1.
4834 2000-07-28 Jason Eckhardt <jle@cygnus.com>
4836 * configure.in: Add bits for i860-stardent-{sysv4, elf}*.
4837 * configure: Regenerated.
4838 * config/obj-elf.c (obj_elf_type): Recognize a fifth type
4839 of operand to the .type directive (.e.g, "type").
4841 2000-07-28 Alan Modra <alan@linuxcare.com.au>
4843 * as.h (warn_comment, found_comment, found_comment_file): Declare.
4844 * app.c (do_scrub_chars): Record where first comment found.
4845 * read.c (read_a_source_file): Init found_comment on entry, and
4846 notify whether comments found on exit.
4847 * config/tc-hppa.c (md_shortopts): Add "c".
4848 (md_longopts): Add warn-comment.
4849 (md_parse_option): Handle it.
4850 (md_show_usage): Show available options.
4851 * config/tc-hppa.h (WARN_COMMENTS): Define if TE_LINUX
4853 Thu Jul 27 11:25:01 2000 Andrew Cagney <cagney@b1.cygnus.com>
4855 * config/tc-mn10300.c (md_convert_frag): Fix printfs.
4856 (tc_gen_reloc): Add cast when assigning bfd_abs_symbol to
4858 (md_estimate_size_before_relax): Don't fall off end of function.
4860 2000-07-27 Kazu Hirata <kazu@hxi.com>
4862 * config/tc-avr.c: Fix formatting.
4863 * config/tc-ns32k.c: Likewise.
4865 2000-07-27 Alan Modra <alan@linuxcare.com.au>
4867 * config/tc-d10v.c (find_opcode): Remove extraneous `='.
4869 2000-07-27 Kazu Hirata <kazu@hxi.com>
4871 * config/tc-d10v.c: Fix formatting.
4872 * config/tc-z8k.c: Likewise.
4873 * config/tc-sparc.c: Likewise.
4875 2000-07-26 Dave Brolley <brolley@redhat.com>
4877 * cgen.c (queue_fixup): Declare opinfo.
4878 (gas_cgen_parse_operand): Mark unused parameters with ATTRIBUTE_UNUSED.
4879 (gas_cgen_md_operand): Ditto.
4880 (gas_cgen_md_apply_fix3): Ditto.
4882 2000-07-24 Mark Elbrecht <snowball3@bigfoot.com>
4884 * config/obj-coff.c (obj_frob_symbol): Don't merge
4885 labels. Don't merge if the symbol isn't constant. Return
4886 immediately if a symbol is merged.
4888 2000-07-22 Alan Modra <alan@linuxcare.com.au>
4890 * frags.c (frag_align): Correct absolute section alignment.
4892 2000-07-20 DJ Delorie <dj@redhat.com>
4894 * config/obj-coff.c (obj_frob_symbol): revert previous change,
4895 it breaks linking against DLLs.
4897 2000-07-20 Hans-Peter Nilsson <hp@axis.com>
4899 * configure.in: Add CRIS support.
4900 * configure: Regenerate.
4901 * Makefile.am: (CPU_TYPES): Add cris.
4902 (CPU_OBJ_VALID) [aout]: Add cris.
4903 (MULTI_CPU_TYPES): Add cris.
4904 (MULTI_CPU_OBJ_VALID) [aout]: Add cris.
4905 [coff]: Only i386 and mips are valid.
4906 (TARGET_CPU_CFILES): Add config/tc-cris.c.
4907 (TARGET_CPU_HFILES): Add config/tc-cris.h.
4908 (MULTI_CFILES): Add config/e-crisaout.c and config/e-criself.c.
4909 Regenerate dependencies.
4910 * Makefile.in: Regenerate.
4911 * aclocal.m4: Regenerate.
4912 * as.c: Declare crisaout, criself.
4913 * config/tc-cris.h, config/tc-cris.c: New.
4914 * config/e-criself.c, config/e-crisaout.c: New.
4915 * po/POTFILES.in, po/gas.pot: Regenerate.
4917 2000-07-20 Kazu Hirata <kazu@hxi.com>
4919 * read.c: Fix formatting.
4920 * write.c: Fix formatting.
4922 2000-07-19 H.J. Lu <hjl@gnu.org>
4924 * sb.c: Include <stdlib.h> if exists for abort ().
4926 2000-07-19 Alan Modra <alan@linuxcare.com.au>
4928 * config/tc-hppa.c (hppa_fix_adjustable): Correct LR%/RR% comment.
4929 (arg_reloc_stub_needed): #ifdef OBJ_SOM, not #ifdef SOM.
4930 (pa_type_args): Same here.
4932 2000-07-17 Mark Elbrecht <snowball3@bigfoot.com>
4934 * config/obj-coff.c (obj_frob_symbol): Don't merge labels. Don't
4935 merge if the symbol isn't constant. Don't call S_SET_EXTERNAL if
4936 the storage class is already set.
4938 2000-07-17 Kazu Hirata <kazu@hxi.com>
4940 * config/tc-m68hc11.c: Fix formatting.
4941 * config/tc-mn10200.c: Likewise.
4942 * config/tc-mn10300.c: Likewise.
4943 * config/tc-pj.c: Likewise.
4944 * config/tc-tic80.c: Likewise.
4945 * config/tc-w65.c: Likewise.
4947 2000-07-17 Frank Ch. Eigler <fche@redhat.com>
4949 * expr.c (operand): Permit %bin literals if LITERAL_PREFIXPERCENT_BIN
4952 2000-07-15 Ian Lance Taylor <ian@zembu.com>
4954 * doc/c-mips.texi (MIPS Opts): Remove erroneous space after
4957 2000-07-15 Alan Modra <alan@linuxcare.com.au>
4959 * config/tc-hppa.c (hppa_fix_adjustable): Use the same checks for
4960 ELF as are used for SOM (except the 32-bit reloc one) to decide
4961 whether a symbol can be reduced to a section symbol. Expand on
4962 the comment for symbols involved in LR% and RR% expressions.
4964 2000-07-14 Nick Clifton <nickc@cygnus.com>
4966 * config/tc-mips.c (mips_disable_float_construction): New
4967 static variable. Set to true if doubles should not be
4968 constructed by loading two single width fp registers with
4969 halves of the value.
4970 (mips_ip): Test mips_disable_float_construction.
4971 (md_longopts): Add command line switches --construct-floats
4972 and --no-construct-floats.
4973 (md_parse_option): Parse new command line options.
4974 (md_show_usage): Describe new command line options.
4976 * doc/c-mips.texi: Document new command line options.
4978 2000-07-13 Koundinya K <kk@ddeorg.soft.net>
4980 * configure.in: Remove the test /usr/dde for mips-*-sysv4*MP*
4981 * configure: Regenerate.
4983 2000-07-13 Hans-Peter Nilsson <hp@axis.com>
4985 * configure.in (DEFAULT_EMULATION setting): Revert part of
4986 2000-07-01 change that set te_multi=multi unless set to tmips.
4987 * configure: Regenerate.
4989 2000-07-12 Mark Elbrecht <snowball3@bigfoot.com>
4991 * config/obj-coff.c (coff_frob_section): Add padding to the last
4992 section when aligning it increases its size.
4994 2000-07-11 Kazu Hirata <kazu@hxi.com>
4996 * config/tc-tic54x.c: Fix formatting.
4998 2000-07-10 Kazu Hirata <kazu@hxi.com>
5000 * config/tc-h8500.c: Fix formatting.
5001 * config/tc-tic54x.c: Fix formatting.
5003 2000-07-10 Alan Modra <alan@linuxcare.com.au>
5005 * config/tc-hppa.c (md_apply_fix): Check fmt 12 and 22 pc-rel
5006 displacements correctly.
5008 * read.h (s_abort): Add ATTRIBUTE_NORETURN.
5010 2000-07-10 Ryan Bradetich <rbradetich@uswest.net>
5012 * hash.c (hash_insert): Add cast to obstruct_alloc to fix
5016 2000-07-09 Alan Modra <alan@linuxcare.com.au>
5018 From David Huggins-Daines <dhd@linuxcare.com>
5019 * config/te-hppalinux64.h: Add a new emulation.
5020 * configure.in (emulations): Add configure bits to support the
5021 64-bit Linux/parisc target.
5022 * configure: Regenerate.
5024 * config/tc-hppa.c (md_parse_option): Support `-V' for ELF.
5025 (md_shortopts): Add `V' for ELF.
5027 * config/tc-hppa.c (arg_reloc_stub_needed): Define as zero except
5028 when SOM or ELF_ARG_RELOC are defined.
5029 (pa_type_args): Only set symbol_arg_reloc_info when SOM or
5030 ELF_ARG_RELOC are defined.
5031 (pa_stringer_aux): Don't pa_check_current_space_and_subspace here..
5032 (pa_stringer): ..Do it here instead. Fix comment typos.
5033 (hppa_force_relocation): Cast enums to int before comparing with
5036 From Ryan Bradetich <rbradetich@uswest.net>
5037 * config/tc-hppa.c: Removed unneeded libbfd.h to fix macro
5038 redifinition warning.
5039 (md_apply_fix): Added cast from enum to int for fixP->fx_r_type.
5040 (hppa_force_relocation): ditto
5041 (md_apply_fix): Added cast to buf to fix warnings.
5043 * config/tc-hppa.h (pa_define_label, parse_cons_expression_hppa,
5044 cons_fix_new_hppa, hppa_force_relocation): Prototype.
5046 * config/tc-hppa.c (reloc_type): It's an enum for OBJ_ELF.
5047 (R_N0SEL, R_N1SEL): Define only for OBJ_SOM.
5048 (tc_gen_reloc): Make `code' a reloc_type and `codes' a
5049 reloc_type** to avoid warnings in switch.
5050 (md_apply_fix): Make insn, val signed. Zap buf_wd and read insn a
5051 little earlier instead.
5053 * config/tc-hppa.c (symbol_arg_reloc_info): Define for both som
5055 (pa_type_args): Use symbol_arg_reloc_info.
5056 (struct pa_it): Make arg_reloc unsigned int.
5057 (struct hppa_fix_struct): Likewise for fx_arg_reloc.
5058 (pa_text, pa_data, pa_comm): Don't compile for TE_LINUX.
5059 (pa_code): Delete. pa_text duplicates this function.
5060 (md_pseudo_table): Call obj_elf_text for ".code" if TE_LINUX.
5061 (fix_new_hppa): Argument offset is offsetT, arg_reloc is unsigned
5063 (cons_fix_new_hppa): Actually change selector to e_fsel when
5064 warning about assuming so.
5065 (tc_gen_reloc): More example elf arg reloc code.
5066 (md_apply_fix): Use arg_reloc_stub_needed for elf too.
5067 (hppa_force_relocation): Likewise.
5069 * config/tc-hppa.h: Use TARGET_ARCH_SIZE to select target include
5071 (pa_end_of_source): Prototype.
5072 (hppa_fix_adjustable): Prototype.
5073 (LABELS_WITHOUT_COLONS): Move it..
5074 * config/te-hppa.h: To here.
5076 * config/te-hppa64.h: New file.
5078 * config/tc-hppa.c: Use TARGET_ARCH_SIZE to select target reloc
5080 (md_apply_fix): Pass stdoutput to bfd_hppa_insn2fmt. Handle
5081 format -10, -16, 16 relocs.
5082 (hppa_elf_mark_end_of_function): Test for null
5083 last_call_info->start_symbol
5085 * config/tc-hppa.c (pa_ip): In case 'V', pass `strict' to
5086 CHECK_FIELD, not INSERT_FIELD_AND_CONTINUE. Don't pass opcode to
5087 re_assesmble_* functions. Delete extraneous statements. Fix
5089 (md_apply_fix): Compare against 1048575 in case 21. Don't pass
5090 insn to re_assemble_*.
5092 2000-07-08 Ulf Carlsson <ulfc@engr.sgi.com>
5094 * doc/internals.texi (Expressions): Fix typo.
5096 2000-07-08 Kazu Hirata <kazu@hxi.com>
5098 * config/tc-sh.c: Fix formatting.
5099 * config/tc-tic54x.c: Fix formatting.
5100 * depend.c: Fix formatting.
5101 * flonum-konst.c: Likewise.
5102 * flonum-mult.c: Likewise.
5104 2000-07-07 Kazu Hirata <kazu@hxi.com>
5106 * config/tc-sh.c: Fix comments.
5107 * config/obj-vms.c: Fix comments.
5108 * config/tc-a29k.c: Likewise.
5109 * config/tc-alpha.c: Likewise.
5110 * config/tc-h8300.c: Likewise.
5111 * config/tc-h8500.c: Likewise.
5112 * config/tc-i370.c: Likewise.
5113 * config/tc-ia64.c: Likewise.
5114 * config/tc-m68hc11.c: Likewise.
5115 * config/tc-m68k.c: Likewise.
5116 * config/tc-mips.c: Likewise.
5117 * config/tc-ns32k.c: Likewise.
5118 * config/tc-ppc.c: Likewise.
5119 * config/tc-z8k.c: Likewise.
5121 2000-07-06 Mark Elbrecht <snowball3@bigfoot.com>
5123 * config/obj-coff.c (TC_COFF_SECTION_DEFAULT_ATTRIBUTES): New.
5124 Default to '(SEC_LOAD | SEC_DATA)'.
5125 (obj_coff_section) [BFD_ASSEMBLER]: Use it.
5127 * doc/internals.texi (CPU Backend): Describe
5128 TC_COFF_SECTION_DEFAULT_ATTRIBUTES.
5130 Thu Jul 6 17:20:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
5132 * as.c (parse_args): NULL terminate the long option list.
5134 Tue Jul 4 14:08:28 2000 Andrew Cagney <cagney@b1.cygnus.com>
5136 * config/tc-d30v.h: Include "write.h" for fixS.
5137 (d30v_start_line, md_pcrel_from_section): Add function prototypes.
5139 2000-07-05 Nick Clifton <nickc@cygnus.com>
5141 * config/tc-d30v.c (write_2_short): Further changes to warning
5142 messages produced when combining EITHER_BUT_PREFER_MU attributed
5145 2000-07-05 DJ Delorie <dj@redhat.com>
5149 2000-07-04 Alexandre Oliva <aoliva@redhat.com>
5151 * config/tc-arm.c (psrs): Accept combinations of flags.
5153 2000-07-03 Marek Michalkiewicz <marekm@linux.org.pl>
5155 * config/tc-avr.c: Change _ () to _() around all strings marked
5156 for translation (exception from the usual coding style).
5157 (avr_opt): New struct variable, how the new switches are set.
5158 (OPTION_MMCU): Define as 'm' and actually use.
5159 (md_longopts): Add -mall-opcodes, -mno-skip-bug, -mno-wrap.
5160 (show_mcu_list): New function, display the list of known MCUs.
5161 (md_show_usage): Document the new switches. Call show_mcu_list.
5162 (avr_set_arch): Change 'm' to OPTION_MMCU.
5163 (md_parse_option): Call show_mcu_list if unknown MCU specified.
5164 Handle the new switches.
5165 (avr_operands): Disable warnings for undefined combinations of
5166 operands if -mall-opcodes. Disable warnings for skipping two-word
5167 instructions if enhanced core or -mno-skip-bug.
5168 (avr_operand): Accept all addressing modes on avr1 if -mall-opcodes.
5169 (md_apply_fix3): Reject 8K wrap if >8K or -mno-wrap.
5170 (md_assemble): Accept opcodes not supported by MCU if -mall-opcodes.
5171 (avr_ldi_expression): Warn about implicit lo8().
5172 * config/tc-avr.h (md_pcrel_from_section): Add prototype.
5174 2000-07-01 Koundinya K <kk@ddeorg.soft.net>
5176 * configure.in: Add entry for mips-*-sysv4*MP*
5177 * configure: Rebuild
5178 * config/tc-mips.c (mips_target_format): Return elf32-tradbigmips or
5179 elf32-tradlittlemips for traditional mips targets.
5180 * config/tc-mips.c (md_estimate_size_before_relax): Duplicate the
5181 test for Link Once sections as in adjust_reloc_syms.
5182 * config/te-tmips.h: New file for traditional mips targets. Define
5185 2000-06-29 Mark Elbrecht <snowball3@bigfoot.com>
5187 * config/obj-coff.c (obj_coff_setcion) [BFD_ASSEMBLER]: If the
5188 flags argument is not present, don't change an existing section's
5189 section's attributes. If the flags argument is present, warn if the
5190 attributes don't match the section's current attributes. When
5191 long section names are supported, set SEC_LINK_ONCE and
5192 SEC_LINK_DUPLICATES_DISCARD for a new .gnu.linkonce section.
5194 Thu Jun 29 21:30:00 2000 Hans-Peter Nilsson <hp@axis.com>
5196 * config/obj-aout.c (obj_aout_type): Do not ignore for undefined
5197 symbols; create them.
5199 2000-06-29 Mark Elbrecht <snowball3@bigfoot.com>
5201 * write.c (set_segment_vma): New: Set vma and lma for a segment.
5202 (write_object_file) [BFD_ASSEMBLER && OBJ_COFF && TE_GO32]: Use it.
5204 2000-06-27 Aldy Hernandez <aldyh@redhat.com>
5206 * config/tc-mips.c (mips_ip): handle "(foo-.-4)" type of
5207 expressions. Ignore the problem when handling 16 bit signed
5208 immediates, because the assembler will take care of the relocation
5211 2000-06-27 Nick Clifton <nickc@cygnus.com>
5213 * config/tc-d30v.c (write_2_short): Do not allow opcodes with
5214 the EITHER_BUT_PREFER_MU attribute to be combined into a reverse
5215 sequential order, and emit warning messages if the input source
5216 code contains constructs like that, or parallel constructs
5217 containing such opcodes.
5219 2000-06-26 Marek Michalkiewicz <marekm@linux.org.pl>
5221 * config/tc-avr.c (mcu_types): Rename avr4 to avr5, add avr4.
5222 Add more MCU types for avr4 and avr5. Replace at94k{10,20,40}
5223 with just at94k. Change AVR_ISA_85xx back to AVR_ISA_2xxx.
5224 (md_show_usage): Update usage message.
5225 (md_parse_option): Allow redefinition of MCU type within the
5226 same avr[1-5] bfd machine type. Show both old and new MCU type
5227 in the error message.
5228 (md_apply_fix3): Support 8K wrap if AVR_ISA_MEGA is not set.
5229 Simplify 8K wrap code.
5231 2000-06-25 Kazu Hirata <kazu@hxi.com>
5233 * config/obj-aout.c: Remove all uses of DEFUN.
5234 * config/obj-ieee.c: Likewise.
5235 * config/tc-sh.c: Fix comment typos.
5236 * config/tc-tahoe.c: Likewise.
5237 * config/tc-vax.c: Likewise.
5238 * config/tc-w65.c: Likewise.
5239 * config/tc-z8k.c: Likewise.
5240 * config/tc-h8300.c (build_bytes): Assemble ldmac correctly.
5242 2000-06-24 DJ Delorie <dj@cygnus.com>
5244 * config/tc-i386.c (md_estimate_size_before_relax): Revert
5245 more changes from Sept 1999
5246 (tc_i386_fix_adjustable): ditto
5247 (md_apply_fix3): ditto
5249 2000-06-24 Frank Ch. Eigler <fche@redhat.com>
5251 * cgen.c (expr_jmp_buf_p): New validity flag for expr_jmp_buf.
5252 (gas_cgen_parse_operand): Set it around expression() call.
5253 (gas_cgen_md_operand): Test for it before longjmp().
5255 2000-06-24 Kazu Hirata <kazu@hxi.com>
5257 * config/tc-h8500.c: Remove all uses of DEFUN.
5258 * config/tc-sh.c: Likewise.
5259 * config/tc-w65.c: Likewise.
5260 * config/tc-z8k.c: Likewise.
5262 * config/tc-h8500.c: Fix typos in comments.
5264 2000-06-23 Frank Ch. Eigler <fche@redhat.com>
5266 * expr.c (operand): Permit $hex literals if LITERAL_PREFIXDOLLAR_HEX
5269 2000-06-23 matthew green <mrg@redhat.com>
5271 * expr.c (operand): Do not as_bad() if RELAX_PAREN_GROUPING is
5272 defined. Fix error message for `[' grouping.
5274 2000-06-22 Kazu Hirata <kazu@hxi.com>
5276 * config/tc-h8300.c: Fix formatting and comment typos.
5278 2000-06-22 Timothy Wall <twall@cygnus.com>
5280 * config/tc-ia64.c (note_register_values): Move premature QP
5281 notation clearing into the appropriate place.
5283 2000-06-22 Alan Modra <alan@linuxcare.com.au>
5285 * dep-in.sed: Escape literal `.'s on patterns. Trim off `../'
5286 first before anything else. Add bin-bugs.h, emul.h and progress.h
5287 Sort list of files as for $(OBJS) in Makefile.am.
5289 * Makefile.am (DEP): grep for leading `/' in DEPA, and fail if we
5290 find one. Remake dependencies.
5291 ($(OBJS)): Add bin-bugs.h, emul.h, and progress.h Sort the list.
5292 * Makefile.in: Regenerate.
5293 * doc/Makefile.in: Regenerate.
5295 * config/tc-i386.c (i386_displacement): Don't assume a constant
5296 displacement is necessarily 16 bits when in 16 bit code mode.
5297 (md_assemble): Instead size the displacement here after we know
5298 for sure that a .code16gcc operand hasn't automatically added
5299 operand size prefixes.
5301 2000-06-21 H.J. Lu <hjl@gnu.org>
5303 * Makefile.am: Rebuild dependency.
5304 * Makefile.in: Rebuild.
5306 2000-06-21 Kazu Hirata <kazu@hxi.com>
5308 * config/tc-h8300.c (parse_reg): Make the function static.
5309 (parse_exp): Likewise.
5311 2000-06-20 DJ Delorie <dj@cygnus.com>
5313 * config/tc-i386.c (tc_i386_fix_adjustable): Revert change from
5314 Sept 1999; RVA relocs need to be treated more like DIR32 relocs
5315 for cygwin import libraries to work properly.
5317 2000-06-20 H.J. Lu <hjl@gnu.org>
5319 * Makefile.am: Rebuild dependency.
5320 * Makefile.in: Rebuild.
5321 * configure: Likewise.
5322 * doc/Makefile.in: Likewise.
5324 2000-06-20 Timothy Wall <twall@cygnus.com>
5326 * doc/internals.texi (CPU backend): Add @itemx for
5327 TC_START_LABEL_WITHOUT_COLON.
5328 * doc/c-tic54x.texi: New.
5329 * doc/as.texinfo: Add tic54x features and include primary tic54x
5331 * doc/all.texi: Add C54X.
5332 * doc/Makefile.am (CPU_DOCS): Add c-tic54x.texi.
5333 * doc/Makefile.in: Regenerate.
5334 * configure.in: Add tic54x and define LIBM for tic54x.
5335 * configure: Regenrate.
5336 * config/tc-tic54x.[ch]: New.
5337 * config/obj-coff.h: Add tic54x.
5338 * Makefile.am: (CPU_TYPES): Add tic54x.
5339 (TARGET_CPU_CFILES): Add 'tc-tic54x.c'.
5340 (TARGET_CPU_HFILES): Add 'tc-tic54x.h'.
5341 (as_new_LDADD): Add $(LIBM).
5342 * Makefile.in: Regenerate.
5344 2000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
5346 * doc/Makefile.am (CPU_DOCS): Added 68hc11 file.
5347 * doc/c-m68hc11.texi: Document 68HC11 and 68HC12 port.
5348 * doc/as.texinfo: Likewise.
5350 * configure, Makefile.in: Regenerate.
5351 * configure.in (emulations): Recognize m6811 and m6812.
5352 * Makefile.am (CPU_TYPES, TARGET_CPU_CFILES, TARGET_CPU_HFILES):
5353 Added files for 68hc11 and 68hc12 assembler.
5354 * config/tc-m68hc11.c: Assembler for 68hc11 and 68hc12.
5355 * config/tc-m68hc11.h: Header definition for that assembler.
5357 2000-06-18 Nick Clifton <nickc@redhat.com>
5359 * symbols.c (resolve_symbol_value): Use bfd_octets_per_byte
5360 instead of OCTETS_PER_BYTE.
5362 * config/tc-v850.c: Fix compile time warnings.
5363 * config/tc-ppc.c: Fix compile time warnings.
5365 2000-06-18 H.J. Lu <hjl@gnu.org>
5367 * configure.in: Don't emulate i386-pc-pe-coff with i386coff.
5368 * configure: Rebuild.
5370 2000-06-17 Mark Elbrecht <snowball3@bigfoot.com>
5372 * config/obj-coff.c (obj_coff_weak): Typo fix: Change BFD_ASSEMLER
5375 2000-06-16 Nick Clifton <nickc@cygnus.com>
5377 * config/tc-mips.c (md_parse_option): Accept RM5200,RM5230,
5378 RM5231, RM5261, RM5721 and RM7000 as r5000 cpu variants.
5380 * doc/c-mips.texi: Document newly accepted cpu variants.
5382 2000-06-15 Ulf Carlsson <ulfc@engr.sgi.com>
5384 * config/tc-mips.h: Remove definition of ONLY_STANDARD_ESCAPES.
5386 2000-06-13 Ulf Carlsson <ulfc@engr.sgi.com>
5388 * macro.c (getstring): Make it possible to escape the quote
5391 Tue Jun 13 20:58:28 2000 Catherine Moore <clm@redhat.com>
5393 * config/tc-hppa.c (pa_export): Weak symbols can be global.
5395 2000-06-13 H.J. Lu <hjl@gnu.org>
5397 * configure: Regenerate.
5399 2000-06-09 Alan Modra <alan@linuxcare.com.au>
5401 * app.c (do_scrub_begin): Don't default lex[';'] as a line
5403 * doc/internals.texi (line_separator_chars): Semicolon is no
5404 longer a default. Mention null and newline as defaults.
5406 * read.c (is_end_of_line): Remove ifdef TC_HPPA.
5408 * config/tc-i386.h (line_separator_chars): Explicitly mention `;'
5409 * config/tc-i860.h (line_separator_chars): Likewise.
5410 * config/tc-h8300.c (line_separator_chars): Likewise.
5411 * config/tc-i960.c (line_separator_chars): Likewise.
5412 * config/tc-m68k.c (line_separator_chars): Likewise.
5413 * config/tc-mips.c (line_separator_chars): Likewise.
5414 * config/tc-ns32k.c (line_separator_chars): Likewise.
5415 * config/tc-sparc.c (line_separator_chars): Likewise.
5416 * config/tc-vax.c (line_separator_chars): Likewise.
5418 * config/tc-h8300.c (comment_chars): Use string initialiser.
5419 * config/tc-i960.c (line_comment_chars): Likewise.
5420 * config/tc-z8k.c (comment_chars, line_comment_chars,
5421 line_separator_chars): Likewise.
5423 * config/tc-arm.c (line_separator_chars): Always use `;', not just
5426 2000-06-08 Nick Clifton <nickc@cygnus.com>
5428 * config/tc-arm.c (cons_fix_new_arm): Assign correct reloc value
5431 2000-06-08 David O'Brien <obrien@FreeBSD.org>
5433 * configure.in (VERSION): Update to show this is the CVS mainline.
5435 2000-06-08 Matthew Jacob <mjacob@feral.com>
5437 * config/tc-alpha.c (md_undefined_symbol): Properly understand that
5438 $at is the integer register $r28, vs. both $r28 and the floating
5439 point register $f28.
5441 2000-06-08 James E. Wilson <wilson@cygnus.com>
5443 * config/tc-ia64.c (generate_unwind_image): Call ia64_flush_insns.
5444 (dot_endp): Don't call ia64_flush_insns.
5445 (emit_one_bundle): Don't delete prologue/body records from
5446 unwind_record list in first loop. Rewrite second loop to account for
5449 2000-06-07 David Mosberger <davidm@hpl.hp.com>
5451 * config/tc-ia64.c: Add missing prototypes.
5452 (generate_unwind_image): Cast argument to output_unw_records call.
5454 Wed Jun 7 22:44:14 2000 Denis Chertykov <denisc@overta.ru>
5456 * config/tc-avr.c (avr_operand): fix the formatting of the comment.
5458 Wed Jun 7 21:26:15 2000 Denis Chertykov <denisc@overta.ru>
5460 * config/tc-avr.c (AVR_ISA_???): moved to include/opcode/avr.h
5461 (REGISTER_P): likewise.
5462 (avr_opcodes): uses include/opcode/avr.h
5463 (avr_operand): enable ld r,Z or st r,Z for at90s1200.
5465 2000-06-04 Alan Modra <alan@linuxcare.com.au>
5467 * read.c (is_end_of_line): No ';' for TC_HPPA. Add missing
5470 2000-06-03 H.J. Lu <hjl@gnu.org>
5472 * read.c (is_end_of_line): Put back `;'.
5474 2000-06-03 Alan Modra <alan@linuxcare.com.au>
5476 * config/tc-i386.c (md_shortopts): Remove 'm', add 'q' to non-elf.
5478 2000-06-01 Alan Modra <alan@linuxcare.com.au>
5480 * expr.c (operand): Test is_end_of_line outside switch to catch
5481 line separator chars that are also operators.
5482 (operator): Return O_illegal for line separator chars.
5484 * read.c (is_end_of_line): Use 1 instead of 99. Don't set `;'
5485 entry (or `!' entry for TC_HPPA).
5487 * config/tc-arm.c (my_get_float_expression): Cast to unsigned char
5488 before indexing is_end_of_line. Remove redundant check for '\0'.
5490 * config/tc-h8500.c (md_assemble): Likewise.
5491 * config/tc-mcore.c (md_assemble): Likewise.
5492 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
5495 * config/tc-m88k.c (s_bss): Cast to unsigned char before indexing
5497 * config/tc-mcore.c (mcore_cons): Likewise.
5498 (mcore_float_cons): Likewise.
5499 (mcore_stringer): Likewise.
5500 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
5502 2000-06-01 Scott Bambrough <scottb@netwinder.org>
5504 * config/tc-arm.c (do_mrs): Allow SPSR_BIT to be set correctly.
5506 2000-05-29 Nick Clifton <nickc@cygnus.com>
5508 * config/tc-sh.c: Fix compile time warning messages.
5510 * config/tc-mips.c: Fix compile time warning messages.
5512 2000-05-29 Philip Blundell <philb@gnu.org>
5514 * doc/as.texinfo: Update copyright dates.
5515 (Local Labels): Delete misplaced mention of ARM.
5516 * NEWS: Mention ARM ELF support.
5518 2000-05-27 Alexandre Oliva <aoliva@cygnus.com>
5520 * config/tc-mn10300.c (md_assemble): Copy size to real_size before
5521 it is modified, and use the real_size to compute the frag address
5522 for dwarf2 line info.
5524 2000-05-27 Alan Modra <alan@linuxcare.com.au>
5526 * Makefile.am (DEP, DEP1, dep, dep-in, dep-am): Use a better sed
5527 line-matching scheme to cope with automake moving variables around.
5528 ($(TARG_CPU_O)): Remove dependency on TARG_CPU_DEP_@target_cpu_type@
5529 * Makefile.in: Regenerate.
5531 2000-05-26 Jakub Jelinek <jakub@redhat.com>
5533 * config/tc-sparc.c (sparc_relax): New.
5534 (md_longopts): Add -relax and -no-relax options.
5535 (md_parse_options, md_show_usage): Likewise.
5536 (md_apply_fix3): Optimize tail call into branch always if possible.
5538 Thu May 4 15:27:07 2000 Donald Lindsay <dlindsay@cygnus.com>
5540 * config/tc-d10v.c (write_2_short, parallel_ok, md_assemble,
5541 d10v_cleanup) implement Mitsubishi's newly explained branch-packing
5542 rules, with warning when a GAS statement specifies a packing that
5543 will result in an instruction being squashed.
5544 Added typdef packing_type and enumerals, changed various integer
5545 literals to use the enumerals.
5547 2000-05-24 David Mosberger <davidm@hpl.hp.com>
5549 * config/tc-ia64.c (dot_restorereg_p): New function.
5550 (md_pseudo_table): Add restorereg.p.
5551 (output_X3_format): Fix typo: record type should be UNW_X3, not UNW_X1.
5552 (output_X4_format): Fix typo: record type should be UNW_X4, not UNW_X2.
5554 * config/tc-ia64.h (unw_record_type): Add unwabi.
5555 (unw_r_record): Rename member MASK to GRMASK. Add sub-structure
5556 called MASK with members for imask, and the masks produced by
5557 fr_mem, gr_mem, br_mem, and frgr_mem.
5558 (unw_p_record): Add members ABI and CONTEXT.
5559 (unw_x_record): Add member AB.
5560 * config/tc-ia64.c (enum reg_symbol): Add REG_PSP and REG_PRIUNAT
5561 as pseudo-register for use during unwind info generation.
5562 (AR_PFS, AR_LC): New macros.
5563 (enum pseudo_type): Add PSEUDO_FUNC_REG to permit declaring registers
5564 whose names start with an at sign (as in "@priunat").
5565 (pseudo_func): Add "svr4", "hpux", "nt" constants and "priunat"
5567 (unwind_list, unwind_tail, current_unwind_entry, proc_start,
5568 proc_end, unwind_info, personality_routine): Consolidate into
5569 "unwind" structure to reduce offset-table use. Add member
5570 NEXT_SLOT_NUMBER to track the slot number for the next instruction
5572 (output_R1_format, output_R3_format, output_P3_format,
5573 output_P6_format): Initialize R with zero to reduce compiler warnings.
5574 (output_P7_format): Ditto. Add `default' branch to switch
5575 statement to reduce compiler warnings.
5576 (output_P8_format, output_B1_format, output_B4_format): Ditto.
5577 (output_P4_format): Rename 2nd & 3rd arg to IMASK and IMASK_SIZE.
5578 (format_ab_reg): Rename from format_a_b_reg. Merge A and B args
5579 into single argument.
5580 (output_X1_format, output_X3_format): Initialize R with zero to reduce
5581 compiler warnings. Merge A and B args into single argument.
5582 (output_X2_format, output_X4_format): Remove unused variable R. Merge
5583 A and B args into single argument.
5584 (free_record): Removed (wasn't used).
5585 (free_list_records): Also free imasks in prologue records.
5586 (output_prologue, output_prologue_gr): Initialize mask bits to zero.
5587 (output_spill_mask): Remove.
5588 (output_unwabi): New function.
5589 (output_epilogue, output_label_state, output_copy_state): Call
5591 (output_spill_psprel, output_spill_sprel, output_spill_psprel_p,
5592 output_spill_sprel_p, output_spill_reg, output_spill_reg_p): Add AB
5594 (process_one_record): New locals FR_MASK and GR_MASK. Ignore
5595 gr_mem, fr_mem, br_mem, and frgr_mem records and instead emit them
5596 as part of handling the prologue records. Emit region's imask if
5597 we have one. Handle unwabi, epilogue, label_state, copy_state,
5598 spill_psprel, spill_sprel, spill_reg, spill_psprel_p,
5599 spill_sprel_p, and spill_reg_p records.
5600 (set_imask, count_bits, slot_index): New function.
5601 (fixup_unw_records): Fix region size computation. Handle
5602 epilogue, spill_reg, spill_sprel, spill_psprel, spill_reg_p,
5603 spill_sprel_p, and spill_psprel_p records. Merge mask bits of
5604 frgr_mem, fr_mem, gr_mem, br_mem on a per-region basis and
5605 set_imask accordingly. Update imask for gr_gr, and br_gr records.
5606 (convert_expr_to_ab_reg, convert_expr_to_xy_reg): New function.
5607 (dot_save): Use manifest constants for applicaton registers.
5608 Handle REG_PR and REG_PRIUNAT.
5609 (dot_restore): Don't just ignore it.
5610 (dot_restorereg): New function..
5611 (generate_unwind_image): Ensure unwind info is a multiple of eight
5612 bytes, not just four bytes.
5613 (dot_handlerdata, dot_unwentry): Demand empty rest of line.
5614 (dot_altrp): Don't just ignore it.
5615 (dot_savemem): New function. Replaces dot_savesp() and
5616 dot_savepsp(). Use manifest constants for applicaton registers.
5617 Handle REG_PR and REG_PRIUNAT.
5618 (dot_savef): Simplify.
5619 (dot_saveb): Support generation of br_gr.
5620 (dot_spillreg, dot_spillmem, dot_spillreg_p, dot_spillmem_p,
5621 dot_label_state, dot_copy_state): New function.
5622 (dot_unwabi): Don't just ignore it.
5623 (md_pseudo_table): Add restorereg, spillreg, spillsp, spillpsp,
5624 spillreg.p, spillsp.p, spillpsp, label_state, copy_state,
5625 unwabi, vframesp, and vframepsp. Fix typo alprp->altrp.
5626 (emit_one_bundle): Set slot number for prologue/body records
5627 *before* emitting the first insn.
5628 (emit_one_bundle): Set UNWIND.NEXT_SLOT_NUMBER.
5629 (md_begin): Declare "psp" pseudo-register.
5630 (md_operand): Handle PSEUDO_FUNC_REG. Fix printing of error message
5631 so we don't get segfault.
5632 (output_psp_sprel): Output sp/psp relative offsets as 4-byte word
5633 counts as required per SW Conventions manual
5634 (output_rp_psprel, output_rp_sprel, output_pfs_psprel,output_pfs_sprel,
5635 output_preds_psprel, output_preds_sprel, output_spill_base,
5636 output_unat_psprel, output_unat_sprel, output_lc_psprel,
5637 output_lc_sprel, output_fpsr_psprel, output_fpsr_sprel,
5638 output_priunat_psprel, output_priunat_sprel, output_bsp_psprel,
5639 output_bsp_sprel, output_bspstore_psprel, output_bspstore_sprel,
5640 output_rnat_psprel, output_rnat_sprel, output_spill_psprel,
5641 output_spill_sprel, output_spill_psprel_p, output_spill_sprel_p):Ditto.
5642 (dot_vframe): Implement.
5643 (dot_vframesp, dot_vframepsp): New function.
5645 Tue May 23 00:57:05 2000 Hans-Peter Nilsson <hp@axis.com>
5647 * configure.in (i386-*-freebsd a.out entry): Quote properly.
5648 * configure: Regenerate.
5650 2000-05-23 Alan Modra <alan@linuxcare.com.au>
5652 * config/tc-i386.c (md_assemble): Pass jump reloc in fr_var...
5653 (md_estimate_size_before_relax): so we can use it here instead of
5654 old kludges. Localise vars to blocks. Comment.
5656 * frags.c (frag_new): Update fr_var comments.
5657 * frags.h (struct frag): Ditto.
5659 2000-05-22 Richard Henderson <rth@cygnus.com>
5661 * config/tc-ia64.c (FUNC_PC_RELATIVE): New.
5662 (pseudo_func): Add pcrel.
5663 (operand_match): Handle IA64_OPND_TGT64.
5664 (build_insn): Likewise.
5665 (md_begin): Initialize pseudo_func[FUNC_PC_RELATIVE].
5666 (ia64_gen_real_reloc_type): Handle FUNC_PC_RELATIVE.
5667 (fix_insn): Handle all three 64-bit relocation types.
5669 Mon May 22 22:43:32 2000 Hans-Peter Nilsson <hp@axis.com>
5671 * obj.h (struct format_ops): New members begin, app_file,
5672 s_set_other, s_set_desc, s_get_type, s_set_type,
5673 separate_stab_sections, init_stab_section.
5675 * config/obj-multi.h: Update GPL notice to v2.
5677 (obj_app_file): New.
5678 (S_SET_SIZE): Test s_set_size for NULL before calling.
5679 (S_SET_ALIGN): Similar for s_set_align.
5684 (SEPARATE_STAB_SECTIONS): New.
5685 (INIT_STAB_SECTION): New.
5686 (EMIT_SECTION_SYMBOLS): New.
5687 (AOUT_STABS) [OBJ_MAYBE_AOUT]: Define.
5689 * config/obj-elf.h: Update GPL notice to v2.
5690 Mention that this file is included from obj-multi.h.
5691 (obj_begin): Wrap definition in ifndef.
5692 (elf_file_symbol): Constify declaration.
5693 (obj_app_file): Ditto.
5694 (SEPARATE_STAB_SECTIONS, INIT_STAB_SECTION, OBJ_PROCESS_STAB):
5695 Wrap in ifndef SEPARATE_STAB_SECTIONS.
5697 * config/obj-elf.c (elf_s_set_other): New.
5698 (elf_file_symbol): Constify argument.
5699 (elf_separate_stab_sections): New.
5700 (elf_init_stab_section): New.
5701 (elf_format_ops): Add new members. Remove comma at end.
5703 * config/obj-ecoff.c (ecoff_separate_stab_sections): New.
5704 (ecoff_format_ops): Add new fields. Remove comma at end.
5705 Mention inconsistency for emit_section_symbols.
5707 * config/obj-coff.h (c_dot_file_symbol): Constify declaration.
5709 * config/obj-coff.c (c_dot_file_symbol): Constify argument.
5710 (coff_separate_stab_sections): New.
5711 (coff_format_ops): Add new members.
5713 * config/obj-aout.c (obj_aout_sec_sym_ok_for_reloc): New.
5714 (obj_aout_s_set_other): New.
5715 (obj_aout_s_set_desc): New.
5716 (obj_aout_s_get_type): New.
5717 (obj_aout_s_set_type): New.
5718 (obj_aout_separate_stab_sections): New.
5719 (aout_format_ops): New members added. Use obj_aout_process_stab,
5720 not 0. Use obj_aout_sec_sym_ok_for_reloc, not 0.
5721 (obj_aout_frob_symbol): Add ATTRIBUTE_UNUSED to args as
5723 (obj_aout_line, obj_aout_weak, obj_aout_type): Ditto.
5725 2000-05-22 Alan Modra <alan@linuxcare.com.au>
5727 * config/tc-i386.c (tc_i386_fix_adjustable): Prevent adjustment
5728 for OBJ_MAYBE_ELF too. Use S_IS_EXTERNAL instead of S_IS_EXTERN.
5729 (md_estimate_size_before_relax): Ensure jumps to weak and
5730 externally visible symbols are relocatable.
5732 Sat May 20 16:41:55 2000 Hans-Peter Nilsson <hp@axis.com>
5734 * stabs.c (aout_process_stab): Make global.
5735 (s_desc): Add ATTRIBUTE_UNUSED to args as appropriate.
5736 * read.h (aout_process_stab): Declare.
5738 * configure.in (EMULATIONS) [i386aout, i386coff, i386elf]:
5739 Generalize to *aout, *coff *elf.
5740 * configure: Regenerated.
5742 * doc/internals.texi (Object format backend): Say
5743 SEPARATE_STAB_SECTIONS needs to be nonzero, not just defined.
5745 * Makefile.am (TARG_ENV_HFILES): Delete te-multi.h.
5746 * Makefile.in: Regenerated.
5748 2000-05-19 Catherine Moore <clm@cygnus.com>
5750 * cgen.h (GAS_CGEN_MAX_FIXUPS): Check if already defined.
5752 2000-05-18 Alan Modra <alan@linuxcare.com.au>
5754 * config/tc-hppa.c (md_apply_fix): Mask out immediate bits of
5755 instruction to reflect change in re_assemble_*.
5757 Thu May 18 10:52:14 2000 Jeffrey A Law (law@cygnus.com)
5759 * configure.in (hppa-*-hpux11*): If the cpu is hppa*64*, then
5760 build PA64 ELF tools.
5761 * configure: Rebuilt.
5763 2000-05-17 Alan Modra <alan@linuxcare.com.au>
5765 * Makefile.am: Regenerate dependencies.
5766 * Makefile.in: Regenerate.
5768 2000-05-15 Nick Clifton <nickc@cygnus.com>
5770 * config/tc-arm.c (struct asm_psr): Add boolean field
5771 distinguishing between CSPR and SPSR. Rename 'number' field
5773 (psrs): Rearrange contents to match new asm_psr structure.
5774 (arm_psr_parse): Move next to psr_required_here. Make it
5775 return an asm_psr structure.
5776 (psr_required_here): Use asm_psr structure returned by
5778 (do_msr): Reorganise to allow psr_required_here to be called
5780 (md_undefined_name): Mark 'name' parameter as unused, since
5781 the COFF target does not use it.
5783 2000-05-14 David O'Brien <obrien@FreeBSD.org>
5785 * config/te-386bsd.h: Clean up comments to adhere to the GNU coding
5787 * config/te-aux.h: Likewise.
5788 * config/te-dpx2.h: Likewise.
5789 * config/te-go32.h: Likewise.
5790 * config/te-hp300.h: Likewise.
5791 * config/te-hppa.h: Likewise.
5792 * config/te-i386aix.h: Likewise.
5793 * config/te-ic960.h: Likewise.
5794 * config/te-interix.h: Likewise.
5795 * config/te-nbsd532.h: Likewise.
5796 * config/te-pc532mach.h: Likewise.
5797 * config/te-ppcnw.h: Likewise.
5798 * config/te-psos.h: Likewise.
5799 * config/te-sparcaout.h: Likewise.
5800 * config/te-sun3.h: Likewise.
5801 * config/te-sysv32.h: Likewise.
5803 2000-05-14 Alan Modra <alan@linuxcare.com.au>
5805 * config/tc-h8300.c (do_a_fix_imm): Don't rely on `short' being 16
5806 bits. Instead explicitly mask and sign extend. Do the 8 bit mask
5807 and sign extend without an if statement.
5808 (build_bytes): Likewise.
5810 2000-05-14 Kazu Hirata <kazu@hxi.com>
5812 * config/tc-h8300.c (do_a_fix_imm): Output a reloc for no
5813 X_add_symbol L_32 case.
5815 2000-05-14 David O'Brien <obrien@FreeBSD.org>
5817 * config/te-freebsd.h: New file.
5819 2000-05-13 Alan Modra <alan@linuxcare.com.au>
5821 * asintl.h (gettext, dgettext, dcgettext, textdomain,
5822 bindtextdomain): Replace defines with those from intl/libgettext.h
5823 to quieten gcc warnings.
5825 * NEWS: Mention x86 .arch and -q.
5827 * config/tc-i386.c (quiet_warnings): New.
5828 (md_assemble): Use quiet_warnings.
5829 (md_parse_option): Set quiet_warnings from -q.
5830 (md_show_usage): Mention -q, delete -m.
5831 (flag_do_long_jump): Delete.
5832 (md_parse_option): Remove -m.
5833 (md_show_usage): Remove -m.
5834 (md_create_long_jump): Remove useless flag_do_long_jump code.
5836 * as.c (parse_args): In case OPTION_DEFSYM, use a valueT to hold
5837 the symbol value, and use bfd_scan_vma if BFD_ASSEMBLER.
5839 2000-05-13 Alan Modra <alan@linuxcare.com.au>
5840 Alexander Sokolov <robocop@netlink.ru>
5842 * doc/c-i386.texi (i386-Arch): New section.
5843 (i386-Syntax): Mention .intel_syntax and .att_syntax.
5845 * config/tc-i386.c (cpu_arch_name, cpu_arch_flags): New.
5846 (smallest_imm_type): Use smallest opcode for shift by one if cpu
5847 architecture has been given and is not 486.
5848 (set_cpu_arch): New.
5849 (md_pseudo_table): Add .arch.
5850 (md_assemble): Warn if cpu architecture has been given and an
5851 unsupported instruction.
5853 * config/tc-i386.h (SMALLEST_DISP_TYPE): Delete.
5854 Move operand_types bit defines after relevant template field.
5855 (template): Add cpu_flags.
5859 2000-05-12 Alexandre Oliva <aoliva@cygnus.com>
5861 * config/tc-mn10300.h (md_end): Define.
5862 (mn10300_finalize): Declare.
5863 * config/tc-mn10300.c: Include dwarf2dbg.h.
5864 (debug_line): Define.
5865 (md_assemble): Generate dwarf2 line info.
5866 (mn10300_finalize): New function. Finalize dwarf2 info.
5868 2000-05-11 Ulf Carlsson <ulfc@engr.sgi.com>
5870 * config/tc-mips.c (md_estimate_size_before_relax): Use the
5871 external version of the relocation for weak symbols.
5873 2000-05-08 David Mosberger <davidm@hpl.hp.com>
5875 * config/tc-ia64.c (output_P7_format, case mem_stack_f): Output fixed
5876 frame size in units of 16 bytes, as required per SW Conventions manual.
5877 (output_unw_records): Output info-block header as a dword to get
5880 2000-05-08 Alan Modra <alan@linuxcare.com.au>
5882 * as.h: #include "file", not <file> on files from ../include.
5883 (as_abort, as_fatal): Add ATTRIBUTE_NORETURN.
5884 * config/tc-m68k.c (m68k_ip): Fix signed/unsigned warnings.
5885 (md_convert_frag): Add ATTRIBUTE_UNUSED.
5886 (tc_coff_symbol_emit_hook): Ditto.
5887 (OPTCOUNT): Cast to int to avoid compiler warning.
5888 (md_begin): Fix signed/unsigned warnings.
5890 2000-05-08 Michael Sokolov <msokolov@ivan.Harhan.ORG>
5892 * config/tc-m68k.c (md_convert_frag_1): Abort if we end up in the
5893 ABRANCH LONG case for a conditional branch on a 68000.
5894 (md_estimate_size_before_relax): Likewise. Also handle
5895 flag_short_refs correctly for ABRANCH, BCC68000, and DBCC.
5896 (m68k-ip: case ABSL): Relax absolute references to 16-bit
5897 PC-relative on all CPUs.
5898 (md_estimate_size_before_relax): Likewise.
5900 2000-05-04 Alan Modra <alan@linuxcare.com.au>
5902 * as.c (parse_args): Just mention current year in printed
5905 2000-05-03 J.T. Conklin <jtc@redback.com>
5907 * config/tc-ppc.c (pre_defined_registers): Add entries for vector
5909 (md_parse_option): Recognize -m7400.
5911 2000-05-03 Ian Lance Taylor <ian@zembu.com>
5913 * config/atof-ieee.c (gen_to_words): When adding carry back in,
5914 don't permit lp to become less than the words array.
5916 2000-05-03 Rodney Brown <RodneyBrown@pmsc.com>
5918 config/tc-mcore.c (md_apply_fix3): BFD_RELOC_MCORE_PCREL_IMM11BY2
5919 Fix little-endian case.
5921 2000-05-03 David O'Brien <obrien@NUXI.com>
5923 * as.c (parse_args): Update copyright.
5925 2000-05-03 Mark Elbrecht <snowball3@bigfoot.com>
5927 * config/tc-i386.h (SUB_SEGMENT_ALIGN): If TE_GO32, return 4
5928 for the .bss section too.
5930 2000-05-02 Alan Modra <alan@linuxcare.com.au>
5932 * configure.in: Set em=linux for hppa-*-linux.
5933 * configure: Regenerate.
5934 * doc/Makefile.in: Regenerate with correct automake.
5936 * frags.c (frag_grow): Sanity check chunk_size.
5938 * config/obj-elf.h: #include "bfd.h" not <bfd.h>
5939 * config/obj-som.h: Likewise.
5940 * config/obj-ieee.h: Likewise.
5942 * config/tc-hppa.h: Test BFD_ARCH_SIZE, not BFD64.
5944 * config/tc-hppa.c (log2): Only compile when OBJ_SOM.
5945 (md_pseudo_table): Fully initialise OBJ_ELF cases.
5946 (fix_new_hppa): Add ATTRIBUTE_UNUSED to args as appropriate.
5947 (pa_ip): low_sign_unext now returns via function value. Use
5948 re_assemble_* instead of dis_assemble_* and
5949 INSERT_FIELD_AND_CONTINUE combination. Don't call sign_unext
5951 (md_convert_frag): Add ATTRIBUTE_UNUSED to args as appropriate.
5952 (md_section_align, md_parse_option, md_show_usage,
5953 md_undefined_symbol, pa_align, pa_block, pa_brtab, pa_try,
5954 pa_callinfo, pa_code, pa_comm, pa_end, pa_enter, pa_entry,
5955 pa_exit, pa_export, pa_import, pa_label, pa_leave, pa_level,
5956 pa_origin, pa_param, pa_proc, pa_procend, pa_space, pa_spnum,
5957 pa_version, pa_compiler, pa_copyright, pa_data, pa_fill, pa_lsym,
5959 (md_apply_fix): Change type of new_val to offsetT. Delete w1, w2,
5960 w, resulti. Add insn, val. Move bfd_get_32 and bfd_put_32
5961 outside of switch. Correct mask and shifting errors in case 10
5962 and case -11. In case 21, compare against signed range to suit
5963 hppa_field_adjust changes. In case 12, use re_assemble_12. In
5964 case 17 and case 22, use offsetT variable to properly check range.
5965 Use re_assemble_* here too.
5966 (evaluate_absolute): Change type of value to offsetT. Call
5967 hppa_field_adjust to do the work for us.
5968 (pa_parse_cmpb_64_cmpltr): Delete save_s.
5969 (pa_parse_cmpib_64_cmpltr): Ditto.
5970 (pa_build_unwind_subspace): Delete unused var subseg. Change type
5971 of i to unsigned int.
5972 (pa_type_args): Conditionally declare symbol if OBJ_SOM.
5973 (pa_end_of_source): Return type is void.
5975 Mon May 1 08:54:23 2000 Catherine Moore <clm@cygnus.com>
5977 * macro.c (macro_expand_body): Don't prepend macro number with zeroes.
5979 Mon May 1 14:19:39 2000 Denis Chertykov <denisc@overta.ru>
5981 * config/tc-avr.c: ATTRIBUTE_UNUSED added to the necessary places.
5982 More comments added.
5983 (md_begin): Removed "construct symbols for each register name".
5984 Because register names conflicts with GCC generated function
5986 (avr_operand): Now constant numbers can be used as a register
5987 identifiers (0 as r0, 31 as r31).
5988 (md_assemble): use skip_space () before parsing instruction
5991 2000-05-01 Alan Modra <alan@linuxcare.com.au>
5993 * configure.in: Set bfd_gas=yes on i386-*-pe and i386-*-nt* to
5994 ensure all pe targets use bfd. Remove unnecessary bfd_gas=yes on
5995 arm-*-netbsd* and arm-*-wince as this is set for all arm*.
5996 * configure: Regenerate.
5998 2000-04-29 Andreas Jaeger <aj@suse.de>
6000 * as.h: Correctly check GCC version.
6002 2000-04-26 David O'Brien <obrien@FreeBSD.org>
6004 * doc/as.1: Fix unbalanced brackets.
6006 * config/tc-i386.c (comment_chars): Don't use '/' as comment start if
6008 (line_comment_chars): Set to '/' if TE_FreeBSD.
6010 Tue Apr 25 11:02:02 2000 Jeffrey A Law (law@cygnus.com)
6012 * configure.in: Configury support for PA64 (currently disabled).
6013 * configure: Rebuilt.
6015 2000-04-25 Machida Hiroyuki <machida@sm.sony.co.jp>
6017 * config/tc-mips.c (s_change_sec): Use record_alignment, not
6018 bfd_set_section_alignment.
6020 2000-04-25 Alan Modra <alan@linuxcare.com.au>
6022 * config/tc-i386.c (offset_in_range): Ensure shift counts are less
6025 2000-04-24 Nick Clifton <nickc@cygnus.com>
6027 * doc/c-arm.texi (ARM Directives): Document behaviour of .align 0.
6028 * doc/as.texinfo (Align): Include arm and strongarm in list of
6029 targets that have the second form of the behaviour of the .align
6032 2000-04-24 Mark Klein <mklein@dis.com>
6034 * config/obj-som.c: Terminate obj_pseudo_table.
6036 Mon Apr 24 15:21:11 2000 Clinton Popetz <cpopetz@cygnus.com>
6038 * as.c (parse_args): Allow md_parse_option to override -a listing
6040 * config/obj-coff.c (add_lineno): Change type of offset parameter
6041 from "int" to "bfd_vma."
6042 * config/tc-ppc.c (md_pseudo_table): Add "llong" and "machine."
6043 (ppc_mach, ppc_subseg_align, ppc_target_format): New.
6044 (ppc_change_csect): Align correctly for XCOFF64.
6045 (ppc_machine): New function, which discards "ppc_machine" line.
6046 (ppc_tc): Cons for 8 when code is 64 bit.
6047 (md_apply_fix3): Don't check operand->insert. Handle 64 bit
6049 (md_parse_option): Handle -a64 and -a32.
6051 * config/tc-ppc.h (TARGET_MACH): Define.
6052 (TARGET_FORMAT): Move to function.
6053 (SUB_SEGMENT_ALIGN): Use ppc_subseg_align.
6055 Sun Apr 23 16:45:45 2000 Denis Chertykov <denisc@overta.ru>
6057 * config/tc-avr.c: New AVR_ISA_ defined.
6058 (md_assemble): Handle opcodes with optional operands (lpm,elpm).
6059 (avr_operand): Handle 'a', 'v' and 'z' constraint letters needed
6060 for `fmul', `movw' and `lpm R,Z' instructions.
6061 (avr_operands): Warn if current opcode is a two-word instruction
6062 and previous opcode was cpse/sbic/sbis/sbrc/sbrs.
6063 (avr_opcodes): New commands added.
6064 (REGISTER_P): Check 'a' and 'v' constraint letters.
6065 (mcu_types): New MCU added.
6067 2000-04-22 Timothy Wall <twall@cygnus.com>
6069 * config/tc-ia64.c (pseudo_func[]): Add new "nat" entry equivalent
6071 (operand_match): Conditionally insert default bit values for IMMU9.
6073 2000-04-14 Matthew Green <mrg@cygnus.com>
6075 * configure.in: Add NetBSD/sparc ELF and NetBSD/sparc64 support.
6076 * configure: Rebuilt.
6078 Fri Apr 21 14:29:43 2000 Jeffrey A Law (law@cygnus.com)
6079 Jason Eckhardt <jle@cygnus.com>
6081 * config/tc-hppa.c (md_apply_fix): Handle new PA2.0 formats.
6083 * config/tc-hppa.c (CHECK_ALIGN): New macro.
6084 Added handling of new operand types l,y,&,fe,fE,fx.
6086 Fri Apr 21 13:20:53 2000 Richard Henderson <rth@cygnus.com>
6087 David Mosberger <davidm@hpl.hp.com>
6088 Timothy Wall <twall@cygnus.com>
6089 Andrew MacLeod <amacleod@cygnus.com>
6090 Jim Wilson <wilson@cygnus.com>
6092 * Makefile.am (CPU_TYPES): Add ia64.
6093 (TARGET_CPU_CFILES): Add config/tc-ia64.c.
6094 (TARGET_CPU_HFILES): Add config/tc-ia64.h.
6095 * Makefile.in: Rebuild.
6096 * app.c (do_scrub_chars): Handle DOUBLESLASH_COMMENTS.
6097 * configure: Rebuild.
6098 * configure.in: Recognize ia64 as cpu type. Set bfd_gas.
6099 (ia64-*-elf*, ia64-*-linux-gnu*): New targets.
6100 * expr.c (expr): Handle md_optimize_expr.
6101 * read.c (LEX_HASH): Add comment.
6102 * config/tc-ia64.c, config/tc-ia64.h: New files.
6104 2000-04-21 Richard Henderson <rth@cygnus.com>
6106 * config/tc-d30v.c (write_2_short): Disregard opcode1->ecc when
6107 bundling a non-delayed branch type instruction.
6109 2000-04-20 Alexandre Oliva <aoliva@cygnus.com>
6111 * config/tc-mn10300.c (HAVE_AM30): Define.
6112 (md_assemble): Use it.
6114 2000-04-19 Alan Modra <alan@linuxcare.com.au>
6116 * config/obj-elf.c (obj_elf_change_section): Check for changed
6119 * Makefile.am: (CPU_MULTI_VALID): Remove.
6120 (MULTI_CPU_TYPES): Define.
6121 (MULTI_CPU_OBJ_VALID): Define.
6122 (DEPTC): Use the above.
6123 (DEPOBJ): Same here.
6125 Regenerate dependencies.
6126 * Makefile.in: Regenerate.
6128 2000-04-19 Michael Sokolov <msokolov@ivan.Harhan.ORG>
6130 * Makefile.am (YACC, LEX): Get them from configure.
6132 2000-04-18 H.J. Lu (hjl@gnu.org)
6134 * config/tc-i386.c (offset_in_range): Use addressT instead of
6135 bfd_vma for non-bfd assemblers.
6137 2000-04-17 Alan Modra <alan@linuxcare.com.au>
6139 * config/tc-i386.c (offset_in_range): Sign extend val so BFD64
6140 doesn't give spurious errors.
6142 2000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
6144 * as.h (SEEK_SET): Define if undefined.
6146 2000-04-13 Alan Modra <alan@linuxcare.com.au>
6148 * config/tc-arm.c (md_apply_fix3): Don't use UL suffix on
6149 constants, and don't assume offsetT is 32 bits.
6151 2000-04-12 Andrew Cagney <cagney@b1.cygnus.com>
6153 * config/tc-d10v.h: Include "write.h" to get definition of fixS.
6154 (md_pcrel_from_section): Add prototype.
6155 (d10v_fix_adjustable): Add prototype.
6156 (d10v_force_relocation): Replace 'struct fix' with 'fixS'.
6158 * config/tc-d10v.c (md_apply_fix3): Add paren around &&.
6160 2000-04-12 Nick Clifton <nickc@cygnus.com>
6162 * config/tc-d10v.c (find_opcode): Correctly calculate position of
6163 symbol in frag chain.
6165 2000-04-10 Alan Modra <alan@linuxcare.com.au>
6167 * config/tc-i386.c (fits_in_signed_byte): Change arg to offsetT.
6168 (fits_in_unsigned_byte, fits_in_unsigned_word): Ditto.
6169 (fits_in_signed_word, smallest_imm_type): Ditto.
6170 (md_assemble): Use an offsetT var to hold offsetT values, not a
6172 (offset_in_range): New.
6173 (md_assemble): Use it.
6174 (md_convert_frag): Change type of target_address, opcode_address,
6175 and displacement_from_opcode_start to offsetT.
6176 (md_create_short_jump): Change type of offset to offsetT.
6177 (md_create_long_jump): Ditto.
6178 (md_apply_fix3): Use -4, not 0xfffffffc for BFD_RELOC_386_PLT32.
6179 (md_chars_to_number): Remove.
6180 (output_invalid): Remove duplicate prototype.
6182 2000-04-09 Nick Clifton <nickc@cygnus.com>
6184 * Makefile.am (CPU_TYPES): Add 'avr'.
6185 (TARGET_CPU_CFILES): Add 'tc-avr.c'.
6186 (TARGET_CPU_HFILES): Add 'tc-avr.h'.
6188 * Makefile.in: Regenerate.
6190 * doc/as.texinfo: Add M32R documentation.
6192 Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
6194 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
6195 --enable-build-warnings option.
6196 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
6197 * Makefile.in, configure: Re-generate.
6199 2000-04-07 Nick Clifton <nickc@cygnus.com>
6201 * config/tc-arm.c (md_apply_fix3): Treat BFD_RELOC_ARM_PCREL_BLX
6202 in the same way as BFD_RELOC_ARM_PCREL_BRANCH, and
6203 BFD_RELOC_THUMB_PCREL_BLX lie BFD_RELOC_THUMB_PCREL_BRANCH.
6204 (tc_gen_reloc): Accept BFD_RELOC_{ARM|THUMB}_PCREL_BLX.
6205 (arm_force_relocation): Force relocations for
6206 BFD_RELOC_{ARM|THUMB}_PCREL_BLX as well.
6208 Wed Apr 5 22:26:32 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
6210 * config/tc-sh.c (get_operands): There's no third operand if the
6211 first operand is an immediate.
6213 Wed Apr 5 22:07:19 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
6215 * config/tc-sh.c (immediate): Delete.
6216 (sh_operand_info): Add immediate member.
6217 (parse_reg): Use A_PC for pc.
6218 (parse_exp): Add second argument 'op'. All callers changed.
6219 (parse_at): Expect pc to be coded as A_PC.
6220 Use immediate field in *op.
6221 (insert): Add fourth argument 'op'. All callers changed.
6222 (build_relax): Add second argument 'op'. All callers changed.
6223 (insert_loop_bounds): New function.
6224 (build_Mytes): Remove DISP_4.
6225 Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}. Add REPEAT.
6226 (assemble_ppi): Use immediate field in *operand.
6227 (sh_force_relocation): Handle BFD_RELOC_SH_LOOP_{START,END}.
6228 (md_apply_fix): Likewise.
6229 (tc_gen_reloc): Likewise. Check for a pcrel BFD_RELOC_SH_LABEL.
6231 Wed Apr 5 06:35:45 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6233 * config/tc-sparc.c (sparc_ip): Avoid string pasting.
6235 Tue Apr 4 19:27:50 2000 Hans-Peter Nilsson <hp@axis.com>
6237 * internals.texi (CPU backend): Document
6238 TC_CHECK_ADJUSTED_BROKEN_DOT_WORD.
6240 2000-04-04 Alan Modra <alan@linuxcare.com.au>
6242 * po/gas.pot: Regenerate.
6244 * as.c (show_usage): Restore translated part of bug string.
6245 * gasp.c (show_usage): Likewise.
6247 * Makefile.am (MKDEP): Use gcc -MM rather than ../mkdep.
6248 (DEP): Quote when passing vars to sub-make. Use "mv -f" rather
6249 than move-if-change.
6250 (DEP1): Modify for "gcc -MM".
6254 (CLEANFILES): Add DEPTCA, DEPOBJA, DEP2a, DEPA.
6255 Update dependencies.
6256 * Makefile.in: Regenerate.
6258 2000-04-03 Alexandre Oliva <aoliva@cygnus.com>
6260 * config/tc-mn10300.c (md_pseudo_table): Use constant names.
6261 (md_begin): Likewise.
6262 (HAVE_AM33): New macro.
6263 (md_assemble): Use it. Match r_regs and xr_regs only if
6266 2000-04-03 Alan Modra <alan@linuxcare.com.au>
6268 * as.h: #include "bin-bugs.h"
6269 * as.c (show_usage): Use REPORT_BUGS_TO.
6270 * gasp.c: #include "bin-bugs.h"
6271 (show_usage): Use REPORT_BUGS_TO.
6273 * config/tc-sparc.c (md_show_usage): Add a trailing newline.
6275 Mon Apr 3 13:56:03 2000 Hans-Peter Nilsson <hp@axis.com>
6277 * write.c (write_object_file) [! WORKING_DOT_WORD]: If defined,
6278 call TC_CHECK_ADJUSTED_BROKEN_DOT_WORD for each word after
6281 2000-04-03 Alan Modra <alan@linuxcare.com.au>
6283 * config/tc-i386.c (i386_immediate): Don't assume a constant
6284 immediate is necessarily 16 bits when in 16 bit code mode.
6285 (md_assemble): Instead set guess_suffix here after we have checked
6288 2000-04-02 Richard Henderson <rth@cygnus.com>
6290 * config/tc-d30v.c (check_range): Allow signed or unsigned 32-bit
6291 quantities. Correct right shift sign extension.
6292 (build_insn): Make `number' unsigned long. Mask top 6 bits of
6293 32-bit value when shifting into place.
6295 2000-04-01 Ian Lance Taylor <ian@zembu.com>
6297 * app.c: Add ATTRIBUTE_UNUSED as needed.
6298 * config/tc-ppc.c: Likewise.
6299 (ppc_size): Make unsigned long.
6300 (ppc_insert_operand): Add casts to avoid warnings.
6302 2000-03-31 Nick Clifton <nickc@cygnus.com>
6304 * config/tc-d10v.h (md_flush_pending_output): Define.
6306 2000-03-29 Nick Clifton <nickc@cygnus.com>
6308 * config/tc-sh.h (SEG_NAME): New macro: return the name of a
6309 segment. Works for both BFD_ASSEMBLER and others.
6310 (SUB_SEGMENT_ALIGN): Use SEG_NAME.
6312 2000-03-29 Nick Clifton <nickc@cygnus.com
6314 * config/tc-arm.c (tinsns): Add "bal" instruction pattern.
6316 2000-03-28 Alan Modra <alan@linuxcare.com.au>
6318 * listing.c (LISTING_LHS_WIDTH): Default depends on
6320 (LISTING_LHS_WIDTH_SECOND): Default to LISTING_LHS_WIDTH.
6322 2000-03-27 Ian Lance Taylor <ian@zembu.com>
6324 * config/tc-sh.c (md_show_usage): Use backslash before newline in
6327 2000-03-27 Alan Modra <alan@linuxcare.com.au>
6329 * config/tc-avr.h (TC_HANDLES_FX_DONE): Define.
6331 * config/tc-avr.c (mcu_types): Add missing initialiser.
6332 (md_pcrel_from_section): Add prototype.
6333 (avr_operand): Remove redundant test of unsigned < 0.
6334 (avr_cons_fix_new): Ensure exp_mod_pm zero on function exit.
6336 2000-03-27 Denis Chertykov <denisc@overta.ru>
6338 * config/tc-avr.c: New file for AVR support.
6339 * config/tc-avr.h: Likewise.
6340 * configure.in: Add AVR support.
6341 * configure: Regenerate.
6343 2000-03-26 Timothy Wall <twall@cygnus.com>
6345 * gasp.c (macro_op): Add new argument to check_macro call.
6346 Macro structure definitions moved to macro.h
6347 * sb.h: Add argument to prototype for input_scrub_include_sb.
6348 * input-scrub.c (input_scrub_include_sb): Allow disabling of sb
6349 nesting checks with an additional flag.
6350 (struct input_save): Add flag to indicate whether current sb
6351 should be checked for proper macro/conditional nesting.
6352 (input_scrub_push/pop): Save/restore nest check flag.
6353 (input_scrub_next_buffer): Ditto. Also call end of macro hook if
6355 * macro.c (check_macro): Allow caller to retrieve parsed macro
6356 information if a pointer is provided. This information may be
6357 used by the new macro hooks.
6358 * macro.h: Update prototype for check_macro. Macro struct
6359 definitions moved here from macro.c/gasp.c.
6360 * read.c (read_a_source_file): Add parameter to check_macro call,
6361 and pass macro info to the macro hook, if defined.
6362 (input_scrub_insert_line): New. Allow insertion of a line of
6363 characters into the input stream.
6364 (input_scrub_insert_file): New. Allow insertion of an arbitrary
6365 file into the input stream.
6366 (s_include): Use input_scrub_insert_file.
6367 * internals.texi: Document new macro hooks.
6368 * as.h: New prototypes added.
6370 2000-03-26 Alan Modra <alan@linuxcare.com.au>
6372 * config/tc-i386.c: Don't start any as_bad or as_warn message with
6373 an initial capital letter.
6374 (i386_index_check): Reindent.
6376 2000-03-19 Nick Clifton <nickc@cygnus.com>
6378 * config/tc-arm.c (md_apply_fix3): Fix bug detecting overflow of pc
6381 2000-03-17 Thomas de Lellis <tdel@windriver.com>
6383 * config/tc-arm.c (do_t_adr): Flag "adr Rd,label"
6384 instruction operand bad if Rd > 7 when generating
6385 thumb instructions. Prevents for example,
6386 "adr r12,label" from silently failing and generating
6387 the wrong instruction.
6389 2000-03-17 Nick Clifton <nickc@cygnus.com>
6391 * config/tc-arm.c (md_apply_fix3): Handle same-section relocations
6392 that have a destingation >= 0x400000.
6393 Fix compile time warning messages.
6395 Thu Mar 16 23:45:16 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
6397 * config/tc-sh.c (md_begin): When encountering insn that are
6398 not supported by the current arch, only change the name if
6399 its contents are the same as prev_name.
6400 (get_specific): If the the architecture doesn't match, fail.
6402 Thu Mar 16 21:18:13 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
6404 * config/tc-sh.c (IDENT_CHAR): Define.
6405 (parse_reg): Use it instead of isalnum. Put r[0..7]_bank operand
6406 matching back where it came from.
6408 Thu Mar 16 20:58:10 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
6410 * config/tc-sh.c (md_show_usage): Add description of -dsp.
6412 2000-03-15 Jonathan Larmour <jlarmour@redhat.co.uk>
6414 * config/tc-sh.c (parse_reg): Match r[0..7]_bank operands before
6417 2000-03-15 Kazu Hirata <kazu@hxi.com>
6419 * config/tc-h8300.c: Add ATTRIBUTE_UNUSED as appropriate.
6421 Mon Mar 13 22:02:59 2000 Hans-Peter Nilsson <hp@axis.se>
6423 * expr.c (operand) [case 'f']: When testing if '0f' can start a
6424 floating-point-number, make sure 'f' is in FLT_CHARS.
6426 Sat Mar 11 00:01:39 2000 Hans-Peter Nilsson <hp@axis.se>
6428 * read.c (TC_IMPLICIT_LCOMM_ALIGNMENT): New default-definition.
6429 (s_lcomm_internal): Use it.
6430 * doc/internals.texi (CPU backend): Document it.
6431 * config/obj-evax.h (TC_IMPLICIT_LCOMM_ALIGNMENT): Set to 2**3
6434 2000-03-10 Geoffrey Keating <geoffk@cygnus.com>
6436 * config/tc-mips.c (mips_ip): Don't put stuff in .rodata
6439 * config/tc-mips.c (SWITCH_TABLE): The ELF embedded-pic
6440 implementation doesn't have special handling for switch
6442 (macro_build): Allow for code in sections other than .text.
6444 (mips_ip): Likewise.
6445 (md_apply_fix): Do pc-relative relocation madness for MIPS ELF.
6446 Don't perform relocs if we will be outputting them.
6447 (tc_gen_reloc): For ELF, just use fx_addnumber for pc-relative
6448 relocations. Allow BFD_RELOC_16_PCREL_S2 relocs when
6451 2000-03-09 Catherine Moore <clm@cygnus.com>
6453 * config/tc-m32r.c (m32r_fix_adjustable): Look up the
6454 relocation type based on the entry in the fixup structure.
6455 Put S_IS_EXTERN processing back in.
6457 2000-03-08 H.J. Lu (hjl@gnu.org)
6459 * Makefile.am (install-exec-tooldir): Depend on
6460 install-exec-bindir for parallel make.
6461 * Makefile.in: Regenerated.
6463 2000-03-06 Nick Clifton <nickc@cygnus.com>
6465 * config/tc-m32r.c (struct md_longopts): Add -m32r command line
6467 (md_parse_option): Parse -m32r command line switch - disable m32rx
6469 (md_show_usage): Document new option.
6471 * doc/Makefile.am (CPU_DOCS): Add c-m32r.texi.
6472 * doc/Makefile.in: Regenerate.
6473 * doc/c-m32r.texi (M32R-Opts): Document new command line switch.
6475 2000-03-02 Michael Meissner <meissner@redhat.com>
6477 * config/tc-d30v.c (check_range): Remove code that incorrectly
6478 sign extended values where bits < 32.
6480 2000-03-02 H.J. Lu (hjl@gnu.org)
6482 * configure.in: Support --enable-targets=all on ia32.
6483 * configure: Regenerated.
6485 2000-03-01 Nick Clifton <nickc@cygnus.com>
6487 * gasp.c (do_align): Remove bogus check of alignment value.
6489 2000-02-27 Thomas de Lellis <tdel@windriver.com>
6491 * config/obj-elf.c (elf_frob_symbol): Remove code which when
6492 TC_PPC was defined forced the type of a symbol with no other type
6495 2000-02-27 Hans-Peter Nilsson <hp@axis.com>
6497 * doc/internals.texi (CPU backend): Mention that
6498 line_separator_chars do not break up comments. Fix typos for
6499 LEX_AT and LEX_NAME descriptions. Document operands for
6500 TC_EQUAL_IN_INSN, md_operand and md_section_align. Correct
6501 description of md_create_short_jump usage. Document argument for
6502 md_undefined_symbol.
6504 2000-02-27 Jakub Jelinek <jakub@redhat.com>
6506 * config/tc-sparc.c (OPTION_UNDECLARED_REGS): New option.
6507 (md_parse_option): Handle it.
6508 (md_show_usage): Document it.
6510 2000-02-27 Ian Lance Taylor <ian@zembu.com>
6512 * config/tc-alpha.c (md_assemble): Accept `1' and `9' in an
6513 opcode, for the instruction `pal19'. From Andrea Arcangeli
6516 2000-02-26 Alan Modra <alan@spri.levels.unisa.edu.au>
6518 * config/tc-i386.c (i386_immediate): Move constant operand sizing
6520 (md_assemble): To here, before template operands are matched.
6521 Also ensure a constant immediate is sign extended when we know the
6522 size is at most 16 bits. This is to catch cases like "add
6523 $0xffc0,%ax" where we don't know the size, and thus that the
6524 immediate can be represented as Imm8S until after parsing the
6526 (i386_displacement): Similarly sign extend 16 bit constant
6528 (md_assemble): Relax 16-bit jump constant range check to suit sign
6529 extended displacements.
6531 2000-02-26 Andreas Jaeger <aj@suse.de>
6533 * doc/c-mips.texi (MIPS Opts): Fix typo in last patch.
6535 2000-02-25 Alan Modra <alan@spri.levels.unisa.edu.au>
6537 * config/tc-i386.c (md_assemble): Don't swap intersegment jmp and
6538 call operands when intel_syntax.
6539 (intel_float_operand): Return 2 for "fi...".
6540 (i386_operand_modifier): Change "DWORD PTR" test to suit above.
6541 Return SHORT_MNEM_SUFFIX for "WORD PTR" when "fi...". Revert
6542 earlier "SHORT" change.
6543 (md_assemble): When determining suffix from Regs, exclude
6546 2000-02-24 Nick Clifton <nickc@cygnus.com>
6548 * configure: Add arm-wince, mips-pe and sh-pe targets.
6549 * configure: Regenerate.
6551 * config/obj-coff.h (COFF_WITH_PE): Define for mips-pe and
6553 (TARGET_FORMAT): Set to "pe-shl" for the sh-pe target and to
6554 "pe-mips" for the mips-pe target.
6556 * config/tc-arm.c (insns): Change displacement encoded in BL
6557 and B instructions if the target port is arm-wince.
6558 (do_ldst): Do not bias the relocation offset if the target
6560 (md_pcrel_from): Add in missing relocation offset bias if the
6561 target os arm-wince.
6563 * config/tc-mips.c (mips_target_format): Support COFF flavour.
6564 (md_begin): Disable -G support for mips-pe target.
6565 (md_apply_fix): Treat BFD_RELOC_RVA reloc as BFD_RELOC_32.
6566 * config/tc-mips.h (USE_GLOBAL_POINTER_OPT): Add support for
6569 * config/tc-sh.c (md_begin): sh-pe target is little endian.
6570 * config/tc-sh.h (SUB_SEGMENT_ALIGN): If using a BFD
6571 assembler, just set the alignment to 4.
6573 * config/te-wince-pe.h: New file for WinCE targets. Define
6576 2000-02-25 Alan Modra <alan@spri.levels.unisa.edu.au>
6578 * config/tc-i386.c (md_assemble): Swap segments too for intel mode
6579 string instructions.
6580 (i386_operand_modifier): Set i.suffix = WORD_MNEM_SUFFIX for SHORT.
6581 (i386_intel_memory_operand): After finding a segment override,
6582 check again for no `[' before looking for a displacement. Bomb if
6583 more than one displacement rather than silently discarding the
6584 second and subsequent ones. Free strings malloc'd by
6585 build_displacement_string.
6587 2000-02-24 Catherine Moore <clm@cygnus.com>
6589 * config/obj-som.c (obj_pseudo_table): Add "weak".
6590 (obj_som_weak): New routine.
6592 2000-02-24 Alan Modra <alan@spri.levels.unisa.edu.au>
6594 * config/tc-i386.c (union i386_op): New.
6595 (struct _i386_insn): Delete disps[], imms[], regs[]. Add op[].
6596 Throughout file replace occurences of disps[n], imms[n], regs[n]
6597 with equivalent op[n].disps, op[n].imms, op[n].regs. Simplify
6598 intel mode operand swapping. Add assert in regKludge and
6599 fake_zero_displacement code. Test i.types[n] when outputting
6600 displacements and immediates. Combine output of Disp16 with
6602 (md_assemble): Don't try to fix broken UNIXWARE_COMPAT opcodes
6603 when in intel mode by (not) reversing fsub and fdiv operands
6604 before the template search. This fails for single operand
6605 shorthand forms of the instruction, and if UNIXWARE_COMPAT is
6606 undefined. Instead fix the base_opcode after we've found the
6607 template. Move base_opcode xor with found_reverse_match from
6608 opcode output code to before this fix so we test for the correct
6610 (md_assemble): Don't use strcmp when deciding to ignore the suffix
6611 check in intel mode. Instead compare opcodes.
6613 * config/tc-i386.h (TC_RELOC): Delete.
6614 * config/tc-i386.c (TC_RELOC): Delete. Replace usage of TC_RELOC
6615 with equivalent call to reloc.
6617 * as.h (flag_m68k_mri): Move declaration after target include, and
6618 only declare when TC_M68K defined. Define as zero otherwise.
6619 (LABELS_WITHOUT_COLONS, NO_PSEUDO_DOT): If undefined, define as 0.
6620 * app.c (scrub_m68k_mri): Declare only when TC_M68K defined.
6621 Define as zero otherwise.
6622 (do_scrub_begin): Use m68k_mri parameter only when TC_M68K defined.
6623 (struct app_save): Declare scrub_m68k_mri only when TC_M68K.
6624 (app_push, app_pop): Save scrub_m68k_mri only when TC_M68K.
6625 (do_scrub_chars): Use LABELS_WITHOUT_COLONS directly rather than
6626 testing whether defined.
6627 * cond.c (ignore_input): Use NO_PSEUDO_DOT directly.
6628 * expr.c (operand): #ifdef unused case labels when TC_M68K undefined.
6629 * read.c: Use LABELS_WITHOUT_COLONS and NO_PSEUDO_DOT directly
6630 rather than testing whether defined.
6631 (s_mri): Set flag_m68k_mri only when TC_M68K defined.
6632 (parse_mri_cons): Declare and use only when TC_M68K.
6633 * config/tc-hppa.h (LABELS_WITHOUT_COLONS): Define as 1.
6634 * config/tc-m68k.h (NO_PSEUDO_DOT): Define as 1.
6635 * config/tc-m88k.h (NO_PSEUDO_DOT): Define as 1.
6637 * NEWS: Mention IBM 370 support.
6639 2000-02-23 Richard Henderson <rth@cygnus.com>
6641 * config/tc-i386.c (md_assemble): When swapping operands for
6642 intel_syntax, assume everything that's not Imm or Disp is a
6645 2000-02-23 Linas Vepstas <linas@linas.org>
6647 * config/tc-i370.c, config/tc-i370.h: New files.
6648 * Makefile.am: Add support for Linux/IBM 370.
6649 * configure.in: Likewise.
6650 * app.c (do_scrub_begin): Don't lex single quote when TC_I370.
6651 * config/obj-elf.c: Include elf/i370.h
6652 (obj_elf_section): Don't do anything special for flag_mri if TC_I370.
6654 * Makefile.in: Regenerate.
6655 * configure: Regenerate.
6657 * doc/c-i370.texi: New file.
6658 * doc/all.texi: Include it.
6659 * doc/as.texinfo: And here.
6660 * doc/Makefile.am(CPU_DOCS): Add c-i370.texi.
6661 * doc/Makefile.in: Regenerate.
6663 2000-02-19 Michael Meissner <meissner@redhat.com>
6665 * config/tc-d30v.c (parallel_ok): Use FLAG_NOT_WITH_ADDSUBppp to
6666 determine if an instruction can be used in parallel with an ADDppp
6667 or SUBppp instruction.
6669 2000-02-22 Andrew Haley <aph@cygnus.com>
6671 * doc/c-mips.texi (MIPS Opts): Document -mgp32 and -mgp64.
6673 2000-02-22 Andrew Haley <aph@cygnus.com>
6675 * config/tc-mips.c (mips_gp32): New variable.
6676 (macro_build) Use mips_gp32.
6678 (md_longopts): Add "-mgp32" and "-mgp64".
6679 (md_parse_option): Add OPTION_GP32 and OPTION_GP64.
6681 (OPTION_M7900): Change offset
6682 (OPTION_NO_M7900): Ditto.
6684 2000-02-22 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6686 * config/obj-coff.c (add_lineno): Accept non-positive lineno with
6687 warning, and bump it to 1.
6689 2000-02-22 Ian Lance Taylor <ian@zembu.com>
6691 From Brad Lucier <lucier@math.purdue.edu>:
6692 * dwarf2dbg.c (print_stats): Add cast to force printf argument to
6695 2000-02-21 Catherine Moore <clm@cygnus.com>
6697 * config/tc-mips.c (MF_HILO_INSN): Define.
6698 (mips_7000_hilo_fix): Declare.
6699 (append_insn): Conditionally insert nops after an mfhi/mflo insn.
6700 (md_parse_option): Check for 7000_HILO_FIX options.
6701 (OPTION_M7000_HILO_FIX): Define.
6702 (OPTION_NO_M7000_HILO_FIX): Define.
6703 * doc/c-mips.texi (-mfix7000): Describe.
6705 2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
6707 * listing.c (print_lines): Remove unused variable `end'.
6709 * config/tc-i386.c (md_assemble): Use `reloc()' to select reloc
6710 type for JumpInterSegment output. Use enum bfd_reloc_code_real for
6711 reloc_type when BFD_ASSEMBLER.
6712 (md_estimate_size_before_relax): Use enum bfd_reloc_code_real for
6713 reloc_type when BFD_ASSEMBLER. Move common code out of switch
6714 statement and quell signed vs. unsigned comparison warning.
6716 2000-02-18 Nick Clifton <nickc@cygnus.com>
6718 * config/tc-d10v.c (find_opcode): Add a symbol's value to
6719 the computed frag offset, rather than overwriting it.
6721 Thu Feb 17 00:11:08 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
6723 * config/tc-sh.c ("elf/sh.h"): Include.
6724 (sh_dsp, valid_arch, reg_x, reg_y, reg_efg): New static variables.
6725 (md.begin): Initialize target_arch.
6726 Only include opcodes in has table that match selected architecture.
6727 (parse_reg): Recognize register names for sh-dsp.
6728 (parse_at): Recognize post-modify addressing.
6729 (get_operands): The leading space is now optional.
6730 (get_specific): Remove FDREG_N support. Add support for sh-dsp
6731 arguments. Update valid_arch.
6732 (build_Mytes): Add support for SDT_REG_N.
6733 (find_cooked_opcode): New function, broken out of md_assemble.
6734 (assemble_ppi, sh_elf_final_processing): New functions.
6735 (md_assemble): Use find_cooked_opcode and assemble_ppi.
6736 (md_longopts, md_parse_option): New option: -dsp.
6737 * config/tc-sh.h (elf_tc_final_processing): Define.
6738 (sh_elf_final_processing): Declare.
6740 Fri Feb 11 14:21:51 2000 Jeffrey A Law (law@cygnus.com)
6742 * config/tc-hppa.c (pa_build_unwind_subspace): Use subseg_new to create
6743 the unwinder subspace. Save the current seg/subseg before creating
6746 2000-02-10 Nick Clifton <nickc@cygnus.com>
6748 * config/tc-mcore.c (INST_BYTE0): Redefine to handle big and
6749 little endian targets.
6750 (INST_BYTE1): Redefine to handle big and little endian
6752 (cpu_type): New type: Select between M340 and M210.
6753 (parse_psrmod): New function: Parse the PSRCLR and PSRSET
6754 instructions of the M340.
6755 (md_assemble): Add support for the MULSH and OPSR classes of
6757 (md_atof): Add support for little endian targets.
6758 (md_parse_option): Add support for -EL, -EB and -mcpu command
6760 (md_convert_frag): Add support for little endian targets.
6761 (md_apply_fix3): Add support for little endian targets.
6762 (md_number_to_chars): Add support for little endian targets.
6764 2000-02-10 Timothy Wall <twall@redhat.com>
6766 * read.c (read_a_source_file): If TC_START_LABEL_WITHOUT_COLON is
6767 defined, use it to verify the symbol just read should be a label.
6769 2000-02-10 Timothy Wall <twall@redhat.com>
6771 * app.c (do_scrub_chars): Handle "||" for parallel instructions
6772 when DOUBLEBAR_PARALLEL is defined. Avoid stripping whitespace
6773 around colons when KEEP_WHITE_AROUND_COLON is defined.
6774 * doc/internals.texi (CPU backend): Document DOUBLEBAR_PARALLEL
6775 and KEEP_WHITE_AROUND_COLON.
6777 2000-02-08 Timothy Wall <twall@redhat.com>
6779 * read.c (s_rept): Call do_repeat, which abstracts the repeat
6781 (do_repeat): New. Abstract repeat logic so that a "break" can be
6783 (end_repeat): New. Provide support for a "break" out of the
6785 * read.h: Add prototypes for new functions.
6787 2000-02-08 Timothy Wall <twall@redhat.com>
6789 * doc/internals.texi: Document NUMBERS_WITH_SUFFIX macro.
6790 * as.h: Provide a default NUMBERS_WITH_SUFFIX definition (zero).
6791 * expr.c: Handle numbers with suffixes if NUMBERS_WITH_SUFFIX is
6794 2000-02-08 Timothy Wall <twall@redhat.com>
6796 * read.c: Added elseif to directives table.
6797 * read.h: Added prototype for s_elseif.
6798 * doc/as.texinfo: Added description for elseif.
6799 * cond.c (s_elseif): New function
6801 2000-02-04 Timothy Wall <twall@redhat.com>
6803 * listing.c (print_lines): Remove conditionals causing bug in
6806 2000-02-03 Timothy Wall <twall@cygnus.com>
6808 * as.h: Define OCTETS_PER_BYTE and OCTETS_PER_BYTE_POWER
6810 * frags.c (frag_new): Calculate fr_fix in octets
6811 (frag_now_fix) Return offset as target address offset (bytes).
6812 (frag_now_fix_octets) New - Return offset in octets (8-bit
6814 * frags.h: Added prototype for frag_now_fix_octets().
6815 Distinguish between octets and bytes in field descriptions.
6816 * listing.c (calc_hex): Account for octets vs bytes when
6817 printing addresses/offsets.
6818 (print_lines) Ditto. Also, if LISTING_WORD_SIZE is not 1, and
6819 target is little-endian, print the octets in a word in big-endian
6820 order so that the display looks like a proper hexadecimal number,
6821 instead of having the octets reversed.
6822 * read.c (do_align): When recording alignment, alignment power
6823 should be in terms of target bytes (minimum addressible unit)
6825 (do_org) Convert ORG target address (byte) argument into an
6826 octet offset when generating a variable fragment.
6827 * symbols.c (resolve_symbol_value): Symbol final value
6828 converted to a target address offset (bytes) from its octet offset.
6829 * config/obj-coff.c (coff_frob_symbol): Symbol target address
6830 offset (bytes) is adjusted by the frag offset (octets) converted
6832 (coff_frob_section) Section alignment power is in terms of bytes;
6833 convert it to an octet alignment power when calculating size (and
6834 size mask) in octets. Don't modify the section size in order to
6835 "align" it for TI COFF, since that format has a different method
6836 for storing alignment information.
6838 2000-02-01 Timothy Wall <twall@cygnus.com>
6840 * stabs.c (generate_asm_file): Escape backslashes in stabs file
6841 entries, matching the way GCC generates them. If not escaped, the
6842 filename is encoded incorrectly.
6844 2000-01-31 Nick Clifton <nickc@cygnus.com>
6846 * config/tc-arm.c (reg_table): Add support for ATPCS register
6849 2000-01-31 Geoff Keating <geoffk@cygnus.com>
6851 * config/obj-coff.h (OBJ_COPY_SYMBOL_ATTRIBUTES): Don't define if
6853 * config/tc-ppc.h [OBJ_XCOFF] (OBJ_COPY_SYMBOL_ATTRIBUTES):
6855 * config/tc-ppc.c (ppc_fix_adjustable): Don't look at the frag
6856 of a symbol when we really care about its value.
6858 2000-01-19 Chandra Chavva <cchavva@cygnus.com>
6860 * config/tc-mcore.c (md_assemble): Give warning message if
6861 operands passes to instruction are more than the spec.
6863 2000-01-27 Thomas de Lellis <tdel@windriver.com>
6865 * config/tc-arm.c (armadjust_symtab): If the assembler is in
6866 Thumb mode but the label seen was not declared as '.thumb_func'
6867 then set the ST_INFO type to STT_ARM_16BIT mode. This allows
6868 correct disassembly of Thumb code bounded by non function labels.
6870 2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
6872 * Makefile.am (MULTI_CFILES): Add config/e-i386aout.c
6873 Add dependencies for e-i386aout.o. Fix 2 comment lines.
6875 * Makefile.in: Same here.
6878 * configure.in: Set bfd_gas for i386-aout when primary target
6879 is bfd. Handle i386aout emulation. Don't use te_file=multi, as
6880 we may need the primary te_file. Remove incorrect comment.
6882 * configure: Regenerate.
6884 * config/e-i386aout.c: New file.
6886 * as.c (USE_EMULATIONS): Move to before print_version_id.
6887 (struct emulation): Add i386aout.
6888 (show_usage): Split text strings. Reformat -a text. Add --em
6892 * obj.h (struct format_ops): Add s_get_other and s_get_desc.
6893 (aout_format_ops): New.
6896 * read.c (s_lcomm_internal): Rewrite OBJ_AOUT,OBJ_BOUT
6897 preprocessor conditional and add aout USE_EMULATIONS tests.
6898 (read_a_source_file): Don't pass error strings to printf as
6902 * gasp.c (exp_get_abs): Don't pass error strings to printf as
6904 (do_data): Same here.
6905 (process_file): And here.
6908 * symbols.c (colon): Rewrite "already defined" fatal message
6909 code for aout with USE_EMULATIONS.
6912 * config/obj-aout.c (OBJ_HEADER): Define.
6913 (obj_pseudo_table): Rename to aout_pseudo_table. Init all
6915 (obj_aout_frob_symbol): Expand S_GET_DESC, S_GET_TYPE,
6916 S_GET_OTHER, S_SET_TYPE macros since we don't need obj-multi
6918 (obj_aout_type): Expand S_SET_OTHER here too.
6919 (obj_read_begin_hook): Remove.
6920 (aout_pop_insert): New.
6921 (obj_aout_s_get_other): New.
6922 (obj_aout_s_get_desc): New.
6923 (aout_format_ops): New.
6926 * config/obj-aout.h (obj_pop_insert): Define so non-multi usage
6927 gets aout_pseudo_table.
6928 (aout_pseudo_table): Declare.
6929 (obj_read_begin_hook): Define.
6932 * config/obj-coff.c (obj_pseudo_table): Rename to
6934 (coff_pop_insert): Use coff_pseudo_table.
6935 (coff_sec_sym_ok_for_reloc): Remove.
6936 (coff_format_ops): Add 0 entries for s_get_size, s_set_size,
6937 and comment all zero entries and remove #if 0 code.
6940 * config/obj-coff.h (obj_pop_insert): Define.
6941 (coff_pseudo_table): Declare.
6944 * config/obj-ecoff.c (ecoff_format_ops): Add 0 entries for
6945 s_get_size, s_set_size. Comment all zero entries.
6948 * config/obj-elf.c (elf_s_get_other): New function.
6949 (obj_read_begin_hook): Rename to elf_obj_read_begin_hook.
6950 (obj_symbol_new_hook): Rename to elf_obj_symbol_new_hook.
6951 (elf_format_ops): Add elf_s_get_other, 0 s_get_size entry, and
6953 (obj_elf_parse_section_letters): Don't pass error strings to
6954 printf as format arg.
6957 * config/obj-elf.h (ECOFF_DEBUGGING): Define when
6959 (elf_s_get_other): Declare.
6960 (S_GET_OTHER) Define as elf_s_get_other if not already
6962 (S_SET_OTHER): Only define when not already defined.
6963 (elf_obj_read_begin_hook): Declare.
6964 (obj_read_begin_hook): Define.
6965 (elf_obj_symbol_new_hook): Declare.
6966 (obj_symbol_new_hook): Define.
6969 * config/obj-multi.h: Add copyright header and protect against
6970 multiple inclusion. Add * to all function pointers.
6971 (OBJ_HEADER): If defined, include it rather than other defines
6973 (obj_frob_file_after_relocs): Test for NULL.
6974 (obj_symbol_new_hook): Here too.
6975 (obj_sec_sym_ok_for_reloc): And here.
6976 (S_GET_OTHER): Define.
6977 (S_GET_DESC): Define.
6978 (ECOFF_DEBUGGING): Remove as it's done in obj-elf.h
6979 (OBJ_MAYBE_ELF): Update comment.
6981 * config/tc-i386.c (i386_immediate): Add OBJ_MAYBE_AOUT to
6982 OBJ_AOUT preprocessor conditional and handle emulation by
6983 testing OUTPUT_FLAVOR.
6984 (i386_displacement): Here too.
6985 (md_section_align): Similarly here.
6986 (i386_target_format): Conditionally compile when more than one
6987 of OBJ_MAYBE_{ELF,COFF,AOUT} defined. Add aout case.
6988 (i386_immediate): Fix error message for aout BFD_ASSMBLER.
6989 (i386_displacement): Here too.
6992 * config/tc-i386.h (AOUT_TARGET_FORMAT): Define for each TE_*.
6993 Define TARGET_FORMAT for aout only when not multi.
6996 * config/te-multi.h: Delete file as it's identical to te-generic.h
6998 2000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
7000 * config/tc-i386.h (DWORD_MNEM_SUFFIX): Delete.
7001 * config/tc-i386.c (DWORD_MNEM_SUFFIX): Rename all occurrences to
7004 * config/tc-i386.h (INTEL_DWORD_MNEM_SUFFIX): Rename to
7006 * config/tc-i386.c (INTEL_DWORD_MNEM_SUFFIX): Here too. Fix some
7009 2000-01-13 Clinton Popetz <cpopetz@cygnus.com>
7011 * config/tc-mips.c (mips_do_align): New function.
7012 * config/tc-mips.h (md_do_align): Define.
7014 2000-01-10 Philip Blundell <philb@gnu.org>
7016 * doc/c-arm.texi (ARM Options): Fix typo.
7017 (ARM-Chars): Correct description of `#'. Mention that `;' is a
7018 line separator for Linux.
7019 * doc/as.texinfo (Comments): Mention the ARM.
7021 2000-01-10 Philip Blundell <pb@futuretv.com>
7023 * configure.in (arm*-*-conix*): New target.
7024 (arm*-*-linux-gnu*): Match instead of arm-*-linux* and
7026 * configure: Regenerate.
7028 2000-01-03 Martin v. Loewis <loewis@informatik.hu-berlin.de>
7030 * config/obj-elf.c (elf_pseudo_table): Define visibility pseudos.
7031 (obj_elf_visibility): New function.
7033 * doc/as.texinfo (Visibility): New node: document visibility
7036 For older changes see ChangeLog-9899