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