merge from gcc
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
77c6dd37
NC
12003-02-21 Miles Bader <miles@gnu.org>
2
3 * config/tc-v850.c (system_registers): Add v850e debug registers.
4 (system_register_name): Accept up to 27 (the last v850e sys register).
5
c1253627
NC
62003-02-21 Bob Wilson <bob.wilson@acm.org>
7
8 * doc/as.texinfo: Define new COFF-ELF variable to conditionalize text
9 relevant to both COFF and ELF. Fix obvious typos and texinfo bugs.
10 Capitalize section headings consistently. Format index entries more
11 consistently. Unconditionalize text about whether text and data
12 sections are alterable. Use @ifnottex for alternatives to @tex output
13 so that HTML works. Clean up COFF vs. ELF descriptions of .section,
14 .size and .type directives. Be more polite about bad bug reports.
15 Move FDL into a separate file.
16 * doc/fdl.texi: New file.
17
64bdfcaf
RS
182003-02-21 Richard Sandiford <rsandifo@redhat.com>
19
20 * config/tc-mips.c (prev_reloc_op_frag): New variable.
21 (macro): Check it to decide whether a new frag is needed.
22 (my_getSmallExpression): Set it.
23
2ab1486e
NC
242003-02-20 jmc <jmc@prioris.mini.pw.edu.pl>
25
26 * cgen.c: Fix typo: intial -> initial.
27
b1ac4c66
AM
282003-02-19 Jie Zhang <zhangjie@magima.com.cn>
29
30 * app.c (do_scrub_chars): Handle '||' in two states.
31
426318c5
AM
322003-02-13 Alan Modra <amodra@bigpond.net.au>
33
34 * write.c (TC_FORCE_RELOCATION_SUB_SAME): Revert last change.
35 * config/tc-s390.h (TC_FORCE_RELOCATION_SUB_SAME): Define.
36
42b5d0ea
NC
372003-02-11 Uwe Stieber <uwe@wwws.de>
38
39 * configure.in: Add support for kaOS as cross build target system.
40 * configure: Regenerated.
41
fde78edd
NC
422003-02-10 Nick Clifton <nickc@redhat.com>
43
44 * config/tc-arm.c (md_begin): If the Maverick co-processor is
45 selected, set the EF_ARM_MAVERICK_FLOAT flag and
46 bfd_mach_arm_ep9312 machine number.
47
5919d012
RS
482003-02-08 Richard Sandiford <rsandifo@redhat.com>
49
50 * config/tc-mips.c (reloc_needs_lo_p): New function.
51 (fixup_has_matching_lo_p): New function.
52 (append_insn): Use reloc_needs_lo_p to check whether a relocation
53 might need a matching %lo(). Reuse the head of mips_hi_fixup_list
54 if that fixup already has a matching %lo(). Don't call frag_wane here.
55 (macro): Call frag_wane here if the last unmatched hi was in the
56 current frag.
57 (pic_need_relax): New function, split out from...
58 (md_estimate_size_before_relax): ...here.
59 (mips_frob_file): Use reloc_needs_lo_p. Use pic_need_relax to test
60 whether BFD_RELOC_MIPS_GOT16 fixups refer to global symbols.
61
09b8f35a
RS
622003-02-07 Richard Sandiford <rsandifo@redhat.com>
63
64 * config/tc-mips.c (my_getSmallExpression): Rework bracket handling.
65
5f6db75a
AM
662003-02-06 Alan Modra <amodra@bigpond.net.au>
67
68 * config/tc-ppc.c (ppc_elf_suffix): Undo part of last change so that
69 x@toc+off works.
70
cdba85ec
AM
712003-02-05 Alan Modra <amodra@bigpond.net.au>
72
73 * config/tc-ppc.c (mapping): Handle new TLS reloc specs.
74 (ppc_elf_suffix): Don't warn for x+off@got when ppc64 and don't
75 accept x@got+off etc.
76 (md_assemble): Handle TLS relocs.
77 (ppc_force_relocation): Force for all TLS relocs.
78 (ppc_fix_adjustable): Likewise.
79 (md_apply_fix3): Handle TLS relocs.
80
68bfbfcc
AM
812003-02-04 Alan Modra <amodra@bigpond.net.au>
82
83 * config/obj-elf.c (obj_elf_change_section): Set SEC_LINK_ONCE and
84 SEC_LINK_DUPLICATES_DISCARD directly rather than using elf_linkonce_p.
85
5e0116d5
RS
862003-02-02 Richard Sandiford <rsandifo@redhat.com>
87
88 * config/tc-mips.c (enum small_ex_type): Remove.
89 (imm_unmatched_hi): Remove.
90 (md_assemble): Remove use of imm_unmatched_hi. Remove the last
91 argument from calls to append_insn.
92 (append_insn): Remove unmatched_hi parameter; check reloc_type[0]
93 instead.
94 (macro_build): Update append_insn calls.
95 (mips16_macro_build, macro_build_lui): Likewise.
96 (mips_ip): Rework handling of small expressions. Move explicit
97 relocation handling into my_getSmallExpression. Assume that the
98 value of 'o' operands is zero if there is only one bracketed
99 expression left.
100 (percent_op): Make constant. Record the BFD relocation code
101 associated with each operator.
102 (my_getSmallParser, my_getPercentOp): Remove.
103 (parse_relocation): New function.
104 (my_getSamllExpression): Rework. Fill in relocations here
105 rather than in mips_ip.
106
0d9f6d04
NC
1072003-01-29 Nick Clifton <nickc@redhat.com>
108
109 * config/tc-i386.c (line_comment_chars): Add '#'. This makes the
110 assembler's handling of # <linenum> "<filename>" directives work.
111
a7ed1ca2
NC
1122003-01-28 Jakub Jelinek <jakub@redhat.com>
113
114 * dwarf2dbg.c: Include filenames.h.
115 (struct file_entry): Make filename const char *.
116 (dirs, dirs_in_use, dirs_allocated): New variables.
117 (get_filenum): Add NUM argument. Build directory table.
118 (dwarf2_where): Adjust caller.
119 (dwarf2_directive_file): Use get_filenum to allocate
120 slot in file and directory tables.
121 (dwarf2_directive_loc): Recreate full filename from
122 directory and filename part if needed for listing.
123 (out_file_list): Output directory table.
124 Output main source file dirname before its filename.
125
df25fda5
NC
1262003-01-28 Dmitry Diky <diwil@mail.ru>
127
128 * config/tc-msp430.c: Replace occurences of 'tolower' with
129 'TOLOWER'.
130
69906a9b
JW
1312003-01-27 David Mosberger <davidm@hpl.hp.com>
132
133 * config/tc-ia64.c (dot_vframesp): Correct error message.
134 (dot_vframepsp): Ditto.
135
1de5b6a1
AO
1362003-01-27 Alexandre Oliva <aoliva@redhat.com>
137
138 * configure.in (em): Set to irix on all Irix systems.
139 * configure: Rebuilt.
140 * config/te-irix.h: New file.
141 * config/tc-mips.c (mips_dwarf2_format): Use TE_IRIX to decide
142 whether to use Irix-specific 64-bit format.
143
5cfbfc2b
MS
1442003-01-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
145
146 * config/tc-s390.c (s390_elf_cons): Avoid designated initializers.
147
b9734f35
JJ
1482003-01-25 Jakub Jelinek <jakub@redhat.com>
149
150 * config/tc-sparc.c (sparc_ip): Handle TLS % operators.
151 (tc_gen_reloc): Handle TLS relocs.
152 (sparc_cons, cons_fix_new_sparc): Handle %r_tls_dtpoff.
153 * config/tc-sparc.h (tc_fix_adjustable): Don't adjust TLS
154 relocs.
155 * config/obj-elf.c (obj_elf_section_word): Handle tls.
156 (obj_elf_type): Handle tls_object.
157
1971b29d
MS
1582003-01-24 Martin Schwidefsky <schwidefsky@de.ibm.com>
159
160 * config/tc-s390.c (s390_tls_suffix): New function.
161 (elf_suffix_type): Add suffix enums for TLS relocations.
162 (s390_elf_suffix): Add suffix strings for TLS relocations.
163 (s390_elf_cons): Map new lenght/elf suffix combinations for TLS to
164 bfd relocations.
165 (md_gather_operands): Map new instruction operand/elf suffix
166 combinations for TLS to bfd relocations.
167 (tc_s390_fix_adjustable): Add new TLS relocations.
168 (tc_s390_force_relocation): Likewise.
169 (md_apply_fix3): Likewise.
170
d4c7c971
AM
1712003-01-24 Alan Modra <amodra@bigpond.net.au>
172
1d3b2b27
AM
173 * as.h: Update copyright date.
174 * symbols.c: Likewise.
175 * config/tc-d10v.h: Likewise.
176 * config/tc-fr30.h: Likewise.
177 * config/tc-i960.h: Likewise.
178 * config/tc-mips.h: Likewise.
179
d4c7c971
AM
180 * config/tc-hppa.h (DIFF_EXPR_OK): Define.
181 (MD_APPLY_SYM_VALUE): Move.
182
5177500f
NC
1832003-01-23 Nick Clifton <nickc@redhat.com>
184
185 NEWS: Announce sh2e support.
186
187 * Add sh2e support:
188
189 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
190
191 * config/tc-sh.c (md_show_usage): Added sh2e next to
192 sh3e.
193 (sh_elf_final_processing): Handle arch_sh2e.
194
ae6063d4
AM
1952003-01-23 Alan Modra <amodra@bigpond.net.au>
196
197 * symbols.c (S_FORCE_RELOC): Add "strict" param.
198 * symbols.h (S_FORCE_RELOC): Likewise.
199 * config/obj-aout.h (S_FORCE_RELOC): Likewise.
200 * config/obj-bout.h (S_FORCE_RELOC): Likewise.
201 * config/obj-coff.h (S_FORCE_RELOC): Likewise.
202 * config/obj-ieee.h (S_FORCE_RELOC): Likewise.
203 * config/obj-vms.h (S_FORCE_RELOC): Likewise.
204 * write.c (generic_force_reloc): New function.
205 (TC_FORCE_RELOCATION): Use it here instead of S_FORCE_RELOC.
206 (TC_FORCE_RELOCATION_SUB_SAME): Test TC_FORCE_RELOCATION too.
207 (adjust_reloc_syms): Adjust S_FORCE_RELOC call.
208 * as.h (generic_force_reloc): Declare.
209 * doc/internals.texi (S_FORCE_RELOC): Update.
210 (TC_FORCE_RELOCATION_SUB_SAME): Update.
211
212 * config/tc-alpha.c (alpha_force_relocation): Adjust to use
213 generic_force_reloc.
214 (alpha_fix_adjustable): Likewise.
215 * config/tc-arm.c (arm_force_relocation): Likewise.
216 * config/tc-cris.c (md_cris_force_relocation): Likewise.
217 * config/tc-frv.c (frv_force_relocation): Likewise.
218 * config/tc-i386.c (md_apply_fix3): Likewise.
219 * config/tc-ia64.c (ia64_force_relocation): Likewise.
220 * config/tc-ip2k.c (ip2k_force_relocation): Likewise.
221 * config/tc-m32r.c (m32r_force_relocation): Likewise.
222 * config/tc-m68hc11.c (tc_m68hc11_force_relocation): Likewise.
223 * config/tc-mcore.c (mcore_force_relocation): Likewise.
224 * config/tc-mips.c (mips_force_relocation): Likewise.
225 * config/tc-mmix.c (mmix_force_relocation): Likewise.
226 * config/tc-ppc.c (ppc_force_relocation): Likewise.
227 * config/tc-s390.c (tc_s390_force_relocation): Likewise.
228 * config/tc-sh.c (sh_force_relocation): Likewise.
229 (md_pcrel_from_section): Likewise.
230 * config/tc-sparc.c (tc_gen_reloc): Likewise.
231 * config/tc-v850.c (v850_force_relocation): Likewise.
232 * config/tc-xstormy16.c (xstormy16_force_relocation): Likewise.
233 * config/tc-i386.h (TC_FORCE_RELOCATION): Likewise.
234 * config/tc-mcore.h (TC_FORCE_RELOCATION): Likewise.
235 * config/tc-sparc.h (tc_fix_adjustable): Likewise.
236
237 * config/tc-d10v.c (d10v_force_relocation): Delete.
238 * config/tc-d10v.h (TC_FORCE_RELOCATION): Don't define.
239 * config/tc-dlx.c (md_dlx_force_relocation): Delete.
240 * config/tc-dlx.h (TC_FORCE_RELOCATION): Don't define.
241 * config/tc-fr30.c (fr30_force_relocation): Delete.
242 * config/tc-fr30.h (TC_FORCE_RELOCATION): Don't define.
243 * config/tc-mn10300.c (mn10300_force_relocation): Delete.
244 * config/tc-mn10300.h (TC_FORCE_RELOCATION): Don't define.
245 (TC_FORCE_RELOCATION_SUB_SAME): Test TC_FORCE_RELOCATION too.
246 * config/tc-i960.h (TC_FORCE_RELOCATION_SUB_SAME): Likewise.
247 * config/tc-hppa.c (hppa_force_relocation): Adjust S_FORCE_RELOC call.
248 * config/tc-mips.c (RELAX_BRANCH_TOOFAR): Warning fix.
249 * config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Don't define.
250 * config/tc-openrisc.c (openrisc_force_relocation): Delete.
251 * config/tc-openrisc.h (TC_FORCE_RELOCATION): Don't define.
252 * config/tc-sparc.c (elf32_sparc_force_relocation): Delete.
253 * config/tc-sparc.h (TC_FORCE_RELOCATION): Don't define for ELF.
254 * config/tc-i386.c (i386_force_relocation): Delete.
255 * config/tc-i386.h (TC_FORCE_RELOCATION): Don't define for
256 BFD_ASSEMBLER.
257 (EXTERN_FORCE_RELOC): Fix TE_PE and STRICT_PE_FORMAT nesting.
258 * config/tc-m68k.h (TC_FORCE_RELOCATION): Don't define.
259 * config/tc-pj.h (TC_FORCE_RELOCATION): Don't define.
260 * config/tc-sh.h (TC_FORCE_RELOCATION_SUB_ABS): Don't call
261 S_FORCE_RELOC.
262 (TC_FORCE_RELOCATION_SUB_SAME): Test TC_FORCE_RELOCATION too.
263 * config/tc-sh64.h (TC_FORCE_RELOCATION_SUB_SAME): Likewise.
264
f0abc2a1
AM
2652003-01-23 Alan Modra <amodra@bigpond.net.au>
266
267 * config/tc-sh64.c (shmedia_frob_section_type): Adjust for changed
268 sh64_elf_section_data.
269 * config/tc-sh64.h: Include elf32-sh64.h.
270 * config/tc-m68hc11.c: Don't include stdio.h.
271 (md_show_usage): Fix missing continuation.
272 * Makefile.am: Run "make dep-am".
273 * Makefile.in: Regenerate.
274
177a493c
NC
2752003-01-22 Nick Clifton <nickc@redhat.com>
276
277 * as.h: Include fopen-bin.h not fopen-same.h for mingw32 hosts.
278
da896d3f
NC
2792003-01-21 Fabio Alemagna <falemagn@aros.org>
280
281 * configure.in: Handle *-*-aros*.
282 * configure: Regenerated from configure.in.
283
2a19f73f
MS
2842003-01-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
285
286 * config/tc-s390.c (elf_suffix_type): Add suffix enums for gotoff,
287 gotplt and pltoff relocations.
288 (s390_elf_suffix): Add suffix strings for gotoff, gotplt and pltoff.
289 (s390_elf_cons): Map new lenght/elf suffix combinations for gotoff,
290 gotplt and pltoff to bfd relocations.
291 (md_gather_operands): Map new instruction operand/elf suffix
292 combinations to bfd relocations.
293 (tc_s390_fix_adjustable): Add new gotoff, gotplt and pltoff relocations
294 to the list of unadjustable relocations.
295 (tc_s390_force_relocation): Always emit relocations for gotoff, gotplt
296 and pltoff relocations.
297 (md_apply_fix3): Add the new relocations.
298
f1fc51da
MS
2992003-01-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
300
301 * config/tc-s390.c (md_apply_fix3): Emit error message for relocations
302 with a subsy symbol.
303
2d94a61a
SC
3042003-01-17 Stephane Carrez <stcarrez@nerim.fr>
305
306 * config/tc-m68hc11.c (tc_m68hc11_fix_adjustable): Prevent adjustment
307 of relocs for memory bank addressing.
308
d01030e6
SC
3092003-01-17 Stephane Carrez <stcarrez@nerim.fr>
310
311 * config/tc-m68hc11.c (md_show_usage): Update usage.
312 (md_parse_option): Recognize -m68hcs12.
313 (m68hc11_elf_final_processing): Set EF_M68HCS12_MACH flag to identify
314 HCS12.
315 * doc/as.texinfo (Overview): Document new option -m68hcs12.
316
b3dfd7fe
JJ
3172003-01-16 Jakub Jelinek <jakub@redhat.com>
318
319 * config/tc-ia64.c (ia64_cons_fix_new): Handle @dtprel() in data.
320
f62ba8f2
AM
3212003-01-16 Alan Modra <amodra@bigpond.net.au>
322
323 * Makefile.am: Run "make dep-am".
324 * Makefile.in: Regenerate.
325 * po/POTFILES.in: Regenerate.
326
a0ea3e1d
AM
3272003-01-11 Alan Modra <amodra@bigpond.net.au>
328
329 * read.c (get_absolute_expr): New, split out from..
330 (get_absolute_expression): ..here.
331 * read.h (get_absolute_expr): Declare.
332 * config/obj-elf.c (elf_common): Use offsetT for "temp" and "size".
333 Trim size to arch bits_per_address, and test for negative input
334 via get_absolute_expr.
335
2d10acd2
DD
3362003-01-07 DJ Delorie <dj@redhat.com>
337
338 * config/tc-xstormy16.c (md_cgen_lookup_reloc): Adjust value based
339 on operand type.
340 (xstormy16_md_apply_fix3): Use adjustment.
341
1c53c80d
SC
3422003-01-02 Ben Elliston <bje@redhat.com>
343
344 * configure.in: Add iq2000-elf target.
345 * configure: Regenerate.
346 * config/tc-iq2000.c: New file.
347 * config/tc-iq2000.h: Likewise.
348 * po/gas.pot: Regenerate.
349
071742cf
CD
3502003-01-02 Chris Demetriou <cgd@broadcom.com>
351
352 * config/tc-mips.c: Update copyright years to include 2003.
353 (mips_ip): Fix indentation of "+A", "+B", and "+C" handling.
354 Additionally, clean up their code slightly and clean up their
355 comments some more.
356
357 * doc/c-mips.texi: Add MIPS32r2 to ".set mipsN" documentation.
358
55ac548d
DJ
3592003-01-01 Daniel Jacobowitz <drow@mvista.com>
360
361 * doc/Makefile.am (as.1): Depend on "asconfig.texi gasver.texi
362 $(CPU_DOCS)".
363 * doc/Makefile.in: Regenerate.
364
db66b292
DA
3652003-01-01 John David Anglin <dave.anglin@nrc.ca>
366
367 * config/obj-elf.c (special_sections): Work around HP's incorrect usage
368 of .init and .fini sections for array initializers and finalizers.
369
bbcc0807
CD
3702002-12-31 Chris Demetriou <cgd@broadcom.com>
371
372 * config/tc-mips.c (validate_mips_insn, mips_ip): Recognize
373 the "+D" operand, which will be used only by the disassembler.
374
af7ee8bf
CD
3752002-12-30 Chris Demetriou <cgd@broadcom.com>
376
377 * configure.in: Recognize mipsisa32r2, mipsisa32r2el, and
378 CPU variants.
379 * configure: Regenerate.
380 * config/tc-mips.c (ISA_HAS_DROR, ISA_HAS_ROR): New defines.
381 (macro_build): Handle "K" operand.
382 (macro2): Use ISA_HAS_DROR and ISA_HAS_ROR in the places where
383 CPU_HAS_DROR and CPU_HAS_ROR are currently used.
384 (mips_ip): New variable "lastpos", and implement "+A", "+B",
385 and "+C" operands for MIPS32 Release 2 ins/ext instructions.
386 Implement "K" operand for MIPS32 Release 2 rdhwr instruction.
387 (validate_mips_insn): Implement "+" as a way to extend the
388 allowed operands, and implement "K", "+A", "+B", and "+C"
389 operands.
390 (OPTION_MIPS32R2): New define.
391 (md_longopts): Add entry for OPTION_MIPS32R2.
392 (OPTION_ELF_BASE): Adjust to accomodate OPTIONS_MIPS32R2.
393 (md_parse_option): Handle OPTION_MIPS32R2.
394 (s_mipsset): Reimplement handling of ".set mipsN" options
395 and add support for ".set mips32r2".
396 (mips_cpu_info_table): Add entry for "mips32r2" (MIPS32 Release 2).
397 (md_show_usage): Document "-mips32r2" option.
398 * doc/as.texinfo: Document "-mips32r2" option.
399 * doc/c-mips.texi: Likewise.
400
2469cfa2
NC
4012002-12-30 Dmitry Diky <diwil@mail.ru>
402
403 * configure.in: Add msp430 target.
404 * configure: Regenerate.
405 * Makefile.am: Add msp430 target.
406 * Makefile.in: Regenerate.
407 * config/tc-msp430.c: New file: msp430 assembler.
408 * config/tc-msp430.h: New file: target macros for msp430.
409 * doc/Makefile.am: Add msp430 target.
410 * doc/Makefile.in: Regenerate.
411 * doc/as.texinfo: Include msp430 documenation.
412 * doc/all.texi: Enable msp430 documentation.
413 * doc/c-msp430.texi: New file: document msp430 specific features
414 of the assembler.
415
9605f328
AO
4162002-12-25 Alexandre Oliva <aoliva@redhat.com>
417
418 * dwarf2dbg.c (DWARF2_ADDR_SIZE): New macro.
419 (dwarf2_finish): Use it.
420 * doc/internals.texi (DWARF2_ADDR_SIZE): Document it.
421 * config/tc-mips.h (DWARF2_ADDR_SIZE): Override.
422
8f46beda
DD
4232002-12-20 DJ Delorie <dj@redhat.com>
424
425 * config/tc-xstormy16.c (md_cgen_lookup_reloc): Support
426 BFD_RELOC_XSTORMY16_12.
427
5f5e16be
AM
4282002-12-19 Alan Modra <amodra@bigpond.net.au>
429
430 * doc/as.texinfo (Invoking): Typo fix.
431 * config/tc-tic54x.c (encode_operand): Comment typo fix.
432
062b7c0c
KH
4332002-12-18 Kazu Hirata <kazu@cs.umass.edu>
434
435 * doc/c-alpha.texi: Fix typos.
436 * doc/c-arm.texi: Likewise.
437 * doc/c-d10v.texi: Likewise.
438 * doc/c-i370.texi: Likewise.
439 * doc/c-i960.texi: Likewise.
440 * doc/c-ia64.texi: Likewise.
441 * doc/c-mmix.texi: Likewise.
442 * doc/c-ns32k.texi: Likewise.
443 * doc/c-pdp11.texi: Likewise.
444 * doc/c-pj.texi: Likewise.
445 * doc/c-sh64.texi: Likewise.
446 * doc/c-sparc.texi: Likewise.
447 * doc/c-tic54x.texi: Likewise.
448 * doc/c-v850.texi: Likewise.
449 * doc/c-vax.texi: Likewise.
450 * doc/internals.texi: Likewise.
451
82dd0097
CD
4522002-12-18 Chris Demetriou <cgd@broadcom.com>
453
454 * config/tc-mips.c (macro): In M_DROL, M_DROR, M_ROL, and M_ROR,
455 use hardware rotate ops as appropriate. In M_DROL_I, M_DROR_I,
456 M_ROL_I, and M_ROR_I, simplify code, clean up warnings, and
457 arrange not to issue warnings about use of AT when AT is not
458 actually used.
459
9c3b31c6
NC
4602002-12-17 Nick Clifton <nickc@redhat.com>
461
462 * as.c (std_longopts): Duplicate --keep-locals entry in order to
463 prevent it being confused with -k.
464
9bb76eb8
DD
4652002-12-16 Andrew MacLeod <amacleod@redhat.com>
466
467 * config/tc-xstormy16.c (md_cgen_lookup_reloc): If a relocation
468 has already been set up, use it.
469
c03099e6
KH
4702002-12-16 Kazu Hirata <kazu@cs.umass.edu>
471
472 * ChangeLog-9295: Fix a typo.
473 * README: Likewise.
474 * config/tc-d10v.c: Fix a comment typo.
475 * config/tc-dlx.c: Likewise.
476 * config/tc-h8300.h: Likewise.
477 * config/tc-h8500.h: Likewise.
478 * config/tc-mips.c: Likewise.
479 * config/tc-s390.c: Likewise.
480 * config/tc-sh.h: Likewise.
481 * config/tc-tic80.h: Likewise.
482 * config/tc-w65.h: Likewise.
483 * config/tc-z8k.c: Likewise.
484 * config/tc-z8k.h: Likewise.
485 * testsuite/gas/h8300/cmpsi2.s: Likewise.
486
4cd62c96
AM
4872002-12-16 Alan Modra <amodra@bigpond.net.au>
488
30cdfbed
AM
489 * config/tc-d30v.c (check_range): Warning fixes, formatting.
490 Simplify sign extension. Remove redundant unsigned < 0 test.
491 * config/tc-i960.c (md_ri_to_chars): Prototype.
492 * config/tc-mcore.c (md_pseudo_table): Fix typo.
493 (dump_literals): Init brarsym, and test later instead of isforce.
494
4cd62c96
AM
495 * config/tc-ns32k.c (encode_operand): Constify operandsP and suffixP.
496 (parse): Constify line and lineptr.
497 (md_begin): Calculate endop here.
498
ebd0428f
AM
4992002-12-13 Alan Modra <amodra@bigpond.net.au>
500
4eb4336c
AM
501 * config/obj-vms.c: Formatting. Include fnctl.h.
502 (Create_VMS_Object_File): Fix creat call for sane unix systems.
503 (Object_Record_Offset): Make it a size_t.
504 (Flush_VMS_Object_Record_Buffer): Fix signed/unsigned warning.
505 (VMS_TBT_Routine_End <Size>): Make var unsigned long.
506 (VMS_Fix_Indirect_Reference <Offset>): Make arg addressT.
507 (synthesize_data_segment <data_size>): Remove ATTRIBUTE_UNUSED.
508 (vms_fixup_data_section <data_size>): Add here instead.
ebd0428f
AM
509 * config/e-criself.c: Fix typo in last change.
510
78a33af2
AM
5112002-12-13 Alan Modra <amodra@bigpond.net.au>
512
17fc154e
AM
513 * write.c (write_object_file): Fix signed/unsigned warning.
514 * config/e-crisaout.c (crisaout_bfd_name): Prototype.
515 * config/e-criself.c (criself_bfd_name): Prototype.
516 * config/obj-aout.c (s_sect): Remove unused function.
517 * config/obj-bout.c (obj_bout_line <ignore>): Add ATTRIBUTE_UNUSED.
518 * config/obj-coff.c (coff_last_bf): Don't declare for OBJ_XCOFF.
519 (fixup_mdeps <h>): Add ATTRIBUTE_UNUSED.
520 * config/obj-ecoff.c (ecoff_frob_file <addr>): Likewise.
521 * config/obj-vms.c (setup_basic_type <spnt>): Likewise.
522 (VMS_RSYM_Parse <Current_Routine>): Likewise.
523 (vms_fixup_text_section <text_siz>): Likewise.
524 (synthesize_data_segment <data_size>): Likewise.
525 (vms_fixup_xtors_section <sect_no>): Likewise.
526 (structure_count): Don't use implicit int type.
bfc866a6
AM
527 * config/tc-a29k.c (insert_sreg): Prototype.
528 (define_some_regs): Prototype, make static.
529 (parse_operand): Likewise.
530 (md_parse_option <c,arg>): Add ATTRIBUTE_UNUSED.
531 (md_show_usage <stream>): Likewise.
532 (md_section_align <segment>): Likewise.
533 (md_convert_frag <all args>): Likewise.
534 (md_estimate_size_before_relax <all args>): Likewise.
535 (md_apply_fix3): Don't cast valP pointer type. Fix bogus >>='s.
536 * config/tc-arm.c (arm_validate_fix): Only for OBJ_COFF or OBJ_ELF.
ebf19f1b
AM
537 * config/tc-d30v.c (md_parse_option <arg>): Add ATTRIBUTE_UNUSED.
538 (md_undefined_symbol <name>): Likewise.
539 (md_convert_frag <all args>): Likewise.
540 (write_long <opcode>): Likewise.
541 (tc_gen_reloc <seg>): Likewise.
542 (md_estimate_size_before_relax <all args>): Likewise.
543 (md_apply_fix3 <seg>): Likewise.
544 (s_d30v_align <ignore>): Likewise.
545 (build_insn): Correct format string.
546 (md_apply_fix3): Likewise.
33b5881a
AM
547 * config/tc-fr30.c (md_parse_option <c,arg>): Add ATTRIBUTE_UNUSED.
548 (md_undefined_symbol <name>): Likewise.
549 (md_convert_frag <all args>): Likewise.
550 (md_cgen_lookup_reloc <insn>): Likewise.
551 (md_begin): Delete unused vars.
552 (md_assemble): Likewise.
553 (md_estimate_size_before_relax): Likewise.
554 (fr30_relax_frag): #if 0 out, seems unused.
555 (md_atof): Remove declaration of atof_ieee.
556 (restore_colon): Prototype.
a08333bb
AM
557 * config/tc-frv.c (frv_insert_vliw_insn): Prototype.
558 (frv_find_in_vliw): Likewise.
559 (frv_debug_tomcat): Likewise.
560 (frv_adjust_vliw_count): Likewise.
561 (frv_tomcat_shuffle): Likewise.
562 (frv_tomcat_analyze_vliw_chains): Likewise. Correct args to
563 frv_find_in_vliw call.
564 (md_atof): Remove declaration of atof_ieee.
45e85b87
AM
565 * config/tc-h8500.c (cons): Delete declaration.
566 (md_begin <opcode>): Constify.
567 (displacement_size, immediate_size, absolute_size): Remove.
568 (build_relaxable_instruction <operand>): Add ATTRIBUTE_UNUSED.
569 (tc_crawl_symbol_chain <headers>): Likewise.
570 (md_undefined_symbol <name>): Likewise.
571 (tc_headers_hook <headers>): Likewise.
572 (md_parse_option <c,arg>): Likewise.
573 (md_show_usage <stream>): Likewise.
574 (md_convert_frag <headers, seg>): Likewise.
575 (tc_coff_symbol_emit_hook <ignore>): Likewise.
576 (md_atof): Remove declaration of atof_ieee.
577 (tc_aout_fix_to_chars): Remove unused function.
578 (parse_reg): Prototype.
579 (parse_exp): Prototype.
580 (skip_colonthing): Prototype. Use &&, not & in logical expressions.
581 (parse_reglist): Prototype.
582 (get_operand): Prototype.
583 (get_operands): Prototype.
584 (get_specific): Prototype. Make "this_index" signed.
585 (check): Prototype, make static.
586 (insert): Prototype
587 (build_relaxable_instruction): Prototype, make static.
588 (build_bytes): Prototype.
589 (wordify_scb): Prototype.
590 * config/tc-h8500.h (start_label): Declare.
591 (tc_coff_sizemachdep): Declare.
650f02e9
AM
592 * config/tc-i370.c (i370_ebcdic <unused>): Add ATTRIBUTE_UNUSED.
593 (i370_rmode <unused>): Likewise.
594 (i370_csect <unused>): Likewise.
595 (i370_dc <unused>): Likewise.
596 (i370_ds <unused>): Likewise.
597 (i370_elf_lcomm <unused>): Likewise.
598 (i370_ltorg <ignore>): Likewise.
599 (i370_using <ignore>): Likewise.
600 (i370_drop <ignore>): Likewise.
601 (i370_byte <ignore>): Likewise.
602 (i370_tc <ignore>): Likewise.
603 (md_estimate_size_before_relax <fragp, seg>): Likewise.
604 (md_convert_frag <all args>): Likewise.
605 (md_undefined_symbol <name>): Likewise.
606 (md_pcrel_from_section <sec>): Likewise.
607 (tc_gen_reloc <seg>): Likewise.
608 (i370_section_letter): #if 0 unused functions.
609 (i370_section_word, i370_section_type, i370_section_flags): Likewise.
610 (symbol_locate): Prototype.
d444b726
AM
611 * config/tc-i860.c (md_atof): Remove declaration of atof_ieee.
612 (md_number_to_disp, md_number_to_field): Remove.
613 (md_apply_fix3): Correct format string and cast "fup".
b9195351
AM
614 * config/tc-i960.c (md_convert_frag): Add ATTRIBUTE_UNUSED to args.
615 (s_endian <ignore>): Likewise.
616 (md_undefined_symbol <name>): Likewise.
617 (tc_crawl_symbol_chain <headers>): Likewise.
618 (tc_set_bal_of_call): Likewise.
619 (tc_coff_symbol_emit_hook <symbolP>): Likewise.
620 (i960_handle_align <fragp>): Likewise.
621 (i960_validate_fix <this_segment_type>): Likewise
622 (tc_gen_reloc <section>): Likewise.
623 (tc_coff_symbol_emit_hook): Only define for OBJ_COFF.
624 (struct memS, struct regop): Forward declare.
625 (brcnt_emit, brlab_next, cobr_fmt, ctrl_fmt, emit, get_args,
626 get_cdisp, get_ispec, get_regnum, i_scan, mem_fmt, mema_to_memb,
627 parse_expr, parse_ldconst, parse_memop, parse_po, parse_regop,
628 reg_fmt, relax_cobr, s_leafproc, s_sysproc, shift_ok, syntax,
629 targ_has_sfr, targ_has_iclass, tc_bfd_fix2rtype): Prototype.
630 (md_chars_to_number, md_number_to_imm): Make static, prototype.
631 (md_number_to_field): Likewise.
632 (md_number_to_disp): Remove unused function.
633 (md_atof): Remove declaration of atof_ieee.
634 (md_apply_fix3): Correct md_number_to_imm call.
64384dfd 635 * config/tc-ip2k.c (md_assemble): Warning fix.
78a0c6fb
AM
636 * config/tc-m32r.c (md_parse_option <arg>): Add ATTRIBUTE_UNUSED.
637 (fill_insn <ignore>): Likewise.
638 (debug_sym <ignore>): Likewise.
639 (md_undefined_symbol <name>): Likewise.
640 (m32r_scomm <ignore>): Likewise.
641 (md_convert_frag <abfd>): Likewise.
642 (md_cgen_lookup_reloc <insn>): Likewise.
643 (m32r_record_hi16 <seg>): Likewise.
644 (md_estimate_size_before_relax): #if 0 old_fr_fix.
645 (allow_m32rx): Prototype.
646 (first_writes_to_seconds_operands): Prototype.
647 (writes_to_pc): Prototype.
648 (can_make_parallel): Prototype.
649 (make_parallel): Prototype.
650 (target_make_parallel): Prototype.
651 (assemble_two_insns): Prototype.
652 (m32r_record_hi16): Prototype.
653 (md_atof): Remove declaration of atof_ieee.
654 * config/tc-m32r.h (m32r_fix_adjustable): Declare.
655 (m32r_force_relocation): Prototype.
656 (m32r_elf_section_change_hook): Prototype.
f1f5ef86
AM
657 * config/tc-m68k.c (tc_gen_reloc <section>): Add ATTRIBUTE_UNUSED.
658 (md_show_usage): Fix signed/unsigned warning.
38b9ac49
AM
659 * config/tc-m88k.c (get_reg): Make reg_prefix param unsigned.
660 (calcop): Ditto for reg_prefix var.
661 (hexval): Add cast to fix signed/unsigned warning.
662 (md_number_to_disp): Delete unused function.
663 (md_number_to_field): Likewise.
664 (float_cons, cons, s_globl, s_space, s_set, s_lcomm): Remove decl.
665 (match_name): Prototype.
666 (get_bf2): Prototype.
667 (get_bf_offset_expression): Prototype.
aa699a2c
AM
668 * config/tc-mcore.c (mcore_s_literals <ignore>): Add ATTRIBUTE_UNUSED.
669 (md_undefined_symbol <ignore>): Likewise.
670 (md_create_short_jump <all args>): Likewise.
671 (md_create_long_jump <all args>): Likewise.
672 (md_convert_frag <abfd, sec>): Likewise.
673 (md_apply_fix3 <segment>): Likewise.
674 (md_section_align <segment>): Likewise.
675 (md_pcrel_from_section <sec>): Likewise.
676 (tc_gen_reloc <section>): Likewise.
677 (reg_m, reg_n, immediate): Delete unused vars.
678 (dump_literals): Fix signed/unsigned warning.
679 (enter_literal): Likewise.
680 (parse_imm): Likewise. Also fix format string.
681 (parse_mem): Remove unused var.
682 (md_assemble <LS>): Abort on unexpected inst.
683 (md_atof): Remove declaration of atof_ieee.
684 (md_parse_option): Remove unused vars.
685 (md_apply_fix3): Fix format strings, cast args.
686 (tc_gen_reloc): Delete unused var.
687 * config/tc-mcore.h (tc_coff_sizemachdep): Declare.
2a8ce8da
AM
688 * config/tc-mn10200.c (md_parse_option <c, arg>): Add ATTRIBUTE_UNUSED.
689 (md_undefined_symbol <name>): Likewise.
690 (md_convert_frag <abfd>): Likewise.
691 (tc_gen_reloc <seg>): Likewise.
692 (check_operand <insn>): Likewise.
693 (md_convert_frag): Fix format strings.
694 (tc_gen_reloc): Delete fx_addsy - fx_subsy code.
717acf4b
AM
695 * config/tc-openrisc.c (ignore_pseudo): Prototype.
696 (md_atof): Remove declaration of atof_ieee.
697 * config/tc-or32.c (parse_operand): Prototype non-BFD too.
698 (md_apply_fix3): Fix bogus >>='s.
699 (md_undefined_symbol): Delete unused var.
0e073f4c
AM
700 * config/tc-pj.c (little, big, parse_exp_save_ilp): Prototype.
701 (c_to_r, ipush_code, fake_opcode, alias): Likewise.
702 (fake_opcode): Adjust for pj_opc_int_t change.
703 (md_begin): Likewise.
704 (md_assemble): Likewise.
705 (ipush_code): Correct parse_exp_save_ilp call. Test pending_reloc
706 instead of non-existent third arg of parse_exp_save_ilp.
707 (md_parse_option): Correct "little" and "big" calls.
a7982600
AM
708 * config/tc-sparc.c (s_register): Only declare #ifdef OBJ_ELF.
709 (md_apply_fix3 <segment>): Add ATTRIBUTE_UNUSED.
710 (tc_gen_reloc <section>): Likewise.
167795c4
AM
711 * config/tc-tic30.c: #include stdarg.h or varargs.h.
712 (debug): Rewrite using VA_* macros.
713 (md_estimate_size_before_relax): Add ATTRIBUTE_UNUSED to args.
714 (md_convert_frag): Likewise.
715 (md_parse_option): Likewise.
716 (md_show_usage): Likewise.
717 (md_undefined_symbol): Likewise.
718 (tc_gen_reloc): Likewise.
719 (md_operand): Likewise.
720 (tc_aout_pre_write_hook): Delete.
721 (struct tic30_insn): Make "operands" unsigned.
722 (struct tic30_par_insn): Likewise.
723 (md_assemble): Likewise for "count", "i" and "numops".
724 (tic30_parallel_insn): Likewise for vars here.
725 (tic30_operand): Likewise. Remove useless unsigned >= 0 comparison.
726 * config/tc-tic30.h (tc_aout_pre_write_hook): Define as empty.
727 * config/tc-tic80.c (obj_coff_section): Delete declaration.
728 (md_estimate_size_before_relax): Add ATTRIBUTE_UNUSED on args.
729 (md_undefined_symbol): Likewise.
730 (md_parse_option): Likewise.
731 (md_convert_frag): Likewise.
732 (tc_coff_symbol_emit_hook): Likewise.
733 (md_atof): Remove declaration of atof_ieee.
734 (const_overflow): Warning fixes, tidy.
735 (get_operands): Delete unused vars.
736 (internal_error_a): Adjust format string to expect a long for arg.
737 (find_opcode): Warning fixes, simplify.
738 (build_insn): Cast internal_error_a arg.
739 (md_begin): Likewise.
740 (md_apply_fix3): Likewise.
741 (md_assemble): Delete unused var.
742 * config/tc-tic80.h (tc_coff_fix2rtype): Prototype.
78a33af2
AM
743 * config/tc-z8k.c (cons, obj_coff_section): Delete declarations.
744 (whatreg, parse_reg, parse_exp): Make static, prototype.
745 (checkfor, regword, regaddr, get_ctrl_operand): Prototype.
746 (get_flags_operand, get_interrupt_operand, get_cc_operand): Likewise.
747 (get_operand, get_operands, get_specific, newfix): Likewise.
748 (apply_fix, build_bytes): Likewise.
749 (md_atof): Remove declaration of atof_ieee.
750 (tc_aout_fix_to_chars): Delete.
751 (md_begin): Constify "opcode". Don't try to init opcode->idx.
752 Fix s_unseg call.
753 (md_parse_option): Fix s_segm and s_unseg calls.
754
af6ae2ad
AO
7552002-12-12 Alexandre Oliva <aoliva@redhat.com>
756
757 * tc-mips.c (RELAX_BRANCH_ENCODE): Remove reloc_s2 argument.
758 Adjust callers.
759 (RELAX_BRANCH_RELOC_S2): Delete.
760 (append_insn): Use only BFD_RELOC_16_PCREL_S2 for branches.
761 Do not handle BFD_RELOC_16_PCREL.
762 (macro_build, mips_ip): Likewise.
763 (md_pcrel_from): Return 4 for undefined symbols regardless of
764 mips_pic.
765 (md_apply_fix3): Use only BFD_RELOC_16_PCREL_S2 for branches.
766 Don't dereference howto if no such relocation is available.
767 Do not apply hack for in-place zero addend in NEWABI.
768 (md_convert_frag): Use only BFD_RELOC_16_PCREL_S2 for branches.
769
074d08b0 7702002-12-12 Alexandre Oliva <aoliva@redhat.com>,
78a33af2 771 Alan Modra <amodra@bigpond.net.au>
074d08b0
AO
772
773 * config/tc-mn10300.h (TC_VALIDATE_FIX_SUB): Define.
774 (TC_LINKRELAX_FIXUP): Add comments.
775
497f322d
AO
7762002-12-12 Alexandre Oliva <aoliva@redhat.com>
777
778 * config/tc-mn10300.c (set_arch_mach): Change argument type to
779 avoid warnings.
780 (r_register_name, xr_register_name): Add prototype declarations.
781
ffbceea9
L
7822002-12-08 H.J. Lu <hjl@gnu.org>
783
784 * config/tc-ia64.c (md_apply_fix3): Remove the PCREL hack
785 copied from tc-i386.c.
786
75538612
SC
7872002-12-08 Stephane Carrez <stcarrez@nerim.fr>
788
789 Fix Bug savannah/1825:
790 * config/tc-m68hc11.c (STATE_INDEXED_PCREL): New relax code.
791 (md_relax_table): Define specific relax for PC-rel offsets.
792 (build_indexed_byte): Use a STATE_INDEXED_PCREL relax code.
793 (m68hc11_relax_frag): Handle the new relax code.
794 (md_convert_frag): Likewise.
795 (md_estimate_size_before_relax): Likewise.
796
546c73f9
AM
7972002-12-08 Alan Modra <amodra@bigpond.net.au>
798
799 * subsegs.c (section_symbol): Use the symbol, not the section, name.
800
fa2c7eff
RH
8012002-12-05 Richard Henderson <rth@redhat.com>
802
803 * config/ia64.c (enum reloc_func): Add FUNC_LT_RELATIVE_X.
804 (ia64_gen_real_reloc_type): Handle it.
805 (pseudo_func): Add @ltoffx.
806 (md_begin): Build .<ltoffx>.
807 (ia64_force_relocation): True for LTOFF22X and LDXMOV.
808
114424c6
AM
8092002-12-05 Alan Modra <amodra@bigpond.net.au>
810
811 * config/tc-arm.c (arm_force_relocation): Move out of #if OBJ_ELF.
812 Move OBJ_COFF TC_FORCE_RELOCATION code here so that COFF handles
813 ARM_IMMEDIATE and ARM_ADRL_IMMEDIATE relocs as for ELF.
814 * config/tc-arm.h (TC_FORCE_RELOCATION): Define for both ELF and
815 COFF to call arm_force_relocation.
816
c10d9d8f
JW
8172002-12-04 David Mosberger <davidm@hpl.hp.com>
818
819 * config/tc-ia64.c (pseudo_func): Add "@pause" constant for "hint"
820 instruction.
821 (emit_one_bundle): Handle "hint" instruction.
822 (operand_match): Match IA64_OPND_AR_CSD.
823
c8970b4b
AM
8242002-12-04 Alan Modra <amodra@bigpond.net.au>
825
826 * dwarf2dbg.c (scale_addr_delta): Correct parameter. Move prototype
827 inside #if.
828
e1a9cb8e
NC
8292002-12-03 Nick Clifton <nickc@redhat.com>
830
831 * config/tc-ppc.c (ppc_cleanup): Do not set SEC_MERGE flag on
6b0817e5 832 .PPC.EMB.apuinfo sections.
e1a9cb8e 833
a823923b
RH
8342002-12-03 Richard Henderson <rth@redhat.com>
835
836 * config/tc-ia64.c (operand_match): Add IA64_OPND_LDXMOV case.
837
61b5f74b
AM
8382002-12-03 Alan Modra <amodra@bigpond.net.au>
839
6297c1fe
AM
840 * config/tc-w65.c (s_longa): Prototype. Make static, specify int arg.
841 (cons, s_align_bytes): Delete declaration.
842 (relax): Delete.
843 (md_begin): Constify "struct opinfo *" var. Don't try to make "name"
844 strings common.
845 (dot): Delete unused function.
846 (w65_expression): Remove unused arg.
847 (parse_exp): Prototype. Remove unused arg. Adjust w65_expression
848 call.
849 (get_operands): Prototype. Constify "struct opinfo *" arg. Fix
850 parse_exp call.
851 (get_specific): Prototype. Constify "struct opinfo *" arg and return
852 value.
853 (check): Remove unused function.
854 (build_Mytes): Prototype. Constify "struct opinfo *" arg. Abort
855 on unhandled switch case.
856 (md_assemble): Remove unused op_start, op_end, nlen, p vars. Constify
857 "opcode".
858 (tc_crawl_symbol_chain): Delete unused function.
859 (tc_headers_hook): Likewise.
860 (tc_Nout_fix_to_chars): Likewise.
861 (md_undefined_symbol): Add ATTRIBUTE_UNUSED.
862 (md_parse_option): Likewise.
863 (md_convert_frag): Likewise.
864 (tc_coff_symbol_emit_hook): Likewise.
865 (md_show_usage): Likewise.
866 * config/tc-w65.h (tc_coff_sizemachdep): Declare.
867 (TC_PARSE_CONS_EXPRESSION): w65_expression takes one arg.
868 (w65_expression): Declare.
869
870 * po/POTFILES.in: Regenerate.
871
61b5f74b
AM
872 * config/tc-arm.c (arm_force_relocation): Return 0 for ARM_IMMEDIATE
873 and ARM_ADRL_IMMEDIATE.
874
fea17916
NC
8752002-12-02 Nick Clifton <nickc@redhat.com>
876
877 * gasp.c: Delete. It has been deprecated.
878 * NEWS: Mention that gasp has been removed.
879 * Makefile.am: Remove references to gasp.
880 * makefile.vms: Likewise.
881 * mpw-make.sed: Likewise.
882 * Makeile.in: Regenerate.
883 * doc/gasp.texi: Delete.
884 * doc/Makefile.am: Remove references to gasp.texi.
885 * doc/Makefile.in: Regenerate.
886 * macro.c: Delete references to gasp.
887 Remove use of comment_char function parameter as it is no longer
888 needed.
889 * macro.h: Update prototypes to remove comment_char parameter.
890 Fix formatting.
891 * read.c (read_a_source_file, s_irp): Remove comment_char
ebd0428f
AM
892 parameter from invocation of functions in macro.c
893
dc59a897
HPN
8942002-12-02 Hans-Peter Nilsson <hp@axis.com>
895
4c83186b 896 * read.c (emit_expr) [!WORKING_DOT_WORD]: Initialize x->use_jump.
dc59a897 897
1910266d
SC
8982002-12-01 Stephane Carrez <stcarrez@nerim.fr>
899
900 * config/tc-m68hc11.c (md_begin): Fix qsort warning.
901 (tc_gen_reloc): Mark section param as not used.
902
c9e03e8b
SC
9032002-12-01 Stephane Carrez <stcarrez@nerim.fr>
904
905 Fix Bug savannah/1825:
906 * config/tc-m68hc11.h (md_relax_frag): Define to support relaxations
907 that are not pc-relative.
908 (m68hc11_relax_frag): Declare.
909
910 * config/tc-m68hc11.c (build_indexed_byte): Use a frag_var to handle
911 the offsetable indexed addressing modes (n,r).
912 (build_insn): Cleanup some locals.
913 (m68hc11_relax_frag): New function imported from tc-cris.c to handle
914 relaxation of difference between two symbols of same section.
915 (md_convert_frag): For INDEXED_OFFSET relaxs, use the displacement
916 only when this is a PC-relative operand and the offset is not absolute.
917 (md_estimate_size_before_relax): Convert the INDEXED_OFFSET,UNDEF frag
918 to INDEXED_OFFSET,STATE_BITS5 when the symbol is absolute; this will
919 be handled by m68hc11_relax_frag.
920
2f904664
SC
9212002-12-01 Stephane Carrez <stcarrez@nerim.fr>
922
923 * config/tc-m68hc11.c (elf_flags): Set default ABI to gcc default
924 (32-bit int, 64-bit double).
925 (md_longopts): New options -mshort, -mlong, -mshort-double and
926 -mlong-double to control the ABI.
927 (md_show_usage): Update.
928 (md_parse_option): Handle new options.
929 * doc/as.texinfo (Overview): Document new options for HC11/HC12.
930
0909233e
AM
9312002-12-01 Nathan Sidwell <nathan@codesourcery.com>
932
933 * symbols.c (report_op_error): New function, broken out of ...
934 (resolve_symbol_value): ... here. Use for both monadic and dyadic
935 operators.
936
0174e383
KK
9372002-11-30 Kaz Kojima <kkojima@rr.iij4u.or.jp>
938
939 * config/tc-sh.c (md_apply_fix3): Take account of fx_offset
940 for BFD_RELOC_32_PLT_PCREL.
941
b34976b6
AM
9422002-11-30 Alan Modra <amodra@bigpond.net.au>
943
944 * dwarf2dbg.c, write.c, config/obj-aout.c, config/obj-coff.c,
945 config/obj-ecoff.c, config/obj-elf.c, config/obj-som.c,
946 config/tc-arm.c, config/tc-arm.h, config/tc-avr.c, config/tc-cris.c,
947 config/tc-d10v.c, config/tc-d10v.h, config/tc-d30v.c, config/tc-d30v.h,
948 config/tc-dlx.c, config/tc-dlx.h, config/tc-fr30.c, config/tc-fr30.h,
949 config/tc-frv.c, config/tc-frv.h, config/tc-hppa.c, config/tc-i370.c,
950 config/tc-i386.c, config/tc-i386.h, config/tc-m32r.c,
951 config/tc-m68hc11.c, config/tc-mcore.c, config/tc-mcore.h,
952 config/tc-mips.c, config/tc-mips.h, config/tc-mn10200.c,
953 config/tc-mn10300.c, config/tc-mn10300.h, config/tc-openrisc.c,
954 config/tc-openrisc.h, config/tc-ppc.c, config/tc-s390.c,
955 config/tc-sh.c, config/tc-sh.h, config/tc-sh64.c, config/tc-tic54x.c,
956 config/tc-v850.c, config/tc-v850.h, config/tc-xstormy16.c,
957 config/tc-xstormy16.h: Replace boolean with bfd_boolean, true with
958 TRUE, false with FALSE. Simplify comparisons of bfd_boolean vars with
959 TRUE/FALSE. Formatting.
960
143c8e19
NC
9612002-11-29 Nick Clifton <nickc@redhat.com>
962
963 * config/tc-arm.c (do_t_bkpt): If no operand is specified,
964 assume a value of zero.
965 (do_bkpt): Likewise.
966
2bba4140
KK
9672002-11-29 Kaz Kojima <kkojima@rr.iij4u.or.jp>
968
969 * config/tc-sh.c (md_apply_fix3): Call S_SET_THREAD_LOCAL
970 for TLS relocations.
971
7925dd68
JJ
9722002-11-29 Jakub Jelinek <jakub@redhat.com>
973
974 * config/tc-ia64.c (md_apply_fix3): Add default case.
975
00f7efb6
JJ
9762002-11-28 Jakub Jelinek <jakub@redhat.com>
977
978 * symbols.c (S_SET_THREAD_LOCAL): New function.
979 * symbols.h (S_SET_THREAD_LOCAL): New prototype.
980 * config/tc-i386.c (md_apply_fix3): Call S_SET_THREAD_LOCAL
981 for TLS relocations.
982 * config/tc-ia64.c (md_apply_fix3): Likewise.
983 * config/tc-alpha.c (md_apply_fix3): Likewise.
984
381a1ab3
JJ
9852002-11-28 Jakub Jelinek <jakub@redhat.com>
986
987 * write.c (subsegs_finish): For SEC_MERGE sections pad last fragment
988 to entsize.
989
a3b75434
DD
9902002-11-26 DJ Delorie <dj@redhat.com.
991
992 * dwarf2dbg.c (scale_addr_delta): New.
993 (size_inc_line_addr): Use it.
994 (emit_inc_line_addr): Use it.
995
fb2fd3e1
HPN
9962002-11-26 Hans-Peter Nilsson <hp@axis.com>
997
998 * config/tc-cris.c (cris_relax_frag): Fix typo in comment.
999 (md_assemble): Don't pass on branches to constants as relaxable.
1000 Tweak comment.
1001
da91385d
SS
10022002-11-25 Svein E. Seldal <Svein.Seldal@solidas.com>
1003
1004 * config/tc-tic4x.c (c4x_operands_match): Bugfix in direct mode
1005
1d421636
DA
10062002-11-21 Randolph Chung <randolph@tausq.org>
1007
1008 * config/tc-hppa.h (tc_frob_symbol): Frob undefined unused symbols
1009 only if they have default visibility.
1010
33bf47a8
RH
10112002-11-21 Richard Henderson <rth@redhat.com>
1012
1013 * config/tc-alpha.c (alpha_fix_adjustable): Remove redundant
1014 S_IS_DEFINED test.
1015
5f8075fa
AM
10162002-11-21 Alan Modra <amodra@bigpond.net.au>
1017
1018 * config/tc-mcore.c (mcore_pool_count): New function.
1019 (mcore_cons, mcore_float_cons, mcore_stringer, mcore_fill): Use it.
1020
5ff37431
KD
10212002-11-20 Klee Dienes <kdienes@apple.com>
1022
1023 * config/tc-mcore.c (md_begin): Use a const iterator. Don't
1024 coalesce the name fields to use the same pointer.
1025
1026 * config/tc-sh.c (md_begin): Use a const iterator. Don't coalesce
1027 the name fields to use the same pointer.
1028 (get_specific): Check for opcodes with the same name using strcmp
1029 as well as comparing the pointer.
1030
5045ec7a
AM
10312002-11-20 Alan Modra <amodra@bigpond.net.au>
1032
1033 * write.c (adjust_reloc_syms): Don't reduce SEC_MERGE fixups with
1034 fx_subsy non-NULL.
1035
20e420c2
RH
10362002-11-19 Richard Henderson <rth@redhat.com>
1037
1038 * config/obj-elf.c (obj_elf_visibility): Overwrite only the
1039 visibility portion of st_other.
1040
a720f7bc
KD
10412002-11-19 Klee Dienes <kdienes@apple.com>
1042
1043 * config/tc-h8300.c (struct h8_instruction): New type, used to
1044 wrap h8_opcodes with length, noperands, idx, and size fields
1045 (computed at run-time).
1046 (h8_instructions): New variable.
1047 (md_begin): Allocate the storage for h8_instructions. Fill
1048 h8_instructions with pointers to the appropriate opcode and the
1049 correct value for the additional fields.
1050 (clever_message): Update to use h8_instructions instead of
1051 h8_opcodes.
1052 (build_bytes): Ditto.
1053 (get_specific): Ditto.
1054 (md_assemble): Ditto.
bbce6ab7 1055
0a00dd48
MS
10562002-11-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
1057
1058 * config/tc-s390.c (tc_s390_fix_adjustable): Re-add patch to prevent
1059 adjustments to symbols in merge sections.
1060
81283cde
AM
10612002-11-19 Luke Deller <luked@cse.unsw.edu.au>
1062
1063 * config/tc-alpha.c (s_alpha_prologue): as_bad when sym is NULL.
1064
14e777e0
KB
10652002-11-18 Kevin Buettner <kevinb@redhat.com>
1066
1067 * dwarf2dbg.h (dwarf2_format): New enum.
1068 * dwarf2dbg.c (DWARF2_FORMAT): Provide default definition.
1069 (out_debug_line, out_debug_info): Add code for handling 64-bit
1070 DWARF 2 formats.
1071 * config/tc-mips.h (mips_dwarf2_format): Declare.
1072 * config/tc-mips.c (mips_dwarf2_format): New function.
1073 * doc/internals.texi (DWARF2_FORMAT): Document.
1074
a816d1ed
AO
10752002-11-18 Alexandre Oliva <aoliva@redhat.com>
1076
1077 * config/tc-mips.c (s_change_section): Make sure input buffer
1078 is not accessed past the end. Don't hand
1079 obj_elf_change_section a pointer into the input buffer.
1080
6b70243f
AO
10812002-11-18 Alexandre Oliva <aoliva@redhat.com>, Chris Demetriou <cgd@broadcom.com>
1082
1083 * config/tc-mips.c (tc_gen_reloc): Fix typo in handling of
1084 GOT_LO16 on NEWABI.
1085
48c5eb8a
SS
10862002-11-18 Svein E. Seldal <Svein.Seldal@solidas.com>
1087
9c87d6c7
SS
1088 * config/tc-tic4x.c: Fixed proper commandline
1089 parameters. Added support for new opcode-list format. General
1090 error message fixups.
1091 (c4x_inst_add): Reject insn not for our CPU
1092 (md_begin): Added matrix for setting the proper opcode-level &
1093 device-flags according to cpu type and revision. Rewrite the
1094 opcode hasher.
1095 (c4x_operand_parse): Fix opcode bug
1096 (c4x_operands_match): New function argument. Added dry-run
1097 mechanism, that is optional error generation. Added constraint 'i'
1098 and 'j'.
1099 (c4x_insn_check): Added new function for post-verification of the
1100 generated insn.
1101 (md_assemble): Check all opcodes before croaking because of an
1102 argument mismatch. Need this to be able to fully support
1103 ortogonally arguments.
1104 (md_parse_options): Revised commandprompt swicthes and added new
1105 ones.
1106 (md_show_usage): Complete rewrite of printout.
bbce6ab7 1107
44287f60
SS
11082002-11-16 Svein E. Seldal <Svein.Seldal@solidas.com>
1109
1110 * config/tc-tic4x.c: Remove c4x_pseudo_ignore function.
1111 (c4x_operands_match): Added check for 8-bits LDF insn. Give
1112 warning when using constant direct bigger than 2^16. Add the new
1113 arguments.
1114
591d4689
CF
11152002-11-11 Christopher Faylor <cgf@redhat.com>
1116
1117 * configure.in: Use .gdbinit under Cygwin.
1118 * configure: Regenerate.
1119
1a89f85f
CF
11202002-11-11 Christopher Faylor <cgf@redhat.com>
1121
1122 * config/tc-i386.h (EXTERN_FORCE_RELOC): Define only if
1123 STRICT_PE_FORMAT.
1124
247b1fe6
SS
11252002-11-11 Svein E. Seldal <Svein.Seldal@solidas.com>
1126
1127 * config/tc-tic4x.c: Declare as many functions as possible as
1128 static. Maintenance on the general indenting. Removed unnecessary
1129 pseudo-ops and added new ones. Removed obsoleted c4x_pseudo_ignore
1130 function. Add support for new DSP, TMS320VC33. Fix bug for
1131 converting flonum constants.
1132 (c4x_do_align): Add proper align handling. Setup align to insert
bbce6ab7 1133 NOP's.
247b1fe6
SS
1134 (c4x_gen_to_words): Support for extended TI type floats.
1135 (md_atof): Proper dumping of multiple-word littlenums.
1136 (c4x_atof): Added support for extended TI type floats.
1137 (c4x_stringer): Added new function to handle compact strings.
1138 (c4x_emit_char): Added new function argument to handle custom
1139 length inserts, like single-byte strings.
1140 * config/tc-tic4x.h: Add proper align handling with NOP's.
98199d8f
SS
1141 * Makefile.am: Added tic4x dependecy
1142 * Makefile.in: Regenerate
247b1fe6 1143
9df59bba
HPN
11442002-11-11 Hans-Peter Nilsson <hp@bitrange.com>
1145
1146 * macro.c (get_any_string): Correct logic for not going beyond end
1147 of in->ptr[].
1148
32c27eed
HPN
11492002-11-10 Hans-Peter Nilsson <hp@bitrange.com>
1150
480c8d94
HPN
1151 * config/tc-mmix.c (get_putget_operands): Mark both possible
1152 operands as invalid at beginning.
1153
32c27eed
HPN
1154 * config/tc-mmix.c (md_convert_frag) <case STATE_GREG_DEF>:
1155 Initialize target of fixup to zero.
1156
78e1bb40
AO
11572002-11-07 Alexandre Oliva <aoliva@redhat.com>
1158
1159 * config/tc-mips.c (macro_build_lui): _gp_disp is not special on
1160 NEWABI, but we should still emit HI16_S for non-PIC n32.
1161
66ba4c77
RH
11622002-11-06 Richard Henderson <rth@redhat.com>
1163
1164 * config/tc-alpha.c (alpha_validate_fix): Move code ...
1165 (alpha_fix_adjustable): ... here.
1166 * config/tc-alpha.h (TC_VALIDATE_FIX): Remove.
1167
bbce6ab7 11682002-11-07 Eric Kohl <ekohl@rz-online.de>
c9e38879
NC
1169
1170 * config/te-pe.h (LEX_AT): Accept at-sign (@) as first character
1171 of a label.
1172
aa3d8fdf
L
11732002-11-05 H.J. Lu <hjl@gnu.org>
1174
1175 * config/tc-mips.c (support_64bit_objects): Check *l before it
1176 is freed.
1177
e96c5464
NC
11782002-11-04 Danny Smith <dannysmith@users.sourceforge.net>
1179
1180 * config/obj-coff.c (obj-coff-section): Set SEC_DATA and
1181 SEC_LOAD flags for sections marked as 's'.
1182
4d0b3220
AM
11832002-11-01 Alan Modra <amodra@bigpond.net.au>
1184
4f3cafa2
AM
1185 * write.c (TC_FORCE_RELOCATION_SUB_ABS): Default to zero.
1186 (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise when DIFF_EXPR_OK.
1187 * doc/internals.texi (TC_FORCE_RELOCATION_SUB_ABS): Document changed
1188 default.
1189
4d0b3220
AM
1190 * dep-in.sed: Fix typo.
1191
54847c76
DJ
11922002-10-30 Daniel Jacobowitz <drow@mvista.com>
1193
1194 * configure.in: Update ARM CPU patterns.
1195 * configure: Regenerated.
1196
3d82a647
DJ
11972002-10-29 Daniel Jacobowitz <drow@mvista.com>
1198
1199 * itbl-lex.l: Use #include <> for generated headers.
1200 * itbl-ops.c: Likewise.
1201
b1744eab
DJ
12022002-10-28 Daniel Jacobowitz <drow@mvista.com>
1203
1204 * doc/gasp.texi: Fix typo in deprecation note.
1205
8df7094c
NC
12062002-10-23 Nick Clifton <nickc@redhat.com>
1207
1208 * config/tc-arm.c (tc_gen_reloc): Allow an absolute reference to
1209 _GLOBAL_TABLE_OFFSET_ to be converted into a GOT reloc.
1210
3a99b990
HPN
12112002-10-23 Hans-Peter Nilsson <hp@bitrange.com>
1212
1cd2bb72 1213 * config/tc-mmix.h (mmix_frob_file_before_adjust): Don't declare.
3a99b990
HPN
1214 (tc_frob_file_before_adjust): Don't define.
1215 * config/tc-mmix.c (mmix_frob_local_reloc): Remove unused
1216 function.
1217 (mmix_frob_file_before_adjust): Remove ineffective function.
1218
1c971160
HPN
12192002-10-23 Hans-Peter Nilsson <hp@axis.com>
1220
1221 * config/tc-cris.c (SIMPLE_EXPR): New macro.
1222 (cris_relax_frag): New function.
1223 (md_estimate_size_before_relax) <case ENCODE_RELAX
1224 (STATE_BASE_PLUS_DISP_PREFIX, STATE_UNDF)>: Pass on unresolved
1225 expressions that will become absolute expressions to relaxation.
1226 (md_convert_frag) <case ENCODE_RELAX (STATE_BASE_PLUS_DISP_PREFIX,
1227 STATE_WORD)>: Expect only absolute expressions. Use the symbol
1228 value, not distance to symbol.
1229 <case ENCODE_RELAX (STATE_BASE_PLUS_DISP_PREFIX, STATE_BYTE)>:
1230 Ditto. Correct placement of fixup.
1231 (md_assemble): Use SIMPLE_EXPR when dissecting expressions.
1232 (gen_bdap): Ditto.
1233 * config/tc-cris.h (cris_relax_frag): Declare.
1234 (md_relax_frag): Define.
1235
7ed1d346
AM
12362002-10-22 Alan Modra <amodra@bigpond.net.au>
1237
1238 * config/obj-elf.c (special_sections): Use correct types for init
1239 array sections.
1240 (obj_elf_change_section): Don't mess with init array section type.
1241
631cb423
RS
12422002-10-21 Richard Sandiford <rsandifo@redhat.com>
1243
1244 * config/tc-mips.c (mips_need_elf_addend_fixup): Return true
1245 for relocs against symbols in a merged section.
1246
6047c971
AO
12472002-10-18 Alexandre Oliva <aoliva@redhat.com>
1248
1249 * config/tc-mips.c (md_begin): Add $fcc registers to the symbol
1250 table as register names.
1251
75504fed
MS
12522002-10-18 Ulrich Weigand <uweigand@de.ibm.com>
1253
1254 * config/tc-s390.c (md_parse_option): Set s390_arch_size to 32
1255 for option -m31.
1256
02000999
AM
12572002-10-18 Svein E. Seldal <Svein.Seldal@solidas.com>
1258
1259 * expr.c (operand): Add support for n.nn flonums.
1260
311797d5
AM
12612002-10-17 Johannes Stezenbach <js@convergence.de>
1262
1263 * itbl-parse.y (entry): Provide empty action.
1264
4001ad8c
AM
12652002-10-16 Alan Modra <amodra@bigpond.net.au>
1266
1267 * configure.in (BFDVER_H): Set and subst.
1268 * dep-in.sed: Replace bfdver.h with $(BFDVER_H).
1269 * Makefile.am: Run "make dep-am".
1270 (BFDVER_H): Define.
1271 * configure: Regenerate.
1272 * Makefile.in: Regenerate.
1273 * doc/Makefile.in: Regenerate.
1274
3ca4bdc3
AM
12752002-10-15 Alan Modra <amodra@bigpond.net.au>
1276
1277 * config/tc-i386.h (EXTERN_FORCE_RELOC): Define.
1278 (MD_APPLY_SYM_VALUE): Define for PE too.
1279
b95d15c6
AM
12802002-10-14 Alan Modra <amodra@bigpond.net.au>
1281
1282 * Makefile.am: Run "make dep-am".
1283 (CPU_OBJ_VALID): sh64 coff is invalid.
1284 * as.c: #include "bfdver.h".
1285 * Makefile.in: Regenerate.
1286 * config.in: Regenerate.
1287
ec266e19
AM
12882002-10-14 Momchil Velikov <velco@fadata.bg>
1289
1290 * config/tc-v850.c (CHECK_): Remove token pasting operator.
1291
8f6847cb
RS
12922002-10-14 Richard Sandiford <rsandifo@redhat.com>
1293
1294 * configure.in (mips64vr-elf, mips64vrel-elf): New config.
1295 * configure: Regenerate.
1296
ec266e19
AM
12972002-10-13 Eric Christopher <echristo@redhat.com>
1298 Alexandre Oliva <aoliva@redhat.com>
10181a0d
AO
1299
1300 * config/tc-mips.c (s_gpdword): New function.
1301 (mips_pseudo_table): Add .gpdword.
1302 (mips_need_elf_addend_fixup): never for NEWABI.
1303 (md_apply_fix3): Don't mark BFD_RELOC64 after GPREL16 or
1304 GPREL32 as done.
1305 (s_cpadd): Generate .cpadd on NEWABI.
1306
49181a6a
AM
13072002-10-12 Elias Athanasopoulos <eathan@otenet.gr>
1308
1309 * config/tc-ppc.c (ppc_cleanup): Make 'i' unsigned int.
1310
4a6a3df4
AO
13112002-10-12 Alexandre Oliva <aoliva@redhat.com>
1312
1313 * config/tc-mips.h (mips_relax_frag): Take segment as argument.
1314 (md_relax_frag): Adjust macro.
1315 * config/tc-mips.c (mips_relax_branch): New variable.
1316 (RELAX_BRANCH_ENCODE, RELAX_BRANCH_P, RELAX_BRANCH_LIKELY,
1317 RELAX_BRANCH_LINK, RELAX_BRANCH_TOOBAR): New.
1318 (RELAX_MIPS16_P): Adjust.
1319 (append_insn): Emit branch to non-constant in a frag_var if
1320 branch-relaxation is desirable and possible.
1321 (OPTION_RELAX_BRANCH, OPTION_NO_RELAX_BRANCH): New options.
1322 (OPTION_ELF_BASE): Adjust.
1323 (md_parse_option): Handle new options.
1324 (md_apply_fix3): Update comment on EMBEDDED_PIC conditional
1325 branch relaxation.
1326 (relaxed_branch_length): New function.
1327 (md_estimate_size_before_relax): Handle branch frags.
1328 (mips_relax_frag): Likewise.
1329 (md_convert_frag): Handle branch frags. Warn if branch is
1330 relaxed.
1331
9efb3b7b
KK
13322002-10-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1333
1334 * config/tc-sh.c (sh_force_relocation): Make sure TLS relocs get
1335 emitted.
1336 (md_apply_fix3): Add TLS relocs.
1337 (sh_parse_name): Support @TLSGD, @TLSLDM, @GOTTPOFF, @TPOFF and
1338 @DTPOFF.
1339
3e02c1cc
AM
13402002-10-11 Michel Six <msix@ccr.jussieu.fr>
1341 Alan Modra <amodra@bigpond.net.au>
1342
1343 * config/tc-i386.c (output_jump): Set fx_signed for loop/jcxz.
1344 (md_estimate_size_before_relax): Likewise for 8 bit branches.
1345
ac62e7a3
JR
1346Thu Oct 10 14:31:30 2002 J"orn Rennecke <joern.rennecke@superh.com>
1347
1348 * config/tc-sh.c (assemble_ppi): Initialize reg_x / reg_y / reg_n
1349 inside loop.
1350
f61dfddf
SC
13512002-10-09 Richard Shann <richard.shann@superh.com>
1352 Stephen Clarke <stephen.clarke@superh.com>
1353
1354 * config/tc-sh64.c (sh64_target_format): Add support for sh64
1355 Linux environment.
1356
28602ebf
KK
13572002-10-03 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1358
1359 * contig/tc-sh.c (sh_local_pcrel): New.
1360 (sh_force_relocation): Use sh_local_pcrel.
1361 (md_pcrel_from_section): Check the relocation type whether it
1362 should be resolved locally. Use S_FORCE_RELOC.
1363
97724570
AM
13642002-10-01 Alan Modra <amodra@bigpond.net.au>
1365
1366 * config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Define.
1367 (TC_FORCE_RELOCATION): Tidy arg.
1368
60b63b72 13692002-09-30 Gavin Romig-Koch <gavin@redhat.com>
3e02c1cc
AM
1370 Ken Raeburn <raeburn@cygnus.com>
1371 Aldy Hernandez <aldyh@redhat.com>
1372 DJ Delorie <dj@redhat.com>
1373 Michael Meissner <meissner@redhat.com>
1374 Eric Christopher <echristo@redhat.com>
1375 Richard Sandiford <rsandifo@redhat.com>
60b63b72
RS
1376
1377 * doc/c-mips.texi: Add entries for -march=vr4120,vr4130,vr4181,
1378 vr5400 and vr5500. Add entry for -mfix-vr4122-bugs.
1379 * config/tc-mips.c (CPU_HAS_DROR, CPU_HAS_ROR): New macros.
1380 (hilo_interlocks): True for CPU_VR5500.
1381 (gpr_interlocks, cop_interlocks): True for CPU_VR5400 and CPU_VR5500.
1382 (mips_fix_vr4122_bugs): New.
1383 (append_insn): Work around 4122 errors if mips_fix_vr4122_bugs.
1384 (mips_emit_delays): Likewise.
1385 (macro2) [M_DROLI]: Use dror or dror32 if CPU_HAS_DROR.
1386 [M_ROLI]: Likewise ror if CPU_HAS_ROR.
1387 (validate_mips_insn, mips_ip): Handle '[', ']', 'e' and '%'.
1388 (OPTION_FIX_VR4122, OPTION_NO_FIX_VR4122): New options.
1389 (md_longopts): Add -mfix-vr4122-bugs and -no-mfix-vr4122-bugs.
1390 (OPTION_ELF_BASE): Bump.
1391 (md_parse_option): Handle the new options.
1392 (mips_cpu_info_table): Add entries for vr4120, vr4130, vr4181,
1393 vr5400 and vr5500.
1394
7a49a8c2
L
13952002-09-29 H.J. Lu <hjl@gnu.org>
1396
1397 * config/tc-mips.c (md_apply_fix3): Subtract the symbol value
1398 twice if howto->pcrel_offset is true.
1399
04ff5cb5 14002002-09-28 Matt Thomas <matt@3am-software.com>
3e02c1cc 1401 Jason Thorpe <thorpej@wasabisystems.com>
04ff5cb5
JT
1402
1403 * config/tc-vax.c (md_estimate_size_before_relax): Only try to
1404 convert undefined references to GOT32/PLT32 if PIC code is
1405 requested. Fix comment.
1406
8ba4dac0
DJ
14072002-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1408
1409 * config/tc-sh.c (sh_force_relocation): Return 0 for
1410 some PC relative relocations when not relaxing.
1411
bffbf940
JJ
14122002-09-26 Jakub Jelinek <jakub@redhat.com>
1413
1414 * config/tc-i386.c (tc_i386_fix_adjustable): Add x86-64 TLS relocs.
1415 Define them if not BFD_ASSEMBLER.
1416 (lex_got): Handle @tlsgd, @dtpoff and @tpoff in 64-bit mode, add
1417 @tlsld.
1418 (md_apply_fix3): No addend for BFD_RELOC_X86_64_TLSGD,
1419 BFD_RELOC_X86_64_TLSLD and BFD_RELOC_X86_64_GOTTPOFF.
1420 (tc_gen_reloc): Handle x86-64 TLS relocs.
1421
87733541
AM
14222002-09-27 Alan Modra <amodra@bigpond.net.au>
1423
1424 * config/tc-avr.c (md_apply_fix3): Reinstate code handling pcrel
1425 fixups to current or absolute section.
1426
825487fa
JW
14272002-09-26 Jim Wilson <wilson@redhat.com>
1428
1429 * config/tc-v850.c (v850_offset): Use frag_var instead of frag_now_fix
1430 and frag_more.
1431
3396de36
TS
14322002-09-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1433
1434 * config/tc-mips.c (CPU_HAS_MIPS16): Add mips-lsi-elf as MIPS16
1435 capable configuration.
1436 (macro_build): Check for MIPS16 capability, not for actual MIPS16 code
1437 generation.
1438 (mips_ip): Likewise.
1439
f3c0ec86
TS
14402002-09-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1441
1442 * config/tc-mips.c (append_insn): Fix jump overflow check.
1443
52271982
AM
14442002-09-24 Alan Modra <amodra@bigpond.net.au>
1445
1446 * config/tc-i386.c (process_operands): Warn about "lea" segment
1447 overrides.
1448
823882f5
DD
14492002-09-22 Mark Elbrecht <snowball3@softhome.net>
1450
1451 * write.c: Delete set_segment_vma and prototype. Update all callers.
1452
6539b54b
AM
14532002-09-21 Alan Modra <amodra@bigpond.net.au>
1454
1455 * config/tc-i386.c (md_apply_fix3): Replace S_IS_EXTERNAL,
1456 S_IS_WEAK etc. with S_FORCE_RELOC call. Correct comment.
1457 Rename "fseg" to "sym_seg".
1458 * Makefile.am: Run "make dep-am".
1459 * Makefile.in: Regenerate.
1460 * doc/Makefile.in: Regenerate.
1461
9f269a72
NC
14622002-09-20 Nick Clifton <nickc@redhat.com>
1463
1464 * symbols.c (colon): Do not allow symbols to be created in the
7cf10893
NC
1465 absolute section if WORKING_DOT_WORD is not defined and
1466 new_broken_words would require a new frag to be created.
9f269a72 1467
26346241
AM
14682002-09-20 Alan Modra <amodra@bigpond.net.au>
1469
f6cf69d7
AM
1470 * expr.c (expr): Simplify foo-foo here.
1471 (clean_up_expression): Remove O_subtract code.
1472
26346241
AM
1473 * write.h (struct fix): Add fx_dot_value.
1474 (dot_value): Declare.
1475 * write.c (dot_value): New var.
1476 (fix_new_internal): Save dot_value as fx_dot_value.
f6cf69d7 1477 (fixup_segment): Adjust fx_offset using fx_dot_value.
26346241
AM
1478 * expr.c (expr): Update dot_value.
1479
37e55690
JJ
14802002-09-19 Jakub Jelinek <jakub@redhat.com>
1481
1482 * config/tc-i386.c (tc_i386_fix_adjustable): Handle
1483 BFD_RELOC_386_TLS_IE and BFD_RELOC_386_TLS_GOTIE.
1484 (BFD_RELOC_386_TLS_IE, BFD_RELOC_386_TLS_GOTIE): Define to 0
1485 if not defined.
1486 (lex_got): Handle @GOTNTPOFF and @INDNTPOFF.
1487 (md_apply_fix3, tc_gen_reloc): Handle BFD_RELOC_386_TLS_IE and
1488 BFD_RELOC_386_TLS_GOTIE.
1489
021c2b5e
RH
14902002-09-19 Richard Henderson <rth@redhat.com>
1491
1492 * config/tc-alpha.c (md_pcrel_from): Only adjust special for
1493 branch type relocs.
1494 (alpha_force_relocation): Don't special-case branch type relocs.
1495
4f2a7c9e
NC
14962002-09-19 Nick Clifton <nickc@redhat.com>
1497
1498 * config/tc-m68k.c (select_control_regs): Handle situation where
1499 architecture has not yet been selected.
1500
885add95
CD
15012002-09-18 Chris Demetriou <cgd@broadcom.com>
1502
1503 * config/tc-mips.c (IS_SEXT_32BIT_NUM): Move closer to top of file.
1504 (IS_SEXT_16BIT_NUM): New macro.
1505 (macro_build_ldst_constoffset): New function, to build a set of
1506 instructions to do a load or store from a constant offset relative
1507 to a given register.
1508 (macro, s_cprestore): Use macro_build_ldst_constoffset to implement
1509 .cprestore pseudo-op.
1510
65551fa4
CD
15112002-09-18 Chris Demetriou <cgd@broadcom.com>
1512
1513 * config/tc-mips.c (md_apply_fix3): Just return for BFD_RELOC_8.
1514
4cf0dd0d
TS
15152002-09-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1516
1517 * config/tc-mips.c (s_change_section): Fix parsing. Code cleanup.
1518
ed6fb7bd
SC
15192002-09-17 Stan Cox <scox@redhat.com>
1520
1521 * tc-mips.c (load_address): Use BFD_RELOC_MIPS_GOT_DISP for newabi.
1522 (macro): Likewise for la. Likewise for ld.
1523 (mips_after_parse_args): Make -xgot optional, not the default.
1524 (md_apply_fix3): Allow composite relocation to set up gp.
1525 (tc_gen_reloc): Allow relaxing for newabi.
1526 Relax R_MIPS_CALL16 to R_MIPS_GOT_PAGE/R_MIPS_GOT_OFST if local.
1527 Relax R_MIPS_GOT16/R_MIPS_LO16 to R_MIPS_GOT_DISP if local.
1528
6189168b
NC
15292002-09-17 Nick Clifton <nickc@redhat.com>
1530
1531 * config/tc-arm.c (md_apply_fix3): Note that an implemented
1532 BFD_RELOC_ARM_IMMEDIATE has been done.
f6cf69d7 1533 (tc_gen_reloc): Do not issue reloc number of unimplemented
6189168b
NC
1534 BFD_RELOC_ARM_IMMEDIATE and BFD_RELOC_ARM_OFFSET_IMM relocs -
1535 their name is already in the error message - plus remove them
1536 from the default case.
1537
1538 * config/tc-arm.c (do_ldmstm): Warn about unpredictable
1539 behavior of instructions.
1540
75d12d11
AM
15412002-09-17 Svein E. Seldal <Svein.Seldal@solidas.com>
1542
1543 * config/tc-tic4x.c: Add function declarations and ATTRIBUTE_UNUSED.
1544 Convert functions to K&R format.
1545
7ed4a06a
TS
15462002-09-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1547
1548 * config/tc-mips.c (pdr_seg): Define only for ELF.
1549 (s_change_section): Remove unused variable. Don't use for nonELF.
1550
e8cf2216
TS
15512002-09-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1552
1553 * config/obj-elf.c (obj_elf_change_section): Move prototype to
1554 obj-elf.h
1555 * config/obj-elf.h (obj_elf_change_section): Likewise.
1556
48b91938
RH
15572002-09-16 Elias Athanasopoulos <eathan@otenet.gr>
1558
1559 * dwarf2dbg.c (out_debug_abbrev): Add support for the DW_AT_name field.
1560 (out_debug_info): Likewise.
1561
4ada7262
DB
15622002-09-16 Bruno Haible <bruno@clisp.org>
1563
1564 * config/tc-i386.h (ELF_TARGET_FORMAT): New macro.
1565 (TARGET_FORMAT): Use ELF_TARGET_FORMAT instead of "elf32-i386".
1566 * config/tc-i386.c (i386_target_format): Likewise.
1567 * config/tc-alpha.h (ELF_TARGET_FORMAT): New macro.
1568 (TARGET_FORMAT): Use ELF_TARGET_FORMAT instead of "elf64-alpha".
1569
7fe9cf6b
NC
15702002-09-13 Nick Clifton <nickc@redhat.com>
1571
1572 * config/tc-ppc.c (md_assemble): Do not count FAKE operands
1573 when deciding if any operands have been skipped.
1574
e09f4395
NC
15752002-09-11 Nick Clifton <nickc@redhat.com>
1576
004d9caf
NC
1577 * NEWS: New TI port supports both C4x and C3x series of DSPs.
1578
e09f4395
NC
1579 * po/tr.po: Updated Turkish translation.
1580
9dfe7b39
JJ
15812002-09-11 Jakub Jelinek <jakub@redhat.com>
1582
1583 * config/tc-i386.c (md_apply_fix3): Allow addend for
1584 BFD_RELOC_386_TLS_LDO_32, BFD_RELOC_386_TLS_LE and
1585 BFD_RELOC_386_TLS_LE_32.
1586
502b19cb
JL
15872002-09-05 Jeff Law <law@redhat.com>
1588
f6cf69d7
AM
1589 * config/tc-hppa.c (md_apply_fix3): Don't set fx_done for
1590 marker relocations such as ENTRY/EXIT.
1591 * config/tc-hppa.h (MD_APPLY_SYM_VALUE): Definition applies
1592 to both OBJ_ELF and OBJ_SOM.
502b19cb 1593
a161fe53
AM
15942002-09-05 Alan Modra <amodra@bigpond.net.au>
1595
1596 * doc/internals.texi (md_apply_fix3): Expand.
1597 (TC_VALIDATE_FIX, TC_FORCE_RELOCATION, TC_FORCE_RELOCATION_ABS,
1598 TC_FORCE_RELOCATION_LOCAL, TC_FORCE_RELOCATION_SUB_SAME,
1599 TC_FORCE_RELOCATION_SUB_ABS, TC_FORCE_RELOCATION_SUB_LOCAL,
1600 TC_VALIDATE_FIX_SUB, MD_APPLY_SYM_VALUE, S_FORCE_RELOC,
1601 EXTERN_FORCE_RELOC): Document.
1602 (TC_HANDLES_FX_DONE, obj_fix_adjustable): Remove.
1603 * as.h: Don't include struc-symbol.h for arc.
1604 (IS_ELF): Define.
1605 * cgen.c (gas_cgen_md_apply_fix3): Remove *valP fudges and code to
1606 subtract absolute symbol.
1607 * obj.h (struct format_ops): Add frob_file_before_fix.
1608 * subsegs.c (section_symbol): Set BSF_SECTION_SYM flag.
1609 * symbols.c (S_FORCE_RELOC): New function.
1610 * symbols.h (S_FORCE_RELOC): Declare.
1611 * write.c (TC_FORCE_RELOCATION): Change default.
1612 (TC_FORCE_RELOCATION_ABS): Define.
1613 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
1614 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
1615 (TC_FORCE_RELOCATION_SECTION): Don't define.
1616 (TC_FORCE_RELOCATION_SUB_SAME): Define this instead.
1617 (TC_FORCE_RELOCATION_SUB_ABS): Define.
1618 (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
1619 (TC_VALIDATE_FIX_SUB): Define.
1620 (TC_FIX_ADJUSTABLE): Don't define.
1621 (MD_APPLY_SYM_VALUE): Define this instead.
1622 (abs_section_sym): New variable.
1623 (adjust_reloc_syms): Use S_FORCE_RELOC. Remove obj_fix_adjustable
1624 call. Don't symbol_mark_used_in_reloc here. Simplify link_once tests.
1625 Don't put the absolute section sym on fixups here.
1626 (fix_segment): New function.
1627 (write_relocs): Don't call fixup_segment from here.
1628 (write_object_file): Instead call tc_frob_file_before_fix,
1629 obj_frob_file_before_fix, and fix_segment prior to symbol table code.
1630 Don't output the absolute section symbol.
1631 (fixup_segment): Rewrite.
1632 * write.h (abs_section_sym): Declare.
1633 * config/obj-aout.c (obj_aout_frob_file_before_fix): Rename from
1634 obj_aout_frob_file.
1635 (aout_format_ops): Adjust to suit.
1636 * config/obj-aout.h (obj_frob_file): Don't define.
1637 (obj_frob_file_before_fix): Define.
1638 (obj_aout_frob_file_before_fix): Rename from obj_aout_frob_file.
1639 (S_FORCE_RELOC): Define.
1640 * config/obj-bout.h (S_FORCE_RELOC): Define.
1641 * config/obj-coff.c (coff_format_ops): Init new field.
1642 * config/obj-coff.h: Formatting fixes.
1643 (obj_sec_sym_ok_for_reloc): Define.
1644 (S_FORCE_RELOC): Define.
1645 * config/obj-ecoff.c (ecoff_frob_file_before_fix): Split out ..
1646 (ecoff_frob_file): .. from here.
1647 (ecoff_format_ops): Add new function.
1648 * config/obj-ecoff.h (ecoff_frob_file_before_fix): Declare.
1649 (obj_frob_file_before_fix): Define.
1650 * config/obj-elf.c (elf_format_ops): Init new field.
1651 * config/obj-elf.h (obj_sec_sym_ok_for_reloc): Expand comment.
1652 * config/obj-ieee.h: Formatting fixes.
1653 (S_FORCE_RELOC): Define.
1654 * config/obj-multi.h (obj_frob_file_before_fix): Define.
1655 * config/obj-vms.h (S_FORCE_RELOC): Define.
1656 * config/tc-alpha.c (md_apply_fix3): Correct GPDISP comment.
1657 (alpha_force_relocation): Use S_FORCE_RELOC, and don't return 0
1658 for BFD_RELOC_32 and BFD_RELOC_64.
1659 (alpha_fix_adjustable): Remove extern and weak tests.
1660 (alpha_before_fix): Rename from alpha_adjust_symtab.
1661 (alpha_adjust_relocs): Rename from alpha_adjust_symtab_relocs.
1662 * config/tc-alpha.h (struct fix, struct alpha_reloc_tag): Declare.
1663 (TC_VALIDATE_FIX): Tweak param name.
1664 (TC_FORCE_RELOCATION, tc_fix_adjustable): Likewise.
1665 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
1666 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
1667 (MD_APPLY_SYM_VALUE): Define.
1668 (tc_adjust_symtab): Don't define.
1669 (alpha_adjust_symtab): Don't declare.
1670 (tc_frob_file_before_fix): Define.
1671 (alpha_before_fix): Declare.
1672 (TC_INIT_FIX_DATA): Tweak param names.
1673 * config/tc-arc.c: Include "struc-symbol.h".
1674 (md_pcrel_from): Remove undefined sym fudge.
1675 (md_apply_fix3): Remove *valP fudges and code to subtract abs sym.
1676 Don't set fx_addnumber.
1677 (tc_gen_reloc): Remove spurious fx_addnumber comment.
1678 * config/tc-arc.h (MD_APPLY_SYM_VALUE): Define.
1679 (EXTERN_FORCE_RELOC): Define.
1680 * config/tc-arm.c (md_apply_fix3 <case BFD_RELOC_ARM_GOTPC>): Remove.
1681 (tc_gen_reloc): Fudge ARM_GOTPC addend.
1682 (arm_validate_fix): Return void.
1683 (arm_fix_adjustable <elf version>): Remove extern and weak tests.
1684 Add plt and got reloc tests.
1685 (arm_force_relocation): Call S_FORCE_RELOC.
1686 * config/tc-arm.h (struct fix): Forward declare.
1687 (TC_VALIDATE_FIX): No longer set add_symbolP.
1688 (arm_validate_fix): Adjust declaration.
1689 (TC_FORCE_RELOCATION <pe version): Call S_FORCE_RELOC.
1690 (TC_FORCE_RELOCATION): Tweak param name.
1691 (TC_INIT_FIX_DATA): Likewise.
1692 (obj_fix_adjustable): Don't define.
1693 (tc_fix_adjustable): Call arm_fix_adjustable.
1694 (TC_FIX_ADJUSTABLE): Don't define.
1695 (MD_APPLY_SYM_VALUE): Define.
1696 (EXTERN_FORCE_RELOC): Define.
1697 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
1698 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
1699 * config/tc-avr.c (md_apply_fix3): Don't cast valP pointer type.
1700 Remove *valP fudges and code to subtract abs sym. Don't set
1701 fx_addnumber.
1702 * config/tc-avr.h: Formatting.
1703 (EXTERN_FORCE_RELOC): Define.
1704 (MD_APPLY_SYM_VALUE): Define.
1705 * config/tc-cris.c (tc_gen_reloc): Don't use fx_addnumber.
1706 (md_apply_fix3): Remove code to subtract abs sym.
1707 (md_cris_force_relocation): Update comment. Call S_FORCE_RELOC.
1708 * config/tc-cris.h (TC_FORCE_RELOCATION): Tweak param name.
1709 (IS_CRIS_PIC_RELOC, tc_fix_adjustable): Likewise.
1710 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
1711 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
1712 (tc_fix_adjustable): Remove extern, weak tests.
1713 * config/tc-d10v.c (tc_gen_reloc): Don't fiddle address of
1714 BFD_RELOC_VTABLE_INHERIT relocs. Don't use fx_addnumber.
1715 (md_apply_fix3): Don't cast valP pointer type. Remove *valP fudges
1716 and code to subtract abs sym.
1717 (d10v_fix_adjustable): Remove extern, weak, SEC_MERGE tests.
1718 (d10v_force_relocation): Call S_FORCE_RELOC.
1719 * config/tc-d10v.h: Don't include write.h.
1720 (struct fix): Instead, forward declare.
1721 (MD_PCREL_FROM_SECTION): Tweak param names.
1722 (md_pcrel_from_section): Use "struct fix" instead of "fixS".
1723 (d10v_fix_adjustable): Likewise.
1724 (obj_fix_adjustable): Don't define.
1725 (tc_fix_adjustable): Define.
1726 (TC_FORCE_RELOCATION): Tweak param name.
1727 (MD_APPLY_SYM_VALUE): Define.
1728 (EXTERN_FORCE_RELOC): Define.
1729 * config/tc-d30v.c (tc_gen_reloc): Don't use fx_addnumber.
1730 (md_apply_fix3): Don't cast valP pointer type. Remove *valP fudges
1731 and code to subtract abs sym.
1732 * config/tc-d30v.h: Don't include write.h.
1733 (struct fix): Instead, forward declare.
1734 (MD_PCREL_FROM_SECTION): Tweak param names.
1735 (md_pcrel_from_section): Use "struct fix" instead of "fixS".
1736 (MD_APPLY_SYM_VALUE): Define.
1737 (EXTERN_FORCE_RELOC): Define.
1738 * config/tc-dlx.c (md_dlx_force_relocation): Call S_FORCE_RELOC.
1739 (md_dlx_fix_adjustable): Don't test for NULL fx_addsy.
1740 (md_apply_fix3): No need to test fx_pcrel before setting fx_done.
1741 (tc_gen_reloc): Don't fiddle with BFD_RELOC_VTABLE_INHERIT relocs.
1742 Adjust the address for BFD_RELOC_VTABLE_ENTRY, not the addend.
1743 Don't use fx_addnumber.
1744 * config/tc-dlx.h: Don't include write.h.
1745 (md_convert_frag): We're not alpha twice over.
1746 (EXTERN_FORCE_RELOC): Define.
1747 (obj_fix_adjustable): Don't define.
1748 (tc_fix_adjustable): Define.
1749 (TC_FIX_ADJUSTABLE): Don't define.
1750 (MD_APPLY_SYM_VALUE): Define.
1751 (LOCAL_LABELS_DOLLAR): Undef always.
1752 * config/tc-fr30.c (fr30_force_relocation): Call S_FORCE_RELOC.
1753 (fr30_fix_adjustable): Remove extern, weak tests.
1754 * config/tc-fr30.h (MD_APPLY_SYM_VALUE): Define.
1755 (obj_fix_adjustable): Don't define.
1756 (tc_fix_adjustable): Define.
1757 (struct fix): Forward declare.
1758 (MD_PCREL_FROM_SECTION): Tweak param name. Remove duplicate.
1759 * config/tc-frv.c (frv_force_relocation): Call S_FORCE_RELOC.
1760 (frv_fix_adjustable): Don't do extern, weak tests.
1761 * config/tc-frv.h (MD_APPLY_SYM_VALUE): Define.
1762 (TC_FIX_ADJUSTABLE): Don't define.
1763 (obj_fix_adjustable): Don't define.
1764 (tc_fix_adjustable): Define.
1765 (struct fix): Forward declare.
1766 (MD_PCREL_FROM_SECTION): Tweak param name. Remove duplicate.\
1767 * config/tc-h8300.c (md_apply_fix3): Don't cast valP pointer type.
1768 * config/tc-h8300.h (struct fix): Forward declare.
1769 (EXTERN_FORCE_RELOC): Define.
1770 * config/tc-hppa.c (md_apply_fix3): Remove subtraction of sym value.
1771 (hppa_fix_adjustable): Don't test extern or weak. Don't
1772 symbol_mark_used_in_reloc.
1773 (hppa_force_relocation): Use S_FORCE_RELOC instead of S_IS_EXTERNAL
1774 and S_IS_WEAK.
1775 * config/tc-hppa.h (EXTERN_FORCE_RELOC): Define
1776 (TC_FORCE_RELOCATION, TC_INIT_FIX_DATA): Tweak param name.
1777 (TC_FORCE_RELOCATION_SECTION): Don't define.
1778 (MD_APPLY_SYM_VALUE): Define.
1779 * config/tc-i370.c (md_apply_fix3): Remove *valP fudges and code
1780 to subtract abs sym.
1781 * config/tc-i370.h: Remove ifdef OBJ_ELF tests.
1782 (MD_APPLY_SYM_VALUE): Define.
1783 (MD_PCREL_FROM_SECTION): Tweak param name.
1784 * config/tc-i386.c (tc_i386_fix_adjustable): Remove weak, extern tests.
1785 (md_apply_fix3): Test fx_addsy, not fx_pcrel.
1786 (i386_force_relocation): New function.
1787 * config/tc-i386.h (TC_COFF_FIX2RTYPE): Tweak param name.
1788 (TC_VALIDATE_FIX): Likewise.
1789 (TC_FIX_ADJUSTABLE): Don't define.
1790 (MD_APPLY_SYM_VALUE): Define.
1791 (TC_FORCE_RELOCATION <elf version>): Call i386_force_relocation.
1792 (i386_force_relocation): Declare.
1793 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
1794 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
1795 (TC_FORCE_RELOCATION <coff version>): Call S_FORCE_RELOC.
1796 * config/tc-i860.c (md_apply_fix3): Don't cast valP pointer type.
1797 * config/tc-i860.h (MD_APPLY_SYM_VALUE): Define.
1798 (EXTERN_FORCE_RELOC): Define.
1799 * config/tc-i960.c (reloc_callj): Remove declaration. Return false.
1800 (md_apply_fix3): Don't cast valP pointer type. Move code here from
1801 old fixup_segment. No need to test fx_pcrel before setting fx_done.
1802 (i960_validate_fix): Remove add_symbolPP arg and add_symbolP macro.
1803 Use fx_addsy instead of add_symbolP, as_bad_where instead of as_bad.
1804 Remove #if 0 code. Invert return boolean.
1805 * config/tc-i960.h (TC_COUNT_RELOC): Tweak param name.
1806 (TC_COFF_FIX2RTYPE, TC_ADJUST_RELOC_COUNT, TC_VALIDATE_FIX): Likewise.
1807 (tc_headers_hook, tc_coff_fix2rtype): Remove declaration.
1808 (tc_coff_sizemachdep): Prototype.
1809 (i960_handle_align): Likewise.
1810 (i960_validate_fix): Adjust declaration.
1811 (reloc_callj): Likewise.
1812 (EXTERN_FORCE_RELOC): Define.
1813 (TC_FORCE_RELOCATION_SUB_SAME): Define.
1814 (TC_FORCE_RELOCATION_ABS): Define.
1815 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
1816 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
1817 (TC_FIX_ADJUSTABLE): Don't define.
1818 (MD_APPLY_SYM_VALUE): Define.
1819 * config/tc-ia64.c (ia64_force_relocation): Call S_FORCE_RELOC.
1820 * config/tc-ia64.h (MD_APPLY_SYM_VALUE): Define.
1821 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
1822 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
1823 * config/tc-ip2k.c (ip2k_force_relocation): Call S_FORCE_RELOC.
1824 * config/tc-ip2k.h (MD_APPLY_FIX3): Don't define.
1825 (MD_APPLY_SYM_VALUE): Define.
1826 (EXTERN_FORCE_RELOC): Define.
1827 (TC_FORCE_RELOCATION): Tweak param name.
1828 * config/tc-m32r.c (m32r_force_relocation): Call S_FORCE_RELOC.
1829 (m32r_fix_adjustable): Don't test extern, weak.
1830 * config/tc-m32r.h (MD_PCREL_FROM_SECTION): Tweak param name.
1831 (MD_APPLY_SYM_VALUE): Define.
1832 (obj_fix_adjustable): Don't define.
1833 (tc_fix_adjustable): Define.
1834 (tc_frob_file): Don't define.
1835 (tc_frob_file_before_fix): Define.
1836 (EXTERN_FORCE_RELOC): Define.
1837 * config/tc-m68hc11.c (tc_gen_reloc): Set addend to zero. Adjust
1838 BFD_RELOC_VTABLE_ENTRY address.
1839 (tc_m68hc11_force_relocation): Call S_FORCE_RELOC.
1840 (tc_m68hc11_fix_adjustable): Don't test relaxable_symbol.
1841 (md_apply_fix3): Remove *valP fudges and code to subtract abs sym.
1842 Remove duplicated fx_done code.
1843 * config/tc-m68hc11.h (MD_APPLY_SYM_VALUE): Define.
1844 (EXTERN_FORCE_RELOC): Define.
1845 * config/tc-m68k.c (tc_m68k_fix_adjustable): Don't test
1846 relaxable_symbol.
1847 * config/tc-m68k.h (TC_COFF_FIX2RTYPE): Tweak param name.
1848 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
a161fe53
AM
1849 (TC_FIX_ADJUSTABLE): Don't define.
1850 (EXTERN_FORCE_RELOC): Define.
1851 (MD_APPLY_SYM_VALUE): Define.
1852 (TC_FORCE_RELOCATION): Call S_FORCE_RELOC.
1853 * config/tc-mcore.c (md_apply_fix3): Don't cast valP pointer type.
1854 Remove fx_addsy tests.
1855 (mcore_force_relocation): Call S_FORCE_RELOC.
1856 (mcore_fix_adjustable): Don't test fx_addsy.
1857 * config/tc-mcore.h (MD_PCREL_FROM_SECTION): Tweak param name.
1858 (EXTERN_FORCE_RELOC): Define.
1859 (obj_fix_adjustable): Don't define.
1860 (tc_fix_adjustable): Define.
1861 (MD_APPLY_SYM_VALUE): Define.
1862 * config/tc-mips.c (enum mips_pic_level): Move to tc-mips.h.
1863 (mips_pic): No longer static.
1864 (mips_force_relocation): Call S_FORCE_RELOC.
1865 (mips_fix_adjustable): Remove extern, weak tests.
1866 * config/tc-mips.h (enum mips_pic_level): Declare.
1867 (mips_pic): Declare.
1868 (tc_frob_file): Don't define.
1869 (tc_frob_file_before_fix): Define this instead.
1870 (EXTERN_FORCE_RELOC): Define.
1871 * config/tc-mmix.c (md_apply_fix3): Replace real_reg_section tests
1872 with reg_section tests. Set fx_done instead of calling
1873 symbol_clear_used_in_reloc on bad relocs.
1874 (tc_gen_reloc): Zero fx_addsy on bad relocs.
1875 (mmix_force_relocation): Remove weak sym test. Call S_FORCE_RELOC.
1876 (mmix_adjust_symtab): Simplify list handling. Abort on any
1877 nonsense.
1878 * config/tc-mmix.h (tc_fix_adjustable): Remove weak tests. Check
1879 BFD_RELOC_MMIX_LOCAL.
1880 (tc_frob_symbol): Keep user defined syms in reg_section. Don't punt.
1881 (EXTERN_FORCE_RELOC): Define.
1882 (MD_PCREL_FROM_SECTION): Tweak param name.
1883 (tc_frob_file): Don't define.
1884 (tc_frob_file_before_fix): Define this instead.
1885 * config/tc-mn10300.c (mn10300_force_relocation): Call S_FORCE_RELOC.
1886 Remove SEC_CODE checks.
1887 (mn10300_fix_adjustable): Remove extern and weak tests.
1888 * config/tc-mn10300.h (EXTERN_FORCE_RELOC): Define.
1889 (TC_FORCE_RELOCATION): Tweak param name.
1890 (obj_fix_adjustable): Don't define.
1891 (TC_FORCE_RELOCATION_SUB_SAME): Define to handle SEC_CODE.
1892 * config/tc-ns32k.h (TC_FIX_DATA_PRINT): Tweak param name.
1893 * config/tc-openrisc.c (openrisc_force_relocation): Call S_FORCE_RELOC.
1894 (openrisc_fix_adjustable): Don't test fx_addsy.
1895 * config/tc-openrisc.h (MD_APPLY_SYM_VALUE): Define.
1896 (obj_fix_adjustable): Don't define.
1897 (tc_fix_adjustable): Define this instead.
1898 (MD_PCREL_FROM_SECTION): Remove duplicate. Tweak param name.
1899 * config/tc-or32.c (md_apply_fix3): Don't cast valP pointer type.
1900 (tc_gen_reloc): Don't fiddle with BFD_RELOC_VTABLE_INHERIT relocs.
1901 Adjust the address for BFD_RELOC_VTABLE_ENTRY, not the addend.
1902 * config/tc-or32.h (EXTERN_FORCE_RELOC): Define.
1903 (MD_APPLY_SYM_VALUE): Define.
1904 * config/tc-pj.c (md_apply_fix3): Don't cast valP pointer type.
1905 Don't subtract symbol value.
1906 * config/tc-pj.h (md_pcrel_from): Tweak param name.
1907 (EXTERN_FORCE_RELOC): Define.
1908 (TC_FORCE_RELOCATION): Call S_FORCE_RELOC.
1909 (MD_APPLY_SYM_VALUE): Define.
1910 (obj_fix_adjustable): Don't define.
1911 (tc_fix_adjustable): Define this instead.
1912 * config/tc-ppc.c (ppc_frob_symbol <coff version>): Ignore absolute
1913 section sym.
1914 (ppc_force_relocation <coff version>): Call S_FORCE_RELOC.
1915 (ppc_force_relocation <elf version>): New.
1916 (ppc_fix_adjustable <elf version>): Remove extern and weak tests.
1917 (md_apply_fix3): Don't subtract symbol values for ELF. Update
1918 comments. Don't subtract fx_subsy as that is already done.
1919 * config/tc-ppc.h (tc_fix_adjustable): Tweak param name.
1920 (MD_PCREL_FROM_SECTION): Likewise.
1921 (TC_FORCE_RELOCATION): Define for both ELF and XCOFF as calling
1922 ppc_force_relocation.
1923 (TC_FORCE_RELOCATION_SECTION): Delete.
1924 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
1925 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
1926 (MD_APPLY_SYM_VALUE): Define.
1927 * config/tc-s390.c: #include "dwarf2dbg.h".
1928 (s390_insn): Remove excess parens.
1929 (tc_s390_fix_adjustable): Remove extern, weak, SEC_MERGE tests.
1930 (tc_s390_force_relocation): Call S_FORCE_RELOC.
1931 (md_apply_fix3): Add ATTRIBUTE_UNUSED on "seg". Abort when fx_subsy
1932 non-NULL. Don't subtract off fx_addsy value.
1933 * config/tc-s390.h (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
1934 (TC_FORCE_RELOCATION, MD_PCREL_FROM_SECTION): Tweak param name.
1935 (TC_FIX_ADJUSTABLE): Don't define.
1936 (MD_APPLY_SYM_VALUE): Define.
1937 * config/tc-sh.c (SWITCH_TABLE_CONS): Move to tc-sh.h.
1938 (SWITCH_TABLE): Likewise.
1939 (sh_force_relocation): Call S_FORCE_RELOC.
1940 (sh_fix_adjustable): Remove "return 1" cases handled by the default.
1941 Replace TC_RELOC_RTSYM_LOC_FIXUP with reloc type tests.
1942 (md_apply_fix3 <case BFD_RELOC_32_PLT_PCREL>): Simplify,
1943 fx_addnumber is zero on entry. Save val in fx_addnumber.
1944 (tc_gen_reloc): Don't subtract fx_subsy.
1945 * config/tc-sh.h (struct fix): Move.
1946 (obj_fix_adjustable): Don't define.
1947 (tc_fix_adjustable): Define this instead.
1948 (TC_FIX_ADJUSTABLE): Don't define.
1949 (MD_APPLY_SYM_VALUE): Define.
1950 (SWITCH_TABLE_CONS): Define.
1951 (SWITCH_TABLE): Define.
1952 (TC_FORCE_RELOCATION_SUB_SAME): Define.
1953 (TC_VALIDATE_FIX_SUB): Define.
1954 (MD_PCREL_FROM_SECTION): Tweak param name.
1955 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
1956 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
1957 (TC_FORCE_RELOCATION_SUB_ABS): Define.
1958 * config/tc-sh64.h (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
1959 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
1960 (TC_FORCE_RELOCATION_SUB_SAME): Define.
1961 (TC_VALIDATE_FIX_SUB): Define.
1962 (MD_PCREL_FROM_SECTION): Tweak param name.
1963 * config/tc-sparc.c (md_apply_fix3): Don't subtract off symbol value.
1964 (tc_gen_reloc): Use S_FORCE_RELOC.
1965 (elf32_sparc_force_relocation): Call S_FORCE_RELOC.
1966 * config/tc-sparc.h (TC_FORCE_RELOCATION <coff version>): Remove.
1967 (TC_FORCE_RELOCATION_ABS): Define this instead.
1968 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
1969 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
1970 (tc_fix_adjustable): Remove extern and weak tests. Use S_FORCE_RELOC.
1971 (MD_APPLY_SYM_VALUE): Define.
1972 (TC_FIX_DATA_PRINT): Tweak param name.
1973 * config/tc-tic30.c (USE_STDOUT): Don't define.
1974 (md_parse_option): Remove stupid debug code.
1975 (tc_gen_reloc): Don't use fx_addnumber.
1976 * config/tc-v850.c (v850_fix_adjustable): Remove extern and weak tests.
1977 (v850_force_relocation): Remove weak test. Call S_FORCE_RELOC.
1978 * config/tc-v850.h (obj_fix_adjustable): Don't define.
1979 (tc_fix_adjustable): Define this instead.
1980 (TC_FIX_ADJUSTABLE): Don't define.
1981 (MD_APPLY_SYM_VALUE): Define this instead.
1982 (TC_FORCE_RELOCATION, MD_PCREL_FROM_SECTION): Tweak param name.
1983 * config/tc-vax.h (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
1984 (TC_FIX_ADJUSTABLE): Don't define.
1985 (MD_APPLY_SYM_VALUE): Define this instead.
1986 (tc_fix_adjustable): Remove extern and weak tests.
1987 * config/tc-w65.h (struct fix): Forward declare.
1988 * config/tc-xstormy16.c (xstormy16_force_relocation): Call
1989 S_FORCE_RELOC.
1990 (xstormy16_fix_adjustable): Remove extern and weak tests. Don't
1991 call xstormy16_force_relocation; Instead test for FPTR16 reloc.
1992 (xstormy16_md_apply_fix3): Remove *valP fudges and code to subtract
1993 absolute symbol.
1994 * config/tc-xstormy16.h (MD_APPLY_FIX3): Don't define.
1995 (MD_APPLY_SYM_VALUE): Define.
1996 (obj_fix_adjustable): Don't define.
1997 (tc_fix_adjustable): Define this instead.
1998 (MD_PCREL_FROM_SECTION): Remove duplicate. Tweak param name.
1999
2a98c3a6
AM
20002002-09-04 Alan Modra <amodra@bigpond.net.au>
2001
b782de16
AM
2002 * config/tc-ppc.c (ppc_frob_symbol): Formatting, warning fix.
2003 (ppc_fix_adjustable <coff version>): Cleanup.
2004
2a98c3a6
AM
2005 * config/tc-ppc.c (PPC_HIGHER, PPC_HIGHEST): Fix warning.
2006 (md_parse_option): No -a64 without BFD64.
2007 (ppc_set_cpu): Select appropriate cpu when ppc_obj64.
2008 (ppc_arch): Use bfd_mach_rs6k for bfd_arch_rs6000.
2009
341026c1
NC
20102002-09-04 Nick Clifton <nickc@redhat.com>
2011
2012 * config/tc-ppc.c (md_begin): Do not insert non-BookE32
2013 instructions into the hash table if the target cpu is the BookE32.
2014
a6bd2a4f
HPN
20152002-08-31 Hans-Peter Nilsson <hp@bitrange.com>
2016
2017 * read.c (do_align): Use ATTRIBUTE_UNUSED_LABEL for label, not
2018 ATTRIBUTE_UNUSED.
2019
86aba9db
NC
20202000-08-28 Catherine Moore <clm@redhat.com>
2021
2022 * tc-v850.c (v850_relax): Declare.
2023 (v850_longcode): New routine.
2024 (v850_handle_align): New routine.
2025 (md_pseudo_table): Add longcall and longjump.
2026 (md_parse_option): Check for relax option.
2027 (tc_gen_reloc): Handle BFD_RELOC_V850_LONGCALL,
2028 BFD_RELOC_V850_LONGJUMP, and BFD_RELOC_V850_ALIGN.
2029 (md_apply_fix3): Likewise.
2030 (v850_force_relocation): Likewise.
2031 (v850_comm): Change the current section.
e4512afa 2032 (md_assemble): Ensure that the correct value is put in the
86aba9db
NC
2033 fixup.
2034 (v850_sdata, v850_tdata, v850_zdata, v850_sbss, v850_tbss,
2035 v850_zbss, v850_rosdata, v850_rozdata): Fix section book keeping.
e4512afa 2036 Remove redundant v850ea support.
86aba9db
NC
2037 * tc-v850.h (HANDLE_ALIGN): Define.
2038 (v850_handle_align): Declare.
2039 * doc/c-v850.c: Document -mrelax, .longcall and .longjump.
2040
026df7c5
NC
20412002-08-28 Svein E. Seldal <Svein.Seldal@solidas.com>
2042
2043 * configure.in: Add tic4x-coff* and c4x-coff*-coff-coff targets.
2044 * configure: Regenerate.
2045 * NEWS: Mention new port.
2046
20472002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2048
2049 * config/obj-coff.c: Add sdef definition.
2050 * config/obj-coff.h: Add tic4x include file and set
2051 target format.
2052 * config/tc-tic4x.c: New file.
2053 * config/tc-tic4x.h: New file.
2054
4252e537
AM
20552002-08-28 Alan Modra <amodra@bigpond.net.au>
2056
df44284e
AM
2057 * write.c (BFD_FAST_SECTION_FILL): Remove unused macro.
2058 (TC_ADJUST_RELOC_COUNT): Tweak param name.
2059 (TC_FORCE_RELOCATION, TC_FORCE_RELOCATION_SECTION): Likewise.
2060 (TC_FIX_ADJUSTABLE, MD_PCREL_FROM_SECTION): Likewise.
2061 (RELOC_ENUM): Define.
2062 (fix_new_internal): Use RELOC_ENUM.
2063 (fix_new, fix_new_exp): Likewise.
2064 (adjust_reloc_syms): Comment. Remove unnecessary tests on sym != NULL.
2065 Replace gotos with continue.
2066 (write_relocs): Formatting. Avoid symbol loops in
2067 RELOC_EXPANSION_POSSIBLE case too. Report bfd_reloc_outofrange
2068 errors, and error number in other cases.
2069 (fixup_segment): Remove param names from prototype. Rename
2070 "this_segment_type" to "this_segment". Update linkrelax comment.
2071 Remove "size, "place" and "where" local vars. Formatting. Update
2072 "no symbol" comment. Remove #if 0 and #if 1.
2073
4252e537
AM
2074 * app.c (do_scrub_chars): Don't test IGNORE_NONSTANDARD_ESCAPES. Tidy.
2075
70658493
AM
20762002-08-27 Alan Modra <amodra@bigpond.net.au>
2077
2078 * dwarf2dbg.c: Always include dwarf2dbg.h.
2079 (dwarf2_directive_file): Adjust dummy version args.
2080 * ecoff.c (ecoff_directive_weakext): Add ATTRIBUTE_UNUSED.
2081 * expr.c (clean_up_expression <O_subtract>): Allow subtraction
2082 when symbol values differ.
2083 * read.c (do_align): Add ATTRIBUTE_UNUSED to label.
2084 (pseudo_set <O_subtract>): Remove unnecessary segment test.
2085 * config/obj-bout.c (obj_pseudo_table): Warning fix.
2086
a2199cc1
AM
20872002-08-26 Alan Modra <amodra@bigpond.net.au>
2088
2089 * config/tc-w65.c (md_section_align): Fix typo.
2090 (md_parse_option): Return 0, not 1.
2091
ececec60
NC
20922002-08-22 Nick Clifton <nickc@redhat.com>
2093
2094 * doc/as.texinfo (Section): Note that if '@' is a comment
2095 character then another symbol is used to prefix the section's
2096 type.
2097
14899840
NC
20982002-08-22 Christian Groessler <chris@groessler.org>
2099
2100 * config/tc-z8k.c (get_operands): Adjust ptr variable also in
2101 "case 0" case.
2102
ed71e111
NC
21032002-08-12 Graeme Peterson <gp@qnx.com>
2104
2105 * configure.in: Add support for sh-**-nto* target.
2106 * configure: Regenerate.
2107
dfe0d3fe
JL
21082002-08-21 Nitin Gupta <niting@noida.hcltech.com>
2109
2110 * config/tc-h8300.h (TC_LINKRELAX_FIXUP): Define.
2111
dc1d03fc
EZ
21122002-08-21 Elena Zannoni <ezannoni@redhat.com>
2113
70658493
AM
2114 * config/tc-ppc.c (ppc_cleanup): Do something only if format
2115 is ELF.
2116 (ppc_apuinfo_section_add): Define only if format is ELF.
2117 (md_assemble): Emit APUinfo section only if format is ELF.
2118 Fix formatting.
dc1d03fc 2119
9f1838ed
AM
21202002-08-21 Alan Modra <amodra@bigpond.net.au>
2121
70658493 2122 * config/tc-arc.c (md_pseudo_table <dwarf2_directive_file>): Cast.
9f1838ed
AM
2123 * config/tc-frv.c: Likewise.
2124 * config/tc-hppa.c: Likewise.
2125 * config/tc-ia64.c: Likewise.
2126 * config/tc-ip2k.c: Likewise.
2127 * config/tc-m68hc11.c: Likewise.
2128 * config/tc-m68k.c: Likewise.
2129 * config/tc-mmix.c: Likewise.
2130 * config/tc-mn10300.c: Likewise.
2131 * config/tc-sh.c: Likewise.
2132 * config/tc-sparc.c: Likewise.
2133 * config/tc-v850.c: Likewise.
2134
483fc7cd
RS
21352002-08-20 Richard Sandiford <rsandifo@redhat.com>
2136
2137 * config/tc-mips.c (macro2): Implement rotates by zero using shifts
2138 by zero.
2139
6a0c61b7
EZ
21402002-08-19 Elena Zannoni <ezannoni@redhat.com>
2141
70658493 2142 From matthew green <mrg@redhat.com>
6a0c61b7 2143
70658493
AM
2144 * config/tc-ppc.c (PPC_OPCODE_CLASSIC): Enable this everywhere
2145 PPC_OPCODE_PPC is, except for BookE architectures.
2146 (md_parse_option): Add support for -mspe.
2147 (md_show_usage): Add -mspe.
2148 (md_parse_option): Add support for -me500 and
2149 -me500x2 to generate code for Motorola e500 core complex.
2150 (md_show_usage): Add -me500 and -me500x2.
6a0c61b7 2151
70658493
AM
2152 (PPC_APUINFO_ISEL, PPC_APUINFO_PMR, PPC_APUINFO_RFMCI,
2153 PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE, PPC_APUINFO_EFS,
2154 PPC_APUINFO_BRLOCK): New macros.
6a0c61b7 2155
70658493
AM
2156 (ppc_cleanup): New function.
2157 (ppc_apuinfo_section_add): New function.
2158 (APUID): New macro.
2159 (md_assemble): Collect info and write the APUinfo section.
6a0c61b7 2160
70658493
AM
2161 * config/tc-ppc.h (md_cleanup): Define.
2162 (ppc_cleanup): Export.
2163 (ELF_TC_SPECIAL_SECTIONS): Add .PPC.EMB.apuinfo section.
6a0c61b7 2164
cca86cc8
SC
21652002-08-17 Stan Cox <scox@redhat.com>
2166
2167 * config/obj-elf.c (obj_elf_change_section): Make non-static.
2168 config/tc-mips.c (s_change_section): New function to support
2169 IRIX .section pseudo-op.
2170
50b15da2
NC
21712002-08-16 Nick Clifton <nickc@redhat.com>
2172
2173 * config/tc-v850.c (md_assemble): Fix assembling of "callt 0x3f".
2174
f21f8242
AO
21752002-08-15 Alexandre Oliva <aoliva@redhat.com>
2176
2177 * config/tc-mips.c (macro_build_jalr): Make sure we generate
2178 the fix-up against on the right frag.
2179 (s_cpsetup): Likewise. Parse third argument as expression, to
2180 handle global symbols and forward/backward labels correctly.
2181
11f45fb5
NC
21822002-08-14 Nick Clifton <nickc@redhat.com>
2183
8ac9ba6c
NC
2184 * read.c (stringer): Catch attempts to create strings in the abs
2185 section.
2186
11f45fb5
NC
2187 * config/tc-alpha.c: Fix compiling for COFF targets.
2188 Some minor formatting tidyups.
2189
e371935f
SC
21902002-08-13 Stephane Carrez <stcarrez@nerim.fr>
2191
2192 * config/tc-m68hc11.h (MD_PCREL_FROM_SECTION): Remove.
2193 (TC_HANDLES_FX_DONE): Define to let md_apply_fix3 set fx_done flag
2194 according to the reloc.
2195 (tc_fix_adjustable, tc_m68hc11_fix_adjustable): Define.
2196 (TC_FORCE_RELOCATION): Define.
2197 (tc_m68hc11_force_relocation): Declare.
2198
2199 * config/tc-m68hc11.c (md_pseudo_table): Add relax command.
2200 (s_m68hc11_relax): New function for relax group.
70658493 2201 (build_insn, build_jump_insn): Emit a M68HC11_RL_JUMP reloc at
e371935f
SC
2202 beginning of jump instruction.
2203 (md_pcrel_from): Rename from md_pcrel_from_section and fix
2204 address computation.
2205 (tc-gen_reloc): Update.
70658493 2206 (md_estimate_size_before_relax): Create the BFD_RELOC_16_PCREL as
e371935f
SC
2207 PC-relative fixup.
2208 (tc_m68hc11_force_relocation): New function, handle new relocs.
2209 (tc_m68hc11_fix_adjustable): New to make sure there are enough
2210 reloc for the linker relax pass.
2211 (md_apply_fix3): Handle M68HC11_RL_JUMP, M68HC11_RL_GROUP
2212 and VTABLE relocs.
2213
eb086b59
SC
22142002-08-13 Stephane Carrez <stcarrez@nerim.fr>
2215
2216 * config/tc-m68hc11.c (m68hc11_elf_final_processing): New function.
2217 (md_pseudo_table): Add .mode, .far and .interrupt pseudo op.
2218 (s_m68hc11_mode): New function for .mode pseudo op.
2219 (s_m68hc11_mark_symbol): New function for .far and .interrupt
2220 pseudo op.
2221 * config/tc-m68hc11.h (elf_tc_final_processing): Define.
2222 (m68hc11_elf_final_processing): Declare.
2223
7bfda7eb
SC
22242002-08-13 Stephane Carrez <stcarrez@nerim.fr>
2225
2226 * config/tc-m68hc11.c (md_begin): Take into account additional
2227 page operand for call instruction.
2228 (print_opcode_format): Likewise.
2229 (check_range): Likewise for page range checking.
2230 (get_operand): Don't skip a possible comma in operands.
2231 (fixup8): Generate BFD_RELOC_M68HC11_PAGE reloc.
2232 (fixup16): Likwise with BFD_RELOC_M68HC11_LO16.
2233 (fixup24): New to handle call reloc.
2234 (build_insn): Handle missing page operand for call instruction.
2235 (find): Likewise.
2236 (md_apply_fix3): Take into account new relocs.
2237 (get_operand): Fix the mode for indexed indirect addressing.
2238 (build_indexed_byte): Fix post index byte for indexed indirect mode.
2239
fdb987ee
RS
22402002-08-12 Richard Sandiford <rsandifo@redhat.com>
2241
2242 * config/tc-mips.c (mips_ip): Don't work out the value of
2243 constant %hi()s here.
2244
31312f95
AM
22452002-08-10 Alan Modra <amodra@bigpond.net.au>
2246
2247 * config/tc-i386.c (tc_i386_fix_adjustable): Test OUTPUT_FLAVOR
2248 for ELF, and don't bother checking ELF relocs when non-ELF.
2249 (i386_immediate): Allow absolute_section expressions for aout.
2250 (i386_displacement): Likewise. Also test bfd_is_com_section.
2251 (md_estimate_size_before_relax): Test OUTPUT_FLAVOR for ELF.
2252 (md_apply_fix3): Hack for bfd_install_relocation when fx_pcrel,
2253 not when fx_addsy. Remove dead code.
2254
59bc061d
NC
22552002-08-09 Graeme Peterson <gp@qnx.com>
2256
2257 * configure.in: Add support for ppc-*-nto* target.
2258 * configure: Regenerate.
70658493 2259
6088b00e
AM
22602002-08-09 Alan Modra <amodra@bigpond.net.au>
2261
2262 * config/tc-i386.h: Reorganize.
2263
0c11417f
MR
22642002-08-09 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2265
2266 * config/tc-mips.c (macro): Handle a register plus a 16-bit
2267 immediate offset in "dla" and "la" expansions.
2268
79500683
AM
22692002-08-09 Alan Modra <amodra@bigpond.net.au>
2270
2271 * configure.in: bfd_gas=yes for all i386 targets. Formatting.
2272 Remove "bfd_gas=yes" from target table when covered later.
2273 Consolidate some entries.
2274 * configure: Regenerate
2275
2bbd9c25
JJ
22762002-08-09 Jakub Jelinek <jakub@redhat.com>
2277
2278 * config/tc-i386.c (output_insn): Save frag_now and frag_now_fix ()
2279 at start of insn, pass it to output_disp and output_imm.
2280 (output_disp): Added arguments. If _GLOBAL_OFFSET_TABLE_ is seen
2281 in displacement for R_386_32 reloc, use R_386_GOTPC and compute
2282 properly addend.
2283 (output_imm): Added arguments. Compute properly addend for
2284 R_386_GOTPC.
2285 (md_apply_fix3): Remove R_386_GOTPC handling.
2bbd9c25 2286
dbac4f5b
RH
22872002-08-06 George France <france@handhelds.org>
2288
2289 * config/tc-alpha.c (cpu_types): Enabled ev67, ev68, -m21264a
2290 and m21264b processor names and cpu types.
2291 * doc/c-alpha.texi: Documented new types.
2292
95210096
AM
22932002-08-06 Alan Modra <amodra@bigpond.net.au>
2294
2295 * config/tc-ppc.c (md_apply_fix3): Adjust 16 bit XCOFF reloc offset.
2296
98605598
RS
22972002-08-01 Richard Sandiford <rsandifo@redhat.com>
2298
2299 * config/tc-mips.c (tc_gen_reloc): Extend GP-relative addend
2300 handling to BFD_RELOC_MIPS16_GPREL.
2301
08df2379
NC
23022002-08-01 Nick Clifton <nickc@redhat.com>
2303
2304 * config/tc-arm.c (add_to_lit_pool): Ensure that offset to literal
2305 pool is computed using signed arithmetic so that proper sign
2306 extension is performed if X_add_number is a 64-bit integer.
2307
70ee4658
DJ
23082002-08-01 H.J. Lu <hjl@gnu.org>
2309 Daniel Jacobowitz <drow@mvista.com>
2310
2311 * dwarf2dbg.c (dwarf2_finish): Don't emit unreferenced
2312 .debug_line section unless it has line information.
2313
4eb6b71c
NC
23142002-07-31 Ian Dall <ian@sibyl.beware.dropbear.id.au>
2315
2316 * config/tc-ns32k.h (md_pcrel_adjust): Supply prototype.
2317 * config/tc-ns32k.c (convert_iif, md_parse_option, md_show_usage):
2318 Allow default displacement size to be an option "--disp-size-default".
2319 (md_number_to_disp): Make error messages include value. Use %d to
2320 print integers, not %s.
2321 (fix_new_ns32k): Conditionally set fx_no_overflow so we don't
2322 get duplicate messages sometimes.
2323 (convert_iif): Grow frag to max possible instruction size. Avoid
2324 creating unnecessary fixes.
2325 (md_number_to_field) Add prototype.
2326 (encode_operand, parse, convert_iif, md_fix_pcrel_adjust): Add
2327 prototypes and make static.
2328 (struct addr_mode): Make mode and scaled_mode explicitly signed.
2329 (evaluate_expr): Use resultP argument instead of exprP global.
2330 (get_addr_mode): Quiten compiler warnings.
2331 (encode_operand): eliminate unused variables. Quiten compiler
2332 warnings. Eliminate nul character in format strings.
2333 (parse): argc is unsigned.
2334 (reloc): Type cast index to quieten compiler.
2335 (md_pcrel_adjust, md_apply_fix3): Remove unused variable.
2336 (md_convert_frag): Note unused parameters. Remove unused
2337 variables.
2338 (md_create_long_jump, md_create_short_jump,
2339 md_undefined_symbol_name, md_section_align, tc_gen_reloc): Note
2340 unused parameters.
70658493 2341
500800ca
NC
23422002-07-31 Nick Clifton <nickc@redhat.com>
2343
2344 * NEWS: Retroactively add entry for Lars Brinkhoff's contribution
2345 of the PDP-11 and 2.11BSD a.out support.
2346
03223580
NC
23472002-07-31 Momchil Velikov <velco@fadata.bg>
2348
2349 * config/tc-v850.c (md_assemble): Fix range check for immediate
2350 operand.
2351
c7a23324
CD
23522002-07-30 Chris Demetriou <cgd@broadcom.com>
2353
2354 * config/tc-mips.c (mips_cpu_info_table): Clean up entries related
2355 to Broadcom SB-1 core support.
2356
cfe86eaa
TS
23572002-07-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2358
2359 * config/tc-mips.c (mips_target_format): Fix formatting.
2360 Add recognition of n32 ABI formats.
2361
460597ba
MR
23622002-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2363
2364 * tc-mips.c (load_address): Don't clobber $at when loading a
2365 64-bit address in non-PIC code if noat is in effect.
2366 (macro): Likewise.
2367
9bd7d936
MR
23682002-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2369
2370 * config/tc-mips.c (macro): Use codes 6 and 7 in trap instructions
2371 used in division/multiply macro expansions similarly to how they
2372 are used in the variants with break instructions.
2373 (macro2): Likewise.
2374
7e392df6
NC
23752002-07-30 Graeme Peterson <gp@qnx.com>
2376
2377 * configure.in: Add support for arm-*-nto target.
2378 * configure: Regenerate.
70658493 2379
3d0c9500
NC
23802002-07-30 Nick Clifton <nickc@redhat.com>
2381
2382 * config/tc-arm.c (struct literal_pool): Add fields to allow
2383 multiple literal pools to be maintained.
2384 (find_literal_pool): New function.
2385 (find_or_make_literal_pool): New function.
2386 (add_to_literal_pool): Use find_or_make_literal_pool.
6088b00e 2387 (arm_s_text, arm_s_data, arm_s_section): Remove - no longer
3d0c9500
NC
2388 needed.
2389 (s_ltorg): Use find_literal_pool.
2390 (arm_cleanup): Dump all literal pools.
6088b00e 2391 * doc/c-arm.texi: Document new behaviour of only dumping literal
3d0c9500
NC
2392 pools upon request.
2393
dfff24c9
AM
23942002-07-26 Alan Modra <amodra@bigpond.net.au>
2395
2396 * config/tc-ppc.c (ppc_set_cpu): Use PPC_OPCODE_64 as the default
2397 rather than PPC_OPCODE_32 for powerpc64*.
2398
219576a4
NC
23992002-07-25 Nick Clifton <nickc@redhat.com>
2400
2401 * po/es.po: Updated Spanish translation.
2402 * po/fr.po: Updated French translation.
2403
316f5878
RS
24042002-07-25 Richard Sandiford <rsandifo@redhat.com>
2405
2406 * doc/c-mips.texi: Remove -mcpu. Document -mabi.
2407 * configure.in (MIPS_CPU_STRING_DEFAULT): New configuration macro.
2408 (USE_E_MIPS_ABI_O32, MIPS_DEFAULT_64BIT): New configuration macros.
2409 * configure, config.in: Regenerate.
2410 * config/tc-mips.c (file_mips_abi): Rename to mips_abi.
2411 (mips_set_options): Remove "abi" field.
2412 (mips_opts): Update accordingly. Replace all uses of mips_opts.abi
2413 with mips_abi.
2414 (mips_cpu): Remove.
2415 (mips_arch_string, mips_arch_info): New vars.
2416 (mips_tune_string, mips_tune_info): New vars.
2417 (ABI_NEEDS_32BIT_REGS, ABI_NEEDS_64BIT_REGS): New macros.
2418 (HAVE_32BIT_GPRS, HAVE_32BIT_FPRS): Don't check the ABI.
2419 (mips_isa_to_str, mips_cpu_to_str): Remove.
2420 (mips_ip): If the selected architecture is a generic ISA rather
2421 than a processor, only mention the ISA level in error messages.
2422 (OPTION_MCPU): Remove.
2423 (OPTION_FP64): New.
2424 (md_longopts): Add -mfp64, remove -mcpu.
2425 (mips_set_option_string): New fn.
2426 (md_parse_option): Make -mipsN update file_mips_isa rather than
2427 mips_opts.isa. Use mips_set_option_string to set -march or -mtune.
2428 Don't let -mgp32 and -mfp32 change the ABI.
2429 (show): Move to end of file. Constify string argument.
2430 (md_show_usage): Move to the end of the file. Read available
2431 architectures from mips_cpu_info_table.
2432 (mips_set_architecture): New fn.
2433 (mips_after_parse_args): Rework. Remove -mcpu handling. -mipsN
2434 is an alias for -march=mipsN. Don't change the ABI based on other
2435 flags. Infer the register size from the ABI as well as the
2436 architecture. Complain about more conflicting arguments.
2437 Unify logic with GCC.
2438 (s_mipsset): Don't change the ABI.
2439 (mips_elf_final_processing): Check USE_E_MIPS_ABI_O32.
2440 (mips_cpu_info_table): Remove Generic-MIPS* entries, keeping just
2441 "mipsN"-type entries. Remove entries that vary only in the
2442 manufacturer's prefix, or that have "000" replaced by "k".
2443 Remove TARGET_CPU entries. Make r2000 entry use CPU_R3000.
2444 (mips_strict_matching_cpu_name_p, mips_matching_cpu_name_p): New fns.
2445 (mips_parse_cpu): New fn.
2446 (mips_cpu_info_from_name, mips_cpu_info_from_cpu): Remove.
2447 (mips_cpu_info_from_isa): Minor formatting tweak.
2448
ff3063f5
NC
24492002-07-24 Nick Clifton <nickc@redhat.com>
2450
2451 * po/sv.po: Updated Swedish translation.
2452 * po/es.po: Updated Spanish translation.
2453
55eab186
AM
24542002-07-23 Alan Modra <amodra@bigpond.net.au>
2455
2456 * Makefile.am: Run "make dep-am".
2457 * Makefile.in: Regenerate.
2458 * doc/Makefile.in: Regenerate.
2459 * config.in: Regenerate.
2460 * po/POTFILES.in: Regenerate.
2461
0461a601
NC
24622002-07-23 Nick Clifton <nickc@redhat.com>
2463
ff3063f5 2464 * po/fr.po: Updated French translation.
0461a601 2465
ee8929cf
NC
24662002-07-23 Nick Clifton <nickc@redhat.com>
2467
2468 * CONTRIBUTORS: Ken Raeburn is no longer the maintainer for
2469 GAS.
2470
bad9ca53
TS
24712002-07-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2472
2473 * config/tc-mips.c (mips_need_elf_addend_fixup): Use S_IS_EXTERNAL
2474 instead of S_IS_EXTERN.
2475 (md_estimate_size_before_relax): Likewise.
2476 (mips_fix_adjustable): Likewise.
2477
a37de3d3
TS
24782002-07-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2479
2480 * config/tc-mips.c (mips_pic_level): Remove IRIX4_PIC.
2481
8dfa0188 24822002-07-19 Miroslav Tichy <tichm9am@ss1000.ms.mff.cuni.cz>
dfff24c9 2483 Nick Clifton <nickc@redhat.com>
8dfa0188
NC
2484
2485 * cond.c (s_ifdef): Treat a referenced but not yet defined
2486 symbol as if it were undefined, in exactly the same way as
2487 .equiv.
2488
dfff24c9
AM
2489 * doc/as.texinfo: Document that .ifdef, .ifndef and .equiv
2490 consider referenced bug not yet defined symbols to be
2491 undefined.
8dfa0188 2492
a40cbfa3
NC
24932002-07-18 Denis Chertykov <denisc@overta.ru>
2494 Frank Ch. Eigler <fche@redhat.com>
2495 Alan Lehotsky <alehotsky@cygnus.com>
2496 John Healy <jhealy@redhat.com>
2497 Jeff Johnston <jjohnstn@redhat.com>
2498
2499 * configure.in: Add ip2k configuraton.
2500 * configure: Regenerate.
2501 * Makefile.am: Add ip2k configuraton.
2502 * Makefile.in: Regenerate.
2503 * configure: Regenerate.
2504 * Makefile.in: Regenerate.
2505 * config/tc-ip2k.c: New file.
2506 * config/tc-ip2k.h: New files.
2507 * NEWS: Mention new support.
2508 * doc/Makefile.am (CPU_DOCS): Add c-ip2k.texi.
2509 * doc/Makefile.in: Regenerate.
2510 * doc/all.texi: Set IP2K
2511 * doc/as.texinfo: Add IP2K description.
2512 * doc/c-ip2k.texi: New file.
dfff24c9 2513
a40cbfa3
NC
25142002-07-19 Nick Clifton <nickc@cambridge.redhat.com>
2515
2516 * NEWS: Reformat to match style of other NEWS files.
dfff24c9 2517
a40cbfa3 25182002-07-17 Jan Hubicka <jh@suse.cz>
33fef721
JH
2519
2520 * tc-i386.c (i386_align_code): Implement x86_64 neutral code fillers.
2521
25d3fb58
AM
25222002-07-16 Moritz Jodeit <moritz@jodeit.org>
2523
2524 * config/tc-z8k.c (build_bytes): Correct order of memset args.
2525
2cbb2eef
NC
25262002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
2527
2528 * NEWS: Add 'Changes in 2.13'.
2529
da06c61e
AM
25302002-07-15 Matt Fredette <fredette@netbsd.org>
2531
2532 * config/tc-hppa.h (LABELS_WITHOUT_COLONS): Define if TE_NetBSD.
2533
9146926a
AM
25342002-07-12 Alan Modra <amodra@bigpond.net.au>
2535
2536 * config/tc-i386.c (process_suffix): Merge CODE_64BIT JumpByte
2537 case with non CODE_64BIT case. Don't warn on "qword ptr" if
2538 not CODE_64BIT.
2539
2b3c4602
AM
25402002-07-11 Alan Modra <amodra@bigpond.net.au>
2541
7e8d4ab4
AM
2542 * config/tc-ppc.c (ppc_elf_frob_symbol): Delete.
2543 (ppc_frob_file_before_adjust): New function.
2544 * config/tc-ppc.h (tc_frob_symbol): Don't define.
2545 (ppc_elf_frob_symbol): Don't declare.
2546 (tc_frob_file_before_adjust): Define.
2547 (ppc_frob_file_before_adjust): Declare.
2548
2b3c4602
AM
2549 * config/tc-ppc.c (md_pseudo_table): Warning fix.
2550 (ppc_cpu): Make it unsigned long to agree with struct powerpc_opcode
2551 flags.
2552 (ppc_size): Delete.
2553 (ppc_xcoff64): Rename to ppc_obj64.
2554 (md_parse_option <m>): Encode old ppc_size value in ppc_cpu.
2555 (ppc_set_cpu): Set PPC_OPCODE_32 too.
2556 (ppc_arch): Use ppc_obj64 instead of ppc_size to select bfd_mach_ppc64
2557 or bfd_mach_ppc.
2558 (ppc_target_format): Use ppc_obj64 to select format.
2559 (md_begin): Adjust for PPC_OPCODE_32/64 in ppc_cpu.
2560 (ppc_insert_operand): Use ppc_obj64 instead of ppc_size.
2561 (ppc_elf_suffix): Likewise. Don't depend on BFD_DEFAULT_TARGET_SIZE.
2562 (tc_frob_symbol): Likewise.
2563 (md_assemble): Use ppc_obj64 instead of ppc_size. Don't depend on
2564 BFD_DEFAULT_TARGET_SIZE.
2565 (ppc_tc): Likewise.
2566 (ppc_is_toc_sym): Likewise.
2567 (md_apply_fix3): Likewise.
2568 * config/tc-ppc.h (TC_FORCE_RELOCATION): Don't depend on
2569 BFD_DEFAULT_TARGET_SIZE.
2570 (ELF_TC_SPECIAL_SECTIONS): Likewise.
2571 (tc_frob_symbol): Likewise.
2572
aec421e0
TS
25732002-07-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2574
2575 * config/tc-mips.c (macro_build): Handle MIPS16 insns.
2576 (mips_ip): Likewise.
2577
c6682705
AM
25782002-07-09 Alan Modra <amodra@bigpond.net.au>
2579
2580 * config/tc-i386.c (md_pseudo_table <file>): Warning fix.
2581 (BFD_RELOC_8, BFD_RELOC_8_PCREL): Define for non-BFD.
2582 (md_apply_fix3): Formatting. Remove redundant test.
2583 (tc_gen_reloc): Remove redundant code.
2584 (tc_i386_force_relocation): Delete. Movy body of function to..
2585 * config/tc-i386.h (TC_FORCE_RELOCATION): .. here.
2586
03111e83
AM
25872002-07-09 Federico G. Schwindt <fgsch@olimpo.com.br>
2588
2589 * configure.in: Add hppa-*-openbsd* target, change
2590 alpha*-*-openbsd* format to elf, and use elf for sparc-*-openbsd*
2591 with sparc64 cpu.
2592 * configure: Regenerate.
2593
78d32a17
MR
25942002-07-08 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2595
2596 * config/tc-mips.c (macro): Shift the 32-bit address range
2597 accessible with a lone "lui" down by 32768.
2598
3a482fd5
MR
25992002-07-08 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2600
2601 * config/tc-mips.c (load_address): Use non-trapping "daddu"
2602 instead of "dadd" in address calculations.
2603 (macro): Likewise.
2604
cd61ebfe
AM
26052002-07-08 Alan Modra <amodra@bigpond.net.au>
2606
2607 * config/tc-i386.c (process_suffix): Remove intel mode movsx and
2608 movzx fudges.
2609 (md_assemble): Instead, zap the suffix here.
2610
a5d3c309
NC
26112002-07-03 Nick Clifton <nickc@cambridge.redhat.com>
2612
2613 * NEWS: Remove next release number until the release is actually
2614 upon us.
2615
ce4f7385
AM
26162002-07-03 Alan Modra <amodra@bigpond.net.au>
2617
2618 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
2619 Run "make dep-am".
2620 * Makefile.in: Regenerate.
2621
148b4c7a
MS
26222002-07-02 Martin Schwidefsky <schwidefsky@de.ibm.com>
2623
2624 * config/tc-s390.c (tc_s390_fix_adjustable): Prevent any adjustment
2625 to symbols in merge sections, even non pc-relative ones.
2626
2916066e
SC
26272002-06-29 Stephane Carrez <stcarrez@nerim.fr>
2628
2629 * config/tc-m68hc11.h (m68hc11_listing_header): Fix warning.
2630
96e87417
SC
26312002-06-29 Stephane Carrez <stcarrez@nerim.fr>
2632
2633 * config/tc-m68hc11.h (ELF_TC_SPECIAL_SECTIONS): New sections
2634 .softregs and .eeprom.
2635
83518699
DB
26362002-06-28 David O'Brien <obrien@FreeBSD.org>
2637
2638 * NEWS: Note the next release is 2.13.
2639
6c6783ff
NC
26402002-06-26 Nick Clifton <nickc@cambridge.redhat.com>
2641
2642 * po/tr.po: New translation imported.
2643
a2c36061
AM
26442002-06-26 Elias Athanasopoulos <eathan@otenet.gr>
2645
2646 * ecoff.c: (get_tag): Replace strcpy with xstrdup.
2647 (ecoff_directive_def): Likewise.
2648 (ecoff_directive_tag): Likewise.
2649 * listing.c (file_info): Likewise.
2650 * hash.c (what): Likewise.
2651
a13a0de8
L
26522002-06-25 H.J. Lu <hjl@gnu.org>
2653
2654 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
2655 * Makefile.in: Regenerated.
2656
6c6783ff 26572002-06-19 Dhananjay R. Deshpande <dhananjayd@kpit.com>
5db33d76
JR
2658
2659 * config/tc-sh.c (get_specific): Revert 2002-05-01 change.
2660 (assemble_ppi): Generate warning if the same register is used
2661 twice as destination in the same padd / pmuls instruction.
2662
0ebb9a87
DB
26632002-06-18 Dave Brolley <brolley@redhat.com>
2664
a2c36061 2665 From Catherine Moore, Michael Meissner, Richard Sandiford, Dave Brolley
0ebb9a87
DB
2666 * po/POTFILES.in: Add tc-frv.c, tc-frv.h.
2667 * configure.in: Support frv-*-*.
2668 * Makefile.am (CPU_TYPES): Add frv.
2669 (TARGET_CPU_CFILES): Add tc-frv.c.
2670 (TARGET_CPU_HFILES): Add tc-frv.h.
2671 (DEPTC_frv_coff): New variable.
2672 (DEPTC_frv_elf): New variable.
2673 (DEPOBJ_frv_coff): New variable.
2674 (DEPOBJ_frv_elf): New variable.
2675 (DEP_frv_coff): New variable.
2676 (DEP_frv_elf): New variable.
2677 * tc-frv.c: New file.
2678 * tc-frv.h: New file.
2679
2a24298d
CM
26802002-06-17 Catherine Moore <clm@redhat.com>
2681
a2c36061 2682 * config/obj-elf.h (TARGET_SYMBOL_FIELDS): Conditionally define.
2a24298d 2683
6c6783ff 26842002-06-17 J"orn Rennecke <joern.rennecke@superh.com>
96f31fc7
JR
2685
2686 * config/tc-sh.c (assemble_ppi): Initialize reg_n.
2687
184e65b1
TR
26882002-06-17 Tom Rix <trix@redhat.com>
2689
2690 * config/tc-i370.h (tc_comment_chars): Define for i370-elf.
2691
ecb4347a
DJ
26922002-06-14 H.J. Lu <hjl@gnu.org>
2693 Daniel Jacobowitz <drow@mvista.com>
2694
2695 * dwarf2dbg.h (dwarf2_directive_file): Return char *.
2696 * dwarf2dbg.c (dwarf2_directive_file): Return filename.
2697 * config/tc-mips.c (s_mips_file): Call s_app_file_string
2698 and new_logical_line for the first .file directive.
2699 * read.c (s_app_file_string): New function.
2700 (s_app_file): Call it.
2701 * read.h (s_app_file_string): Add declaration.
2702
27032002-06-14 Daniel Jacobowitz <drow@mvista.com>
2704
2705 * configure.in: Remove MIPS_STABS_ELF.
2706 * configure: Regenerated.
2707 * config.in: Regenerated.
2708 * config/obj-elf.h (ECOFF_DEBUGGING): Define to mips_flag_mdebug
2709 for MIPS targets.
2710 * config/tc-mips.c (mips_pseudo_table): Remove #ifdef around
2711 ".extern".
2712 (pdr_seg): Declare unconditionally.
2713 (md_begin): Always generate .pdr unless ECOFF_DEBUGGING or not ELF.
2714 (s_mips_end): Likewise. Generate stabs function markers.
2715 (s_mips_ent): Generate stabs function markers.
2716 (s_mips_frame): Always generate .pdr unless ECOFF_DEBUGGING or not
2717 ELF.
2718 (s_mips_mask): Likewise.
2719 (mips_flag_mdebug): New.
2720 (md_longopts): Add "mdebug" and "no-mdebug".
2721 (md_parse_options): Add OPTION_MDEBUG and OPTION_NO_MDEBUG.
2722 (mips_after_parse_args): Set mips_flag_mdebug.
2723 * doc/as.texinfo: Add "-mdebug" and "-no-mdebug" for MIPS.
2724
d6e9d61a
MR
27252002-06-13 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2726
2727 * config/tc-mips.c (md_apply_fix3): Don't subtract the symbol's
2728 value twice for RELA relocations.
2729
03e83a45
BE
27302002-06-12 Ben Elliston <bje@redhat.com>
2731
2732 * symbols.c (resolve_symbol_value): Initialise final_val.
2733
2734 * subsegs.c (subsegs_print_statistics): Cast frchp to void *.
2735
b4f96c78
TR
27362002-06-11 Tom Rix <trix@redhat.com>
2737
2738 * config/tc-ppc.c (ppc_subseg_align): Delete.
2739 (ppc_change_csect): Default csect align is 2.
a2c36061 2740 * config/tc-ppc.h (SUB_SEGMENT_ALIGN): Delete
b4f96c78 2741
8a6def3b
MM
27422002-06-09 Marek Michalkiewicz <marekm@amelek.gda.pl>
2743
2744 * config/tc-avr.c (mcu_types): Update.
2745
7542c0f2
JT
27462002-06-08 Matt Thomas <matt@3am-software.com>
2747
2748 * configure.in (vax-*-netbsdelf*, vax-*-netbsdaout*)
2749 (vax-*-netbsd*): New targets.
2750 * configure: Regenerate.
a2c36061 2751 * config/aout_gnu.h (enum machine_type): Add M_VAX4K_NETBSD.
7542c0f2 2752 * config/tc-vax.c: Add support for ELF and PIC.
a2c36061 2753 (flag_want_pic): New flag.
7542c0f2
JT
2754 (float_cons): Fix prototype.
2755 (md_apply_fix3): Adjust for BFD_ASSEMBLER.
2756 (md_assemble): Introduce a new is_absolute local, and use it
2757 rather than repeating the test. Make fatal errors actually
a2c36061 2758 fatal by using as_fatal as appropriate. Adjust for BFD_ASSEMBLER.
7542c0f2 2759 Add support for ELF. Add support for PIC.
a2c36061 2760 (md_convert_frag): Adjust for BFD_ASSEMBLER.
7542c0f2
JT
2761 (tc_aout_fix_to_chars): Only include if OBJ_AOUT and not
2762 BFD_ASSEMBLER.
a2c36061 2763 (vax_reg_parse): Make the % register prefix mandatory for ELF,
7542c0f2
JT
2764 optional for a.out, and not allowed for VMS. Adjust all callers.
2765 (md_create_short_jump): Add ATTRIBUTE_UNUSED to unused arguments.
a2c36061 2766 (md_create_long_jump): Likewise.
7542c0f2
JT
2767 (md_undefined_symbol): Likewise.
2768 (md_section_align): Likewise.
2769 (md_shortopts): Allow -k and -K for ELF.
2770 (md_parse_option): Set flag_want_pic if -k or -K.
2771 (tc_headers_hook): New function if OBJ_AOUT and not BFD_ASSEMBLER.
2772 (tc_gen_reloc): New function if BFD_ASSEMBLER.
2773 * config/tc-vax.h (tc_headers_hook): Remove.
2774 (TARGET_FORMAT): Set according to object format and target
2775 environment.
2776 (BFD_ARCH, TARGET_ARCH): Define.
2777 (NO_RELOC): Adjust for BFD_ASSEMBLER.
2778 (TC_RELOC_RTSYM_LOC_FIXUP, TC_FIX_ADJUSTABLE)
2779 (tc_fix_adjustable): Define if BFD_ASSEMBLER.
2780 * config/vax-inst.h (VAX_JSB, VAX_CALLS, VAX_CALLG): Define.
2781
5a38dc70
AM
27822002-06-08 Alan Modra <amodra@bigpond.net.au>
2783
e90b95f6
AM
2784 * Makefile.am: Run "make dep-am".
2785 * Makefile.in: Regenerate.
2786
5a38dc70
AM
2787 * as.c: Replace CONST with const.
2788 * write.c: Likewise.
2789 * config/obj-coff.c: Likewise.
2790 * config/tc-a29k.c: Likewise.
2791 * config/tc-arm.c: Likewise.
2792 * config/tc-dlx.c: Likewise.
2793 * config/tc-h8300.c: Likewise.
2794 * config/tc-h8500.c: Likewise.
2795 * config/tc-i370.c: Likewise.
2796 * config/tc-i860.c: Likewise.
2797 * config/tc-i960.c: Likewise.
2798 * config/tc-m68hc11.c: Likewise.
2799 * config/tc-m68k.c: Likewise.
2800 * config/tc-m88k.c: Likewise.
2801 * config/tc-mcore.c: Likewise.
2802 * config/tc-mips.c: Likewise.
2803 * config/tc-ns32k.c: Likewise.
2804 * config/tc-pdp11.c: Likewise.
2805 * config/tc-pj.c: Likewise.
2806 * config/tc-s390.c: Likewise.
2807 * config/tc-sh.c: Likewise.
2808 * config/tc-sparc.c: Likewise.
2809 * config/tc-tahoe.c: Likewise.
2810 * config/tc-tic80.c: Likewise.
2811 * config/tc-v850.c: Likewise.
2812 * config/tc-vax.c: Likewise.
2813 * config/tc-w65.c: Likewise.
2814 * config/tc-z8k.c: Likewise.
2815
c5dd6aab
DJ
28162002-06-08 Daniel Jacobowitz <drow@mvista.com>
2817
2818 Based on patch from Matt Green:
2819 * config/obj-elf.h (ECOFF_DEBUGGING): Make configurable.
a2c36061 2820 * config/tc-mips.c (s_mips_file): Renamed from s_file.
c5dd6aab
DJ
2821 (s_mips_loc): New function.
2822 (mips_nonecoff_pseudo_table): Call them.
a2c36061 2823 (append_insn): Call dwarf2_emit_insn.
c5dd6aab 2824
a4672219
TS
28252002-06-08 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2826
2827 * config/tc-mips.c (mips_opts): Fix comment, all ASE fields are set
2828 to -1.
2829 (file_ase_mips16): New veriable.
2830 (mips_eabi64): Remove.
2831 (CPU_HAS_MIPS16): New define.
2832 (CPU_HAS_MDMX): Fix data type.
2833 (md_begin): Code cleanup. Use file_ase_mips16.
2834 (mips_elf_final_processing): Handle mips16 header flag.
2835 Handle EABI flag without intermediate variable.
2836
437ee9d5
TS
28372002-06-08 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2838
2839 * doc/as.texinfo: Update MIPS documentation.
2840
85b51719
TS
28412002-06-08 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2842
2843 * config/tc-mips.c: Add define for $zero register.
2844 (md_begin): Add $zero as alias name for $0.
2845 (insn_uses_reg): Use ZERO define.
2846 (mips_ip): Add $zero as alias name for $0.
2847 (mips16_ip): Likewise.
2848 (s_cplocal): Demand empty rest of input line.
2849 (tc_get_register): Likewise. Add support for $kt0, kt1 register
2850 names. Use ZERO define. Fix input_line_pointer progress.
2851
9758f3fc
AM
28522002-06-07 Alan Modra <amodra@bigpond.net.au>
2853
2854 * symbols.c: Replace CONST by const throughout.
2855 (symbol_find_exact): Split out from..
2856 (symbol_find_base): ..here.
2857 * symbols.h: Replace CONST by const throughout.
2858 (symbol_find_exact): Declare.
2859 * config/obj-elf.c: #include "struc-symbol.h".
2860 (elf_frob_file): If group name matches an exported symbol, use that
2861 symbol for the signature and ".group" as the section name.
2862
6c6783ff 28632002-06-06 J"orn Rennecke <joern.rennecke@superh.com>
9691d64f
JR
2864
2865 * config/tc-sh.c (parse_at): @(symbol,pc) is A_DISP_PC again,
2866 but warn about it.
9691d64f 2867
ffdefa66
DJ
28682002-06-06 Daniel Jacobowitz <drow@mvista.com>
2869
2870 * tc-mips.c (mips_after_parse_args): Always set mips_opts.ase_mips3d
2871 and mips_opts.ase_mdmx if they are uninitialized.
2872
ec8b3afd
JL
28732002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
2874
2875 * gas/config/tc-hppa.c (pa_ip): Replace "L$0\001" with FAKE_LABEL_NAME.
2876 (hppa_force_relocation): Check if a stub just before the start symbol
2877 of the last call_info is reachable before forcing relocation. Fix
2878 typo.
2879
e9670677
MR
28802002-06-04 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2881
2882 * config/tc-mips.c (mips_after_parse_args): New function.
2883 (md_begin): Move processing of defaults to mips_after_parse_args.
2884 config/tc-mips.h (md_after_parse_args): Define.
2885
5b0e55b6
JT
28862002-06-04 Jason Thorpe <thorpej@wasabisystems.com>
2887
2888 * configure.in (sh5*): Set cpu_type to sh64 and endian to big.
2889 (sh5le*, sh64le*): Set cpu_type to sh64 and endian to little.
2890 (sh5*-*-netbsd*, sh64*-*-netbsd*): New targets.
2891 * configure: Regenerate.
2892 * config/tc-sh64.c (sh64_target_format): Add support for NetBSD
2893 environment.
2894
a074e149
JT
28952002-06-04 Jason Thorpe <thorpej@wasabisystems.com>
2896
2897 * config/tc-sh64.h (MD_PCREL_FROM_SECTION): Undef before redefining.
2898
d2dab548
AM
28992002-06-04 Alan Modra <amodra@bigpond.net.au>
2900
2901 * config/obj-elf.c (obj_elf_change_section): Set and check elf
2902 linkonce flag. Print all warnings.
2903 (obj_elf_section): Parse ",comdat" for groups.
2904 (elf_frob_file): Set SEC_LINK_ONCE on COMDAT groups. Check
2905 consistency of comdat flag.
2906
20e130e9
RH
29072002-06-02 Richard Henderson <rth@redhat.com>
2908
2909 * config/tc-alpha.c (alpha_adjust_symtab_relocs): Fix thinko
2910 with LITERALs without sequence numbers.
2911
9e756d64
RH
29122002-06-01 Richard Henderson <rth@redhat.com>
2913
2914 * config/tc-alpha.c: Move LITUSE constants to "elf/alpha.h".
2915 Rename them LITUSE_ALPHA_*.
2916
3048287a
NC
29172002-05-31 Shrinivas Atre <ShrinivasA@kpit.com>
2918
2919 * config/tc-h8300.c (get_operand): Allow stm.l and ldm.l insns to
2920 accept parentheses enclosed register lists.
2921
194b5210
AM
29222002-05-31 Alan Modra <amodra@bigpond.net.au>
2923
2924 * Makefile.am: Run "make dep-am".
2925 * Makefile.in: Regenerate.
2926 * po/POTFILES.in: Regenerate.
2927
34e97952
AM
29282002-05-31 Graeme Peterson <gp@qnx.com>
2929
2930 * configure.in: Add i386-*-nto-qnx*.
2931 * configure: Regenerate.
2932
793b27f4
TS
29332002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2934
2935 * config/tc-mips.c (mips_ip): Use unsigned long values for
2936 warning output.
2937
80245285
TS
29382002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2939
2940 * config/tc-mips.c (s_cpsetup): Fix initialization of
2941 mips_cpreturn_register and mips_cpreturn_offset.
2942
698b7d9d
TS
29432002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2944
2945 * config/tc-mips.c (s_cpsetup): Fix comment.
2946
76db943d
TS
29472002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2948
2949 * config/tc-mips.c (md_begin): Add $ra as alias name for $31.
2950 (mips_ip): Likewise.
2951 (mips16_ip): Likewise.
2952 (tc_get_register): Likewise.
2953
deec1734 29542002-05-30 Chris G. Demetriou <cgd@broadcom.com>
a2c36061 2955 Ed Satterthwaite <ehs@broadcom.com>
deec1734
CD
2956
2957 * config/tc-mips.c (mips_set_options): New "ase_mdmx" member.
2958 (mips_opts): Initialize "ase_mdmx" member.
2959 (file_ase_mdmx): New variable.
2960 (CPU_HAS_MDMX): New macro.
2961 (md_begin): Initialize mips_opts.ase_mdmx and file_ase_mdmx
2962 based on command line options and configuration defaults.
2963 (macro_build): Note in comment that use of MDMX in macros is
2964 not currently allowed.
2965 (validate_mips_insn): Add support for the "O", "Q", "X", "Y", and
2966 "Z" MDMX operand types.
2967 (mips_ip): Accept MDMX instructions if mips_opts.ase_mdmx is set,
2968 and add support for the "O", "Q", "X", "Y", and "Z" MDMX operand
2969 types.
2970 (OPTION_MDMX, OPTION_NO_MDMX, md_longopts, md_parse_option):
2971 Add support for "-mdmx" and "-no-mdmx" options.
2972 (OPTION_ELF_BASE): Move to accomodate new options.
2973 (s_mipsset): Support ".set mdmx" and ".set nomdmx".
2974 (mips_elf_final_processing): Set MDMX ASE ELF header flag if
2975 file_ase_mdmx was set.
2976 * doc/as.texinfo: Document -mdmx and -no-mdmx options.
2977 * doc/c-mips.texi: Likewise, and document ".set mdmx" and ".set
2978 nomdmx" directives.
2979
9ee72ff1
TS
29802002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2981
2982 * config/tc-mips.c (OPTION_NO_M7000_HILO_FIX): Rename to
2983 OPTION_MNO_7000_HILO_FIX. Add alternate "mno-fix7000"
2984 command line switch conforming to gcc conventions.
2985 * doc/c-mips.texi: Document -mno-fix7000 instead of no-mfix-7000.
2986
438c16b8
TS
29872002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2988
2989 * config/tc-mips.c (macro_build_jalr): New Function.
2990 (md_begin): NewABI uses big GOTs.
2991 (macro_build): Recognize BFD_RELOC_MIPS_GOT_DISP,
2992 BFD_RELOC_MIPS_GOT_PAGE, BFD_RELOC_MIPS_GOT_OFST as valid.
2993 (load_address): Add some NewABI PIC support.
2994 (macro): Likewise.
2995 (md_apply_fix): Special handling for BFD_RELOC_MIPS_JALR.
2996 (tc_gen_reloc): Don't encode NewABI vtables in REL relocations.
2997
f7ea7ef2
TS
29982002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2999
3000 * config/tc-mips.c (load_address): Use mips_gp_register instead
3001 of hardcoded value. Remove dbl parameter, use HAVE_32BIT_ADDRESSES
3002 instead.
3003 (macro): Use mips_gp_register instead of hardcoded value.
3004
3765b1be
RH
30052002-05-30 Richard Henderson <rth@redhat.com>
3006
3007 * expr.h (operatorT): Add O_md17..O_md32.
3008 * config/tc-alpha.c (O_lituse_tlsgd, O_lituse_tlsldm, O_tlsgd,
3009 O_tlsldm, O_gotdtprel, O_dtprelhi, O_dtprello, O_dtprel, O_gottprel,
3010 O_tprelhi, O_tprello, O_tprel): New.
3011 (USER_RELOC_P, alpha_reloc_op_tag, debug_exp): Include them.
3012 (DUMMY_RELOC_LITUSE_TLSGD, DUMMY_RELOC_LITUSE_TLSLDM): New.
3013 (LITUSE_TLSGD, LITUSE_TLSLDM): New.
3014 (struct alpha_reloc_tag): Add master, saw_tlsgd, saw_tlsld,
3015 saw_lu_tlsgd, saw_lu_tlsldm. Make multi_section_p a bit field.
3016 (md_apply_fix3): Handle TLS relocations.
3017 (alpha_force_relocation, alpha_fix_adjustable): Likewise.
3018 (alpha_adjust_symtab_relocs): Sort LITERAL relocs after the
3019 associated TLS reloc. Check lituse_tls relocs match up.
3020 (emit_insn): Handle TLS relocations.
3021 (ldX_op): Remove.
3022
1c5cec28
RH
3023 * doc/c-alpha.texi: Add docs for tls relocations.
3024
def2e0dd
TS
30252002-05-30 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
3026
3027 * config/tc-mips.c (mips_gprel_offset): New variable.
3028 (s_gpvalue): Use it.
3029
8ade06a8
TR
30302002-05-30 Diego Novillo <dnovillo@redhat.com>
3031
a2c36061
AM
3032 * gas/config/tc-d10v.c (check_resource_conflict): Only check
3033 write-write conflicts.
3034 (md_assemble): Reformat introductory comment.
3035 (parallel_ok): Prevent packing only if the first
3036 instruction cannot be packed.
8ade06a8
TR
3037
30382002-05-30 Jason Eckhardt <jle@redhat.com>
3039 Tom Rix <trix@redhat.com>
3040
3041 * config/tc-d10v.c (build_insn): Check for immediates.
3042
c9914766
TS
30432002-05-28 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
3044
3045 * config/tc-mips.c: Replace GP in comments by $gp.
3046 (mips_big_got): Initialize.
3047 (mips_trap): Initialize.
3048 (load_address): Use mips_gp_register instead of hardcoded value.
3049 Remove dbl parameter, use HAVE_32BIT_ADDRESSES instead.
3050 (macro): Use mips_gp_register instead of hardcoded value.
3051 (macro2): Change load_address calls.
3052 (md_pcrel_from): Comment formatting.
3053 (s_cpload): Use mips_gp_register instead of hardcoded value.
3054 (s_cprestore): Likewise. Comment formatting.
3055 (s_gpword): Fix data type.
3056 (s_cpadd): Use mips_gp_register instead of hardcoded value.
3057 (nopic_need_relax): Replace GP in comments by $gp.
3058 (mips_elf_final_processing): Better comment.
3059
d172d4ba
NC
30602002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
3061
3062 * configure.in: Add DLX configuraton
3063 * Makefile.am: Add DLX configuraton
3064 * configure: Regenerate.
3065 * Makefile.in: Regenerate.
3066 * config/tc-dlx.c: New file.
3067 * config/tc-dlx.h: New files.
52216602 3068 * NEWS: Mention new support.
d172d4ba 3069
e9732b6d
NC
30702002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
3071
3072 * config/obj-coff.c (write_object_file): Add missing semicolon.
3073
f9419b05
TS
30742002-05-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
3075
3076 * config/tc-mips.c (mips_emit_delays): Replace magic constant for RA
3077 by the define. Remove superfluous check of mips_opts.mips16.
3078 (append_insn): Likewise. Canonicalize variable increments.
3079 (macro_build): Canonicalize variable increments.
3080 (macro_build_lui): Likewise.
3081 (load_register): Likewise.
3082 (load_address): Move pointer initialization.
3083 (macro): Move pointer to a more local scope. Canonicalize variable
3084 increments. Better comments. Replace magic constant for RA by the
3085 define.
3086 (macro2): Replace magic constant for RA by the define. Canonicalize
3087 variable increments.
3088 (mips_ip): Canonicalize variable increments.
3089 (mips16_ip): Replace magic constant for RA by the define.
3090 (my_getSmallParser): Canonicalize variable increments/decrements.
3091 (my_getPercentOp): Likewise.
3092 (my_getSmallExpression): Likewise.
3093 (s_align): Likewise.
3094 (s_mipsset): Likewise.
3095 (s_cpsetup): Likewise.
3096 (s_insn): Remove superfluous check of mips_opts.mips16.
3097 (s_mips_stab): Likewise.
3098 (mips_handle_align): Canonicalize variable increments.
3099 (s_mips_ent): Likewise.
3100 (s_mips_end): Add comment.
3101
aa501e5c
JT
31022002-05-26 Jason Thorpe <thorpej@wasabisystems.com>
3103
3104 * configure.in: Use ns32k-*-netbsd* instead of ns32k-pc532-netbsd*.
3105 * configure: Regenerate.
3106
29589b0c
AM
31072002-05-25 Alan Modra <amodra@bigpond.net.au>
3108
3109 * Makefile.am (OBJS): Depend on ansidecl.h and fopen-same.h.
3110 * Makefile.in: Regenerate.
3111 * dep-in.sed: Reorder to match OBJS in Makefile.am.
3112 * configure.in (ALL_OBJ_DEPS): Add symcat.h when need_bfd.
3113 * configure: Regenerate.
3114 * as.h: Use #include "" instead of <> for local header files.
3115 * flonum-konst.c: Likewise.
3116 * flonum-mult.c: Likewise.
3117 * gasp.c: Likewise.
3118 * listing.c: Likewise.
3119 * config/tc-ia64.h: Likewise.
3120 * config/tc-v850.h: Likewise.
3121
436e8db0
NC
31222002-05-24 TAMURA Kent <kent@netbsd.org>
3123
3124 * configure.in: Add a target for i386-netbsdpe.
3125 * configure: Regenerate.
3126
13ae64f3
JJ
31272002-05-23 Jakub Jelinek <jakub@redhat.com>
3128
3129 * config/obj-elf.c (elf_common): Renamed from obj_elf_common.
3130 (obj_elf_common): Call elf_common.
3131 (obj_elf_tls_common): New function.
3132 (elf_pseudo_tab): Support .tls_common.
3133 (special_sections): Add .tdata and .tbss.
3134 (obj_elf_change_section): Set SEC_THREAD_LOCAL for SHF_TLS
3135 sections.
3136 (obj_elf_parse_section_letters): Support T in section flags (SHF_TLS).
3137 (obj_elf_parse_section_letters): Include T in error message.
3138 * config/tc-ppc.c (ppc_section_letter): Likewise.
3139 * config/tc-alpha.c (alpha_elf_section_letter): Likewise.
3140 (tc_gen_reloc): Handle SEC_THREAD_LOCAL the same way as
3141 SEC_MERGE.
3142 * config/tc-sparc.c (md_apply_fix3): Likewise.
3143 * config/tc-i386.c (tc_i386_fix_adjustable): Add TLS relocs.
3144 Define them if not BFD_ASSEMBLER.
3145 (lex_got): Support @TLSGD, @TLSLDM, @GOTTPOFF, @TPOFF, @DTPOFF
3146 and @NTPOFF.
3147 (md_apply_fix3): Add TLS relocs.
3148 * config/tc-ia64.c (enum reloc_func): Add FUNC_DTP_MODULE,
3149 FUNC_DTP_RELATIVE, FUNC_TP_RELATIVE, FUNC_LT_DTP_MODULE,
3150 FUNC_LT_DTP_RELATIVE, FUNC_LT_TP_RELATIVE.
3151 (pseudo_func): Support @dtpmod(), @dtprel() and @tprel().
3152 (ia64_elf_section_letter): Include T in error message.
3153 (md_begin): Support TLS operators.
3154 (md_operand): Likewise.
3155 (ia64_gen_real_reloc_type): Support TLS relocs.
13ae64f3
JJ
3156 * write.c (adjust_reloc_syms): Don't change symbols in
3157 SEC_THREAD_LOCAL sections to STT_SECTION + addend.
3158
c62e1cc3
NC
31592002-05-23 Nick Clifton <nickc@cambridge.redhat.com>
3160
3161 * config/tc-arm.c (md_apply_fix3): For the Thumb BLX reloc
3162 round the relocation up rather than down.
3163
6ff96af6
NC
31642002-05-23 Nick Clifton <nickc@cambridge.redhat.com>
3165
3166 * config/obj-coff.c (obj_coff_section): Silently ignore an 'a'
3167 flag.
a2c36061 3168 * doc/as.texinfo: Document that the COFF version of .section
6ff96af6
NC
3169 ignores the 'a' flag.
3170
18e1d487
AM
31712002-05-23 Alan Modra <amodra@bigpond.net.au>
3172
69108c1f
AM
3173 * config/tc-alpha.c (assemble_tokens): Protect use of
3174 ALPHA_RELOC_TABLE with #ifdef RELOC_OP_P.
3175
18e1d487
AM
3176 * write.c (size_seg): Check adjustment to last frag.
3177 (SUB_SEGMENT_ALIGN): If HANDLE_ALIGN defined, pad out last frag to
3178 section alignment.
3179 * config/obj-coff.c (SUB_SEGMENT_ALIGN): Likewise.
3180 * config/obj-ieee.c (SUB_SEGMENT_ALIGN): Likewise.
3181 (write_object_file): Invoke md_do_align if available, and use
3182 frag_align_code on text sections.
3183 * config/obj-vms.h (SUB_SEGMENT_ALIGN): Now two args.
3184 * config/tc-m88k.h (SUB_SEGMENT_ALIGN): Likewise.
3185 * config/tc-ppc.h (SUB_SEGMENT_ALIGN): Likewise.
3186 * config/tc-sh.h (SUB_SEGMENT_ALIGN): Likewise.
3187 * config/tc-i386.h (SUB_SEGMENT_ALIGN): Likewise. Define for
3188 BFD_ASSEMBLER too.
3189
9d66a1d9
L
31902002-05-22 H.J. Lu <hjl@gnu.org>
3191
3192 * dwarf2dbg.c (dwarf2_directive_loc): Call listing_source_file
3193 for source file.
3194
76feaaf3
NC
31952002-05-22 Nick Clifton <nickc@cambridge.redhat.com>
3196
3197 * config/tc-arm.c (arm_s_section): Enable for COFF builds as well
3198 as ELF builds.
3199
1080e97d
L
32002002-05-22 H.J. Lu <hjl@gnu.org>
3201
3202 * dwarf2dbg.c (dwarf2_emit_insn): Emit only one line symbol
3203 for one .loc for compiler.
3204
c90bbe5b
TS
32052002-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
3206
3207 * config/tc-mips.c (macro): Relax warning, it's toot strict for
3208 embedded-PIC.
3209
771c7ce4
TS
32102002-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
3211
3212 * config/tc-mips.c (macro2): Add 64 bit drol, dror macros.
3213 Optimize the rotate by zero case.
3214
fa70f2ed
NC
32152002-05-21 Nick Clifton <nickc@cambridge.redhat.com>
3216
3217 * configure.in: Remove accidental enabling of bfd_gas=yes for
3218 sh-coff targets.
3219 * configure: Regenerate.
3220
411863a4
KH
32212002-05-18 Kazu Hirata <kazu@cs.umass.edu>
3222
3223 * app.c: Fix formatting.
3224 * as.c: Likewise.
3225 * ehopt.c: Likewise.
3226 * expr.c: Likewise.
3227 * input-file.c: Likewise.
3228 * listing.c: Likewise.
3229 * macro.h: Likewise.
3230 * stabs.c: Likewise.
3231 * symbols.c: Likewise.
3232
eb268f46
AM
32332002-05-17 Alan Modra <amodra@bigpond.net.au>
3234
3235 * config/obj-generic.c: Delete file.
3236 * config/obj-generic.h: Likewise.
3237
bdfdba87
MM
32382002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
3239
3240 * config/tc-avr.c (mcu_types): Update for new devices.
3241
3bec30a8
TS
32422002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
3243
3244 * config/tc-mips.c (macro): Warn about wrong la/dla use.
3245
8586fc66
TS
32462002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
3247
3248 * config/tc_mips.c (s_cpsetup): Fix completely bogus code which had
3249 worked sometimes by accident. Fix copy&paste comment.
3250
195325d2
TS
32512002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
3252
3253 * config/tc-mips.c (md_begin): Fix .reginfo and .MIPS.option section
3254 alignment for NewABI. Let n32 use .reginfo. Remove useless casts.
3255 (mips_elf_final_processing): Let n32 use .reginfo.
3256
4db1a35d
TS
32572002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
3258
3259 * config/tc-mips.c (append_insn): Fix too small range of variable.
3260
7f367f01
NC
32612002-05-14 Nick Clifton <nickc@cambridge.redhat.com>
3262
3263 * config/tc-arm.c (arm_cleanup): Remove redundant call to
3264 listing_prev_line().
3265
7193a0e7
NC
32662002-05-13 Nick Clifton <nickc@cambridge.redhat.com>
3267
f5b4e9e4
NC
3268 * config/tc-arm.c (md_assemble): Remove redundant call to
3269 listing_prev().
3270
b6675117
NC
3271 * dwarf2dbg.c (dwarf2_emit_insn): Do not reset
3272 loc_directive_seen.
3273
7193a0e7
NC
3274 * stabs.c (s_stab_generic): Fix grammatical error in warning
3275 message.
3276
50b31228
AM
32772002-05-13 Alan Modra <amodra@bigpond.net.au>
3278
3279 * write.c (subsegs_finish): Don't specially align last subseg.
3280
cce5a618
NC
32812002-05-11 Nick Clifton <nickc@cambridge.redhat.com>
3282
6360824b
NC
3283 * stabs.c (s_stab_generic): Warn about a description field that is
3284 too big.
3285
f8e42b8c
NC
3286 * config/obj-coff.c: Fix compile time warnings when compiling
3287 without BFD_ASSEMBLER defined.
3288 Fix formatting.
3289
cce5a618
NC
3290 * config/tc-sh.c (md_pcrel_from): Define for use with sh-hms
3291 target.
3292 (md_pcrel_from_section): Use md_pcrel_from().
3293
d7c310c2
NC
32942002-05-11 Bruno Haible <bruno@clisp.org>
3295
3296 * dwarf2dbg.c (dwarf2_emit_insn): Use the 'current' struct filled
3297 by dwarf2_directive_loc, instead of calling dwarf2_where.
3298
5d6255fe
KH
32992002-05-11 Kazu Hirata <kazu@cs.umass.edu>
3300
3301 * config/obj-coff.h: Fix formatting.
3302 * config/tc-mcore.c: Likewise.
3303 * config/tc-mn10300.c: Likewise.
3304 * config/tc-openrisc.c: Likewise.
3305 * config/tc-or32.c: Likewise.
3306 * config/tc-pdp11.c: Likewise.
3307 * config/tc-ppc.c: Likewise.
3308 * config/tc-ppc.h: Likewise.
3309 * config/tc-sh64.c: Likewise.
3310 * config/tc-sh.c: Likewise.
3311 * config/tc-tic54x.c: Likewise.
3312 * config/tc-xstormy16.c: Likewise.
3313 * config/tc-xstormy16.h: Likewise.
3314
cc8a6dd0
KH
33152002-05-09 Kazu Hirata <kazu@cs.umass.edu>
3316
3317 * config/obj-coff.c: Fix formatting.
3318 * config/obj-elf.c: Likewise.
3319 * config/tc-alpha.c: Likewise.
3320 * config/tc-arm.c: Likewise.
3321 * config/tc-d10v.c: Likewise.
3322 * config/tc-d30v.c: Likewise.
3323 * config/tc-h8300.c: Likewise.
3324 * config/tc-hppa.c: Likewise.
3325
412167cb
AM
33262002-05-09 Alan Modra <amodra@bigpond.net.au>
3327
3328 * config/tc-i386.c (md_estimate_size_before_relax) Don't lose
3329 reloc when no_cond_jump_promotion.
3330
91975467
JW
33312002-05-08 Jim Wilson <wilson@redhat.com>
3332
3333 * config/tc-i960.c (md_estimate_size_before_relax): Return size of
3334 current variable part of frag.
3335
a1b6236b
KH
33362002-05-08 Kazu Hirata <kazu@cs.umass.edu>
3337
3338 * config/tc-mmix.c: Fix formatting.
3339 * config/tc-mmix.h: Likewise.
3340
c8615825
AM
33412002-05-08 Alan Modra <amodra@bigpond.net.au>
3342
3343 * configure: Regenerate.
3344
8a104df9
KH
33452002-05-07 Kazu Hirata <kazu@cs.umass.edu>
3346
3347 * config/tc-m68k.c: Fix formatting.
3348
d3d8a9ee
NC
33492002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
3350
3351 * Makefile.am: Honour DESTDIR.
3352 * Makefile.in: Regenerate.
3353
40449e9f
KH
33542002-05-06 Kazu Hirata <kazu@cs.umass.edu>
3355
3356 * config/tc-ia64.c: Fix formatting.
3357 * config/tc-ia64.h: Likewise.
3358
98d3f06f
KH
33592002-05-04 Kazu Hirata <kazu@cs.umass.edu>
3360
3361 * config/tc-mips.c: Fix formatting.
3362 * config/tc-s390.c: Likewise.
3363 * config/tc-s390.h: Likewise.
3364
8f5b2891
AO
33652002-05-03 Alexandre Oliva <aoliva@redhat.com>
3366
3367 * config/tc-s390.c (md_gather_operands): Emit dwarf2 line-number
3368 information for instructions.
3369
d1a6c242
KH
33702002-05-02 Kazu Hirata <kazu@cs.umass.edu>
3371
3372 * as.h: Fix formatting.
3373 * cgen.c: Likewise.
3374 * cgen.h: Likewise.
3375 * dwarf2dbg.c: Likewise.
3376 * frags.h: Likewise.
3377 * gasp.c: Likewise.
3378 * macro.c: Likewise.
3379 * read.c: Likewise.
3380 * stabs.c: Likewise.
3381 * symbols.c: Likewise.
3382
1cfc59d5
AM
33832002-05-02 Alan Modra <amodra@bigpond.net.au>
3384
72297628
AM
3385 * app.c (mri_pseudo): Only declare for TC_M68K.
3386
1cfc59d5
AM
3387 * config/tc-ppc.c (mapping): Map sectoff to BFD_RELOC_16_BASEREL.
3388 (ppc_elf_validate_fix): Replace BFD_RELOC_32_BASEREL with
3389 BFD_RELOC_16_BASEREL.
3390 (md_assemble): Likewise.
3391 (md_apply_fix3): Likewise.
3392
358b94bd
NC
33932002-05-02 Nick Clifton <nickc@cambridge.redhat.com>
3394
3395 * config/tc-arm.c (thumb_add_sub): Do not convert a subtract of
3396 zero into an add of zero - it is not the same.
3397
d8731e7d
NC
33982002-05-01 Arati Dikey <aratid@kpit.com>
3399
3400 * tc-sh.c (get_specific): Generate warning if the same
3401 destination register is used in parallel instructions.
3402
200dbde8
AM
34032002-05-01 Andrew Macleod <amacleod@cygnus.com>
3404
3405 * config/tc-i386.c (extra_symbol_chars): Add '[' to the list.
3406
3f3cdb03
AM
34072002-05-01 Alan Modra <amodra@bigpond.net.au>
3408
3409 * write.c (cvt_frag_to_fill): Set fr_offset to zero on .org
3410 backwards to prevent cascading errors.
3411
9b2b7d69
MM
34122002-04-30 Mark Mitchell <mark@codesourcery.com>
3413
3414 * configure.in: Add support for powerpc-*-windiss.
3415 * configure: Regenerated.
a2c36061 3416
0f3f3d8b
AM
34172002-04-28 Alan Modra <amodra@bigpond.net.au>
3418
819e6420
AM
3419 * config/tc-s390.c (md_parse_option): Formatting.
3420
0f3f3d8b
AM
3421 * config/tc-i386.c: Formatting fixes, add missing space in error
3422 message.
3423
3c25c5f6
NC
34242002-04-24 Christian Groessler <chris@groessler.org>
3425
3426 * config/tc-z8k.c (build_bytes): Add support for new cases:
3427 CLASS_IGNORE and ARG_NIM4.
3428 (md_assemble): Prevent destruction of input_line_pointer if
3429 get_operands returns failure.
3430
af55c2e6
CD
34312002-04-24 Chris G. Demetriou <cgd@broadcom.com>
3432
3433 * config/tc-mips.c (macro_build): Do _not_ allow MIPS-3D
3434 instructions to be generated by macros.
3435
062cd5e7
AS
34362002-04-24 Andreas Schwab <schwab@suse.de>
3437
3438 * config/tc-i386.c (output_jump, output_disp)
3439 (md_estimate_size_before_relax): Don't set fx_pcrel_adjust any
3440 more.
3441 (md_apply_fix3): Remember addend value for rela relocations.
3442 (tc_gen_reloc): Correctly compute pc-relative relocation addend.
3443
2b2e39bf
CD
34442002-04-22 Chris Demetriou <cgd@broadcom.com>
3445
3446 * config/tc-mips.c (macro_build): Add close-parenthesis missing
3447 from previous change.
3448
80cc45a5
EC
34492002-04-22 Eric Christopher <echristo@redhat.com>
3450
2b2e39bf
CD
3451 * config/tc-mips.c (macro_build): Add warning if macro instructions
3452 are expanded into a branch delay slot.
80cc45a5 3453
ffa554ed
GK
34542002-04-17 Geoffrey Keating <geoffk@redhat.com>
3455
3456 * dwarf2dbg.c (dwarf2_gen_line_info): Do emit duplicate line
3457 numbers, gdb relies on them to detect the start of the prologue.
3458
302576af
MS
34592002-04-17 Martin Schwidefsky <schwidefsky@de.ibm.com>
3460
3461 * config/tc-s390.c (tc_s390_fix_adjustable): Prevent adjustments to
3462 symbols in merge sections.
3463
0f3f3d8b 34642002-04-16 Alan Modra <amodra@bigpond.net.au>
091e58c1
AM
3465
3466 * as.c (main): Don't reference _bfd_chunksize.
3467
76b999d0
TR
34682002-04-15 Tom Rix <trix@redhat.com>
3469
80cc45a5 3470 * config/tc-d10v.c (d10v_fix_adjustable): Prevent adjustments to
76b999d0
TR
3471 symbols in merge sections.
3472
580a832e
RS
34732002-04-11 Richard Sandiford <rsandifo@redhat.com>
3474
3475 * doc/invoke.texi (TC_LARGEST_EXPONENT_IS_NORMAL): Document.
3476 * config/atof-ieee.c (TC_LARGEST_EXPONENT_IS_NORMAL): Add an
3477 argument for the precision.
3478 (gen_to_words): Update accordingly.
3479
edde18a5
AM
34802002-04-10 Alan Modra <amodra@bigpond.net.au>
3481
3482 * as.c (parse_args <OPTION_VERSION>): Use VERSION is
3483 BFD_VERSION_STRING unavailable.
3484 * config/tc-i386.c (INLINE): Define (for non-BFD assembler).
3485
6c6783ff 34862002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
5bcd00a6
JR
3487
3488 * config/tc-sh.h (TC_FIX_ADJUSTABLE): Disable adjusting if
3489 symbol_used_in_reloc_p is true.
2ed5f585
JR
3490
3491 * config/tc-sh.c (md_apply_fix3): Don't zero relocations on big
3492 endian hosts.
3493
8e42bcb6
AM
34942002-04-04 Alan Modra <amodra@bigpond.net.au>
3495
3496 * dep-in.sed: Cope with absolute paths.
3497 * Makefile.am (dep.sed): Subst TOPDIR.
3498 Run "make dep-am".
3499 * Makefile.in: Regenerate.
3500
874e8986
TS
35012002-04-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
3502
3503 * config/tc-mips.c (mips16_macro_build): Cast type mismatch.
3504 (mips_ip): Remove unused variable.
3505 (md_apply_fix3): Cast signed/unsignes mismatches. Replace
3506 unsigned char with bfd_byte.
3507 (s_file): Remove unused variable.
3508 (s_mips_ent): Likewise.
3509
fbdbf472
TR
35102002-04-03 Tom Rix <trix@redhat.com>
3511
3512 * config/tc-d10v.c (d10v_insert_operand): Fix warning in as_bad_where.
3513 (build_insn): Same.
3514 (find_opcode): Fix warning in as_warn.
3515 * config/tc-d10v.h: Update Copyright.
3516
35172002-04-03 Alan Matsuoka <alanm@redhat.com>
3518 Tom Rix <trix@redhat.com>
3519
3520 From Jeff Knaggs <jknaggs@redhat.com>
80cc45a5 3521 * config/tc-d10v.c (check_resource_conflict): New function to
fbdbf472
TR
3522 check for resource conflicts.
3523
3524 From Jason Eckhardt <jle@redhat.com>
a2c36061
AM
3525 * config/tc-d10v.c (build_insn): Check for unresolved imm4 or
3526 imm3 fields.
3527 * config/tc-d10v.c (find_opcode): Emit a warning if one of the
3528 reserved control registers is used.
3529 * config/tc-d10v.c (build_insn): Check for unresolved imm4 or
3530 imm3 fields.
fbdbf472
TR
3531
3532 From 2001-03-28 Diego Novillo <dnovillo@redhat.com>
a2c36061
AM
3533 * tc-d10v.c (parallel_ok): Prevent packing only if the first
3534 instruction cannot be packed.
fbdbf472
TR
3535
3536 From 2001-03-30 Diego Novillo <dnovillo@redhat.com>
a2c36061
AM
3537 * gas/config/tc-d10v.c (check_resource_conflict): Only check
3538 write-write conflicts.
3539 (md_assemble): Reformat introductory comment.
3540 * opcodes/d10v-opc.c (d10v_opcodes): `btsti' does not modify its
3541 arguments.
fbdbf472 3542
784b640d
AM
35432002-04-03 Alan Modra <amodra@bigpond.net.au>
3544
3545 * symbols.c (resolve_symbol_value <O_uminus, O_bit_not,
3546 O_logical_not>): Derive final_seg from add_symbol.
3547 <O_multiply..O_logical_or>: More final_seg twiddles.
3548
5f44c186
RH
35492002-04-01 Jessica Han <jessica@cup.hp.com>
3550
a2c36061 3551 * config/tc-ia64.c (ia64_cons_fix_new): Handle 8 byte iplt reloc
5f44c186
RH
3552 in 32-bit mode.
3553
3458b54c
AS
35542002-03-27 Andreas Schwab <schwab@suse.de>
3555
3556 * config/tc-i386.c (output_jump): Set fx_pcrel_adjust to size of
3557 field for pc-relative fixups.
3558 (output_disp): Likewise.
3559 (md_estimate_size_before_relax): Likewise.
3560 (tc_gen_reloc): Subtract fx_pcrel_adjust instead of fx_size for
3561 pc-relative fixups in 64bit mode.
3562
815b453c
AM
35632002-03-22 Alan Modra <amodra@bigpond.net.au>
3564
3565 * config/te-aix5.h: Typo fix.
3566
d5b32339
AM
35672002-03-21 Alan Modra <amodra@bigpond.net.au>
3568
3569 * Makefile.am: Run "make dep-am".
3570 * Makefile.in: Regenerate.
3571 * doc/Makefile.in: Regenerate.
3572
f201ccb3
NC
35732002-03-20 Albert Chin-A-Young <china@thewrittenword.com>
3574
3575 * config/tc-arm.c (vfp_dp_reg_required_here): Fix typo
3576 (vfp_sp_reg_pos -> vfp_dp_reg_pos).
3577
177b4a6a
AO
35782002-03-18 Alexandre Oliva <aoliva@redhat.com>
3579
3580 * config/tc-mips.c (md_estimate_size_before_relax): Do not modify
3581 the EXTENDED bit here; report the estimate according to the
3582 current size.
3583
eb1e0e80
NC
35842002-03-18 Tom Rix <trix@redhat.com>
3585
3586 * configure.in: Add AIX 5 support.
3587 * config/tc-ppc.c (ppc_target_format): Add AIX 5 64 bit target.
3588 * config/te-aix5.h: New file. AIX 5 support.
3589 * configure: Regenerate.
3590
a1c259a1
NC
35912002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
3592
3593 * po/fr.po: Updated version.
3594
949f2b5c
AJ
35952002-03-16 Andreas Jaeger <aj@suse.de>
3596
3597 * doc/c-mips.texi (Machine Dependencies): Add new node.
3598
1f25f5d3
CD
35992002-03-15 Chris G. Demetriou <cgd@broadcom.com>
3600
3601 * config/tc-mips.c (mips_set_options): New "ase_mips3d" member.
3602 (mips_opts): Initialize "ase_mips3d" member.
3603 (file_ase_mips3d): New variable.
3604 (CPU_HAS_MIPS3D): New macro.
3605 (md_begin): Initialize mips_opts.ase_mips3d and file_ase_mips3d
3606 based on command line options and configuration defaults.
3607 (macro_build, mips_ip): Accept MIPS-3D instructions if
3608 mips_opts.ase_mips3d is set.
3609 (OPTION_MIPS3D, OPTION_NO_MIPS3D, md_longopts, md_parse_option):
3610 Add support for "-mips3d" and "-no-mips3d" options.
3611 (OPTION_ELF_BASE): Move to accomodate new options.
3612 (s_mipsset): Support ".set mips3d" and ".set nomips3d".
3613 (mips_elf_final_processing): Add a comment indicating that a
3614 MIPS-3D ASE ELF header flag should be set, when one exists.
3615 * doc/as.texinfo: Document -mips3d and -no-mips3d options.
3616 * doc/c-mips.texi: Likewise, and document ".set mips3d" and ".set
3617 nomips3d" directives.
949f2b5c 3618
2be11e7e
HPN
36192002-03-14 Hans-Peter Nilsson <hp@bitrange.com>
3620
3621 * config/tc-mmix.c (md_estimate_size_before_relax): Don't consider
3622 a weak symbol in same section to be within reach.
3623
9ce88e60
NC
36242002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
3625
3626 * po/fr.po: Updated version.
3627
1e16b528
AS
36282002-03-12 Andreas Schwab <schwab@suse.de>
3629
3630 * config/tc-ia64.c (fixup_unw_records): Clear region when seeing a
3631 body record so that an error is given for misplaced .save
3632 pseudo-ops.
3633
29b0f896
AM
36342002-03-09 Alan Modra <amodra@bigpond.net.au>
3635
3636 * config/tc-i386.h (REX_OPCODE): Define.
3637 (REX_MODE64, REX_EXTX, REX_EXTY, REX_EXTZ): Define.
3638 (rex_byte): typedef to int.
3639 * config/tc-i386.c: Group prototypes and vars together.
3640 Formatting fixes. Remove occurrences of "register" keyword.
3641 (true): Delete.
3642 (false): Delete.
3643 (mode_from_disp_size): Add INLINE keyword to prototype.
3644 (fits_in_signed_byte): Likewise.
3645 (fits_in_unsigned_byte): Likewise.
3646 (fits_in_unsigned_word): Likewise.
3647 (fits_in_signed_word): Likewise.
3648 (fits_in_unsigned_long): Likewise.
3649 (fits_in_signed_long): Likewise.
3650 (type_names): Constify.
3651 (intel_float_operand): Constify param.
3652 (add_prefix): Use REX_OPCODE.
3653 (md_assemble): Likewise. Modify for changed rex_byte.
3654 (parse_insn): Split out of md_assemble.
3655 (parse_operands): Likewise.
3656 (swap_operands): Likewise.
3657 (optimize_imm): Likewise.
3658 (optimize_disp): Likewise.
3659 (match_template): Likewise.
3660 (check_string): Likewise.
3661 (process_suffix): Likewise.
3662 (check_byte_reg): Likewise.
3663 (check_long_reg): Likewise.
3664 (check_qword_reg): Likewise.
3665 (check_word_reg): Likewise.
3666 (finalize_imm): Likewise.
3667 (process_operands): Likewise.
3668 (build_modrm_byte): Likewise.
3669 (output_insn): Likewise.
3670 (output_branch): Likewise.
3671 (output_jump): Likewise.
3672 (output_interseg_jump): Likewise.
3673 (output_disp): Likewise.
3674 (output_imm): Likewise.
3675
2e64b665
DJ
36762002-03-07 Daniel Jacobowitz <drow@mvista.com>
3677
3678 * doc/as.texinfo: Wrap @menu in @ifnottex, not @ifinfo.
3679
937149dd
AM
36802002-03-06 Alan Modra <amodra@bigpond.net.au>
3681
3682 * config/tc-i386.c (tc_gen_reloc): Don't attempt to handle 8 byte
3683 relocs except when BFD64.
3684
3685 * write.c (number_to_chars_bigendian): Don't abort when N is
3686 larger than sizeof (VAL).
3687 (number_to_chars_littleendian): Likewise.
3688
40d74fb1
JL
36892002-03-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
3690
3691 * config/tc-hppa.c (md_apply_fix3): Add cast.
3692 (hppa_fix_adjustable): Adjust list of selectors using e_lrsel and
3693 e_rrsel.
3694
cd3cde86
AM
36952002-03-05 Paul Koning <pkoning@equallogic.com>
3696
3697 * tc-pdp11.c: Use VAX float format support for PDP-11 target.
3698 (parse_ac5): New function for parsing float regs in float operand.
3699 (parse_expression): Remove attempt to make literals be octal.
3700 (parse_op_no_deferred): Support float literals.
3701 (parse_op): Reject attempts to refer to float regs.
3702 (parse_fop): New function, like parse_op but for float operand.
949f2b5c 3703 (md_assemble): Add cases to parse float operands. Also fix
cd3cde86
AM
3704 IMM3, IMM6, IMM8 cases to pick up the operand from the right spot.
3705
e9682144
L
37062002-03-04 H.J. Lu <hjl@gnu.org>
3707
3708 * config/obj-elf.c (special_section): Add .init_array,
3709 .fini_array and .preinit_array.
3710
3711 * config/tc-ia64.h (ELF_TC_SPECIAL_SECTIONS): Remove
3712 .init_array and .fini_array.
3713
26eb4093
JJ
37142002-03-01 Jakub Jelinek <jakub@redhat.com>
3715
3716 * config/obj-elf.c (elf_copy_symbol_attributes): Don't copy
3717 visibility.
3718 (obj_frob_symbol): Copy visibility.
3719
559e22f3
JJ
37202002-02-28 Jakub Jelinek <jakub@redhat.com>
3721
3722 * config/tc-alpha.c (s_alpha_text): Use obj_elf_text for OBJ_ELF, not
3723 s_text.
3724 (s_alpha_data): Use obj_elf_data for OBJ_ELF, not s_data.
3725
ef412327
NC
37262002-02-27 Nick Clifton <nickc@cambridge.redhat.com>
3727
3728 * po/es.po: Updated.
3729
b25a253c
CD
37302002-02-26 Chris Demetriou <cgd@broadcom.com>
3731
3732 * config/tc-mips.c (mips_need_elf_addend_fixup): For embedded-PIC
3733 only, undo the changes made on 2001-06-08, with the
3734 effect being that common or extern symbols are
3735 adjusted for embedded-PIC, but weak symbols are not.
3736 (md_estimate_size_before_relax: Likewise, with the effect
3737 that extern symbols are treated the same as weak symbols
3738 only if not embedded-PIC.
3739 (mips_fix_adjustable) Likewise, with the effect that
3740 weak or extern symbols are not adjusted for embedded-PIC.
3741 (md_apply_fix3): Tweak so that the case where value is zero
3742 is handled more correctly for embedded-PIC code.
3743
fe41178f
NC
37442002-02-26 Nick Clifton <nickc@cambridge.redhat.com>
3745
587fe2b3
NC
3746 * doc/as.texinfo (Overview): Add missing @ifset IA64
3747
fe41178f
NC
3748 * configure.in (LINGUAS): Add es.po.
3749 * configure: Regenerate.
3750 * po/es.po: New file.
3751
4d34fb5f
TS
37522002-02-25 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
3753
3754 * config/tc-mips.c (set_at): Fix handling of 64bit register loads.
3755 (macro): Likewise. Fix la/dla address expansions for EMBEDDED_PIC
3756 and NO_PIC cases. Code cleanup.
3757 (macro2): Fix handling of 64bit register loads.
3758
9e32ca89
NC
37592002-02-25 David Mosberger <davidm@hpl.hp.com>
3760
3761 * doc/as.texinfo: Add entry for IA64.
3762 * doc/c-ia64.texi: New file.
3763
23e1d84c
AM
37642002-02-25 Alan Modra <amodra@bigpond.net.au>
3765
c7d004c5
AM
3766 * config/tc-hppa.c: Update copyright date.
3767
3768 * doc/c-ppc.texi (PowerPC-Opts): Add -mpower4, -maltivec and -m7400
23e1d84c
AM
3769 Remove references to chip manufacturers.
3770 * config/tc-ppc.c (md_parse_option): Handle -mpower4 option.
3771 Correct comments.
3772 (md_show_usage): Remove references to chip manufacturers. Mention
3773 -mpower4.
3774 (md_begin): Test power4 opcode flag bits.
3775
b1c6bf70 37762002-02-22 David Mosberger <davidm@hpl.hp.com>
6290819d
NC
3777
3778 * config/tc-ia64.c (dot_restore): Issue error message of epilogue
3779 count exceeds prologue count.
3780 (md_show_usage): Describe -mconstant-gp and -mauto-pic.
3781 (unwind.label_prologue_count): New member.
3782
3783 Based on a patch by Hans Boehm <hboehm@hpl.hp.com>:
3784
3785 (get_saved_prologue_count): New function.
3786 (save_prologue_count): New function.
3787 (free_saved_prologue_count): New function.
3788 (dot_label_state): Record state label by calling save_prologue_count().
3789 (dot_copy_state): Restore prologue count by calling
3790 get_saved_prologue_count().
3791 (generate_unwind_image): Free up list of saved prologue
3792 counts by calling free_saved_prologue_counts().
3793
f1e7a2c9
NC
37942002-02-22 Nick Clifton <nickc@cambridge.redhat.com>
3795
3796 * config/tc-tic54x.c: Add missing prototypes and remove ANSI style
3797 function declarations.
3798
3f965e60
NC
37992002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
3800
3801 * NEWS: Note that GASP is now deprecated.
3802 * Makefile.am: Do not build gasp-new by default.
3803 * Makefile.in: Regenerate.
3804 * doc/Makefile.am: Do not install gasp.info.
3805 * doc/Makefile.in: Regenerate.
3806 * gas/gasp.texi: Note that gasp is now deprecated.
3807
9a66911f
NC
38082002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
3809
3810 * NEWS: Mark 2.12 branch.
3811
f88fd9fe
TT
38122002-02-19 Tom Tromey <tromey@redhat.com>
3813
3814 * config/tc-xstormy16.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
3815
da0e507f
TS
38162002-02-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
3817
3818 * config/tc-mips.c (md_parse_option): Complain about invalid -mabi
3819 option input.
3820
ff0fb565
MS
38212002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
3822
3823 * config/tc-s390.c (md_parse_option): Add switches -m31 and -m64.
3824 Make bit size independent of architecture switch.
3825 (md_begin): Add warning for -m64 with -Aesa.
3826 (s390_md_end): Use renamed architecture defines.
3827
a245a9aa
DJ
38282002-02-18 Daniel Jacobowitz <drow@mvista.com>
3829
3830 * config/obj-coff.h: Check !target_big_endian, not shl, for coff-sh.
3831
8bf549a8
NC
38322002-02-16 Nick Clifton <nickc@cambridge.redhat.com>
3833
3834 * doc/as.texinfo (Machine Dependencies): Fix typo: MMIX used
3835 instead of CRIS.
3836
9151e8bf
CD
38372002-02-15 Chris Demetriou <cgd@broadcom.com>
3838
a2c36061 3839 * config/tc-mips.c (md_estimate_size_before_relax): Really
9151e8bf
CD
3840 make sure we treat weak like extern only for ELF. (Fixes
3841 patch from 2001-07-25.)
3842
59455fb1
BE
38432002-02-15 Ben Elliston <bje@redhat.com>
3844
3845 * doc/as.texinfo: Add duplicate directory entry so that "info gas"
3846 works as expected.
3847
49fda6c8
HPN
38482002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
3849
3850 * NEWS: Mention support for MMIX.
3851
2d2bf3e0
CD
38522002-02-13 Chris Demetriou <cgd@broadcom.com>
3853
3854 * config/tc-mips.c (mips_need_elf_addend_fixup): Restructure into
3855 a sequence of indpendent 'if' statements for easier debugging
3856 and future modification.
3857
76f57f3a
JT
38582002-02-13 Matt Fredette <fredette@netbsd.org>
3859
3860 * config/tc-m68k.c (md_show_usage): No longer display a
3861 hard-coded "68020" for the default CPU, instead display the
3862 canonical name of the true, configured default CPU.
3863 (m68k_elf_final_processing): Mark objects for sub-68020
3864 CPUs with the new EF_M68000 flag.
3865
3bf057fa
AS
38662002-02-13 Andreas Schwab <schwab@suse.de>
3867
3868 * config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust
3869 pc-relative relocations to merge sections in 64-bit mode.
3870
6334e312 38712002-02-13 Ben Elliston <bje@redhat.com>
1ac57253
BE
3872
3873 * NEWS: Document floating point number handling in gasp.
3874 * gasp.c: Include <assert.h> and "xregex.h".
3875 (is_flonum): New function.
3876 (chew_flownum): Likewise.
3877 (change_base): Consume flonums from the input, where possible.
3878 * doc/gasp.texi (Constants): Document floating point numbers.
3879
3dcfe21d
AM
38802002-02-12 John David Anglin <dave@hiauly1.hia.nrc.ca>
3881
3882 * config/tc-hppa.c (hppa_fix_adjustable): Don't adjust final types
3883 that implicitly use LR and RR selectors.
3884
913572ec
AO
38852002-02-12 Alexandre Oliva <aoliva@redhat.com>
3886
3887 * config/tc-mn10300.c (other_registers): Added `epsw'. Mark `pc'
3888 and `epsw' as available on AM33 and above only.
3889 (other_register_name): Add logic to handle machine type encoded in
3890 reg_number.
3891
9b90b531
TR
38922002-02-11 Tom Rix <trix@redhat.com>
3893
949f2b5c 3894 * config/tc-ppc.c (md_apply_fix3): Check for insert fop invalid for
9b90b531
TR
3895 xcoff64.
3896
6c6783ff 38972002-06-11 Alexandre Oliva <aoliva@redhat.com>
6c1b24e4
AO
3898
3899 * config/tc-sparc.c (U0x80000000, U0xffffffff): New constants.
3900 Use all over.
3901
6c6783ff 39022002-02-11 Jan Hubicka <jh@suse.cz>
7ecd2f8b
JH
3903
3904 * i386.c (md_assemble): Support 32bit address prefix.
3905 (i386_displacement): Likewise.
3906 (i386_index_check): Accept 32bit addressing in 64bit mode.
3907
7eb27ef2
AO
39082002-02-11 Alexandre Oliva <aoliva@redhat.com>
3909
3910 * config/tc-sh.c (dot): Removed unused function.
3911
fa702524
AM
39122002-02-11 Alan Modra <amodra@bigpond.net.au>
3913
3914 * Makefile.am: "make dep-am".
3915 * Makefile.in: Regenerate.
3916 * aclocal.m4: Regenerate.
3917 * config.in: Regenerate.
3918 * configure: Regenerate.
3919 * doc/Makefile.in: Regenerate.
3920
625e1353
RH
39212002-02-10 Richard Henderson <rth@redhat.com>
3922
3923 * doc/c-alpha.texi: New file.
3924 * doc/Makefile.am (CPU_DOCS): Add it.
3925 * doc/all.texi, doc/as.texinfo: Add hooks for Alpha.
3926
543833df
RH
39272002-02-09 Richard Henderson <rth@redhat.com>
3928
3929 * config/tc-alpha.c (O_samegp): New.
3930 (USER_RELOC_P): Include it.
3931 (alpha_reloc_op_tag, debug_exp, find_macro_match): Add it.
3932 (md_apply_fix3): Handle BFD_RELOC_ALPHA_BRSGP.
3933 (alpha_force_relocation, alpha_fix_adjustable): Likewise.
3934 (alpha_validate_fix): New.
3935 * config/tc-alpha.h (TC_VALIDATE_FIX): New.
3936
328eb32e
HPN
39372002-02-09 Hans-Peter Nilsson <hp@axis.com>
3938
3939 * doc/c-cris.texi: New.
3940 * doc/all.texi: @set CRIS.
3941 * doc/as.texinfo: Ditto. Add CRIS gas manpage option overview.
3942 Include c-cris.texi.
3943 * doc/Makefile.am (CPU_DOCS): Add c-cris.texi
3944 * doc/Makefile.in: Regenerate.
3945
6373ee54
CD
39462002-02-08 Chris Demetriou <cgd@broadcom.com>
3947
3948 * config/tc-mips.c (IS_SEXT_32BIT_NUM): New macro to
3949 determine if a number is a sign-extended 32-bit number.
3950 (load_register): Use IS_SEXT_32BIT_NUM.
3951 (macro): Check if load/store macro handling is using a
3952 constant 32-bit address on 64-bit address systems, and if
3953 so optimize the generation of that address.
3954
50a4c611
RH
39552002-02-08 Richard Henderson <rth@redhat.com>
3956
3957 * config/tc-alpha.c (alpha_force_relocation): Don't assert that
3958 we've eliminated all foreign relocation types yet.
3959 (alpha_fix_adjustable): Likewise.
3960
324bfcf3
AO
39612002-02-08 Alexandre Oliva <aoliva@redhat.com>
3962
3963 Contribute sh64-elf.
3964 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
3965 Stephen Clarke <Stephen.Clarke@st.com>
3966 * doc/c-sh64.texi: Fix citation of SH64 architecture manual.
3967 2002-01-31 Alexandre Oliva <aoliva@redhat.com>
3968 * config/tc-sh.c (md_relax_table): Added default sizes for
3969 non-PC-relative UNDEF_MOVI, and relaxation sequences for
3970 MOVI_16, MOVI_32 and MOVI_48.
3971 * config/tc-sh64.c (shmedia_md_apply_fix3): Fix warning.
3972 (shmedia_md_convert_frag): Handle non-PC-relative UNDEF_MOVI
3973 and MOVI_16.
3974 (shmedia_md_estimate_size_before_relax): Remove redundant
f6cf69d7 3975 blocks. Set fragP->fr_var even if relaxation type unchanged.
324bfcf3
AO
3976 Retain UNDEF_MOVI until expression decays to number.
3977 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
3978 * config/tc-sh64.c (shmedia_init_reloc): Handle new SHmedia PIC
3979 relocation types. Take fixP->fx_addnumber into account too.
3980 (shmedia_md_apply_fix): Likewise.
3981 (shmedia_md_convert_frag): Likewise.
3982 (shmedia_build_Mytes): Likewise.
3983 (sh64_consume_datalabel): Complain about nested datalabel.
3984 Support PIC relocs. Call sh_parse_name.
3985 * config/tc-sh64.h (TC_RELOC_RTSYM_LOC_FIXUP): Extend definition
3986 in tc-sh.h to SHmedia reloc types.
3987 * config/tc-sh.c (SH64PCRELPLT, MOVI_PLT, MOVI_GOTOFF,
3988 MOVI_GOTPC): New relaxation constants.
3989 (md_relax_table): Introduce relaxation directives for PIC-related
3990 constants.
3991 (sh_PIC_related_p): Handle datalabel.
3992 (sh_check_fixup): Choose SH5 PIC relocations.
3993 (sh_cons_fix_new): Added BDF_RELOC_64.
3994 (md_apply_fix3, sh_parse_name): Handle GOTPLT.
3995 2002-01-18 Alexandre Oliva <aoliva@redhat.com>
3996 * config/tc-sh64.c (sh64_max_mem_for_rs_align_code): If the
3997 current ISA is SHmedia, get 7 bytes.
3998 2001-11-28 Nick Clifton <nickc@cambridge.redhat.com>
3999 * config/tc-sh.c (md_apply_fix3): Treat shmedia_md_apply_fix3 as a
4000 void function.
4001 * config/tc-sh64.c (shmedia_apply_fix): Rename to
4002 shmedia_apply_fix3 and make void.
4003 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
4004 * config/tc-sh64.c (s_sh64_abi): Remove unused arguments passed to
4005 as_bad.
4006 2001-04-12 Alexandre Oliva <aoliva@redhat.com>
4007 * config/tc-sh64.h (md_parse_name): Take &c as argument.
4008 2001-03-14 DJ Delorie <dj@redhat.com>
4009 * doc/Makefile.am (CPU_DOCS): Added c-sh64.texi
4010 * doc/Makefile.in(CPU_DOCS): Ditto.
4011 * doc/c-sh64.texi: New file.
4012 * doc/as.texinfo: Add SH64 support.
4013 2001-03-13 DJ Delorie <dj@redhat.com>
4014 * config/tc-sh64.c (shmedia_get_operands): Rename A_RESV_Fx to
4015 A_REUSE_PREV so that its purpose is more obvious.
4016 (shmedia_build_Mytes): Ditto.
4017 2001-03-07 DJ Delorie <dj@redhat.com>
4018 * config/tc-sh64.c (sh64_vtable_entry): New, strip datalabels
4019 before processing.
4020 (sh64_vtable_inherit): Ditto.
4021 (strip_datalabels): New, strip "datalabel" from given line.
4022 * config/tc-sh.c (md_pseudo_table): Add sh64-specific vtable
4023 pseudos.
4024 2001-03-06 Hans-Peter Nilsson <hpn@cygnus.com>
4025 * config/tc-sh64.c (shmedia_md_assemble): Move dwarf2_emit_insn
4026 call ...
4027 (shmedia_build_Mytes): ... to here.
4028 2001-03-06 DJ Delorie <dj@redhat.com>
4029 * config/tc-sh.c: Remove sh64-specific uaquad now that there
4030 is a generic one.
4031 2001-01-21 Hans-Peter Nilsson <hpn@cygnus.com>
4032 * config/tc-sh64.h (DWARF2_LINE_MIN_INSN_LENGTH): Override.
4033 * config/tc-sh64.c (shmedia_md_assemble): Offset recorded insn
4034 address by one in call to dwarf2_emit_insn.
4035 2001-01-13 Hans-Peter Nilsson <hpn@cygnus.com>
4036 Implement ".abi" pseudo and correct .cranges descriptors. Correct
4037 alignment handling broken by imported changes.
4038 * config/tc-sh64.h (HANDLE_ALIGN): Override definition in tc-sh.h.
4039 (sh64_handle_align): Declare.
4040 (MAX_MEM_FOR_RS_ALIGN_CODE): Override definition in tc-sh.h.
4041 (sh64_max_mem_for_rs_align_code): Declare.
4042 (enum sh64_isa_values): Moved here from tc-sh64.c.
4043 (md_do_align): Define.
4044 (sh64_do_align): Declare.
4045 (struct sh64_tc_frag_data): New.
4046 (TC_FRAG_TYPE): Change to struct sh64_tc_frag_data. Users
4047 changed.
4048 (TC_FRAG_INIT): Change to set new datatype.
4049 (struct sh64_segment_info_type): Rename member
4050 last_flushed_location to last_contents_mark. All users changed.
4051 (md_elf_section_change_hook, TC_CONS_FIX_NEW): Do not define.
4052 (shmedia_elf_new_section, sh64_tc_cons_fix_new): Do not prototype.
4053 * config/tc-sh.c (md_pseudo_table): Add ".abi".
4054 (sh_elf_cons) [HAVE_SH64]: Call sh64_update_contents_mark instead
4055 of unsetting seen_insn.
4056 (md_assemble) [HAVE_SH64] <before new SHcompact sequence>: Also
4057 call sh64_update_contents_mark.
4058 (sh_handle_align): Remove HAVE_SH64-conditioned code.
4059 * config/tc-sh64.c (sh64_isa_mode): Correct type from boolean to
4060 enum sh64_isa_values.
4061 (sh64_set_contents_type): Drop segT parameter. All callers changed.
4062 (emitting_crange): Boolean guard moved to file scope from function
4063 scope in sh64_set_contents_type.
4064 (s_sh64_abi): New.
4065 (sh64_update_contents_mark): New; most split out from
4066 sh64_flush_pending_output.
4067 (shmedia_md_end): Call sh64_update_contents_mark. Set
4068 sh64_isa_mode to sh64_isa_sh5_guard unless sh64_isa_unspecified.
4069 (sh64_do_align): New function.
4070 (sh64_max_mem_for_rs_align_code): New function.
4071 (sh64_handle_align): Rename from shmedia_do_align. Make
4072 non-static. Add head comment. Emit zero bytes for n bytes modulo
4073 four. Change return-type to void.
4074 (shmedia_elf_new_section): Remove.
4075 (shmedia_md_assemble): Call sh64_update_contents_mark.
4076 (s_sh64_mode): Ditto. Do not call md_flush_pending_output. Make
4077 new frag. Call sh64_update_contents_mark after making the new
4078 frag.
4079 (sh64_flush_pending_output): Just call sh64_update_contents_mark
4080 and sh_flush_pending_output.
4081 (sh64_flag_output): Also call md_flush_pending_output, but add
4082 condition on not emitting_crange.
4083 (sh64_tc_cons_fix_new): Remove.
4084 2001-01-12 Nick Clifton <nickc@redhat.com>
4085 * config/tc-sh64.c (shmedia_do_align): Fix to work with new
4086 alignment handling scheme imported from sourceware.
4087 2001-01-12 Hans-Peter Nilsson <hpn@cygnus.com>
4088 * config/tc-sh64.h (TARGET_FORMAT): Define.
4089 (sh64_target_format): Prototype.
4090 * config/tc-sh64.c (sh64_target_mach): New function.
4091 2001-01-07 Hans-Peter Nilsson <hpn@cygnus.com>
4092 * config/tc-sh64.c (shmedia_md_end): When equating a symbol, use
4093 zero_address_frag instead of copying the frag of the symbol.
4094 (shmedia_frob_file_before_adjust): Ditto.
4095 (shmedia_md_apply_fix) <case BFD_RELOC_SH_IMM_MEDLOW16>: Cast mask
4096 to valueT to remove signedness.
f6cf69d7 4097 (shmedia_md_convert_frag): Add parameter final. Rename parameter
324bfcf3
AO
4098 headers to output_bfd. Do not evaluate symbols if final is false;
4099 do emit fixups.
4100 (shmedia_md_estimate_size_before_relax) <case C (MOVI_IMM_32,
4101 UNDEF_MOVI) et al>: If symbol cannot be modified to be PC-relative
4102 to the current frag, call shmedia_md_convert_frag to emit fixups
f6cf69d7 4103 and make frag_wane neutralize the frag. Update comments.
324bfcf3
AO
4104 * config/tc-sh.c (md_convert_frag): Change caller of
4105 shmedia_md_convert_frag.
4106 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
4107 * config/tc-sh64.h: Tweak comments and correct formatting.
4108 * config/tc-sh64.c: Ditto.
4109 (shmedia_md_convert_frag) <PT/PTA/PTB 32, 48 and 64 bit
4110 expansion, MOVI pcrel expansion>: Fix thinko calculating offset
4111 for the no-relocation case.
4112 (shmedia_check_limits): Fix range check being off-by-one for PTA.
4113 * config/tc-sh.c: Ditto. Add proper comments to #ifdef/#ifndef
4114 wrappers.
f6cf69d7 4115 (SH64PCREL16_F): Increment for proper max-PTA handling. Update
324bfcf3
AO
4116 comment.
4117 (SH64PCREL16_M, MOVI_16_M): Correct range thinko.
4118 (SH64PCREL48_M, MOVI_48_M): Similar; don't count in length of
4119 expansion.
4120 (SH64PCREL32_M, MOVI_32_M): Ditto; handle overflowing expression.
4121 Correct comment.
4122 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
4123 * config/tc-sh64.c (shmedia_md_apply_fix) <second switch, case
4124 BFD_RELOC_SH_PT_16>: Set lowest bit in field to be relocated to 1.
4125 (shmedia_md_convert_frag) <case C (SH64PCREL16_32, SH64PCREL16) et
4126 al>: Set lowest bit of field to relocate to 1 and rest to empty,
949f2b5c 4127 if reloc is emitted.
324bfcf3
AO
4128 2000-12-31 Hans-Peter Nilsson <hpn@cygnus.com>
4129 New options plus bugfixes.
4130 * config/tc-sh.c (md_longopts): New options "-no-expand" and
4131 "-expand-pt32".
4132 (md_parse_option): Handle new options.
4133 (md_show_usage): Add blurb for new options.
4134 * config/tc-sh64.c (SHMEDIA_BFD_RELOC_PT): New macro.
4135 (sh64_expand, sh64_pt32): New variables.
4136 (shmedia_init_reloc): Handle BFD_RELOC_SH_PT_16.
4137 (shmedia_md_apply_fix): Hold original fixP->fx_r_type in
f6cf69d7 4138 orig_fx_r_type. Change SHMEDIA_BFD_RELOC_PT into
324bfcf3
AO
4139 BFD_RELOC_SH_PT_16. Handle BFD_RELOC_SH_PT_16 as pc-relative.
4140 <resolved previously-pc-relative relocs>: Handle
4141 SHMEDIA_BFD_RELOC_PT and BFD_RELOC_SH_PT_16.
4142 (shmedia_md_convert_frag) <case C (SH64PCREL16PT_64, SH64PCREL16),
4143 case C (SH64PCREL16PT_32, SH64PCREL16)>: Modify to PTB if operand
4144 points to SHcompact code.
4145 <case C (SH64PCREL16_32, SH64PCREL16), case C (SH64PCREL16_64,
4146 SH64PCREL16)>: Check that ISA of what operand points at and
4147 PTA/PTB matches, or emit error.
4148 (shmedia_check_limits): Handle BFD_RELOC_SH_PT_16 and
4149 SHMEDIA_BFD_RELOC_PT.
4150 (shmedia_immediate_op): If pcrel, emit fixup also for constant
4151 operand.
4152 (shmedia_build_Mytes) <case A_IMMS16>: Also check sh64_expand in
4153 condition for MOVI expansion.
4154 <case A_PCIMMS16BY4>: Handle expansion to 32 bits only, if
4155 sh64_pt32. Emit only a BFD_RELOC_SH_PT_16 fixup if not
4156 sh64_expand.
4157 <case A_PCIMMS16BY4_PT>: Likewise, but emit a SHMEDIA_BFD_RELOC_PT
4158 fixup.
4159 (sh64_target_format): Error-check setting of sh64_pt32 and
4160 sh64_expand. Fix typo in check for sh64_shcompact_const_crange.
4161 (shmedia_md_pcrel_from_section): Handle BFD_RELOC_SH_PT_16 and
4162 SHMEDIA_BFD_RELOC_PT as coming from SHmedia code.
4163 2000-12-31 Hans-Peter Nilsson <hpn@cygnus.com>
4164 * config/tc-sh64.c: Improve comments.
4165 (shmedia_md_convert_frag): Remove inactive is_pt_variant code. Do
4166 not say the linker will check correctness of PTA/PTB expansion.
4167 (shmedia_md_end): Make non-static.
4168 * config/tc-sh64.h (md_end): Define to shmedia_md_end. Add
4169 prototype.
4170 * config/tc-sh.c (sh_finalize): Remove.
4171 * config/tc-sh.h (md_end): Do not define.
4172 Remove prototype for sh_finalize.
4173 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
4174 * config/tc-sh64.c (shmedia_frob_section_type): Use a struct
4175 sh64_section_data container when storing section type in tdata
4176 field in elf_section_data.
4177 * config/tc-sh.c (sh_elf_final_processing): Change from EF_SH64 to
4178 EF_SH5.
4179 * Makefile.am: Update dependencies.
4180 * Makefile.in: Regenerate.
4181 2000-12-22 Hans-Peter Nilsson <hpn@cygnus.com>
4182 * config/tc-sh64.c (shmedia_md_assemble): Don't protect
4183 dwarf2_emit_insn call with test on debug_type.
4184 2000-12-19 Hans-Peter Nilsson <hpn@cygnus.com>
4185 * config/tc-sh64.c (sh64_set_contents_type): Make contents-type
4186 CRT_SH5_ISA32 sticky for 64-bit.
4187 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
4188 Generate .crange sections when switching ISA mode or emitting
4189 constants in same section as code.
4190 * config/tc-sh64.c: Reformat structure definitions.
4191 (sh64_end_of_assembly, sh64_mix, sh64_shcompact_const_crange): New
4192 variables.
4193 (sh64_set_contents_type): Rename from sh64_init_section. Rewrite
4194 to emit a .cranges descriptor when contents type changes. Only
4195 emit error if changing contents type and -no-mix is in effect.
4196 (sh64_emit_crange, sh64_flush_last_crange, sh64_flag_output,
4197 sh64_flush_pending_output, sh64_tc_cons_fix_new): New functions.
4198 (shmedia_md_end): Set sh64_end_of_assembly. Pass
4199 sh64_flush_last_crange over sections.
4200 When checking main symbol of datalabel symbol, check for
4201 STO_SH5_ISA32, not ISA type of section in definition.
4202 (shmedia_frob_file_before_adjust): Check main symbol for
4203 STO_SH5_ISA32; don't check ISA type of section in definition.
4204 (shmedia_frob_section_type): Adjust for .cranges; set section flag
4205 to SHF_SH5_ISA32_MIXED or SHF_SH5_ISA32 according to whether
4206 .cranges entries have been output.
4207 (shmedia_elf_new_section): Just call md_flush_pending_output.
4208 (shmedia_md_assemble): Do not emit a BFD_RELOC_SH_SHMEDIA_CODE
4209 fix. Do not set tc_segment_info_data.in_code for section. Call
4210 sh64_set_contents_type for SHmedia code.
4211 (s_sh64_mode): Do not call sh64_init_section or set seen_insn to
4212 false. Call md_flush_pending_output.
4213 (sh64_target_format): Check that -no-mix and
4214 -shcompact-const-crange are used in sane combination with other
4215 options.
4216 (shmedia_md_pcrel_from_section): Check type of fix for how to
4217 adjust pc-relative.
4218 (sh64_consume_datalabel): Check symbol for having STO_SH5_ISA32,
4219 not ISA type of section in definition.
4220 * config/tc-sh64.h (struct sh64_segment_info_type): Rewrite to
4221 hold contents-type state.
4222 (md_flush_pending_output): Redefine to sh64_flush_pending_output.
4223 (sh64_flush_pending_output): Declare.
4224 (TC_CONS_FIX_NEW): Define to sh64_tc_cons_fix_new.
4225 (sh64_tc_cons_fix_new): Declare.
4226 * config/tc-sh.c (sh_elf_cons) [HAVE_SH64]: Unset seen_insn and
4227 call sh64_flag_output.
4228 (md_assemble) [HAVE_SH64]: Do not emit BFD_RELOC_SH_CODE. Just
4229 call sh64_set_contents_type to mark SHcompact code and set
4230 seen_insn.
4231 (md_longopts): New options "-no-mix" and
4232 "-shcompact-const-crange".
4233 (md_parse_option): Handle new options.
4234 (md_show_usage): Add blurb for new options.
4235 (md_number_to_chars) [HAVE_SH64]: Call sh64_flag_output.
4236 2000-12-15 Hans-Peter Nilsson <hpn@cygnus.com>
4237 * config/tc-sh64.c: Delete investigated and obsolete fixme:s.
4238 (sh64_last_insn_frag): New.
4239 (shmedia_md_convert_frag): Use tc_frag_data field of incoming frag
4240 to get frag for insn opcode for generating fixups; do not assume it
4241 is the same frag.
4242 (shmedia_build_Mytes): Set sh64_last_insn_frag after growing frag
4243 for new insn.
4244 * config/tc-sh64.h (ELF_TC_SPECIAL_SECTIONS): Define for .cranges
4245 section.
4246 (TC_FRAG_TYPE): Define as fragS *.
4247 (TC_FRAG_INIT): Define to set tc_frag_data to sh64_last_insn_frag.
4248 (sh64_last_insn_frag): Declare.
4249 (sh64_consume_datalabel): Fix typo; check for seginfo != NULL,
4250 not == NULL before dereferencing.
4251 2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com>
4252 Get rid of BFD section flag and EF_SH64_ABI64.
4253 * config/tc-sh64.c (shmedia_frob_section_type): Use
4254 elf_section_data (sec)->tdata, not a specific BFD section flag, to
4255 communicate the section as containing SHmedia code. Describe why.
4256 * config/tc-sh.c (sh_elf_final_processing): Tweak comment. Set
4257 EF_SH64 regardless of ABI.
4258 * config/tc-sh64.c (shmedia_md_apply_fix): Decapitalize "invalid"
4259 in error message. Handle resolved expressions for
4260 BFD_RELOC_SH_IMMS10, BFD_RELOC_SH_IMMS10BY2,
4261 BFD_RELOC_SH_IMMS10BY4 and BFD_RELOC_64.
4262 (shmedia_check_limits): Handle BFD_RELOC_64.
4263 (sh64_adjust_symtab): Do not decrement the GAS symbol value for
4264 a STO_SH5_ISA32 symbol, only the BFD value.
4265 2000-12-11 Ben Elliston <bje@redhat.com>
4266 * config/tc-sh64.c: Call dwarf2_emit_insn, not the defunct
4267 dwarf2_generate_asm_lineno.
4268 2000-12-11 Hans-Peter Nilsson <hpn@cygnus.com>
4269 Handle PC-relative MOVI expansions with assembler relaxation.
4270 Generate PC-relative relocs from 16-bit PC-relative expressions.
4271 * config/tc-sh64.c (SHMEDIA_MD_PCREL_FROM_FIX): Break out from...
4272 (shmedia_md_pcrel_from_section): ...here.
4273 (shmedia_md_apply_fix): Handle fixups for 16-bit operands that has
4274 turned completely resolved. Adjust relocation type for 16-bit
f6cf69d7 4275 immediate operands that has turned PC-relative. Adjust back for
324bfcf3
AO
4276 MD_PCREL_FROM_SECTION being applied twice.
4277 (shmedia_md_convert_frag): Always emit reloc for expression with
4278 global or weak symbol. Handle relaxation result for PC-relative
4279 expressions.
4280 (shmedia_md_estimate_size_before_relax): An expression with a weak
4281 or global symbol can not be relaxed. Break out tests for
4282 relaxable symbol into variable sym_relaxable.
4283 <cases C (MOVI_IMM_64, UNDEF_MOVI) and C (MOVI_IMM_32,
4284 UNDEF_MOVI)>: Break out any PC-relative expression and change
4285 relaxation type.
4286 (shmedia_build_Mytes): CSE &operands->operands[j] into variable
4287 opjp.
4288 <case A_IMMS16>: Fix typo for initial minor relaxation type of
f6cf69d7 4289 MOVI expansion. If X_op_symbol of the immediate expression is
324bfcf3
AO
4290 set, make an expression symbol for the argument to frag_var.
4291 * config/tc-sh.c (MOVI_IMM_32_PCREL, MOVI_IMM_64_PCREL): New
4292 relaxations.
4293 (END): Adjust for new relaxations.
4294 (md_relax_table): Add entries for new relaxations.
4295 2000-12-07 Ben Elliston <bje@redhat.com>
4296 * config/tc-sh64.c (shmedia_parse_reg): Initialize variable len.
4297 2000-12-07 Hans-Peter Nilsson <hpn@cygnus.com>
4298 * config/tc-sh64.c (shmedia_md_convert_frag): Correct all MOVI and
4299 SHORI operand offsets in PT/PTA/PTB expansions.
4300 2000-12-05 Hans-Peter Nilsson <hpn@cygnus.com>
4301 Implement DataLabel semantics.
4302 * config/tc-sh.c (sh_frob_file) [HAVE_SH64]: Call
4303 shmedia_frob_file_before_adjust.
4304 * config/tc-sh64.c [! OBJ_ELF]: Emit #error.
4305 (DATALABEL_SUFFIX): Define.
4306 (shmedia_md_end) <before adjusting STO_SH5_ISA32 symbols>: Walk
4307 symbol list to update "datalabel" symbols to their main symbol
4308 counterparts.
4309 (shmedia_frob_file_before_adjust): New.
4310 (sh64_adjust_symtab): For remaining datalabel symbols, set to
4311 undefined and set STT_DATALABEL.
4312 (sh64_frob_label): Initialize TC symbol field.
f6cf69d7 4313 (sh64_consume_datalabel): Actually implement semantics. New
324bfcf3
AO
4314 parameter operandf, call it instead of expression.
4315 (sh64_exclude_symbol): New.
4316 * config/tc-sh64.h (md_parse_name): Pass on the function operand
4317 to sh64_consume_datalabel.
4318 (tc_symbol_new_hook): Define to tc_frob_symbol.
4319 (TC_SYMFIELD_TYPE): Define to symbolS *.
4320 (tc_frob_symbol): Define to call sh64_exclude_symbol.
4321 2000-12-01 Hans-Peter Nilsson <hpn@cygnus.com>
4322 * config/tc-sh64.c (shmedia_init_reloc): Tweak comment for default
4323 case.
4324 (shmedia_md_assemble): Call dwarf2_generate_asm_lineno if
4325 generating dwarf2 debug information.
4326 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com>
4327 * config/tc-sh64.c (sh64_target_format): Use elf64-sh64l and
4328 elf64-sh64 for the 64-bit ABI.
4329 * config/tc-sh.c (md_show_usage): Tweak usage output for -abi=*
4330 option.
4331 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com>
4332 * config/tc-sh.c: Remove conditionalizing on HAVE_SH64 for
4333 case-insensitivity.
4334 2000-11-27 Hans-Peter Nilsson <hpn@cygnus.com>
4335 * config/tc-sh64.c: Tweak comments, formatting and error messages.
4336 (enum sh64_abi_values): New type.
4337 (enum sh64_isa_values): New type.
4338 (sh64_isa_mode): Replace shmedia_mode. All referers changed.
4339 (seen_shcompact_mode, seen_shmedia_mode): Delete.
4340 (sh64_abi): Replace shmedia_64.
4341 (shmedia_md_convert_frag) <C (MOVI_IMM_64, MOVI_64),
4342 C (MOVI_IMM_32, MOVI_32)>: Correct register number handling.
4343 (s_sh64_mode): Check validity for this target.
4344 (sh64_target_format): Initialize defaults for ISA and ABI.
4345 Fallback to old object format if no SH64 ISA or ABI has been
4346 specified.
4347 * config/tc-sh.c (md_parse_option): Check combinations for errors.
4348 (sh_elf_final_processing): Change to have EF_SH64_ABI64 for 64-bit
4349 ABI and EF_SH64 for 32-bit ABI, if SH64 options are specified.
4350 * config/tc-sh64.h: Fix typo in comment.
4351 2000-11-25 Hans-Peter Nilsson <hpn@cygnus.com>
4352 * config/tc-sh64.c (shmedia_md_estimate_size_before_relax)
4353 <PT fixups for absolute values>: Size will be longest, not
4354 shortest.
4355 (shmedia_md_convert_frag): Disable PTB-warning machinery. Correct
4356 all MOVI and SHORI operand offsets in PT/PTA/PTB expansions.
4357 * config/tc-sh.c (parse_reg) [HAVE_SH64]: Add local variables l0
4358 and l1 to hold lowercase of two first characters. Change all
4359 remaining TO_LOWER to tolower.
4360 * config/tc-sh64.c (TO_LOWER): Delete.
4361 (shmedia_find_cooked_opcode): Use tolower, not TO_LOWER.
4362 (md_parse_name): Define.
4363 (sh64_consume_datalabel): Declare.
4364 (DOLLAR_DOT): Define.
4365 * config/tc-sh64.c (shmedia_parse_exp): New.
4366 (sh64_consume_datalabel): New; just ignoring datalabel semantics.
4367 (shmedia_parse_reg): Remove const from src
4368 parameter.
4369 (shmedia_get_operands): Ditto for args parameter and ptr variable.
4370 (shmedia_md_assemble): Ditto for op_end variable.
4371 (shmedia_get_operand): Ditto for ptr parameter and src variable.
4372 Use shmedia_parse_exp, not parse_exp.
4373 * config/tc-sh64.c (shmedia_parse_reg): Add shmedia_arg_type
4374 parameter. All callers changed.
4375 (shmedia_get_operand): Add shmedia_arg_type parameter. All
4376 callers changed.
4377 (shmedia_parse_reg): Put first two character in local variables.
4378 Use tolower, not TO_LOWER. If no register is found and argtype
4379 indicates a control register, scan shmedia_creg_table
4380 case-insensitive.
4381 2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com>
4382 * Makefile.am (CPU_TYPES): Add sh64.
4383 (TARGET_CPU_CFILES): Add config/tc-sh64.c.
4384 (TARGET_CPU_HFILES): Add config/tc-sh64.h.
4385 Regenerate dependencies.
4386 * Makefile.in: Regenerate.
4387 * configure.in: Add support for sh64-*-elf*.
4388 * configure: Regenerate.
4389 * config/tc-sh64.h: New.
4390 * config/tc-sh64.c: New.
4391 * config/tc-sh.c (md_pseudo_table) [HAVE_SH64]: New pseudos
4392 .mode, .isa and .uaquad.
4393 [HAVE_SH64] (SH64PCREL16_32, SH64PCREL16_64, SH64PCREL16PT_32,
4394 SH64PCREL16PT_64, MOVI_IMM_32, MOVI_IMM_64): Define.
4395 [HAVE_SH64] (END): Define as 10.
4396 [HAVE_SH64] (UNDEF_SH64PCREL, SH64PCREL16, SH64PCREL32,
4397 SH64PCREL48, SH64PCREL64, UNDEF_MOVI, MOVI_16, MOVI_32, MOVI_48,
4398 MOVI_64): Define.
4399 [HAVE_SH64] (SH64PCREL16_F, SH64PCREL16_M, SH64PCREL16_LENGTH,
4400 SH64PCREL32_F, SH64PCREL32_M, SH64PCREL32_LENGTH, SH64PCREL48_F,
4401 SH64PCREL48_M, SH64PCREL48_LENGTH, SH64PCREL64_LENGTH,
4402 MOVI_16_LENGTH, MOVI_32_LENGTH, MOVI_48_LENGTH, MOVI_64_LENGTH):
4403 Define.
4404 (md_relax_table) [HAVE_SH64]: Provide relaxations for SHmedia.
4405 (md_begin) [HAVE_SH64]: Call shmedia_md_begin.
4406 (parse_reg) [HAVE_SH64]: Parse register names case-insensitive.
4407 (md_assemble) [HAVE_SH64]: Call shmedia_md_assemble if assembling
4408 SHmedia instructions. Handle state-change after switching to
4409 SHcompact.
4410 (md_longopts) [HAVE_SH64]: New options --isa=* and --abi=*.
4411 (md_parse_option) [HAVE_SH64]: Parse new options.
4412 (md_show_usage) [HAVE_SH64]: Show usage of new options.
4413 (md_convert_frag) [HAVE_SH64] <default>: Call
4414 shmedia_md_convert_frag instead of abort.
4415 (sh_force_relocation) [HAVE_SH64]: Also force relocation for
4416 BFD_RELOC_SH_SHMEDIA_CODE.
4417 (sh_elf_final_processing) [HAVE_SH64]: Set flags identifying
4418 SHcompact or SHmedia code.
4419 (md_apply_fix) [HAVE_SH64] <default>: Return result from calling
4420 shmedia_md_apply_fix instead of abort.
4421 (md_estimate_size_before_relax) [HAVE_SH64] <default>: Return
4422 result from calling shmedia_md_estimate_size_before_relax instead
4423 of calling abort.
4424 (sh_do_align) [HAVE_SH64]: If shmedia_mode, let shmedia_do_align
4425 do the work.
4426 (tc_gen_reloc) [HAVE_SH64]: For unrecognized relocs, call
4427 shmedia_init_reloc and do nothing more if it returns non-zero.
4428 (sh_finalize) [HAVE_SH64]: Call shmedia_md_end.
4429 * po/POTFILES.in: Regenerate.
4430 * po/gas.pot: Regenerate.
4431
ac3f04d7
AO
44322002-02-06 Alexandre Oliva <aoliva@redhat.com>
4433
6b32719e
AO
4434 * config/tc-sh.c (parse_at): Install the correct version of
4435 2002-02-04's patch.
949f2b5c 4436
ac3f04d7
AO
4437 * config/tc-sh.c (md_apply_fix3) <BFD_RELOC_32_PLT_PCREL>: Don't
4438 assume fixP->fx_subsy is non-NULL.
4439
7679ead9
AO
44402002-02-04 Alexandre Oliva <aoliva@redhat.com>
4441
4442 * config/tc-sh.c (parse_at): Set arg type of @(expr,pc) to
fdf4122d 4443 A_DISP_PC_ABS, and adjust it by -4.
7679ead9
AO
4444 (get_specific): Accept A_DISP_PC_ABS where A_DISP_PC is
4445 expected.
4446 (build_Mytes): Mark PCRELIMM fix-ups as pc-relative only if
4447 the operand type is not A_DISP_PC_ABS.
4448
5459d7a0
HPN
44492002-02-04 Hans-Peter Nilsson <hp@bitrange.com>
4450
4451 * config/tc-mmix.c (tc_gen_reloc): Don't try and take the value of
4452 common and weak symbols. Handle common and weak symbols as
4453 undefined symbols with regards to GREG handling and merging.
4454 (mmix_frob_file): Ditto.
4455
006336b8
JT
44562002-02-02 Jason Thorpe <thorpej@wasabisystems.com>
4457
4458 * configure.in (hppa-*-netbsd*): New target.
4459 * configure: Regenerate.
4460 * config/tc-hppa.h: Also define WARN_COMMENTS if TE_NetBSD.
4461
9e0665bc
AM
44622002-02-02 Alan Modra <amodra@bigpond.net.au>
4463
4464 * config/tc-v850.c: Add missing prototypes amd use old-style
4465 function definitions.
4466 (AREA_ZDA, AREA_SDA, AREA_TDA): Delete.
4467 (sdata_section tdata_section, zdata_section, sbss_section,
4468 tbss_section, zbss_section, rosdata_section, rozdata_section,
4469 scommon_section, tcommon_section, zcommon_section,
4470 call_table_data_section, call_table_text_section): Delete.
4471 (v850_sdata, v850_tdata, v850_zdata, v850_sbss, v850_tbss,
4472 v850_zbss, v850_bss, v850_rosdata, v850_rozdata,
4473 v850_call_table_data, v850_call_table_text): Delete.
4474 (struct v850_seg_entry): New.
4475 (v850_seg_table): New.
4476 (SDATA_SECTION TDATA_SECTION, ZDATA_SECTION, SBSS_SECTION,
4477 TBSS_SECTION, ZBSS_SECTION, BSS_SECTION, ROSDATA_SECTION,
4478 ROZDATA_SECTION, SCOMMON_SECTION, TCOMMON_SECTION, ZCOMMON_SECTION,
4479 CALL_TABLE_DATA_SECTION, CALL_TABLE_TEXT_SECTION): Define.
4480 (do_v850_seg): New.
4481 (v850_seg): New.
4482 (v850_comm): Use do_v850_seg and v850_seg_table. Simplify
4483 recording of alignment.
4484 (md_pseudo_table): Use v850_seg.
4485 (md_begin): Don't init .call_table_data and .call_table_text here.
4486 Set v850_seg_table bss entry.
4487
973eb340
HPN
44882002-02-01 Hans-Peter Nilsson <hp@bitrange.com>
4489
4490 Support on-demand global register allocation by passing on
4491 base-plus-offset relocs to the linker.
4492 * config/tc-mmix.c: Tweak and fix typos in comments.
949f2b5c 4493 (allocate_undefined_gregs_in_linker): New variable.
973eb340
HPN
4494 (OPTION_LINKER_ALLOCATED_GREGS): New option macro.
4495 (md_longopts): Add --linker-allocated-gregs.
4496 (md_parse_option) <case 'x'>: Imply --linker-allocated-gregs.
4497 <case OPTION_LINKER_ALLOCATED_GREGS>: New.
4498 (md_show_usage): Update text for -x. Add text for
4499 --linker-allocated-gregs.
4500 (tc_gen_reloc): Derive default value for addend from val and
4501 baddsy. Use addsec and bfd_is_abs_section in more places. Don't
4502 emit error for BFD_RELOC_MMIX_BASE_PLUS_OFFSET without suitable
4503 GREG if allocate_undefined_gregs_in_linker.
4504 * doc/as.texinfo (Overview) <Target MMIX options>: Add
4505 --linker-allocated-gregs.
4506 * doc/c-mmix.texi (MMIX-Opts): Add blurb about
4507 --linker-allocated-gregs. Mention that it's implied by -x.
4508 (MMIX-Pseudos) <GREG>: Mention when and how a GREG can be omitted.
4509 (MMIX-mmixal): Clarify dated comparison and location of MMIXware.
4510
4511 * config/tc-mmix.h (md_parse_name): Use ISUPPER, not isupper.
4512
ba323545
AM
45132002-02-01 Alan Modra <amodra@bigpond.net.au>
4514
4515 * Makefile.am: Run "make dep-am"
4516 * Makefile.in: Regenerate.
4517
3b16e843
NC
45182002-01-31 Ivan Guzvinec <ivang@opencores.org>
4519
4520 * config/tc-or32.c: New file.
4521 * config/tc-or32.h: New file.
4522 * configure.in: Add support for or32 targets.
4523 * configure: Regenerate.
4524 * config/obj-coff.c: Add support for or32 targets.
4525 * config/obj-coff.h: Add support for or32 targets.
4526 * Makefile.am: Add support for or32 targets.
4527 * Makefile.in: Regenerate.
4528 * NEWS: Mention support for OpenRISC.
4529 * doc/Makefile.in: Regenerate.
4530 * po/POTFILES.in: Regenerate.
4531 * po/gas.pot: Regenerate.
4532
912a07db
RS
45332002-01-30 Richard Sandiford <rsandifo@redhat.com>
4534
4535 * config/tc-sh.c (parse_reg): Fix end-of-word check for is, ix, iy
4536 and mod.
4537
4514d474
CD
45382002-01-29 Chris Demetriou <cgd@broadcom.com>
4539
4540 * config/tc-mips.c (tc_gen_reloc): Arrange for
4541 BFD_RELOC_PCREL_HI16_S relocations to be output relative to
4542 their LO16 parts, even for ELF.
4543
246fcdee
DJ
45442002-01-29 Daniel Jacobowitz <drow@mvista.com>
4545
4546 * config/tc-i386.c: Protect definitions of true and false
4547 from redefinition.
4548
00e6e13d
JJ
45492002-01-28 Jakub Jelinek <jakub@redhat.com>
4550
4551 * config/obj-elf.c (elf_frob_file_before_adjust): Remove symbols
4552 made because of .weak, if they are neither defined nor used in any
4553 way.
4554
4867be41
DJ
45552002-01-27 Daniel Jacobowitz <drow@mvista.com>
4556
4557 * configure: Regenerated.
4558
7562a296
HPN
45592002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
4560
4561 * doc/Makefile.am (install): Depend on install-info.
4562 * doc/Makefile.in: Regenerate.
4563
1caa7b23
NC
45642002-01-26 Nick Clifton <nick@redhat.com>
4565
4566 * po/fr.po: Updated version
4567
166e23f9
KH
45682002-01-24 Kazu Hirata <kazu@hxi.com>
4569
4570 * config/tc-h8300.c (check_operand): Don't print a warning
4571 when a valid 24-bit address is given to a 16-bit address
4572 operand.
4573
538cd60f
AO
45742002-01-24 Alexandre Oliva <aoliva@redhat.com>
4575
4576 * config/tc-sh.c (sh_elf_suffix): Removed.
4577 (sh_PIC_related_p, sh_check_fixup, sh_cons_fix_new,
4578 sh_end_of_match, sh_parse_name): New functions.
4579 (sh_elf_cons): Simplify.
4580 (parse_exp): Reject misplaced PIC operands.
4581 (md_undefined_symbol): Simplify.
4582 (sh_fix_adjustable): Let @GOTOFF be adjusted.
4583 (md_apply_fix3): Write @PLT and @GOTOFF addends in place.
4584 (tc_gen_reloc): Move fixp subsy absolute value into addnumber.
4585 Complain if subsy remains at the end.
4586 * config/tc-sh.h (sh_parse_name, sh_cons_fix_new): Declare.
4587 (md_parse_name, TC_CONS_FIX_NEW, O_PIC_reloc): Define.
4588
b386f24b
AO
45892002-01-22 Alexandre Oliva <aoliva@redhat.com>
4590
4591 * config/tc-mn10300.c (xr_registers): Move `pc'...
4592 (other_registers): ... here.
4593
c46f0c34
AM
45942002-01-22 Alan Modra <amodra@bigpond.net.au>
4595
4596 * Makefile.am: Run "make dep-am".
4597 * Makefile.in: Regenerate.
4598 * gas/po/POTFILES.in: Regenerate.
4599
23deb923
DD
46002002-01-21 DJ Delorie <dj@redhat.com>
4601
4602 * config/obj-coff.c (obj_coff_init_stab_section): Make the
4603 stabstr_name allocation permanent, as it will be referenced from
4604 the section hash.
4605
9596feea
JT
46062002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
4607
4608 * configure.in (ia64-*-netbsd*): New target.
949f2b5c 4609 * configure: Regenerate.
9596feea 4610
92081f48
HPN
46112002-01-21 Hans-Peter Nilsson <hp@bitrange.com>
4612
4613 * doc/as.texinfo (Overview) <Target ARM options>: Add missing {}
4614 to @dots call.
4615 <Detailed description, ARM options>: Ditto.
4616 * doc/c-arm.texi (ARM Options): Ditto.
4617
63e63b07
RE
46182002-01-18 Richard Earnshaw <rearnsha@arm.com>
4619
4620 * tc-arm.c (do_xsc_mia, do_xsc_mar, do_xsc_mra): Renamed from
4621 do_mia, do_mar and do_mra respectively.
4622 (do_mav_*): Renamed from do_c_*.
4623 (mav_reg_required_here, mav_parse_offset): Renamed from
4624 cirrus_reg_required_here and cirrus_parse_offset respectively.
4625 (MAV_MODE?): Renamed from CIRRUS_MODE?.
4626
ea6ef066
RE
46272002-01-18 Richard Earnshaw <rearnsha@arm.com>
4628 Keith Walker <keith.walker@arm.com>
4629
4630 * tc-arm.c (ARM_EXT_V5J, ARM_ARCH_V5TEJ): Define.
4631 (insns): Add pattern for bxj instruction.
4632 (do_bxj): New function.
4633 (arm_cpus): Add arm926ej.
4634 (arm_archs): Add armv5tej.
4635
bc89618b
RE
46362002-01-18 Richard Earnshaw <rearnsha@arm.com>
4637
4638 * doc/c-arm.texi: Add new fpe options to list of supported flags.
4639
d193a22a
RE
46402002-01-19 Keith Walker <keith.walker@arm.com>
4641
4642 * tc-arm.c (arm_fpus): Add fpe2 and fpe3.
4643
03b1477f
RE
46442002-01-18 Richard Earnshaw <rearnsha@arm.com>
4645
4646 * NEWS: Mention new ARM command-line options and VFP support.
4647
949f2b5c 4648 * config/tc-arm.c (ARM_CEXT_XSCALE): Replaces ARM_EXT_XSCALE. All
03b1477f
RE
4649 uses changed.
4650 (ARM_CEXT_MAVERICK): Similarly.
4651 (ARM_ANY): Now means any core instruction.
4652 (CPU_DEFAULT): Default to ARM_ANY.
4653 (uses_apcs_26, atcps, support_interwork, uses_apcs_float)
4654 (pic_code): Declare for all object types. Make type int.
4655 (legacy_cpu, legacy_fpu, mcpu_cpu_opt, mcpu_fpu_opt, march_cpu_opt)
4656 (march_fpu_opt, mfpu_opt): Declare.
4657 (md_longopts): Tidy up conditional definitions.
4658 (arm_opts, arm_cpus, arm_archs, arm_fpus, arm_extensions)
4659 (arm_long_opts): New tables.
4660 (arm_parse_cpu, arm_parse_arch, arm_parse_fpu): New functions.
4661 (arm_parse_extension): New function.
4662 (md_parse_option): Rewrite using new table-driven system.
4663 (md_show_usage): Use new table-driven system.
4664 (md_begin): Calculate cpu_variant from command line option data.
4665 * doc/as.texinfo (ARM ISA options): Docuement new ARM-specific
4666 command-line options.
4667 * doc/c-arm.texi: Likewise.
4668
2a538ba5
AJ
46692002-01-18 Andreas Jaeger <aj@suse.de>
4670
4671 * as.c (parse_args): Update year.
4672
b1ffc257 46732002-01-17 Timothy Wall <twall@alum.mit.edu>
2a538ba5 4674
b1ffc257
TW
4675 * config/tc-tic54x.c (encode_address): Add a more informative
4676 warning about incorrect syntax.
4677
328577ad
NC
46782002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
4679
4680 * po/gas.pot: Regenerate.
4681
06f030db
NC
46822002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
4683
4684 * macro.c (get_any_string): Add no-c-format comment to prevent
4685 confusion when translating string.
4686 * gasp.c (get_any_string): Add no-c-format comment to prevent
4687 confusion when translating string.
4688
394f9b3a
TS
46892002-01-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4690 Johannes Stezenbach <js@convergence.de>
4691 * config/tc-mips.c (percent_op): Ensure longer percent_op's are
4692 matched before the shorter ones.
4693 (my_getSmallParser): Fix handling of nested parentheses in
4694 percent_op's. Code cleanup.
4695 (my_getPercentOp): New function, code from my_getSmallParser.
4696 (my_getSmallExpression): Fix handling of closing parentheses.
4697 Code cleanup. Better comments.
4698
af3ae48d
NC
46992002-01-16 Nick Clifton <nickc@redhat.com>
4700
4701 po/tr.po: New file: Turkish translation.
4702 configure.in (LINGUAS): Add "tr".
4703 configure: Regenerate.
4704
bfae80f2
RE
47052002-01-15 Richard Earnshaw <rearnsha@arm.com>
4706
4707 Support for VFP instructions
4708 * tc-arm.c (CP_WB_OK, CP_NO_WB): New defines.
4709 (cp_address_required_here): New argument wb_ok. When false, do not
4710 accept write-back forms of addressing. Change all callers.
4711 (FPU_VFP_EXT_NONE, FPU_VFP_EXT_V1xD, FPU_VFP_VFP_V1)
4712 (FPU_VFP_EXT_V2): Define.
4713 (FPU_ARCH_VFP, FPU_ARCH_VFP_V1xD, FPU_ARCH_VFP_V1, FPU_ARCH_VFP_V2):
4714 Define in terms of above.
4715 (vfp_dp_reg_pos, vfp_sp_reg_pos, vfp_ldstm_type): New enums.
4716 (vfp_reg): New struct.
4717 (vfp_regs): New array of registers.
4718 (insns): Add VFP instructions.
4719 (sn_table): New array of VFP single-precision register names.
4720 (dn_table): New array of VFP double-precision register names.
4721 (all_reg_maps): Add the new register tables.
4722 (arm_reg_type): Add new values for above. Increase RET_TYPE_MAX.
4723 (vfp_sp_reg_required_here, vfp_dp_reg_required_here, do_vfp_sp_monadic)
4724 (do_vfp_dp_monadic, do_vfp_sp_dyadic, do_vfp_dp_dyadic)
4725 (do_vfp_reg_from_sp, do_vfp_sp_reg2, do_vfp_sp_from_reg)
4726 (do_vfp_reg_from_dp, do_vfp_reg2_from_dp, do_vfp_dp_from_reg)
4727 (do_vfp_dp_from_reg2, vfp_psr_parse, vfp_psr_required_here)
4728 (do_vfp_reg_from_ctrl, do_vfp_ctrl_from_reg, do_vfp_sp_ldst)
4729 (do_vfp_dp_ldst, vfp_sp_reg_list, vfp_dp_reg_list, vfp_sp_ldstm)
4730 (vfp_dp_ldstm, do_vfp_sp_ldstmia, do_vfp_sp_ldstmdb, do_vfp_ldstmia)
4731 (do_vfp_dp_ldstmdb, do_vfp_xp_ldstmia, do_vfp_xp_ldstmdb)
4732 (do_vfp_sp_compare_z, do_vfp_dp_compare_z, do_vfp_dp_sp_cvt)
4733 (do_vfp_sp_dp_cvt): New functions.
4734 (md_begin): Set soft-float flag for appropriate VFP work.
4735 (md_atof): Handle VFP-format doubles.
4736 (md_parse_option): Handle VFP command-line options.
4737 (md_show_usage): Display VFP command-line options.
4738
fcd6d8d6
RE
47392002-01-15 Richard Earnshaw <rearnsha@arm.com>
4740
2a538ba5 4741 * tc-arm.c (md_parse_option): Tidy up setting of cpu_variant for
fcd6d8d6
RE
4742 various command line options.
4743
1f7fd478
NC
47442002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
4745
4746 * config/tc-xstormy16.c: (xstormy16_fix_adjustable): Do not fix
4747 vtinherit relocs.
4748 (xstormy16_md_apply_fix3): Do not return a value.
4749
21f0f23a
RE
47502002-01-14 Richard Earnshaw <rearnsha@arm.com>
4751
4752 * tc-arm.c (md_longopts): On targets that aren't bi-endian, support
4753 the -EL/-EB option that matches the target's endianness.
4754 (md_parse_option): Likewise.
4755
ce058b6c
RE
47562002-01-14 Richard Earnshaw <rearnsha@arm.com>
4757
2a538ba5 4758 * tc-arm.c (md_longopts): Fix misplaced #endif -- the -oabi option
ce058b6c
RE
4759 is not dependent on ARM_BI_ENDIAN.
4760
f03698e6
RE
47612002-01-14 Richard Earnshaw <rearnsha@arm.com>
4762
4763 * tc-arm.c (all error messages): Normalize capitalization of messages.
4764
4765 * tc-arm.h (md_operand): Delete define.
4766 * tc-arm.c (in_my_get_expression): New static variable.
4767 (my_get_expression): Set and clear it.
4768 (md_operand): New function. If called from my_get_expression
4769 put the error in inst.error.
4770 (output_inst): Now takes argument of instruction being assembled.
4771 Print it out with any error message.
4772 (do_ldst, do_ldstv4, thumb_load_store): Fault attempt to use a store
4773 with '=' syntax.
4774 (end_of_line): Don't update inst.error if it is already set.
4775
e28cd48c
RE
47762002-01-11 Richard Earnshaw <rearnsha@arm.com>
4777
6088b00e 4778 * tc-arm.c (do_ldst): Fix handling an immediate expression pseudo
e28cd48c
RE
4779 op that can be translated into a mvn instruction.
4780
1cd8ff38
NC
47812002-01-11 Steve Ellcey <sje@cup.hp.com>
4782
4783 * gas/config/tc-ia64.h (MD_FLAGS_DEFAULT): New Macro for
4784 setting default md.flags.
4785 (SHT_INIT_ARRAY): New elf special section used by HP-UX.
4786 (SHT_FINI_ARRAY): New elf special section used by HP-UX.
4787 * gas/config/tc-ia64.c (setup_unwind_header): Add support
4788 for 32 bit unwind info blocks.
4789 (generate_unwind_image): Add support for different types
4790 of unwind images (32 bits and/or big-endian).
4791 (ia64_init): Use MD_FLAGS_DEFAULT to set md.flags.
4792 (ia64_target_format): Add support for hpux target formats.
4793 (ia64_gen_real_reloc_type): Add support for FUNC_IPLT_RELOC.
4794 (ia64_elf_section_type): Add support for SHT_INIT_ARRAY and
4795 SHT_FINI_ARRAY elf section types.
4796
6c43fab6
RE
47972002-01-10 Richard Earnshaw <rearnsha@arm.com>
4798
4799 * tc-arm.c (struct reg_entry): Move before prototypes.
4800 (int_register, cp_register, fp_register): Delete.
4801 (reg_table): Delete. Replaced with ...
4802 (rn_table, cp_table, cn_table, fn_table, mav_mvf_table)
4803 (mav_mvd_table, mav_mvfx_table, mav_mvdx_table, mav_mvax_table)
4804 (mav_dspsc_table): ... one table per register set.
4805 (arm_reg_hsh): Delete.
4806 (struct reg_map): New structure.
4807 (all_reg_maps): New array.
4808 (enum arm_reg_type): New enums.
4809 (build_reg_hsh): New function.
4810 (insert_reg_alias): Use hash table passed by caller. Adjust all
4811 callers.
4812 (create_register_alias): New function, split out from ...
4813 (md_assemble): ... here.
4814 (md_begin): Build new register hash tables.
4815 (arm_reg_parse): New argument for the hash table to search. Adjust all
4816 callers.
4817 (arm_reg_parse_any): New function.
4818 (co_proc_number): Look up the processor number in the processor hash
4819 table.
4820 (cirrus_regtype): Delete.
4821 (cirrus_register, cirrus_mvf_register, cirrus_mvd_register)
4822 (cirrus_mvfx_register, cirrus_mvdx_register, cirrus_mvax_register)
4823 (ARM_EXT_MAVERICKsc_register): Delete.
4824 (do_c_binops_1, do_c_binops_2, do_c_binops_3): Delete.
4825 (do_c_binops_1[a-o], do_c_binops_2[a-c], do_c_binops_3[a-d]): New
4826 functions.
4827 (do_c_triple_4, do_c_triple_5): Delete.
4828 (do_c_triple_4[ab], do_c_triple_5[a-h]): New functions.
4829 (do_c_quad_6): Delete.
4830 (do_c_quad_6[ab]): New functions.
4831 (do_c_binops, do_c_triple, do_c_quad, do_c_shift, do_c_ldst): Rework
4832 arguments to use new register parsing methods.
4833 (cirrus_reg_required_here): Likewise.
4834 (insns): Reclassify cirrus maverick worker functions.
4835 (cirrus_valid_reg): Delete.
4836
8d05742f
JT
48372002-01-07 Jason Thorpe <thorpej@wasabisystems.com>
4838
4839 * configure.in (sh*le): Set cpu_type=sh and endian=little.
4840 (sh*-*-netbsdelf*): New target.
4841 * configure: Regenerate.
2a538ba5 4842 * tc-sh.h: Update copyright years.
8d05742f
JT
4843 (TARGET_FORMAT): Add version for TE_NetBSD.
4844
ceac3f62
NC
48452002-01-07 Nick Clifton <nickc@cambridge.redhat.com>
4846
4847 * read.c (emit_expr): Do not allow 'size' or 'nbytes' to go
4848 negative.
4849
d7861ad2
AM
48502002-01-06 Alan Modra <amodra@bigpond.net.au>
4851
4852 * config/tc-m68k.h (md_prepare_relax_scan): Rewrite.
4853 * config/tc-m68k.c (md_relax_table): Add md_prepare_relax_scan comment.
4854
7a621144
DJ
48552002-01-05 Daniel Jacobowitz <drow@mvista.com>
4856
4857 * tc-mips.c (mips_cprestore_valid): New flag.
4858 (mips_frame_reg_valid): New flag.
4859 (macro) [M_JAL_2]: Check both flags.
4860 [M_JAL_A]: Likewise.
4861 (s_cprestore): Set mips_cprestore_valid.
4862 (tc_get_register): If setting mips_frame_reg, set
4863 mips_frame_reg_valid and clear mips_cprestore_valid.
4864 (s_mips_ent): Clear both flags.
4865 (s_mips_end): Clear both flags.
4866
7c6beb69
AM
48672002-01-05 Alan Modra <amodra@bigpond.net.au>
4868
4869 * write.c (write_object_file): Make use of bfd_section_list_remove.
4870 * config/obj-ecoff.c (ecoff_frob_file): Likewise.
4871 * config/tc-mmix.c (mmix_frob_file): Likewise.
4872
8a8b2d4b
AJ
48732002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
4874
4875 * configure.in (i386-*-netbsdelf*): Collapse target into...
4876 (i386-*-netbsd*): ...this. Add support for x86-64.
4877 * configure: Regenerated.
4878
a09cf9bd
MG
48792002-01-03 matthew green <mrg@redhat.com>
4880
4881 * config/tc-ppc.c (md_parse_option): BookE is not Motorola specific.
4882
23b7f870
NC
48832002-01-02 Nick Clifton <nickc@cambridge.redhat.com>
4884
4885 * config/tc-m68k.c (md_estimate_size_before_relax): Test for a
4886 NULL frag link.
4887
08d56133
NC
4888For older changes see ChangeLog-0001
4889\f
4890Local Variables:
4891mode: change-log
4892left-margin: 8
4893fill-column: 74
4894version-control: never
4895End:
This page took 0.333013 seconds and 4 git commands to generate.