* objcopy.c (bfd_flags_to_set, bfd_flags_to_clear): New variables
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
31a91399
NC
12003-12-20 Nick Clifton <nickc@redhat.com>
2
3 * config/tc-ppc.c (md_apply_fix3): Handle the case where a
4 .byte directive generates a pc-relative relocation.
5
5a1964ec
NC
62003-12-19 Nick Clifton <nickc@redhat.com>
7 Andreas Schwab <schwab@suse.de>
8
9 * messages.c (as_perror): Save errno around library calls.
10 * input-file.c [BFD_ASSEMBLER]: Set the BFD error to
11 bfd_error_system_call before each call to as_perror.
12 (input_file_open): Simplify the error reporting code to just use
13 as_perror().
14 * output-file.c (output_file_create) [BFD_ASSEMBLER]: Set the BFD
15 error to bfd_error_system_call before calling as_perror.
16 (output_file_close) [BFD_ASSEMBLER]: Likewise.
17 (output_file_append) [BFD_ASSEMBLER]: Likewise.
18 * listing.c (listing_print) [BFD_ASSEMBLER]: Likewise.
19
6edf0760
NC
202003-12-19 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
21
22 Add m32r-linux and PIC support. Add new ABI that uses RELA.
23 * configure.in: Add m32r-linux targets.
24 * configure: Regenerate.
25 * config/tc-m32r.c (md_parse_option): Add -KPIC option.
26 (tc_gen_reloc): Added.
27 (debug_sym, md_estimate_size_before_relax, md_convert_frag,
28 md_pcrel_from_section, m32r_fix_adjustable): Changed for PIC.
29 * config/tc-m32r.h (tc_gen_reloc, EXTERN_FORCE_RELOC): Undefined.
30 (TC_HANDLES_FX_DONE, TC_FIX_ADJUSTABLE, TC_RELOC_RTSYM_LOC_FIXUP):
31 Defined.
32 * doc/c-m32r.texi: Document -KPIC option.
33 * NEWS: Mention the support m32r Linux and PIC.
34
19e7825f
NC
352003-12-18 Nick Clifton <nickc@redhat.com>
36
37 * input-file.c (input_file_open): Remove call to stat().
38 Add a check for getc() failing, and catch the case where the
39 failure is due to an attempt to read a directory.
40
30ac9238
RS
412003-12-18 Richard Sandiford <rsandifo@redhat.com>
42
43 * config/tc-mips.c (mips_need_elf_addend_fixup): Delete.
44 (md_apply_fix3): Remove bfd_install_relocation workarounds.
45 (tc_gen_reloc): Likewise. Factor handling of pc-relative relocations
46 and treat fx_addnumber as relative to the relocation address.
47
8ab8a5c8
RS
482003-12-18 Richard Sandiford <rsandifo@redhat.com>
49
50 * config/tc-mips.c (s_change_section): When parsing the MIPS-specific
51 .section syntax, map SHT_MIPS_DWARF to SHT_PROGBITS.
52
1ddd7f43
MM
532003-12-17 Mark Mitchell <mark@codesourcery.com>
54
55 * config/tc-arm.c (arm_archs): Change "armv6" to "armv6j".
56 * doc/c-arm.texi (ARM Options): Likewise.
57
b145f546
NC
582003-12-17 Nick Clifton <nickc@redhat.com>
59
60 * config/tc-m32r.c (error_explicit_parallel_conflicts): Rename
61 to 'ignore_parallel_conflicts'.
62 (md_longopts): Change option names as well.
63 (md_parse_option): Separate the warn_explicit and ignore
64 parallel conflicts options.
65 (md_show_usage): Update descriptions of these options.
66 (first_writes_to_seconds_operands): Do not run this check if
67 ignoring parallel conflicts.
68 (assemble_two_insns): Remove code that checked
69 error_explicit_parallel_conflicts.
70 * doc/c-m32r.texi: Update descriptions of the options.
71
250355db
NC
722003-12-16 Dmitry Semyonov <Dmitry.Semyonov@oktet.ru>
73
74 * tc-arm.c (do_adr): Do not adjust pc by -8 if TE_WINCE is
75 defined.
76 (do_adrl): Likewise.
77
bb5737a7
CG
782003-12-15 Christian Groessler <chris@groessler.org>
79
80 * config/tc-z8k.c (struct z8k_exp): Remove, not used anywhere.
81 (ctrl_table): Add "flags" keyword and some comments.
82 (flag_table): Convert to uppercase.
83 (get_flags_operand): Be case insensitive.
84 (get_interrupt_operand): Be case insensitive. Support notation
85 where the inperrupt arguments are separated by commas.
86 (get_operands): Check whether get_flags_operand consumed all
87 arguments. Return failure if get_ctrl_operand didn't recognize a
88 valid control register.
89 (get_specific): Add case CLASS_CTRL: Test for valid control
90 register for ldctlb opcode.
91 (build_bytes): Check for valid control registers.
92
8d8199c3
NC
932003-12-15 Nick Clifton <nickc@redhat.com>
94
95 * config/obj-aout.c (obj_crawl_symbol_chain): Skip defined
96 symbols which resolve to symbolic values.
97
13c56984
AM
982003-12-13 Alan Modra <amodra@bigpond.net.au>
99
dbe2df79
AM
100 * config/obj-elf.c: Convert to C90, remove unneeded prototypes and
101 casts. Formatting.
102 * config/obj-elf.h: Remove PARAMS.
103
13c56984
AM
104 * read.c (s_lcomm_internal): Make global.
105 * read.h (s_lcomm_internal): Declare.
106 * config/obj-elf.c (elf_pseudo_table): Handle lcomm.
107 (obj_elf_lcomm): New function.
108
e13bab5a
AM
1092003-12-13 Alan Modra <amodra@bigpond.net.au>
110
111 * read.c: Remove unneeded prototypes.
112 (s_comm): Split out code to..
113 (s_comm_internal): ..here. Tidy error returns. Rearrange so that
114 "name" from input line may be used in more places. Merge code
115 testing for valid size from elf_common. Merge code from
116 s_lcomm_internal. Call comm_parse_extra.
117 (bss_alloc): New function, split out of s_lcomm_internal and
118 elf_common.
119 (parse_align): Likewise.
120 (s_lcomm_internal): Rewrite.
121 (s_lcomm, s_lcomm_bytes): Use s_comm_internal.
122 * read.h (bss_alloc, parse_align, s_comm_internal): Declare.
123 * config/obj-elf.c (elf_common): Split out code to..
124 (elf_common_parse): ..here. Remove code common to s_comm_internal,
125 parse_align and bss_alloc. Rearrange and Tidy.
126 * config/tc-alpha.h (TC_IMPLICIT_LCOMM_ALIGNMENT): Define.
127
1f6c9eb0
ZW
1282003-12-10 Zack Weinberg <zack@codesourcery.com>
129
130 * tc-ppc.c (md_assemble): Rewrite comment about optional operands
131 to indicate that 'all or none' is also handled. Pluralize a
132 word in another comment.
133
33a392fb
PB
1342003-12-10 Paul Brook <paul@codesourcery.com>
135
136 * config/tc-arm.c (FPU_MAVERICK): Define.
137 (FPU_ARCH_MAVERICK): Define.
138 (arm_float_abi): Define.
139 (mfloat_abi_opt): New variable.
140 (md_begin): Use them.
141 (arm_opts): Add msoft-float and mhard-float.
142 (arm_cpus): Use FPU_ARCH_MAVERICK.
143 (arm_fpus): Add maverick.
144 (arm_float_abis): Add.
145 (arm_parse_float_abi): New function.
146 (arm_long_options): Add mfloat-abi.
147 * doc/as.texinfo: Document -mfloat-abi=.
148 * doc/c-arm.text: Ditto. Menution -fpu=maverick.
149
5533419b
PB
1502003-12-09 Paul Brook <paul@codesourcery.com>
151
152 * config/tc-arm.c (do_umaal): Fix typo.
153
d7342424
KH
1542003-12-06 Kazu Hirata <kazu@cs.umass.edu>
155
156 * dwarf2dbg.c: Convert to ISO-C.
157 * write.c: Likewise.
158 * write.h: Likewise.
159
0a6ace1e
RS
1602003-12-06 Richard Sandiford <rsandifo@redhat.com>
161
162 * config/tc-mips.c (macro): Switch misordered call to frag_grow()
163 and setting of tc_fr_offset.
164
09d92015
MM
1652003-12-05 Ricardo Anguiano <anguiano@codesourcery.com>
166 Mark Mitchell <mark@codesourcery.com>
167 Richard Earnshaw <rearnsha@arm.com>
1f6c9eb0 168
09d92015
MM
169 Add V6 support.
170 * config/tc-arm.c (ARM_EXT_V6): New macro.
171 (ARM_ARCH_V6): Likewise.
172 (SHIFT_IMMEDIATE): Likewise.
173 (SHIFT_LSL_OR_ASR_IMMEDIATE): Likewise.
174 (SHIFT_ASR_IMMEDIATE): Likewise.
175 (SHIFT_LSL_IMMMEDIATE): Likewise.
176 (do_cps): New function.
177 (do_cpsi): Likewise.
178 (do_ldrex): Likewise.
179 (do_pkhbt): Likewise.
180 (do_pkhtb): Likewise.
181 (do_qadd16): Likewise.
182 (do_rev): Likewise.
183 (do_rfe): Likewise.
184 (do_sxtah): Likewise.
185 (do_sxth): Likewise.
186 (do_setend): Likewise.
187 (do_smlad): Likewise.
188 (do_smlald): Likewise.
189 (do_smmul): Likewise.
190 (do_ssat): Likewise.
191 (do_usat): Likewise.
192 (do_srs): Likewise.
193 (do_ssat16): Likewise.
194 (do_usat16): Likewise.
195 (do_strex): Likewise.
196 (do_umaal): Likewise.
197 (do_cps_mode): Likewise.
198 (do_cps_flags): Likewise.
199 (do_endian_specifier): Likewise.
200 (do_pkh_core): Likewise.
201 (do_sat): Likewise.
202 (do_sat16): Likewise.
203 (insns): Add V6 instructions.
204 (do_t_cps): New function.
205 (do_t_cpy): Likewise.
206 (do_t_setend): Likewise.
207 (THUMB_CPY): New macro.
208 (tinsns): Add V6 instructions.
209 (decode_shift): Handle V6 restricted-shift options.
210 (thumb_mov_compare): Support CPY.
211 (arm_cores): Add arm1136js and arm1136jfs.
212 (arm_archs): Add armv6.
213 (arm_fpus): Add arm1136jfs.
214 * doc/c-arm.texi (ARM Options): Mention arm1136js, arm1136jfs, and
215 armv6 options.
216
f69532ae
CG
2172003-12-06 Christian Groessler <chris@groessler.org>
218
219 * config/tc-z8k.c (parse_reg): Be case insensitive when checking
220 register names.
221 (get_ctrl_operand): Be case insensitive when checking ctrl names.
bbf5b05d 222
2acb89ed
NC
2232003-12-05 Nick Clifton <nickc@redhat.com>
224
225 * config/tc-sh.c (md_show_usage): Fix compilation errors
226 introduced by the previous delta.
227
88da98f3
MS
2282003-12-03 Alexandre Oliva <aoliva@redhat.com>
229
bbf5b05d 230 * config/tc-sh.c: Add support for sh4a and no-fpu variants.
88da98f3 231 * testsuite/gas/sh/basic.exp: Call tests for sh4a.
1f6c9eb0
ZW
232 * testsuite/gas/sh/{err-sh4a-fp.s, err-sh4a.s,
233 err-sh4al-dsp.s, sh4a-dsp.d, sh4a-dsp.s, sh4a-fp.d,
88da98f3
MS
234 sh4a-fp.s, sh4a.d, sh4a.s, sh4al-dsp.d, sh4al-dsp.s:
235 New files, tests for sh4a and related variants.
1f6c9eb0 236
bbf5b05d
MS
2372003-12-05 Michael Snyder <msnyder@redhat.com>
238
239 * config/tc-sh.c (md_show_usage): Mention new -isa options.
88da98f3
MS
240 * doc/c-sh.texi: Document new -isa options.
241 * doc/c-sh64.texi: Ditto.
242 * NEWS: Mention new support for sh4a.
243
b80901c7
L
2442003-12-03 H.J. Lu <hongjiu.lu@intel.com>
245
246 * config/tc-alpha.c (s_alpha_end): Don't crash if there is no
247 matching .ent.
248
147f6d69
AM
2492003-12-04 Alan Modra <amodra@bigpond.net.au>
250
251 * tc.h (md_pcrel_from): Don't declare if defined as a macro.
252
88845958
NC
2532003-12-03 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
254
255 * config/tc-m32r.h : Add support for new machine m32r2.
256 * config/tc-m32r.c : Likewise.
257 Add new command line switches and directives to allow endian-ness
258 to be selected and some warnings to be turned into errors.
259 (line_separator_chars) : Use '!'.
260 * doc/c-m32r.texi: Document new switches and directives.
eb764db8 261 * NEWS: Mention new support.
88845958 262
f8fc3443
NC
2632003-12-03 Dave Airlie <airlied@linux.ie>
264
265 * configure.in: Likewise.
266 * configure: Regenerate.
267 * config/tc-vax.c (md_shortopts): Add 'Q'.
268 (md_parse_option): Ignore 'Q' for now.
269
24361518
KH
2702003-12-02 Kazu Hirata <kazu@cs.umass.edu>
271
272 * messages.c: Convert to ISO-C.
273 * obj.h: Likewise.
274 * output-file.c: Likewise.
275 * output-file.h: Likewise.
276 * sb.c: Likewise.
277 * sb.h: Likewise.
278 * stabs.c: Likewise.
279 * subsegs.c: Likewise.
280 * subsegs.h: Likewise.
281 * tc.h: Likewise.
282
7efd976a
KH
2832003-12-02 Kazu Hirata <kazu@cs.umass.edu>
284
285 * config/obj-elf.c: Remove ARGSUSED.
286
9fa06c65
AM
2872003-12-02 Alan Modra <amodra@bigpond.net.au>
288
289 * Makefile.am: Run "make dep-am".
290 * Makefile.in: Regenerate.
291
74937d39
KH
2922003-11-30 Kazu Hirata <kazu@cs.umass.edu>
293
294 * symbols.c: Convert to ISO-C.
295 * symbols.h: Likewise.
296
464800ca
CG
2972003-11-28 Christian Groessler <chris@groessler.org>
298
299 * config/tc-z8k.c: Convert to ISO-C.
300 * config/tc-z8k.h: Likewise.
301
39e6acbd
KH
3022003-11-27 Kazu Hirata <kazu@cs.umass.edu>
303
304 * read.c: Convert to ISO-C.
305 * read.h: Likewise.
306
028f09bd
NC
3072003-11-27 Nick Clifton <nickc@redhat.com>
308
309 * config/tc-sh.c (sh_elf_cons): If md_cons_align is defined
310 call it to make sure that the constants that are going to be
311 emitted are correctly aligned.
312
a939d090
AO
3132003-11-27 Alexandre Oliva <aoliva@redhat.com>
314
315 * config/tc-frv.c (md_pcrel_from_section): Don't adjust when
316 referencing symbol in a different section.
317
d5bf5799
CG
3182003-11-26 Christian Groessler <chris@groessler.org>
319
320 * config/tc-z8k.c (s_segm): Fix indentation.
321 (md_apply_fix3): Likewise.
322 (cc_names): Add alias names for the names generated by the
323 disassembler.
324 (get_cc_operand): Be case insensitive.
325 (get_operands): Improve error handling for cc operands.
326 (check_operand): Not used, remove.
327 (md_assemble): Remove unused variable prev_opcode. Skip
328 whitespace until end-of-line only. Restore *op_end after call to
329 hash_find.
330
b4f16abb
NC
3312003-11-26 Nick Clifton <nickc@redhat.com>
332
333 * config/tc-h8300.c (get_operand): Allow er4-er7 for ldm/stm
334 instructions on the H8SX.
335
3db8d52c
KH
3362003-11-25 Kazu Hirata <kazu@cs.umass.edu>
337
338 * config/tc-h8300.c (h8_exp): Remove.
339
4892e510
NC
3402003-11-25 Asgari Jinia <asgarij@kpitcummins.com>
341
342 * config/tc-h8300.c (md_assemble): Check operands validity for
343 ldm/stm.
344 (get_operand): Check register pair's validity as per technical
345 note TN-H8*-193A/E from Renesas for H8s and for H8Sx manual.
346
254d758c
KH
3472003-11-24 Kazu Hirata <kazu@cs.umass.edu>
348
349 * listing.c: Convert to ISO-C.
350 * listing.h: Likewise.
351 * macro.c: Likewise.
352 * macro.h: Likewise.
353
70b911ad
JJ
3542003-11-24 Jakub Jelinek <jakub@redhat.com>
355
356 * app.c (do_scrub_chars): Add PUT (ch) and ch = GET ()
357 when transitioning from states 14 or 15 to 0 or 1.
358
b1f1fa96
KH
3592003-11-23 Kazu Hirata <kazu@cs.umass.edu>
360
361 * hash.c: Convert to ISO-C.
362 * hash.h: Likewise.
363 * input-file.c: Likewise.
364 * input-file.h: Likewise.
365 * input-scrub.c: Likewise.
366 * itbl-ops.c: Likewise.
367 * itbl-ops.h: Likewise.
368
66faad26
KH
3692003-11-23 Kazu Hirata <kazu@cs.umass.edu>
370
371 * config/tc-h8300.c (Hmode): Make it global.
372 (Smode): Likewise.
373 (Nmode): Likewise.
374 (SXmode): Likewise.
375
dd625418
KH
3762003-11-22 Kazu Hirata <kazu@cs.umass.edu>
377
378 * ehopt.c: Convert to ISO-C.
379 * emul.h: Likewise.
380 * expr.c: Likewise.
381 * expr.h: Likewise.
382 * flonum-copy.c: Likewise.
383 * flonum-mult.c: Likewise.
384 * flonum.h: Likewise.
385 * frags.c: Likewise.
386 * frags.h: Likewise.
387
9a124774
AM
3882003-11-22 Alan Modra <amodra@bigpond.net.au>
389
f22b3caf
AM
390 * doc/c-ppc.texi (PowerPC-Pseudo): Add section.
391
9a124774
AM
392 * app.c (do_scrub_chars): Revert 2003-04-23 and 2003-04-22.
393
834ddcc4
KH
3942003-11-21 Kazu Hirata <kazu@cs.umass.edu>
395
396 * ecoff.c: Convert to ISO-C.
397 * ecoff.h: Likewise.
398
69c040df
AM
3992003-11-22 Alan Modra <amodra@bigpond.net.au>
400
401 * config/tc-ppc.c (parse_cpu): New function, broken out from..
402 (md_parse_option): ..here.
403 (ppc_setup_opcodes): New function, broken out from..
404 (md_begin): ..here.
405 (ppc_machine): Implement .machine pseudo op.
406
a2e22468
KH
4072003-11-20 Kazu Hirata <kazu@cs.umass.edu>
408
409 * depend.c: Convert to ISO-C.
410 * dwarf2dbg.c: Likewise.
411 * dwarf2dbg.h: Likewise.
412
73ee5e4c
KH
4132003-11-20 Kazu Hirata <kazu@cs.umass.edu>
414
415 * app.c: Convert to ISO-C.
416 * as.h: Likewise.
417 * atof-generic.c: Likewise.
418 * bignum-copy.c: Likewise.
419 * bignum.h: Likewise.
420 * cgen.c: Likewise.
421 * cgen.h: Likewise.
422 * cond.c: Likewise.
423
0d78efdf
DD
4242003-11-20 DJ Delorie <dj@redhat.com>
425
426 * config/tc-sh64.c (shmedia_frob_section): Only frob elf32
427 sections.
428
600e9c99
KH
4292003-11-19 Kazu Hirata <kazu@cs.umass.edu>
430
431 * config/tc-h8300.c: Make some functions and global
432 variables static appropriately.
433
d492b58e
KH
4342003-11-19 Kazu Hirata <kazu@cs.umass.edu>
435
436 * config/obj-ieee.c: Remove duplicate prototypes.
437 * config/tc-h8300.c: Likewise.
438
b54a3392
KH
4392003-11-19 Kazu Hirata <kazu@cs.umass.edu>
440
441 * config/tc-h8300.c: Convert to ISO-C.
442 * config/tc-h8300.h: Likewise.
443
fe01a20a
KH
4442003-11-19 Kazu Hirata <kazu@cs.umass.edu>
445
446 * config/tc-mcore.h: Remove prototypes already in tc.h.
447 * config/tc-tic4x.c: Likewise.
448
43b5c447
KH
4492003-11-19 Kazu Hirata <kazu@cs.umass.edu>
450
451 * config/tc-arc.c: Remove a local prototype of atof_ieee.
452 * config/tc-ip2k.c: Likewise.
453 * config/tc-iq2000.c: Likewise.
454 * config/tc-tic30.c: Remove a comment.
455
cda2eb9e
BW
4562003-11-19 Bob Wilson <bob.wilson@acm.org>
457
458 * config/tc-xtensa.c (xg_emit_insn): Include "dwarf2dbg.h" and add
459 call to dwarf2_emit_insn.
460
1abe91b1
MR
4612003-11-18 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
462
463 * config/tc-mips.c (macro): Handle new macros: "lca" and "dlca"
464 for loading addresses using CALL relocations.
465 Don't emit CALL relocations when a base register is used.
466
bf151ce7
MR
4672003-11-15 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
468
469 * config/tc-mips.c: Formatting fixes.
470
9ce887a1
BE
4712003-11-14 Ben Elliston <bje@wasabisystems.com>
472
473 * config/tc-arm.c (arm_elf_change_section): Not static.
474
6057a28f
NC
4752003-11-13 Nick Clifton <nickc@redhat.com>
476
477 * tc-arm.c (mapping_state): New function. Emit a mapping
478 symbol if necessary.
9a124774 479 (arm_elf_change_section): New function. Intercept section
6057a28f 480 changes and generate mapping symbols.
9a124774
AM
481 (s_bss): Likewise.
482 (s_arm_elf_cons): Likewise.
483 (opcode_select): Choose the correct mapping state.
484 (md_assemble): Likewise.
485 * tc-arm.h (md_elf_section_change_hook): Define.
486 * doc/c-arm.texi (ARM Mapping Symbols): New node.
6057a28f
NC
487 * NEWS: Mention new feature.
488
5e2d1ae8
DJ
4892003-11-12 Daniel Jacobowitz <drow@mvista.com>
490
491 * Makefile.am (install, install-info, RECURSIVE_TARGETS): Define.
492 * doc/Makefile.am (install-info): Define.
493
494 * aclocal.m4: Regenerate.
495 * Makefile.in: Regenerate.
496 * doc/Makefile.in: Regenerate.
497
08e3ab90
NC
4982003-11-11 Dmitry Semyonov <Dmitry.Semyonov@oktet.ru>
499
500 * configure.in: Add support for arm-wince-pe target.
501 * configure: Regenerate.
502
8d01d9a9
AJ
5032003-11-11 Jan Hubicka <jh@suse.cz>
504
505 * config/tc-i386.c (tc_i386_fix_adjustable):
506
012a452b
AM
5072003-11-10 Alan Modra <amodra@bigpond.net.au>
508
509 * config/tc-ia64.c (ia64_handle_align): Remove bogus be_nop.
510
36fd3cc3
AM
5112003-11-10 Alan Modra <amodra@bigpond.net.au>
512
513 * README: Update bug report address. Move bug reporting info to
514 binutils/README.
515
e2a2ebaa
CG
5162003-11-07 Christian Groessler <chris@groessler.org>
517
518 * doc/c-z8k.texi: Document command-line options. Fix byte
519 register names. Document '.z8001' and '.z8002' directives.
520 Extend addressing modes documentation.
521
f24ddbdd
NC
5222003-11-07 Jonathan R. Grant <jg-binutils@jguk.org>
523
524 * input-file.c (input_file_open): Use "No such file" error
525 message.
526
0bbf2aa4
NC
5272003-11-06 Pete Gonzalez <pgonzalez@bluel.com>
528
529 * config/tc-arm.texi (struct reg_entry): Add new field 'builtin'.
530 (rn_table, iwmmxt_table, cp_table, cn_table, fn_table, sn_table,
531 dn_table, mav_mvf_table, mac_mvd_table, mav_mvfx_table,
532 mav_mvax_table, mav_dspc_table): Initialise new field.
533 (insert_reg_alias): Initialise new field.
534 (md_pseudo_table): Add "unreq" entry.
535 (s_unreq): New function: Undo the effects of a previous .req.
536 * doc/c-arm.texi: Document new pseudo op.
537 * NEWS: Mention new feature.
538
1be59579
NC
5392003-11-06 Bruno Rohee <bruno@rohee.com>
540
541 * config/obj-vms.c: Fix "the the" typo.
542 * doc/c-arm.texi: Likewise.
543
5442003-11-06 Nick Clifton <nickc@redhat.com>
545
546 * config/obj-vms.c: Convert to ISO-C.
547
5f5c1f75
AM
5482003-11-05 Alan Modra <amodra@bigpond.net.au>
549
550 * config/tc-ppc.h (TC_FORCE_RELOCATION): Only define for ELF and XCOFF.
551
eb9618da
CG
5522003-10-31 Christian Groessler <chris@groessler.org>
553
554 * config/tc-i860.c (md_pcrel_from): Fix typo in comment.
555
0379c688
NC
5562003-10-29 Phil Edwards <phil@codesourcery.com>
557
558 * configure.in (arm-*-vxworks, i386-*-vxworks, mips-*-vxworks,
559 ppc-*-vxworks, ppc-*-windiss): Remove separate outdated stanzas.
560 (*-*-vxworks, *-*-windiss): Use common stanzas, all ELF.
561 * configure: Regenerated.
562
47eebc20
KH
5632003-10-27 Kazu Hirata <kazu@cs.umass.edu>
564
565 * ChangeLog: Fix typos.
566 * ChangeLog-9295: Likewise.
567 * as.c: Fix comment typos.
568 * as.h: Likewise.
569 * atof-generic.c: Likewise.
570 * bit_fix.h: Likewise.
571 * frags.h: Likewise.
572 * hash.c: Likewise.
573 * input-file.c: Likewise.
574 * input-scrub.c: Likewise.
575 * itbl-ops.c: Likewise.
576 * itbl-parse.y: Likewise.
577 * listing.c: Likewise.
578 * macro.h: Likewise.
579 * read.c: Likewise.
580 * sb.c: Likewise.
581 * sb.h: Likewise.
582 * symbols.c: Likewise.
583 * symbols.h: Likewise.
584
ca43c854
SC
5852003-10-27 Stephane Carrez <stcarrez@nerim.fr>
586
587 * config/tc-m68hc11.c: Convert to ISO C90.
588 * config/tc-m68hc11.h: Likewise.
589
a8015998
KH
5902003-10-26 Kazu Hirata <kazu@cs.umass.edu>
591
592 * doc/c-sh64.texi: Fix a typo.
593
60493797
KH
5942003-10-26 Kazu Hirata <kazu@cs.umass.edu>
595
596 * doc/c-alpha.texi: Fix typos.
597 * doc/c-ia64.texi: Likewise.
598 * doc/c-mmix.texi: Likewise.
599 * doc/c-sh64.texi: Likewise.
600 * doc/c-xtensa.texi: Likewise.
601 * doc/internals.texi: Likewise.
602
ea8f8eab
L
6032003-10-24 H.J. Lu <hongjiu.lu@intel.com>
604
605 * config/obj-elf.c (obj_elf_change_section): Allow SHF_ALLOC
606 for .interp, .strtab and .symtab. Use specified section
607 attributes.
608
5e2f6673
L
6092003-10-22 Andreas Schwab <schwab@suse.de>
610 H.J. Lu <hongjiu.lu@intel.com>
611 Jim Wilson <wilson@specifixinc.com>
612
613 * config/tc-ia64.c (update_qp_mutex): New.
614 (note_register_values): Properly handle one of PRs in compare
615 is PR0. Don't add a mutex relation for .and.orcm/.or.andcm.
616 Clear mutex relation for .none/.unc. Don't clear mutex relation
617 on predicated compare.
618
5a21e886
NC
6192003-10-21 Wouter van Heyst <wouter@vidicode.nl>
620
621 * config/tc-arm.c (all_reg_maps): Correct text describing Maverick
622 register requirements.
623 (md_begin): Remove F_SOFT_FLOAT if enabling MAVERICK FP.
624
3e602632 6252003-10-21 Peter Barada <pbarada@mail.wm.sps.mot.com>
012a452b 626 Bernardo Innocenti <bernie@develer.com>
3e602632
NC
627
628 * config/tc-m68k.c: Add MCF528x (MCFv4) support.
629 * config/m68k-parse.h: Likewise.
630 * NEWS: Mention the new support.
631 * doc/c-m68k.texi: Document new processor selection switch.
632
13757d0c
TS
6332003-10-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
634
635 * config/tc-mips.c (normalize_constant_expr): New function to fix sign
636 extensions broken by gas' expression evaluation of constants.
637 (check_absolute_expr): Use it.
638 (mips_ip): Likewise.
639
88fc725d
HPN
6402003-10-18 Hans-Peter Nilsson <hp@bitrange.com>
641
642 Generate BFD_RELOC_MMIX_PUSHJ_STUBBABLE for PUSHJ when possible.
643 * doc/c-mmix.texi (MMIX-Opts): Document --no-pushj-stubs and
644 --no-stubs.
645 * config/tc-mmix.c: Include limits.h. Expand on mmix_relax_table
646 comment.
647 (expand_op, mmix_next_semicolon_is_eoln): Fix head comment.
648 (pushj_stubs): New variable.
649 (OPTION_NOPUSHJSTUBS, STATE_PUSHJSTUB, PUSHJSTUB_MIN)
650 (PUSHJSTUB_MAX): New macros.
651 (md_longopts): New options "--no-pushj-stubs" and synonym
652 "--no-stubs".
653 (mmix_relax_table): Handle new entry for STATE_PUSHJSTUB.
654 (md_parse_option): Handle OPTION_NOPUSHJSTUBS.
655 (md_estimate_size_before_relax): Modify STATE_PUSHJ state for
656 PUSHJ stub relaxation.
657 (md_convert_frag): Handle STATE_PUSHJSTUB.
658 (md_apply_fix3): Handle BFD_RELOC_MMIX_PUSHJ_STUBBABLE.
659 (tc_gen_reloc): Ditto.
660 (mmix_md_relax_frag): Handle PUSHJ stub relaxation.
661 * config/tc-mmix.h (TC_SEGMENT_INFO_TYPE): Define.
662 (struct mmix_segment_info_type): New.
663
36759679
NC
6642003-10-17 Paul Dale <pauli@snapgear.com>
665 Bernardo Innocenti <bernie@develer.com>
666
667 * config/tc-m68k.c (make_pcrel_absolute): Enforce
668 PC-relative jumps with --pcrel.
669 (md_convert_frag_1): Likewise.
670 (md_create_long_jump): Likewise.
671
d4e2de6b
NC
6722003-10-17 Shrinivas Atre <shrinivasa@KPITCummins.com>
673
674 * config/tc-h8300.c (PSIZE): Correct for Normal mode.
675 (get_operand): Accept both 16 bit 32 bit registers as pointer
676 registers, when operating in Normal mode.
677 (fix_operand_size): Make default address size 16 for Normal mode.
678
ece01a63
ILT
6792003-10-17 Ian Lance Taylor <ian@wasabisystems.com>
680
681 * config/tc-arm.c (do_iwmmxt_byte_addr): Reject control
682 registers.
683 (do_iwmmxt_word_addr): With a control register, reject conditional
684 execution and reject a non-word size.
685
fda712ee
AM
6862003-10-16 Peter Bergner <bergner@vnet.ibm.com>
687
688 * configure.in: Set em=linux for ppc-*-linux-gnu* target.
689 * configure: Regenerate.
690
60946ad0
AM
6912003-10-15 Alan Modra <amodra@bigpond.net.au>
692
693 * doc/as.texinfo (Align): Correct list of byte targets.
694
1b8e29e5
TS
6952003-10-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
696
697 * config/tc-mips.c (macro_build_ldst_constoffset,load_register,macro):
698 Fix indentation. Better error message.
699
b614a702
BW
7002003-10-14 Bob Wilson <bob.wilson@acm.org>
701
702 * config/tc-xtensa.c (xtensa_create_property_segments): Remove bfd
703 argument in call to xtensa_get_property_section_name. Formatting.
704
224186bc
KK
7052003-10-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
706
707 * config/tc-sh.h (sh_coff_reloc_mangle): Delete an extra
708 parenthesis.
709
8edc77b9
KK
7102003-10-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
711
712 * config/tc-sh.c: Convert to ISO C90. Remove unnecessary
60946ad0 713 prototypes and casts.
8edc77b9
KK
714 * config/tc-sh.h: Likewise.
715 * config/tc-sh64.c: Likewise.
716 * config/tc-sh64.h: Likewise.
717
1ae31fee
DB
7182003-10-08 Dave Brolley <brolley@redhat.com>
719
720 * config/tc-frv.c (fr550_check_insn_acc_range): New function.
721 (fr550_check_acc_range): New function.
722 (md_assemble): Call fr550_check_acc_range.
723
7242003-10-08 Dave Brolley <brolley@redhat.com>
725
726 * config/tc-frv.c: Handle DEFAULT_CPU_FR550.
727 (md_parse_option): Handle OPTION_CPU==fr550.
728 (md_show_usage): Document fr550.
729
05da4302
NC
7302003-10-08 Philippe De Muyter <phdm@macqel.be>
731
60946ad0 732 * as.c (use_gnu_debug_info_extensions) : New variable.
05da4302
NC
733 (parse_args) : Accept new --gstabs+ option, and set
734 `use_gnu_debug_info_extensions'.
735 (show_usage) : Document --gstabs+ option.
736 * as.h (use_gnu_debug_info_extensions) : New extern declaration.
737 * stabs.c (stabs_generate_asm_file) : If
738 `use_gnu_debug_info_extensions' is set, add the compilation
739 directory to the stabs debug info.
740 * doc/as.texinfo : Document --gstabs+ option.
741 * NEWS: Mention new feature.
742
60946ad0 7432003-10-06 Matt Thomas <matt@3am-software.com>
85cf2a8a 744
60946ad0
AM
745 Switch NetBSD/hppa to use Linux PA-RISC ELF ABI and
746 assembler syntax.
85cf2a8a 747
60946ad0
AM
748 * tc-hppa.c: Add "%farg[0-3]", "%fret", "%t[1-4]", "%tf[1-4]"
749 register names. Change all "defined (TE_LINUX)" to
750 "(defined (TE_LINUX) || defined (TE_NETBSD))".
85cf2a8a 751
60946ad0
AM
752 * tc-hppa.h: Make NetBSD use "elfXX-hppa-linux" bfd target.
753 Remove NetBSD's use of LABELS_WITHOUT_COLONS.
85cf2a8a 754
4615568e
NC
7552003-10-06 Robert Millan <robertmh@gnu.org>
756
60946ad0 757 * configure.in: Match GNU/KNetBSD with new knetbsd*-gnu triplet.
4615568e
NC
758 * configure: Regenerate.
759
c2059446
NC
7602003-10-05 Nick Clifton <nickc@redhat.com>
761
762 * as.c (parse_args): Revert patch to change handling of -f
763 option. Its behaviour is mandated by the POSIX 2 spec.
764
a72d6b4e
CG
7652003-10-04 Christian Groessler <chris@groessler.org>
766
767 * tc-z8k.c (newfix): Tell fix_new_exp about pc relativeness.
768 (md_apply_fix3): Fix R_JR, R_DISP7, and R_CALLR cases.
769 (md_pcrel_from): This function now gets called. Supply return
770 value.
771
33948635
NC
7722003-10-04 Nick Clifton <nickc@redhat.com>
773
774 * as.c: Convert to ISO C90.
775
d3fb7ca2
NC
7762003-10-04 Nick Clifton <nickc@redhat.com>
777
778 * as.c (std_shortopts): Remove 'f'.
779 (std_longopts): Add 'f'. Doing this prevents -f<foo> being
780 acecpted as an alias for -f.
781
b256d4fd
NC
7822003-10-04 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
783
784 * config/obj-coff.c (obj_coff_section [BEF_ASSEMBLER]):
785 Make 'r' mean readonly data.
786
d17e7bce
TS
7872003-10-01 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
788
789 * config/tc-mips.c (macro_build_ldst_constoffset,load_register,macro):
790 Unbreak overflow checks.
791
609f23f4
CD
7922003-10-01 Chris Demetriou <cgd@broadcom.com>
793
794 * config/tc-mips.c (s_cpreturn): Correct errors in comment.
795
ecd13cd3
TS
7962003-10-01 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
797
798 * config/tc-mips.c (macro_build_ldst_constoffset): Fix sign extension
799 tests.
800 (load_register): Likewise.
801 (macro): Likewise.
802
30c378fd
CD
8032003-09-30 Chris Demetriou <cgd@broadcom.com>
804
805 * config/tc-mips.c (mips_ip): Capitalize first word of
806 existing condition code warning, and add condition code
807 warnings for .ps instructions, and for bc1any[24][tf].
808
6a265366
CD
8092003-09-30 Chris Demetriou <cgd@broadcom.com>
810
811 * NEWS: Mention support for MIPS64 Release 2.
812
43c58ae6
CD
8132003-09-30 Chris Demetriou <cgd@broadcom.com>
814
815 * NEWS: Add an indication of the cutoff for 2.14.
816
5f74bc13
CD
8172003-09-30 Chris Demetriou <cgd@broadcom.com>
818
819 * configure.in (mipsisa64r2, mipsisa64r2el, mipsisa64r2*): New CPUs.
820 * configure: Regenerate.
821 * config/tc-mips.c (imm2_expr): New variable.
822 (md_assemble, mips16_ip): Initialize imm2_expr.
823 (ISA_HAS_64BIT_REGS, ISA_HAS_DROR, ISA_HAS_ROR): Add ISA_MIPS64R2.
824 (macro_build): Handle +A, +B, +C, +E, +F, +G, and +H format operands.
825 (macro): Handle M_DEXT and M_DINS.
826 (validate_mips_insn): Handle +E, +F, +G, +H, and +I format operands.
827 (mips_ip): Likewise.
828 (OPTION_MIPS64R2): New define.
829 (md_longopts): New entry for -mips64r2 (OPTION_MIPS64R2).
830 OPTION_ASE_BASE): Increase to compensate for OPTION_MIPS64R2.
831 (md_parse_option): Handle OPTION_MIPS64R2.
832 (s_mipsset): Handle setting "mips64r2" ISA.
833 (mips_cpu_info_table): Add mips64r2.
834 (md_show_usage): Document -mips64r2 option.
835 * doc/as.texinfo: Docuemnt -mips64r2 option.
836 * doc/c-mips.texi: Likewise.
837
de1e508d
DA
8382003-09-27 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
839
840 * config/tc-hppa.c (pa_ip): Check for invalid 64-bit conditions.
841
530556a9
JT
8422003-09-26 Matt Thomas <matt@3am-software.com>
843
844 * config/tc-vax.c (md_shortopts): Fix a typo. Remove 'K'.
845 (OPTION_PIC): Define.
846 (md_longopts): Add "pic" option.
847 (md_parse_option): Change 'K' to OPTION_PIC.
848
f61e8019
AM
8492003-09-23 Alan Modra <alan@modra.org>
850
851 * config/obj-elf.c (obj_elf_change_section): Adjust for
852 _bfd_elf_get_sec_type_attr changes. Allow SHF_MERGE and SHF_STRINGS
853 to be set when defaults are not. Don't set attr from defaults if
854 old_sec.
855
ae826530
TS
8562003-09-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
857
858 * config/tc-mips.c (macro_build_ldst_constoffset): Don't silently
859 truncate values which won't fit im 32 bits.
860 (load_register): Likewise.
861 (macro): Likewise.
862
8cd5b113
AM
8632003-09-17 Dmitry Diky <diwil@mail.ru>
864
865 * config/tc-msp430.c (MAX_OP_LEN): Set to 256.
866 (msp430_operands): Remove redundant l2[16] within switch-case.
867
28d297de
AM
8682003-09-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
869
870 * configure.in: Handle arm-*-rtems* and thumb-*rtems*.
871 * configure: Regenerate.
872
256ab948
TS
8732003-09-14 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
874
875 * config/tc-mips.c (HAVE_64BIT_ADDRESS_CONSTANTS): Remove.
876 (macro_build_ldst_constoffset): Sign-extend 32-bit constants. Change
877 the function prototype.
878 (load_register): Likewise. Simplify the checks for sign-extended
879 constants.
880 (macro): Likewise. Fix code generation for 64-bit address constants
881 outside the 32-bit compatibility space. Adjust
882 macro_build_ldst_constoffset calls.
883 (s_cprestore): Adjust macro_build_ldst_constoffset call.
884
82e7541d
BW
8852003-09-11 Bob Wilson <bob.wilson@acm.org>
886
887 * config/tc-xtensa.c (insn_labels, free_insn_labels, saved_insn_labels,
888 literal_syms): New global variables.
889 (xtensa_define_label, add_target_symbol, xtensa_find_label,
890 map_over_defined_symbols, is_loop_target_label,
891 xtensa_mark_target_fragments, xtensa_move_frag_symbol,
892 xtensa_move_frag_symbols, defined_symbols, branch_targets): Delete.
893 (xtensa_begin_directive): Call md_flush_pending_output. Move symbols
894 from insn_labels to saved_insn_labels when entering a literal region.
895 (xtensa_end_directive): Call md_flush_pending_output. Restore
896 insn_labels list when leaving a literal region.
897 (xtensa_literal_position): Call xtensa_clear_insn_labels.
898 (xtensa_literal_pseudo): Add check to disallow .literal inside a
899 literal region. Move insn_labels to saved_insn_labels and then restore
900 insn_labels on exit.
901 (xg_add_branch_and_loop_targets): Replace add_target_symbol calls with
902 code to set is_loop_target or is_branch_target flag on the symbol
903 (xtensa_create_literal_symbol): Call xtensa_add_literal_sym.
904 (xtensa_add_literal_sym, xtensa_add_insn_label,
905 xtensa_clear_insn_labels): New functions.
906 (xtensa_move_labels): Remove old_frag and old_offset arguments. Add
907 loops_ok argument. Rewrite to use insn_labels list instead of
908 calling xtensa_find_label and to check the is_loop_target flag on
909 symbols when loops_ok is false.
910 (xtensa_frob_label): Remove call to xtensa_define_label. Add call
911 to either xtensa_add_literal_sym or xtensa_add_insn_label. Adjust
912 call to xtensa_move_labels. Propagate is_branch_target and
913 is_loop_target flags from symbols to frags.
914 (xtensa_flush_pending_output): Call xtensa_clear_insn_labels.
915 (md_assemble): Use xtensa_move_labels with loops_ok = FALSE when
916 aligning a loop instruction. Adjust call to xtensa_move_labels for
917 aligning entry instructions. Add call to xtensa_clear_insn_labels.
918 (xtensa_end): Remove call to xtensa_mark_target_fragments.
919 (xtensa_move_literals): Replace xtensa_move_frag_symbols call with
920 code to use new literal_syms list.
921 * config/tc-xtensa.h (xtensa_symfield_type): Add is_loop_target and
922 is_branch_target flags.
923
61846f28
BW
9242003-09-09 Bob Wilson <bob.wilson@acm.org>
925
926 * config/tc-xtensa.c (xtensa_mark_literal_pool_location): Remove
927 "move_labels" argument and corresponding call to xtensa_move_labels.
928 (md_assemble): Add a separate call to xtensa_move_labels and remove
929 argument for call to xtensa_mark_literal_pool_location.
930 (xtensa_literal_position, xtensa_switch_to_literal_fragment): Fix
931 calls to xtensa_mark_literal_pool_location.
932 (xtensa_create_local_symbol): Delete and inline the code into...
933 (xtensa_create_literal_symbol): ...here.
934 (xtensa_frob_label): Combine conditionals.
935 (expression_maybe_register, xtensa_symbol_new_hook,
936 fix_new_exp_in_seg): Use symbol_get_tc.
937
1745fcba
BW
9382003-09-09 Bob Wilson <bob.wilson@acm.org>
939
940 * config/tc-xtensa.c (xtensa_literal_pseudo): Remove code for
941 combining identical literals.
942 (expression_maybe_register): Remove call to find_lit_sym_translation.
943 (is_duplicate_expression, cache_literal, is_duplicate_literal,
944 add_lit_sym_translation, find_lit_sym_translation): Delete.
945
3fb9d77f
NC
9462003-09-07 Nick Clifton <nickc@redhat.com>
947
948 * doc/as.texinfo (Comments): Comment character for PPC is #.
949
12a99586
SC
9502003-09-06 Stephane Carrez <stcarrez@nerim.fr>
951
952 PR savannah/4358:
953 * config/tc-m68hc11.c (s_m68hc11_relax): Use 2 for size to avoid
954 overflow complain.
955
d5087907
RS
9562003-09-05 Richard Sandiford <rsandifo@redhat.com>
957
958 * config/tc-frv.c (md_pcrel_from_section): Heed TC_FORCE_RELOCATION.
959
8ad30312
NC
9602003-09-04 Nick Clifton <nickc@redhat.com>
961
962 * config/tc-v850.c (set_machine): Accept v850e1 machine number.
963 (md_pseudo_table): Add .v850e1 pseudo op.
964 (md_show_usage): Document -mv850e1 switch.
965 (md_parse_option): Accept -mv850e1 switch.
966 (md_begin): Allow TARGET_CPU to be v850e1.
967 * doc/c-v850.texi: Document -mv850e1 switch and .v850e1 pseudo op.
968 * NEWS: Mention support for v850e1.
969
3c9030c1
AM
9702003-09-04 Alan Modra <amodra@bigpond.net.au>
971
972 * config/tc-ppc.c (md_parse_option): Add PPC_OPCODE_ANY to existing
973 ppc_cpu selection rather than replacing.
974 (ppc_set_cpu): Ignore and preserve PPC_OPCODE_ANY in ppc_cpu.
975 (md_begin): When PPC_OPCODE_ANY, insert all opcodes in ppc_hash.
976
13dfd2d0
NC
9772003-09-03 Robert Millan <robertmh@gnu.org>
978
979 * configure.in: Match GNU/KFreeBSD with new kfreebsd*-gnu
980 triplet.
981 * configure: Regenerate.
982
13b2be9c
DJ
9832003-09-02 Daniel Jacobowitz <drow@mvista.com>
984
985 * configure.in: Update AC_PREREQ to 2.57. Use AC_CONFIG_FILES
986 and AC_CONFIG_COMMANDS instead of the three-argument AC_OUTPUT.
987 Specify AC_CONFIG_AUX_DIR.
988 * aclocal.m4: Regenerated with aclocal-1.7.
989 * configure: Regenerated with autoconf 2.57.
990 * Makefile.in, doc/Makefile.in: Regenerated with automake-1.7.
991
364b6d8b
JJ
9922003-08-29 Jakub Jelinek <jakub@redhat.com>
993
6749011b 994 * dw2gencfi.c (cfi_pseudo_table): Add cfi_window_save.
364b6d8b
JJ
995 (dot_cfi, output_cfi_insn): Handle DW_CFA_GNU_window_save.
996 (output_cie): Don't use DW_EH_PE_pcrel if neither DIFF_EXPR_OK
997 nor tc_cfi_emit_pcrel_expr are defined.
998 (output_fde): Use tc_cfi_emit_pcrel_expr if available and
999 DIFF_EXPR_OK is not defined.
1000 * config/tc-sparc.h (TARGET_USE_CFIPOP): Define.
1001 (tc_cfi_frame_initial_instructions, tc_regname_to_dw2regnum,
1002 tc_cfi_emit_pcrel_expr): Define.
1003 (sparc_cfi_frame_initial_instructions, sparc_regname_to_dw2regnum,
1004 sparc_cfi_emit_pcrel_expr): New prototypes.
1005 (sparc_cie_data_alignment): New decl.
1006 (DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT): Define.
1007 * config/tc-sparc.c: Include dw2gencfi.h.
1008 (sparc_cie_data_alignment): New variable.
1009 (md_begin): Initialize it.
1010 (sparc_cfi_frame_initial_instructions): New function.
1011 (sparc_regname_to_dw2regnum): Likewise.
1012 (sparc_cfi_emit_pcrel_expr): Likewise.
6749011b 1013 * doc/as.texinfo: Document .cfi_window_save.
364b6d8b
JJ
1014
1015 * config/tc-sparc.c (s_common): Cast last argument to long and
1016 change format string to shut up warning.
1017
0dee3be0
JE
10182003-08-25 Jason Eckhardt <jle@rice.edu>
1019
1020 * doc/c-i860.texi: Update text about relocatable address expansions.
1021
af858dae
JE
10222003-08-24 Jason Eckhardt <jle@rice.edu>
1023
1024 * config/tc-i860.c (md_assemble): Use isrc2 from the original
1025 instruction when expanding E_ADDR.
1026
3673a93e
NC
10272003-08-21 Nick Clifton <nickc@redhat.com>
1028
1029 * po/tr.po: Updated Turkish translation.
1030
55257f50
AM
10312003-08-20 Alan Modra <amodra@bigpond.net.au>
1032
1033 * config/tc-ppc.c (md_parse_option): Add PPC_OPCODE_ISEL and
1034 PPC_OPCODE_RFMCI to -m440 selected ppc_cpu.
1035
f02232aa
NC
10362003-08-19 Nick Clifton <nickc@redhat.com>
1037
1038 * config/tc-arm.c (cp_address_required_here): Add code to handle
1039 unindexed addressing mode.
1040
3d8aea2f
AM
10412003-08-19 Alan Modra <amodra@bigpond.net.au>
1042
1043 * config/tc-ppc.c (md_parse_option): Handle -m440.
1044 (md_show_usage): Add -m440.
1045 (md_apply_fix3): Warning fix.
1046 * doc/c-ppc.texi: Document -m440.
1047
d6415f6c
AM
10482003-08-16 Benjamin Kalytta <bkausbk@web.de>
1049
1050 * read.c (s_print): Check for NULL.
1051
1a317472
AM
10522003-08-16 Alan Modra <amodra@bigpond.net.au>
1053
1054 * write.c (fixup_segment): When handling an expression involving
1055 the subtraction of two symbols in the same segment, don't clear
1056 fx_pcrel except for TC_M68K.
1057
da64f3bf
AM
10582003-08-14 Alan Modra <amodra@bigpond.net.au>
1059
f86103b7
AM
1060 * config/tc-i386.h: Remove BFD_ASSEMBLER tests and all !BFD_ASSEMBLER
1061 code.
1062 * config/tc-i386.c: Likewise.
1063 (RELOC_ENUM): Don't define. Replace throughout with enum.
1064
c8089be7 1065 * dep-in.sed: Remove libintl.h. Ignore include/fopen-*.h
da64f3bf
AM
1066 * Makefile.am (POTFILES.in): Unset LC_COLLATE.
1067 Run "make dep-am".
1068 * Makefile.in: Regenerate.
1069
c04898f8
AS
10702003-08-08 Andreas Schwab <schwab@suse.de>
1071
1072 * config/tc-m68k.h (TARGET_USE_CFIPOP)
1073 (DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT)
1074 (tc_regname_to_dw2regnum, tc_cfi_frame_initial_instructions):
1075 Define.
1076 * config/tc-m68k.c: Include "dw2gencfi.h".
1077 (tc_m68k_regname_to_dw2regnum)
1078 (tc_m68k_frame_initial_instructions): New functions.
1079
3b260895
NC
10802003-08-08 Dmitry Diky <diwil@mail.ru>
1081
1082 * config/tc-msp430.c: Add xW42 and xE42 parts. Sort MPU list
1083 according to gcc order.
1084
14d3f364
JE
10852003-08-07 Jason Eckhardt <jle@rice.edu>
1086
c8089be7
AM
1087 * config/tc-i860.c (i860_check_label): New function.
1088 * config/tc-i860.h (i860_check_label): New prototype.
1089 (tc_check_label): Define macro as i860_check_label.
14d3f364 1090
820aff55
JE
10912003-08-06 Jason Eckhardt <jle@rice.edu>
1092
c8089be7
AM
1093 * config/tc-i860.c (s_align_wrapper): New function and prototype.
1094 (md_pseudo_table): Change s_align_bytes to s_align_wrapper, remove
1095 surrounding OBJ_ELF ifdef, and re-format slightly.
1096 * doc/c-i860.texi: Document the special .align syntax available
1097 in Intel mode.
820aff55 1098
e15f6d30
JE
10992003-08-06 Jason Eckhardt <jle@rice.edu>
1100
1101 * config/tc-i860.c (i860_handle_align): New function.
1102 * config/tc-i860.h (HANDLE_ALIGN): Define macro.
1103 (MAX_MEM_FOR_RS_ALIGN_CODE): Define macro.
1104
0acc96e1
JE
11052003-08-06 Jason Eckhardt <jle@rice.edu>
1106
1107 * config/tc-i860.c (i860_process_insn): Check that instructions
1108 with their dual-bit set are 8-byte aligned.
1109
9e7d479d
NC
11102003-08-06 Nick Clifton <nickc@redhat.com>
1111
1112 * po/fr.po: Updated French translation.
1113
07c7854e
JE
11142003-08-05 Jason Eckhardt <jle@rice.edu>
1115
c8089be7 1116 * config/tc-i860.c (i860_process_insn): Don't handle dual-bit
07c7854e
JE
1117 setting during flop argument parsing. Instead, do it after
1118 instruction is fully parsed.
1119
5eb0723a
JE
11202003-08-05 Jason Eckhardt <jle@rice.edu>
1121
c8089be7 1122 * doc/c-i860.texi: Mention that .dual, .enddual, and .atmp
5eb0723a
JE
1123 directives are only available in Intel syntax mode.
1124
5ea0549d
JE
11252003-08-05 Jason Eckhardt <jle@rice.edu>
1126
c8089be7
AM
1127 * config/tc-i860.c (s_dual): Accept .dual directive only in
1128 the Intel syntax mode.
1129 (s_enddual): Likewise for .enddual.
1130 (s_atmp): Likewise for .atmp.
5ea0549d 1131
a4622f40
AM
11322003-08-04 Alan Modra <amodra@bigpond.net.au>
1133
1134 * config/tc-i386.c (i386_intel_operand): Always call i386_index_check
1135 for memory operands. Pass the full operand_string to i386_index_check.
1136
87505968
JE
11372003-08-01 Jason Eckhardt <jle@rice.edu>
1138
c8089be7
AM
1139 * config/tc-i860.c: Remove SYNTAX_SVR4 macro and occurrences.
1140 (target_intel_syntax): Declare variable.
1141 (OPTION_INTEL_SYNTAX): Declare macro.
1142 (md_longopts): Add option -mintel-syntax.
1143 (md_parse_option): Set target_intel_syntax.
1144 (md_show_usage): Add -mintel-syntax usage.
1145 (md_begin): Set reg_prefix based on target_intel_syntax.
1146 (i860_process_insn): Skip register prefix only if there is one.
1147 Parse relocatable expressions in either Intel or AT&T syntax based
1148 on target_intel_syntax instead of the SYNTAX_SVR4 macro.
1149 * doc/c-i860.texi: Document -mintel-syntax option and give blurb
1150 about the differences in syntax.
87505968 1151
20977673
AM
11522003-08-01 Dmitry Diky <diwil@mail.ru>
1153
1154 * config/tc-msp430.c (msp430_srcoperand): Extend 'push' bug workaround
1155 to all arches.
1156
26c9b704
JR
11572003-07-30 J"orn Rennecke <joern.rennecke@superh.com>
1158
1159 * config/tc-sh.c (md_assemble): For branches, check & update
1160 valid_arch here.
1161
7734b6e9
JE
11622003-07-30 Jason Eckhardt <jle@rice.edu>
1163
1164 * config/tc-i860.c: Convert to ISO C90.
1165
2d150871
RO
11662003-07-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1167
1168 * read.c (s_space): Revert 2003-07-28 change.
1169
92191b29
AM
11702003-07-30 Alan Modra <amodra@bigpond.net.au>
1171
1172 * config/obj-elf.c (obj_elf_change_section): Allow "x" for .note*.
1173
c861c80c
AM
11742003-07-29 Alan Modra <amodra@bigpond.net.au>
1175
1176 * config/tc-sh.c (tc_gen_reloc): Test for R_SH_IND12W only when ELF.
1177
77a6138a
AM
11782003-07-29 Jakub Jelinek <jakub@redhat.com>
1179
1180 * config/tc-ppc.c (md_apply_fix3): Fix check for lq insns.
1181
34f70875
L
11822003-07-28 H.J. Lu <hongjiu.lu@intel.com>
1183
1184 * config/obj-elf.c (obj_elf_section_type): Also accept "note".
1185
8d548edb
RO
11862003-07-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1187
1188 * read.c (s_space): Don't warn about .space 0.
1189
dcd410fe
RO
11902003-07-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1191
1192 * config/tc-mips.c (mips_flag_pdr): Define.
1193 (md_begin) [OBJ_ELF]: Use it to control .pdr creation.
1194 (s_mips_end) [OBJ_ELF]: Likewise.
1195 (md_longopts) [OBJ_ELF]: Define OPTION_PDR, OPTION_NO_PDR.
1196 (md_parse_option) [OBJ_ELF]: Handle them.
1197 (md_show_usage) [OBJ_ELF]: Document -mpdr, -mno-pdr.
1198
1199 * doc/c-mips.texi (MIPS Opts): Document -mpdr, -mno-pdr.
1200 * doc/as.texinfo (Overview) [MIPS]: Likewise.
1201
3cddba1e
L
12022003-07-25 H.J. Lu <hongjiu.lu@intel.com>
1203
1204 * config/obj-elf.c (obj_elf_change_section): Update
1205 elf_section_type and elf_section_flags only when they are
1206 specified.
1207
8e8c182c
L
12082003-07-25 H.J. Lu <hongjiu.lu@intel.com>
1209
1210 * config/obj-elf.c (obj_elf_change_section): Always set section
1211 type and flags.
1212
2f89ff8d
L
12132003-07-25 H.J. Lu <hongjiu.lu@intel.com>
1214
1215 * config/obj-elf.c (special_sections): Removed.
1216 (obj_elf_change_section): Call _bfd_elf_get_sec_type_attr. Set
1217 elf_section_type and elf_section_flags.
1218 (elf_frob_file): Set SHT_GROUP.
1219
1220 * config/obj-elf.h (obj_sec_set_private_data): New.
1221
1222 * config/tc-alpha.h (ELF_TC_SPECIAL_SECTIONS): Removed.
1223 * config/tc-ia64.h: Likewise.
1224 * config/tc-m32r.h: Likewise.
1225 * config/tc-m68hc11.h: Likewise.
1226 * config/tc-mcore.h: Likewise.
1227 * config/tc-mips.h: Likewise.
1228 * config/tc-ppc.h: Likewise.
1229 * config/tc-sh64.h: Likewise.
1230 * config/tc-v850.h: Likewise.
1231 * config/tc-xtensa.h: Likewise.
1232
1233 * config/tc-v850.h (SHF_V850_GPREL): Removed.
1234 (SHF_V850_EPREL): Likewise.
1235 (SHF_V850_R0REL): Likewise.
1236
1237 * subsegs.c (subseg_get): Call obj_sec_set_private_data if it
1238 is defined.
1239
a7f10e7a
SC
12402003-07-24 Stephane Carrez <stcarrez@nerim.fr>
1241
1242 * config/tc-m68hc11.h (DWARF2_ADDR_SIZE): Use 32-bit address for
1243 debugging symbols so that we handle page memory correctly.
1244
834d807b
NC
12452003-07-24 Nick Clifton <nickc@redhat.com>
1246
1247 * po/fr.po: Updated French translation.
1248
8266886e
DJ
12492003-07-23 Daniel Jacobowitz <drow@mvista.com>
1250
1251 * config/tc-arm.c (arm_archs): Add iwmmxt.
1252
b41b1f95 12532003-07-22 H.J. Lu <hongjiu.lu@intel.com>
c8089be7 1254
b41b1f95
L
1255 * read.c (do_parse_cons_expression): Mark nbytes unused to
1256 silence gcc.
1257
0c0b9be0
AO
12582003-07-22 Alexandre Oliva <aoliva@redhat.com>
1259
ba18dd6f
AO
1260 * config/tc-h8300.c (get_specific): No PCREL8 encoding for bsr/bc
1261 or bsr/bs.
1262
0c0b9be0
AO
1263 * config/tc-h8300.c (md_assemble): Make sure characters after
1264 slash and dot are lower-case.
1265
6c37ac4d
NC
12662003-07-17 Nick Clifton <nickc@redhat.com>
1267
1268 * po/es.po: New Spanish translation.
1269 * po/tr.po: New Turkish translation.
1270 * po/opcodes.pot: Regenerate.
1271
c5c0a210
AM
12722003-07-16 Alan Modra <amodra@bigpond.net.au>
1273
1274 * dwarf2dbg.c (get_frag_fix): Revert 2001-11-15 change.
1275 (generic_dwarf2_emit_offset): Don't define function when
1276 TC__DWARF2_EMIT_OFFSET is defined.
1277
5a7ea749
RS
12782003-07-15 Richard Sandiford <rsandifo@redhat.com>
1279
1280 * config/tc-mips.c (hilo_interlocks): True for CPU_RM7000.
1281 (mips_cpu_info_table): Add rm7000 and rm9000 entries.
963ac363 1282 * doc/c-mips.texi: Document -march=rm9000.
5a7ea749 1283
ec178e1b
AM
12842003-07-15 Alan Modra <amodra@bigpond.net.au>
1285
1286 * config/tc-v850.c (md_assemble): When no reloc, create pcrel fixups
1287 only for V850_OPERAND_DISP operands.
1288
e85ca5bb
AM
12892003-07-15 Alan Modra <amodra@bigpond.net.au>
1290
1291 * frags.c (frag_more): Move segment checks to..
1292 (frag_alloc_check): ..here. New function.
1293 (frag_append_1_char): Call frag_alloc_check.
1294
76bff705
NC
12952003-07-14 Nick Clifton <nickc@redhat.com>
1296
1297 * po/tr.po: Update with latest version.
1298 * po/POTFILES.in: Regenerate.
1299 * po/gas.pot: Regenerate.
1300 * configure: Regenerate.
1301
278ed128
NC
13022003-07-14 Nick Clifton <nickc@redhat.com>
1303
1304 * config/tc-ip2k.c: Remove inclusion of <ctype.h>
1305 * config/tc-tic4x.c: Replace inclusion of <ctype.h> with
1306 "safe-ctype.h" and update use of macros.
1307 * Makefile.am: Update dependencies.
1308 * Makefile.in: Regenerate.
1309
fce00800
AM
13102003-07-11 Alan Modra <amodra@bigpond.net.au>
1311
1312 * po/gas.pot: Regenerate.
1313
75e21f08
JJ
13142003-07-10 Jakub Jelinek <jakub@redhat.com>
1315
1316 * config/tc-ppc.h (DWARF2_LINE_MIN_INSN_LENGTH): Define always.
1317 (TARGET_USE_CFIPOP, tc_cfi_frame_initial_instructions,
1318 tc_regname_to_dw2regnum, DWARF2_DEFAULT_RETURN_COLUMN,
1319 DWARF2_CIE_DATA_ALIGNMENT): Define.
1320 (ppc_cfi_frame_initial_instructions, tc_ppc_regname_to_dw2regnum): New
1321 prototypes.
1322 (ppc_cie_data_alignment): Declare.
1323 * config/tc-ppc.c: Include dw2gencfi.h.
1324 (ppc_cie_data_alignment): Define.
1325 (md_begin): Initialize ppc_cie_data_alignment.
1326 (ppc_cfi_frame_initial_instructions, tc_ppc_regname_to_dw2regnum): New
1327 functions.
1328 * config/tc-s390.h (DWARF2_LINE_MIN_INSN_LENGTH): Define always.
1329 (TARGET_USE_CFIPOP, tc_cfi_frame_initial_instructions,
1330 tc_regname_to_dw2regnum, DWARF2_DEFAULT_RETURN_COLUMN,
1331 DWARF2_CIE_DATA_ALIGNMENT): Define.
1332 (s390_cfi_frame_initial_instructions, tc_s390_regname_to_dw2regnum):
1333 New prototypes.
1334 (s390_cie_data_alignment): Declare.
1335 * config/tc-s390.c: Include dw2gencfi.h.
1336 (s390_cie_data_alignment): Define.
1337 (md_begin): Initialize s390_cie_data_alignment.
1338 (s390_cfi_frame_initial_instructions, tc_s390_regname_to_dw2regnum):
1339 New functions.
1340
2ce28d43
AO
13412003-07-10 Alexandre Oliva <aoliva@redhat.com>
1342
1343 2002-12-12 Alexandre Oliva <aoliva@redhat.com>
1344 * config/tc-mn10300.h (EXTERN_FORCE_RELOC): Don't define to zero.
1345 2001-05-09 Alexandre Oliva <aoliva@redhat.com>
1346 * configure.in (am33_2.0, mn10300-*-linux*): Added.
1347 * configure: Rebuilt.
1348 * config/tc-mn10300.h (TARGET_FORMAT) [TE_LINUX]: Define to
1349 elf32-am33lin.
1350 * config/tc-mn10300.c (md_begin) [TE_LINUX]: Choose AM33/2.0
1351 by default.
1352
bf6f0d0c
AO
13532003-07-09 Alexandre Oliva <aoliva@redhat.com>
1354
1355 2003-02-25 Alexandre Oliva <aoliva@redhat.com>
1356 * config/tc-mn10300.c (mn10300_check_fixup): Set GOT_PCREL type
1357 for subtracts from GLOBAL_OFFSET_TABLE that could not be
1358 simplified.
1359 2002-07-18 Alexandre Oliva <aoliva@redhat.com>
1360 * config/tc-mn10300.c (mn10300_check_fixup): Accept subtracts that
1361 could not be simplified.
1362 (tc_gen_reloc): Turn an absolute fx_subsy into part of fx_offset.
1363 2001-11-04 Alexandre Oliva <aoliva@redhat.com>
1364 * config/tc-mn10300.h (TC_RELOC_RTSYM_LOC_FIXUP): Don't adjust
1365 BDF_RELOC_MN10300_GOT32.
1366 * config/tc-mn10300.c (mn10300_fix_adjustable): If
1367 TC_RELOC_RTSYM_LOC_FIXUP doesn't hold, it's not adjustable.
1368 2001-05-09 Alexandre Oliva <aoliva@redhat.com>
1369 * config/tc-mn10300.c (mn10300_parse_name): Don't return a
1370 symbol if we know its value.
1371 2001-05-09 Alexandre Oliva <aoliva@redhat.com>
1372 * config/tc-mn10300.h (GLOBAL_OFFSET_TABLE_NAME): Remove
1373 duplicate underscore prefix.
1374 2001-05-09 Alexandre Oliva <aoliva@redhat.com>
1375 * config/tc-mn10300.c (mn10300_parse_name): Store relocation
1376 type in X_md, not X_add_number. Zero X_add_number.
1377 (mn10300_check_fixup): Extract relocation type from X_md.
1378 * config/tc-mn10300.h: Update comment.
1379 2001-04-14 Alexandre Oliva <aoliva@redhat.com>
1380 * config/tc-mn10300.h (O_GOTOFF, O_PLT, O_GOT): Replace with...
1381 (O_PIC_reloc): this.
1382 * config/tc-mn10300.c (mn10300_PIC_related_p): Use it.
1383 (mn10300_check_fixup): Likewise.
1384 (mn10300_parse_name): Set X_add_number to relocation type.
1385 * config/tc-mn10300.h (DIFF_EXPR_OK, GLOBAL_OFFSET_TABLE_NAME,
1386 TC_RELOC_RTSYM_LOC_FIXUP, md_parse_name, TC_CONS_FIX_NEW,
1387 O_GOTOFF, O_PLT, O_GOT): Define.
1388 * config/tc-mn10300.c (mn10300_PIC_related_p): New fn.
1389 (mn10300_check_fixup): New fn.
1390 (md_assemble): Call it. Check for PIC-related relocs.
1391 (mn10300_cons_fix_new): Likewise. New fn.
1392 (mn10300_end_of_match): New fn.
1393 (mn10300_md_parse_name_cont): New fn.
1394
e7b71525
AO
13952003-07-09 Alexandre Oliva <aoliva@redhat.com>
1396
1397 2000-05-25 Alexandre Oliva <aoliva@cygnus.com>
1398 * config/tc-mn10300.c (mn10300_insert_operand): Negate negative
1399 accumulator's shift.
1400 2000-05-08 Alexandre Oliva <aoliva@cygnus.com>
1401 * config/tc-mn10300.c (md_relax_table, md_convert_frag,
1402 md_assemble, md_estimate_size_before_relax): Handle fbCC.
1403 2000-04-20 Alexandre Oliva <aoliva@cygnus.com>
1404 * config/tc-mn10300.c (HAVE_AM33): Redefine in terms of
1405 HAVE_AM33_2.
1406 2000-04-03 Alexandre Oliva <aoliva@cygnus.com>
1407 * config/tc-mn10300.c (md_pseudo_table): Use AM33_2 constant.
1408 (HAVE_AM33): Match AM33_2 too.
1409 (HAVE_AM33_2): New macro.
1410 (md_assemble): Use it. Match 2.0 registers only if HAVE_AM33_2.
1411 2000-04-01 Alexandre Oliva <aoliva@cygnus.com>
1412 * config/tc-mn10300.c (md_pseudo_table): Added `am33_2'.
1413 (float_registers, double_registers): New variables.
1414 (float_register_name, double_register_name): New functions.
1415 (md_assemble): Recognize FP registers. Implement FMT_D3.
1416 (mn10300_insert_operand): Support FP registers.
1417
115695a8
CD
14182003-07-08 Chris Demetriou <cgd@broadcom.com>
1419
1420 * config/tc-mips.c (mips_validate_fix): Do not warn about branch
1421 target being a global symbol if not compiling SVR4 PIC code.
1422
9f7598c1
NC
14232003-07-07 Nick Clifton <nickc@redhat.com>
1424
1425 * doc/c-m32r.texi (M32R-Directives): New node. Document the
1426 .high, .shigh and .low directives.
1427
1b680e4f
RS
14282003-07-07 Richard Sandiford <rsandifo@redhat.com>
1429
1430 * config/tc-h8300.c (h8300sxnmode): Add prototype.
1431 (DSYMMODE): Remove.
1432 (parse_exp): Replace expressionS argument with a h8_op. Parse the
1433 operand size as well.
1434 (skip_colonthing): Remove unused expression argument. Tighten checks
1435 for 2-digit sizes.
1436 (colonmod24): Remove.
1437 (get_mova_operands): Combine calls to parse_exp and skip_colonthing.
1438 (get_operand): Likewise. Use the standard code to read the size of
1439 pc-relative operands.
1440 (fix_operand_size): Include the size-guessing logic that used to be
1441 in colonmod24 and get_operand. Don't apply dd:2 optimizations to
1442 offsets with a symbolic component.
1443
0cea6190
NC
14442003-07-04 Nick Clifton <nickc@redhat.com>
1445
1446 * config/tc-i386.c (tc_x86_regname_to_dw2regnum): Use ARRAY_SIZE
1447 macro to compute size of selected register name array.
1448
933fbc29
MS
14492003-07-01 Martin Schwidefsky <schwidefsky@de.ibm.com>
1450
1451 * config/tc-s390.c (md_parse_option): Add cpu type z990.
1452 (md_begin): Add minimal cpu type logic for instructions with different
1453 binary format depending on the cpu.
1454 (md_assemble): Remove check for minimal cpu.
1455 (s390_insert_operand): Add support for long displacements.
1456 (md_gather_operands): Likewise.
1457 (tc_s390_fix_adjustable): Likewise.
1458 (tc_s390_force_relocation): Likewise.
1459 (md_apply_fix3): Likewise.
1460
1a2c1fad
CD
14612003-06-30 Chris Demetriou <cgd@broadcom.com>
1462
1463 * config/tc-mips.c (s_mipsset): Implement -march= handling
1464 differently.
1465
17a2f251
TS
14662003-06-30 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1467
1468 * config/tc-mips.c: Convert to ISO C90 prototypes. Remove unnecessary
1469 prototypes and casts. Replace PTR with void *. Reformat.
1470 * config/tc-mips.h: Likewise.
1471
6344efa4
AM
14722003-06-30 Alan Modra <amodra@bigpond.net.au>
1473
1474 * config/tc-ia64.c (note_register_values): Warning fix.
1475 * config/tc-mips.c (append_insn): Likewise.
1476
fef14a42
TS
14772003-06-29 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1478
1479 * config/tc-mips.c (mips_set_options,mips_opts): Support for
1480 .set arch=FOO.
1481 (file_mips_arch): Rename mips_arch.
1482 (mips_arch_info,mips_tune_info): Remove.
1483 (hilo_interlocks,gpr_interlocks,cop_interlocks): Use mips_opts.arch.
1484 (mips_cpu_info_from_arch): New function.
1485 (md_begin): Use file_mips_arch.
1486 (macro_build,macro,mips_ip): Use mips_opts.arch.
1487 (mips_set_architecture): Init file_mips_arch and mips_opts.arch.
1488 (mips_after_parse_args): Remove mips_arch_info and mips_tune_info.
1489 Use file_mips_arch.
1490 (s_mipsset): Support for .set arch=FOO.
1491 (mips_cpu_info_table): Fix typo.
1492
02fc3089
L
14932003-06-26 H.J. Lu <hongjiu.lu@intel.com>
1494
1495 * config/tc-i386.c (md_assemble): Declare "exp" before "if".
1496
2d0d09ca
RS
14972003-06-25 Richard Sandiford <rsandifo@redhat.com>
1498
1499 * config/tc-h8300.c (get_specific): Allow ':8' to be used for
1500 unsigned 8-bit operands.
1501
685736be
NC
15022003-06-24 Nick Clifton <nickc@redhat.com>
1503
1504 * read.c (s_comm): Change error message to assume an unsigned size
1505 has been passed to .comm.
1506 * config/tc-sparc.c (s_common): Likewise.
1507 * write.c (write_contents): Replace 'unsigned long' with
1508 'addressT' and 'long' with offsetT in order to allow computations
1509 with very large values to work for 64-bit addressed targets.
1510 (relax_and_size_all_segments): Likewise.
1511 (relax_frag): Likewise.
1512 (relax_segment): Likewise.
e85ca5bb 1513
e98d298c
MM
15142003-06-23 Mark Mitchell <mark@codesourcery.com>
1515
1516 * config/tc-ppc.c (ppc_cleanup): Use bytes to count APUinfo slots.
1517
ca164297
L
15182003-06-23 H.J. Lu <hongjiu.lu@intel.com>
1519
1520 * gas/config/tc-i386.c (md_assemble): Support Intel Precott New
1521 Instructions.
1522
1523 * gas/config/tc-i386.h (CpuPNI): New.
1524 (CpuUnknownFlags): Add CpuPNI.
1525
041340ad
JW
15262003-06-23 <davidm@hpl.hp.com>
1527
1528 * config/tc-ia64.c (pseudo_func): Add ABI constants for linux,
1529 freebsd, openvms, and nsk (non-stop kernel).
1530
b7599f01
JT
15312003-06-22 Jason Thorpe <thorpej@wasabisystems.com>
1532
1533 * config/tc-ns32k.c (md_begin): Initialize inst_hash_table after
1534 all locals have been declared.
1535
b7c7d6c1
TS
15362003-06-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1537
1538 * config/tc-mips.c (ADDRESS_ADD_INSN,ADDRESS_ADDI_INSN): Remove
1539 special handling for n32 ABI.
1540 (macro): Likewise.
1541
815ddb50
TS
15422003-06-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1543
1544 * config/tc-mips.c (s_cpsetup,s_cprestore,s_cpreturn): Revert
1545 2003-06-11 change.
1546
f590b86e
CG
15472003-06-19 Christian Groessler <chris@groessler.org>
1548
1549 * config/tc-z8k.c (parse_reg): Invalid registers generate an error
1550 now, not only a warning. Add some more checks to detect invalid
1551 registers.
1552 (get_operand): For CLASS_IR remember register size in mode struct.
1553 (get_specific): Handle new CLASS_IRO type. Add register size
1554 checks for CLASS_IR and CLASS_IRO.
e85ca5bb 1555 (md_apply_fix3): Fix undefined usage of buf.
f590b86e 1556
931e13a6
AM
15572003-06-19 Alan Modra <amodra@bigpond.net.au>
1558
1559 * config/tc-ppc.c (ppc_csect): Pass alignment to ppc_change_csect.
1560 (ppc_change_csect): Add align param. Align frag at start of csect.
1561 (ppc_section, ppc_named_section): Adjust ppc_change_csect calls.
1562 (ppc_frob_section): Align vma.
1563
9393cb0d
JJ
15642003-06-18 Jakub Jelinek <jakub@redhat.com>
1565
1566 * dw2gencfi.c (EH_FRAME_ALIGNMENT): Define if not defined.
1567 (output_cie): Don't pad.
1568 (output_fde): Add align argument. Pad to align if not 0.
1569 (cfi_finish): Set .eh_frame alignment to EH_FRAME_ALIGNMENT.
1570 Pad just last FDE to EH_FRAME_ALIGNMENT.
1571
df9a398f
MS
15722003-06-18 Martin Schwidefsky <schwidefsky@de.ibm.com>
1573
1574 * config/tc-s390.c (init_default_arch): Make current_mode_mask
1575 dependent on s390_arch_size and current_cpu dependent on
1576 current_mode_mask.
1577
2fe04c57
NC
15782003-06-18 Svein E. Seldal <Svein.Seldal@solidas.com>
1579
1580 * configure.in: Add c4x as an architecture variant to tic4x.
1581 * configure: Regenerate.
1582 * Makefile.in: Regenerate.
1583 * doc/Makefile.in: Regenerate.
1584
9f2b53d7
AM
15852003-06-18 Alan Modra <amodra@bigpond.net.au>
1586
1587 * config/tc-ppc.c (ppc_elf_suffix): Don't remove symbols other than
1588 ".TOC." from PPC64_TOC relocs.
1589
ba0b2174
AM
15902003-06-17 Alan Modra <amodra@bigpond.net.au>
1591
1592 * config/tc-ppc.c (md_apply_fix3): Allow BRTAKEN, BRNTAKEN relocs.
1593
f899b4b8
TS
15942003-06-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1595
1596 * config/tc-mips.c (ADDRESS_ADD_INSN,ADDRESS_ADDI_INSN,
1597 ADDRESS_LOAD_INSN,ADDRESS_STORE_INSN): New macros.
1598 (macro_build_ldst_constoffset,load_address,macro,s_cpsetup,
1599 s_cprestore,s_cpadd): Use them.
1600
399f703e
HPN
16012003-06-16 Hans-Peter Nilsson <hp@axis.com>
1602
1603 * configure.in: Add specific case for cris-*-linux-gnu* with
1604 em=linux.
1605 * configure: Regenerate.
1606 * config/tc-cris.c (DEFAULT_CRIS_AXIS_LINUX_GNU): New macro, TRUE
1607 if TE_LINUX defined, else FALSE.
1608 (bfd_boolean demand_register_prefix): Set default from
1609 DEFAULT_CRIS_AXIS_LINUX_GNU.
1610 (symbols_have_leading_underscore): Similar.
1611 * config/tc-cris.h (LOCAL_LABELS_DOLLAR): Define to 1.
1612
39c2da32
RE
16132003-06-13 Richard Earnshaw <rearnsha@arm.com>
1614
1615 * tc-arm.c (FPU_DEFAULT, case TE_LINUX): Default to FPU_ARCH_FPA.
1616 (FPU_DEFAULT, case TE_NetBSD): Default to FPU_ARCH_VFP for ELF,
1617 FPU_ARCH_FPA for AOUT.
1618 (md_begin): Don't try to guess the floating point architecture from
1619 the CPU if the OS ABI (Linux, NetBSD) mandates a particular form.
1620
a06a29f2
NC
16212003-06-13 Robert Millan <zeratul2@wanadoo.es>
1622
1623 * configure.in: Add i386-netbsd-gnu target.
1624 * configure: Regenerate.
1625
d88ef7a6
TT
16262003-06-12 Tom Tromey <tromey@redhat.com>
1627
1628 * doc/as.texinfo (Comm): Added @node. Moved before CFI
1629 directives node.
1630
34ce925e
RS
16312003-06-12 Richard Sandiford <rsandifo@redhat.com>
1632
1633 * config/tc-mips.c (append_insn): In a compound relocation, take the
1634 field width from the final (outermost) operator.
1635
cdfbf930
RH
16362003-06-11 Richard Henderson <rth@redhat.com>
1637
1638 * dw2gencfi.c (struct cfi_escape_data): New.
1639 (cfi_add_CFA_nop): Remove.
1640 (CFI_escape, dot_cfi_escape): New.
1641 (dot_cfi): Remove nop.
1642 (cfi_pseudo_table): Remove nop; add escape.
1643 (output_cfi_insn): Likewise.
1644 (select_cie_for_fde): Stop on escape.
1645 * dw2gencfi.h (cfi_add_CFA_nop): Remove.
1646 * read.c, read.h (do_parse_cons_expression): New.
1647 * doc/as.texinfo (.cfi_escape): New.
1648
8c1a34cd
TS
16492003-06-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1650
1651 * config/tc-mips.c (s_cpsetup): Use mips_frame_reg instead of SP.
1652 (s_cprestore): Likewise.
1653 (s_cpreturn): Likewise.
1654
4b0cff4e
TS
16552003-06-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1656
1657 * config/tc-mips.c (tc_gen_reloc): Initialize retval amd reloc
1658 with zeros.
1659
a7ebbfdf
TS
16602003-06-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1661
1662 * config/tc-mips.c (md_pcrel_from): Return actual pcrel address.
1663 (md_apply_fix3): Ignore non-special relocations. Remove superfluous
1664 exceptions from size assert. Remove most of the addend fixup
1665 specialcasing. Remove value, use valP directly. simplify fx_addnumber
1666 handling. Remove zero addend specialcases.
1667 (tc_gen_reloc): Use appropriate value for reloc2 addend. Remove
1668 the addend fixup specialcase.
1669 * config/tc-mips.h (MD_APPLY_SYM_VALUE): Define as 0.
1670
d25d759d
TS
16712003-06-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1672
1673 * write.c (write_relocs): Use xcalloc. Fix relocs initialization
1674 in the RELOC_EXPANSION_POSSIBLE case.
1675
9d83078b
AM
16762003-06-11 Alan Modra <amodra@bigpond.net.au>
1677
1678 * config/tc-i960.c (line_comment_chars): Add '#'.
1679 * config/tc-mn10200.c (tc_gen_reloc): Don't ignore fx_subsy.
1680
3b443373
L
16812003-06-11 H.J. Lu <hongjiu.lu@intel.com>
1682
1683 * po/Make-in (DESTDIR): New.
1684 (install-data-yes): Support $(DESTDIR).
1685 (uninstall): Likewise.
1686
795bb480
AM
16872003-06-11 Alan Modra <amodra@bigpond.net.au>
1688
1689 * Makefile.am: Run "make dep-am".
1690 * Makefile.in: Regenerate.
1691 * po/POTFILES.in: Regenerate.
1692
b11dcf4e
DE
16932003-06-10 Doug Evans <dje@sebabeach.org>
1694
1695 * cgen.c (gas_cgen_finish_insn): CGEN_INSN_RELAX renamed to
1696 CGEN_INSN_RELAXED.
1697 * config/tc-fr30.c (md_estimate_size_before_relax): Ditto.
1698 * config/tc-m32r.c (md_estimate_size_before_relax): Ditto.
1699 * config/tc-openrisc.c (md_estimate_size_before_relax): Ditto.
1700
adadcc0c
AM
17012003-06-10 Alan Modra <amodra@bigpond.net.au>
1702 Gary Hade <garyhade@us.ibm.com>
1703
1704 * config/tc-ppc.c (md_assemble): Handle PPC_OPERAND_DQ.
1705 (md_apply_fix3): Special case lq insn.
1706
0613284f
RS
17072003-06-10 Richard Sandiford <rsandifo@redhat.com>
1708
1709 * config/tc-h8300.c (get_rtsl_operands): Accept unbracketed register
1710 lists. Allow single-register ranges.
1711
f4984206
RS
17122003-06-10 Richard Sandiford <rsandifo@redhat.com>
1713
1714 * config/tc-h8300.c (h8300sxnmode): New.
7134554a 1715 (md_pseudo_table): Add .h8300sxn entry.
f4984206 1716
12b55ccc
L
17172003-06-09 H.J. Lu <hongjiu.lu@intel.com>
1718
1719 * NEWS: Updated for the new -n option for the i386 assembler.
1720
1721 * config/tc-i386.c (optimize_align_code): New.
1722 (md_shortopts): Add 'n'.
1723 (md_parse_option): Handle 'n'.
1724 (md_show_usage): Add '-n'.
1725
1726 * config/tc-i386.h (optimize_align_code): Declared.
1727 (md_do_align): Optimize code alignment only if optimize_align_code
1728 is not 0.
1729
1730 * doc/as.texinfo: Add the new -n option.
1731
1732 * doc/c-i386.texi: Document the new -n option.
1733
fa87b337
RH
17342003-06-07 Richard Henderson <rth@redhat.com>
1735
17076204
RH
1736 * doc/as.texinfo: Document .cfi_rel_offset.
1737
fa87b337
RH
1738 * dw2gencfi.c (struct cfa_save_data, cfa_save_stack): New.
1739 (cfi_add_CFA_offset): Detect invalid offsets.
1740 (cfi_add_CFA_remember_state): Save cur_cfa_offset.
1741 (cfi_add_CFA_restore_state): Restore it.
1742 (CFI_rel_offset): New.
1743 (cfi_pseudo_table): Add it.
1744 (dot_cfi): Handle it.
1745
52628315
L
17462003-06-07 H.J. Lu <hongjiu.lu@intel.com>
1747
1748 * app.c (do_scrub_chars): Add states 14 and 15 to handle
1749 predicate for ia64.
1750
d4ea8842
MS
17512003-06-05 Michael Snyder <msnyder@redhat.com>
1752
1753 * config/tc-h8sx.c (get_specific): Distinguish h8h from h8s ops.
1754 (build_bytes): Ditto.
1755
17562003-06-05 Richard Sandiford <rsandifo@redhat.com>
1757
1758 * config/tc-h8sx.c (DMODE): Remove.
1759 (colonmod24): Don't choose a default if the operand is a 16-bit
1760 constant integer.
1761 (fix_operand_size): New function.
1762 (md_assemble): Use it to choose between @(d:2, ERn) and @(d:16,ERn).
1763 Adjust @(d:2,ERn) operands before choosing the specific opcodes.
1764
2be24b54
ML
17652003-06-05 Michal Ludvig <mludvig@suse.cz>
1766
1767 * dw2gencfi.c (cfi_add_CFA_insn, cfi_add_CFA_insn_reg)
1768 (cfi_add_CFA_insn_reg_reg, cfi_add_CFA_insn_reg_offset): New.
1769 (cfi_add_CFA_offset, cfi_add_CFA_def_cfa)
1770 (cfi_add_CFA_register, cfi_add_CFA_def_cfa_register)
1771 (cfi_add_CFA_def_cfa_offset): Use cfi_add_CFA_insn_*().
1772 (cfi_add_CFA_restore, cfi_add_CFA_undefined)
1773 (cfi_add_CFA_same_value, cfi_add_CFA_remember_state)
1774 (cfi_add_CFA_restore_state, cfi_add_CFA_nop): New.
1775 (cfi_pseudo_table): New directives .cfi_return_column,
1776 .cfi_restore, .cfi_undefined, .cfi_same_value,
1777 .cfi_remember_state, .cfi_restore_state, .cfi_nop.
1778 (dot_cfi, output_cfi_insn): Handle new directives.
1779 * dw2gencfi.h (cfi_add_CFA_restore, cfi_add_CFA_undefined)
1780 (cfi_add_CFA_same_value, cfi_add_CFA_remember_state)
1781 (cfi_add_CFA_restore_state, cfi_add_CFA_nop): New prototypes.
1782
757bc393
RH
17832003-06-04 Richard Henderson <rth@redhat.com>
1784
1233ae62
RH
1785 * dw2gencfi.c (output_cfi_insn): Fix typo for negative offsets.
1786
757bc393
RH
1787 * dw2gencfi.c (cfi_finish): Set .eh_frame read-only.
1788
f4b97536
RH
17892003-06-04 Richard Henderson <rth@redhat.com>
1790
1791 * config/tc-alpha.c (s_alpha_usepv): New.
1792 (md_pseudo_table): Add it.
1793 (alpha_cfi_frame_initial_instructions): New.
1794 * config/tc-alpha.h (TARGET_USE_CFIPOP): New.
1795 (tc_cfi_frame_initial_instructions): New.
1796 * doc/c-alpha.texi: Document .usepv.
1797
68d55fe3
JJ
17982003-06-04 Jakub Jelinek <jakub@redhat.com>
1799
1800 * as.c (show_usage): Document --execstack and --noexecstack.
1801 (parse_args): Add --execstack and --noexecstack.
1802 (main): Create .note.GNU-stack section if --execstack or
1803 --noexecstack was given on comand line, set its SHF_EXECINSTR bit.
1804 * as.h (flag_execstack, flag_noexecstack): New.
1805
f9b4148d
CD
18062003-06-03 Chris Demetriou <cgd@broadcom.com>
1807
1808 * config/tc-mips.c: (OPTION_ARCH_BASE, OPTION_ASE_BASE)
1809 (OPTION_COMPAT_ARCH_BASE, OPTION_FIX_BASE)
1810 (OPTION_MISC_BASE): New defines.
1811 (OPTION_BREAK, OPTION_CONSTRUCT_FLOATS, OPTION_EB, OPTION_EL)
1812 (OPTION_ELF_BASE, OPTION_FIX_VR4122, OPTION_FP32, OPTION_FP64)
1813 (OPTION_GP32, OPTION_GP64, OPTION_M3900, OPTION_M4010, OPTION_M4100)
1814 (OPTION_M4650, OPTION_M7000_HILO_FIX, OPTION_MARCH, OPTION_MDMX)
1815 (OPTION_MEMBEDDED_PIC, OPTION_MIPS1, OPTION_MIPS16, OPTION_MIPS2)
1816 (OPTION_MIPS3, OPTION_MIPS32, OPTION_MIPS32R2, OPTION_MIPS3D)
1817 (OPTION_MIPS4, OPTION_MIPS5, OPTION_MIPS64)
1818 (OPTION_MNO_7000_HILO_FIX, OPTION_MTUNE, OPTION_NO_CONSTRUCT_FLOATS)
1819 (OPTION_NO_FIX_VR4122, OPTION_NO_M3900, OPTION_NO_M4010)
1820 (OPTION_NO_M4100, OPTION_NO_M4650, OPTION_NO_MDMX, OPTION_NO_MIPS16)
1821 (OPTION_NO_MIPS3D, OPTION_NO_RELAX_BRANCH, OPTION_RELAX_BRANCH)
1822 (OPTION_TRAP): Redefine in terms of new defines.
1823 (md_longopts): Reorder entries.
1824
7ee7b84d
MS
18252003-05-14 Michael Snyder <msnyder@redhat.com>
1826 From Bernd Schmidt <bernds@redhat.com>
1827 and Michael Snyder <msnyder@redhat.com>
1828 and Alexandre Oliva <aoliva@redhat.com>
1829 * config/tc-h8300.c: Add insns and addressing modes for h8300sx.
1830 * config/tc-h8300.h: Ditto.
1831
e30ddb24
NC
18322003-06-03 Nick Clifton <nickc@redhat.com>
1833
1834 * tc-v850.c (tc-gen_reloc): Translate BFD_RELOC_32 into
adadcc0c
AM
1835 BFD_RELOC_32_PCREL if the reloc is pc-relative. Do this
1836 before calling bfd_reloc_type_lookup.
1837
ed7d5d1a
AM
18382003-06-02 Alan Modra <amodra@bigpond.net.au>
1839
1840 * read.c (emit_expr): Set dot_value.
1841 * dw2gencfi.c (output_fde): Remove pcrel reloc hack.
1842
c1ed1235
AM
18432003-06-02 Alan Modra <amodra@bigpond.net.au>
1844
1845 * macro.c (sub_actual): Don't lose string if it turns out that
1846 &string wasn't an arg.
1847
eafbc43f
RH
18482003-05-31 Richard Henderson <rth@redhat.com>
1849
1850 * dw2gencfi.c (output_fde): Use fix_new to emit pc-relative reloc.
1851 (cfi_finish): Set flag_traditional_format around .eh_frame data.
1852
f37f01cf
RH
18532003-05-29 Richard Henderson <rth@redhat.com>
1854
1855 * config/tc-alpha.c (alpha_cur_ent_sym): Remove.
1856 (all_frame_data, plast_frame_data, cur_frame_data): New.
1857 (s_alpha_ent): Record data for dwarf2 cfi.
9f470756
L
1858 (s_alpha_end, s_alpha_mask, s_alpha_frame, s_alpha_prologue): Likewise.
1859 (alpha_elf_md_end): Emit dwarf2 cfi for ecoff unwind directives.
f37f01cf
RH
1860 * config/tc-alpha.h (md_end): New.
1861 (DWARF2_DEFAULT_RETURN_COLUMN): New.
1862 (DWARF2_CIE_DATA_ALIGNMENT): New.
1863
a197c351
NC
18642003-05-29 Nick Clifton <nickc@redhat.com>
1865
1866 * configure.in: Add i386-*-freebsd* entry.
1867 * configure: Regenerate.
1868
4bf4a882 18692003-05-29 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
ed7d5d1a
AM
1870
1871 * config/tc-m32r.c: Amend comment to refer to Renesas
4bf4a882 1872
756d1d01
RH
18732003-05-27 Richard Henderson <rth@redhat.com>
1874
1875 * expr.c (make_expr_symbol): Fold FAKE_LABEL_NAME use into the
1876 symbol_create call.
1877 (current_location): Use symbol_temp_new_now.
1878 * stabs.c (s_stab_generic): Use symbol_temp_new.
1879 * symbols.c (temp_label_name): Remove.
1880 (symbol_temp_new, symbol_temp_make): Use FAKE_LABEL_NAME.
1881
a4447b93
RH
18822003-05-27 Richard Henderson <rth@redhat.com>
1883
1884 * dw2gencfi.c, dw2gencfi.h: Rewrite from scratch.
1885 * as.c (main): Always call cfi_finish.
1886 * config/tc-i386.c (x86_dwarf2_return_column): New.
1887 (x86_cie_data_alignment): New.
1888 (md_begin): Set them.
1889 (tc_x86_cfi_init): Remove.
1890 (tc_x86_regname_to_dw2regnum): Fix 32-bit register numbers;
1891 return int, not unsigned long; don't as_bad here.
1892 (tc_x86_frame_initial_instructions): Streamline; use
1893 updated api.
1894 * config/tc-i386.h (tc_cfi_init): Remove.
1895 (DWARF2_DEFAULT_RETURN_COLUMN): New.
1896 (DWARF2_CIE_DATA_ALIGNMENT): New.
1897
b7d6ed97
RH
18982003-05-27 Richard Henderson <rth@redhat.com>
1899
1900 * symbols.c (temp_label_name): New.
1901 (symbol_temp_new, symbol_temp_new_now, symbol_temp_make): New.
1902 (symbol_set_value_now): New.
1903 * symbols.h: Prototype them.
1904 * dwarf2dbg.c: Use them.
1905 (fake_label_name, symbol_new_now, set_symbol_value_now): Remove.
1906
14218d5f
JE
19072003-05-23 Jason Eckhardt <jle@rice.edu>
1908
1909 * config/tc-i860.c (target_xp): Declare variable.
1910 (OPTION_XP): Declare macro.
1911 (md_longopts): Add option -mxp.
1912 (md_parse_option): Set target_xp.
1913 (md_show_usage): Add -mxp usage.
1914 (i860_process_insn): Recognize XP registers bear, ccr, p0-p3.
1915 (md_assemble): Don't try expansions if XP_ONLY is set.
1916 * doc/c-i860.texi: Document -mxp option and i860XP support.
1917
36ede617
EC
19182003-05-23 Eric Christopher <echristo@redhat.com>
1919
1920 * config/tc-mips.c (macro_build_jalr): Warning patrol.
1921
a105a300
TS
19222003-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1923
1924 * config/tc-mips.c (append_insn): Use actual relocation size for new
1925 fixp's. Don't relax overflow checking for partial_inplace relocations.
1926 Use the actual relocation type in combined relocs, not just the type
1927 of the first one.
1928 (macro_build_jalr): Use actual relocation size for new fix.
1929 (s_cpsetup, s_gpdword): Likewise.
1930
dc9461f6
TS
19312003-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1932
1933 * config/tc-mips.c (macro): Don't use uninitialized tempreg.
1934
ceb41009
NC
19352003-05-22 Nick Clifton <nickc@redhat.com>
1936
1937 * config/tc-xstormy16.c (md_pcrel_from_section): Do not produce
1938 section relative offsets for relocs that will not be based on the
1939 section symbol.
1940 (xstormy16_md_apply_fix3): Remove previous patch to this
1941 function.
1942
143d77c5
EC
19432003-05-07 Eric Christopher <echristo@redhat.com>
1944
ed7d5d1a
AM
1945 * config/tc-mips.c (mips_abicalls): New variable.
1946 (md_parse_option): Use.
1947 (s_option): Ditto.
1948 (s_abicalls): Ditto.
1949 (mips_elf_final_processing): Set EF_MIPS_PIC and
1950 EF_MIPS_CPIC dependent on above.
143d77c5 1951
85c77c38
DA
19522003-05-21 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1953
1954 * tc-hppa.c (hppa_symbol_chars): Remove `,' and `!'.
1955
87ccc1b0
NC
19562003-05-21 Nick Clifton <nickc@redhat.com>
1957
ed7d5d1a
AM
1958 * config/obj-elf.c: Include dwarf2dbg.h.
1959 (elf_pseudo_tab): Add .file and .loc.
1960 * config/tc-arc.c (md_pseudo_table): Remove .file and .loc.
1961 * config/tc-arm.c: Likewise.
1962 * config/tc-h8300.c: Likewise.
1963 * config/tc-hppa.c: Likewise.
1964 * config/tc-ia64.c: Likewise.
1965 * config/tc-m68hc11.c: Likewise.
1966 * config/tc-m68k.c: Likewise.
1967 * config/tc-mmix.c: Likewise.
1968 * config/tc-mn10300.c: Likewise.
1969 * config/tc-ppc.c: Likewise.
1970 * config/tc-sh.c: Likewise.
1971 * config/tc-sparc.c: Likewise.
1972 * config/tc-v850.c: Likewise.
1973 * config/tc-frv.c: Likewise, and remove redundant inclusion of
1974 dwarf2dbg.h.
1975 * config/tc-ip2k.c: Likewise.
1976 * config/tc-iq2000.c: Likewise.
1977 * config/tc-xstormy16.c: Likewise.
1978 * config/tc-xtensa.c: Likewise.
87ccc1b0 1979 * Makefile.am: Regenerate dependencies.
ed7d5d1a
AM
1980 * Makefile.in: Regenerate.
1981 * aclocal.m4: Regenerate.
1982 * config.in: Regenerate.
1983 * configure: Regenerate.
1984 * po/POTFILES.in: Regenerate.
1985 * po/gas.pot: Regenerate.
143d77c5 1986
7ed2c8b0
NC
19872003-05-21 Nick Clifton <nickc@redhat.com>
1988
1989 * dw2gencfi.c (cfi_get_label): Use symbol_make for non
1990 BFD_ASSEMBLER targets.
1991 (cfi_startproc): Change type of saved_seg and cfi_seg to segT.
1992 (dot_cfi_endproc): Only call bfd_set_section_flags for targets
1993 defining BFD_ASSEMBLER.
1994
39b82151
ML
19952003-05-20 Michal Ludvig <mludvig@suse.cz>
1996
1997 * as.c (main): Remove tc_cfi_init().
143d77c5 1998 * dw2gencfi.c (cfi_parse_arg): Allow regnames beginning
39b82151
ML
1999 with '%'.
2000 (cfi_pseudo_table): Add "cfi_register" entry.
2001 (cfi_make_insn): Handle CFA_register.
2002 (cfi_output_insn): Ditto.
2003 (dot_cfi): Ditto.
2004 (cfi_get_label): Add 'simple' modifier to .cfi_startproc.
2005 (dot_cfi_endproc): Reuse already emitted CIEs.
2006 * testsuite/gas/cfi/cfi-i386.d: New pattern.
2007 * testsuite/gas/cfi/cfi-x86-64.d: Ditto.
2008
f53e95c7
NC
20092003-05-20 Nick Clifton <nickc@redhat.com>
2010
2011 * config/tc-xstormy16.c: Include dwarf2dbg.h.
2012 (md_pseudo_table): Add entries for .loc and .line.
2013
7c0295b1
AM
20142003-05-20 Alan Modra <amodra@bigpond.net.au>
2015
2016 * dw2gencfi.c (cfi_parse_arg): Only use tc_regname_to_dw2regnum if
2017 defined.
2018 (dot_cfi_endproc): Avoid C99 construct.
2019
54cfded0
AM
20202003-05-20 Michal Ludvig <mludvig@suse.cz>
2021
2022 * dw2gencfi.c, dw2gencfi.h: New files.
2023 * config/tc-i386.c (tc_x86_cfi_init): New function.
2024 * config/tc-i386.h (TARGET_USE_CFIPOP, tc_cfi_init): New defines.
2025 * as.c (parse_args): Set verbose flag on --verbose.
2026 (main): Call tc_cfi_init()/cfi_finish().
2027 * as.h (verbose): New external variable.
2028 * read.c (pobegin): Insert CFI pops to the list.
2029 * symbols.c (local_symbol_make): Make symbol external.
2030 * symbols.h (local_symbol_make): New prototype.
2031 * Makefile.am: Add dw2gencfi.[ch] files. Run "make dep-am".
2032 * Makefile.in: Regenerate.
2033 * doc/as.texinfo: Added node "CFI directives" with description of
2034 all implemented .cfi_* directives.
2035 * doc/Makefile.in: Regenerate.
2036 * po/POTFILES.in: Regenerate.
2037
a1f3c24c
SS
20382003-05-19 Svein E. Seldal <Svein.Seldal@solidas.com>
2039
54cfded0
AM
2040 * config/tc-tic4x.c (md_assemble): Added support for one-line parallel
2041 insns.
1975ab25 2042 * config/tc-tic4x.h: Added DOUBLEBAR_PARALLEL definition
a1f3c24c 2043
b645cb17
JE
20442003-05-18 Jason Eckhardt <jle@rice.edu>
2045
2046 * config/tc-i860.c (i860_process_insn): Initialize fc after
2047 each opcode mismatch.
2048
80c7c40a
NC
20492003-05-16 Kelley Cook <kelleycook@wideopenwest.com>
2050
2051 * configure.in: Accept i[3-7]86 variants.
2052 * configure: Regenerate.
2053
c344a4c8
TS
20542003-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2055
2056 * config/tc-mips.h: Fix comment formatting.
2057
64e55042
HPN
20582003-05-13 Hans-Peter Nilsson <hp@axis.com>
2059
2060 * read.c (old_buffer, old_input, old_limit): Remove variables.
54cfded0 2061 (read_a_source_file): Delete label contin.
64e55042
HPN
2062 <handling #APP/#NO_APP>: Use an "sb" to push #APP expansion into
2063 input as with macros, instead of in separate old_* variables.
2064 Zero-terminate string being scrubbed.
2065
e66c629e
NC
20662003-05-12 Nick Clifton <nickc@redhat.com>
2067
2068 * config/tc-xstormy16.c (skipping_fptr): New local variable.
2069 (md_assemble): Reset skipping_fptr.
2070 (md_operand): If @fptr() is followed by a minus sign, set
2071 skipping_fptr and ignore the fptr. If skipping_fptr is set and an
2072 @fptr is detected, ignore it and reset skipping_fptr.
2073
673a54e3
JE
20742003-05-11 Jason Eckhardt <jle@rice.edu>
2075
2076 * config/tc-i860.c (MAX_FIXUPS): Define.
2077 (struct i860_fi fi[]): New struct.
2078 (struct i860_it the_insn): Add above as member and move fields
2079 exp, reloc, pcrel and fup into i860_fi.
2080 (md_assemble): Replace all instances of exp, reloc, pcrel
2081 and fup with fi[].exp, fi[].reloc, fi[].pcrel, fi[].fup.
2082 Add a loop to possibly emit multiple fix-ups for each insn.
2083 (i860_process_insn): Likewise.
2084 (i860_get_expression): Likewise.
2085 (md_apply_fix3): Use a bitwise check for OP_IMM_U5, not equality.
2086
2ebb4b88
MS
20872003-05-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
2088
2089 * config/tc-s390.c (s390_target_format): Always call init_default_arch.
2090
35f5df7f
L
20912003-05-07 H.J. Lu <hongjiu.lu@intel.com>
2092
2093 * config/tc-ia64.c (alias_hash): New.
2094 (alias_name_hash): New.
2095 (secalias_hash): New.
2096 (secalias_name_hash): New.
2097 (md_pseudo_table): Add "secalias".
2098 (md_begin): Initialize alias_hash, alias_name_hash,
2099 secalias_hash and secalias_name_hash.
2100 (struct alias): New.
2101 (dot_alias): Implement .alias and .secalias directives.
2102 (do_alias): New.
2103 (ia64_adjust_symtab): New.
2104 (do_secalias): New.
2105 (ia64_frob_file): New.
2106
2107 * config/tc-ia64.h (ia64_adjust_symtab): New.
2108 (tc_adjust_symtab): Defined.
2109 (ia64_frob_file): New.
2110 (tc_frob_file): Defined.
2111
d2bf1bda
NC
21122003-05-07 Dmitry Diky <diwil@mail.ru>
2113
2114 * tc-msp430.c: Add missing lines to known cpus list.
2115
cac012d6
AO
21162003-05-06 Alexandre Oliva <aoliva@redhat.com>
2117
2118 * configure.in (MIPS_DEFAULT_ABI): AC_DEFINE.
2119 * config/tc-mips.c (mips_after_parse_args): Set mips_abi to it.
2120 * config.in, configure: Rebuilt.
2121
d8dbbec1
L
21222003-05-05 H.J. Lu <hjl@gnu.org>
2123
2124 * config/tc-mips.c (tc_gen_reloc): Add addend just once if
2125 howto->partial_inplace is false.
2126
9204e615
DJ
21272003-05-05 Daniel Jacobowitz <drow@mvista.com>
2128
2129 * config/tc-mips.c (mips_need_elf_addend_fixup): Remove
2130 symbol_used_in_reloc_p check.
2131 (md_apply_fix3): Remove check for howto->pcrel_offset.
2132
711ef82f
L
21332003-05-03 H.J. Lu <hjl@gnu.org>
2134
2135 * config/obj-elf.c (obj_elf_parse_section_letters): Make it a
2136 fatal error for unknown section attribute.
2137
2138 * config/tc-alpha.c (alpha_elf_section_letter): Return -1 for
2139 unknown section attribute.
2140 * config/tc-ia64.c (ia64_elf_section_letter): Likewise.
2141 * config/tc-ppc.c (ppc_section_letter): Likewise.
2142
2143 * config/tc-ia64.c (ia64_elf_section_letter): Handle 'o'.
2144 (ia64_elf_section_type): Accept "unwind".
2145
83b5ab55
L
21462003-05-02 H.J. Lu <hjl@gnu.org>
2147
2148 * read.h (demand_copy_string): New.
2149
2150 * config/tc-alpha.c (demand_copy_string): Removed.
2151
7ff0565e
MS
21522003-05-02 Michael Snyder <msnyder@redhat.com>
2153
54cfded0 2154 * write.h (FAKE_LABEL_NAME): Allow override
7ff0565e
MS
2155 (for targets that like eg. a leading dot in a local label).
2156
2968149b
NC
21572003-05-02 Nick Clifton <nickc@redhat.com>
2158
2159 * config/tc-xstormy16.c (xstormy16_md_apply_fix3): Do not bias the
2160 addend with the symbol's value for pc-relative relocations against
2161 a defined symbol - this will be done automatically.
2162
e7b9a8c1
L
21632003-05-01 H.J. Lu <hjl@gnu.org>
2164
2165 * config/obj-elf.c (obj_elf_type): Accept "notype" and
2166 "STT_NOTYPE".
2167
612d7b83
L
21682003-05-01 H.J. Lu <hjl@gnu.org>
2169
2170 * config/tc-ia64.h (tc_canonicalize_section_name): New.
2171
2172 * config/obj-elf.c (obj_elf_section_name): Call
2173 tc_canonicalize_section_name if it is defined.
2174
a645d1eb
L
21752003-05-01 H.J. Lu <hjl@gnu.org>
2176
2177 * config/tc-ia64.c (ia64_check_label): New.
2178 * config/tc-ia64.h (tc_check_label): New.
2179
2180 * read.c (read_a_source_file): Call tc_check_label after
2181 creating a user-defined label if defined.
2182
df12615d
AM
21832003-05-02 Alan Modra <amodra@bigpond.net.au>
2184
2185 * config/tc-ppc.c (md_show_usage): Mention -a32, -a64, -l, -le, -b,
2186 -be and split strings to below 509 bytes in length.
2187
f70c8412
CG
21882003-05-01 Christian Groessler <chris@groessler.org>
2189
2190 * expr.h: Fix comments in operatorT typedef.
54cfded0 2191 * config/tc-z8k.c: Add 2003 to copyright message.
f70c8412
CG
2192 Fold s_segm() and s_unseg() into one function s_segm(parm) which
2193 decides by the parameter.
2194 (md_begin): Don't set linkrelax. Only set Z8002 default if no
2195 command line argument was given to select the intended
2196 architecure.
2197 (get_interrupt_operand): Warn if NOP type code is emitted.
2198 (newfix): New parameter 'size', forward it to 'fix_new_exp'.
2199 (apply_fix): Call newfix with additional 'size' parameter.
2200 (build_bytes): Remove unused variable 'nib'. Detect overflow in
2201 4 bit immediate arguments.
2202 (md_longopts): Add 'linkrelax' option.
2203 (md_parse_option): Adapt to new s_segm function. Set 'linkrelax'
2204 variable when 'linkrelax' command line option is specified.
2205 (md_show_usage): Display 'linkrelax' option.
2206 (md_apply_fix3): Fix cases R_IMM4L, R_JR, and R_IMM8. Add cases
2207 R_CALLR and R_REL16.
2208 * config/tc-z8k.h: Undef WARN_SIGNED_OVERFLOW_WORD.
2209
10a98291
L
22102003-04-30 H.J. Lu <hjl@gnu.org>
2211
2212 * config/tc-ia64.c (ia64_number_to_chars): New function pointer.
2213 (ia64_float_to_chars): Likewise.
2214 (dot_byteorder): Set target_big_endian, ia64_number_to_chars
2215 and ia64_float_to_chars by tc_segment_info_data.endian from
2216 the current segment if byteorder == -1.
2217 (md_begin): Call dot_byteorder to set target_big_endian.
2218 (md_atof): Call ia64_float_to_chars to convert floating point.
2219 (ia64_float_to_chars_bigendian): New function.
2220 (ia64_float_to_chars_littleendian): Likewise.
2221 (ia64_elf_section_change_hook): Likewise.
2222
2223 * config/tc-ia64.h (ia64_number_to_chars): New.
2224 (md_number_to_chars): Changed to (*ia64_number_to_chars)
2225 (ia64_elf_section_change_hook): New.
2226 (md_elf_section_change_hook): Defined.
2227 (ia64_segment_info_type): New struct.
2228 (TC_SEGMENT_INFO_TYPE): Defined.
2229
bf57c3c9
L
22302003-04-30 H.J. Lu <hjl@gnu.org>
2231
2232 * config/tc-ia64.c (md_section_align): Deleted.
2233
2234 * config/tc-ia64.h (SUB_SEGMENT_ALIGN): New.
2235 (md_section_align): New.
2236
165a7f90
L
22372003-04-30 H.J. Lu <hjl@gnu.org>
2238
2239 * config/tc-ia64.c (stmt_float_cons): Fix alignment for real10
2240 and add real16.
2241 (md_pseudo_table): Add "xreal16", "xreal16.ua", "real16" and
2242 "real16.ua".
2243 (md_atof): Add 6 byte padding of zero for real16.
2244
eba874d8
NC
22452003-04-29 Nick Clifton <nickc@redhat.com>
2246
2247 * config/obj-elf.c (obj_elf_symver): Skip whitespace before the
2248 start of a version name.
2249
dbeba5e5
CD
22502003-04-28 Chris Demetriou <cgd@broadcom.com>
2251
2252 * configure.in (mips-*-*n*bsd*): Replace with...
2253 (mips-*-netbsd*, mips-*-openbsd*): These.
2254 * configure: Regenerate.
2255
f0d7d5f9
NC
22562003-04-28 H.J. Lu <hjl@gnu.org>
2257
2258 * config/tc-hppa.c (hppa_symbol_chars): New.
2259 * config/tc-hppa.h (tc_symbol_chars): Likewise.
2260
a38b42ab
TS
22612003-04-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2262
2263 * config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Define again.
2264
69be0a2b
CD
22652003-04-25 Chris Demetriou <cgd@broadcom.com>
2266
2267 * NEWS: Belatedly mention support for MIPS32 Release 2.
2268
684022ea
EC
22692003-04-24 Eric Christopher <echristo@redhat.com>
2270
2271 * config/tc-mips.c (nopic_need_relax): Revert previous
2272 change.
2273
2c8714f2
NC
22742003-04-24 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
2275
2276 * config/tc-h8300.h (DWARF2_LINE_MIN_INSN_LENGTH): New
684022ea 2277 * config/tc-h8300.c (dwarf2dbg.h): Include
2c8714f2
NC
2278 (md_pseudo_table): Handle .loc and .file
2279 (md_assemble): Call dwarf2_emit_insn if BFD_ASSEMBLER.
2280 * Makefile.am: Add dependency on dwarf2dbg.h for h8300 targets.
2281 * Makefile.in: Regenerate.
2282
684022ea 22832003-04-24 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
8d9cd6b1
NC
2284
2285 * config/tc-h8300.c (Nmode, h8300hnmode, h8300snmode): New.
2286 (md_pseudo_table): Add h8300hn, h8300sn.
2287 * config/tc-h8300.h (COFF_MAGIC): Handle h8300hn, h8300sn.
2288 * doc/c-h8300.texi : Add documentation for new machine directives.
2289
5ce8663f
NC
22902003-04-24 Nick Clifton <nickc@redhat.com>
2291
2292 * config/tc-ppc.c (ppc_symbol_chars): Define.
2293 * config/tc-ppc.h (tc_symbol_chars): Define.
2294
ef230218
JR
22952003-04-23 J"orn Rennecke <joern.rennecke@superh.com>
2296
2297 * config/tc-sh.c: Amend comment to refer to SuperH.
2298 * config/tc-sh.h: Likewise.
2299 (LISTING_HEADER): Amend to refer to SuperH.
2300 * config/tc-sh64.c: Change comment to refer to SuperH.
2301 * config/tc-sh64.h (LISTING_HEADER): Change to refer to SuperH.
2302 * doc/as.texinfo [SH, GENERIC]: Amend / Change to refer to SuperH.
2303 * doc/c-sh.texi: Amend to refer to SuperH.
2304 Add SuperH architecture documentation references.
2305 * doc/c-sh64.texi: Change to refer to SuperH.
2306
204cd129
NC
23072003-04-23 H.J. Lu <hjl@gnu.org>
2308
2309 * app.c (do_scrub_chars): More checks for valid labels.
2310
2cdb18a7
L
23112003-04-22 H.J. Lu <hjl@gnu.org>
2312
2313 * app.c (do_scrub_chars): Check for valid label.
2314
26597c86
NC
23152003-04-22 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
2316
2317 * doc/as.texinfo: Replace references to Mitsubishi M32R with
2318 references to Renesas M32R.
2319 * doc/c-m32r.texi: Likewise.
2320
88b4ca40
RH
23212003-04-21 Richard Henderson <rth@redhat.com>
2322
54cfded0
AM
2323 * dwarf2dbg.c (get_filenum): Skip as-yet unassigned file numbers.
2324 (out_file_list): Assign non-null filename after generating error.
88b4ca40 2325
e5f08f7e
JJ
23262003-04-18 Jakub Jelinek <jakub@redhat.com>
2327
2328 * ehopt.c (check_eh_frame): For aug_size == 0
2329 in state_seeing_aug_size state skip the state_skipping_aug
2330 state.
2331
c2dcd04e
NC
23322003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com>
2333
2334 * doc/c-h8300.texi: Replace occurrances of 'Hitachi' with
2335 'Renesas'.
2336 * doc/c-h8500.texi: Likewise.
2337 * doc/c-sh.texi: Likewise.
2338 * doc/c-sh64.texi: Likewise.
2339 * doc/h8.texi: Likewise.
2340 * config/tc-h8300.c: Likewise.
2341 * config/tc-h8300.h: Likewise.
2342 * config/tc-h8500.c: Likewise.
2343 * config/tc-h8500.h: Likewise.
2344 * config/tc-sh.c: Likewise.
2345 * config/tc-sh.h: Likewise.
2346 * config/tc-sh64.c: Likewise.
2347 * config/tc-sh64.h: Likewise.
2348
f5040a92
AO
23492003-04-10 Alexandre Oliva <aoliva@redhat.com>
2350
2351 * config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): New.
2352 * config/tc-mips.c: Use signed add for n32 address arithmetic.
2353 (append_insn): When filling delay slots with instructions
2354 that have fixups that tc_gen_reloc might consider modifyable
2355 in variant frags, start a new frag.
2356 (load_address): Generate GOT_DISP with of without offset
2357 depending on whether symbol is local. For -xgot, use
2358 GOT_PAGE/GOT_OFST or GOT_HI16/GOT_LO16.
2359 (macro) <M_DLA_AB, M_LA_AB>: Likewise.
2360 <M_JAL_A>: In NewABI, use CALL16 or GOT_DISP for small got,
2361 CALL_HI16/CALL_LO16 or GOT_PAGE/GOT_OFST for big got.
2362 <ld_st>: In NewABI with small got, always use
2363 GOT_PAGE/GOT_OFST, with the latter in the load/store
2364 instruction. With big got, use GOT_HI16/GOT_LO16 or
2365 GOT_PAGE/GOT_OFST.
2366 (tc_gen_reloc): Adjust variant frags with GOT_DISP in NewABI.
2367 Add tc_frag_data.tc_fr_offset to addends. Decay CALL16,
2368 GOT_OFST and GOT_DISP to GOT_DISP in NewABI.
2369 (md_convert_frag): Use memmove for safe copying of overlapping
2370 regions.
2371
35b55ed2
SC
23722003-04-09 Stephane Carrez <stcarrez@nerim.fr>
2373
2374 * doc/c-m68hc11.texi (M68HC11-Opts): Document -m68hcs12, -mshort,
2375 -mlong, -mshort-double and -mlong-double options; use table @code.
2376 (M68HC11-Syntax): Update to document 68HC12 operands.
2377 (M68HC11-Modifiers): New section for operand modifiers.
2378 (M68HC11-Directives): New section for specific assembler directives.
2379 (M68HC11-Branch): Fix Overfull hbox error.
2380
9214dd3b
AO
23812003-04-09 Alexandre Oliva <aoliva@redhat.com>
2382
2383 * config/tc-mips.c (macro): Add comments explaining the rationale
2384 for Chris' change.
2385
eb0a7d52
AO
23862003-04-09 Chris Demetriou <cgd@broadcom.com>
2387
2388 * config/tc-mips.c (macro): Put back `+ 0x8000' in test for 64-bit
2389 constant address that Alexandre took out by accident. Reject
2390 64-bit addresses that are not sign extensions of 32 bits only if
2391 we don't support 64-bit address constants.
2392
a7fc733f
AM
23932003-04-09 Alan Modra <amodra@bigpond.net.au>
2394
2395 * config/tc-ppc.c (md_apply_fix3): Generate ADDR16 relocs.
2396
9cc92a36
NC
23972003-04-08 Nick Clifton <nickc@redhat.com>
2398
2399 * as.c (perform_an_assembly_pass): If using cgen, call
2400 gas_cgen_begin.
2401 * cgen.c (gas_cgen_begin): New function. If
2402 flag_signed_overflow_ok is set call cgen_set_signed_overflow_ok
2403 otherwise call cgen_clear_signed_overflow_ok.
2404 * cgen.h: Prototype gas_cgen_begin.
2405
fe59a223
TS
24062003-04-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2407
2408 * write.c (write_relocs): Remove unused variable.
2409
5a7a0b7b
AO
24102003-04-06 Chris Demetriou <cgd@broadcom.com>
2411
2412 * config/tc-mips.c (HAVE_64BIT_ADDRESS_CONSTANTS): New.
2413 (macro): Use new macro to decide whether to emit constant address
2414 as 32 or 64 bits if addresses are 32-bit wide but registers are
2415 64-bit wide.
2416
577300ce
SC
24172003-04-05 Stephane Carrez <stcarrez@nerim.fr>
2418
2419 * config/tc-m68hc11.c (M6811_OP_CALL_ADDR): New internal define.
2420 (M6811_OP_PAGE_ADDR): New internal define.
684022ea 2421 (get_operand): New modifier %page and %addr to obtain page and
577300ce 2422 address part of a far-function.
684022ea 2423 (fixup8): Use BFD_RELOC_M68HC11_PAGE for a %page modifier; don't
577300ce
SC
2424 complain on overflow for the BFD_RELOC_M68HC11_PAGE and truncation
2425 relocs.
2426 (fixup16): Use BFD_RELOC_M68HC11_LO16 for a %addr modifier.
2427 (find_opcode): Add comment.
2428 (md_estimate_size_before_relax): Force relocation of
2429 STATE_UNDEXED_OFFSET types when the symbol is not absolute.
2430 (tc_m68hc11_fix_adjustable): Check for BFD_RELOC_M68HC11_LO16
2431 instead of BFD_RELOC_LO16; temporarily make the BFD_RELOC_32
2432 on the symbol itself so that DWARF2 strings are merged correctly.
2433
be33c5dd
SS
24342003-04-04 Svein E. Seldal <Svein.Seldal@solidas.com>
2435
2436 * config/obj-coff.h (TARGET_FORMAT): Namespace cleanup, changed
2437 default tic4x target format to 'coff2-tic4x'.
2438 * config/tc-tic4x.c: Namespace cleanup. Replace s/c4x/tic4x/ and
2439 s/c3x/tic3x/
2440 * config/tc-tic4x.h: Ditto
2441
e8fd7476
NC
24422003-04-03 Nick Clifton <nickc@redhat.com>
2443
2444 * NEWS: Mention support for Xtensa architecture.
2445
47281638
PB
24462003-04-02 Philip Blundell <philb@gnu.org>
2447
2448 * config/tc-arm.c (arm_force_relocation): Return 0 for OFFSET_IMM.
2449
af22f5b2
CD
24502003-04-02 Chris Demetriou <cgd@broadcom.com>
2451
2452 * config/tc-mips.c (macro2): Adjust implementation of
2453 M_ULH, M_ULHU, M_ULW, and M_ULD so that they work properly
2454 in the case where the source and destination registers
2455 are the same.
2456
e0001a05
NC
24572003-04-01 Bob Wilson <bob.wilson@acm.org>
2458
54cfded0
AM
2459 * Makefile.am (CPU_TYPES): Add xtensa.
2460 (TARGET_CPU_CFILES): Add config/tc-xtensa.c.
2461 (TARGET_CPU_HFILES): Add config/tc-xtensa.h.
2462 (xtensa-relax.o): New target.
2463 Run "make dep-am".
2464 * Makefile.in: Regenerate.
2465 * configure.in: Handle xtensa-*-*. Add xtensa-relax.o to
2466 extra_objects for xtensa targets.
2467 * configure: Regenerate.
2468 * write.c (write_object_file): Add new md_post_relax_hook.
2469 * config/tc-xtensa.c: New file.
2470 * config/tc-xtensa.h: Likewise.
2471 * config/xtensa-istack.h: Likewise.
2472 * config/xtensa-relax.c: Likewise.
2473 * config/xtensa-relax.h: Likewise.
2474 * doc/Makefile.am (CPU_DOCS): Add c-xtensa.texi.
2475 * doc/Makefile.in: Regenerate.
2476 * doc/all.texi: Set new XTENSA variable.
2477 * doc/as.texinfo: Set new Xtensa variable. Describe
2478 Xtensa-specific options. Define line comment character for
2479 Xtensa. Add Xtensa processors to list of ELF targets where
2480 alignment is specified in bytes. Add new Xtensa-Dependent node.
2481 Add acknowledgements for those contributing to the Xtensa port.
2482 * doc/internals.texi: Describe new md_post_relax_hook.
2483 * doc/c-xtensa.texi: New file.
e0001a05 2484
5a6c6817
NC
24852003-04-01 Nick Clifton <nickc@redhat.com>
2486 Richard Earnshaw <rearnsha@arm.com>
2487
2488 * config/tc-arm.c: Remove presence of (r) and (tm) symbols.
2489 (ARM_ARCH_IWMMXT): Simplify.
2490 (insns): Place iwmmx instructions in correct place in table.
2491 (arm_add_note): New function: Add a note entry to a .note section.
2492 (md_begin): Make the default architecture be unknown.
2493 Suppress the creation of an arm note section.
2494
97bbfa38
EC
24952003-03-26 Eric Christopher <echristo@redhat.com>
2496
54cfded0 2497 * config/tc-mips.c (nopic_need_relax): Check for S_IS_EXTERN.
97bbfa38 2498
e16bb312
NC
24992003-03-25 Stan Cox <scox@redhat.com>
2500 Nick Clifton <nickc@redhat.com>
97bbfa38 2501
28d297de 2502 Contribute support for Intel's iWMMXt chip - an ARM variant:
e16bb312
NC
2503
2504 * config/tc-arm.c: (ARM_CEXT_IWMMXT, ARM_ARCH_IWMMXT, WR_PREFIX,
2505 WC_PREFIX, REG_TYPE_IWMMXT): New constants.
2506 (enum wreg_type, enum iwmmxt_insn_type): New types.
2507 (wr_register, wc_register, wcg_register): New macros.
2508 (iwmmxt_table): New variable.
2509 (wreg_required_here, do_iwmmxt_byte_addr, do_iwmmxt_tandc,
2510 do_iwmmxt_tbcst, do_iwmmxt_textrc, do_iwmmxt_textrm,
2511 do_iwmmxt_tinsr, do_iwmmxt_tmcr, do_iwmmxt_tmcrr, do_iwmmxt_tmia,
2512 do_iwmmxt_tmovmsk, do_iwmmxt_tmrc, do_iwmmxt_tmrrc,
2513 do_iwmmxt_torc, do_iwmmxt_waligni, do_iwmmxt_wmov,
2514 do_iwmmxt_word_addr, do_iwmmxt_wrwr, do_iwmmxt_wrwrwcg,
2515 do_iwmmxt_wrwrwr, do_iwmmxt_wshufh, do_iwmmxt_wzero,
2516 cp_byte_address_offset, cp_byte_address_required_here,
2517 check_iwmmxt_insn): New functions.
97bbfa38 2518 (asm_opcode_insns): Add iWMMXt instructions.
e16bb312
NC
2519 (md_begin): Set the mach value for iWMMXt targets. Create a note
2520 section to identify iwmmxt binaries.
2521 (md_apply_fix3): Handle BFD_RELOC_ARM_CP_OFF_IMM_S2.
2522 * doc/c-arm.texi: Document the support for the iWMMXt.
2523 * NEWS: Mention new support.
2524