Add support for .file and .loc
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
f53e95c7
NC
12003-05-20 Nick Clifton <nickc@redhat.com>
2
3 * config/tc-xstormy16.c: Include dwarf2dbg.h.
4 (md_pseudo_table): Add entries for .loc and .line.
5
7c0295b1
AM
62003-05-20 Alan Modra <amodra@bigpond.net.au>
7
8 * dw2gencfi.c (cfi_parse_arg): Only use tc_regname_to_dw2regnum if
9 defined.
10 (dot_cfi_endproc): Avoid C99 construct.
11
54cfded0
AM
122003-05-20 Michal Ludvig <mludvig@suse.cz>
13
14 * dw2gencfi.c, dw2gencfi.h: New files.
15 * config/tc-i386.c (tc_x86_cfi_init): New function.
16 * config/tc-i386.h (TARGET_USE_CFIPOP, tc_cfi_init): New defines.
17 * as.c (parse_args): Set verbose flag on --verbose.
18 (main): Call tc_cfi_init()/cfi_finish().
19 * as.h (verbose): New external variable.
20 * read.c (pobegin): Insert CFI pops to the list.
21 * symbols.c (local_symbol_make): Make symbol external.
22 * symbols.h (local_symbol_make): New prototype.
23 * Makefile.am: Add dw2gencfi.[ch] files. Run "make dep-am".
24 * Makefile.in: Regenerate.
25 * doc/as.texinfo: Added node "CFI directives" with description of
26 all implemented .cfi_* directives.
27 * doc/Makefile.in: Regenerate.
28 * po/POTFILES.in: Regenerate.
29
a1f3c24c
SS
302003-05-19 Svein E. Seldal <Svein.Seldal@solidas.com>
31
54cfded0
AM
32 * config/tc-tic4x.c (md_assemble): Added support for one-line parallel
33 insns.
1975ab25 34 * config/tc-tic4x.h: Added DOUBLEBAR_PARALLEL definition
a1f3c24c 35
b645cb17
JE
362003-05-18 Jason Eckhardt <jle@rice.edu>
37
38 * config/tc-i860.c (i860_process_insn): Initialize fc after
39 each opcode mismatch.
40
80c7c40a
NC
412003-05-16 Kelley Cook <kelleycook@wideopenwest.com>
42
43 * configure.in: Accept i[3-7]86 variants.
44 * configure: Regenerate.
45
c344a4c8
TS
462003-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
47
48 * config/tc-mips.h: Fix comment formatting.
49
64e55042
HPN
502003-05-13 Hans-Peter Nilsson <hp@axis.com>
51
52 * read.c (old_buffer, old_input, old_limit): Remove variables.
54cfded0 53 (read_a_source_file): Delete label contin.
64e55042
HPN
54 <handling #APP/#NO_APP>: Use an "sb" to push #APP expansion into
55 input as with macros, instead of in separate old_* variables.
56 Zero-terminate string being scrubbed.
57
e66c629e
NC
582003-05-12 Nick Clifton <nickc@redhat.com>
59
60 * config/tc-xstormy16.c (skipping_fptr): New local variable.
61 (md_assemble): Reset skipping_fptr.
62 (md_operand): If @fptr() is followed by a minus sign, set
63 skipping_fptr and ignore the fptr. If skipping_fptr is set and an
64 @fptr is detected, ignore it and reset skipping_fptr.
65
673a54e3
JE
662003-05-11 Jason Eckhardt <jle@rice.edu>
67
68 * config/tc-i860.c (MAX_FIXUPS): Define.
69 (struct i860_fi fi[]): New struct.
70 (struct i860_it the_insn): Add above as member and move fields
71 exp, reloc, pcrel and fup into i860_fi.
72 (md_assemble): Replace all instances of exp, reloc, pcrel
73 and fup with fi[].exp, fi[].reloc, fi[].pcrel, fi[].fup.
74 Add a loop to possibly emit multiple fix-ups for each insn.
75 (i860_process_insn): Likewise.
76 (i860_get_expression): Likewise.
77 (md_apply_fix3): Use a bitwise check for OP_IMM_U5, not equality.
78
2ebb4b88
MS
792003-05-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
80
81 * config/tc-s390.c (s390_target_format): Always call init_default_arch.
82
35f5df7f
L
832003-05-07 H.J. Lu <hongjiu.lu@intel.com>
84
85 * config/tc-ia64.c (alias_hash): New.
86 (alias_name_hash): New.
87 (secalias_hash): New.
88 (secalias_name_hash): New.
89 (md_pseudo_table): Add "secalias".
90 (md_begin): Initialize alias_hash, alias_name_hash,
91 secalias_hash and secalias_name_hash.
92 (struct alias): New.
93 (dot_alias): Implement .alias and .secalias directives.
94 (do_alias): New.
95 (ia64_adjust_symtab): New.
96 (do_secalias): New.
97 (ia64_frob_file): New.
98
99 * config/tc-ia64.h (ia64_adjust_symtab): New.
100 (tc_adjust_symtab): Defined.
101 (ia64_frob_file): New.
102 (tc_frob_file): Defined.
103
d2bf1bda
NC
1042003-05-07 Dmitry Diky <diwil@mail.ru>
105
106 * tc-msp430.c: Add missing lines to known cpus list.
107
cac012d6
AO
1082003-05-06 Alexandre Oliva <aoliva@redhat.com>
109
110 * configure.in (MIPS_DEFAULT_ABI): AC_DEFINE.
111 * config/tc-mips.c (mips_after_parse_args): Set mips_abi to it.
112 * config.in, configure: Rebuilt.
113
d8dbbec1
L
1142003-05-05 H.J. Lu <hjl@gnu.org>
115
116 * config/tc-mips.c (tc_gen_reloc): Add addend just once if
117 howto->partial_inplace is false.
118
9204e615
DJ
1192003-05-05 Daniel Jacobowitz <drow@mvista.com>
120
121 * config/tc-mips.c (mips_need_elf_addend_fixup): Remove
122 symbol_used_in_reloc_p check.
123 (md_apply_fix3): Remove check for howto->pcrel_offset.
124
711ef82f
L
1252003-05-03 H.J. Lu <hjl@gnu.org>
126
127 * config/obj-elf.c (obj_elf_parse_section_letters): Make it a
128 fatal error for unknown section attribute.
129
130 * config/tc-alpha.c (alpha_elf_section_letter): Return -1 for
131 unknown section attribute.
132 * config/tc-ia64.c (ia64_elf_section_letter): Likewise.
133 * config/tc-ppc.c (ppc_section_letter): Likewise.
134
135 * config/tc-ia64.c (ia64_elf_section_letter): Handle 'o'.
136 (ia64_elf_section_type): Accept "unwind".
137
83b5ab55
L
1382003-05-02 H.J. Lu <hjl@gnu.org>
139
140 * read.h (demand_copy_string): New.
141
142 * config/tc-alpha.c (demand_copy_string): Removed.
143
7ff0565e
MS
1442003-05-02 Michael Snyder <msnyder@redhat.com>
145
54cfded0 146 * write.h (FAKE_LABEL_NAME): Allow override
7ff0565e
MS
147 (for targets that like eg. a leading dot in a local label).
148
2968149b
NC
1492003-05-02 Nick Clifton <nickc@redhat.com>
150
151 * config/tc-xstormy16.c (xstormy16_md_apply_fix3): Do not bias the
152 addend with the symbol's value for pc-relative relocations against
153 a defined symbol - this will be done automatically.
154
e7b9a8c1
L
1552003-05-01 H.J. Lu <hjl@gnu.org>
156
157 * config/obj-elf.c (obj_elf_type): Accept "notype" and
158 "STT_NOTYPE".
159
612d7b83
L
1602003-05-01 H.J. Lu <hjl@gnu.org>
161
162 * config/tc-ia64.h (tc_canonicalize_section_name): New.
163
164 * config/obj-elf.c (obj_elf_section_name): Call
165 tc_canonicalize_section_name if it is defined.
166
a645d1eb
L
1672003-05-01 H.J. Lu <hjl@gnu.org>
168
169 * config/tc-ia64.c (ia64_check_label): New.
170 * config/tc-ia64.h (tc_check_label): New.
171
172 * read.c (read_a_source_file): Call tc_check_label after
173 creating a user-defined label if defined.
174
df12615d
AM
1752003-05-02 Alan Modra <amodra@bigpond.net.au>
176
177 * config/tc-ppc.c (md_show_usage): Mention -a32, -a64, -l, -le, -b,
178 -be and split strings to below 509 bytes in length.
179
f70c8412
CG
1802003-05-01 Christian Groessler <chris@groessler.org>
181
182 * expr.h: Fix comments in operatorT typedef.
54cfded0 183 * config/tc-z8k.c: Add 2003 to copyright message.
f70c8412
CG
184 Fold s_segm() and s_unseg() into one function s_segm(parm) which
185 decides by the parameter.
186 (md_begin): Don't set linkrelax. Only set Z8002 default if no
187 command line argument was given to select the intended
188 architecure.
189 (get_interrupt_operand): Warn if NOP type code is emitted.
190 (newfix): New parameter 'size', forward it to 'fix_new_exp'.
191 (apply_fix): Call newfix with additional 'size' parameter.
192 (build_bytes): Remove unused variable 'nib'. Detect overflow in
193 4 bit immediate arguments.
194 (md_longopts): Add 'linkrelax' option.
195 (md_parse_option): Adapt to new s_segm function. Set 'linkrelax'
196 variable when 'linkrelax' command line option is specified.
197 (md_show_usage): Display 'linkrelax' option.
198 (md_apply_fix3): Fix cases R_IMM4L, R_JR, and R_IMM8. Add cases
199 R_CALLR and R_REL16.
200 * config/tc-z8k.h: Undef WARN_SIGNED_OVERFLOW_WORD.
201
10a98291
L
2022003-04-30 H.J. Lu <hjl@gnu.org>
203
204 * config/tc-ia64.c (ia64_number_to_chars): New function pointer.
205 (ia64_float_to_chars): Likewise.
206 (dot_byteorder): Set target_big_endian, ia64_number_to_chars
207 and ia64_float_to_chars by tc_segment_info_data.endian from
208 the current segment if byteorder == -1.
209 (md_begin): Call dot_byteorder to set target_big_endian.
210 (md_atof): Call ia64_float_to_chars to convert floating point.
211 (ia64_float_to_chars_bigendian): New function.
212 (ia64_float_to_chars_littleendian): Likewise.
213 (ia64_elf_section_change_hook): Likewise.
214
215 * config/tc-ia64.h (ia64_number_to_chars): New.
216 (md_number_to_chars): Changed to (*ia64_number_to_chars)
217 (ia64_elf_section_change_hook): New.
218 (md_elf_section_change_hook): Defined.
219 (ia64_segment_info_type): New struct.
220 (TC_SEGMENT_INFO_TYPE): Defined.
221
bf57c3c9
L
2222003-04-30 H.J. Lu <hjl@gnu.org>
223
224 * config/tc-ia64.c (md_section_align): Deleted.
225
226 * config/tc-ia64.h (SUB_SEGMENT_ALIGN): New.
227 (md_section_align): New.
228
165a7f90
L
2292003-04-30 H.J. Lu <hjl@gnu.org>
230
231 * config/tc-ia64.c (stmt_float_cons): Fix alignment for real10
232 and add real16.
233 (md_pseudo_table): Add "xreal16", "xreal16.ua", "real16" and
234 "real16.ua".
235 (md_atof): Add 6 byte padding of zero for real16.
236
eba874d8
NC
2372003-04-29 Nick Clifton <nickc@redhat.com>
238
239 * config/obj-elf.c (obj_elf_symver): Skip whitespace before the
240 start of a version name.
241
dbeba5e5
CD
2422003-04-28 Chris Demetriou <cgd@broadcom.com>
243
244 * configure.in (mips-*-*n*bsd*): Replace with...
245 (mips-*-netbsd*, mips-*-openbsd*): These.
246 * configure: Regenerate.
247
f0d7d5f9
NC
2482003-04-28 H.J. Lu <hjl@gnu.org>
249
250 * config/tc-hppa.c (hppa_symbol_chars): New.
251 * config/tc-hppa.h (tc_symbol_chars): Likewise.
252
a38b42ab
TS
2532003-04-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
254
255 * config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Define again.
256
69be0a2b
CD
2572003-04-25 Chris Demetriou <cgd@broadcom.com>
258
259 * NEWS: Belatedly mention support for MIPS32 Release 2.
260
684022ea
EC
2612003-04-24 Eric Christopher <echristo@redhat.com>
262
263 * config/tc-mips.c (nopic_need_relax): Revert previous
264 change.
265
2c8714f2
NC
2662003-04-24 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
267
268 * config/tc-h8300.h (DWARF2_LINE_MIN_INSN_LENGTH): New
684022ea 269 * config/tc-h8300.c (dwarf2dbg.h): Include
2c8714f2
NC
270 (md_pseudo_table): Handle .loc and .file
271 (md_assemble): Call dwarf2_emit_insn if BFD_ASSEMBLER.
272 * Makefile.am: Add dependency on dwarf2dbg.h for h8300 targets.
273 * Makefile.in: Regenerate.
274
684022ea 2752003-04-24 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
8d9cd6b1
NC
276
277 * config/tc-h8300.c (Nmode, h8300hnmode, h8300snmode): New.
278 (md_pseudo_table): Add h8300hn, h8300sn.
279 * config/tc-h8300.h (COFF_MAGIC): Handle h8300hn, h8300sn.
280 * doc/c-h8300.texi : Add documentation for new machine directives.
281
5ce8663f
NC
2822003-04-24 Nick Clifton <nickc@redhat.com>
283
284 * config/tc-ppc.c (ppc_symbol_chars): Define.
285 * config/tc-ppc.h (tc_symbol_chars): Define.
286
ef230218
JR
2872003-04-23 J"orn Rennecke <joern.rennecke@superh.com>
288
289 * config/tc-sh.c: Amend comment to refer to SuperH.
290 * config/tc-sh.h: Likewise.
291 (LISTING_HEADER): Amend to refer to SuperH.
292 * config/tc-sh64.c: Change comment to refer to SuperH.
293 * config/tc-sh64.h (LISTING_HEADER): Change to refer to SuperH.
294 * doc/as.texinfo [SH, GENERIC]: Amend / Change to refer to SuperH.
295 * doc/c-sh.texi: Amend to refer to SuperH.
296 Add SuperH architecture documentation references.
297 * doc/c-sh64.texi: Change to refer to SuperH.
298
204cd129
NC
2992003-04-23 H.J. Lu <hjl@gnu.org>
300
301 * app.c (do_scrub_chars): More checks for valid labels.
302
2cdb18a7
L
3032003-04-22 H.J. Lu <hjl@gnu.org>
304
305 * app.c (do_scrub_chars): Check for valid label.
306
26597c86
NC
3072003-04-22 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
308
309 * doc/as.texinfo: Replace references to Mitsubishi M32R with
310 references to Renesas M32R.
311 * doc/c-m32r.texi: Likewise.
312
88b4ca40
RH
3132003-04-21 Richard Henderson <rth@redhat.com>
314
54cfded0
AM
315 * dwarf2dbg.c (get_filenum): Skip as-yet unassigned file numbers.
316 (out_file_list): Assign non-null filename after generating error.
88b4ca40 317
e5f08f7e
JJ
3182003-04-18 Jakub Jelinek <jakub@redhat.com>
319
320 * ehopt.c (check_eh_frame): For aug_size == 0
321 in state_seeing_aug_size state skip the state_skipping_aug
322 state.
323
c2dcd04e
NC
3242003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com>
325
326 * doc/c-h8300.texi: Replace occurrances of 'Hitachi' with
327 'Renesas'.
328 * doc/c-h8500.texi: Likewise.
329 * doc/c-sh.texi: Likewise.
330 * doc/c-sh64.texi: Likewise.
331 * doc/h8.texi: Likewise.
332 * config/tc-h8300.c: Likewise.
333 * config/tc-h8300.h: Likewise.
334 * config/tc-h8500.c: Likewise.
335 * config/tc-h8500.h: Likewise.
336 * config/tc-sh.c: Likewise.
337 * config/tc-sh.h: Likewise.
338 * config/tc-sh64.c: Likewise.
339 * config/tc-sh64.h: Likewise.
340
f5040a92
AO
3412003-04-10 Alexandre Oliva <aoliva@redhat.com>
342
343 * config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): New.
344 * config/tc-mips.c: Use signed add for n32 address arithmetic.
345 (append_insn): When filling delay slots with instructions
346 that have fixups that tc_gen_reloc might consider modifyable
347 in variant frags, start a new frag.
348 (load_address): Generate GOT_DISP with of without offset
349 depending on whether symbol is local. For -xgot, use
350 GOT_PAGE/GOT_OFST or GOT_HI16/GOT_LO16.
351 (macro) <M_DLA_AB, M_LA_AB>: Likewise.
352 <M_JAL_A>: In NewABI, use CALL16 or GOT_DISP for small got,
353 CALL_HI16/CALL_LO16 or GOT_PAGE/GOT_OFST for big got.
354 <ld_st>: In NewABI with small got, always use
355 GOT_PAGE/GOT_OFST, with the latter in the load/store
356 instruction. With big got, use GOT_HI16/GOT_LO16 or
357 GOT_PAGE/GOT_OFST.
358 (tc_gen_reloc): Adjust variant frags with GOT_DISP in NewABI.
359 Add tc_frag_data.tc_fr_offset to addends. Decay CALL16,
360 GOT_OFST and GOT_DISP to GOT_DISP in NewABI.
361 (md_convert_frag): Use memmove for safe copying of overlapping
362 regions.
363
35b55ed2
SC
3642003-04-09 Stephane Carrez <stcarrez@nerim.fr>
365
366 * doc/c-m68hc11.texi (M68HC11-Opts): Document -m68hcs12, -mshort,
367 -mlong, -mshort-double and -mlong-double options; use table @code.
368 (M68HC11-Syntax): Update to document 68HC12 operands.
369 (M68HC11-Modifiers): New section for operand modifiers.
370 (M68HC11-Directives): New section for specific assembler directives.
371 (M68HC11-Branch): Fix Overfull hbox error.
372
9214dd3b
AO
3732003-04-09 Alexandre Oliva <aoliva@redhat.com>
374
375 * config/tc-mips.c (macro): Add comments explaining the rationale
376 for Chris' change.
377
eb0a7d52
AO
3782003-04-09 Chris Demetriou <cgd@broadcom.com>
379
380 * config/tc-mips.c (macro): Put back `+ 0x8000' in test for 64-bit
381 constant address that Alexandre took out by accident. Reject
382 64-bit addresses that are not sign extensions of 32 bits only if
383 we don't support 64-bit address constants.
384
a7fc733f
AM
3852003-04-09 Alan Modra <amodra@bigpond.net.au>
386
387 * config/tc-ppc.c (md_apply_fix3): Generate ADDR16 relocs.
388
9cc92a36
NC
3892003-04-08 Nick Clifton <nickc@redhat.com>
390
391 * as.c (perform_an_assembly_pass): If using cgen, call
392 gas_cgen_begin.
393 * cgen.c (gas_cgen_begin): New function. If
394 flag_signed_overflow_ok is set call cgen_set_signed_overflow_ok
395 otherwise call cgen_clear_signed_overflow_ok.
396 * cgen.h: Prototype gas_cgen_begin.
397
fe59a223
TS
3982003-04-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
399
400 * write.c (write_relocs): Remove unused variable.
401
5a7a0b7b
AO
4022003-04-06 Chris Demetriou <cgd@broadcom.com>
403
404 * config/tc-mips.c (HAVE_64BIT_ADDRESS_CONSTANTS): New.
405 (macro): Use new macro to decide whether to emit constant address
406 as 32 or 64 bits if addresses are 32-bit wide but registers are
407 64-bit wide.
408
577300ce
SC
4092003-04-05 Stephane Carrez <stcarrez@nerim.fr>
410
411 * config/tc-m68hc11.c (M6811_OP_CALL_ADDR): New internal define.
412 (M6811_OP_PAGE_ADDR): New internal define.
684022ea 413 (get_operand): New modifier %page and %addr to obtain page and
577300ce 414 address part of a far-function.
684022ea 415 (fixup8): Use BFD_RELOC_M68HC11_PAGE for a %page modifier; don't
577300ce
SC
416 complain on overflow for the BFD_RELOC_M68HC11_PAGE and truncation
417 relocs.
418 (fixup16): Use BFD_RELOC_M68HC11_LO16 for a %addr modifier.
419 (find_opcode): Add comment.
420 (md_estimate_size_before_relax): Force relocation of
421 STATE_UNDEXED_OFFSET types when the symbol is not absolute.
422 (tc_m68hc11_fix_adjustable): Check for BFD_RELOC_M68HC11_LO16
423 instead of BFD_RELOC_LO16; temporarily make the BFD_RELOC_32
424 on the symbol itself so that DWARF2 strings are merged correctly.
425
be33c5dd
SS
4262003-04-04 Svein E. Seldal <Svein.Seldal@solidas.com>
427
428 * config/obj-coff.h (TARGET_FORMAT): Namespace cleanup, changed
429 default tic4x target format to 'coff2-tic4x'.
430 * config/tc-tic4x.c: Namespace cleanup. Replace s/c4x/tic4x/ and
431 s/c3x/tic3x/
432 * config/tc-tic4x.h: Ditto
433
e8fd7476
NC
4342003-04-03 Nick Clifton <nickc@redhat.com>
435
436 * NEWS: Mention support for Xtensa architecture.
437
47281638
PB
4382003-04-02 Philip Blundell <philb@gnu.org>
439
440 * config/tc-arm.c (arm_force_relocation): Return 0 for OFFSET_IMM.
441
af22f5b2
CD
4422003-04-02 Chris Demetriou <cgd@broadcom.com>
443
444 * config/tc-mips.c (macro2): Adjust implementation of
445 M_ULH, M_ULHU, M_ULW, and M_ULD so that they work properly
446 in the case where the source and destination registers
447 are the same.
448
e0001a05
NC
4492003-04-01 Bob Wilson <bob.wilson@acm.org>
450
54cfded0
AM
451 * Makefile.am (CPU_TYPES): Add xtensa.
452 (TARGET_CPU_CFILES): Add config/tc-xtensa.c.
453 (TARGET_CPU_HFILES): Add config/tc-xtensa.h.
454 (xtensa-relax.o): New target.
455 Run "make dep-am".
456 * Makefile.in: Regenerate.
457 * configure.in: Handle xtensa-*-*. Add xtensa-relax.o to
458 extra_objects for xtensa targets.
459 * configure: Regenerate.
460 * write.c (write_object_file): Add new md_post_relax_hook.
461 * config/tc-xtensa.c: New file.
462 * config/tc-xtensa.h: Likewise.
463 * config/xtensa-istack.h: Likewise.
464 * config/xtensa-relax.c: Likewise.
465 * config/xtensa-relax.h: Likewise.
466 * doc/Makefile.am (CPU_DOCS): Add c-xtensa.texi.
467 * doc/Makefile.in: Regenerate.
468 * doc/all.texi: Set new XTENSA variable.
469 * doc/as.texinfo: Set new Xtensa variable. Describe
470 Xtensa-specific options. Define line comment character for
471 Xtensa. Add Xtensa processors to list of ELF targets where
472 alignment is specified in bytes. Add new Xtensa-Dependent node.
473 Add acknowledgements for those contributing to the Xtensa port.
474 * doc/internals.texi: Describe new md_post_relax_hook.
475 * doc/c-xtensa.texi: New file.
e0001a05 476
5a6c6817
NC
4772003-04-01 Nick Clifton <nickc@redhat.com>
478 Richard Earnshaw <rearnsha@arm.com>
479
480 * config/tc-arm.c: Remove presence of (r) and (tm) symbols.
481 (ARM_ARCH_IWMMXT): Simplify.
482 (insns): Place iwmmx instructions in correct place in table.
483 (arm_add_note): New function: Add a note entry to a .note section.
484 (md_begin): Make the default architecture be unknown.
485 Suppress the creation of an arm note section.
486
97bbfa38
EC
4872003-03-26 Eric Christopher <echristo@redhat.com>
488
54cfded0 489 * config/tc-mips.c (nopic_need_relax): Check for S_IS_EXTERN.
97bbfa38 490
e16bb312
NC
4912003-03-25 Stan Cox <scox@redhat.com>
492 Nick Clifton <nickc@redhat.com>
97bbfa38 493
e16bb312
NC
494 Contribute support for Intel's iWMMXt chip - an ARM variant:
495
496 * config/tc-arm.c: (ARM_CEXT_IWMMXT, ARM_ARCH_IWMMXT, WR_PREFIX,
497 WC_PREFIX, REG_TYPE_IWMMXT): New constants.
498 (enum wreg_type, enum iwmmxt_insn_type): New types.
499 (wr_register, wc_register, wcg_register): New macros.
500 (iwmmxt_table): New variable.
501 (wreg_required_here, do_iwmmxt_byte_addr, do_iwmmxt_tandc,
502 do_iwmmxt_tbcst, do_iwmmxt_textrc, do_iwmmxt_textrm,
503 do_iwmmxt_tinsr, do_iwmmxt_tmcr, do_iwmmxt_tmcrr, do_iwmmxt_tmia,
504 do_iwmmxt_tmovmsk, do_iwmmxt_tmrc, do_iwmmxt_tmrrc,
505 do_iwmmxt_torc, do_iwmmxt_waligni, do_iwmmxt_wmov,
506 do_iwmmxt_word_addr, do_iwmmxt_wrwr, do_iwmmxt_wrwrwcg,
507 do_iwmmxt_wrwrwr, do_iwmmxt_wshufh, do_iwmmxt_wzero,
508 cp_byte_address_offset, cp_byte_address_required_here,
509 check_iwmmxt_insn): New functions.
97bbfa38 510 (asm_opcode_insns): Add iWMMXt instructions.
e16bb312
NC
511 (md_begin): Set the mach value for iWMMXt targets. Create a note
512 section to identify iwmmxt binaries.
513 (md_apply_fix3): Handle BFD_RELOC_ARM_CP_OFF_IMM_S2.
514 * doc/c-arm.texi: Document the support for the iWMMXt.
515 * NEWS: Mention new support.
516