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