Revert accidental commit
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
55cf6793
ZW
12005-06-07 Zack Weinberg <zack@codesourcery.com>
2
3 * cgen.c, cgen.h, tc.h, write.c, config/obj-coff.c
4 * config/tc-a29k.c, config/tc-alpha.c, config/tc-alpha.h
5 * config/tc-arc.c, config/tc-arc.h, config/tc-arm.c
6 * config/tc-arm.h, config/tc-avr.c, config/tc-avr.h
7 * config/tc-cris.c, config/tc-crx.c, config/tc-d10v.c
8 * config/tc-d10v.h, config/tc-d30v.c, config/tc-d30v.h
9 * config/tc-dlx.c, config/tc-dlx.h, config/tc-fr30.h
10 * config/tc-frv.c, config/tc-frv.h, config/tc-h8300.c
11 * config/tc-h8500.c, config/tc-hppa.c, config/tc-hppa.h
12 * config/tc-i370.c, config/tc-i370.h, config/tc-i386.c
13 * config/tc-i386.h, config/tc-i860.c, config/tc-i860.h
14 * config/tc-i960.c, config/tc-i960.h, config/tc-ia64.c
15 * config/tc-ip2k.c, config/tc-ip2k.h, config/tc-iq2000.c
16 * config/tc-iq2000.h, config/tc-m32r.c, config/tc-m32r.h
17 * config/tc-m68hc11.c, config/tc-m68hc11.h, config/tc-m68k.c
18 * config/tc-m68k.h, config/tc-m88k.c, config/tc-maxq.c
19 * config/tc-mcore.c, config/tc-mcore.h, config/tc-mips.c
20 * config/tc-mips.h, config/tc-mmix.c, config/tc-mn10200.c
21 * config/tc-mn10300.c, config/tc-msp430.c, config/tc-ns32k.c
22 * config/tc-openrisc.h, config/tc-or32.c, config/tc-or32.h
23 * config/tc-pdp11.c, config/tc-pj.c, config/tc-pj.h
24 * config/tc-ppc.c, config/tc-ppc.h, config/tc-s390.c
25 * config/tc-s390.h, config/tc-sh64.c, config/tc-sh.c
26 * config/tc-sh.h, config/tc-sparc.c, config/tc-sparc.h
27 * config/tc-tahoe.c, config/tc-tic30.c, config/tc-tic4x.c
28 * config/tc-tic54x.c, config/tc-tic80.c, config/tc-v850.c
29 * config/tc-v850.h, config/tc-vax.c, config/tc-vax.h
30 * config/tc-w65.c, config/tc-xstormy16.c, config/tc-xstormy16.h
31 * config/tc-xtensa.c, config/tc-z8k.c:
32 Replace all instances of the string "_apply_fix3" with
33 "_apply_fix".
34 * po/POTFILES.in, po/gas.pot: Regenerate.
35
620c54b3
AM
362005-06-08 Alan Modra <amodra@bigpond.net.au>
37
38 * Makefile.am: Run "make dep-am".
39 (POTFILES): Remove GAS_CFILES.
40 * Makefile.in: Regenerate.
41
32b26a03
MR
422005-06-07 David Ung <davidu@mips.com>
43
44 * config/tc-mips.c (mips_cpu_info_table): Add cpu names m4k, 24k,
45 24kc, 24kf and 24kfx under MIPS32 release 2.
46
6a86118a
NC
472005-06-04 Nick Clifton <nickc@redhat.com>
48
49 * config/tc-arm.c (CE, C3, CM, UE, UF): Redefine without reference
50 to their Thumb-enabled equivalents.
51
20e1fcfd
MR
522005-06-01 Maciej W. Rozycki <macro@linux-mips.org>
53
54 * config/tc-mips.c (load_register): Add leading "0x" to the
55 output of sprintf_vma().
56 (macro): Likewise.
57
1887dd22
NC
582005-06-01 Nick Clifton <nickc@redhat.com>
59
60 * config/tc-arm.c (TxCE, TxC3, TxCM, TUE, TUF): Remove redundant
61 test for the presence of thumb version of the parsing functions
62 since they must always exist and the test generates a compile time
63 warning message.
64
04fe8f58
RH
652005-05-31 Richard Henderson <rth@redhat.com>
66
67 * config/tc-alpha.c (O_lituse_jsrdirect): New.
68 (alpha_reloc_op): Add it.
69 (debug_exp): Handle it.
70 (DUMMY_RELOC_LITUSE_JSRDIRECT): New.
71 (emit_insn): Handle it.
72 * doc/c-alpha.texi (Alpha-Relocs): Document lituse_jsrdirect.
73
988392e2
CG
742005-05-31 Christian Groessler <chris@groessler.org>
75
76 * write.c (dump_section_relocs): Convert to ISO-C.
77 (write_relocs): Avoid signed/unsigned and fprintf argument
78 warnings in debug code.
79
adbaf948
ZW
802005-05-26 Zack Weinberg <zack@codesourcery.com>
81
82 * config/tc-arm.h (TC_FIX_TYPE): Change to int.
83 (TC_INIT_FIX_DATA): Initialize to 0, not NULL.
84 * config/tc-arm.c (fix_new_arm): Remove now-unnecessary cast.
85 (md_apply_fix3): Delete fix_is_thumb variable; refer to
86 fixP->tc_fix_data directly in the sole place it was used.
87 Explicitly truncate value, *valP, fixP->fx_addnumber, and
88 fixP->fx_offset to 32 bits, for consistent behavior between 32-
89 and 64-bit hosts.
90
5656b6b8
JB
912005-05-27 Jan Beulich <jbeulich@novell.com>
92
93 * config/tc-ia64.c (struct proc_pending): New.
94 (unwind): Replace proc_start with proc_pending.
95 (unwind_diagnostic): Check unwind.proc_pending.sym.
96 (dot_proc): Replace unwind.proc_start with unwind.proc_pending.sym.
97 Check if previous proc not closed. Record all entry points.
98 (dot_endp): Replace unwind.proc_start with unwind.proc_pending.sym.
99 Set symbol sizes for entry points recorded in dot_proc. Check
100 arguments for consistency with respective .proc's.
101 (md_assemble): Replace unwind.proc_start with
102 unwind.proc_pending.sym.
103
75214fb0
JB
1042005-05-27 Jan Beulich <jbeulich@novell.com>
105
106 * config/tc-ia64.c (emit_one_bundle): Restrict scope of ptr, end_ptr,
107 and last_ptr. Check all in-use slots for first one with non-NULL
108 unwind_record. Don't reload end_ptr before second update round.
109
7c06efaa
JW
1102005-05-26 James E Wilson <wilson@specifixinc.com>
111
112 * config/tc-ia64.c (extra_goodness): Update comment.
113 (md_begin): Add debugging code to print best_template table.
114
286cee81
JB
1152005-05-25 Jan Beulich <jbeulich@novell.com>
116
117 * config/tc-ia64.c (md_begin): Don't try to match slot 2 of an MLX
118 template.
119
30ad6cb9
JB
1202005-05-25 Jan Beulich <jbeulich@novell.com>
121
122 * config/tc-ia64.c (ia64_gen_real_reloc_type): Also handle
123 BFD_RELOC_UNUSED when determining the width of the reloc.
124
6baf2b51
JB
1252005-05-25 Jan Beulich <jbeulich@novell.com>
126
127 * config/tc-ia64.c (dot_endp): Clear out all three pointers in unwind
128 section entry.
129
fa30c84f
JB
1302005-05-25 Jan Beulich <jbeulich@novell.com>
131
132 * config/tc-ia64.c (dot_radix): Rewrite.
133
1055c30c
JB
1342005-05-25 Jan Beulich <jbeulich@novell.com>
135
136 * config/tc-ia64.c (struct unw_rec_list): Remove next_slot_number
137 and next_slot_frag.
138 (alloc_record): Remove references to next_slot_number and
139 next_slot_frag.
140 (emit_one_bundle): Likewise.
141
45d18c80
NC
1422005-05-22 Nick Clifton <nickc@redhat.com>
143
144 * config/tc-v850.c (md_apply_fix3): Pass the address of the
145 message buffer when invoking the insert function.
146
9f45e54b
DA
1472005-05-21 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
148
149 * config/tc-hppa.c (pa_ip): Promote architecture from PA 1.0 to 1.1
150 only if an instruction match is found.
151
47e70edb
BW
1522005-05-20 Bob Wilson <bob.wilson@acm.org>
153
154 * config/tc-xtensa.c (xg_assemble_vliw_tokens): Change subtraction
155 to addition in argument to xtensa_dwarf2_emit_insn.
156
e3e71e27
ZW
1572005-05-19 Zack Weinberg <zack@codesourcery.com>
158
159 * Makefile.am: Have 'all' depend on 'info'.
160 * Makefile.in: Regenerate.
161
c744ecf2
AM
1622005-05-19 Alan Modra <amodra@bigpond.net.au>
163
164 * config/tc-ppc.c (ppc_force_relocation): Add BFD_RELOC_24_PLT_PCREL.
165
b0648eec
AM
1662005-05-19 Anton Blanchard <anton@samba.org>
167
168 * config/tc-ppc.c (parse_cpu): Handle "-mpower5".
169 (md_show_usage): Document it.
170 (ppc_setup_opcodes): Insert POWER5 mnemonics.
171 * doc/c-ppc.texi (PowerPC-Opts): Document "-mpower5".
172
4600db48
JB
1732005-05-19 Jan Beulich <jbeulich@novell.com>
174
175 * config/tc-ia64.c (dot_endp): Don't use global symbol for unwind
176 relocations in unwind section.
177
a0ef61f7
NC
1782005-05-18 Nick Clifton <nickc@redhat.com>
179
180 * config/tc-v850.c (md_apply_fix3): Only use the insertion routine
181 if one exists. Ignore any error messages it may produce, just
182 allow it to perform the insertion.
183
c19d1205
ZW
1842005-05-17 Zack Weinberg <zack@codesourcery.com>
185
186 * hash.c (hash_lookup): Add len parameter. All callers changed.
187 (hash_find_n): New interface.
188 * hash.h: Prototype hash_find_n.
189 * sb.c: Include as.h.
190 (scrub_from_sb, sb_to_scrub, scrub_position): New statics.
191 (sb_scrub_and_add_sb): New interface.
192 * sb.h: Prototype sb_scrub_and_add_sb.
193 * input-scrub.c (input_scrub_include_sb): Use sb_scrub_and_add_sb.
194
195 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Remove
196 reference to BFD_RELOC_ARM_GOT12 which is never generated.
197 * config/tc-arm.c: Rewrite, adding Thumb-2 support.
198
970c3dbc
DJ
1992005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
200
201 * doc/Makefile.am (gasver.texi): Don't use $<.
202 * doc/Makefile.in: Regenerated.
203
ec7ef033
NC
2042005-05-17 Nick Clifton <nickc@redhat.com>
205
206 PR 876
207 * symbols.c (resolve_symbol_value): Do not move symbols whose
208 value expression has not been resolved or finalized into the
209 absolute section as this will confuse other parts of the assembler
210 into thinking that their value is zero.
211
40a4d956
JB
2122005-05-17 Jan Beulich <jbeulich@novell.com>
213
214 * read.c (_find_end_of_line): New.
215 (find_end_of_line): New.
216 (HANDLE_CONDITIONAL_ASSEMBLY): Use it.
217 (read_a_source_file): Use it.
218 (s_globl): Use it.
219 (s_macro): Use it.
220 (get_line_sb): Use it.
221 (s_errwarn): Replace discard_rest_of_line by ignore_rest_of_line.
222 (s_comm_internal): Likewise.
223 (s_lsym): Likewise.
224 (s_macro): Likewise.
225 (s_ignore): Use ignore_rest_of_line.
226 * read.h (find_end_of_line): Prototype.
227 (discard_rest_of_line): Remove prototype. #define to
228 ignore_rest_of_line.
229
2d034539
NC
2302005-05-17 Nick Clifton <nickc@redhat.com>
231
232 * config/tc-v850,h (TC_FIX_TYPE): Define.
233 (TC_INIT_FIX_TYPE): Define.
234 * config/tc-v850.c (md_assemble): When creating a fix record the
235 operand in the tc_fix_data field.
236 (md_apply_fix3): When applying a resolved fix use the operand's
237 insertion procedure to store the value, if the operand has been
238 recorded.
239
42ecbf5e
DJ
2402005-05-15 Daniel Jacobowitz <dan@codesourcery.com>
241
242 * Makefile.am (m68k-parse.c, itbl-parse.c): Update ylwrap
243 invocation.
244 * Makefile.in: Regenerated.
245
d7c531cd
BW
2462005-05-13 Sterling Augustine <sterling@tensilica.com>
247 Bob Wilson <bob.wilson@acm.org>
248
249 * config/tc-xtensa.c (xtensa_insnbuf_set_operand): Clarify error
250 message.
251 (xtensa_mark_zcl_first_insns): Fix incorrect nesting of conditional
252 for handling RELAX_CHECK_ALIGN_NEXT_OPCODE.
253
3c9d25f4
AM
2542005-05-11 Alan Modra <amodra@bigpond.net.au>
255
256 * config/tc-ppc.c (md_apply_fix3): Allow pcrel forms of BFD_RELOC_16,
257 BFD_RELOC_LO16, BFD_RELOC_HI16 and BFD_RELOC_HI16_S.
258
ee192366
MM
2592005-05-10 Michael Matz <matz@suse.de>
260
261 * frags.c (frag_grow): Don't be too greedy in allocating memory.
262
263 * config/tc-hppa.c (pa_block): Check arguments to .block[z].
264
20d7ce9b
HPN
2652005-05-10 Hans-Peter Nilsson <hp@bitrange.com>
266
267 PR binutils/886
268 * config/tc-mmix.c (mmix_handle_mmixal): Rearrange slightly.
269 Handle label-without-colon before ordinary dot-pseudo as an
270 ordinary label. Don't leak memory for label-without-colon alone
271 on a line. Don't mmixal-munge operands for dot-pseudos.
272
be03cc84
JB
2732005-05-10 Jan Beulich <jbeulich@novell.com>
274
275 * macro.c (get_any_string): Remove the two last parameters. Replace
276 references to the former expand parameter by using macro_alternate.
277 Simplify loop condition for checking for end-of-string.
278 (get_string): Remove redunant call to sb_skip_white.
279 (do_formals): Remove two last arguments to get_any_string.
280 (macro_expand): Likewise.
281 (expand_irp): Likewise.
282
360e86f1
JB
2832005-05-10 Jan Beulich <jbeulich@novell.com>
284
285 * read.c (s_macro): Move local variable 'local' to smaller scope.
286 Call sb_kill on it when done.
287
34d9ee9e
JB
2882005-05-09 Jan Beulich <jbeulich@novell.com>
289
ee192366
MM
290 * config/tc-i386.c (optimize_disp): Discard displacement entirely
291 when zero and not required by encoding constraints.
34d9ee9e 292
c9cd7160
L
2932005-05-09 H.J. Lu <hongjiu.lu@intel.com>
294
295 PR 936
296 * config/tc-sh64.c (sh64_fake_label): New.
297
298 * config/tc-sh64.h (TC_FAKE_LABEL): New.
299
300 * doc/internals.texi (TC_FAKE_LABEL): Document.
301
302 * write.c (TC_FAKE_LABEL): New.
303 (adjust_reloc_syms): Use it.
304 (write_object_file): Likewise.
305
e44823cf
JB
3062005-05-09 Jan Beulich <jbeulich@novell.com>
307
308 * config/tc-i386.c (parse_insn): Disallow use of prefix separator
309 and comma in Intel mode.
310
089dfecd
JB
3112005-05-09 Jan Beulich <jbeulich@novell.com>
312
313 * config/tc-i386.c (tc_x86_regname_to_dw2regnum): Correct 64-bit mode
314 names to match ABI. Add more registers for 32-bit and 64-bit modes.
315 Make name array static and const. Adjust lookup to account for NULL
316 entries (standing for unused register numbers).
317
f41bbced
JB
3182005-05-09 Jan Beulich <jbeulich@novell.com>
319
320 * config/tc-i386.c (parse_insn): Consider all matching instructions
321 when checking for string instruction after string-only prefix.
322
6e3f953d
L
3232005-05-07 H.J. Lu <hongjiu.lu@intel.com>
324
325 PR 940
326 * config/tc-ia64.c (start_unwind_section): Properly check
327 comdat group with SHF_GROUP.
328
0c6c36d5
BW
3292005-05-06 Bob Wilson <bob.wilson@acm.org>
330
331 * doc/c-xtensa.texi (Literal Directive): Spelling correction.
332
c138bc38
BW
3332005-05-06 Bob Wilson <bob.wilson@acm.org>
334
335 * config/tc-xtensa.c: Remove excess whitespace.
336 * config/tc-xtensa.h: Likewise.
337 * config/xtensa-istack.h: Likewise.
338 * config/xtensa-relax.c: Likewise.
339 * config/xtensa-relax.h: Likewise.
340
93a9f991
NC
3412005-05-06 Nick Clifton <nickc@redhat.com>
342
343 * sb.h: Fix formatting of comments.
344 * sb.c: Fix formatting of comments.
345
3c9aabc7
JB
3462005-05-06 Jan Beulich <jbeulich@novell.com>
347
348 * sb.h (sb_add_buffer): Reintroduce.
349 * sb.c (sb_add_buffer): Likewise.
350
6eaeac8a
JB
3512005-05-06 Jan Beulich <jbeulich@novell.com>
352
353 * macro.c (new_formal, del_formal): New.
354 (do_formals): Use new_formal. Check for and parse qualifier. Warn if
355 required argument has default value. Stop looking for more formal
356 when there was a vararg one.
357 (macro_expand_body): Use new_formal and del_formal.
358 (macro_expand): Likewise. Initialize local variable err. Don't
359 return immediately when encountering an error. Warn when keyword
360 argument already had a value assigned. Eliminate duplicate clearing
361 of argument value. When current positional argument matches parameter
362 of vararg type, assign to it all the remaining arguments. Issue error
363 when required parameter does not have value.
364 (free_macro): Use del_formal.
365 (expand_irp): Initialize formal type. Free buffers associated with
366 formal prior to returning.
367 * macro.h (struct formal_struct): Add new field 'type' with new
368 enumeration type 'formal_type'.
369 * doc/as.texinfo: Document macro parameter qualifiers.
370 * NEWS: Mention new functionality.
371
26aca5f6
JB
3722005-05-06 Jan Beulich <jbeulich@novell.com>
373
374 * cond.c (s_ifb): New.
375 * read.c (potable): Add s_ifb as handler for .ifb and .ifnb.
376 * read.h (s_ifb): Prototype.
377 * doc/as.texinfo: Document .ifb and .ifnb.
378
5faa8e39
JW
3792005-05-05 Steve Ellcey <sje@cup.hp.com>
380
381 * config/tc-ia64.c (MIN): Undef.
382
eac338cf
PB
3832005-05-05 Paul Brook <paul@codesourcery.com>
384
385 * config/tc-i386.h (ELF_TARGET_FORMAT): Define for TE_VXWORKS.
386
d8244a4a
NC
3872005-05-05 Matt Thomas <matt@3am-software.com>
388
389 * config/tc-vax.c (md_assemble): Don't assume a valueT is 4
390 bytes.
391
4b4da160
NC
3922005-05-05 Nick Clifton <nickc@redhat.com>
393
394 * Update the address and phone number of the FSF organization in
395 the GPL notices in the following files:
396 COPYING, app.c, as.c, as.h, asintl.h, atof-generic.c, bignum.h,
397 bit_fix.h, cgen.c, cgen.h, cond.c, debug.c, depend.c, dw2gencfi.c,
398 dw2gencfi.h, dwarf2dbg.c, dwarf2dbg.h, ecoff.c, ecoff.h, ehopt.c,
399 emul-target.h, emul.h, expr.c, expr.h, flonum-copy.c,
400 flonum-konst.c, flonum.h, frags.c, frags.h, hash.c, hash.h,
401 input-file.c, input-file.h, input-scrub.c, itbl-lex.h, itbl-lex.l,
402 itbl-ops.c, itbl-ops.h, itbl-parse.y, listing.c, listing.h,
403 literal.c, macro.c, macro.h, messages.c, obj.h, output-file.c,
404 output-file.h, read.c, read.h, sb.c, sb.h, stabs.c,
405 struc-symbol.h, subsegs.c, subsegs.h, symbols.c, symbols.h, tc.h,
406 write.c, write.h, config/aout_gnu.h, config/atof-ieee.c,
407 config/atof-vax.c, config/itbl-mips.h, config/m68k-parse.h,
408 config/m68k-parse.y, config/m88k-opcode.h, config/obj-aout.c,
409 config/obj-aout.h, config/obj-bout.c, config/obj-bout.h,
410 config/obj-coff.c, config/obj-coff.h, config/obj-ecoff.c,
411 config/obj-ecoff.h, config/obj-elf.c, config/obj-elf.h,
412 config/obj-evax.c, config/obj-evax.h, config/obj-hp300.c,
413 config/obj-hp300.h, config/obj-ieee.c, config/obj-ieee.h,
414 config/obj-multi.h, config/obj-som.c, config/obj-som.h,
415 config/tc-a29k.c, config/tc-a29k.h, config/tc-alpha.c,
416 config/tc-alpha.h, config/tc-arc.c, config/tc-arc.h,
417 config/tc-arm.h, config/tc-avr.c, config/tc-avr.h,
418 config/tc-cris.c, config/tc-cris.h, config/tc-crx.c,
419 config/tc-crx.h, config/tc-d10v.c, config/tc-d10v.h,
420 config/tc-d30v.c, config/tc-d30v.h, config/tc-dlx.c,
421 config/tc-dlx.h, config/tc-fr30.c, config/tc-fr30.h,
422 config/tc-frv.c, config/tc-frv.h, config/tc-generic.c,
423 config/tc-generic.h, config/tc-h8300.c, config/tc-h8300.h,
424 config/tc-h8500.c, config/tc-h8500.h, config/tc-hppa.c,
425 config/tc-hppa.h, config/tc-i370.c, config/tc-i370.h,
426 config/tc-i386.c, config/tc-i386.h, config/tc-i860.c,
427 config/tc-i860.h, config/tc-i960.c, config/tc-i960.h,
428 config/tc-ia64.c, config/tc-ia64.h, config/tc-ip2k.c,
429 config/tc-ip2k.h, config/tc-iq2000.c, config/tc-iq2000.h,
430 config/tc-m32r.c, config/tc-m32r.h, config/tc-m68851.h,
431 config/tc-m68hc11.c, config/tc-m68hc11.h, config/tc-m68k.c,
432 config/tc-m68k.h, config/tc-m88k.c, config/tc-m88k.h,
433 config/tc-maxq.c, config/tc-maxq.h, config/tc-mcore.c,
434 config/tc-mcore.h, config/tc-mips.c, config/tc-mips.h,
435 config/tc-mmix.c, config/tc-mmix.h, config/tc-mn10200.c,
436 config/tc-mn10200.h, config/tc-mn10300.c, config/tc-mn10300.h,
437 config/tc-msp430.c, config/tc-msp430.h, config/tc-ns32k.c,
438 config/tc-ns32k.h, config/tc-openrisc.c, config/tc-openrisc.h,
439 config/tc-or32.c, config/tc-or32.h, config/tc-pdp11.c,
440 config/tc-pdp11.h, config/tc-pj.c, config/tc-pj.h,
441 config/tc-ppc.c, config/tc-ppc.h, config/tc-s390.c,
442 config/tc-s390.h, config/tc-sh.c, config/tc-sh.h,
443 config/tc-sh64.c, config/tc-sh64.h, config/tc-sparc.c,
444 config/tc-sparc.h, config/tc-tahoe.c, config/tc-tahoe.h,
445 config/tc-tic30.c, config/tc-tic30.h, config/tc-tic4x.c,
446 config/tc-tic4x.h, config/tc-tic54x.c, config/tc-tic54x.h,
447 config/tc-tic80.c, config/tc-tic80.h, config/tc-v850.c,
448 config/tc-v850.h, config/tc-vax.c, config/tc-vax.h,
449 config/tc-w65.c, config/tc-w65.h, config/tc-xstormy16.c,
450 config/tc-xstormy16.h, config/tc-xtensa.c, config/tc-xtensa.h,
451 config/tc-z8k.c, config/tc-z8k.h, config/te-386bsd.h,
452 config/te-freebsd.h, config/te-hp300.h, config/te-hppa.h,
453 config/te-ic960.h, config/te-irix.h, config/te-nbsd.h,
454 config/te-netware.h, config/te-sparcaout.h, config/te-sun3.h,
455 config/te-tmips.h, config/te-vxworks.h, config/vax-inst.h,
456 config/xtensa-istack.h, config/xtensa-relax.c,
2b8725e7 457 config/xtensa-relax.h, doc/fdl.texi
4b4da160 458
699d2810
NC
4592005-05-05 Nick Clifton <nickc@redhat.com>
460
461 * config/tc-arm.c (arm_opts): Make -mlittle-endian switch set
462 the target_big_endian variable to false.
463
69852798
AM
4642005-05-04 Alan Modra <amodra@bigpond.net.au>
465
466 * config/obj-ecoff.c (ecoff_frob_file_before_fix): Correct section
467 list traversal. Use bfd_section_list_prepend.
468 * config/tc-mmix.c (mmix_frob_file): Don't needlessly iterate
469 over the section list.
470 * config/tc-xtensa.c (xtensa_remove_section): Delete.
471 (xtensa_insert_section): Delete.
472 (xtensa_move_seg_list_to_beginning): Use bfd_section_list_remove
473 and bfd_section_list_prepend.
474 (xtensa_reorder_seg_list): Use bfd_section_list_remove and
475 bfd_section_list_insert_after.
476
c1d05a60
NC
4772005-05-03 Nick Clifton <nickc@redhat.com>
478
479 * config/obj-ecoff.c (ecoff_frob_file_before_fix): Fix invocations
480 of bfd_section_list... macros.
481 * config/tc-mmix.c (mmix_frob_file): Likewise.
482 * config/tc-xtensa.c (xtensa_remove_section): Likewise.
483 (xtensa_insert_section): Likewise.
484
485 * macro.c (macro_hash): Remove static.
486 * macro.h (macro_hash): Provide an external declaration.
487
5daa8fe7
L
4882005-05-02 H.J. Lu <hongjiu.lu@intel.com>
489
490 * write.c (write_object_file): Use bfd_section_double_list_remove
491 to remove sections.
492
475bf943
DJ
4932005-05-02 Daniel Jacobowitz <dan@codesourcery.com>
494
495 * doc/Makefile.am (gasver.texi): Correct quoting.
496 * doc/Makefile.in: Regenerated.
497
009b6a7a
DJ
4982005-04-29 Ralf Corsepius <ralf.corsepius@rtems.org>
499
500 * configure.tgt: Add h8300*-*-rtemscoff.
501 Switch h8300*-*-rtems* to elf.
502
7e70f1af
L
5032005-04-29 H.J. Lu <hongjiu.lu@intel.com>
504
505 * hash.c: Undo the last change.
506 * hash.h: Likewise.
507
aa7eb06d
DJ
5082005-04-29 Daniel Jacobowitz <dan@codesourcery.com>
509
510 * doc/Makefile.am (gasver.texi): Depend on bfd/configure instead
511 of Makefile.
512 (DISTCLEANFILES): Remove.
513 (MAINTAINERCLEANFILES): Add asconfig.texi.
514 * aclocal.m4, Makefile.in, doc/Makefile.in: Regenerated.
515
87c245cc
BE
5162005-04-29 Ben Elliston <bje@au.ibm.com>
517
518 * Makefile.am (GAS_CFILES): Remove bignum-copy.c.
519 (GENERIC_OBJS): Likewise, remove bignum-copy.o.
520 (bignum-copy.o): Remove.
521 * Makefile.in: Regenerate.
522 * makefile.vms (OBJS): Remove bignum-copy.obj.
523 * symbols.h (local_symbol_make): Remove declaration.
524 (verify_symbol_chain_2): Likewise.
525 * symbols.c (local_symbol_make): Make static.
526 (max_indent_level): Likewise.
527 (verify_symbol_chain_2): Remove.
528 * macro.c (macro_hash): Make static.
529 * messages.c (fprint_value): Remove.
530 * read.h (get_absolute_expr): Remove.
531 (emit_leb128_expr): Likewise.
532 (do_s_func): Likewise.
533 * read.c (do_s_func): Make static.
534 (emit_leb128_expr): Likewise.
535 (get_absolute_expr): Likewise.
536 * as.h (as_howmuch): Remove declaration.
537 (fprint_value): Likewise.
538 * as.c (myname): Make static.
539 * input-scrub.c (as_howmuch): Remove.
540 (as_1_char): Likewise.
541 * input-file.h (input_file_is_open): Remove.
542 * input-file.c (input_file_is_open): Likewise.
543 * expr.h (expr_build_unary): Remove declaration.
544 (expr_build_binary): Likewise.
545 * expr.c (expr_build_unary): Remove.
546 (expr_build_binary): Likewise.
547 * hash.h (hash_replace): Remove declaration.
548 (hash_delete): Likewise.
549 * hash.c (hash_replace): Remove.
550 (hash_delete): Likewise.
551 * bignum-copy.c (bignum_copy): Move from here ..
552 * config/tc-vax.c (bignum_copy): .. to here.
553 * bignum.h (LOG_TO_BASE_2_OF_10): Remove.
554 (bignum_copy): Remove extern declaration.
555 * sb.h (string_count): Remove extern declaration.
556 (sb_build, sb_add_buffer, sb_print, sb_print_at): Likewise.
557 (sb_name): Likewise.
558 * sb.c (dsize): Replace preprocessor macro with static int.
559 (string_count): Make static.
560 (sb_build, sb_add_buffer, sb_print, sb_print_at): Likewise.
561 (sb_name): Likewise.
562 * config/obj-coff.c (dim_index): Make static.
563 * config/tc-i386.c (GOT_symbol): Likewise.
564 (output_invalid_buf): Likewise.
565 * doc/internals.texi (Warning and error messages): Remove the
566 prototype for fprint_value.
567
f3429a74
BE
5682005-04-27 Ben Elliston <bje@au.ibm.com>
569
570 * link.cmd: Remove.
571
60938e80
L
5722005-04-26 H.J. Lu <hongjiu.lu@intel.com>
573
574 * config/obj-multi.h (FAKE_LABEL_NAME): Defined.
575
576 * read.c (pseudo_set): Disallow symbol set to common symbol.
577
578 PR 857
579 * write.c (write_object_file): Report common symbol name when
580 disallowing local symbol set to common symbol.
581 (adjust_reloc_syms): Disallow local symbol set to undefined
582 symbol.
583
02ddf156
JB
5842005-04-25 Jan Beulich <jbeulich@novell.com>
585
586 * macro.c (macro_expand_body): Replace locals indicator parameters
587 with actual macro_entry. New local variables macro_line and err.
588 Don't return when encountering an error, just record the fact.
589 Detect local symbol name colliding with parameter. Track line number
590 inside of macro expansion.
591 (do_formals): Move local variable name to wider scope. Check
592 parameter of the same name doesn't already exist. In MRI mode, also
593 check it doesn't collide with the argument count pseudo-parameter).
594 (define_macro): Add file and line number parameters. Remove local
595 variable namestr. New local variable error. Initialize macro_entry
596 members file, line, and name. Don't return when encountering an
597 error, just record the fact. Use %s in some diagnostics for read.c
598 to insert the macro name. Free macro_entry on error.
599 (macro_expand): Pass macro_entry to macro_epand_body. Don't return
600 when encountering an error, just record the fact.
601 (expand_irp): Don't return when encountering an error, just record
602 the fact.
603 * macro.h (macro_struct): New members name, file, and line.
604 (define_macro): Add file and line number parameters.
605 * read.c (s_macro): Pass file and line to define_macro. Tag warning
606 regarding pseudo-op redefinition with the file/line that macro
607 definition started at.
608
d2a033cd
BW
6092005-04-22 Bob Wilson <bob.wilson@acm.org>
610
611 * config/tc-xtensa.c (LOOKAHEAD_ALIGNER): Delete macro.
612 (future_alignment_required): Remove ifdefs that use it.
613
84b08ed9
BW
6142005-04-22 Bob Wilson <bob.wilson@acm.org>
615
616 * config/tc-xtensa.c (xg_get_build_instr_size): Remove.
617 (xg_is_narrow_insn, xg_expand_narrow): Remove. Merge into...
618 (xg_is_single_relaxable_insn): ...here. Add "targ" and "narrow_only"
619 parameters.
620 (xg_assembly_relax, xg_find_narrowest_format, relaxation_requirements,
621 convert_frag_narrow): Use new version of xg_is_single_relaxable_insn.
622
d8cbebfd
CG
6232005-04-21 Christian Groessler <chris@groessler.org>
624
625 * config/tc-z8k.c (md_assemble): Fix buffer overrun in operand[]
626 array.
627
e97b3f28
L
6282005-04-20 H.J. Lu <hongjiu.lu@intel.com>
629
630 * config/obj-aout.h (S_IS_EXTERN): Removed.
631 * config/obj-bout.h (S_IS_EXTERN): Likewise.
632 * config/obj-coff.h (S_IS_EXTERN): Likewise.
633 * symbols.c (S_IS_EXTERN): Likewise.
634 * symbols.h (S_IS_EXTERN): Likewise.
635
636 * config/tc-alpha.c (tc_gen_reloc): Replace S_IS_EXTERN with
637 S_IS_EXTERNAL.
638 * config/tc-d10v.c (md_apply_fix3): Likewise.
639 * config/tc-ia64.c (ia64_fix_adjustable): Likewise.
640 * config/tc-iq2000.c (iq2000_fix_adjustable): Likewise.
641 * config/tc-m32r.c (m32r_fix_adjustable): Likewise.
642 * config/tc-mmix.c (mmix_adjust_symtab): Likewise.
643 * config/tc-sh64.c (shmedia_frob_file_before_adjust): Likewise.
644 (shmedia_md_convert_frag): Likewise.
645 * symbols.c (print_symbol_value_1): Likewise.
646 * write.c (write_object_file): Likewise.
647
55e08f71
NC
6482005-04-20 Nick Clifton <nickc@redhat.com>
649
5f9084e9
NC
650 * config/tc-xtensa.c (get_aligned_diff): Change type of
651 branch_align to offsetT so that its signedness matches that of
652 target_size.
653
55e08f71
NC
654 * config/tc-mips.c (macro): Use sprintf_vma to convert a > 32 bit
655 number into a readable string.
656 (load_register): Likewise.
657
1f8b1395
AS
6582005-04-20 Andreas Schwab <schwab@suse.de>
659
660 * config/tc-ia64.c (specify_resource): Initialize all of tmpl.
661
b0825cc2
DM
6622005-04-19 David S. Miller <davem@davemloft.net>
663
664 * config/tc-sparc.c (md_assemble): If sparc_ip gives us a
665 NULL insn, exit early. Remove now spurious NULL checks.
666 (sparc_ip): Use as_bad for unknown opcode errors, set *pinsn
667 to NULL and exit.
668
91c4c449
JB
6692005-04-19 Jan Beulich <jbeulich@novell.com>
670
671 * symbols.h (symbol_find_base): Remove prototype.
672 * symbols.c (save_symbol_name): Remove code section conditional upon
673 STRIP_UNDERSCORE.
674 (symbol_find): Remove.
675 (symbol_find_base): Rename to symbol_find.
676 * subsegs.c (section_symbol): Replace use of symbol_find_base with
677 symbol_find.
678 * config/obj-coff.c (tag_insert): Remove code section conditional
679 upon STRIP_UNDERSCORE.
680 (obj_coff_def): Likewise.
681 (obj_coff_endef): Replace use of symbol_find_base with symbol_find.
682 (coff_frob_symbol): Likewise.
683 (yank_symbols): Likewise.
684 (c_section_symbol): Likewise.
685 * config/obj-coff.h (DO_NOT_STRIP): Remove.
686 * config/tc-arm.c (symbol_locate): Remove code section conditional
687 upon STRIP_UNDERSCORE.
688 * config/tc-h8300.h (DO_NOT_STRIP): Remove.
689 * config/tc-h8500.h (DO_NOT_STRIP): Remove.
690 * config/tc-sh.h (DO_NOT_STRIP): Remove.
691 * config/tc-w65.h (DO_NOT_STRIP): Remove.
692 * config/tc-z8k.h (DO_NOT_STRIP): Remove.
693
80b8152b
AS
6942005-04-19 Andreas Schwab <schwab@suse.de>
695
696 * config/tc-ia64.c (md_assemble): Fix error message for wrong
697 access to application registers.
698
4d56c0a0
JB
6992005-04-19 Jan Beulich <jbeulich@novell.com>
700
701 * config/te-sysv32.h: Remove.
702 * Makefile.am (TARG_ENV_HFILES): Remove reference to
703 config/te-sysv32.h.
704 * Makefile.in (TARG_ENV_HFILES): Likewise.
705
4fdd1e4f
JB
7062005-04-19 Jan Beulich <jbeulich@novell.com>
707
708 PR/847
709 * config/tc-ia64.c (ia64_canonicalize_symbol_name): Re-allow zero-
710 length symbols.
711
791fe849
MK
7122005-04-18 Mark Kettenis <kettenis@gnu.org>
713
714 * config/tc-i386.c (md_begin): Allow hyphens in mnemonics.
715
9ee2a2d4
MR
7162005-04-18 Maciej W. Rozycki <macro@linux-mips.org>
717
718 * config/tc-mips.c (normalize_constant_expr): Don't check for
719 HAVE_32BIT_GPRS.
720 (check_absolute_expr): Only call normalize_constant_expr() if
721 HAVE_32BIT_GPRS.
722 (mips_ip): Likewise.
723
724 * config/tc-mips.c (check_absolute_expr): Fix formatting.
725
e6ca91be
JB
7262005-04-18 Jan Beulich <jbeulich@novell.com>
727
728 * macro.c (free_token): New, freeing all the memory associated with a
729 macro.
730 (do_formals): Move initializers to ...
731 (define_macro): ... here.
732 (delete_macro): Convert passed in name to lower case. Warn when
733 purging macro that doesn't exist. Use hash_jam instead of hash_delete.
734
9f872bbe
MR
7352005-04-15 Maciej W. Rozycki <macro@linux-mips.org>
736
737 * config/tc-mips.c (normalize_constant_expr): Fix formatting.
738
8fe53b44
JB
7392005-04-15 Jan Beulich <jbeulich@novell.com>
740
741 * config/obj-elf.c (obj_elf_struct): New.
742 (elf_pseudo_table). Use it for .offset and .struct.
743
0e5cd789 7442005-04-14 Bob Wilson <bob.wilson@acm.org>
140fe8df 745 Sterling Augustine <sterling@tensilica.com>
0e5cd789
BW
746
747 * config/tc-xtensa.c (get_aligned_diff): Handle target_size larger
748 than the section alignment.
749
dd49a749
BW
7502005-04-14 Bob Wilson <bob.wilson@acm.org>
751 H.J. Lu <hongjiu.lu@intel.com>
752
753 * config/tc-xtensa.h (struct xtensa_frag_type): Add lit_frchain field.
754 * config/tc-xtensa.c (xg_translate_sysreg_op,
755 xtensa_translate_old_userregs_ops,
756 xtensa_find_unaligned_branch_targets,
757 xtensa_find_unaligned_loops, xtensa_fix_close_loop_end_frags,
758 relax_frag_add_nop): Support 64-bit host.
759 (xtensa_mark_literal_pool_location, xtensa_move_literals): Use
760 tc_frag_data lit_frchain and lit_seg fields instead of fr_var.
761
26eebcf5
MK
7622005-04-14 Mark Kettenis <kettenis@gnu.org>
763
64efe625
MK
764 * configure.tgt: Add support for OpenBSD/sparc ELF.
765
26eebcf5
MK
766 * configure.tgt: Set emulation for mips-*-openbsd*.
767 Remove broken mips-dec-openbsd* config.
768 * configure.in: Set default ABI for mips64-*-openbsd*.
769 * configure: Regenerate.
770
39a59cf8
MR
7712005-04-14 Maciej W. Rozycki <macro@linux-mips.org>
772
773 * config/tc-mips.c (macro) [ldd_std]: Don't attempt the GP
774 optimization for constant addresses.
775
f7a568ea
NC
7762005-04-14 Nick Clifton <nickc@redhat.com>
777
778 * as.c (main): Move parse_args before symbol_begin and frag_init
779 so that the hash table size can be set before it is used.
780 * hash.c: Use an unsigned long type for the size of the hash
781 tables.
3c9d25f4 782 * hash.h (set_gas_hash_table_size): Update the prototype.
f7a568ea 783
9e9b66a9
AM
7842005-04-14 Alan Modra <amodra@bigpond.net.au>
785
786 * Makefile.am (NO_WERROR): Define. Use instead of -Wno-error.
787 * acinclude.m4: Include ../bfd/warning.m4.
788 * configure.in: Invoke AM_BINUTILS_WARNINGS.
789 * Makefile.in: Regenerate.
790 * configure: Regenerate.
791 * doc/Makefile.in: Regenerate.
792
2051e8c4
MR
7932005-04-13 Maciej W. Rozycki <macro@linux-mips.org>
794
795 * config/tc-mips.c (IS_ZEXT_32BIT_NUM): New macro.
796 (normalize_address_expr): New function to sign-extend address
797 offsets that fit into 32 bits in 32-bit mode.
798 (macro_build_ldst_constoffset): Use normalize_address_expr()
799 instead of a handcoded sequence.
800 (load_register): Likewise. Report oversized numbers in a useful
801 way.
802 (macro) [ld_st, ldd_std]: Reject all oversized offsets, not only
803 for constant addresses. Report oversized numbers in a useful way.
804 (mips_ip): Use normalize_address_expr() for addresses.
805
bc4bd9ab
MK
8062005-04-12 Mark Kettenis <kettenis@gnu.org>
807
808 * config/tc-i386.c (output_insn): Handle VIA PadLock instructions
809 similar to other instructions now that they're marked as ImmExt.
810
4bdd3565
NC
8112005-04-12 Nick Clifton <nickc@redhat.com>
812
813 * hash.c (DEFAULT_SIZE): Delete. Replace with:
814 (gas_hash_table_size): New static variable.
815 (set_gas_hash_table_size): New function: Records a requested size
816 for the hash tables.
817 (get_gas_hash_table_size): New function: Return a prime number
818 near the requested size of the hash table.
819 (hash_new): Use get_gas_hash_table_size.
820 * hash.h: Add a prototype for set_gas_hash_table_size.
821 * as.c (show_usage): Add description of new switches: --hash-size
822 and --reduce-memory-overheads.
823 (option_values): Add OPTION_HASH_TABLE_SIZE and
824 OPTION_REDUCE_MEMORY_OVERHEADS.
825 (std_longpopts): Add entries for the new options.
826 (parse_args): Handle the new options.
827 * Makefile.am: Add a dependency of as.c on hash.h.
828 * Makefile.in: Regenerate.
829 * doc/as.texinfo: Document the new switches.
830 * NEWS: Mention the new switches.
831
f394e3dd
NC
8322005-04-12 Nick Clifton <nickc@redhat.com>
833
834 PR gas/818
835 * config/tc-hppa.c (pre_defined_registers): Fix %farg[0-3]
836 synonyms.
837
ceae3e33
AM
8382005-04-12 Alan Modra <amodra@bigpond.net.au>
839
840 * Makefile.am: Run "make dep-am".
841 * Makefile.in: Regenerate.
842
2eccd1b4
BW
8432005-04-11 Sterling Augustine <sterling@tensilica.com>
844 Bob Wilson <bob.wilson@acm.org>
845
846 * config/tc-xtensa.c (check_t1_t2_reads_and_writes): Fix typo.
847
333f7af7
MK
8482005-04-11 Mark Kettenis <kettenis@gnu.org>
849
850 * configure.tgt (generic_target): Add support for OpenBSD/i386 ELF.
851
5e75c3ab
JB
8522005-04-11 Jan Beulich <jbeulich@novell.com>
853
854 * NEWS: Mention these changes and their effects.
855 * macro.c (get_token): Use is_name_beginner/is_part_of_name/
856 is_name_ender.
857 (check_macro): Likewise.
858 (buffer_and_nest): Likewise. Permit multiple labels. Don't discard
859 labels together with the closing pseudo-op.
860 (macro_expand_body): Adjust comment. Range-check input before use.
861 Adjust mis-spelled diagnostic. Use is_name_beginner.
862 * read.c (try_macro): New.
863 (read_a_source_file): New static variable last_eol. Don't list
864 macro expansion lines more than once. Call try_macro.
865 (s_macro): Set section of line_label to absolute instead of undefined.
866 * doc/as.texinfo: Add information on the caveats of these changes.
867
514d955d
AM
8682005-04-11 Alan Modra <amodra@bigpond.net.au>
869
870 * symbols.c (symbol_X_add_number): Change return type to "offsetT *".
871 * symbols.h (symbol_X_add_number): Update prototype.
872
a9fcb2a9
EC
8732005-04-10 Eric Christopher <echristo@redhat.com>
874
875 * symbols.c (symbol_X_add_number): Fix warning.
876
045b540e
L
8772005-04-10 H.J. Lu <hongjiu.lu@intel.com>
878
879 * config/tc-m68k.c (md_begin): Support 64bit host.
880 (get_num): Support 64bit BFD on 32bit host.
881
b215186b
L
8822005-04-10 H.J. Lu <hongjiu.lu@intel.com>
883
884 * config/tc-mips.c (md_apply_fix3): Fix typos in BFD_RELOC_64.
885
be95a9c1
AM
8862005-04-09 Alan Modra <amodra@bigpond.net.au>
887
31d20a21
AM
888 * read.c (assign_symbol): Remove const from parm. Fix xcalloc
889 call. Don't do the COFF hacks for multi-emulation gas. Move
890 demand_empty_rest_of_line back to caller.
891 (s_set, equals): demand_empty_rest_of_line here.
892
be95a9c1
AM
893 PR gas/827
894 * as.h (rs_dummy): Define.
895 * symbols.c (symbol_X_add_number): New function.
896 * symbols.h (symbol_X_add_number): Declare.
897 * stabs.c (aout_process_stab): Tidy symbol frag setting.
898 * read.c (assign_symbol): New function, split out from s_set.
899 Use symbol_find_or_make. Leave fr_type of dummy frag as rs_dummy.
900 Fix COFF hacks for multi-emulation gas.
901 (s_set): Call assign_symbol. Remove "register" keyword.
902 (set_zero_frag): New function.
903 (pseudo_set): Always check for assignment to section syms.
904 Always set segment and frag of symbol, and likewise extern for
905 aout/bout. Handle assignment of sym=sym+/-const specially. Don't
906 special case exp.X_add_number non-zero for O_symbol expressions.
907 (equals): Use assign_symbol.
908
6624cbde
BW
9092005-04-08 Bob Wilson <bob.wilson@acm.org>
910
911 * config/tc-xtensa.c (xtensa_create_xproperty_segments): Skip
912 SEC_MERGE sections.
913
dbbaec26
L
9142005-04-06 H.J. Lu <hongjiu.lu@intel.com>
915
916 * config/tc-i386.c (tc_gen_reloc): Don't turn
917 BFD_RELOC_X86_64_32S into BFD_RELOC_32.
918
0d6af1ab
NC
9192005-04-06 Nick Clifton <nickc@redhat.com>
920
921 * po/rw.po: New translation: Kinyarwanda
922 * configure.in (ALL_LINGUAS): Add rw
923 * configure: Regenerate.
924
664df4e4
BW
9252005-04-05 Sterling Augustine <sterling@tensilica.com>
926 Bob Wilson <bob.wilson@acm.org>
927
928 * config/tc-xtensa.c (branch_align_power): New.
929 (xtensa_find_unaligned_branch_targets, get_aligned_diff,
930 future_alignment_required): Use branch_align_power to check section
931 alignment as well as xtensa_fetch_width when aligning branch targets.
932
d77b99c9
BW
9332005-04-05 Bob Wilson <bob.wilson@acm.org>
934
935 * config/tc-xtensa.c: Warning fixes throughout.
936 (xtensa_fetch_width): Change to unsigned.
937 (assemble_nop, xtensa_find_unaligned_branch_targets,
938 xtensa_find_unaligned_loops, xg_assemble_vliw_tokens,
939 is_narrow_branch_guaranteed_in_range, xtensa_fix_close_loop_end_frags,
940 min_bytes_to_other_loop_end, unrelaxed_frag_min_size,
941 unrelaxed_frag_max_size, xtensa_fix_short_loop_frags,
942 count_insns_to_loop_end, unrelaxed_frag_min_insn_count,
943 get_text_align_max_fill_size, get_text_align_nop_count,
944 get_text_align_nth_nop_size, get_noop_aligned_address,
945 get_aligned_diff, convert_frag_align_next_opcode,
946 convert_frag_immed_finish_loop, xtensa_create_property_segments,
947 xtensa_create_xproperty_segments, xt_block_aligned_size): Clean up
948 types, avoiding size_t and using offsetT and addressT appropriately.
949 (get_text_align_power): Clean up types. Avoid incorrect bound.
950 (get_text_align_fill_size): Clean up types. Restructure for clarity.
951
da9f89d4
L
9522005-04-04 H.J. Lu <hongjiu.lu@intel.com>
953
954 * config/tc-ia64.c (start_unwind_section): Undo the change
955 of 2004-08-18.
956 (generate_unwind_image, dot_endp): Likewise.
957
f6fe78d6
JW
9582005-04-01 David Mosberger <davidm@hpl.hp.com>
959
960 * config/tc-ia64.c (ia64_handle_align): Move le_nop and
961 le_nop_stop arrays and initializers to file scope.
962 (md_begin): When generating code for anything other than
963 Itanium 1, use MMI instead of MFI NOP bundles as a filler.
964
a7d61044
JB
9652005-04-01 Jan Beulich <jbeulich@novell.com>
966
967 * config/tc-i386.c (output_imm): Also set sign flag for 64-bit push
968 immediates.
969
d2c5f73e
NC
9702005-04-01 Jan-Benedict Glaw <jbglaw@lug-owl.de>
971
972 * NEWS: Mention [fdgh]_floating.
973 * config/atof-vax.c: Fix some whitespace.
974 * config/tc-vax.c (md_pseudo_table): Add "[fdgh]_floating".
975
56f36663
NC
9762005-04-01 Nick Clifton <nickc@redhat.com>
977
978 * configure.in: Add a check for <unistd.h> providing a prototype
979 for getopt() which is compatible with the one in
980 include/getopt.h. If so then define HAVE_DECL_GETOPT.
981 * configure: Regenerate.
982 * config.in (HAVE_DECL_GETOPT): Add.
983
8a75718c
JB
9842005-04-01 Jan Beulich <jbeulich@novell.com>
985
986 * config/tc-i386.c (s_bss): Call obj_elf_section_change_hook.
987
ae8887b5
JB
9882005-04-01 Jan Beulich <jbeulich@novell.com>
989
990 * config/tc-i386.c (md_apply_fix3): Also handle BFD_RELOC_X86_64_32S.
991 (tc_gen_reloc): Handle BFD_RELOC_X86_64_32S in the default case.
992
05ea83ed
JB
9932005-03-30 Julian Brown <julian@codesourcery.com>
994
995 * config/tc-arm.c (arm_adjust_symtab): Rename
996 bfd_elf32_is_arm_mapping_symbol_name to bfd_is_arm_mapping_symbol_name.
997
9d2da7ca
JB
9982005-03-30 Julian Brown <julian@codesourcery.com>
999
1000 * config/tc-arm.c (mapping_state): Change documentation in function
1001 comment to cross-reference spec instead. Change type of mapping symbols
1002 to BSF_NO_TYPE.
1003 (arm_adjust_symtab): Don't change type of mapping symbols here.
1004
e8a38df5
AL
10052005-03-30 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
1006
1007 * as.h [NEED_DECLARATION_FFS] (ffs): Prototype and alphabetize.
1008 * config.in: Regenerate.
1009 * configure: Regenerate.
1010 * configure.in: Check for ffs decl and alphabetize.
1011
ba93b8ac
DJ
10122005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
1013 Phil Blundell <philb@gnu.org>
1014
1015 * config/tc-arm.c (arm_parse_reloc): Add TLS relocations.
1016 (md_apply_fix3): Mark TLS symbols.
1017 (tc_gen_reloc): Handle TLS relocations.
1018 (arm_fix_adjustable): Ignore TLS relocations.
1019 (s_arm_elf_cons): Support expressions after decorated symbols.
1020
84798bd6
JB
10212005-03-29 Julian Brown <julian@codesourcery.com>
1022
1023 * config/tc-arm.c (marked_pr_dependency): New bitmap, bit N indicates
1024 whether personality routine index N has been output for this section.
1025 (mapping_state): tc_segment_info_data now struct not enum.
1026 (arm_elf_change_section): Likewise, and marked_pr_dependency is now
1027 handled on section change.
1028 (create_unwind_entry): Previous code to output dependency removed.
1029 (s_arm_unwind_fnend): Output dependency if it hasn't been done already
1030 for this section.
1031 * config/tc-arm.h (TC_SEGMENT_INFO_TYPE): Redefined as struct
1032 arm_segment_info_type.
1033 (arm_segment_info_type): New struct.
84798bd6 1034
7b1cc377
BW
10352005-03-28 Sterling Augustine <sterling@tensilica.com>
1036 Bob Wilson <bob.wilson@acm.org>
1037
1038 * config/tc-xtensa.c (do_align_targets): Update comment.
1039 (xtensa_frob_label): Compute "freq" before possibly switching frags.
1040 Insert a LOOP_END frag before every loop target, and do not overload
1041 DESIRE_ALIGN_IF_TARGET frags with loop end information.
1042 (xg_assemble_vliw_tokens): Use do_align_targets.
1043 (xtensa_fix_target_frags): Remove code to convert a
1044 DESIRE_ALIGN_IF_TARGET frag to a LOOP_END frag when there is a
1045 negatable branch at the end of a loop.
1046 (frag_can_negate_branch): Delete.
1047
8c2fda1d
L
10482005-03-28 David Mosberger <davidm@hpl.hp.com>
1049 H.J. Lu <hongjiu.lu@intel.com>
1050
1051 PR 803
1052 NEWS: Mention "-mtune=[itanium1|itanium2]".
1053
1054 * config/tc-ia64.c (md): Add tune.
1055 (md_parse_option): Accepted "-mtune=[itanium1|itanium2]".
1056 (md_show_usage): Add "-mtune=[itanium1|itanium2]".
1057 (extra_goodness): Prefer M- and I-unit NOPs for itanium2. F and
1058 B unit NOPs are discouraged for McKinley-derived cores.
1059 (md_begin): Don't hardcode the "extra_goodness()" function in
1060 the comment...
1061 (ia64_init): Set md.tune to itanium2.
1062
1063 * doc/as.texinfo: Add -mtune=[itanium1|itanium2]".
1064 * doc/c-ia64.texi: Likewise.
1065
161840f9
ILT
10662005-03-27 Ian Lance Taylor <ian@airs.com>
1067
1068 * config/obj-coff.c (coff_frob_symbol): When crashing because of a
1069 bad C_EFCN symbol, print its name.
1070
7c834684
BW
10712005-03-25 Bob Wilson <bob.wilson@acm.org>
1072
1073 * config/tc-xtensa.c (use_longcalls): Delete.
1074 (xg_symbolic_immeds_fit): Check for direct calls and return TRUE if
1075 the use_longcalls flag is set. Do this before checking the segment.
1076 (xg_expand_assembly_insn): Rearrange to use new do_expand flag. Never
1077 expand direct calls at this point.
1078 (xtensa_set_frag_assembly_state): Set use_longcalls flag.
1079 (xtensa_find_unmarked_state_frags): Likewise.
1080 (md_assemble): Do not disable longcalls by setting is_specific_opcode.
1081 (xg_assemble_vliw_tokens): Switch frags when use_longcalls changes.
1082 (convert_frag_immed): Remove unnecessary check of is_specific_opcode.
1083 * config/tc-xtensa.h (xtensa_frag_type): Add use_longcalls flag.
1084
ff1e783f
HPN
10852005-03-25 Hans-Peter Nilsson <hp@bitrange.com>
1086
1087 * config/tc-mmix.c, config/tc-mmix.h: Convert to ISO C90.
1088
695a4822
HPN
10892005-03-25 Hans-Peter Nilsson <hp@axis.com>
1090
1091 * config/tc-cris.h: Convert to ISO C90.
1092 * config/tc-cris.c: Ditto.
1093 (md_estimate_size_before_relax): Remove obsolete comment for
1094 parameter "segment_type".
1095 (md_begin): Document reason for cast of hash_insert argument.
1096 (md_atof): Correct type of parameter "type".
1097
ea1562b3
NC
10982005-03-24 Nick Clifton <nickc@redhat.com>
1099
1100 * write.h (bit_fix_new): Remove redundant prototype.
1101 * config/atof-ieee.c: Convert to ISO-C90 and fix formatting.
1102 * config/obj-aout.c: Convert to ISO-C90 and fix formatting.
1103 * config/obj-aout.h: Convert to ISO-C90 and fix formatting.
1104 * config/obj-bout.c: Convert to ISO-C90 and fix formatting.
1105 * config/obj-bout.h: Convert to ISO-C90 and fix formatting.
1106 * config/obj-ecoff.c: Convert to ISO-C90 and fix formatting.
1107 * config/obj-ecoff.h: Convert to ISO-C90 and fix formatting.
1108 * config/obj-som.c: Convert to ISO-C90 and fix formatting.
1109 * config/obj-som.h: Convert to ISO-C90 and fix formatting.
1110 * config/tc-a29k.c: Convert to ISO-C90 and fix formatting.
1111 * config/tc-a29k.h: Convert to ISO-C90 and fix formatting.
1112 * config/tc-alpha.c: Convert to ISO-C90 and fix formatting.
1113 * config/tc-alpha.h: Convert to ISO-C90 and fix formatting.
1114 * config/tc-arc.c: Convert to ISO-C90 and fix formatting.
1115 * config/tc-arc.h: Convert to ISO-C90 and fix formatting.
1116 * config/tc-d10v.c: Convert to ISO-C90 and fix formatting.
1117 * config/tc-d10v.h: Convert to ISO-C90 and fix formatting.
1118 * config/tc-d30v.c: Convert to ISO-C90 and fix formatting.
1119 * config/tc-d30v.h: Convert to ISO-C90 and fix formatting.
1120 * config/tc-dlx.c: Convert to ISO-C90 and fix formatting.
1121 * config/tc-dlx.h: Convert to ISO-C90 and fix formatting.
1122 * config/tc-fr30.c: Convert to ISO-C90 and fix formatting.
1123 * config/tc-fr30.h: Convert to ISO-C90 and fix formatting.
1124 * config/tc-h8500.c: Convert to ISO-C90 and fix formatting.
1125 * config/tc-h8500.h: Convert to ISO-C90 and fix formatting.
1126 * config/tc-i370.c: Convert to ISO-C90 and fix formatting.
1127 * config/tc-i370.h: Convert to ISO-C90 and fix formatting.
1128 * config/tc-i960.c: Convert to ISO-C90 and fix formatting.
1129 * config/tc-ip2k.c: Convert to ISO-C90 and fix formatting.
1130 * config/tc-ip2k.h: Convert to ISO-C90 and fix formatting.
1131 * config/tc-m32r.c: Convert to ISO-C90 and fix formatting.
1132 * config/tc-m32r.h: Convert to ISO-C90 and fix formatting.
1133 * config/tc-m88k.c: Convert to ISO-C90 and fix formatting.
1134 * config/tc-m88k.h: Convert to ISO-C90 and fix formatting.
1135 * config/tc-mcore.c: Convert to ISO-C90 and fix formatting.
1136 * config/tc-mcore.h: Convert to ISO-C90 and fix formatting.
1137 * config/tc-mn10200.c: Convert to ISO-C90 and fix formatting.
1138 * config/tc-ns32k.c: Convert to ISO-C90 and fix formatting.
1139 * config/tc-ns32k.h: Convert to ISO-C90 and fix formatting.
1140 * config/tc-openrisc.c: Convert to ISO-C90 and fix formatting.
1141 * config/tc-openrisc.h: Convert to ISO-C90 and fix formatting.
1142 * config/tc-or32.c: Convert to ISO-C90 and fix formatting.
1143 * config/tc-or32.h: Convert to ISO-C90 and fix formatting.
1144 * config/tc-pdp11.h: Convert to ISO-C90 and fix formatting.
1145 * config/tc-pj.c: Convert to ISO-C90 and fix formatting.
1146 * config/tc-pj.h: Convert to ISO-C90 and fix formatting.
1147 * config/tc-tahoe.c: Convert to ISO-C90 and fix formatting.
1148 * config/tc-tic80.c: Convert to ISO-C90 and fix formatting.
1149 * config/tc-tic80.h: Convert to ISO-C90 and fix formatting.
1150 * config/tc-v850.c: Convert to ISO-C90 and fix formatting.
1151 * config/tc-v850.h: Convert to ISO-C90 and fix formatting.
1152 * config/tc-w65.c: Convert to ISO-C90 and fix formatting.
1153 * config/tc-w65.h: Convert to ISO-C90 and fix formatting.
1154 * config/tc-xstormy16.c: Convert to ISO-C90 and fix formatting.
3c9d25f4 1155 * config/tc-xstormy16.h: Convert to ISO-C90 and fix formatting.
ea1562b3 1156
d110d6a2
JB
11572005-03-23 Jim Blandy <jimb@redhat.com>
1158
1159 * config/tc-arm.c (arm_adjust_symtab): Fetch elf_sym's binding
1160 attributes properly.
1161
ed84e695
NC
11622005-03-23 Mike Frysinger <vapier@gentoo.org>
1163 Nick Clifton <nickc@redhat.com>
1164
1165 * configure.tgt: Accept any C library to accompany a GNU Linux
1166 implementation, not just the GNU C library.
1167 * configure.in: Likewise.
1168 * configure: Regenerate.
1169
4d5f9b2a
NC
11702005-03-23 Nick Clifton <nickc@redhat.com>
1171
1172 * config/tc-tic30.c: Convert to ISO C90 formatting.
1173 * config/tc-tic30.h: Convert to ISO C90 formatting.
1174 * config/tc-pdp11.c: Convert to ISO C90 formatting.
1175 * config/atof-vax.c: Convert to ISO C90 formatting.
1176
704803a9
MR
11772005-03-21 Maciej W. Rozycki <macro@mips.com>
1178
1179 * config/tc-mips.c (mips_frob_file): Sort BFD_RELOC_MIPS16_LO16
1180 relocations correctly as well.
1181 (mips_fix_adjustable): Don't make BFD_RELOC_MIPS16_LO16
1182 relocations in mergeable sections section-relative either.
1183
6e2a91a3
BW
11842005-03-21 Bob Wilson <bob.wilson@acm.org>
1185
1186 * config/tc-xtensa.c (md_apply_fix3): Recognize XTENSA_PLT relocations.
1187
3d063691
NC
11882005-03-21 Nick Clifton <nickc@redhat.com>
1189
1a66a017
NC
1190 * config/tc-sh.c (sh_elf_final_processing): Fix compile time
1191 warning by providing a prototype for sh_symbian_find_elf_flags.
1192
3d063691
NC
1193 * cgen.c (gas_cgen_parse_operand): Fix typo introduced by
1194 previous delta.
1195
6f19c13c
AM
11962005-03-21 Alan Modra <amodra@bigpond.net.au>
1197
1198 * configure.tgt: Handle setting of bfd_gas for fmt=multi targets
1199 along with other formats that set bfd_gas. Remove unnecessary
1200 setting of bfd_gas. Delete strongarm cases in generic_target
1201 switch.
1202
bd17c2c3
AM
12032005-03-21 Alan Modra <amodra@bigpond.net.au>
1204
1205 PR gas/780
1206 * config/tc-m68k.c (TRUNC, SEXT): Define.
1207 (issbyte, isubyte, issword, isuword, isbyte, isword): Use the above.
1208 (m68k_ip): Truncate or sign extend expressions as appropriate.
1209 (get_num): Likewise.
1210 (md_apply_fix3): Use SEXT.
1211
ec91a2c2
AM
12122005-03-21 Alan Modra <amodra@bigpond.net.au>
1213
1214 * Makefile.am (OBJ_FORMAT_CFILES): Prune config/obj-vms.c.
1215 (OBJ_FORMAT_HFILES): Prune config/obj-vms.h.
1216 (obj-vms.o): Delete rule.
1217 Run "make dep-am".
1218 * Makefile.in: Regenerate.
1219 * aclocal.m4: Regenerate.
1220 * doc/Makefile.in: Regenerate.
1221 * po/POTFILES.in: Regenerate.
1222
238d258f
NC
12232005-03-18 C Jaiprakash <cjaiprakash@noida.hcltech.com>
1224
1225 * config/tc-m68k.c (m68k_elf_final_processing): Set file specific
1226 flag for coldfire v4e.
1227
30f725a1
BW
12282005-03-17 Bob Wilson <bob.wilson@acm.org>
1229
1230 * config/tc-xtensa.c (xg_apply_tentative_value): Rename to
1231 xg_apply_fix_value and return a value to indicate success.
1232 (md_pcrel_from): Skip check of fx_done. Return 0 if not PC-relative.
1233 (xtensa_force_relocation): Remove checks for VTABLE relocs.
1234 (xtensa_validate_fix_sub): New.
1235 (xtensa_fix_adjustable): Remove check for external or weak symbols.
1236 (tc_gen_reloc): Move code to handle difference of symbols and code to
1237 apply tentative fix values to ...
1238 (md_apply_fix3): ...here. Enable standard overflow checks for simple
1239 8, 16, and 32 bit relocations. Apply fixes for slot-specific
1240 relocations when linkrelax flag is not set.
1241 * config/tc-xtensa.h (xtensa_validate_fix_sub): Add prototype.
1242 (TC_FORCE_RELOCATION_SUB_SAME, TC_VALIDATE_FIX_SUB): Define.
1243
a724f0f4
JB
12442005-03-17 Jan Beulich <jbeulich@novell.com>
1245
1246 * config/tc-i386.c (i386_scale): Beautify error message.
1247 (Intel syntax comments): Update.
1248 (struct intel_parser_s): Add fields in_offset, in_bracket, and
1249 next_operand.
1250 (intel_e04_1, intel_e05_1, intel_e05_1, intel_e09_1, intel_e10_1):
1251 Remove declarations.
1252 (intel_bracket_expr): Declare.
1253 (i386_intel_operand): Initialize new intel_parser fields. Wrap most
1254 of the function body in a loop allowing to split an operand into two.
1255 Replace calls to malloc and checks of it returning non-NULL with
1256 calls to xmalloc/xstrdup.
1257 (intel_expr): SHORT no longer handled here. Add comment indicating
1258 comparison ops need implementation.
1259 (intel_e04, intel_e04_1): Combine, replace recursion with loop.
1260 Check right operand of - does not specify a register when parsing
1261 the address of a memory reference.
1262 (intel_e05, intel_e05_1): Combine, replace recursion with loop.
1263 Check operands do not specify a register when parsing the address of
1264 a memory reference.
1265 (intel_e06, intel_e06_1): Likewise.
1266 (intel_e09, intel_e09_1): Combine, replace recursion with loop. Also
1267 handle SHORT as well as unary + and -. Don't accept : except for
1268 segment overrides or in direct far jump/call insns.
1269 (intel_brack_expr): New.
1270 (intel_e10, intel_e10_1): Combine, replace recursion with loop. Use
1271 intel_brack_expr.
1272 (intel_e11): Replace chain of if/else-if by switch, alloing fall-
1273 through in certain cases. Use intel_brack_expr. Add new diagnostics.
1274 Allow symbolic constants as register scale value.
1275 (intel_get_token): Replace call to malloc and check of return value
1276 with call to xmalloc. Change handling for FLAT to match MASM's.
1277 (intel_putback_token): Don't try to back up/free current token if
1278 that is T_NIL.
1279
deeaaff8
DJ
12802005-03-16 Daniel Jacobowitz <dan@codesourcery.com>
1281
1282 * configure.tgt: Set emulation for arm-*-eabi*.
1283 * config/tc-arm.c (meabi_flags): Check EABI_DEFAULT.
1284 * config/te-armeabi.h: New file.
1285 * config/te-armlinuxeabi.h (EABI_DEFAULT): Define.
1286 * config/te-symbian.h: Include "te-armeabi.h".
1287
199fea98
NC
12882005-03-16 Nick Clifton <nickc@redhat.com>
1289
1290 * cgen.c (gas_cgen_parse_operand): Copy opinfo parameter into a
1291 local variable in case it is clobbered by the setjmp.
1292
1ad12f97
NC
12932005-03-16 Nick Clifton <nickc@redhat.com>
1294 Ben Elliston <bje@au.ibm.com>
1295
569acd2c 1296 * configure.in (werror): New switch: Add -Werror to the
1ad12f97 1297 compiler command line. Enabled by default. Disable via
569acd2c 1298 --disable-werror.
1ad12f97
NC
1299 * configure: Regenerate.
1300
a5324a3e
NC
13012005-03-16 Nick Clifton <nickc@redhat.com>
1302
1303 * config/obj-coff.h: Convert to ISO C90 formatting.
1304 * config/obj-coff.c: Convert to ISO C90 formatting.
1305
b05fe5cf
ZW
13062005-03-15 Zack Weinberg <zack@codesourcery.com>
1307
1308 * config/tc-arm.c (do_mla): Rename to do_mlas, take second
1309 is_mls parameter; do not diagnose Rm==Rd when is_mls.
1310 (do_mla, do_mls, five_bit_unsigned_immediate, bfci_lsb_and_width)
1311 (do_bfc, do_bfi, do_bfx, do_rbit, do_mov16, do_ldsttv4): New functions.
1312 (insns): Add ARMv6T2 instructions:
1313 bfc bfi mls movw movt rbit sbfx ubfx ldrht ldrsht ldrsbt strht.
1314 (arm_archs): Add V6T2 variants.
1315
957d91c1
NC
13162005-03-15 Nick Clifton <nickc@redhat.com>
1317
1318 * NEWS: Add cutoff for changes in 2.16 release.
1319
43c3ab55
JB
13202005-03-15 Jan Beulich <jbeulich@novell.com>
1321
1322 * expr.c (operand): Merge handling of unary + into that for unary
1323 -, !, and ~.
1324
5862107c
EC
13252005-03-14 Eric Christopher <echristo@redhat.com>
1326
1327 * config/tc-mips.c: Include dw2gencfi.h.
1328 (mips_cfi_frame_initial_instructions): New.
1329 * config/tc-mips.h (TARGET_USE_CFIPOP): Define.
1330 (tc_cfi_frame_initial_instructions): Ditto.
1331 (DWARF2_DEFAULT_RETURN_COLUMN): Ditto.
1332 (DWARF2_CIE_DATA_ALIGNMENT): Ditto.
1333 * Makefile.am: Update dependencies.
1334 * Makefile.in: Regenerate.
1335
729ae8d2
AM
13362005-03-15 Alan Modra <amodra@bigpond.net.au>
1337
1338 * po/es.po: Commit new Spanish translation.
1339
882cb63e
AM
13402005-03-14 Alan Modra <amodra@bigpond.net.au>
1341
1342 * po/tr.po: Commit new Turkish translation.
1343
885fc257
ZW
13442005-03-12 Zack Weinberg <zack@codesourcery.com>
1345
1346 * config/tc-arm.c (tinsns): Add ARMv6K instructions sev, wfe,
1347 wfi, yield.
1348
e330299e
DJ
13492005-03-11 Daniel Jacobowitz <dan@codesourcery.com>
1350
1351 * config-gas.com: Mark vax-vms as obsolete.
1352 * configure.in: Remove fmt=vms support.
1353 * config.in: Regenerate.
1354 * configure: Regenerate.
1355 * config/obj-vms.h, config/obj-vms.c, config/vms-conf.h: Remove.
1356
7b1cc377
BW
13572005-03-10 Sterling Augustine <sterling@tensilica.com>
1358 Bob Wilson <bob.wilson@acm.org>
0fa77c95
BW
1359
1360 * config/tc-xtensa.c (finish_vinsn): Include the last instruction slot
1361 when checking if xg_resolve_literals needs to be called.
1362 * config/tc-xtensa.h: Fix spelling typo in a comment.
1363
4962e196
JB
13642005-03-10 Jan Beulich <jbeulich@novell.com>
1365
1366 * config/tc-tic54x.h (tic54x_macro_info): Change parameter type.
1367 * config/tc-tic54x.c (tic54x_macro_info): Likewise. Replace hand-
1368 crafted structure declarations with the types from macro.h.
1369
4184909a
RS
13702005-03-09 Richard Sandiford <rsandifo@redhat.com>
1371
1372 * config/tc-mips.c (s_cpsetup): Use '__gnu_local_gp' instead of '_gp'
1373 for -mno-shared optimization.
1374
7d8e00cf
RS
13752005-03-09 Richard Sandiford <rsandifo@redhat.com>
1376
1377 * config/tc-mips.c (MAX_VR4130_NOPS, MAX_DELAY_NOPS): New macros.
1378 (MAX_NOPS): Bump to 4.
1379 (mips_fix_vr4130): New variable.
1380 (nops_for_vr4130): New function.
1381 (nops_for_insn): Use MAX_DELAY_NOPS rather than MAX_NOPS. Use
1382 nops_for_vr4130 if working around VR4130 errata.
1383 (OPTION_FIX_VR4130, OPTION_NO_FIX_VR4130): New macros.
1384 (md_longopts): Add -mfix-vr4130 and -mno-fix-vr4130.
1385 (md_parse_option): Handle them.
1386 (md_show_usage): Print them.
1387 * doc/c-mips.texi: Document -mfix-vr4130 and -mno-fix-vr4130.
1388
dc36a61f
RS
13892005-03-09 Richard Sandiford <rsandifo@redhat.com>
1390
1391 * config/tc-mips.c (append_insn): Remove cop_interlocks test from
1392 branch delay code.
1393
7d10b47d
RS
13942005-03-09 Richard Sandiford <rsandifo@redhat.com>
1395
1396 * config/tc-mips.h (mips_flush_pending_output): Delete.
1397 (mips_emit_delays): Declare.
1398 (md_flush_pending_output): Use mips_emit_delays.
1399 * config/tc-mips.c (mips_no_prev_insn): Remove parameter; always forget
1400 the previous instructions.
1401 (md_begin, append_insn, md_parse_option): Update callers.
1402 (mips_emit_delay): Remove parameter. Move INSNS != 0 code to
1403 start_noreorder.
1404 (mips_align, s_change_sec, s_cons, s_float_cons, s_gpword)
1405 (s_gpdword): Update callers.
1406 (start_noreorder, end_noreorder): New functions.
1407 (macro, macro2, mips16_macro, s_mipsset): Use them instead of
1408 manipulating mips_opts or prev_nop_frag directly.
1409 (mips_flush_pending_output): Delete.
1410
404a8071
RS
14112005-03-09 Richard Sandiford <rsandifo@redhat.com>
1412
1413 * config/tc-mips.c (mips_move_labels): New function, taken from...
1414 (append_insn, mips_emit_delays): ...here.
1415
71400594
RS
14162005-03-09 Richard Sandiford <rsandifo@redhat.com>
1417
1418 * config/tc-mips.c (MAX_NOPS): New macro.
1419 (history): Resize to 1 + MAX_NOPS.
1420 (fix_vr4120_class): New enumeration.
1421 (vr4120_conflicts): New variable.
1422 (init_vr4120_conflicts): New function.
1423 (md_begin): Call it.
1424 (insn_uses_reg): Constify first argument.
1425 (classify_vr4120_insn, insns_between, nops_for_insn, nops_for_sequence)
1426 (nops_for_insn_or_target): New functions.
1427 (append_insn): Use the new nops_for_* functions instead of inline
1428 delay checks. Generalize prev_nop_frag handling to handle an
1429 arbitrary history length. Insert nops into the history buffer
1430 once the number of nops in prev_nop_frag is fixed.
1431 (emit_delays): Use nops_for_insn instead of inline delay checks.
1432
9b91f544
RS
14332005-03-09 Richard Sandiford <rsandifo@redhat.com>
1434
1435 * config/tc-mips.c (append_insn): Remove now-redundant nops != 0
1436 check from branch delay code. Remove unnecessary check for branches.
1437
1e915849
RS
14382005-03-09 Richard Sandiford <rsandifo@redhat.com>
1439
1440 * config/tc-mips.c (dummy_opcode): Delete.
1441 (nop_insn, mips16_nop_insn): New variables.
1442 (NOP_INSN): New macro.
1443 (insn_length, create_insn, install_insn, move_insn, add_fixed_insn)
1444 (add_relaxed_insn, insert_into_history, emit_nop): New functions.
1445 (md_begin): Initialize nop_insn and mips16_nop_insn.
1446 (append_insn): Use the new emit_nop function to add nops, recording
1447 them in the history buffer. Use add_fixed_insn or add_relaxed_insn
1448 to reserve room for the instruction and install_insn to install the
1449 final form. Use insert_into_history to record the instruction in
1450 the history buffer. Use move_insn to do delay slot filling.
1451 (mips_emit_delays): Use add_fixed_insn instead of the emit_nop macro.
1452 (macro_build, mips16_macro_build, macro_build_lui, mips_ip)
1453 (mips16_ip): Use create_insn to initialize mips_cl_insns.
1454
bf12938e
RS
14552005-03-09 Richard Sandiford <rsandifo@redhat.com>
1456
1457 * config/tc-mips.c (INSERT_BITS, EXTRACT_BITS, INSERT_OPERAND)
1458 (EXTRACT_OPERAND, MIPS16_INSERT_OPERAND, MIPS16_EXTRACT_OPERAND): New.
1459 (insn_uses_reg, reg_needs_delay, append_insn, macro_build)
1460 (mips16_macro_build, macro_build_lui, mips16_macro, mips_ip)
1461 (mips16_ip): Use the new macros instead of explicit masks and shifts.
1462
a38419a5
RS
14632005-03-09 Richard Sandiford <rsandifo@redhat.com>
1464
1465 * config/tc-mips.c (mips_cl_insn): Replace the valid_p, delay_slot_p
1466 and extended_p fields with a single fixed_p field.
1467 (append_insn, mips_no_prev_insn): Adjust accordingly.
1468
2fa15973
RS
14692005-03-09 Richard Sandiford <rsandifo@redhat.com>
1470
1471 * config/tc-mips.c (mips_cl_insn): Replace reloc_type array with
1472 a single mips16_absolute_jump_p bit.
1473 (append_insn): Adjust accordingly.
1474
47e39b9d
RS
14752005-03-09 Richard Sandiford <rsandifo@redhat.com>
1476
1477 * config/tc-mips.h (mips_cl_insn): Move definition to...
1478 * config/tc-mips.c (mips_cl_insn): ...here. Add new fields:
1479 frag, where, fixp, reloc_type, valid_p, noreorder_p, delay_slot_p
1480 and extended_p.
1481 (history): New variable.
1482 (prev_insn, prev_prev_insn, prev_insn_valid, prev_insn_frag)
1483 (prev_insn_where, prev_insn_reloc_type, prev_insn_fixp)
1484 (prev_insn_is_delay_slot, prev_insn_unreordered, prev_insn_extended)
1485 (prev_prev_insn_unreordered): Delete.
1486 (reg_needs_delay, append_insn, mips_no_prev_insn, mips_emit_delays)
1487 (macro_start): Replace uses of prev_insn* with the equivalent history[]
1488 field.
1489
399132af
DJ
14902005-03-08 Daniel Jacobowitz <dan@codesourcery.com>
1491
1492 * doc/Makefile.am: Update as.info dependencies.
1493 * aclocal.m4, Makefile.in, doc/Makefile.in: Regenerated.
1494
14952005-03-08 Jan Beulich <jbeulich@novell.com>
fffeaa5f
JB
1496
1497 * doc/as.texinfo: Add sentence to indicate redefining a macro is an
1498 error, and point to .purgem documentation if someone really needs
1499 re-definitions.
1500 * NEWS: Mention macro redefinition is now an error.
1501
9b505842
JB
15022005-03-08 Jan Beulich <jbeulich@novell.com>
1503
1504 * config/tc-ia64.c (emit_one_bundle): Track last slot user insn was
1505 emitted to. Add more precise diagnostics for non-fitting insns based
1506 on that. Eliminate now superfluous special casing of MLX. Clear out
1507 slot information when dropping an insn.
1508
ef6a2b41
JB
15092005-03-08 Jan Beulich <jbeulich@novell.com>
1510
1511 * config/tc-ia64.c (parse_section_name): Rename to...
1512 (cross_section): In addition to separating the name from the rest of
1513 the arguments, also carry out the operation.
1514 (dot_xdata): Use cross_section.
1515 (dot_float_cons): Likewise.
1516 (dot_xstringer): Likewise.
1517 (dot_xdata_ua): Likewise.
1518 (dot_float_cons_ua): Likewise. Pass float_cons, not stmt_float_cons.
1519
06647dfd
AM
15202005-03-05 Alan Modra <amodra@bigpond.net.au>
1521
1522 * po/gas.pot: Regenerate.
1523
bbe506e8
TS
15242005-03-04 David Daney <ddaney@avtrex.com>
1525
1526 * config/tc-mips.c (macro_build_lui): Use '__gnu_local_gp'
1527 instead of '_gp' for -mno-shared optimization.
1528 (s_cpload): Ditto.
1529 (s_abicalls): Document it in the comment.
1530 (md_show_usage): Document the -mno-shared option.
1531
aed1a261
RS
15322005-03-04 Richard Sandiford <rsandifo@redhat.com>
1533
1534 * config/tc-mips.c (mips_set_options): Add sym32 field.
1535 (mips_opts): Initialize it.
1536 (HAVE_32BIT_ADDRESSES): Set to true if pointers are 32 bits wide.
1537 (HAVE_64BIT_ADDRESSES): Redefine as !HAVE_32BIT_ADDRESSES.
1538 (HAVE_32BIT_SYMBOLS, HAVE_64BIT_SYMBOLS): New macros.
1539 (load_address): Use HAVE_64BIT_SYMBOLS instead of HAVE_64BIT_ADDRESSES
1540 when deciding whether to use a symbolic %highest/%higher expansion.
1541 (macro): Likewise. Remove o64/n32 linux hack. Always use
1542 ADDRESS_ADD*_INSN for address addition in the expansion of "dla"
1543 and "la". Handle constants separately from symbolic expressions in
1544 the "ld_st:" case, using 64-bit arithmetic if HAVE_64BIT_ADDRESSES
1545 and using load_register to load the high part of the address.
1546 (OPTION_MSYM32, OPTION_NO_MSYM32): New macros.
1547 (OPTION_ELF_BASE): Bump by 2.
1548 (md_longopts): Add entries for -msym32 and -mno-sym32.
1549 (md_parse_option): Handle them.
1550 (usage): Document them.
1551 (s_mipsset): Handle ".set sym32" and ".set nosym32".
1552 (s_cpload, s_cpsetup): Use HAVE_64BIT_SYMBOLS instead of
1553 HAVE_64BIT_ADDRESSES to detect 64-bit values of "_gp".
1554 * doc/c-mips.texi: Document ".set sym32", ".set nosym32",
1555 -msym32 and -mno-sym32.
1556
6caf9ef4
TS
15572005-03-03 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1558
1559 * config/tc-mips.c (load_address): Implement GP optimization
1560 for 64bit address space non-PIC. Fix formatting.
1561 (macro): Likewise. Simplify code.
1562 (md_parse_option): Don't bail out if -G 0 is set for PIC code.
1563 (mips_after_parse_args): Simplify code.
1564
406a7f05
NC
15652005-03-03 Nick Clifton <nickc@redhat.com>
1566
fbacee5b
NC
1567 * expr.c (operand): Remove redundant code enclosed by #ifdef
1568 RELAX_PAREN_GROUPING....#endif.
1569
77ccfee5
NC
1570 * config/tc-mn10200.c (tc_gen_reloc): Handle the case where the
1571 reloc is the difference of two symbols defined in the same
1572 section.
1573
406a7f05
NC
1574 * config/tc-iq2000.c (line_comment_chars): Include the # character
1575 as otherwise this breaks #APP/#NO_APP processing.
1576
2f12d57f
RR
15772005-03-03 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
1578
1579 * config/tc-arc.c(md_assemble): Remove dead code for handling
1580 immediate indexing of ld and st .
1581
3f98094e
DJ
15822005-03-02 Daniel Jacobowitz <dan@codesourcery.com>
1583 Joseph Myers <joseph@codesourcery.com>
1584
1585 * config/tc-mips.c (percent_op): Add %tlsgd, %tlsldm, %dtprel_hi,
1586 %dtprel_lo, %tprel_hi, %tprel_lo, and %gottprel.
1587 (parse_relocation): Check for a word break after a relocation
1588 operator.
1589 (md_apply_fix3): Handle TLS relocations, and mark thread-local
1590 symbols.
1591
ab1e9ef7
AM
15922005-03-02 Alan Modra <amodra@bigpond.net.au>
1593
1594 * config/tc-ppc.c (ppc_fix_adjustable <ELF>): Remove bogus checks.
1595
bb14f524
JB
15962005-03-02 Jan Beulich <jbeulich@novell.com>
1597
1598 * as.c (main): Use unlink_if_ordinary instead of unlink.
1599 * messages.c (as_fatal): Likewise.
1600
c4a530c5
JB
16012005-03-02 Jan Beulich <jbeulich@novell.com>
1602
1603 * config/tc-i386.c (build_modrm_byte): Add lock prefix for cr8...15
1604 accesses.
1605 (parse_register): Allow cr8...15 in all modes.
1606
167c3097
JB
16072005-03-02 Jan Beulich <jbeulich@novell.com>
1608
1609 * config/tc-i386.c (intel_e11): If not followed by T_PTR, treat T_BYTE
1610 etc. like normal symbol references (T_ID).
1611
71ba24a1
AM
16122005-03-02 Alan Modra <amodra@bigpond.net.au>
1613
1614 * symbols.c (fb_label_name): Fix silly thinko in last change.
1615
a76903bf
AM
16162005-03-02 Alan Modra <amodra@bigpond.net.au>
1617
9d0e75cb
AM
1618 * expr.c (integer_constant): Remove TARGET_WORD_SIZE hack.
1619 * config/tc-m68k.h (TARGET_WORD_SIZE): Delete.
1620
a76903bf
AM
1621 * symbols.c (fb_label_name): Allow an augend of 2 for mmix.
1622
16232005-03-01 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
b15c27d7
RR
1624
1625 PR gas/708
a76903bf 1626 * config/tc-arc.c (md_assemble): Initialize suffix for extension
b15c27d7 1627 suffixes also.
b15c27d7 1628
c9dea48b
AM
16292005-03-01 Alan Modra <amodra@bigpond.net.au>
1630
c7f17d46
AM
1631 * config/obj-coff.c (fixup_segment): Delete sy_mri_common assertion.
1632
c9dea48b
AM
1633 * as.h (assert): Warning fix.
1634 * expr.c (expr): Correct assertion.
1635 * read.c (s_comm_internal): Remove assertion.
1636 * write.c (relax_segment): Enable vma assertion only for BFD_ASSEMBLER.
1637 (fixup_segment): Remove assertion.
1638 * config/tc-dlx.c (machine_ip): Remove untrue assertions.
1639 (md_apply_fix3): Likewise.
1640 * config/tc-i370.c (md_begin): Correct assertion.
1641 (i370_macro): Warning fix for assertion.
1642
44f2f9d2
AM
16432005-03-01 Alan Modra <amodra@bigpond.net.au>
1644
1645 * configure.in (AC_C_BIGENDIAN): Invoke.
1646 * configure: Regenerate.
1647 * write.c (write_object_file <!BFD_ASSEMBLER>): Don't use sizeof
1648 host variable to set string header size.
1649 * config/obj-aout.c (obj_header_append): Don't use host structs.
1650 (obj_symbol_to_chars): Likewise.
1651 (obj_emit_strings): Likewise. Use the passed in output pointer.
1652 * config/obj-aout.h (H_GET_FILE_SIZE): Include H_GET_LINENO_SIZE.
1653 * config/obj-bout.c (obj_emit_relocations): Use md_reloc_size,
1654 not sizeof host struct.
1655 (obj_header_append, obj_symbol_to_chars): Don't use host structs.
1656 (obj_emit_strings): Likewise.
1657 * config/obj-bout.h (EXEC_BYTES_SIZE): Define.
1658 (N_TXTOFF, H_GET_FILE_SIZE, H_GET_HEADER_SIZE): Use instead of
1659 sizeof host struct.
1660 (H_SET_SYMBOL_TABLE_SIZE): Hard code sym size rather than using
1661 sizeof host struct.
1662 (host_number_to_chars): Define.
1663 * config/obj-hp300.c (hp300_header_append): Don't use sizeof
1664 host internal struct to set header sizes.
1665 * config/tc-i960.c (md_number_to_field): Warning fix.
1666 (md_ri_to_chars): Use host byte order.
1667 (get_cdisp, md_apply_fix3): Warning fix.
055d1eb0 1668 * config/tc-m68k.c (md_assemble): Don't use sizeof host short.
44f2f9d2 1669
802a113d
NC
16702005-02-28 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
1671
1672 * doc/c-arc.texi: Update documentation about ARC's extension
1673 instructions.
1674
e5f129ad
SS
16752005-02-27 Svein E. Seldal <svein@dev.seldal.com>
1676
1677 * config/tc-tic4x.c (tic4x_gen_to_words): Changed mail
1678 address for myself.
1679
2132e3a3
AM
16802005-02-23 Alan Modra <amodra@bigpond.net.au>
1681
1682 * cgen.c: Warning fixes.
1683 * config/tc-arc.c: Likewise.
1684 * config/tc-arm.c: Likewise.
1685 * config/tc-avr.c: Likewise.
1686 * config/tc-d10v.c: Likewise.
1687 * config/tc-d30v.c: Likewise.
1688 * config/tc-frv.c: Likewise.
1689 * config/tc-frv.h: Likewise.
1690 * config/tc-h8300.c: Likewise.
1691 * config/tc-h8500.c: Likewise.
1692 * config/tc-i370.c: Likewise.
1693 * config/tc-i960.c: Likewise.
1694 * config/tc-ia64.c: Likewise.
1695 * config/tc-ip2k.c: Likewise.
1696 * config/tc-m68hc11.c: Likewise.
1697 * config/tc-maxq.c: Likewise.
1698 * config/tc-mcore.c: Likewise.
1699 * config/tc-mips.c: Likewise.
1700 * config/tc-msp430.c: Likewise.
1701 * config/tc-pj.c: Likewise.
1702 * config/tc-ppc.c: Likewise.
1703 * config/tc-ppc.h: Likewise.
1704 * config/tc-s390.c: Likewise.
1705 * config/tc-sh.c: Likewise.
1706 * config/tc-sh64.c: Likewise.
1707 * config/tc-tic4x.c: Likewise.
1708 * config/tc-tic80.c: Likewise.
1709 * config/tc-v850.c: Likewise.
1710 * config/tc-vax.c: Likewise.
1711 * config/tc-w65.c: Likewise.
1712 * config/tc-xstormy16.c: Likewise.
1713 * config/tc-z8k.c: Likewise.
1714
ee3c9814
CM
17152005-02-22 Catherine Moore <clm@cm00re.com>
1716
1717 * read.c (read_a_source_file): Reinstate TC_EQUAL_IN_INSN test.
1718 * doc/internals.texi (TC_EQUAL_IN_INSN): Reinstate.
1719
9b2f1d35
EC
17202005-02-22 Eric Christopher <echristo@redhat.com>
1721
1722 * config/tc-mips.c (struct proc): Change isym to
1723 func_sym. New member func_end_sym.
1724 (s_mips_ent): Update.
1725 (s_mips_end): Ditto. Add code to compute function size.
1726
b7712f8d
AM
17272005-02-22 Alan Modra <amodra@bigpond.net.au>
1728
1729 * read.c: Warning fixes.
1730 * config/obj-elf.c: Likewise.
1731
58e2ea4d
MR
17322005-02-22 Maciej W. Rozycki <macro@mips.com>
1733
1734 * config/tc-mips.c (append_insn): Call dwarf2_emit_insn() before
1735 emitting insn.
1736
ebe372c1
L
17372005-02-21 H.J. Lu <hongjiu.lu@intel.com>
1738
1739 * config/obj-coff.c (obj_coff_section): Replace SEC_SHARED with
1740 SEC_COFF_SHARED.
1741
1742 * config/tc-tic54x.c (tic54x_bss): Replace SEC_BLOCK with
1743 SEC_TIC54X_BLOCK.
1744 (demand_empty_rest_of_line): Likewise.
1745 (tic54x_sblock): Likewise.
1746 (tic54x_clink): Replace with SEC_CLINK with SEC_TIC54X_CLINK.
1747
cc1bc22a
AM
17482005-02-21 Alan Modra <amodra@bigpond.net.au>
1749
1750 * read.c (address_bytes): New function.
1751 (TC_ADDRESS_BYTES): Default for BSD_ASSEMBLER to address_bytes.
1752 (potable): Add "dc.a".
1753 (cons_worker): Handle "dc.a".
1754 * doc/internals.texi (TC_ADDRESS_BYTES): Document.
1755
ac4528d2
AM
17562005-02-21 Alan Modra <amodra@bigpond.net.au>
1757
1758 * input-file.c (input_file_open): Rearrange to avoid warning.
1759
b5682e56
AM
17602005-02-19 Alan Modra <amodra@bigpond.net.au>
1761
1762 * config/tc-hppa.h (TC_EQUAL_IN_INSN): Delete.
1763 * read.c (read_a_source_file): Remove TC_EQUAL_IN_INSN test.
1764 * doc/internals.texi (TC_EQUAL_IN_INSN): Delete.
1765
8fc2e39e
TS
17662005-02-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1767
1768 * config/tc-mips.c (macro_build_ldst_constoffset): Fail on $at
1769 uses after .set noat.
1770 (load_address): Likewise.
1771 (macro): Likewise. Don't try to avoid $at use by sacrificing
1772 the target register before it is stored, it won't work.
1773
744b6414
JW
17742005-02-17 James E Wilson <wilson@specifixinc.com>
1775
1776 * config/tc-ia64.c (emit_one_bundle): Stop filling a bundle if we
1777 see an instruction that specifies a template.
1778
30eb9c17
AM
17792005-02-18 Alan Modra <amodra@bigpond.net.au>
1780
1781 * config/tc-openrisc.c (openrisc_relax_frag): Delete unused function.
1782 * config/tc-sparc.c (sparc_ip): Make op_exp static to silence warnings.
1783 * config/tc-tic80.c (build_insn): Init insn[1] to silence warning.
1784
91d777ee
L
17852005-02-17 H.J. Lu <hongjiu.lu@intel.com>
1786
1787 * NEWS: Mention "-mhint.b=[ok|warning|error]".
1788
1789 * config/tc-ia64.c (md): Add hint_b.
1790 (emit_one_bundle): Handle md.hint_b for "hint".
1791 (md_parse_option): Accepted "-mhint.b=[ok|warning|error]".
1792 (md_show_usage): Add "-mhint.b=[ok|warning|error]".
1793 (ia64_init): Set md.hint_b to error.
1794 (md_assemble): Handle md.hint_b for "hint.b".
1795
1796 * doc/as.texinfo: Add "-mhint.b=[ok|warning|error]".
1797 * doc/c-ia64.texi: Likewise.
1798
f17c130b
AM
17992005-02-17 Alan Modra <amodra@bigpond.net.au>
1800
1801 * tc.h (struct relax_type, relax_typeS): Move from here..
1802 * as.h: ..to here. Make rlx_forward and rlx_backward an offsetT.
1803 * ecoff.c (ecoff_new_file): Add appfile param.
1804 * ecoff.h (ecoff_new_file): Likewise.
1805 * itbl-lex.h: New file.
1806 * itbl-lex.l: Include itbl-lex.h.
1807 * itbl-parse.y: Likewise.
1808 (insntbl_line, yyparse, yylex): Move to itbl-lex.h.
1809 * read.c (s_app_file_string): Mark appfile possibly unused.
1810 * subsegs.c (seg_not_empty_p): Make sec possibly unused.
1811 * subsegs.h (struct seg_info_trash): Delete.
1812 (seg_info): Use segment_info_type instead.
1813 * config/obj-coff.c (struct filename_list): Make filename const char *.
1814 * config/obj-ecoff.h (obj_app_file): Pass app to ecoff_new_file.
1815 * config/obj-elf.c (elf_file_symbol): Similarly.
1816 * config/tc-a29k.c (md_apply_fix3): Make val a valueT. Don't use
1817 signed right shift.
1818 * config/tc-arc.c (md_operand): Warning fix.
1819 * config/tc-arm.c (arm_parse_reloc): Only define when OBJ_ELF.
1820 (md_begin): Rearrange #if defined OBJ_COFF || defined OBJ_ELF.
1821 * config/tc-cris.h (TC_IMPLICIT_LCOMM_ALIGNMENT): Use do while.
1822 * config/tc-frv.c (frv_force_relocation): Warning fix.
1823 * config/tc-m68k.c (md_parse_option): Delete unused var.
1824 * config/tc-mcore.c (mylog2): Rename from log2 throughout.
1825 * config/tc-sparc.c: Likewise.
1826 (s_common): Warning fix.
1827 * config/tc-mips.c (append_insn): Use unsigned long long expressions.
1828 * config/tc-mmix.c (PUSHJSTUB_MAX, PUSHJSTUB_MIN): Define from
1829 addressT.
1830 * config/tc-s390.c (s390_insn): Delete test of unsigned >= 0.
1831 * config/tc-sh.c (sh_cfi_frame_initial_instructions,
1832 sh_regname_to_dw2regnum): Only define for OBJ_ELF.
1833 * config/tc-tic4x.c (tic4x_insert_reg): Use ISLOWER.
1834 (tic4x_do_align): Use TIC_NOP_OPCODE.
1835 * config/tc-tic4x.h (TIC_NOP_OPCODE): Rename from NOP_OPCODE.
1836 * config/tc-vax.c: Include netinet/in.h.
1837 (tc_headers_hook): Formatting.
1838 * config/tc-xstormy16.c (md_pcrel_from_section): Correct parens.
1839
26b810ce
JB
18402005-02-17 Jan Beulich <jbeulich@novell.com>
1841
1842 * config/tc-ia64.c (ia64_parse_name): Don't advance 'name' when
1843 parsing inN, locN, outN. Set 'idx' to offset register number starts
1844 at. Don't handle numbers with leading zeroes or beyond 95. Remove
1845 pointless cast.
1846
b8285c27
TS
18472005-02-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1848
1849 * config/tc-mips.c (load_address): Fix formatting.
1850 (macro): Don't use AT if .set noat is in effect. Fix formatting.
1851 Catch macros which are unexpandable without AT. Remove duplicate
1852 zeroing of used_at.
1853 (macro2): Remove duplicate zeroing of used_at.
1854
4df6ce47
AM
18552005-02-16 Alan Modra <amodra@bigpond.net.au>
1856
1857 * dw2gencfi.c (output_cie, output_fde): Use DW_CFA_nop rather
1858 than zero.
1859
d6f16593 18602005-02-15 Nigel Stephens <nigel@mips.com>
4df6ce47 1861 Maciej W. Rozycki <macro@mips.com>
d6f16593
MR
1862
1863 * config/tc-mips.c (reloc_needs_lo_p): Handle
1864 BFD_RELOC_MIPS16_HI16_S.
1865 (fixup_has_matching_lo_p): Handle BFD_RELOC_MIPS16_LO16.
1866 (append_insn): Add BFD_RELOC_MIPS16_GPREL, BFD_RELOC_MIPS16_HI16_S
1867 and BFD_RELOC_MIPS16_LO16 to relocs to suppress overflow
1868 complaints on.
1869 (mips16_ip): Resolve BFD_RELOC_MIPS16_HI16_S,
1870 BFD_RELOC_MIPS16_HI16 and BFD_RELOC_MIPS16_LO16 for constants.
1871 Call my_getSmallExpression() to parse percent operators.
1872 (percent_op_match, mips_percent_op): Separate definitions.
1873 (mips16_percent_op): Define percent operators for the MIPS16 mode.
1874 (parse_relocation): Handle the MIPS16 mode using
1875 mips16_percent_op.
1876 (md_apply_fix3): Handle BFD_RELOC_MIPS16_HI16,
1877 BFD_RELOC_MIPS16_HI16_S and BFD_RELOC_MIPS16_LO16.
1878
7b347e43
JB
18792005-02-15 Jan Beulich <jbeulich@novell.com>
1880
1881 * config/tc-ia64.c (md_apply_fix3): Call ia64_gen_real_reloc_type
1882 instead of explicitly dealing with the translation; exclude
1883 relocations that are already pcrel, however.
1884
a66d2bb7
JB
18852005-02-15 Jan Beulich <jbeulich@novell.com>
1886
1887 * config/tc-ia64.c: Include limits.h (if available).
1888 (gr_values[0]): Set path to INT_MAX.
1889 (dot_reg_val): Don't allow changing value of r0. Limit range of
1890 general registers at r127.
1891 (specify_resource): Default resource index is -1. Don't set resource
1892 index (in case IA64_RS_RSE) without setting the specific flag.
1893 (note_register_values): Check operand is O_constant before tracking
1894 input value of moves. Add tracking for dep.z with constant inputs.
1895 (print_dependency): Resource index of specific resource may be zero.
1896 (check_dependencies): Likewise.
1897
4b09e828
JB
18982005-02-15 Jan Beulich <jbeulich@novell.com>
1899
1900 * config/tc-ia64.c (parse_operands): New local variables reg1, reg2,
1901 reg_class. Check operands and emit diagnostics for illegal use of
1902 registers.
1903
0ca3e455
JB
19042005-02-15 Jan Beulich <jbeulich@novell.com>
1905
1906 * config/tc-ia64.c (ia64_gen_real_reloc_type): Define and initialize
1907 new variables type, suffix, and width. Handle
1908 BFD_RELOC_IA64_DIR(32|64)[LM]SB in FUNC_LT_FPTR_RELATIVE case.
1909 Handle BFD_RELOC_IA64_DIR64[LM]SB in FUNC_TP_RELATIVE case. Add
1910 FUNC_DTP_MODULE case. Handle BFD_RELOC_IA64_DIR32[LM]SB in
1911 FUNC_DTP_RELATIVE case. Return incoming relocation type if
1912 BFD_RELOC_IA64_IPLT[LM]SB in FUNC_IPLT_RELOC case. Generate warning
1913 if unable to translate relocation type, using the new variables.
1914
2fac3d48
JB
19152005-02-15 Jan Beulich <jbeulich@novell.com>
1916
1917 * config/tc-ia64.h (ia64_symbol_chars): Declare.
1918 (ty_symbol_chars): Define.
1919 * config/tc-ia64.c (ia64_symbol_chars): Define.
1920
2f6d622e
JB
19212005-02-15 Jan Beulich <jbeulich@novell.com>
1922
1923 * config/tc-ia64.c (ia64_parse_name): Only update next character if
1924 input_line_pointer was advanced.
1925
28013b5c
KK
19262005-02-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1927
1928 * config/tc-sh.c (md_apply_fix3): Add parentheses around &
1929 within |.
1930
f1dab70d
JB
19312005-02-13 Jan Beulich <jbeulich@novell.com>
1932
1933 * config/tc-ia64.c (md_parse_option): Handle -xnone and -xdebugn.
1934 (md_show_usage): Add -xnone, -xdebugn, and -xdebugx. Relocate default
1935 indicator.
1936 (ia64_init): Set md.detect_dv.
1937 (ia64_start_line): New static variable warned. Warn only once when
1938 encountering explicit stops in automatic mode.
1939 * doc/c-ia64.texi: Describe -xnone, -xdebugn, and -xdebugx.
1940 * NEWS: Mention new default mode.
1941
20b36a95
JB
19422005-02-13 Jan Beulich <jbeulich@novell.com>
1943
1944 * config/tc-ia64.c (dot_rot): Add comment that name strings should
1945 be freed when wiping out previous state. Canonicalize names before
1946 use. Free name string when detecting redefinition.
1947 (dot_pred_rel): Call generic expression parser to process arguments.
1948 Handle O_register case for individual predicates and O_subtract for
1949 ranges.
1950 (ia64_parse_name): Canonicalize name before looking it up in dynamic
1951 register hash.
1952 (ia64_canonicalize_symbol_name): Strip off all trailing # characters.
1953 Warn if multiple found, issue error if resulting symbol name has zero
1954 length.
1955 (dot_alias): Canonicalize name before use.
1956
07450571
L
19572005-02-11 H.J. Lu <hongjiu.lu@intel.com>
1958
1959 * config/tc-ia64.c (unwind_diagnostic): Return -1 for warning
1960 and 0 for error.
1961 (in_procedure): Return -1 for warning.
1962 (in_prologue): Likewise.
1963 (in_body): Likewise.
1964
01b91374
L
19652005-02-11 H.J. Lu <hongjiu.lu@intel.com>
1966
ac4528d2 1967 * config/tc-ia64.c (dot_xdata): Undo the last change.
01b91374
L
1968 (dot_float_cons): Likewise.
1969 (dot_xstringer): Likewise.
1970 (dot_xdata_ua): Likewise.
1971 (dot_float_cons_ua): Likewise.
1972
970d6792
L
19732005-02-11 H.J. Lu <hongjiu.lu@intel.com>
1974
1975 * NEWS: Mention "-munwind-check=[warning|error]".
1976
1977 * config/tc-ia64.c (md): Add unwind_check.
1978 (unwind_diagnostic): New.
1979 (in_procedure): Call unwind_diagnostic when a directive isn't
1980 in procedure.
1981 (in_prologue): Call unwind_diagnostic when a directive isn't in
1982 prologue.
1983 (in_body): Call unwind_diagnostic when a directive isn't in
1984 body region.
1985 (dot_endp): Set md.unwind_check to error before calling
1986 in_procedure and restore it after. When the name is missing or
1987 couldn't be found, use the one from the last .proc if
1988 md.unwind_check isn't error. Warn if md.unwind_check is
1989 warning.
1990 (md_parse_option): Handle "-munwind-check=[warning|error]".
1991 (md_show_usage): Add "-munwind-check=[warning|error]".
1992 (ia64_init): Set md.unwind_check to warning.
1993
1994 * doc/as.texinfo: Add "-munwind-check=[none|warning|error]".
1995 * doc/c-ia64.texi: Likewise.
1996
16a48f83
JB
19972005-02-11 Jan Beulich <jbeulich@novell.com>
1998
1999 * config/tc-ia64.h (LEX_AT): Include LEX_BEGIN_NAME.
2000 (LEX_QM): Likewise.
2001 (ia64_parse_name): New third parameter.
2002 (md_parse_name): Pass third argument.
2003 * config/tc-ia64.c (pseudo_func): Placeholders use NULL as name.
2004 (md_operand): Handling of '@'-prefixed symbols moved from here...
2005 (ia64_parse_name): ...to here.
2006
a911c10a
JB
20072005-02-11 Jan Beulich <jbeulich@novell.com>
2008
2009 * config/tc-ia64.c (md): Remove last_groups and group_idx.
2010 (errata_nop_necessary_p): Remove declaraction and definition.
2011 (emit_one_bundle): Don't call errata_nop_necessary_p. Don't
2012 update md.group_idx. Don't reset md.last_groups.
2013
b3f19c14
JB
20142005-02-11 Jan Beulich <jbeulich@novell.com>
2015
2016 * config/tc-ia64.c (parse_section_name): Handle non-quoted first
2017 argument.
2018 (dot_xdata): Free section name after use.
2019 (dot_float_cons): Likewise.
2020 (dot_xstringer): Likewise.
2021 (dot_xdata_ua): Likewise.
2022 (dot_float_cons_ua): Likewise.
2023 (md_pseudo_table): Add xdata16 and xdata16.ua.
2024
5cb53c21
L
20252005-02-10 H.J. Lu <hongjiu.lu@intel.com>
2026
2027 * doc/all.texi: Add IA64.
2028 * doc/as.texinfo: Likewise.
2029
2030 * doc/c-ia64.texi: Fix typos.
2031
620b81c1
JB
20322005-02-10 Julian Brown <julian@codesourcery.com>
2033
2034 * config/tc-arm.c (do_t_ldmstm): Change BFD_RELOC_NONE to
2035 BFD_RELOC_UNUSED.
2036 (do_t_push_pop): Likewise.
2037 (md_assemble): Likewise.
2038 (md_apply_fix3): Handle BFD_RELOC_NONE correctly, make
2039 BFD_RELOC_UNUSED same as previous meaning of BFD_RELOC_NONE.
2040 (create_unwind_entry): Output dependency on the required personality
2041 routines.
620b81c1 2042
4ee4d249
NS
20432005-02-07 Nathan Sidwell <nathan@codesourcery.com>
2044
2045 * as.h (seg_not_empty_p): Return int, not bfd_boolean.
2046 * subsegs.c (seg_not_empty_p): Likewise.
2047
9f5083a4
NC
20482005-02-07 Inderpreet Singh <inderpreetb@noida.hcltech.com>
2049
2050 * config/tc-maxq.c (md_estimate_size_before_relax): Correct the
4df6ce47 2051 relative jump calculation.
9f5083a4
NC
2052 <md_convert_frag) : Likewise.
2053 <output_disp): Likewise.
2054
aaac53f5
HPN
20552005-02-07 Hans-Peter Nilsson <hp@axis.com>
2056
2057 * write.c (write_object_file): Recognize warning-symbol construct
2058 and skip object- and target- handling for the second symbol.
2059
05ee4b0f
JB
20602005-02-02 Jan Beulich <jbeulich@novell.com>
2061
2062 * config/tc-ia64.c (dot_pred_rel): Update comment. Handle @-prefixed
2063 designators along with quoted ones. Free copy of quoted designator
2064 when done.
2065
65ec77d2
BE
20662005-02-01 Ben Elliston <bje@au.ibm.com>
2067
2068 * config/atof-ieee.c, config/obj-coff.c, config/obj-elf.c,
2069 config/obj-ieee.c, config/obj-som.c, config/obj-vms.c,
2070 config/tc-a29k.c, config/tc-alpha.c, config/tc-arc.c,
2071 config/tc-arm.c, config/tc-d30v.c, config/tc-dlx.c,
2072 config/tc-fr30.c, config/tc-h8300.c, config/tc-h8500.c,
2073 config/tc-i370.c, config/tc-i386.c, config/tc-i960.c,
2074 config/tc-ia64.c, config/tc-m32r.c, config/tc-m32r.h,
2075 config/tc-m68hc11.c, config/tc-m68hc11.h, config/tc-mips.c,
2076 config/tc-mn10200.c, config/tc-msp430.c, config/tc-ns32k.c,
2077 config/tc-openrisc.c, config/tc-or32.c, config/tc-pdp11.c,
2078 config/tc-pj.c, config/tc-sparc.h, config/tc-tic54x.c,
2079 config/tc-tic80.c, config/tc-v850.c, config/tc-w65.c,
2080 config/tc-xtensa.c, config/tc-z8k.c, config/xtensa-relax.c: Remove
2081 #if 0'd code throughout.
2082
d342277e
NC
20832005-01-31 Nick Clifton <nickc@redhat.com>
2084
2085 * as.c (parse_args): Bump copyright date reported by --version to
2086 2005.
2087
d6486796
NC
20882005-01-31 Nick Clifton <nickc@redhat.com>
2089
2090 * configure.tgt: Remove obsolete targets m68k-lynxos, sparc-lynxos
2091 and vax-vms.
2092
ca3bc58f
JB
20932005-01-31 Jan Beulich <jbeulich@novell.com>
2094
2095 * macro.c (buffer_and_nest): Allow 'from' being NULL; handle anything
2096 that can end with .endr in that case. Make requiring/permitting
2097 pseudo-ops without leading dot closer to the logic in read.c serving
2098 the same purpose.
2099 (expand_irp): Don't pass a mnemonic to buffer_and_nest as it will be
2100 ignored.
2101
057f53c1
JB
21022005-01-31 Jan Beulich <jbeulich@novell.com>
2103
2104 * macro.c (do_formals): Adjust to no longer accept empty parameter
2105 names.
2106 (define_macro): Adjust to no longer accept empty macro name, garbage
2107 following the parameters, or macros that were previously defined.
2108 * read.c (s_bad_end): Declare.
2109 (potable): Add endm. Handler for endr and endm is s_bad_end.
2110 (s_bad_end): Rename from s_bad_endr. Adjust to handle both .endm
2111 and .endr.
2112 * read.h (s_bad_endr): Remove.
2113
d3156ecc
JB
21142005-01-31 Jan Beulich <jbeulich@novell.com>
2115
2116 * config/tc-ia64.c (parse_operands): Parse all specified operands,
2117 immediately discarding (but counting) those exceeding the maximum
2118 possible amount. Track whether output and input operand counts ever
2119 matched, and use this to better indicate which of the operands/
2120 operand types was wrong; specifically don't default to pointing to
2121 the first operand.
2122
75e09913
JB
21232005-01-31 Jan Beulich <jbeulich@novell.com>
2124
2125 * config/tc-ia64.c (unwind): Remove proc_end (now an automatic
2126 variable in dot_endp). Add body and insn. Make prologue,
2127 prologue_mask, body, and insn bitfields.
2128 (fixup_unw_records): Remove spurious new-lines from end of diagnostic
2129 messages.
2130 (in_procedure, in_prologue, in_body): New.
2131 (dot_fframe, dot_vframe, dot_vframesp, dot_vframepsp, dot_save,
2132 dot_restore, dot_restorereg, dot_restorereg_p, dot_handlerdata,
2133 dot_unwentry, dot_altrp, dot_savemem, dot_saveg, dot_savef, dot_saveb,
2134 dot_savegf, dot_spill, dot_spillreg, dot_spillmem, dot_spillreg_p,
2135 dot_spillmem_p, dot_label_state, dot_copy_state, dot_unwabi,
2136 dot_personality): Use the appropriate one of the above.
2137 (dot_proc): Clear unwind.proc_start; set to current location only if
2138 none of the entry points were valid. Check for non-zero-length entry
2139 point names. Check that entry points aren't defined, yet. Clear
2140 unwind.prologue, unwind.body, and unwind.insn.
2141 (dot_body): Call in_procedure. Check that first directive in procedure
2142 had no insns emitted before. Set unwind.body.
2143 (dot_prologue): Call in_procedure. Check that not already in prologue.
2144 Check that first directive in procedure had no insns emitted before.
2145 Clear unwind.body.
2146 (dot_endp): Call in_procedure. Declare proc_end. Check for non-zero-
2147 length entry point names. Check that entry points became defined.
2148 (md_assemble): Set unwind.insn once unwind.proc_start is defined.
2149
f4660e2c
JB
21502005-01-31 Jan Beulich <jbeulich@novell.com>
2151
2152 * config/tc-ia64.c (emit_one_bundle): Snapshot manual bundling state
2153 before actually using it. Don't generate an error in manual bundling
2154 mode when looking at an insn requiring slot 2 but not yet at slot 2.
2155 Don't generate an error in manual bundling mode when looking at an
2156 insn required to be last in its group but the required slot hasn't
2157 been reached, yet. Allow conversion from MII to MI;I for bundle
2158 consisting of only 2 insns with the stop between them. Suppress
2159 various meaningless errors resulting from detecting earlier ones.
2160
60b9a617
JB
21612005-01-31 Jan Beulich <jbeulich@novell.com>
2162
2163 * config/tc-ia64.c (parse_operands): Also handle alloc without first
2164 input being ar.pfs.
2165
7af0dfc7
CG
21662005-01-28 Christian Groessler <chris@groessler.org>
2167
2168 * config/tc-z8k.c (md_assemble): Improve error detection.
2169
f7e323d5
JB
21702005-01-28 Jan Beulich <jbeulich@novell.com>
2171
2172 * config/tc-ia64.c (ia64_estimate_size_before_relax): Allocate space
2173 for personality routine pointer only if there is one.
2174 (ia64_convert_frag): Likewise.
2175 (generate_unwind_image): Likewise.
2176
f87a1e0c
CG
21772005-01-27 Christian Groessler <chris@groessler.org>
2178
2179 * config/tc-z8k.c (INSERT): Remove, not used anywhere.
2180 (md_apply_fix3): Make relative branches out of range an error
2181 instead of a warning. Display correct line number for out of
2182 range branches/calls/memory accesses.
2183
c6cb92c5
NS
21842005-01-27 Nathan Sidwell <nathan@codesourcery.com>
2185
2186 * dwarf2dbg.c (dwarf2_finish): Correct logic for determining when
2187 to emit .debug_line and other debug sections.
2188 * as.h (seg_not_empty_p): Declare.
2189 * subsegs.c (seg_not_empty_p): New predicate.
2190
e8093792
AC
21912005-01-27 Andrew Cagney <cagney@gnu.org>
2192
2193 * configure: Regenerate to track ../gettext.m4 change.
2194
09124b3f
JB
21952005-01-27 Jan Beulich <jbeulich@novell.com>
2196
2197 * config/tc-ia64.c (emit_one_bundle): Change "?imbf??" to "?ibmfxx".
2198
21992005-01-27 Jan Beulich <jbeulich@novell.com>
97762d08
JB
2200
2201 * config/tc-ia64.c (emit_one_bundle): Add late resolution of move
2202 to/from application registers dynamic insns.
2203 (md_assemble): Defer resolution of move to/from application registers
2204 dynamic insns when they can be issued on either the I- or M-units.
2205
90219bd0
AO
22062005-01-25 Alexandre Oliva <aoliva@redhat.com>
2207
2208 * config/tc-frv.c (md_apply_fix3): Mark TLS symbols as such.
2209 2004-12-10 Alexandre Oliva <aoliva@redhat.com>
2210 * config/tc-frv.c (frv_pic_ptr): Add tlsmoff support.
2211 2004-11-10 Alexandre Oliva <aoliva@redhat.com>
2212 * cgen.c (gas_cgen_parse_operand): Handle
2213 CGEN_PARSE_OPERAND_SYMBOLIC.
2214 * config/tc-frv.c (md_cgen_lookup_reloc): Handle TLS relocations.
2215 (frv_force_relocation): Likewise. Fix handling of PIC
2216 relocations.
2217 (md_apply_fix3): Likewise.
2218
59c871b4
BE
22192005-01-21 Ben Elliston <bje@au.ibm.com>
2220
2221 * as.h: Remove #if 0'd code.
2222 * atof-generic.c (atof_generic): Likewise.
2223 * ecoff.c (ecoff_directive_frame): Likewise.
2224 * frags.h (FRAG_APPEND_1_CHAR): Likewise.
2225 * itbl-ops.c (itbl_add_reg): Likewise.
2226 * listing.c (calc_hex): Likewise.
2227 * read.c (MASK_CHAR): Likewise.
2228 * subsegs.c (subsegs_print_statistics): Likewise.
2229 * symbols.c (indent): Likewise.
2230 * write.c (write_relocs): Likewise.
2231 (write_object_file): Likewise.
2232 (relax_frag): Likewise.
2233
fb767913
NC
22342005-01-20 Nick Clifton <nickc@redhat.com>
2235
2236 * as.c (std_longopts): Add an entry for "--a" in order to prevent
2237 getopt_long_only() from considering -a as an abbreviation for
2238 --alternate.
2239 (parse_args): Fix the parsing of -a=<file>.
2240
c556cc9c
AM
22412005-01-20 Alan Modra <amodra@bigpond.net.au>
2242
2243 PR gas/684
2244 * read.c (s_incbin): Adjust default count for skip. Check validity
2245 of count and skip rigorously.
2246
9c6ed8e6
FF
22472005-01-19 Fred Fish <fnf@specifixinc.com>
2248
2249 * config/tc-mips.c (dummy_opcode): Add init for new struct member.
2250
e5604d79
RS
22512005-01-19 Richard Sandiford <rsandifo@redhat.com>
2252
2253 * read.c (convert_to_bignum): New function, split out from...
2254 (emit_expr): ...here. Handle the case where X_add_number is
2255 positive and the input value is negative.
2256 (output_big_sleb128): Fix setting of continuation bit. Check whether
2257 the final byte needs to be sign-extended. Fix size-shrinking loop.
2258 (emit_leb128_expr): When generating a signed leb128, see whether the
2259 sign of an O_constant's X_add_number matches the sign of the input
2260 value. Use a bignum if not.
2261
e38bc3b5
NC
22622005-01-17 Andrew Stubbs <andrew.stubbs@st.com>
2263
2264 * tc-sh.c (md_begin,md_parse_option): Change arch_sh1_up to
2265 arch_sh_up in order to match the external name and make the
2266 testsuite's job easier.
2267
df227444
L
22682005-01-14 H.J. Lu <hongjiu.lu@intel.com>
2269
4df6ce47 2270 PR 659
df227444
L
2271 * config/tc-i386.c (i386_scale): Disallow 0 scale.
2272
b8b80cf7
NC
22732005-01-12 Nick Clifton <nickc@redhat.com>
2274
2275 * config/tc-iq2000.c (s_iq2000_set): Fix thinko parsing
2276 ignored_arguments array.
2277
324007b9
L
22782005-01-10 H.J. Lu <hongjiu.lu@intel.com>
2279
2280 * write.c (write_object_file): Disallow a symbol equated to
2281 common symbol.
2282
5c4504f7
NC
22832005-01-10 Inderpreet Singh <inderpreetb@noida.hcltech.com>
2284
2285 * tc-maxq.c: Replace constants 10 and 20 with bfd_mach_maxq10 and
2286 bfd_mach_maxq20.
2287 (md_pseudo_table): Add new pseudo ops for maxq10 and maxq20.
2288 (maxq_target): New function: Set the machine type.
2289
4e7fd91e
PB
22902005-01-06 Paul Brook <paul@codesourcery.com>
2291
2292 * config/tc-arm.c (FPU_DEFAULT): Define for TE_VXWORKS.
2293 (md_begin): Handle TE_VXWORKS for FP defaults.
2294 (md_apply_fix3): Correct rela offsets.
2295 (elf32_arm_target_format): Add VxWorks targets.
2296
ea3eed15
PB
22972005-01-06 Paul Brook <paul@codesourcery.com>
2298
2299 * configure.tgt: Set em=vxworks for *-*-vxworks.
2300 * config/te-vxworks.h: New File.
2301
5dc1606f
PB
23022005-01-06 Paul Brook <paul@codesourcery.com>
2303
2304 * config/tc-arm.c (arm_cpus): Correct arch field for arm1026ej-s.
2305
18af0b39
NC
23062005-01-04 Dmitry Diky <diwil@spec.ru>
2307
2308 * config/tc-msp430.c (md_apply_fix3): Fix offset calculation for
2309 global label.
2310
196e8040
JW
23112005-01-03 David Mosberger <davidm@hpl.hp.com>
2312
2313 * config/tc-ia64.c (md): Add member "loc_directive_seen".
2314 (dot_loc): New function.
2315 (md_pseudo_table): Add entry to map .loc to dot_loc().
2316 (emit_one_bundle): Only call dwarf2_gen_line_info() if we have
2317 seen a .loc directive or we're generating DWARF2 debug info for
2318 assembly source.
2319
a207757e
AM
23202004-12-29 Alan Modra <amodra@bigpond.net.au>
2321
2322 PR gas/619
2323 * read.c (s_comm_internal): Don't zero end of name until size
2324 expression has been parsed.
2325
71d7ecf2
MM
23262004-12-25 Marek Michalkiewicz <marekm@amelek.gda.pl>
2327
2328 * config/tc-avr.c (mcu_types): Move attiny{13,2313} from avr4 to avr2.
2329
30c62922
TL
23302004-12-23 Tomer Levi <Tomer.Levi@nsc.com>
2331
2332 * config/tc-crx.c: Support 'bcop' relaxation (dealt as in 'cmp&branch'
2333 case).
2334
14ee9f48
ILT
23352004-12-22 Ian Lance Taylor <ian@airs.com>
2336
2337 * configure.tgt: New.
2338 * configure.in: Move setting of cpu_type, fmt, etc., to
2339 configure.tgt.
2340 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add
2341 $(srcdir)/configure.tgt.
2342 * configure, Makefile.in: Rebuild.
2343
750bce0e 23442004-12-22 Klaus Rudolph <lts-rudolph@gmx.de>
4df6ce47 2345
750bce0e
NC
2346 * config/tc-avr.c: Add support for the new R_AVR_LDI, R_AVR_6 and
2347 R_AVR_6_ADIW relocs for the LDI, ADIW/SBIW and LDD/STD
2348 instructions.
2349 (avr_offset_expression): New function to parse offsets for LDI
2350 instructions.
2351 (avr_operand): Use it.
2352 (md_apply_fix3): Generate the relocs.
2353
9d2be1ee
JR
23542004-12-16 Andrew Stubbs <andrew.stubbs@st.com>
2355
2356 * config/tc-sh64.c (shmedia_md_apply_fix3): Add missing
2357 BFD_RELOC_SH_IMMS10BY8 relocation.
2358
2359 * config/tc-sh64.c (shmedia_build_Mytes): Emit an error message rather
2360 than just ignoring bad code.
2361
1e50d24d
RS
23622004-12-16 Richard Sandiford <rsandifo@redhat.com>
2363
2364 * config/tc-v850.c (handle_lo16): New function.
2365 (v850_reloc_prefix): Use it to check lo().
2366 (md_assemble, md_apply_fix3): Handle BFD_RELOC_V850_LO16_SPLIT_OFFSET.
2367
2fbd2a87
NC
23682004-12-14 P.J. Darcy <darcypj@us.ibm.com>
2369
2370 * configure.in: Add s390x-ibm-tpf support.
2371 * configure: Regenerate.
2372
7a6d0b32
JB
23732004-12-15 Jan Beulich <jbeulich@novell.com>
2374
2375 * config/obj-elf.c (obj_elf_change_section): Only set type and
2376 attributes on new sections. Emit warning when type of re-declared
2377 section doesn't match.
2378
5b9d23c6
JB
23792004-12-15 Jan Beulich <jbeulich@novell.com>
2380
2381 * dw2gencfi.c (dot.cfi.startproc): Clear cur_cfa_offset so
2382 '.cfi_startproc simple' doesn't inherit the old value.
2383
dcb45a06
JB
23842004-12-15 Jan Beulich <jbeulich@novell.com>
2385
2386 * dw2gencfi.c (output_cfi_insn): Adjust DW_CFA_def_cfa_sf generation
2387 to emit a signed and factored offset. Adjust DW_CFA_def_cfa_offset_sf
2388 generation to emit a factored offset.
2389
aa6975fb
ILT
23902004-12-10 Ian Lance Taylor <ian@wasabisystems.com>
2391
6943caf0
ILT
2392 * config/tc-mips.c (macro) [M_LA_AB]: Give an error for a offset
2393 which is too large in the case of NO_PIC without 64-bit
2394 addresses.
2395
aa6975fb
ILT
2396 * config/tc-mips.c (mips_in_shared): New static variable.
2397 (macro_build_lui): Permit "_gp" if !mips_in_shared.
2398 (md_longopts): Add -mshared and -mno-shared.
2399 (md_parse_option): Handle OPTION_MSHARED and OPTION_MNO_SHARED.
2400 (s_cpload): Implement !mips_in_shared case.
2401 (s_cpsetup): Likewise.
2402 * doc/c-mips.texi (MIPS Opts): Document -mno-shared.
2403 * NEWS: Mention -mno-shared.
2404
be1b2b4b
PB
24052004-12-09 Paul Brook <paul@codesourcery.com>
2406
2407 * config/tc-arm.c (s_arm_unwind_fnend): Use R_ARM_PREL31 relocation
2408 for function start.
2409
9a92f48d
ILT
24102004-12-09 Ian Lance Taylor <ian@wasabisystems.com>
2411
dd22970f
ILT
2412 * config/tc-mips.c (append_insn): If we emit a nop during a relax
2413 sequence, increase the size of the sequence.
2414
9a92f48d
ILT
2415 * config/tc-mips.c (mips_cpu_info_table): Change "9000" entry to
2416 use CPU_RM9000.
2417
b617dc20
BE
24182004-12-07 Ben Elliston <bje@gnu.org>
2419
2420 * read.c (s_align): Use an align_limit temporary to allay a GCC
2421 signed/unsigned comparison warning.
2422
c820d418
MM
24232004-12-01 Mark Mitchell <mark@codesourcery.com>
2424
2425 * Makefile.am (TARG_ENV_HFILES): Add te-armlinuxeabi.h.
2426 * configure.in: Use it for arm*-*-linux-gnueabi*.
2427 * config/tc-arm.c: Allow emulation file to set FPU_DEFAULT.
2428 * config/te-armlinuxeabi.h: New file.
2429 * Makefile.in: Regenerated.
2430 * aclocal.m4: Likewise.
2431 * configure: Likewise.
4df6ce47 2432 * doc/Makefile.in: Regenerated.
c820d418 2433
2b0210eb
BW
24342004-12-02 Bob Wilson <bob.wilson@acm.org>
2435
2436 * config/tc-xtensa.c (xtensa_switch_section_emit_state): Use subseg_set.
2437 (xtensa_restore_emit_state): Likewise.
2438
9ebd302d
AM
24392004-12-02 Alan Modra <amodra@bigpond.net.au>
2440
2441 * read.c (ALIGN_LIMIT): Define, increasing limit for BFD_ASSEMBLER.
2442 (s_align): Use it.
2443
32118081
NC
24442004-11-30 Tero Niemela <tero_niemela@yahoo.com>
2445
2446 * Makefile.am: Change LOCALEDIR to $(datadir)/share.
2447 * Makefile.in: Regenerate.
2448
3f414718
TL
24492004-11-29 Tomer Levi <Tomer.Levi@nsc.com>
2450
9ebd302d
AM
2451 * config/tc-crx.c: Major code cleanup. Remove unused variables and
2452 functions, give functions a meaningful name, add comments.
2453 (check_range): New function - Replace operand size calculation
3f414718
TL
2454 with range checking.
2455 (assemble_insn): Update Algorithm, improve error issuing.
9ebd302d 2456 (enum op_err): New.
3f414718
TL
2457 (process_label_constant): Bug fix regarding COP_BRANCH_INS relocation
2458 handling.
2459
a7498ae6
NC
24602004-11-29 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
2461
2462 * config/tc-m32r.c (md_pcrel_from_section): Fixed a pcrel relocte
2463 miss between different section in the same module.
2464 (tc_gen_reloc): Likewise.
2465
5c54fd37
NC
24662004-11-25 Theodore A. Roth <troth@openavr.org>
2467
2468 * gas/config/tc-avr.c (mcu_types): Add support for atmega165,
2469 atmega325, atmega3250, atmega645 and atmega6450.
2470
37edbb65
JB
24712004-11-25 Jan Beulich <jbeulich@novell.com>
2472
2473 * config/tc-i386.c (optimize_imm): Adjust immediates to only those
2474 permissible for the selected instruction suffix.
2475 (process_suffix): For DefaultSize instructions, suppressing the
2476 guessing of a 'q' suffix if the instruction doesn't support it is
2477 pointless, because only an 'l' suffix can be guessed in this place.
2478
5515a510
NC
24792004-11-24 Nick Clifton <nickc@redhat.com>
2480
2481 * config/tc-iq2000.c: Remove support for IQ10 processor.
2482 Convert to ISO C90 formatting.
2483 * config/tc-iq2000.h: Likewise.
2484
dae1b34e
NC
24852004-11-23 Nick Clifton <nickc@redhat.com>
2486
2487 * config/tc-mn10300.c (md_relax_table): More fixes to the offsets
2488 in this table. They should be correct now.
2489
5c6af06e
JB
24902004-11-23 Jan Beulich <jbeulich@novell.com>
2491
2492 * config/tc-i386.h (CpuMMX2): Declare. Artificial classifier to
2493 indicate the MMX extensions added by both SSE and 3DNow!A.
2494 (Cpu3dnowA): Declare.
2495 (CpuUnknownFlags): Update.
2496 * config/tc-i386.c (cpu_sub_arch_name): Declare.
2497 (cpu_arch): i586 and pentium do not imply MMX. i686 and pentiumpro do
2498 neither imply SSE nor MMX. k6 implies MMX. k6_2 additionally implies
2499 3DNow!. Athlon additionally implies 3DNow!A. Several new
2500 entries (those starting with a dot are for sub-arch specification).
2501 (set_cpu_arch): Handle sub-arch specifications.
2502 (parse_insn): Distinguish between instructions not supported because
2503 of insufficient CPU features and because of 64-bit mode.
2504 * doc/c-i386.texi: Describe enhanced .arch directive.
2505
d9740523
BW
25062004-11-22 Bob Wilson <bob.wilson@acm.org>
2507
2508 * config/tc-xtensa.c (xg_add_opcode_fix): Set fx_no_overflow.
2509
3120ef82
BW
25102004-11-22 Bob Wilson <bob.wilson@acm.org>
2511
2512 * dwarf2dbg.c (dwarf2_finish): Don't write a .debug_line section
2513 without a corresponding .debug_info section.
2514
d190d046
HPN
25152004-11-22 Hans-Peter Nilsson <hp@axis.com>
2516
2517 * read.c (potable): Add "error" and "warning".
2518 (s_errwarn): New function.
2519 * read.h (s_errwarn): Declare.
2520 * doc/as.texinfo (Error, Warning): Document .error and .warning.
2521
5519f6ea
NC
25222004-11-22 Nick Clifton <nickc@redhat.com>
2523
2524 * config/tc-tic54x.c (tic54x_adjust_symtab): Adjust call to
2525 c_dot_file_symbol.
2526
f5c7edf4
AM
25272004-11-19 Alan Modra <amodra@bigpond.net.au>
2528
2529 * config/tc-msp430.c (struct rcodes_s, MSP430_RLC, msp430_rcodes,
2530 struct hcodes_s, msp430_hcodes): From include/opcode/msp430.h.
2531
a4528eeb
AM
25322004-11-19 Alan Modra <amodra@bigpond.net.au>
2533
2534 * config/obj-coff.c (c_dot_file_symbol): Add "app" param.
2535 (coff_adjust_symtab): Adjust call.
2536 (crawl_symbols): Likewise.
2537 * config/obj-coff.h (c_dot_file_symbol): Add "app" param.
2538 (obj_app_file): Adjust.
2539
444bf5f3
NC
25402004-11-18 Inderpreet Singh <inderpreetb@nioda.hcltech.com>
2541
2542 * configure.in: Enable bfd_assember for the MAXQ port.
2543 * configure: Regenerate.
2544
a1ace8d8 25452004-11-12 Bob Wilson <bob.wilson@acm.org>
88ac794e 2546 Sterling Augustine <sterling@tensilica.com>
a1ace8d8
BW
2547
2548 * config/tc-xtensa.c (finish_vinsn): Clear pending instruction if
2549 there is a conflict.
2550 (check_t1_t2_reads_and_writes): Check for both reads and writes to
2551 interfaces that are related as determined by xtensa_interface_class_id.
2552
30e857fc
NC
25532004-11-12 Nick Clifton <nickc@redhat.com>
2554
2555 * config/tc-mn10300.c (md_relax_table): Fix off by one negative
2556 offsets for conditional branches.
2557
a67517f4
BW
25582004-11-11 Bob Wilson <bob.wilson@acm.org>
2559
2560 * config/tc-xtensa.c (MAX_IMMED6): Change value to 65.
2561
1d19a770
BW
25622004-11-10 Bob Wilson <bob.wilson@acm.org>
2563
2564 * config/tc-xtensa.c (update_next_frag_state): Always add a NOP if
2565 relaxing at the end of a loop. Don't mark frags as UNREACHABLE or
2566 MAYBE_UNREACHABLE.
2567 (relax_frag_immed): Update call to update_next_frag_state.
2568
c04f5787
AM
25692004-11-10 Alan Modra <amodra@bigpond.net.au>
2570
2571 * obj.h (struct format_ops <app_file>): Add int param.
2572 * read.h (s_app_file_string): Likewise.
2573 * read.c (s_app_file_string): Likewise.
2574 (s_app_file): Adjust s_app_file_string call.
2575 * config/tc-mips.c (s_mips_file): Likewise.
2576 * config/obj-coff.h (obj_app_file): Add app param.
2577 * config/obj-ecoff.h (obj_app_file): Likewise.
2578 * config/obj-multi.h (obj_app_file): Likewise.
2579 * config/obj-elf.h (elf_file_symbol): Likewise.
2580 * config/obj-elf.c (elf_file_symbol): Only emit one file symbol
2581 if called for # preprocessor lines.
2582
a77a9021
L
25832004-11-08 H.J. Lu <hongjiu.lu@intel.com>
2584
2585 PR 528
2586 * symbols.c (resolve_symbol_value): Convert weak symbols only
2587 for Windows PECOFF.
2588 (symbol_equated_reloc_p): Don't equate weaks when relocating
2589 only for Windows PECOFF.
2590
aea44f62
TL
25912004-11-08 Tomer Levi <Tomer.Levi@nsc.com>
2592
2593 * config/tc-crx.c (print_insn): Check and set insn_addr.
2594 * config/tc-crx.h (md_frag_check): Define.
2595
7499d566
NC
25962004-11-08 Inderpreet Singh <inderpreetb@nioda.hcltech.com>
2597 Vineet Sharma <vineets@noida.hcltech.com>
2598
2599 * configure.in: Add support for new target maxq-coff.
2600 * configure: Regenerate.
2601 * NEWS: Mention new support.
2602 * config/tc-maxq.c: New file.
2603 * config/tc-maxq.h: New file.
2604 * config/obj-coff.h: Add support for maxq-coff.
2605
977cdf5a
NC
26062004-11-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
2607
2608 * symbols.c (any_external_name): Define.
a77a9021 2609 (resolve_symbol_value): Convert weak symbols.
977cdf5a
NC
2610 (S_SET_EXTERNAL): Support any_external_name.
2611 (S_SET_NAME): Qualify parameter const.
316f3bf8 2612 (symbol_equated_reloc_p): Equate to weaks when relocating.
977cdf5a
NC
2613 * symbols.h (S_SET_NAME): Qualfiy parameter const.
2614 * tc.h (any_external_name): Declare.
2615 * config/obj-coff.c ("coff/pe.h"): Include for BFD
2616 assemblers also.
2617 (weak_is_altname): Declare and define.
2618 (weak_name2altname): Same.
2619 (weak_altname2name): Same.
2620 (weak_uniquify): Same.
2621 (weak_altprefix): Define.
2622 (obj_coff_weak): Change .weak syntax and handling.
2623 (coff_frob_symbol): Fix PE weak symbol alternates.
2624 * config/obj-coff.h (USE_UNIQUE): Define.
2625 * config/tc-i386.c (md_apply_fix3): Assume weak symbols
2626 are in another segment.
2627 (tc_gen_reloc): Remove broken addend hack.
2628 doc/as.texinfo: Update.
2629
34e41783
BW
26302004-11-05 Sterling Augustine <sterling@tensilica.com>
2631
2632 * config/tc-xtensa.c (total_frag_text_expansion): New.
2633 (md_estimate_size_before_relax): Use it.
2634 (find_address_of_next_align_frag): Likewise.
2635
dcd46b4e
TL
26362004-11-05 Tomer Levi <Tomer.Levi@nsc.com>
2637
2638 * config/tc-crx.c: Rename argument types.
2639 (processing_arg_number): Rename to 'cur_arg_num'.
2640 (get_number_of_bits): Rename to 'set_operand_size'.
2641 (get_operandtype): Rename to 'parse_operand', totally rewrite.
2642 (set_cons_rparams): Rename to 'set_operand', totally rewrite.
2643 (set_indexmode_parameters): Remove function, integrate its code into
2644 'set_operand'.
2645 (set_operand_size): Get rid of 'Operand Number' function parameter -
2646 use global variable 'cur_arg_num' instead.
2647 Use a local 'argument' pointer to reference the current argument.
2648 (parse_operand): Likewise.
2649 (set_operand): Likewise.
2650 (process_label_constant): Likewise.
2651
9456465c
BW
26522004-11-04 Bob Wilson <bob.wilson@acm.org>
2653
2654 * config/tc-xtensa.c: Remove XTENSA_SECTION_RENAME ifdefs.
2655 (add_section_rename): Delete. Inlined into...
2656 (build_section_rename): ...here. Use xstrdup instead of strdup.
2657 (xtensa_section_rename): Drop "const" from argument and return types.
2658 (md_show_usage): Indent to match show_usage().
2659 * config/tc-xtensa.h: Remove XTENSA_SECTION_RENAME ifdefs.
2660 (tc_canonicalize_section_name): Define.
2661 (md_elf_section_rename): Remove unused macro.
2662 * doc/as.texinfo (Overview): Document Xtensa --rename-section option.
2663 * doc/c-xtensa.texi (Xtensa Options): Likewise.
2664 (Frame Directive): Delete.
2665
7f266840
DJ
26662004-11-04 Daniel Jacobowitz <dan@debian.org>
2667
2668 * configure.in: Remove arm-*-oabi and thumb-*-oabi.
2669 * config/tc-arm.c (target_oabi): Delete.
2670 (md_apply_fix3, elf32_arm_target_format): Remove target_oabi checks.
2671 (arm_opts): Remove moabi.
2672 * doc/as.texinfo (Overview): Remove documentation of -moabi.
2673 * doc/c-arm.texi (ARM Options): Likewise.
2674 * configure: Regenerated.
2675
ae57792d
HPN
26762004-11-04 Hans-Peter Nilsson <hp@axis.com>
2677
2678 * configure.in (crisv32): Recognize. AC_DEFINE_UNQUOTED
2679 DEFAULT_CRIS_ARCH. Handle crisv32-*-linux-gnu* like
2680 cris-*-linux-gnu* and crisv32-*-* like cris-*-*.
2681 * configure: Regenerate.
2682 * config/tc-cris.c (enum cris_archs): New.
2683 (cris_mach, cris_arch_from_string, s_cris_arch, get_sup_reg)
2684 (cris_insn_ver_valid_for_arch): New functions.
2685 (DEFAULT_CRIS_ARCH): New macro, default to cris_any_v0_v10.
2686 (cris_arch): New variable.
2687 (md_pseudo_table): New pseudo .arch.
2688 (err_for_dangerous_mul_placement): Initialize according to
2689 DEFAULT_CRIS_ARCH.
2690 (STATE_COND_BRANCH): Renamed from STATE_CONDITIONAL_BRANCH.
2691 All users changed.
2692 (STATE_COND_BRANCH_V32, STATE_COND_BRANCH_COMMON)
2693 (STATE_ABS_BRANCH_V32, STATE_LAPC, BRANCH_BF_V32, BRANCH_BB_V32)
2694 (BRANCH_WF_V32, BRANCH_WB_V32): New.
2695 (BRANCH_BF, BRANCH_BB, BRANCH_WF, BRANCH_WB): Don't undef after
2696 use in md_cris_relax_table.
2697 (md_cris_relax_table): Add entries for STATE_COND_BRANCH_V32,
2698 STATE_COND_BRANCH_COMMON, STATE_ABS_BRANCH_V32, STATE_LAPC.
2699 Update and improve head comment.
2700 (OPTION_PIC): Define in terms of previous option, OPTION_US.
2701 (OPTION_MULBUG_ABORT_ON, OPTION_MULBUG_ABORT_OFF): Similar.
2702 (OPTION_ARCH): New.
2703 (md_longopts): New option --march=...
2704 (cris_any_v0_v10_long_jump_size, crisv32_long_jump_size): New
2705 macros.
2706 (md_long_jump_size): Initialize in terms of DEFAULT_CRIS_ARCH.
2707 (HANDLE_RELAXABLE): New macro.
2708 (md_estimate_size_before_relax): Use HANDLE_RELAXABLE for common
2709 cases. Check for weak symbols and assume not relaxable. Handle
2710 STATE_COND_BRANCH_V32, STATE_COND_BRANCH_COMMON,
2711 STATE_ABS_BRANCH_V32, STATE_LAPC. Use new variable symbolP, not
2712 fragP->fr_symbol.
2713 (md_convert_frag): Handle STATE_COND_BRANCH_V32,
2714 STATE_COND_BRANCH_COMMON, STATE_ABS_BRANCH_V32, STATE_LAPC.
2715 (cris_create_short_jump): Adjust for CRISv32.
5664e9a7 2716 (cris_relax_frag): Handle new states.
ae57792d
HPN
2717 (md_create_long_jump): Ditto. Emit error for common_v10_v32.
2718 (md_begin): Define symbols "..asm.arch.cris.v32",
2719 "..asm.arch.cris.v10", "..asm.arch.cris.common_v10_v32" and
2720 "..asm.arch.cris.any_v0_v10". Use cris_insn_ver_valid_for_arch
2721 when entering opcode table entry points.
2722 (md_assemble): Adjust branch handling for CRISv32. Handle LAPC
2723 relaxation. In fix_new_exp call for main insn, pass 1 for pcrel
2724 parameter for 8, 16 and 32-bit pc-relative insns and LAPC.
2725 (cris_process_instruction): Initialize out_insnp->insn_type to
2726 CRIS_INSN_NONE, not CRIS_INSN_NORMAL.
2727 <case ']', '[', 'A', 'd', 'Q', 'N', 'n', 'Y', 'U', 'u', 'T'>: New
2728 cases.
2729 <case 'm'>: Check that modified_char == '.'.
2730 <invalid operands>: Consume the rest of the line.
2731 When operands don't match, skip over subsequent insns with
2732 non-matching version specifier but same mnemonic.
2733 <immediate constant, case SIZE_SPEC_REG>: Immediate operands for
2734 special registers in CRISv32 are always 32 bit long.
2735 <immediate constant, case SIZE_FIELD_SIGNED, SIZE_FIELD_UNSIGNED>:
2736 New cases.
2737 (get_gen_reg): Only recognize "PC" when followed by "+]" for v32
2738 and compatible. Recognize "ACR" for v32, unless followed by "+".
2739 (get_spec_reg): Consider cris_arch when looking up register.
2740 (get_autoinc_prefix_or_indir_op): Don't recognize assignment for
2741 v32 or compatible.
2742 (get_3op_or_dip_prefix_op): Check for ']' after seeing '[rN+'.
2743 (cris_get_expression): Restore input_line_pointer if failing "early".
2744 (get_flags): Consider cris_arch and recognize flags accordingly.
2745 (branch_disp): Adjust for CRISv32.
2746 (gen_cond_branch_32): Similar. Emit error for common_v10_v32.
2747 (cris_number_to_imm): Use as_bad_where, not as_bad. Remove
2748 related FIXME. Don't insist on BFD_RELOC_32_PCREL fixup to be
2749 resolved. Don't enter zeros in object file for
2750 BFD_RELOC_32_PCREL.
2751 <case BFD_RELOC_CRIS_LAPCQ_OFFSET, BFD_RELOC_CRIS_SIGNED_16>
2752 <case BFD_RELOC_CRIS_SIGNED_8>: New case.
2753 (md_parse_option): Break out "return 1".
2754 <OPTION_ARCH> New case.
2755 (tc_gen_reloc): <case BFD_RELOC_CRIS_LAPCQ_OFFSET>
2756 <case BFD_RELOC_CRIS_SIGNED_16, BFD_RELOC_CRIS_SIGNED_8>
2757 <case BFD_RELOC_CRIS_UNSIGNED_8, BFD_RELOC_CRIS_UNSIGNED_16>
2758 <case BFD_RELOC_32_PCREL>: New cases.
2759 Addends for non-zero fx_pcrel are too in fx_offset.
2760 (md_show_usage): Show --march=<arch>.
2761 (md_apply_fix3): Adjust val for BFD_RELOC_CRIS_LAPCQ_OFFSET.
2762 (md_pcrel_from): BFD_RELOC_CRIS_LAPCQ_OFFSET is PC-relative too.
2763 (s_syntax) <struct syntaxes>: Properly constify member operand.
2764 * config/tc-cris.h (TARGET_MACH): Define.
2765 (cris_mach): Declare.
2766 * doc/as.texinfo (Overview) <CRIS>: Add --march=...
2767 * doc/c-cris.texi (CRIS-Symbols): New node for built-in symbols.
2768 (CRIS-Opts): Document --march=...
2769 (CRIS-Pseudos): Document .arch.
2770
9306ca4a
JB
27712004-11-04 Jan Beulich <jbeulich@novell.com>
2772
2773 * config/tc-i386.c (set_intel_syntax): Allow % in symbol names when
2774 intel syntax and no register prefix, allow $ in symbol names when
2775 intel syntax.
2776 (set_16bit_gcc_code_flag): Replace literal 'l' by LONG_MNEM_SUFFIX.
2777 (intel_float_operand): Add fourth return value indicating math control
2778 operations. Make classification more precise.
2779 (md_assemble): Complain if memory operand of mov[sz]x has no size
2780 specified.
2781 (parse_insn): Translate word operands to floating point instructions
2782 operating on integers as well as control instructions to short ones
2783 as expected by AT&T syntax. Translate 'd' suffix to short one only for
2784 floating point instructions operating on non-integer operands.
2785 (match_template): Remove fldcw special case. Adjust q-suffix handling
2786 to permit it on fild/fistp/fisttp in AT&T mode.
2787 (process_suffix): Don't guess DefaultSize insns' suffix from
2788 stackop_size for certain floating point control instructions. Guess
2789 suffix for branch and [ls][gi]dt based on flag_code. Split error
2790 messages for Intel and AT&T syntax, and make the condition more strict
2791 for the former. Adjust suppressing of generation of operand size
2792 overrides.
2793 (intel parser): Allow the full set of MASM operators. Add FWORD, TBYTE,
2794 OWORD, and XMMWORD operand size specifiers (TBYTE replaces XWORD). Add
2795 more error checking.
2796 * config/tc-i386.h (BYTE_PTR WORD_PTR DWORD_PTR QWORD_PTR XWORD_PTR
2797 SHORT OFFSET_FLAT FLAT NONE_FOUND): Remove unused defines.
2798
2b4f075a
HPN
27992004-11-03 Hans-Peter Nilsson <hp@axis.com>
2800
2801 * symbols.c (colon) [!WORKING_DOT_WORD]: Don't declare
2802 md_short_jump_size, md_long_jump_size.
2803 * write.c [!WORKING_DOT_WORD]: Ditto.
2804 * tc.h [!WORKING_DOT_WORD]: Declare them here. Drop const
2805 qualifier.
2806 * config/tc-cris.h (md_short_jump_size, md_long_jump_size): Don't
2807 declare.
2808 * config/tc-cris.c (md_short_jump_size, md_long_jump_size): Drop
2809 const qualifier in these definitions.
2810 * config/tc-i370.c, config/tc-m68k.c, config/tc-pdp11.c,
2811 config/tc-s390.c, config/tc-tahoe.c, config/tc-vax.c: Ditto.
2812
ddbc47ac
NC
28132004-11-02 Nick Clifton <nickc@redhat.com>
2814
2815 * dwarf2dbg.c (dwarf2_finish): Check for the existence of a file
2816 table before deciding to produce a .debug_line section to match up
2817 with a user provided .debug_info section.
2818
3ad3f5ad
TL
28192004-10-28 Tomer Levi <Tomer.Levi@nsc.com>
2820
2821 * config/tc-crx.c (getreg_image): Bug fix, a return value was
2822 mistakenly omitted from CRX_C_REGTYPE and CRX_CS_REGTYPE cases.
2823
c815a616
TL
28242004-10-27 Tomer Levi <Tomer.Levi@nsc.com>
2825
2826 * config/tc-crx.c: Remove global variable 'post_inc_mode'.
2827 (get_flags): New function.
c04f5787
AM
2828 (get_number_of_bits): Edit comments, update numeric values to
2829 supported sizes.
2830 (process_label_constant): Don't support the colon
2831 format (SYMBOL:[s|m|l]).
c815a616
TL
2832 (set_cons_rparams): Support argument type 'arg_rbase'.
2833 (get_operandtype): Bug fix in 'rbase' operand type parsing.
2834 (handle_LoadStor): Bug fix, first handle post-increment mode.
c04f5787
AM
2835 (getreg_image): Remove redundant code, update according to latest
2836 CRX spec.
c815a616 2837 (print_constant): Bug fix relate to 3-word instructions.
c04f5787 2838 (assemble_insn): Bug fix, when matching instructions, verify also
c815a616
TL
2839 instruction type (not only mnemonic).
2840 Add various error checking.
2841 (preprocess_reglist): Support HI/LO and user registers.
2842
ed7af9f9
L
28432004-10-25 David Mosberger-Tang <davidm@hpl.hp.com>
2844
c04f5787 2845 * config/tc-ia64.c (fixup_unw_records): Don't let the "t" value
ed7af9f9
L
2846 in an epilogue directive go negative.
2847
ac025970
L
28482004-10-25 H.J. Lu <hongjiu.lu@intel.com>
2849
2850 PR 474
2851 * config/tc-ia64.c (emit_one_bundle): Decrement md.num_slots_in_use
2852 after reporting template error during manual bundling. Reported
2853 by Michael Dupont, michaelx.dupont@intel.com.
2854
a394c00f
NC
28552004-10-25 Daniel Jacobowitz <dan@debian.org>
2856
2857 * Makefile.am: Run dep-am.
2858 * aclocal.m4: Regenerate with automake 1.9.2.
2859 * Makefile.in: Regenerate with automake 1.9.2.
2860 * doc/Makefile.in: Likewise.
2861
2862 * config/tc-arm.c: Include "dw2gencfi.h".
2863 (tc_arm_regname_to_dw2regnum, tc_arm_frame_initial_instructions):
2864 New functions.
2865 * config/tc-arm.h (TARGET_USE_CFIPOP, DWARF2_DEFAULT_RETURN_COLUMN)
2866 (DWARF2_CIE_DATA_ALIGNMENT, tc_regname_to_dw2regnum)
2867 (tc_cfi_frame_initial_instructions): Define.
2868 (tc_arm_regname_to_dw2regnum, tc_arm_frame_initial_instructions):
2869 Add prototypes.
2870
23d83918
TL
28712004-10-21 Tomer Levi <Tomer.Levi@nsc.com>
2872
2873 * config/tc-crx.c (assemble_insn): Check unsigned immediate
2874 operands validity.
2875 Update coprocessor id to be unsigned immediate.
2876
bb41ade5
AM
28772004-10-18 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
2878
2879 * config/tc-i386.c (O_secrel): Delete.
2880 (tc_pe_dwarf2_emit_offset): New function.
2881 * config/tc-i386.h (O_secrel): Define as O_md1.
2882 (TC_DWARF2_EMIT_OFFSET): Define.
2883
87e62348
NC
28842004-10-18 Nick Clifton <nickc@redhat.com>
2885
2886 * config/tc-xstormy16.c (xstormy16_cons_fix_new): Accept and
2887 ignore @fptr() directives for 4-byte fixups.
2888
3c55da70
AM
28892004-10-15 Alan Modra <amodra@bigpond.net.au>
2890
2891 * Makefile.am: Run "make dep-am"
2892 * Makefile.in: Regenerate.
2893
40e7b7b9
BW
28942004-10-14 Bob Wilson <bob.wilson@acm.org>
2895
2896 * doc/c-xtensa.texi (Xtensa Options, Absolute Literals Directive):
2897 Remove comments about placement of literal pools.
2898 (Literal Directive): Update description of literal placement.
2899 (Literal Prefix Directive): Remove statement that this does not apply
2900 to absolute-mode literals. Describe new section naming scheme.
2901
b08b5071
BW
29022004-10-12 Bob Wilson <bob.wilson@acm.org>
2903
2904 * config/tc-xtensa.c (xtensa_frequency_pseudo): Use set_subseg_freq.
2905 (is_entry_opcode, is_movi_opcode, is_the_loop_opcode, is_jx_opcode,
2906 is_windowed_return_opcode): Delete.
2907 (xtensa_frob_label): Use get_subseg_target_freq.
2908 (md_assemble): Inline call to is_entry_opcode.
2909 (xtensa_handle_align): Inline call to get_frag_is_literal.
2910 (relaxation_requirements): Inline call to is_jx_opcode.
2911 (emit_single_op): Inline call to is_movi_opcode.
2912 (xg_assemble_vliw_tokens): Inline calls to get_frag_is_insn,
2913 get_frag_is_no_transform, is_entry_opcode, and
2914 set_frag_is_specific_opcode. Use get_subseg_total_freq.
2915 (xtensa_fix_a0_b_retw_frags, xtensa_fix_b_j_loop_end_frags,
2916 xtensa_fix_close_loop_end_frags, relax_frag_immed, convert_frag_immed):
2917 Inline calls to get_frag_is_no_transform.
2918 (next_instrs_are_b_retw): Inline call to is_windowed_return_opcode.
2919 (xtensa_fix_short_loop_frags): Inline calls to is_the_loop_opcode and
2920 get_frag_is_no_transform.
2921 (convert_frag_immed_finish_loop): Inline calls to get_expression_value
2922 and set_frag_is_no_transform.
2923 (get_expression_value): Delete.
2924 (subseg_map struct): Rename cur_total_freq to total_freq. Rename
2925 cur_target_freq to target_freq.
2926 (get_subseg_info): Split out code to create a new map entry into ...
2927 (add_subseg_info): ... this new function.
2928 (get_last_insn_flags): Check if get_subseg_info succeeded.
2929 (set_last_insn_flags): Call add_subseg_info if needed.
2930 (get_subseg_total_freq, get_subseg_target_freq, set_subseg_freq): New.
2931 (xtensa_reorder_segments): Compute last_sec while counting sections.
2932 Remove call to get_last_sec.
2933 (get_last_sec): Delete.
2934 (cache_literal_section): Inline call to retrieve_literal_seg and its
2935 callees, seg_present and add_seg_list.
2936 (retrieve_literal_seg, seg_present, add_seg_list): Delete.
2937 (get_frag_is_insn, get_frag_is_no_transform,
2938 set_frag_is_specific_opcode, set_frag_is_no_transform): Delete.
2939 * config/tc-xtensa.h (MAX_SLOTS): Reduce from 31 to 15.
2940
7fa3d080
BW
29412004-10-12 Bob Wilson <bob.wilson@acm.org>
2942
2943 * config/tc-xtensa.c: Use ISO C90 formatting.
2944 * config/tc-xtensa.h: Likewise.
2945 * config/xtensa-istack.h: Likewise.
2946 * config/xtensa-relax.c: Likewise.
2947 * config/xtensa-relax.h: Likewise.
2948
8cb51566
PB
29492004-10-12 Paul Brook <paul@codesourcery.com>
2950
2951 * config/tc-arm.c (md_begin): Change EF_ARM_EABI_VER3 to
2952 EF_ARM_EABI_VER4.
2953 (arm_eabis): Ditto.
2954 * doc/c-arm.texi: Document that we actually support -meabi=4, not
2955 -meabi=3.
2956
653cfe85
BW
29572004-10-08 Bob Wilson <bob.wilson@acm.org>
2958
2959 * doc/as.texinfo (VTableEntry, VTableInherit): Add "directive" to index
2960 entries.
2961 (Acknowledgements): Use "GAS" instead of AS variable.
2962
d2b2c203
DJ
29632004-10-08 Daniel Jacobowitz <dan@debian.org>
2964
2965 * config/tc-i386.c: Include "elf/x86-64.h".
2966 (i386_elf_section_type): New function.
2967 * config/tc-i386.h (md_elf_section_type): Define.
2968 (i386_elf_section_type): New prototype.
2969
e80e0390
NC
29702004-10-08 Linus Nielsen Feltzing <linus@haxx.se>
2971
2972 * config/m68k-parse.h (enum m68k_register): New control register,
2973 MBAR2 (for MCF5249)
2974 * config/tc-m68k.c: Correct control register set for MCF5249.
2975
43cd72b9 29762004-10-07 Bob Wilson <bob.wilson@acm.org>
85a5ac80 2977 Sterling Augustine <sterling@tensilica.com>
43cd72b9
BW
2978
2979 * config/tc-xtensa.c (absolute_literals_supported): New global flag.
2980 (UNREACHABLE_MAX_WIDTH): Define.
2981 (XTENSA_FETCH_WIDTH): Delete.
2982 (cur_vinsn, xtensa_fetch_width, xt_saved_debug_type, past_xtensa_end,
2983 prefer_const16, prefer_l32r): New global variables.
2984 (LIT4_SECTION_NAME): Define.
2985 (lit4_state struct): Add lit4_seg_name and lit4_seg fields.
2986 (XTENSA_PROP_*, GET_XTENSA_PROP_*, SET_XTENSA_PROP_*): Define.
2987 (frag_flags struct): New.
c04f5787 2988 (xtensa_block_info struct): Move from tc-xtensa.h. Add flags field.
43cd72b9
BW
2989 (subseg_map struct): Add cur_total_freq and cur_target_freq fields.
2990 (bitfield, bit_is_set, set_bit, clear_bit): Define.
2991 (MAX_FORMATS): Define.
2992 (op_placement_info struct, op_placement_table): New.
2993 (O_pltrel, O_hi16, O_lo16): Define.
2994 (directiveE enum): Rename directive_generics to directive_transform.
2995 Delete directive_relax. Add directive_schedule,
2996 directive_absolute_literals, and directive_last_directive.
2997 (directive_info): Rename "generics" to "transform". Delete "relax".
2998 Add "schedule" and "absolute-literals".
2999 (directive_state): Adjust entries to match changes in directive_info.
3000 (xtensa_relax_statesE, RELAX_IMMED_MAXSTEPS): Move to tc-xtensa.h.
3001 (xtensa_const16_opcode, xtensa_movi_opcode, xtensa_movi_n_opcode,
3002 xtensa_l32r_opcode, xtensa_nop_opcode, xtensa_rsr_lcount_opcode): New.
3003 (xtensa_j_opcode, xtensa_rsr_opcode): Delete.
3004 (align_only_targets, software_a0_b_retw_interlock,
3005 software_avoid_b_j_loop_end, maybe_has_b_j_loop_end,
3006 software_avoid_short_loop, software_avoid_close_loop_end,
3007 software_avoid_all_short_loops, specific_opcode): Delete.
3008 (warn_unaligned_branch_targets): New.
3009 (workaround_a0_b_retw, workaround_b_j_loop_end, workaround_short_loop,
3010 workaround_close_loop_end, workaround_all_short_loops): Default FALSE.
3011 (option_[no_]link_relax, option_[no_]transform,
3012 option_[no_]absolute_literals, option_warn_unaligned_targets,
3013 option_prefer_l32r, option_prefer_const16, option_target_hardware):
3014 New enum values.
3015 (option_[no_]align_only_targets, option_literal_section_name,
3016 option_text_section_name, option_data_section_name,
3017 option_bss_section_name, option_eb, option_el): Delete.
3018 (md_longopts): Add entries for: [no-]transform, [no-]absolute-literals,
3019 warn-unaligned-targets, prefer-l32r, prefer-const16, [no-]link-relax,
3020 and target-hardware. Delete entries for [no-]target-align-only,
3021 literal-section-name, text-section-name, data-section-name, and
3022 bss-section-name.
3023 (md_parse_option): Handle new options and remove old ones. Accept but
3024 ignore [no-]density options. Warn for [no-]generics and [no-]relax
3025 and treat them as [no-]transform.
3026 (md_show_usage): Add new options and remove old ones.
3027 (xtensa_setup_hw_workarounds): New.
3028 (md_pseudo_table): Change "word" entry to use xtensa_elf_cons. Add
3029 "long", "short", "loc" and "frequency" entries.
3030 (use_generics): Rename to ...
3031 (use_transform): ... this function. Add past_xtensa_end check.
3032 (use_longcalls): Add past_xtensa_end check.
3033 (code_density_available, can_relax): Delete.
3034 (do_align_targets): New.
3035 (get_directive): Accept dashes in directive names. Warn about
3036 [no-]generics and [no-]relax directives and treat them as
c04f5787 3037 [no-]transform.
43cd72b9
BW
3038 (xtensa_begin_directive): Call md_flush_pending_output only for some
3039 directives. Check for directives inside instruction bundles. Warn
3040 about deprecated ".begin literal" usage. Warn and ignore [no-]density
3041 directives. Handle new directives. Check generating_literals flag
3042 for literal_prefix.
3043 (xtensa_end_directive): Check for directives inside instruction
3044 bundles. Warn and ignore [no-]density directives. Handle new
3045 directives. Call xtensa_set_frag_assembly_state.
3046 (xtensa_loc_directive_seen, xtensa_dwarf2_directive_loc,
3047 xtensa_dwarf2_emit_insn): New.
3048 (xtensa_literal_position): Call md_flush_pending_output. Do not check
3049 use_literal_section flag.
3050 (xtensa_literal_pseudo): Call md_flush_pending_output. Handle absolute
3051 literals. Use xtensa_elf_cons to parse the expression.
3052 (xtensa_literal_prefix): Do not check use_literal_section. Support
3053 ".lit4" sections for absolute literals. Change prefix convention to
3054 replace ".text" (or ".t" in a linkonce section). No need to call
3055 subseg_set.
3056 (xtensa_frequency_pseudo, xtensa_elf_cons, xtensa_elf_suffix): New.
3057 (expression_end): Handle closing braces and colons.
3058 (PLT_SUFFIX, plt_suffix): Delete.
3059 (expression_maybe_register): Use new xtensa-isa.h functions. Use
3060 xtensa_elf_suffix instead of checking for plt suffix, and handle O_lo16
3061 and O_hi16 expressions as well.
3062 (tokenize_arguments): Handle closing braces and colons.
3063 (parse_arguments): Use new xtensa-isa.h functions. Handle "invisible"
3064 operands and paired register syntax.
3065 (get_invisible_operands): New.
3066 (xg_translate_sysreg_op): Handle new Xtensa LX RSR/WSR/XSR syntax. Use
3067 new xtensa-isa.h functions.
3068 (xtensa_translate_old_userreg_ops, xtensa_translate_zero_immed): New.
3069 (xg_translate_idioms): Check if inside bundle. Use use_transform.
3070 Handle new Xtensa LX RSR/WSR/XSR syntax. Remove code to widen density
3071 instructions. Use xtensa_translate_zero_immed.
3072 (operand_is_immed, operand_is_pcrel_label): Delete.
3073 (get_relaxable_immed): Use new xtensa-isa.h functions.
3074 (get_opcode_from_buf): Add slot parameter. Use new xtensa-isa.h
3075 functions.
3076 (xtensa_print_insn_table, print_vliw_insn): New.
3077 (is_direct_call_opcode): Use new xtensa-isa.h functions.
3078 (is_call_opcode, is_loop_opcode, is_conditional_branch_opcode,
3079 is_branch_or_jump_opcode): Delete.
3080 (is_movi_opcode, decode_reloc, encode_reloc, encode_alt_reloc): New.
3081 (opnum_to_reloc, reloc_to_opnum): Delete.
3082 (xtensa_insnbuf_set_operand, xtensa_insnbuf_get_operand): Use new
3083 xtensa-isa.h functions. Operate on one slot of an instruction.
3084 (xtensa_insnbuf_set_immediate_field, is_negatable_branch,
3085 xg_get_insn_size): Delete.
3086 (xg_get_build_instr_size): Use xg_get_single_size.
3087 (xg_is_narrow_insn, xg_is_single_relaxable_insn): Update calls to
3088 xg_build_widen_table. Use xg_get_single_size.
3089 (xg_get_max_narrow_insn_size): Delete.
3090 (xg_get_max_insn_widen_size, xg_get_max_insn_widen_literal_size,
3091 xg_is_relaxable_insn): Update calls to xg_build_widen_table. Use
3092 xg_get_single_size.
3093 (xg_build_to_insn): Record the loc field. Handle OP_OPERAND_HI16U and
3094 OP_OPERAND_LOW16U. Check xg_valid_literal_expression.
3095 (xg_expand_to_stack, xg_expand_narrow): Update calls to
3096 xg_build_widen_table. Use xg_get_single_size.
3097 (xg_immeds_fit): Use new xtensa-isa.h functions. Update call to
3098 xg_check_operand.
3099 (xg_symbolic_immeds_fit): Likewise. Also handle O_lo16 and O_hi16, and
3100 treat weak symbols conservatively.
3101 (xg_check_operand): Use new xtensa-isa.h functions.
3102 (is_dnrange): Delete.
3103 (xg_assembly_relax): Inline previous calls to tinsn_copy.
3104 (xg_finish_frag): Specify separate relax states for the frag and slot0.
3105 (is_branch_jmp_to_next, xg_add_branch_and_loop_targets): Use new
3106 xtensa-isa.h functions.
3107 (xg_instruction_matches_option_term, xg_instruction_matches_or_options,
3108 xg_instruction_matches_options): New.
3109 (xg_instruction_matches_rule): Handle O_register expressions. Call
3110 xg_instruction_matches_options.
3111 (transition_rule_cmp): New.
3112 (xg_instruction_match): Update call to xg_build_simplify_table.
3113 (xg_build_token_insn): Record loc fields.
3114 (xg_simplify_insn): Check is_specific_opcode field and
3115 density_supported flag.
3116 (xg_expand_assembly_insn): Skip checking code_density_available. Use
3117 new xtensa-isa.h functions. Call use_transform instead of can_relax.
3118 (xg_assemble_literal): Add error handling for O_big. Call
3119 record_alignment. Handle O_pltrel.
3120 (xg_valid_literal_expression): New.
3121 (xg_assemble_literal_space): Add slot parameter. Remove call to
3122 set_expr_symbol_offset. Add call to record_alignment. Update call to
3123 xg_finish_frag.
3124 (xg_emit_insn): Delete.
3125 (xg_emit_insn_to_buf): Add format parameter. Update calls to
3126 xg_add_opcode_fix and xtensa_insnbuf_to_chars.
3127 (xg_add_opcode_fix): Change opcode parameter to tinsn and add format
3128 and slot parameters. Handle new "alternate" relocations for absolute
3129 literals and CONST16 instructions. Check for bad uses of O_lo16 and
3130 O_hi16. Use new xtensa-isa.h functions.
3131 (xg_assemble_tokens): Delete.
3132 (is_register_writer): Use new xtensa-isa.h functions.
3133 (is_bad_loopend_opcode): Check for xtensa_rsr_lcount_opcode instead of
3134 old-style RSR from LCOUNT.
3135 (next_frag_opcode): Delete.
3136 (next_frag_opcode_is_loop, next_frag_format_size, frag_format_size,
3137 update_next_frag_state): New.
3138 (update_next_frag_nop_state): Delete.
3139 (next_frag_pre_opcode_bytes): Use next_frag_opcode_is_loop.
3140 (xtensa_mark_literal_pool_location): Check use_literal_section flag and
3141 the state of the absolute-literals directive. Add calls to
3142 record_alignment and xtensa_set_frag_assembly_state. Call
3143 xtensa_switch_to_non_abs_literal_fragment instead of
3144 xtensa_switch_to_literal_fragment.
3145 (build_nop): New.
3146 (assemble_nop): Use build_nop. Update call to xtensa_insnbuf_to_chars.
3147 (get_expanded_loop_offset): Change check for undefined opcode to an
3148 assertion.
3149 (xtensa_set_frag_assembly_state, relaxable_section,
3150 xtensa_find_unmarked_state_frags, xtensa_find_unaligned_branch_targets,
3151 xtensa_find_unaligned_loops, xg_apply_tentative_value): New.
3152 (md_begin): Update call to xtensa_isa_init. Initialize linkrelax to 1.
3153 Set lit4_seg_name. Call xg_init_vinsn. Initialize new global opcodes.
3154 Call init_op_placement_info_table and xtensa_set_frag_assembly_state.
3155 (xtensa_init_fix_data): New.
3156 (xtensa_frob_label): Reset label symbol to the current frag. Check
3157 do_align_targets and generating_literals flag. Propagate frequency
3158 info to new alignment frag. Call xtensa_set_frag_assembly_state.
3159 (xtensa_unrecognized_line): New.
3160 (xtensa_flush_pending_output): Check if inside a bundle. Add a call
3161 to xtensa_set_frag_assembly_state.
3162 (error_reset_cur_vinsn): New.
3163 (md_assemble): Remove check for literal frag. Remove call to
3164 istack_init. Call use_transform instead of use_generics. Parse
3165 explicit instruction format specifiers. Move code for
3166 a0_b_retw_interlock workaround to xg_assemble_vliw_tokens. Call
3167 error_reset_cur_vinsn on errors. Add call to get_invisible_operands.
3168 Add dwarf2_where call. Remote automatic alignment for ENTRY
3169 instructions. Move call to xtensa_clear_insn_labels to the end.
3170 Rearrange to handle bundles.
3171 (xtensa_cons_fix_new): Delete.
3172 (xtensa_handle_align): New.
3173 (xtensa_frag_init): Call xtensa_set_frag_assembly_state. Remove
3174 assignment to is_no_density field.
3175 (md_pcrel_from): Use new xtensa-isa.h functions. Use decode_reloc
3176 instead of reloc_to_opnum. Handle "alternate" relocations.
3177 (xtensa_force_relocation, xtensa_check_inside_bundle,
3178 xtensa_elf_section_change_hook): New.
3179 (xtensa_symbol_new_hook): Delete.
3180 (xtensa_fix_adjustable): Check for difference of symbols with an
3181 offset. Check for external and weak symbols.
3182 (md_apply_fix3): Remove cases for XTENSA_OP{0,1,2} relocs.
3183 (md_estimate_size_before_relax): Return expansion for the first slot.
3184 (tc_gen_reloc): Handle difference of symbols by producing
3185 XTENSA_DIFF{8,16,32} relocs and by writing the value of the difference
3186 into the output. Handle new XTENSA_SLOT*_OP relocs by storing the
3187 tentative values into the output when linkrelax is set.
3188 (XTENSA_PROP_SEC_NAME): Define.
3189 (xtensa_post_relax_hook): Call xtensa_find_unmarked_state_frags.
3190 Create literal tables only if using literal sections. Create new
3191 property tables instead of old instruction tables. Check for unaligned
3192 branch targets and loops.
3193 (finish_vinsn, find_vinsn_conflicts, check_t1_t2_reads_and_writes,
3194 new_resource_table, clear_resource_table, resize_resource_table,
3195 resources_available, reserve_resources, release_resources,
3196 opcode_funcUnit_use_unit, opcode_funcUnit_use_stage,
3197 resources_conflict, xg_find_narrowest_format, relaxation_requirements,
3198 bundle_single_op, emit_single_op, xg_assemble_vliw_tokens): New.
3199 (xtensa_end): Call xtensa_flush_pending_output. Set past_xtensa_end
3200 flag. Update checks for workaround options. Call
3201 xtensa_mark_narrow_branches and xtensa_mark_zcl_first_insns.
3202 (xtensa_cleanup_align_frags): Add special case for branch targets.
3203 Check for and mark unreachable frags.
3204 (xtensa_fix_target_frags): Remove use of align_only_targets flag.
3205 Use RELAX_LOOP_END_BYTES in special case for negatable branch at the
3206 end of a zero-overhead loop body.
3207 (frag_can_negate_branch): Handle instructions with multiple slots.
3208 Use new xtensa-isa.h functions
3209 (xtensa_mark_narrow_branches, is_narrow_branch_guaranteed_in_range,
3210 xtensa_mark_zcl_first_insns): New.
3211 (xtensa_fix_a0_b_retw_frags, xtensa_fix_b_j_loop_end_frags): Error if
3212 transformations are disabled.
3213 (next_instrs_are_b_retw): Use new xtensa-isa.h functions. Handle
3214 multislot instructions.
3215 (xtensa_fix_close_loop_end_frags, xtensa_fix_short_loop_frags):
3216 Likewise. Also error if transformations are disabled.
3217 (unrelaxed_frag_max_size): New.
3218 (unrelaxed_frag_min_insn_count, unrelax_frag_has_b_j): Use new
3219 xtensa-isa.h functions.
3220 (xtensa_sanity_check, is_empty_loop, is_local_forward_loop): Use
3221 xtensa_opcode_is_loop instead of is_loop_opcode.
3222 (get_text_align_power): Replace as_fatal with assertion.
3223 (get_text_align_fill_size): Iterate instead of using modulus when
3224 use_nops is false.
3225 (get_noop_aligned_address): Assert that this is for a machine-dependent
3226 RELAX_ALIGN_NEXT_OPCODE frag. Use next_frag_opcode_is_loop,
3227 xg_get_single_size, and frag_format_size.
3228 (get_widen_aligned_address): Rename to ...
3229 (get_aligned_diff): ... this function. Add max_diff parameter.
3230 Remove handling of rs_align/rs_align_code frags. Use
3231 next_frag_format_size, get_text_align_power, get_text_align_fill_size,
3232 next_frag_opcode_is_loop, and xg_get_single_size. Compute max_diff
3233 and pass it back to caller.
3234 (xtensa_relax_frag): Use relax_frag_loop_align. Add code for new
3235 RELAX_SLOTS, RELAX_MAYBE_UNREACHABLE, RELAX_MAYBE_DESIRE_ALIGN,
3236 RELAX_FILL_NOP, and RELAX_UNREACHABLE frag types. Check relax_seen.
3237 (relax_frag_text_align): Rename to ...
3238 (relax_frag_loop_align): ... this function. Assume loops can only be
3239 in the first slot of an instruction.
3240 (relax_frag_add_nop): Use assemble_nop instead of constructing an OR
3241 instruction. Remove call to frag_wane.
3242 (relax_frag_narrow): Rename to ...
3243 (relax_frag_for_align): ... this function. Extend to handle
3244 RELAX_FILL_NOP and RELAX_UNREACHABLE, as well as RELAX_SLOTS with
3245 RELAX_NARROW for the first slot.
3246 (find_address_of_next_align_frag, bytes_to_stretch): New.
3247 (future_alignment_required): Use find_address_of_next_align_frag and
3248 bytes_to_stretch. Look ahead to subsequent frags to make smarter
3249 alignment decisions.
3250 (relax_frag_immed): Add format, slot, and estimate_only parameters.
3251 Check if transformations are enabled for b_j_loop_end workaround.
3252 Use new xtensa-isa.h functions and handle multislot instructions.
3253 Update call to xg_assembly_relax.
3254 (md_convert_frag): Handle new RELAX_SLOTS, RELAX_UNREACHABLE,
3255 RELAX_MAYBE_UNREACHABLE, RELAX_MAYBE_DESIRE_ALIGN, and RELAX_FILL_NOP
3256 frag types.
3257 (convert_frag_narrow): Add segP, format and slot parameters. Call
3258 convert_frag_immed for branch instructions. Adjust calls to
3259 tinsn_from_chars, tinsn_immed_from_frag, and xg_emit_insn_to_buf. Use
3260 xg_get_single_size and xg_get_single_format.
3261 (convert_frag_fill_nop): New.
3262 (convert_frag_immed): Add format and slot parameters. Handle multislot
3263 instructions and use new xtensa-isa.h functions. Update calls to
3264 tinsn_immed_from_frag and xg_assembly_relax. Check if transformations
3265 enabled for b_j_loop_end workaround. Use build_nop instead of
3266 assemble_nop. Check is_specific_opcode flag. Check for unreachable
3267 frags. Use xg_get_single_size. Handle O_pltrel.
3268 (fix_new_exp_in_seg): Remove check for old plt flag.
3269 (convert_frag_immed_finish_loop): Update calls to tinsn_from_chars and
3270 xtensa_insnbuf_to_chars. Call tinsn_immed_from_frag. Change check
3271 for loop opcode to an assertion. Mark all frags up to the end of the
3272 loop as not transformable.
3273 (get_last_insn_flags, set_last_insn_flags): Use get_subseg_info.
3274 (get_subseg_info): New.
3275 (xtensa_move_literals): Call xtensa_set_frag_assembly_state. Add null
3276 check for dest_seg.
3277 (xtensa_switch_to_literal_fragment): Rewrite to handle absolute
3278 literals and use xtensa_switch_to_non_abs_literal_fragment otherwise.
3279 (xtensa_switch_to_non_abs_literal_fragment): New.
3280 (cache_literal_section): Add is_code parameter and pass it through to
3281 retrieve_literal_seg.
3282 (retrieve_literal_seg): Add is_code parameter and use it to set the
3283 flags on the literal section. Handle case where head parameter is 0.
3284 (get_frag_is_no_transform, set_frag_is_specific_opcode,
3285 set_frag_is_no_transform): New.
3286 (xtensa_create_property_segments): Add end_property_function parameter
3287 and pass it through to add_xt_block_frags. Call bfd_get_section_flags
3288 and skip SEC_DEBUGGING and !SEC_ALLOC sections.
3289 (xtensa_create_xproperty_segments, section_has_xproperty): New.
3290 (add_xt_block_frags): Add end_property_function parameter and call it
3291 if it is non-zero. Call xtensa_frag_flags_init.
3292 (xtensa_frag_flags_is_empty, xtensa_frag_flags_init,
3293 get_frag_property_flags, frag_flags_to_number,
3294 xtensa_frag_flags_combinable, xt_block_aligned_size,
3295 xtensa_xt_block_combine, add_xt_prop_frags,
3296 init_op_placement_info_table, opcode_fits_format_slot,
3297 xg_get_single_size, xg_get_single_format): New.
3298 (istack_push): Inline call to tinsn_copy.
3299 (tinsn_copy): Delete.
3300 (tinsn_has_invalid_symbolic_operands): Handle O_hi16 and O_lo16 and
3301 CONST16 opcodes. Handle O_big, O_illegal, and O_absent.
3302 (tinsn_has_complex_operands): Handle O_hi16 and O_lo16.
3303 (tinsn_to_insnbuf): Use xg_get_single_format and new xtensa-isa.h
3304 functions. Handle invisible operands.
3305 (tinsn_to_slotbuf): New.
3306 (tinsn_check_arguments): Use new xtensa-isa.h functions.
3307 (tinsn_from_chars): Add slot parameter. Rewrite using xg_init_vinsn,
3308 vinsn_from_chars, and xg_free_vinsn.
3309 (tinsn_from_insnbuf): New.
3310 (tinsn_immed_from_frag): Add slot parameter and handle multislot
3311 instructions. Handle symbol differences.
3312 (get_num_stack_text_bytes): Use xg_get_single_size.
3313 (xg_init_vinsn, xg_clear_vinsn, vinsn_has_specific_opcodes,
3314 xg_free_vinsn, vinsn_to_insnbuf, vinsn_from_chars, expr_is_register,
3315 get_expr_register, set_expr_symbol_offset_diff): New.
3316 * config/tc-xtensa.h (MAX_SLOTS): Define.
3317 (xtensa_relax_statesE): Move from tc-xtensa.c. Add
3318 RELAX_CHECK_ALIGN_NEXT_OPCODE, RELAX_MAYBE_DESIRE_ALIGN, RELAX_SLOTS,
3319 RELAX_FILL_NOP, RELAX_UNREACHABLE, RELAX_MAYBE_UNREACHABLE, and
3320 RELAX_NONE types.
3321 (RELAX_IMMED_MAXSTEPS): Move from tc-xtensa.c.
3322 (xtensa_frag_type struct): Add is_assembly_state_set,
3323 use_absolute_literals, relax_seen, is_unreachable, is_specific_opcode,
3324 is_align, is_text_align, alignment, and is_first_loop_insn fields.
3325 Replace is_generics and is_relax fields by is_no_transform field.
3326 Delete is_text and is_longcalls fields. Change text_expansion and
3327 literal_expansion to arrays of MAX_SLOTS entries. Add arrays of
3328 per-slot information: literal_frags, slot_subtypes, slot_symbols,
3329 slot_sub_symbols, and slot_offsets. Add fr_prev field.
3330 (xtensa_fix_data struct): New.
3331 (xtensa_symfield_type struct): Delete plt field.
3332 (xtensa_block_info struct): Move definition to tc-xtensa.h. Add
3333 forward declaration here.
3334 (xt_section_type enum): Delete xt_insn_sec. Add xt_prop_sec.
3335 (XTENSA_SECTION_RENAME): Undefine.
3336 (TC_FIX_TYPE, TC_INIT_FIX_DATA, TC_FORCE_RELOCATION, NO_PSEUDO_DOT,
3337 tc_unrecognized_line, md_do_align, md_elf_section_change_hook,
3338 HANDLE_ALIGN, TC_LINKRELAX_FIXUP, SUB_SEGMENT_ALIGN): Define.
3339 (TC_CONS_FIX_NEW, tc_symbol_new_hook): Delete.
3340 (unit_num_copies_func, opcode_num_units_func,
3341 opcode_funcUnit_use_unit_func, opcode_funcUnit_use_stage_func): New.
3342 (resource_table struct): New.
3343 * config/xtensa-istack.h (MAX_INSN_ARGS): Increase from 6 to 10.
3344 (TInsn struct): Add keep_wide, loc, fixup, record_fix, subtype,
3345 literal_space, symbol, sub_symbol, offset, and literal_frag fields.
3346 (tinsn_copy): Delete prototype.
3347 (vliw_insn struct): New.
3348 * config/xtensa-relax.c (insn_pattern_struct): Add options field.
3349 (widen_spec_list): Add option conditions for density and boolean
3350 instructions. Add expansions using CONST16 and conditions for using
3351 CONST16 vs. L32R. Use new Xtensa LX RSR/WSR syntax. Add entries for
3352 predicted branches.
3353 (simplify_spec_list): Add option conditions for density instructions.
3354 Add entry for NOP instruction.
3355 (append_transition): Add cmp function pointer parameter and use it to
3356 insert the new entry in order.
3357 (operand_function_LOW16U, operand_function_HI16U): New.
3358 (xg_has_userdef_op_fn, xg_apply_userdef_op_fn): Handle
3359 OP_OPERAND_LOW16U and OP_OPERAND_HI16U.
3360 (enter_opname, split_string): Use xstrdup instead of strdup.
3361 (init_insn_pattern): Initialize new options field.
3362 (clear_req_or_option_list, clear_req_option_list,
3363 clone_req_or_option_list, clone_req_option_list, parse_option_cond):
3364 New.
3365 (parse_insn_pattern): Parse option conditions.
3366 (transition_applies): New.
3367 (build_transition): Use new xtensa-isa.h functions. Fix incorrectly
3368 swapped last arguments in calls to append_constant_value_condition.
3369 Call clone_req_option_list. Add warning about invalid opcode.
3370 Handle LOW16U and HI16U function names.
3371 (build_transition_table): Add cmp parameter and use it in calls to
3372 append_transition. Use new xtensa-isa.h functions. Check
3373 transition_applies before adding entries.
3374 (xg_build_widen_table, xg_build_simplify_table): Add cmp parameter and
3375 pass it through to build_transition_table.
3376 * config/xtensa-relax.h (ReqOrOptionList, ReqOrOption, ReqOptionList,
3377 ReqOption, transition_cmp_fn): New types.
3378 (OpType enum): Add OP_OPERAND_LOW16U and OP_OPERAND_HI16U.
3379 (transition_rule struct): Add options field.
3380 * doc/as.texinfo (Overview): Update Xtensa options.
3381 * doc/c-xtensa.texi (Xtensa Options): Delete --[no-]density,
3382 --[no-]relax, and --[no-]generics options. Update descriptions of
3383 --text-section-literals and --[no-]longcalls. Add
3384 --[no-]absolute-literals and --[no-]transform.
3385 (Xtensa Syntax): Add description of syntax for FLIX instructions.
3386 Remove use of "generic" and "specific" terminology for opcodes.
3387 (Xtensa Registers): Generalize the syntax description to include
3388 user-defined register files.
3389 (Xtensa Automatic Alignment): Update.
3390 (Xtensa Branch Relaxation): Mention limitation of unconditional jumps.
3391 (Xtensa Call Relaxation): Linker can now remove most of the overhead.
3392 (Xtensa Directives): Remove confusing rules about precedence.
3393 (Density Directive, Relax Directive): Delete.
3394 (Schedule Directive): New.
3395 (Generics Directive): Rename to ...
3396 (Transform Directive): ... this node.
3397 (Literal Directive): Update for absolute literals. Missing
3398 literal_position directive is now an error.
3399 (Literal Position Directive): Update for absolute literals.
3400 (Freeregs Directive): Delete.
3401 (Absolute Literals Directive): New.
3402 (Frame Directive): Minor editing.
3403 * Makefile.am (DEPTC_xtensa_elf, DEPOBJ_xtensa_elf, DEP_xtensa_elf):
3404 Update dependencies.
3405 * Makefile.in: Regenerate.
3406
6e1304d8
RS
34072004-10-07 Richard Sandiford <rsandifo@redhat.com>
3408
3409 * config/tc-mips.c (append_insn): Use fix_new rather than fix_new_exp
3410 to build the second and third fixups for a composite relocation.
3411 (macro_read_relocs): New function.
3412 (macro_build): Use it.
3413 (s_cpsetup): Pass all three composite relocation codes to macro_build.
3414 Simplify fragging code accordingly.
3415 (s_gpdword): Use fix_new rather than fix_new_exp for the second part
3416 of the composite relocation. Set fx_tcbit in both fixups.
3417
b1dca8ee
RS
34182004-10-07 Richard Sandiford <rsandifo@redhat.com>
3419
3420 * config/tc-mips.c (append_insn): Set fx_tcbit for composite relocs.
3421 (md_apply_fix3): Don't treat composite relocs as done.
3422
89658e52
NC
34232004-10-07 Jan Beulich <jbeulich@novell.com>
3424
3425 * macro.c (macro_expand_body): When ELF, use .LL rather than LL as
3426 prefix for symbol names generated from the LOCAL macro directive.
3427
289040ca
NC
3428 * dw2gencfi.c (select_cie_for_fde): When separating CIE out from
3429 FDE, treat a DW_CFA_remember_state as we do a DW_CFA_advance_loc.
3430
48c9f030
NC
34312004-10-07 Tomer Levi <Tomer.Levi@nsc.com>
3432
3433 * config/tc-crx.c (preprocess_reglist): Handle Co-processor
c04f5787 3434 Special registers.
5c5054ab 3435 (md_assemble): Add error checking for Co-Processor instructions.
48c9f030
NC
3436 (get_cinv_parameters): Add 'b' option to invalidate the
3437 branch-target cache.
3438
7ed4c4c5
NC
34392004-10-05 Paul Brook <paul@codesourcery.com>
3440
3441 * config/tc-arm.c (unwind): New variable.
3442 (vfp_sp_encode_reg): New function.
3443 (vfp_sp_reg_required_here): Use it.
3444 (vfp_sp_reg_list, vfp_dp_reg_list): Remove.
3445 (vfp_parse_reg_list): New function.
3446 (s_arm_unwind_fnstart, s_arm_unwind_fnend, s_arm_unwind_cantunwind,
3447 s_arm_unwind_personality, s_arm_unwind_personalityindex,
3448 s_arm_unwind_handlerdata, s_arm_unwind_save, s_arm_unwind_movsp,
3449 s_arm_unwind_pad, s_arm_unwind_setfp, s_arm_unwind_raw): New
3450 functions.
3451 (md_pseudo_table): Add them.
3452 (do_vfp_reg2_from_sp2): Use vfp_parse_reg_list and vfp_sp_encode_reg.
3453 (do_vfp_sp2_from_reg2, vfp_sp_ldstm, vfp_dp_ldstm): Ditto.
3454 (set_section, add_unwind_adjustsp, flush_pending_unwind,
3455 finish_unwind_opcodes, start_unwind_section, create_unwind_entry,
3456 require_hashconst, add_unwind_opcode): New functions.
ab1e9ef7 3457 * doc/c-arm.texi: Document unwinding opcodes.
7ed4c4c5
NC
3458 * NEWS: Mention the new feature.
3459
04ca8703
EC
34602004-10-04 Eric Christopher <echristo@redhat.com>
3461
3462 * config/tc-mips.c (md_apply_fix3): Remove erroneous assert.
3463
7c1d0959
L
34642004-10-01 H.J. Lu <hongjiu.lu@intel.com>
3465
3466 * config/tc-ppc.c (md_apply_fix3): Call S_SET_THREAD_LOCAL for
3467 TLS relocations.
3468 * config/tc-s390.c (md_apply_fix3): Likewise.
3469 * config/tc-sparc.c (md_apply_fix3): Likewise.
3470
40a18ebd
NC
34712004-10-01 Paul Brook <paul@codesourcery.com>
3472
3473 * config/tc-arm.c (arm_elf_section_type): New function.
3474 (arm_elf_change_section): Set section link for exidx sections.
3475 * config/tc-arm.h (arm_elf_section_type): Add prototype.
3476 (md_elf_section_type): Define.
3477
14127cc4
NC
34782004-10-01 Bill Farmer <Bill@the-farmers.freeserve.co.uk>
3479
3480 * config/tc-pdp11.c (md_apply_fix3): Change to sign of the SOB
3481 instruction's offset.
3482
b7c92712
NC
34832004-10-01 Adam Nemet <anemet@lnxw.com>
3484
3485 * (TARGET_FORMAT): Remove LynxOS COFF definition.
3486
65555e64
AM
34872004-10-01 Ravi Ramaseshan <ravi.ramaseshan@codito.com>
3488
3489 * config/tc-arc.c (tc_gen_reloc): Don't assume fixP->fx_addsy is an
3490 asymbol *, instead use symbol_get_bfdsym.
3491
9fe0b840
NC
34922004-09-30 Linus Nielsen Feltzing <linus@haxx.se>
3493
3494 * config/tc-m68k.c (select_control_regs): Add mcf5249.
3495
0dd132b6
NC
34962004-09-30 Paul Brook <paul@codesourcery.com>
3497
3498 * config/tc-arm.c (do_smi, do_nop): New functions.
3499 (insns): Add ARMv6ZK instructions.
3500 (md_apply_fix3): Handle BFD_RELOC_ARM_SMI.
3501 (tc_gen_reloc): Ditto.
3502 (arm_cpus): Add mpcore and arm1176.
3503 (arm_archs): Add armv6{k,z,zk}.
3504 * doc/c-arm.texi: Document new cores and architectures.
3505
a737bd4d
NC
35062004-09-30 Nick Clifton <nickc@redhat.com>
3507
3508 * config/tc-arm.c: Use ISO C90 formatting.
3509
3631a3c8
NC
35102004-09-30 Vladimir Ivanov <vladitx@nucleusys.com>
3511
a737bd4d 3512 * config/tc-arm.c (mav_reg_required_here): Allow REG_TYPE_CN
3631a3c8
NC
3513 as alternative when REG_TYPE_MVF, REG_TYPE_MVD, REG_TYPE_MVFX or
3514 REG_TYPE_MVDX is expected.
3515
d5f0cf92
AM
35162004-09-29 Marc Bevand <m.bevand@gmail.com>
3517
3518 * doc/c-i386.texi (i386-Mnemonics): Fix typo.
3519
9f9a069e
JW
35202004-09-21 James E Wilson <wilson@specifixinc.com>
3521
3522 * config/tc-ia64.c (ENCODED_PSP_OFFSET): New.
3523 (output_rp_psprel, output_pfs_psprel, output_preds_psprel,
3524 output_spill_base, output_unat_psprel, output_lc_psprel,
3525 output_fpsr_psprel, output_priunat_psprel, output_bsp_psprel,
3526 output_bsprestore_psprel, output_rnat_psprel, output_spill_psprel,
3527 output_spill_psprel_p): Use it.
3528
4b778c88
TL
35292004-09-20 Tomer Levi <Tomer.Levi@nsc.com>
3530
c04f5787 3531 * config/tc-crx.c (handle_LoadStor): New function.
04ca8703 3532 Handle load/stor unique instructions before parsing.
4b778c88 3533
eb043451
PB
35342004-09-17 Paul Brook <paul@codesourcery.com>
3535
3536 * config/tc-arm.c (s_arm_rel31): New funciton.
3537 (md_pseudo_table): Add .rel31.
04ca8703 3538 (md_apply_fix3): Handle BFD_RELOC_ARM_TARGET2,
eb043451
PB
3539 BFD_RELOC_32_PCREL and BFD_RELOC_ARM_PREL31.
3540 (tc_gen_reloc): Handle BFD_RELOC_ARM_PREL31 and BFD_RELOC_ARM_TARGET2.
3541 (arm_fix_adjustable): Return 0 for BFD_RELOC_ARM_TARGET2.
3542 (arm_parse_reloc): Add (target2).
3543
8ea2b00f
AM
35442004-09-17 Alan Modra <amodra@bigpond.net.au>
3545
3546 * Makefile.am: Run "make dep-am".
3547 * Makefile.in: Regenerate.
3548 * aclocal.m4: Regenerate.
3549 * configure: Regenerate.
3550 * doc/Makefile.in: Regenerate.
3551 * po/POTFILES.in: Regenerate.
3552 * po/gas.pot: Regenerate.
3553
7e1792e0
HPN
35542004-09-14 Hideki IWAMOTO <h-iwamoto@kit.hi-ho.ne.jp>
3555
3556 * config/tc-mmix.c [!LLONG_MIN]: Correct #elsif to #elif.
3557 [!LLONG_MAX]: Ditto.
3558
9c504268
PB
35592004-09-13 Paul Brook <paul@codesourcery.com>
3560
3561 * config/tc-arm.c: Rename RELABS to TARGET1.
3562
2159ac21
AM
35632004-09-13 Alan Modra <amodra@bigpond.net.au>
3564
3565 * messages.c (as_internal_value_out_of_range): Cast values passed
3566 to as_bad_where or as_warn_where to proper type.
3567
23794b24
MM
35682004-09-11 Theodore A. Roth <troth@openavr.org>
3569
3570 * config/tc-avr.c: Add support for
3571 atmega48, atmega88, atmega168, attiny13, attiny2313, at90can128.
3572
e9fad691
AM
35732004-09-09 Alan Modra <amodra@bigpond.net.au>
3574
3575 * dw2gencfi.c (select_cie_for_fde): When separating CIE out
3576 from FDE, treat a CFI_escape as we do a DW_CFA_advance_loc.
3577
10b016c2
PB
35782004-09-08 Paul Brook <paul@codesourcery.com>
3579
3580 * config/obj-elf.c (obj_elf_section_type): Handle init_array,
3581 fini_array and preinit_array section types.
3582 * config/tc-ia64.c (ia64_elf_section_type): Remove init_array
3583 and fini_array.
3584 * doc/as.texinfo: Document extra section types.
3585
e5a52504
MM
35862004-09-02 Mark Mitchell <mark@codesourcery.com>
3587
3588 * Makefile.am (TARG_ENV_HFILES): Add te-symbian.h.
3589 * Makefile.in: Regenerated.
3590 * configure.in: Set em for arm*-*-symbianelf*.
3591 * configure: Regenerated.
3592 * config/tc-arm.c (elf32_arm_target_format): Use Symbian target
3593 vectors when appropriate.
3594 * config/te-symbian.h: New file.
3595
42851540
NC
35962004-09-03 Tomer Levi <Tomer.Levi@nsc.com>
3597
3598 * config/tc-crx.c (gettrap): Exception vector can be case
3599 insensitive.
04ca8703 3600 (process_label_constant): Fix a 32-bit displacement bug in branch
42851540
NC
3601 instructions.
3602 (get_operandtype) : Bug fix, wrong operand was used.
04ca8703 3603 (process_label_constant): Initialize relocation type to
42851540
NC
3604 BFD_RELOC_NONE
3605
8783612f
RE
36062004-09-01 Richard Earnshaw < reanrsha@arm.com>
3607
3608 * tc-arm.c (arm_cpus, arm_fpus): Allow <cpu>-s as well as <cpu>s
3609 for synthesizable cores.
3610
1ff4677c
RE
3611 * doc/c-arm.texi (ARM Options): Document canonical names of CPUs.
3612
b18c562e
NC
36132004-08-25 Dmitry Diky <diwil@spec.ru>
3614
3615 * config/tc-msp430.c: Clean-up the code.
3616 (md_relax_table): New relax table.
3617 (mcu_types): Sort MCU types.
3618 (md_pseudo_table): Add .profiler pseudo handler.
3619 (pow2value): New function.
3620 (msp430_profiler): New function.
3621 (msp430_operands): Add new insns handlers.
3622 (msp430_srcoperand): Add register operand handler, allow complex
3623 expressions.
3624 (md_estimate_size_before_relax): Rewritten.
3625 (md_convert_frag): Rewritten.
3626 (msp430_relax_frag): New function.
3627 * config/tc-msp430.h (md_relax_frag): define macro
3628 * doc/c-msp430.texi: Update information.
3629
8f94ae4d
NC
36302004-08-24 Nick Clifton <nickc@redhat.com>
3631
3632 * as.c (std_shortopts): Allow -g to take an optional argument.
3633 (parse_args): Pass any switch starting with -g on to the backend
3634 for parsing.
3635
e51dace8
MM
36362004-08-18 Mark Mitchell <mark@codesourcery.com>
3637
3638 * configure.in (arm*-*-symbianelf*): New target.
3639 (arm*-*-eabi*): Likewise.
3640 * configure: Regenerated.
3641
f7870c8d
TS
36422004-08-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
3643 * config/tc-mips.c (append_insn): Handle delay slots in branch likely
3644 correctly.
3645
d6afba4b
JJ
36462004-08-18 Jakub Jelinek <jakub@redhat.com>
3647
3648 * config/tc-ia64.c (start_unwind_section): Add linkonce_empty
3649 argument, don't do anything if current section is not
3650 .gnu.linkonce.t.* and linkonce_empty is set.
3651 (generate_unwind_image, dot_endp): Adjust callers, call
3652 start_unwind_section (*, 1) if nothing will be put into the
3653 section.
3654
329e276d
NC
36552004-08-17 Nick Clifton <nickc@redhat.com>
3656
3657 * as.c (MD_DEBUG_FORMAT_SELECTOR): Provide default definition.
3658 (show_usage): Add -g.
3659 (std_longopts): Add --gen-debug. Alpha sort the table.
3660 (parse_args): Print an error message if a switch is not handled.
3661 Handle the -g switch, calling md_debug_format_selector() if
3662 necessary.
3663 * NEWS: Mention new feature.
3664 * doc/as.texinfo: Document new switch.
3665 * doc/internals.texi: Document behaviour of md_parse_option.
04ca8703 3666
329e276d
NC
3667 * config/tc-arm.c (md_parse_option): Do not issue an error message
3668 if the switch is not recognised.
3669 * config/tc-m68k.c (md_parse_option): Likewise.
3670 * config/tc-pdp11.c (md_parse_option): Likewise.
3671 * config/tc-v850.c (md_parse_option): Likewise.
3672
3673 * as.h: Fix up formatting.
3674 * tc.h: Likewise.
3675
4101eec8
NC
36762004-08-16 Nick Clifton <nickc@redhat.com>
3677
2766e5e4
NC
3678 * macro.c (macro_set_alternate): Use ISO C90 formatting.
3679
4101eec8
NC
3680 * configure.in: Sort architecture based tables alphabetically.
3681 * configure: Regenerate.
3682
80f846b6
AM
36832004-08-16 Alan Modra <amodra@bigpond.net.au>
3684
3685 * config/tc-ppc.c (tc_ppc_regname_to_dw2regnum <regnames>): Replace
3686 { "cc", 68 }, with { "cr", 70 }.
3687
caa32fe5
NC
36882004-08-13 Jan Beulich <jbeulich@novell.com>
3689 Nick Clifton <nickc@redhat.com>
3690
3691 * as.c: Add and handle new --alternate command line option.
3692 * macro.c (macro_set_alternate): New.
3693 * macro.h (macro_set_alternate): Declare.
3694 * read.c: Add and handle new .altmacro and .noaltmacro directives.
3695 * doc/as.texinfo: Document new command line option and pseudo-ops
3696 as well as insert documentation originating from gasp about
3697 alternate macro syntax.
3698 * NEWS: Mention new command line option and pseudo-ops.
3699
b2221023
MM
37002004-08-10 Mark Mitchell <mark@codesourcery.com>
3701
3702 * expr.c (operand): Handle the "~", "-", and "!" operators applied
3703 to bignums.
3704
db6579d4
PB
37052004-08-06 Paul Brook <paul@codesourcery.com>
3706
3707 * config/tc-arm.c (md_apply_fix3, tc_gen_reloc, arm_parse_reloc):
3708 Handle new relocations.
3709 * include/elf/arm.h (elf_arm_reloc_type): Add new EABI relocations.
3710
e750405d
BW
37112004-08-05 Bob Wilson <bob.wilson@acm.org>
3712
3713 * write.c (relax_segment): Use was_address instead of address when
3714 setting fr_fix field for align frag due to backwards .org.
3715
1d70c7fb
AO
37162004-07-29 Alexandre Oliva <aoliva@redhat.com>
3717
3718 Introduce SH2a support.
3719 2004-02-24 Corinna Vinschen <vinschen@redhat.com>
3720 * config/tc-sh.c (get_specific): Change arch_sh2a_up to
3721 arch_sh2a_nofpu_up.
3722 2004-02-24 Corinna Vinschen <vinschen@redhat.com>
3723 * config/tc-sh.c (md_parse_option): Add sh2a-nofpu ISA handling.
3724 2004-02-20 Corinna Vinschen <vinschen@redhat.com>
3725 * config/tc-sh.c (sh_elf_final_processing): Move sh2a recognition
3726 to end of conditional expression.
3727 2004-02-20 Corinna Vinschen <vinschen@redhat.com>
3728 * config/tc-sh.c: Add sh2a-nofpu support.
3729 2003-12-29 DJ Delorie <dj@redhat.com>
3730 * tc-sh.c: Add sh2a support.
3731 (parse_reg): Add tbr.
3732 (parse_at): Support @@(disp,tbr).
3733 (get_specific): Support sh2a opcodes.
3734 (insert4): New, for 4 byte relocs.
3735 (build_Mytes): Support sh2a opcodes.
3736 (md_apply_fix3_Mytes): Support sh2a opcodes.
3737 2003-12-02 Michael Snyder <msnyder@redhat.com>
3738 * config/tc-sh.c (md_parse_option): Handle sh2a.
3739 (sh_elf_final_processing): Ditto.
3740
e7fbc2bf
JT
37412004-07-27 Jason Thorpe <thorpej@wasabisystems.com>
3742
3743 * config/tc-hppa.h (TARGET_FORMAT): Set to "elf32-hppa-netbsd"
3744 for TE_NetBSD.
3745
9232bbb0
AM
37462004-07-27 Alan Modra <amodra@bigpond.net.au>
3747
3748 * config/tc-ppc.c (ppc_frob_file_before_adjust): Warn if .toc too big.
3749 (ppc_arch): Expand comment.
3750
670ec21d
NC
37512004-07-27 Tomer Levi <Tomer.Levi@nsc.com>
3752
3753 * config/tc-crx.c: Support evaluating the difference between two
3754 symbols.
3755 * config/tc-crx.h: Likewise.
3756
406f8ff9 37572004-07-26 H.J. Lu <hongjiu.lu@intel.com>
38ce5b11
L
3758
3759 * config/tc-ia64.c (start_unwind_section): Set the linked-to
3760 section.
3761 (ia64_elf_section_change_hook): Set the linked-to section for
3762 SHT_IA_64_UNWIND.
3763
c05e9f04
NC
37642004-07-26 Dmitry Diky <diwil@spec.ru>
3765
3766 * config/tc-msp430.c: Add new subtargets: msp430x1610,
3767 msp430x1611, msp430x1612, msp430x415, msp430x417, msp430xG437,
3768 msp430xG438, msp430xG439.
3769
e9863d7f
DJ
37702004-07-25 Daniel Jacobowitz <dan@debian.org>
3771
3772 * doc/as.texinfo (Section, PushSection): Correct documentation
3773 for ELF.
3774
543613e9 37752004-07-21 Jan Beulich <jbeulich@novell.com>
20f0a1fc
NC
3776
3777 * config/tc-i386.c (optimize_imm): Adjust immediates to only those
3778 permissible for the selected instruction suffix.
3779 (match_template): Don't permit 64-bit general purpose operands in
3780 32-bit mode.
3781 (finalize_imm): Permit 64-bit immediates.
3782 (build_modrm_byte): Don't treat 32-bit addressing in 64-bit mode
3783 specially except for the width of the used base and/or index
3784 registers. For 32-bit displacements, use sign-extended
3785 relocations only when using 64-bit addressing.
3786 Force zero displacement on rip-relative addressing when there is
3787 no other displacement.
3788 (i386_index_check): Don't treat 32-bit addressing in 64-bit mode
3789 specially except for the width of the used base and/or index
3790 registers.
3791 (parse_register): Disallow Reg64 registers in 32-bit mode.
3792
543613e9
NC
3793 * config/tc-i386.c: For DefaultSize instructions, don't guess a 'q'
3794 suffix if the instruction doesn't support it.
04ca8703 3795
01a3f561
MR
37962004-07-20 Maciej W. Rozycki <macro@linux-mips.org>
3797
3798 * config/tc-mips.c (append_insn): Handle constant expressions with
3799 no associated relocation.
3800 (mips_ip): Cancel the expression after use for the Q format
3801 specifier.
3802 (parse_relocation): Return no relocation for unsupported
3803 operators.
3804 (my_getSmallExpression): Return no relocation if no relocation
3805 operators are used.
3806
e12904d2
DA
38072004-07-19 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3808
3809 * config/obj-som.c (adjust_stab_sections): Add prototype.
3810 (obj_som_compiler, obj_som_version, obj_som_copyright,
3811 adjust_stab_sections): Add ATTRIBUTE_UNUSED to unused arguments.
3812 * config/tc-hppa.c (update_subspace): Likewise.
3813 (is_defined_subspace): Amplify comment.
3814 * config/obj-som.h (som_frob_file): Add prototype.
3815
90c1602c
L
38162004-07-19 Christopher Faylor <cgf@timesys.com>
3817 H.J. Lu <hongjiu.lu@intel.com>
3818
3819 * subsegs.c (section_symbol): Don't create a new segment when
3820 existing segment is undefined.
3821
f263249b
RE
38222004-07-16 Richard Earnshaw <rearnsha@arm.com>
3823
3824 * config/tc-arm.c: Include include/opcode/arm.h.
3825 (ARM_EXT_*, ARM_ARCH_*, ARM_ANY, ARM_ALL, COPROC_ANY): Delete.
3826 (FPU_FPA_EXT_* FPU_VFP_EXT_*, FPU_ANY, FPU_NONE, FPU_MAVERICK): Delete.
3827 (FPU_ARCH_*): Delete.
3828 * Makefile.am: Update dependencies.
3829 * Makefile.in: Regenerate.
3830
152c65b9
NC
38312004-07-15 Nick Clifton <nickc@redhat.com>
3832
3833 * configure.in: Accept armbe as a big-endian arm configuration.
3834 * configure: Regenerate.
3835
0477af35
NC
38362004-07-13 Thomas Nystrom <thn@saeab.se>
3837
3838 * config/tc-i386.c (T_SHIFTOP): New constant.
3839 (intel_e05_1): Handle '&', '|' and T_SHIFTOP.
3840 (intel_el1): Handle '~'.
3841 (intel_get_token): Handle '<>', '&', '|' and '~'.
3842
38432004-07-13 Nick Clifton <nickc@redhat.com>
3844
3845 (md_assemble): Remove spurious newline from end of as_bad error
3846 message.
3847 (intel_e05_1): Likewise.
3848 (intel_e11): Likewise.
3849 (intel_match_token): Likewise.
3850
31302357
AS
38512004-07-11 Andreas Schwab <schwab@suse.de>
3852
3853 * config/tc-m68k.c: Convert to C90. Remove redundant
3854 declarations. Indentation fixup.
3855 [M68KCOFF]: Include "obj-coff.h" instead of declaring
3856 obj_coff_section ourselves.
04ca8703 3857
549f748d
JW
38582004-07-09 James E Wilson <wilson@specifixinc.com>
3859
3860 * config/tc-ia64.c (default_big_endian): New.
3861 (dot_byteorder, md_begin): Use it.
3862 (md_parse_option): Set it.
04ca8703 3863
1a320fbb
NC
38642004-07-09 Nick Clifton <nickc@redhat.com>
3865
3866 * configure.in: Change sh-sybmian-elf to sh-*-symbianelf.
3867 * configure: Regenerate.
3868 * NEWS: Change sh-sybmian-elf to sh-*-symbianelf.
3869 * config/tc-sh.c (sh_elf_final_processing): Use renamed version of
3870 sh_find_elf_flags if necessary.
3871
de7e6852
RS
38722004-07-08 Richard Sandiford <rsandifo@redhat.com>
3873
3874 * config/tc-mips.c (mips_fix_adjustable): If the full addend is
3875 going to be split into more than one in-place addend, return 0
3876 for relocations against mergeable sections. Associate comments
3877 with code.
3878
1fe1f39c
NC
38792004-07-07 Tomer Levi <Tomer.Levi@nsc.com>
3880
3881 * Makefile.am (CPU_TYPES): Add crx.
3882 (TARGET_CPU_CFILES): Add config/tc-crx.c.
3883 (TARGET_CPU_HFILES): Add config/tc-crx.h.
3884 (DEPTC_crx_elf): New target.
3885 (DEPOBJ_crx_elf): Likewise.
3886 (DEP_crx_elf): Likewise.
3887 * Makefile.in: Regenerate.
3888 * configure.in: Add crx* target.
3889 * configure: Regenerate.
3890 * config/tc-crx.c: New file.
3891 * config/tc-crx.h: New file.
3892 * NEWS: Mention new target.
3893
d9895649
NC
38942004-07-06 Nick Clifton <nickc@redhat.com>
3895
85fbca6a 3896 * config.in: Undefine TARGET_SYMBIAN by default.
c04f5787
AM
3897 * configure.in:
3898 * configure: Regenerate. Add sh-symbian-elf target. If
3899 selected define TARGET_SYMBIAN.
3900 * config/tc-sh.h (TARGET_FORMAT): Select a Symbian target
3901 format if TARGET_SYMBIAN has been defined.
04ca8703 3902
e7bd9ea0
NC
3903 * output-file.c (output_file_create): Report the target format
3904 chosen when bfd_openw reports that it is invalid.
3905
d9895649
NC
3906 * config/obj-coff.c (coff_pseudo_table): Only define the weak
3907 pseudo for BFD based assemblers.
3908
871ec896
JR
39092004-07-05 Andrew Stubbs <andrew.stubbs@superh.com>
3910
3911 gas:
3912 * config/tc-sh.c (md_assemble): Change isspace to ISSPACE.
3913 (md_parse_option): Remove redundant -isa testing.
3914 Make bfd_arch variable const.
3915 (md_show_usage): Make bfd_arch variable const.
3916
5a9ff93d
JW
39172004-07-03 James E Wilson <wilson@specifixinc.com>
3918
3919 * config/tc-ia64.c (emit_one_bundle): Check and set insn_addr.
3920 * config/tc-ia64.h (md_frag_check): Define.
3921
c87db184
CF
39222004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
3923
3924 * config/obj-coff.c (obj_coff_weak): New .weak syntax for PE weak
3925 externals.
3926 * doc/as.texinfo (Weak): Document PE weak symbols.
3927
3b91255e
RS
39282004-07-03 Richard Sandiford <rsandifo@redhat.com>
3929
3930 * config/tc-mips.c (HAVE_IN_PLACE_ADDENDS): New macro.
3931 (reloc_needs_lo_p): Only return true if HAVE_IN_PLACE_ADDENDS.
3932 (mips_frob_file): Rework so that only a single pass through the
3933 relocs is needed. Allow %lo()s to have higher offsets than their
3934 corresponding %hi()s or %got()s.
3935
310ea308
NC
39362004-07-02 Nick Clifton <nickc@redhat.com>
3937
3938 * config/tc-arm.c (md_apply_fix3:BFD_RELOC_ARM_IMMEDIATE): Do not
3939 allow values which have come from undefined symbols.
3940 Always consider this fixup to have been processed as a reloc
3941 cannot be generated for it.
3942
09b935ac
AM
39432004-07-02 Alan Modra <amodra@bigpond.net.au>
3944
3945 * frags.h (struct frag): Add has_code and insn_addr fields.
3946 * write.c (cvt_frag_to_fill): Invoke md_frag_check.
3947 * config/tc-ppc.c (md_assemble): Check and set insn_addr.
3948 * config/tc-ppc.h (md_frag_check): Define.
3949
4d1cd5c7
MR
39502004-06-28 Maciej W. Rozycki <macro@linux-mips.org>
3951
3952 * doc/Makefile.am (info): Rename goal to...
3953 (info-local): ... this, to preserve implicit dependencies.
3954 * doc/Makefile.in: Regenerate with automake 1.8.5.
3955
097f809a
NC
39562004-06-25 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
3957
3958 * config/tc-m32r.c (md_convert_frag): Changed for @PLT.
3959 (m32r_cgen_record_fixup_exp): Changed for @GOTOFF, @GOT.
3960 (m32r_fix_adjustable): Changed for @GOTOFF, @GOT, @PLT.
3961 (tc_gen_reloc): Likewise.
3962 (m32r_end_of_match): Add for @GOTOFF, @GOT, @PLT.
3963 (m32r_parse_name): Likewise.
3964 (m32r_cgen_parse_fix_exp): Likewise.
3965 * config/tc-m32r.h (md_parse_name): Define for @GOTOFF, @GOT, @PLT.
3966 (O_PIC_reloc): Likewise.
3967 (TC_CGEN_PARSE_FIX_EXP): Likewise..
3968 * cgen.c (gas_cgen_parse_operand): Add TC_CGEN_PARSE_FIX_EXP
3969 for @GOTOFF, @GOT, @PLT.
3970
bb82af9f
NC
39712004-06-21 Jan Beulich <jbeulich@novell.com>
3972
3973 * gas/symbols.c: While discarding ordinary local absolute symbols
3974 when --strip-local-absolute is in effect, retain file symbols.
3975
990ae22a
AS
39762004-06-20 Andreas Schwab <schwab@suse.de>
3977
3978 * config/tc-m68k.c (mri_chip): Replace current_chip, not augment.
3979 (md_parse_option): Likewise.
3980
32137342
NC
39812004-06-17 Jan Beulich <jbeulich@novell.com>
3982
3983 * config/tc-i386.c: Deal with LEX_QM the same way as with LEX_AT.
3984 * config/te-netware.h: New file.
3985 * config/te-ppcnw.h: Delete: Obsolete.
3986 * configure.in: Eliminate ill NetWare targets. Make generic
3987 NetWare target use proper emulation.
3988 * Makefile.am: Eliminate reference to obsolete te-ppcnw.h, add
3989 reference to new te-netware.h.
3990 * configure: Regenerate.
3991 * Makefile.in: Regenerate.
3992
f84d8e26
MS
39932004-06-15 Martin Schwidefsky <schwidefsky@de.ibm.com>
3994
3995 * config/tc-s390.c (s390_insn): Avoid incorrect signed/unsigned
3996 comparison in .insn pseudo operation.
3997
587aac4e
AM
39982004-06-15 Alan Modra <amodra@bigpond.net.au>
3999
4000 * config/obj-coff.c (coff_adjust_section_syms): Use
4001 bfd_get_section_size instead of bfd_get_section_size_before_reloc.
4002 (coff_frob_section): Likewise.
4003 * config/tc-mips.c (md_apply_fix3): Likewise.
4004 * config/obj-elf.c (elf_frob_file): Use bfd_set_section_size.
4005 (elf_frob_file_after_relocs): Likewise.
4006
2337eb33
DA
40072004-06-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4008
b8fc22bc
DA
4009 * config/tc-hppa.c (log2): Rename to exact_log2.
4010 (pa_next_subseg): Delete unused function.
4011 (create_new_space): Mark unused arguments with ATTRIBUTE_UNUSED.
4012 (create_new_subspace): Likewise.
4013
2337eb33
DA
4014 Bug gas/213
4015 * config/tc-hppa.c (hppa_fix_adjustable): Allow reduction of fake
4016 labels. Fix warning.
4017
53cb0362
DD
40182004-05-28 DJ Delorie <dj@redhat.com>
4019
4020 * config/tc-mn10300.h (tc_fix_adjustable): Define.
4021 * config/tc-mn10300.c (mn10300_fix_adjustable): Don't adjust debug
4022 or non-merged symbols.
4023
888a75be
L
40242004-05-28 H.J. Lu <hongjiu.lu@intel.com>
4025
4026 * config/tc-ia64.c (remove_marked_resource): Save, clear and
4027 restore the old slot when inserting srlz.i/srlz.d.
4028
f6f9408f
JR
40292004-05-28 Andrew Stubbs <andrew.stubbs@superh.com>
4030
4031 * Makefile.am: Regenerate dependecies.
4032 * Makefile.in: Regenerate.
4033 * config/tc-sh.c (valid_arch): Make unsigned.
4034 (preset_target_arch): Likewise.
4035 (md_begin): Use new architecture flags system.
4036 (get_specific): Likewise.
4037 (assemble_ppi): Likewise.
4038 (md_assemble): Likewise. Also fix error check for bad opcodes.
4039 (md_parse_option): Likewise. Also generate -isa values according
4040 to the table in bfd/cpu-sh.c instead of just constants. Also
4041 allow <arch>-up ISA variants.
4042 (sh_elf_final_processing): Replace if-else chain with a call to
4043 sh_find_elf_flags().
f6f9408f 4044
580b9172
NC
40452004-05-28 Peter Barada <peter@the-baradas.com>
4046
4047 * config/gc-m68k.c(m68k_ip): Convert mode 5 addressing
4048 with zero offset into mode 2 addressing to save a word.
4049
652ca075
L
40502004-05-27 H.J. Lu <hongjiu.lu@intel.com>
4051
4052 * config/tc-ia64.c (ar_is_in_integer_unit): Removed.
4053 (ar_is_only_in_integer_unit): New.
4054 (ar_is_only_in_memory_unit): New.
4055 (generate_unwind_image): Silence gcc on 32bit host.
4056 (md_assemble): Use ar_is_only_in_integer_unit instead of
4057 ar_is_in_integer_unit. Check AR access.
4058
60fed2d3
NC
40592004-05-27 Peter Barada <peter@the-baradas.com>
4060
4061 * config/tc-m68k.c (md_begin): Sort the opcode table into
4062 alphabetical order.
4063 (m68k_compare_opcode): New function to do the sorting.
4064
be8c092b
NC
40652004-05-24 Peter Barada <peter@the-baradas.com>
4066
4067 * config/m68k-parse.y(operand): Allow for MAC/EMAC mask
4068 addressing on MIT style operands.
4069 * config/m68k-parse.y(yylex): Allow '-&' for predecrement
4070 w/mask addressing.
4071 * config/tc-m68k.c(install_operand): Comment 'G' and 'H' type
4072 operands.
4073
1181c20e
AM
40742004-05-23 Alan Modra <amodra@bigpond.net.au>
4075
4076 * expr.c (operand, operator): Don't reject '++' and '--'.
4077
20e56c33
RS
40782004-05-20 Richard Sandiford <rsandifo@redhat.com>
4079
4080 * config/tc-mips.c (append_insn): Use ISA-encoded addresses in MIPS16
4081 dwarf tables.
4082
04ca8703 40832004-05-17 Adam Nemet <anemet@lnxw.com>
b2d65c0b
NC
4084
4085 * configure.in: Add ppc-*-lynxos*. Update i386-*-lynxos* to ELF.
4086 * configure: Regenerate.
4087
0da76f83
NC
40882004-05-13 Paul Brook <paul@codesourcery.com>
4089
4090 * dw2gencfi.c (output_cie): Handle dwarf3 format CIE entries.
4091
4b363073
NC
40922004-05-13 Joel Sherrill <joel@oarcorp.com>
4093
4094 * configure.in (or32-*-rtems*): Switch to elf.
4095 * configure: Regenerate.
4096
9598fbe5
NC
40972004-05-13 Nick Clifton <nickc@redhat.com>
4098
4099 * po/fr.po: Updated French translation.
4100
22fe14ad
NC
41012004-05-11 Nick Clifton <nickc@redhat.com>
4102
4103 * doc/as.texinfo (Section): Document G and T flags to .section
4104 directive. Document the extra arguments that the G flag
4105 requires. Document the #tls flag.
4106
41072004-05-11 H.J. Lu <hongjiu.lu@intel.com>
4108
4109 * subsegs.c (section_symbol): Create a new section symbol if
4110 the existing one doesn't match.
4111 * symbols.c (symbol_set_bfdsym): Don't reset BFD section symbol.
4112
532c738a
RS
41132004-05-07 Richard Sandiford <rsandifo@redhat.com>
4114
4115 * config/tc-mips.c (append_insn, mips_emit_delays): Extend -mfix-vr4120
4116 to cope with VR4181A errata MD(1) and MD(4).
4117
0503b355
BF
41182004-05-07 Brian Ford <ford@vss.fsi.com>
4119
4120 * NEWS: Mention .secrel32 for pe[i]-i386.
4121
daeea990
AO
41222004-05-07 Alexandre Oliva <aoliva@redhat.com>
4123
4124 * config/tc-frv.h (MAX_MEM_FOR_RS_ALIGN_CODE): New.
4125 (HANDLE_ALIGN): New.
4126
bfbdcf04
DJ
41272004-05-06 Daniel Jacobowitz <dan@debian.org>
4128
4129 * Makefile.am (DIST_SUBDIRS): Define.
4130 * aclocal.m4: Regenerate with automake 1.8.4.
4131 * Makefile.in: Likewise.
4132 * doc/Makefile.in: Likewise.
4133
5e819f9c
JW
41342004-05-06 David Mosberger-Tang <davidm@hpl.hp.com>
4135
4136 * config/tc-ia64.c (dot_serialize): Declare.
4137 (dot_serialize): New function.
4138 (md_pseudo_table): Add ".serialize.data" and
4139 ".serialize.instruction" directives.
4140
e5976317
NC
41412004-05-06 Nick Clifton <nickc@redhat.com>
4142
4143 * messages (as_internal_value_out_of_range): Print a message about
4144 a value being out of range. Be consistent about whether the
4145 values are printed in decimal or hexadecimal.
4146 (as_warn_value_out_of_range): Generate a warning message about an
4147 out of range value.
4148 (as_bad_value_out_of_range): Generate an error message about an
4149 out of range value.
4150 * as.h: Prototype the new functions.
4151 * config/tc-alpha.c (insert_operand): Use new function.
4152 * config/tc-arc.c (arc_insert_operand): Likewise.
4153 * config/tc-mn10200.c (mn10200_insert_operand): Likewise.
4154 * config/tc-mn10300.c (mn10300_insert_operand): Likewise.
4155 * config/tc-ppc.c (ppc_insert_operand): Likewise.
4156 * config/tc-s390.c (s390_insert_operand): Likewise.
4157 * config/tc-v850.c (v850_insert_operand): Likewise.
4158
996991aa
AO
41592004-05-05 Alexandre Oliva <aoliva@redhat.com>
4160
4161 * configure.in: Set em=linux for frv-*-*linux*.
4162 * configure: Rebuilt.
4163 * config/tc-frv.h (TARGET_FORMAT): Use elf32-frvfdpic if...
4164 (frv_md_fdpic_enabled): New.
4165 * config/tc-frv.c (frv_md_fdpic_enabled): New.
4166 (DEFAULT_FDPIC): New.
4167 (frv_flags): Use DEFAULT_FDPIC.
4168 (frv_pic_flag): Likewise.
4169 (OPTION_NOPIC): New.
4170 (md_longopts): Add -mnopic.
4171 (md_parse_option): Handle it.
4172 (md_show_usage): Add -mfdpic and -mnopic.
4173
6b6e92f4
NC
41742004-05-05 Peter Barada <peter@the-baradas.com>
4175
4176 * config/tc-m68k.c: Add find_cf_chip to print list of valid
4177 chips for invalid coldfire instructions, rename selectors
4178 for ColdFire sub-variants, add 521x,5249,547x,548x and aliases,
4179 add current_chip to track which chip is referred to(including save/restore),
4180 use current_chip to select control registers, not current_arch.
4181 (md_show_usage): Add new chips.
4182 * doc/c-m68k.texi: Document new command line switches.
4183
6f079ae3
JJ
41842004-05-05 Jakub Jelinek <jakub@redhat.com>
4185
4186 * tc-s390.h (md_do_align, HANDLE_ALIGN): Remove.
4187 (NOP_OPCODE): Define.
4188 (s390_align_code): Remove prototype.
4189 * tc-s390.c (s390_align_code): Remove.
4190
2d6ed997
L
41912004-05-04 H.J. Lu <hongjiu.lu@intel.com>
4192
4193 * config/tc-ia64.c (make_unw_section_name): Removed.
4194 (start_unwind_section): New function.
4195 (generate_unwind_image): Take const segT instead of const
4196 char *.
4197 (dot_handlerdata): Adjusted.
4198 (dot_endp): Likewise.
4199
b9f18452
L
42002004-05-02 H.J. Lu <hongjiu.lu@intel.com>
4201
4202 * config/obj-elf.c (obj_elf_change_section): Allow the
4203 ".note.GNU-stack" section has SHF_EXECINSTR.
4204
fafe6678
L
42052004-05-02 H.J. Lu <hongjiu.lu@intel.com>
4206
4207 * config/obj-elf.c (get_section): Return bfd_boolean.
4208 (obj_elf_change_section): Call bfd_get_section_by_name_if
4209 instead of bfd_map_over_sections.
4210
86654c12
L
42112004-04-30 H.J. Lu <hongjiu.lu@intel.com>
4212
4213 * config/obj-elf.c (get_section): New function.
4214 (obj_elf_change_section): Support multiple sections with same
4215 name.
4216
376eb240
NC
42172004-04-30 Nick Clifton <nickc@redhat.com>
4218
4219 * config/tc-arm.c (create_register_alias): Fix typo checking for
4220 case sensitive register aliases.
4221 (co_proc_number): Use error message string in all_reg_maps[]
4222 array.
4223 (cp_reg_required_here): Likewise.
4224 (fp_reg_required_here): Likewise.
4225
8a7140c3
NC
42262004-04-29 Brian Ford <ford@vss.fsi.com>
4227
4228 * dwarf2dbg.c (dwarf2_finish): Add SEC_DEBUGGING to section flags.
4229
3e722fb5
CD
42302004-04-28 Chris Demetriou <cgd@broadcom.com>
4231
4232 * config/tc-mips.c (HAVE_32BIT_ADDRESSES, append_insn, macro_build)
4233 (load_address, macro, mips_ip, md_parse_option)
4234 (mips_force_relocation, mips_validate_fix, md_apply_fix3)
4235 (s_change_sec, pic_need_relax, tc_gen_reloc): Remove all
4236 embedded-PIC handling, and update comments.
4237 (SWITCH_TABLE): Remove.
4238 * config/tc-mips.h (DIFF_EXPR_OK): Delete.
4239 (enum mips_pic_level): Remove EMBEDDED_PIC.
4240 (EXTERN_FORCE_RELOC): Remove embedded-PIC handling.
4241 (TC_FORCE_RELOCATION): Update comment.
4242 * ecoff.c (ecoff_build_lineno): Add comment about some code that
4243 might be safe to remove now that MIPS embedded-PIC is gone.
4244
351e2b5a
DA
42452004-04-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4246
4247 * config/obj-som.c (obj_som_init_stab_section): Add new arguments in
4248 call to obj_set_subsection_attributes.
4249 (obj_som_init_stab_section): Likewise.
4250 * config/tc-hppa.c (default_subspace_dict): Add comdat field.
4251 (pa_def_subspaces): Provide comdat default.
4252 (pa_subspace): Handle new "comdat" parameter. Set SEC_LINK_ONCE and
4253 not SEC_IS_COMMON if section is comdat, common or dup_common. Update
4254 calls to create_new_subspace and update_subspace to pass comdat flag.
4255 (create_new_subspace, update_subspace): Add new comdat argument. Use
4256 it in calls to obj_set_subsection_attributes.
4257 * doc/c-hppa.texi (.subspa, .nsubspa): Document new comdat parameter
4258 and use of comdat, common and dup_comm parameters.
4259
f5842774
L
42602004-04-26 H.J. Lu <hongjiu.lu@intel.com>
4261
4262 * config/obj-elf.c (obj_elf_change_section): Check if the old
4263 group name is NULL before comparison.
4264
558fe4a7
CD
42652004-04-23 Chris Demetriou <cgd@broadcom.com>
4266
4267 * config/tc-mips.h (mips_dwarf2_addr_size): Prototype.
4268
81a21e38
TS
42692004-04-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4270
4271 * config/tc-mips.c (s_mipsset): Set default CPU type for .set mipsN.
4272
42732004-04-23 Chris Demetriou <cgd@broadcom.com>
1ffcab4b
CD
4274
4275 * config/tc-mips.c (md_longopts): Remove -membedded-pic option.
4276 (OPTION_MEMBEDDED_PIC): Remove.
4277 (OPTION_TRAP, OPTION_BREAK, OPTION_EB, OPTION_EL)
4278 (OPTION_FP32, OPTION_GP32, OPTION_CONSTRUCT_FLOATS)
4279 (OPTION_NO_CONSTRUCT_FLOATS, OPTIONS_FP64, OPTION_GP64)
4280 (OPTION_RELAX_BRANCH, OPTION_NO_RELAX_BRANCH)
4281 (OPTION_ELF_BASE): Renumber.
4282 (md_parse_option): Remove OPTION_MEMBEDDED_PIC handling.
4283 (md_show_usage): Remove mention of -membedded-pic.
4284 * doc/as.texinfo: Remove mention of -membedded-pic.
4285
4d0d148d
TS
42862004-04-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4287
4288 * config/tc-mips.h (USE_GLOBAL_POINTER_OPT): Remove.
4289 * config/tc-mips.c (RDATA_SECTION_NAME, mips_target_format): Remove
4290 a.out support.
4291 (md_begin, mips_ip, md_parse_option, s_change_sec, s_option,
4292 s_abicalls, nopic_need_relax, tc_gen_reloc): Remove uses of
4293 USE_GLOBAL_POINTER_OPT.
4294
017315e4
TS
42952004-04-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4296
4297 * config/tc-mips.c (macro): One more use of load_delay_nop.
4298
269137b2
TS
42992004-04-22 Atsushi Nemoto <anemo@mba.ocn.ne.jp>
4300
4301 * config/tc-mips.c (load_delay_nop): New function.
4302 (load_address, macro): Use load_delay_nop() to build a nop
4303 which can be omitted with gpr_interlocks.
4304
24772049
TS
43052004-04-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4306
4307 * config/tc-mips.c (hilo_interlocks, gpr_interlocks,
4308 cop_interlocks): Remove superfluous CPU entries.
4309
06516a5e
PB
43102004-04-22 Paul Brook <paul@codesourcery.com>
4311
4312 * config/tc-arm.c (mav_parse_offset): Value must be multiple of 4.
4313
fd99574b
NC
43142004-04-22 Peter Barada <peter@the-baradas.com>
4315
4316 * NEWS: Added support for EMAC instructions and MAC/EMAC
4317 Motorola syntax.
4318 * config/m68k-parse.h: Add ACC[123], ACCEXT{01,23}, MAC/EMAC
4319 scale factor tokens, trailing_ampersand to mark mask addressing
4320 for MAC/EMAC instructions.
4321 * config/m68k-parse.y: Add options_ampersand clause, '<<',
4322 '>>'.
4323 (yylex): Handle '>', '<', and '&' following '+'.
4324 * config/tc-m68k.c: Set mcfmac/mcfemac on appropriate ColdFire
04ca8703 4325 architectures in archs[].
fd99574b
NC
4326 (m68k-ip): Add '4', 'e', 'g', 'i', cases to handle mask addressing
4327 for MAC/EMAC instructions, ACC[0123], ACCEXT{01,23}, and '<<'/'>>'
4328 respectively.
4329 (m68k_ip): Handle trailing '&' on MAC/EMAC insns.
4330 (install_operand): Fix 'n' case, Add 'F', 'f', 'G', 'H', 'I', ']'
4331 cases.
4332 Add EMAC operands to init_table[].
4333
69b97547
NC
43342004-04-22 Bruno De Bus <bdebus@elis.ugent.be>
4335
4336 * config/tc-arm.h (enum mstate): Move here, add MAP_UNDEFINED
4337 state.
4338 (TC_SEGMENT_INFO_TYPE): Define to enum mstate.
4339 * config/tc-arm.c (enum mstate): Delete from here.
4340 (mapping_state): Remove the static mapstate variable and instead
4341 store the state in the segment. This allows a per-section mapping
4342 state. Handle and ignore MAP_UNDEFINED states.
4343 (arm_elf_change_section): Get the current mapping state from the
4344 new section.
4345 (s_ltorg): Set the mapping state to MAP_DATA.
4346 (arm_cleanup): Use arm_elf_change_section to get the mapping state
4347 for each pool as it is emitted.
4348
43492004-04-22 Nick Clifton <nickc@redhat.com>
4350
4351 * config/tc-arm.h: Formatting tidy ups.
4352
7a7f4e42
CD
43532004-04-20 Chris Demetriou <cgd@broadcom.com>
4354
4355 * NEWS: Note that MIPS -membedded-pic option is deprecated.
4356
6482c264
NC
43572004-04-20 DJ Delorie <dj@redhat.com>
4358
4359 * config/tc-i386.h [TE_PE] (TC_CONS_FIX_NEW): Define.
4360 * config/tc-i386.c (md_pseudo_table) [TE_PE]: Add "secrel32".
4361 [TE_PE] (O_secrel): Define.
4362 [TE_PE] (x86_pe_cons_fix_new): New.
4363 [TE_PE] (pe_directive_secrel): Likewise.
4364 (tc_gen_reloc) [TE_PE]: Support BFD_RELOC_32_SECREL.
4365
5bf10039
EC
43662004-04-19 Eric Christopher <echristo@redhat.com>
4367
c04f5787
AM
4368 * config/tc-mips.c (mips_dwarf2_addr_size): Revert part
4369 of previous patch for fix in gcc.
5bf10039 4370
77cd6497
JJ
43712004-04-19 Jakub Jelinek <jakub@redhat.com>
4372
4373 * config/tc-xtensa.c (xg_assembler_literal): Fix a typo.
4374
b8861cfb
NS
43752004-04-19 Nathan Sidwell <nathan@codesourcery.com>
4376
4377 * read.c (do_align): Call md_flush_pending_output, if defined.
4378
f4c724fc
AM
43792004-04-16 Alan Modra <amodra@bigpond.net.au>
4380
4381 * expr.c (operand): Correct checks for ++ and --.
4382
a4b6e8f6
L
43832004-04-14 H.J. Lu <hongjiu.lu@intel.com>
4384
4385 * config/tc-generic.c: Add some comments.
4386
d766e8ec
RS
43872004-04-14 Richard Sandiford <rsandifo@redhat.com>
4388
4389 * doc/c-mips.texi (-m{no-,}fix-vr4120): Renamed from
4390 -{no-}mfix-vr4122-bugs.
4391 * config/tc-mips.c (mips_fix_vr4120): Renamed from mips_fix_4122_bugs.
4392 (append_insn, mips_emit_delays): Update accordingly.
4393 (OPTION_FIX_VR4120, OPTION_NO_FIX_VR4120): Renamed from *VR4122.
4394 (md_longopts): Change -{no-,}mfix-vr4122-bugs to -m{no-,}fix-vr4120.
4395 (md_parse_option): Update after above changes.
4396 (md_show_usage): Add -mfix-vr4120.
4397
ed9589d4
BW
43982004-04-13 Bob Wilson <bob.wilson@acm.org>
4399
4400 * doc/as.texinfo (Sub-Sections): Conditionalize COFF-specific use
4401 of .section directive; add a reference to the ELF .subsection
4402 directive.
4403
097dba13
NC
44042004-04-13 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
4405
4406 * config/tc-m32r.c (md_assemble): Fixed infinite loop bug
4407 in parallel.
4408
279500de
TS
44092004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4410
4411 * Makefile.am: Remove mips from aout targets.
4412 * Makefile.in: Regenerate.
4413 * configure.in: Remove mips-dec-bsd* target.
4414 * configure: Regenerate.
4415
b7d7dc63
AM
44162004-04-07 Alan Modra <amodra@bigpond.net.au>
4417
4418 PR 96
4419 * config/tc-ppc.c (ppc_elf_suffix): Add valid32 and valid64 fields
4420 to struct map_bfd. Adjust MAP macro, and define MAP32, MAP64.
4421 Update "mapping". Restrict some @ modifiers to 32 bit.
4422
f55629b8
KK
44232004-04-01 Asgari Jinia <asgarij@kpitcummins.com>
4424 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
4425
4426 * config/tc-sh.c (dont_adjust_reloc_32): New variable.
4427 (sh_fix_adjustable): Avoid adjusting BFD_RELOC_32 when
4428 dont_adjust_reloc_32 is set.
4429 (md_longopts): Add option -renesas.
4430 (md_parse_option, md_show_usage): Likewise.
4431 * doc/c-sh.texi: Likewise.
4432
a7844384
NC
44332004-04-01 Dave Korn <dk@artimi.com>
4434
4435 * config/tc-dlx.c (md_assemble): set fx_no_overflow flag for
4436 hi16 and lo16 fixS structs.
4437 (md_assemble): generate bit_fixS for RELOC_DLX_LO16 in
4438 exactly the same way as for RELOC_DLX_REL16.
4439 (machine_ip): properly respect LO flag in the_insn and
4440 output RELOC_DLX_LO16 rather than RELOC_DLX_16.
4441 (md_apply_fix3): apply RELOC_DLX_LO16.
4442
6c71dbc4
SS
44432004-03-30 Stan Shebs <shebs@apple.com>
4444
4445 Remove long-obsolete MPW support.
4446 * mpw-config.in, mpw-make.sed, mac-as.r: Remove files.
4447 * configure.in: Remove mention of ppc-*-mpw* config.
4448 * configure.in: Likewise.
4449
7cc69913
NC
44502004-03-30 Nick Clifton <nickc@redhat.com>
4451
4452 * config/tc-arm.c (meabi_flags): Make its use conditional upon
4453 OBJ_ELF being defined.
4454
53fbb48a
AM
44552004-03-27 Alan Modra <amodra@bigpond.net.au>
4456
4457 * config/obj-aout.c (obj_aout_type): Remove #ifdef BFD_ASSEMBLER code.
4458
d507cf36
PB
44592004-03-23 Paul Brook <paul@codesourcery.com>
4460
4461 * config/tc-arm.c (meabi_flags): New variable.
4462 (arm_parse_eabi): New function.
4463 (md_begin): Set flags for EABI v3.
4464 (arm_eabis): Add.
4465 (arm_long_opts): Add meabi.
ab1e9ef7 4466 * doc/as.texinfo <ARM>: Document -meabi.
d507cf36
PB
4467 * doc/c-arm.texi: Ditto.
4468
88d65ad6
BW
44692004-03-22 Bob Wilson <bob.wilson@acm.org>
4470
4471 * config/tc-xtensa.c (xtensa_post_relax_hook): Create literal
4472 tables even when use_literal_section flag is not set.
4473
13ef8878
AM
44742004-03-22 Alan Modra <amodra@bigpond.net.au>
4475
4476 * config/tc-sh.c: Remove trailing whitespace.
4477
1048a9ba
HPN
44782004-03-22 Hans-Peter Nilsson <hp@axis.com>
4479
4480 * doc/c-cris.texi (CRIS-Opts): Document --no-mul-bug-abort,
4481 --mul-bug-abort and the default behavior.
4482 * config/tc-cris.c (cris_insn_kind): New member CRIS_INSN_MUL.
4483 (err_for_dangerous_mul_placement): New variable.
4484 (STATE_MUL, OPTION_MULBUG_ABORT_ON, OPTION_MULBUG_ABORT_OFF): New
4485 macros.
4486 (md_cris_relax_table): Have placeholder for STATE_MUL.
4487 (md_longopts): New options --mul-bug-abort and --no-mul-bug-abort.
4488 (cris_relax_frag) <case ENCODE_RELAX (STATE_MUL, STATE_BYTE)>: New
4489 case doing nothing.
4490 (md_estimate_size_before_relax) <case ENCODE_RELAX (STATE_MUL,
4491 STATE_BYTE)>: Ditto.
4492 (md_convert_frag) <ENCODE_RELAX (STATE_MUL, STATE_BYTE)>: Check
4493 alignment and position of this frag, emit error message if
4494 suspicious.
4495 (md_assemble): For a multiply insn and when checking it,
4496 transform the current frag into a special frag for that purpose.
4497 (md_parse_option) <case OPTION_MULBUG_ABORT_OFF, case
4498 OPTION_MULBUG_ABORT_ON>: Handle new options.
4499
a7877748
BW
45002004-03-19 Bob Wilson <bob.wilson@acm.org>
4501
4502 * config/tc-xtensa.c (mark_literal_frags): New function.
4503 (xtensa_move_literals): Call mark_literal_frags for all literal
4504 segments, including init and fini literal segments.
4505 (xtensa_post_relax_hook): Swap use of xt_insn_sec and xt_literal_sec.
4506
9992270f
DA
45072004-03-19 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4508
4509 * tc-hppa.c (cons_fix_new_hppa): Check for PC relative base type.
4510 (pa_comm): Set BSF_OBJECT in symbol flags.
4511
6e1772d5
AM
45122004-03-19 Alan Modra <amodra@bigpond.net.au>
4513
4514 * Makefile.am: Run "make dep-am".
4515 * Makefile.in: Regenerate.
4516 * doc/Makefile.in: Regenerate.
4517 * config.in: Regenerate.
4518 * po/gas.pot: Regenerate.
4519
3e4caed2
NS
45202004-03-18 Nathan Sidwell <nathan@codesourcery.com>
4521
c95b35a9
NS
4522 * read.c (read_a_source_file): Use demand_empty_rest_of_line.
4523 (demand_empty_rest_of_line): Issue an error here.
4524 (ignore_rest_of_line): Silently skip to end.
4525 (demand_copy_string): Issue an error, not warning.
4526 (equals): Likewise.
4527 * config/obj-elf.c (obj_elf_section_name): Likewise.
4528 (obj_elf_section): Likewise.
4529 * config/tc-arc.c (arc_extoper): Remove bogus NULL checks.
4530 (arc_extinst): Likewise.
4531 * config/tc-ia64.c (dot_saveb): Use demand_empty_rest_of_line.
4532 (dot_spill): Likewise.
4533 (dot_unwabi): Likewise.
4534 (dot_prologue): Likewise.
4535
3e4caed2
NS
4536 * expr.c (operand): Reject ++ and --.
4537 (operator): Likewise.
4538
2ce4cc60
KK
45392004-03-17 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4540
4541 * config/tc-sh.c: Include dw2gencfi.h.
4542 (sh_cfi_frame_initial_instructions): New function.
4543 (sh_regname_to_dw2regnum): Likewise.
4544 * config/tc-sh.h (DWARF2_LINE_MIN_INSN_LENGTH): Move to the end of
4545 file.
4546 (TARGET_USE_CFIPOP): Define.
4547 (tc_cfi_frame_initial_instructions): Likewise.
4548 (tc_regname_to_dw2regnum): Likewise.
4549 (DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT): Likewise.
4550 * Makefile.am: Update dependencies.
4551 * Makefile.in: Regenerate.
4552
9183ed4b
AM
45532004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
4554
4555 * configure.in: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.
4556 * configure: Regenerate.
4557
00bbdfe7
BW
45582004-03-12 Bob Wilson <bob.wilson@acm.org>
4559
4560 * read.c (s_leb128): Call md_flush_pending_output.
4561
0f10071e
ML
45622004-03-12 Michal Ludvig <mludvig@suse.cz>
4563
4564 * config/tc-i386.c (output_insn): Handle PadLock instructions.
4565 * config/tc-i386.h (CpuPadLock): New define.
4566 (CpuUnknownFlags): Added CpuPadLock.
4567
84c84759
AS
45682004-03-07 Andreas Schwab <schwab@suse.de>
4569
4570 * doc/c-hppa.texi (HPPA Directives): Fix typo.
4571
6ec51dba
RH
45722004-03-07 Richard Henderson <rth@redhat.com>
4573
4574 * dw2gencfi.c (output_cie): Align length to 4 byte boundary.
4575 (cfi_finish): Likewise for fde.
4576
bae25f19
L
45772004-03-05 H.J. Lu <hongjiu.lu@intel.com>
4578
4579 * config/tc-ia64.c (md_assemble): Properly handle NULL
4580 align_frag.
4581 (ia64_handle_align): Don't abort if failed to add a stop bit.
4582
ab509236
L
45832004-03-04 H.J. Lu <hongjiu.lu@intel.com>
4584
4585 * Makefile.in: Regenerated.
4586 * aclocal.m4: Likewise.
4587 * configure: Likewise.
4588 * doc/Makefile.in: Likewise.
4589
d9201763
L
45902004-03-03 H.J. Lu <hongjiu.lu@intel.com>
4591
4592 * config/tc-ia64.c (dot_align): New.
4593 (ia64_do_align): Make it static.
4594 (md_pseudo_table): Use "dot_align" for "align".
4595 (ia64_md_do_align): Don't set align_frag here.
4596 (ia64_handle_align): Add a stop bit to the previous bundle if
4597 needed.
4598
4599 * config/tc-ia64.h (ia64_do_align): Removed.
4600
ae51a426
JR
46012003-03-03 Andrew Stubbs <andrew.stubbs@superh.com>
4602
4603 * config/tc-sh.c (md_parse_option): Add -isa=sh4-nofpu and
4604 -isa=sh4-nommu-nofpu options. Adjust help messages accordingly.
4605 (sh_elf_final_processing): Output BFD type sh4_nofpu if that is
4606 the most general type or the user specifically requested it.
4607 (md_assemble): Add a new error message for when an instruction
4608 is understood, but is not allowed due to an -isa option.
4609
9545c4ce
L
46102004-03-02 H.J. Lu <hongjiu.lu@intel.com>
4611
4612 * config/tc-ia64.c (align_frag): New.
4613 (md_assemble): Set the tc_frag_data field in align_frag for
4614 IA64_OPCODE_FIRST instructions.
4615 (ia64_md_do_align): Set align_frag.
4616 (ia64_handle_align): Add a stop bit if needed.
4617
4618 * config/tc-ia64.h (TC_FRAG_TYPE): New.
4619 (TC_FRAG_INIT): New.
4620
676a64f4
RS
46212004-03-01 Richard Sandiford <rsandifo@redhat.com>
4622
4623 * config/tc-frv.c (fr400_audio): New variable.
4624 (md_parse_option, md_show_usage): Add -mcpu=fr405 and -mcpu=fr450.
4625 (md_parse_option): Set fr400_audio for -mcpu=fr400 and -mcpu=fr405.
4626 (target_implements_insn_p): New function.
4627 (md_assemble): Report an error if the processor doesn't implement
4628 the instruction.
4629
bd337dde
NC
46302004-02-27 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
4631
4632 * config/tc-m32r.c (md_longopts): Added -no-bitinst option.
4633 (md_parse_option): Ditto.
4634 (OPTION_NO_SPECIAL_M32R): Added.
4635 (md_show_usage): Document it.
4636 (enable_speial_m32r): Changed a default value from 0 to 1.
4637 * doc/c-m32r.texi: Document the -no-bitinst option.
4638
78878175
NC
46392004-02-27 Nick Clifton <nickc@redhat.com>
4640
4641 * config/tc-sh.c (get_operand): Revert previous delta.
4642 (tc_gen_reloc): Check for an unknown reloc type before processing
4643 the addend.
4644
1d6d62a4
MS
46452004-02-27 Hannes Reinecke <hare@suse.de>
4646
4647 * config/tc-s390.c (s390_insn): Correct range check for opcode in
4648 .insn pseudo operation.
4649
4aa3e325
NC
46502004-02-27 Anil Paranjpe <anilp1@kpitcummins.com>
4651
4652 * config/tc-sh.c (get_operand): In case of #Imm, check has been
4653 added for wrong syntax.
4654
73369e65
EC
46552004-02-26 Eric Christopher <echristo@redhat.com>
4656
4657 * config/tc-mips.c (mips_dwarf2_addr_size): New.
4658 * config/tc-mips.h (DWARF2_ADDR_SIZE): Use.
4659
6a5709a5
JR
46602004-02-26 Andrew Stubbs <andrew.stubbs@superh.com>
4661
4662 * config/tc-sh.c (build_Mytes): Add REG_N_D and REG_N_B01
4663 nibble types to assembler.
4664
95385380
FF
46652004-02-25 Fred Fish <fnf@redhat.com>
4666
4667 * config/tc-iq2000.c: Add missing \n\ in multiline string literal.
4668
b5e0fabd
JW
46692004-02-20 James E Wilson <wilson@specifixinc.com>
4670
4671 * config/tc-ia64.c (slot_index): New arg before_relax. Use instead of
4672 finalize_syms.
4673 (fixup_unw_records): New arg before_relax. Pass to slot_index.
4674 (ia64_estimate_size_before_relax): New.
4675 (ia64_convert_frag): Pass 0 to fixup_unw_records. Add comment.
4676 (generate_unwind_image): Pass 1 to fixup_unw_records.
4677 * config/tc-ia64.h (ia64_estimate_size_before_relax): Declare.
4678 (md_estimate_size_before_relax): Call ia64_estimate_size_before_relax.
4679
2f01ffbf
JJ
46802004-02-19 Jakub Jelinek <jakub@redhat.com>
4681
4682 * stabs.c (generate_asm_file): Avoid warning about use of
4683 uninitialized variable.
4684
9c59842f
JW
46852004-02-18 David Mosberger <davidm@hpl.hp.com>
4686
4687 * config/tc-ia64.c (ia64_flush_insns): In addition to prologue,
4688 body, and endp, allow unwind records which do not have a "t"
4689 (time/instruction) field.
4690
34920d91
NC
46912004-02-17 Petko Manolov <petkan@nucleusys.com>
4692
4693 * config/tc-arm.c (do_mav_dspsc_1): Correct offset of CRn.
4694 (do_mav_dspsc_2): Likewise.
4695 Fix accumulator registers move opcodes.
4696
4dde8e61 46972004-02-13 Hannes Reinecke <hare@suse.de>
13ef8878 4698 Jakub Jelinek <jakub@redhat.com>
4dde8e61
AJ
4699
4700 * dwarf2dbg.c (get_filenum): Do not read beyond allocated memory.
4701
936cf02e
JW
47022004-02-10 Steve Ellcey <sje@cup.hp.com>
4703
4704 * config/tc-ia64.h (ia64_frob_symbol): New declaration.
4705 (tc_frob_symbol): New macro definition.
4706 * config/tc-ia64.c (ia64_frob_symbol): New routine.
4707
e41f12f3
DJ
47082004-02-09 Daniel Jacobowitz <drow@mvista.com>
4709
4710 * config/tc-arm.c (md_begin): Mark .note.gnu.arm.ident as
4711 read-only.
4712
a8a3b3b2
NS
47132004-02-09 Nathan Sidwell <nathan@codesourcery.com>
4714
4715 * read.h (IGNORE_OPCODE_CASE): Do not define. Replace with ...
4716 (TC_CASE_SENSITIVE): ... this.
4717 * read.c: Replace IGNORE_OPCODE_CASE with TC_CASE_SENSITIVE.
4718 * doc/internals.texi (TC_CASE_SENSITIVE): Document.
4719
c97b7ef6
JW
47202004-02-06 James E Wilson <wilson@specifixinc.com>
4721
4722 * config/tc-ia64.c (dot_endp): Delete call to output_endp.
4723 (generate_unwind_image): Re-add it here.
4724
e4475e39
NS
47252004-02-06 Nathan Sidwell <nathan@codesourcery.com>
4726
4727 * dwarf2dbg.c (DWARF2_ADDR_SIZE): Remove trailing ';'
4728 * read.h (SKIP_WHITESPACE): Turn into an expression.
4729 * read.c (read_a_source_file): A pseudo is removed by having a
4730 NULL handler.
4731
5738bc24
JW
47322004-02-05 James E Wilson <wilson@specifixinc.com>
4733
4734 * config/tc-ia64.c (output_endp): New.
4735 (count_bits): Delete.
4736 (ia64_flush_insns, process_one_record, optimize_unw_records): Handle
4737 endp unwind records.
4738 (fixup_unw_records): Handle endp unwind records. Delete code for
4739 shortening prologue regions not followed by a body record.
4740 (dot_endp): Call add_unwind_entry to emit endp unwind record.
4741 * config/tc-ia64.h (unw_record_type): Add endp.
4742
d6e78c11
JW
47432004-02-03 James E Wilson <wilson@specifixinc.com>
4744
4745 * config/tc-ia64.c (ia64_convert_frag): Call md_number_to_chars to
4746 fill padding bytes with zeroes.
4747 (emit_one_bundle): New locals last_ptr, end_ptr. Rewrite code that
4748 sets unwind_record slot_number and slot_frag fields.
4749
f6a22291
MR
47502004-02-02 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4751
4752 * config/tc-mips.c (add_got_offset_hilo): New function.
4753 (macro): Use load_register() and add_got_offset_hilo() to load
4754 constants instead of hardcoding code sequences throughout.
4755
127cab00
L
47562004-01-28 H.J. Lu <hongjiu.lu@intel.com>
4757
4758 * config/tc-ia64.c (emit_one_bundle): Add proper indentation.
4759
6358301e
NC
47602004-01-26 Bernardo Innocenti <bernie@develer.com>
4761
4762 * config/tc-m68k.h (EXTERN_FORCE_RELOC): Handle m68k-uclinux specially,
4763 like m68k-elf.
4764 * config/tc-m68k.c (RELAXABLE_SYMBOL): Use EXTERN_FORCE_RELOC instead
4765 of hard-coded test for TARGET_OS=elf.
4766
c8978940
CD
47672004-01-24 Chris Demetriou <cgd@broadcom.com>
4768
4769 * config/tc-mips.c (hilo_interlocks): Change definition
4770 so that MIPS32, MIPS64 and later ISAs are included, along with
4771 the already-included machines. Update comments.
4772
c3ba240c
DJ
47732004-01-23 Daniel Jacobowitz <drow@mvista.com>
4774
4775 * config/tc-arm.c (tc_gen_reloc): Improve error message for
4776 undefined local labels.
4777
e864ceca
RS
47782004-01-23 Richard Sandiford <rsandifo@redhat.com>
4779
4780 * config/tc-mips.c (load_address, macro): Update comments about
4781 NewABI GP relaxation.
4782
67c0d1eb
RS
47832004-01-23 Richard Sandiford <rsandifo@redhat.com>
4784
4785 * config/tc-mips.c (macro_build): Remove place and counter arguments.
4786 (mips_build_lui, macro_build_ldst_constoffset): Likewise.
4787 (mips16_macro_build, macro_build_jalr): Remove counter argument.
4788 (set_at, load_register, load_address, move_register): Likewise.
4789 (load_got_offset, add_got_offset): Likewise.
4790 Update all calls and tidy accordingly.
4791
584892a6
RS
47922004-01-23 Richard Sandiford <rsandifo@redhat.com>
4793
4794 * config/tc-mips.c (RELAX_ENCODE): Remove WARN argument.
4795 (RELAX_FIRST, RELAX_SECOND): Turn into 8-bit quantities.
4796 (RELAX_USE_SECOND): Bump to 0x10000.
4797 (RELAX_SECOND_LONGER, RELAX_NOMACRO, RELAX_DELAY_SLOT): New flags.
4798 (mips_macro_warning): New variable.
4799 (md_assemble): Wrap macro expansion in macro_start() and macro_end().
4800 (s_cpload, s_cpsetup, s_cprestore, s_cpreturn): Likewise.
4801 (relax_close_frag): Set mips_macro_warning.first_frag. Adjust use
4802 of RELAX_ENCODE.
4803 (append_insn): Update mips_macro_warning.sizes.
4804 (macro_start, macro_warning, macro_end): New functions.
4805 (macro_build): Don't emit warnings here.
4806 (macro_build_lui, md_estimate_size_before_relax): ...or here.
4807 (md_convert_frag): Check for cases where one macro alternative
4808 needs a warning and the other doesn't. Emit a warning if the
4809 longer sequence was chosen.
4810
4d7206a2
RS
48112004-01-23 Richard Sandiford <rsandifo@redhat.com>
4812
4813 * config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): Remove.
4814 * config/tc-mips.c (RELAX_ENCODE): Take three arguments: the size of
4815 the first sequence, the size of the second sequence, and a flag
4816 that says whether we should warn.
4817 (RELAX_OLD, RELAX_NEW, RELAX_RELOC[123]): Delete.
4818 (RELAX_FIRST, RELAX_SECOND): New.
4819 (mips_relax): New variable.
4820 (relax_close_frag, relax_start, relax_switch, relax_end): New fns.
4821 (append_insn): Remove "place" argument. Use mips_relax.sequence
4822 rather than "place" to check whether we're expanding the second
4823 alternative of a relaxable macro. Remove redundant check for
4824 branch relaxation. If generating a normal insn, and there
4825 is not enough room in the current frag, call relax_close_frag()
4826 to close it. Update mips_relax.sizes[]. Emit fixups for the
4827 second version of a relaxable macro. Record the first relaxable
4828 fixup in mips_relax. Remove tc_gen_reloc workaround.
4829 (macro_build): Remove all uses of "place". Use mips_relax.sequence
4830 in the same way as in append_insn.
4831 (mips16_macro_build): Remove "place" argument.
4832 (macro_build_lui): As for macro_build. Don't drop the add_symbol
4833 when generating the second version of a relaxable macro.
4834 (load_got_offset, add_got_offset): New functions.
4835 (load_address, macro): Use new relaxation machinery. Remove
4836 tc_gen_reloc workarounds.
4837 (md_estimate_size_before_relax): Set RELAX_USE_SECOND if the second
4838 version of a relaxable macro is needed. Return -RELAX_SECOND if the
4839 first version is needed.
4840 (tc_gen_reloc): Remove relaxation handling.
4841 (md_convert_frag): Go through the fixups for a relaxable macro and
4842 mark those that belong to the unneeded alternative as done. If the
4843 second alternative is needed, adjust the fixup addresses to account
4844 for the deleted first alternative.
4845
0530d30a
RS
48462004-01-23 Richard Sandiford <rsandifo@redhat.com>
4847
4848 * frags.h (frag_room): Declare.
4849 * frags.c (frag_room): New function.
4850 * doc/internals.texi: Document it.
4851
048cdf86
TS
48522004-01-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4853
4854 * config/tc-mips.c (append_insn): Don't do r3900 interlock
4855 optimization for -mtune=r3900, as this will break on other CPUs.
4856
28d39d1a
NC
48572004-01-11 Tom Rix <tcrix@worldnet.att.net>
4858
4859 * config/tc-m68hc11.c (build_indexed_byte): movb and movw cannot
73369e65 4860 be relaxed, use fixup.
28d39d1a
NC
4861 (md_apply_fix3): Use 5 bit reloc from movb and movw fixup.
4862
26664553
JJ
48632004-01-19 Jakub Jelinek <jakub@redhat.com>
4864
4865 * config/tc-sparc.c (sparc_ip): Disallow %f32-%f63 for single
4866 precision operands.
4867
895921c9
MR
48682004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4869
4870 * config/tc-mips.c (append_insn): Properly detect variant frags
4871 that preclude swapping of relaxed branches. Correctly swap
4872 instructions between frags when dealing with relaxed branches.
4873
f8b73030
MR
48742004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4875
4876 * acinclude.m4: Quote names of macros to be defined by AC_DEFUN
4877 throughout.
4878 * aclocal.m4: Regenerate.
4879 * configure: Regenerate.
4880
ca9a79a1 48812004-01-12 Anil Paranjpe <anilp1@KPITCummins.com>
73369e65 4882
ca9a79a1
NC
4883 * config/tc-h8300.c (build_bytes): Apply relaxation to bit
4884 manipulation insns.
4885
cc3d92a5
RS
48862004-01-12 Richard Sandiford <rsandifo@redhat.com>
4887
4888 * config/tc-mips.c (macro_build_jalr): When adding an R_MIPS_JALR
4889 reloc, reserve space for the delay slot as well as the jalr itself.
4890
e45d0630
PB
48912004-01-09 Paul Brook <paul@codesourcery.com>
4892
4893 * config/tc-arm.c (do_vfp_reg2_from_sp2): Rename from do_vfp_sp_reg2.
4894 (do_vfp_sp2_from_reg2): New function.
4895 (insns): Use them.
4896 (do_vfp_dp_from_reg2): Check return values properly.
4897
81912461
ILT
48982004-01-08 Ian Lance Taylor <ian@wasabisystems.com>
4899
78849248
ILT
4900 * config/tc-mips.c (warn_nops): Remove static variable.
4901 (macro): Remove test of warn_nops.
4902 (md_shortops): Remove 'n'.
4903 (md_parse_option): Remove 'n' case.
4904 (md_show_usage): Remove -n.
4905 * doc/as.texinfo (Overview): Remove MIPS -n option.
4906 * doc/c-mips.texi (MIPS Opts): Remove mention -n.
4907 * NEWS: Mention removal of MIPS -n option.
4908
81912461
ILT
4909 * config/tc-mips.c (ISA_HAS_COPROC_DELAYS): Remove.
4910 (cop_interlocks): Check ISA level.
4911 (cop_mem_interlocks): Define.
4912 (reg_needs_delay): Check cop_interlocks rather than
4913 ISA_HAS_COPROC_DELAYS.
4914 (append_insn): Likewise. Use cop_mem_interlocks rather than
4915 directly checking mips_opts.isa.
4916 (mips_emit_delays): Likewise.
4917
73f20958
L
49182004-01-07 H.J. Lu <hongjiu.lu@intel.com>
4919
4920 * config/tc-ia64.c (unwind): Move next_slot_number and
4921 next_slot_frag to ...
4922 (unw_rec_list): Here.
4923 (free_list_records): Removed.
4924 (output_unw_records): Likewise.
4925 (generate_unwind_image): Make it void.
4926 (alloc_record): Initialize next_slot_number and next_slot_frag.
4927 (slot_index): Take .org, .space and .align into account.
4928 (fixup_unw_records): Don't set slot_number to 0. Use
4929 list->next_slot_number and list->next_slot_frag instead of
4930 unwind.next_slot_number and unwind.next_slot_frag.
4931 (ia64_convert_frag): New.
4932 (generate_unwind_image): Generate a rs_machine_dependent frag
4933 for unwind record.
4934 (emit_one_bundle): Use list->next_slot_number and
4935 list->next_slot_frag instead of unwind.next_slot_number and
4936 unwind.next_slot_frag.
4937
4938 * config/tc-ia64.h (md_convert_frag): Defined as
4939 ia64_convert_frag.
4940 (md_estimate_size_before_relax): Defined as (f)->fr_var.
4941
99d09cdb
AO
49422004-01-06 Alexandre Oliva <aoliva@redhat.com>
4943
4944 2003-12-19 Alexandre Oliva <aoliva@redhat.com>
4945 * config/tc-frv.h (md_apply_fix3): Don't define.
4946 * config/tc-frv.c (md_apply_fix3): New. Shift/truncate %hi/%lo
4947 operands.
4948 * config/tc-frv.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
4949 2003-10-07 Alexandre Oliva <aoliva@redhat.com>
4950 * config/tc-frv.c (line_separator_chars): Add `!'.
4951 2003-09-19 Alexandre Oliva <aoliva@redhat.com>
4952 * config/tc-frv.c (md_assemble): Clear insn upfront.
4953 2003-09-18 Alexandre Oliva <aoliva@redhat.com>
4954 * config/tc-frv.c (OPTION_FDPIC): New macro.
4955 (md_longopts): Add mfdpic.
4956 (md_parse_option): Handle it.
4957 2003-08-04 Alexandre Oliva <aoliva@redhat.com>
4958 * config/tc-frv.c (md_cgen_lookup_reloc) <FRV_OPERAND_D12,
4959 FRV_OPERAND_S12>: Use reloc type encoded in fix-up.
4960 (frv_pic_ptr): Parse funcdesc.
4961
4a4c4a1d
MR
49622004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4963
4964 * doc/as.texinfo: Let texi2pod parse asconfig.texi and
4965 gasver.texi. Remove duplicate symbol definitions for texi2pod.
4966
2251dd89
MR
49672004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4968
4969 * Makefile.am (Makefile): Move the dependency on
4970 $(BFDDIR)/configure.in to...
4971 (CONFIG_STATUS_DEPENDENCIES): ... here.
4972 (AUTOMAKE_OPTIONS): Require automake 1.8.
4973 * Makefile.in: Regenerate.
4974 * doc/Makefile.am (BASEDIR, BFDDIR): Define.
4975 (CONFIG_STATUS_DEPENDENCIES): Add a dependency on
4976 $(BFDDIR)/configure.in here as well.
4977 * doc/Makefile.in: Regenerate.
4978
c6581168
MR
49792004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
4980
4981 * Makefile.am (install, install-info, RECURSIVE_TARGETS): Remove.
4982 * Makefile.in: Regenerate.
4983 * aclocal.m4: Regenerate.
4984 * doc/Makefile.am (install, install-info): Remove.
4985 (install-data-local): A new hook for install-info.
4986 (AUTOMAKE_OPTIONS): Require automake 1.8.
4987 * doc/Makefile.in: Regenerate.
4988
303e7b79
NC
49892004-01-02 Nutan Singh <nutan@kpitcummins.com>
4990
4991 * doc/c-sh.texi: Update description about floating point behavior
4992 of SH family.
4993
b50c15dc
NC
49942004-01-02 Bernardo Innocenti <bernie@develer.com>
4995
4996 * configure.in: Add m68k-uClinux target.
4997 * configure: Regenerate.
7de9afa2 4998
c9e214e5 4999For older changes see ChangeLog-0203
08d56133
NC
5000\f
5001Local Variables:
5002mode: change-log
5003left-margin: 8
5004fill-column: 74
5005version-control: never
5006End:
This page took 0.63178 seconds and 4 git commands to generate.