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