* config/tc-mips.c (s_cpsetup): Fix comment.
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
698b7d9d
TS
12002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2
3 * config/tc-mips.c (s_cpsetup): Fix comment.
4
76db943d
TS
52002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
6
7 * config/tc-mips.c (md_begin): Add $ra as alias name for $31.
8 (mips_ip): Likewise.
9 (mips16_ip): Likewise.
10 (tc_get_register): Likewise.
11
deec1734
CD
122002-05-30 Chris G. Demetriou <cgd@broadcom.com>
13 Ed Satterthwaite <ehs@broadcom.com>
14
15 * config/tc-mips.c (mips_set_options): New "ase_mdmx" member.
16 (mips_opts): Initialize "ase_mdmx" member.
17 (file_ase_mdmx): New variable.
18 (CPU_HAS_MDMX): New macro.
19 (md_begin): Initialize mips_opts.ase_mdmx and file_ase_mdmx
20 based on command line options and configuration defaults.
21 (macro_build): Note in comment that use of MDMX in macros is
22 not currently allowed.
23 (validate_mips_insn): Add support for the "O", "Q", "X", "Y", and
24 "Z" MDMX operand types.
25 (mips_ip): Accept MDMX instructions if mips_opts.ase_mdmx is set,
26 and add support for the "O", "Q", "X", "Y", and "Z" MDMX operand
27 types.
28 (OPTION_MDMX, OPTION_NO_MDMX, md_longopts, md_parse_option):
29 Add support for "-mdmx" and "-no-mdmx" options.
30 (OPTION_ELF_BASE): Move to accomodate new options.
31 (s_mipsset): Support ".set mdmx" and ".set nomdmx".
32 (mips_elf_final_processing): Set MDMX ASE ELF header flag if
33 file_ase_mdmx was set.
34 * doc/as.texinfo: Document -mdmx and -no-mdmx options.
35 * doc/c-mips.texi: Likewise, and document ".set mdmx" and ".set
36 nomdmx" directives.
37
9ee72ff1
TS
382002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
39
40 * config/tc-mips.c (OPTION_NO_M7000_HILO_FIX): Rename to
41 OPTION_MNO_7000_HILO_FIX. Add alternate "mno-fix7000"
42 command line switch conforming to gcc conventions.
43 * doc/c-mips.texi: Document -mno-fix7000 instead of no-mfix-7000.
44
438c16b8
TS
452002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
46
47 * config/tc-mips.c (macro_build_jalr): New Function.
48 (md_begin): NewABI uses big GOTs.
49 (macro_build): Recognize BFD_RELOC_MIPS_GOT_DISP,
50 BFD_RELOC_MIPS_GOT_PAGE, BFD_RELOC_MIPS_GOT_OFST as valid.
51 (load_address): Add some NewABI PIC support.
52 (macro): Likewise.
53 (md_apply_fix): Special handling for BFD_RELOC_MIPS_JALR.
54 (tc_gen_reloc): Don't encode NewABI vtables in REL relocations.
55
f7ea7ef2
TS
562002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
57
58 * config/tc-mips.c (load_address): Use mips_gp_register instead
59 of hardcoded value. Remove dbl parameter, use HAVE_32BIT_ADDRESSES
60 instead.
61 (macro): Use mips_gp_register instead of hardcoded value.
62
3765b1be
RH
632002-05-30 Richard Henderson <rth@redhat.com>
64
65 * expr.h (operatorT): Add O_md17..O_md32.
66 * config/tc-alpha.c (O_lituse_tlsgd, O_lituse_tlsldm, O_tlsgd,
67 O_tlsldm, O_gotdtprel, O_dtprelhi, O_dtprello, O_dtprel, O_gottprel,
68 O_tprelhi, O_tprello, O_tprel): New.
69 (USER_RELOC_P, alpha_reloc_op_tag, debug_exp): Include them.
70 (DUMMY_RELOC_LITUSE_TLSGD, DUMMY_RELOC_LITUSE_TLSLDM): New.
71 (LITUSE_TLSGD, LITUSE_TLSLDM): New.
72 (struct alpha_reloc_tag): Add master, saw_tlsgd, saw_tlsld,
73 saw_lu_tlsgd, saw_lu_tlsldm. Make multi_section_p a bit field.
74 (md_apply_fix3): Handle TLS relocations.
75 (alpha_force_relocation, alpha_fix_adjustable): Likewise.
76 (alpha_adjust_symtab_relocs): Sort LITERAL relocs after the
77 associated TLS reloc. Check lituse_tls relocs match up.
78 (emit_insn): Handle TLS relocations.
79 (ldX_op): Remove.
80
1c5cec28
RH
81 * doc/c-alpha.texi: Add docs for tls relocations.
82
def2e0dd
TS
832002-05-30 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
84
85 * config/tc-mips.c (mips_gprel_offset): New variable.
86 (s_gpvalue): Use it.
87
8ade06a8
TR
882002-05-30 Diego Novillo <dnovillo@redhat.com>
89
90 * gas/config/tc-d10v.c (check_resource_conflict): Only check
91 write-write conflicts.
92 (md_assemble): Reformat introductory comment.
93 (parallel_ok): Prevent packing only if the first
94 instruction cannot be packed.
95
962002-05-30 Jason Eckhardt <jle@redhat.com>
97 Tom Rix <trix@redhat.com>
98
99 * config/tc-d10v.c (build_insn): Check for immediates.
100
c9914766
TS
1012002-05-28 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
102
103 * config/tc-mips.c: Replace GP in comments by $gp.
104 (mips_big_got): Initialize.
105 (mips_trap): Initialize.
106 (load_address): Use mips_gp_register instead of hardcoded value.
107 Remove dbl parameter, use HAVE_32BIT_ADDRESSES instead.
108 (macro): Use mips_gp_register instead of hardcoded value.
109 (macro2): Change load_address calls.
110 (md_pcrel_from): Comment formatting.
111 (s_cpload): Use mips_gp_register instead of hardcoded value.
112 (s_cprestore): Likewise. Comment formatting.
113 (s_gpword): Fix data type.
114 (s_cpadd): Use mips_gp_register instead of hardcoded value.
115 (nopic_need_relax): Replace GP in comments by $gp.
116 (mips_elf_final_processing): Better comment.
117
d172d4ba
NC
1182002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
119
120 * configure.in: Add DLX configuraton
121 * Makefile.am: Add DLX configuraton
122 * configure: Regenerate.
123 * Makefile.in: Regenerate.
124 * config/tc-dlx.c: New file.
125 * config/tc-dlx.h: New files.
52216602 126 * NEWS: Mention new support.
d172d4ba 127
e9732b6d
NC
1282002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
129
130 * config/obj-coff.c (write_object_file): Add missing semicolon.
131
f9419b05
TS
1322002-05-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
133
134 * config/tc-mips.c (mips_emit_delays): Replace magic constant for RA
135 by the define. Remove superfluous check of mips_opts.mips16.
136 (append_insn): Likewise. Canonicalize variable increments.
137 (macro_build): Canonicalize variable increments.
138 (macro_build_lui): Likewise.
139 (load_register): Likewise.
140 (load_address): Move pointer initialization.
141 (macro): Move pointer to a more local scope. Canonicalize variable
142 increments. Better comments. Replace magic constant for RA by the
143 define.
144 (macro2): Replace magic constant for RA by the define. Canonicalize
145 variable increments.
146 (mips_ip): Canonicalize variable increments.
147 (mips16_ip): Replace magic constant for RA by the define.
148 (my_getSmallParser): Canonicalize variable increments/decrements.
149 (my_getPercentOp): Likewise.
150 (my_getSmallExpression): Likewise.
151 (s_align): Likewise.
152 (s_mipsset): Likewise.
153 (s_cpsetup): Likewise.
154 (s_insn): Remove superfluous check of mips_opts.mips16.
155 (s_mips_stab): Likewise.
156 (mips_handle_align): Canonicalize variable increments.
157 (s_mips_ent): Likewise.
158 (s_mips_end): Add comment.
159
aa501e5c
JT
1602002-05-26 Jason Thorpe <thorpej@wasabisystems.com>
161
162 * configure.in: Use ns32k-*-netbsd* instead of ns32k-pc532-netbsd*.
163 * configure: Regenerate.
164
29589b0c
AM
1652002-05-25 Alan Modra <amodra@bigpond.net.au>
166
167 * Makefile.am (OBJS): Depend on ansidecl.h and fopen-same.h.
168 * Makefile.in: Regenerate.
169 * dep-in.sed: Reorder to match OBJS in Makefile.am.
170 * configure.in (ALL_OBJ_DEPS): Add symcat.h when need_bfd.
171 * configure: Regenerate.
172 * as.h: Use #include "" instead of <> for local header files.
173 * flonum-konst.c: Likewise.
174 * flonum-mult.c: Likewise.
175 * gasp.c: Likewise.
176 * listing.c: Likewise.
177 * config/tc-ia64.h: Likewise.
178 * config/tc-v850.h: Likewise.
179
436e8db0
NC
1802002-05-24 TAMURA Kent <kent@netbsd.org>
181
182 * configure.in: Add a target for i386-netbsdpe.
183 * configure: Regenerate.
184
13ae64f3
JJ
1852002-05-23 Jakub Jelinek <jakub@redhat.com>
186
187 * config/obj-elf.c (elf_common): Renamed from obj_elf_common.
188 (obj_elf_common): Call elf_common.
189 (obj_elf_tls_common): New function.
190 (elf_pseudo_tab): Support .tls_common.
191 (special_sections): Add .tdata and .tbss.
192 (obj_elf_change_section): Set SEC_THREAD_LOCAL for SHF_TLS
193 sections.
194 (obj_elf_parse_section_letters): Support T in section flags (SHF_TLS).
195 (obj_elf_parse_section_letters): Include T in error message.
196 * config/tc-ppc.c (ppc_section_letter): Likewise.
197 * config/tc-alpha.c (alpha_elf_section_letter): Likewise.
198 (tc_gen_reloc): Handle SEC_THREAD_LOCAL the same way as
199 SEC_MERGE.
200 * config/tc-sparc.c (md_apply_fix3): Likewise.
201 * config/tc-i386.c (tc_i386_fix_adjustable): Add TLS relocs.
202 Define them if not BFD_ASSEMBLER.
203 (lex_got): Support @TLSGD, @TLSLDM, @GOTTPOFF, @TPOFF, @DTPOFF
204 and @NTPOFF.
205 (md_apply_fix3): Add TLS relocs.
206 * config/tc-ia64.c (enum reloc_func): Add FUNC_DTP_MODULE,
207 FUNC_DTP_RELATIVE, FUNC_TP_RELATIVE, FUNC_LT_DTP_MODULE,
208 FUNC_LT_DTP_RELATIVE, FUNC_LT_TP_RELATIVE.
209 (pseudo_func): Support @dtpmod(), @dtprel() and @tprel().
210 (ia64_elf_section_letter): Include T in error message.
211 (md_begin): Support TLS operators.
212 (md_operand): Likewise.
213 (ia64_gen_real_reloc_type): Support TLS relocs.
214 * testsuite/gas/i386/tlspic.s: New file.
215 * testsuite/gas/i386/tlsd.s: New file.
216 * testsuite/gas/i386/tlsnopic.s: New file.
217 * testsuite/gas/i386/tlsd.d: New file.
218 * testsuite/gas/i386/tlsnopic.d: New file.
219 * testsuite/gas/i386/tlspic.d: New file.
220 * testsuite/gas/i386/i386.exp: Add tlsd, tlsnopic and tlspic tests.
221 * testsuite/gas/ia64/tls.s: New file.
222 * testsuite/gas/ia64/tls.d: New file.
223 * testsuite/gas/ia64/ia64.exp: Add tls test.
224 * write.c (adjust_reloc_syms): Don't change symbols in
225 SEC_THREAD_LOCAL sections to STT_SECTION + addend.
226
c62e1cc3
NC
2272002-05-23 Nick Clifton <nickc@cambridge.redhat.com>
228
229 * config/tc-arm.c (md_apply_fix3): For the Thumb BLX reloc
230 round the relocation up rather than down.
231
6ff96af6
NC
2322002-05-23 Nick Clifton <nickc@cambridge.redhat.com>
233
234 * config/obj-coff.c (obj_coff_section): Silently ignore an 'a'
235 flag.
236 * doc/as.texinfo: Document that the COFF version of .section
237 ignores the 'a' flag.
238
18e1d487
AM
2392002-05-23 Alan Modra <amodra@bigpond.net.au>
240
69108c1f
AM
241 * config/tc-alpha.c (assemble_tokens): Protect use of
242 ALPHA_RELOC_TABLE with #ifdef RELOC_OP_P.
243
18e1d487
AM
244 * write.c (size_seg): Check adjustment to last frag.
245 (SUB_SEGMENT_ALIGN): If HANDLE_ALIGN defined, pad out last frag to
246 section alignment.
247 * config/obj-coff.c (SUB_SEGMENT_ALIGN): Likewise.
248 * config/obj-ieee.c (SUB_SEGMENT_ALIGN): Likewise.
249 (write_object_file): Invoke md_do_align if available, and use
250 frag_align_code on text sections.
251 * config/obj-vms.h (SUB_SEGMENT_ALIGN): Now two args.
252 * config/tc-m88k.h (SUB_SEGMENT_ALIGN): Likewise.
253 * config/tc-ppc.h (SUB_SEGMENT_ALIGN): Likewise.
254 * config/tc-sh.h (SUB_SEGMENT_ALIGN): Likewise.
255 * config/tc-i386.h (SUB_SEGMENT_ALIGN): Likewise. Define for
256 BFD_ASSEMBLER too.
257
9d66a1d9
L
2582002-05-22 H.J. Lu <hjl@gnu.org>
259
260 * dwarf2dbg.c (dwarf2_directive_loc): Call listing_source_file
261 for source file.
262
76feaaf3
NC
2632002-05-22 Nick Clifton <nickc@cambridge.redhat.com>
264
265 * config/tc-arm.c (arm_s_section): Enable for COFF builds as well
266 as ELF builds.
267
1080e97d
L
2682002-05-22 H.J. Lu <hjl@gnu.org>
269
270 * dwarf2dbg.c (dwarf2_emit_insn): Emit only one line symbol
271 for one .loc for compiler.
272
c90bbe5b
TS
2732002-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
274
275 * config/tc-mips.c (macro): Relax warning, it's toot strict for
276 embedded-PIC.
277
771c7ce4
TS
2782002-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
279
280 * config/tc-mips.c (macro2): Add 64 bit drol, dror macros.
281 Optimize the rotate by zero case.
282
fa70f2ed
NC
2832002-05-21 Nick Clifton <nickc@cambridge.redhat.com>
284
285 * configure.in: Remove accidental enabling of bfd_gas=yes for
286 sh-coff targets.
287 * configure: Regenerate.
288
411863a4
KH
2892002-05-18 Kazu Hirata <kazu@cs.umass.edu>
290
291 * app.c: Fix formatting.
292 * as.c: Likewise.
293 * ehopt.c: Likewise.
294 * expr.c: Likewise.
295 * input-file.c: Likewise.
296 * listing.c: Likewise.
297 * macro.h: Likewise.
298 * stabs.c: Likewise.
299 * symbols.c: Likewise.
300
29589b0c
AM
3012002-05-17 Alan Modra <amodra@bigpond.net.au>
302
303 * doc/internals.texi (md_apply_fix3): Expand.
304 (TC_FORCE_RELOCATION, TC_FORCE_RELOCATION_ABS,
305 TC_FORCE_RELOCATION_LOCAL, TC_FORCE_RELOCATION_SUB_SAME,
306 TC_FORCE_RELOCATION_SUB_ABS, TC_FORCE_RELOCATION_SUB_LOCAL,
307 TC_FIX_ADJUSTABLE): Document.
308 * symbols.c (S_FORCE_RELOC): New function.
309 * symbols.h (S_FORCE_RELOC): Declare. s/CONST/const/.
310 * config/obj-aout.h (S_FORCE_RELOC): Define.
311 * config/obj-bout.h (S_FORCE_RELOC): Define.
312 * config/obj-coff.h (S_FORCE_RELOC): Define. Formatting fixes.
313 * config/obj-ieee.h (S_FORCE_RELOC): Define. Formatting fixes.
314 * config/obj-vms.h (S_FORCE_RELOC): Define.
315 * expr.c (clean_up_expression <O_subtract>): Use S_FORCE_RELOC
316 instead of SEG_NORMAL. Allow diff != 0.
317 (expr <O_subtract>): Use S_FORCE_RELOC instead of SEG_NORMAL.
318 * read.c (pseudo_set): Likewise.
319 * write.c (TC_FORCE_RELOCATION_ABS): Define.
320 (TC_FORCE_RELOCATION_LOCAL): Define, replaces..
321 (TC_RELOC_RTSYM_LOC_FIXUP): ..this. Remove.
322 (TC_FORCE_RELOCATION_SUB_SAME): Define, replaces..
323 (TC_FORCE_RELOCATION_SECTION): ..this. Remove.
324 (TC_FORCE_RELOCATION_SUB_ABS): Define.
325 (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
326 (RELOC_ENUM): Define.
327 (fix_new_internal): Use RELOC_ENUM.
328 (fix_new): Likewise.
329 (fix_new_exp): Likewise.
330 (adjust_reloc_syms): Split out code setting used_in_reloc to..
331 (mark_reloc_syms): ..here. New function. Use S_FORCE_RELOC.
332 (write_object_file): Call mark_reloc_syms.
333 (write_relocs): Formatting. Avoid symbol loops in
334 RELOC_EXPANSION_POSSIBLE case too. Report bfd_reloc_outofrange
335 errors, and error number in other cases.
336 (fixup_segment): Rewrite.
337 * config/tc-alpha.h (TC_FORCE_RELOCATION_LOCAL): Define, replaces..
338 (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
339 * config/tc-arm.h: Likewise.
340 * config/tc-cris.h: Likewise.
341 * config/tc-i386.h: Likewise.
342 * config/tc-i960.h: Likewise.
343 * config/tc-ia64.h: Likewise.
344 * config/tc-m68k.h: Likewise.
345 * config/tc-ppc.h: Likewise.
346 * config/tc-s390.h: Likewise.
347 * config/tc-sh.h: Likewise.
348 * config/tc-sh64.h: Likewise.
349 * config/tc-sparc.h: Likewise.
350 * config/tc-hppa.h (TC_FORCE_RELOCATION_SUB_SAME): Define, replaces..
351 (TC_FORCE_RELOCATION_SECTION): Delete.
352 * config/tc-i386.c (tc_i386_force_relocation): Remove.
353 (BFD_RELOC_8, BFD_RELOC_16): Define for non BFD_ASSEMBLER.
354 (md_apply_fix3): Formatting. Hack for bfd_install_relocation when
355 fx_pcrel, not when fx_addsy.
356 * config/tc-i386.h (TC_FORCE_RELOCATION): Define using code moved
357 from tc_i386_force_relocation.
358 (TC_FIX_ADJUSTABLE): Remove redundant tc_fix_adjustable condition.
359 * config/tc-s390.h (TC_FIX_ADJUSTABLE): Likewise.
360 * config/tc-sh.h (TC_FIX_ADJUSTABLE): Likewise.
361 * config/tc-i960.c (reloc_callj): Remove declaration. Return false.
362 * config/tc-i960.h (TC_FORCE_RELOCATION_SUB): Define.
363 (TC_FORCE_RELOCATION_ABS): Define.
364 * config/tc-ppc.c (md_apply_fix3): Rename arg to match comments.
365 Don't undo adjustments done by write.c:fixup_segment.
366 * config/tc-ppc.h (TC_FIX_ADJUSTABLE): Instead arrange for them
367 to not occur in the first place.
368 (TC_FORCE_RELOCATION_SECTION): Delete.
369 * config/tc-s390.c (md_apply_fix3): Use TC_FORCE_RELOCATION_LOCAL
370 instead of TC_RELOC_RTSYM_LOC_FIXUP.
371 * config/tc-sh.c (sh_fix_adjustable): Likewise.
372 * config/tc-sh.h (obj_fix_adjustable): Delete, instead..
373 (tc_fix_adjustable): Define.
374
eb268f46
AM
3752002-05-17 Alan Modra <amodra@bigpond.net.au>
376
377 * config/obj-generic.c: Delete file.
378 * config/obj-generic.h: Likewise.
379
bdfdba87
MM
3802002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
381
382 * config/tc-avr.c (mcu_types): Update for new devices.
383
3bec30a8
TS
3842002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
385
386 * config/tc-mips.c (macro): Warn about wrong la/dla use.
387
8586fc66
TS
3882002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
389
390 * config/tc_mips.c (s_cpsetup): Fix completely bogus code which had
391 worked sometimes by accident. Fix copy&paste comment.
392
195325d2
TS
3932002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
394
395 * config/tc-mips.c (md_begin): Fix .reginfo and .MIPS.option section
396 alignment for NewABI. Let n32 use .reginfo. Remove useless casts.
397 (mips_elf_final_processing): Let n32 use .reginfo.
398
4db1a35d
TS
3992002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
400
401 * config/tc-mips.c (append_insn): Fix too small range of variable.
402
7f367f01
NC
4032002-05-14 Nick Clifton <nickc@cambridge.redhat.com>
404
405 * config/tc-arm.c (arm_cleanup): Remove redundant call to
406 listing_prev_line().
407
7193a0e7
NC
4082002-05-13 Nick Clifton <nickc@cambridge.redhat.com>
409
f5b4e9e4
NC
410 * config/tc-arm.c (md_assemble): Remove redundant call to
411 listing_prev().
412
b6675117
NC
413 * dwarf2dbg.c (dwarf2_emit_insn): Do not reset
414 loc_directive_seen.
415
7193a0e7
NC
416 * stabs.c (s_stab_generic): Fix grammatical error in warning
417 message.
418
50b31228
AM
4192002-05-13 Alan Modra <amodra@bigpond.net.au>
420
421 * write.c (subsegs_finish): Don't specially align last subseg.
422
cce5a618
NC
4232002-05-11 Nick Clifton <nickc@cambridge.redhat.com>
424
6360824b
NC
425 * stabs.c (s_stab_generic): Warn about a description field that is
426 too big.
427
f8e42b8c
NC
428 * config/obj-coff.c: Fix compile time warnings when compiling
429 without BFD_ASSEMBLER defined.
430 Fix formatting.
431
cce5a618
NC
432 * config/tc-sh.c (md_pcrel_from): Define for use with sh-hms
433 target.
434 (md_pcrel_from_section): Use md_pcrel_from().
435
d7c310c2
NC
4362002-05-11 Bruno Haible <bruno@clisp.org>
437
438 * dwarf2dbg.c (dwarf2_emit_insn): Use the 'current' struct filled
439 by dwarf2_directive_loc, instead of calling dwarf2_where.
440
5d6255fe
KH
4412002-05-11 Kazu Hirata <kazu@cs.umass.edu>
442
443 * config/obj-coff.h: Fix formatting.
444 * config/tc-mcore.c: Likewise.
445 * config/tc-mn10300.c: Likewise.
446 * config/tc-openrisc.c: Likewise.
447 * config/tc-or32.c: Likewise.
448 * config/tc-pdp11.c: Likewise.
449 * config/tc-ppc.c: Likewise.
450 * config/tc-ppc.h: Likewise.
451 * config/tc-sh64.c: Likewise.
452 * config/tc-sh.c: Likewise.
453 * config/tc-tic54x.c: Likewise.
454 * config/tc-xstormy16.c: Likewise.
455 * config/tc-xstormy16.h: Likewise.
456
cc8a6dd0
KH
4572002-05-09 Kazu Hirata <kazu@cs.umass.edu>
458
459 * config/obj-coff.c: Fix formatting.
460 * config/obj-elf.c: Likewise.
461 * config/tc-alpha.c: Likewise.
462 * config/tc-arm.c: Likewise.
463 * config/tc-d10v.c: Likewise.
464 * config/tc-d30v.c: Likewise.
465 * config/tc-h8300.c: Likewise.
466 * config/tc-hppa.c: Likewise.
467
412167cb
AM
4682002-05-09 Alan Modra <amodra@bigpond.net.au>
469
470 * config/tc-i386.c (md_estimate_size_before_relax) Don't lose
471 reloc when no_cond_jump_promotion.
472
91975467
JW
4732002-05-08 Jim Wilson <wilson@redhat.com>
474
475 * config/tc-i960.c (md_estimate_size_before_relax): Return size of
476 current variable part of frag.
477
a1b6236b
KH
4782002-05-08 Kazu Hirata <kazu@cs.umass.edu>
479
480 * config/tc-mmix.c: Fix formatting.
481 * config/tc-mmix.h: Likewise.
482
c8615825
AM
4832002-05-08 Alan Modra <amodra@bigpond.net.au>
484
485 * configure: Regenerate.
486
8a104df9
KH
4872002-05-07 Kazu Hirata <kazu@cs.umass.edu>
488
489 * config/tc-m68k.c: Fix formatting.
490
d3d8a9ee
NC
4912002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
492
493 * Makefile.am: Honour DESTDIR.
494 * Makefile.in: Regenerate.
495
40449e9f
KH
4962002-05-06 Kazu Hirata <kazu@cs.umass.edu>
497
498 * config/tc-ia64.c: Fix formatting.
499 * config/tc-ia64.h: Likewise.
500
98d3f06f
KH
5012002-05-04 Kazu Hirata <kazu@cs.umass.edu>
502
503 * config/tc-mips.c: Fix formatting.
504 * config/tc-s390.c: Likewise.
505 * config/tc-s390.h: Likewise.
506
8f5b2891
AO
5072002-05-03 Alexandre Oliva <aoliva@redhat.com>
508
509 * config/tc-s390.c (md_gather_operands): Emit dwarf2 line-number
510 information for instructions.
511
d1a6c242
KH
5122002-05-02 Kazu Hirata <kazu@cs.umass.edu>
513
514 * as.h: Fix formatting.
515 * cgen.c: Likewise.
516 * cgen.h: Likewise.
517 * dwarf2dbg.c: Likewise.
518 * frags.h: Likewise.
519 * gasp.c: Likewise.
520 * macro.c: Likewise.
521 * read.c: Likewise.
522 * stabs.c: Likewise.
523 * symbols.c: Likewise.
524
1cfc59d5
AM
5252002-05-02 Alan Modra <amodra@bigpond.net.au>
526
72297628
AM
527 * app.c (mri_pseudo): Only declare for TC_M68K.
528
1cfc59d5
AM
529 * config/tc-ppc.c (mapping): Map sectoff to BFD_RELOC_16_BASEREL.
530 (ppc_elf_validate_fix): Replace BFD_RELOC_32_BASEREL with
531 BFD_RELOC_16_BASEREL.
532 (md_assemble): Likewise.
533 (md_apply_fix3): Likewise.
534
358b94bd
NC
5352002-05-02 Nick Clifton <nickc@cambridge.redhat.com>
536
537 * config/tc-arm.c (thumb_add_sub): Do not convert a subtract of
538 zero into an add of zero - it is not the same.
539
d8731e7d
NC
5402002-05-01 Arati Dikey <aratid@kpit.com>
541
542 * tc-sh.c (get_specific): Generate warning if the same
543 destination register is used in parallel instructions.
544
200dbde8
AM
5452002-05-01 Andrew Macleod <amacleod@cygnus.com>
546
547 * config/tc-i386.c (extra_symbol_chars): Add '[' to the list.
548
3f3cdb03
AM
5492002-05-01 Alan Modra <amodra@bigpond.net.au>
550
551 * write.c (cvt_frag_to_fill): Set fr_offset to zero on .org
552 backwards to prevent cascading errors.
553
9b2b7d69
MM
5542002-04-30 Mark Mitchell <mark@codesourcery.com>
555
556 * configure.in: Add support for powerpc-*-windiss.
557 * configure: Regenerated.
558
0f3f3d8b
AM
5592002-04-28 Alan Modra <amodra@bigpond.net.au>
560
819e6420
AM
561 * config/tc-s390.c (md_parse_option): Formatting.
562
0f3f3d8b
AM
563 * config/tc-i386.c: Formatting fixes, add missing space in error
564 message.
565
3c25c5f6
NC
5662002-04-24 Christian Groessler <chris@groessler.org>
567
568 * config/tc-z8k.c (build_bytes): Add support for new cases:
569 CLASS_IGNORE and ARG_NIM4.
570 (md_assemble): Prevent destruction of input_line_pointer if
571 get_operands returns failure.
572
af55c2e6
CD
5732002-04-24 Chris G. Demetriou <cgd@broadcom.com>
574
575 * config/tc-mips.c (macro_build): Do _not_ allow MIPS-3D
576 instructions to be generated by macros.
577
062cd5e7
AS
5782002-04-24 Andreas Schwab <schwab@suse.de>
579
580 * config/tc-i386.c (output_jump, output_disp)
581 (md_estimate_size_before_relax): Don't set fx_pcrel_adjust any
582 more.
583 (md_apply_fix3): Remember addend value for rela relocations.
584 (tc_gen_reloc): Correctly compute pc-relative relocation addend.
585
2b2e39bf
CD
5862002-04-22 Chris Demetriou <cgd@broadcom.com>
587
588 * config/tc-mips.c (macro_build): Add close-parenthesis missing
589 from previous change.
590
80cc45a5
EC
5912002-04-22 Eric Christopher <echristo@redhat.com>
592
2b2e39bf
CD
593 * config/tc-mips.c (macro_build): Add warning if macro instructions
594 are expanded into a branch delay slot.
80cc45a5 595
ffa554ed
GK
5962002-04-17 Geoffrey Keating <geoffk@redhat.com>
597
598 * dwarf2dbg.c (dwarf2_gen_line_info): Do emit duplicate line
599 numbers, gdb relies on them to detect the start of the prologue.
600
302576af
MS
6012002-04-17 Martin Schwidefsky <schwidefsky@de.ibm.com>
602
603 * config/tc-s390.c (tc_s390_fix_adjustable): Prevent adjustments to
604 symbols in merge sections.
605
0f3f3d8b 6062002-04-16 Alan Modra <amodra@bigpond.net.au>
091e58c1
AM
607
608 * as.c (main): Don't reference _bfd_chunksize.
609
76b999d0
TR
6102002-04-15 Tom Rix <trix@redhat.com>
611
80cc45a5 612 * config/tc-d10v.c (d10v_fix_adjustable): Prevent adjustments to
76b999d0
TR
613 symbols in merge sections.
614
580a832e
RS
6152002-04-11 Richard Sandiford <rsandifo@redhat.com>
616
617 * doc/invoke.texi (TC_LARGEST_EXPONENT_IS_NORMAL): Document.
618 * config/atof-ieee.c (TC_LARGEST_EXPONENT_IS_NORMAL): Add an
619 argument for the precision.
620 (gen_to_words): Update accordingly.
621
edde18a5
AM
6222002-04-10 Alan Modra <amodra@bigpond.net.au>
623
624 * as.c (parse_args <OPTION_VERSION>): Use VERSION is
625 BFD_VERSION_STRING unavailable.
626 * config/tc-i386.c (INLINE): Define (for non-BFD assembler).
627
5bcd00a6
JR
628Tue Apr 9 16:45:48 2002 J"orn Rennecke <joern.rennecke@superh.com>
629
630 * config/tc-sh.h (TC_FIX_ADJUSTABLE): Disable adjusting if
631 symbol_used_in_reloc_p is true.
2ed5f585
JR
632
633 * config/tc-sh.c (md_apply_fix3): Don't zero relocations on big
634 endian hosts.
635
8e42bcb6
AM
6362002-04-04 Alan Modra <amodra@bigpond.net.au>
637
638 * dep-in.sed: Cope with absolute paths.
639 * Makefile.am (dep.sed): Subst TOPDIR.
640 Run "make dep-am".
641 * Makefile.in: Regenerate.
642
874e8986
TS
6432002-04-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
644
645 * config/tc-mips.c (mips16_macro_build): Cast type mismatch.
646 (mips_ip): Remove unused variable.
647 (md_apply_fix3): Cast signed/unsignes mismatches. Replace
648 unsigned char with bfd_byte.
649 (s_file): Remove unused variable.
650 (s_mips_ent): Likewise.
651
fbdbf472
TR
6522002-04-03 Tom Rix <trix@redhat.com>
653
654 * config/tc-d10v.c (d10v_insert_operand): Fix warning in as_bad_where.
655 (build_insn): Same.
656 (find_opcode): Fix warning in as_warn.
657 * config/tc-d10v.h: Update Copyright.
658
6592002-04-03 Alan Matsuoka <alanm@redhat.com>
660 Tom Rix <trix@redhat.com>
661
662 From Jeff Knaggs <jknaggs@redhat.com>
80cc45a5 663 * config/tc-d10v.c (check_resource_conflict): New function to
fbdbf472
TR
664 check for resource conflicts.
665
666 From Jason Eckhardt <jle@redhat.com>
667 * config/tc-d10v.c (build_insn): Check for unresolved imm4 or
668 imm3 fields.
669 * config/tc-d10v.c (find_opcode): Emit a warning if one of the
670 reserved control registers is used.
671 * config/tc-d10v.c (build_insn): Check for unresolved imm4 or
672 imm3 fields.
673
674 From 2001-03-28 Diego Novillo <dnovillo@redhat.com>
675 * tc-d10v.c (parallel_ok): Prevent packing only if the first
676 instruction cannot be packed.
677
678 From 2001-03-30 Diego Novillo <dnovillo@redhat.com>
679 * gas/config/tc-d10v.c (check_resource_conflict): Only check
680 write-write conflicts.
681 (md_assemble): Reformat introductory comment.
682 * opcodes/d10v-opc.c (d10v_opcodes): `btsti' does not modify its
683 arguments.
684
784b640d
AM
6852002-04-03 Alan Modra <amodra@bigpond.net.au>
686
687 * symbols.c (resolve_symbol_value <O_uminus, O_bit_not,
688 O_logical_not>): Derive final_seg from add_symbol.
689 <O_multiply..O_logical_or>: More final_seg twiddles.
690
5f44c186
RH
6912002-04-01 Jessica Han <jessica@cup.hp.com>
692
693 * config/tc-ia64.c (ia64_cons_fix_new): Handle 8 byte iplt reloc
694 in 32-bit mode.
695
3458b54c
AS
6962002-03-27 Andreas Schwab <schwab@suse.de>
697
698 * config/tc-i386.c (output_jump): Set fx_pcrel_adjust to size of
699 field for pc-relative fixups.
700 (output_disp): Likewise.
701 (md_estimate_size_before_relax): Likewise.
702 (tc_gen_reloc): Subtract fx_pcrel_adjust instead of fx_size for
703 pc-relative fixups in 64bit mode.
704
815b453c
AM
7052002-03-22 Alan Modra <amodra@bigpond.net.au>
706
707 * config/te-aix5.h: Typo fix.
708
d5b32339
AM
7092002-03-21 Alan Modra <amodra@bigpond.net.au>
710
711 * Makefile.am: Run "make dep-am".
712 * Makefile.in: Regenerate.
713 * doc/Makefile.in: Regenerate.
714
f201ccb3
NC
7152002-03-20 Albert Chin-A-Young <china@thewrittenword.com>
716
717 * config/tc-arm.c (vfp_dp_reg_required_here): Fix typo
718 (vfp_sp_reg_pos -> vfp_dp_reg_pos).
719
177b4a6a
AO
7202002-03-18 Alexandre Oliva <aoliva@redhat.com>
721
722 * config/tc-mips.c (md_estimate_size_before_relax): Do not modify
723 the EXTENDED bit here; report the estimate according to the
724 current size.
725
eb1e0e80
NC
7262002-03-18 Tom Rix <trix@redhat.com>
727
728 * configure.in: Add AIX 5 support.
729 * config/tc-ppc.c (ppc_target_format): Add AIX 5 64 bit target.
730 * config/te-aix5.h: New file. AIX 5 support.
731 * configure: Regenerate.
732
a1c259a1
NC
7332002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
734
735 * po/fr.po: Updated version.
736
949f2b5c
AJ
7372002-03-16 Andreas Jaeger <aj@suse.de>
738
739 * doc/c-mips.texi (Machine Dependencies): Add new node.
740
1f25f5d3
CD
7412002-03-15 Chris G. Demetriou <cgd@broadcom.com>
742
743 * config/tc-mips.c (mips_set_options): New "ase_mips3d" member.
744 (mips_opts): Initialize "ase_mips3d" member.
745 (file_ase_mips3d): New variable.
746 (CPU_HAS_MIPS3D): New macro.
747 (md_begin): Initialize mips_opts.ase_mips3d and file_ase_mips3d
748 based on command line options and configuration defaults.
749 (macro_build, mips_ip): Accept MIPS-3D instructions if
750 mips_opts.ase_mips3d is set.
751 (OPTION_MIPS3D, OPTION_NO_MIPS3D, md_longopts, md_parse_option):
752 Add support for "-mips3d" and "-no-mips3d" options.
753 (OPTION_ELF_BASE): Move to accomodate new options.
754 (s_mipsset): Support ".set mips3d" and ".set nomips3d".
755 (mips_elf_final_processing): Add a comment indicating that a
756 MIPS-3D ASE ELF header flag should be set, when one exists.
757 * doc/as.texinfo: Document -mips3d and -no-mips3d options.
758 * doc/c-mips.texi: Likewise, and document ".set mips3d" and ".set
759 nomips3d" directives.
949f2b5c 760
2be11e7e
HPN
7612002-03-14 Hans-Peter Nilsson <hp@bitrange.com>
762
763 * config/tc-mmix.c (md_estimate_size_before_relax): Don't consider
764 a weak symbol in same section to be within reach.
765
9ce88e60
NC
7662002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
767
768 * po/fr.po: Updated version.
769
1e16b528
AS
7702002-03-12 Andreas Schwab <schwab@suse.de>
771
772 * config/tc-ia64.c (fixup_unw_records): Clear region when seeing a
773 body record so that an error is given for misplaced .save
774 pseudo-ops.
775
29b0f896
AM
7762002-03-09 Alan Modra <amodra@bigpond.net.au>
777
778 * config/tc-i386.h (REX_OPCODE): Define.
779 (REX_MODE64, REX_EXTX, REX_EXTY, REX_EXTZ): Define.
780 (rex_byte): typedef to int.
781 * config/tc-i386.c: Group prototypes and vars together.
782 Formatting fixes. Remove occurrences of "register" keyword.
783 (true): Delete.
784 (false): Delete.
785 (mode_from_disp_size): Add INLINE keyword to prototype.
786 (fits_in_signed_byte): Likewise.
787 (fits_in_unsigned_byte): Likewise.
788 (fits_in_unsigned_word): Likewise.
789 (fits_in_signed_word): Likewise.
790 (fits_in_unsigned_long): Likewise.
791 (fits_in_signed_long): Likewise.
792 (type_names): Constify.
793 (intel_float_operand): Constify param.
794 (add_prefix): Use REX_OPCODE.
795 (md_assemble): Likewise. Modify for changed rex_byte.
796 (parse_insn): Split out of md_assemble.
797 (parse_operands): Likewise.
798 (swap_operands): Likewise.
799 (optimize_imm): Likewise.
800 (optimize_disp): Likewise.
801 (match_template): Likewise.
802 (check_string): Likewise.
803 (process_suffix): Likewise.
804 (check_byte_reg): Likewise.
805 (check_long_reg): Likewise.
806 (check_qword_reg): Likewise.
807 (check_word_reg): Likewise.
808 (finalize_imm): Likewise.
809 (process_operands): Likewise.
810 (build_modrm_byte): Likewise.
811 (output_insn): Likewise.
812 (output_branch): Likewise.
813 (output_jump): Likewise.
814 (output_interseg_jump): Likewise.
815 (output_disp): Likewise.
816 (output_imm): Likewise.
817
2e64b665
DJ
8182002-03-07 Daniel Jacobowitz <drow@mvista.com>
819
820 * doc/as.texinfo: Wrap @menu in @ifnottex, not @ifinfo.
821
937149dd
AM
8222002-03-06 Alan Modra <amodra@bigpond.net.au>
823
824 * config/tc-i386.c (tc_gen_reloc): Don't attempt to handle 8 byte
825 relocs except when BFD64.
826
827 * write.c (number_to_chars_bigendian): Don't abort when N is
828 larger than sizeof (VAL).
829 (number_to_chars_littleendian): Likewise.
830
40d74fb1
JL
8312002-03-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
832
833 * config/tc-hppa.c (md_apply_fix3): Add cast.
834 (hppa_fix_adjustable): Adjust list of selectors using e_lrsel and
835 e_rrsel.
836
cd3cde86
AM
8372002-03-05 Paul Koning <pkoning@equallogic.com>
838
839 * tc-pdp11.c: Use VAX float format support for PDP-11 target.
840 (parse_ac5): New function for parsing float regs in float operand.
841 (parse_expression): Remove attempt to make literals be octal.
842 (parse_op_no_deferred): Support float literals.
843 (parse_op): Reject attempts to refer to float regs.
844 (parse_fop): New function, like parse_op but for float operand.
949f2b5c 845 (md_assemble): Add cases to parse float operands. Also fix
cd3cde86
AM
846 IMM3, IMM6, IMM8 cases to pick up the operand from the right spot.
847
e9682144
L
8482002-03-04 H.J. Lu <hjl@gnu.org>
849
850 * config/obj-elf.c (special_section): Add .init_array,
851 .fini_array and .preinit_array.
852
853 * config/tc-ia64.h (ELF_TC_SPECIAL_SECTIONS): Remove
854 .init_array and .fini_array.
855
26eb4093
JJ
8562002-03-01 Jakub Jelinek <jakub@redhat.com>
857
858 * config/obj-elf.c (elf_copy_symbol_attributes): Don't copy
859 visibility.
860 (obj_frob_symbol): Copy visibility.
861
559e22f3
JJ
8622002-02-28 Jakub Jelinek <jakub@redhat.com>
863
864 * config/tc-alpha.c (s_alpha_text): Use obj_elf_text for OBJ_ELF, not
865 s_text.
866 (s_alpha_data): Use obj_elf_data for OBJ_ELF, not s_data.
867
ef412327
NC
8682002-02-27 Nick Clifton <nickc@cambridge.redhat.com>
869
870 * po/es.po: Updated.
871
b25a253c
CD
8722002-02-26 Chris Demetriou <cgd@broadcom.com>
873
874 * config/tc-mips.c (mips_need_elf_addend_fixup): For embedded-PIC
875 only, undo the changes made on 2001-06-08, with the
876 effect being that common or extern symbols are
877 adjusted for embedded-PIC, but weak symbols are not.
878 (md_estimate_size_before_relax: Likewise, with the effect
879 that extern symbols are treated the same as weak symbols
880 only if not embedded-PIC.
881 (mips_fix_adjustable) Likewise, with the effect that
882 weak or extern symbols are not adjusted for embedded-PIC.
883 (md_apply_fix3): Tweak so that the case where value is zero
884 is handled more correctly for embedded-PIC code.
885
fe41178f
NC
8862002-02-26 Nick Clifton <nickc@cambridge.redhat.com>
887
587fe2b3
NC
888 * doc/as.texinfo (Overview): Add missing @ifset IA64
889
fe41178f
NC
890 * configure.in (LINGUAS): Add es.po.
891 * configure: Regenerate.
892 * po/es.po: New file.
893
4d34fb5f
TS
8942002-02-25 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
895
896 * config/tc-mips.c (set_at): Fix handling of 64bit register loads.
897 (macro): Likewise. Fix la/dla address expansions for EMBEDDED_PIC
898 and NO_PIC cases. Code cleanup.
899 (macro2): Fix handling of 64bit register loads.
900
9e32ca89
NC
9012002-02-25 David Mosberger <davidm@hpl.hp.com>
902
903 * doc/as.texinfo: Add entry for IA64.
904 * doc/c-ia64.texi: New file.
905
23e1d84c
AM
9062002-02-25 Alan Modra <amodra@bigpond.net.au>
907
c7d004c5
AM
908 * config/tc-hppa.c: Update copyright date.
909
910 * doc/c-ppc.texi (PowerPC-Opts): Add -mpower4, -maltivec and -m7400
23e1d84c
AM
911 Remove references to chip manufacturers.
912 * config/tc-ppc.c (md_parse_option): Handle -mpower4 option.
913 Correct comments.
914 (md_show_usage): Remove references to chip manufacturers. Mention
915 -mpower4.
916 (md_begin): Test power4 opcode flag bits.
917
b1c6bf70 9182002-02-22 David Mosberger <davidm@hpl.hp.com>
6290819d
NC
919
920 * config/tc-ia64.c (dot_restore): Issue error message of epilogue
921 count exceeds prologue count.
922 (md_show_usage): Describe -mconstant-gp and -mauto-pic.
923 (unwind.label_prologue_count): New member.
924
925 Based on a patch by Hans Boehm <hboehm@hpl.hp.com>:
926
927 (get_saved_prologue_count): New function.
928 (save_prologue_count): New function.
929 (free_saved_prologue_count): New function.
930 (dot_label_state): Record state label by calling save_prologue_count().
931 (dot_copy_state): Restore prologue count by calling
932 get_saved_prologue_count().
933 (generate_unwind_image): Free up list of saved prologue
934 counts by calling free_saved_prologue_counts().
935
f1e7a2c9
NC
9362002-02-22 Nick Clifton <nickc@cambridge.redhat.com>
937
938 * config/tc-tic54x.c: Add missing prototypes and remove ANSI style
939 function declarations.
940
3f965e60
NC
9412002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
942
943 * NEWS: Note that GASP is now deprecated.
944 * Makefile.am: Do not build gasp-new by default.
945 * Makefile.in: Regenerate.
946 * doc/Makefile.am: Do not install gasp.info.
947 * doc/Makefile.in: Regenerate.
948 * gas/gasp.texi: Note that gasp is now deprecated.
949
9a66911f
NC
9502002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
951
952 * NEWS: Mark 2.12 branch.
953
f88fd9fe
TT
9542002-02-19 Tom Tromey <tromey@redhat.com>
955
956 * config/tc-xstormy16.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
957
da0e507f
TS
9582002-02-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
959
960 * config/tc-mips.c (md_parse_option): Complain about invalid -mabi
961 option input.
962
ff0fb565
MS
9632002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
964
965 * config/tc-s390.c (md_parse_option): Add switches -m31 and -m64.
966 Make bit size independent of architecture switch.
967 (md_begin): Add warning for -m64 with -Aesa.
968 (s390_md_end): Use renamed architecture defines.
969
a245a9aa
DJ
9702002-02-18 Daniel Jacobowitz <drow@mvista.com>
971
972 * config/obj-coff.h: Check !target_big_endian, not shl, for coff-sh.
973
8bf549a8
NC
9742002-02-16 Nick Clifton <nickc@cambridge.redhat.com>
975
976 * doc/as.texinfo (Machine Dependencies): Fix typo: MMIX used
977 instead of CRIS.
978
9151e8bf
CD
9792002-02-15 Chris Demetriou <cgd@broadcom.com>
980
981 * config/tc-mips.c (md_estimate_size_before_relax): Really
982 make sure we treat weak like extern only for ELF. (Fixes
983 patch from 2001-07-25.)
984
59455fb1
BE
9852002-02-15 Ben Elliston <bje@redhat.com>
986
987 * doc/as.texinfo: Add duplicate directory entry so that "info gas"
988 works as expected.
989
49fda6c8
HPN
9902002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
991
992 * NEWS: Mention support for MMIX.
993
2d2bf3e0
CD
9942002-02-13 Chris Demetriou <cgd@broadcom.com>
995
996 * config/tc-mips.c (mips_need_elf_addend_fixup): Restructure into
997 a sequence of indpendent 'if' statements for easier debugging
998 and future modification.
999
76f57f3a
JT
10002002-02-13 Matt Fredette <fredette@netbsd.org>
1001
1002 * config/tc-m68k.c (md_show_usage): No longer display a
1003 hard-coded "68020" for the default CPU, instead display the
1004 canonical name of the true, configured default CPU.
1005 (m68k_elf_final_processing): Mark objects for sub-68020
1006 CPUs with the new EF_M68000 flag.
1007
3bf057fa
AS
10082002-02-13 Andreas Schwab <schwab@suse.de>
1009
1010 * config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust
1011 pc-relative relocations to merge sections in 64-bit mode.
1012
6334e312 10132002-02-13 Ben Elliston <bje@redhat.com>
1ac57253
BE
1014
1015 * NEWS: Document floating point number handling in gasp.
1016 * gasp.c: Include <assert.h> and "xregex.h".
1017 (is_flonum): New function.
1018 (chew_flownum): Likewise.
1019 (change_base): Consume flonums from the input, where possible.
1020 * doc/gasp.texi (Constants): Document floating point numbers.
1021
3dcfe21d
AM
10222002-02-12 John David Anglin <dave@hiauly1.hia.nrc.ca>
1023
1024 * config/tc-hppa.c (hppa_fix_adjustable): Don't adjust final types
1025 that implicitly use LR and RR selectors.
1026
913572ec
AO
10272002-02-12 Alexandre Oliva <aoliva@redhat.com>
1028
1029 * config/tc-mn10300.c (other_registers): Added `epsw'. Mark `pc'
1030 and `epsw' as available on AM33 and above only.
1031 (other_register_name): Add logic to handle machine type encoded in
1032 reg_number.
1033
9b90b531
TR
10342002-02-11 Tom Rix <trix@redhat.com>
1035
949f2b5c 1036 * config/tc-ppc.c (md_apply_fix3): Check for insert fop invalid for
9b90b531
TR
1037 xcoff64.
1038
6c1b24e4
AO
1039Mon Feb 11 11:23:38 2002 Alexandre Oliva <aoliva@redhat.com>
1040
1041 * config/tc-sparc.c (U0x80000000, U0xffffffff): New constants.
1042 Use all over.
1043
7ecd2f8b
JH
1044Mon Feb 11 12:59:29 CET 2002 Jan Hubicka <jh@suse.cz>
1045
1046 * i386.c (md_assemble): Support 32bit address prefix.
1047 (i386_displacement): Likewise.
1048 (i386_index_check): Accept 32bit addressing in 64bit mode.
1049
7eb27ef2
AO
10502002-02-11 Alexandre Oliva <aoliva@redhat.com>
1051
1052 * config/tc-sh.c (dot): Removed unused function.
1053
fa702524
AM
10542002-02-11 Alan Modra <amodra@bigpond.net.au>
1055
1056 * Makefile.am: "make dep-am".
1057 * Makefile.in: Regenerate.
1058 * aclocal.m4: Regenerate.
1059 * config.in: Regenerate.
1060 * configure: Regenerate.
1061 * doc/Makefile.in: Regenerate.
1062
625e1353
RH
10632002-02-10 Richard Henderson <rth@redhat.com>
1064
1065 * doc/c-alpha.texi: New file.
1066 * doc/Makefile.am (CPU_DOCS): Add it.
1067 * doc/all.texi, doc/as.texinfo: Add hooks for Alpha.
1068
543833df
RH
10692002-02-09 Richard Henderson <rth@redhat.com>
1070
1071 * config/tc-alpha.c (O_samegp): New.
1072 (USER_RELOC_P): Include it.
1073 (alpha_reloc_op_tag, debug_exp, find_macro_match): Add it.
1074 (md_apply_fix3): Handle BFD_RELOC_ALPHA_BRSGP.
1075 (alpha_force_relocation, alpha_fix_adjustable): Likewise.
1076 (alpha_validate_fix): New.
1077 * config/tc-alpha.h (TC_VALIDATE_FIX): New.
1078
328eb32e
HPN
10792002-02-09 Hans-Peter Nilsson <hp@axis.com>
1080
1081 * doc/c-cris.texi: New.
1082 * doc/all.texi: @set CRIS.
1083 * doc/as.texinfo: Ditto. Add CRIS gas manpage option overview.
1084 Include c-cris.texi.
1085 * doc/Makefile.am (CPU_DOCS): Add c-cris.texi
1086 * doc/Makefile.in: Regenerate.
1087
6373ee54
CD
10882002-02-08 Chris Demetriou <cgd@broadcom.com>
1089
1090 * config/tc-mips.c (IS_SEXT_32BIT_NUM): New macro to
1091 determine if a number is a sign-extended 32-bit number.
1092 (load_register): Use IS_SEXT_32BIT_NUM.
1093 (macro): Check if load/store macro handling is using a
1094 constant 32-bit address on 64-bit address systems, and if
1095 so optimize the generation of that address.
1096
50a4c611
RH
10972002-02-08 Richard Henderson <rth@redhat.com>
1098
1099 * config/tc-alpha.c (alpha_force_relocation): Don't assert that
1100 we've eliminated all foreign relocation types yet.
1101 (alpha_fix_adjustable): Likewise.
1102
324bfcf3
AO
11032002-02-08 Alexandre Oliva <aoliva@redhat.com>
1104
1105 Contribute sh64-elf.
1106 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
1107 Stephen Clarke <Stephen.Clarke@st.com>
1108 * doc/c-sh64.texi: Fix citation of SH64 architecture manual.
1109 2002-01-31 Alexandre Oliva <aoliva@redhat.com>
1110 * config/tc-sh.c (md_relax_table): Added default sizes for
1111 non-PC-relative UNDEF_MOVI, and relaxation sequences for
1112 MOVI_16, MOVI_32 and MOVI_48.
1113 * config/tc-sh64.c (shmedia_md_apply_fix3): Fix warning.
1114 (shmedia_md_convert_frag): Handle non-PC-relative UNDEF_MOVI
1115 and MOVI_16.
1116 (shmedia_md_estimate_size_before_relax): Remove redundant
1117 blocks. Set fragP->fr_var even if relaxation type unchanged.
1118 Retain UNDEF_MOVI until expression decays to number.
1119 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
1120 * config/tc-sh64.c (shmedia_init_reloc): Handle new SHmedia PIC
1121 relocation types. Take fixP->fx_addnumber into account too.
1122 (shmedia_md_apply_fix): Likewise.
1123 (shmedia_md_convert_frag): Likewise.
1124 (shmedia_build_Mytes): Likewise.
1125 (sh64_consume_datalabel): Complain about nested datalabel.
1126 Support PIC relocs. Call sh_parse_name.
1127 * config/tc-sh64.h (TC_RELOC_RTSYM_LOC_FIXUP): Extend definition
1128 in tc-sh.h to SHmedia reloc types.
1129 * config/tc-sh.c (SH64PCRELPLT, MOVI_PLT, MOVI_GOTOFF,
1130 MOVI_GOTPC): New relaxation constants.
1131 (md_relax_table): Introduce relaxation directives for PIC-related
1132 constants.
1133 (sh_PIC_related_p): Handle datalabel.
1134 (sh_check_fixup): Choose SH5 PIC relocations.
1135 (sh_cons_fix_new): Added BDF_RELOC_64.
1136 (md_apply_fix3, sh_parse_name): Handle GOTPLT.
1137 2002-01-18 Alexandre Oliva <aoliva@redhat.com>
1138 * config/tc-sh64.c (sh64_max_mem_for_rs_align_code): If the
1139 current ISA is SHmedia, get 7 bytes.
1140 2001-11-28 Nick Clifton <nickc@cambridge.redhat.com>
1141 * config/tc-sh.c (md_apply_fix3): Treat shmedia_md_apply_fix3 as a
1142 void function.
1143 * config/tc-sh64.c (shmedia_apply_fix): Rename to
1144 shmedia_apply_fix3 and make void.
1145 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
1146 * config/tc-sh64.c (s_sh64_abi): Remove unused arguments passed to
1147 as_bad.
1148 2001-04-12 Alexandre Oliva <aoliva@redhat.com>
1149 * config/tc-sh64.h (md_parse_name): Take &c as argument.
1150 2001-03-14 DJ Delorie <dj@redhat.com>
1151 * doc/Makefile.am (CPU_DOCS): Added c-sh64.texi
1152 * doc/Makefile.in(CPU_DOCS): Ditto.
1153 * doc/c-sh64.texi: New file.
1154 * doc/as.texinfo: Add SH64 support.
1155 2001-03-13 DJ Delorie <dj@redhat.com>
1156 * config/tc-sh64.c (shmedia_get_operands): Rename A_RESV_Fx to
1157 A_REUSE_PREV so that its purpose is more obvious.
1158 (shmedia_build_Mytes): Ditto.
1159 2001-03-07 DJ Delorie <dj@redhat.com>
1160 * config/tc-sh64.c (sh64_vtable_entry): New, strip datalabels
1161 before processing.
1162 (sh64_vtable_inherit): Ditto.
1163 (strip_datalabels): New, strip "datalabel" from given line.
1164 * config/tc-sh.c (md_pseudo_table): Add sh64-specific vtable
1165 pseudos.
1166 2001-03-06 Hans-Peter Nilsson <hpn@cygnus.com>
1167 * config/tc-sh64.c (shmedia_md_assemble): Move dwarf2_emit_insn
1168 call ...
1169 (shmedia_build_Mytes): ... to here.
1170 2001-03-06 DJ Delorie <dj@redhat.com>
1171 * config/tc-sh.c: Remove sh64-specific uaquad now that there
1172 is a generic one.
1173 2001-01-21 Hans-Peter Nilsson <hpn@cygnus.com>
1174 * config/tc-sh64.h (DWARF2_LINE_MIN_INSN_LENGTH): Override.
1175 * config/tc-sh64.c (shmedia_md_assemble): Offset recorded insn
1176 address by one in call to dwarf2_emit_insn.
1177 2001-01-13 Hans-Peter Nilsson <hpn@cygnus.com>
1178 Implement ".abi" pseudo and correct .cranges descriptors. Correct
1179 alignment handling broken by imported changes.
1180 * config/tc-sh64.h (HANDLE_ALIGN): Override definition in tc-sh.h.
1181 (sh64_handle_align): Declare.
1182 (MAX_MEM_FOR_RS_ALIGN_CODE): Override definition in tc-sh.h.
1183 (sh64_max_mem_for_rs_align_code): Declare.
1184 (enum sh64_isa_values): Moved here from tc-sh64.c.
1185 (md_do_align): Define.
1186 (sh64_do_align): Declare.
1187 (struct sh64_tc_frag_data): New.
1188 (TC_FRAG_TYPE): Change to struct sh64_tc_frag_data. Users
1189 changed.
1190 (TC_FRAG_INIT): Change to set new datatype.
1191 (struct sh64_segment_info_type): Rename member
1192 last_flushed_location to last_contents_mark. All users changed.
1193 (md_elf_section_change_hook, TC_CONS_FIX_NEW): Do not define.
1194 (shmedia_elf_new_section, sh64_tc_cons_fix_new): Do not prototype.
1195 * config/tc-sh.c (md_pseudo_table): Add ".abi".
1196 (sh_elf_cons) [HAVE_SH64]: Call sh64_update_contents_mark instead
1197 of unsetting seen_insn.
1198 (md_assemble) [HAVE_SH64] <before new SHcompact sequence>: Also
1199 call sh64_update_contents_mark.
1200 (sh_handle_align): Remove HAVE_SH64-conditioned code.
1201 * config/tc-sh64.c (sh64_isa_mode): Correct type from boolean to
1202 enum sh64_isa_values.
1203 (sh64_set_contents_type): Drop segT parameter. All callers changed.
1204 (emitting_crange): Boolean guard moved to file scope from function
1205 scope in sh64_set_contents_type.
1206 (s_sh64_abi): New.
1207 (sh64_update_contents_mark): New; most split out from
1208 sh64_flush_pending_output.
1209 (shmedia_md_end): Call sh64_update_contents_mark. Set
1210 sh64_isa_mode to sh64_isa_sh5_guard unless sh64_isa_unspecified.
1211 (sh64_do_align): New function.
1212 (sh64_max_mem_for_rs_align_code): New function.
1213 (sh64_handle_align): Rename from shmedia_do_align. Make
1214 non-static. Add head comment. Emit zero bytes for n bytes modulo
1215 four. Change return-type to void.
1216 (shmedia_elf_new_section): Remove.
1217 (shmedia_md_assemble): Call sh64_update_contents_mark.
1218 (s_sh64_mode): Ditto. Do not call md_flush_pending_output. Make
1219 new frag. Call sh64_update_contents_mark after making the new
1220 frag.
1221 (sh64_flush_pending_output): Just call sh64_update_contents_mark
1222 and sh_flush_pending_output.
1223 (sh64_flag_output): Also call md_flush_pending_output, but add
1224 condition on not emitting_crange.
1225 (sh64_tc_cons_fix_new): Remove.
1226 2001-01-12 Nick Clifton <nickc@redhat.com>
1227 * config/tc-sh64.c (shmedia_do_align): Fix to work with new
1228 alignment handling scheme imported from sourceware.
1229 2001-01-12 Hans-Peter Nilsson <hpn@cygnus.com>
1230 * config/tc-sh64.h (TARGET_FORMAT): Define.
1231 (sh64_target_format): Prototype.
1232 * config/tc-sh64.c (sh64_target_mach): New function.
1233 2001-01-07 Hans-Peter Nilsson <hpn@cygnus.com>
1234 * config/tc-sh64.c (shmedia_md_end): When equating a symbol, use
1235 zero_address_frag instead of copying the frag of the symbol.
1236 (shmedia_frob_file_before_adjust): Ditto.
1237 (shmedia_md_apply_fix) <case BFD_RELOC_SH_IMM_MEDLOW16>: Cast mask
1238 to valueT to remove signedness.
1239 (shmedia_md_convert_frag): Add parameter final. Rename parameter
1240 headers to output_bfd. Do not evaluate symbols if final is false;
1241 do emit fixups.
1242 (shmedia_md_estimate_size_before_relax) <case C (MOVI_IMM_32,
1243 UNDEF_MOVI) et al>: If symbol cannot be modified to be PC-relative
1244 to the current frag, call shmedia_md_convert_frag to emit fixups
1245 and make frag_wane neutralize the frag. Update comments.
1246 * config/tc-sh.c (md_convert_frag): Change caller of
1247 shmedia_md_convert_frag.
1248 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
1249 * config/tc-sh64.h: Tweak comments and correct formatting.
1250 * config/tc-sh64.c: Ditto.
1251 (shmedia_md_convert_frag) <PT/PTA/PTB 32, 48 and 64 bit
1252 expansion, MOVI pcrel expansion>: Fix thinko calculating offset
1253 for the no-relocation case.
1254 (shmedia_check_limits): Fix range check being off-by-one for PTA.
1255 * config/tc-sh.c: Ditto. Add proper comments to #ifdef/#ifndef
1256 wrappers.
1257 (SH64PCREL16_F): Increment for proper max-PTA handling. Update
1258 comment.
1259 (SH64PCREL16_M, MOVI_16_M): Correct range thinko.
1260 (SH64PCREL48_M, MOVI_48_M): Similar; don't count in length of
1261 expansion.
1262 (SH64PCREL32_M, MOVI_32_M): Ditto; handle overflowing expression.
1263 Correct comment.
1264 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
1265 * config/tc-sh64.c (shmedia_md_apply_fix) <second switch, case
1266 BFD_RELOC_SH_PT_16>: Set lowest bit in field to be relocated to 1.
1267 (shmedia_md_convert_frag) <case C (SH64PCREL16_32, SH64PCREL16) et
1268 al>: Set lowest bit of field to relocate to 1 and rest to empty,
949f2b5c 1269 if reloc is emitted.
324bfcf3
AO
1270 2000-12-31 Hans-Peter Nilsson <hpn@cygnus.com>
1271 New options plus bugfixes.
1272 * config/tc-sh.c (md_longopts): New options "-no-expand" and
1273 "-expand-pt32".
1274 (md_parse_option): Handle new options.
1275 (md_show_usage): Add blurb for new options.
1276 * config/tc-sh64.c (SHMEDIA_BFD_RELOC_PT): New macro.
1277 (sh64_expand, sh64_pt32): New variables.
1278 (shmedia_init_reloc): Handle BFD_RELOC_SH_PT_16.
1279 (shmedia_md_apply_fix): Hold original fixP->fx_r_type in
1280 orig_fx_r_type. Change SHMEDIA_BFD_RELOC_PT into
1281 BFD_RELOC_SH_PT_16. Handle BFD_RELOC_SH_PT_16 as pc-relative.
1282 <resolved previously-pc-relative relocs>: Handle
1283 SHMEDIA_BFD_RELOC_PT and BFD_RELOC_SH_PT_16.
1284 (shmedia_md_convert_frag) <case C (SH64PCREL16PT_64, SH64PCREL16),
1285 case C (SH64PCREL16PT_32, SH64PCREL16)>: Modify to PTB if operand
1286 points to SHcompact code.
1287 <case C (SH64PCREL16_32, SH64PCREL16), case C (SH64PCREL16_64,
1288 SH64PCREL16)>: Check that ISA of what operand points at and
1289 PTA/PTB matches, or emit error.
1290 (shmedia_check_limits): Handle BFD_RELOC_SH_PT_16 and
1291 SHMEDIA_BFD_RELOC_PT.
1292 (shmedia_immediate_op): If pcrel, emit fixup also for constant
1293 operand.
1294 (shmedia_build_Mytes) <case A_IMMS16>: Also check sh64_expand in
1295 condition for MOVI expansion.
1296 <case A_PCIMMS16BY4>: Handle expansion to 32 bits only, if
1297 sh64_pt32. Emit only a BFD_RELOC_SH_PT_16 fixup if not
1298 sh64_expand.
1299 <case A_PCIMMS16BY4_PT>: Likewise, but emit a SHMEDIA_BFD_RELOC_PT
1300 fixup.
1301 (sh64_target_format): Error-check setting of sh64_pt32 and
1302 sh64_expand. Fix typo in check for sh64_shcompact_const_crange.
1303 (shmedia_md_pcrel_from_section): Handle BFD_RELOC_SH_PT_16 and
1304 SHMEDIA_BFD_RELOC_PT as coming from SHmedia code.
1305 2000-12-31 Hans-Peter Nilsson <hpn@cygnus.com>
1306 * config/tc-sh64.c: Improve comments.
1307 (shmedia_md_convert_frag): Remove inactive is_pt_variant code. Do
1308 not say the linker will check correctness of PTA/PTB expansion.
1309 (shmedia_md_end): Make non-static.
1310 * config/tc-sh64.h (md_end): Define to shmedia_md_end. Add
1311 prototype.
1312 * config/tc-sh.c (sh_finalize): Remove.
1313 * config/tc-sh.h (md_end): Do not define.
1314 Remove prototype for sh_finalize.
1315 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
1316 * config/tc-sh64.c (shmedia_frob_section_type): Use a struct
1317 sh64_section_data container when storing section type in tdata
1318 field in elf_section_data.
1319 * config/tc-sh.c (sh_elf_final_processing): Change from EF_SH64 to
1320 EF_SH5.
1321 * Makefile.am: Update dependencies.
1322 * Makefile.in: Regenerate.
1323 2000-12-22 Hans-Peter Nilsson <hpn@cygnus.com>
1324 * config/tc-sh64.c (shmedia_md_assemble): Don't protect
1325 dwarf2_emit_insn call with test on debug_type.
1326 2000-12-19 Hans-Peter Nilsson <hpn@cygnus.com>
1327 * config/tc-sh64.c (sh64_set_contents_type): Make contents-type
1328 CRT_SH5_ISA32 sticky for 64-bit.
1329 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
1330 Generate .crange sections when switching ISA mode or emitting
1331 constants in same section as code.
1332 * config/tc-sh64.c: Reformat structure definitions.
1333 (sh64_end_of_assembly, sh64_mix, sh64_shcompact_const_crange): New
1334 variables.
1335 (sh64_set_contents_type): Rename from sh64_init_section. Rewrite
1336 to emit a .cranges descriptor when contents type changes. Only
1337 emit error if changing contents type and -no-mix is in effect.
1338 (sh64_emit_crange, sh64_flush_last_crange, sh64_flag_output,
1339 sh64_flush_pending_output, sh64_tc_cons_fix_new): New functions.
1340 (shmedia_md_end): Set sh64_end_of_assembly. Pass
1341 sh64_flush_last_crange over sections.
1342 When checking main symbol of datalabel symbol, check for
1343 STO_SH5_ISA32, not ISA type of section in definition.
1344 (shmedia_frob_file_before_adjust): Check main symbol for
1345 STO_SH5_ISA32; don't check ISA type of section in definition.
1346 (shmedia_frob_section_type): Adjust for .cranges; set section flag
1347 to SHF_SH5_ISA32_MIXED or SHF_SH5_ISA32 according to whether
1348 .cranges entries have been output.
1349 (shmedia_elf_new_section): Just call md_flush_pending_output.
1350 (shmedia_md_assemble): Do not emit a BFD_RELOC_SH_SHMEDIA_CODE
1351 fix. Do not set tc_segment_info_data.in_code for section. Call
1352 sh64_set_contents_type for SHmedia code.
1353 (s_sh64_mode): Do not call sh64_init_section or set seen_insn to
1354 false. Call md_flush_pending_output.
1355 (sh64_target_format): Check that -no-mix and
1356 -shcompact-const-crange are used in sane combination with other
1357 options.
1358 (shmedia_md_pcrel_from_section): Check type of fix for how to
1359 adjust pc-relative.
1360 (sh64_consume_datalabel): Check symbol for having STO_SH5_ISA32,
1361 not ISA type of section in definition.
1362 * config/tc-sh64.h (struct sh64_segment_info_type): Rewrite to
1363 hold contents-type state.
1364 (md_flush_pending_output): Redefine to sh64_flush_pending_output.
1365 (sh64_flush_pending_output): Declare.
1366 (TC_CONS_FIX_NEW): Define to sh64_tc_cons_fix_new.
1367 (sh64_tc_cons_fix_new): Declare.
1368 * config/tc-sh.c (sh_elf_cons) [HAVE_SH64]: Unset seen_insn and
1369 call sh64_flag_output.
1370 (md_assemble) [HAVE_SH64]: Do not emit BFD_RELOC_SH_CODE. Just
1371 call sh64_set_contents_type to mark SHcompact code and set
1372 seen_insn.
1373 (md_longopts): New options "-no-mix" and
1374 "-shcompact-const-crange".
1375 (md_parse_option): Handle new options.
1376 (md_show_usage): Add blurb for new options.
1377 (md_number_to_chars) [HAVE_SH64]: Call sh64_flag_output.
1378 2000-12-15 Hans-Peter Nilsson <hpn@cygnus.com>
1379 * config/tc-sh64.c: Delete investigated and obsolete fixme:s.
1380 (sh64_last_insn_frag): New.
1381 (shmedia_md_convert_frag): Use tc_frag_data field of incoming frag
1382 to get frag for insn opcode for generating fixups; do not assume it
1383 is the same frag.
1384 (shmedia_build_Mytes): Set sh64_last_insn_frag after growing frag
1385 for new insn.
1386 * config/tc-sh64.h (ELF_TC_SPECIAL_SECTIONS): Define for .cranges
1387 section.
1388 (TC_FRAG_TYPE): Define as fragS *.
1389 (TC_FRAG_INIT): Define to set tc_frag_data to sh64_last_insn_frag.
1390 (sh64_last_insn_frag): Declare.
1391 (sh64_consume_datalabel): Fix typo; check for seginfo != NULL,
1392 not == NULL before dereferencing.
1393 2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com>
1394 Get rid of BFD section flag and EF_SH64_ABI64.
1395 * config/tc-sh64.c (shmedia_frob_section_type): Use
1396 elf_section_data (sec)->tdata, not a specific BFD section flag, to
1397 communicate the section as containing SHmedia code. Describe why.
1398 * config/tc-sh.c (sh_elf_final_processing): Tweak comment. Set
1399 EF_SH64 regardless of ABI.
1400 * config/tc-sh64.c (shmedia_md_apply_fix): Decapitalize "invalid"
1401 in error message. Handle resolved expressions for
1402 BFD_RELOC_SH_IMMS10, BFD_RELOC_SH_IMMS10BY2,
1403 BFD_RELOC_SH_IMMS10BY4 and BFD_RELOC_64.
1404 (shmedia_check_limits): Handle BFD_RELOC_64.
1405 (sh64_adjust_symtab): Do not decrement the GAS symbol value for
1406 a STO_SH5_ISA32 symbol, only the BFD value.
1407 2000-12-11 Ben Elliston <bje@redhat.com>
1408 * config/tc-sh64.c: Call dwarf2_emit_insn, not the defunct
1409 dwarf2_generate_asm_lineno.
1410 2000-12-11 Hans-Peter Nilsson <hpn@cygnus.com>
1411 Handle PC-relative MOVI expansions with assembler relaxation.
1412 Generate PC-relative relocs from 16-bit PC-relative expressions.
1413 * config/tc-sh64.c (SHMEDIA_MD_PCREL_FROM_FIX): Break out from...
1414 (shmedia_md_pcrel_from_section): ...here.
1415 (shmedia_md_apply_fix): Handle fixups for 16-bit operands that has
1416 turned completely resolved. Adjust relocation type for 16-bit
1417 immediate operands that has turned PC-relative. Adjust back for
1418 MD_PCREL_FROM_SECTION being applied twice.
1419 (shmedia_md_convert_frag): Always emit reloc for expression with
1420 global or weak symbol. Handle relaxation result for PC-relative
1421 expressions.
1422 (shmedia_md_estimate_size_before_relax): An expression with a weak
1423 or global symbol can not be relaxed. Break out tests for
1424 relaxable symbol into variable sym_relaxable.
1425 <cases C (MOVI_IMM_64, UNDEF_MOVI) and C (MOVI_IMM_32,
1426 UNDEF_MOVI)>: Break out any PC-relative expression and change
1427 relaxation type.
1428 (shmedia_build_Mytes): CSE &operands->operands[j] into variable
1429 opjp.
1430 <case A_IMMS16>: Fix typo for initial minor relaxation type of
1431 MOVI expansion. If X_op_symbol of the immediate expression is
1432 set, make an expression symbol for the argument to frag_var.
1433 * config/tc-sh.c (MOVI_IMM_32_PCREL, MOVI_IMM_64_PCREL): New
1434 relaxations.
1435 (END): Adjust for new relaxations.
1436 (md_relax_table): Add entries for new relaxations.
1437 2000-12-07 Ben Elliston <bje@redhat.com>
1438 * config/tc-sh64.c (shmedia_parse_reg): Initialize variable len.
1439 2000-12-07 Hans-Peter Nilsson <hpn@cygnus.com>
1440 * config/tc-sh64.c (shmedia_md_convert_frag): Correct all MOVI and
1441 SHORI operand offsets in PT/PTA/PTB expansions.
1442 2000-12-05 Hans-Peter Nilsson <hpn@cygnus.com>
1443 Implement DataLabel semantics.
1444 * config/tc-sh.c (sh_frob_file) [HAVE_SH64]: Call
1445 shmedia_frob_file_before_adjust.
1446 * config/tc-sh64.c [! OBJ_ELF]: Emit #error.
1447 (DATALABEL_SUFFIX): Define.
1448 (shmedia_md_end) <before adjusting STO_SH5_ISA32 symbols>: Walk
1449 symbol list to update "datalabel" symbols to their main symbol
1450 counterparts.
1451 (shmedia_frob_file_before_adjust): New.
1452 (sh64_adjust_symtab): For remaining datalabel symbols, set to
1453 undefined and set STT_DATALABEL.
1454 (sh64_frob_label): Initialize TC symbol field.
1455 (sh64_consume_datalabel): Actually implement semantics. New
1456 parameter operandf, call it instead of expression.
1457 (sh64_exclude_symbol): New.
1458 * config/tc-sh64.h (md_parse_name): Pass on the function operand
1459 to sh64_consume_datalabel.
1460 (tc_symbol_new_hook): Define to tc_frob_symbol.
1461 (TC_SYMFIELD_TYPE): Define to symbolS *.
1462 (tc_frob_symbol): Define to call sh64_exclude_symbol.
1463 2000-12-01 Hans-Peter Nilsson <hpn@cygnus.com>
1464 * config/tc-sh64.c (shmedia_init_reloc): Tweak comment for default
1465 case.
1466 (shmedia_md_assemble): Call dwarf2_generate_asm_lineno if
1467 generating dwarf2 debug information.
1468 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com>
1469 * config/tc-sh64.c (sh64_target_format): Use elf64-sh64l and
1470 elf64-sh64 for the 64-bit ABI.
1471 * config/tc-sh.c (md_show_usage): Tweak usage output for -abi=*
1472 option.
1473 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com>
1474 * config/tc-sh.c: Remove conditionalizing on HAVE_SH64 for
1475 case-insensitivity.
1476 2000-11-27 Hans-Peter Nilsson <hpn@cygnus.com>
1477 * config/tc-sh64.c: Tweak comments, formatting and error messages.
1478 (enum sh64_abi_values): New type.
1479 (enum sh64_isa_values): New type.
1480 (sh64_isa_mode): Replace shmedia_mode. All referers changed.
1481 (seen_shcompact_mode, seen_shmedia_mode): Delete.
1482 (sh64_abi): Replace shmedia_64.
1483 (shmedia_md_convert_frag) <C (MOVI_IMM_64, MOVI_64),
1484 C (MOVI_IMM_32, MOVI_32)>: Correct register number handling.
1485 (s_sh64_mode): Check validity for this target.
1486 (sh64_target_format): Initialize defaults for ISA and ABI.
1487 Fallback to old object format if no SH64 ISA or ABI has been
1488 specified.
1489 * config/tc-sh.c (md_parse_option): Check combinations for errors.
1490 (sh_elf_final_processing): Change to have EF_SH64_ABI64 for 64-bit
1491 ABI and EF_SH64 for 32-bit ABI, if SH64 options are specified.
1492 * config/tc-sh64.h: Fix typo in comment.
1493 2000-11-25 Hans-Peter Nilsson <hpn@cygnus.com>
1494 * config/tc-sh64.c (shmedia_md_estimate_size_before_relax)
1495 <PT fixups for absolute values>: Size will be longest, not
1496 shortest.
1497 (shmedia_md_convert_frag): Disable PTB-warning machinery. Correct
1498 all MOVI and SHORI operand offsets in PT/PTA/PTB expansions.
1499 * config/tc-sh.c (parse_reg) [HAVE_SH64]: Add local variables l0
1500 and l1 to hold lowercase of two first characters. Change all
1501 remaining TO_LOWER to tolower.
1502 * config/tc-sh64.c (TO_LOWER): Delete.
1503 (shmedia_find_cooked_opcode): Use tolower, not TO_LOWER.
1504 (md_parse_name): Define.
1505 (sh64_consume_datalabel): Declare.
1506 (DOLLAR_DOT): Define.
1507 * config/tc-sh64.c (shmedia_parse_exp): New.
1508 (sh64_consume_datalabel): New; just ignoring datalabel semantics.
1509 (shmedia_parse_reg): Remove const from src
1510 parameter.
1511 (shmedia_get_operands): Ditto for args parameter and ptr variable.
1512 (shmedia_md_assemble): Ditto for op_end variable.
1513 (shmedia_get_operand): Ditto for ptr parameter and src variable.
1514 Use shmedia_parse_exp, not parse_exp.
1515 * config/tc-sh64.c (shmedia_parse_reg): Add shmedia_arg_type
1516 parameter. All callers changed.
1517 (shmedia_get_operand): Add shmedia_arg_type parameter. All
1518 callers changed.
1519 (shmedia_parse_reg): Put first two character in local variables.
1520 Use tolower, not TO_LOWER. If no register is found and argtype
1521 indicates a control register, scan shmedia_creg_table
1522 case-insensitive.
1523 2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com>
1524 * Makefile.am (CPU_TYPES): Add sh64.
1525 (TARGET_CPU_CFILES): Add config/tc-sh64.c.
1526 (TARGET_CPU_HFILES): Add config/tc-sh64.h.
1527 Regenerate dependencies.
1528 * Makefile.in: Regenerate.
1529 * configure.in: Add support for sh64-*-elf*.
1530 * configure: Regenerate.
1531 * config/tc-sh64.h: New.
1532 * config/tc-sh64.c: New.
1533 * config/tc-sh.c (md_pseudo_table) [HAVE_SH64]: New pseudos
1534 .mode, .isa and .uaquad.
1535 [HAVE_SH64] (SH64PCREL16_32, SH64PCREL16_64, SH64PCREL16PT_32,
1536 SH64PCREL16PT_64, MOVI_IMM_32, MOVI_IMM_64): Define.
1537 [HAVE_SH64] (END): Define as 10.
1538 [HAVE_SH64] (UNDEF_SH64PCREL, SH64PCREL16, SH64PCREL32,
1539 SH64PCREL48, SH64PCREL64, UNDEF_MOVI, MOVI_16, MOVI_32, MOVI_48,
1540 MOVI_64): Define.
1541 [HAVE_SH64] (SH64PCREL16_F, SH64PCREL16_M, SH64PCREL16_LENGTH,
1542 SH64PCREL32_F, SH64PCREL32_M, SH64PCREL32_LENGTH, SH64PCREL48_F,
1543 SH64PCREL48_M, SH64PCREL48_LENGTH, SH64PCREL64_LENGTH,
1544 MOVI_16_LENGTH, MOVI_32_LENGTH, MOVI_48_LENGTH, MOVI_64_LENGTH):
1545 Define.
1546 (md_relax_table) [HAVE_SH64]: Provide relaxations for SHmedia.
1547 (md_begin) [HAVE_SH64]: Call shmedia_md_begin.
1548 (parse_reg) [HAVE_SH64]: Parse register names case-insensitive.
1549 (md_assemble) [HAVE_SH64]: Call shmedia_md_assemble if assembling
1550 SHmedia instructions. Handle state-change after switching to
1551 SHcompact.
1552 (md_longopts) [HAVE_SH64]: New options --isa=* and --abi=*.
1553 (md_parse_option) [HAVE_SH64]: Parse new options.
1554 (md_show_usage) [HAVE_SH64]: Show usage of new options.
1555 (md_convert_frag) [HAVE_SH64] <default>: Call
1556 shmedia_md_convert_frag instead of abort.
1557 (sh_force_relocation) [HAVE_SH64]: Also force relocation for
1558 BFD_RELOC_SH_SHMEDIA_CODE.
1559 (sh_elf_final_processing) [HAVE_SH64]: Set flags identifying
1560 SHcompact or SHmedia code.
1561 (md_apply_fix) [HAVE_SH64] <default>: Return result from calling
1562 shmedia_md_apply_fix instead of abort.
1563 (md_estimate_size_before_relax) [HAVE_SH64] <default>: Return
1564 result from calling shmedia_md_estimate_size_before_relax instead
1565 of calling abort.
1566 (sh_do_align) [HAVE_SH64]: If shmedia_mode, let shmedia_do_align
1567 do the work.
1568 (tc_gen_reloc) [HAVE_SH64]: For unrecognized relocs, call
1569 shmedia_init_reloc and do nothing more if it returns non-zero.
1570 (sh_finalize) [HAVE_SH64]: Call shmedia_md_end.
1571 * po/POTFILES.in: Regenerate.
1572 * po/gas.pot: Regenerate.
1573
ac3f04d7
AO
15742002-02-06 Alexandre Oliva <aoliva@redhat.com>
1575
6b32719e
AO
1576 * config/tc-sh.c (parse_at): Install the correct version of
1577 2002-02-04's patch.
949f2b5c 1578
ac3f04d7
AO
1579 * config/tc-sh.c (md_apply_fix3) <BFD_RELOC_32_PLT_PCREL>: Don't
1580 assume fixP->fx_subsy is non-NULL.
1581
7679ead9
AO
15822002-02-04 Alexandre Oliva <aoliva@redhat.com>
1583
1584 * config/tc-sh.c (parse_at): Set arg type of @(expr,pc) to
fdf4122d 1585 A_DISP_PC_ABS, and adjust it by -4.
7679ead9
AO
1586 (get_specific): Accept A_DISP_PC_ABS where A_DISP_PC is
1587 expected.
1588 (build_Mytes): Mark PCRELIMM fix-ups as pc-relative only if
1589 the operand type is not A_DISP_PC_ABS.
1590
5459d7a0
HPN
15912002-02-04 Hans-Peter Nilsson <hp@bitrange.com>
1592
1593 * config/tc-mmix.c (tc_gen_reloc): Don't try and take the value of
1594 common and weak symbols. Handle common and weak symbols as
1595 undefined symbols with regards to GREG handling and merging.
1596 (mmix_frob_file): Ditto.
1597
006336b8
JT
15982002-02-02 Jason Thorpe <thorpej@wasabisystems.com>
1599
1600 * configure.in (hppa-*-netbsd*): New target.
1601 * configure: Regenerate.
1602 * config/tc-hppa.h: Also define WARN_COMMENTS if TE_NetBSD.
1603
9e0665bc
AM
16042002-02-02 Alan Modra <amodra@bigpond.net.au>
1605
1606 * config/tc-v850.c: Add missing prototypes amd use old-style
1607 function definitions.
1608 (AREA_ZDA, AREA_SDA, AREA_TDA): Delete.
1609 (sdata_section tdata_section, zdata_section, sbss_section,
1610 tbss_section, zbss_section, rosdata_section, rozdata_section,
1611 scommon_section, tcommon_section, zcommon_section,
1612 call_table_data_section, call_table_text_section): Delete.
1613 (v850_sdata, v850_tdata, v850_zdata, v850_sbss, v850_tbss,
1614 v850_zbss, v850_bss, v850_rosdata, v850_rozdata,
1615 v850_call_table_data, v850_call_table_text): Delete.
1616 (struct v850_seg_entry): New.
1617 (v850_seg_table): New.
1618 (SDATA_SECTION TDATA_SECTION, ZDATA_SECTION, SBSS_SECTION,
1619 TBSS_SECTION, ZBSS_SECTION, BSS_SECTION, ROSDATA_SECTION,
1620 ROZDATA_SECTION, SCOMMON_SECTION, TCOMMON_SECTION, ZCOMMON_SECTION,
1621 CALL_TABLE_DATA_SECTION, CALL_TABLE_TEXT_SECTION): Define.
1622 (do_v850_seg): New.
1623 (v850_seg): New.
1624 (v850_comm): Use do_v850_seg and v850_seg_table. Simplify
1625 recording of alignment.
1626 (md_pseudo_table): Use v850_seg.
1627 (md_begin): Don't init .call_table_data and .call_table_text here.
1628 Set v850_seg_table bss entry.
1629
973eb340
HPN
16302002-02-01 Hans-Peter Nilsson <hp@bitrange.com>
1631
1632 Support on-demand global register allocation by passing on
1633 base-plus-offset relocs to the linker.
1634 * config/tc-mmix.c: Tweak and fix typos in comments.
949f2b5c 1635 (allocate_undefined_gregs_in_linker): New variable.
973eb340
HPN
1636 (OPTION_LINKER_ALLOCATED_GREGS): New option macro.
1637 (md_longopts): Add --linker-allocated-gregs.
1638 (md_parse_option) <case 'x'>: Imply --linker-allocated-gregs.
1639 <case OPTION_LINKER_ALLOCATED_GREGS>: New.
1640 (md_show_usage): Update text for -x. Add text for
1641 --linker-allocated-gregs.
1642 (tc_gen_reloc): Derive default value for addend from val and
1643 baddsy. Use addsec and bfd_is_abs_section in more places. Don't
1644 emit error for BFD_RELOC_MMIX_BASE_PLUS_OFFSET without suitable
1645 GREG if allocate_undefined_gregs_in_linker.
1646 * doc/as.texinfo (Overview) <Target MMIX options>: Add
1647 --linker-allocated-gregs.
1648 * doc/c-mmix.texi (MMIX-Opts): Add blurb about
1649 --linker-allocated-gregs. Mention that it's implied by -x.
1650 (MMIX-Pseudos) <GREG>: Mention when and how a GREG can be omitted.
1651 (MMIX-mmixal): Clarify dated comparison and location of MMIXware.
1652
1653 * config/tc-mmix.h (md_parse_name): Use ISUPPER, not isupper.
1654
ba323545
AM
16552002-02-01 Alan Modra <amodra@bigpond.net.au>
1656
1657 * Makefile.am: Run "make dep-am"
1658 * Makefile.in: Regenerate.
1659
3b16e843
NC
16602002-01-31 Ivan Guzvinec <ivang@opencores.org>
1661
1662 * config/tc-or32.c: New file.
1663 * config/tc-or32.h: New file.
1664 * configure.in: Add support for or32 targets.
1665 * configure: Regenerate.
1666 * config/obj-coff.c: Add support for or32 targets.
1667 * config/obj-coff.h: Add support for or32 targets.
1668 * Makefile.am: Add support for or32 targets.
1669 * Makefile.in: Regenerate.
1670 * NEWS: Mention support for OpenRISC.
1671 * doc/Makefile.in: Regenerate.
1672 * po/POTFILES.in: Regenerate.
1673 * po/gas.pot: Regenerate.
1674
912a07db
RS
16752002-01-30 Richard Sandiford <rsandifo@redhat.com>
1676
1677 * config/tc-sh.c (parse_reg): Fix end-of-word check for is, ix, iy
1678 and mod.
1679
4514d474
CD
16802002-01-29 Chris Demetriou <cgd@broadcom.com>
1681
1682 * config/tc-mips.c (tc_gen_reloc): Arrange for
1683 BFD_RELOC_PCREL_HI16_S relocations to be output relative to
1684 their LO16 parts, even for ELF.
1685
246fcdee
DJ
16862002-01-29 Daniel Jacobowitz <drow@mvista.com>
1687
1688 * config/tc-i386.c: Protect definitions of true and false
1689 from redefinition.
1690
00e6e13d
JJ
16912002-01-28 Jakub Jelinek <jakub@redhat.com>
1692
1693 * config/obj-elf.c (elf_frob_file_before_adjust): Remove symbols
1694 made because of .weak, if they are neither defined nor used in any
1695 way.
1696
4867be41
DJ
16972002-01-27 Daniel Jacobowitz <drow@mvista.com>
1698
1699 * configure: Regenerated.
1700
7562a296
HPN
17012002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
1702
1703 * doc/Makefile.am (install): Depend on install-info.
1704 * doc/Makefile.in: Regenerate.
1705
1caa7b23
NC
17062002-01-26 Nick Clifton <nick@redhat.com>
1707
1708 * po/fr.po: Updated version
1709
166e23f9
KH
17102002-01-24 Kazu Hirata <kazu@hxi.com>
1711
1712 * config/tc-h8300.c (check_operand): Don't print a warning
1713 when a valid 24-bit address is given to a 16-bit address
1714 operand.
1715
538cd60f
AO
17162002-01-24 Alexandre Oliva <aoliva@redhat.com>
1717
1718 * config/tc-sh.c (sh_elf_suffix): Removed.
1719 (sh_PIC_related_p, sh_check_fixup, sh_cons_fix_new,
1720 sh_end_of_match, sh_parse_name): New functions.
1721 (sh_elf_cons): Simplify.
1722 (parse_exp): Reject misplaced PIC operands.
1723 (md_undefined_symbol): Simplify.
1724 (sh_fix_adjustable): Let @GOTOFF be adjusted.
1725 (md_apply_fix3): Write @PLT and @GOTOFF addends in place.
1726 (tc_gen_reloc): Move fixp subsy absolute value into addnumber.
1727 Complain if subsy remains at the end.
1728 * config/tc-sh.h (sh_parse_name, sh_cons_fix_new): Declare.
1729 (md_parse_name, TC_CONS_FIX_NEW, O_PIC_reloc): Define.
1730
b386f24b
AO
17312002-01-22 Alexandre Oliva <aoliva@redhat.com>
1732
1733 * config/tc-mn10300.c (xr_registers): Move `pc'...
1734 (other_registers): ... here.
1735
c46f0c34
AM
17362002-01-22 Alan Modra <amodra@bigpond.net.au>
1737
1738 * Makefile.am: Run "make dep-am".
1739 * Makefile.in: Regenerate.
1740 * gas/po/POTFILES.in: Regenerate.
1741
23deb923
DD
17422002-01-21 DJ Delorie <dj@redhat.com>
1743
1744 * config/obj-coff.c (obj_coff_init_stab_section): Make the
1745 stabstr_name allocation permanent, as it will be referenced from
1746 the section hash.
1747
9596feea
JT
17482002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
1749
1750 * configure.in (ia64-*-netbsd*): New target.
949f2b5c 1751 * configure: Regenerate.
9596feea 1752
92081f48
HPN
17532002-01-21 Hans-Peter Nilsson <hp@bitrange.com>
1754
1755 * doc/as.texinfo (Overview) <Target ARM options>: Add missing {}
1756 to @dots call.
1757 <Detailed description, ARM options>: Ditto.
1758 * doc/c-arm.texi (ARM Options): Ditto.
1759
63e63b07
RE
17602002-01-18 Richard Earnshaw <rearnsha@arm.com>
1761
1762 * tc-arm.c (do_xsc_mia, do_xsc_mar, do_xsc_mra): Renamed from
1763 do_mia, do_mar and do_mra respectively.
1764 (do_mav_*): Renamed from do_c_*.
1765 (mav_reg_required_here, mav_parse_offset): Renamed from
1766 cirrus_reg_required_here and cirrus_parse_offset respectively.
1767 (MAV_MODE?): Renamed from CIRRUS_MODE?.
1768
ea6ef066
RE
17692002-01-18 Richard Earnshaw <rearnsha@arm.com>
1770 Keith Walker <keith.walker@arm.com>
1771
1772 * tc-arm.c (ARM_EXT_V5J, ARM_ARCH_V5TEJ): Define.
1773 (insns): Add pattern for bxj instruction.
1774 (do_bxj): New function.
1775 (arm_cpus): Add arm926ej.
1776 (arm_archs): Add armv5tej.
1777
bc89618b
RE
17782002-01-18 Richard Earnshaw <rearnsha@arm.com>
1779
1780 * doc/c-arm.texi: Add new fpe options to list of supported flags.
1781
d193a22a
RE
17822002-01-19 Keith Walker <keith.walker@arm.com>
1783
1784 * tc-arm.c (arm_fpus): Add fpe2 and fpe3.
1785
03b1477f
RE
17862002-01-18 Richard Earnshaw <rearnsha@arm.com>
1787
1788 * NEWS: Mention new ARM command-line options and VFP support.
1789
949f2b5c 1790 * config/tc-arm.c (ARM_CEXT_XSCALE): Replaces ARM_EXT_XSCALE. All
03b1477f
RE
1791 uses changed.
1792 (ARM_CEXT_MAVERICK): Similarly.
1793 (ARM_ANY): Now means any core instruction.
1794 (CPU_DEFAULT): Default to ARM_ANY.
1795 (uses_apcs_26, atcps, support_interwork, uses_apcs_float)
1796 (pic_code): Declare for all object types. Make type int.
1797 (legacy_cpu, legacy_fpu, mcpu_cpu_opt, mcpu_fpu_opt, march_cpu_opt)
1798 (march_fpu_opt, mfpu_opt): Declare.
1799 (md_longopts): Tidy up conditional definitions.
1800 (arm_opts, arm_cpus, arm_archs, arm_fpus, arm_extensions)
1801 (arm_long_opts): New tables.
1802 (arm_parse_cpu, arm_parse_arch, arm_parse_fpu): New functions.
1803 (arm_parse_extension): New function.
1804 (md_parse_option): Rewrite using new table-driven system.
1805 (md_show_usage): Use new table-driven system.
1806 (md_begin): Calculate cpu_variant from command line option data.
1807 * doc/as.texinfo (ARM ISA options): Docuement new ARM-specific
1808 command-line options.
1809 * doc/c-arm.texi: Likewise.
1810
2a538ba5
AJ
18112002-01-18 Andreas Jaeger <aj@suse.de>
1812
1813 * as.c (parse_args): Update year.
1814
b1ffc257 18152002-01-17 Timothy Wall <twall@alum.mit.edu>
2a538ba5 1816
b1ffc257
TW
1817 * config/tc-tic54x.c (encode_address): Add a more informative
1818 warning about incorrect syntax.
1819
328577ad
NC
18202002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
1821
1822 * po/gas.pot: Regenerate.
1823
06f030db
NC
18242002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
1825
1826 * macro.c (get_any_string): Add no-c-format comment to prevent
1827 confusion when translating string.
1828 * gasp.c (get_any_string): Add no-c-format comment to prevent
1829 confusion when translating string.
1830
394f9b3a
TS
18312002-01-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1832 Johannes Stezenbach <js@convergence.de>
1833 * config/tc-mips.c (percent_op): Ensure longer percent_op's are
1834 matched before the shorter ones.
1835 (my_getSmallParser): Fix handling of nested parentheses in
1836 percent_op's. Code cleanup.
1837 (my_getPercentOp): New function, code from my_getSmallParser.
1838 (my_getSmallExpression): Fix handling of closing parentheses.
1839 Code cleanup. Better comments.
1840
af3ae48d
NC
18412002-01-16 Nick Clifton <nickc@redhat.com>
1842
1843 po/tr.po: New file: Turkish translation.
1844 configure.in (LINGUAS): Add "tr".
1845 configure: Regenerate.
1846
bfae80f2
RE
18472002-01-15 Richard Earnshaw <rearnsha@arm.com>
1848
1849 Support for VFP instructions
1850 * tc-arm.c (CP_WB_OK, CP_NO_WB): New defines.
1851 (cp_address_required_here): New argument wb_ok. When false, do not
1852 accept write-back forms of addressing. Change all callers.
1853 (FPU_VFP_EXT_NONE, FPU_VFP_EXT_V1xD, FPU_VFP_VFP_V1)
1854 (FPU_VFP_EXT_V2): Define.
1855 (FPU_ARCH_VFP, FPU_ARCH_VFP_V1xD, FPU_ARCH_VFP_V1, FPU_ARCH_VFP_V2):
1856 Define in terms of above.
1857 (vfp_dp_reg_pos, vfp_sp_reg_pos, vfp_ldstm_type): New enums.
1858 (vfp_reg): New struct.
1859 (vfp_regs): New array of registers.
1860 (insns): Add VFP instructions.
1861 (sn_table): New array of VFP single-precision register names.
1862 (dn_table): New array of VFP double-precision register names.
1863 (all_reg_maps): Add the new register tables.
1864 (arm_reg_type): Add new values for above. Increase RET_TYPE_MAX.
1865 (vfp_sp_reg_required_here, vfp_dp_reg_required_here, do_vfp_sp_monadic)
1866 (do_vfp_dp_monadic, do_vfp_sp_dyadic, do_vfp_dp_dyadic)
1867 (do_vfp_reg_from_sp, do_vfp_sp_reg2, do_vfp_sp_from_reg)
1868 (do_vfp_reg_from_dp, do_vfp_reg2_from_dp, do_vfp_dp_from_reg)
1869 (do_vfp_dp_from_reg2, vfp_psr_parse, vfp_psr_required_here)
1870 (do_vfp_reg_from_ctrl, do_vfp_ctrl_from_reg, do_vfp_sp_ldst)
1871 (do_vfp_dp_ldst, vfp_sp_reg_list, vfp_dp_reg_list, vfp_sp_ldstm)
1872 (vfp_dp_ldstm, do_vfp_sp_ldstmia, do_vfp_sp_ldstmdb, do_vfp_ldstmia)
1873 (do_vfp_dp_ldstmdb, do_vfp_xp_ldstmia, do_vfp_xp_ldstmdb)
1874 (do_vfp_sp_compare_z, do_vfp_dp_compare_z, do_vfp_dp_sp_cvt)
1875 (do_vfp_sp_dp_cvt): New functions.
1876 (md_begin): Set soft-float flag for appropriate VFP work.
1877 (md_atof): Handle VFP-format doubles.
1878 (md_parse_option): Handle VFP command-line options.
1879 (md_show_usage): Display VFP command-line options.
1880
fcd6d8d6
RE
18812002-01-15 Richard Earnshaw <rearnsha@arm.com>
1882
2a538ba5 1883 * tc-arm.c (md_parse_option): Tidy up setting of cpu_variant for
fcd6d8d6
RE
1884 various command line options.
1885
1f7fd478
NC
18862002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
1887
1888 * config/tc-xstormy16.c: (xstormy16_fix_adjustable): Do not fix
1889 vtinherit relocs.
1890 (xstormy16_md_apply_fix3): Do not return a value.
1891
21f0f23a
RE
18922002-01-14 Richard Earnshaw <rearnsha@arm.com>
1893
1894 * tc-arm.c (md_longopts): On targets that aren't bi-endian, support
1895 the -EL/-EB option that matches the target's endianness.
1896 (md_parse_option): Likewise.
1897
ce058b6c
RE
18982002-01-14 Richard Earnshaw <rearnsha@arm.com>
1899
2a538ba5 1900 * tc-arm.c (md_longopts): Fix misplaced #endif -- the -oabi option
ce058b6c
RE
1901 is not dependent on ARM_BI_ENDIAN.
1902
f03698e6
RE
19032002-01-14 Richard Earnshaw <rearnsha@arm.com>
1904
1905 * tc-arm.c (all error messages): Normalize capitalization of messages.
1906
1907 * tc-arm.h (md_operand): Delete define.
1908 * tc-arm.c (in_my_get_expression): New static variable.
1909 (my_get_expression): Set and clear it.
1910 (md_operand): New function. If called from my_get_expression
1911 put the error in inst.error.
1912 (output_inst): Now takes argument of instruction being assembled.
1913 Print it out with any error message.
1914 (do_ldst, do_ldstv4, thumb_load_store): Fault attempt to use a store
1915 with '=' syntax.
1916 (end_of_line): Don't update inst.error if it is already set.
1917
e28cd48c
RE
19182002-01-11 Richard Earnshaw <rearnsha@arm.com>
1919
1920 * tc-arm.c ((do_ldst): Fix handling an immediate expression pseudo
1921 op that can be translated into a mvn instruction.
1922
1cd8ff38
NC
19232002-01-11 Steve Ellcey <sje@cup.hp.com>
1924
1925 * gas/config/tc-ia64.h (MD_FLAGS_DEFAULT): New Macro for
1926 setting default md.flags.
1927 (SHT_INIT_ARRAY): New elf special section used by HP-UX.
1928 (SHT_FINI_ARRAY): New elf special section used by HP-UX.
1929 * gas/config/tc-ia64.c (setup_unwind_header): Add support
1930 for 32 bit unwind info blocks.
1931 (generate_unwind_image): Add support for different types
1932 of unwind images (32 bits and/or big-endian).
1933 (ia64_init): Use MD_FLAGS_DEFAULT to set md.flags.
1934 (ia64_target_format): Add support for hpux target formats.
1935 (ia64_gen_real_reloc_type): Add support for FUNC_IPLT_RELOC.
1936 (ia64_elf_section_type): Add support for SHT_INIT_ARRAY and
1937 SHT_FINI_ARRAY elf section types.
1938
6c43fab6
RE
19392002-01-10 Richard Earnshaw <rearnsha@arm.com>
1940
1941 * tc-arm.c (struct reg_entry): Move before prototypes.
1942 (int_register, cp_register, fp_register): Delete.
1943 (reg_table): Delete. Replaced with ...
1944 (rn_table, cp_table, cn_table, fn_table, mav_mvf_table)
1945 (mav_mvd_table, mav_mvfx_table, mav_mvdx_table, mav_mvax_table)
1946 (mav_dspsc_table): ... one table per register set.
1947 (arm_reg_hsh): Delete.
1948 (struct reg_map): New structure.
1949 (all_reg_maps): New array.
1950 (enum arm_reg_type): New enums.
1951 (build_reg_hsh): New function.
1952 (insert_reg_alias): Use hash table passed by caller. Adjust all
1953 callers.
1954 (create_register_alias): New function, split out from ...
1955 (md_assemble): ... here.
1956 (md_begin): Build new register hash tables.
1957 (arm_reg_parse): New argument for the hash table to search. Adjust all
1958 callers.
1959 (arm_reg_parse_any): New function.
1960 (co_proc_number): Look up the processor number in the processor hash
1961 table.
1962 (cirrus_regtype): Delete.
1963 (cirrus_register, cirrus_mvf_register, cirrus_mvd_register)
1964 (cirrus_mvfx_register, cirrus_mvdx_register, cirrus_mvax_register)
1965 (ARM_EXT_MAVERICKsc_register): Delete.
1966 (do_c_binops_1, do_c_binops_2, do_c_binops_3): Delete.
1967 (do_c_binops_1[a-o], do_c_binops_2[a-c], do_c_binops_3[a-d]): New
1968 functions.
1969 (do_c_triple_4, do_c_triple_5): Delete.
1970 (do_c_triple_4[ab], do_c_triple_5[a-h]): New functions.
1971 (do_c_quad_6): Delete.
1972 (do_c_quad_6[ab]): New functions.
1973 (do_c_binops, do_c_triple, do_c_quad, do_c_shift, do_c_ldst): Rework
1974 arguments to use new register parsing methods.
1975 (cirrus_reg_required_here): Likewise.
1976 (insns): Reclassify cirrus maverick worker functions.
1977 (cirrus_valid_reg): Delete.
1978
8d05742f
JT
19792002-01-07 Jason Thorpe <thorpej@wasabisystems.com>
1980
1981 * configure.in (sh*le): Set cpu_type=sh and endian=little.
1982 (sh*-*-netbsdelf*): New target.
1983 * configure: Regenerate.
2a538ba5 1984 * tc-sh.h: Update copyright years.
8d05742f
JT
1985 (TARGET_FORMAT): Add version for TE_NetBSD.
1986
ceac3f62
NC
19872002-01-07 Nick Clifton <nickc@cambridge.redhat.com>
1988
1989 * read.c (emit_expr): Do not allow 'size' or 'nbytes' to go
1990 negative.
1991
d7861ad2
AM
19922002-01-06 Alan Modra <amodra@bigpond.net.au>
1993
1994 * config/tc-m68k.h (md_prepare_relax_scan): Rewrite.
1995 * config/tc-m68k.c (md_relax_table): Add md_prepare_relax_scan comment.
1996
7a621144
DJ
19972002-01-05 Daniel Jacobowitz <drow@mvista.com>
1998
1999 * tc-mips.c (mips_cprestore_valid): New flag.
2000 (mips_frame_reg_valid): New flag.
2001 (macro) [M_JAL_2]: Check both flags.
2002 [M_JAL_A]: Likewise.
2003 (s_cprestore): Set mips_cprestore_valid.
2004 (tc_get_register): If setting mips_frame_reg, set
2005 mips_frame_reg_valid and clear mips_cprestore_valid.
2006 (s_mips_ent): Clear both flags.
2007 (s_mips_end): Clear both flags.
2008
7c6beb69
AM
20092002-01-05 Alan Modra <amodra@bigpond.net.au>
2010
2011 * write.c (write_object_file): Make use of bfd_section_list_remove.
2012 * config/obj-ecoff.c (ecoff_frob_file): Likewise.
2013 * config/tc-mmix.c (mmix_frob_file): Likewise.
2014
8a8b2d4b
AJ
20152002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
2016
2017 * configure.in (i386-*-netbsdelf*): Collapse target into...
2018 (i386-*-netbsd*): ...this. Add support for x86-64.
2019 * configure: Regenerated.
2020
a09cf9bd
MG
20212002-01-03 matthew green <mrg@redhat.com>
2022
2023 * config/tc-ppc.c (md_parse_option): BookE is not Motorola specific.
2024
23b7f870
NC
20252002-01-02 Nick Clifton <nickc@cambridge.redhat.com>
2026
2027 * config/tc-m68k.c (md_estimate_size_before_relax): Test for a
2028 NULL frag link.
2029
08d56133
NC
2030For older changes see ChangeLog-0001
2031\f
2032Local Variables:
2033mode: change-log
2034left-margin: 8
2035fill-column: 74
2036version-control: never
2037End:
This page took 0.172522 seconds and 4 git commands to generate.