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