* alphanbsd-tdep.c (alphanbsd_skip_sigtramp_frame): Delete.
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
7ee7b84d
MS
12003-05-14 Michael Snyder <msnyder@redhat.com>
2 From Bernd Schmidt <bernds@redhat.com>
3 and Michael Snyder <msnyder@redhat.com>
4 and Alexandre Oliva <aoliva@redhat.com>
5 * config/tc-h8300.c: Add insns and addressing modes for h8300sx.
6 * config/tc-h8300.h: Ditto.
7
e30ddb24
NC
82003-06-03 Nick Clifton <nickc@redhat.com>
9
10 * tc-v850.c (tc-gen_reloc): Translate BFD_RELOC_32 into
11 BFD_RELOC_32_PCREL if the reloc is pc-relative. Do this
12 before calling bfd_reloc_type_lookup.
13
ed7d5d1a
AM
142003-06-02 Alan Modra <amodra@bigpond.net.au>
15
16 * read.c (emit_expr): Set dot_value.
17 * dw2gencfi.c (output_fde): Remove pcrel reloc hack.
18
c1ed1235
AM
192003-06-02 Alan Modra <amodra@bigpond.net.au>
20
21 * macro.c (sub_actual): Don't lose string if it turns out that
22 &string wasn't an arg.
23
eafbc43f
RH
242003-05-31 Richard Henderson <rth@redhat.com>
25
26 * dw2gencfi.c (output_fde): Use fix_new to emit pc-relative reloc.
27 (cfi_finish): Set flag_traditional_format around .eh_frame data.
28
f37f01cf
RH
292003-05-29 Richard Henderson <rth@redhat.com>
30
31 * config/tc-alpha.c (alpha_cur_ent_sym): Remove.
32 (all_frame_data, plast_frame_data, cur_frame_data): New.
33 (s_alpha_ent): Record data for dwarf2 cfi.
9f470756
L
34 (s_alpha_end, s_alpha_mask, s_alpha_frame, s_alpha_prologue): Likewise.
35 (alpha_elf_md_end): Emit dwarf2 cfi for ecoff unwind directives.
f37f01cf
RH
36 * config/tc-alpha.h (md_end): New.
37 (DWARF2_DEFAULT_RETURN_COLUMN): New.
38 (DWARF2_CIE_DATA_ALIGNMENT): New.
39
a197c351
NC
402003-05-29 Nick Clifton <nickc@redhat.com>
41
42 * configure.in: Add i386-*-freebsd* entry.
43 * configure: Regenerate.
44
4bf4a882 452003-05-29 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
ed7d5d1a
AM
46
47 * config/tc-m32r.c: Amend comment to refer to Renesas
4bf4a882 48
756d1d01
RH
492003-05-27 Richard Henderson <rth@redhat.com>
50
51 * expr.c (make_expr_symbol): Fold FAKE_LABEL_NAME use into the
52 symbol_create call.
53 (current_location): Use symbol_temp_new_now.
54 * stabs.c (s_stab_generic): Use symbol_temp_new.
55 * symbols.c (temp_label_name): Remove.
56 (symbol_temp_new, symbol_temp_make): Use FAKE_LABEL_NAME.
57
a4447b93
RH
582003-05-27 Richard Henderson <rth@redhat.com>
59
60 * dw2gencfi.c, dw2gencfi.h: Rewrite from scratch.
61 * as.c (main): Always call cfi_finish.
62 * config/tc-i386.c (x86_dwarf2_return_column): New.
63 (x86_cie_data_alignment): New.
64 (md_begin): Set them.
65 (tc_x86_cfi_init): Remove.
66 (tc_x86_regname_to_dw2regnum): Fix 32-bit register numbers;
67 return int, not unsigned long; don't as_bad here.
68 (tc_x86_frame_initial_instructions): Streamline; use
69 updated api.
70 * config/tc-i386.h (tc_cfi_init): Remove.
71 (DWARF2_DEFAULT_RETURN_COLUMN): New.
72 (DWARF2_CIE_DATA_ALIGNMENT): New.
73
b7d6ed97
RH
742003-05-27 Richard Henderson <rth@redhat.com>
75
76 * symbols.c (temp_label_name): New.
77 (symbol_temp_new, symbol_temp_new_now, symbol_temp_make): New.
78 (symbol_set_value_now): New.
79 * symbols.h: Prototype them.
80 * dwarf2dbg.c: Use them.
81 (fake_label_name, symbol_new_now, set_symbol_value_now): Remove.
82
14218d5f
JE
832003-05-23 Jason Eckhardt <jle@rice.edu>
84
85 * config/tc-i860.c (target_xp): Declare variable.
86 (OPTION_XP): Declare macro.
87 (md_longopts): Add option -mxp.
88 (md_parse_option): Set target_xp.
89 (md_show_usage): Add -mxp usage.
90 (i860_process_insn): Recognize XP registers bear, ccr, p0-p3.
91 (md_assemble): Don't try expansions if XP_ONLY is set.
92 * doc/c-i860.texi: Document -mxp option and i860XP support.
93
36ede617
EC
942003-05-23 Eric Christopher <echristo@redhat.com>
95
96 * config/tc-mips.c (macro_build_jalr): Warning patrol.
97
a105a300
TS
982003-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
99
100 * config/tc-mips.c (append_insn): Use actual relocation size for new
101 fixp's. Don't relax overflow checking for partial_inplace relocations.
102 Use the actual relocation type in combined relocs, not just the type
103 of the first one.
104 (macro_build_jalr): Use actual relocation size for new fix.
105 (s_cpsetup, s_gpdword): Likewise.
106
dc9461f6
TS
1072003-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
108
109 * config/tc-mips.c (macro): Don't use uninitialized tempreg.
110
ceb41009
NC
1112003-05-22 Nick Clifton <nickc@redhat.com>
112
113 * config/tc-xstormy16.c (md_pcrel_from_section): Do not produce
114 section relative offsets for relocs that will not be based on the
115 section symbol.
116 (xstormy16_md_apply_fix3): Remove previous patch to this
117 function.
118
143d77c5
EC
1192003-05-07 Eric Christopher <echristo@redhat.com>
120
ed7d5d1a
AM
121 * config/tc-mips.c (mips_abicalls): New variable.
122 (md_parse_option): Use.
123 (s_option): Ditto.
124 (s_abicalls): Ditto.
125 (mips_elf_final_processing): Set EF_MIPS_PIC and
126 EF_MIPS_CPIC dependent on above.
143d77c5 127
85c77c38
DA
1282003-05-21 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
129
130 * tc-hppa.c (hppa_symbol_chars): Remove `,' and `!'.
131
87ccc1b0
NC
1322003-05-21 Nick Clifton <nickc@redhat.com>
133
ed7d5d1a
AM
134 * config/obj-elf.c: Include dwarf2dbg.h.
135 (elf_pseudo_tab): Add .file and .loc.
136 * config/tc-arc.c (md_pseudo_table): Remove .file and .loc.
137 * config/tc-arm.c: Likewise.
138 * config/tc-h8300.c: Likewise.
139 * config/tc-hppa.c: Likewise.
140 * config/tc-ia64.c: Likewise.
141 * config/tc-m68hc11.c: Likewise.
142 * config/tc-m68k.c: Likewise.
143 * config/tc-mmix.c: Likewise.
144 * config/tc-mn10300.c: Likewise.
145 * config/tc-ppc.c: Likewise.
146 * config/tc-sh.c: Likewise.
147 * config/tc-sparc.c: Likewise.
148 * config/tc-v850.c: Likewise.
149 * config/tc-frv.c: Likewise, and remove redundant inclusion of
150 dwarf2dbg.h.
151 * config/tc-ip2k.c: Likewise.
152 * config/tc-iq2000.c: Likewise.
153 * config/tc-xstormy16.c: Likewise.
154 * config/tc-xtensa.c: Likewise.
87ccc1b0 155 * Makefile.am: Regenerate dependencies.
ed7d5d1a
AM
156 * Makefile.in: Regenerate.
157 * aclocal.m4: Regenerate.
158 * config.in: Regenerate.
159 * configure: Regenerate.
160 * po/POTFILES.in: Regenerate.
161 * po/gas.pot: Regenerate.
143d77c5 162
7ed2c8b0
NC
1632003-05-21 Nick Clifton <nickc@redhat.com>
164
165 * dw2gencfi.c (cfi_get_label): Use symbol_make for non
166 BFD_ASSEMBLER targets.
167 (cfi_startproc): Change type of saved_seg and cfi_seg to segT.
168 (dot_cfi_endproc): Only call bfd_set_section_flags for targets
169 defining BFD_ASSEMBLER.
170
39b82151
ML
1712003-05-20 Michal Ludvig <mludvig@suse.cz>
172
173 * as.c (main): Remove tc_cfi_init().
143d77c5 174 * dw2gencfi.c (cfi_parse_arg): Allow regnames beginning
39b82151
ML
175 with '%'.
176 (cfi_pseudo_table): Add "cfi_register" entry.
177 (cfi_make_insn): Handle CFA_register.
178 (cfi_output_insn): Ditto.
179 (dot_cfi): Ditto.
180 (cfi_get_label): Add 'simple' modifier to .cfi_startproc.
181 (dot_cfi_endproc): Reuse already emitted CIEs.
182 * testsuite/gas/cfi/cfi-i386.d: New pattern.
183 * testsuite/gas/cfi/cfi-x86-64.d: Ditto.
184
f53e95c7
NC
1852003-05-20 Nick Clifton <nickc@redhat.com>
186
187 * config/tc-xstormy16.c: Include dwarf2dbg.h.
188 (md_pseudo_table): Add entries for .loc and .line.
189
7c0295b1
AM
1902003-05-20 Alan Modra <amodra@bigpond.net.au>
191
192 * dw2gencfi.c (cfi_parse_arg): Only use tc_regname_to_dw2regnum if
193 defined.
194 (dot_cfi_endproc): Avoid C99 construct.
195
54cfded0
AM
1962003-05-20 Michal Ludvig <mludvig@suse.cz>
197
198 * dw2gencfi.c, dw2gencfi.h: New files.
199 * config/tc-i386.c (tc_x86_cfi_init): New function.
200 * config/tc-i386.h (TARGET_USE_CFIPOP, tc_cfi_init): New defines.
201 * as.c (parse_args): Set verbose flag on --verbose.
202 (main): Call tc_cfi_init()/cfi_finish().
203 * as.h (verbose): New external variable.
204 * read.c (pobegin): Insert CFI pops to the list.
205 * symbols.c (local_symbol_make): Make symbol external.
206 * symbols.h (local_symbol_make): New prototype.
207 * Makefile.am: Add dw2gencfi.[ch] files. Run "make dep-am".
208 * Makefile.in: Regenerate.
209 * doc/as.texinfo: Added node "CFI directives" with description of
210 all implemented .cfi_* directives.
211 * doc/Makefile.in: Regenerate.
212 * po/POTFILES.in: Regenerate.
213
a1f3c24c
SS
2142003-05-19 Svein E. Seldal <Svein.Seldal@solidas.com>
215
54cfded0
AM
216 * config/tc-tic4x.c (md_assemble): Added support for one-line parallel
217 insns.
1975ab25 218 * config/tc-tic4x.h: Added DOUBLEBAR_PARALLEL definition
a1f3c24c 219
b645cb17
JE
2202003-05-18 Jason Eckhardt <jle@rice.edu>
221
222 * config/tc-i860.c (i860_process_insn): Initialize fc after
223 each opcode mismatch.
224
80c7c40a
NC
2252003-05-16 Kelley Cook <kelleycook@wideopenwest.com>
226
227 * configure.in: Accept i[3-7]86 variants.
228 * configure: Regenerate.
229
c344a4c8
TS
2302003-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
231
232 * config/tc-mips.h: Fix comment formatting.
233
64e55042
HPN
2342003-05-13 Hans-Peter Nilsson <hp@axis.com>
235
236 * read.c (old_buffer, old_input, old_limit): Remove variables.
54cfded0 237 (read_a_source_file): Delete label contin.
64e55042
HPN
238 <handling #APP/#NO_APP>: Use an "sb" to push #APP expansion into
239 input as with macros, instead of in separate old_* variables.
240 Zero-terminate string being scrubbed.
241
e66c629e
NC
2422003-05-12 Nick Clifton <nickc@redhat.com>
243
244 * config/tc-xstormy16.c (skipping_fptr): New local variable.
245 (md_assemble): Reset skipping_fptr.
246 (md_operand): If @fptr() is followed by a minus sign, set
247 skipping_fptr and ignore the fptr. If skipping_fptr is set and an
248 @fptr is detected, ignore it and reset skipping_fptr.
249
673a54e3
JE
2502003-05-11 Jason Eckhardt <jle@rice.edu>
251
252 * config/tc-i860.c (MAX_FIXUPS): Define.
253 (struct i860_fi fi[]): New struct.
254 (struct i860_it the_insn): Add above as member and move fields
255 exp, reloc, pcrel and fup into i860_fi.
256 (md_assemble): Replace all instances of exp, reloc, pcrel
257 and fup with fi[].exp, fi[].reloc, fi[].pcrel, fi[].fup.
258 Add a loop to possibly emit multiple fix-ups for each insn.
259 (i860_process_insn): Likewise.
260 (i860_get_expression): Likewise.
261 (md_apply_fix3): Use a bitwise check for OP_IMM_U5, not equality.
262
2ebb4b88
MS
2632003-05-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
264
265 * config/tc-s390.c (s390_target_format): Always call init_default_arch.
266
35f5df7f
L
2672003-05-07 H.J. Lu <hongjiu.lu@intel.com>
268
269 * config/tc-ia64.c (alias_hash): New.
270 (alias_name_hash): New.
271 (secalias_hash): New.
272 (secalias_name_hash): New.
273 (md_pseudo_table): Add "secalias".
274 (md_begin): Initialize alias_hash, alias_name_hash,
275 secalias_hash and secalias_name_hash.
276 (struct alias): New.
277 (dot_alias): Implement .alias and .secalias directives.
278 (do_alias): New.
279 (ia64_adjust_symtab): New.
280 (do_secalias): New.
281 (ia64_frob_file): New.
282
283 * config/tc-ia64.h (ia64_adjust_symtab): New.
284 (tc_adjust_symtab): Defined.
285 (ia64_frob_file): New.
286 (tc_frob_file): Defined.
287
d2bf1bda
NC
2882003-05-07 Dmitry Diky <diwil@mail.ru>
289
290 * tc-msp430.c: Add missing lines to known cpus list.
291
cac012d6
AO
2922003-05-06 Alexandre Oliva <aoliva@redhat.com>
293
294 * configure.in (MIPS_DEFAULT_ABI): AC_DEFINE.
295 * config/tc-mips.c (mips_after_parse_args): Set mips_abi to it.
296 * config.in, configure: Rebuilt.
297
d8dbbec1
L
2982003-05-05 H.J. Lu <hjl@gnu.org>
299
300 * config/tc-mips.c (tc_gen_reloc): Add addend just once if
301 howto->partial_inplace is false.
302
9204e615
DJ
3032003-05-05 Daniel Jacobowitz <drow@mvista.com>
304
305 * config/tc-mips.c (mips_need_elf_addend_fixup): Remove
306 symbol_used_in_reloc_p check.
307 (md_apply_fix3): Remove check for howto->pcrel_offset.
308
711ef82f
L
3092003-05-03 H.J. Lu <hjl@gnu.org>
310
311 * config/obj-elf.c (obj_elf_parse_section_letters): Make it a
312 fatal error for unknown section attribute.
313
314 * config/tc-alpha.c (alpha_elf_section_letter): Return -1 for
315 unknown section attribute.
316 * config/tc-ia64.c (ia64_elf_section_letter): Likewise.
317 * config/tc-ppc.c (ppc_section_letter): Likewise.
318
319 * config/tc-ia64.c (ia64_elf_section_letter): Handle 'o'.
320 (ia64_elf_section_type): Accept "unwind".
321
83b5ab55
L
3222003-05-02 H.J. Lu <hjl@gnu.org>
323
324 * read.h (demand_copy_string): New.
325
326 * config/tc-alpha.c (demand_copy_string): Removed.
327
7ff0565e
MS
3282003-05-02 Michael Snyder <msnyder@redhat.com>
329
54cfded0 330 * write.h (FAKE_LABEL_NAME): Allow override
7ff0565e
MS
331 (for targets that like eg. a leading dot in a local label).
332
2968149b
NC
3332003-05-02 Nick Clifton <nickc@redhat.com>
334
335 * config/tc-xstormy16.c (xstormy16_md_apply_fix3): Do not bias the
336 addend with the symbol's value for pc-relative relocations against
337 a defined symbol - this will be done automatically.
338
e7b9a8c1
L
3392003-05-01 H.J. Lu <hjl@gnu.org>
340
341 * config/obj-elf.c (obj_elf_type): Accept "notype" and
342 "STT_NOTYPE".
343
612d7b83
L
3442003-05-01 H.J. Lu <hjl@gnu.org>
345
346 * config/tc-ia64.h (tc_canonicalize_section_name): New.
347
348 * config/obj-elf.c (obj_elf_section_name): Call
349 tc_canonicalize_section_name if it is defined.
350
a645d1eb
L
3512003-05-01 H.J. Lu <hjl@gnu.org>
352
353 * config/tc-ia64.c (ia64_check_label): New.
354 * config/tc-ia64.h (tc_check_label): New.
355
356 * read.c (read_a_source_file): Call tc_check_label after
357 creating a user-defined label if defined.
358
df12615d
AM
3592003-05-02 Alan Modra <amodra@bigpond.net.au>
360
361 * config/tc-ppc.c (md_show_usage): Mention -a32, -a64, -l, -le, -b,
362 -be and split strings to below 509 bytes in length.
363
f70c8412
CG
3642003-05-01 Christian Groessler <chris@groessler.org>
365
366 * expr.h: Fix comments in operatorT typedef.
54cfded0 367 * config/tc-z8k.c: Add 2003 to copyright message.
f70c8412
CG
368 Fold s_segm() and s_unseg() into one function s_segm(parm) which
369 decides by the parameter.
370 (md_begin): Don't set linkrelax. Only set Z8002 default if no
371 command line argument was given to select the intended
372 architecure.
373 (get_interrupt_operand): Warn if NOP type code is emitted.
374 (newfix): New parameter 'size', forward it to 'fix_new_exp'.
375 (apply_fix): Call newfix with additional 'size' parameter.
376 (build_bytes): Remove unused variable 'nib'. Detect overflow in
377 4 bit immediate arguments.
378 (md_longopts): Add 'linkrelax' option.
379 (md_parse_option): Adapt to new s_segm function. Set 'linkrelax'
380 variable when 'linkrelax' command line option is specified.
381 (md_show_usage): Display 'linkrelax' option.
382 (md_apply_fix3): Fix cases R_IMM4L, R_JR, and R_IMM8. Add cases
383 R_CALLR and R_REL16.
384 * config/tc-z8k.h: Undef WARN_SIGNED_OVERFLOW_WORD.
385
10a98291
L
3862003-04-30 H.J. Lu <hjl@gnu.org>
387
388 * config/tc-ia64.c (ia64_number_to_chars): New function pointer.
389 (ia64_float_to_chars): Likewise.
390 (dot_byteorder): Set target_big_endian, ia64_number_to_chars
391 and ia64_float_to_chars by tc_segment_info_data.endian from
392 the current segment if byteorder == -1.
393 (md_begin): Call dot_byteorder to set target_big_endian.
394 (md_atof): Call ia64_float_to_chars to convert floating point.
395 (ia64_float_to_chars_bigendian): New function.
396 (ia64_float_to_chars_littleendian): Likewise.
397 (ia64_elf_section_change_hook): Likewise.
398
399 * config/tc-ia64.h (ia64_number_to_chars): New.
400 (md_number_to_chars): Changed to (*ia64_number_to_chars)
401 (ia64_elf_section_change_hook): New.
402 (md_elf_section_change_hook): Defined.
403 (ia64_segment_info_type): New struct.
404 (TC_SEGMENT_INFO_TYPE): Defined.
405
bf57c3c9
L
4062003-04-30 H.J. Lu <hjl@gnu.org>
407
408 * config/tc-ia64.c (md_section_align): Deleted.
409
410 * config/tc-ia64.h (SUB_SEGMENT_ALIGN): New.
411 (md_section_align): New.
412
165a7f90
L
4132003-04-30 H.J. Lu <hjl@gnu.org>
414
415 * config/tc-ia64.c (stmt_float_cons): Fix alignment for real10
416 and add real16.
417 (md_pseudo_table): Add "xreal16", "xreal16.ua", "real16" and
418 "real16.ua".
419 (md_atof): Add 6 byte padding of zero for real16.
420
eba874d8
NC
4212003-04-29 Nick Clifton <nickc@redhat.com>
422
423 * config/obj-elf.c (obj_elf_symver): Skip whitespace before the
424 start of a version name.
425
dbeba5e5
CD
4262003-04-28 Chris Demetriou <cgd@broadcom.com>
427
428 * configure.in (mips-*-*n*bsd*): Replace with...
429 (mips-*-netbsd*, mips-*-openbsd*): These.
430 * configure: Regenerate.
431
f0d7d5f9
NC
4322003-04-28 H.J. Lu <hjl@gnu.org>
433
434 * config/tc-hppa.c (hppa_symbol_chars): New.
435 * config/tc-hppa.h (tc_symbol_chars): Likewise.
436
a38b42ab
TS
4372003-04-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
438
439 * config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Define again.
440
69be0a2b
CD
4412003-04-25 Chris Demetriou <cgd@broadcom.com>
442
443 * NEWS: Belatedly mention support for MIPS32 Release 2.
444
684022ea
EC
4452003-04-24 Eric Christopher <echristo@redhat.com>
446
447 * config/tc-mips.c (nopic_need_relax): Revert previous
448 change.
449
2c8714f2
NC
4502003-04-24 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
451
452 * config/tc-h8300.h (DWARF2_LINE_MIN_INSN_LENGTH): New
684022ea 453 * config/tc-h8300.c (dwarf2dbg.h): Include
2c8714f2
NC
454 (md_pseudo_table): Handle .loc and .file
455 (md_assemble): Call dwarf2_emit_insn if BFD_ASSEMBLER.
456 * Makefile.am: Add dependency on dwarf2dbg.h for h8300 targets.
457 * Makefile.in: Regenerate.
458
684022ea 4592003-04-24 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
8d9cd6b1
NC
460
461 * config/tc-h8300.c (Nmode, h8300hnmode, h8300snmode): New.
462 (md_pseudo_table): Add h8300hn, h8300sn.
463 * config/tc-h8300.h (COFF_MAGIC): Handle h8300hn, h8300sn.
464 * doc/c-h8300.texi : Add documentation for new machine directives.
465
5ce8663f
NC
4662003-04-24 Nick Clifton <nickc@redhat.com>
467
468 * config/tc-ppc.c (ppc_symbol_chars): Define.
469 * config/tc-ppc.h (tc_symbol_chars): Define.
470
ef230218
JR
4712003-04-23 J"orn Rennecke <joern.rennecke@superh.com>
472
473 * config/tc-sh.c: Amend comment to refer to SuperH.
474 * config/tc-sh.h: Likewise.
475 (LISTING_HEADER): Amend to refer to SuperH.
476 * config/tc-sh64.c: Change comment to refer to SuperH.
477 * config/tc-sh64.h (LISTING_HEADER): Change to refer to SuperH.
478 * doc/as.texinfo [SH, GENERIC]: Amend / Change to refer to SuperH.
479 * doc/c-sh.texi: Amend to refer to SuperH.
480 Add SuperH architecture documentation references.
481 * doc/c-sh64.texi: Change to refer to SuperH.
482
204cd129
NC
4832003-04-23 H.J. Lu <hjl@gnu.org>
484
485 * app.c (do_scrub_chars): More checks for valid labels.
486
2cdb18a7
L
4872003-04-22 H.J. Lu <hjl@gnu.org>
488
489 * app.c (do_scrub_chars): Check for valid label.
490
26597c86
NC
4912003-04-22 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
492
493 * doc/as.texinfo: Replace references to Mitsubishi M32R with
494 references to Renesas M32R.
495 * doc/c-m32r.texi: Likewise.
496
88b4ca40
RH
4972003-04-21 Richard Henderson <rth@redhat.com>
498
54cfded0
AM
499 * dwarf2dbg.c (get_filenum): Skip as-yet unassigned file numbers.
500 (out_file_list): Assign non-null filename after generating error.
88b4ca40 501
e5f08f7e
JJ
5022003-04-18 Jakub Jelinek <jakub@redhat.com>
503
504 * ehopt.c (check_eh_frame): For aug_size == 0
505 in state_seeing_aug_size state skip the state_skipping_aug
506 state.
507
c2dcd04e
NC
5082003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com>
509
510 * doc/c-h8300.texi: Replace occurrances of 'Hitachi' with
511 'Renesas'.
512 * doc/c-h8500.texi: Likewise.
513 * doc/c-sh.texi: Likewise.
514 * doc/c-sh64.texi: Likewise.
515 * doc/h8.texi: Likewise.
516 * config/tc-h8300.c: Likewise.
517 * config/tc-h8300.h: Likewise.
518 * config/tc-h8500.c: Likewise.
519 * config/tc-h8500.h: Likewise.
520 * config/tc-sh.c: Likewise.
521 * config/tc-sh.h: Likewise.
522 * config/tc-sh64.c: Likewise.
523 * config/tc-sh64.h: Likewise.
524
f5040a92
AO
5252003-04-10 Alexandre Oliva <aoliva@redhat.com>
526
527 * config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): New.
528 * config/tc-mips.c: Use signed add for n32 address arithmetic.
529 (append_insn): When filling delay slots with instructions
530 that have fixups that tc_gen_reloc might consider modifyable
531 in variant frags, start a new frag.
532 (load_address): Generate GOT_DISP with of without offset
533 depending on whether symbol is local. For -xgot, use
534 GOT_PAGE/GOT_OFST or GOT_HI16/GOT_LO16.
535 (macro) <M_DLA_AB, M_LA_AB>: Likewise.
536 <M_JAL_A>: In NewABI, use CALL16 or GOT_DISP for small got,
537 CALL_HI16/CALL_LO16 or GOT_PAGE/GOT_OFST for big got.
538 <ld_st>: In NewABI with small got, always use
539 GOT_PAGE/GOT_OFST, with the latter in the load/store
540 instruction. With big got, use GOT_HI16/GOT_LO16 or
541 GOT_PAGE/GOT_OFST.
542 (tc_gen_reloc): Adjust variant frags with GOT_DISP in NewABI.
543 Add tc_frag_data.tc_fr_offset to addends. Decay CALL16,
544 GOT_OFST and GOT_DISP to GOT_DISP in NewABI.
545 (md_convert_frag): Use memmove for safe copying of overlapping
546 regions.
547
35b55ed2
SC
5482003-04-09 Stephane Carrez <stcarrez@nerim.fr>
549
550 * doc/c-m68hc11.texi (M68HC11-Opts): Document -m68hcs12, -mshort,
551 -mlong, -mshort-double and -mlong-double options; use table @code.
552 (M68HC11-Syntax): Update to document 68HC12 operands.
553 (M68HC11-Modifiers): New section for operand modifiers.
554 (M68HC11-Directives): New section for specific assembler directives.
555 (M68HC11-Branch): Fix Overfull hbox error.
556
9214dd3b
AO
5572003-04-09 Alexandre Oliva <aoliva@redhat.com>
558
559 * config/tc-mips.c (macro): Add comments explaining the rationale
560 for Chris' change.
561
eb0a7d52
AO
5622003-04-09 Chris Demetriou <cgd@broadcom.com>
563
564 * config/tc-mips.c (macro): Put back `+ 0x8000' in test for 64-bit
565 constant address that Alexandre took out by accident. Reject
566 64-bit addresses that are not sign extensions of 32 bits only if
567 we don't support 64-bit address constants.
568
a7fc733f
AM
5692003-04-09 Alan Modra <amodra@bigpond.net.au>
570
571 * config/tc-ppc.c (md_apply_fix3): Generate ADDR16 relocs.
572
9cc92a36
NC
5732003-04-08 Nick Clifton <nickc@redhat.com>
574
575 * as.c (perform_an_assembly_pass): If using cgen, call
576 gas_cgen_begin.
577 * cgen.c (gas_cgen_begin): New function. If
578 flag_signed_overflow_ok is set call cgen_set_signed_overflow_ok
579 otherwise call cgen_clear_signed_overflow_ok.
580 * cgen.h: Prototype gas_cgen_begin.
581
fe59a223
TS
5822003-04-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
583
584 * write.c (write_relocs): Remove unused variable.
585
5a7a0b7b
AO
5862003-04-06 Chris Demetriou <cgd@broadcom.com>
587
588 * config/tc-mips.c (HAVE_64BIT_ADDRESS_CONSTANTS): New.
589 (macro): Use new macro to decide whether to emit constant address
590 as 32 or 64 bits if addresses are 32-bit wide but registers are
591 64-bit wide.
592
577300ce
SC
5932003-04-05 Stephane Carrez <stcarrez@nerim.fr>
594
595 * config/tc-m68hc11.c (M6811_OP_CALL_ADDR): New internal define.
596 (M6811_OP_PAGE_ADDR): New internal define.
684022ea 597 (get_operand): New modifier %page and %addr to obtain page and
577300ce 598 address part of a far-function.
684022ea 599 (fixup8): Use BFD_RELOC_M68HC11_PAGE for a %page modifier; don't
577300ce
SC
600 complain on overflow for the BFD_RELOC_M68HC11_PAGE and truncation
601 relocs.
602 (fixup16): Use BFD_RELOC_M68HC11_LO16 for a %addr modifier.
603 (find_opcode): Add comment.
604 (md_estimate_size_before_relax): Force relocation of
605 STATE_UNDEXED_OFFSET types when the symbol is not absolute.
606 (tc_m68hc11_fix_adjustable): Check for BFD_RELOC_M68HC11_LO16
607 instead of BFD_RELOC_LO16; temporarily make the BFD_RELOC_32
608 on the symbol itself so that DWARF2 strings are merged correctly.
609
be33c5dd
SS
6102003-04-04 Svein E. Seldal <Svein.Seldal@solidas.com>
611
612 * config/obj-coff.h (TARGET_FORMAT): Namespace cleanup, changed
613 default tic4x target format to 'coff2-tic4x'.
614 * config/tc-tic4x.c: Namespace cleanup. Replace s/c4x/tic4x/ and
615 s/c3x/tic3x/
616 * config/tc-tic4x.h: Ditto
617
e8fd7476
NC
6182003-04-03 Nick Clifton <nickc@redhat.com>
619
620 * NEWS: Mention support for Xtensa architecture.
621
47281638
PB
6222003-04-02 Philip Blundell <philb@gnu.org>
623
624 * config/tc-arm.c (arm_force_relocation): Return 0 for OFFSET_IMM.
625
af22f5b2
CD
6262003-04-02 Chris Demetriou <cgd@broadcom.com>
627
628 * config/tc-mips.c (macro2): Adjust implementation of
629 M_ULH, M_ULHU, M_ULW, and M_ULD so that they work properly
630 in the case where the source and destination registers
631 are the same.
632
e0001a05
NC
6332003-04-01 Bob Wilson <bob.wilson@acm.org>
634
54cfded0
AM
635 * Makefile.am (CPU_TYPES): Add xtensa.
636 (TARGET_CPU_CFILES): Add config/tc-xtensa.c.
637 (TARGET_CPU_HFILES): Add config/tc-xtensa.h.
638 (xtensa-relax.o): New target.
639 Run "make dep-am".
640 * Makefile.in: Regenerate.
641 * configure.in: Handle xtensa-*-*. Add xtensa-relax.o to
642 extra_objects for xtensa targets.
643 * configure: Regenerate.
644 * write.c (write_object_file): Add new md_post_relax_hook.
645 * config/tc-xtensa.c: New file.
646 * config/tc-xtensa.h: Likewise.
647 * config/xtensa-istack.h: Likewise.
648 * config/xtensa-relax.c: Likewise.
649 * config/xtensa-relax.h: Likewise.
650 * doc/Makefile.am (CPU_DOCS): Add c-xtensa.texi.
651 * doc/Makefile.in: Regenerate.
652 * doc/all.texi: Set new XTENSA variable.
653 * doc/as.texinfo: Set new Xtensa variable. Describe
654 Xtensa-specific options. Define line comment character for
655 Xtensa. Add Xtensa processors to list of ELF targets where
656 alignment is specified in bytes. Add new Xtensa-Dependent node.
657 Add acknowledgements for those contributing to the Xtensa port.
658 * doc/internals.texi: Describe new md_post_relax_hook.
659 * doc/c-xtensa.texi: New file.
e0001a05 660
5a6c6817
NC
6612003-04-01 Nick Clifton <nickc@redhat.com>
662 Richard Earnshaw <rearnsha@arm.com>
663
664 * config/tc-arm.c: Remove presence of (r) and (tm) symbols.
665 (ARM_ARCH_IWMMXT): Simplify.
666 (insns): Place iwmmx instructions in correct place in table.
667 (arm_add_note): New function: Add a note entry to a .note section.
668 (md_begin): Make the default architecture be unknown.
669 Suppress the creation of an arm note section.
670
97bbfa38
EC
6712003-03-26 Eric Christopher <echristo@redhat.com>
672
54cfded0 673 * config/tc-mips.c (nopic_need_relax): Check for S_IS_EXTERN.
97bbfa38 674
e16bb312
NC
6752003-03-25 Stan Cox <scox@redhat.com>
676 Nick Clifton <nickc@redhat.com>
97bbfa38 677
e16bb312
NC
678 Contribute support for Intel's iWMMXt chip - an ARM variant:
679
680 * config/tc-arm.c: (ARM_CEXT_IWMMXT, ARM_ARCH_IWMMXT, WR_PREFIX,
681 WC_PREFIX, REG_TYPE_IWMMXT): New constants.
682 (enum wreg_type, enum iwmmxt_insn_type): New types.
683 (wr_register, wc_register, wcg_register): New macros.
684 (iwmmxt_table): New variable.
685 (wreg_required_here, do_iwmmxt_byte_addr, do_iwmmxt_tandc,
686 do_iwmmxt_tbcst, do_iwmmxt_textrc, do_iwmmxt_textrm,
687 do_iwmmxt_tinsr, do_iwmmxt_tmcr, do_iwmmxt_tmcrr, do_iwmmxt_tmia,
688 do_iwmmxt_tmovmsk, do_iwmmxt_tmrc, do_iwmmxt_tmrrc,
689 do_iwmmxt_torc, do_iwmmxt_waligni, do_iwmmxt_wmov,
690 do_iwmmxt_word_addr, do_iwmmxt_wrwr, do_iwmmxt_wrwrwcg,
691 do_iwmmxt_wrwrwr, do_iwmmxt_wshufh, do_iwmmxt_wzero,
692 cp_byte_address_offset, cp_byte_address_required_here,
693 check_iwmmxt_insn): New functions.
97bbfa38 694 (asm_opcode_insns): Add iWMMXt instructions.
e16bb312
NC
695 (md_begin): Set the mach value for iWMMXt targets. Create a note
696 section to identify iwmmxt binaries.
697 (md_apply_fix3): Handle BFD_RELOC_ARM_CP_OFF_IMM_S2.
698 * doc/c-arm.texi: Document the support for the iWMMXt.
699 * NEWS: Mention new support.
700