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