*** empty log message ***
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
7af0dfc7
CG
12005-01-28 Christian Groessler <chris@groessler.org>
2
3 * config/tc-z8k.c (md_assemble): Improve error detection.
4
f7e323d5
JB
52005-01-28 Jan Beulich <jbeulich@novell.com>
6
7 * config/tc-ia64.c (ia64_estimate_size_before_relax): Allocate space
8 for personality routine pointer only if there is one.
9 (ia64_convert_frag): Likewise.
10 (generate_unwind_image): Likewise.
11
f87a1e0c
CG
122005-01-27 Christian Groessler <chris@groessler.org>
13
14 * config/tc-z8k.c (INSERT): Remove, not used anywhere.
15 (md_apply_fix3): Make relative branches out of range an error
16 instead of a warning. Display correct line number for out of
17 range branches/calls/memory accesses.
18
c6cb92c5
NS
192005-01-27 Nathan Sidwell <nathan@codesourcery.com>
20
21 * dwarf2dbg.c (dwarf2_finish): Correct logic for determining when
22 to emit .debug_line and other debug sections.
23 * as.h (seg_not_empty_p): Declare.
24 * subsegs.c (seg_not_empty_p): New predicate.
25
e8093792
AC
262005-01-27 Andrew Cagney <cagney@gnu.org>
27
28 * configure: Regenerate to track ../gettext.m4 change.
29
09124b3f
JB
302005-01-27 Jan Beulich <jbeulich@novell.com>
31
32 * config/tc-ia64.c (emit_one_bundle): Change "?imbf??" to "?ibmfxx".
33
342005-01-27 Jan Beulich <jbeulich@novell.com>
97762d08
JB
35
36 * config/tc-ia64.c (emit_one_bundle): Add late resolution of move
37 to/from application registers dynamic insns.
38 (md_assemble): Defer resolution of move to/from application registers
39 dynamic insns when they can be issued on either the I- or M-units.
40
90219bd0
AO
412005-01-25 Alexandre Oliva <aoliva@redhat.com>
42
43 * config/tc-frv.c (md_apply_fix3): Mark TLS symbols as such.
44 2004-12-10 Alexandre Oliva <aoliva@redhat.com>
45 * config/tc-frv.c (frv_pic_ptr): Add tlsmoff support.
46 2004-11-10 Alexandre Oliva <aoliva@redhat.com>
47 * cgen.c (gas_cgen_parse_operand): Handle
48 CGEN_PARSE_OPERAND_SYMBOLIC.
49 * config/tc-frv.c (md_cgen_lookup_reloc): Handle TLS relocations.
50 (frv_force_relocation): Likewise. Fix handling of PIC
51 relocations.
52 (md_apply_fix3): Likewise.
53
59c871b4
BE
542005-01-21 Ben Elliston <bje@au.ibm.com>
55
56 * as.h: Remove #if 0'd code.
57 * atof-generic.c (atof_generic): Likewise.
58 * ecoff.c (ecoff_directive_frame): Likewise.
59 * frags.h (FRAG_APPEND_1_CHAR): Likewise.
60 * itbl-ops.c (itbl_add_reg): Likewise.
61 * listing.c (calc_hex): Likewise.
62 * read.c (MASK_CHAR): Likewise.
63 * subsegs.c (subsegs_print_statistics): Likewise.
64 * symbols.c (indent): Likewise.
65 * write.c (write_relocs): Likewise.
66 (write_object_file): Likewise.
67 (relax_frag): Likewise.
68
fb767913
NC
692005-01-20 Nick Clifton <nickc@redhat.com>
70
71 * as.c (std_longopts): Add an entry for "--a" in order to prevent
72 getopt_long_only() from considering -a as an abbreviation for
73 --alternate.
74 (parse_args): Fix the parsing of -a=<file>.
75
c556cc9c
AM
762005-01-20 Alan Modra <amodra@bigpond.net.au>
77
78 PR gas/684
79 * read.c (s_incbin): Adjust default count for skip. Check validity
80 of count and skip rigorously.
81
9c6ed8e6
FF
822005-01-19 Fred Fish <fnf@specifixinc.com>
83
84 * config/tc-mips.c (dummy_opcode): Add init for new struct member.
85
e5604d79
RS
862005-01-19 Richard Sandiford <rsandifo@redhat.com>
87
88 * read.c (convert_to_bignum): New function, split out from...
89 (emit_expr): ...here. Handle the case where X_add_number is
90 positive and the input value is negative.
91 (output_big_sleb128): Fix setting of continuation bit. Check whether
92 the final byte needs to be sign-extended. Fix size-shrinking loop.
93 (emit_leb128_expr): When generating a signed leb128, see whether the
94 sign of an O_constant's X_add_number matches the sign of the input
95 value. Use a bignum if not.
96
e38bc3b5
NC
972005-01-17 Andrew Stubbs <andrew.stubbs@st.com>
98
99 * tc-sh.c (md_begin,md_parse_option): Change arch_sh1_up to
100 arch_sh_up in order to match the external name and make the
101 testsuite's job easier.
102
df227444
L
1032005-01-14 H.J. Lu <hongjiu.lu@intel.com>
104
105 PR 659
106 * config/tc-i386.c (i386_scale): Disallow 0 scale.
107
b8b80cf7
NC
1082005-01-12 Nick Clifton <nickc@redhat.com>
109
110 * config/tc-iq2000.c (s_iq2000_set): Fix thinko parsing
111 ignored_arguments array.
112
324007b9
L
1132005-01-10 H.J. Lu <hongjiu.lu@intel.com>
114
115 * write.c (write_object_file): Disallow a symbol equated to
116 common symbol.
117
5c4504f7
NC
1182005-01-10 Inderpreet Singh <inderpreetb@noida.hcltech.com>
119
120 * tc-maxq.c: Replace constants 10 and 20 with bfd_mach_maxq10 and
121 bfd_mach_maxq20.
122 (md_pseudo_table): Add new pseudo ops for maxq10 and maxq20.
123 (maxq_target): New function: Set the machine type.
124
4e7fd91e
PB
1252005-01-06 Paul Brook <paul@codesourcery.com>
126
127 * config/tc-arm.c (FPU_DEFAULT): Define for TE_VXWORKS.
128 (md_begin): Handle TE_VXWORKS for FP defaults.
129 (md_apply_fix3): Correct rela offsets.
130 (elf32_arm_target_format): Add VxWorks targets.
131
ea3eed15
PB
1322005-01-06 Paul Brook <paul@codesourcery.com>
133
134 * configure.tgt: Set em=vxworks for *-*-vxworks.
135 * config/te-vxworks.h: New File.
136
5dc1606f
PB
1372005-01-06 Paul Brook <paul@codesourcery.com>
138
139 * config/tc-arm.c (arm_cpus): Correct arch field for arm1026ej-s.
140
18af0b39
NC
1412005-01-04 Dmitry Diky <diwil@spec.ru>
142
143 * config/tc-msp430.c (md_apply_fix3): Fix offset calculation for
144 global label.
145
196e8040
JW
1462005-01-03 David Mosberger <davidm@hpl.hp.com>
147
148 * config/tc-ia64.c (md): Add member "loc_directive_seen".
149 (dot_loc): New function.
150 (md_pseudo_table): Add entry to map .loc to dot_loc().
151 (emit_one_bundle): Only call dwarf2_gen_line_info() if we have
152 seen a .loc directive or we're generating DWARF2 debug info for
153 assembly source.
154
a207757e
AM
1552004-12-29 Alan Modra <amodra@bigpond.net.au>
156
157 PR gas/619
158 * read.c (s_comm_internal): Don't zero end of name until size
159 expression has been parsed.
160
71d7ecf2
MM
1612004-12-25 Marek Michalkiewicz <marekm@amelek.gda.pl>
162
163 * config/tc-avr.c (mcu_types): Move attiny{13,2313} from avr4 to avr2.
164
30c62922
TL
1652004-12-23 Tomer Levi <Tomer.Levi@nsc.com>
166
167 * config/tc-crx.c: Support 'bcop' relaxation (dealt as in 'cmp&branch'
168 case).
169
14ee9f48
ILT
1702004-12-22 Ian Lance Taylor <ian@airs.com>
171
172 * configure.tgt: New.
173 * configure.in: Move setting of cpu_type, fmt, etc., to
174 configure.tgt.
175 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add
176 $(srcdir)/configure.tgt.
177 * configure, Makefile.in: Rebuild.
178
750bce0e
NC
1792004-12-22 Klaus Rudolph <lts-rudolph@gmx.de>
180
181 * config/tc-avr.c: Add support for the new R_AVR_LDI, R_AVR_6 and
182 R_AVR_6_ADIW relocs for the LDI, ADIW/SBIW and LDD/STD
183 instructions.
184 (avr_offset_expression): New function to parse offsets for LDI
185 instructions.
186 (avr_operand): Use it.
187 (md_apply_fix3): Generate the relocs.
188
9d2be1ee
JR
1892004-12-16 Andrew Stubbs <andrew.stubbs@st.com>
190
191 * config/tc-sh64.c (shmedia_md_apply_fix3): Add missing
192 BFD_RELOC_SH_IMMS10BY8 relocation.
193
194 * config/tc-sh64.c (shmedia_build_Mytes): Emit an error message rather
195 than just ignoring bad code.
196
1e50d24d
RS
1972004-12-16 Richard Sandiford <rsandifo@redhat.com>
198
199 * config/tc-v850.c (handle_lo16): New function.
200 (v850_reloc_prefix): Use it to check lo().
201 (md_assemble, md_apply_fix3): Handle BFD_RELOC_V850_LO16_SPLIT_OFFSET.
202
2fbd2a87
NC
2032004-12-14 P.J. Darcy <darcypj@us.ibm.com>
204
205 * configure.in: Add s390x-ibm-tpf support.
206 * configure: Regenerate.
207
7a6d0b32
JB
2082004-12-15 Jan Beulich <jbeulich@novell.com>
209
210 * config/obj-elf.c (obj_elf_change_section): Only set type and
211 attributes on new sections. Emit warning when type of re-declared
212 section doesn't match.
213
5b9d23c6
JB
2142004-12-15 Jan Beulich <jbeulich@novell.com>
215
216 * dw2gencfi.c (dot.cfi.startproc): Clear cur_cfa_offset so
217 '.cfi_startproc simple' doesn't inherit the old value.
218
dcb45a06
JB
2192004-12-15 Jan Beulich <jbeulich@novell.com>
220
221 * dw2gencfi.c (output_cfi_insn): Adjust DW_CFA_def_cfa_sf generation
222 to emit a signed and factored offset. Adjust DW_CFA_def_cfa_offset_sf
223 generation to emit a factored offset.
224
aa6975fb
ILT
2252004-12-10 Ian Lance Taylor <ian@wasabisystems.com>
226
6943caf0
ILT
227 * config/tc-mips.c (macro) [M_LA_AB]: Give an error for a offset
228 which is too large in the case of NO_PIC without 64-bit
229 addresses.
230
aa6975fb
ILT
231 * config/tc-mips.c (mips_in_shared): New static variable.
232 (macro_build_lui): Permit "_gp" if !mips_in_shared.
233 (md_longopts): Add -mshared and -mno-shared.
234 (md_parse_option): Handle OPTION_MSHARED and OPTION_MNO_SHARED.
235 (s_cpload): Implement !mips_in_shared case.
236 (s_cpsetup): Likewise.
237 * doc/c-mips.texi (MIPS Opts): Document -mno-shared.
238 * NEWS: Mention -mno-shared.
239
be1b2b4b
PB
2402004-12-09 Paul Brook <paul@codesourcery.com>
241
242 * config/tc-arm.c (s_arm_unwind_fnend): Use R_ARM_PREL31 relocation
243 for function start.
244
9a92f48d
ILT
2452004-12-09 Ian Lance Taylor <ian@wasabisystems.com>
246
dd22970f
ILT
247 * config/tc-mips.c (append_insn): If we emit a nop during a relax
248 sequence, increase the size of the sequence.
249
9a92f48d
ILT
250 * config/tc-mips.c (mips_cpu_info_table): Change "9000" entry to
251 use CPU_RM9000.
252
b617dc20
BE
2532004-12-07 Ben Elliston <bje@gnu.org>
254
255 * read.c (s_align): Use an align_limit temporary to allay a GCC
256 signed/unsigned comparison warning.
257
c820d418
MM
2582004-12-01 Mark Mitchell <mark@codesourcery.com>
259
260 * Makefile.am (TARG_ENV_HFILES): Add te-armlinuxeabi.h.
261 * configure.in: Use it for arm*-*-linux-gnueabi*.
262 * config/tc-arm.c: Allow emulation file to set FPU_DEFAULT.
263 * config/te-armlinuxeabi.h: New file.
264 * Makefile.in: Regenerated.
265 * aclocal.m4: Likewise.
266 * configure: Likewise.
267 * doc/Makefile.in: Regenerated.
268
2b0210eb
BW
2692004-12-02 Bob Wilson <bob.wilson@acm.org>
270
271 * config/tc-xtensa.c (xtensa_switch_section_emit_state): Use subseg_set.
272 (xtensa_restore_emit_state): Likewise.
273
9ebd302d
AM
2742004-12-02 Alan Modra <amodra@bigpond.net.au>
275
276 * read.c (ALIGN_LIMIT): Define, increasing limit for BFD_ASSEMBLER.
277 (s_align): Use it.
278
32118081
NC
2792004-11-30 Tero Niemela <tero_niemela@yahoo.com>
280
281 * Makefile.am: Change LOCALEDIR to $(datadir)/share.
282 * Makefile.in: Regenerate.
283
3f414718
TL
2842004-11-29 Tomer Levi <Tomer.Levi@nsc.com>
285
9ebd302d
AM
286 * config/tc-crx.c: Major code cleanup. Remove unused variables and
287 functions, give functions a meaningful name, add comments.
288 (check_range): New function - Replace operand size calculation
3f414718
TL
289 with range checking.
290 (assemble_insn): Update Algorithm, improve error issuing.
9ebd302d 291 (enum op_err): New.
3f414718
TL
292 (process_label_constant): Bug fix regarding COP_BRANCH_INS relocation
293 handling.
294
a7498ae6
NC
2952004-11-29 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
296
297 * config/tc-m32r.c (md_pcrel_from_section): Fixed a pcrel relocte
298 miss between different section in the same module.
299 (tc_gen_reloc): Likewise.
300
5c54fd37
NC
3012004-11-25 Theodore A. Roth <troth@openavr.org>
302
303 * gas/config/tc-avr.c (mcu_types): Add support for atmega165,
304 atmega325, atmega3250, atmega645 and atmega6450.
305
37edbb65
JB
3062004-11-25 Jan Beulich <jbeulich@novell.com>
307
308 * config/tc-i386.c (optimize_imm): Adjust immediates to only those
309 permissible for the selected instruction suffix.
310 (process_suffix): For DefaultSize instructions, suppressing the
311 guessing of a 'q' suffix if the instruction doesn't support it is
312 pointless, because only an 'l' suffix can be guessed in this place.
313
5515a510
NC
3142004-11-24 Nick Clifton <nickc@redhat.com>
315
316 * config/tc-iq2000.c: Remove support for IQ10 processor.
317 Convert to ISO C90 formatting.
318 * config/tc-iq2000.h: Likewise.
319
dae1b34e
NC
3202004-11-23 Nick Clifton <nickc@redhat.com>
321
322 * config/tc-mn10300.c (md_relax_table): More fixes to the offsets
323 in this table. They should be correct now.
324
5c6af06e
JB
3252004-11-23 Jan Beulich <jbeulich@novell.com>
326
327 * config/tc-i386.h (CpuMMX2): Declare. Artificial classifier to
328 indicate the MMX extensions added by both SSE and 3DNow!A.
329 (Cpu3dnowA): Declare.
330 (CpuUnknownFlags): Update.
331 * config/tc-i386.c (cpu_sub_arch_name): Declare.
332 (cpu_arch): i586 and pentium do not imply MMX. i686 and pentiumpro do
333 neither imply SSE nor MMX. k6 implies MMX. k6_2 additionally implies
334 3DNow!. Athlon additionally implies 3DNow!A. Several new
335 entries (those starting with a dot are for sub-arch specification).
336 (set_cpu_arch): Handle sub-arch specifications.
337 (parse_insn): Distinguish between instructions not supported because
338 of insufficient CPU features and because of 64-bit mode.
339 * doc/c-i386.texi: Describe enhanced .arch directive.
340
d9740523
BW
3412004-11-22 Bob Wilson <bob.wilson@acm.org>
342
343 * config/tc-xtensa.c (xg_add_opcode_fix): Set fx_no_overflow.
344
3120ef82
BW
3452004-11-22 Bob Wilson <bob.wilson@acm.org>
346
347 * dwarf2dbg.c (dwarf2_finish): Don't write a .debug_line section
348 without a corresponding .debug_info section.
349
d190d046
HPN
3502004-11-22 Hans-Peter Nilsson <hp@axis.com>
351
352 * read.c (potable): Add "error" and "warning".
353 (s_errwarn): New function.
354 * read.h (s_errwarn): Declare.
355 * doc/as.texinfo (Error, Warning): Document .error and .warning.
356
5519f6ea
NC
3572004-11-22 Nick Clifton <nickc@redhat.com>
358
359 * config/tc-tic54x.c (tic54x_adjust_symtab): Adjust call to
360 c_dot_file_symbol.
361
f5c7edf4
AM
3622004-11-19 Alan Modra <amodra@bigpond.net.au>
363
364 * config/tc-msp430.c (struct rcodes_s, MSP430_RLC, msp430_rcodes,
365 struct hcodes_s, msp430_hcodes): From include/opcode/msp430.h.
366
a4528eeb
AM
3672004-11-19 Alan Modra <amodra@bigpond.net.au>
368
369 * config/obj-coff.c (c_dot_file_symbol): Add "app" param.
370 (coff_adjust_symtab): Adjust call.
371 (crawl_symbols): Likewise.
372 * config/obj-coff.h (c_dot_file_symbol): Add "app" param.
373 (obj_app_file): Adjust.
374
444bf5f3
NC
3752004-11-18 Inderpreet Singh <inderpreetb@nioda.hcltech.com>
376
377 * configure.in: Enable bfd_assember for the MAXQ port.
378 * configure: Regenerate.
379
a1ace8d8 3802004-11-12 Bob Wilson <bob.wilson@acm.org>
88ac794e 381 Sterling Augustine <sterling@tensilica.com>
a1ace8d8
BW
382
383 * config/tc-xtensa.c (finish_vinsn): Clear pending instruction if
384 there is a conflict.
385 (check_t1_t2_reads_and_writes): Check for both reads and writes to
386 interfaces that are related as determined by xtensa_interface_class_id.
387
30e857fc
NC
3882004-11-12 Nick Clifton <nickc@redhat.com>
389
390 * config/tc-mn10300.c (md_relax_table): Fix off by one negative
391 offsets for conditional branches.
392
a67517f4
BW
3932004-11-11 Bob Wilson <bob.wilson@acm.org>
394
395 * config/tc-xtensa.c (MAX_IMMED6): Change value to 65.
396
1d19a770
BW
3972004-11-10 Bob Wilson <bob.wilson@acm.org>
398
399 * config/tc-xtensa.c (update_next_frag_state): Always add a NOP if
400 relaxing at the end of a loop. Don't mark frags as UNREACHABLE or
401 MAYBE_UNREACHABLE.
402 (relax_frag_immed): Update call to update_next_frag_state.
403
c04f5787
AM
4042004-11-10 Alan Modra <amodra@bigpond.net.au>
405
406 * obj.h (struct format_ops <app_file>): Add int param.
407 * read.h (s_app_file_string): Likewise.
408 * read.c (s_app_file_string): Likewise.
409 (s_app_file): Adjust s_app_file_string call.
410 * config/tc-mips.c (s_mips_file): Likewise.
411 * config/obj-coff.h (obj_app_file): Add app param.
412 * config/obj-ecoff.h (obj_app_file): Likewise.
413 * config/obj-multi.h (obj_app_file): Likewise.
414 * config/obj-elf.h (elf_file_symbol): Likewise.
415 * config/obj-elf.c (elf_file_symbol): Only emit one file symbol
416 if called for # preprocessor lines.
417
a77a9021
L
4182004-11-08 H.J. Lu <hongjiu.lu@intel.com>
419
420 PR 528
421 * symbols.c (resolve_symbol_value): Convert weak symbols only
422 for Windows PECOFF.
423 (symbol_equated_reloc_p): Don't equate weaks when relocating
424 only for Windows PECOFF.
425
aea44f62
TL
4262004-11-08 Tomer Levi <Tomer.Levi@nsc.com>
427
428 * config/tc-crx.c (print_insn): Check and set insn_addr.
429 * config/tc-crx.h (md_frag_check): Define.
430
7499d566
NC
4312004-11-08 Inderpreet Singh <inderpreetb@nioda.hcltech.com>
432 Vineet Sharma <vineets@noida.hcltech.com>
433
434 * configure.in: Add support for new target maxq-coff.
435 * configure: Regenerate.
436 * NEWS: Mention new support.
437 * config/tc-maxq.c: New file.
438 * config/tc-maxq.h: New file.
439 * config/obj-coff.h: Add support for maxq-coff.
440
977cdf5a
NC
4412004-11-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
442
443 * symbols.c (any_external_name): Define.
a77a9021 444 (resolve_symbol_value): Convert weak symbols.
977cdf5a
NC
445 (S_SET_EXTERNAL): Support any_external_name.
446 (S_SET_NAME): Qualify parameter const.
316f3bf8 447 (symbol_equated_reloc_p): Equate to weaks when relocating.
977cdf5a
NC
448 * symbols.h (S_SET_NAME): Qualfiy parameter const.
449 * tc.h (any_external_name): Declare.
450 * config/obj-coff.c ("coff/pe.h"): Include for BFD
451 assemblers also.
452 (weak_is_altname): Declare and define.
453 (weak_name2altname): Same.
454 (weak_altname2name): Same.
455 (weak_uniquify): Same.
456 (weak_altprefix): Define.
457 (obj_coff_weak): Change .weak syntax and handling.
458 (coff_frob_symbol): Fix PE weak symbol alternates.
459 * config/obj-coff.h (USE_UNIQUE): Define.
460 * config/tc-i386.c (md_apply_fix3): Assume weak symbols
461 are in another segment.
462 (tc_gen_reloc): Remove broken addend hack.
463 doc/as.texinfo: Update.
464
34e41783
BW
4652004-11-05 Sterling Augustine <sterling@tensilica.com>
466
467 * config/tc-xtensa.c (total_frag_text_expansion): New.
468 (md_estimate_size_before_relax): Use it.
469 (find_address_of_next_align_frag): Likewise.
470
dcd46b4e
TL
4712004-11-05 Tomer Levi <Tomer.Levi@nsc.com>
472
473 * config/tc-crx.c: Rename argument types.
474 (processing_arg_number): Rename to 'cur_arg_num'.
475 (get_number_of_bits): Rename to 'set_operand_size'.
476 (get_operandtype): Rename to 'parse_operand', totally rewrite.
477 (set_cons_rparams): Rename to 'set_operand', totally rewrite.
478 (set_indexmode_parameters): Remove function, integrate its code into
479 'set_operand'.
480 (set_operand_size): Get rid of 'Operand Number' function parameter -
481 use global variable 'cur_arg_num' instead.
482 Use a local 'argument' pointer to reference the current argument.
483 (parse_operand): Likewise.
484 (set_operand): Likewise.
485 (process_label_constant): Likewise.
486
9456465c
BW
4872004-11-04 Bob Wilson <bob.wilson@acm.org>
488
489 * config/tc-xtensa.c: Remove XTENSA_SECTION_RENAME ifdefs.
490 (add_section_rename): Delete. Inlined into...
491 (build_section_rename): ...here. Use xstrdup instead of strdup.
492 (xtensa_section_rename): Drop "const" from argument and return types.
493 (md_show_usage): Indent to match show_usage().
494 * config/tc-xtensa.h: Remove XTENSA_SECTION_RENAME ifdefs.
495 (tc_canonicalize_section_name): Define.
496 (md_elf_section_rename): Remove unused macro.
497 * doc/as.texinfo (Overview): Document Xtensa --rename-section option.
498 * doc/c-xtensa.texi (Xtensa Options): Likewise.
499 (Frame Directive): Delete.
500
7f266840
DJ
5012004-11-04 Daniel Jacobowitz <dan@debian.org>
502
503 * configure.in: Remove arm-*-oabi and thumb-*-oabi.
504 * config/tc-arm.c (target_oabi): Delete.
505 (md_apply_fix3, elf32_arm_target_format): Remove target_oabi checks.
506 (arm_opts): Remove moabi.
507 * doc/as.texinfo (Overview): Remove documentation of -moabi.
508 * doc/c-arm.texi (ARM Options): Likewise.
509 * configure: Regenerated.
510
ae57792d
HPN
5112004-11-04 Hans-Peter Nilsson <hp@axis.com>
512
513 * configure.in (crisv32): Recognize. AC_DEFINE_UNQUOTED
514 DEFAULT_CRIS_ARCH. Handle crisv32-*-linux-gnu* like
515 cris-*-linux-gnu* and crisv32-*-* like cris-*-*.
516 * configure: Regenerate.
517 * config/tc-cris.c (enum cris_archs): New.
518 (cris_mach, cris_arch_from_string, s_cris_arch, get_sup_reg)
519 (cris_insn_ver_valid_for_arch): New functions.
520 (DEFAULT_CRIS_ARCH): New macro, default to cris_any_v0_v10.
521 (cris_arch): New variable.
522 (md_pseudo_table): New pseudo .arch.
523 (err_for_dangerous_mul_placement): Initialize according to
524 DEFAULT_CRIS_ARCH.
525 (STATE_COND_BRANCH): Renamed from STATE_CONDITIONAL_BRANCH.
526 All users changed.
527 (STATE_COND_BRANCH_V32, STATE_COND_BRANCH_COMMON)
528 (STATE_ABS_BRANCH_V32, STATE_LAPC, BRANCH_BF_V32, BRANCH_BB_V32)
529 (BRANCH_WF_V32, BRANCH_WB_V32): New.
530 (BRANCH_BF, BRANCH_BB, BRANCH_WF, BRANCH_WB): Don't undef after
531 use in md_cris_relax_table.
532 (md_cris_relax_table): Add entries for STATE_COND_BRANCH_V32,
533 STATE_COND_BRANCH_COMMON, STATE_ABS_BRANCH_V32, STATE_LAPC.
534 Update and improve head comment.
535 (OPTION_PIC): Define in terms of previous option, OPTION_US.
536 (OPTION_MULBUG_ABORT_ON, OPTION_MULBUG_ABORT_OFF): Similar.
537 (OPTION_ARCH): New.
538 (md_longopts): New option --march=...
539 (cris_any_v0_v10_long_jump_size, crisv32_long_jump_size): New
540 macros.
541 (md_long_jump_size): Initialize in terms of DEFAULT_CRIS_ARCH.
542 (HANDLE_RELAXABLE): New macro.
543 (md_estimate_size_before_relax): Use HANDLE_RELAXABLE for common
544 cases. Check for weak symbols and assume not relaxable. Handle
545 STATE_COND_BRANCH_V32, STATE_COND_BRANCH_COMMON,
546 STATE_ABS_BRANCH_V32, STATE_LAPC. Use new variable symbolP, not
547 fragP->fr_symbol.
548 (md_convert_frag): Handle STATE_COND_BRANCH_V32,
549 STATE_COND_BRANCH_COMMON, STATE_ABS_BRANCH_V32, STATE_LAPC.
550 (cris_create_short_jump): Adjust for CRISv32.
5664e9a7 551 (cris_relax_frag): Handle new states.
ae57792d
HPN
552 (md_create_long_jump): Ditto. Emit error for common_v10_v32.
553 (md_begin): Define symbols "..asm.arch.cris.v32",
554 "..asm.arch.cris.v10", "..asm.arch.cris.common_v10_v32" and
555 "..asm.arch.cris.any_v0_v10". Use cris_insn_ver_valid_for_arch
556 when entering opcode table entry points.
557 (md_assemble): Adjust branch handling for CRISv32. Handle LAPC
558 relaxation. In fix_new_exp call for main insn, pass 1 for pcrel
559 parameter for 8, 16 and 32-bit pc-relative insns and LAPC.
560 (cris_process_instruction): Initialize out_insnp->insn_type to
561 CRIS_INSN_NONE, not CRIS_INSN_NORMAL.
562 <case ']', '[', 'A', 'd', 'Q', 'N', 'n', 'Y', 'U', 'u', 'T'>: New
563 cases.
564 <case 'm'>: Check that modified_char == '.'.
565 <invalid operands>: Consume the rest of the line.
566 When operands don't match, skip over subsequent insns with
567 non-matching version specifier but same mnemonic.
568 <immediate constant, case SIZE_SPEC_REG>: Immediate operands for
569 special registers in CRISv32 are always 32 bit long.
570 <immediate constant, case SIZE_FIELD_SIGNED, SIZE_FIELD_UNSIGNED>:
571 New cases.
572 (get_gen_reg): Only recognize "PC" when followed by "+]" for v32
573 and compatible. Recognize "ACR" for v32, unless followed by "+".
574 (get_spec_reg): Consider cris_arch when looking up register.
575 (get_autoinc_prefix_or_indir_op): Don't recognize assignment for
576 v32 or compatible.
577 (get_3op_or_dip_prefix_op): Check for ']' after seeing '[rN+'.
578 (cris_get_expression): Restore input_line_pointer if failing "early".
579 (get_flags): Consider cris_arch and recognize flags accordingly.
580 (branch_disp): Adjust for CRISv32.
581 (gen_cond_branch_32): Similar. Emit error for common_v10_v32.
582 (cris_number_to_imm): Use as_bad_where, not as_bad. Remove
583 related FIXME. Don't insist on BFD_RELOC_32_PCREL fixup to be
584 resolved. Don't enter zeros in object file for
585 BFD_RELOC_32_PCREL.
586 <case BFD_RELOC_CRIS_LAPCQ_OFFSET, BFD_RELOC_CRIS_SIGNED_16>
587 <case BFD_RELOC_CRIS_SIGNED_8>: New case.
588 (md_parse_option): Break out "return 1".
589 <OPTION_ARCH> New case.
590 (tc_gen_reloc): <case BFD_RELOC_CRIS_LAPCQ_OFFSET>
591 <case BFD_RELOC_CRIS_SIGNED_16, BFD_RELOC_CRIS_SIGNED_8>
592 <case BFD_RELOC_CRIS_UNSIGNED_8, BFD_RELOC_CRIS_UNSIGNED_16>
593 <case BFD_RELOC_32_PCREL>: New cases.
594 Addends for non-zero fx_pcrel are too in fx_offset.
595 (md_show_usage): Show --march=<arch>.
596 (md_apply_fix3): Adjust val for BFD_RELOC_CRIS_LAPCQ_OFFSET.
597 (md_pcrel_from): BFD_RELOC_CRIS_LAPCQ_OFFSET is PC-relative too.
598 (s_syntax) <struct syntaxes>: Properly constify member operand.
599 * config/tc-cris.h (TARGET_MACH): Define.
600 (cris_mach): Declare.
601 * doc/as.texinfo (Overview) <CRIS>: Add --march=...
602 * doc/c-cris.texi (CRIS-Symbols): New node for built-in symbols.
603 (CRIS-Opts): Document --march=...
604 (CRIS-Pseudos): Document .arch.
605
9306ca4a
JB
6062004-11-04 Jan Beulich <jbeulich@novell.com>
607
608 * config/tc-i386.c (set_intel_syntax): Allow % in symbol names when
609 intel syntax and no register prefix, allow $ in symbol names when
610 intel syntax.
611 (set_16bit_gcc_code_flag): Replace literal 'l' by LONG_MNEM_SUFFIX.
612 (intel_float_operand): Add fourth return value indicating math control
613 operations. Make classification more precise.
614 (md_assemble): Complain if memory operand of mov[sz]x has no size
615 specified.
616 (parse_insn): Translate word operands to floating point instructions
617 operating on integers as well as control instructions to short ones
618 as expected by AT&T syntax. Translate 'd' suffix to short one only for
619 floating point instructions operating on non-integer operands.
620 (match_template): Remove fldcw special case. Adjust q-suffix handling
621 to permit it on fild/fistp/fisttp in AT&T mode.
622 (process_suffix): Don't guess DefaultSize insns' suffix from
623 stackop_size for certain floating point control instructions. Guess
624 suffix for branch and [ls][gi]dt based on flag_code. Split error
625 messages for Intel and AT&T syntax, and make the condition more strict
626 for the former. Adjust suppressing of generation of operand size
627 overrides.
628 (intel parser): Allow the full set of MASM operators. Add FWORD, TBYTE,
629 OWORD, and XMMWORD operand size specifiers (TBYTE replaces XWORD). Add
630 more error checking.
631 * config/tc-i386.h (BYTE_PTR WORD_PTR DWORD_PTR QWORD_PTR XWORD_PTR
632 SHORT OFFSET_FLAT FLAT NONE_FOUND): Remove unused defines.
633
2b4f075a
HPN
6342004-11-03 Hans-Peter Nilsson <hp@axis.com>
635
636 * symbols.c (colon) [!WORKING_DOT_WORD]: Don't declare
637 md_short_jump_size, md_long_jump_size.
638 * write.c [!WORKING_DOT_WORD]: Ditto.
639 * tc.h [!WORKING_DOT_WORD]: Declare them here. Drop const
640 qualifier.
641 * config/tc-cris.h (md_short_jump_size, md_long_jump_size): Don't
642 declare.
643 * config/tc-cris.c (md_short_jump_size, md_long_jump_size): Drop
644 const qualifier in these definitions.
645 * config/tc-i370.c, config/tc-m68k.c, config/tc-pdp11.c,
646 config/tc-s390.c, config/tc-tahoe.c, config/tc-vax.c: Ditto.
647
ddbc47ac
NC
6482004-11-02 Nick Clifton <nickc@redhat.com>
649
650 * dwarf2dbg.c (dwarf2_finish): Check for the existence of a file
651 table before deciding to produce a .debug_line section to match up
652 with a user provided .debug_info section.
653
3ad3f5ad
TL
6542004-10-28 Tomer Levi <Tomer.Levi@nsc.com>
655
656 * config/tc-crx.c (getreg_image): Bug fix, a return value was
657 mistakenly omitted from CRX_C_REGTYPE and CRX_CS_REGTYPE cases.
658
c815a616
TL
6592004-10-27 Tomer Levi <Tomer.Levi@nsc.com>
660
661 * config/tc-crx.c: Remove global variable 'post_inc_mode'.
662 (get_flags): New function.
c04f5787
AM
663 (get_number_of_bits): Edit comments, update numeric values to
664 supported sizes.
665 (process_label_constant): Don't support the colon
666 format (SYMBOL:[s|m|l]).
c815a616
TL
667 (set_cons_rparams): Support argument type 'arg_rbase'.
668 (get_operandtype): Bug fix in 'rbase' operand type parsing.
669 (handle_LoadStor): Bug fix, first handle post-increment mode.
c04f5787
AM
670 (getreg_image): Remove redundant code, update according to latest
671 CRX spec.
c815a616 672 (print_constant): Bug fix relate to 3-word instructions.
c04f5787 673 (assemble_insn): Bug fix, when matching instructions, verify also
c815a616
TL
674 instruction type (not only mnemonic).
675 Add various error checking.
676 (preprocess_reglist): Support HI/LO and user registers.
677
ed7af9f9
L
6782004-10-25 David Mosberger-Tang <davidm@hpl.hp.com>
679
c04f5787 680 * config/tc-ia64.c (fixup_unw_records): Don't let the "t" value
ed7af9f9
L
681 in an epilogue directive go negative.
682
ac025970
L
6832004-10-25 H.J. Lu <hongjiu.lu@intel.com>
684
685 PR 474
686 * config/tc-ia64.c (emit_one_bundle): Decrement md.num_slots_in_use
687 after reporting template error during manual bundling. Reported
688 by Michael Dupont, michaelx.dupont@intel.com.
689
a394c00f
NC
6902004-10-25 Daniel Jacobowitz <dan@debian.org>
691
692 * Makefile.am: Run dep-am.
693 * aclocal.m4: Regenerate with automake 1.9.2.
694 * Makefile.in: Regenerate with automake 1.9.2.
695 * doc/Makefile.in: Likewise.
696
697 * config/tc-arm.c: Include "dw2gencfi.h".
698 (tc_arm_regname_to_dw2regnum, tc_arm_frame_initial_instructions):
699 New functions.
700 * config/tc-arm.h (TARGET_USE_CFIPOP, DWARF2_DEFAULT_RETURN_COLUMN)
701 (DWARF2_CIE_DATA_ALIGNMENT, tc_regname_to_dw2regnum)
702 (tc_cfi_frame_initial_instructions): Define.
703 (tc_arm_regname_to_dw2regnum, tc_arm_frame_initial_instructions):
704 Add prototypes.
705
23d83918
TL
7062004-10-21 Tomer Levi <Tomer.Levi@nsc.com>
707
708 * config/tc-crx.c (assemble_insn): Check unsigned immediate
709 operands validity.
710 Update coprocessor id to be unsigned immediate.
711
bb41ade5
AM
7122004-10-18 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
713
714 * config/tc-i386.c (O_secrel): Delete.
715 (tc_pe_dwarf2_emit_offset): New function.
716 * config/tc-i386.h (O_secrel): Define as O_md1.
717 (TC_DWARF2_EMIT_OFFSET): Define.
718
87e62348
NC
7192004-10-18 Nick Clifton <nickc@redhat.com>
720
721 * config/tc-xstormy16.c (xstormy16_cons_fix_new): Accept and
722 ignore @fptr() directives for 4-byte fixups.
723
3c55da70
AM
7242004-10-15 Alan Modra <amodra@bigpond.net.au>
725
726 * Makefile.am: Run "make dep-am"
727 * Makefile.in: Regenerate.
728
40e7b7b9
BW
7292004-10-14 Bob Wilson <bob.wilson@acm.org>
730
731 * doc/c-xtensa.texi (Xtensa Options, Absolute Literals Directive):
732 Remove comments about placement of literal pools.
733 (Literal Directive): Update description of literal placement.
734 (Literal Prefix Directive): Remove statement that this does not apply
735 to absolute-mode literals. Describe new section naming scheme.
736
b08b5071
BW
7372004-10-12 Bob Wilson <bob.wilson@acm.org>
738
739 * config/tc-xtensa.c (xtensa_frequency_pseudo): Use set_subseg_freq.
740 (is_entry_opcode, is_movi_opcode, is_the_loop_opcode, is_jx_opcode,
741 is_windowed_return_opcode): Delete.
742 (xtensa_frob_label): Use get_subseg_target_freq.
743 (md_assemble): Inline call to is_entry_opcode.
744 (xtensa_handle_align): Inline call to get_frag_is_literal.
745 (relaxation_requirements): Inline call to is_jx_opcode.
746 (emit_single_op): Inline call to is_movi_opcode.
747 (xg_assemble_vliw_tokens): Inline calls to get_frag_is_insn,
748 get_frag_is_no_transform, is_entry_opcode, and
749 set_frag_is_specific_opcode. Use get_subseg_total_freq.
750 (xtensa_fix_a0_b_retw_frags, xtensa_fix_b_j_loop_end_frags,
751 xtensa_fix_close_loop_end_frags, relax_frag_immed, convert_frag_immed):
752 Inline calls to get_frag_is_no_transform.
753 (next_instrs_are_b_retw): Inline call to is_windowed_return_opcode.
754 (xtensa_fix_short_loop_frags): Inline calls to is_the_loop_opcode and
755 get_frag_is_no_transform.
756 (convert_frag_immed_finish_loop): Inline calls to get_expression_value
757 and set_frag_is_no_transform.
758 (get_expression_value): Delete.
759 (subseg_map struct): Rename cur_total_freq to total_freq. Rename
760 cur_target_freq to target_freq.
761 (get_subseg_info): Split out code to create a new map entry into ...
762 (add_subseg_info): ... this new function.
763 (get_last_insn_flags): Check if get_subseg_info succeeded.
764 (set_last_insn_flags): Call add_subseg_info if needed.
765 (get_subseg_total_freq, get_subseg_target_freq, set_subseg_freq): New.
766 (xtensa_reorder_segments): Compute last_sec while counting sections.
767 Remove call to get_last_sec.
768 (get_last_sec): Delete.
769 (cache_literal_section): Inline call to retrieve_literal_seg and its
770 callees, seg_present and add_seg_list.
771 (retrieve_literal_seg, seg_present, add_seg_list): Delete.
772 (get_frag_is_insn, get_frag_is_no_transform,
773 set_frag_is_specific_opcode, set_frag_is_no_transform): Delete.
774 * config/tc-xtensa.h (MAX_SLOTS): Reduce from 31 to 15.
775
7fa3d080
BW
7762004-10-12 Bob Wilson <bob.wilson@acm.org>
777
778 * config/tc-xtensa.c: Use ISO C90 formatting.
779 * config/tc-xtensa.h: Likewise.
780 * config/xtensa-istack.h: Likewise.
781 * config/xtensa-relax.c: Likewise.
782 * config/xtensa-relax.h: Likewise.
783
8cb51566
PB
7842004-10-12 Paul Brook <paul@codesourcery.com>
785
786 * config/tc-arm.c (md_begin): Change EF_ARM_EABI_VER3 to
787 EF_ARM_EABI_VER4.
788 (arm_eabis): Ditto.
789 * doc/c-arm.texi: Document that we actually support -meabi=4, not
790 -meabi=3.
791
653cfe85
BW
7922004-10-08 Bob Wilson <bob.wilson@acm.org>
793
794 * doc/as.texinfo (VTableEntry, VTableInherit): Add "directive" to index
795 entries.
796 (Acknowledgements): Use "GAS" instead of AS variable.
797
d2b2c203
DJ
7982004-10-08 Daniel Jacobowitz <dan@debian.org>
799
800 * config/tc-i386.c: Include "elf/x86-64.h".
801 (i386_elf_section_type): New function.
802 * config/tc-i386.h (md_elf_section_type): Define.
803 (i386_elf_section_type): New prototype.
804
e80e0390
NC
8052004-10-08 Linus Nielsen Feltzing <linus@haxx.se>
806
807 * config/m68k-parse.h (enum m68k_register): New control register,
808 MBAR2 (for MCF5249)
809 * config/tc-m68k.c: Correct control register set for MCF5249.
810
43cd72b9 8112004-10-07 Bob Wilson <bob.wilson@acm.org>
85a5ac80 812 Sterling Augustine <sterling@tensilica.com>
43cd72b9
BW
813
814 * config/tc-xtensa.c (absolute_literals_supported): New global flag.
815 (UNREACHABLE_MAX_WIDTH): Define.
816 (XTENSA_FETCH_WIDTH): Delete.
817 (cur_vinsn, xtensa_fetch_width, xt_saved_debug_type, past_xtensa_end,
818 prefer_const16, prefer_l32r): New global variables.
819 (LIT4_SECTION_NAME): Define.
820 (lit4_state struct): Add lit4_seg_name and lit4_seg fields.
821 (XTENSA_PROP_*, GET_XTENSA_PROP_*, SET_XTENSA_PROP_*): Define.
822 (frag_flags struct): New.
c04f5787 823 (xtensa_block_info struct): Move from tc-xtensa.h. Add flags field.
43cd72b9
BW
824 (subseg_map struct): Add cur_total_freq and cur_target_freq fields.
825 (bitfield, bit_is_set, set_bit, clear_bit): Define.
826 (MAX_FORMATS): Define.
827 (op_placement_info struct, op_placement_table): New.
828 (O_pltrel, O_hi16, O_lo16): Define.
829 (directiveE enum): Rename directive_generics to directive_transform.
830 Delete directive_relax. Add directive_schedule,
831 directive_absolute_literals, and directive_last_directive.
832 (directive_info): Rename "generics" to "transform". Delete "relax".
833 Add "schedule" and "absolute-literals".
834 (directive_state): Adjust entries to match changes in directive_info.
835 (xtensa_relax_statesE, RELAX_IMMED_MAXSTEPS): Move to tc-xtensa.h.
836 (xtensa_const16_opcode, xtensa_movi_opcode, xtensa_movi_n_opcode,
837 xtensa_l32r_opcode, xtensa_nop_opcode, xtensa_rsr_lcount_opcode): New.
838 (xtensa_j_opcode, xtensa_rsr_opcode): Delete.
839 (align_only_targets, software_a0_b_retw_interlock,
840 software_avoid_b_j_loop_end, maybe_has_b_j_loop_end,
841 software_avoid_short_loop, software_avoid_close_loop_end,
842 software_avoid_all_short_loops, specific_opcode): Delete.
843 (warn_unaligned_branch_targets): New.
844 (workaround_a0_b_retw, workaround_b_j_loop_end, workaround_short_loop,
845 workaround_close_loop_end, workaround_all_short_loops): Default FALSE.
846 (option_[no_]link_relax, option_[no_]transform,
847 option_[no_]absolute_literals, option_warn_unaligned_targets,
848 option_prefer_l32r, option_prefer_const16, option_target_hardware):
849 New enum values.
850 (option_[no_]align_only_targets, option_literal_section_name,
851 option_text_section_name, option_data_section_name,
852 option_bss_section_name, option_eb, option_el): Delete.
853 (md_longopts): Add entries for: [no-]transform, [no-]absolute-literals,
854 warn-unaligned-targets, prefer-l32r, prefer-const16, [no-]link-relax,
855 and target-hardware. Delete entries for [no-]target-align-only,
856 literal-section-name, text-section-name, data-section-name, and
857 bss-section-name.
858 (md_parse_option): Handle new options and remove old ones. Accept but
859 ignore [no-]density options. Warn for [no-]generics and [no-]relax
860 and treat them as [no-]transform.
861 (md_show_usage): Add new options and remove old ones.
862 (xtensa_setup_hw_workarounds): New.
863 (md_pseudo_table): Change "word" entry to use xtensa_elf_cons. Add
864 "long", "short", "loc" and "frequency" entries.
865 (use_generics): Rename to ...
866 (use_transform): ... this function. Add past_xtensa_end check.
867 (use_longcalls): Add past_xtensa_end check.
868 (code_density_available, can_relax): Delete.
869 (do_align_targets): New.
870 (get_directive): Accept dashes in directive names. Warn about
871 [no-]generics and [no-]relax directives and treat them as
c04f5787 872 [no-]transform.
43cd72b9
BW
873 (xtensa_begin_directive): Call md_flush_pending_output only for some
874 directives. Check for directives inside instruction bundles. Warn
875 about deprecated ".begin literal" usage. Warn and ignore [no-]density
876 directives. Handle new directives. Check generating_literals flag
877 for literal_prefix.
878 (xtensa_end_directive): Check for directives inside instruction
879 bundles. Warn and ignore [no-]density directives. Handle new
880 directives. Call xtensa_set_frag_assembly_state.
881 (xtensa_loc_directive_seen, xtensa_dwarf2_directive_loc,
882 xtensa_dwarf2_emit_insn): New.
883 (xtensa_literal_position): Call md_flush_pending_output. Do not check
884 use_literal_section flag.
885 (xtensa_literal_pseudo): Call md_flush_pending_output. Handle absolute
886 literals. Use xtensa_elf_cons to parse the expression.
887 (xtensa_literal_prefix): Do not check use_literal_section. Support
888 ".lit4" sections for absolute literals. Change prefix convention to
889 replace ".text" (or ".t" in a linkonce section). No need to call
890 subseg_set.
891 (xtensa_frequency_pseudo, xtensa_elf_cons, xtensa_elf_suffix): New.
892 (expression_end): Handle closing braces and colons.
893 (PLT_SUFFIX, plt_suffix): Delete.
894 (expression_maybe_register): Use new xtensa-isa.h functions. Use
895 xtensa_elf_suffix instead of checking for plt suffix, and handle O_lo16
896 and O_hi16 expressions as well.
897 (tokenize_arguments): Handle closing braces and colons.
898 (parse_arguments): Use new xtensa-isa.h functions. Handle "invisible"
899 operands and paired register syntax.
900 (get_invisible_operands): New.
901 (xg_translate_sysreg_op): Handle new Xtensa LX RSR/WSR/XSR syntax. Use
902 new xtensa-isa.h functions.
903 (xtensa_translate_old_userreg_ops, xtensa_translate_zero_immed): New.
904 (xg_translate_idioms): Check if inside bundle. Use use_transform.
905 Handle new Xtensa LX RSR/WSR/XSR syntax. Remove code to widen density
906 instructions. Use xtensa_translate_zero_immed.
907 (operand_is_immed, operand_is_pcrel_label): Delete.
908 (get_relaxable_immed): Use new xtensa-isa.h functions.
909 (get_opcode_from_buf): Add slot parameter. Use new xtensa-isa.h
910 functions.
911 (xtensa_print_insn_table, print_vliw_insn): New.
912 (is_direct_call_opcode): Use new xtensa-isa.h functions.
913 (is_call_opcode, is_loop_opcode, is_conditional_branch_opcode,
914 is_branch_or_jump_opcode): Delete.
915 (is_movi_opcode, decode_reloc, encode_reloc, encode_alt_reloc): New.
916 (opnum_to_reloc, reloc_to_opnum): Delete.
917 (xtensa_insnbuf_set_operand, xtensa_insnbuf_get_operand): Use new
918 xtensa-isa.h functions. Operate on one slot of an instruction.
919 (xtensa_insnbuf_set_immediate_field, is_negatable_branch,
920 xg_get_insn_size): Delete.
921 (xg_get_build_instr_size): Use xg_get_single_size.
922 (xg_is_narrow_insn, xg_is_single_relaxable_insn): Update calls to
923 xg_build_widen_table. Use xg_get_single_size.
924 (xg_get_max_narrow_insn_size): Delete.
925 (xg_get_max_insn_widen_size, xg_get_max_insn_widen_literal_size,
926 xg_is_relaxable_insn): Update calls to xg_build_widen_table. Use
927 xg_get_single_size.
928 (xg_build_to_insn): Record the loc field. Handle OP_OPERAND_HI16U and
929 OP_OPERAND_LOW16U. Check xg_valid_literal_expression.
930 (xg_expand_to_stack, xg_expand_narrow): Update calls to
931 xg_build_widen_table. Use xg_get_single_size.
932 (xg_immeds_fit): Use new xtensa-isa.h functions. Update call to
933 xg_check_operand.
934 (xg_symbolic_immeds_fit): Likewise. Also handle O_lo16 and O_hi16, and
935 treat weak symbols conservatively.
936 (xg_check_operand): Use new xtensa-isa.h functions.
937 (is_dnrange): Delete.
938 (xg_assembly_relax): Inline previous calls to tinsn_copy.
939 (xg_finish_frag): Specify separate relax states for the frag and slot0.
940 (is_branch_jmp_to_next, xg_add_branch_and_loop_targets): Use new
941 xtensa-isa.h functions.
942 (xg_instruction_matches_option_term, xg_instruction_matches_or_options,
943 xg_instruction_matches_options): New.
944 (xg_instruction_matches_rule): Handle O_register expressions. Call
945 xg_instruction_matches_options.
946 (transition_rule_cmp): New.
947 (xg_instruction_match): Update call to xg_build_simplify_table.
948 (xg_build_token_insn): Record loc fields.
949 (xg_simplify_insn): Check is_specific_opcode field and
950 density_supported flag.
951 (xg_expand_assembly_insn): Skip checking code_density_available. Use
952 new xtensa-isa.h functions. Call use_transform instead of can_relax.
953 (xg_assemble_literal): Add error handling for O_big. Call
954 record_alignment. Handle O_pltrel.
955 (xg_valid_literal_expression): New.
956 (xg_assemble_literal_space): Add slot parameter. Remove call to
957 set_expr_symbol_offset. Add call to record_alignment. Update call to
958 xg_finish_frag.
959 (xg_emit_insn): Delete.
960 (xg_emit_insn_to_buf): Add format parameter. Update calls to
961 xg_add_opcode_fix and xtensa_insnbuf_to_chars.
962 (xg_add_opcode_fix): Change opcode parameter to tinsn and add format
963 and slot parameters. Handle new "alternate" relocations for absolute
964 literals and CONST16 instructions. Check for bad uses of O_lo16 and
965 O_hi16. Use new xtensa-isa.h functions.
966 (xg_assemble_tokens): Delete.
967 (is_register_writer): Use new xtensa-isa.h functions.
968 (is_bad_loopend_opcode): Check for xtensa_rsr_lcount_opcode instead of
969 old-style RSR from LCOUNT.
970 (next_frag_opcode): Delete.
971 (next_frag_opcode_is_loop, next_frag_format_size, frag_format_size,
972 update_next_frag_state): New.
973 (update_next_frag_nop_state): Delete.
974 (next_frag_pre_opcode_bytes): Use next_frag_opcode_is_loop.
975 (xtensa_mark_literal_pool_location): Check use_literal_section flag and
976 the state of the absolute-literals directive. Add calls to
977 record_alignment and xtensa_set_frag_assembly_state. Call
978 xtensa_switch_to_non_abs_literal_fragment instead of
979 xtensa_switch_to_literal_fragment.
980 (build_nop): New.
981 (assemble_nop): Use build_nop. Update call to xtensa_insnbuf_to_chars.
982 (get_expanded_loop_offset): Change check for undefined opcode to an
983 assertion.
984 (xtensa_set_frag_assembly_state, relaxable_section,
985 xtensa_find_unmarked_state_frags, xtensa_find_unaligned_branch_targets,
986 xtensa_find_unaligned_loops, xg_apply_tentative_value): New.
987 (md_begin): Update call to xtensa_isa_init. Initialize linkrelax to 1.
988 Set lit4_seg_name. Call xg_init_vinsn. Initialize new global opcodes.
989 Call init_op_placement_info_table and xtensa_set_frag_assembly_state.
990 (xtensa_init_fix_data): New.
991 (xtensa_frob_label): Reset label symbol to the current frag. Check
992 do_align_targets and generating_literals flag. Propagate frequency
993 info to new alignment frag. Call xtensa_set_frag_assembly_state.
994 (xtensa_unrecognized_line): New.
995 (xtensa_flush_pending_output): Check if inside a bundle. Add a call
996 to xtensa_set_frag_assembly_state.
997 (error_reset_cur_vinsn): New.
998 (md_assemble): Remove check for literal frag. Remove call to
999 istack_init. Call use_transform instead of use_generics. Parse
1000 explicit instruction format specifiers. Move code for
1001 a0_b_retw_interlock workaround to xg_assemble_vliw_tokens. Call
1002 error_reset_cur_vinsn on errors. Add call to get_invisible_operands.
1003 Add dwarf2_where call. Remote automatic alignment for ENTRY
1004 instructions. Move call to xtensa_clear_insn_labels to the end.
1005 Rearrange to handle bundles.
1006 (xtensa_cons_fix_new): Delete.
1007 (xtensa_handle_align): New.
1008 (xtensa_frag_init): Call xtensa_set_frag_assembly_state. Remove
1009 assignment to is_no_density field.
1010 (md_pcrel_from): Use new xtensa-isa.h functions. Use decode_reloc
1011 instead of reloc_to_opnum. Handle "alternate" relocations.
1012 (xtensa_force_relocation, xtensa_check_inside_bundle,
1013 xtensa_elf_section_change_hook): New.
1014 (xtensa_symbol_new_hook): Delete.
1015 (xtensa_fix_adjustable): Check for difference of symbols with an
1016 offset. Check for external and weak symbols.
1017 (md_apply_fix3): Remove cases for XTENSA_OP{0,1,2} relocs.
1018 (md_estimate_size_before_relax): Return expansion for the first slot.
1019 (tc_gen_reloc): Handle difference of symbols by producing
1020 XTENSA_DIFF{8,16,32} relocs and by writing the value of the difference
1021 into the output. Handle new XTENSA_SLOT*_OP relocs by storing the
1022 tentative values into the output when linkrelax is set.
1023 (XTENSA_PROP_SEC_NAME): Define.
1024 (xtensa_post_relax_hook): Call xtensa_find_unmarked_state_frags.
1025 Create literal tables only if using literal sections. Create new
1026 property tables instead of old instruction tables. Check for unaligned
1027 branch targets and loops.
1028 (finish_vinsn, find_vinsn_conflicts, check_t1_t2_reads_and_writes,
1029 new_resource_table, clear_resource_table, resize_resource_table,
1030 resources_available, reserve_resources, release_resources,
1031 opcode_funcUnit_use_unit, opcode_funcUnit_use_stage,
1032 resources_conflict, xg_find_narrowest_format, relaxation_requirements,
1033 bundle_single_op, emit_single_op, xg_assemble_vliw_tokens): New.
1034 (xtensa_end): Call xtensa_flush_pending_output. Set past_xtensa_end
1035 flag. Update checks for workaround options. Call
1036 xtensa_mark_narrow_branches and xtensa_mark_zcl_first_insns.
1037 (xtensa_cleanup_align_frags): Add special case for branch targets.
1038 Check for and mark unreachable frags.
1039 (xtensa_fix_target_frags): Remove use of align_only_targets flag.
1040 Use RELAX_LOOP_END_BYTES in special case for negatable branch at the
1041 end of a zero-overhead loop body.
1042 (frag_can_negate_branch): Handle instructions with multiple slots.
1043 Use new xtensa-isa.h functions
1044 (xtensa_mark_narrow_branches, is_narrow_branch_guaranteed_in_range,
1045 xtensa_mark_zcl_first_insns): New.
1046 (xtensa_fix_a0_b_retw_frags, xtensa_fix_b_j_loop_end_frags): Error if
1047 transformations are disabled.
1048 (next_instrs_are_b_retw): Use new xtensa-isa.h functions. Handle
1049 multislot instructions.
1050 (xtensa_fix_close_loop_end_frags, xtensa_fix_short_loop_frags):
1051 Likewise. Also error if transformations are disabled.
1052 (unrelaxed_frag_max_size): New.
1053 (unrelaxed_frag_min_insn_count, unrelax_frag_has_b_j): Use new
1054 xtensa-isa.h functions.
1055 (xtensa_sanity_check, is_empty_loop, is_local_forward_loop): Use
1056 xtensa_opcode_is_loop instead of is_loop_opcode.
1057 (get_text_align_power): Replace as_fatal with assertion.
1058 (get_text_align_fill_size): Iterate instead of using modulus when
1059 use_nops is false.
1060 (get_noop_aligned_address): Assert that this is for a machine-dependent
1061 RELAX_ALIGN_NEXT_OPCODE frag. Use next_frag_opcode_is_loop,
1062 xg_get_single_size, and frag_format_size.
1063 (get_widen_aligned_address): Rename to ...
1064 (get_aligned_diff): ... this function. Add max_diff parameter.
1065 Remove handling of rs_align/rs_align_code frags. Use
1066 next_frag_format_size, get_text_align_power, get_text_align_fill_size,
1067 next_frag_opcode_is_loop, and xg_get_single_size. Compute max_diff
1068 and pass it back to caller.
1069 (xtensa_relax_frag): Use relax_frag_loop_align. Add code for new
1070 RELAX_SLOTS, RELAX_MAYBE_UNREACHABLE, RELAX_MAYBE_DESIRE_ALIGN,
1071 RELAX_FILL_NOP, and RELAX_UNREACHABLE frag types. Check relax_seen.
1072 (relax_frag_text_align): Rename to ...
1073 (relax_frag_loop_align): ... this function. Assume loops can only be
1074 in the first slot of an instruction.
1075 (relax_frag_add_nop): Use assemble_nop instead of constructing an OR
1076 instruction. Remove call to frag_wane.
1077 (relax_frag_narrow): Rename to ...
1078 (relax_frag_for_align): ... this function. Extend to handle
1079 RELAX_FILL_NOP and RELAX_UNREACHABLE, as well as RELAX_SLOTS with
1080 RELAX_NARROW for the first slot.
1081 (find_address_of_next_align_frag, bytes_to_stretch): New.
1082 (future_alignment_required): Use find_address_of_next_align_frag and
1083 bytes_to_stretch. Look ahead to subsequent frags to make smarter
1084 alignment decisions.
1085 (relax_frag_immed): Add format, slot, and estimate_only parameters.
1086 Check if transformations are enabled for b_j_loop_end workaround.
1087 Use new xtensa-isa.h functions and handle multislot instructions.
1088 Update call to xg_assembly_relax.
1089 (md_convert_frag): Handle new RELAX_SLOTS, RELAX_UNREACHABLE,
1090 RELAX_MAYBE_UNREACHABLE, RELAX_MAYBE_DESIRE_ALIGN, and RELAX_FILL_NOP
1091 frag types.
1092 (convert_frag_narrow): Add segP, format and slot parameters. Call
1093 convert_frag_immed for branch instructions. Adjust calls to
1094 tinsn_from_chars, tinsn_immed_from_frag, and xg_emit_insn_to_buf. Use
1095 xg_get_single_size and xg_get_single_format.
1096 (convert_frag_fill_nop): New.
1097 (convert_frag_immed): Add format and slot parameters. Handle multislot
1098 instructions and use new xtensa-isa.h functions. Update calls to
1099 tinsn_immed_from_frag and xg_assembly_relax. Check if transformations
1100 enabled for b_j_loop_end workaround. Use build_nop instead of
1101 assemble_nop. Check is_specific_opcode flag. Check for unreachable
1102 frags. Use xg_get_single_size. Handle O_pltrel.
1103 (fix_new_exp_in_seg): Remove check for old plt flag.
1104 (convert_frag_immed_finish_loop): Update calls to tinsn_from_chars and
1105 xtensa_insnbuf_to_chars. Call tinsn_immed_from_frag. Change check
1106 for loop opcode to an assertion. Mark all frags up to the end of the
1107 loop as not transformable.
1108 (get_last_insn_flags, set_last_insn_flags): Use get_subseg_info.
1109 (get_subseg_info): New.
1110 (xtensa_move_literals): Call xtensa_set_frag_assembly_state. Add null
1111 check for dest_seg.
1112 (xtensa_switch_to_literal_fragment): Rewrite to handle absolute
1113 literals and use xtensa_switch_to_non_abs_literal_fragment otherwise.
1114 (xtensa_switch_to_non_abs_literal_fragment): New.
1115 (cache_literal_section): Add is_code parameter and pass it through to
1116 retrieve_literal_seg.
1117 (retrieve_literal_seg): Add is_code parameter and use it to set the
1118 flags on the literal section. Handle case where head parameter is 0.
1119 (get_frag_is_no_transform, set_frag_is_specific_opcode,
1120 set_frag_is_no_transform): New.
1121 (xtensa_create_property_segments): Add end_property_function parameter
1122 and pass it through to add_xt_block_frags. Call bfd_get_section_flags
1123 and skip SEC_DEBUGGING and !SEC_ALLOC sections.
1124 (xtensa_create_xproperty_segments, section_has_xproperty): New.
1125 (add_xt_block_frags): Add end_property_function parameter and call it
1126 if it is non-zero. Call xtensa_frag_flags_init.
1127 (xtensa_frag_flags_is_empty, xtensa_frag_flags_init,
1128 get_frag_property_flags, frag_flags_to_number,
1129 xtensa_frag_flags_combinable, xt_block_aligned_size,
1130 xtensa_xt_block_combine, add_xt_prop_frags,
1131 init_op_placement_info_table, opcode_fits_format_slot,
1132 xg_get_single_size, xg_get_single_format): New.
1133 (istack_push): Inline call to tinsn_copy.
1134 (tinsn_copy): Delete.
1135 (tinsn_has_invalid_symbolic_operands): Handle O_hi16 and O_lo16 and
1136 CONST16 opcodes. Handle O_big, O_illegal, and O_absent.
1137 (tinsn_has_complex_operands): Handle O_hi16 and O_lo16.
1138 (tinsn_to_insnbuf): Use xg_get_single_format and new xtensa-isa.h
1139 functions. Handle invisible operands.
1140 (tinsn_to_slotbuf): New.
1141 (tinsn_check_arguments): Use new xtensa-isa.h functions.
1142 (tinsn_from_chars): Add slot parameter. Rewrite using xg_init_vinsn,
1143 vinsn_from_chars, and xg_free_vinsn.
1144 (tinsn_from_insnbuf): New.
1145 (tinsn_immed_from_frag): Add slot parameter and handle multislot
1146 instructions. Handle symbol differences.
1147 (get_num_stack_text_bytes): Use xg_get_single_size.
1148 (xg_init_vinsn, xg_clear_vinsn, vinsn_has_specific_opcodes,
1149 xg_free_vinsn, vinsn_to_insnbuf, vinsn_from_chars, expr_is_register,
1150 get_expr_register, set_expr_symbol_offset_diff): New.
1151 * config/tc-xtensa.h (MAX_SLOTS): Define.
1152 (xtensa_relax_statesE): Move from tc-xtensa.c. Add
1153 RELAX_CHECK_ALIGN_NEXT_OPCODE, RELAX_MAYBE_DESIRE_ALIGN, RELAX_SLOTS,
1154 RELAX_FILL_NOP, RELAX_UNREACHABLE, RELAX_MAYBE_UNREACHABLE, and
1155 RELAX_NONE types.
1156 (RELAX_IMMED_MAXSTEPS): Move from tc-xtensa.c.
1157 (xtensa_frag_type struct): Add is_assembly_state_set,
1158 use_absolute_literals, relax_seen, is_unreachable, is_specific_opcode,
1159 is_align, is_text_align, alignment, and is_first_loop_insn fields.
1160 Replace is_generics and is_relax fields by is_no_transform field.
1161 Delete is_text and is_longcalls fields. Change text_expansion and
1162 literal_expansion to arrays of MAX_SLOTS entries. Add arrays of
1163 per-slot information: literal_frags, slot_subtypes, slot_symbols,
1164 slot_sub_symbols, and slot_offsets. Add fr_prev field.
1165 (xtensa_fix_data struct): New.
1166 (xtensa_symfield_type struct): Delete plt field.
1167 (xtensa_block_info struct): Move definition to tc-xtensa.h. Add
1168 forward declaration here.
1169 (xt_section_type enum): Delete xt_insn_sec. Add xt_prop_sec.
1170 (XTENSA_SECTION_RENAME): Undefine.
1171 (TC_FIX_TYPE, TC_INIT_FIX_DATA, TC_FORCE_RELOCATION, NO_PSEUDO_DOT,
1172 tc_unrecognized_line, md_do_align, md_elf_section_change_hook,
1173 HANDLE_ALIGN, TC_LINKRELAX_FIXUP, SUB_SEGMENT_ALIGN): Define.
1174 (TC_CONS_FIX_NEW, tc_symbol_new_hook): Delete.
1175 (unit_num_copies_func, opcode_num_units_func,
1176 opcode_funcUnit_use_unit_func, opcode_funcUnit_use_stage_func): New.
1177 (resource_table struct): New.
1178 * config/xtensa-istack.h (MAX_INSN_ARGS): Increase from 6 to 10.
1179 (TInsn struct): Add keep_wide, loc, fixup, record_fix, subtype,
1180 literal_space, symbol, sub_symbol, offset, and literal_frag fields.
1181 (tinsn_copy): Delete prototype.
1182 (vliw_insn struct): New.
1183 * config/xtensa-relax.c (insn_pattern_struct): Add options field.
1184 (widen_spec_list): Add option conditions for density and boolean
1185 instructions. Add expansions using CONST16 and conditions for using
1186 CONST16 vs. L32R. Use new Xtensa LX RSR/WSR syntax. Add entries for
1187 predicted branches.
1188 (simplify_spec_list): Add option conditions for density instructions.
1189 Add entry for NOP instruction.
1190 (append_transition): Add cmp function pointer parameter and use it to
1191 insert the new entry in order.
1192 (operand_function_LOW16U, operand_function_HI16U): New.
1193 (xg_has_userdef_op_fn, xg_apply_userdef_op_fn): Handle
1194 OP_OPERAND_LOW16U and OP_OPERAND_HI16U.
1195 (enter_opname, split_string): Use xstrdup instead of strdup.
1196 (init_insn_pattern): Initialize new options field.
1197 (clear_req_or_option_list, clear_req_option_list,
1198 clone_req_or_option_list, clone_req_option_list, parse_option_cond):
1199 New.
1200 (parse_insn_pattern): Parse option conditions.
1201 (transition_applies): New.
1202 (build_transition): Use new xtensa-isa.h functions. Fix incorrectly
1203 swapped last arguments in calls to append_constant_value_condition.
1204 Call clone_req_option_list. Add warning about invalid opcode.
1205 Handle LOW16U and HI16U function names.
1206 (build_transition_table): Add cmp parameter and use it in calls to
1207 append_transition. Use new xtensa-isa.h functions. Check
1208 transition_applies before adding entries.
1209 (xg_build_widen_table, xg_build_simplify_table): Add cmp parameter and
1210 pass it through to build_transition_table.
1211 * config/xtensa-relax.h (ReqOrOptionList, ReqOrOption, ReqOptionList,
1212 ReqOption, transition_cmp_fn): New types.
1213 (OpType enum): Add OP_OPERAND_LOW16U and OP_OPERAND_HI16U.
1214 (transition_rule struct): Add options field.
1215 * doc/as.texinfo (Overview): Update Xtensa options.
1216 * doc/c-xtensa.texi (Xtensa Options): Delete --[no-]density,
1217 --[no-]relax, and --[no-]generics options. Update descriptions of
1218 --text-section-literals and --[no-]longcalls. Add
1219 --[no-]absolute-literals and --[no-]transform.
1220 (Xtensa Syntax): Add description of syntax for FLIX instructions.
1221 Remove use of "generic" and "specific" terminology for opcodes.
1222 (Xtensa Registers): Generalize the syntax description to include
1223 user-defined register files.
1224 (Xtensa Automatic Alignment): Update.
1225 (Xtensa Branch Relaxation): Mention limitation of unconditional jumps.
1226 (Xtensa Call Relaxation): Linker can now remove most of the overhead.
1227 (Xtensa Directives): Remove confusing rules about precedence.
1228 (Density Directive, Relax Directive): Delete.
1229 (Schedule Directive): New.
1230 (Generics Directive): Rename to ...
1231 (Transform Directive): ... this node.
1232 (Literal Directive): Update for absolute literals. Missing
1233 literal_position directive is now an error.
1234 (Literal Position Directive): Update for absolute literals.
1235 (Freeregs Directive): Delete.
1236 (Absolute Literals Directive): New.
1237 (Frame Directive): Minor editing.
1238 * Makefile.am (DEPTC_xtensa_elf, DEPOBJ_xtensa_elf, DEP_xtensa_elf):
1239 Update dependencies.
1240 * Makefile.in: Regenerate.
1241
6e1304d8
RS
12422004-10-07 Richard Sandiford <rsandifo@redhat.com>
1243
1244 * config/tc-mips.c (append_insn): Use fix_new rather than fix_new_exp
1245 to build the second and third fixups for a composite relocation.
1246 (macro_read_relocs): New function.
1247 (macro_build): Use it.
1248 (s_cpsetup): Pass all three composite relocation codes to macro_build.
1249 Simplify fragging code accordingly.
1250 (s_gpdword): Use fix_new rather than fix_new_exp for the second part
1251 of the composite relocation. Set fx_tcbit in both fixups.
1252
b1dca8ee
RS
12532004-10-07 Richard Sandiford <rsandifo@redhat.com>
1254
1255 * config/tc-mips.c (append_insn): Set fx_tcbit for composite relocs.
1256 (md_apply_fix3): Don't treat composite relocs as done.
1257
89658e52
NC
12582004-10-07 Jan Beulich <jbeulich@novell.com>
1259
1260 * macro.c (macro_expand_body): When ELF, use .LL rather than LL as
1261 prefix for symbol names generated from the LOCAL macro directive.
1262
289040ca
NC
1263 * dw2gencfi.c (select_cie_for_fde): When separating CIE out from
1264 FDE, treat a DW_CFA_remember_state as we do a DW_CFA_advance_loc.
1265
48c9f030
NC
12662004-10-07 Tomer Levi <Tomer.Levi@nsc.com>
1267
1268 * config/tc-crx.c (preprocess_reglist): Handle Co-processor
c04f5787 1269 Special registers.
5c5054ab 1270 (md_assemble): Add error checking for Co-Processor instructions.
48c9f030
NC
1271 (get_cinv_parameters): Add 'b' option to invalidate the
1272 branch-target cache.
1273
7ed4c4c5
NC
12742004-10-05 Paul Brook <paul@codesourcery.com>
1275
1276 * config/tc-arm.c (unwind): New variable.
1277 (vfp_sp_encode_reg): New function.
1278 (vfp_sp_reg_required_here): Use it.
1279 (vfp_sp_reg_list, vfp_dp_reg_list): Remove.
1280 (vfp_parse_reg_list): New function.
1281 (s_arm_unwind_fnstart, s_arm_unwind_fnend, s_arm_unwind_cantunwind,
1282 s_arm_unwind_personality, s_arm_unwind_personalityindex,
1283 s_arm_unwind_handlerdata, s_arm_unwind_save, s_arm_unwind_movsp,
1284 s_arm_unwind_pad, s_arm_unwind_setfp, s_arm_unwind_raw): New
1285 functions.
1286 (md_pseudo_table): Add them.
1287 (do_vfp_reg2_from_sp2): Use vfp_parse_reg_list and vfp_sp_encode_reg.
1288 (do_vfp_sp2_from_reg2, vfp_sp_ldstm, vfp_dp_ldstm): Ditto.
1289 (set_section, add_unwind_adjustsp, flush_pending_unwind,
1290 finish_unwind_opcodes, start_unwind_section, create_unwind_entry,
1291 require_hashconst, add_unwind_opcode): New functions.
1292 * doc/tc-arm.text: Document unwinding opcodes.
1293 * NEWS: Mention the new feature.
1294
04ca8703
EC
12952004-10-04 Eric Christopher <echristo@redhat.com>
1296
1297 * config/tc-mips.c (md_apply_fix3): Remove erroneous assert.
1298
7c1d0959
L
12992004-10-01 H.J. Lu <hongjiu.lu@intel.com>
1300
1301 * config/tc-ppc.c (md_apply_fix3): Call S_SET_THREAD_LOCAL for
1302 TLS relocations.
1303 * config/tc-s390.c (md_apply_fix3): Likewise.
1304 * config/tc-sparc.c (md_apply_fix3): Likewise.
1305
40a18ebd
NC
13062004-10-01 Paul Brook <paul@codesourcery.com>
1307
1308 * config/tc-arm.c (arm_elf_section_type): New function.
1309 (arm_elf_change_section): Set section link for exidx sections.
1310 * config/tc-arm.h (arm_elf_section_type): Add prototype.
1311 (md_elf_section_type): Define.
1312
14127cc4
NC
13132004-10-01 Bill Farmer <Bill@the-farmers.freeserve.co.uk>
1314
1315 * config/tc-pdp11.c (md_apply_fix3): Change to sign of the SOB
1316 instruction's offset.
1317
b7c92712
NC
13182004-10-01 Adam Nemet <anemet@lnxw.com>
1319
1320 * (TARGET_FORMAT): Remove LynxOS COFF definition.
1321
65555e64
AM
13222004-10-01 Ravi Ramaseshan <ravi.ramaseshan@codito.com>
1323
1324 * config/tc-arc.c (tc_gen_reloc): Don't assume fixP->fx_addsy is an
1325 asymbol *, instead use symbol_get_bfdsym.
1326
9fe0b840
NC
13272004-09-30 Linus Nielsen Feltzing <linus@haxx.se>
1328
1329 * config/tc-m68k.c (select_control_regs): Add mcf5249.
1330
0dd132b6
NC
13312004-09-30 Paul Brook <paul@codesourcery.com>
1332
1333 * config/tc-arm.c (do_smi, do_nop): New functions.
1334 (insns): Add ARMv6ZK instructions.
1335 (md_apply_fix3): Handle BFD_RELOC_ARM_SMI.
1336 (tc_gen_reloc): Ditto.
1337 (arm_cpus): Add mpcore and arm1176.
1338 (arm_archs): Add armv6{k,z,zk}.
1339 * doc/c-arm.texi: Document new cores and architectures.
1340
a737bd4d
NC
13412004-09-30 Nick Clifton <nickc@redhat.com>
1342
1343 * config/tc-arm.c: Use ISO C90 formatting.
1344
3631a3c8
NC
13452004-09-30 Vladimir Ivanov <vladitx@nucleusys.com>
1346
a737bd4d 1347 * config/tc-arm.c (mav_reg_required_here): Allow REG_TYPE_CN
3631a3c8
NC
1348 as alternative when REG_TYPE_MVF, REG_TYPE_MVD, REG_TYPE_MVFX or
1349 REG_TYPE_MVDX is expected.
1350
d5f0cf92
AM
13512004-09-29 Marc Bevand <m.bevand@gmail.com>
1352
1353 * doc/c-i386.texi (i386-Mnemonics): Fix typo.
1354
9f9a069e
JW
13552004-09-21 James E Wilson <wilson@specifixinc.com>
1356
1357 * config/tc-ia64.c (ENCODED_PSP_OFFSET): New.
1358 (output_rp_psprel, output_pfs_psprel, output_preds_psprel,
1359 output_spill_base, output_unat_psprel, output_lc_psprel,
1360 output_fpsr_psprel, output_priunat_psprel, output_bsp_psprel,
1361 output_bsprestore_psprel, output_rnat_psprel, output_spill_psprel,
1362 output_spill_psprel_p): Use it.
1363
4b778c88
TL
13642004-09-20 Tomer Levi <Tomer.Levi@nsc.com>
1365
c04f5787 1366 * config/tc-crx.c (handle_LoadStor): New function.
04ca8703 1367 Handle load/stor unique instructions before parsing.
4b778c88 1368
eb043451
PB
13692004-09-17 Paul Brook <paul@codesourcery.com>
1370
1371 * config/tc-arm.c (s_arm_rel31): New funciton.
1372 (md_pseudo_table): Add .rel31.
04ca8703 1373 (md_apply_fix3): Handle BFD_RELOC_ARM_TARGET2,
eb043451
PB
1374 BFD_RELOC_32_PCREL and BFD_RELOC_ARM_PREL31.
1375 (tc_gen_reloc): Handle BFD_RELOC_ARM_PREL31 and BFD_RELOC_ARM_TARGET2.
1376 (arm_fix_adjustable): Return 0 for BFD_RELOC_ARM_TARGET2.
1377 (arm_parse_reloc): Add (target2).
1378
8ea2b00f
AM
13792004-09-17 Alan Modra <amodra@bigpond.net.au>
1380
1381 * Makefile.am: Run "make dep-am".
1382 * Makefile.in: Regenerate.
1383 * aclocal.m4: Regenerate.
1384 * configure: Regenerate.
1385 * doc/Makefile.in: Regenerate.
1386 * po/POTFILES.in: Regenerate.
1387 * po/gas.pot: Regenerate.
1388
7e1792e0
HPN
13892004-09-14 Hideki IWAMOTO <h-iwamoto@kit.hi-ho.ne.jp>
1390
1391 * config/tc-mmix.c [!LLONG_MIN]: Correct #elsif to #elif.
1392 [!LLONG_MAX]: Ditto.
1393
9c504268
PB
13942004-09-13 Paul Brook <paul@codesourcery.com>
1395
1396 * config/tc-arm.c: Rename RELABS to TARGET1.
1397
2159ac21
AM
13982004-09-13 Alan Modra <amodra@bigpond.net.au>
1399
1400 * messages.c (as_internal_value_out_of_range): Cast values passed
1401 to as_bad_where or as_warn_where to proper type.
1402
23794b24
MM
14032004-09-11 Theodore A. Roth <troth@openavr.org>
1404
1405 * config/tc-avr.c: Add support for
1406 atmega48, atmega88, atmega168, attiny13, attiny2313, at90can128.
1407
e9fad691
AM
14082004-09-09 Alan Modra <amodra@bigpond.net.au>
1409
1410 * dw2gencfi.c (select_cie_for_fde): When separating CIE out
1411 from FDE, treat a CFI_escape as we do a DW_CFA_advance_loc.
1412
10b016c2
PB
14132004-09-08 Paul Brook <paul@codesourcery.com>
1414
1415 * config/obj-elf.c (obj_elf_section_type): Handle init_array,
1416 fini_array and preinit_array section types.
1417 * config/tc-ia64.c (ia64_elf_section_type): Remove init_array
1418 and fini_array.
1419 * doc/as.texinfo: Document extra section types.
1420
e5a52504
MM
14212004-09-02 Mark Mitchell <mark@codesourcery.com>
1422
1423 * Makefile.am (TARG_ENV_HFILES): Add te-symbian.h.
1424 * Makefile.in: Regenerated.
1425 * configure.in: Set em for arm*-*-symbianelf*.
1426 * configure: Regenerated.
1427 * config/tc-arm.c (elf32_arm_target_format): Use Symbian target
1428 vectors when appropriate.
1429 * config/te-symbian.h: New file.
1430
42851540
NC
14312004-09-03 Tomer Levi <Tomer.Levi@nsc.com>
1432
1433 * config/tc-crx.c (gettrap): Exception vector can be case
1434 insensitive.
04ca8703 1435 (process_label_constant): Fix a 32-bit displacement bug in branch
42851540
NC
1436 instructions.
1437 (get_operandtype) : Bug fix, wrong operand was used.
04ca8703 1438 (process_label_constant): Initialize relocation type to
42851540
NC
1439 BFD_RELOC_NONE
1440
8783612f
RE
14412004-09-01 Richard Earnshaw < reanrsha@arm.com>
1442
1443 * tc-arm.c (arm_cpus, arm_fpus): Allow <cpu>-s as well as <cpu>s
1444 for synthesizable cores.
1445
1ff4677c
RE
1446 * doc/c-arm.texi (ARM Options): Document canonical names of CPUs.
1447
b18c562e
NC
14482004-08-25 Dmitry Diky <diwil@spec.ru>
1449
1450 * config/tc-msp430.c: Clean-up the code.
1451 (md_relax_table): New relax table.
1452 (mcu_types): Sort MCU types.
1453 (md_pseudo_table): Add .profiler pseudo handler.
1454 (pow2value): New function.
1455 (msp430_profiler): New function.
1456 (msp430_operands): Add new insns handlers.
1457 (msp430_srcoperand): Add register operand handler, allow complex
1458 expressions.
1459 (md_estimate_size_before_relax): Rewritten.
1460 (md_convert_frag): Rewritten.
1461 (msp430_relax_frag): New function.
1462 * config/tc-msp430.h (md_relax_frag): define macro
1463 * doc/c-msp430.texi: Update information.
1464
8f94ae4d
NC
14652004-08-24 Nick Clifton <nickc@redhat.com>
1466
1467 * as.c (std_shortopts): Allow -g to take an optional argument.
1468 (parse_args): Pass any switch starting with -g on to the backend
1469 for parsing.
1470
e51dace8
MM
14712004-08-18 Mark Mitchell <mark@codesourcery.com>
1472
1473 * configure.in (arm*-*-symbianelf*): New target.
1474 (arm*-*-eabi*): Likewise.
1475 * configure: Regenerated.
1476
f7870c8d
TS
14772004-08-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1478 * config/tc-mips.c (append_insn): Handle delay slots in branch likely
1479 correctly.
1480
d6afba4b
JJ
14812004-08-18 Jakub Jelinek <jakub@redhat.com>
1482
1483 * config/tc-ia64.c (start_unwind_section): Add linkonce_empty
1484 argument, don't do anything if current section is not
1485 .gnu.linkonce.t.* and linkonce_empty is set.
1486 (generate_unwind_image, dot_endp): Adjust callers, call
1487 start_unwind_section (*, 1) if nothing will be put into the
1488 section.
1489
329e276d
NC
14902004-08-17 Nick Clifton <nickc@redhat.com>
1491
1492 * as.c (MD_DEBUG_FORMAT_SELECTOR): Provide default definition.
1493 (show_usage): Add -g.
1494 (std_longopts): Add --gen-debug. Alpha sort the table.
1495 (parse_args): Print an error message if a switch is not handled.
1496 Handle the -g switch, calling md_debug_format_selector() if
1497 necessary.
1498 * NEWS: Mention new feature.
1499 * doc/as.texinfo: Document new switch.
1500 * doc/internals.texi: Document behaviour of md_parse_option.
04ca8703 1501
329e276d
NC
1502 * config/tc-arm.c (md_parse_option): Do not issue an error message
1503 if the switch is not recognised.
1504 * config/tc-m68k.c (md_parse_option): Likewise.
1505 * config/tc-pdp11.c (md_parse_option): Likewise.
1506 * config/tc-v850.c (md_parse_option): Likewise.
1507
1508 * as.h: Fix up formatting.
1509 * tc.h: Likewise.
1510
4101eec8
NC
15112004-08-16 Nick Clifton <nickc@redhat.com>
1512
2766e5e4
NC
1513 * macro.c (macro_set_alternate): Use ISO C90 formatting.
1514
4101eec8
NC
1515 * configure.in: Sort architecture based tables alphabetically.
1516 * configure: Regenerate.
1517
80f846b6
AM
15182004-08-16 Alan Modra <amodra@bigpond.net.au>
1519
1520 * config/tc-ppc.c (tc_ppc_regname_to_dw2regnum <regnames>): Replace
1521 { "cc", 68 }, with { "cr", 70 }.
1522
caa32fe5
NC
15232004-08-13 Jan Beulich <jbeulich@novell.com>
1524 Nick Clifton <nickc@redhat.com>
1525
1526 * as.c: Add and handle new --alternate command line option.
1527 * macro.c (macro_set_alternate): New.
1528 * macro.h (macro_set_alternate): Declare.
1529 * read.c: Add and handle new .altmacro and .noaltmacro directives.
1530 * doc/as.texinfo: Document new command line option and pseudo-ops
1531 as well as insert documentation originating from gasp about
1532 alternate macro syntax.
1533 * NEWS: Mention new command line option and pseudo-ops.
1534
b2221023
MM
15352004-08-10 Mark Mitchell <mark@codesourcery.com>
1536
1537 * expr.c (operand): Handle the "~", "-", and "!" operators applied
1538 to bignums.
1539
db6579d4
PB
15402004-08-06 Paul Brook <paul@codesourcery.com>
1541
1542 * config/tc-arm.c (md_apply_fix3, tc_gen_reloc, arm_parse_reloc):
1543 Handle new relocations.
1544 * include/elf/arm.h (elf_arm_reloc_type): Add new EABI relocations.
1545
e750405d
BW
15462004-08-05 Bob Wilson <bob.wilson@acm.org>
1547
1548 * write.c (relax_segment): Use was_address instead of address when
1549 setting fr_fix field for align frag due to backwards .org.
1550
1d70c7fb
AO
15512004-07-29 Alexandre Oliva <aoliva@redhat.com>
1552
1553 Introduce SH2a support.
1554 2004-02-24 Corinna Vinschen <vinschen@redhat.com>
1555 * config/tc-sh.c (get_specific): Change arch_sh2a_up to
1556 arch_sh2a_nofpu_up.
1557 2004-02-24 Corinna Vinschen <vinschen@redhat.com>
1558 * config/tc-sh.c (md_parse_option): Add sh2a-nofpu ISA handling.
1559 2004-02-20 Corinna Vinschen <vinschen@redhat.com>
1560 * config/tc-sh.c (sh_elf_final_processing): Move sh2a recognition
1561 to end of conditional expression.
1562 2004-02-20 Corinna Vinschen <vinschen@redhat.com>
1563 * config/tc-sh.c: Add sh2a-nofpu support.
1564 2003-12-29 DJ Delorie <dj@redhat.com>
1565 * tc-sh.c: Add sh2a support.
1566 (parse_reg): Add tbr.
1567 (parse_at): Support @@(disp,tbr).
1568 (get_specific): Support sh2a opcodes.
1569 (insert4): New, for 4 byte relocs.
1570 (build_Mytes): Support sh2a opcodes.
1571 (md_apply_fix3_Mytes): Support sh2a opcodes.
1572 2003-12-02 Michael Snyder <msnyder@redhat.com>
1573 * config/tc-sh.c (md_parse_option): Handle sh2a.
1574 (sh_elf_final_processing): Ditto.
1575
e7fbc2bf
JT
15762004-07-27 Jason Thorpe <thorpej@wasabisystems.com>
1577
1578 * config/tc-hppa.h (TARGET_FORMAT): Set to "elf32-hppa-netbsd"
1579 for TE_NetBSD.
1580
9232bbb0
AM
15812004-07-27 Alan Modra <amodra@bigpond.net.au>
1582
1583 * config/tc-ppc.c (ppc_frob_file_before_adjust): Warn if .toc too big.
1584 (ppc_arch): Expand comment.
1585
670ec21d
NC
15862004-07-27 Tomer Levi <Tomer.Levi@nsc.com>
1587
1588 * config/tc-crx.c: Support evaluating the difference between two
1589 symbols.
1590 * config/tc-crx.h: Likewise.
1591
406f8ff9 15922004-07-26 H.J. Lu <hongjiu.lu@intel.com>
38ce5b11
L
1593
1594 * config/tc-ia64.c (start_unwind_section): Set the linked-to
1595 section.
1596 (ia64_elf_section_change_hook): Set the linked-to section for
1597 SHT_IA_64_UNWIND.
1598
c05e9f04
NC
15992004-07-26 Dmitry Diky <diwil@spec.ru>
1600
1601 * config/tc-msp430.c: Add new subtargets: msp430x1610,
1602 msp430x1611, msp430x1612, msp430x415, msp430x417, msp430xG437,
1603 msp430xG438, msp430xG439.
1604
e9863d7f
DJ
16052004-07-25 Daniel Jacobowitz <dan@debian.org>
1606
1607 * doc/as.texinfo (Section, PushSection): Correct documentation
1608 for ELF.
1609
543613e9 16102004-07-21 Jan Beulich <jbeulich@novell.com>
20f0a1fc
NC
1611
1612 * config/tc-i386.c (optimize_imm): Adjust immediates to only those
1613 permissible for the selected instruction suffix.
1614 (match_template): Don't permit 64-bit general purpose operands in
1615 32-bit mode.
1616 (finalize_imm): Permit 64-bit immediates.
1617 (build_modrm_byte): Don't treat 32-bit addressing in 64-bit mode
1618 specially except for the width of the used base and/or index
1619 registers. For 32-bit displacements, use sign-extended
1620 relocations only when using 64-bit addressing.
1621 Force zero displacement on rip-relative addressing when there is
1622 no other displacement.
1623 (i386_index_check): Don't treat 32-bit addressing in 64-bit mode
1624 specially except for the width of the used base and/or index
1625 registers.
1626 (parse_register): Disallow Reg64 registers in 32-bit mode.
1627
543613e9
NC
1628 * config/tc-i386.c: For DefaultSize instructions, don't guess a 'q'
1629 suffix if the instruction doesn't support it.
04ca8703 1630
01a3f561
MR
16312004-07-20 Maciej W. Rozycki <macro@linux-mips.org>
1632
1633 * config/tc-mips.c (append_insn): Handle constant expressions with
1634 no associated relocation.
1635 (mips_ip): Cancel the expression after use for the Q format
1636 specifier.
1637 (parse_relocation): Return no relocation for unsupported
1638 operators.
1639 (my_getSmallExpression): Return no relocation if no relocation
1640 operators are used.
1641
e12904d2
DA
16422004-07-19 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1643
1644 * config/obj-som.c (adjust_stab_sections): Add prototype.
1645 (obj_som_compiler, obj_som_version, obj_som_copyright,
1646 adjust_stab_sections): Add ATTRIBUTE_UNUSED to unused arguments.
1647 * config/tc-hppa.c (update_subspace): Likewise.
1648 (is_defined_subspace): Amplify comment.
1649 * config/obj-som.h (som_frob_file): Add prototype.
1650
90c1602c
L
16512004-07-19 Christopher Faylor <cgf@timesys.com>
1652 H.J. Lu <hongjiu.lu@intel.com>
1653
1654 * subsegs.c (section_symbol): Don't create a new segment when
1655 existing segment is undefined.
1656
f263249b
RE
16572004-07-16 Richard Earnshaw <rearnsha@arm.com>
1658
1659 * config/tc-arm.c: Include include/opcode/arm.h.
1660 (ARM_EXT_*, ARM_ARCH_*, ARM_ANY, ARM_ALL, COPROC_ANY): Delete.
1661 (FPU_FPA_EXT_* FPU_VFP_EXT_*, FPU_ANY, FPU_NONE, FPU_MAVERICK): Delete.
1662 (FPU_ARCH_*): Delete.
1663 * Makefile.am: Update dependencies.
1664 * Makefile.in: Regenerate.
1665
152c65b9
NC
16662004-07-15 Nick Clifton <nickc@redhat.com>
1667
1668 * configure.in: Accept armbe as a big-endian arm configuration.
1669 * configure: Regenerate.
1670
0477af35
NC
16712004-07-13 Thomas Nystrom <thn@saeab.se>
1672
1673 * config/tc-i386.c (T_SHIFTOP): New constant.
1674 (intel_e05_1): Handle '&', '|' and T_SHIFTOP.
1675 (intel_el1): Handle '~'.
1676 (intel_get_token): Handle '<>', '&', '|' and '~'.
1677
16782004-07-13 Nick Clifton <nickc@redhat.com>
1679
1680 (md_assemble): Remove spurious newline from end of as_bad error
1681 message.
1682 (intel_e05_1): Likewise.
1683 (intel_e11): Likewise.
1684 (intel_match_token): Likewise.
1685
31302357
AS
16862004-07-11 Andreas Schwab <schwab@suse.de>
1687
1688 * config/tc-m68k.c: Convert to C90. Remove redundant
1689 declarations. Indentation fixup.
1690 [M68KCOFF]: Include "obj-coff.h" instead of declaring
1691 obj_coff_section ourselves.
04ca8703 1692
549f748d
JW
16932004-07-09 James E Wilson <wilson@specifixinc.com>
1694
1695 * config/tc-ia64.c (default_big_endian): New.
1696 (dot_byteorder, md_begin): Use it.
1697 (md_parse_option): Set it.
04ca8703 1698
1a320fbb
NC
16992004-07-09 Nick Clifton <nickc@redhat.com>
1700
1701 * configure.in: Change sh-sybmian-elf to sh-*-symbianelf.
1702 * configure: Regenerate.
1703 * NEWS: Change sh-sybmian-elf to sh-*-symbianelf.
1704 * config/tc-sh.c (sh_elf_final_processing): Use renamed version of
1705 sh_find_elf_flags if necessary.
1706
de7e6852
RS
17072004-07-08 Richard Sandiford <rsandifo@redhat.com>
1708
1709 * config/tc-mips.c (mips_fix_adjustable): If the full addend is
1710 going to be split into more than one in-place addend, return 0
1711 for relocations against mergeable sections. Associate comments
1712 with code.
1713
1fe1f39c
NC
17142004-07-07 Tomer Levi <Tomer.Levi@nsc.com>
1715
1716 * Makefile.am (CPU_TYPES): Add crx.
1717 (TARGET_CPU_CFILES): Add config/tc-crx.c.
1718 (TARGET_CPU_HFILES): Add config/tc-crx.h.
1719 (DEPTC_crx_elf): New target.
1720 (DEPOBJ_crx_elf): Likewise.
1721 (DEP_crx_elf): Likewise.
1722 * Makefile.in: Regenerate.
1723 * configure.in: Add crx* target.
1724 * configure: Regenerate.
1725 * config/tc-crx.c: New file.
1726 * config/tc-crx.h: New file.
1727 * NEWS: Mention new target.
1728
d9895649
NC
17292004-07-06 Nick Clifton <nickc@redhat.com>
1730
85fbca6a 1731 * config.in: Undefine TARGET_SYMBIAN by default.
c04f5787
AM
1732 * configure.in:
1733 * configure: Regenerate. Add sh-symbian-elf target. If
1734 selected define TARGET_SYMBIAN.
1735 * config/tc-sh.h (TARGET_FORMAT): Select a Symbian target
1736 format if TARGET_SYMBIAN has been defined.
04ca8703 1737
e7bd9ea0
NC
1738 * output-file.c (output_file_create): Report the target format
1739 chosen when bfd_openw reports that it is invalid.
1740
d9895649
NC
1741 * config/obj-coff.c (coff_pseudo_table): Only define the weak
1742 pseudo for BFD based assemblers.
1743
871ec896
JR
17442004-07-05 Andrew Stubbs <andrew.stubbs@superh.com>
1745
1746 gas:
1747 * config/tc-sh.c (md_assemble): Change isspace to ISSPACE.
1748 (md_parse_option): Remove redundant -isa testing.
1749 Make bfd_arch variable const.
1750 (md_show_usage): Make bfd_arch variable const.
1751
5a9ff93d
JW
17522004-07-03 James E Wilson <wilson@specifixinc.com>
1753
1754 * config/tc-ia64.c (emit_one_bundle): Check and set insn_addr.
1755 * config/tc-ia64.h (md_frag_check): Define.
1756
c87db184
CF
17572004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
1758
1759 * config/obj-coff.c (obj_coff_weak): New .weak syntax for PE weak
1760 externals.
1761 * doc/as.texinfo (Weak): Document PE weak symbols.
1762
3b91255e
RS
17632004-07-03 Richard Sandiford <rsandifo@redhat.com>
1764
1765 * config/tc-mips.c (HAVE_IN_PLACE_ADDENDS): New macro.
1766 (reloc_needs_lo_p): Only return true if HAVE_IN_PLACE_ADDENDS.
1767 (mips_frob_file): Rework so that only a single pass through the
1768 relocs is needed. Allow %lo()s to have higher offsets than their
1769 corresponding %hi()s or %got()s.
1770
310ea308
NC
17712004-07-02 Nick Clifton <nickc@redhat.com>
1772
1773 * config/tc-arm.c (md_apply_fix3:BFD_RELOC_ARM_IMMEDIATE): Do not
1774 allow values which have come from undefined symbols.
1775 Always consider this fixup to have been processed as a reloc
1776 cannot be generated for it.
1777
09b935ac
AM
17782004-07-02 Alan Modra <amodra@bigpond.net.au>
1779
1780 * frags.h (struct frag): Add has_code and insn_addr fields.
1781 * write.c (cvt_frag_to_fill): Invoke md_frag_check.
1782 * config/tc-ppc.c (md_assemble): Check and set insn_addr.
1783 * config/tc-ppc.h (md_frag_check): Define.
1784
4d1cd5c7
MR
17852004-06-28 Maciej W. Rozycki <macro@linux-mips.org>
1786
1787 * doc/Makefile.am (info): Rename goal to...
1788 (info-local): ... this, to preserve implicit dependencies.
1789 * doc/Makefile.in: Regenerate with automake 1.8.5.
1790
097f809a
NC
17912004-06-25 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
1792
1793 * config/tc-m32r.c (md_convert_frag): Changed for @PLT.
1794 (m32r_cgen_record_fixup_exp): Changed for @GOTOFF, @GOT.
1795 (m32r_fix_adjustable): Changed for @GOTOFF, @GOT, @PLT.
1796 (tc_gen_reloc): Likewise.
1797 (m32r_end_of_match): Add for @GOTOFF, @GOT, @PLT.
1798 (m32r_parse_name): Likewise.
1799 (m32r_cgen_parse_fix_exp): Likewise.
1800 * config/tc-m32r.h (md_parse_name): Define for @GOTOFF, @GOT, @PLT.
1801 (O_PIC_reloc): Likewise.
1802 (TC_CGEN_PARSE_FIX_EXP): Likewise..
1803 * cgen.c (gas_cgen_parse_operand): Add TC_CGEN_PARSE_FIX_EXP
1804 for @GOTOFF, @GOT, @PLT.
1805
bb82af9f
NC
18062004-06-21 Jan Beulich <jbeulich@novell.com>
1807
1808 * gas/symbols.c: While discarding ordinary local absolute symbols
1809 when --strip-local-absolute is in effect, retain file symbols.
1810
990ae22a
AS
18112004-06-20 Andreas Schwab <schwab@suse.de>
1812
1813 * config/tc-m68k.c (mri_chip): Replace current_chip, not augment.
1814 (md_parse_option): Likewise.
1815
32137342
NC
18162004-06-17 Jan Beulich <jbeulich@novell.com>
1817
1818 * config/tc-i386.c: Deal with LEX_QM the same way as with LEX_AT.
1819 * config/te-netware.h: New file.
1820 * config/te-ppcnw.h: Delete: Obsolete.
1821 * configure.in: Eliminate ill NetWare targets. Make generic
1822 NetWare target use proper emulation.
1823 * Makefile.am: Eliminate reference to obsolete te-ppcnw.h, add
1824 reference to new te-netware.h.
1825 * configure: Regenerate.
1826 * Makefile.in: Regenerate.
1827
f84d8e26
MS
18282004-06-15 Martin Schwidefsky <schwidefsky@de.ibm.com>
1829
1830 * config/tc-s390.c (s390_insn): Avoid incorrect signed/unsigned
1831 comparison in .insn pseudo operation.
1832
587aac4e
AM
18332004-06-15 Alan Modra <amodra@bigpond.net.au>
1834
1835 * config/obj-coff.c (coff_adjust_section_syms): Use
1836 bfd_get_section_size instead of bfd_get_section_size_before_reloc.
1837 (coff_frob_section): Likewise.
1838 * config/tc-mips.c (md_apply_fix3): Likewise.
1839 * config/obj-elf.c (elf_frob_file): Use bfd_set_section_size.
1840 (elf_frob_file_after_relocs): Likewise.
1841
2337eb33
DA
18422004-06-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1843
b8fc22bc
DA
1844 * config/tc-hppa.c (log2): Rename to exact_log2.
1845 (pa_next_subseg): Delete unused function.
1846 (create_new_space): Mark unused arguments with ATTRIBUTE_UNUSED.
1847 (create_new_subspace): Likewise.
1848
2337eb33
DA
1849 Bug gas/213
1850 * config/tc-hppa.c (hppa_fix_adjustable): Allow reduction of fake
1851 labels. Fix warning.
1852
53cb0362
DD
18532004-05-28 DJ Delorie <dj@redhat.com>
1854
1855 * config/tc-mn10300.h (tc_fix_adjustable): Define.
1856 * config/tc-mn10300.c (mn10300_fix_adjustable): Don't adjust debug
1857 or non-merged symbols.
1858
888a75be
L
18592004-05-28 H.J. Lu <hongjiu.lu@intel.com>
1860
1861 * config/tc-ia64.c (remove_marked_resource): Save, clear and
1862 restore the old slot when inserting srlz.i/srlz.d.
1863
f6f9408f
JR
18642004-05-28 Andrew Stubbs <andrew.stubbs@superh.com>
1865
1866 * Makefile.am: Regenerate dependecies.
1867 * Makefile.in: Regenerate.
1868 * config/tc-sh.c (valid_arch): Make unsigned.
1869 (preset_target_arch): Likewise.
1870 (md_begin): Use new architecture flags system.
1871 (get_specific): Likewise.
1872 (assemble_ppi): Likewise.
1873 (md_assemble): Likewise. Also fix error check for bad opcodes.
1874 (md_parse_option): Likewise. Also generate -isa values according
1875 to the table in bfd/cpu-sh.c instead of just constants. Also
1876 allow <arch>-up ISA variants.
1877 (sh_elf_final_processing): Replace if-else chain with a call to
1878 sh_find_elf_flags().
1879 * testsuite/gas/sh/arch: New directory.
1880 * testsuite/gas/sh/arch/arch.exp: New test script.
1881 * testsuite/gas/sh/arch/arch_expected.txt: New file.
1882 * testsuite/gas/sh/arch/sh.s: New file.
1883 * testsuite/gas/sh/arch/sh2.s: New file.
1884 * testsuite/gas/sh/arch/sh-dsp.s: New file.
1885 * testsuite/gas/sh/arch/sh2e.s: New file.
1886 * testsuite/gas/sh/arch/sh3-nommu.s: New file.
1887 * testsuite/gas/sh/arch/sh3.s: New file.
1888 * testsuite/gas/sh/arch/sh3-dsp.s: New file.
1889 * testsuite/gas/sh/arch/sh3e.s: New file.
1890 * testsuite/gas/sh/arch/sh4-nommu-nofpu.s: New file.
1891 * testsuite/gas/sh/arch/sh4-nofpu.s: New file.
1892 * testsuite/gas/sh/arch/sh4.s: New file.
1893 * testsuite/gas/sh/arch/sh4a-nofpu.s: New file.
1894 * testsuite/gas/sh/arch/sh4al-dsp.s: New file.
1895 * testsuite/gas/sh/arch/sh4a.s: New file.
1896
580b9172
NC
18972004-05-28 Peter Barada <peter@the-baradas.com>
1898
1899 * config/gc-m68k.c(m68k_ip): Convert mode 5 addressing
1900 with zero offset into mode 2 addressing to save a word.
1901
652ca075
L
19022004-05-27 H.J. Lu <hongjiu.lu@intel.com>
1903
1904 * config/tc-ia64.c (ar_is_in_integer_unit): Removed.
1905 (ar_is_only_in_integer_unit): New.
1906 (ar_is_only_in_memory_unit): New.
1907 (generate_unwind_image): Silence gcc on 32bit host.
1908 (md_assemble): Use ar_is_only_in_integer_unit instead of
1909 ar_is_in_integer_unit. Check AR access.
1910
60fed2d3
NC
19112004-05-27 Peter Barada <peter@the-baradas.com>
1912
1913 * config/tc-m68k.c (md_begin): Sort the opcode table into
1914 alphabetical order.
1915 (m68k_compare_opcode): New function to do the sorting.
1916
be8c092b
NC
19172004-05-24 Peter Barada <peter@the-baradas.com>
1918
1919 * config/m68k-parse.y(operand): Allow for MAC/EMAC mask
1920 addressing on MIT style operands.
1921 * config/m68k-parse.y(yylex): Allow '-&' for predecrement
1922 w/mask addressing.
1923 * config/tc-m68k.c(install_operand): Comment 'G' and 'H' type
1924 operands.
1925
1181c20e
AM
19262004-05-23 Alan Modra <amodra@bigpond.net.au>
1927
1928 * expr.c (operand, operator): Don't reject '++' and '--'.
1929
20e56c33
RS
19302004-05-20 Richard Sandiford <rsandifo@redhat.com>
1931
1932 * config/tc-mips.c (append_insn): Use ISA-encoded addresses in MIPS16
1933 dwarf tables.
1934
04ca8703 19352004-05-17 Adam Nemet <anemet@lnxw.com>
b2d65c0b
NC
1936
1937 * configure.in: Add ppc-*-lynxos*. Update i386-*-lynxos* to ELF.
1938 * configure: Regenerate.
1939
0da76f83
NC
19402004-05-13 Paul Brook <paul@codesourcery.com>
1941
1942 * dw2gencfi.c (output_cie): Handle dwarf3 format CIE entries.
1943
4b363073
NC
19442004-05-13 Joel Sherrill <joel@oarcorp.com>
1945
1946 * configure.in (or32-*-rtems*): Switch to elf.
1947 * configure: Regenerate.
1948
9598fbe5
NC
19492004-05-13 Nick Clifton <nickc@redhat.com>
1950
1951 * po/fr.po: Updated French translation.
1952
22fe14ad
NC
19532004-05-11 Nick Clifton <nickc@redhat.com>
1954
1955 * doc/as.texinfo (Section): Document G and T flags to .section
1956 directive. Document the extra arguments that the G flag
1957 requires. Document the #tls flag.
1958
19592004-05-11 H.J. Lu <hongjiu.lu@intel.com>
1960
1961 * subsegs.c (section_symbol): Create a new section symbol if
1962 the existing one doesn't match.
1963 * symbols.c (symbol_set_bfdsym): Don't reset BFD section symbol.
1964
532c738a
RS
19652004-05-07 Richard Sandiford <rsandifo@redhat.com>
1966
1967 * config/tc-mips.c (append_insn, mips_emit_delays): Extend -mfix-vr4120
1968 to cope with VR4181A errata MD(1) and MD(4).
1969
0503b355
BF
19702004-05-07 Brian Ford <ford@vss.fsi.com>
1971
1972 * NEWS: Mention .secrel32 for pe[i]-i386.
1973
daeea990
AO
19742004-05-07 Alexandre Oliva <aoliva@redhat.com>
1975
1976 * config/tc-frv.h (MAX_MEM_FOR_RS_ALIGN_CODE): New.
1977 (HANDLE_ALIGN): New.
1978
bfbdcf04
DJ
19792004-05-06 Daniel Jacobowitz <dan@debian.org>
1980
1981 * Makefile.am (DIST_SUBDIRS): Define.
1982 * aclocal.m4: Regenerate with automake 1.8.4.
1983 * Makefile.in: Likewise.
1984 * doc/Makefile.in: Likewise.
1985
5e819f9c
JW
19862004-05-06 David Mosberger-Tang <davidm@hpl.hp.com>
1987
1988 * config/tc-ia64.c (dot_serialize): Declare.
1989 (dot_serialize): New function.
1990 (md_pseudo_table): Add ".serialize.data" and
1991 ".serialize.instruction" directives.
1992
e5976317
NC
19932004-05-06 Nick Clifton <nickc@redhat.com>
1994
1995 * messages (as_internal_value_out_of_range): Print a message about
1996 a value being out of range. Be consistent about whether the
1997 values are printed in decimal or hexadecimal.
1998 (as_warn_value_out_of_range): Generate a warning message about an
1999 out of range value.
2000 (as_bad_value_out_of_range): Generate an error message about an
2001 out of range value.
2002 * as.h: Prototype the new functions.
2003 * config/tc-alpha.c (insert_operand): Use new function.
2004 * config/tc-arc.c (arc_insert_operand): Likewise.
2005 * config/tc-mn10200.c (mn10200_insert_operand): Likewise.
2006 * config/tc-mn10300.c (mn10300_insert_operand): Likewise.
2007 * config/tc-ppc.c (ppc_insert_operand): Likewise.
2008 * config/tc-s390.c (s390_insert_operand): Likewise.
2009 * config/tc-v850.c (v850_insert_operand): Likewise.
2010
996991aa
AO
20112004-05-05 Alexandre Oliva <aoliva@redhat.com>
2012
2013 * configure.in: Set em=linux for frv-*-*linux*.
2014 * configure: Rebuilt.
2015 * config/tc-frv.h (TARGET_FORMAT): Use elf32-frvfdpic if...
2016 (frv_md_fdpic_enabled): New.
2017 * config/tc-frv.c (frv_md_fdpic_enabled): New.
2018 (DEFAULT_FDPIC): New.
2019 (frv_flags): Use DEFAULT_FDPIC.
2020 (frv_pic_flag): Likewise.
2021 (OPTION_NOPIC): New.
2022 (md_longopts): Add -mnopic.
2023 (md_parse_option): Handle it.
2024 (md_show_usage): Add -mfdpic and -mnopic.
2025
6b6e92f4
NC
20262004-05-05 Peter Barada <peter@the-baradas.com>
2027
2028 * config/tc-m68k.c: Add find_cf_chip to print list of valid
2029 chips for invalid coldfire instructions, rename selectors
2030 for ColdFire sub-variants, add 521x,5249,547x,548x and aliases,
2031 add current_chip to track which chip is referred to(including save/restore),
2032 use current_chip to select control registers, not current_arch.
2033 (md_show_usage): Add new chips.
2034 * doc/c-m68k.texi: Document new command line switches.
2035
6f079ae3
JJ
20362004-05-05 Jakub Jelinek <jakub@redhat.com>
2037
2038 * tc-s390.h (md_do_align, HANDLE_ALIGN): Remove.
2039 (NOP_OPCODE): Define.
2040 (s390_align_code): Remove prototype.
2041 * tc-s390.c (s390_align_code): Remove.
2042
2d6ed997
L
20432004-05-04 H.J. Lu <hongjiu.lu@intel.com>
2044
2045 * config/tc-ia64.c (make_unw_section_name): Removed.
2046 (start_unwind_section): New function.
2047 (generate_unwind_image): Take const segT instead of const
2048 char *.
2049 (dot_handlerdata): Adjusted.
2050 (dot_endp): Likewise.
2051
b9f18452
L
20522004-05-02 H.J. Lu <hongjiu.lu@intel.com>
2053
2054 * config/obj-elf.c (obj_elf_change_section): Allow the
2055 ".note.GNU-stack" section has SHF_EXECINSTR.
2056
fafe6678
L
20572004-05-02 H.J. Lu <hongjiu.lu@intel.com>
2058
2059 * config/obj-elf.c (get_section): Return bfd_boolean.
2060 (obj_elf_change_section): Call bfd_get_section_by_name_if
2061 instead of bfd_map_over_sections.
2062
86654c12
L
20632004-04-30 H.J. Lu <hongjiu.lu@intel.com>
2064
2065 * config/obj-elf.c (get_section): New function.
2066 (obj_elf_change_section): Support multiple sections with same
2067 name.
2068
376eb240
NC
20692004-04-30 Nick Clifton <nickc@redhat.com>
2070
2071 * config/tc-arm.c (create_register_alias): Fix typo checking for
2072 case sensitive register aliases.
2073 (co_proc_number): Use error message string in all_reg_maps[]
2074 array.
2075 (cp_reg_required_here): Likewise.
2076 (fp_reg_required_here): Likewise.
2077
8a7140c3
NC
20782004-04-29 Brian Ford <ford@vss.fsi.com>
2079
2080 * dwarf2dbg.c (dwarf2_finish): Add SEC_DEBUGGING to section flags.
2081
3e722fb5
CD
20822004-04-28 Chris Demetriou <cgd@broadcom.com>
2083
2084 * config/tc-mips.c (HAVE_32BIT_ADDRESSES, append_insn, macro_build)
2085 (load_address, macro, mips_ip, md_parse_option)
2086 (mips_force_relocation, mips_validate_fix, md_apply_fix3)
2087 (s_change_sec, pic_need_relax, tc_gen_reloc): Remove all
2088 embedded-PIC handling, and update comments.
2089 (SWITCH_TABLE): Remove.
2090 * config/tc-mips.h (DIFF_EXPR_OK): Delete.
2091 (enum mips_pic_level): Remove EMBEDDED_PIC.
2092 (EXTERN_FORCE_RELOC): Remove embedded-PIC handling.
2093 (TC_FORCE_RELOCATION): Update comment.
2094 * ecoff.c (ecoff_build_lineno): Add comment about some code that
2095 might be safe to remove now that MIPS embedded-PIC is gone.
2096
351e2b5a
DA
20972004-04-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2098
2099 * config/obj-som.c (obj_som_init_stab_section): Add new arguments in
2100 call to obj_set_subsection_attributes.
2101 (obj_som_init_stab_section): Likewise.
2102 * config/tc-hppa.c (default_subspace_dict): Add comdat field.
2103 (pa_def_subspaces): Provide comdat default.
2104 (pa_subspace): Handle new "comdat" parameter. Set SEC_LINK_ONCE and
2105 not SEC_IS_COMMON if section is comdat, common or dup_common. Update
2106 calls to create_new_subspace and update_subspace to pass comdat flag.
2107 (create_new_subspace, update_subspace): Add new comdat argument. Use
2108 it in calls to obj_set_subsection_attributes.
2109 * doc/c-hppa.texi (.subspa, .nsubspa): Document new comdat parameter
2110 and use of comdat, common and dup_comm parameters.
2111
f5842774
L
21122004-04-26 H.J. Lu <hongjiu.lu@intel.com>
2113
2114 * config/obj-elf.c (obj_elf_change_section): Check if the old
2115 group name is NULL before comparison.
2116
558fe4a7
CD
21172004-04-23 Chris Demetriou <cgd@broadcom.com>
2118
2119 * config/tc-mips.h (mips_dwarf2_addr_size): Prototype.
2120
81a21e38
TS
21212004-04-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2122
2123 * config/tc-mips.c (s_mipsset): Set default CPU type for .set mipsN.
2124
21252004-04-23 Chris Demetriou <cgd@broadcom.com>
1ffcab4b
CD
2126
2127 * config/tc-mips.c (md_longopts): Remove -membedded-pic option.
2128 (OPTION_MEMBEDDED_PIC): Remove.
2129 (OPTION_TRAP, OPTION_BREAK, OPTION_EB, OPTION_EL)
2130 (OPTION_FP32, OPTION_GP32, OPTION_CONSTRUCT_FLOATS)
2131 (OPTION_NO_CONSTRUCT_FLOATS, OPTIONS_FP64, OPTION_GP64)
2132 (OPTION_RELAX_BRANCH, OPTION_NO_RELAX_BRANCH)
2133 (OPTION_ELF_BASE): Renumber.
2134 (md_parse_option): Remove OPTION_MEMBEDDED_PIC handling.
2135 (md_show_usage): Remove mention of -membedded-pic.
2136 * doc/as.texinfo: Remove mention of -membedded-pic.
2137
4d0d148d
TS
21382004-04-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2139
2140 * config/tc-mips.h (USE_GLOBAL_POINTER_OPT): Remove.
2141 * config/tc-mips.c (RDATA_SECTION_NAME, mips_target_format): Remove
2142 a.out support.
2143 (md_begin, mips_ip, md_parse_option, s_change_sec, s_option,
2144 s_abicalls, nopic_need_relax, tc_gen_reloc): Remove uses of
2145 USE_GLOBAL_POINTER_OPT.
2146
017315e4
TS
21472004-04-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2148
2149 * config/tc-mips.c (macro): One more use of load_delay_nop.
2150
269137b2
TS
21512004-04-22 Atsushi Nemoto <anemo@mba.ocn.ne.jp>
2152
2153 * config/tc-mips.c (load_delay_nop): New function.
2154 (load_address, macro): Use load_delay_nop() to build a nop
2155 which can be omitted with gpr_interlocks.
2156
24772049
TS
21572004-04-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2158
2159 * config/tc-mips.c (hilo_interlocks, gpr_interlocks,
2160 cop_interlocks): Remove superfluous CPU entries.
2161
06516a5e
PB
21622004-04-22 Paul Brook <paul@codesourcery.com>
2163
2164 * config/tc-arm.c (mav_parse_offset): Value must be multiple of 4.
2165
fd99574b
NC
21662004-04-22 Peter Barada <peter@the-baradas.com>
2167
2168 * NEWS: Added support for EMAC instructions and MAC/EMAC
2169 Motorola syntax.
2170 * config/m68k-parse.h: Add ACC[123], ACCEXT{01,23}, MAC/EMAC
2171 scale factor tokens, trailing_ampersand to mark mask addressing
2172 for MAC/EMAC instructions.
2173 * config/m68k-parse.y: Add options_ampersand clause, '<<',
2174 '>>'.
2175 (yylex): Handle '>', '<', and '&' following '+'.
2176 * config/tc-m68k.c: Set mcfmac/mcfemac on appropriate ColdFire
04ca8703 2177 architectures in archs[].
fd99574b
NC
2178 (m68k-ip): Add '4', 'e', 'g', 'i', cases to handle mask addressing
2179 for MAC/EMAC instructions, ACC[0123], ACCEXT{01,23}, and '<<'/'>>'
2180 respectively.
2181 (m68k_ip): Handle trailing '&' on MAC/EMAC insns.
2182 (install_operand): Fix 'n' case, Add 'F', 'f', 'G', 'H', 'I', ']'
2183 cases.
2184 Add EMAC operands to init_table[].
2185
69b97547
NC
21862004-04-22 Bruno De Bus <bdebus@elis.ugent.be>
2187
2188 * config/tc-arm.h (enum mstate): Move here, add MAP_UNDEFINED
2189 state.
2190 (TC_SEGMENT_INFO_TYPE): Define to enum mstate.
2191 * config/tc-arm.c (enum mstate): Delete from here.
2192 (mapping_state): Remove the static mapstate variable and instead
2193 store the state in the segment. This allows a per-section mapping
2194 state. Handle and ignore MAP_UNDEFINED states.
2195 (arm_elf_change_section): Get the current mapping state from the
2196 new section.
2197 (s_ltorg): Set the mapping state to MAP_DATA.
2198 (arm_cleanup): Use arm_elf_change_section to get the mapping state
2199 for each pool as it is emitted.
2200
22012004-04-22 Nick Clifton <nickc@redhat.com>
2202
2203 * config/tc-arm.h: Formatting tidy ups.
2204
7a7f4e42
CD
22052004-04-20 Chris Demetriou <cgd@broadcom.com>
2206
2207 * NEWS: Note that MIPS -membedded-pic option is deprecated.
2208
6482c264
NC
22092004-04-20 DJ Delorie <dj@redhat.com>
2210
2211 * config/tc-i386.h [TE_PE] (TC_CONS_FIX_NEW): Define.
2212 * config/tc-i386.c (md_pseudo_table) [TE_PE]: Add "secrel32".
2213 [TE_PE] (O_secrel): Define.
2214 [TE_PE] (x86_pe_cons_fix_new): New.
2215 [TE_PE] (pe_directive_secrel): Likewise.
2216 (tc_gen_reloc) [TE_PE]: Support BFD_RELOC_32_SECREL.
2217
5bf10039
EC
22182004-04-19 Eric Christopher <echristo@redhat.com>
2219
c04f5787
AM
2220 * config/tc-mips.c (mips_dwarf2_addr_size): Revert part
2221 of previous patch for fix in gcc.
5bf10039 2222
77cd6497
JJ
22232004-04-19 Jakub Jelinek <jakub@redhat.com>
2224
2225 * config/tc-xtensa.c (xg_assembler_literal): Fix a typo.
2226
b8861cfb
NS
22272004-04-19 Nathan Sidwell <nathan@codesourcery.com>
2228
2229 * read.c (do_align): Call md_flush_pending_output, if defined.
2230
f4c724fc
AM
22312004-04-16 Alan Modra <amodra@bigpond.net.au>
2232
2233 * expr.c (operand): Correct checks for ++ and --.
2234
a4b6e8f6
L
22352004-04-14 H.J. Lu <hongjiu.lu@intel.com>
2236
2237 * config/tc-generic.c: Add some comments.
2238
d766e8ec
RS
22392004-04-14 Richard Sandiford <rsandifo@redhat.com>
2240
2241 * doc/c-mips.texi (-m{no-,}fix-vr4120): Renamed from
2242 -{no-}mfix-vr4122-bugs.
2243 * config/tc-mips.c (mips_fix_vr4120): Renamed from mips_fix_4122_bugs.
2244 (append_insn, mips_emit_delays): Update accordingly.
2245 (OPTION_FIX_VR4120, OPTION_NO_FIX_VR4120): Renamed from *VR4122.
2246 (md_longopts): Change -{no-,}mfix-vr4122-bugs to -m{no-,}fix-vr4120.
2247 (md_parse_option): Update after above changes.
2248 (md_show_usage): Add -mfix-vr4120.
2249
ed9589d4
BW
22502004-04-13 Bob Wilson <bob.wilson@acm.org>
2251
2252 * doc/as.texinfo (Sub-Sections): Conditionalize COFF-specific use
2253 of .section directive; add a reference to the ELF .subsection
2254 directive.
2255
097dba13
NC
22562004-04-13 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
2257
2258 * config/tc-m32r.c (md_assemble): Fixed infinite loop bug
2259 in parallel.
2260
279500de
TS
22612004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2262
2263 * Makefile.am: Remove mips from aout targets.
2264 * Makefile.in: Regenerate.
2265 * configure.in: Remove mips-dec-bsd* target.
2266 * configure: Regenerate.
2267
b7d7dc63
AM
22682004-04-07 Alan Modra <amodra@bigpond.net.au>
2269
2270 PR 96
2271 * config/tc-ppc.c (ppc_elf_suffix): Add valid32 and valid64 fields
2272 to struct map_bfd. Adjust MAP macro, and define MAP32, MAP64.
2273 Update "mapping". Restrict some @ modifiers to 32 bit.
2274
f55629b8
KK
22752004-04-01 Asgari Jinia <asgarij@kpitcummins.com>
2276 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
2277
2278 * config/tc-sh.c (dont_adjust_reloc_32): New variable.
2279 (sh_fix_adjustable): Avoid adjusting BFD_RELOC_32 when
2280 dont_adjust_reloc_32 is set.
2281 (md_longopts): Add option -renesas.
2282 (md_parse_option, md_show_usage): Likewise.
2283 * doc/c-sh.texi: Likewise.
2284
a7844384
NC
22852004-04-01 Dave Korn <dk@artimi.com>
2286
2287 * config/tc-dlx.c (md_assemble): set fx_no_overflow flag for
2288 hi16 and lo16 fixS structs.
2289 (md_assemble): generate bit_fixS for RELOC_DLX_LO16 in
2290 exactly the same way as for RELOC_DLX_REL16.
2291 (machine_ip): properly respect LO flag in the_insn and
2292 output RELOC_DLX_LO16 rather than RELOC_DLX_16.
2293 (md_apply_fix3): apply RELOC_DLX_LO16.
2294
6c71dbc4
SS
22952004-03-30 Stan Shebs <shebs@apple.com>
2296
2297 Remove long-obsolete MPW support.
2298 * mpw-config.in, mpw-make.sed, mac-as.r: Remove files.
2299 * configure.in: Remove mention of ppc-*-mpw* config.
2300 * configure.in: Likewise.
2301
7cc69913
NC
23022004-03-30 Nick Clifton <nickc@redhat.com>
2303
2304 * config/tc-arm.c (meabi_flags): Make its use conditional upon
2305 OBJ_ELF being defined.
2306
53fbb48a
AM
23072004-03-27 Alan Modra <amodra@bigpond.net.au>
2308
2309 * config/obj-aout.c (obj_aout_type): Remove #ifdef BFD_ASSEMBLER code.
2310
d507cf36
PB
23112004-03-23 Paul Brook <paul@codesourcery.com>
2312
2313 * config/tc-arm.c (meabi_flags): New variable.
2314 (arm_parse_eabi): New function.
2315 (md_begin): Set flags for EABI v3.
2316 (arm_eabis): Add.
2317 (arm_long_opts): Add meabi.
2318 * doc/as.texinf <ARM>: Document -meabi.
2319 * doc/c-arm.texi: Ditto.
2320
88d65ad6
BW
23212004-03-22 Bob Wilson <bob.wilson@acm.org>
2322
2323 * config/tc-xtensa.c (xtensa_post_relax_hook): Create literal
2324 tables even when use_literal_section flag is not set.
2325
13ef8878
AM
23262004-03-22 Alan Modra <amodra@bigpond.net.au>
2327
2328 * config/tc-sh.c: Remove trailing whitespace.
2329
1048a9ba
HPN
23302004-03-22 Hans-Peter Nilsson <hp@axis.com>
2331
2332 * doc/c-cris.texi (CRIS-Opts): Document --no-mul-bug-abort,
2333 --mul-bug-abort and the default behavior.
2334 * config/tc-cris.c (cris_insn_kind): New member CRIS_INSN_MUL.
2335 (err_for_dangerous_mul_placement): New variable.
2336 (STATE_MUL, OPTION_MULBUG_ABORT_ON, OPTION_MULBUG_ABORT_OFF): New
2337 macros.
2338 (md_cris_relax_table): Have placeholder for STATE_MUL.
2339 (md_longopts): New options --mul-bug-abort and --no-mul-bug-abort.
2340 (cris_relax_frag) <case ENCODE_RELAX (STATE_MUL, STATE_BYTE)>: New
2341 case doing nothing.
2342 (md_estimate_size_before_relax) <case ENCODE_RELAX (STATE_MUL,
2343 STATE_BYTE)>: Ditto.
2344 (md_convert_frag) <ENCODE_RELAX (STATE_MUL, STATE_BYTE)>: Check
2345 alignment and position of this frag, emit error message if
2346 suspicious.
2347 (md_assemble): For a multiply insn and when checking it,
2348 transform the current frag into a special frag for that purpose.
2349 (md_parse_option) <case OPTION_MULBUG_ABORT_OFF, case
2350 OPTION_MULBUG_ABORT_ON>: Handle new options.
2351
a7877748
BW
23522004-03-19 Bob Wilson <bob.wilson@acm.org>
2353
2354 * config/tc-xtensa.c (mark_literal_frags): New function.
2355 (xtensa_move_literals): Call mark_literal_frags for all literal
2356 segments, including init and fini literal segments.
2357 (xtensa_post_relax_hook): Swap use of xt_insn_sec and xt_literal_sec.
2358
9992270f
DA
23592004-03-19 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2360
2361 * tc-hppa.c (cons_fix_new_hppa): Check for PC relative base type.
2362 (pa_comm): Set BSF_OBJECT in symbol flags.
2363
6e1772d5
AM
23642004-03-19 Alan Modra <amodra@bigpond.net.au>
2365
2366 * Makefile.am: Run "make dep-am".
2367 * Makefile.in: Regenerate.
2368 * doc/Makefile.in: Regenerate.
2369 * config.in: Regenerate.
2370 * po/gas.pot: Regenerate.
2371
3e4caed2
NS
23722004-03-18 Nathan Sidwell <nathan@codesourcery.com>
2373
c95b35a9
NS
2374 * read.c (read_a_source_file): Use demand_empty_rest_of_line.
2375 (demand_empty_rest_of_line): Issue an error here.
2376 (ignore_rest_of_line): Silently skip to end.
2377 (demand_copy_string): Issue an error, not warning.
2378 (equals): Likewise.
2379 * config/obj-elf.c (obj_elf_section_name): Likewise.
2380 (obj_elf_section): Likewise.
2381 * config/tc-arc.c (arc_extoper): Remove bogus NULL checks.
2382 (arc_extinst): Likewise.
2383 * config/tc-ia64.c (dot_saveb): Use demand_empty_rest_of_line.
2384 (dot_spill): Likewise.
2385 (dot_unwabi): Likewise.
2386 (dot_prologue): Likewise.
2387
3e4caed2
NS
2388 * expr.c (operand): Reject ++ and --.
2389 (operator): Likewise.
2390
2ce4cc60
KK
23912004-03-17 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2392
2393 * config/tc-sh.c: Include dw2gencfi.h.
2394 (sh_cfi_frame_initial_instructions): New function.
2395 (sh_regname_to_dw2regnum): Likewise.
2396 * config/tc-sh.h (DWARF2_LINE_MIN_INSN_LENGTH): Move to the end of
2397 file.
2398 (TARGET_USE_CFIPOP): Define.
2399 (tc_cfi_frame_initial_instructions): Likewise.
2400 (tc_regname_to_dw2regnum): Likewise.
2401 (DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT): Likewise.
2402 * Makefile.am: Update dependencies.
2403 * Makefile.in: Regenerate.
2404
9183ed4b
AM
24052004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
2406
2407 * configure.in: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.
2408 * configure: Regenerate.
2409
00bbdfe7
BW
24102004-03-12 Bob Wilson <bob.wilson@acm.org>
2411
2412 * read.c (s_leb128): Call md_flush_pending_output.
2413
0f10071e
ML
24142004-03-12 Michal Ludvig <mludvig@suse.cz>
2415
2416 * config/tc-i386.c (output_insn): Handle PadLock instructions.
2417 * config/tc-i386.h (CpuPadLock): New define.
2418 (CpuUnknownFlags): Added CpuPadLock.
2419
84c84759
AS
24202004-03-07 Andreas Schwab <schwab@suse.de>
2421
2422 * doc/c-hppa.texi (HPPA Directives): Fix typo.
2423
6ec51dba
RH
24242004-03-07 Richard Henderson <rth@redhat.com>
2425
2426 * dw2gencfi.c (output_cie): Align length to 4 byte boundary.
2427 (cfi_finish): Likewise for fde.
2428
bae25f19
L
24292004-03-05 H.J. Lu <hongjiu.lu@intel.com>
2430
2431 * config/tc-ia64.c (md_assemble): Properly handle NULL
2432 align_frag.
2433 (ia64_handle_align): Don't abort if failed to add a stop bit.
2434
ab509236
L
24352004-03-04 H.J. Lu <hongjiu.lu@intel.com>
2436
2437 * Makefile.in: Regenerated.
2438 * aclocal.m4: Likewise.
2439 * configure: Likewise.
2440 * doc/Makefile.in: Likewise.
2441
d9201763
L
24422004-03-03 H.J. Lu <hongjiu.lu@intel.com>
2443
2444 * config/tc-ia64.c (dot_align): New.
2445 (ia64_do_align): Make it static.
2446 (md_pseudo_table): Use "dot_align" for "align".
2447 (ia64_md_do_align): Don't set align_frag here.
2448 (ia64_handle_align): Add a stop bit to the previous bundle if
2449 needed.
2450
2451 * config/tc-ia64.h (ia64_do_align): Removed.
2452
ae51a426
JR
24532003-03-03 Andrew Stubbs <andrew.stubbs@superh.com>
2454
2455 * config/tc-sh.c (md_parse_option): Add -isa=sh4-nofpu and
2456 -isa=sh4-nommu-nofpu options. Adjust help messages accordingly.
2457 (sh_elf_final_processing): Output BFD type sh4_nofpu if that is
2458 the most general type or the user specifically requested it.
2459 (md_assemble): Add a new error message for when an instruction
2460 is understood, but is not allowed due to an -isa option.
2461
9545c4ce
L
24622004-03-02 H.J. Lu <hongjiu.lu@intel.com>
2463
2464 * config/tc-ia64.c (align_frag): New.
2465 (md_assemble): Set the tc_frag_data field in align_frag for
2466 IA64_OPCODE_FIRST instructions.
2467 (ia64_md_do_align): Set align_frag.
2468 (ia64_handle_align): Add a stop bit if needed.
2469
2470 * config/tc-ia64.h (TC_FRAG_TYPE): New.
2471 (TC_FRAG_INIT): New.
2472
676a64f4
RS
24732004-03-01 Richard Sandiford <rsandifo@redhat.com>
2474
2475 * config/tc-frv.c (fr400_audio): New variable.
2476 (md_parse_option, md_show_usage): Add -mcpu=fr405 and -mcpu=fr450.
2477 (md_parse_option): Set fr400_audio for -mcpu=fr400 and -mcpu=fr405.
2478 (target_implements_insn_p): New function.
2479 (md_assemble): Report an error if the processor doesn't implement
2480 the instruction.
2481
bd337dde
NC
24822004-02-27 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
2483
2484 * config/tc-m32r.c (md_longopts): Added -no-bitinst option.
2485 (md_parse_option): Ditto.
2486 (OPTION_NO_SPECIAL_M32R): Added.
2487 (md_show_usage): Document it.
2488 (enable_speial_m32r): Changed a default value from 0 to 1.
2489 * doc/c-m32r.texi: Document the -no-bitinst option.
2490
78878175
NC
24912004-02-27 Nick Clifton <nickc@redhat.com>
2492
2493 * config/tc-sh.c (get_operand): Revert previous delta.
2494 (tc_gen_reloc): Check for an unknown reloc type before processing
2495 the addend.
2496
1d6d62a4
MS
24972004-02-27 Hannes Reinecke <hare@suse.de>
2498
2499 * config/tc-s390.c (s390_insn): Correct range check for opcode in
2500 .insn pseudo operation.
2501
4aa3e325
NC
25022004-02-27 Anil Paranjpe <anilp1@kpitcummins.com>
2503
2504 * config/tc-sh.c (get_operand): In case of #Imm, check has been
2505 added for wrong syntax.
2506
73369e65
EC
25072004-02-26 Eric Christopher <echristo@redhat.com>
2508
2509 * config/tc-mips.c (mips_dwarf2_addr_size): New.
2510 * config/tc-mips.h (DWARF2_ADDR_SIZE): Use.
2511
6a5709a5
JR
25122004-02-26 Andrew Stubbs <andrew.stubbs@superh.com>
2513
2514 * config/tc-sh.c (build_Mytes): Add REG_N_D and REG_N_B01
2515 nibble types to assembler.
2516
95385380
FF
25172004-02-25 Fred Fish <fnf@redhat.com>
2518
2519 * config/tc-iq2000.c: Add missing \n\ in multiline string literal.
2520
b5e0fabd
JW
25212004-02-20 James E Wilson <wilson@specifixinc.com>
2522
2523 * config/tc-ia64.c (slot_index): New arg before_relax. Use instead of
2524 finalize_syms.
2525 (fixup_unw_records): New arg before_relax. Pass to slot_index.
2526 (ia64_estimate_size_before_relax): New.
2527 (ia64_convert_frag): Pass 0 to fixup_unw_records. Add comment.
2528 (generate_unwind_image): Pass 1 to fixup_unw_records.
2529 * config/tc-ia64.h (ia64_estimate_size_before_relax): Declare.
2530 (md_estimate_size_before_relax): Call ia64_estimate_size_before_relax.
2531
2f01ffbf
JJ
25322004-02-19 Jakub Jelinek <jakub@redhat.com>
2533
2534 * stabs.c (generate_asm_file): Avoid warning about use of
2535 uninitialized variable.
2536
9c59842f
JW
25372004-02-18 David Mosberger <davidm@hpl.hp.com>
2538
2539 * config/tc-ia64.c (ia64_flush_insns): In addition to prologue,
2540 body, and endp, allow unwind records which do not have a "t"
2541 (time/instruction) field.
2542
34920d91
NC
25432004-02-17 Petko Manolov <petkan@nucleusys.com>
2544
2545 * config/tc-arm.c (do_mav_dspsc_1): Correct offset of CRn.
2546 (do_mav_dspsc_2): Likewise.
2547 Fix accumulator registers move opcodes.
2548
4dde8e61 25492004-02-13 Hannes Reinecke <hare@suse.de>
13ef8878 2550 Jakub Jelinek <jakub@redhat.com>
4dde8e61
AJ
2551
2552 * dwarf2dbg.c (get_filenum): Do not read beyond allocated memory.
2553
936cf02e
JW
25542004-02-10 Steve Ellcey <sje@cup.hp.com>
2555
2556 * config/tc-ia64.h (ia64_frob_symbol): New declaration.
2557 (tc_frob_symbol): New macro definition.
2558 * config/tc-ia64.c (ia64_frob_symbol): New routine.
2559
e41f12f3
DJ
25602004-02-09 Daniel Jacobowitz <drow@mvista.com>
2561
2562 * config/tc-arm.c (md_begin): Mark .note.gnu.arm.ident as
2563 read-only.
2564
a8a3b3b2
NS
25652004-02-09 Nathan Sidwell <nathan@codesourcery.com>
2566
2567 * read.h (IGNORE_OPCODE_CASE): Do not define. Replace with ...
2568 (TC_CASE_SENSITIVE): ... this.
2569 * read.c: Replace IGNORE_OPCODE_CASE with TC_CASE_SENSITIVE.
2570 * doc/internals.texi (TC_CASE_SENSITIVE): Document.
2571
c97b7ef6
JW
25722004-02-06 James E Wilson <wilson@specifixinc.com>
2573
2574 * config/tc-ia64.c (dot_endp): Delete call to output_endp.
2575 (generate_unwind_image): Re-add it here.
2576
e4475e39
NS
25772004-02-06 Nathan Sidwell <nathan@codesourcery.com>
2578
2579 * dwarf2dbg.c (DWARF2_ADDR_SIZE): Remove trailing ';'
2580 * read.h (SKIP_WHITESPACE): Turn into an expression.
2581 * read.c (read_a_source_file): A pseudo is removed by having a
2582 NULL handler.
2583
5738bc24
JW
25842004-02-05 James E Wilson <wilson@specifixinc.com>
2585
2586 * config/tc-ia64.c (output_endp): New.
2587 (count_bits): Delete.
2588 (ia64_flush_insns, process_one_record, optimize_unw_records): Handle
2589 endp unwind records.
2590 (fixup_unw_records): Handle endp unwind records. Delete code for
2591 shortening prologue regions not followed by a body record.
2592 (dot_endp): Call add_unwind_entry to emit endp unwind record.
2593 * config/tc-ia64.h (unw_record_type): Add endp.
2594
d6e78c11
JW
25952004-02-03 James E Wilson <wilson@specifixinc.com>
2596
2597 * config/tc-ia64.c (ia64_convert_frag): Call md_number_to_chars to
2598 fill padding bytes with zeroes.
2599 (emit_one_bundle): New locals last_ptr, end_ptr. Rewrite code that
2600 sets unwind_record slot_number and slot_frag fields.
2601
f6a22291
MR
26022004-02-02 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2603
2604 * config/tc-mips.c (add_got_offset_hilo): New function.
2605 (macro): Use load_register() and add_got_offset_hilo() to load
2606 constants instead of hardcoding code sequences throughout.
2607
127cab00
L
26082004-01-28 H.J. Lu <hongjiu.lu@intel.com>
2609
2610 * config/tc-ia64.c (emit_one_bundle): Add proper indentation.
2611
6358301e
NC
26122004-01-26 Bernardo Innocenti <bernie@develer.com>
2613
2614 * config/tc-m68k.h (EXTERN_FORCE_RELOC): Handle m68k-uclinux specially,
2615 like m68k-elf.
2616 * config/tc-m68k.c (RELAXABLE_SYMBOL): Use EXTERN_FORCE_RELOC instead
2617 of hard-coded test for TARGET_OS=elf.
2618
c8978940
CD
26192004-01-24 Chris Demetriou <cgd@broadcom.com>
2620
2621 * config/tc-mips.c (hilo_interlocks): Change definition
2622 so that MIPS32, MIPS64 and later ISAs are included, along with
2623 the already-included machines. Update comments.
2624
c3ba240c
DJ
26252004-01-23 Daniel Jacobowitz <drow@mvista.com>
2626
2627 * config/tc-arm.c (tc_gen_reloc): Improve error message for
2628 undefined local labels.
2629
e864ceca
RS
26302004-01-23 Richard Sandiford <rsandifo@redhat.com>
2631
2632 * config/tc-mips.c (load_address, macro): Update comments about
2633 NewABI GP relaxation.
2634
67c0d1eb
RS
26352004-01-23 Richard Sandiford <rsandifo@redhat.com>
2636
2637 * config/tc-mips.c (macro_build): Remove place and counter arguments.
2638 (mips_build_lui, macro_build_ldst_constoffset): Likewise.
2639 (mips16_macro_build, macro_build_jalr): Remove counter argument.
2640 (set_at, load_register, load_address, move_register): Likewise.
2641 (load_got_offset, add_got_offset): Likewise.
2642 Update all calls and tidy accordingly.
2643
584892a6
RS
26442004-01-23 Richard Sandiford <rsandifo@redhat.com>
2645
2646 * config/tc-mips.c (RELAX_ENCODE): Remove WARN argument.
2647 (RELAX_FIRST, RELAX_SECOND): Turn into 8-bit quantities.
2648 (RELAX_USE_SECOND): Bump to 0x10000.
2649 (RELAX_SECOND_LONGER, RELAX_NOMACRO, RELAX_DELAY_SLOT): New flags.
2650 (mips_macro_warning): New variable.
2651 (md_assemble): Wrap macro expansion in macro_start() and macro_end().
2652 (s_cpload, s_cpsetup, s_cprestore, s_cpreturn): Likewise.
2653 (relax_close_frag): Set mips_macro_warning.first_frag. Adjust use
2654 of RELAX_ENCODE.
2655 (append_insn): Update mips_macro_warning.sizes.
2656 (macro_start, macro_warning, macro_end): New functions.
2657 (macro_build): Don't emit warnings here.
2658 (macro_build_lui, md_estimate_size_before_relax): ...or here.
2659 (md_convert_frag): Check for cases where one macro alternative
2660 needs a warning and the other doesn't. Emit a warning if the
2661 longer sequence was chosen.
2662
4d7206a2
RS
26632004-01-23 Richard Sandiford <rsandifo@redhat.com>
2664
2665 * config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): Remove.
2666 * config/tc-mips.c (RELAX_ENCODE): Take three arguments: the size of
2667 the first sequence, the size of the second sequence, and a flag
2668 that says whether we should warn.
2669 (RELAX_OLD, RELAX_NEW, RELAX_RELOC[123]): Delete.
2670 (RELAX_FIRST, RELAX_SECOND): New.
2671 (mips_relax): New variable.
2672 (relax_close_frag, relax_start, relax_switch, relax_end): New fns.
2673 (append_insn): Remove "place" argument. Use mips_relax.sequence
2674 rather than "place" to check whether we're expanding the second
2675 alternative of a relaxable macro. Remove redundant check for
2676 branch relaxation. If generating a normal insn, and there
2677 is not enough room in the current frag, call relax_close_frag()
2678 to close it. Update mips_relax.sizes[]. Emit fixups for the
2679 second version of a relaxable macro. Record the first relaxable
2680 fixup in mips_relax. Remove tc_gen_reloc workaround.
2681 (macro_build): Remove all uses of "place". Use mips_relax.sequence
2682 in the same way as in append_insn.
2683 (mips16_macro_build): Remove "place" argument.
2684 (macro_build_lui): As for macro_build. Don't drop the add_symbol
2685 when generating the second version of a relaxable macro.
2686 (load_got_offset, add_got_offset): New functions.
2687 (load_address, macro): Use new relaxation machinery. Remove
2688 tc_gen_reloc workarounds.
2689 (md_estimate_size_before_relax): Set RELAX_USE_SECOND if the second
2690 version of a relaxable macro is needed. Return -RELAX_SECOND if the
2691 first version is needed.
2692 (tc_gen_reloc): Remove relaxation handling.
2693 (md_convert_frag): Go through the fixups for a relaxable macro and
2694 mark those that belong to the unneeded alternative as done. If the
2695 second alternative is needed, adjust the fixup addresses to account
2696 for the deleted first alternative.
2697
0530d30a
RS
26982004-01-23 Richard Sandiford <rsandifo@redhat.com>
2699
2700 * frags.h (frag_room): Declare.
2701 * frags.c (frag_room): New function.
2702 * doc/internals.texi: Document it.
2703
048cdf86
TS
27042004-01-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2705
2706 * config/tc-mips.c (append_insn): Don't do r3900 interlock
2707 optimization for -mtune=r3900, as this will break on other CPUs.
2708
28d39d1a
NC
27092004-01-11 Tom Rix <tcrix@worldnet.att.net>
2710
2711 * config/tc-m68hc11.c (build_indexed_byte): movb and movw cannot
73369e65 2712 be relaxed, use fixup.
28d39d1a
NC
2713 (md_apply_fix3): Use 5 bit reloc from movb and movw fixup.
2714
26664553
JJ
27152004-01-19 Jakub Jelinek <jakub@redhat.com>
2716
2717 * config/tc-sparc.c (sparc_ip): Disallow %f32-%f63 for single
2718 precision operands.
2719
895921c9
MR
27202004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2721
2722 * config/tc-mips.c (append_insn): Properly detect variant frags
2723 that preclude swapping of relaxed branches. Correctly swap
2724 instructions between frags when dealing with relaxed branches.
2725
f8b73030
MR
27262004-01-14 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2727
2728 * acinclude.m4: Quote names of macros to be defined by AC_DEFUN
2729 throughout.
2730 * aclocal.m4: Regenerate.
2731 * configure: Regenerate.
2732
ca9a79a1 27332004-01-12 Anil Paranjpe <anilp1@KPITCummins.com>
73369e65 2734
ca9a79a1
NC
2735 * config/tc-h8300.c (build_bytes): Apply relaxation to bit
2736 manipulation insns.
2737
cc3d92a5
RS
27382004-01-12 Richard Sandiford <rsandifo@redhat.com>
2739
2740 * config/tc-mips.c (macro_build_jalr): When adding an R_MIPS_JALR
2741 reloc, reserve space for the delay slot as well as the jalr itself.
2742
e45d0630
PB
27432004-01-09 Paul Brook <paul@codesourcery.com>
2744
2745 * config/tc-arm.c (do_vfp_reg2_from_sp2): Rename from do_vfp_sp_reg2.
2746 (do_vfp_sp2_from_reg2): New function.
2747 (insns): Use them.
2748 (do_vfp_dp_from_reg2): Check return values properly.
2749
81912461
ILT
27502004-01-08 Ian Lance Taylor <ian@wasabisystems.com>
2751
78849248
ILT
2752 * config/tc-mips.c (warn_nops): Remove static variable.
2753 (macro): Remove test of warn_nops.
2754 (md_shortops): Remove 'n'.
2755 (md_parse_option): Remove 'n' case.
2756 (md_show_usage): Remove -n.
2757 * doc/as.texinfo (Overview): Remove MIPS -n option.
2758 * doc/c-mips.texi (MIPS Opts): Remove mention -n.
2759 * NEWS: Mention removal of MIPS -n option.
2760
81912461
ILT
2761 * config/tc-mips.c (ISA_HAS_COPROC_DELAYS): Remove.
2762 (cop_interlocks): Check ISA level.
2763 (cop_mem_interlocks): Define.
2764 (reg_needs_delay): Check cop_interlocks rather than
2765 ISA_HAS_COPROC_DELAYS.
2766 (append_insn): Likewise. Use cop_mem_interlocks rather than
2767 directly checking mips_opts.isa.
2768 (mips_emit_delays): Likewise.
2769
73f20958
L
27702004-01-07 H.J. Lu <hongjiu.lu@intel.com>
2771
2772 * config/tc-ia64.c (unwind): Move next_slot_number and
2773 next_slot_frag to ...
2774 (unw_rec_list): Here.
2775 (free_list_records): Removed.
2776 (output_unw_records): Likewise.
2777 (generate_unwind_image): Make it void.
2778 (alloc_record): Initialize next_slot_number and next_slot_frag.
2779 (slot_index): Take .org, .space and .align into account.
2780 (fixup_unw_records): Don't set slot_number to 0. Use
2781 list->next_slot_number and list->next_slot_frag instead of
2782 unwind.next_slot_number and unwind.next_slot_frag.
2783 (ia64_convert_frag): New.
2784 (generate_unwind_image): Generate a rs_machine_dependent frag
2785 for unwind record.
2786 (emit_one_bundle): Use list->next_slot_number and
2787 list->next_slot_frag instead of unwind.next_slot_number and
2788 unwind.next_slot_frag.
2789
2790 * config/tc-ia64.h (md_convert_frag): Defined as
2791 ia64_convert_frag.
2792 (md_estimate_size_before_relax): Defined as (f)->fr_var.
2793
99d09cdb
AO
27942004-01-06 Alexandre Oliva <aoliva@redhat.com>
2795
2796 2003-12-19 Alexandre Oliva <aoliva@redhat.com>
2797 * config/tc-frv.h (md_apply_fix3): Don't define.
2798 * config/tc-frv.c (md_apply_fix3): New. Shift/truncate %hi/%lo
2799 operands.
2800 * config/tc-frv.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
2801 2003-10-07 Alexandre Oliva <aoliva@redhat.com>
2802 * config/tc-frv.c (line_separator_chars): Add `!'.
2803 2003-09-19 Alexandre Oliva <aoliva@redhat.com>
2804 * config/tc-frv.c (md_assemble): Clear insn upfront.
2805 2003-09-18 Alexandre Oliva <aoliva@redhat.com>
2806 * config/tc-frv.c (OPTION_FDPIC): New macro.
2807 (md_longopts): Add mfdpic.
2808 (md_parse_option): Handle it.
2809 2003-08-04 Alexandre Oliva <aoliva@redhat.com>
2810 * config/tc-frv.c (md_cgen_lookup_reloc) <FRV_OPERAND_D12,
2811 FRV_OPERAND_S12>: Use reloc type encoded in fix-up.
2812 (frv_pic_ptr): Parse funcdesc.
2813
4a4c4a1d
MR
28142004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2815
2816 * doc/as.texinfo: Let texi2pod parse asconfig.texi and
2817 gasver.texi. Remove duplicate symbol definitions for texi2pod.
2818
2251dd89
MR
28192004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2820
2821 * Makefile.am (Makefile): Move the dependency on
2822 $(BFDDIR)/configure.in to...
2823 (CONFIG_STATUS_DEPENDENCIES): ... here.
2824 (AUTOMAKE_OPTIONS): Require automake 1.8.
2825 * Makefile.in: Regenerate.
2826 * doc/Makefile.am (BASEDIR, BFDDIR): Define.
2827 (CONFIG_STATUS_DEPENDENCIES): Add a dependency on
2828 $(BFDDIR)/configure.in here as well.
2829 * doc/Makefile.in: Regenerate.
2830
c6581168
MR
28312004-01-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2832
2833 * Makefile.am (install, install-info, RECURSIVE_TARGETS): Remove.
2834 * Makefile.in: Regenerate.
2835 * aclocal.m4: Regenerate.
2836 * doc/Makefile.am (install, install-info): Remove.
2837 (install-data-local): A new hook for install-info.
2838 (AUTOMAKE_OPTIONS): Require automake 1.8.
2839 * doc/Makefile.in: Regenerate.
2840
303e7b79
NC
28412004-01-02 Nutan Singh <nutan@kpitcummins.com>
2842
2843 * doc/c-sh.texi: Update description about floating point behavior
2844 of SH family.
2845
b50c15dc
NC
28462004-01-02 Bernardo Innocenti <bernie@develer.com>
2847
2848 * configure.in: Add m68k-uClinux target.
2849 * configure: Regenerate.
7de9afa2 2850
c9e214e5 2851For older changes see ChangeLog-0203
08d56133
NC
2852\f
2853Local Variables:
2854mode: change-log
2855left-margin: 8
2856fill-column: 74
2857version-control: never
2858End:
This page took 0.318296 seconds and 4 git commands to generate.