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