2003-05-23 Jason Eckhardt <jle@rice.edu>
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
14218d5f
JE
12003-05-23 Jason Eckhardt <jle@rice.edu>
2
3 * config/tc-i860.c (target_xp): Declare variable.
4 (OPTION_XP): Declare macro.
5 (md_longopts): Add option -mxp.
6 (md_parse_option): Set target_xp.
7 (md_show_usage): Add -mxp usage.
8 (i860_process_insn): Recognize XP registers bear, ccr, p0-p3.
9 (md_assemble): Don't try expansions if XP_ONLY is set.
10 * doc/c-i860.texi: Document -mxp option and i860XP support.
11
36ede617
EC
122003-05-23 Eric Christopher <echristo@redhat.com>
13
14 * config/tc-mips.c (macro_build_jalr): Warning patrol.
15
a105a300
TS
162003-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
17
18 * config/tc-mips.c (append_insn): Use actual relocation size for new
19 fixp's. Don't relax overflow checking for partial_inplace relocations.
20 Use the actual relocation type in combined relocs, not just the type
21 of the first one.
22 (macro_build_jalr): Use actual relocation size for new fix.
23 (s_cpsetup, s_gpdword): Likewise.
24
dc9461f6
TS
252003-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
26
27 * config/tc-mips.c (macro): Don't use uninitialized tempreg.
28
ceb41009
NC
292003-05-22 Nick Clifton <nickc@redhat.com>
30
31 * config/tc-xstormy16.c (md_pcrel_from_section): Do not produce
32 section relative offsets for relocs that will not be based on the
33 section symbol.
34 (xstormy16_md_apply_fix3): Remove previous patch to this
35 function.
36
143d77c5
EC
372003-05-07 Eric Christopher <echristo@redhat.com>
38
39 * config/tc-mips.c (mips_abicalls): New variable.
40 (md_parse_option): Use.
41 (s_option): Ditto.
42 (s_abicalls): Ditto.
43 (mips_elf_final_processing): Set EF_MIPS_PIC and
44 EF_MIPS_CPIC dependent on above.
45
85c77c38
DA
462003-05-21 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
47
48 * tc-hppa.c (hppa_symbol_chars): Remove `,' and `!'.
49
87ccc1b0
NC
502003-05-21 Nick Clifton <nickc@redhat.com>
51
52 * config/obj-elf.c: Include dwarf2dbg.h.
53 (elf_pseudo_tab): Add .file and .loc.
54 * config/tc-arc.c (md_pseudo_table): Remove .file and .loc.
55 * config/tc-arm.c: Likewise.
56 * config/tc-h8300.c: Likewise.
57 * config/tc-hppa.c: Likewise.
58 * config/tc-ia64.c: Likewise.
59 * config/tc-m68hc11.c: Likewise.
60 * config/tc-m68k.c: Likewise.
61 * config/tc-mmix.c: Likewise.
62 * config/tc-mn10300.c: Likewise.
63 * config/tc-ppc.c: Likewise.
64 * config/tc-sh.c: Likewise.
65 * config/tc-sparc.c: Likewise.
66 * config/tc-v850.c: Likewise.
67 * config/tc-frv.c: Likewise, and remove redundant inclusion of
68 dwarf2dbg.h.
69 * config/tc-ip2k.c: Likewise.
70 * config/tc-iq2000.c: Likewise.
71 * config/tc-xstormy16.c: Likewise.
72 * config/tc-xtensa.c: Likewise.
73 * Makefile.am: Regenerate dependencies.
74 * Makefile.in: Regenerate.
75 * aclocal.m4: Regenerate.
76 * config.in: Regenerate.
77 * configure: Regenerate.
78 * po/POTFILES.in: Regenerate.
79 * po/gas.pot: Regenerate.
143d77c5 80
7ed2c8b0
NC
812003-05-21 Nick Clifton <nickc@redhat.com>
82
83 * dw2gencfi.c (cfi_get_label): Use symbol_make for non
84 BFD_ASSEMBLER targets.
85 (cfi_startproc): Change type of saved_seg and cfi_seg to segT.
86 (dot_cfi_endproc): Only call bfd_set_section_flags for targets
87 defining BFD_ASSEMBLER.
88
39b82151
ML
892003-05-20 Michal Ludvig <mludvig@suse.cz>
90
91 * as.c (main): Remove tc_cfi_init().
143d77c5 92 * dw2gencfi.c (cfi_parse_arg): Allow regnames beginning
39b82151
ML
93 with '%'.
94 (cfi_pseudo_table): Add "cfi_register" entry.
95 (cfi_make_insn): Handle CFA_register.
96 (cfi_output_insn): Ditto.
97 (dot_cfi): Ditto.
98 (cfi_get_label): Add 'simple' modifier to .cfi_startproc.
99 (dot_cfi_endproc): Reuse already emitted CIEs.
100 * testsuite/gas/cfi/cfi-i386.d: New pattern.
101 * testsuite/gas/cfi/cfi-x86-64.d: Ditto.
102
f53e95c7
NC
1032003-05-20 Nick Clifton <nickc@redhat.com>
104
105 * config/tc-xstormy16.c: Include dwarf2dbg.h.
106 (md_pseudo_table): Add entries for .loc and .line.
107
7c0295b1
AM
1082003-05-20 Alan Modra <amodra@bigpond.net.au>
109
110 * dw2gencfi.c (cfi_parse_arg): Only use tc_regname_to_dw2regnum if
111 defined.
112 (dot_cfi_endproc): Avoid C99 construct.
113
54cfded0
AM
1142003-05-20 Michal Ludvig <mludvig@suse.cz>
115
116 * dw2gencfi.c, dw2gencfi.h: New files.
117 * config/tc-i386.c (tc_x86_cfi_init): New function.
118 * config/tc-i386.h (TARGET_USE_CFIPOP, tc_cfi_init): New defines.
119 * as.c (parse_args): Set verbose flag on --verbose.
120 (main): Call tc_cfi_init()/cfi_finish().
121 * as.h (verbose): New external variable.
122 * read.c (pobegin): Insert CFI pops to the list.
123 * symbols.c (local_symbol_make): Make symbol external.
124 * symbols.h (local_symbol_make): New prototype.
125 * Makefile.am: Add dw2gencfi.[ch] files. Run "make dep-am".
126 * Makefile.in: Regenerate.
127 * doc/as.texinfo: Added node "CFI directives" with description of
128 all implemented .cfi_* directives.
129 * doc/Makefile.in: Regenerate.
130 * po/POTFILES.in: Regenerate.
131
a1f3c24c
SS
1322003-05-19 Svein E. Seldal <Svein.Seldal@solidas.com>
133
54cfded0
AM
134 * config/tc-tic4x.c (md_assemble): Added support for one-line parallel
135 insns.
1975ab25 136 * config/tc-tic4x.h: Added DOUBLEBAR_PARALLEL definition
a1f3c24c 137
b645cb17
JE
1382003-05-18 Jason Eckhardt <jle@rice.edu>
139
140 * config/tc-i860.c (i860_process_insn): Initialize fc after
141 each opcode mismatch.
142
80c7c40a
NC
1432003-05-16 Kelley Cook <kelleycook@wideopenwest.com>
144
145 * configure.in: Accept i[3-7]86 variants.
146 * configure: Regenerate.
147
c344a4c8
TS
1482003-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
149
150 * config/tc-mips.h: Fix comment formatting.
151
64e55042
HPN
1522003-05-13 Hans-Peter Nilsson <hp@axis.com>
153
154 * read.c (old_buffer, old_input, old_limit): Remove variables.
54cfded0 155 (read_a_source_file): Delete label contin.
64e55042
HPN
156 <handling #APP/#NO_APP>: Use an "sb" to push #APP expansion into
157 input as with macros, instead of in separate old_* variables.
158 Zero-terminate string being scrubbed.
159
e66c629e
NC
1602003-05-12 Nick Clifton <nickc@redhat.com>
161
162 * config/tc-xstormy16.c (skipping_fptr): New local variable.
163 (md_assemble): Reset skipping_fptr.
164 (md_operand): If @fptr() is followed by a minus sign, set
165 skipping_fptr and ignore the fptr. If skipping_fptr is set and an
166 @fptr is detected, ignore it and reset skipping_fptr.
167
673a54e3
JE
1682003-05-11 Jason Eckhardt <jle@rice.edu>
169
170 * config/tc-i860.c (MAX_FIXUPS): Define.
171 (struct i860_fi fi[]): New struct.
172 (struct i860_it the_insn): Add above as member and move fields
173 exp, reloc, pcrel and fup into i860_fi.
174 (md_assemble): Replace all instances of exp, reloc, pcrel
175 and fup with fi[].exp, fi[].reloc, fi[].pcrel, fi[].fup.
176 Add a loop to possibly emit multiple fix-ups for each insn.
177 (i860_process_insn): Likewise.
178 (i860_get_expression): Likewise.
179 (md_apply_fix3): Use a bitwise check for OP_IMM_U5, not equality.
180
2ebb4b88
MS
1812003-05-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
182
183 * config/tc-s390.c (s390_target_format): Always call init_default_arch.
184
35f5df7f
L
1852003-05-07 H.J. Lu <hongjiu.lu@intel.com>
186
187 * config/tc-ia64.c (alias_hash): New.
188 (alias_name_hash): New.
189 (secalias_hash): New.
190 (secalias_name_hash): New.
191 (md_pseudo_table): Add "secalias".
192 (md_begin): Initialize alias_hash, alias_name_hash,
193 secalias_hash and secalias_name_hash.
194 (struct alias): New.
195 (dot_alias): Implement .alias and .secalias directives.
196 (do_alias): New.
197 (ia64_adjust_symtab): New.
198 (do_secalias): New.
199 (ia64_frob_file): New.
200
201 * config/tc-ia64.h (ia64_adjust_symtab): New.
202 (tc_adjust_symtab): Defined.
203 (ia64_frob_file): New.
204 (tc_frob_file): Defined.
205
d2bf1bda
NC
2062003-05-07 Dmitry Diky <diwil@mail.ru>
207
208 * tc-msp430.c: Add missing lines to known cpus list.
209
cac012d6
AO
2102003-05-06 Alexandre Oliva <aoliva@redhat.com>
211
212 * configure.in (MIPS_DEFAULT_ABI): AC_DEFINE.
213 * config/tc-mips.c (mips_after_parse_args): Set mips_abi to it.
214 * config.in, configure: Rebuilt.
215
d8dbbec1
L
2162003-05-05 H.J. Lu <hjl@gnu.org>
217
218 * config/tc-mips.c (tc_gen_reloc): Add addend just once if
219 howto->partial_inplace is false.
220
9204e615
DJ
2212003-05-05 Daniel Jacobowitz <drow@mvista.com>
222
223 * config/tc-mips.c (mips_need_elf_addend_fixup): Remove
224 symbol_used_in_reloc_p check.
225 (md_apply_fix3): Remove check for howto->pcrel_offset.
226
711ef82f
L
2272003-05-03 H.J. Lu <hjl@gnu.org>
228
229 * config/obj-elf.c (obj_elf_parse_section_letters): Make it a
230 fatal error for unknown section attribute.
231
232 * config/tc-alpha.c (alpha_elf_section_letter): Return -1 for
233 unknown section attribute.
234 * config/tc-ia64.c (ia64_elf_section_letter): Likewise.
235 * config/tc-ppc.c (ppc_section_letter): Likewise.
236
237 * config/tc-ia64.c (ia64_elf_section_letter): Handle 'o'.
238 (ia64_elf_section_type): Accept "unwind".
239
83b5ab55
L
2402003-05-02 H.J. Lu <hjl@gnu.org>
241
242 * read.h (demand_copy_string): New.
243
244 * config/tc-alpha.c (demand_copy_string): Removed.
245
7ff0565e
MS
2462003-05-02 Michael Snyder <msnyder@redhat.com>
247
54cfded0 248 * write.h (FAKE_LABEL_NAME): Allow override
7ff0565e
MS
249 (for targets that like eg. a leading dot in a local label).
250
2968149b
NC
2512003-05-02 Nick Clifton <nickc@redhat.com>
252
253 * config/tc-xstormy16.c (xstormy16_md_apply_fix3): Do not bias the
254 addend with the symbol's value for pc-relative relocations against
255 a defined symbol - this will be done automatically.
256
e7b9a8c1
L
2572003-05-01 H.J. Lu <hjl@gnu.org>
258
259 * config/obj-elf.c (obj_elf_type): Accept "notype" and
260 "STT_NOTYPE".
261
612d7b83
L
2622003-05-01 H.J. Lu <hjl@gnu.org>
263
264 * config/tc-ia64.h (tc_canonicalize_section_name): New.
265
266 * config/obj-elf.c (obj_elf_section_name): Call
267 tc_canonicalize_section_name if it is defined.
268
a645d1eb
L
2692003-05-01 H.J. Lu <hjl@gnu.org>
270
271 * config/tc-ia64.c (ia64_check_label): New.
272 * config/tc-ia64.h (tc_check_label): New.
273
274 * read.c (read_a_source_file): Call tc_check_label after
275 creating a user-defined label if defined.
276
df12615d
AM
2772003-05-02 Alan Modra <amodra@bigpond.net.au>
278
279 * config/tc-ppc.c (md_show_usage): Mention -a32, -a64, -l, -le, -b,
280 -be and split strings to below 509 bytes in length.
281
f70c8412
CG
2822003-05-01 Christian Groessler <chris@groessler.org>
283
284 * expr.h: Fix comments in operatorT typedef.
54cfded0 285 * config/tc-z8k.c: Add 2003 to copyright message.
f70c8412
CG
286 Fold s_segm() and s_unseg() into one function s_segm(parm) which
287 decides by the parameter.
288 (md_begin): Don't set linkrelax. Only set Z8002 default if no
289 command line argument was given to select the intended
290 architecure.
291 (get_interrupt_operand): Warn if NOP type code is emitted.
292 (newfix): New parameter 'size', forward it to 'fix_new_exp'.
293 (apply_fix): Call newfix with additional 'size' parameter.
294 (build_bytes): Remove unused variable 'nib'. Detect overflow in
295 4 bit immediate arguments.
296 (md_longopts): Add 'linkrelax' option.
297 (md_parse_option): Adapt to new s_segm function. Set 'linkrelax'
298 variable when 'linkrelax' command line option is specified.
299 (md_show_usage): Display 'linkrelax' option.
300 (md_apply_fix3): Fix cases R_IMM4L, R_JR, and R_IMM8. Add cases
301 R_CALLR and R_REL16.
302 * config/tc-z8k.h: Undef WARN_SIGNED_OVERFLOW_WORD.
303
10a98291
L
3042003-04-30 H.J. Lu <hjl@gnu.org>
305
306 * config/tc-ia64.c (ia64_number_to_chars): New function pointer.
307 (ia64_float_to_chars): Likewise.
308 (dot_byteorder): Set target_big_endian, ia64_number_to_chars
309 and ia64_float_to_chars by tc_segment_info_data.endian from
310 the current segment if byteorder == -1.
311 (md_begin): Call dot_byteorder to set target_big_endian.
312 (md_atof): Call ia64_float_to_chars to convert floating point.
313 (ia64_float_to_chars_bigendian): New function.
314 (ia64_float_to_chars_littleendian): Likewise.
315 (ia64_elf_section_change_hook): Likewise.
316
317 * config/tc-ia64.h (ia64_number_to_chars): New.
318 (md_number_to_chars): Changed to (*ia64_number_to_chars)
319 (ia64_elf_section_change_hook): New.
320 (md_elf_section_change_hook): Defined.
321 (ia64_segment_info_type): New struct.
322 (TC_SEGMENT_INFO_TYPE): Defined.
323
bf57c3c9
L
3242003-04-30 H.J. Lu <hjl@gnu.org>
325
326 * config/tc-ia64.c (md_section_align): Deleted.
327
328 * config/tc-ia64.h (SUB_SEGMENT_ALIGN): New.
329 (md_section_align): New.
330
165a7f90
L
3312003-04-30 H.J. Lu <hjl@gnu.org>
332
333 * config/tc-ia64.c (stmt_float_cons): Fix alignment for real10
334 and add real16.
335 (md_pseudo_table): Add "xreal16", "xreal16.ua", "real16" and
336 "real16.ua".
337 (md_atof): Add 6 byte padding of zero for real16.
338
eba874d8
NC
3392003-04-29 Nick Clifton <nickc@redhat.com>
340
341 * config/obj-elf.c (obj_elf_symver): Skip whitespace before the
342 start of a version name.
343
dbeba5e5
CD
3442003-04-28 Chris Demetriou <cgd@broadcom.com>
345
346 * configure.in (mips-*-*n*bsd*): Replace with...
347 (mips-*-netbsd*, mips-*-openbsd*): These.
348 * configure: Regenerate.
349
f0d7d5f9
NC
3502003-04-28 H.J. Lu <hjl@gnu.org>
351
352 * config/tc-hppa.c (hppa_symbol_chars): New.
353 * config/tc-hppa.h (tc_symbol_chars): Likewise.
354
a38b42ab
TS
3552003-04-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
356
357 * config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Define again.
358
69be0a2b
CD
3592003-04-25 Chris Demetriou <cgd@broadcom.com>
360
361 * NEWS: Belatedly mention support for MIPS32 Release 2.
362
684022ea
EC
3632003-04-24 Eric Christopher <echristo@redhat.com>
364
365 * config/tc-mips.c (nopic_need_relax): Revert previous
366 change.
367
2c8714f2
NC
3682003-04-24 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
369
370 * config/tc-h8300.h (DWARF2_LINE_MIN_INSN_LENGTH): New
684022ea 371 * config/tc-h8300.c (dwarf2dbg.h): Include
2c8714f2
NC
372 (md_pseudo_table): Handle .loc and .file
373 (md_assemble): Call dwarf2_emit_insn if BFD_ASSEMBLER.
374 * Makefile.am: Add dependency on dwarf2dbg.h for h8300 targets.
375 * Makefile.in: Regenerate.
376
684022ea 3772003-04-24 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
8d9cd6b1
NC
378
379 * config/tc-h8300.c (Nmode, h8300hnmode, h8300snmode): New.
380 (md_pseudo_table): Add h8300hn, h8300sn.
381 * config/tc-h8300.h (COFF_MAGIC): Handle h8300hn, h8300sn.
382 * doc/c-h8300.texi : Add documentation for new machine directives.
383
5ce8663f
NC
3842003-04-24 Nick Clifton <nickc@redhat.com>
385
386 * config/tc-ppc.c (ppc_symbol_chars): Define.
387 * config/tc-ppc.h (tc_symbol_chars): Define.
388
ef230218
JR
3892003-04-23 J"orn Rennecke <joern.rennecke@superh.com>
390
391 * config/tc-sh.c: Amend comment to refer to SuperH.
392 * config/tc-sh.h: Likewise.
393 (LISTING_HEADER): Amend to refer to SuperH.
394 * config/tc-sh64.c: Change comment to refer to SuperH.
395 * config/tc-sh64.h (LISTING_HEADER): Change to refer to SuperH.
396 * doc/as.texinfo [SH, GENERIC]: Amend / Change to refer to SuperH.
397 * doc/c-sh.texi: Amend to refer to SuperH.
398 Add SuperH architecture documentation references.
399 * doc/c-sh64.texi: Change to refer to SuperH.
400
204cd129
NC
4012003-04-23 H.J. Lu <hjl@gnu.org>
402
403 * app.c (do_scrub_chars): More checks for valid labels.
404
2cdb18a7
L
4052003-04-22 H.J. Lu <hjl@gnu.org>
406
407 * app.c (do_scrub_chars): Check for valid label.
408
26597c86
NC
4092003-04-22 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
410
411 * doc/as.texinfo: Replace references to Mitsubishi M32R with
412 references to Renesas M32R.
413 * doc/c-m32r.texi: Likewise.
414
88b4ca40
RH
4152003-04-21 Richard Henderson <rth@redhat.com>
416
54cfded0
AM
417 * dwarf2dbg.c (get_filenum): Skip as-yet unassigned file numbers.
418 (out_file_list): Assign non-null filename after generating error.
88b4ca40 419
e5f08f7e
JJ
4202003-04-18 Jakub Jelinek <jakub@redhat.com>
421
422 * ehopt.c (check_eh_frame): For aug_size == 0
423 in state_seeing_aug_size state skip the state_skipping_aug
424 state.
425
c2dcd04e
NC
4262003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com>
427
428 * doc/c-h8300.texi: Replace occurrances of 'Hitachi' with
429 'Renesas'.
430 * doc/c-h8500.texi: Likewise.
431 * doc/c-sh.texi: Likewise.
432 * doc/c-sh64.texi: Likewise.
433 * doc/h8.texi: Likewise.
434 * config/tc-h8300.c: Likewise.
435 * config/tc-h8300.h: Likewise.
436 * config/tc-h8500.c: Likewise.
437 * config/tc-h8500.h: Likewise.
438 * config/tc-sh.c: Likewise.
439 * config/tc-sh.h: Likewise.
440 * config/tc-sh64.c: Likewise.
441 * config/tc-sh64.h: Likewise.
442
f5040a92
AO
4432003-04-10 Alexandre Oliva <aoliva@redhat.com>
444
445 * config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): New.
446 * config/tc-mips.c: Use signed add for n32 address arithmetic.
447 (append_insn): When filling delay slots with instructions
448 that have fixups that tc_gen_reloc might consider modifyable
449 in variant frags, start a new frag.
450 (load_address): Generate GOT_DISP with of without offset
451 depending on whether symbol is local. For -xgot, use
452 GOT_PAGE/GOT_OFST or GOT_HI16/GOT_LO16.
453 (macro) <M_DLA_AB, M_LA_AB>: Likewise.
454 <M_JAL_A>: In NewABI, use CALL16 or GOT_DISP for small got,
455 CALL_HI16/CALL_LO16 or GOT_PAGE/GOT_OFST for big got.
456 <ld_st>: In NewABI with small got, always use
457 GOT_PAGE/GOT_OFST, with the latter in the load/store
458 instruction. With big got, use GOT_HI16/GOT_LO16 or
459 GOT_PAGE/GOT_OFST.
460 (tc_gen_reloc): Adjust variant frags with GOT_DISP in NewABI.
461 Add tc_frag_data.tc_fr_offset to addends. Decay CALL16,
462 GOT_OFST and GOT_DISP to GOT_DISP in NewABI.
463 (md_convert_frag): Use memmove for safe copying of overlapping
464 regions.
465
35b55ed2
SC
4662003-04-09 Stephane Carrez <stcarrez@nerim.fr>
467
468 * doc/c-m68hc11.texi (M68HC11-Opts): Document -m68hcs12, -mshort,
469 -mlong, -mshort-double and -mlong-double options; use table @code.
470 (M68HC11-Syntax): Update to document 68HC12 operands.
471 (M68HC11-Modifiers): New section for operand modifiers.
472 (M68HC11-Directives): New section for specific assembler directives.
473 (M68HC11-Branch): Fix Overfull hbox error.
474
9214dd3b
AO
4752003-04-09 Alexandre Oliva <aoliva@redhat.com>
476
477 * config/tc-mips.c (macro): Add comments explaining the rationale
478 for Chris' change.
479
eb0a7d52
AO
4802003-04-09 Chris Demetriou <cgd@broadcom.com>
481
482 * config/tc-mips.c (macro): Put back `+ 0x8000' in test for 64-bit
483 constant address that Alexandre took out by accident. Reject
484 64-bit addresses that are not sign extensions of 32 bits only if
485 we don't support 64-bit address constants.
486
a7fc733f
AM
4872003-04-09 Alan Modra <amodra@bigpond.net.au>
488
489 * config/tc-ppc.c (md_apply_fix3): Generate ADDR16 relocs.
490
9cc92a36
NC
4912003-04-08 Nick Clifton <nickc@redhat.com>
492
493 * as.c (perform_an_assembly_pass): If using cgen, call
494 gas_cgen_begin.
495 * cgen.c (gas_cgen_begin): New function. If
496 flag_signed_overflow_ok is set call cgen_set_signed_overflow_ok
497 otherwise call cgen_clear_signed_overflow_ok.
498 * cgen.h: Prototype gas_cgen_begin.
499
fe59a223
TS
5002003-04-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
501
502 * write.c (write_relocs): Remove unused variable.
503
5a7a0b7b
AO
5042003-04-06 Chris Demetriou <cgd@broadcom.com>
505
506 * config/tc-mips.c (HAVE_64BIT_ADDRESS_CONSTANTS): New.
507 (macro): Use new macro to decide whether to emit constant address
508 as 32 or 64 bits if addresses are 32-bit wide but registers are
509 64-bit wide.
510
577300ce
SC
5112003-04-05 Stephane Carrez <stcarrez@nerim.fr>
512
513 * config/tc-m68hc11.c (M6811_OP_CALL_ADDR): New internal define.
514 (M6811_OP_PAGE_ADDR): New internal define.
684022ea 515 (get_operand): New modifier %page and %addr to obtain page and
577300ce 516 address part of a far-function.
684022ea 517 (fixup8): Use BFD_RELOC_M68HC11_PAGE for a %page modifier; don't
577300ce
SC
518 complain on overflow for the BFD_RELOC_M68HC11_PAGE and truncation
519 relocs.
520 (fixup16): Use BFD_RELOC_M68HC11_LO16 for a %addr modifier.
521 (find_opcode): Add comment.
522 (md_estimate_size_before_relax): Force relocation of
523 STATE_UNDEXED_OFFSET types when the symbol is not absolute.
524 (tc_m68hc11_fix_adjustable): Check for BFD_RELOC_M68HC11_LO16
525 instead of BFD_RELOC_LO16; temporarily make the BFD_RELOC_32
526 on the symbol itself so that DWARF2 strings are merged correctly.
527
be33c5dd
SS
5282003-04-04 Svein E. Seldal <Svein.Seldal@solidas.com>
529
530 * config/obj-coff.h (TARGET_FORMAT): Namespace cleanup, changed
531 default tic4x target format to 'coff2-tic4x'.
532 * config/tc-tic4x.c: Namespace cleanup. Replace s/c4x/tic4x/ and
533 s/c3x/tic3x/
534 * config/tc-tic4x.h: Ditto
535
e8fd7476
NC
5362003-04-03 Nick Clifton <nickc@redhat.com>
537
538 * NEWS: Mention support for Xtensa architecture.
539
47281638
PB
5402003-04-02 Philip Blundell <philb@gnu.org>
541
542 * config/tc-arm.c (arm_force_relocation): Return 0 for OFFSET_IMM.
543
af22f5b2
CD
5442003-04-02 Chris Demetriou <cgd@broadcom.com>
545
546 * config/tc-mips.c (macro2): Adjust implementation of
547 M_ULH, M_ULHU, M_ULW, and M_ULD so that they work properly
548 in the case where the source and destination registers
549 are the same.
550
e0001a05
NC
5512003-04-01 Bob Wilson <bob.wilson@acm.org>
552
54cfded0
AM
553 * Makefile.am (CPU_TYPES): Add xtensa.
554 (TARGET_CPU_CFILES): Add config/tc-xtensa.c.
555 (TARGET_CPU_HFILES): Add config/tc-xtensa.h.
556 (xtensa-relax.o): New target.
557 Run "make dep-am".
558 * Makefile.in: Regenerate.
559 * configure.in: Handle xtensa-*-*. Add xtensa-relax.o to
560 extra_objects for xtensa targets.
561 * configure: Regenerate.
562 * write.c (write_object_file): Add new md_post_relax_hook.
563 * config/tc-xtensa.c: New file.
564 * config/tc-xtensa.h: Likewise.
565 * config/xtensa-istack.h: Likewise.
566 * config/xtensa-relax.c: Likewise.
567 * config/xtensa-relax.h: Likewise.
568 * doc/Makefile.am (CPU_DOCS): Add c-xtensa.texi.
569 * doc/Makefile.in: Regenerate.
570 * doc/all.texi: Set new XTENSA variable.
571 * doc/as.texinfo: Set new Xtensa variable. Describe
572 Xtensa-specific options. Define line comment character for
573 Xtensa. Add Xtensa processors to list of ELF targets where
574 alignment is specified in bytes. Add new Xtensa-Dependent node.
575 Add acknowledgements for those contributing to the Xtensa port.
576 * doc/internals.texi: Describe new md_post_relax_hook.
577 * doc/c-xtensa.texi: New file.
e0001a05 578
5a6c6817
NC
5792003-04-01 Nick Clifton <nickc@redhat.com>
580 Richard Earnshaw <rearnsha@arm.com>
581
582 * config/tc-arm.c: Remove presence of (r) and (tm) symbols.
583 (ARM_ARCH_IWMMXT): Simplify.
584 (insns): Place iwmmx instructions in correct place in table.
585 (arm_add_note): New function: Add a note entry to a .note section.
586 (md_begin): Make the default architecture be unknown.
587 Suppress the creation of an arm note section.
588
97bbfa38
EC
5892003-03-26 Eric Christopher <echristo@redhat.com>
590
54cfded0 591 * config/tc-mips.c (nopic_need_relax): Check for S_IS_EXTERN.
97bbfa38 592
e16bb312
NC
5932003-03-25 Stan Cox <scox@redhat.com>
594 Nick Clifton <nickc@redhat.com>
97bbfa38 595
e16bb312
NC
596 Contribute support for Intel's iWMMXt chip - an ARM variant:
597
598 * config/tc-arm.c: (ARM_CEXT_IWMMXT, ARM_ARCH_IWMMXT, WR_PREFIX,
599 WC_PREFIX, REG_TYPE_IWMMXT): New constants.
600 (enum wreg_type, enum iwmmxt_insn_type): New types.
601 (wr_register, wc_register, wcg_register): New macros.
602 (iwmmxt_table): New variable.
603 (wreg_required_here, do_iwmmxt_byte_addr, do_iwmmxt_tandc,
604 do_iwmmxt_tbcst, do_iwmmxt_textrc, do_iwmmxt_textrm,
605 do_iwmmxt_tinsr, do_iwmmxt_tmcr, do_iwmmxt_tmcrr, do_iwmmxt_tmia,
606 do_iwmmxt_tmovmsk, do_iwmmxt_tmrc, do_iwmmxt_tmrrc,
607 do_iwmmxt_torc, do_iwmmxt_waligni, do_iwmmxt_wmov,
608 do_iwmmxt_word_addr, do_iwmmxt_wrwr, do_iwmmxt_wrwrwcg,
609 do_iwmmxt_wrwrwr, do_iwmmxt_wshufh, do_iwmmxt_wzero,
610 cp_byte_address_offset, cp_byte_address_required_here,
611 check_iwmmxt_insn): New functions.
97bbfa38 612 (asm_opcode_insns): Add iWMMXt instructions.
e16bb312
NC
613 (md_begin): Set the mach value for iWMMXt targets. Create a note
614 section to identify iwmmxt binaries.
615 (md_apply_fix3): Handle BFD_RELOC_ARM_CP_OFF_IMM_S2.
616 * doc/c-arm.texi: Document the support for the iWMMXt.
617 * NEWS: Mention new support.
618