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