1 2003-08-16 Alan Modra <amodra@bigpond.net.au>
3 * write.c (fixup_segment): When handling an expression involving
4 the subtraction of two symbols in the same segment, don't clear
5 fx_pcrel except for TC_M68K.
7 2003-08-14 Alan Modra <amodra@bigpond.net.au>
9 * config/tc-i386.h: Remove BFD_ASSEMBLER tests and all !BFD_ASSEMBLER
11 * config/tc-i386.c: Likewise.
12 (RELOC_ENUM): Don't define. Replace throughout with enum.
14 * dep-in.sed: Remove libintl.h. Ignore include/fopen-*.h
15 * Makefile.am (POTFILES.in): Unset LC_COLLATE.
17 * Makefile.in: Regenerate.
19 2003-08-08 Andreas Schwab <schwab@suse.de>
21 * config/tc-m68k.h (TARGET_USE_CFIPOP)
22 (DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT)
23 (tc_regname_to_dw2regnum, tc_cfi_frame_initial_instructions):
25 * config/tc-m68k.c: Include "dw2gencfi.h".
26 (tc_m68k_regname_to_dw2regnum)
27 (tc_m68k_frame_initial_instructions): New functions.
29 2003-08-08 Dmitry Diky <diwil@mail.ru>
31 * config/tc-msp430.c: Add xW42 and xE42 parts. Sort MPU list
32 according to gcc order.
34 2003-08-07 Jason Eckhardt <jle@rice.edu>
36 * config/tc-i860.c (i860_check_label): New function.
37 * config/tc-i860.h (i860_check_label): New prototype.
38 (tc_check_label): Define macro as i860_check_label.
40 2003-08-06 Jason Eckhardt <jle@rice.edu>
42 * config/tc-i860.c (s_align_wrapper): New function and prototype.
43 (md_pseudo_table): Change s_align_bytes to s_align_wrapper, remove
44 surrounding OBJ_ELF ifdef, and re-format slightly.
45 * doc/c-i860.texi: Document the special .align syntax available
48 2003-08-06 Jason Eckhardt <jle@rice.edu>
50 * config/tc-i860.c (i860_handle_align): New function.
51 * config/tc-i860.h (HANDLE_ALIGN): Define macro.
52 (MAX_MEM_FOR_RS_ALIGN_CODE): Define macro.
54 2003-08-06 Jason Eckhardt <jle@rice.edu>
56 * config/tc-i860.c (i860_process_insn): Check that instructions
57 with their dual-bit set are 8-byte aligned.
59 2003-08-06 Nick Clifton <nickc@redhat.com>
61 * po/fr.po: Updated French translation.
63 2003-08-05 Jason Eckhardt <jle@rice.edu>
65 * config/tc-i860.c (i860_process_insn): Don't handle dual-bit
66 setting during flop argument parsing. Instead, do it after
67 instruction is fully parsed.
69 2003-08-05 Jason Eckhardt <jle@rice.edu>
71 * doc/c-i860.texi: Mention that .dual, .enddual, and .atmp
72 directives are only available in Intel syntax mode.
74 2003-08-05 Jason Eckhardt <jle@rice.edu>
76 * config/tc-i860.c (s_dual): Accept .dual directive only in
77 the Intel syntax mode.
78 (s_enddual): Likewise for .enddual.
79 (s_atmp): Likewise for .atmp.
81 2003-08-04 Alan Modra <amodra@bigpond.net.au>
83 * config/tc-i386.c (i386_intel_operand): Always call i386_index_check
84 for memory operands. Pass the full operand_string to i386_index_check.
86 2003-08-01 Jason Eckhardt <jle@rice.edu>
88 * config/tc-i860.c: Remove SYNTAX_SVR4 macro and occurrences.
89 (target_intel_syntax): Declare variable.
90 (OPTION_INTEL_SYNTAX): Declare macro.
91 (md_longopts): Add option -mintel-syntax.
92 (md_parse_option): Set target_intel_syntax.
93 (md_show_usage): Add -mintel-syntax usage.
94 (md_begin): Set reg_prefix based on target_intel_syntax.
95 (i860_process_insn): Skip register prefix only if there is one.
96 Parse relocatable expressions in either Intel or AT&T syntax based
97 on target_intel_syntax instead of the SYNTAX_SVR4 macro.
98 * doc/c-i860.texi: Document -mintel-syntax option and give blurb
99 about the differences in syntax.
101 2003-08-01 Dmitry Diky <diwil@mail.ru>
103 * config/tc-msp430.c (msp430_srcoperand): Extend 'push' bug workaround
106 2003-07-30 J"orn Rennecke <joern.rennecke@superh.com>
108 * config/tc-sh.c (md_assemble): For branches, check & update
111 2003-07-30 Jason Eckhardt <jle@rice.edu>
113 * config/tc-i860.c: Convert to ISO C90.
115 2003-07-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
117 * read.c (s_space): Revert 2003-07-28 change.
119 2003-07-30 Alan Modra <amodra@bigpond.net.au>
121 * config/obj-elf.c (obj_elf_change_section): Allow "x" for .note*.
123 2003-07-29 Alan Modra <amodra@bigpond.net.au>
125 * config/tc-sh.c (tc_gen_reloc): Test for R_SH_IND12W only when ELF.
127 2003-07-29 Jakub Jelinek <jakub@redhat.com>
129 * config/tc-ppc.c (md_apply_fix3): Fix check for lq insns.
131 2003-07-28 H.J. Lu <hongjiu.lu@intel.com>
133 * config/obj-elf.c (obj_elf_section_type): Also accept "note".
135 2003-07-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
137 * read.c (s_space): Don't warn about .space 0.
139 2003-07-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
141 * config/tc-mips.c (mips_flag_pdr): Define.
142 (md_begin) [OBJ_ELF]: Use it to control .pdr creation.
143 (s_mips_end) [OBJ_ELF]: Likewise.
144 (md_longopts) [OBJ_ELF]: Define OPTION_PDR, OPTION_NO_PDR.
145 (md_parse_option) [OBJ_ELF]: Handle them.
146 (md_show_usage) [OBJ_ELF]: Document -mpdr, -mno-pdr.
148 * doc/c-mips.texi (MIPS Opts): Document -mpdr, -mno-pdr.
149 * doc/as.texinfo (Overview) [MIPS]: Likewise.
151 2003-07-25 H.J. Lu <hongjiu.lu@intel.com>
153 * config/obj-elf.c (obj_elf_change_section): Update
154 elf_section_type and elf_section_flags only when they are
157 2003-07-25 H.J. Lu <hongjiu.lu@intel.com>
159 * config/obj-elf.c (obj_elf_change_section): Always set section
162 2003-07-25 H.J. Lu <hongjiu.lu@intel.com>
164 * config/obj-elf.c (special_sections): Removed.
165 (obj_elf_change_section): Call _bfd_elf_get_sec_type_attr. Set
166 elf_section_type and elf_section_flags.
167 (elf_frob_file): Set SHT_GROUP.
169 * config/obj-elf.h (obj_sec_set_private_data): New.
171 * config/tc-alpha.h (ELF_TC_SPECIAL_SECTIONS): Removed.
172 * config/tc-ia64.h: Likewise.
173 * config/tc-m32r.h: Likewise.
174 * config/tc-m68hc11.h: Likewise.
175 * config/tc-mcore.h: Likewise.
176 * config/tc-mips.h: Likewise.
177 * config/tc-ppc.h: Likewise.
178 * config/tc-sh64.h: Likewise.
179 * config/tc-v850.h: Likewise.
180 * config/tc-xtensa.h: Likewise.
182 * config/tc-v850.h (SHF_V850_GPREL): Removed.
183 (SHF_V850_EPREL): Likewise.
184 (SHF_V850_R0REL): Likewise.
186 * subsegs.c (subseg_get): Call obj_sec_set_private_data if it
189 2003-07-24 Stephane Carrez <stcarrez@nerim.fr>
191 * config/tc-m68hc11.h (DWARF2_ADDR_SIZE): Use 32-bit address for
192 debugging symbols so that we handle page memory correctly.
194 2003-07-24 Nick Clifton <nickc@redhat.com>
196 * po/fr.po: Updated French translation.
198 2003-07-23 Daniel Jacobowitz <drow@mvista.com>
200 * config/tc-arm.c (arm_archs): Add iwmmxt.
202 2003-07-22 H.J. Lu <hongjiu.lu@intel.com>
204 * read.c (do_parse_cons_expression): Mark nbytes unused to
207 2003-07-22 Alexandre Oliva <aoliva@redhat.com>
209 * config/tc-h8300.c (get_specific): No PCREL8 encoding for bsr/bc
212 * config/tc-h8300.c (md_assemble): Make sure characters after
213 slash and dot are lower-case.
215 2003-07-17 Nick Clifton <nickc@redhat.com>
217 * po/es.po: New Spanish translation.
218 * po/tr.po: New Turkish translation.
219 * po/opcodes.pot: Regenerate.
221 2003-07-16 Alan Modra <amodra@bigpond.net.au>
223 * dwarf2dbg.c (get_frag_fix): Revert 2001-11-15 change.
224 (generic_dwarf2_emit_offset): Don't define function when
225 TC__DWARF2_EMIT_OFFSET is defined.
227 2003-07-15 Richard Sandiford <rsandifo@redhat.com>
229 * config/tc-mips.c (hilo_interlocks): True for CPU_RM7000.
230 (mips_cpu_info_table): Add rm7000 and rm9000 entries.
231 * doc/c-mips.texi: Document -march=rm9000.
233 2003-07-15 Alan Modra <amodra@bigpond.net.au>
235 * config/tc-v850.c (md_assemble): When no reloc, create pcrel fixups
236 only for V850_OPERAND_DISP operands.
238 2003-07-15 Alan Modra <amodra@bigpond.net.au>
240 * frags.c (frag_more): Move segment checks to..
241 (frag_alloc_check): ..here. New function.
242 (frag_append_1_char): Call frag_alloc_check.
244 2003-07-14 Nick Clifton <nickc@redhat.com>
246 * po/tr.po: Update with latest version.
247 * po/POTFILES.in: Regenerate.
248 * po/gas.pot: Regenerate.
249 * configure: Regenerate.
251 2003-07-14 Nick Clifton <nickc@redhat.com>
253 * config/tc-ip2k.c: Remove inclusion of <ctype.h>
254 * config/tc-tic4x.c: Replace inclusion of <ctype.h> with
255 "safe-ctype.h" and update use of macros.
256 * Makefile.am: Update dependencies.
257 * Makefile.in: Regenerate.
259 2003-07-11 Alan Modra <amodra@bigpond.net.au>
261 * po/gas.pot: Regenerate.
263 2003-07-10 Jakub Jelinek <jakub@redhat.com>
265 * config/tc-ppc.h (DWARF2_LINE_MIN_INSN_LENGTH): Define always.
266 (TARGET_USE_CFIPOP, tc_cfi_frame_initial_instructions,
267 tc_regname_to_dw2regnum, DWARF2_DEFAULT_RETURN_COLUMN,
268 DWARF2_CIE_DATA_ALIGNMENT): Define.
269 (ppc_cfi_frame_initial_instructions, tc_ppc_regname_to_dw2regnum): New
271 (ppc_cie_data_alignment): Declare.
272 * config/tc-ppc.c: Include dw2gencfi.h.
273 (ppc_cie_data_alignment): Define.
274 (md_begin): Initialize ppc_cie_data_alignment.
275 (ppc_cfi_frame_initial_instructions, tc_ppc_regname_to_dw2regnum): New
277 * config/tc-s390.h (DWARF2_LINE_MIN_INSN_LENGTH): Define always.
278 (TARGET_USE_CFIPOP, tc_cfi_frame_initial_instructions,
279 tc_regname_to_dw2regnum, DWARF2_DEFAULT_RETURN_COLUMN,
280 DWARF2_CIE_DATA_ALIGNMENT): Define.
281 (s390_cfi_frame_initial_instructions, tc_s390_regname_to_dw2regnum):
283 (s390_cie_data_alignment): Declare.
284 * config/tc-s390.c: Include dw2gencfi.h.
285 (s390_cie_data_alignment): Define.
286 (md_begin): Initialize s390_cie_data_alignment.
287 (s390_cfi_frame_initial_instructions, tc_s390_regname_to_dw2regnum):
290 2003-07-10 Alexandre Oliva <aoliva@redhat.com>
292 2002-12-12 Alexandre Oliva <aoliva@redhat.com>
293 * config/tc-mn10300.h (EXTERN_FORCE_RELOC): Don't define to zero.
294 2001-05-09 Alexandre Oliva <aoliva@redhat.com>
295 * configure.in (am33_2.0, mn10300-*-linux*): Added.
296 * configure: Rebuilt.
297 * config/tc-mn10300.h (TARGET_FORMAT) [TE_LINUX]: Define to
299 * config/tc-mn10300.c (md_begin) [TE_LINUX]: Choose AM33/2.0
302 2003-07-09 Alexandre Oliva <aoliva@redhat.com>
304 2003-02-25 Alexandre Oliva <aoliva@redhat.com>
305 * config/tc-mn10300.c (mn10300_check_fixup): Set GOT_PCREL type
306 for subtracts from GLOBAL_OFFSET_TABLE that could not be
308 2002-07-18 Alexandre Oliva <aoliva@redhat.com>
309 * config/tc-mn10300.c (mn10300_check_fixup): Accept subtracts that
310 could not be simplified.
311 (tc_gen_reloc): Turn an absolute fx_subsy into part of fx_offset.
312 2001-11-04 Alexandre Oliva <aoliva@redhat.com>
313 * config/tc-mn10300.h (TC_RELOC_RTSYM_LOC_FIXUP): Don't adjust
314 BDF_RELOC_MN10300_GOT32.
315 * config/tc-mn10300.c (mn10300_fix_adjustable): If
316 TC_RELOC_RTSYM_LOC_FIXUP doesn't hold, it's not adjustable.
317 2001-05-09 Alexandre Oliva <aoliva@redhat.com>
318 * config/tc-mn10300.c (mn10300_parse_name): Don't return a
319 symbol if we know its value.
320 2001-05-09 Alexandre Oliva <aoliva@redhat.com>
321 * config/tc-mn10300.h (GLOBAL_OFFSET_TABLE_NAME): Remove
322 duplicate underscore prefix.
323 2001-05-09 Alexandre Oliva <aoliva@redhat.com>
324 * config/tc-mn10300.c (mn10300_parse_name): Store relocation
325 type in X_md, not X_add_number. Zero X_add_number.
326 (mn10300_check_fixup): Extract relocation type from X_md.
327 * config/tc-mn10300.h: Update comment.
328 2001-04-14 Alexandre Oliva <aoliva@redhat.com>
329 * config/tc-mn10300.h (O_GOTOFF, O_PLT, O_GOT): Replace with...
331 * config/tc-mn10300.c (mn10300_PIC_related_p): Use it.
332 (mn10300_check_fixup): Likewise.
333 (mn10300_parse_name): Set X_add_number to relocation type.
334 * config/tc-mn10300.h (DIFF_EXPR_OK, GLOBAL_OFFSET_TABLE_NAME,
335 TC_RELOC_RTSYM_LOC_FIXUP, md_parse_name, TC_CONS_FIX_NEW,
336 O_GOTOFF, O_PLT, O_GOT): Define.
337 * config/tc-mn10300.c (mn10300_PIC_related_p): New fn.
338 (mn10300_check_fixup): New fn.
339 (md_assemble): Call it. Check for PIC-related relocs.
340 (mn10300_cons_fix_new): Likewise. New fn.
341 (mn10300_end_of_match): New fn.
342 (mn10300_md_parse_name_cont): New fn.
344 2003-07-09 Alexandre Oliva <aoliva@redhat.com>
346 2000-05-25 Alexandre Oliva <aoliva@cygnus.com>
347 * config/tc-mn10300.c (mn10300_insert_operand): Negate negative
349 2000-05-08 Alexandre Oliva <aoliva@cygnus.com>
350 * config/tc-mn10300.c (md_relax_table, md_convert_frag,
351 md_assemble, md_estimate_size_before_relax): Handle fbCC.
352 2000-04-20 Alexandre Oliva <aoliva@cygnus.com>
353 * config/tc-mn10300.c (HAVE_AM33): Redefine in terms of
355 2000-04-03 Alexandre Oliva <aoliva@cygnus.com>
356 * config/tc-mn10300.c (md_pseudo_table): Use AM33_2 constant.
357 (HAVE_AM33): Match AM33_2 too.
358 (HAVE_AM33_2): New macro.
359 (md_assemble): Use it. Match 2.0 registers only if HAVE_AM33_2.
360 2000-04-01 Alexandre Oliva <aoliva@cygnus.com>
361 * config/tc-mn10300.c (md_pseudo_table): Added `am33_2'.
362 (float_registers, double_registers): New variables.
363 (float_register_name, double_register_name): New functions.
364 (md_assemble): Recognize FP registers. Implement FMT_D3.
365 (mn10300_insert_operand): Support FP registers.
367 2003-07-08 Chris Demetriou <cgd@broadcom.com>
369 * config/tc-mips.c (mips_validate_fix): Do not warn about branch
370 target being a global symbol if not compiling SVR4 PIC code.
372 2003-07-07 Nick Clifton <nickc@redhat.com>
374 * doc/c-m32r.texi (M32R-Directives): New node. Document the
375 .high, .shigh and .low directives.
377 2003-07-07 Richard Sandiford <rsandifo@redhat.com>
379 * config/tc-h8300.c (h8300sxnmode): Add prototype.
381 (parse_exp): Replace expressionS argument with a h8_op. Parse the
382 operand size as well.
383 (skip_colonthing): Remove unused expression argument. Tighten checks
385 (colonmod24): Remove.
386 (get_mova_operands): Combine calls to parse_exp and skip_colonthing.
387 (get_operand): Likewise. Use the standard code to read the size of
388 pc-relative operands.
389 (fix_operand_size): Include the size-guessing logic that used to be
390 in colonmod24 and get_operand. Don't apply dd:2 optimizations to
391 offsets with a symbolic component.
393 2003-07-04 Nick Clifton <nickc@redhat.com>
395 * config/tc-i386.c (tc_x86_regname_to_dw2regnum): Use ARRAY_SIZE
396 macro to compute size of selected register name array.
398 2003-07-01 Martin Schwidefsky <schwidefsky@de.ibm.com>
400 * config/tc-s390.c (md_parse_option): Add cpu type z990.
401 (md_begin): Add minimal cpu type logic for instructions with different
402 binary format depending on the cpu.
403 (md_assemble): Remove check for minimal cpu.
404 (s390_insert_operand): Add support for long displacements.
405 (md_gather_operands): Likewise.
406 (tc_s390_fix_adjustable): Likewise.
407 (tc_s390_force_relocation): Likewise.
408 (md_apply_fix3): Likewise.
410 2003-06-30 Chris Demetriou <cgd@broadcom.com>
412 * config/tc-mips.c (s_mipsset): Implement -march= handling
415 2003-06-30 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
417 * config/tc-mips.c: Convert to ISO C90 prototypes. Remove unnecessary
418 prototypes and casts. Replace PTR with void *. Reformat.
419 * config/tc-mips.h: Likewise.
421 2003-06-30 Alan Modra <amodra@bigpond.net.au>
423 * config/tc-ia64.c (note_register_values): Warning fix.
424 * config/tc-mips.c (append_insn): Likewise.
426 2003-06-29 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
428 * config/tc-mips.c (mips_set_options,mips_opts): Support for
430 (file_mips_arch): Rename mips_arch.
431 (mips_arch_info,mips_tune_info): Remove.
432 (hilo_interlocks,gpr_interlocks,cop_interlocks): Use mips_opts.arch.
433 (mips_cpu_info_from_arch): New function.
434 (md_begin): Use file_mips_arch.
435 (macro_build,macro,mips_ip): Use mips_opts.arch.
436 (mips_set_architecture): Init file_mips_arch and mips_opts.arch.
437 (mips_after_parse_args): Remove mips_arch_info and mips_tune_info.
439 (s_mipsset): Support for .set arch=FOO.
440 (mips_cpu_info_table): Fix typo.
442 2003-06-26 H.J. Lu <hongjiu.lu@intel.com>
444 * config/tc-i386.c (md_assemble): Declare "exp" before "if".
446 2003-06-25 Richard Sandiford <rsandifo@redhat.com>
448 * config/tc-h8300.c (get_specific): Allow ':8' to be used for
449 unsigned 8-bit operands.
451 2003-06-24 Nick Clifton <nickc@redhat.com>
453 * read.c (s_comm): Change error message to assume an unsigned size
454 has been passed to .comm.
455 * config/tc-sparc.c (s_common): Likewise.
456 * write.c (write_contents): Replace 'unsigned long' with
457 'addressT' and 'long' with offsetT in order to allow computations
458 with very large values to work for 64-bit addressed targets.
459 (relax_and_size_all_segments): Likewise.
460 (relax_frag): Likewise.
461 (relax_segment): Likewise.
463 2003-06-23 Mark Mitchell <mark@codesourcery.com>
465 * config/tc-ppc.c (ppc_cleanup): Use bytes to count APUinfo slots.
467 2003-06-23 H.J. Lu <hongjiu.lu@intel.com>
469 * gas/config/tc-i386.c (md_assemble): Support Intel Precott New
472 * gas/config/tc-i386.h (CpuPNI): New.
473 (CpuUnknownFlags): Add CpuPNI.
475 2003-06-23 <davidm@hpl.hp.com>
477 * config/tc-ia64.c (pseudo_func): Add ABI constants for linux,
478 freebsd, openvms, and nsk (non-stop kernel).
480 2003-06-22 Jason Thorpe <thorpej@wasabisystems.com>
482 * config/tc-ns32k.c (md_begin): Initialize inst_hash_table after
483 all locals have been declared.
485 2003-06-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
487 * config/tc-mips.c (ADDRESS_ADD_INSN,ADDRESS_ADDI_INSN): Remove
488 special handling for n32 ABI.
491 2003-06-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
493 * config/tc-mips.c (s_cpsetup,s_cprestore,s_cpreturn): Revert
496 2003-06-19 Christian Groessler <chris@groessler.org>
498 * config/tc-z8k.c (parse_reg): Invalid registers generate an error
499 now, not only a warning. Add some more checks to detect invalid
501 (get_operand): For CLASS_IR remember register size in mode struct.
502 (get_specific): Handle new CLASS_IRO type. Add register size
503 checks for CLASS_IR and CLASS_IRO.
504 (md_apply_fix3): Fix undefined usage of buf.
506 2003-06-19 Alan Modra <amodra@bigpond.net.au>
508 * config/tc-ppc.c (ppc_csect): Pass alignment to ppc_change_csect.
509 (ppc_change_csect): Add align param. Align frag at start of csect.
510 (ppc_section, ppc_named_section): Adjust ppc_change_csect calls.
511 (ppc_frob_section): Align vma.
513 2003-06-18 Jakub Jelinek <jakub@redhat.com>
515 * dw2gencfi.c (EH_FRAME_ALIGNMENT): Define if not defined.
516 (output_cie): Don't pad.
517 (output_fde): Add align argument. Pad to align if not 0.
518 (cfi_finish): Set .eh_frame alignment to EH_FRAME_ALIGNMENT.
519 Pad just last FDE to EH_FRAME_ALIGNMENT.
521 2003-06-18 Martin Schwidefsky <schwidefsky@de.ibm.com>
523 * config/tc-s390.c (init_default_arch): Make current_mode_mask
524 dependent on s390_arch_size and current_cpu dependent on
527 2003-06-18 Svein E. Seldal <Svein.Seldal@solidas.com>
529 * configure.in: Add c4x as an architecture variant to tic4x.
530 * configure: Regenerate.
531 * Makefile.in: Regenerate.
532 * doc/Makefile.in: Regenerate.
534 2003-06-18 Alan Modra <amodra@bigpond.net.au>
536 * config/tc-ppc.c (ppc_elf_suffix): Don't remove symbols other than
537 ".TOC." from PPC64_TOC relocs.
539 2003-06-17 Alan Modra <amodra@bigpond.net.au>
541 * config/tc-ppc.c (md_apply_fix3): Allow BRTAKEN, BRNTAKEN relocs.
543 2003-06-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
545 * config/tc-mips.c (ADDRESS_ADD_INSN,ADDRESS_ADDI_INSN,
546 ADDRESS_LOAD_INSN,ADDRESS_STORE_INSN): New macros.
547 (macro_build_ldst_constoffset,load_address,macro,s_cpsetup,
548 s_cprestore,s_cpadd): Use them.
550 2003-06-16 Hans-Peter Nilsson <hp@axis.com>
552 * configure.in: Add specific case for cris-*-linux-gnu* with
554 * configure: Regenerate.
555 * config/tc-cris.c (DEFAULT_CRIS_AXIS_LINUX_GNU): New macro, TRUE
556 if TE_LINUX defined, else FALSE.
557 (bfd_boolean demand_register_prefix): Set default from
558 DEFAULT_CRIS_AXIS_LINUX_GNU.
559 (symbols_have_leading_underscore): Similar.
560 * config/tc-cris.h (LOCAL_LABELS_DOLLAR): Define to 1.
562 2003-06-13 Richard Earnshaw <rearnsha@arm.com>
564 * tc-arm.c (FPU_DEFAULT, case TE_LINUX): Default to FPU_ARCH_FPA.
565 (FPU_DEFAULT, case TE_NetBSD): Default to FPU_ARCH_VFP for ELF,
566 FPU_ARCH_FPA for AOUT.
567 (md_begin): Don't try to guess the floating point architecture from
568 the CPU if the OS ABI (Linux, NetBSD) mandates a particular form.
570 2003-06-13 Robert Millan <zeratul2@wanadoo.es>
572 * configure.in: Add i386-netbsd-gnu target.
573 * configure: Regenerate.
575 2003-06-12 Tom Tromey <tromey@redhat.com>
577 * doc/as.texinfo (Comm): Added @node. Moved before CFI
580 2003-06-12 Richard Sandiford <rsandifo@redhat.com>
582 * config/tc-mips.c (append_insn): In a compound relocation, take the
583 field width from the final (outermost) operator.
585 2003-06-11 Richard Henderson <rth@redhat.com>
587 * dw2gencfi.c (struct cfi_escape_data): New.
588 (cfi_add_CFA_nop): Remove.
589 (CFI_escape, dot_cfi_escape): New.
590 (dot_cfi): Remove nop.
591 (cfi_pseudo_table): Remove nop; add escape.
592 (output_cfi_insn): Likewise.
593 (select_cie_for_fde): Stop on escape.
594 * dw2gencfi.h (cfi_add_CFA_nop): Remove.
595 * read.c, read.h (do_parse_cons_expression): New.
596 * doc/as.texinfo (.cfi_escape): New.
598 2003-06-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
600 * config/tc-mips.c (s_cpsetup): Use mips_frame_reg instead of SP.
601 (s_cprestore): Likewise.
602 (s_cpreturn): Likewise.
604 2003-06-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
606 * config/tc-mips.c (tc_gen_reloc): Initialize retval amd reloc
609 2003-06-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
611 * config/tc-mips.c (md_pcrel_from): Return actual pcrel address.
612 (md_apply_fix3): Ignore non-special relocations. Remove superfluous
613 exceptions from size assert. Remove most of the addend fixup
614 specialcasing. Remove value, use valP directly. simplify fx_addnumber
615 handling. Remove zero addend specialcases.
616 (tc_gen_reloc): Use appropriate value for reloc2 addend. Remove
617 the addend fixup specialcase.
618 * config/tc-mips.h (MD_APPLY_SYM_VALUE): Define as 0.
620 2003-06-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
622 * write.c (write_relocs): Use xcalloc. Fix relocs initialization
623 in the RELOC_EXPANSION_POSSIBLE case.
625 2003-06-11 Alan Modra <amodra@bigpond.net.au>
627 * config/tc-i960.c (line_comment_chars): Add '#'.
628 * config/tc-mn10200.c (tc_gen_reloc): Don't ignore fx_subsy.
630 2003-06-11 H.J. Lu <hongjiu.lu@intel.com>
632 * po/Make-in (DESTDIR): New.
633 (install-data-yes): Support $(DESTDIR).
634 (uninstall): Likewise.
636 2003-06-11 Alan Modra <amodra@bigpond.net.au>
638 * Makefile.am: Run "make dep-am".
639 * Makefile.in: Regenerate.
640 * po/POTFILES.in: Regenerate.
642 2003-06-10 Doug Evans <dje@sebabeach.org>
644 * cgen.c (gas_cgen_finish_insn): CGEN_INSN_RELAX renamed to
646 * config/tc-fr30.c (md_estimate_size_before_relax): Ditto.
647 * config/tc-m32r.c (md_estimate_size_before_relax): Ditto.
648 * config/tc-openrisc.c (md_estimate_size_before_relax): Ditto.
650 2003-06-10 Alan Modra <amodra@bigpond.net.au>
651 Gary Hade <garyhade@us.ibm.com>
653 * config/tc-ppc.c (md_assemble): Handle PPC_OPERAND_DQ.
654 (md_apply_fix3): Special case lq insn.
656 2003-06-10 Richard Sandiford <rsandifo@redhat.com>
658 * config/tc-h8300.c (get_rtsl_operands): Accept unbracketed register
659 lists. Allow single-register ranges.
661 2003-06-10 Richard Sandiford <rsandifo@redhat.com>
663 * config/tc-h8300.c (h8300sxnmode): New.
664 (md_pseudo_table): Add .h8300sxn entry.
666 2003-06-09 H.J. Lu <hongjiu.lu@intel.com>
668 * NEWS: Updated for the new -n option for the i386 assembler.
670 * config/tc-i386.c (optimize_align_code): New.
671 (md_shortopts): Add 'n'.
672 (md_parse_option): Handle 'n'.
673 (md_show_usage): Add '-n'.
675 * config/tc-i386.h (optimize_align_code): Declared.
676 (md_do_align): Optimize code alignment only if optimize_align_code
679 * doc/as.texinfo: Add the new -n option.
681 * doc/c-i386.texi: Document the new -n option.
683 2003-06-07 Richard Henderson <rth@redhat.com>
685 * doc/as.texinfo: Document .cfi_rel_offset.
687 * dw2gencfi.c (struct cfa_save_data, cfa_save_stack): New.
688 (cfi_add_CFA_offset): Detect invalid offsets.
689 (cfi_add_CFA_remember_state): Save cur_cfa_offset.
690 (cfi_add_CFA_restore_state): Restore it.
691 (CFI_rel_offset): New.
692 (cfi_pseudo_table): Add it.
693 (dot_cfi): Handle it.
695 2003-06-07 H.J. Lu <hongjiu.lu@intel.com>
697 * app.c (do_scrub_chars): Add states 14 and 15 to handle
700 2003-06-05 Michael Snyder <msnyder@redhat.com>
702 * config/tc-h8sx.c (get_specific): Distinguish h8h from h8s ops.
703 (build_bytes): Ditto.
705 2003-06-05 Richard Sandiford <rsandifo@redhat.com>
707 * config/tc-h8sx.c (DMODE): Remove.
708 (colonmod24): Don't choose a default if the operand is a 16-bit
710 (fix_operand_size): New function.
711 (md_assemble): Use it to choose between @(d:2, ERn) and @(d:16,ERn).
712 Adjust @(d:2,ERn) operands before choosing the specific opcodes.
714 2003-06-05 Michal Ludvig <mludvig@suse.cz>
716 * dw2gencfi.c (cfi_add_CFA_insn, cfi_add_CFA_insn_reg)
717 (cfi_add_CFA_insn_reg_reg, cfi_add_CFA_insn_reg_offset): New.
718 (cfi_add_CFA_offset, cfi_add_CFA_def_cfa)
719 (cfi_add_CFA_register, cfi_add_CFA_def_cfa_register)
720 (cfi_add_CFA_def_cfa_offset): Use cfi_add_CFA_insn_*().
721 (cfi_add_CFA_restore, cfi_add_CFA_undefined)
722 (cfi_add_CFA_same_value, cfi_add_CFA_remember_state)
723 (cfi_add_CFA_restore_state, cfi_add_CFA_nop): New.
724 (cfi_pseudo_table): New directives .cfi_return_column,
725 .cfi_restore, .cfi_undefined, .cfi_same_value,
726 .cfi_remember_state, .cfi_restore_state, .cfi_nop.
727 (dot_cfi, output_cfi_insn): Handle new directives.
728 * dw2gencfi.h (cfi_add_CFA_restore, cfi_add_CFA_undefined)
729 (cfi_add_CFA_same_value, cfi_add_CFA_remember_state)
730 (cfi_add_CFA_restore_state, cfi_add_CFA_nop): New prototypes.
732 2003-06-04 Richard Henderson <rth@redhat.com>
734 * dw2gencfi.c (output_cfi_insn): Fix typo for negative offsets.
736 * dw2gencfi.c (cfi_finish): Set .eh_frame read-only.
738 2003-06-04 Richard Henderson <rth@redhat.com>
740 * config/tc-alpha.c (s_alpha_usepv): New.
741 (md_pseudo_table): Add it.
742 (alpha_cfi_frame_initial_instructions): New.
743 * config/tc-alpha.h (TARGET_USE_CFIPOP): New.
744 (tc_cfi_frame_initial_instructions): New.
745 * doc/c-alpha.texi: Document .usepv.
747 2003-06-04 Jakub Jelinek <jakub@redhat.com>
749 * as.c (show_usage): Document --execstack and --noexecstack.
750 (parse_args): Add --execstack and --noexecstack.
751 (main): Create .note.GNU-stack section if --execstack or
752 --noexecstack was given on comand line, set its SHF_EXECINSTR bit.
753 * as.h (flag_execstack, flag_noexecstack): New.
755 2003-06-03 Chris Demetriou <cgd@broadcom.com>
757 * config/tc-mips.c: (OPTION_ARCH_BASE, OPTION_ASE_BASE)
758 (OPTION_COMPAT_ARCH_BASE, OPTION_FIX_BASE)
759 (OPTION_MISC_BASE): New defines.
760 (OPTION_BREAK, OPTION_CONSTRUCT_FLOATS, OPTION_EB, OPTION_EL)
761 (OPTION_ELF_BASE, OPTION_FIX_VR4122, OPTION_FP32, OPTION_FP64)
762 (OPTION_GP32, OPTION_GP64, OPTION_M3900, OPTION_M4010, OPTION_M4100)
763 (OPTION_M4650, OPTION_M7000_HILO_FIX, OPTION_MARCH, OPTION_MDMX)
764 (OPTION_MEMBEDDED_PIC, OPTION_MIPS1, OPTION_MIPS16, OPTION_MIPS2)
765 (OPTION_MIPS3, OPTION_MIPS32, OPTION_MIPS32R2, OPTION_MIPS3D)
766 (OPTION_MIPS4, OPTION_MIPS5, OPTION_MIPS64)
767 (OPTION_MNO_7000_HILO_FIX, OPTION_MTUNE, OPTION_NO_CONSTRUCT_FLOATS)
768 (OPTION_NO_FIX_VR4122, OPTION_NO_M3900, OPTION_NO_M4010)
769 (OPTION_NO_M4100, OPTION_NO_M4650, OPTION_NO_MDMX, OPTION_NO_MIPS16)
770 (OPTION_NO_MIPS3D, OPTION_NO_RELAX_BRANCH, OPTION_RELAX_BRANCH)
771 (OPTION_TRAP): Redefine in terms of new defines.
772 (md_longopts): Reorder entries.
774 2003-05-14 Michael Snyder <msnyder@redhat.com>
775 From Bernd Schmidt <bernds@redhat.com>
776 and Michael Snyder <msnyder@redhat.com>
777 and Alexandre Oliva <aoliva@redhat.com>
778 * config/tc-h8300.c: Add insns and addressing modes for h8300sx.
779 * config/tc-h8300.h: Ditto.
781 2003-06-03 Nick Clifton <nickc@redhat.com>
783 * tc-v850.c (tc-gen_reloc): Translate BFD_RELOC_32 into
784 BFD_RELOC_32_PCREL if the reloc is pc-relative. Do this
785 before calling bfd_reloc_type_lookup.
787 2003-06-02 Alan Modra <amodra@bigpond.net.au>
789 * read.c (emit_expr): Set dot_value.
790 * dw2gencfi.c (output_fde): Remove pcrel reloc hack.
792 2003-06-02 Alan Modra <amodra@bigpond.net.au>
794 * macro.c (sub_actual): Don't lose string if it turns out that
795 &string wasn't an arg.
797 2003-05-31 Richard Henderson <rth@redhat.com>
799 * dw2gencfi.c (output_fde): Use fix_new to emit pc-relative reloc.
800 (cfi_finish): Set flag_traditional_format around .eh_frame data.
802 2003-05-29 Richard Henderson <rth@redhat.com>
804 * config/tc-alpha.c (alpha_cur_ent_sym): Remove.
805 (all_frame_data, plast_frame_data, cur_frame_data): New.
806 (s_alpha_ent): Record data for dwarf2 cfi.
807 (s_alpha_end, s_alpha_mask, s_alpha_frame, s_alpha_prologue): Likewise.
808 (alpha_elf_md_end): Emit dwarf2 cfi for ecoff unwind directives.
809 * config/tc-alpha.h (md_end): New.
810 (DWARF2_DEFAULT_RETURN_COLUMN): New.
811 (DWARF2_CIE_DATA_ALIGNMENT): New.
813 2003-05-29 Nick Clifton <nickc@redhat.com>
815 * configure.in: Add i386-*-freebsd* entry.
816 * configure: Regenerate.
818 2003-05-29 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
820 * config/tc-m32r.c: Amend comment to refer to Renesas
822 2003-05-27 Richard Henderson <rth@redhat.com>
824 * expr.c (make_expr_symbol): Fold FAKE_LABEL_NAME use into the
826 (current_location): Use symbol_temp_new_now.
827 * stabs.c (s_stab_generic): Use symbol_temp_new.
828 * symbols.c (temp_label_name): Remove.
829 (symbol_temp_new, symbol_temp_make): Use FAKE_LABEL_NAME.
831 2003-05-27 Richard Henderson <rth@redhat.com>
833 * dw2gencfi.c, dw2gencfi.h: Rewrite from scratch.
834 * as.c (main): Always call cfi_finish.
835 * config/tc-i386.c (x86_dwarf2_return_column): New.
836 (x86_cie_data_alignment): New.
837 (md_begin): Set them.
838 (tc_x86_cfi_init): Remove.
839 (tc_x86_regname_to_dw2regnum): Fix 32-bit register numbers;
840 return int, not unsigned long; don't as_bad here.
841 (tc_x86_frame_initial_instructions): Streamline; use
843 * config/tc-i386.h (tc_cfi_init): Remove.
844 (DWARF2_DEFAULT_RETURN_COLUMN): New.
845 (DWARF2_CIE_DATA_ALIGNMENT): New.
847 2003-05-27 Richard Henderson <rth@redhat.com>
849 * symbols.c (temp_label_name): New.
850 (symbol_temp_new, symbol_temp_new_now, symbol_temp_make): New.
851 (symbol_set_value_now): New.
852 * symbols.h: Prototype them.
853 * dwarf2dbg.c: Use them.
854 (fake_label_name, symbol_new_now, set_symbol_value_now): Remove.
856 2003-05-23 Jason Eckhardt <jle@rice.edu>
858 * config/tc-i860.c (target_xp): Declare variable.
859 (OPTION_XP): Declare macro.
860 (md_longopts): Add option -mxp.
861 (md_parse_option): Set target_xp.
862 (md_show_usage): Add -mxp usage.
863 (i860_process_insn): Recognize XP registers bear, ccr, p0-p3.
864 (md_assemble): Don't try expansions if XP_ONLY is set.
865 * doc/c-i860.texi: Document -mxp option and i860XP support.
867 2003-05-23 Eric Christopher <echristo@redhat.com>
869 * config/tc-mips.c (macro_build_jalr): Warning patrol.
871 2003-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
873 * config/tc-mips.c (append_insn): Use actual relocation size for new
874 fixp's. Don't relax overflow checking for partial_inplace relocations.
875 Use the actual relocation type in combined relocs, not just the type
877 (macro_build_jalr): Use actual relocation size for new fix.
878 (s_cpsetup, s_gpdword): Likewise.
880 2003-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
882 * config/tc-mips.c (macro): Don't use uninitialized tempreg.
884 2003-05-22 Nick Clifton <nickc@redhat.com>
886 * config/tc-xstormy16.c (md_pcrel_from_section): Do not produce
887 section relative offsets for relocs that will not be based on the
889 (xstormy16_md_apply_fix3): Remove previous patch to this
892 2003-05-07 Eric Christopher <echristo@redhat.com>
894 * config/tc-mips.c (mips_abicalls): New variable.
895 (md_parse_option): Use.
898 (mips_elf_final_processing): Set EF_MIPS_PIC and
899 EF_MIPS_CPIC dependent on above.
901 2003-05-21 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
903 * tc-hppa.c (hppa_symbol_chars): Remove `,' and `!'.
905 2003-05-21 Nick Clifton <nickc@redhat.com>
907 * config/obj-elf.c: Include dwarf2dbg.h.
908 (elf_pseudo_tab): Add .file and .loc.
909 * config/tc-arc.c (md_pseudo_table): Remove .file and .loc.
910 * config/tc-arm.c: Likewise.
911 * config/tc-h8300.c: Likewise.
912 * config/tc-hppa.c: Likewise.
913 * config/tc-ia64.c: Likewise.
914 * config/tc-m68hc11.c: Likewise.
915 * config/tc-m68k.c: Likewise.
916 * config/tc-mmix.c: Likewise.
917 * config/tc-mn10300.c: Likewise.
918 * config/tc-ppc.c: Likewise.
919 * config/tc-sh.c: Likewise.
920 * config/tc-sparc.c: Likewise.
921 * config/tc-v850.c: Likewise.
922 * config/tc-frv.c: Likewise, and remove redundant inclusion of
924 * config/tc-ip2k.c: Likewise.
925 * config/tc-iq2000.c: Likewise.
926 * config/tc-xstormy16.c: Likewise.
927 * config/tc-xtensa.c: Likewise.
928 * Makefile.am: Regenerate dependencies.
929 * Makefile.in: Regenerate.
930 * aclocal.m4: Regenerate.
931 * config.in: Regenerate.
932 * configure: Regenerate.
933 * po/POTFILES.in: Regenerate.
934 * po/gas.pot: Regenerate.
936 2003-05-21 Nick Clifton <nickc@redhat.com>
938 * dw2gencfi.c (cfi_get_label): Use symbol_make for non
939 BFD_ASSEMBLER targets.
940 (cfi_startproc): Change type of saved_seg and cfi_seg to segT.
941 (dot_cfi_endproc): Only call bfd_set_section_flags for targets
942 defining BFD_ASSEMBLER.
944 2003-05-20 Michal Ludvig <mludvig@suse.cz>
946 * as.c (main): Remove tc_cfi_init().
947 * dw2gencfi.c (cfi_parse_arg): Allow regnames beginning
949 (cfi_pseudo_table): Add "cfi_register" entry.
950 (cfi_make_insn): Handle CFA_register.
951 (cfi_output_insn): Ditto.
953 (cfi_get_label): Add 'simple' modifier to .cfi_startproc.
954 (dot_cfi_endproc): Reuse already emitted CIEs.
955 * testsuite/gas/cfi/cfi-i386.d: New pattern.
956 * testsuite/gas/cfi/cfi-x86-64.d: Ditto.
958 2003-05-20 Nick Clifton <nickc@redhat.com>
960 * config/tc-xstormy16.c: Include dwarf2dbg.h.
961 (md_pseudo_table): Add entries for .loc and .line.
963 2003-05-20 Alan Modra <amodra@bigpond.net.au>
965 * dw2gencfi.c (cfi_parse_arg): Only use tc_regname_to_dw2regnum if
967 (dot_cfi_endproc): Avoid C99 construct.
969 2003-05-20 Michal Ludvig <mludvig@suse.cz>
971 * dw2gencfi.c, dw2gencfi.h: New files.
972 * config/tc-i386.c (tc_x86_cfi_init): New function.
973 * config/tc-i386.h (TARGET_USE_CFIPOP, tc_cfi_init): New defines.
974 * as.c (parse_args): Set verbose flag on --verbose.
975 (main): Call tc_cfi_init()/cfi_finish().
976 * as.h (verbose): New external variable.
977 * read.c (pobegin): Insert CFI pops to the list.
978 * symbols.c (local_symbol_make): Make symbol external.
979 * symbols.h (local_symbol_make): New prototype.
980 * Makefile.am: Add dw2gencfi.[ch] files. Run "make dep-am".
981 * Makefile.in: Regenerate.
982 * doc/as.texinfo: Added node "CFI directives" with description of
983 all implemented .cfi_* directives.
984 * doc/Makefile.in: Regenerate.
985 * po/POTFILES.in: Regenerate.
987 2003-05-19 Svein E. Seldal <Svein.Seldal@solidas.com>
989 * config/tc-tic4x.c (md_assemble): Added support for one-line parallel
991 * config/tc-tic4x.h: Added DOUBLEBAR_PARALLEL definition
993 2003-05-18 Jason Eckhardt <jle@rice.edu>
995 * config/tc-i860.c (i860_process_insn): Initialize fc after
996 each opcode mismatch.
998 2003-05-16 Kelley Cook <kelleycook@wideopenwest.com>
1000 * configure.in: Accept i[3-7]86 variants.
1001 * configure: Regenerate.
1003 2003-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1005 * config/tc-mips.h: Fix comment formatting.
1007 2003-05-13 Hans-Peter Nilsson <hp@axis.com>
1009 * read.c (old_buffer, old_input, old_limit): Remove variables.
1010 (read_a_source_file): Delete label contin.
1011 <handling #APP/#NO_APP>: Use an "sb" to push #APP expansion into
1012 input as with macros, instead of in separate old_* variables.
1013 Zero-terminate string being scrubbed.
1015 2003-05-12 Nick Clifton <nickc@redhat.com>
1017 * config/tc-xstormy16.c (skipping_fptr): New local variable.
1018 (md_assemble): Reset skipping_fptr.
1019 (md_operand): If @fptr() is followed by a minus sign, set
1020 skipping_fptr and ignore the fptr. If skipping_fptr is set and an
1021 @fptr is detected, ignore it and reset skipping_fptr.
1023 2003-05-11 Jason Eckhardt <jle@rice.edu>
1025 * config/tc-i860.c (MAX_FIXUPS): Define.
1026 (struct i860_fi fi[]): New struct.
1027 (struct i860_it the_insn): Add above as member and move fields
1028 exp, reloc, pcrel and fup into i860_fi.
1029 (md_assemble): Replace all instances of exp, reloc, pcrel
1030 and fup with fi[].exp, fi[].reloc, fi[].pcrel, fi[].fup.
1031 Add a loop to possibly emit multiple fix-ups for each insn.
1032 (i860_process_insn): Likewise.
1033 (i860_get_expression): Likewise.
1034 (md_apply_fix3): Use a bitwise check for OP_IMM_U5, not equality.
1036 2003-05-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
1038 * config/tc-s390.c (s390_target_format): Always call init_default_arch.
1040 2003-05-07 H.J. Lu <hongjiu.lu@intel.com>
1042 * config/tc-ia64.c (alias_hash): New.
1043 (alias_name_hash): New.
1044 (secalias_hash): New.
1045 (secalias_name_hash): New.
1046 (md_pseudo_table): Add "secalias".
1047 (md_begin): Initialize alias_hash, alias_name_hash,
1048 secalias_hash and secalias_name_hash.
1049 (struct alias): New.
1050 (dot_alias): Implement .alias and .secalias directives.
1052 (ia64_adjust_symtab): New.
1054 (ia64_frob_file): New.
1056 * config/tc-ia64.h (ia64_adjust_symtab): New.
1057 (tc_adjust_symtab): Defined.
1058 (ia64_frob_file): New.
1059 (tc_frob_file): Defined.
1061 2003-05-07 Dmitry Diky <diwil@mail.ru>
1063 * tc-msp430.c: Add missing lines to known cpus list.
1065 2003-05-06 Alexandre Oliva <aoliva@redhat.com>
1067 * configure.in (MIPS_DEFAULT_ABI): AC_DEFINE.
1068 * config/tc-mips.c (mips_after_parse_args): Set mips_abi to it.
1069 * config.in, configure: Rebuilt.
1071 2003-05-05 H.J. Lu <hjl@gnu.org>
1073 * config/tc-mips.c (tc_gen_reloc): Add addend just once if
1074 howto->partial_inplace is false.
1076 2003-05-05 Daniel Jacobowitz <drow@mvista.com>
1078 * config/tc-mips.c (mips_need_elf_addend_fixup): Remove
1079 symbol_used_in_reloc_p check.
1080 (md_apply_fix3): Remove check for howto->pcrel_offset.
1082 2003-05-03 H.J. Lu <hjl@gnu.org>
1084 * config/obj-elf.c (obj_elf_parse_section_letters): Make it a
1085 fatal error for unknown section attribute.
1087 * config/tc-alpha.c (alpha_elf_section_letter): Return -1 for
1088 unknown section attribute.
1089 * config/tc-ia64.c (ia64_elf_section_letter): Likewise.
1090 * config/tc-ppc.c (ppc_section_letter): Likewise.
1092 * config/tc-ia64.c (ia64_elf_section_letter): Handle 'o'.
1093 (ia64_elf_section_type): Accept "unwind".
1095 2003-05-02 H.J. Lu <hjl@gnu.org>
1097 * read.h (demand_copy_string): New.
1099 * config/tc-alpha.c (demand_copy_string): Removed.
1101 2003-05-02 Michael Snyder <msnyder@redhat.com>
1103 * write.h (FAKE_LABEL_NAME): Allow override
1104 (for targets that like eg. a leading dot in a local label).
1106 2003-05-02 Nick Clifton <nickc@redhat.com>
1108 * config/tc-xstormy16.c (xstormy16_md_apply_fix3): Do not bias the
1109 addend with the symbol's value for pc-relative relocations against
1110 a defined symbol - this will be done automatically.
1112 2003-05-01 H.J. Lu <hjl@gnu.org>
1114 * config/obj-elf.c (obj_elf_type): Accept "notype" and
1117 2003-05-01 H.J. Lu <hjl@gnu.org>
1119 * config/tc-ia64.h (tc_canonicalize_section_name): New.
1121 * config/obj-elf.c (obj_elf_section_name): Call
1122 tc_canonicalize_section_name if it is defined.
1124 2003-05-01 H.J. Lu <hjl@gnu.org>
1126 * config/tc-ia64.c (ia64_check_label): New.
1127 * config/tc-ia64.h (tc_check_label): New.
1129 * read.c (read_a_source_file): Call tc_check_label after
1130 creating a user-defined label if defined.
1132 2003-05-02 Alan Modra <amodra@bigpond.net.au>
1134 * config/tc-ppc.c (md_show_usage): Mention -a32, -a64, -l, -le, -b,
1135 -be and split strings to below 509 bytes in length.
1137 2003-05-01 Christian Groessler <chris@groessler.org>
1139 * expr.h: Fix comments in operatorT typedef.
1140 * config/tc-z8k.c: Add 2003 to copyright message.
1141 Fold s_segm() and s_unseg() into one function s_segm(parm) which
1142 decides by the parameter.
1143 (md_begin): Don't set linkrelax. Only set Z8002 default if no
1144 command line argument was given to select the intended
1146 (get_interrupt_operand): Warn if NOP type code is emitted.
1147 (newfix): New parameter 'size', forward it to 'fix_new_exp'.
1148 (apply_fix): Call newfix with additional 'size' parameter.
1149 (build_bytes): Remove unused variable 'nib'. Detect overflow in
1150 4 bit immediate arguments.
1151 (md_longopts): Add 'linkrelax' option.
1152 (md_parse_option): Adapt to new s_segm function. Set 'linkrelax'
1153 variable when 'linkrelax' command line option is specified.
1154 (md_show_usage): Display 'linkrelax' option.
1155 (md_apply_fix3): Fix cases R_IMM4L, R_JR, and R_IMM8. Add cases
1156 R_CALLR and R_REL16.
1157 * config/tc-z8k.h: Undef WARN_SIGNED_OVERFLOW_WORD.
1159 2003-04-30 H.J. Lu <hjl@gnu.org>
1161 * config/tc-ia64.c (ia64_number_to_chars): New function pointer.
1162 (ia64_float_to_chars): Likewise.
1163 (dot_byteorder): Set target_big_endian, ia64_number_to_chars
1164 and ia64_float_to_chars by tc_segment_info_data.endian from
1165 the current segment if byteorder == -1.
1166 (md_begin): Call dot_byteorder to set target_big_endian.
1167 (md_atof): Call ia64_float_to_chars to convert floating point.
1168 (ia64_float_to_chars_bigendian): New function.
1169 (ia64_float_to_chars_littleendian): Likewise.
1170 (ia64_elf_section_change_hook): Likewise.
1172 * config/tc-ia64.h (ia64_number_to_chars): New.
1173 (md_number_to_chars): Changed to (*ia64_number_to_chars)
1174 (ia64_elf_section_change_hook): New.
1175 (md_elf_section_change_hook): Defined.
1176 (ia64_segment_info_type): New struct.
1177 (TC_SEGMENT_INFO_TYPE): Defined.
1179 2003-04-30 H.J. Lu <hjl@gnu.org>
1181 * config/tc-ia64.c (md_section_align): Deleted.
1183 * config/tc-ia64.h (SUB_SEGMENT_ALIGN): New.
1184 (md_section_align): New.
1186 2003-04-30 H.J. Lu <hjl@gnu.org>
1188 * config/tc-ia64.c (stmt_float_cons): Fix alignment for real10
1190 (md_pseudo_table): Add "xreal16", "xreal16.ua", "real16" and
1192 (md_atof): Add 6 byte padding of zero for real16.
1194 2003-04-29 Nick Clifton <nickc@redhat.com>
1196 * config/obj-elf.c (obj_elf_symver): Skip whitespace before the
1197 start of a version name.
1199 2003-04-28 Chris Demetriou <cgd@broadcom.com>
1201 * configure.in (mips-*-*n*bsd*): Replace with...
1202 (mips-*-netbsd*, mips-*-openbsd*): These.
1203 * configure: Regenerate.
1205 2003-04-28 H.J. Lu <hjl@gnu.org>
1207 * config/tc-hppa.c (hppa_symbol_chars): New.
1208 * config/tc-hppa.h (tc_symbol_chars): Likewise.
1210 2003-04-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1212 * config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Define again.
1214 2003-04-25 Chris Demetriou <cgd@broadcom.com>
1216 * NEWS: Belatedly mention support for MIPS32 Release 2.
1218 2003-04-24 Eric Christopher <echristo@redhat.com>
1220 * config/tc-mips.c (nopic_need_relax): Revert previous
1223 2003-04-24 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
1225 * config/tc-h8300.h (DWARF2_LINE_MIN_INSN_LENGTH): New
1226 * config/tc-h8300.c (dwarf2dbg.h): Include
1227 (md_pseudo_table): Handle .loc and .file
1228 (md_assemble): Call dwarf2_emit_insn if BFD_ASSEMBLER.
1229 * Makefile.am: Add dependency on dwarf2dbg.h for h8300 targets.
1230 * Makefile.in: Regenerate.
1232 2003-04-24 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
1234 * config/tc-h8300.c (Nmode, h8300hnmode, h8300snmode): New.
1235 (md_pseudo_table): Add h8300hn, h8300sn.
1236 * config/tc-h8300.h (COFF_MAGIC): Handle h8300hn, h8300sn.
1237 * doc/c-h8300.texi : Add documentation for new machine directives.
1239 2003-04-24 Nick Clifton <nickc@redhat.com>
1241 * config/tc-ppc.c (ppc_symbol_chars): Define.
1242 * config/tc-ppc.h (tc_symbol_chars): Define.
1244 2003-04-23 J"orn Rennecke <joern.rennecke@superh.com>
1246 * config/tc-sh.c: Amend comment to refer to SuperH.
1247 * config/tc-sh.h: Likewise.
1248 (LISTING_HEADER): Amend to refer to SuperH.
1249 * config/tc-sh64.c: Change comment to refer to SuperH.
1250 * config/tc-sh64.h (LISTING_HEADER): Change to refer to SuperH.
1251 * doc/as.texinfo [SH, GENERIC]: Amend / Change to refer to SuperH.
1252 * doc/c-sh.texi: Amend to refer to SuperH.
1253 Add SuperH architecture documentation references.
1254 * doc/c-sh64.texi: Change to refer to SuperH.
1256 2003-04-23 H.J. Lu <hjl@gnu.org>
1258 * app.c (do_scrub_chars): More checks for valid labels.
1260 2003-04-22 H.J. Lu <hjl@gnu.org>
1262 * app.c (do_scrub_chars): Check for valid label.
1264 2003-04-22 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
1266 * doc/as.texinfo: Replace references to Mitsubishi M32R with
1267 references to Renesas M32R.
1268 * doc/c-m32r.texi: Likewise.
1270 2003-04-21 Richard Henderson <rth@redhat.com>
1272 * dwarf2dbg.c (get_filenum): Skip as-yet unassigned file numbers.
1273 (out_file_list): Assign non-null filename after generating error.
1275 2003-04-18 Jakub Jelinek <jakub@redhat.com>
1277 * ehopt.c (check_eh_frame): For aug_size == 0
1278 in state_seeing_aug_size state skip the state_skipping_aug
1281 2003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com>
1283 * doc/c-h8300.texi: Replace occurrances of 'Hitachi' with
1285 * doc/c-h8500.texi: Likewise.
1286 * doc/c-sh.texi: Likewise.
1287 * doc/c-sh64.texi: Likewise.
1288 * doc/h8.texi: Likewise.
1289 * config/tc-h8300.c: Likewise.
1290 * config/tc-h8300.h: Likewise.
1291 * config/tc-h8500.c: Likewise.
1292 * config/tc-h8500.h: Likewise.
1293 * config/tc-sh.c: Likewise.
1294 * config/tc-sh.h: Likewise.
1295 * config/tc-sh64.c: Likewise.
1296 * config/tc-sh64.h: Likewise.
1298 2003-04-10 Alexandre Oliva <aoliva@redhat.com>
1300 * config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): New.
1301 * config/tc-mips.c: Use signed add for n32 address arithmetic.
1302 (append_insn): When filling delay slots with instructions
1303 that have fixups that tc_gen_reloc might consider modifyable
1304 in variant frags, start a new frag.
1305 (load_address): Generate GOT_DISP with of without offset
1306 depending on whether symbol is local. For -xgot, use
1307 GOT_PAGE/GOT_OFST or GOT_HI16/GOT_LO16.
1308 (macro) <M_DLA_AB, M_LA_AB>: Likewise.
1309 <M_JAL_A>: In NewABI, use CALL16 or GOT_DISP for small got,
1310 CALL_HI16/CALL_LO16 or GOT_PAGE/GOT_OFST for big got.
1311 <ld_st>: In NewABI with small got, always use
1312 GOT_PAGE/GOT_OFST, with the latter in the load/store
1313 instruction. With big got, use GOT_HI16/GOT_LO16 or
1315 (tc_gen_reloc): Adjust variant frags with GOT_DISP in NewABI.
1316 Add tc_frag_data.tc_fr_offset to addends. Decay CALL16,
1317 GOT_OFST and GOT_DISP to GOT_DISP in NewABI.
1318 (md_convert_frag): Use memmove for safe copying of overlapping
1321 2003-04-09 Stephane Carrez <stcarrez@nerim.fr>
1323 * doc/c-m68hc11.texi (M68HC11-Opts): Document -m68hcs12, -mshort,
1324 -mlong, -mshort-double and -mlong-double options; use table @code.
1325 (M68HC11-Syntax): Update to document 68HC12 operands.
1326 (M68HC11-Modifiers): New section for operand modifiers.
1327 (M68HC11-Directives): New section for specific assembler directives.
1328 (M68HC11-Branch): Fix Overfull hbox error.
1330 2003-04-09 Alexandre Oliva <aoliva@redhat.com>
1332 * config/tc-mips.c (macro): Add comments explaining the rationale
1335 2003-04-09 Chris Demetriou <cgd@broadcom.com>
1337 * config/tc-mips.c (macro): Put back `+ 0x8000' in test for 64-bit
1338 constant address that Alexandre took out by accident. Reject
1339 64-bit addresses that are not sign extensions of 32 bits only if
1340 we don't support 64-bit address constants.
1342 2003-04-09 Alan Modra <amodra@bigpond.net.au>
1344 * config/tc-ppc.c (md_apply_fix3): Generate ADDR16 relocs.
1346 2003-04-08 Nick Clifton <nickc@redhat.com>
1348 * as.c (perform_an_assembly_pass): If using cgen, call
1350 * cgen.c (gas_cgen_begin): New function. If
1351 flag_signed_overflow_ok is set call cgen_set_signed_overflow_ok
1352 otherwise call cgen_clear_signed_overflow_ok.
1353 * cgen.h: Prototype gas_cgen_begin.
1355 2003-04-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1357 * write.c (write_relocs): Remove unused variable.
1359 2003-04-06 Chris Demetriou <cgd@broadcom.com>
1361 * config/tc-mips.c (HAVE_64BIT_ADDRESS_CONSTANTS): New.
1362 (macro): Use new macro to decide whether to emit constant address
1363 as 32 or 64 bits if addresses are 32-bit wide but registers are
1366 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
1368 * config/tc-m68hc11.c (M6811_OP_CALL_ADDR): New internal define.
1369 (M6811_OP_PAGE_ADDR): New internal define.
1370 (get_operand): New modifier %page and %addr to obtain page and
1371 address part of a far-function.
1372 (fixup8): Use BFD_RELOC_M68HC11_PAGE for a %page modifier; don't
1373 complain on overflow for the BFD_RELOC_M68HC11_PAGE and truncation
1375 (fixup16): Use BFD_RELOC_M68HC11_LO16 for a %addr modifier.
1376 (find_opcode): Add comment.
1377 (md_estimate_size_before_relax): Force relocation of
1378 STATE_UNDEXED_OFFSET types when the symbol is not absolute.
1379 (tc_m68hc11_fix_adjustable): Check for BFD_RELOC_M68HC11_LO16
1380 instead of BFD_RELOC_LO16; temporarily make the BFD_RELOC_32
1381 on the symbol itself so that DWARF2 strings are merged correctly.
1383 2003-04-04 Svein E. Seldal <Svein.Seldal@solidas.com>
1385 * config/obj-coff.h (TARGET_FORMAT): Namespace cleanup, changed
1386 default tic4x target format to 'coff2-tic4x'.
1387 * config/tc-tic4x.c: Namespace cleanup. Replace s/c4x/tic4x/ and
1389 * config/tc-tic4x.h: Ditto
1391 2003-04-03 Nick Clifton <nickc@redhat.com>
1393 * NEWS: Mention support for Xtensa architecture.
1395 2003-04-02 Philip Blundell <philb@gnu.org>
1397 * config/tc-arm.c (arm_force_relocation): Return 0 for OFFSET_IMM.
1399 2003-04-02 Chris Demetriou <cgd@broadcom.com>
1401 * config/tc-mips.c (macro2): Adjust implementation of
1402 M_ULH, M_ULHU, M_ULW, and M_ULD so that they work properly
1403 in the case where the source and destination registers
1406 2003-04-01 Bob Wilson <bob.wilson@acm.org>
1408 * Makefile.am (CPU_TYPES): Add xtensa.
1409 (TARGET_CPU_CFILES): Add config/tc-xtensa.c.
1410 (TARGET_CPU_HFILES): Add config/tc-xtensa.h.
1411 (xtensa-relax.o): New target.
1413 * Makefile.in: Regenerate.
1414 * configure.in: Handle xtensa-*-*. Add xtensa-relax.o to
1415 extra_objects for xtensa targets.
1416 * configure: Regenerate.
1417 * write.c (write_object_file): Add new md_post_relax_hook.
1418 * config/tc-xtensa.c: New file.
1419 * config/tc-xtensa.h: Likewise.
1420 * config/xtensa-istack.h: Likewise.
1421 * config/xtensa-relax.c: Likewise.
1422 * config/xtensa-relax.h: Likewise.
1423 * doc/Makefile.am (CPU_DOCS): Add c-xtensa.texi.
1424 * doc/Makefile.in: Regenerate.
1425 * doc/all.texi: Set new XTENSA variable.
1426 * doc/as.texinfo: Set new Xtensa variable. Describe
1427 Xtensa-specific options. Define line comment character for
1428 Xtensa. Add Xtensa processors to list of ELF targets where
1429 alignment is specified in bytes. Add new Xtensa-Dependent node.
1430 Add acknowledgements for those contributing to the Xtensa port.
1431 * doc/internals.texi: Describe new md_post_relax_hook.
1432 * doc/c-xtensa.texi: New file.
1434 2003-04-01 Nick Clifton <nickc@redhat.com>
1435 Richard Earnshaw <rearnsha@arm.com>
1437 * config/tc-arm.c: Remove presence of (r) and (tm) symbols.
1438 (ARM_ARCH_IWMMXT): Simplify.
1439 (insns): Place iwmmx instructions in correct place in table.
1440 (arm_add_note): New function: Add a note entry to a .note section.
1441 (md_begin): Make the default architecture be unknown.
1442 Suppress the creation of an arm note section.
1444 2003-03-26 Eric Christopher <echristo@redhat.com>
1446 * config/tc-mips.c (nopic_need_relax): Check for S_IS_EXTERN.
1448 2003-03-25 Stan Cox <scox@redhat.com>
1449 Nick Clifton <nickc@redhat.com>
1451 Contribute support for Intel's iWMMXt chip - an ARM variant:
1453 * config/tc-arm.c: (ARM_CEXT_IWMMXT, ARM_ARCH_IWMMXT, WR_PREFIX,
1454 WC_PREFIX, REG_TYPE_IWMMXT): New constants.
1455 (enum wreg_type, enum iwmmxt_insn_type): New types.
1456 (wr_register, wc_register, wcg_register): New macros.
1457 (iwmmxt_table): New variable.
1458 (wreg_required_here, do_iwmmxt_byte_addr, do_iwmmxt_tandc,
1459 do_iwmmxt_tbcst, do_iwmmxt_textrc, do_iwmmxt_textrm,
1460 do_iwmmxt_tinsr, do_iwmmxt_tmcr, do_iwmmxt_tmcrr, do_iwmmxt_tmia,
1461 do_iwmmxt_tmovmsk, do_iwmmxt_tmrc, do_iwmmxt_tmrrc,
1462 do_iwmmxt_torc, do_iwmmxt_waligni, do_iwmmxt_wmov,
1463 do_iwmmxt_word_addr, do_iwmmxt_wrwr, do_iwmmxt_wrwrwcg,
1464 do_iwmmxt_wrwrwr, do_iwmmxt_wshufh, do_iwmmxt_wzero,
1465 cp_byte_address_offset, cp_byte_address_required_here,
1466 check_iwmmxt_insn): New functions.
1467 (asm_opcode_insns): Add iWMMXt instructions.
1468 (md_begin): Set the mach value for iWMMXt targets. Create a note
1469 section to identify iwmmxt binaries.
1470 (md_apply_fix3): Handle BFD_RELOC_ARM_CP_OFF_IMM_S2.
1471 * doc/c-arm.texi: Document the support for the iWMMXt.
1472 * NEWS: Mention new support.
1474 2003-03-24 Daniel Néri <dne@mayonnaise.net>
1476 * doc/as.texinfo: Rename the all occurances of C54X to TIC54X.
1477 * doc/all.texi: Likewise.
1478 * doc/c-tic54x.texi: Likewise.
1480 2003-03-21 Andreas Schwab <schwab@suse.de>
1482 * config/tc-ia64.c (generate_unwind_image): Fix type of unw_rec to
1483 avoid aliasing issue.
1485 2003-03-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
1487 * config/tc-s390.c (s390_arch_size): Initialize to zero.
1488 (current_arch_mask): Rename to current_mode_mask.
1489 (current_arch_requested): Remove variable.
1490 (current_cpu): New variable.
1491 (init_default_arch): Set defaults values for s390_arch_size,
1492 current_mode_mask and current_cpu.
1493 (md_parse_option): New options -mesa, -mzarch and -march={g5,g6,z900}.
1494 (md_begin): Replace current_arch_mask by current_cpu.
1495 (md_assemble): Adapt check and error message to current_mode_mask and
1498 2003-03-09 James E Wilson <wilson@tuliptree.org>
1500 * macro.c (buffer_and_nest): Store more to sb instead of '\n'.
1501 * read.c (get_line_sb): Return end of line character or '\n' if
1502 it is zero or non-existent.
1504 2003-03-12 Alexandre Oliva <aoliva@redhat.com>
1506 * config/tc-mips.c (mips_validate_fix): New function.
1507 * config/tc-mips.h (TC_VALIDATE_FIX): Define.
1508 (mips_validate_fix): Declare.
1510 2003-03-12 Alexandre Oliva <aoliva@redhat.com>
1512 * Reverted 2003-03-02's patch.
1514 2003-03-11 Steve Ellcey <sje@cup.hp.com>
1516 * dwarf2dbg.c (generic_dwarf2_emit_offset): New.
1517 (TC_DWARF2_EMIT_OFFSET): Provide default.
1518 (out_debug_aranges, out_debug_info): Use it.
1519 * config/tc-ia64.c (ia64_dwarf2_emit_offset): New.
1520 (ia64_cons_fix_new): Move FUNC_DTP_RELATIVE handling ...
1521 (ia64_gen_real_reloc_type): ... here.
1522 * config/tc-ia64.h (TC_DWARF2_EMIT_OFFSET): New.
1524 2003-03-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1526 * config/tc-mips.c (s_mips_end): Remove !BFD_ASSEMBLER case.
1527 (s_mips_ent): Likewise.
1529 2003-03-04 Dmitry Diky <diwil@mail.ru>
1531 * config/tc-msp430.c (mcu_types): Add recently announced x1122
1532 and x1123 devices, add missed x437.
1533 (md_show_usage): Sort device list.
1535 2003-03-03 J"orn Rennecke <joern.rennecke@superh.com>
1537 * config/tc-sh.c (sh_dsp): Replace with preset_target_arch.
1538 (md_begin): Use preset_target_arch.
1539 (md_longopts): Make isa option unconditional.
1540 (md_parse_option): Make OPTION_DSP and OPTION_ISA sh4 / any
1541 set preset_target_arch.
1542 (md_apply_fix3): If BFD_ASSEMBLER, adjust SWITCH_TABLE fixups
1543 by -S_GET_VALUE (fixP->fx_subsy).
1544 (tc_gen_reloc): For SWITCH_TABLE fixups, the symbol is fixp->fx_subsy,
1545 and the addend is 0.
1546 Adjust addend of R_SH_IND12W relocations by fixp->fx_offset - 4.
1547 * config/tc-sh.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
1549 2003-03-02 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1551 * config/tc-mips.c (append_insn): Add handling of
1552 BFD_RELOC_MIPSEMB_16_PCREL_S2. Avoid emitting unneeded
1553 BFD_RELOC_16_PCREL_S2 relocs and add earlier warnings about
1554 misaligned address and reange overflow.
1555 (macro_build): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2. Add
1556 earlier warnings about misaligned address and reange overflow.
1557 (mips_ip): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2.
1558 (md_apply_fix): Likewise. Fix warning output.
1559 (tc_gen_reloc): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2.
1560 Allow BFD_RELOC_16_PCREL_S2 for all ABIs.
1561 (md_convert_frag): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2.
1563 2003-02-21 Nick Clifton <nickc@redhat.com>
1565 * NEWS: Mention availability of test generator program.
1567 2003-02-21 Miles Bader <miles@gnu.org>
1569 * config/tc-v850.c (system_registers): Add v850e debug registers.
1570 (system_register_name): Accept up to 27 (the last v850e sys register).
1572 2003-02-21 Bob Wilson <bob.wilson@acm.org>
1574 * doc/as.texinfo: Define new COFF-ELF variable to conditionalize text
1575 relevant to both COFF and ELF. Fix obvious typos and texinfo bugs.
1576 Capitalize section headings consistently. Format index entries more
1577 consistently. Unconditionalize text about whether text and data
1578 sections are alterable. Use @ifnottex for alternatives to @tex output
1579 so that HTML works. Clean up COFF vs. ELF descriptions of .section,
1580 .size and .type directives. Be more polite about bad bug reports.
1581 Move FDL into a separate file.
1582 * doc/fdl.texi: New file.
1584 2003-02-21 Richard Sandiford <rsandifo@redhat.com>
1586 * config/tc-mips.c (prev_reloc_op_frag): New variable.
1587 (macro): Check it to decide whether a new frag is needed.
1588 (my_getSmallExpression): Set it.
1590 2003-02-20 jmc <jmc@prioris.mini.pw.edu.pl>
1592 * cgen.c: Fix typo: intial -> initial.
1594 2003-02-19 Jie Zhang <zhangjie@magima.com.cn>
1596 * app.c (do_scrub_chars): Handle '||' in two states.
1598 2003-02-13 Alan Modra <amodra@bigpond.net.au>
1600 * write.c (TC_FORCE_RELOCATION_SUB_SAME): Revert last change.
1601 * config/tc-s390.h (TC_FORCE_RELOCATION_SUB_SAME): Define.
1603 2003-02-11 Uwe Stieber <uwe@wwws.de>
1605 * configure.in: Add support for kaOS as cross build target system.
1606 * configure: Regenerated.
1608 2003-02-10 Nick Clifton <nickc@redhat.com>
1610 * config/tc-arm.c (md_begin): If the Maverick co-processor is
1611 selected, set the EF_ARM_MAVERICK_FLOAT flag and
1612 bfd_mach_arm_ep9312 machine number.
1614 2003-02-08 Richard Sandiford <rsandifo@redhat.com>
1616 * config/tc-mips.c (reloc_needs_lo_p): New function.
1617 (fixup_has_matching_lo_p): New function.
1618 (append_insn): Use reloc_needs_lo_p to check whether a relocation
1619 might need a matching %lo(). Reuse the head of mips_hi_fixup_list
1620 if that fixup already has a matching %lo(). Don't call frag_wane here.
1621 (macro): Call frag_wane here if the last unmatched hi was in the
1623 (pic_need_relax): New function, split out from...
1624 (md_estimate_size_before_relax): ...here.
1625 (mips_frob_file): Use reloc_needs_lo_p. Use pic_need_relax to test
1626 whether BFD_RELOC_MIPS_GOT16 fixups refer to global symbols.
1628 2003-02-07 Richard Sandiford <rsandifo@redhat.com>
1630 * config/tc-mips.c (my_getSmallExpression): Rework bracket handling.
1632 2003-02-06 Alan Modra <amodra@bigpond.net.au>
1634 * config/tc-ppc.c (ppc_elf_suffix): Undo part of last change so that
1637 2003-02-05 Alan Modra <amodra@bigpond.net.au>
1639 * config/tc-ppc.c (mapping): Handle new TLS reloc specs.
1640 (ppc_elf_suffix): Don't warn for x+off@got when ppc64 and don't
1641 accept x@got+off etc.
1642 (md_assemble): Handle TLS relocs.
1643 (ppc_force_relocation): Force for all TLS relocs.
1644 (ppc_fix_adjustable): Likewise.
1645 (md_apply_fix3): Handle TLS relocs.
1647 2003-02-04 Alan Modra <amodra@bigpond.net.au>
1649 * config/obj-elf.c (obj_elf_change_section): Set SEC_LINK_ONCE and
1650 SEC_LINK_DUPLICATES_DISCARD directly rather than using elf_linkonce_p.
1652 2003-02-02 Richard Sandiford <rsandifo@redhat.com>
1654 * config/tc-mips.c (enum small_ex_type): Remove.
1655 (imm_unmatched_hi): Remove.
1656 (md_assemble): Remove use of imm_unmatched_hi. Remove the last
1657 argument from calls to append_insn.
1658 (append_insn): Remove unmatched_hi parameter; check reloc_type[0]
1660 (macro_build): Update append_insn calls.
1661 (mips16_macro_build, macro_build_lui): Likewise.
1662 (mips_ip): Rework handling of small expressions. Move explicit
1663 relocation handling into my_getSmallExpression. Assume that the
1664 value of 'o' operands is zero if there is only one bracketed
1666 (percent_op): Make constant. Record the BFD relocation code
1667 associated with each operator.
1668 (my_getSmallParser, my_getPercentOp): Remove.
1669 (parse_relocation): New function.
1670 (my_getSamllExpression): Rework. Fill in relocations here
1671 rather than in mips_ip.
1673 2003-01-29 Nick Clifton <nickc@redhat.com>
1675 * config/tc-i386.c (line_comment_chars): Add '#'. This makes the
1676 assembler's handling of # <linenum> "<filename>" directives work.
1678 2003-01-28 Jakub Jelinek <jakub@redhat.com>
1680 * dwarf2dbg.c: Include filenames.h.
1681 (struct file_entry): Make filename const char *.
1682 (dirs, dirs_in_use, dirs_allocated): New variables.
1683 (get_filenum): Add NUM argument. Build directory table.
1684 (dwarf2_where): Adjust caller.
1685 (dwarf2_directive_file): Use get_filenum to allocate
1686 slot in file and directory tables.
1687 (dwarf2_directive_loc): Recreate full filename from
1688 directory and filename part if needed for listing.
1689 (out_file_list): Output directory table.
1690 Output main source file dirname before its filename.
1692 2003-01-28 Dmitry Diky <diwil@mail.ru>
1694 * config/tc-msp430.c: Replace occurences of 'tolower' with
1697 2003-01-27 David Mosberger <davidm@hpl.hp.com>
1699 * config/tc-ia64.c (dot_vframesp): Correct error message.
1700 (dot_vframepsp): Ditto.
1702 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
1704 * configure.in (em): Set to irix on all Irix systems.
1705 * configure: Rebuilt.
1706 * config/te-irix.h: New file.
1707 * config/tc-mips.c (mips_dwarf2_format): Use TE_IRIX to decide
1708 whether to use Irix-specific 64-bit format.
1710 2003-01-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
1712 * config/tc-s390.c (s390_elf_cons): Avoid designated initializers.
1714 2003-01-25 Jakub Jelinek <jakub@redhat.com>
1716 * config/tc-sparc.c (sparc_ip): Handle TLS % operators.
1717 (tc_gen_reloc): Handle TLS relocs.
1718 (sparc_cons, cons_fix_new_sparc): Handle %r_tls_dtpoff.
1719 * config/tc-sparc.h (tc_fix_adjustable): Don't adjust TLS
1721 * config/obj-elf.c (obj_elf_section_word): Handle tls.
1722 (obj_elf_type): Handle tls_object.
1724 2003-01-24 Martin Schwidefsky <schwidefsky@de.ibm.com>
1726 * config/tc-s390.c (s390_tls_suffix): New function.
1727 (elf_suffix_type): Add suffix enums for TLS relocations.
1728 (s390_elf_suffix): Add suffix strings for TLS relocations.
1729 (s390_elf_cons): Map new lenght/elf suffix combinations for TLS to
1731 (md_gather_operands): Map new instruction operand/elf suffix
1732 combinations for TLS to bfd relocations.
1733 (tc_s390_fix_adjustable): Add new TLS relocations.
1734 (tc_s390_force_relocation): Likewise.
1735 (md_apply_fix3): Likewise.
1737 2003-01-24 Alan Modra <amodra@bigpond.net.au>
1739 * as.h: Update copyright date.
1740 * symbols.c: Likewise.
1741 * config/tc-d10v.h: Likewise.
1742 * config/tc-fr30.h: Likewise.
1743 * config/tc-i960.h: Likewise.
1744 * config/tc-mips.h: Likewise.
1746 * config/tc-hppa.h (DIFF_EXPR_OK): Define.
1747 (MD_APPLY_SYM_VALUE): Move.
1749 2003-01-23 Nick Clifton <nickc@redhat.com>
1751 * NEWS: Announce sh2e support.
1754 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
1755 * config/tc-sh.c (md_show_usage): Added sh2e next to sh3e.
1756 (sh_elf_final_processing): Handle arch_sh2e.
1758 2003-01-23 Alan Modra <amodra@bigpond.net.au>
1760 * symbols.c (S_FORCE_RELOC): Add "strict" param.
1761 * symbols.h (S_FORCE_RELOC): Likewise.
1762 * config/obj-aout.h (S_FORCE_RELOC): Likewise.
1763 * config/obj-bout.h (S_FORCE_RELOC): Likewise.
1764 * config/obj-coff.h (S_FORCE_RELOC): Likewise.
1765 * config/obj-ieee.h (S_FORCE_RELOC): Likewise.
1766 * config/obj-vms.h (S_FORCE_RELOC): Likewise.
1767 * write.c (generic_force_reloc): New function.
1768 (TC_FORCE_RELOCATION): Use it here instead of S_FORCE_RELOC.
1769 (TC_FORCE_RELOCATION_SUB_SAME): Test TC_FORCE_RELOCATION too.
1770 (adjust_reloc_syms): Adjust S_FORCE_RELOC call.
1771 * as.h (generic_force_reloc): Declare.
1772 * doc/internals.texi (S_FORCE_RELOC): Update.
1773 (TC_FORCE_RELOCATION_SUB_SAME): Update.
1775 * config/tc-alpha.c (alpha_force_relocation): Adjust to use
1776 generic_force_reloc.
1777 (alpha_fix_adjustable): Likewise.
1778 * config/tc-arm.c (arm_force_relocation): Likewise.
1779 * config/tc-cris.c (md_cris_force_relocation): Likewise.
1780 * config/tc-frv.c (frv_force_relocation): Likewise.
1781 * config/tc-i386.c (md_apply_fix3): Likewise.
1782 * config/tc-ia64.c (ia64_force_relocation): Likewise.
1783 * config/tc-ip2k.c (ip2k_force_relocation): Likewise.
1784 * config/tc-m32r.c (m32r_force_relocation): Likewise.
1785 * config/tc-m68hc11.c (tc_m68hc11_force_relocation): Likewise.
1786 * config/tc-mcore.c (mcore_force_relocation): Likewise.
1787 * config/tc-mips.c (mips_force_relocation): Likewise.
1788 * config/tc-mmix.c (mmix_force_relocation): Likewise.
1789 * config/tc-ppc.c (ppc_force_relocation): Likewise.
1790 * config/tc-s390.c (tc_s390_force_relocation): Likewise.
1791 * config/tc-sh.c (sh_force_relocation): Likewise.
1792 (md_pcrel_from_section): Likewise.
1793 * config/tc-sparc.c (tc_gen_reloc): Likewise.
1794 * config/tc-v850.c (v850_force_relocation): Likewise.
1795 * config/tc-xstormy16.c (xstormy16_force_relocation): Likewise.
1796 * config/tc-i386.h (TC_FORCE_RELOCATION): Likewise.
1797 * config/tc-mcore.h (TC_FORCE_RELOCATION): Likewise.
1798 * config/tc-sparc.h (tc_fix_adjustable): Likewise.
1800 * config/tc-d10v.c (d10v_force_relocation): Delete.
1801 * config/tc-d10v.h (TC_FORCE_RELOCATION): Don't define.
1802 * config/tc-dlx.c (md_dlx_force_relocation): Delete.
1803 * config/tc-dlx.h (TC_FORCE_RELOCATION): Don't define.
1804 * config/tc-fr30.c (fr30_force_relocation): Delete.
1805 * config/tc-fr30.h (TC_FORCE_RELOCATION): Don't define.
1806 * config/tc-mn10300.c (mn10300_force_relocation): Delete.
1807 * config/tc-mn10300.h (TC_FORCE_RELOCATION): Don't define.
1808 (TC_FORCE_RELOCATION_SUB_SAME): Test TC_FORCE_RELOCATION too.
1809 * config/tc-i960.h (TC_FORCE_RELOCATION_SUB_SAME): Likewise.
1810 * config/tc-hppa.c (hppa_force_relocation): Adjust S_FORCE_RELOC call.
1811 * config/tc-mips.c (RELAX_BRANCH_TOOFAR): Warning fix.
1812 * config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Don't define.
1813 * config/tc-openrisc.c (openrisc_force_relocation): Delete.
1814 * config/tc-openrisc.h (TC_FORCE_RELOCATION): Don't define.
1815 * config/tc-sparc.c (elf32_sparc_force_relocation): Delete.
1816 * config/tc-sparc.h (TC_FORCE_RELOCATION): Don't define for ELF.
1817 * config/tc-i386.c (i386_force_relocation): Delete.
1818 * config/tc-i386.h (TC_FORCE_RELOCATION): Don't define for
1820 (EXTERN_FORCE_RELOC): Fix TE_PE and STRICT_PE_FORMAT nesting.
1821 * config/tc-m68k.h (TC_FORCE_RELOCATION): Don't define.
1822 * config/tc-pj.h (TC_FORCE_RELOCATION): Don't define.
1823 * config/tc-sh.h (TC_FORCE_RELOCATION_SUB_ABS): Don't call
1825 (TC_FORCE_RELOCATION_SUB_SAME): Test TC_FORCE_RELOCATION too.
1826 * config/tc-sh64.h (TC_FORCE_RELOCATION_SUB_SAME): Likewise.
1828 2003-01-23 Alan Modra <amodra@bigpond.net.au>
1830 * config/tc-sh64.c (shmedia_frob_section_type): Adjust for changed
1831 sh64_elf_section_data.
1832 * config/tc-sh64.h: Include elf32-sh64.h.
1833 * config/tc-m68hc11.c: Don't include stdio.h.
1834 (md_show_usage): Fix missing continuation.
1835 * Makefile.am: Run "make dep-am".
1836 * Makefile.in: Regenerate.
1838 2003-01-22 Nick Clifton <nickc@redhat.com>
1840 * as.h: Include fopen-bin.h not fopen-same.h for mingw32 hosts.
1842 2003-01-21 Fabio Alemagna <falemagn@aros.org>
1844 * configure.in: Handle *-*-aros*.
1845 * configure: Regenerated from configure.in.
1847 2003-01-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
1849 * config/tc-s390.c (elf_suffix_type): Add suffix enums for gotoff,
1850 gotplt and pltoff relocations.
1851 (s390_elf_suffix): Add suffix strings for gotoff, gotplt and pltoff.
1852 (s390_elf_cons): Map new lenght/elf suffix combinations for gotoff,
1853 gotplt and pltoff to bfd relocations.
1854 (md_gather_operands): Map new instruction operand/elf suffix
1855 combinations to bfd relocations.
1856 (tc_s390_fix_adjustable): Add new gotoff, gotplt and pltoff relocations
1857 to the list of unadjustable relocations.
1858 (tc_s390_force_relocation): Always emit relocations for gotoff, gotplt
1859 and pltoff relocations.
1860 (md_apply_fix3): Add the new relocations.
1862 2003-01-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
1864 * config/tc-s390.c (md_apply_fix3): Emit error message for relocations
1865 with a subsy symbol.
1867 2003-01-17 Stephane Carrez <stcarrez@nerim.fr>
1869 * config/tc-m68hc11.c (tc_m68hc11_fix_adjustable): Prevent adjustment
1870 of relocs for memory bank addressing.
1872 2003-01-17 Stephane Carrez <stcarrez@nerim.fr>
1874 * config/tc-m68hc11.c (md_show_usage): Update usage.
1875 (md_parse_option): Recognize -m68hcs12.
1876 (m68hc11_elf_final_processing): Set EF_M68HCS12_MACH flag to identify
1878 * doc/as.texinfo (Overview): Document new option -m68hcs12.
1880 2003-01-16 Jakub Jelinek <jakub@redhat.com>
1882 * config/tc-ia64.c (ia64_cons_fix_new): Handle @dtprel() in data.
1884 2003-01-16 Alan Modra <amodra@bigpond.net.au>
1886 * Makefile.am: Run "make dep-am".
1887 * Makefile.in: Regenerate.
1888 * po/POTFILES.in: Regenerate.
1890 2003-01-11 Alan Modra <amodra@bigpond.net.au>
1892 * read.c (get_absolute_expr): New, split out from..
1893 (get_absolute_expression): ..here.
1894 * read.h (get_absolute_expr): Declare.
1895 * config/obj-elf.c (elf_common): Use offsetT for "temp" and "size".
1896 Trim size to arch bits_per_address, and test for negative input
1897 via get_absolute_expr.
1899 2003-01-07 DJ Delorie <dj@redhat.com>
1901 * config/tc-xstormy16.c (md_cgen_lookup_reloc): Adjust value based
1903 (xstormy16_md_apply_fix3): Use adjustment.
1905 2003-01-02 Ben Elliston <bje@redhat.com>
1907 * configure.in: Add iq2000-elf target.
1908 * configure: Regenerate.
1909 * config/tc-iq2000.c: New file.
1910 * config/tc-iq2000.h: Likewise.
1911 * po/gas.pot: Regenerate.
1913 2003-01-02 Chris Demetriou <cgd@broadcom.com>
1915 * config/tc-mips.c: Update copyright years to include 2003.
1916 (mips_ip): Fix indentation of "+A", "+B", and "+C" handling.
1917 Additionally, clean up their code slightly and clean up their
1920 * doc/c-mips.texi: Add MIPS32r2 to ".set mipsN" documentation.
1922 2003-01-01 Daniel Jacobowitz <drow@mvista.com>
1924 * doc/Makefile.am (as.1): Depend on "asconfig.texi gasver.texi
1926 * doc/Makefile.in: Regenerate.
1928 2003-01-01 John David Anglin <dave.anglin@nrc.ca>
1930 * config/obj-elf.c (special_sections): Work around HP's incorrect usage
1931 of .init and .fini sections for array initializers and finalizers.
1933 2002-12-31 Chris Demetriou <cgd@broadcom.com>
1935 * config/tc-mips.c (validate_mips_insn, mips_ip): Recognize
1936 the "+D" operand, which will be used only by the disassembler.
1938 2002-12-30 Chris Demetriou <cgd@broadcom.com>
1940 * configure.in: Recognize mipsisa32r2, mipsisa32r2el, and
1942 * configure: Regenerate.
1943 * config/tc-mips.c (ISA_HAS_DROR, ISA_HAS_ROR): New defines.
1944 (macro_build): Handle "K" operand.
1945 (macro2): Use ISA_HAS_DROR and ISA_HAS_ROR in the places where
1946 CPU_HAS_DROR and CPU_HAS_ROR are currently used.
1947 (mips_ip): New variable "lastpos", and implement "+A", "+B",
1948 and "+C" operands for MIPS32 Release 2 ins/ext instructions.
1949 Implement "K" operand for MIPS32 Release 2 rdhwr instruction.
1950 (validate_mips_insn): Implement "+" as a way to extend the
1951 allowed operands, and implement "K", "+A", "+B", and "+C"
1953 (OPTION_MIPS32R2): New define.
1954 (md_longopts): Add entry for OPTION_MIPS32R2.
1955 (OPTION_ELF_BASE): Adjust to accomodate OPTIONS_MIPS32R2.
1956 (md_parse_option): Handle OPTION_MIPS32R2.
1957 (s_mipsset): Reimplement handling of ".set mipsN" options
1958 and add support for ".set mips32r2".
1959 (mips_cpu_info_table): Add entry for "mips32r2" (MIPS32 Release 2).
1960 (md_show_usage): Document "-mips32r2" option.
1961 * doc/as.texinfo: Document "-mips32r2" option.
1962 * doc/c-mips.texi: Likewise.
1964 2002-12-30 Dmitry Diky <diwil@mail.ru>
1966 * configure.in: Add msp430 target.
1967 * configure: Regenerate.
1968 * Makefile.am: Add msp430 target.
1969 * Makefile.in: Regenerate.
1970 * config/tc-msp430.c: New file: msp430 assembler.
1971 * config/tc-msp430.h: New file: target macros for msp430.
1972 * doc/Makefile.am: Add msp430 target.
1973 * doc/Makefile.in: Regenerate.
1974 * doc/as.texinfo: Include msp430 documenation.
1975 * doc/all.texi: Enable msp430 documentation.
1976 * doc/c-msp430.texi: New file: document msp430 specific features
1979 2002-12-25 Alexandre Oliva <aoliva@redhat.com>
1981 * dwarf2dbg.c (DWARF2_ADDR_SIZE): New macro.
1982 (dwarf2_finish): Use it.
1983 * doc/internals.texi (DWARF2_ADDR_SIZE): Document it.
1984 * config/tc-mips.h (DWARF2_ADDR_SIZE): Override.
1986 2002-12-20 DJ Delorie <dj@redhat.com>
1988 * config/tc-xstormy16.c (md_cgen_lookup_reloc): Support
1989 BFD_RELOC_XSTORMY16_12.
1991 2002-12-19 Alan Modra <amodra@bigpond.net.au>
1993 * doc/as.texinfo (Invoking): Typo fix.
1994 * config/tc-tic54x.c (encode_operand): Comment typo fix.
1996 2002-12-18 Kazu Hirata <kazu@cs.umass.edu>
1998 * doc/c-alpha.texi: Fix typos.
1999 * doc/c-arm.texi: Likewise.
2000 * doc/c-d10v.texi: Likewise.
2001 * doc/c-i370.texi: Likewise.
2002 * doc/c-i960.texi: Likewise.
2003 * doc/c-ia64.texi: Likewise.
2004 * doc/c-mmix.texi: Likewise.
2005 * doc/c-ns32k.texi: Likewise.
2006 * doc/c-pdp11.texi: Likewise.
2007 * doc/c-pj.texi: Likewise.
2008 * doc/c-sh64.texi: Likewise.
2009 * doc/c-sparc.texi: Likewise.
2010 * doc/c-tic54x.texi: Likewise.
2011 * doc/c-v850.texi: Likewise.
2012 * doc/c-vax.texi: Likewise.
2013 * doc/internals.texi: Likewise.
2015 2002-12-18 Chris Demetriou <cgd@broadcom.com>
2017 * config/tc-mips.c (macro): In M_DROL, M_DROR, M_ROL, and M_ROR,
2018 use hardware rotate ops as appropriate. In M_DROL_I, M_DROR_I,
2019 M_ROL_I, and M_ROR_I, simplify code, clean up warnings, and
2020 arrange not to issue warnings about use of AT when AT is not
2023 2002-12-17 Nick Clifton <nickc@redhat.com>
2025 * as.c (std_longopts): Duplicate --keep-locals entry in order to
2026 prevent it being confused with -k.
2028 2002-12-16 Andrew MacLeod <amacleod@redhat.com>
2030 * config/tc-xstormy16.c (md_cgen_lookup_reloc): If a relocation
2031 has already been set up, use it.
2033 2002-12-16 Kazu Hirata <kazu@cs.umass.edu>
2035 * ChangeLog-9295: Fix a typo.
2037 * config/tc-d10v.c: Fix a comment typo.
2038 * config/tc-dlx.c: Likewise.
2039 * config/tc-h8300.h: Likewise.
2040 * config/tc-h8500.h: Likewise.
2041 * config/tc-mips.c: Likewise.
2042 * config/tc-s390.c: Likewise.
2043 * config/tc-sh.h: Likewise.
2044 * config/tc-tic80.h: Likewise.
2045 * config/tc-w65.h: Likewise.
2046 * config/tc-z8k.c: Likewise.
2047 * config/tc-z8k.h: Likewise.
2048 * testsuite/gas/h8300/cmpsi2.s: Likewise.
2050 2002-12-16 Alan Modra <amodra@bigpond.net.au>
2052 * config/tc-d30v.c (check_range): Warning fixes, formatting.
2053 Simplify sign extension. Remove redundant unsigned < 0 test.
2054 * config/tc-i960.c (md_ri_to_chars): Prototype.
2055 * config/tc-mcore.c (md_pseudo_table): Fix typo.
2056 (dump_literals): Init brarsym, and test later instead of isforce.
2058 * config/tc-ns32k.c (encode_operand): Constify operandsP and suffixP.
2059 (parse): Constify line and lineptr.
2060 (md_begin): Calculate endop here.
2062 2002-12-13 Alan Modra <amodra@bigpond.net.au>
2064 * config/obj-vms.c: Formatting. Include fnctl.h.
2065 (Create_VMS_Object_File): Fix creat call for sane unix systems.
2066 (Object_Record_Offset): Make it a size_t.
2067 (Flush_VMS_Object_Record_Buffer): Fix signed/unsigned warning.
2068 (VMS_TBT_Routine_End <Size>): Make var unsigned long.
2069 (VMS_Fix_Indirect_Reference <Offset>): Make arg addressT.
2070 (synthesize_data_segment <data_size>): Remove ATTRIBUTE_UNUSED.
2071 (vms_fixup_data_section <data_size>): Add here instead.
2072 * config/e-criself.c: Fix typo in last change.
2074 2002-12-13 Alan Modra <amodra@bigpond.net.au>
2076 * write.c (write_object_file): Fix signed/unsigned warning.
2077 * config/e-crisaout.c (crisaout_bfd_name): Prototype.
2078 * config/e-criself.c (criself_bfd_name): Prototype.
2079 * config/obj-aout.c (s_sect): Remove unused function.
2080 * config/obj-bout.c (obj_bout_line <ignore>): Add ATTRIBUTE_UNUSED.
2081 * config/obj-coff.c (coff_last_bf): Don't declare for OBJ_XCOFF.
2082 (fixup_mdeps <h>): Add ATTRIBUTE_UNUSED.
2083 * config/obj-ecoff.c (ecoff_frob_file <addr>): Likewise.
2084 * config/obj-vms.c (setup_basic_type <spnt>): Likewise.
2085 (VMS_RSYM_Parse <Current_Routine>): Likewise.
2086 (vms_fixup_text_section <text_siz>): Likewise.
2087 (synthesize_data_segment <data_size>): Likewise.
2088 (vms_fixup_xtors_section <sect_no>): Likewise.
2089 (structure_count): Don't use implicit int type.
2090 * config/tc-a29k.c (insert_sreg): Prototype.
2091 (define_some_regs): Prototype, make static.
2092 (parse_operand): Likewise.
2093 (md_parse_option <c,arg>): Add ATTRIBUTE_UNUSED.
2094 (md_show_usage <stream>): Likewise.
2095 (md_section_align <segment>): Likewise.
2096 (md_convert_frag <all args>): Likewise.
2097 (md_estimate_size_before_relax <all args>): Likewise.
2098 (md_apply_fix3): Don't cast valP pointer type. Fix bogus >>='s.
2099 * config/tc-arm.c (arm_validate_fix): Only for OBJ_COFF or OBJ_ELF.
2100 * config/tc-d30v.c (md_parse_option <arg>): Add ATTRIBUTE_UNUSED.
2101 (md_undefined_symbol <name>): Likewise.
2102 (md_convert_frag <all args>): Likewise.
2103 (write_long <opcode>): Likewise.
2104 (tc_gen_reloc <seg>): Likewise.
2105 (md_estimate_size_before_relax <all args>): Likewise.
2106 (md_apply_fix3 <seg>): Likewise.
2107 (s_d30v_align <ignore>): Likewise.
2108 (build_insn): Correct format string.
2109 (md_apply_fix3): Likewise.
2110 * config/tc-fr30.c (md_parse_option <c,arg>): Add ATTRIBUTE_UNUSED.
2111 (md_undefined_symbol <name>): Likewise.
2112 (md_convert_frag <all args>): Likewise.
2113 (md_cgen_lookup_reloc <insn>): Likewise.
2114 (md_begin): Delete unused vars.
2115 (md_assemble): Likewise.
2116 (md_estimate_size_before_relax): Likewise.
2117 (fr30_relax_frag): #if 0 out, seems unused.
2118 (md_atof): Remove declaration of atof_ieee.
2119 (restore_colon): Prototype.
2120 * config/tc-frv.c (frv_insert_vliw_insn): Prototype.
2121 (frv_find_in_vliw): Likewise.
2122 (frv_debug_tomcat): Likewise.
2123 (frv_adjust_vliw_count): Likewise.
2124 (frv_tomcat_shuffle): Likewise.
2125 (frv_tomcat_analyze_vliw_chains): Likewise. Correct args to
2126 frv_find_in_vliw call.
2127 (md_atof): Remove declaration of atof_ieee.
2128 * config/tc-h8500.c (cons): Delete declaration.
2129 (md_begin <opcode>): Constify.
2130 (displacement_size, immediate_size, absolute_size): Remove.
2131 (build_relaxable_instruction <operand>): Add ATTRIBUTE_UNUSED.
2132 (tc_crawl_symbol_chain <headers>): Likewise.
2133 (md_undefined_symbol <name>): Likewise.
2134 (tc_headers_hook <headers>): Likewise.
2135 (md_parse_option <c,arg>): Likewise.
2136 (md_show_usage <stream>): Likewise.
2137 (md_convert_frag <headers, seg>): Likewise.
2138 (tc_coff_symbol_emit_hook <ignore>): Likewise.
2139 (md_atof): Remove declaration of atof_ieee.
2140 (tc_aout_fix_to_chars): Remove unused function.
2141 (parse_reg): Prototype.
2142 (parse_exp): Prototype.
2143 (skip_colonthing): Prototype. Use &&, not & in logical expressions.
2144 (parse_reglist): Prototype.
2145 (get_operand): Prototype.
2146 (get_operands): Prototype.
2147 (get_specific): Prototype. Make "this_index" signed.
2148 (check): Prototype, make static.
2150 (build_relaxable_instruction): Prototype, make static.
2151 (build_bytes): Prototype.
2152 (wordify_scb): Prototype.
2153 * config/tc-h8500.h (start_label): Declare.
2154 (tc_coff_sizemachdep): Declare.
2155 * config/tc-i370.c (i370_ebcdic <unused>): Add ATTRIBUTE_UNUSED.
2156 (i370_rmode <unused>): Likewise.
2157 (i370_csect <unused>): Likewise.
2158 (i370_dc <unused>): Likewise.
2159 (i370_ds <unused>): Likewise.
2160 (i370_elf_lcomm <unused>): Likewise.
2161 (i370_ltorg <ignore>): Likewise.
2162 (i370_using <ignore>): Likewise.
2163 (i370_drop <ignore>): Likewise.
2164 (i370_byte <ignore>): Likewise.
2165 (i370_tc <ignore>): Likewise.
2166 (md_estimate_size_before_relax <fragp, seg>): Likewise.
2167 (md_convert_frag <all args>): Likewise.
2168 (md_undefined_symbol <name>): Likewise.
2169 (md_pcrel_from_section <sec>): Likewise.
2170 (tc_gen_reloc <seg>): Likewise.
2171 (i370_section_letter): #if 0 unused functions.
2172 (i370_section_word, i370_section_type, i370_section_flags): Likewise.
2173 (symbol_locate): Prototype.
2174 * config/tc-i860.c (md_atof): Remove declaration of atof_ieee.
2175 (md_number_to_disp, md_number_to_field): Remove.
2176 (md_apply_fix3): Correct format string and cast "fup".
2177 * config/tc-i960.c (md_convert_frag): Add ATTRIBUTE_UNUSED to args.
2178 (s_endian <ignore>): Likewise.
2179 (md_undefined_symbol <name>): Likewise.
2180 (tc_crawl_symbol_chain <headers>): Likewise.
2181 (tc_set_bal_of_call): Likewise.
2182 (tc_coff_symbol_emit_hook <symbolP>): Likewise.
2183 (i960_handle_align <fragp>): Likewise.
2184 (i960_validate_fix <this_segment_type>): Likewise
2185 (tc_gen_reloc <section>): Likewise.
2186 (tc_coff_symbol_emit_hook): Only define for OBJ_COFF.
2187 (struct memS, struct regop): Forward declare.
2188 (brcnt_emit, brlab_next, cobr_fmt, ctrl_fmt, emit, get_args,
2189 get_cdisp, get_ispec, get_regnum, i_scan, mem_fmt, mema_to_memb,
2190 parse_expr, parse_ldconst, parse_memop, parse_po, parse_regop,
2191 reg_fmt, relax_cobr, s_leafproc, s_sysproc, shift_ok, syntax,
2192 targ_has_sfr, targ_has_iclass, tc_bfd_fix2rtype): Prototype.
2193 (md_chars_to_number, md_number_to_imm): Make static, prototype.
2194 (md_number_to_field): Likewise.
2195 (md_number_to_disp): Remove unused function.
2196 (md_atof): Remove declaration of atof_ieee.
2197 (md_apply_fix3): Correct md_number_to_imm call.
2198 * config/tc-ip2k.c (md_assemble): Warning fix.
2199 * config/tc-m32r.c (md_parse_option <arg>): Add ATTRIBUTE_UNUSED.
2200 (fill_insn <ignore>): Likewise.
2201 (debug_sym <ignore>): Likewise.
2202 (md_undefined_symbol <name>): Likewise.
2203 (m32r_scomm <ignore>): Likewise.
2204 (md_convert_frag <abfd>): Likewise.
2205 (md_cgen_lookup_reloc <insn>): Likewise.
2206 (m32r_record_hi16 <seg>): Likewise.
2207 (md_estimate_size_before_relax): #if 0 old_fr_fix.
2208 (allow_m32rx): Prototype.
2209 (first_writes_to_seconds_operands): Prototype.
2210 (writes_to_pc): Prototype.
2211 (can_make_parallel): Prototype.
2212 (make_parallel): Prototype.
2213 (target_make_parallel): Prototype.
2214 (assemble_two_insns): Prototype.
2215 (m32r_record_hi16): Prototype.
2216 (md_atof): Remove declaration of atof_ieee.
2217 * config/tc-m32r.h (m32r_fix_adjustable): Declare.
2218 (m32r_force_relocation): Prototype.
2219 (m32r_elf_section_change_hook): Prototype.
2220 * config/tc-m68k.c (tc_gen_reloc <section>): Add ATTRIBUTE_UNUSED.
2221 (md_show_usage): Fix signed/unsigned warning.
2222 * config/tc-m88k.c (get_reg): Make reg_prefix param unsigned.
2223 (calcop): Ditto for reg_prefix var.
2224 (hexval): Add cast to fix signed/unsigned warning.
2225 (md_number_to_disp): Delete unused function.
2226 (md_number_to_field): Likewise.
2227 (float_cons, cons, s_globl, s_space, s_set, s_lcomm): Remove decl.
2228 (match_name): Prototype.
2229 (get_bf2): Prototype.
2230 (get_bf_offset_expression): Prototype.
2231 * config/tc-mcore.c (mcore_s_literals <ignore>): Add ATTRIBUTE_UNUSED.
2232 (md_undefined_symbol <ignore>): Likewise.
2233 (md_create_short_jump <all args>): Likewise.
2234 (md_create_long_jump <all args>): Likewise.
2235 (md_convert_frag <abfd, sec>): Likewise.
2236 (md_apply_fix3 <segment>): Likewise.
2237 (md_section_align <segment>): Likewise.
2238 (md_pcrel_from_section <sec>): Likewise.
2239 (tc_gen_reloc <section>): Likewise.
2240 (reg_m, reg_n, immediate): Delete unused vars.
2241 (dump_literals): Fix signed/unsigned warning.
2242 (enter_literal): Likewise.
2243 (parse_imm): Likewise. Also fix format string.
2244 (parse_mem): Remove unused var.
2245 (md_assemble <LS>): Abort on unexpected inst.
2246 (md_atof): Remove declaration of atof_ieee.
2247 (md_parse_option): Remove unused vars.
2248 (md_apply_fix3): Fix format strings, cast args.
2249 (tc_gen_reloc): Delete unused var.
2250 * config/tc-mcore.h (tc_coff_sizemachdep): Declare.
2251 * config/tc-mn10200.c (md_parse_option <c, arg>): Add ATTRIBUTE_UNUSED.
2252 (md_undefined_symbol <name>): Likewise.
2253 (md_convert_frag <abfd>): Likewise.
2254 (tc_gen_reloc <seg>): Likewise.
2255 (check_operand <insn>): Likewise.
2256 (md_convert_frag): Fix format strings.
2257 (tc_gen_reloc): Delete fx_addsy - fx_subsy code.
2258 * config/tc-openrisc.c (ignore_pseudo): Prototype.
2259 (md_atof): Remove declaration of atof_ieee.
2260 * config/tc-or32.c (parse_operand): Prototype non-BFD too.
2261 (md_apply_fix3): Fix bogus >>='s.
2262 (md_undefined_symbol): Delete unused var.
2263 * config/tc-pj.c (little, big, parse_exp_save_ilp): Prototype.
2264 (c_to_r, ipush_code, fake_opcode, alias): Likewise.
2265 (fake_opcode): Adjust for pj_opc_int_t change.
2266 (md_begin): Likewise.
2267 (md_assemble): Likewise.
2268 (ipush_code): Correct parse_exp_save_ilp call. Test pending_reloc
2269 instead of non-existent third arg of parse_exp_save_ilp.
2270 (md_parse_option): Correct "little" and "big" calls.
2271 * config/tc-sparc.c (s_register): Only declare #ifdef OBJ_ELF.
2272 (md_apply_fix3 <segment>): Add ATTRIBUTE_UNUSED.
2273 (tc_gen_reloc <section>): Likewise.
2274 * config/tc-tic30.c: #include stdarg.h or varargs.h.
2275 (debug): Rewrite using VA_* macros.
2276 (md_estimate_size_before_relax): Add ATTRIBUTE_UNUSED to args.
2277 (md_convert_frag): Likewise.
2278 (md_parse_option): Likewise.
2279 (md_show_usage): Likewise.
2280 (md_undefined_symbol): Likewise.
2281 (tc_gen_reloc): Likewise.
2282 (md_operand): Likewise.
2283 (tc_aout_pre_write_hook): Delete.
2284 (struct tic30_insn): Make "operands" unsigned.
2285 (struct tic30_par_insn): Likewise.
2286 (md_assemble): Likewise for "count", "i" and "numops".
2287 (tic30_parallel_insn): Likewise for vars here.
2288 (tic30_operand): Likewise. Remove useless unsigned >= 0 comparison.
2289 * config/tc-tic30.h (tc_aout_pre_write_hook): Define as empty.
2290 * config/tc-tic80.c (obj_coff_section): Delete declaration.
2291 (md_estimate_size_before_relax): Add ATTRIBUTE_UNUSED on args.
2292 (md_undefined_symbol): Likewise.
2293 (md_parse_option): Likewise.
2294 (md_convert_frag): Likewise.
2295 (tc_coff_symbol_emit_hook): Likewise.
2296 (md_atof): Remove declaration of atof_ieee.
2297 (const_overflow): Warning fixes, tidy.
2298 (get_operands): Delete unused vars.
2299 (internal_error_a): Adjust format string to expect a long for arg.
2300 (find_opcode): Warning fixes, simplify.
2301 (build_insn): Cast internal_error_a arg.
2302 (md_begin): Likewise.
2303 (md_apply_fix3): Likewise.
2304 (md_assemble): Delete unused var.
2305 * config/tc-tic80.h (tc_coff_fix2rtype): Prototype.
2306 * config/tc-z8k.c (cons, obj_coff_section): Delete declarations.
2307 (whatreg, parse_reg, parse_exp): Make static, prototype.
2308 (checkfor, regword, regaddr, get_ctrl_operand): Prototype.
2309 (get_flags_operand, get_interrupt_operand, get_cc_operand): Likewise.
2310 (get_operand, get_operands, get_specific, newfix): Likewise.
2311 (apply_fix, build_bytes): Likewise.
2312 (md_atof): Remove declaration of atof_ieee.
2313 (tc_aout_fix_to_chars): Delete.
2314 (md_begin): Constify "opcode". Don't try to init opcode->idx.
2316 (md_parse_option): Fix s_segm and s_unseg calls.
2318 2002-12-12 Alexandre Oliva <aoliva@redhat.com>
2320 * tc-mips.c (RELAX_BRANCH_ENCODE): Remove reloc_s2 argument.
2322 (RELAX_BRANCH_RELOC_S2): Delete.
2323 (append_insn): Use only BFD_RELOC_16_PCREL_S2 for branches.
2324 Do not handle BFD_RELOC_16_PCREL.
2325 (macro_build, mips_ip): Likewise.
2326 (md_pcrel_from): Return 4 for undefined symbols regardless of
2328 (md_apply_fix3): Use only BFD_RELOC_16_PCREL_S2 for branches.
2329 Don't dereference howto if no such relocation is available.
2330 Do not apply hack for in-place zero addend in NEWABI.
2331 (md_convert_frag): Use only BFD_RELOC_16_PCREL_S2 for branches.
2333 2002-12-12 Alexandre Oliva <aoliva@redhat.com>,
2334 Alan Modra <amodra@bigpond.net.au>
2336 * config/tc-mn10300.h (TC_VALIDATE_FIX_SUB): Define.
2337 (TC_LINKRELAX_FIXUP): Add comments.
2339 2002-12-12 Alexandre Oliva <aoliva@redhat.com>
2341 * config/tc-mn10300.c (set_arch_mach): Change argument type to
2343 (r_register_name, xr_register_name): Add prototype declarations.
2345 2002-12-08 H.J. Lu <hjl@gnu.org>
2347 * config/tc-ia64.c (md_apply_fix3): Remove the PCREL hack
2348 copied from tc-i386.c.
2350 2002-12-08 Stephane Carrez <stcarrez@nerim.fr>
2352 Fix Bug savannah/1825:
2353 * config/tc-m68hc11.c (STATE_INDEXED_PCREL): New relax code.
2354 (md_relax_table): Define specific relax for PC-rel offsets.
2355 (build_indexed_byte): Use a STATE_INDEXED_PCREL relax code.
2356 (m68hc11_relax_frag): Handle the new relax code.
2357 (md_convert_frag): Likewise.
2358 (md_estimate_size_before_relax): Likewise.
2360 2002-12-08 Alan Modra <amodra@bigpond.net.au>
2362 * subsegs.c (section_symbol): Use the symbol, not the section, name.
2364 2002-12-05 Richard Henderson <rth@redhat.com>
2366 * config/ia64.c (enum reloc_func): Add FUNC_LT_RELATIVE_X.
2367 (ia64_gen_real_reloc_type): Handle it.
2368 (pseudo_func): Add @ltoffx.
2369 (md_begin): Build .<ltoffx>.
2370 (ia64_force_relocation): True for LTOFF22X and LDXMOV.
2372 2002-12-05 Alan Modra <amodra@bigpond.net.au>
2374 * config/tc-arm.c (arm_force_relocation): Move out of #if OBJ_ELF.
2375 Move OBJ_COFF TC_FORCE_RELOCATION code here so that COFF handles
2376 ARM_IMMEDIATE and ARM_ADRL_IMMEDIATE relocs as for ELF.
2377 * config/tc-arm.h (TC_FORCE_RELOCATION): Define for both ELF and
2378 COFF to call arm_force_relocation.
2380 2002-12-04 David Mosberger <davidm@hpl.hp.com>
2382 * config/tc-ia64.c (pseudo_func): Add "@pause" constant for "hint"
2384 (emit_one_bundle): Handle "hint" instruction.
2385 (operand_match): Match IA64_OPND_AR_CSD.
2387 2002-12-04 Alan Modra <amodra@bigpond.net.au>
2389 * dwarf2dbg.c (scale_addr_delta): Correct parameter. Move prototype
2392 2002-12-03 Nick Clifton <nickc@redhat.com>
2394 * config/tc-ppc.c (ppc_cleanup): Do not set SEC_MERGE flag on
2395 .PPC.EMB.apuinfo sections.
2397 2002-12-03 Richard Henderson <rth@redhat.com>
2399 * config/tc-ia64.c (operand_match): Add IA64_OPND_LDXMOV case.
2401 2002-12-03 Alan Modra <amodra@bigpond.net.au>
2403 * config/tc-w65.c (s_longa): Prototype. Make static, specify int arg.
2404 (cons, s_align_bytes): Delete declaration.
2406 (md_begin): Constify "struct opinfo *" var. Don't try to make "name"
2408 (dot): Delete unused function.
2409 (w65_expression): Remove unused arg.
2410 (parse_exp): Prototype. Remove unused arg. Adjust w65_expression
2412 (get_operands): Prototype. Constify "struct opinfo *" arg. Fix
2414 (get_specific): Prototype. Constify "struct opinfo *" arg and return
2416 (check): Remove unused function.
2417 (build_Mytes): Prototype. Constify "struct opinfo *" arg. Abort
2418 on unhandled switch case.
2419 (md_assemble): Remove unused op_start, op_end, nlen, p vars. Constify
2421 (tc_crawl_symbol_chain): Delete unused function.
2422 (tc_headers_hook): Likewise.
2423 (tc_Nout_fix_to_chars): Likewise.
2424 (md_undefined_symbol): Add ATTRIBUTE_UNUSED.
2425 (md_parse_option): Likewise.
2426 (md_convert_frag): Likewise.
2427 (tc_coff_symbol_emit_hook): Likewise.
2428 (md_show_usage): Likewise.
2429 * config/tc-w65.h (tc_coff_sizemachdep): Declare.
2430 (TC_PARSE_CONS_EXPRESSION): w65_expression takes one arg.
2431 (w65_expression): Declare.
2433 * po/POTFILES.in: Regenerate.
2435 * config/tc-arm.c (arm_force_relocation): Return 0 for ARM_IMMEDIATE
2436 and ARM_ADRL_IMMEDIATE.
2438 2002-12-02 Nick Clifton <nickc@redhat.com>
2440 * gasp.c: Delete. It has been deprecated.
2441 * NEWS: Mention that gasp has been removed.
2442 * Makefile.am: Remove references to gasp.
2443 * makefile.vms: Likewise.
2444 * mpw-make.sed: Likewise.
2445 * Makeile.in: Regenerate.
2446 * doc/gasp.texi: Delete.
2447 * doc/Makefile.am: Remove references to gasp.texi.
2448 * doc/Makefile.in: Regenerate.
2449 * macro.c: Delete references to gasp.
2450 Remove use of comment_char function parameter as it is no longer
2452 * macro.h: Update prototypes to remove comment_char parameter.
2454 * read.c (read_a_source_file, s_irp): Remove comment_char
2455 parameter from invocation of functions in macro.c
2457 2002-12-02 Hans-Peter Nilsson <hp@axis.com>
2459 * read.c (emit_expr) [!WORKING_DOT_WORD]: Initialize x->use_jump.
2461 2002-12-01 Stephane Carrez <stcarrez@nerim.fr>
2463 * config/tc-m68hc11.c (md_begin): Fix qsort warning.
2464 (tc_gen_reloc): Mark section param as not used.
2466 2002-12-01 Stephane Carrez <stcarrez@nerim.fr>
2468 Fix Bug savannah/1825:
2469 * config/tc-m68hc11.h (md_relax_frag): Define to support relaxations
2470 that are not pc-relative.
2471 (m68hc11_relax_frag): Declare.
2473 * config/tc-m68hc11.c (build_indexed_byte): Use a frag_var to handle
2474 the offsetable indexed addressing modes (n,r).
2475 (build_insn): Cleanup some locals.
2476 (m68hc11_relax_frag): New function imported from tc-cris.c to handle
2477 relaxation of difference between two symbols of same section.
2478 (md_convert_frag): For INDEXED_OFFSET relaxs, use the displacement
2479 only when this is a PC-relative operand and the offset is not absolute.
2480 (md_estimate_size_before_relax): Convert the INDEXED_OFFSET,UNDEF frag
2481 to INDEXED_OFFSET,STATE_BITS5 when the symbol is absolute; this will
2482 be handled by m68hc11_relax_frag.
2484 2002-12-01 Stephane Carrez <stcarrez@nerim.fr>
2486 * config/tc-m68hc11.c (elf_flags): Set default ABI to gcc default
2487 (32-bit int, 64-bit double).
2488 (md_longopts): New options -mshort, -mlong, -mshort-double and
2489 -mlong-double to control the ABI.
2490 (md_show_usage): Update.
2491 (md_parse_option): Handle new options.
2492 * doc/as.texinfo (Overview): Document new options for HC11/HC12.
2494 2002-12-01 Nathan Sidwell <nathan@codesourcery.com>
2496 * symbols.c (report_op_error): New function, broken out of ...
2497 (resolve_symbol_value): ... here. Use for both monadic and dyadic
2500 2002-11-30 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2502 * config/tc-sh.c (md_apply_fix3): Take account of fx_offset
2503 for BFD_RELOC_32_PLT_PCREL.
2505 2002-11-30 Alan Modra <amodra@bigpond.net.au>
2507 * dwarf2dbg.c, write.c, config/obj-aout.c, config/obj-coff.c,
2508 config/obj-ecoff.c, config/obj-elf.c, config/obj-som.c,
2509 config/tc-arm.c, config/tc-arm.h, config/tc-avr.c, config/tc-cris.c,
2510 config/tc-d10v.c, config/tc-d10v.h, config/tc-d30v.c, config/tc-d30v.h,
2511 config/tc-dlx.c, config/tc-dlx.h, config/tc-fr30.c, config/tc-fr30.h,
2512 config/tc-frv.c, config/tc-frv.h, config/tc-hppa.c, config/tc-i370.c,
2513 config/tc-i386.c, config/tc-i386.h, config/tc-m32r.c,
2514 config/tc-m68hc11.c, config/tc-mcore.c, config/tc-mcore.h,
2515 config/tc-mips.c, config/tc-mips.h, config/tc-mn10200.c,
2516 config/tc-mn10300.c, config/tc-mn10300.h, config/tc-openrisc.c,
2517 config/tc-openrisc.h, config/tc-ppc.c, config/tc-s390.c,
2518 config/tc-sh.c, config/tc-sh.h, config/tc-sh64.c, config/tc-tic54x.c,
2519 config/tc-v850.c, config/tc-v850.h, config/tc-xstormy16.c,
2520 config/tc-xstormy16.h: Replace boolean with bfd_boolean, true with
2521 TRUE, false with FALSE. Simplify comparisons of bfd_boolean vars with
2522 TRUE/FALSE. Formatting.
2524 2002-11-29 Nick Clifton <nickc@redhat.com>
2526 * config/tc-arm.c (do_t_bkpt): If no operand is specified,
2527 assume a value of zero.
2528 (do_bkpt): Likewise.
2530 2002-11-29 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2532 * config/tc-sh.c (md_apply_fix3): Call S_SET_THREAD_LOCAL
2533 for TLS relocations.
2535 2002-11-29 Jakub Jelinek <jakub@redhat.com>
2537 * config/tc-ia64.c (md_apply_fix3): Add default case.
2539 2002-11-28 Jakub Jelinek <jakub@redhat.com>
2541 * symbols.c (S_SET_THREAD_LOCAL): New function.
2542 * symbols.h (S_SET_THREAD_LOCAL): New prototype.
2543 * config/tc-i386.c (md_apply_fix3): Call S_SET_THREAD_LOCAL
2544 for TLS relocations.
2545 * config/tc-ia64.c (md_apply_fix3): Likewise.
2546 * config/tc-alpha.c (md_apply_fix3): Likewise.
2548 2002-11-28 Jakub Jelinek <jakub@redhat.com>
2550 * write.c (subsegs_finish): For SEC_MERGE sections pad last fragment
2553 2002-11-26 DJ Delorie <dj@redhat.com.
2555 * dwarf2dbg.c (scale_addr_delta): New.
2556 (size_inc_line_addr): Use it.
2557 (emit_inc_line_addr): Use it.
2559 2002-11-26 Hans-Peter Nilsson <hp@axis.com>
2561 * config/tc-cris.c (cris_relax_frag): Fix typo in comment.
2562 (md_assemble): Don't pass on branches to constants as relaxable.
2565 2002-11-25 Svein E. Seldal <Svein.Seldal@solidas.com>
2567 * config/tc-tic4x.c (c4x_operands_match): Bugfix in direct mode
2569 2002-11-21 Randolph Chung <randolph@tausq.org>
2571 * config/tc-hppa.h (tc_frob_symbol): Frob undefined unused symbols
2572 only if they have default visibility.
2574 2002-11-21 Richard Henderson <rth@redhat.com>
2576 * config/tc-alpha.c (alpha_fix_adjustable): Remove redundant
2579 2002-11-21 Alan Modra <amodra@bigpond.net.au>
2581 * config/tc-mcore.c (mcore_pool_count): New function.
2582 (mcore_cons, mcore_float_cons, mcore_stringer, mcore_fill): Use it.
2584 2002-11-20 Klee Dienes <kdienes@apple.com>
2586 * config/tc-mcore.c (md_begin): Use a const iterator. Don't
2587 coalesce the name fields to use the same pointer.
2589 * config/tc-sh.c (md_begin): Use a const iterator. Don't coalesce
2590 the name fields to use the same pointer.
2591 (get_specific): Check for opcodes with the same name using strcmp
2592 as well as comparing the pointer.
2594 2002-11-20 Alan Modra <amodra@bigpond.net.au>
2596 * write.c (adjust_reloc_syms): Don't reduce SEC_MERGE fixups with
2599 2002-11-19 Richard Henderson <rth@redhat.com>
2601 * config/obj-elf.c (obj_elf_visibility): Overwrite only the
2602 visibility portion of st_other.
2604 2002-11-19 Klee Dienes <kdienes@apple.com>
2606 * config/tc-h8300.c (struct h8_instruction): New type, used to
2607 wrap h8_opcodes with length, noperands, idx, and size fields
2608 (computed at run-time).
2609 (h8_instructions): New variable.
2610 (md_begin): Allocate the storage for h8_instructions. Fill
2611 h8_instructions with pointers to the appropriate opcode and the
2612 correct value for the additional fields.
2613 (clever_message): Update to use h8_instructions instead of
2615 (build_bytes): Ditto.
2616 (get_specific): Ditto.
2617 (md_assemble): Ditto.
2619 2002-11-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
2621 * config/tc-s390.c (tc_s390_fix_adjustable): Re-add patch to prevent
2622 adjustments to symbols in merge sections.
2624 2002-11-19 Luke Deller <luked@cse.unsw.edu.au>
2626 * config/tc-alpha.c (s_alpha_prologue): as_bad when sym is NULL.
2628 2002-11-18 Kevin Buettner <kevinb@redhat.com>
2630 * dwarf2dbg.h (dwarf2_format): New enum.
2631 * dwarf2dbg.c (DWARF2_FORMAT): Provide default definition.
2632 (out_debug_line, out_debug_info): Add code for handling 64-bit
2634 * config/tc-mips.h (mips_dwarf2_format): Declare.
2635 * config/tc-mips.c (mips_dwarf2_format): New function.
2636 * doc/internals.texi (DWARF2_FORMAT): Document.
2638 2002-11-18 Alexandre Oliva <aoliva@redhat.com>
2640 * config/tc-mips.c (s_change_section): Make sure input buffer
2641 is not accessed past the end. Don't hand
2642 obj_elf_change_section a pointer into the input buffer.
2644 2002-11-18 Alexandre Oliva <aoliva@redhat.com>, Chris Demetriou <cgd@broadcom.com>
2646 * config/tc-mips.c (tc_gen_reloc): Fix typo in handling of
2649 2002-11-18 Svein E. Seldal <Svein.Seldal@solidas.com>
2651 * config/tc-tic4x.c: Fixed proper commandline
2652 parameters. Added support for new opcode-list format. General
2653 error message fixups.
2654 (c4x_inst_add): Reject insn not for our CPU
2655 (md_begin): Added matrix for setting the proper opcode-level &
2656 device-flags according to cpu type and revision. Rewrite the
2658 (c4x_operand_parse): Fix opcode bug
2659 (c4x_operands_match): New function argument. Added dry-run
2660 mechanism, that is optional error generation. Added constraint 'i'
2662 (c4x_insn_check): Added new function for post-verification of the
2664 (md_assemble): Check all opcodes before croaking because of an
2665 argument mismatch. Need this to be able to fully support
2666 ortogonally arguments.
2667 (md_parse_options): Revised commandprompt swicthes and added new
2669 (md_show_usage): Complete rewrite of printout.
2671 2002-11-16 Svein E. Seldal <Svein.Seldal@solidas.com>
2673 * config/tc-tic4x.c: Remove c4x_pseudo_ignore function.
2674 (c4x_operands_match): Added check for 8-bits LDF insn. Give
2675 warning when using constant direct bigger than 2^16. Add the new
2678 2002-11-11 Christopher Faylor <cgf@redhat.com>
2680 * configure.in: Use .gdbinit under Cygwin.
2681 * configure: Regenerate.
2683 2002-11-11 Christopher Faylor <cgf@redhat.com>
2685 * config/tc-i386.h (EXTERN_FORCE_RELOC): Define only if
2688 2002-11-11 Svein E. Seldal <Svein.Seldal@solidas.com>
2690 * config/tc-tic4x.c: Declare as many functions as possible as
2691 static. Maintenance on the general indenting. Removed unnecessary
2692 pseudo-ops and added new ones. Removed obsoleted c4x_pseudo_ignore
2693 function. Add support for new DSP, TMS320VC33. Fix bug for
2694 converting flonum constants.
2695 (c4x_do_align): Add proper align handling. Setup align to insert
2697 (c4x_gen_to_words): Support for extended TI type floats.
2698 (md_atof): Proper dumping of multiple-word littlenums.
2699 (c4x_atof): Added support for extended TI type floats.
2700 (c4x_stringer): Added new function to handle compact strings.
2701 (c4x_emit_char): Added new function argument to handle custom
2702 length inserts, like single-byte strings.
2703 * config/tc-tic4x.h: Add proper align handling with NOP's.
2704 * Makefile.am: Added tic4x dependecy
2705 * Makefile.in: Regenerate
2707 2002-11-11 Hans-Peter Nilsson <hp@bitrange.com>
2709 * macro.c (get_any_string): Correct logic for not going beyond end
2712 2002-11-10 Hans-Peter Nilsson <hp@bitrange.com>
2714 * config/tc-mmix.c (get_putget_operands): Mark both possible
2715 operands as invalid at beginning.
2717 * config/tc-mmix.c (md_convert_frag) <case STATE_GREG_DEF>:
2718 Initialize target of fixup to zero.
2720 2002-11-07 Alexandre Oliva <aoliva@redhat.com>
2722 * config/tc-mips.c (macro_build_lui): _gp_disp is not special on
2723 NEWABI, but we should still emit HI16_S for non-PIC n32.
2725 2002-11-06 Richard Henderson <rth@redhat.com>
2727 * config/tc-alpha.c (alpha_validate_fix): Move code ...
2728 (alpha_fix_adjustable): ... here.
2729 * config/tc-alpha.h (TC_VALIDATE_FIX): Remove.
2731 2002-11-07 Eric Kohl <ekohl@rz-online.de>
2733 * config/te-pe.h (LEX_AT): Accept at-sign (@) as first character
2736 2002-11-05 H.J. Lu <hjl@gnu.org>
2738 * config/tc-mips.c (support_64bit_objects): Check *l before it
2741 2002-11-04 Danny Smith <dannysmith@users.sourceforge.net>
2743 * config/obj-coff.c (obj-coff-section): Set SEC_DATA and
2744 SEC_LOAD flags for sections marked as 's'.
2746 2002-11-01 Alan Modra <amodra@bigpond.net.au>
2748 * write.c (TC_FORCE_RELOCATION_SUB_ABS): Default to zero.
2749 (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise when DIFF_EXPR_OK.
2750 * doc/internals.texi (TC_FORCE_RELOCATION_SUB_ABS): Document changed
2753 * dep-in.sed: Fix typo.
2755 2002-10-30 Daniel Jacobowitz <drow@mvista.com>
2757 * configure.in: Update ARM CPU patterns.
2758 * configure: Regenerated.
2760 2002-10-29 Daniel Jacobowitz <drow@mvista.com>
2762 * itbl-lex.l: Use #include <> for generated headers.
2763 * itbl-ops.c: Likewise.
2765 2002-10-28 Daniel Jacobowitz <drow@mvista.com>
2767 * doc/gasp.texi: Fix typo in deprecation note.
2769 2002-10-23 Nick Clifton <nickc@redhat.com>
2771 * config/tc-arm.c (tc_gen_reloc): Allow an absolute reference to
2772 _GLOBAL_TABLE_OFFSET_ to be converted into a GOT reloc.
2774 2002-10-23 Hans-Peter Nilsson <hp@bitrange.com>
2776 * config/tc-mmix.h (mmix_frob_file_before_adjust): Don't declare.
2777 (tc_frob_file_before_adjust): Don't define.
2778 * config/tc-mmix.c (mmix_frob_local_reloc): Remove unused
2780 (mmix_frob_file_before_adjust): Remove ineffective function.
2782 2002-10-23 Hans-Peter Nilsson <hp@axis.com>
2784 * config/tc-cris.c (SIMPLE_EXPR): New macro.
2785 (cris_relax_frag): New function.
2786 (md_estimate_size_before_relax) <case ENCODE_RELAX
2787 (STATE_BASE_PLUS_DISP_PREFIX, STATE_UNDF)>: Pass on unresolved
2788 expressions that will become absolute expressions to relaxation.
2789 (md_convert_frag) <case ENCODE_RELAX (STATE_BASE_PLUS_DISP_PREFIX,
2790 STATE_WORD)>: Expect only absolute expressions. Use the symbol
2791 value, not distance to symbol.
2792 <case ENCODE_RELAX (STATE_BASE_PLUS_DISP_PREFIX, STATE_BYTE)>:
2793 Ditto. Correct placement of fixup.
2794 (md_assemble): Use SIMPLE_EXPR when dissecting expressions.
2796 * config/tc-cris.h (cris_relax_frag): Declare.
2797 (md_relax_frag): Define.
2799 2002-10-22 Alan Modra <amodra@bigpond.net.au>
2801 * config/obj-elf.c (special_sections): Use correct types for init
2803 (obj_elf_change_section): Don't mess with init array section type.
2805 2002-10-21 Richard Sandiford <rsandifo@redhat.com>
2807 * config/tc-mips.c (mips_need_elf_addend_fixup): Return true
2808 for relocs against symbols in a merged section.
2810 2002-10-18 Alexandre Oliva <aoliva@redhat.com>
2812 * config/tc-mips.c (md_begin): Add $fcc registers to the symbol
2813 table as register names.
2815 2002-10-18 Ulrich Weigand <uweigand@de.ibm.com>
2817 * config/tc-s390.c (md_parse_option): Set s390_arch_size to 32
2820 2002-10-18 Svein E. Seldal <Svein.Seldal@solidas.com>
2822 * expr.c (operand): Add support for n.nn flonums.
2824 2002-10-17 Johannes Stezenbach <js@convergence.de>
2826 * itbl-parse.y (entry): Provide empty action.
2828 2002-10-16 Alan Modra <amodra@bigpond.net.au>
2830 * configure.in (BFDVER_H): Set and subst.
2831 * dep-in.sed: Replace bfdver.h with $(BFDVER_H).
2832 * Makefile.am: Run "make dep-am".
2834 * configure: Regenerate.
2835 * Makefile.in: Regenerate.
2836 * doc/Makefile.in: Regenerate.
2838 2002-10-15 Alan Modra <amodra@bigpond.net.au>
2840 * config/tc-i386.h (EXTERN_FORCE_RELOC): Define.
2841 (MD_APPLY_SYM_VALUE): Define for PE too.
2843 2002-10-14 Alan Modra <amodra@bigpond.net.au>
2845 * Makefile.am: Run "make dep-am".
2846 (CPU_OBJ_VALID): sh64 coff is invalid.
2847 * as.c: #include "bfdver.h".
2848 * Makefile.in: Regenerate.
2849 * config.in: Regenerate.
2851 2002-10-14 Momchil Velikov <velco@fadata.bg>
2853 * config/tc-v850.c (CHECK_): Remove token pasting operator.
2855 2002-10-14 Richard Sandiford <rsandifo@redhat.com>
2857 * configure.in (mips64vr-elf, mips64vrel-elf): New config.
2858 * configure: Regenerate.
2860 2002-10-13 Eric Christopher <echristo@redhat.com>
2861 Alexandre Oliva <aoliva@redhat.com>
2863 * config/tc-mips.c (s_gpdword): New function.
2864 (mips_pseudo_table): Add .gpdword.
2865 (mips_need_elf_addend_fixup): never for NEWABI.
2866 (md_apply_fix3): Don't mark BFD_RELOC64 after GPREL16 or
2868 (s_cpadd): Generate .cpadd on NEWABI.
2870 2002-10-12 Elias Athanasopoulos <eathan@otenet.gr>
2872 * config/tc-ppc.c (ppc_cleanup): Make 'i' unsigned int.
2874 2002-10-12 Alexandre Oliva <aoliva@redhat.com>
2876 * config/tc-mips.h (mips_relax_frag): Take segment as argument.
2877 (md_relax_frag): Adjust macro.
2878 * config/tc-mips.c (mips_relax_branch): New variable.
2879 (RELAX_BRANCH_ENCODE, RELAX_BRANCH_P, RELAX_BRANCH_LIKELY,
2880 RELAX_BRANCH_LINK, RELAX_BRANCH_TOOBAR): New.
2881 (RELAX_MIPS16_P): Adjust.
2882 (append_insn): Emit branch to non-constant in a frag_var if
2883 branch-relaxation is desirable and possible.
2884 (OPTION_RELAX_BRANCH, OPTION_NO_RELAX_BRANCH): New options.
2885 (OPTION_ELF_BASE): Adjust.
2886 (md_parse_option): Handle new options.
2887 (md_apply_fix3): Update comment on EMBEDDED_PIC conditional
2889 (relaxed_branch_length): New function.
2890 (md_estimate_size_before_relax): Handle branch frags.
2891 (mips_relax_frag): Likewise.
2892 (md_convert_frag): Handle branch frags. Warn if branch is
2895 2002-10-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2897 * config/tc-sh.c (sh_force_relocation): Make sure TLS relocs get
2899 (md_apply_fix3): Add TLS relocs.
2900 (sh_parse_name): Support @TLSGD, @TLSLDM, @GOTTPOFF, @TPOFF and
2903 2002-10-11 Michel Six <msix@ccr.jussieu.fr>
2904 Alan Modra <amodra@bigpond.net.au>
2906 * config/tc-i386.c (output_jump): Set fx_signed for loop/jcxz.
2907 (md_estimate_size_before_relax): Likewise for 8 bit branches.
2909 Thu Oct 10 14:31:30 2002 J"orn Rennecke <joern.rennecke@superh.com>
2911 * config/tc-sh.c (assemble_ppi): Initialize reg_x / reg_y / reg_n
2914 2002-10-09 Richard Shann <richard.shann@superh.com>
2915 Stephen Clarke <stephen.clarke@superh.com>
2917 * config/tc-sh64.c (sh64_target_format): Add support for sh64
2920 2002-10-03 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2922 * contig/tc-sh.c (sh_local_pcrel): New.
2923 (sh_force_relocation): Use sh_local_pcrel.
2924 (md_pcrel_from_section): Check the relocation type whether it
2925 should be resolved locally. Use S_FORCE_RELOC.
2927 2002-10-01 Alan Modra <amodra@bigpond.net.au>
2929 * config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Define.
2930 (TC_FORCE_RELOCATION): Tidy arg.
2932 2002-09-30 Gavin Romig-Koch <gavin@redhat.com>
2933 Ken Raeburn <raeburn@cygnus.com>
2934 Aldy Hernandez <aldyh@redhat.com>
2935 DJ Delorie <dj@redhat.com>
2936 Michael Meissner <meissner@redhat.com>
2937 Eric Christopher <echristo@redhat.com>
2938 Richard Sandiford <rsandifo@redhat.com>
2940 * doc/c-mips.texi: Add entries for -march=vr4120,vr4130,vr4181,
2941 vr5400 and vr5500. Add entry for -mfix-vr4122-bugs.
2942 * config/tc-mips.c (CPU_HAS_DROR, CPU_HAS_ROR): New macros.
2943 (hilo_interlocks): True for CPU_VR5500.
2944 (gpr_interlocks, cop_interlocks): True for CPU_VR5400 and CPU_VR5500.
2945 (mips_fix_vr4122_bugs): New.
2946 (append_insn): Work around 4122 errors if mips_fix_vr4122_bugs.
2947 (mips_emit_delays): Likewise.
2948 (macro2) [M_DROLI]: Use dror or dror32 if CPU_HAS_DROR.
2949 [M_ROLI]: Likewise ror if CPU_HAS_ROR.
2950 (validate_mips_insn, mips_ip): Handle '[', ']', 'e' and '%'.
2951 (OPTION_FIX_VR4122, OPTION_NO_FIX_VR4122): New options.
2952 (md_longopts): Add -mfix-vr4122-bugs and -no-mfix-vr4122-bugs.
2953 (OPTION_ELF_BASE): Bump.
2954 (md_parse_option): Handle the new options.
2955 (mips_cpu_info_table): Add entries for vr4120, vr4130, vr4181,
2958 2002-09-29 H.J. Lu <hjl@gnu.org>
2960 * config/tc-mips.c (md_apply_fix3): Subtract the symbol value
2961 twice if howto->pcrel_offset is true.
2963 2002-09-28 Matt Thomas <matt@3am-software.com>
2964 Jason Thorpe <thorpej@wasabisystems.com>
2966 * config/tc-vax.c (md_estimate_size_before_relax): Only try to
2967 convert undefined references to GOT32/PLT32 if PIC code is
2968 requested. Fix comment.
2970 2002-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2972 * config/tc-sh.c (sh_force_relocation): Return 0 for
2973 some PC relative relocations when not relaxing.
2975 2002-09-26 Jakub Jelinek <jakub@redhat.com>
2977 * config/tc-i386.c (tc_i386_fix_adjustable): Add x86-64 TLS relocs.
2978 Define them if not BFD_ASSEMBLER.
2979 (lex_got): Handle @tlsgd, @dtpoff and @tpoff in 64-bit mode, add
2981 (md_apply_fix3): No addend for BFD_RELOC_X86_64_TLSGD,
2982 BFD_RELOC_X86_64_TLSLD and BFD_RELOC_X86_64_GOTTPOFF.
2983 (tc_gen_reloc): Handle x86-64 TLS relocs.
2985 2002-09-27 Alan Modra <amodra@bigpond.net.au>
2987 * config/tc-avr.c (md_apply_fix3): Reinstate code handling pcrel
2988 fixups to current or absolute section.
2990 2002-09-26 Jim Wilson <wilson@redhat.com>
2992 * config/tc-v850.c (v850_offset): Use frag_var instead of frag_now_fix
2995 2002-09-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2997 * config/tc-mips.c (CPU_HAS_MIPS16): Add mips-lsi-elf as MIPS16
2998 capable configuration.
2999 (macro_build): Check for MIPS16 capability, not for actual MIPS16 code
3001 (mips_ip): Likewise.
3003 2002-09-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
3005 * config/tc-mips.c (append_insn): Fix jump overflow check.
3007 2002-09-24 Alan Modra <amodra@bigpond.net.au>
3009 * config/tc-i386.c (process_operands): Warn about "lea" segment
3012 2002-09-22 Mark Elbrecht <snowball3@softhome.net>
3014 * write.c: Delete set_segment_vma and prototype. Update all callers.
3016 2002-09-21 Alan Modra <amodra@bigpond.net.au>
3018 * config/tc-i386.c (md_apply_fix3): Replace S_IS_EXTERNAL,
3019 S_IS_WEAK etc. with S_FORCE_RELOC call. Correct comment.
3020 Rename "fseg" to "sym_seg".
3021 * Makefile.am: Run "make dep-am".
3022 * Makefile.in: Regenerate.
3023 * doc/Makefile.in: Regenerate.
3025 2002-09-20 Nick Clifton <nickc@redhat.com>
3027 * symbols.c (colon): Do not allow symbols to be created in the
3028 absolute section if WORKING_DOT_WORD is not defined and
3029 new_broken_words would require a new frag to be created.
3031 2002-09-20 Alan Modra <amodra@bigpond.net.au>
3033 * expr.c (expr): Simplify foo-foo here.
3034 (clean_up_expression): Remove O_subtract code.
3036 * write.h (struct fix): Add fx_dot_value.
3037 (dot_value): Declare.
3038 * write.c (dot_value): New var.
3039 (fix_new_internal): Save dot_value as fx_dot_value.
3040 (fixup_segment): Adjust fx_offset using fx_dot_value.
3041 * expr.c (expr): Update dot_value.
3043 2002-09-19 Jakub Jelinek <jakub@redhat.com>
3045 * config/tc-i386.c (tc_i386_fix_adjustable): Handle
3046 BFD_RELOC_386_TLS_IE and BFD_RELOC_386_TLS_GOTIE.
3047 (BFD_RELOC_386_TLS_IE, BFD_RELOC_386_TLS_GOTIE): Define to 0
3049 (lex_got): Handle @GOTNTPOFF and @INDNTPOFF.
3050 (md_apply_fix3, tc_gen_reloc): Handle BFD_RELOC_386_TLS_IE and
3051 BFD_RELOC_386_TLS_GOTIE.
3053 2002-09-19 Richard Henderson <rth@redhat.com>
3055 * config/tc-alpha.c (md_pcrel_from): Only adjust special for
3057 (alpha_force_relocation): Don't special-case branch type relocs.
3059 2002-09-19 Nick Clifton <nickc@redhat.com>
3061 * config/tc-m68k.c (select_control_regs): Handle situation where
3062 architecture has not yet been selected.
3064 2002-09-18 Chris Demetriou <cgd@broadcom.com>
3066 * config/tc-mips.c (IS_SEXT_32BIT_NUM): Move closer to top of file.
3067 (IS_SEXT_16BIT_NUM): New macro.
3068 (macro_build_ldst_constoffset): New function, to build a set of
3069 instructions to do a load or store from a constant offset relative
3070 to a given register.
3071 (macro, s_cprestore): Use macro_build_ldst_constoffset to implement
3072 .cprestore pseudo-op.
3074 2002-09-18 Chris Demetriou <cgd@broadcom.com>
3076 * config/tc-mips.c (md_apply_fix3): Just return for BFD_RELOC_8.
3078 2002-09-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
3080 * config/tc-mips.c (s_change_section): Fix parsing. Code cleanup.
3082 2002-09-17 Stan Cox <scox@redhat.com>
3084 * tc-mips.c (load_address): Use BFD_RELOC_MIPS_GOT_DISP for newabi.
3085 (macro): Likewise for la. Likewise for ld.
3086 (mips_after_parse_args): Make -xgot optional, not the default.
3087 (md_apply_fix3): Allow composite relocation to set up gp.
3088 (tc_gen_reloc): Allow relaxing for newabi.
3089 Relax R_MIPS_CALL16 to R_MIPS_GOT_PAGE/R_MIPS_GOT_OFST if local.
3090 Relax R_MIPS_GOT16/R_MIPS_LO16 to R_MIPS_GOT_DISP if local.
3092 2002-09-17 Nick Clifton <nickc@redhat.com>
3094 * config/tc-arm.c (md_apply_fix3): Note that an implemented
3095 BFD_RELOC_ARM_IMMEDIATE has been done.
3096 (tc_gen_reloc): Do not issue reloc number of unimplemented
3097 BFD_RELOC_ARM_IMMEDIATE and BFD_RELOC_ARM_OFFSET_IMM relocs -
3098 their name is already in the error message - plus remove them
3099 from the default case.
3101 * config/tc-arm.c (do_ldmstm): Warn about unpredictable
3102 behavior of instructions.
3104 2002-09-17 Svein E. Seldal <Svein.Seldal@solidas.com>
3106 * config/tc-tic4x.c: Add function declarations and ATTRIBUTE_UNUSED.
3107 Convert functions to K&R format.
3109 2002-09-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
3111 * config/tc-mips.c (pdr_seg): Define only for ELF.
3112 (s_change_section): Remove unused variable. Don't use for nonELF.
3114 2002-09-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
3116 * config/obj-elf.c (obj_elf_change_section): Move prototype to
3118 * config/obj-elf.h (obj_elf_change_section): Likewise.
3120 2002-09-16 Elias Athanasopoulos <eathan@otenet.gr>
3122 * dwarf2dbg.c (out_debug_abbrev): Add support for the DW_AT_name field.
3123 (out_debug_info): Likewise.
3125 2002-09-16 Bruno Haible <bruno@clisp.org>
3127 * config/tc-i386.h (ELF_TARGET_FORMAT): New macro.
3128 (TARGET_FORMAT): Use ELF_TARGET_FORMAT instead of "elf32-i386".
3129 * config/tc-i386.c (i386_target_format): Likewise.
3130 * config/tc-alpha.h (ELF_TARGET_FORMAT): New macro.
3131 (TARGET_FORMAT): Use ELF_TARGET_FORMAT instead of "elf64-alpha".
3133 2002-09-13 Nick Clifton <nickc@redhat.com>
3135 * config/tc-ppc.c (md_assemble): Do not count FAKE operands
3136 when deciding if any operands have been skipped.
3138 2002-09-11 Nick Clifton <nickc@redhat.com>
3140 * NEWS: New TI port supports both C4x and C3x series of DSPs.
3142 * po/tr.po: Updated Turkish translation.
3144 2002-09-11 Jakub Jelinek <jakub@redhat.com>
3146 * config/tc-i386.c (md_apply_fix3): Allow addend for
3147 BFD_RELOC_386_TLS_LDO_32, BFD_RELOC_386_TLS_LE and
3148 BFD_RELOC_386_TLS_LE_32.
3150 2002-09-05 Jeff Law <law@redhat.com>
3152 * config/tc-hppa.c (md_apply_fix3): Don't set fx_done for
3153 marker relocations such as ENTRY/EXIT.
3154 * config/tc-hppa.h (MD_APPLY_SYM_VALUE): Definition applies
3155 to both OBJ_ELF and OBJ_SOM.
3157 2002-09-05 Alan Modra <amodra@bigpond.net.au>
3159 * doc/internals.texi (md_apply_fix3): Expand.
3160 (TC_VALIDATE_FIX, TC_FORCE_RELOCATION, TC_FORCE_RELOCATION_ABS,
3161 TC_FORCE_RELOCATION_LOCAL, TC_FORCE_RELOCATION_SUB_SAME,
3162 TC_FORCE_RELOCATION_SUB_ABS, TC_FORCE_RELOCATION_SUB_LOCAL,
3163 TC_VALIDATE_FIX_SUB, MD_APPLY_SYM_VALUE, S_FORCE_RELOC,
3164 EXTERN_FORCE_RELOC): Document.
3165 (TC_HANDLES_FX_DONE, obj_fix_adjustable): Remove.
3166 * as.h: Don't include struc-symbol.h for arc.
3168 * cgen.c (gas_cgen_md_apply_fix3): Remove *valP fudges and code to
3169 subtract absolute symbol.
3170 * obj.h (struct format_ops): Add frob_file_before_fix.
3171 * subsegs.c (section_symbol): Set BSF_SECTION_SYM flag.
3172 * symbols.c (S_FORCE_RELOC): New function.
3173 * symbols.h (S_FORCE_RELOC): Declare.
3174 * write.c (TC_FORCE_RELOCATION): Change default.
3175 (TC_FORCE_RELOCATION_ABS): Define.
3176 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
3177 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
3178 (TC_FORCE_RELOCATION_SECTION): Don't define.
3179 (TC_FORCE_RELOCATION_SUB_SAME): Define this instead.
3180 (TC_FORCE_RELOCATION_SUB_ABS): Define.
3181 (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
3182 (TC_VALIDATE_FIX_SUB): Define.
3183 (TC_FIX_ADJUSTABLE): Don't define.
3184 (MD_APPLY_SYM_VALUE): Define this instead.
3185 (abs_section_sym): New variable.
3186 (adjust_reloc_syms): Use S_FORCE_RELOC. Remove obj_fix_adjustable
3187 call. Don't symbol_mark_used_in_reloc here. Simplify link_once tests.
3188 Don't put the absolute section sym on fixups here.
3189 (fix_segment): New function.
3190 (write_relocs): Don't call fixup_segment from here.
3191 (write_object_file): Instead call tc_frob_file_before_fix,
3192 obj_frob_file_before_fix, and fix_segment prior to symbol table code.
3193 Don't output the absolute section symbol.
3194 (fixup_segment): Rewrite.
3195 * write.h (abs_section_sym): Declare.
3196 * config/obj-aout.c (obj_aout_frob_file_before_fix): Rename from
3198 (aout_format_ops): Adjust to suit.
3199 * config/obj-aout.h (obj_frob_file): Don't define.
3200 (obj_frob_file_before_fix): Define.
3201 (obj_aout_frob_file_before_fix): Rename from obj_aout_frob_file.
3202 (S_FORCE_RELOC): Define.
3203 * config/obj-bout.h (S_FORCE_RELOC): Define.
3204 * config/obj-coff.c (coff_format_ops): Init new field.
3205 * config/obj-coff.h: Formatting fixes.
3206 (obj_sec_sym_ok_for_reloc): Define.
3207 (S_FORCE_RELOC): Define.
3208 * config/obj-ecoff.c (ecoff_frob_file_before_fix): Split out ..
3209 (ecoff_frob_file): .. from here.
3210 (ecoff_format_ops): Add new function.
3211 * config/obj-ecoff.h (ecoff_frob_file_before_fix): Declare.
3212 (obj_frob_file_before_fix): Define.
3213 * config/obj-elf.c (elf_format_ops): Init new field.
3214 * config/obj-elf.h (obj_sec_sym_ok_for_reloc): Expand comment.
3215 * config/obj-ieee.h: Formatting fixes.
3216 (S_FORCE_RELOC): Define.
3217 * config/obj-multi.h (obj_frob_file_before_fix): Define.
3218 * config/obj-vms.h (S_FORCE_RELOC): Define.
3219 * config/tc-alpha.c (md_apply_fix3): Correct GPDISP comment.
3220 (alpha_force_relocation): Use S_FORCE_RELOC, and don't return 0
3221 for BFD_RELOC_32 and BFD_RELOC_64.
3222 (alpha_fix_adjustable): Remove extern and weak tests.
3223 (alpha_before_fix): Rename from alpha_adjust_symtab.
3224 (alpha_adjust_relocs): Rename from alpha_adjust_symtab_relocs.
3225 * config/tc-alpha.h (struct fix, struct alpha_reloc_tag): Declare.
3226 (TC_VALIDATE_FIX): Tweak param name.
3227 (TC_FORCE_RELOCATION, tc_fix_adjustable): Likewise.
3228 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
3229 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
3230 (MD_APPLY_SYM_VALUE): Define.
3231 (tc_adjust_symtab): Don't define.
3232 (alpha_adjust_symtab): Don't declare.
3233 (tc_frob_file_before_fix): Define.
3234 (alpha_before_fix): Declare.
3235 (TC_INIT_FIX_DATA): Tweak param names.
3236 * config/tc-arc.c: Include "struc-symbol.h".
3237 (md_pcrel_from): Remove undefined sym fudge.
3238 (md_apply_fix3): Remove *valP fudges and code to subtract abs sym.
3239 Don't set fx_addnumber.
3240 (tc_gen_reloc): Remove spurious fx_addnumber comment.
3241 * config/tc-arc.h (MD_APPLY_SYM_VALUE): Define.
3242 (EXTERN_FORCE_RELOC): Define.
3243 * config/tc-arm.c (md_apply_fix3 <case BFD_RELOC_ARM_GOTPC>): Remove.
3244 (tc_gen_reloc): Fudge ARM_GOTPC addend.
3245 (arm_validate_fix): Return void.
3246 (arm_fix_adjustable <elf version>): Remove extern and weak tests.
3247 Add plt and got reloc tests.
3248 (arm_force_relocation): Call S_FORCE_RELOC.
3249 * config/tc-arm.h (struct fix): Forward declare.
3250 (TC_VALIDATE_FIX): No longer set add_symbolP.
3251 (arm_validate_fix): Adjust declaration.
3252 (TC_FORCE_RELOCATION <pe version): Call S_FORCE_RELOC.
3253 (TC_FORCE_RELOCATION): Tweak param name.
3254 (TC_INIT_FIX_DATA): Likewise.
3255 (obj_fix_adjustable): Don't define.
3256 (tc_fix_adjustable): Call arm_fix_adjustable.
3257 (TC_FIX_ADJUSTABLE): Don't define.
3258 (MD_APPLY_SYM_VALUE): Define.
3259 (EXTERN_FORCE_RELOC): Define.
3260 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
3261 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
3262 * config/tc-avr.c (md_apply_fix3): Don't cast valP pointer type.
3263 Remove *valP fudges and code to subtract abs sym. Don't set
3265 * config/tc-avr.h: Formatting.
3266 (EXTERN_FORCE_RELOC): Define.
3267 (MD_APPLY_SYM_VALUE): Define.
3268 * config/tc-cris.c (tc_gen_reloc): Don't use fx_addnumber.
3269 (md_apply_fix3): Remove code to subtract abs sym.
3270 (md_cris_force_relocation): Update comment. Call S_FORCE_RELOC.
3271 * config/tc-cris.h (TC_FORCE_RELOCATION): Tweak param name.
3272 (IS_CRIS_PIC_RELOC, tc_fix_adjustable): Likewise.
3273 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
3274 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
3275 (tc_fix_adjustable): Remove extern, weak tests.
3276 * config/tc-d10v.c (tc_gen_reloc): Don't fiddle address of
3277 BFD_RELOC_VTABLE_INHERIT relocs. Don't use fx_addnumber.
3278 (md_apply_fix3): Don't cast valP pointer type. Remove *valP fudges
3279 and code to subtract abs sym.
3280 (d10v_fix_adjustable): Remove extern, weak, SEC_MERGE tests.
3281 (d10v_force_relocation): Call S_FORCE_RELOC.
3282 * config/tc-d10v.h: Don't include write.h.
3283 (struct fix): Instead, forward declare.
3284 (MD_PCREL_FROM_SECTION): Tweak param names.
3285 (md_pcrel_from_section): Use "struct fix" instead of "fixS".
3286 (d10v_fix_adjustable): Likewise.
3287 (obj_fix_adjustable): Don't define.
3288 (tc_fix_adjustable): Define.
3289 (TC_FORCE_RELOCATION): Tweak param name.
3290 (MD_APPLY_SYM_VALUE): Define.
3291 (EXTERN_FORCE_RELOC): Define.
3292 * config/tc-d30v.c (tc_gen_reloc): Don't use fx_addnumber.
3293 (md_apply_fix3): Don't cast valP pointer type. Remove *valP fudges
3294 and code to subtract abs sym.
3295 * config/tc-d30v.h: Don't include write.h.
3296 (struct fix): Instead, forward declare.
3297 (MD_PCREL_FROM_SECTION): Tweak param names.
3298 (md_pcrel_from_section): Use "struct fix" instead of "fixS".
3299 (MD_APPLY_SYM_VALUE): Define.
3300 (EXTERN_FORCE_RELOC): Define.
3301 * config/tc-dlx.c (md_dlx_force_relocation): Call S_FORCE_RELOC.
3302 (md_dlx_fix_adjustable): Don't test for NULL fx_addsy.
3303 (md_apply_fix3): No need to test fx_pcrel before setting fx_done.
3304 (tc_gen_reloc): Don't fiddle with BFD_RELOC_VTABLE_INHERIT relocs.
3305 Adjust the address for BFD_RELOC_VTABLE_ENTRY, not the addend.
3306 Don't use fx_addnumber.
3307 * config/tc-dlx.h: Don't include write.h.
3308 (md_convert_frag): We're not alpha twice over.
3309 (EXTERN_FORCE_RELOC): Define.
3310 (obj_fix_adjustable): Don't define.
3311 (tc_fix_adjustable): Define.
3312 (TC_FIX_ADJUSTABLE): Don't define.
3313 (MD_APPLY_SYM_VALUE): Define.
3314 (LOCAL_LABELS_DOLLAR): Undef always.
3315 * config/tc-fr30.c (fr30_force_relocation): Call S_FORCE_RELOC.
3316 (fr30_fix_adjustable): Remove extern, weak tests.
3317 * config/tc-fr30.h (MD_APPLY_SYM_VALUE): Define.
3318 (obj_fix_adjustable): Don't define.
3319 (tc_fix_adjustable): Define.
3320 (struct fix): Forward declare.
3321 (MD_PCREL_FROM_SECTION): Tweak param name. Remove duplicate.
3322 * config/tc-frv.c (frv_force_relocation): Call S_FORCE_RELOC.
3323 (frv_fix_adjustable): Don't do extern, weak tests.
3324 * config/tc-frv.h (MD_APPLY_SYM_VALUE): Define.
3325 (TC_FIX_ADJUSTABLE): Don't define.
3326 (obj_fix_adjustable): Don't define.
3327 (tc_fix_adjustable): Define.
3328 (struct fix): Forward declare.
3329 (MD_PCREL_FROM_SECTION): Tweak param name. Remove duplicate.\
3330 * config/tc-h8300.c (md_apply_fix3): Don't cast valP pointer type.
3331 * config/tc-h8300.h (struct fix): Forward declare.
3332 (EXTERN_FORCE_RELOC): Define.
3333 * config/tc-hppa.c (md_apply_fix3): Remove subtraction of sym value.
3334 (hppa_fix_adjustable): Don't test extern or weak. Don't
3335 symbol_mark_used_in_reloc.
3336 (hppa_force_relocation): Use S_FORCE_RELOC instead of S_IS_EXTERNAL
3338 * config/tc-hppa.h (EXTERN_FORCE_RELOC): Define
3339 (TC_FORCE_RELOCATION, TC_INIT_FIX_DATA): Tweak param name.
3340 (TC_FORCE_RELOCATION_SECTION): Don't define.
3341 (MD_APPLY_SYM_VALUE): Define.
3342 * config/tc-i370.c (md_apply_fix3): Remove *valP fudges and code
3343 to subtract abs sym.
3344 * config/tc-i370.h: Remove ifdef OBJ_ELF tests.
3345 (MD_APPLY_SYM_VALUE): Define.
3346 (MD_PCREL_FROM_SECTION): Tweak param name.
3347 * config/tc-i386.c (tc_i386_fix_adjustable): Remove weak, extern tests.
3348 (md_apply_fix3): Test fx_addsy, not fx_pcrel.
3349 (i386_force_relocation): New function.
3350 * config/tc-i386.h (TC_COFF_FIX2RTYPE): Tweak param name.
3351 (TC_VALIDATE_FIX): Likewise.
3352 (TC_FIX_ADJUSTABLE): Don't define.
3353 (MD_APPLY_SYM_VALUE): Define.
3354 (TC_FORCE_RELOCATION <elf version>): Call i386_force_relocation.
3355 (i386_force_relocation): Declare.
3356 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
3357 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
3358 (TC_FORCE_RELOCATION <coff version>): Call S_FORCE_RELOC.
3359 * config/tc-i860.c (md_apply_fix3): Don't cast valP pointer type.
3360 * config/tc-i860.h (MD_APPLY_SYM_VALUE): Define.
3361 (EXTERN_FORCE_RELOC): Define.
3362 * config/tc-i960.c (reloc_callj): Remove declaration. Return false.
3363 (md_apply_fix3): Don't cast valP pointer type. Move code here from
3364 old fixup_segment. No need to test fx_pcrel before setting fx_done.
3365 (i960_validate_fix): Remove add_symbolPP arg and add_symbolP macro.
3366 Use fx_addsy instead of add_symbolP, as_bad_where instead of as_bad.
3367 Remove #if 0 code. Invert return boolean.
3368 * config/tc-i960.h (TC_COUNT_RELOC): Tweak param name.
3369 (TC_COFF_FIX2RTYPE, TC_ADJUST_RELOC_COUNT, TC_VALIDATE_FIX): Likewise.
3370 (tc_headers_hook, tc_coff_fix2rtype): Remove declaration.
3371 (tc_coff_sizemachdep): Prototype.
3372 (i960_handle_align): Likewise.
3373 (i960_validate_fix): Adjust declaration.
3374 (reloc_callj): Likewise.
3375 (EXTERN_FORCE_RELOC): Define.
3376 (TC_FORCE_RELOCATION_SUB_SAME): Define.
3377 (TC_FORCE_RELOCATION_ABS): Define.
3378 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
3379 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
3380 (TC_FIX_ADJUSTABLE): Don't define.
3381 (MD_APPLY_SYM_VALUE): Define.
3382 * config/tc-ia64.c (ia64_force_relocation): Call S_FORCE_RELOC.
3383 * config/tc-ia64.h (MD_APPLY_SYM_VALUE): Define.
3384 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
3385 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
3386 * config/tc-ip2k.c (ip2k_force_relocation): Call S_FORCE_RELOC.
3387 * config/tc-ip2k.h (MD_APPLY_FIX3): Don't define.
3388 (MD_APPLY_SYM_VALUE): Define.
3389 (EXTERN_FORCE_RELOC): Define.
3390 (TC_FORCE_RELOCATION): Tweak param name.
3391 * config/tc-m32r.c (m32r_force_relocation): Call S_FORCE_RELOC.
3392 (m32r_fix_adjustable): Don't test extern, weak.
3393 * config/tc-m32r.h (MD_PCREL_FROM_SECTION): Tweak param name.
3394 (MD_APPLY_SYM_VALUE): Define.
3395 (obj_fix_adjustable): Don't define.
3396 (tc_fix_adjustable): Define.
3397 (tc_frob_file): Don't define.
3398 (tc_frob_file_before_fix): Define.
3399 (EXTERN_FORCE_RELOC): Define.
3400 * config/tc-m68hc11.c (tc_gen_reloc): Set addend to zero. Adjust
3401 BFD_RELOC_VTABLE_ENTRY address.
3402 (tc_m68hc11_force_relocation): Call S_FORCE_RELOC.
3403 (tc_m68hc11_fix_adjustable): Don't test relaxable_symbol.
3404 (md_apply_fix3): Remove *valP fudges and code to subtract abs sym.
3405 Remove duplicated fx_done code.
3406 * config/tc-m68hc11.h (MD_APPLY_SYM_VALUE): Define.
3407 (EXTERN_FORCE_RELOC): Define.
3408 * config/tc-m68k.c (tc_m68k_fix_adjustable): Don't test
3410 * config/tc-m68k.h (TC_COFF_FIX2RTYPE): Tweak param name.
3411 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
3412 (TC_FIX_ADJUSTABLE): Don't define.
3413 (EXTERN_FORCE_RELOC): Define.
3414 (MD_APPLY_SYM_VALUE): Define.
3415 (TC_FORCE_RELOCATION): Call S_FORCE_RELOC.
3416 * config/tc-mcore.c (md_apply_fix3): Don't cast valP pointer type.
3417 Remove fx_addsy tests.
3418 (mcore_force_relocation): Call S_FORCE_RELOC.
3419 (mcore_fix_adjustable): Don't test fx_addsy.
3420 * config/tc-mcore.h (MD_PCREL_FROM_SECTION): Tweak param name.
3421 (EXTERN_FORCE_RELOC): Define.
3422 (obj_fix_adjustable): Don't define.
3423 (tc_fix_adjustable): Define.
3424 (MD_APPLY_SYM_VALUE): Define.
3425 * config/tc-mips.c (enum mips_pic_level): Move to tc-mips.h.
3426 (mips_pic): No longer static.
3427 (mips_force_relocation): Call S_FORCE_RELOC.
3428 (mips_fix_adjustable): Remove extern, weak tests.
3429 * config/tc-mips.h (enum mips_pic_level): Declare.
3430 (mips_pic): Declare.
3431 (tc_frob_file): Don't define.
3432 (tc_frob_file_before_fix): Define this instead.
3433 (EXTERN_FORCE_RELOC): Define.
3434 * config/tc-mmix.c (md_apply_fix3): Replace real_reg_section tests
3435 with reg_section tests. Set fx_done instead of calling
3436 symbol_clear_used_in_reloc on bad relocs.
3437 (tc_gen_reloc): Zero fx_addsy on bad relocs.
3438 (mmix_force_relocation): Remove weak sym test. Call S_FORCE_RELOC.
3439 (mmix_adjust_symtab): Simplify list handling. Abort on any
3441 * config/tc-mmix.h (tc_fix_adjustable): Remove weak tests. Check
3442 BFD_RELOC_MMIX_LOCAL.
3443 (tc_frob_symbol): Keep user defined syms in reg_section. Don't punt.
3444 (EXTERN_FORCE_RELOC): Define.
3445 (MD_PCREL_FROM_SECTION): Tweak param name.
3446 (tc_frob_file): Don't define.
3447 (tc_frob_file_before_fix): Define this instead.
3448 * config/tc-mn10300.c (mn10300_force_relocation): Call S_FORCE_RELOC.
3449 Remove SEC_CODE checks.
3450 (mn10300_fix_adjustable): Remove extern and weak tests.
3451 * config/tc-mn10300.h (EXTERN_FORCE_RELOC): Define.
3452 (TC_FORCE_RELOCATION): Tweak param name.
3453 (obj_fix_adjustable): Don't define.
3454 (TC_FORCE_RELOCATION_SUB_SAME): Define to handle SEC_CODE.
3455 * config/tc-ns32k.h (TC_FIX_DATA_PRINT): Tweak param name.
3456 * config/tc-openrisc.c (openrisc_force_relocation): Call S_FORCE_RELOC.
3457 (openrisc_fix_adjustable): Don't test fx_addsy.
3458 * config/tc-openrisc.h (MD_APPLY_SYM_VALUE): Define.
3459 (obj_fix_adjustable): Don't define.
3460 (tc_fix_adjustable): Define this instead.
3461 (MD_PCREL_FROM_SECTION): Remove duplicate. Tweak param name.
3462 * config/tc-or32.c (md_apply_fix3): Don't cast valP pointer type.
3463 (tc_gen_reloc): Don't fiddle with BFD_RELOC_VTABLE_INHERIT relocs.
3464 Adjust the address for BFD_RELOC_VTABLE_ENTRY, not the addend.
3465 * config/tc-or32.h (EXTERN_FORCE_RELOC): Define.
3466 (MD_APPLY_SYM_VALUE): Define.
3467 * config/tc-pj.c (md_apply_fix3): Don't cast valP pointer type.
3468 Don't subtract symbol value.
3469 * config/tc-pj.h (md_pcrel_from): Tweak param name.
3470 (EXTERN_FORCE_RELOC): Define.
3471 (TC_FORCE_RELOCATION): Call S_FORCE_RELOC.
3472 (MD_APPLY_SYM_VALUE): Define.
3473 (obj_fix_adjustable): Don't define.
3474 (tc_fix_adjustable): Define this instead.
3475 * config/tc-ppc.c (ppc_frob_symbol <coff version>): Ignore absolute
3477 (ppc_force_relocation <coff version>): Call S_FORCE_RELOC.
3478 (ppc_force_relocation <elf version>): New.
3479 (ppc_fix_adjustable <elf version>): Remove extern and weak tests.
3480 (md_apply_fix3): Don't subtract symbol values for ELF. Update
3481 comments. Don't subtract fx_subsy as that is already done.
3482 * config/tc-ppc.h (tc_fix_adjustable): Tweak param name.
3483 (MD_PCREL_FROM_SECTION): Likewise.
3484 (TC_FORCE_RELOCATION): Define for both ELF and XCOFF as calling
3485 ppc_force_relocation.
3486 (TC_FORCE_RELOCATION_SECTION): Delete.
3487 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
3488 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
3489 (MD_APPLY_SYM_VALUE): Define.
3490 * config/tc-s390.c: #include "dwarf2dbg.h".
3491 (s390_insn): Remove excess parens.
3492 (tc_s390_fix_adjustable): Remove extern, weak, SEC_MERGE tests.
3493 (tc_s390_force_relocation): Call S_FORCE_RELOC.
3494 (md_apply_fix3): Add ATTRIBUTE_UNUSED on "seg". Abort when fx_subsy
3495 non-NULL. Don't subtract off fx_addsy value.
3496 * config/tc-s390.h (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
3497 (TC_FORCE_RELOCATION, MD_PCREL_FROM_SECTION): Tweak param name.
3498 (TC_FIX_ADJUSTABLE): Don't define.
3499 (MD_APPLY_SYM_VALUE): Define.
3500 * config/tc-sh.c (SWITCH_TABLE_CONS): Move to tc-sh.h.
3501 (SWITCH_TABLE): Likewise.
3502 (sh_force_relocation): Call S_FORCE_RELOC.
3503 (sh_fix_adjustable): Remove "return 1" cases handled by the default.
3504 Replace TC_RELOC_RTSYM_LOC_FIXUP with reloc type tests.
3505 (md_apply_fix3 <case BFD_RELOC_32_PLT_PCREL>): Simplify,
3506 fx_addnumber is zero on entry. Save val in fx_addnumber.
3507 (tc_gen_reloc): Don't subtract fx_subsy.
3508 * config/tc-sh.h (struct fix): Move.
3509 (obj_fix_adjustable): Don't define.
3510 (tc_fix_adjustable): Define this instead.
3511 (TC_FIX_ADJUSTABLE): Don't define.
3512 (MD_APPLY_SYM_VALUE): Define.
3513 (SWITCH_TABLE_CONS): Define.
3514 (SWITCH_TABLE): Define.
3515 (TC_FORCE_RELOCATION_SUB_SAME): Define.
3516 (TC_VALIDATE_FIX_SUB): Define.
3517 (MD_PCREL_FROM_SECTION): Tweak param name.
3518 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
3519 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
3520 (TC_FORCE_RELOCATION_SUB_ABS): Define.
3521 * config/tc-sh64.h (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
3522 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
3523 (TC_FORCE_RELOCATION_SUB_SAME): Define.
3524 (TC_VALIDATE_FIX_SUB): Define.
3525 (MD_PCREL_FROM_SECTION): Tweak param name.
3526 * config/tc-sparc.c (md_apply_fix3): Don't subtract off symbol value.
3527 (tc_gen_reloc): Use S_FORCE_RELOC.
3528 (elf32_sparc_force_relocation): Call S_FORCE_RELOC.
3529 * config/tc-sparc.h (TC_FORCE_RELOCATION <coff version>): Remove.
3530 (TC_FORCE_RELOCATION_ABS): Define this instead.
3531 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
3532 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
3533 (tc_fix_adjustable): Remove extern and weak tests. Use S_FORCE_RELOC.
3534 (MD_APPLY_SYM_VALUE): Define.
3535 (TC_FIX_DATA_PRINT): Tweak param name.
3536 * config/tc-tic30.c (USE_STDOUT): Don't define.
3537 (md_parse_option): Remove stupid debug code.
3538 (tc_gen_reloc): Don't use fx_addnumber.
3539 * config/tc-v850.c (v850_fix_adjustable): Remove extern and weak tests.
3540 (v850_force_relocation): Remove weak test. Call S_FORCE_RELOC.
3541 * config/tc-v850.h (obj_fix_adjustable): Don't define.
3542 (tc_fix_adjustable): Define this instead.
3543 (TC_FIX_ADJUSTABLE): Don't define.
3544 (MD_APPLY_SYM_VALUE): Define this instead.
3545 (TC_FORCE_RELOCATION, MD_PCREL_FROM_SECTION): Tweak param name.
3546 * config/tc-vax.h (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
3547 (TC_FIX_ADJUSTABLE): Don't define.
3548 (MD_APPLY_SYM_VALUE): Define this instead.
3549 (tc_fix_adjustable): Remove extern and weak tests.
3550 * config/tc-w65.h (struct fix): Forward declare.
3551 * config/tc-xstormy16.c (xstormy16_force_relocation): Call
3553 (xstormy16_fix_adjustable): Remove extern and weak tests. Don't
3554 call xstormy16_force_relocation; Instead test for FPTR16 reloc.
3555 (xstormy16_md_apply_fix3): Remove *valP fudges and code to subtract
3557 * config/tc-xstormy16.h (MD_APPLY_FIX3): Don't define.
3558 (MD_APPLY_SYM_VALUE): Define.
3559 (obj_fix_adjustable): Don't define.
3560 (tc_fix_adjustable): Define this instead.
3561 (MD_PCREL_FROM_SECTION): Remove duplicate. Tweak param name.
3563 2002-09-04 Alan Modra <amodra@bigpond.net.au>
3565 * config/tc-ppc.c (ppc_frob_symbol): Formatting, warning fix.
3566 (ppc_fix_adjustable <coff version>): Cleanup.
3568 * config/tc-ppc.c (PPC_HIGHER, PPC_HIGHEST): Fix warning.
3569 (md_parse_option): No -a64 without BFD64.
3570 (ppc_set_cpu): Select appropriate cpu when ppc_obj64.
3571 (ppc_arch): Use bfd_mach_rs6k for bfd_arch_rs6000.
3573 2002-09-04 Nick Clifton <nickc@redhat.com>
3575 * config/tc-ppc.c (md_begin): Do not insert non-BookE32
3576 instructions into the hash table if the target cpu is the BookE32.
3578 2002-08-31 Hans-Peter Nilsson <hp@bitrange.com>
3580 * read.c (do_align): Use ATTRIBUTE_UNUSED_LABEL for label, not
3583 2000-08-28 Catherine Moore <clm@redhat.com>
3585 * tc-v850.c (v850_relax): Declare.
3586 (v850_longcode): New routine.
3587 (v850_handle_align): New routine.
3588 (md_pseudo_table): Add longcall and longjump.
3589 (md_parse_option): Check for relax option.
3590 (tc_gen_reloc): Handle BFD_RELOC_V850_LONGCALL,
3591 BFD_RELOC_V850_LONGJUMP, and BFD_RELOC_V850_ALIGN.
3592 (md_apply_fix3): Likewise.
3593 (v850_force_relocation): Likewise.
3594 (v850_comm): Change the current section.
3595 (md_assemble): Ensure that the correct value is put in the
3597 (v850_sdata, v850_tdata, v850_zdata, v850_sbss, v850_tbss,
3598 v850_zbss, v850_rosdata, v850_rozdata): Fix section book keeping.
3599 Remove redundant v850ea support.
3600 * tc-v850.h (HANDLE_ALIGN): Define.
3601 (v850_handle_align): Declare.
3602 * doc/c-v850.c: Document -mrelax, .longcall and .longjump.
3604 2002-08-28 Svein E. Seldal <Svein.Seldal@solidas.com>
3606 * configure.in: Add tic4x-coff* and c4x-coff*-coff-coff targets.
3607 * configure: Regenerate.
3608 * NEWS: Mention new port.
3610 2002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3612 * config/obj-coff.c: Add sdef definition.
3613 * config/obj-coff.h: Add tic4x include file and set
3615 * config/tc-tic4x.c: New file.
3616 * config/tc-tic4x.h: New file.
3618 2002-08-28 Alan Modra <amodra@bigpond.net.au>
3620 * write.c (BFD_FAST_SECTION_FILL): Remove unused macro.
3621 (TC_ADJUST_RELOC_COUNT): Tweak param name.
3622 (TC_FORCE_RELOCATION, TC_FORCE_RELOCATION_SECTION): Likewise.
3623 (TC_FIX_ADJUSTABLE, MD_PCREL_FROM_SECTION): Likewise.
3624 (RELOC_ENUM): Define.
3625 (fix_new_internal): Use RELOC_ENUM.
3626 (fix_new, fix_new_exp): Likewise.
3627 (adjust_reloc_syms): Comment. Remove unnecessary tests on sym != NULL.
3628 Replace gotos with continue.
3629 (write_relocs): Formatting. Avoid symbol loops in
3630 RELOC_EXPANSION_POSSIBLE case too. Report bfd_reloc_outofrange
3631 errors, and error number in other cases.
3632 (fixup_segment): Remove param names from prototype. Rename
3633 "this_segment_type" to "this_segment". Update linkrelax comment.
3634 Remove "size, "place" and "where" local vars. Formatting. Update
3635 "no symbol" comment. Remove #if 0 and #if 1.
3637 * app.c (do_scrub_chars): Don't test IGNORE_NONSTANDARD_ESCAPES. Tidy.
3639 2002-08-27 Alan Modra <amodra@bigpond.net.au>
3641 * dwarf2dbg.c: Always include dwarf2dbg.h.
3642 (dwarf2_directive_file): Adjust dummy version args.
3643 * ecoff.c (ecoff_directive_weakext): Add ATTRIBUTE_UNUSED.
3644 * expr.c (clean_up_expression <O_subtract>): Allow subtraction
3645 when symbol values differ.
3646 * read.c (do_align): Add ATTRIBUTE_UNUSED to label.
3647 (pseudo_set <O_subtract>): Remove unnecessary segment test.
3648 * config/obj-bout.c (obj_pseudo_table): Warning fix.
3650 2002-08-26 Alan Modra <amodra@bigpond.net.au>
3652 * config/tc-w65.c (md_section_align): Fix typo.
3653 (md_parse_option): Return 0, not 1.
3655 2002-08-22 Nick Clifton <nickc@redhat.com>
3657 * doc/as.texinfo (Section): Note that if '@' is a comment
3658 character then another symbol is used to prefix the section's
3661 2002-08-22 Christian Groessler <chris@groessler.org>
3663 * config/tc-z8k.c (get_operands): Adjust ptr variable also in
3666 2002-08-12 Graeme Peterson <gp@qnx.com>
3668 * configure.in: Add support for sh-**-nto* target.
3669 * configure: Regenerate.
3671 2002-08-21 Nitin Gupta <niting@noida.hcltech.com>
3673 * config/tc-h8300.h (TC_LINKRELAX_FIXUP): Define.
3675 2002-08-21 Elena Zannoni <ezannoni@redhat.com>
3677 * config/tc-ppc.c (ppc_cleanup): Do something only if format
3679 (ppc_apuinfo_section_add): Define only if format is ELF.
3680 (md_assemble): Emit APUinfo section only if format is ELF.
3683 2002-08-21 Alan Modra <amodra@bigpond.net.au>
3685 * config/tc-arc.c (md_pseudo_table <dwarf2_directive_file>): Cast.
3686 * config/tc-frv.c: Likewise.
3687 * config/tc-hppa.c: Likewise.
3688 * config/tc-ia64.c: Likewise.
3689 * config/tc-ip2k.c: Likewise.
3690 * config/tc-m68hc11.c: Likewise.
3691 * config/tc-m68k.c: Likewise.
3692 * config/tc-mmix.c: Likewise.
3693 * config/tc-mn10300.c: Likewise.
3694 * config/tc-sh.c: Likewise.
3695 * config/tc-sparc.c: Likewise.
3696 * config/tc-v850.c: Likewise.
3698 2002-08-20 Richard Sandiford <rsandifo@redhat.com>
3700 * config/tc-mips.c (macro2): Implement rotates by zero using shifts
3703 2002-08-19 Elena Zannoni <ezannoni@redhat.com>
3705 From matthew green <mrg@redhat.com>
3707 * config/tc-ppc.c (PPC_OPCODE_CLASSIC): Enable this everywhere
3708 PPC_OPCODE_PPC is, except for BookE architectures.
3709 (md_parse_option): Add support for -mspe.
3710 (md_show_usage): Add -mspe.
3711 (md_parse_option): Add support for -me500 and
3712 -me500x2 to generate code for Motorola e500 core complex.
3713 (md_show_usage): Add -me500 and -me500x2.
3715 (PPC_APUINFO_ISEL, PPC_APUINFO_PMR, PPC_APUINFO_RFMCI,
3716 PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE, PPC_APUINFO_EFS,
3717 PPC_APUINFO_BRLOCK): New macros.
3719 (ppc_cleanup): New function.
3720 (ppc_apuinfo_section_add): New function.
3722 (md_assemble): Collect info and write the APUinfo section.
3724 * config/tc-ppc.h (md_cleanup): Define.
3725 (ppc_cleanup): Export.
3726 (ELF_TC_SPECIAL_SECTIONS): Add .PPC.EMB.apuinfo section.
3728 2002-08-17 Stan Cox <scox@redhat.com>
3730 * config/obj-elf.c (obj_elf_change_section): Make non-static.
3731 config/tc-mips.c (s_change_section): New function to support
3732 IRIX .section pseudo-op.
3734 2002-08-16 Nick Clifton <nickc@redhat.com>
3736 * config/tc-v850.c (md_assemble): Fix assembling of "callt 0x3f".
3738 2002-08-15 Alexandre Oliva <aoliva@redhat.com>
3740 * config/tc-mips.c (macro_build_jalr): Make sure we generate
3741 the fix-up against on the right frag.
3742 (s_cpsetup): Likewise. Parse third argument as expression, to
3743 handle global symbols and forward/backward labels correctly.
3745 2002-08-14 Nick Clifton <nickc@redhat.com>
3747 * read.c (stringer): Catch attempts to create strings in the abs
3750 * config/tc-alpha.c: Fix compiling for COFF targets.
3751 Some minor formatting tidyups.
3753 2002-08-13 Stephane Carrez <stcarrez@nerim.fr>
3755 * config/tc-m68hc11.h (MD_PCREL_FROM_SECTION): Remove.
3756 (TC_HANDLES_FX_DONE): Define to let md_apply_fix3 set fx_done flag
3757 according to the reloc.
3758 (tc_fix_adjustable, tc_m68hc11_fix_adjustable): Define.
3759 (TC_FORCE_RELOCATION): Define.
3760 (tc_m68hc11_force_relocation): Declare.
3762 * config/tc-m68hc11.c (md_pseudo_table): Add relax command.
3763 (s_m68hc11_relax): New function for relax group.
3764 (build_insn, build_jump_insn): Emit a M68HC11_RL_JUMP reloc at
3765 beginning of jump instruction.
3766 (md_pcrel_from): Rename from md_pcrel_from_section and fix
3767 address computation.
3768 (tc-gen_reloc): Update.
3769 (md_estimate_size_before_relax): Create the BFD_RELOC_16_PCREL as
3771 (tc_m68hc11_force_relocation): New function, handle new relocs.
3772 (tc_m68hc11_fix_adjustable): New to make sure there are enough
3773 reloc for the linker relax pass.
3774 (md_apply_fix3): Handle M68HC11_RL_JUMP, M68HC11_RL_GROUP
3777 2002-08-13 Stephane Carrez <stcarrez@nerim.fr>
3779 * config/tc-m68hc11.c (m68hc11_elf_final_processing): New function.
3780 (md_pseudo_table): Add .mode, .far and .interrupt pseudo op.
3781 (s_m68hc11_mode): New function for .mode pseudo op.
3782 (s_m68hc11_mark_symbol): New function for .far and .interrupt
3784 * config/tc-m68hc11.h (elf_tc_final_processing): Define.
3785 (m68hc11_elf_final_processing): Declare.
3787 2002-08-13 Stephane Carrez <stcarrez@nerim.fr>
3789 * config/tc-m68hc11.c (md_begin): Take into account additional
3790 page operand for call instruction.
3791 (print_opcode_format): Likewise.
3792 (check_range): Likewise for page range checking.
3793 (get_operand): Don't skip a possible comma in operands.
3794 (fixup8): Generate BFD_RELOC_M68HC11_PAGE reloc.
3795 (fixup16): Likwise with BFD_RELOC_M68HC11_LO16.
3796 (fixup24): New to handle call reloc.
3797 (build_insn): Handle missing page operand for call instruction.
3799 (md_apply_fix3): Take into account new relocs.
3800 (get_operand): Fix the mode for indexed indirect addressing.
3801 (build_indexed_byte): Fix post index byte for indexed indirect mode.
3803 2002-08-12 Richard Sandiford <rsandifo@redhat.com>
3805 * config/tc-mips.c (mips_ip): Don't work out the value of
3806 constant %hi()s here.
3808 2002-08-10 Alan Modra <amodra@bigpond.net.au>
3810 * config/tc-i386.c (tc_i386_fix_adjustable): Test OUTPUT_FLAVOR
3811 for ELF, and don't bother checking ELF relocs when non-ELF.
3812 (i386_immediate): Allow absolute_section expressions for aout.
3813 (i386_displacement): Likewise. Also test bfd_is_com_section.
3814 (md_estimate_size_before_relax): Test OUTPUT_FLAVOR for ELF.
3815 (md_apply_fix3): Hack for bfd_install_relocation when fx_pcrel,
3816 not when fx_addsy. Remove dead code.
3818 2002-08-09 Graeme Peterson <gp@qnx.com>
3820 * configure.in: Add support for ppc-*-nto* target.
3821 * configure: Regenerate.
3823 2002-08-09 Alan Modra <amodra@bigpond.net.au>
3825 * config/tc-i386.h: Reorganize.
3827 2002-08-09 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3829 * config/tc-mips.c (macro): Handle a register plus a 16-bit
3830 immediate offset in "dla" and "la" expansions.
3832 2002-08-09 Alan Modra <amodra@bigpond.net.au>
3834 * configure.in: bfd_gas=yes for all i386 targets. Formatting.
3835 Remove "bfd_gas=yes" from target table when covered later.
3836 Consolidate some entries.
3837 * configure: Regenerate
3839 2002-08-09 Jakub Jelinek <jakub@redhat.com>
3841 * config/tc-i386.c (output_insn): Save frag_now and frag_now_fix ()
3842 at start of insn, pass it to output_disp and output_imm.
3843 (output_disp): Added arguments. If _GLOBAL_OFFSET_TABLE_ is seen
3844 in displacement for R_386_32 reloc, use R_386_GOTPC and compute
3846 (output_imm): Added arguments. Compute properly addend for
3848 (md_apply_fix3): Remove R_386_GOTPC handling.
3850 2002-08-06 George France <france@handhelds.org>
3852 * config/tc-alpha.c (cpu_types): Enabled ev67, ev68, -m21264a
3853 and m21264b processor names and cpu types.
3854 * doc/c-alpha.texi: Documented new types.
3856 2002-08-06 Alan Modra <amodra@bigpond.net.au>
3858 * config/tc-ppc.c (md_apply_fix3): Adjust 16 bit XCOFF reloc offset.
3860 2002-08-01 Richard Sandiford <rsandifo@redhat.com>
3862 * config/tc-mips.c (tc_gen_reloc): Extend GP-relative addend
3863 handling to BFD_RELOC_MIPS16_GPREL.
3865 2002-08-01 Nick Clifton <nickc@redhat.com>
3867 * config/tc-arm.c (add_to_lit_pool): Ensure that offset to literal
3868 pool is computed using signed arithmetic so that proper sign
3869 extension is performed if X_add_number is a 64-bit integer.
3871 2002-08-01 H.J. Lu <hjl@gnu.org>
3872 Daniel Jacobowitz <drow@mvista.com>
3874 * dwarf2dbg.c (dwarf2_finish): Don't emit unreferenced
3875 .debug_line section unless it has line information.
3877 2002-07-31 Ian Dall <ian@sibyl.beware.dropbear.id.au>
3879 * config/tc-ns32k.h (md_pcrel_adjust): Supply prototype.
3880 * config/tc-ns32k.c (convert_iif, md_parse_option, md_show_usage):
3881 Allow default displacement size to be an option "--disp-size-default".
3882 (md_number_to_disp): Make error messages include value. Use %d to
3883 print integers, not %s.
3884 (fix_new_ns32k): Conditionally set fx_no_overflow so we don't
3885 get duplicate messages sometimes.
3886 (convert_iif): Grow frag to max possible instruction size. Avoid
3887 creating unnecessary fixes.
3888 (md_number_to_field) Add prototype.
3889 (encode_operand, parse, convert_iif, md_fix_pcrel_adjust): Add
3890 prototypes and make static.
3891 (struct addr_mode): Make mode and scaled_mode explicitly signed.
3892 (evaluate_expr): Use resultP argument instead of exprP global.
3893 (get_addr_mode): Quiten compiler warnings.
3894 (encode_operand): eliminate unused variables. Quiten compiler
3895 warnings. Eliminate nul character in format strings.
3896 (parse): argc is unsigned.
3897 (reloc): Type cast index to quieten compiler.
3898 (md_pcrel_adjust, md_apply_fix3): Remove unused variable.
3899 (md_convert_frag): Note unused parameters. Remove unused
3901 (md_create_long_jump, md_create_short_jump,
3902 md_undefined_symbol_name, md_section_align, tc_gen_reloc): Note
3905 2002-07-31 Nick Clifton <nickc@redhat.com>
3907 * NEWS: Retroactively add entry for Lars Brinkhoff's contribution
3908 of the PDP-11 and 2.11BSD a.out support.
3910 2002-07-31 Momchil Velikov <velco@fadata.bg>
3912 * config/tc-v850.c (md_assemble): Fix range check for immediate
3915 2002-07-30 Chris Demetriou <cgd@broadcom.com>
3917 * config/tc-mips.c (mips_cpu_info_table): Clean up entries related
3918 to Broadcom SB-1 core support.
3920 2002-07-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
3922 * config/tc-mips.c (mips_target_format): Fix formatting.
3923 Add recognition of n32 ABI formats.
3925 2002-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3927 * tc-mips.c (load_address): Don't clobber $at when loading a
3928 64-bit address in non-PIC code if noat is in effect.
3931 2002-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
3933 * config/tc-mips.c (macro): Use codes 6 and 7 in trap instructions
3934 used in division/multiply macro expansions similarly to how they
3935 are used in the variants with break instructions.
3938 2002-07-30 Graeme Peterson <gp@qnx.com>
3940 * configure.in: Add support for arm-*-nto target.
3941 * configure: Regenerate.
3943 2002-07-30 Nick Clifton <nickc@redhat.com>
3945 * config/tc-arm.c (struct literal_pool): Add fields to allow
3946 multiple literal pools to be maintained.
3947 (find_literal_pool): New function.
3948 (find_or_make_literal_pool): New function.
3949 (add_to_literal_pool): Use find_or_make_literal_pool.
3950 (arm_s_text, arm_s_data, arm_s_section): Remove - no longer
3952 (s_ltorg): Use find_literal_pool.
3953 (arm_cleanup): Dump all literal pools.
3954 * doc/c-arm.texi: Document new behaviour of only dumping literal
3957 2002-07-26 Alan Modra <amodra@bigpond.net.au>
3959 * config/tc-ppc.c (ppc_set_cpu): Use PPC_OPCODE_64 as the default
3960 rather than PPC_OPCODE_32 for powerpc64*.
3962 2002-07-25 Nick Clifton <nickc@redhat.com>
3964 * po/es.po: Updated Spanish translation.
3965 * po/fr.po: Updated French translation.
3967 2002-07-25 Richard Sandiford <rsandifo@redhat.com>
3969 * doc/c-mips.texi: Remove -mcpu. Document -mabi.
3970 * configure.in (MIPS_CPU_STRING_DEFAULT): New configuration macro.
3971 (USE_E_MIPS_ABI_O32, MIPS_DEFAULT_64BIT): New configuration macros.
3972 * configure, config.in: Regenerate.
3973 * config/tc-mips.c (file_mips_abi): Rename to mips_abi.
3974 (mips_set_options): Remove "abi" field.
3975 (mips_opts): Update accordingly. Replace all uses of mips_opts.abi
3978 (mips_arch_string, mips_arch_info): New vars.
3979 (mips_tune_string, mips_tune_info): New vars.
3980 (ABI_NEEDS_32BIT_REGS, ABI_NEEDS_64BIT_REGS): New macros.
3981 (HAVE_32BIT_GPRS, HAVE_32BIT_FPRS): Don't check the ABI.
3982 (mips_isa_to_str, mips_cpu_to_str): Remove.
3983 (mips_ip): If the selected architecture is a generic ISA rather
3984 than a processor, only mention the ISA level in error messages.
3985 (OPTION_MCPU): Remove.
3987 (md_longopts): Add -mfp64, remove -mcpu.
3988 (mips_set_option_string): New fn.
3989 (md_parse_option): Make -mipsN update file_mips_isa rather than
3990 mips_opts.isa. Use mips_set_option_string to set -march or -mtune.
3991 Don't let -mgp32 and -mfp32 change the ABI.
3992 (show): Move to end of file. Constify string argument.
3993 (md_show_usage): Move to the end of the file. Read available
3994 architectures from mips_cpu_info_table.
3995 (mips_set_architecture): New fn.
3996 (mips_after_parse_args): Rework. Remove -mcpu handling. -mipsN
3997 is an alias for -march=mipsN. Don't change the ABI based on other
3998 flags. Infer the register size from the ABI as well as the
3999 architecture. Complain about more conflicting arguments.
4000 Unify logic with GCC.
4001 (s_mipsset): Don't change the ABI.
4002 (mips_elf_final_processing): Check USE_E_MIPS_ABI_O32.
4003 (mips_cpu_info_table): Remove Generic-MIPS* entries, keeping just
4004 "mipsN"-type entries. Remove entries that vary only in the
4005 manufacturer's prefix, or that have "000" replaced by "k".
4006 Remove TARGET_CPU entries. Make r2000 entry use CPU_R3000.
4007 (mips_strict_matching_cpu_name_p, mips_matching_cpu_name_p): New fns.
4008 (mips_parse_cpu): New fn.
4009 (mips_cpu_info_from_name, mips_cpu_info_from_cpu): Remove.
4010 (mips_cpu_info_from_isa): Minor formatting tweak.
4012 2002-07-24 Nick Clifton <nickc@redhat.com>
4014 * po/sv.po: Updated Swedish translation.
4015 * po/es.po: Updated Spanish translation.
4017 2002-07-23 Alan Modra <amodra@bigpond.net.au>
4019 * Makefile.am: Run "make dep-am".
4020 * Makefile.in: Regenerate.
4021 * doc/Makefile.in: Regenerate.
4022 * config.in: Regenerate.
4023 * po/POTFILES.in: Regenerate.
4025 2002-07-23 Nick Clifton <nickc@redhat.com>
4027 * po/fr.po: Updated French translation.
4029 2002-07-23 Nick Clifton <nickc@redhat.com>
4031 * CONTRIBUTORS: Ken Raeburn is no longer the maintainer for
4034 2002-07-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4036 * config/tc-mips.c (mips_need_elf_addend_fixup): Use S_IS_EXTERNAL
4037 instead of S_IS_EXTERN.
4038 (md_estimate_size_before_relax): Likewise.
4039 (mips_fix_adjustable): Likewise.
4041 2002-07-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4043 * config/tc-mips.c (mips_pic_level): Remove IRIX4_PIC.
4045 2002-07-19 Miroslav Tichy <tichm9am@ss1000.ms.mff.cuni.cz>
4046 Nick Clifton <nickc@redhat.com>
4048 * cond.c (s_ifdef): Treat a referenced but not yet defined
4049 symbol as if it were undefined, in exactly the same way as
4052 * doc/as.texinfo: Document that .ifdef, .ifndef and .equiv
4053 consider referenced bug not yet defined symbols to be
4056 2002-07-18 Denis Chertykov <denisc@overta.ru>
4057 Frank Ch. Eigler <fche@redhat.com>
4058 Alan Lehotsky <alehotsky@cygnus.com>
4059 John Healy <jhealy@redhat.com>
4060 Jeff Johnston <jjohnstn@redhat.com>
4062 * configure.in: Add ip2k configuraton.
4063 * configure: Regenerate.
4064 * Makefile.am: Add ip2k configuraton.
4065 * Makefile.in: Regenerate.
4066 * configure: Regenerate.
4067 * Makefile.in: Regenerate.
4068 * config/tc-ip2k.c: New file.
4069 * config/tc-ip2k.h: New files.
4070 * NEWS: Mention new support.
4071 * doc/Makefile.am (CPU_DOCS): Add c-ip2k.texi.
4072 * doc/Makefile.in: Regenerate.
4073 * doc/all.texi: Set IP2K
4074 * doc/as.texinfo: Add IP2K description.
4075 * doc/c-ip2k.texi: New file.
4077 2002-07-19 Nick Clifton <nickc@cambridge.redhat.com>
4079 * NEWS: Reformat to match style of other NEWS files.
4081 2002-07-17 Jan Hubicka <jh@suse.cz>
4083 * tc-i386.c (i386_align_code): Implement x86_64 neutral code fillers.
4085 2002-07-16 Moritz Jodeit <moritz@jodeit.org>
4087 * config/tc-z8k.c (build_bytes): Correct order of memset args.
4089 2002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
4091 * NEWS: Add 'Changes in 2.13'.
4093 2002-07-15 Matt Fredette <fredette@netbsd.org>
4095 * config/tc-hppa.h (LABELS_WITHOUT_COLONS): Define if TE_NetBSD.
4097 2002-07-12 Alan Modra <amodra@bigpond.net.au>
4099 * config/tc-i386.c (process_suffix): Merge CODE_64BIT JumpByte
4100 case with non CODE_64BIT case. Don't warn on "qword ptr" if
4103 2002-07-11 Alan Modra <amodra@bigpond.net.au>
4105 * config/tc-ppc.c (ppc_elf_frob_symbol): Delete.
4106 (ppc_frob_file_before_adjust): New function.
4107 * config/tc-ppc.h (tc_frob_symbol): Don't define.
4108 (ppc_elf_frob_symbol): Don't declare.
4109 (tc_frob_file_before_adjust): Define.
4110 (ppc_frob_file_before_adjust): Declare.
4112 * config/tc-ppc.c (md_pseudo_table): Warning fix.
4113 (ppc_cpu): Make it unsigned long to agree with struct powerpc_opcode
4116 (ppc_xcoff64): Rename to ppc_obj64.
4117 (md_parse_option <m>): Encode old ppc_size value in ppc_cpu.
4118 (ppc_set_cpu): Set PPC_OPCODE_32 too.
4119 (ppc_arch): Use ppc_obj64 instead of ppc_size to select bfd_mach_ppc64
4121 (ppc_target_format): Use ppc_obj64 to select format.
4122 (md_begin): Adjust for PPC_OPCODE_32/64 in ppc_cpu.
4123 (ppc_insert_operand): Use ppc_obj64 instead of ppc_size.
4124 (ppc_elf_suffix): Likewise. Don't depend on BFD_DEFAULT_TARGET_SIZE.
4125 (tc_frob_symbol): Likewise.
4126 (md_assemble): Use ppc_obj64 instead of ppc_size. Don't depend on
4127 BFD_DEFAULT_TARGET_SIZE.
4129 (ppc_is_toc_sym): Likewise.
4130 (md_apply_fix3): Likewise.
4131 * config/tc-ppc.h (TC_FORCE_RELOCATION): Don't depend on
4132 BFD_DEFAULT_TARGET_SIZE.
4133 (ELF_TC_SPECIAL_SECTIONS): Likewise.
4134 (tc_frob_symbol): Likewise.
4136 2002-07-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4138 * config/tc-mips.c (macro_build): Handle MIPS16 insns.
4139 (mips_ip): Likewise.
4141 2002-07-09 Alan Modra <amodra@bigpond.net.au>
4143 * config/tc-i386.c (md_pseudo_table <file>): Warning fix.
4144 (BFD_RELOC_8, BFD_RELOC_8_PCREL): Define for non-BFD.
4145 (md_apply_fix3): Formatting. Remove redundant test.
4146 (tc_gen_reloc): Remove redundant code.
4147 (tc_i386_force_relocation): Delete. Movy body of function to..
4148 * config/tc-i386.h (TC_FORCE_RELOCATION): .. here.
4150 2002-07-09 Federico G. Schwindt <fgsch@olimpo.com.br>
4152 * configure.in: Add hppa-*-openbsd* target, change
4153 alpha*-*-openbsd* format to elf, and use elf for sparc-*-openbsd*
4155 * configure: Regenerate.
4157 2002-07-08 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4159 * config/tc-mips.c (macro): Shift the 32-bit address range
4160 accessible with a lone "lui" down by 32768.
4162 2002-07-08 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4164 * config/tc-mips.c (load_address): Use non-trapping "daddu"
4165 instead of "dadd" in address calculations.
4168 2002-07-08 Alan Modra <amodra@bigpond.net.au>
4170 * config/tc-i386.c (process_suffix): Remove intel mode movsx and
4172 (md_assemble): Instead, zap the suffix here.
4174 2002-07-03 Nick Clifton <nickc@cambridge.redhat.com>
4176 * NEWS: Remove next release number until the release is actually
4179 2002-07-03 Alan Modra <amodra@bigpond.net.au>
4181 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
4183 * Makefile.in: Regenerate.
4185 2002-07-02 Martin Schwidefsky <schwidefsky@de.ibm.com>
4187 * config/tc-s390.c (tc_s390_fix_adjustable): Prevent any adjustment
4188 to symbols in merge sections, even non pc-relative ones.
4190 2002-06-29 Stephane Carrez <stcarrez@nerim.fr>
4192 * config/tc-m68hc11.h (m68hc11_listing_header): Fix warning.
4194 2002-06-29 Stephane Carrez <stcarrez@nerim.fr>
4196 * config/tc-m68hc11.h (ELF_TC_SPECIAL_SECTIONS): New sections
4197 .softregs and .eeprom.
4199 2002-06-28 David O'Brien <obrien@FreeBSD.org>
4201 * NEWS: Note the next release is 2.13.
4203 2002-06-26 Nick Clifton <nickc@cambridge.redhat.com>
4205 * po/tr.po: New translation imported.
4207 2002-06-26 Elias Athanasopoulos <eathan@otenet.gr>
4209 * ecoff.c: (get_tag): Replace strcpy with xstrdup.
4210 (ecoff_directive_def): Likewise.
4211 (ecoff_directive_tag): Likewise.
4212 * listing.c (file_info): Likewise.
4213 * hash.c (what): Likewise.
4215 2002-06-25 H.J. Lu <hjl@gnu.org>
4217 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
4218 * Makefile.in: Regenerated.
4220 2002-06-19 Dhananjay R. Deshpande <dhananjayd@kpit.com>
4222 * config/tc-sh.c (get_specific): Revert 2002-05-01 change.
4223 (assemble_ppi): Generate warning if the same register is used
4224 twice as destination in the same padd / pmuls instruction.
4226 2002-06-18 Dave Brolley <brolley@redhat.com>
4228 From Catherine Moore, Michael Meissner, Richard Sandiford, Dave Brolley
4229 * po/POTFILES.in: Add tc-frv.c, tc-frv.h.
4230 * configure.in: Support frv-*-*.
4231 * Makefile.am (CPU_TYPES): Add frv.
4232 (TARGET_CPU_CFILES): Add tc-frv.c.
4233 (TARGET_CPU_HFILES): Add tc-frv.h.
4234 (DEPTC_frv_coff): New variable.
4235 (DEPTC_frv_elf): New variable.
4236 (DEPOBJ_frv_coff): New variable.
4237 (DEPOBJ_frv_elf): New variable.
4238 (DEP_frv_coff): New variable.
4239 (DEP_frv_elf): New variable.
4240 * tc-frv.c: New file.
4241 * tc-frv.h: New file.
4243 2002-06-17 Catherine Moore <clm@redhat.com>
4245 * config/obj-elf.h (TARGET_SYMBOL_FIELDS): Conditionally define.
4247 2002-06-17 J"orn Rennecke <joern.rennecke@superh.com>
4249 * config/tc-sh.c (assemble_ppi): Initialize reg_n.
4251 2002-06-17 Tom Rix <trix@redhat.com>
4253 * config/tc-i370.h (tc_comment_chars): Define for i370-elf.
4255 2002-06-14 H.J. Lu <hjl@gnu.org>
4256 Daniel Jacobowitz <drow@mvista.com>
4258 * dwarf2dbg.h (dwarf2_directive_file): Return char *.
4259 * dwarf2dbg.c (dwarf2_directive_file): Return filename.
4260 * config/tc-mips.c (s_mips_file): Call s_app_file_string
4261 and new_logical_line for the first .file directive.
4262 * read.c (s_app_file_string): New function.
4263 (s_app_file): Call it.
4264 * read.h (s_app_file_string): Add declaration.
4266 2002-06-14 Daniel Jacobowitz <drow@mvista.com>
4268 * configure.in: Remove MIPS_STABS_ELF.
4269 * configure: Regenerated.
4270 * config.in: Regenerated.
4271 * config/obj-elf.h (ECOFF_DEBUGGING): Define to mips_flag_mdebug
4273 * config/tc-mips.c (mips_pseudo_table): Remove #ifdef around
4275 (pdr_seg): Declare unconditionally.
4276 (md_begin): Always generate .pdr unless ECOFF_DEBUGGING or not ELF.
4277 (s_mips_end): Likewise. Generate stabs function markers.
4278 (s_mips_ent): Generate stabs function markers.
4279 (s_mips_frame): Always generate .pdr unless ECOFF_DEBUGGING or not
4281 (s_mips_mask): Likewise.
4282 (mips_flag_mdebug): New.
4283 (md_longopts): Add "mdebug" and "no-mdebug".
4284 (md_parse_options): Add OPTION_MDEBUG and OPTION_NO_MDEBUG.
4285 (mips_after_parse_args): Set mips_flag_mdebug.
4286 * doc/as.texinfo: Add "-mdebug" and "-no-mdebug" for MIPS.
4288 2002-06-13 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4290 * config/tc-mips.c (md_apply_fix3): Don't subtract the symbol's
4291 value twice for RELA relocations.
4293 2002-06-12 Ben Elliston <bje@redhat.com>
4295 * symbols.c (resolve_symbol_value): Initialise final_val.
4297 * subsegs.c (subsegs_print_statistics): Cast frchp to void *.
4299 2002-06-11 Tom Rix <trix@redhat.com>
4301 * config/tc-ppc.c (ppc_subseg_align): Delete.
4302 (ppc_change_csect): Default csect align is 2.
4303 * config/tc-ppc.h (SUB_SEGMENT_ALIGN): Delete
4305 2002-06-09 Marek Michalkiewicz <marekm@amelek.gda.pl>
4307 * config/tc-avr.c (mcu_types): Update.
4309 2002-06-08 Matt Thomas <matt@3am-software.com>
4311 * configure.in (vax-*-netbsdelf*, vax-*-netbsdaout*)
4312 (vax-*-netbsd*): New targets.
4313 * configure: Regenerate.
4314 * config/aout_gnu.h (enum machine_type): Add M_VAX4K_NETBSD.
4315 * config/tc-vax.c: Add support for ELF and PIC.
4316 (flag_want_pic): New flag.
4317 (float_cons): Fix prototype.
4318 (md_apply_fix3): Adjust for BFD_ASSEMBLER.
4319 (md_assemble): Introduce a new is_absolute local, and use it
4320 rather than repeating the test. Make fatal errors actually
4321 fatal by using as_fatal as appropriate. Adjust for BFD_ASSEMBLER.
4322 Add support for ELF. Add support for PIC.
4323 (md_convert_frag): Adjust for BFD_ASSEMBLER.
4324 (tc_aout_fix_to_chars): Only include if OBJ_AOUT and not
4326 (vax_reg_parse): Make the % register prefix mandatory for ELF,
4327 optional for a.out, and not allowed for VMS. Adjust all callers.
4328 (md_create_short_jump): Add ATTRIBUTE_UNUSED to unused arguments.
4329 (md_create_long_jump): Likewise.
4330 (md_undefined_symbol): Likewise.
4331 (md_section_align): Likewise.
4332 (md_shortopts): Allow -k and -K for ELF.
4333 (md_parse_option): Set flag_want_pic if -k or -K.
4334 (tc_headers_hook): New function if OBJ_AOUT and not BFD_ASSEMBLER.
4335 (tc_gen_reloc): New function if BFD_ASSEMBLER.
4336 * config/tc-vax.h (tc_headers_hook): Remove.
4337 (TARGET_FORMAT): Set according to object format and target
4339 (BFD_ARCH, TARGET_ARCH): Define.
4340 (NO_RELOC): Adjust for BFD_ASSEMBLER.
4341 (TC_RELOC_RTSYM_LOC_FIXUP, TC_FIX_ADJUSTABLE)
4342 (tc_fix_adjustable): Define if BFD_ASSEMBLER.
4343 * config/vax-inst.h (VAX_JSB, VAX_CALLS, VAX_CALLG): Define.
4345 2002-06-08 Alan Modra <amodra@bigpond.net.au>
4347 * Makefile.am: Run "make dep-am".
4348 * Makefile.in: Regenerate.
4350 * as.c: Replace CONST with const.
4351 * write.c: Likewise.
4352 * config/obj-coff.c: Likewise.
4353 * config/tc-a29k.c: Likewise.
4354 * config/tc-arm.c: Likewise.
4355 * config/tc-dlx.c: Likewise.
4356 * config/tc-h8300.c: Likewise.
4357 * config/tc-h8500.c: Likewise.
4358 * config/tc-i370.c: Likewise.
4359 * config/tc-i860.c: Likewise.
4360 * config/tc-i960.c: Likewise.
4361 * config/tc-m68hc11.c: Likewise.
4362 * config/tc-m68k.c: Likewise.
4363 * config/tc-m88k.c: Likewise.
4364 * config/tc-mcore.c: Likewise.
4365 * config/tc-mips.c: Likewise.
4366 * config/tc-ns32k.c: Likewise.
4367 * config/tc-pdp11.c: Likewise.
4368 * config/tc-pj.c: Likewise.
4369 * config/tc-s390.c: Likewise.
4370 * config/tc-sh.c: Likewise.
4371 * config/tc-sparc.c: Likewise.
4372 * config/tc-tahoe.c: Likewise.
4373 * config/tc-tic80.c: Likewise.
4374 * config/tc-v850.c: Likewise.
4375 * config/tc-vax.c: Likewise.
4376 * config/tc-w65.c: Likewise.
4377 * config/tc-z8k.c: Likewise.
4379 2002-06-08 Daniel Jacobowitz <drow@mvista.com>
4381 Based on patch from Matt Green:
4382 * config/obj-elf.h (ECOFF_DEBUGGING): Make configurable.
4383 * config/tc-mips.c (s_mips_file): Renamed from s_file.
4384 (s_mips_loc): New function.
4385 (mips_nonecoff_pseudo_table): Call them.
4386 (append_insn): Call dwarf2_emit_insn.
4388 2002-06-08 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4390 * config/tc-mips.c (mips_opts): Fix comment, all ASE fields are set
4392 (file_ase_mips16): New veriable.
4393 (mips_eabi64): Remove.
4394 (CPU_HAS_MIPS16): New define.
4395 (CPU_HAS_MDMX): Fix data type.
4396 (md_begin): Code cleanup. Use file_ase_mips16.
4397 (mips_elf_final_processing): Handle mips16 header flag.
4398 Handle EABI flag without intermediate variable.
4400 2002-06-08 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4402 * doc/as.texinfo: Update MIPS documentation.
4404 2002-06-08 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4406 * config/tc-mips.c: Add define for $zero register.
4407 (md_begin): Add $zero as alias name for $0.
4408 (insn_uses_reg): Use ZERO define.
4409 (mips_ip): Add $zero as alias name for $0.
4410 (mips16_ip): Likewise.
4411 (s_cplocal): Demand empty rest of input line.
4412 (tc_get_register): Likewise. Add support for $kt0, kt1 register
4413 names. Use ZERO define. Fix input_line_pointer progress.
4415 2002-06-07 Alan Modra <amodra@bigpond.net.au>
4417 * symbols.c: Replace CONST by const throughout.
4418 (symbol_find_exact): Split out from..
4419 (symbol_find_base): ..here.
4420 * symbols.h: Replace CONST by const throughout.
4421 (symbol_find_exact): Declare.
4422 * config/obj-elf.c: #include "struc-symbol.h".
4423 (elf_frob_file): If group name matches an exported symbol, use that
4424 symbol for the signature and ".group" as the section name.
4426 2002-06-06 J"orn Rennecke <joern.rennecke@superh.com>
4428 * config/tc-sh.c (parse_at): @(symbol,pc) is A_DISP_PC again,
4431 2002-06-06 Daniel Jacobowitz <drow@mvista.com>
4433 * tc-mips.c (mips_after_parse_args): Always set mips_opts.ase_mips3d
4434 and mips_opts.ase_mdmx if they are uninitialized.
4436 2002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
4438 * gas/config/tc-hppa.c (pa_ip): Replace "L$0\001" with FAKE_LABEL_NAME.
4439 (hppa_force_relocation): Check if a stub just before the start symbol
4440 of the last call_info is reachable before forcing relocation. Fix
4443 2002-06-04 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4445 * config/tc-mips.c (mips_after_parse_args): New function.
4446 (md_begin): Move processing of defaults to mips_after_parse_args.
4447 config/tc-mips.h (md_after_parse_args): Define.
4449 2002-06-04 Jason Thorpe <thorpej@wasabisystems.com>
4451 * configure.in (sh5*): Set cpu_type to sh64 and endian to big.
4452 (sh5le*, sh64le*): Set cpu_type to sh64 and endian to little.
4453 (sh5*-*-netbsd*, sh64*-*-netbsd*): New targets.
4454 * configure: Regenerate.
4455 * config/tc-sh64.c (sh64_target_format): Add support for NetBSD
4458 2002-06-04 Jason Thorpe <thorpej@wasabisystems.com>
4460 * config/tc-sh64.h (MD_PCREL_FROM_SECTION): Undef before redefining.
4462 2002-06-04 Alan Modra <amodra@bigpond.net.au>
4464 * config/obj-elf.c (obj_elf_change_section): Set and check elf
4465 linkonce flag. Print all warnings.
4466 (obj_elf_section): Parse ",comdat" for groups.
4467 (elf_frob_file): Set SEC_LINK_ONCE on COMDAT groups. Check
4468 consistency of comdat flag.
4470 2002-06-02 Richard Henderson <rth@redhat.com>
4472 * config/tc-alpha.c (alpha_adjust_symtab_relocs): Fix thinko
4473 with LITERALs without sequence numbers.
4475 2002-06-01 Richard Henderson <rth@redhat.com>
4477 * config/tc-alpha.c: Move LITUSE constants to "elf/alpha.h".
4478 Rename them LITUSE_ALPHA_*.
4480 2002-05-31 Shrinivas Atre <ShrinivasA@kpit.com>
4482 * config/tc-h8300.c (get_operand): Allow stm.l and ldm.l insns to
4483 accept parentheses enclosed register lists.
4485 2002-05-31 Alan Modra <amodra@bigpond.net.au>
4487 * Makefile.am: Run "make dep-am".
4488 * Makefile.in: Regenerate.
4489 * po/POTFILES.in: Regenerate.
4491 2002-05-31 Graeme Peterson <gp@qnx.com>
4493 * configure.in: Add i386-*-nto-qnx*.
4494 * configure: Regenerate.
4496 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4498 * config/tc-mips.c (mips_ip): Use unsigned long values for
4501 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4503 * config/tc-mips.c (s_cpsetup): Fix initialization of
4504 mips_cpreturn_register and mips_cpreturn_offset.
4506 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4508 * config/tc-mips.c (s_cpsetup): Fix comment.
4510 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4512 * config/tc-mips.c (md_begin): Add $ra as alias name for $31.
4513 (mips_ip): Likewise.
4514 (mips16_ip): Likewise.
4515 (tc_get_register): Likewise.
4517 2002-05-30 Chris G. Demetriou <cgd@broadcom.com>
4518 Ed Satterthwaite <ehs@broadcom.com>
4520 * config/tc-mips.c (mips_set_options): New "ase_mdmx" member.
4521 (mips_opts): Initialize "ase_mdmx" member.
4522 (file_ase_mdmx): New variable.
4523 (CPU_HAS_MDMX): New macro.
4524 (md_begin): Initialize mips_opts.ase_mdmx and file_ase_mdmx
4525 based on command line options and configuration defaults.
4526 (macro_build): Note in comment that use of MDMX in macros is
4527 not currently allowed.
4528 (validate_mips_insn): Add support for the "O", "Q", "X", "Y", and
4529 "Z" MDMX operand types.
4530 (mips_ip): Accept MDMX instructions if mips_opts.ase_mdmx is set,
4531 and add support for the "O", "Q", "X", "Y", and "Z" MDMX operand
4533 (OPTION_MDMX, OPTION_NO_MDMX, md_longopts, md_parse_option):
4534 Add support for "-mdmx" and "-no-mdmx" options.
4535 (OPTION_ELF_BASE): Move to accomodate new options.
4536 (s_mipsset): Support ".set mdmx" and ".set nomdmx".
4537 (mips_elf_final_processing): Set MDMX ASE ELF header flag if
4538 file_ase_mdmx was set.
4539 * doc/as.texinfo: Document -mdmx and -no-mdmx options.
4540 * doc/c-mips.texi: Likewise, and document ".set mdmx" and ".set
4543 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4545 * config/tc-mips.c (OPTION_NO_M7000_HILO_FIX): Rename to
4546 OPTION_MNO_7000_HILO_FIX. Add alternate "mno-fix7000"
4547 command line switch conforming to gcc conventions.
4548 * doc/c-mips.texi: Document -mno-fix7000 instead of no-mfix-7000.
4550 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4552 * config/tc-mips.c (macro_build_jalr): New Function.
4553 (md_begin): NewABI uses big GOTs.
4554 (macro_build): Recognize BFD_RELOC_MIPS_GOT_DISP,
4555 BFD_RELOC_MIPS_GOT_PAGE, BFD_RELOC_MIPS_GOT_OFST as valid.
4556 (load_address): Add some NewABI PIC support.
4558 (md_apply_fix): Special handling for BFD_RELOC_MIPS_JALR.
4559 (tc_gen_reloc): Don't encode NewABI vtables in REL relocations.
4561 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4563 * config/tc-mips.c (load_address): Use mips_gp_register instead
4564 of hardcoded value. Remove dbl parameter, use HAVE_32BIT_ADDRESSES
4566 (macro): Use mips_gp_register instead of hardcoded value.
4568 2002-05-30 Richard Henderson <rth@redhat.com>
4570 * expr.h (operatorT): Add O_md17..O_md32.
4571 * config/tc-alpha.c (O_lituse_tlsgd, O_lituse_tlsldm, O_tlsgd,
4572 O_tlsldm, O_gotdtprel, O_dtprelhi, O_dtprello, O_dtprel, O_gottprel,
4573 O_tprelhi, O_tprello, O_tprel): New.
4574 (USER_RELOC_P, alpha_reloc_op_tag, debug_exp): Include them.
4575 (DUMMY_RELOC_LITUSE_TLSGD, DUMMY_RELOC_LITUSE_TLSLDM): New.
4576 (LITUSE_TLSGD, LITUSE_TLSLDM): New.
4577 (struct alpha_reloc_tag): Add master, saw_tlsgd, saw_tlsld,
4578 saw_lu_tlsgd, saw_lu_tlsldm. Make multi_section_p a bit field.
4579 (md_apply_fix3): Handle TLS relocations.
4580 (alpha_force_relocation, alpha_fix_adjustable): Likewise.
4581 (alpha_adjust_symtab_relocs): Sort LITERAL relocs after the
4582 associated TLS reloc. Check lituse_tls relocs match up.
4583 (emit_insn): Handle TLS relocations.
4586 * doc/c-alpha.texi: Add docs for tls relocations.
4588 2002-05-30 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4590 * config/tc-mips.c (mips_gprel_offset): New variable.
4591 (s_gpvalue): Use it.
4593 2002-05-30 Diego Novillo <dnovillo@redhat.com>
4595 * gas/config/tc-d10v.c (check_resource_conflict): Only check
4596 write-write conflicts.
4597 (md_assemble): Reformat introductory comment.
4598 (parallel_ok): Prevent packing only if the first
4599 instruction cannot be packed.
4601 2002-05-30 Jason Eckhardt <jle@redhat.com>
4602 Tom Rix <trix@redhat.com>
4604 * config/tc-d10v.c (build_insn): Check for immediates.
4606 2002-05-28 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4608 * config/tc-mips.c: Replace GP in comments by $gp.
4609 (mips_big_got): Initialize.
4610 (mips_trap): Initialize.
4611 (load_address): Use mips_gp_register instead of hardcoded value.
4612 Remove dbl parameter, use HAVE_32BIT_ADDRESSES instead.
4613 (macro): Use mips_gp_register instead of hardcoded value.
4614 (macro2): Change load_address calls.
4615 (md_pcrel_from): Comment formatting.
4616 (s_cpload): Use mips_gp_register instead of hardcoded value.
4617 (s_cprestore): Likewise. Comment formatting.
4618 (s_gpword): Fix data type.
4619 (s_cpadd): Use mips_gp_register instead of hardcoded value.
4620 (nopic_need_relax): Replace GP in comments by $gp.
4621 (mips_elf_final_processing): Better comment.
4623 2002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
4625 * configure.in: Add DLX configuraton
4626 * Makefile.am: Add DLX configuraton
4627 * configure: Regenerate.
4628 * Makefile.in: Regenerate.
4629 * config/tc-dlx.c: New file.
4630 * config/tc-dlx.h: New files.
4631 * NEWS: Mention new support.
4633 2002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
4635 * config/obj-coff.c (write_object_file): Add missing semicolon.
4637 2002-05-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4639 * config/tc-mips.c (mips_emit_delays): Replace magic constant for RA
4640 by the define. Remove superfluous check of mips_opts.mips16.
4641 (append_insn): Likewise. Canonicalize variable increments.
4642 (macro_build): Canonicalize variable increments.
4643 (macro_build_lui): Likewise.
4644 (load_register): Likewise.
4645 (load_address): Move pointer initialization.
4646 (macro): Move pointer to a more local scope. Canonicalize variable
4647 increments. Better comments. Replace magic constant for RA by the
4649 (macro2): Replace magic constant for RA by the define. Canonicalize
4650 variable increments.
4651 (mips_ip): Canonicalize variable increments.
4652 (mips16_ip): Replace magic constant for RA by the define.
4653 (my_getSmallParser): Canonicalize variable increments/decrements.
4654 (my_getPercentOp): Likewise.
4655 (my_getSmallExpression): Likewise.
4656 (s_align): Likewise.
4657 (s_mipsset): Likewise.
4658 (s_cpsetup): Likewise.
4659 (s_insn): Remove superfluous check of mips_opts.mips16.
4660 (s_mips_stab): Likewise.
4661 (mips_handle_align): Canonicalize variable increments.
4662 (s_mips_ent): Likewise.
4663 (s_mips_end): Add comment.
4665 2002-05-26 Jason Thorpe <thorpej@wasabisystems.com>
4667 * configure.in: Use ns32k-*-netbsd* instead of ns32k-pc532-netbsd*.
4668 * configure: Regenerate.
4670 2002-05-25 Alan Modra <amodra@bigpond.net.au>
4672 * Makefile.am (OBJS): Depend on ansidecl.h and fopen-same.h.
4673 * Makefile.in: Regenerate.
4674 * dep-in.sed: Reorder to match OBJS in Makefile.am.
4675 * configure.in (ALL_OBJ_DEPS): Add symcat.h when need_bfd.
4676 * configure: Regenerate.
4677 * as.h: Use #include "" instead of <> for local header files.
4678 * flonum-konst.c: Likewise.
4679 * flonum-mult.c: Likewise.
4681 * listing.c: Likewise.
4682 * config/tc-ia64.h: Likewise.
4683 * config/tc-v850.h: Likewise.
4685 2002-05-24 TAMURA Kent <kent@netbsd.org>
4687 * configure.in: Add a target for i386-netbsdpe.
4688 * configure: Regenerate.
4690 2002-05-23 Jakub Jelinek <jakub@redhat.com>
4692 * config/obj-elf.c (elf_common): Renamed from obj_elf_common.
4693 (obj_elf_common): Call elf_common.
4694 (obj_elf_tls_common): New function.
4695 (elf_pseudo_tab): Support .tls_common.
4696 (special_sections): Add .tdata and .tbss.
4697 (obj_elf_change_section): Set SEC_THREAD_LOCAL for SHF_TLS
4699 (obj_elf_parse_section_letters): Support T in section flags (SHF_TLS).
4700 (obj_elf_parse_section_letters): Include T in error message.
4701 * config/tc-ppc.c (ppc_section_letter): Likewise.
4702 * config/tc-alpha.c (alpha_elf_section_letter): Likewise.
4703 (tc_gen_reloc): Handle SEC_THREAD_LOCAL the same way as
4705 * config/tc-sparc.c (md_apply_fix3): Likewise.
4706 * config/tc-i386.c (tc_i386_fix_adjustable): Add TLS relocs.
4707 Define them if not BFD_ASSEMBLER.
4708 (lex_got): Support @TLSGD, @TLSLDM, @GOTTPOFF, @TPOFF, @DTPOFF
4710 (md_apply_fix3): Add TLS relocs.
4711 * config/tc-ia64.c (enum reloc_func): Add FUNC_DTP_MODULE,
4712 FUNC_DTP_RELATIVE, FUNC_TP_RELATIVE, FUNC_LT_DTP_MODULE,
4713 FUNC_LT_DTP_RELATIVE, FUNC_LT_TP_RELATIVE.
4714 (pseudo_func): Support @dtpmod(), @dtprel() and @tprel().
4715 (ia64_elf_section_letter): Include T in error message.
4716 (md_begin): Support TLS operators.
4717 (md_operand): Likewise.
4718 (ia64_gen_real_reloc_type): Support TLS relocs.
4719 * write.c (adjust_reloc_syms): Don't change symbols in
4720 SEC_THREAD_LOCAL sections to STT_SECTION + addend.
4722 2002-05-23 Nick Clifton <nickc@cambridge.redhat.com>
4724 * config/tc-arm.c (md_apply_fix3): For the Thumb BLX reloc
4725 round the relocation up rather than down.
4727 2002-05-23 Nick Clifton <nickc@cambridge.redhat.com>
4729 * config/obj-coff.c (obj_coff_section): Silently ignore an 'a'
4731 * doc/as.texinfo: Document that the COFF version of .section
4732 ignores the 'a' flag.
4734 2002-05-23 Alan Modra <amodra@bigpond.net.au>
4736 * config/tc-alpha.c (assemble_tokens): Protect use of
4737 ALPHA_RELOC_TABLE with #ifdef RELOC_OP_P.
4739 * write.c (size_seg): Check adjustment to last frag.
4740 (SUB_SEGMENT_ALIGN): If HANDLE_ALIGN defined, pad out last frag to
4742 * config/obj-coff.c (SUB_SEGMENT_ALIGN): Likewise.
4743 * config/obj-ieee.c (SUB_SEGMENT_ALIGN): Likewise.
4744 (write_object_file): Invoke md_do_align if available, and use
4745 frag_align_code on text sections.
4746 * config/obj-vms.h (SUB_SEGMENT_ALIGN): Now two args.
4747 * config/tc-m88k.h (SUB_SEGMENT_ALIGN): Likewise.
4748 * config/tc-ppc.h (SUB_SEGMENT_ALIGN): Likewise.
4749 * config/tc-sh.h (SUB_SEGMENT_ALIGN): Likewise.
4750 * config/tc-i386.h (SUB_SEGMENT_ALIGN): Likewise. Define for
4753 2002-05-22 H.J. Lu <hjl@gnu.org>
4755 * dwarf2dbg.c (dwarf2_directive_loc): Call listing_source_file
4758 2002-05-22 Nick Clifton <nickc@cambridge.redhat.com>
4760 * config/tc-arm.c (arm_s_section): Enable for COFF builds as well
4763 2002-05-22 H.J. Lu <hjl@gnu.org>
4765 * dwarf2dbg.c (dwarf2_emit_insn): Emit only one line symbol
4766 for one .loc for compiler.
4768 2002-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4770 * config/tc-mips.c (macro): Relax warning, it's toot strict for
4773 2002-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4775 * config/tc-mips.c (macro2): Add 64 bit drol, dror macros.
4776 Optimize the rotate by zero case.
4778 2002-05-21 Nick Clifton <nickc@cambridge.redhat.com>
4780 * configure.in: Remove accidental enabling of bfd_gas=yes for
4782 * configure: Regenerate.
4784 2002-05-18 Kazu Hirata <kazu@cs.umass.edu>
4786 * app.c: Fix formatting.
4788 * ehopt.c: Likewise.
4790 * input-file.c: Likewise.
4791 * listing.c: Likewise.
4792 * macro.h: Likewise.
4793 * stabs.c: Likewise.
4794 * symbols.c: Likewise.
4796 2002-05-17 Alan Modra <amodra@bigpond.net.au>
4798 * config/obj-generic.c: Delete file.
4799 * config/obj-generic.h: Likewise.
4801 2002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
4803 * config/tc-avr.c (mcu_types): Update for new devices.
4805 2002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4807 * config/tc-mips.c (macro): Warn about wrong la/dla use.
4809 2002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4811 * config/tc_mips.c (s_cpsetup): Fix completely bogus code which had
4812 worked sometimes by accident. Fix copy&paste comment.
4814 2002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4816 * config/tc-mips.c (md_begin): Fix .reginfo and .MIPS.option section
4817 alignment for NewABI. Let n32 use .reginfo. Remove useless casts.
4818 (mips_elf_final_processing): Let n32 use .reginfo.
4820 2002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4822 * config/tc-mips.c (append_insn): Fix too small range of variable.
4824 2002-05-14 Nick Clifton <nickc@cambridge.redhat.com>
4826 * config/tc-arm.c (arm_cleanup): Remove redundant call to
4827 listing_prev_line().
4829 2002-05-13 Nick Clifton <nickc@cambridge.redhat.com>
4831 * config/tc-arm.c (md_assemble): Remove redundant call to
4834 * dwarf2dbg.c (dwarf2_emit_insn): Do not reset
4837 * stabs.c (s_stab_generic): Fix grammatical error in warning
4840 2002-05-13 Alan Modra <amodra@bigpond.net.au>
4842 * write.c (subsegs_finish): Don't specially align last subseg.
4844 2002-05-11 Nick Clifton <nickc@cambridge.redhat.com>
4846 * stabs.c (s_stab_generic): Warn about a description field that is
4849 * config/obj-coff.c: Fix compile time warnings when compiling
4850 without BFD_ASSEMBLER defined.
4853 * config/tc-sh.c (md_pcrel_from): Define for use with sh-hms
4855 (md_pcrel_from_section): Use md_pcrel_from().
4857 2002-05-11 Bruno Haible <bruno@clisp.org>
4859 * dwarf2dbg.c (dwarf2_emit_insn): Use the 'current' struct filled
4860 by dwarf2_directive_loc, instead of calling dwarf2_where.
4862 2002-05-11 Kazu Hirata <kazu@cs.umass.edu>
4864 * config/obj-coff.h: Fix formatting.
4865 * config/tc-mcore.c: Likewise.
4866 * config/tc-mn10300.c: Likewise.
4867 * config/tc-openrisc.c: Likewise.
4868 * config/tc-or32.c: Likewise.
4869 * config/tc-pdp11.c: Likewise.
4870 * config/tc-ppc.c: Likewise.
4871 * config/tc-ppc.h: Likewise.
4872 * config/tc-sh64.c: Likewise.
4873 * config/tc-sh.c: Likewise.
4874 * config/tc-tic54x.c: Likewise.
4875 * config/tc-xstormy16.c: Likewise.
4876 * config/tc-xstormy16.h: Likewise.
4878 2002-05-09 Kazu Hirata <kazu@cs.umass.edu>
4880 * config/obj-coff.c: Fix formatting.
4881 * config/obj-elf.c: Likewise.
4882 * config/tc-alpha.c: Likewise.
4883 * config/tc-arm.c: Likewise.
4884 * config/tc-d10v.c: Likewise.
4885 * config/tc-d30v.c: Likewise.
4886 * config/tc-h8300.c: Likewise.
4887 * config/tc-hppa.c: Likewise.
4889 2002-05-09 Alan Modra <amodra@bigpond.net.au>
4891 * config/tc-i386.c (md_estimate_size_before_relax) Don't lose
4892 reloc when no_cond_jump_promotion.
4894 2002-05-08 Jim Wilson <wilson@redhat.com>
4896 * config/tc-i960.c (md_estimate_size_before_relax): Return size of
4897 current variable part of frag.
4899 2002-05-08 Kazu Hirata <kazu@cs.umass.edu>
4901 * config/tc-mmix.c: Fix formatting.
4902 * config/tc-mmix.h: Likewise.
4904 2002-05-08 Alan Modra <amodra@bigpond.net.au>
4906 * configure: Regenerate.
4908 2002-05-07 Kazu Hirata <kazu@cs.umass.edu>
4910 * config/tc-m68k.c: Fix formatting.
4912 2002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
4914 * Makefile.am: Honour DESTDIR.
4915 * Makefile.in: Regenerate.
4917 2002-05-06 Kazu Hirata <kazu@cs.umass.edu>
4919 * config/tc-ia64.c: Fix formatting.
4920 * config/tc-ia64.h: Likewise.
4922 2002-05-04 Kazu Hirata <kazu@cs.umass.edu>
4924 * config/tc-mips.c: Fix formatting.
4925 * config/tc-s390.c: Likewise.
4926 * config/tc-s390.h: Likewise.
4928 2002-05-03 Alexandre Oliva <aoliva@redhat.com>
4930 * config/tc-s390.c (md_gather_operands): Emit dwarf2 line-number
4931 information for instructions.
4933 2002-05-02 Kazu Hirata <kazu@cs.umass.edu>
4935 * as.h: Fix formatting.
4938 * dwarf2dbg.c: Likewise.
4939 * frags.h: Likewise.
4941 * macro.c: Likewise.
4943 * stabs.c: Likewise.
4944 * symbols.c: Likewise.
4946 2002-05-02 Alan Modra <amodra@bigpond.net.au>
4948 * app.c (mri_pseudo): Only declare for TC_M68K.
4950 * config/tc-ppc.c (mapping): Map sectoff to BFD_RELOC_16_BASEREL.
4951 (ppc_elf_validate_fix): Replace BFD_RELOC_32_BASEREL with
4952 BFD_RELOC_16_BASEREL.
4953 (md_assemble): Likewise.
4954 (md_apply_fix3): Likewise.
4956 2002-05-02 Nick Clifton <nickc@cambridge.redhat.com>
4958 * config/tc-arm.c (thumb_add_sub): Do not convert a subtract of
4959 zero into an add of zero - it is not the same.
4961 2002-05-01 Arati Dikey <aratid@kpit.com>
4963 * tc-sh.c (get_specific): Generate warning if the same
4964 destination register is used in parallel instructions.
4966 2002-05-01 Andrew Macleod <amacleod@cygnus.com>
4968 * config/tc-i386.c (extra_symbol_chars): Add '[' to the list.
4970 2002-05-01 Alan Modra <amodra@bigpond.net.au>
4972 * write.c (cvt_frag_to_fill): Set fr_offset to zero on .org
4973 backwards to prevent cascading errors.
4975 2002-04-30 Mark Mitchell <mark@codesourcery.com>
4977 * configure.in: Add support for powerpc-*-windiss.
4978 * configure: Regenerated.
4980 2002-04-28 Alan Modra <amodra@bigpond.net.au>
4982 * config/tc-s390.c (md_parse_option): Formatting.
4984 * config/tc-i386.c: Formatting fixes, add missing space in error
4987 2002-04-24 Christian Groessler <chris@groessler.org>
4989 * config/tc-z8k.c (build_bytes): Add support for new cases:
4990 CLASS_IGNORE and ARG_NIM4.
4991 (md_assemble): Prevent destruction of input_line_pointer if
4992 get_operands returns failure.
4994 2002-04-24 Chris G. Demetriou <cgd@broadcom.com>
4996 * config/tc-mips.c (macro_build): Do _not_ allow MIPS-3D
4997 instructions to be generated by macros.
4999 2002-04-24 Andreas Schwab <schwab@suse.de>
5001 * config/tc-i386.c (output_jump, output_disp)
5002 (md_estimate_size_before_relax): Don't set fx_pcrel_adjust any
5004 (md_apply_fix3): Remember addend value for rela relocations.
5005 (tc_gen_reloc): Correctly compute pc-relative relocation addend.
5007 2002-04-22 Chris Demetriou <cgd@broadcom.com>
5009 * config/tc-mips.c (macro_build): Add close-parenthesis missing
5010 from previous change.
5012 2002-04-22 Eric Christopher <echristo@redhat.com>
5014 * config/tc-mips.c (macro_build): Add warning if macro instructions
5015 are expanded into a branch delay slot.
5017 2002-04-17 Geoffrey Keating <geoffk@redhat.com>
5019 * dwarf2dbg.c (dwarf2_gen_line_info): Do emit duplicate line
5020 numbers, gdb relies on them to detect the start of the prologue.
5022 2002-04-17 Martin Schwidefsky <schwidefsky@de.ibm.com>
5024 * config/tc-s390.c (tc_s390_fix_adjustable): Prevent adjustments to
5025 symbols in merge sections.
5027 2002-04-16 Alan Modra <amodra@bigpond.net.au>
5029 * as.c (main): Don't reference _bfd_chunksize.
5031 2002-04-15 Tom Rix <trix@redhat.com>
5033 * config/tc-d10v.c (d10v_fix_adjustable): Prevent adjustments to
5034 symbols in merge sections.
5036 2002-04-11 Richard Sandiford <rsandifo@redhat.com>
5038 * doc/invoke.texi (TC_LARGEST_EXPONENT_IS_NORMAL): Document.
5039 * config/atof-ieee.c (TC_LARGEST_EXPONENT_IS_NORMAL): Add an
5040 argument for the precision.
5041 (gen_to_words): Update accordingly.
5043 2002-04-10 Alan Modra <amodra@bigpond.net.au>
5045 * as.c (parse_args <OPTION_VERSION>): Use VERSION is
5046 BFD_VERSION_STRING unavailable.
5047 * config/tc-i386.c (INLINE): Define (for non-BFD assembler).
5049 2002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
5051 * config/tc-sh.h (TC_FIX_ADJUSTABLE): Disable adjusting if
5052 symbol_used_in_reloc_p is true.
5054 * config/tc-sh.c (md_apply_fix3): Don't zero relocations on big
5057 2002-04-04 Alan Modra <amodra@bigpond.net.au>
5059 * dep-in.sed: Cope with absolute paths.
5060 * Makefile.am (dep.sed): Subst TOPDIR.
5062 * Makefile.in: Regenerate.
5064 2002-04-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
5066 * config/tc-mips.c (mips16_macro_build): Cast type mismatch.
5067 (mips_ip): Remove unused variable.
5068 (md_apply_fix3): Cast signed/unsignes mismatches. Replace
5069 unsigned char with bfd_byte.
5070 (s_file): Remove unused variable.
5071 (s_mips_ent): Likewise.
5073 2002-04-03 Tom Rix <trix@redhat.com>
5075 * config/tc-d10v.c (d10v_insert_operand): Fix warning in as_bad_where.
5077 (find_opcode): Fix warning in as_warn.
5078 * config/tc-d10v.h: Update Copyright.
5080 2002-04-03 Alan Matsuoka <alanm@redhat.com>
5081 Tom Rix <trix@redhat.com>
5083 From Jeff Knaggs <jknaggs@redhat.com>
5084 * config/tc-d10v.c (check_resource_conflict): New function to
5085 check for resource conflicts.
5087 From Jason Eckhardt <jle@redhat.com>
5088 * config/tc-d10v.c (build_insn): Check for unresolved imm4 or
5090 * config/tc-d10v.c (find_opcode): Emit a warning if one of the
5091 reserved control registers is used.
5092 * config/tc-d10v.c (build_insn): Check for unresolved imm4 or
5095 From 2001-03-28 Diego Novillo <dnovillo@redhat.com>
5096 * tc-d10v.c (parallel_ok): Prevent packing only if the first
5097 instruction cannot be packed.
5099 From 2001-03-30 Diego Novillo <dnovillo@redhat.com>
5100 * gas/config/tc-d10v.c (check_resource_conflict): Only check
5101 write-write conflicts.
5102 (md_assemble): Reformat introductory comment.
5103 * opcodes/d10v-opc.c (d10v_opcodes): `btsti' does not modify its
5106 2002-04-03 Alan Modra <amodra@bigpond.net.au>
5108 * symbols.c (resolve_symbol_value <O_uminus, O_bit_not,
5109 O_logical_not>): Derive final_seg from add_symbol.
5110 <O_multiply..O_logical_or>: More final_seg twiddles.
5112 2002-04-01 Jessica Han <jessica@cup.hp.com>
5114 * config/tc-ia64.c (ia64_cons_fix_new): Handle 8 byte iplt reloc
5117 2002-03-27 Andreas Schwab <schwab@suse.de>
5119 * config/tc-i386.c (output_jump): Set fx_pcrel_adjust to size of
5120 field for pc-relative fixups.
5121 (output_disp): Likewise.
5122 (md_estimate_size_before_relax): Likewise.
5123 (tc_gen_reloc): Subtract fx_pcrel_adjust instead of fx_size for
5124 pc-relative fixups in 64bit mode.
5126 2002-03-22 Alan Modra <amodra@bigpond.net.au>
5128 * config/te-aix5.h: Typo fix.
5130 2002-03-21 Alan Modra <amodra@bigpond.net.au>
5132 * Makefile.am: Run "make dep-am".
5133 * Makefile.in: Regenerate.
5134 * doc/Makefile.in: Regenerate.
5136 2002-03-20 Albert Chin-A-Young <china@thewrittenword.com>
5138 * config/tc-arm.c (vfp_dp_reg_required_here): Fix typo
5139 (vfp_sp_reg_pos -> vfp_dp_reg_pos).
5141 2002-03-18 Alexandre Oliva <aoliva@redhat.com>
5143 * config/tc-mips.c (md_estimate_size_before_relax): Do not modify
5144 the EXTENDED bit here; report the estimate according to the
5147 2002-03-18 Tom Rix <trix@redhat.com>
5149 * configure.in: Add AIX 5 support.
5150 * config/tc-ppc.c (ppc_target_format): Add AIX 5 64 bit target.
5151 * config/te-aix5.h: New file. AIX 5 support.
5152 * configure: Regenerate.
5154 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
5156 * po/fr.po: Updated version.
5158 2002-03-16 Andreas Jaeger <aj@suse.de>
5160 * doc/c-mips.texi (Machine Dependencies): Add new node.
5162 2002-03-15 Chris G. Demetriou <cgd@broadcom.com>
5164 * config/tc-mips.c (mips_set_options): New "ase_mips3d" member.
5165 (mips_opts): Initialize "ase_mips3d" member.
5166 (file_ase_mips3d): New variable.
5167 (CPU_HAS_MIPS3D): New macro.
5168 (md_begin): Initialize mips_opts.ase_mips3d and file_ase_mips3d
5169 based on command line options and configuration defaults.
5170 (macro_build, mips_ip): Accept MIPS-3D instructions if
5171 mips_opts.ase_mips3d is set.
5172 (OPTION_MIPS3D, OPTION_NO_MIPS3D, md_longopts, md_parse_option):
5173 Add support for "-mips3d" and "-no-mips3d" options.
5174 (OPTION_ELF_BASE): Move to accomodate new options.
5175 (s_mipsset): Support ".set mips3d" and ".set nomips3d".
5176 (mips_elf_final_processing): Add a comment indicating that a
5177 MIPS-3D ASE ELF header flag should be set, when one exists.
5178 * doc/as.texinfo: Document -mips3d and -no-mips3d options.
5179 * doc/c-mips.texi: Likewise, and document ".set mips3d" and ".set
5180 nomips3d" directives.
5182 2002-03-14 Hans-Peter Nilsson <hp@bitrange.com>
5184 * config/tc-mmix.c (md_estimate_size_before_relax): Don't consider
5185 a weak symbol in same section to be within reach.
5187 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
5189 * po/fr.po: Updated version.
5191 2002-03-12 Andreas Schwab <schwab@suse.de>
5193 * config/tc-ia64.c (fixup_unw_records): Clear region when seeing a
5194 body record so that an error is given for misplaced .save
5197 2002-03-09 Alan Modra <amodra@bigpond.net.au>
5199 * config/tc-i386.h (REX_OPCODE): Define.
5200 (REX_MODE64, REX_EXTX, REX_EXTY, REX_EXTZ): Define.
5201 (rex_byte): typedef to int.
5202 * config/tc-i386.c: Group prototypes and vars together.
5203 Formatting fixes. Remove occurrences of "register" keyword.
5206 (mode_from_disp_size): Add INLINE keyword to prototype.
5207 (fits_in_signed_byte): Likewise.
5208 (fits_in_unsigned_byte): Likewise.
5209 (fits_in_unsigned_word): Likewise.
5210 (fits_in_signed_word): Likewise.
5211 (fits_in_unsigned_long): Likewise.
5212 (fits_in_signed_long): Likewise.
5213 (type_names): Constify.
5214 (intel_float_operand): Constify param.
5215 (add_prefix): Use REX_OPCODE.
5216 (md_assemble): Likewise. Modify for changed rex_byte.
5217 (parse_insn): Split out of md_assemble.
5218 (parse_operands): Likewise.
5219 (swap_operands): Likewise.
5220 (optimize_imm): Likewise.
5221 (optimize_disp): Likewise.
5222 (match_template): Likewise.
5223 (check_string): Likewise.
5224 (process_suffix): Likewise.
5225 (check_byte_reg): Likewise.
5226 (check_long_reg): Likewise.
5227 (check_qword_reg): Likewise.
5228 (check_word_reg): Likewise.
5229 (finalize_imm): Likewise.
5230 (process_operands): Likewise.
5231 (build_modrm_byte): Likewise.
5232 (output_insn): Likewise.
5233 (output_branch): Likewise.
5234 (output_jump): Likewise.
5235 (output_interseg_jump): Likewise.
5236 (output_disp): Likewise.
5237 (output_imm): Likewise.
5239 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
5241 * doc/as.texinfo: Wrap @menu in @ifnottex, not @ifinfo.
5243 2002-03-06 Alan Modra <amodra@bigpond.net.au>
5245 * config/tc-i386.c (tc_gen_reloc): Don't attempt to handle 8 byte
5246 relocs except when BFD64.
5248 * write.c (number_to_chars_bigendian): Don't abort when N is
5249 larger than sizeof (VAL).
5250 (number_to_chars_littleendian): Likewise.
5252 2002-03-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
5254 * config/tc-hppa.c (md_apply_fix3): Add cast.
5255 (hppa_fix_adjustable): Adjust list of selectors using e_lrsel and
5258 2002-03-05 Paul Koning <pkoning@equallogic.com>
5260 * tc-pdp11.c: Use VAX float format support for PDP-11 target.
5261 (parse_ac5): New function for parsing float regs in float operand.
5262 (parse_expression): Remove attempt to make literals be octal.
5263 (parse_op_no_deferred): Support float literals.
5264 (parse_op): Reject attempts to refer to float regs.
5265 (parse_fop): New function, like parse_op but for float operand.
5266 (md_assemble): Add cases to parse float operands. Also fix
5267 IMM3, IMM6, IMM8 cases to pick up the operand from the right spot.
5269 2002-03-04 H.J. Lu <hjl@gnu.org>
5271 * config/obj-elf.c (special_section): Add .init_array,
5272 .fini_array and .preinit_array.
5274 * config/tc-ia64.h (ELF_TC_SPECIAL_SECTIONS): Remove
5275 .init_array and .fini_array.
5277 2002-03-01 Jakub Jelinek <jakub@redhat.com>
5279 * config/obj-elf.c (elf_copy_symbol_attributes): Don't copy
5281 (obj_frob_symbol): Copy visibility.
5283 2002-02-28 Jakub Jelinek <jakub@redhat.com>
5285 * config/tc-alpha.c (s_alpha_text): Use obj_elf_text for OBJ_ELF, not
5287 (s_alpha_data): Use obj_elf_data for OBJ_ELF, not s_data.
5289 2002-02-27 Nick Clifton <nickc@cambridge.redhat.com>
5291 * po/es.po: Updated.
5293 2002-02-26 Chris Demetriou <cgd@broadcom.com>
5295 * config/tc-mips.c (mips_need_elf_addend_fixup): For embedded-PIC
5296 only, undo the changes made on 2001-06-08, with the
5297 effect being that common or extern symbols are
5298 adjusted for embedded-PIC, but weak symbols are not.
5299 (md_estimate_size_before_relax: Likewise, with the effect
5300 that extern symbols are treated the same as weak symbols
5301 only if not embedded-PIC.
5302 (mips_fix_adjustable) Likewise, with the effect that
5303 weak or extern symbols are not adjusted for embedded-PIC.
5304 (md_apply_fix3): Tweak so that the case where value is zero
5305 is handled more correctly for embedded-PIC code.
5307 2002-02-26 Nick Clifton <nickc@cambridge.redhat.com>
5309 * doc/as.texinfo (Overview): Add missing @ifset IA64
5311 * configure.in (LINGUAS): Add es.po.
5312 * configure: Regenerate.
5313 * po/es.po: New file.
5315 2002-02-25 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
5317 * config/tc-mips.c (set_at): Fix handling of 64bit register loads.
5318 (macro): Likewise. Fix la/dla address expansions for EMBEDDED_PIC
5319 and NO_PIC cases. Code cleanup.
5320 (macro2): Fix handling of 64bit register loads.
5322 2002-02-25 David Mosberger <davidm@hpl.hp.com>
5324 * doc/as.texinfo: Add entry for IA64.
5325 * doc/c-ia64.texi: New file.
5327 2002-02-25 Alan Modra <amodra@bigpond.net.au>
5329 * config/tc-hppa.c: Update copyright date.
5331 * doc/c-ppc.texi (PowerPC-Opts): Add -mpower4, -maltivec and -m7400
5332 Remove references to chip manufacturers.
5333 * config/tc-ppc.c (md_parse_option): Handle -mpower4 option.
5335 (md_show_usage): Remove references to chip manufacturers. Mention
5337 (md_begin): Test power4 opcode flag bits.
5339 2002-02-22 David Mosberger <davidm@hpl.hp.com>
5341 * config/tc-ia64.c (dot_restore): Issue error message of epilogue
5342 count exceeds prologue count.
5343 (md_show_usage): Describe -mconstant-gp and -mauto-pic.
5344 (unwind.label_prologue_count): New member.
5346 Based on a patch by Hans Boehm <hboehm@hpl.hp.com>:
5348 (get_saved_prologue_count): New function.
5349 (save_prologue_count): New function.
5350 (free_saved_prologue_count): New function.
5351 (dot_label_state): Record state label by calling save_prologue_count().
5352 (dot_copy_state): Restore prologue count by calling
5353 get_saved_prologue_count().
5354 (generate_unwind_image): Free up list of saved prologue
5355 counts by calling free_saved_prologue_counts().
5357 2002-02-22 Nick Clifton <nickc@cambridge.redhat.com>
5359 * config/tc-tic54x.c: Add missing prototypes and remove ANSI style
5360 function declarations.
5362 2002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
5364 * NEWS: Note that GASP is now deprecated.
5365 * Makefile.am: Do not build gasp-new by default.
5366 * Makefile.in: Regenerate.
5367 * doc/Makefile.am: Do not install gasp.info.
5368 * doc/Makefile.in: Regenerate.
5369 * gas/gasp.texi: Note that gasp is now deprecated.
5371 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
5373 * NEWS: Mark 2.12 branch.
5375 2002-02-19 Tom Tromey <tromey@redhat.com>
5377 * config/tc-xstormy16.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
5379 2002-02-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
5381 * config/tc-mips.c (md_parse_option): Complain about invalid -mabi
5384 2002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
5386 * config/tc-s390.c (md_parse_option): Add switches -m31 and -m64.
5387 Make bit size independent of architecture switch.
5388 (md_begin): Add warning for -m64 with -Aesa.
5389 (s390_md_end): Use renamed architecture defines.
5391 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
5393 * config/obj-coff.h: Check !target_big_endian, not shl, for coff-sh.
5395 2002-02-16 Nick Clifton <nickc@cambridge.redhat.com>
5397 * doc/as.texinfo (Machine Dependencies): Fix typo: MMIX used
5400 2002-02-15 Chris Demetriou <cgd@broadcom.com>
5402 * config/tc-mips.c (md_estimate_size_before_relax): Really
5403 make sure we treat weak like extern only for ELF. (Fixes
5404 patch from 2001-07-25.)
5406 2002-02-15 Ben Elliston <bje@redhat.com>
5408 * doc/as.texinfo: Add duplicate directory entry so that "info gas"
5411 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
5413 * NEWS: Mention support for MMIX.
5415 2002-02-13 Chris Demetriou <cgd@broadcom.com>
5417 * config/tc-mips.c (mips_need_elf_addend_fixup): Restructure into
5418 a sequence of indpendent 'if' statements for easier debugging
5419 and future modification.
5421 2002-02-13 Matt Fredette <fredette@netbsd.org>
5423 * config/tc-m68k.c (md_show_usage): No longer display a
5424 hard-coded "68020" for the default CPU, instead display the
5425 canonical name of the true, configured default CPU.
5426 (m68k_elf_final_processing): Mark objects for sub-68020
5427 CPUs with the new EF_M68000 flag.
5429 2002-02-13 Andreas Schwab <schwab@suse.de>
5431 * config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust
5432 pc-relative relocations to merge sections in 64-bit mode.
5434 2002-02-13 Ben Elliston <bje@redhat.com>
5436 * NEWS: Document floating point number handling in gasp.
5437 * gasp.c: Include <assert.h> and "xregex.h".
5438 (is_flonum): New function.
5439 (chew_flownum): Likewise.
5440 (change_base): Consume flonums from the input, where possible.
5441 * doc/gasp.texi (Constants): Document floating point numbers.
5443 2002-02-12 John David Anglin <dave@hiauly1.hia.nrc.ca>
5445 * config/tc-hppa.c (hppa_fix_adjustable): Don't adjust final types
5446 that implicitly use LR and RR selectors.
5448 2002-02-12 Alexandre Oliva <aoliva@redhat.com>
5450 * config/tc-mn10300.c (other_registers): Added `epsw'. Mark `pc'
5451 and `epsw' as available on AM33 and above only.
5452 (other_register_name): Add logic to handle machine type encoded in
5455 2002-02-11 Tom Rix <trix@redhat.com>
5457 * config/tc-ppc.c (md_apply_fix3): Check for insert fop invalid for
5460 2002-06-11 Alexandre Oliva <aoliva@redhat.com>
5462 * config/tc-sparc.c (U0x80000000, U0xffffffff): New constants.
5465 2002-02-11 Jan Hubicka <jh@suse.cz>
5467 * i386.c (md_assemble): Support 32bit address prefix.
5468 (i386_displacement): Likewise.
5469 (i386_index_check): Accept 32bit addressing in 64bit mode.
5471 2002-02-11 Alexandre Oliva <aoliva@redhat.com>
5473 * config/tc-sh.c (dot): Removed unused function.
5475 2002-02-11 Alan Modra <amodra@bigpond.net.au>
5477 * Makefile.am: "make dep-am".
5478 * Makefile.in: Regenerate.
5479 * aclocal.m4: Regenerate.
5480 * config.in: Regenerate.
5481 * configure: Regenerate.
5482 * doc/Makefile.in: Regenerate.
5484 2002-02-10 Richard Henderson <rth@redhat.com>
5486 * doc/c-alpha.texi: New file.
5487 * doc/Makefile.am (CPU_DOCS): Add it.
5488 * doc/all.texi, doc/as.texinfo: Add hooks for Alpha.
5490 2002-02-09 Richard Henderson <rth@redhat.com>
5492 * config/tc-alpha.c (O_samegp): New.
5493 (USER_RELOC_P): Include it.
5494 (alpha_reloc_op_tag, debug_exp, find_macro_match): Add it.
5495 (md_apply_fix3): Handle BFD_RELOC_ALPHA_BRSGP.
5496 (alpha_force_relocation, alpha_fix_adjustable): Likewise.
5497 (alpha_validate_fix): New.
5498 * config/tc-alpha.h (TC_VALIDATE_FIX): New.
5500 2002-02-09 Hans-Peter Nilsson <hp@axis.com>
5502 * doc/c-cris.texi: New.
5503 * doc/all.texi: @set CRIS.
5504 * doc/as.texinfo: Ditto. Add CRIS gas manpage option overview.
5505 Include c-cris.texi.
5506 * doc/Makefile.am (CPU_DOCS): Add c-cris.texi
5507 * doc/Makefile.in: Regenerate.
5509 2002-02-08 Chris Demetriou <cgd@broadcom.com>
5511 * config/tc-mips.c (IS_SEXT_32BIT_NUM): New macro to
5512 determine if a number is a sign-extended 32-bit number.
5513 (load_register): Use IS_SEXT_32BIT_NUM.
5514 (macro): Check if load/store macro handling is using a
5515 constant 32-bit address on 64-bit address systems, and if
5516 so optimize the generation of that address.
5518 2002-02-08 Richard Henderson <rth@redhat.com>
5520 * config/tc-alpha.c (alpha_force_relocation): Don't assert that
5521 we've eliminated all foreign relocation types yet.
5522 (alpha_fix_adjustable): Likewise.
5524 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
5526 Contribute sh64-elf.
5527 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
5528 Stephen Clarke <Stephen.Clarke@st.com>
5529 * doc/c-sh64.texi: Fix citation of SH64 architecture manual.
5530 2002-01-31 Alexandre Oliva <aoliva@redhat.com>
5531 * config/tc-sh.c (md_relax_table): Added default sizes for
5532 non-PC-relative UNDEF_MOVI, and relaxation sequences for
5533 MOVI_16, MOVI_32 and MOVI_48.
5534 * config/tc-sh64.c (shmedia_md_apply_fix3): Fix warning.
5535 (shmedia_md_convert_frag): Handle non-PC-relative UNDEF_MOVI
5537 (shmedia_md_estimate_size_before_relax): Remove redundant
5538 blocks. Set fragP->fr_var even if relaxation type unchanged.
5539 Retain UNDEF_MOVI until expression decays to number.
5540 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
5541 * config/tc-sh64.c (shmedia_init_reloc): Handle new SHmedia PIC
5542 relocation types. Take fixP->fx_addnumber into account too.
5543 (shmedia_md_apply_fix): Likewise.
5544 (shmedia_md_convert_frag): Likewise.
5545 (shmedia_build_Mytes): Likewise.
5546 (sh64_consume_datalabel): Complain about nested datalabel.
5547 Support PIC relocs. Call sh_parse_name.
5548 * config/tc-sh64.h (TC_RELOC_RTSYM_LOC_FIXUP): Extend definition
5549 in tc-sh.h to SHmedia reloc types.
5550 * config/tc-sh.c (SH64PCRELPLT, MOVI_PLT, MOVI_GOTOFF,
5551 MOVI_GOTPC): New relaxation constants.
5552 (md_relax_table): Introduce relaxation directives for PIC-related
5554 (sh_PIC_related_p): Handle datalabel.
5555 (sh_check_fixup): Choose SH5 PIC relocations.
5556 (sh_cons_fix_new): Added BDF_RELOC_64.
5557 (md_apply_fix3, sh_parse_name): Handle GOTPLT.
5558 2002-01-18 Alexandre Oliva <aoliva@redhat.com>
5559 * config/tc-sh64.c (sh64_max_mem_for_rs_align_code): If the
5560 current ISA is SHmedia, get 7 bytes.
5561 2001-11-28 Nick Clifton <nickc@cambridge.redhat.com>
5562 * config/tc-sh.c (md_apply_fix3): Treat shmedia_md_apply_fix3 as a
5564 * config/tc-sh64.c (shmedia_apply_fix): Rename to
5565 shmedia_apply_fix3 and make void.
5566 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
5567 * config/tc-sh64.c (s_sh64_abi): Remove unused arguments passed to
5569 2001-04-12 Alexandre Oliva <aoliva@redhat.com>
5570 * config/tc-sh64.h (md_parse_name): Take &c as argument.
5571 2001-03-14 DJ Delorie <dj@redhat.com>
5572 * doc/Makefile.am (CPU_DOCS): Added c-sh64.texi
5573 * doc/Makefile.in(CPU_DOCS): Ditto.
5574 * doc/c-sh64.texi: New file.
5575 * doc/as.texinfo: Add SH64 support.
5576 2001-03-13 DJ Delorie <dj@redhat.com>
5577 * config/tc-sh64.c (shmedia_get_operands): Rename A_RESV_Fx to
5578 A_REUSE_PREV so that its purpose is more obvious.
5579 (shmedia_build_Mytes): Ditto.
5580 2001-03-07 DJ Delorie <dj@redhat.com>
5581 * config/tc-sh64.c (sh64_vtable_entry): New, strip datalabels
5583 (sh64_vtable_inherit): Ditto.
5584 (strip_datalabels): New, strip "datalabel" from given line.
5585 * config/tc-sh.c (md_pseudo_table): Add sh64-specific vtable
5587 2001-03-06 Hans-Peter Nilsson <hpn@cygnus.com>
5588 * config/tc-sh64.c (shmedia_md_assemble): Move dwarf2_emit_insn
5590 (shmedia_build_Mytes): ... to here.
5591 2001-03-06 DJ Delorie <dj@redhat.com>
5592 * config/tc-sh.c: Remove sh64-specific uaquad now that there
5594 2001-01-21 Hans-Peter Nilsson <hpn@cygnus.com>
5595 * config/tc-sh64.h (DWARF2_LINE_MIN_INSN_LENGTH): Override.
5596 * config/tc-sh64.c (shmedia_md_assemble): Offset recorded insn
5597 address by one in call to dwarf2_emit_insn.
5598 2001-01-13 Hans-Peter Nilsson <hpn@cygnus.com>
5599 Implement ".abi" pseudo and correct .cranges descriptors. Correct
5600 alignment handling broken by imported changes.
5601 * config/tc-sh64.h (HANDLE_ALIGN): Override definition in tc-sh.h.
5602 (sh64_handle_align): Declare.
5603 (MAX_MEM_FOR_RS_ALIGN_CODE): Override definition in tc-sh.h.
5604 (sh64_max_mem_for_rs_align_code): Declare.
5605 (enum sh64_isa_values): Moved here from tc-sh64.c.
5606 (md_do_align): Define.
5607 (sh64_do_align): Declare.
5608 (struct sh64_tc_frag_data): New.
5609 (TC_FRAG_TYPE): Change to struct sh64_tc_frag_data. Users
5611 (TC_FRAG_INIT): Change to set new datatype.
5612 (struct sh64_segment_info_type): Rename member
5613 last_flushed_location to last_contents_mark. All users changed.
5614 (md_elf_section_change_hook, TC_CONS_FIX_NEW): Do not define.
5615 (shmedia_elf_new_section, sh64_tc_cons_fix_new): Do not prototype.
5616 * config/tc-sh.c (md_pseudo_table): Add ".abi".
5617 (sh_elf_cons) [HAVE_SH64]: Call sh64_update_contents_mark instead
5618 of unsetting seen_insn.
5619 (md_assemble) [HAVE_SH64] <before new SHcompact sequence>: Also
5620 call sh64_update_contents_mark.
5621 (sh_handle_align): Remove HAVE_SH64-conditioned code.
5622 * config/tc-sh64.c (sh64_isa_mode): Correct type from boolean to
5623 enum sh64_isa_values.
5624 (sh64_set_contents_type): Drop segT parameter. All callers changed.
5625 (emitting_crange): Boolean guard moved to file scope from function
5626 scope in sh64_set_contents_type.
5628 (sh64_update_contents_mark): New; most split out from
5629 sh64_flush_pending_output.
5630 (shmedia_md_end): Call sh64_update_contents_mark. Set
5631 sh64_isa_mode to sh64_isa_sh5_guard unless sh64_isa_unspecified.
5632 (sh64_do_align): New function.
5633 (sh64_max_mem_for_rs_align_code): New function.
5634 (sh64_handle_align): Rename from shmedia_do_align. Make
5635 non-static. Add head comment. Emit zero bytes for n bytes modulo
5636 four. Change return-type to void.
5637 (shmedia_elf_new_section): Remove.
5638 (shmedia_md_assemble): Call sh64_update_contents_mark.
5639 (s_sh64_mode): Ditto. Do not call md_flush_pending_output. Make
5640 new frag. Call sh64_update_contents_mark after making the new
5642 (sh64_flush_pending_output): Just call sh64_update_contents_mark
5643 and sh_flush_pending_output.
5644 (sh64_flag_output): Also call md_flush_pending_output, but add
5645 condition on not emitting_crange.
5646 (sh64_tc_cons_fix_new): Remove.
5647 2001-01-12 Nick Clifton <nickc@redhat.com>
5648 * config/tc-sh64.c (shmedia_do_align): Fix to work with new
5649 alignment handling scheme imported from sourceware.
5650 2001-01-12 Hans-Peter Nilsson <hpn@cygnus.com>
5651 * config/tc-sh64.h (TARGET_FORMAT): Define.
5652 (sh64_target_format): Prototype.
5653 * config/tc-sh64.c (sh64_target_mach): New function.
5654 2001-01-07 Hans-Peter Nilsson <hpn@cygnus.com>
5655 * config/tc-sh64.c (shmedia_md_end): When equating a symbol, use
5656 zero_address_frag instead of copying the frag of the symbol.
5657 (shmedia_frob_file_before_adjust): Ditto.
5658 (shmedia_md_apply_fix) <case BFD_RELOC_SH_IMM_MEDLOW16>: Cast mask
5659 to valueT to remove signedness.
5660 (shmedia_md_convert_frag): Add parameter final. Rename parameter
5661 headers to output_bfd. Do not evaluate symbols if final is false;
5663 (shmedia_md_estimate_size_before_relax) <case C (MOVI_IMM_32,
5664 UNDEF_MOVI) et al>: If symbol cannot be modified to be PC-relative
5665 to the current frag, call shmedia_md_convert_frag to emit fixups
5666 and make frag_wane neutralize the frag. Update comments.
5667 * config/tc-sh.c (md_convert_frag): Change caller of
5668 shmedia_md_convert_frag.
5669 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
5670 * config/tc-sh64.h: Tweak comments and correct formatting.
5671 * config/tc-sh64.c: Ditto.
5672 (shmedia_md_convert_frag) <PT/PTA/PTB 32, 48 and 64 bit
5673 expansion, MOVI pcrel expansion>: Fix thinko calculating offset
5674 for the no-relocation case.
5675 (shmedia_check_limits): Fix range check being off-by-one for PTA.
5676 * config/tc-sh.c: Ditto. Add proper comments to #ifdef/#ifndef
5678 (SH64PCREL16_F): Increment for proper max-PTA handling. Update
5680 (SH64PCREL16_M, MOVI_16_M): Correct range thinko.
5681 (SH64PCREL48_M, MOVI_48_M): Similar; don't count in length of
5683 (SH64PCREL32_M, MOVI_32_M): Ditto; handle overflowing expression.
5685 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
5686 * config/tc-sh64.c (shmedia_md_apply_fix) <second switch, case
5687 BFD_RELOC_SH_PT_16>: Set lowest bit in field to be relocated to 1.
5688 (shmedia_md_convert_frag) <case C (SH64PCREL16_32, SH64PCREL16) et
5689 al>: Set lowest bit of field to relocate to 1 and rest to empty,
5690 if reloc is emitted.
5691 2000-12-31 Hans-Peter Nilsson <hpn@cygnus.com>
5692 New options plus bugfixes.
5693 * config/tc-sh.c (md_longopts): New options "-no-expand" and
5695 (md_parse_option): Handle new options.
5696 (md_show_usage): Add blurb for new options.
5697 * config/tc-sh64.c (SHMEDIA_BFD_RELOC_PT): New macro.
5698 (sh64_expand, sh64_pt32): New variables.
5699 (shmedia_init_reloc): Handle BFD_RELOC_SH_PT_16.
5700 (shmedia_md_apply_fix): Hold original fixP->fx_r_type in
5701 orig_fx_r_type. Change SHMEDIA_BFD_RELOC_PT into
5702 BFD_RELOC_SH_PT_16. Handle BFD_RELOC_SH_PT_16 as pc-relative.
5703 <resolved previously-pc-relative relocs>: Handle
5704 SHMEDIA_BFD_RELOC_PT and BFD_RELOC_SH_PT_16.
5705 (shmedia_md_convert_frag) <case C (SH64PCREL16PT_64, SH64PCREL16),
5706 case C (SH64PCREL16PT_32, SH64PCREL16)>: Modify to PTB if operand
5707 points to SHcompact code.
5708 <case C (SH64PCREL16_32, SH64PCREL16), case C (SH64PCREL16_64,
5709 SH64PCREL16)>: Check that ISA of what operand points at and
5710 PTA/PTB matches, or emit error.
5711 (shmedia_check_limits): Handle BFD_RELOC_SH_PT_16 and
5712 SHMEDIA_BFD_RELOC_PT.
5713 (shmedia_immediate_op): If pcrel, emit fixup also for constant
5715 (shmedia_build_Mytes) <case A_IMMS16>: Also check sh64_expand in
5716 condition for MOVI expansion.
5717 <case A_PCIMMS16BY4>: Handle expansion to 32 bits only, if
5718 sh64_pt32. Emit only a BFD_RELOC_SH_PT_16 fixup if not
5720 <case A_PCIMMS16BY4_PT>: Likewise, but emit a SHMEDIA_BFD_RELOC_PT
5722 (sh64_target_format): Error-check setting of sh64_pt32 and
5723 sh64_expand. Fix typo in check for sh64_shcompact_const_crange.
5724 (shmedia_md_pcrel_from_section): Handle BFD_RELOC_SH_PT_16 and
5725 SHMEDIA_BFD_RELOC_PT as coming from SHmedia code.
5726 2000-12-31 Hans-Peter Nilsson <hpn@cygnus.com>
5727 * config/tc-sh64.c: Improve comments.
5728 (shmedia_md_convert_frag): Remove inactive is_pt_variant code. Do
5729 not say the linker will check correctness of PTA/PTB expansion.
5730 (shmedia_md_end): Make non-static.
5731 * config/tc-sh64.h (md_end): Define to shmedia_md_end. Add
5733 * config/tc-sh.c (sh_finalize): Remove.
5734 * config/tc-sh.h (md_end): Do not define.
5735 Remove prototype for sh_finalize.
5736 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
5737 * config/tc-sh64.c (shmedia_frob_section_type): Use a struct
5738 sh64_section_data container when storing section type in tdata
5739 field in elf_section_data.
5740 * config/tc-sh.c (sh_elf_final_processing): Change from EF_SH64 to
5742 * Makefile.am: Update dependencies.
5743 * Makefile.in: Regenerate.
5744 2000-12-22 Hans-Peter Nilsson <hpn@cygnus.com>
5745 * config/tc-sh64.c (shmedia_md_assemble): Don't protect
5746 dwarf2_emit_insn call with test on debug_type.
5747 2000-12-19 Hans-Peter Nilsson <hpn@cygnus.com>
5748 * config/tc-sh64.c (sh64_set_contents_type): Make contents-type
5749 CRT_SH5_ISA32 sticky for 64-bit.
5750 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
5751 Generate .crange sections when switching ISA mode or emitting
5752 constants in same section as code.
5753 * config/tc-sh64.c: Reformat structure definitions.
5754 (sh64_end_of_assembly, sh64_mix, sh64_shcompact_const_crange): New
5756 (sh64_set_contents_type): Rename from sh64_init_section. Rewrite
5757 to emit a .cranges descriptor when contents type changes. Only
5758 emit error if changing contents type and -no-mix is in effect.
5759 (sh64_emit_crange, sh64_flush_last_crange, sh64_flag_output,
5760 sh64_flush_pending_output, sh64_tc_cons_fix_new): New functions.
5761 (shmedia_md_end): Set sh64_end_of_assembly. Pass
5762 sh64_flush_last_crange over sections.
5763 When checking main symbol of datalabel symbol, check for
5764 STO_SH5_ISA32, not ISA type of section in definition.
5765 (shmedia_frob_file_before_adjust): Check main symbol for
5766 STO_SH5_ISA32; don't check ISA type of section in definition.
5767 (shmedia_frob_section_type): Adjust for .cranges; set section flag
5768 to SHF_SH5_ISA32_MIXED or SHF_SH5_ISA32 according to whether
5769 .cranges entries have been output.
5770 (shmedia_elf_new_section): Just call md_flush_pending_output.
5771 (shmedia_md_assemble): Do not emit a BFD_RELOC_SH_SHMEDIA_CODE
5772 fix. Do not set tc_segment_info_data.in_code for section. Call
5773 sh64_set_contents_type for SHmedia code.
5774 (s_sh64_mode): Do not call sh64_init_section or set seen_insn to
5775 false. Call md_flush_pending_output.
5776 (sh64_target_format): Check that -no-mix and
5777 -shcompact-const-crange are used in sane combination with other
5779 (shmedia_md_pcrel_from_section): Check type of fix for how to
5781 (sh64_consume_datalabel): Check symbol for having STO_SH5_ISA32,
5782 not ISA type of section in definition.
5783 * config/tc-sh64.h (struct sh64_segment_info_type): Rewrite to
5784 hold contents-type state.
5785 (md_flush_pending_output): Redefine to sh64_flush_pending_output.
5786 (sh64_flush_pending_output): Declare.
5787 (TC_CONS_FIX_NEW): Define to sh64_tc_cons_fix_new.
5788 (sh64_tc_cons_fix_new): Declare.
5789 * config/tc-sh.c (sh_elf_cons) [HAVE_SH64]: Unset seen_insn and
5790 call sh64_flag_output.
5791 (md_assemble) [HAVE_SH64]: Do not emit BFD_RELOC_SH_CODE. Just
5792 call sh64_set_contents_type to mark SHcompact code and set
5794 (md_longopts): New options "-no-mix" and
5795 "-shcompact-const-crange".
5796 (md_parse_option): Handle new options.
5797 (md_show_usage): Add blurb for new options.
5798 (md_number_to_chars) [HAVE_SH64]: Call sh64_flag_output.
5799 2000-12-15 Hans-Peter Nilsson <hpn@cygnus.com>
5800 * config/tc-sh64.c: Delete investigated and obsolete fixme:s.
5801 (sh64_last_insn_frag): New.
5802 (shmedia_md_convert_frag): Use tc_frag_data field of incoming frag
5803 to get frag for insn opcode for generating fixups; do not assume it
5805 (shmedia_build_Mytes): Set sh64_last_insn_frag after growing frag
5807 * config/tc-sh64.h (ELF_TC_SPECIAL_SECTIONS): Define for .cranges
5809 (TC_FRAG_TYPE): Define as fragS *.
5810 (TC_FRAG_INIT): Define to set tc_frag_data to sh64_last_insn_frag.
5811 (sh64_last_insn_frag): Declare.
5812 (sh64_consume_datalabel): Fix typo; check for seginfo != NULL,
5813 not == NULL before dereferencing.
5814 2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com>
5815 Get rid of BFD section flag and EF_SH64_ABI64.
5816 * config/tc-sh64.c (shmedia_frob_section_type): Use
5817 elf_section_data (sec)->tdata, not a specific BFD section flag, to
5818 communicate the section as containing SHmedia code. Describe why.
5819 * config/tc-sh.c (sh_elf_final_processing): Tweak comment. Set
5820 EF_SH64 regardless of ABI.
5821 * config/tc-sh64.c (shmedia_md_apply_fix): Decapitalize "invalid"
5822 in error message. Handle resolved expressions for
5823 BFD_RELOC_SH_IMMS10, BFD_RELOC_SH_IMMS10BY2,
5824 BFD_RELOC_SH_IMMS10BY4 and BFD_RELOC_64.
5825 (shmedia_check_limits): Handle BFD_RELOC_64.
5826 (sh64_adjust_symtab): Do not decrement the GAS symbol value for
5827 a STO_SH5_ISA32 symbol, only the BFD value.
5828 2000-12-11 Ben Elliston <bje@redhat.com>
5829 * config/tc-sh64.c: Call dwarf2_emit_insn, not the defunct
5830 dwarf2_generate_asm_lineno.
5831 2000-12-11 Hans-Peter Nilsson <hpn@cygnus.com>
5832 Handle PC-relative MOVI expansions with assembler relaxation.
5833 Generate PC-relative relocs from 16-bit PC-relative expressions.
5834 * config/tc-sh64.c (SHMEDIA_MD_PCREL_FROM_FIX): Break out from...
5835 (shmedia_md_pcrel_from_section): ...here.
5836 (shmedia_md_apply_fix): Handle fixups for 16-bit operands that has
5837 turned completely resolved. Adjust relocation type for 16-bit
5838 immediate operands that has turned PC-relative. Adjust back for
5839 MD_PCREL_FROM_SECTION being applied twice.
5840 (shmedia_md_convert_frag): Always emit reloc for expression with
5841 global or weak symbol. Handle relaxation result for PC-relative
5843 (shmedia_md_estimate_size_before_relax): An expression with a weak
5844 or global symbol can not be relaxed. Break out tests for
5845 relaxable symbol into variable sym_relaxable.
5846 <cases C (MOVI_IMM_64, UNDEF_MOVI) and C (MOVI_IMM_32,
5847 UNDEF_MOVI)>: Break out any PC-relative expression and change
5849 (shmedia_build_Mytes): CSE &operands->operands[j] into variable
5851 <case A_IMMS16>: Fix typo for initial minor relaxation type of
5852 MOVI expansion. If X_op_symbol of the immediate expression is
5853 set, make an expression symbol for the argument to frag_var.
5854 * config/tc-sh.c (MOVI_IMM_32_PCREL, MOVI_IMM_64_PCREL): New
5856 (END): Adjust for new relaxations.
5857 (md_relax_table): Add entries for new relaxations.
5858 2000-12-07 Ben Elliston <bje@redhat.com>
5859 * config/tc-sh64.c (shmedia_parse_reg): Initialize variable len.
5860 2000-12-07 Hans-Peter Nilsson <hpn@cygnus.com>
5861 * config/tc-sh64.c (shmedia_md_convert_frag): Correct all MOVI and
5862 SHORI operand offsets in PT/PTA/PTB expansions.
5863 2000-12-05 Hans-Peter Nilsson <hpn@cygnus.com>
5864 Implement DataLabel semantics.
5865 * config/tc-sh.c (sh_frob_file) [HAVE_SH64]: Call
5866 shmedia_frob_file_before_adjust.
5867 * config/tc-sh64.c [! OBJ_ELF]: Emit #error.
5868 (DATALABEL_SUFFIX): Define.
5869 (shmedia_md_end) <before adjusting STO_SH5_ISA32 symbols>: Walk
5870 symbol list to update "datalabel" symbols to their main symbol
5872 (shmedia_frob_file_before_adjust): New.
5873 (sh64_adjust_symtab): For remaining datalabel symbols, set to
5874 undefined and set STT_DATALABEL.
5875 (sh64_frob_label): Initialize TC symbol field.
5876 (sh64_consume_datalabel): Actually implement semantics. New
5877 parameter operandf, call it instead of expression.
5878 (sh64_exclude_symbol): New.
5879 * config/tc-sh64.h (md_parse_name): Pass on the function operand
5880 to sh64_consume_datalabel.
5881 (tc_symbol_new_hook): Define to tc_frob_symbol.
5882 (TC_SYMFIELD_TYPE): Define to symbolS *.
5883 (tc_frob_symbol): Define to call sh64_exclude_symbol.
5884 2000-12-01 Hans-Peter Nilsson <hpn@cygnus.com>
5885 * config/tc-sh64.c (shmedia_init_reloc): Tweak comment for default
5887 (shmedia_md_assemble): Call dwarf2_generate_asm_lineno if
5888 generating dwarf2 debug information.
5889 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com>
5890 * config/tc-sh64.c (sh64_target_format): Use elf64-sh64l and
5891 elf64-sh64 for the 64-bit ABI.
5892 * config/tc-sh.c (md_show_usage): Tweak usage output for -abi=*
5894 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com>
5895 * config/tc-sh.c: Remove conditionalizing on HAVE_SH64 for
5897 2000-11-27 Hans-Peter Nilsson <hpn@cygnus.com>
5898 * config/tc-sh64.c: Tweak comments, formatting and error messages.
5899 (enum sh64_abi_values): New type.
5900 (enum sh64_isa_values): New type.
5901 (sh64_isa_mode): Replace shmedia_mode. All referers changed.
5902 (seen_shcompact_mode, seen_shmedia_mode): Delete.
5903 (sh64_abi): Replace shmedia_64.
5904 (shmedia_md_convert_frag) <C (MOVI_IMM_64, MOVI_64),
5905 C (MOVI_IMM_32, MOVI_32)>: Correct register number handling.
5906 (s_sh64_mode): Check validity for this target.
5907 (sh64_target_format): Initialize defaults for ISA and ABI.
5908 Fallback to old object format if no SH64 ISA or ABI has been
5910 * config/tc-sh.c (md_parse_option): Check combinations for errors.
5911 (sh_elf_final_processing): Change to have EF_SH64_ABI64 for 64-bit
5912 ABI and EF_SH64 for 32-bit ABI, if SH64 options are specified.
5913 * config/tc-sh64.h: Fix typo in comment.
5914 2000-11-25 Hans-Peter Nilsson <hpn@cygnus.com>
5915 * config/tc-sh64.c (shmedia_md_estimate_size_before_relax)
5916 <PT fixups for absolute values>: Size will be longest, not
5918 (shmedia_md_convert_frag): Disable PTB-warning machinery. Correct
5919 all MOVI and SHORI operand offsets in PT/PTA/PTB expansions.
5920 * config/tc-sh.c (parse_reg) [HAVE_SH64]: Add local variables l0
5921 and l1 to hold lowercase of two first characters. Change all
5922 remaining TO_LOWER to tolower.
5923 * config/tc-sh64.c (TO_LOWER): Delete.
5924 (shmedia_find_cooked_opcode): Use tolower, not TO_LOWER.
5925 (md_parse_name): Define.
5926 (sh64_consume_datalabel): Declare.
5927 (DOLLAR_DOT): Define.
5928 * config/tc-sh64.c (shmedia_parse_exp): New.
5929 (sh64_consume_datalabel): New; just ignoring datalabel semantics.
5930 (shmedia_parse_reg): Remove const from src
5932 (shmedia_get_operands): Ditto for args parameter and ptr variable.
5933 (shmedia_md_assemble): Ditto for op_end variable.
5934 (shmedia_get_operand): Ditto for ptr parameter and src variable.
5935 Use shmedia_parse_exp, not parse_exp.
5936 * config/tc-sh64.c (shmedia_parse_reg): Add shmedia_arg_type
5937 parameter. All callers changed.
5938 (shmedia_get_operand): Add shmedia_arg_type parameter. All
5940 (shmedia_parse_reg): Put first two character in local variables.
5941 Use tolower, not TO_LOWER. If no register is found and argtype
5942 indicates a control register, scan shmedia_creg_table
5944 2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com>
5945 * Makefile.am (CPU_TYPES): Add sh64.
5946 (TARGET_CPU_CFILES): Add config/tc-sh64.c.
5947 (TARGET_CPU_HFILES): Add config/tc-sh64.h.
5948 Regenerate dependencies.
5949 * Makefile.in: Regenerate.
5950 * configure.in: Add support for sh64-*-elf*.
5951 * configure: Regenerate.
5952 * config/tc-sh64.h: New.
5953 * config/tc-sh64.c: New.
5954 * config/tc-sh.c (md_pseudo_table) [HAVE_SH64]: New pseudos
5955 .mode, .isa and .uaquad.
5956 [HAVE_SH64] (SH64PCREL16_32, SH64PCREL16_64, SH64PCREL16PT_32,
5957 SH64PCREL16PT_64, MOVI_IMM_32, MOVI_IMM_64): Define.
5958 [HAVE_SH64] (END): Define as 10.
5959 [HAVE_SH64] (UNDEF_SH64PCREL, SH64PCREL16, SH64PCREL32,
5960 SH64PCREL48, SH64PCREL64, UNDEF_MOVI, MOVI_16, MOVI_32, MOVI_48,
5962 [HAVE_SH64] (SH64PCREL16_F, SH64PCREL16_M, SH64PCREL16_LENGTH,
5963 SH64PCREL32_F, SH64PCREL32_M, SH64PCREL32_LENGTH, SH64PCREL48_F,
5964 SH64PCREL48_M, SH64PCREL48_LENGTH, SH64PCREL64_LENGTH,
5965 MOVI_16_LENGTH, MOVI_32_LENGTH, MOVI_48_LENGTH, MOVI_64_LENGTH):
5967 (md_relax_table) [HAVE_SH64]: Provide relaxations for SHmedia.
5968 (md_begin) [HAVE_SH64]: Call shmedia_md_begin.
5969 (parse_reg) [HAVE_SH64]: Parse register names case-insensitive.
5970 (md_assemble) [HAVE_SH64]: Call shmedia_md_assemble if assembling
5971 SHmedia instructions. Handle state-change after switching to
5973 (md_longopts) [HAVE_SH64]: New options --isa=* and --abi=*.
5974 (md_parse_option) [HAVE_SH64]: Parse new options.
5975 (md_show_usage) [HAVE_SH64]: Show usage of new options.
5976 (md_convert_frag) [HAVE_SH64] <default>: Call
5977 shmedia_md_convert_frag instead of abort.
5978 (sh_force_relocation) [HAVE_SH64]: Also force relocation for
5979 BFD_RELOC_SH_SHMEDIA_CODE.
5980 (sh_elf_final_processing) [HAVE_SH64]: Set flags identifying
5981 SHcompact or SHmedia code.
5982 (md_apply_fix) [HAVE_SH64] <default>: Return result from calling
5983 shmedia_md_apply_fix instead of abort.
5984 (md_estimate_size_before_relax) [HAVE_SH64] <default>: Return
5985 result from calling shmedia_md_estimate_size_before_relax instead
5987 (sh_do_align) [HAVE_SH64]: If shmedia_mode, let shmedia_do_align
5989 (tc_gen_reloc) [HAVE_SH64]: For unrecognized relocs, call
5990 shmedia_init_reloc and do nothing more if it returns non-zero.
5991 (sh_finalize) [HAVE_SH64]: Call shmedia_md_end.
5992 * po/POTFILES.in: Regenerate.
5993 * po/gas.pot: Regenerate.
5995 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
5997 * config/tc-sh.c (parse_at): Install the correct version of
6000 * config/tc-sh.c (md_apply_fix3) <BFD_RELOC_32_PLT_PCREL>: Don't
6001 assume fixP->fx_subsy is non-NULL.
6003 2002-02-04 Alexandre Oliva <aoliva@redhat.com>
6005 * config/tc-sh.c (parse_at): Set arg type of @(expr,pc) to
6006 A_DISP_PC_ABS, and adjust it by -4.
6007 (get_specific): Accept A_DISP_PC_ABS where A_DISP_PC is
6009 (build_Mytes): Mark PCRELIMM fix-ups as pc-relative only if
6010 the operand type is not A_DISP_PC_ABS.
6012 2002-02-04 Hans-Peter Nilsson <hp@bitrange.com>
6014 * config/tc-mmix.c (tc_gen_reloc): Don't try and take the value of
6015 common and weak symbols. Handle common and weak symbols as
6016 undefined symbols with regards to GREG handling and merging.
6017 (mmix_frob_file): Ditto.
6019 2002-02-02 Jason Thorpe <thorpej@wasabisystems.com>
6021 * configure.in (hppa-*-netbsd*): New target.
6022 * configure: Regenerate.
6023 * config/tc-hppa.h: Also define WARN_COMMENTS if TE_NetBSD.
6025 2002-02-02 Alan Modra <amodra@bigpond.net.au>
6027 * config/tc-v850.c: Add missing prototypes amd use old-style
6028 function definitions.
6029 (AREA_ZDA, AREA_SDA, AREA_TDA): Delete.
6030 (sdata_section tdata_section, zdata_section, sbss_section,
6031 tbss_section, zbss_section, rosdata_section, rozdata_section,
6032 scommon_section, tcommon_section, zcommon_section,
6033 call_table_data_section, call_table_text_section): Delete.
6034 (v850_sdata, v850_tdata, v850_zdata, v850_sbss, v850_tbss,
6035 v850_zbss, v850_bss, v850_rosdata, v850_rozdata,
6036 v850_call_table_data, v850_call_table_text): Delete.
6037 (struct v850_seg_entry): New.
6038 (v850_seg_table): New.
6039 (SDATA_SECTION TDATA_SECTION, ZDATA_SECTION, SBSS_SECTION,
6040 TBSS_SECTION, ZBSS_SECTION, BSS_SECTION, ROSDATA_SECTION,
6041 ROZDATA_SECTION, SCOMMON_SECTION, TCOMMON_SECTION, ZCOMMON_SECTION,
6042 CALL_TABLE_DATA_SECTION, CALL_TABLE_TEXT_SECTION): Define.
6045 (v850_comm): Use do_v850_seg and v850_seg_table. Simplify
6046 recording of alignment.
6047 (md_pseudo_table): Use v850_seg.
6048 (md_begin): Don't init .call_table_data and .call_table_text here.
6049 Set v850_seg_table bss entry.
6051 2002-02-01 Hans-Peter Nilsson <hp@bitrange.com>
6053 Support on-demand global register allocation by passing on
6054 base-plus-offset relocs to the linker.
6055 * config/tc-mmix.c: Tweak and fix typos in comments.
6056 (allocate_undefined_gregs_in_linker): New variable.
6057 (OPTION_LINKER_ALLOCATED_GREGS): New option macro.
6058 (md_longopts): Add --linker-allocated-gregs.
6059 (md_parse_option) <case 'x'>: Imply --linker-allocated-gregs.
6060 <case OPTION_LINKER_ALLOCATED_GREGS>: New.
6061 (md_show_usage): Update text for -x. Add text for
6062 --linker-allocated-gregs.
6063 (tc_gen_reloc): Derive default value for addend from val and
6064 baddsy. Use addsec and bfd_is_abs_section in more places. Don't
6065 emit error for BFD_RELOC_MMIX_BASE_PLUS_OFFSET without suitable
6066 GREG if allocate_undefined_gregs_in_linker.
6067 * doc/as.texinfo (Overview) <Target MMIX options>: Add
6068 --linker-allocated-gregs.
6069 * doc/c-mmix.texi (MMIX-Opts): Add blurb about
6070 --linker-allocated-gregs. Mention that it's implied by -x.
6071 (MMIX-Pseudos) <GREG>: Mention when and how a GREG can be omitted.
6072 (MMIX-mmixal): Clarify dated comparison and location of MMIXware.
6074 * config/tc-mmix.h (md_parse_name): Use ISUPPER, not isupper.
6076 2002-02-01 Alan Modra <amodra@bigpond.net.au>
6078 * Makefile.am: Run "make dep-am"
6079 * Makefile.in: Regenerate.
6081 2002-01-31 Ivan Guzvinec <ivang@opencores.org>
6083 * config/tc-or32.c: New file.
6084 * config/tc-or32.h: New file.
6085 * configure.in: Add support for or32 targets.
6086 * configure: Regenerate.
6087 * config/obj-coff.c: Add support for or32 targets.
6088 * config/obj-coff.h: Add support for or32 targets.
6089 * Makefile.am: Add support for or32 targets.
6090 * Makefile.in: Regenerate.
6091 * NEWS: Mention support for OpenRISC.
6092 * doc/Makefile.in: Regenerate.
6093 * po/POTFILES.in: Regenerate.
6094 * po/gas.pot: Regenerate.
6096 2002-01-30 Richard Sandiford <rsandifo@redhat.com>
6098 * config/tc-sh.c (parse_reg): Fix end-of-word check for is, ix, iy
6101 2002-01-29 Chris Demetriou <cgd@broadcom.com>
6103 * config/tc-mips.c (tc_gen_reloc): Arrange for
6104 BFD_RELOC_PCREL_HI16_S relocations to be output relative to
6105 their LO16 parts, even for ELF.
6107 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
6109 * config/tc-i386.c: Protect definitions of true and false
6112 2002-01-28 Jakub Jelinek <jakub@redhat.com>
6114 * config/obj-elf.c (elf_frob_file_before_adjust): Remove symbols
6115 made because of .weak, if they are neither defined nor used in any
6118 2002-01-27 Daniel Jacobowitz <drow@mvista.com>
6120 * configure: Regenerated.
6122 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
6124 * doc/Makefile.am (install): Depend on install-info.
6125 * doc/Makefile.in: Regenerate.
6127 2002-01-26 Nick Clifton <nick@redhat.com>
6129 * po/fr.po: Updated version
6131 2002-01-24 Kazu Hirata <kazu@hxi.com>
6133 * config/tc-h8300.c (check_operand): Don't print a warning
6134 when a valid 24-bit address is given to a 16-bit address
6137 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
6139 * config/tc-sh.c (sh_elf_suffix): Removed.
6140 (sh_PIC_related_p, sh_check_fixup, sh_cons_fix_new,
6141 sh_end_of_match, sh_parse_name): New functions.
6142 (sh_elf_cons): Simplify.
6143 (parse_exp): Reject misplaced PIC operands.
6144 (md_undefined_symbol): Simplify.
6145 (sh_fix_adjustable): Let @GOTOFF be adjusted.
6146 (md_apply_fix3): Write @PLT and @GOTOFF addends in place.
6147 (tc_gen_reloc): Move fixp subsy absolute value into addnumber.
6148 Complain if subsy remains at the end.
6149 * config/tc-sh.h (sh_parse_name, sh_cons_fix_new): Declare.
6150 (md_parse_name, TC_CONS_FIX_NEW, O_PIC_reloc): Define.
6152 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
6154 * config/tc-mn10300.c (xr_registers): Move `pc'...
6155 (other_registers): ... here.
6157 2002-01-22 Alan Modra <amodra@bigpond.net.au>
6159 * Makefile.am: Run "make dep-am".
6160 * Makefile.in: Regenerate.
6161 * gas/po/POTFILES.in: Regenerate.
6163 2002-01-21 DJ Delorie <dj@redhat.com>
6165 * config/obj-coff.c (obj_coff_init_stab_section): Make the
6166 stabstr_name allocation permanent, as it will be referenced from
6169 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
6171 * configure.in (ia64-*-netbsd*): New target.
6172 * configure: Regenerate.
6174 2002-01-21 Hans-Peter Nilsson <hp@bitrange.com>
6176 * doc/as.texinfo (Overview) <Target ARM options>: Add missing {}
6178 <Detailed description, ARM options>: Ditto.
6179 * doc/c-arm.texi (ARM Options): Ditto.
6181 2002-01-18 Richard Earnshaw <rearnsha@arm.com>
6183 * tc-arm.c (do_xsc_mia, do_xsc_mar, do_xsc_mra): Renamed from
6184 do_mia, do_mar and do_mra respectively.
6185 (do_mav_*): Renamed from do_c_*.
6186 (mav_reg_required_here, mav_parse_offset): Renamed from
6187 cirrus_reg_required_here and cirrus_parse_offset respectively.
6188 (MAV_MODE?): Renamed from CIRRUS_MODE?.
6190 2002-01-18 Richard Earnshaw <rearnsha@arm.com>
6191 Keith Walker <keith.walker@arm.com>
6193 * tc-arm.c (ARM_EXT_V5J, ARM_ARCH_V5TEJ): Define.
6194 (insns): Add pattern for bxj instruction.
6195 (do_bxj): New function.
6196 (arm_cpus): Add arm926ej.
6197 (arm_archs): Add armv5tej.
6199 2002-01-18 Richard Earnshaw <rearnsha@arm.com>
6201 * doc/c-arm.texi: Add new fpe options to list of supported flags.
6203 2002-01-19 Keith Walker <keith.walker@arm.com>
6205 * tc-arm.c (arm_fpus): Add fpe2 and fpe3.
6207 2002-01-18 Richard Earnshaw <rearnsha@arm.com>
6209 * NEWS: Mention new ARM command-line options and VFP support.
6211 * config/tc-arm.c (ARM_CEXT_XSCALE): Replaces ARM_EXT_XSCALE. All
6213 (ARM_CEXT_MAVERICK): Similarly.
6214 (ARM_ANY): Now means any core instruction.
6215 (CPU_DEFAULT): Default to ARM_ANY.
6216 (uses_apcs_26, atcps, support_interwork, uses_apcs_float)
6217 (pic_code): Declare for all object types. Make type int.
6218 (legacy_cpu, legacy_fpu, mcpu_cpu_opt, mcpu_fpu_opt, march_cpu_opt)
6219 (march_fpu_opt, mfpu_opt): Declare.
6220 (md_longopts): Tidy up conditional definitions.
6221 (arm_opts, arm_cpus, arm_archs, arm_fpus, arm_extensions)
6222 (arm_long_opts): New tables.
6223 (arm_parse_cpu, arm_parse_arch, arm_parse_fpu): New functions.
6224 (arm_parse_extension): New function.
6225 (md_parse_option): Rewrite using new table-driven system.
6226 (md_show_usage): Use new table-driven system.
6227 (md_begin): Calculate cpu_variant from command line option data.
6228 * doc/as.texinfo (ARM ISA options): Docuement new ARM-specific
6229 command-line options.
6230 * doc/c-arm.texi: Likewise.
6232 2002-01-18 Andreas Jaeger <aj@suse.de>
6234 * as.c (parse_args): Update year.
6236 2002-01-17 Timothy Wall <twall@alum.mit.edu>
6238 * config/tc-tic54x.c (encode_address): Add a more informative
6239 warning about incorrect syntax.
6241 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
6243 * po/gas.pot: Regenerate.
6245 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
6247 * macro.c (get_any_string): Add no-c-format comment to prevent
6248 confusion when translating string.
6249 * gasp.c (get_any_string): Add no-c-format comment to prevent
6250 confusion when translating string.
6252 2002-01-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
6253 Johannes Stezenbach <js@convergence.de>
6254 * config/tc-mips.c (percent_op): Ensure longer percent_op's are
6255 matched before the shorter ones.
6256 (my_getSmallParser): Fix handling of nested parentheses in
6257 percent_op's. Code cleanup.
6258 (my_getPercentOp): New function, code from my_getSmallParser.
6259 (my_getSmallExpression): Fix handling of closing parentheses.
6260 Code cleanup. Better comments.
6262 2002-01-16 Nick Clifton <nickc@redhat.com>
6264 po/tr.po: New file: Turkish translation.
6265 configure.in (LINGUAS): Add "tr".
6266 configure: Regenerate.
6268 2002-01-15 Richard Earnshaw <rearnsha@arm.com>
6270 Support for VFP instructions
6271 * tc-arm.c (CP_WB_OK, CP_NO_WB): New defines.
6272 (cp_address_required_here): New argument wb_ok. When false, do not
6273 accept write-back forms of addressing. Change all callers.
6274 (FPU_VFP_EXT_NONE, FPU_VFP_EXT_V1xD, FPU_VFP_VFP_V1)
6275 (FPU_VFP_EXT_V2): Define.
6276 (FPU_ARCH_VFP, FPU_ARCH_VFP_V1xD, FPU_ARCH_VFP_V1, FPU_ARCH_VFP_V2):
6277 Define in terms of above.
6278 (vfp_dp_reg_pos, vfp_sp_reg_pos, vfp_ldstm_type): New enums.
6279 (vfp_reg): New struct.
6280 (vfp_regs): New array of registers.
6281 (insns): Add VFP instructions.
6282 (sn_table): New array of VFP single-precision register names.
6283 (dn_table): New array of VFP double-precision register names.
6284 (all_reg_maps): Add the new register tables.
6285 (arm_reg_type): Add new values for above. Increase RET_TYPE_MAX.
6286 (vfp_sp_reg_required_here, vfp_dp_reg_required_here, do_vfp_sp_monadic)
6287 (do_vfp_dp_monadic, do_vfp_sp_dyadic, do_vfp_dp_dyadic)
6288 (do_vfp_reg_from_sp, do_vfp_sp_reg2, do_vfp_sp_from_reg)
6289 (do_vfp_reg_from_dp, do_vfp_reg2_from_dp, do_vfp_dp_from_reg)
6290 (do_vfp_dp_from_reg2, vfp_psr_parse, vfp_psr_required_here)
6291 (do_vfp_reg_from_ctrl, do_vfp_ctrl_from_reg, do_vfp_sp_ldst)
6292 (do_vfp_dp_ldst, vfp_sp_reg_list, vfp_dp_reg_list, vfp_sp_ldstm)
6293 (vfp_dp_ldstm, do_vfp_sp_ldstmia, do_vfp_sp_ldstmdb, do_vfp_ldstmia)
6294 (do_vfp_dp_ldstmdb, do_vfp_xp_ldstmia, do_vfp_xp_ldstmdb)
6295 (do_vfp_sp_compare_z, do_vfp_dp_compare_z, do_vfp_dp_sp_cvt)
6296 (do_vfp_sp_dp_cvt): New functions.
6297 (md_begin): Set soft-float flag for appropriate VFP work.
6298 (md_atof): Handle VFP-format doubles.
6299 (md_parse_option): Handle VFP command-line options.
6300 (md_show_usage): Display VFP command-line options.
6302 2002-01-15 Richard Earnshaw <rearnsha@arm.com>
6304 * tc-arm.c (md_parse_option): Tidy up setting of cpu_variant for
6305 various command line options.
6307 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
6309 * config/tc-xstormy16.c: (xstormy16_fix_adjustable): Do not fix
6311 (xstormy16_md_apply_fix3): Do not return a value.
6313 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
6315 * tc-arm.c (md_longopts): On targets that aren't bi-endian, support
6316 the -EL/-EB option that matches the target's endianness.
6317 (md_parse_option): Likewise.
6319 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
6321 * tc-arm.c (md_longopts): Fix misplaced #endif -- the -oabi option
6322 is not dependent on ARM_BI_ENDIAN.
6324 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
6326 * tc-arm.c (all error messages): Normalize capitalization of messages.
6328 * tc-arm.h (md_operand): Delete define.
6329 * tc-arm.c (in_my_get_expression): New static variable.
6330 (my_get_expression): Set and clear it.
6331 (md_operand): New function. If called from my_get_expression
6332 put the error in inst.error.
6333 (output_inst): Now takes argument of instruction being assembled.
6334 Print it out with any error message.
6335 (do_ldst, do_ldstv4, thumb_load_store): Fault attempt to use a store
6337 (end_of_line): Don't update inst.error if it is already set.
6339 2002-01-11 Richard Earnshaw <rearnsha@arm.com>
6341 * tc-arm.c (do_ldst): Fix handling an immediate expression pseudo
6342 op that can be translated into a mvn instruction.
6344 2002-01-11 Steve Ellcey <sje@cup.hp.com>
6346 * gas/config/tc-ia64.h (MD_FLAGS_DEFAULT): New Macro for
6347 setting default md.flags.
6348 (SHT_INIT_ARRAY): New elf special section used by HP-UX.
6349 (SHT_FINI_ARRAY): New elf special section used by HP-UX.
6350 * gas/config/tc-ia64.c (setup_unwind_header): Add support
6351 for 32 bit unwind info blocks.
6352 (generate_unwind_image): Add support for different types
6353 of unwind images (32 bits and/or big-endian).
6354 (ia64_init): Use MD_FLAGS_DEFAULT to set md.flags.
6355 (ia64_target_format): Add support for hpux target formats.
6356 (ia64_gen_real_reloc_type): Add support for FUNC_IPLT_RELOC.
6357 (ia64_elf_section_type): Add support for SHT_INIT_ARRAY and
6358 SHT_FINI_ARRAY elf section types.
6360 2002-01-10 Richard Earnshaw <rearnsha@arm.com>
6362 * tc-arm.c (struct reg_entry): Move before prototypes.
6363 (int_register, cp_register, fp_register): Delete.
6364 (reg_table): Delete. Replaced with ...
6365 (rn_table, cp_table, cn_table, fn_table, mav_mvf_table)
6366 (mav_mvd_table, mav_mvfx_table, mav_mvdx_table, mav_mvax_table)
6367 (mav_dspsc_table): ... one table per register set.
6368 (arm_reg_hsh): Delete.
6369 (struct reg_map): New structure.
6370 (all_reg_maps): New array.
6371 (enum arm_reg_type): New enums.
6372 (build_reg_hsh): New function.
6373 (insert_reg_alias): Use hash table passed by caller. Adjust all
6375 (create_register_alias): New function, split out from ...
6376 (md_assemble): ... here.
6377 (md_begin): Build new register hash tables.
6378 (arm_reg_parse): New argument for the hash table to search. Adjust all
6380 (arm_reg_parse_any): New function.
6381 (co_proc_number): Look up the processor number in the processor hash
6383 (cirrus_regtype): Delete.
6384 (cirrus_register, cirrus_mvf_register, cirrus_mvd_register)
6385 (cirrus_mvfx_register, cirrus_mvdx_register, cirrus_mvax_register)
6386 (ARM_EXT_MAVERICKsc_register): Delete.
6387 (do_c_binops_1, do_c_binops_2, do_c_binops_3): Delete.
6388 (do_c_binops_1[a-o], do_c_binops_2[a-c], do_c_binops_3[a-d]): New
6390 (do_c_triple_4, do_c_triple_5): Delete.
6391 (do_c_triple_4[ab], do_c_triple_5[a-h]): New functions.
6392 (do_c_quad_6): Delete.
6393 (do_c_quad_6[ab]): New functions.
6394 (do_c_binops, do_c_triple, do_c_quad, do_c_shift, do_c_ldst): Rework
6395 arguments to use new register parsing methods.
6396 (cirrus_reg_required_here): Likewise.
6397 (insns): Reclassify cirrus maverick worker functions.
6398 (cirrus_valid_reg): Delete.
6400 2002-01-07 Jason Thorpe <thorpej@wasabisystems.com>
6402 * configure.in (sh*le): Set cpu_type=sh and endian=little.
6403 (sh*-*-netbsdelf*): New target.
6404 * configure: Regenerate.
6405 * tc-sh.h: Update copyright years.
6406 (TARGET_FORMAT): Add version for TE_NetBSD.
6408 2002-01-07 Nick Clifton <nickc@cambridge.redhat.com>
6410 * read.c (emit_expr): Do not allow 'size' or 'nbytes' to go
6413 2002-01-06 Alan Modra <amodra@bigpond.net.au>
6415 * config/tc-m68k.h (md_prepare_relax_scan): Rewrite.
6416 * config/tc-m68k.c (md_relax_table): Add md_prepare_relax_scan comment.
6418 2002-01-05 Daniel Jacobowitz <drow@mvista.com>
6420 * tc-mips.c (mips_cprestore_valid): New flag.
6421 (mips_frame_reg_valid): New flag.
6422 (macro) [M_JAL_2]: Check both flags.
6423 [M_JAL_A]: Likewise.
6424 (s_cprestore): Set mips_cprestore_valid.
6425 (tc_get_register): If setting mips_frame_reg, set
6426 mips_frame_reg_valid and clear mips_cprestore_valid.
6427 (s_mips_ent): Clear both flags.
6428 (s_mips_end): Clear both flags.
6430 2002-01-05 Alan Modra <amodra@bigpond.net.au>
6432 * write.c (write_object_file): Make use of bfd_section_list_remove.
6433 * config/obj-ecoff.c (ecoff_frob_file): Likewise.
6434 * config/tc-mmix.c (mmix_frob_file): Likewise.
6436 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
6438 * configure.in (i386-*-netbsdelf*): Collapse target into...
6439 (i386-*-netbsd*): ...this. Add support for x86-64.
6440 * configure: Regenerated.
6442 2002-01-03 matthew green <mrg@redhat.com>
6444 * config/tc-ppc.c (md_parse_option): BookE is not Motorola specific.
6446 2002-01-02 Nick Clifton <nickc@cambridge.redhat.com>
6448 * config/tc-m68k.c (md_estimate_size_before_relax): Test for a
6451 For older changes see ChangeLog-0001
6457 version-control: never