* ld-powerpc/tlsexetoc.d: Update.
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
399f703e
HPN
12003-06-16 Hans-Peter Nilsson <hp@axis.com>
2
3 * configure.in: Add specific case for cris-*-linux-gnu* with
4 em=linux.
5 * configure: Regenerate.
6 * config/tc-cris.c (DEFAULT_CRIS_AXIS_LINUX_GNU): New macro, TRUE
7 if TE_LINUX defined, else FALSE.
8 (bfd_boolean demand_register_prefix): Set default from
9 DEFAULT_CRIS_AXIS_LINUX_GNU.
10 (symbols_have_leading_underscore): Similar.
11 * config/tc-cris.h (LOCAL_LABELS_DOLLAR): Define to 1.
12
39c2da32
RE
132003-06-13 Richard Earnshaw <rearnsha@arm.com>
14
15 * tc-arm.c (FPU_DEFAULT, case TE_LINUX): Default to FPU_ARCH_FPA.
16 (FPU_DEFAULT, case TE_NetBSD): Default to FPU_ARCH_VFP for ELF,
17 FPU_ARCH_FPA for AOUT.
18 (md_begin): Don't try to guess the floating point architecture from
19 the CPU if the OS ABI (Linux, NetBSD) mandates a particular form.
20
a06a29f2
NC
212003-06-13 Robert Millan <zeratul2@wanadoo.es>
22
23 * configure.in: Add i386-netbsd-gnu target.
24 * configure: Regenerate.
25
d88ef7a6
TT
262003-06-12 Tom Tromey <tromey@redhat.com>
27
28 * doc/as.texinfo (Comm): Added @node. Moved before CFI
29 directives node.
30
34ce925e
RS
312003-06-12 Richard Sandiford <rsandifo@redhat.com>
32
33 * config/tc-mips.c (append_insn): In a compound relocation, take the
34 field width from the final (outermost) operator.
35
cdfbf930
RH
362003-06-11 Richard Henderson <rth@redhat.com>
37
38 * dw2gencfi.c (struct cfi_escape_data): New.
39 (cfi_add_CFA_nop): Remove.
40 (CFI_escape, dot_cfi_escape): New.
41 (dot_cfi): Remove nop.
42 (cfi_pseudo_table): Remove nop; add escape.
43 (output_cfi_insn): Likewise.
44 (select_cie_for_fde): Stop on escape.
45 * dw2gencfi.h (cfi_add_CFA_nop): Remove.
46 * read.c, read.h (do_parse_cons_expression): New.
47 * doc/as.texinfo (.cfi_escape): New.
48
8c1a34cd
TS
492003-06-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
50
51 * config/tc-mips.c (s_cpsetup): Use mips_frame_reg instead of SP.
52 (s_cprestore): Likewise.
53 (s_cpreturn): Likewise.
54
4b0cff4e
TS
552003-06-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
56
57 * config/tc-mips.c (tc_gen_reloc): Initialize retval amd reloc
58 with zeros.
59
a7ebbfdf
TS
602003-06-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
61
62 * config/tc-mips.c (md_pcrel_from): Return actual pcrel address.
63 (md_apply_fix3): Ignore non-special relocations. Remove superfluous
64 exceptions from size assert. Remove most of the addend fixup
65 specialcasing. Remove value, use valP directly. simplify fx_addnumber
66 handling. Remove zero addend specialcases.
67 (tc_gen_reloc): Use appropriate value for reloc2 addend. Remove
68 the addend fixup specialcase.
69 * config/tc-mips.h (MD_APPLY_SYM_VALUE): Define as 0.
70
d25d759d
TS
712003-06-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
72
73 * write.c (write_relocs): Use xcalloc. Fix relocs initialization
74 in the RELOC_EXPANSION_POSSIBLE case.
75
9d83078b
AM
762003-06-11 Alan Modra <amodra@bigpond.net.au>
77
78 * config/tc-i960.c (line_comment_chars): Add '#'.
79 * config/tc-mn10200.c (tc_gen_reloc): Don't ignore fx_subsy.
80
3b443373
L
812003-06-11 H.J. Lu <hongjiu.lu@intel.com>
82
83 * po/Make-in (DESTDIR): New.
84 (install-data-yes): Support $(DESTDIR).
85 (uninstall): Likewise.
86
795bb480
AM
872003-06-11 Alan Modra <amodra@bigpond.net.au>
88
89 * Makefile.am: Run "make dep-am".
90 * Makefile.in: Regenerate.
91 * po/POTFILES.in: Regenerate.
92
b11dcf4e
DE
932003-06-10 Doug Evans <dje@sebabeach.org>
94
95 * cgen.c (gas_cgen_finish_insn): CGEN_INSN_RELAX renamed to
96 CGEN_INSN_RELAXED.
97 * config/tc-fr30.c (md_estimate_size_before_relax): Ditto.
98 * config/tc-m32r.c (md_estimate_size_before_relax): Ditto.
99 * config/tc-openrisc.c (md_estimate_size_before_relax): Ditto.
100
adadcc0c
AM
1012003-06-10 Alan Modra <amodra@bigpond.net.au>
102 Gary Hade <garyhade@us.ibm.com>
103
104 * config/tc-ppc.c (md_assemble): Handle PPC_OPERAND_DQ.
105 (md_apply_fix3): Special case lq insn.
106
0613284f
RS
1072003-06-10 Richard Sandiford <rsandifo@redhat.com>
108
109 * config/tc-h8300.c (get_rtsl_operands): Accept unbracketed register
110 lists. Allow single-register ranges.
111
f4984206
RS
1122003-06-10 Richard Sandiford <rsandifo@redhat.com>
113
114 * config/tc-h8300.c (h8300sxnmode): New.
7134554a 115 (md_pseudo_table): Add .h8300sxn entry.
f4984206 116
12b55ccc
L
1172003-06-09 H.J. Lu <hongjiu.lu@intel.com>
118
119 * NEWS: Updated for the new -n option for the i386 assembler.
120
121 * config/tc-i386.c (optimize_align_code): New.
122 (md_shortopts): Add 'n'.
123 (md_parse_option): Handle 'n'.
124 (md_show_usage): Add '-n'.
125
126 * config/tc-i386.h (optimize_align_code): Declared.
127 (md_do_align): Optimize code alignment only if optimize_align_code
128 is not 0.
129
130 * doc/as.texinfo: Add the new -n option.
131
132 * doc/c-i386.texi: Document the new -n option.
133
fa87b337
RH
1342003-06-07 Richard Henderson <rth@redhat.com>
135
17076204
RH
136 * doc/as.texinfo: Document .cfi_rel_offset.
137
fa87b337
RH
138 * dw2gencfi.c (struct cfa_save_data, cfa_save_stack): New.
139 (cfi_add_CFA_offset): Detect invalid offsets.
140 (cfi_add_CFA_remember_state): Save cur_cfa_offset.
141 (cfi_add_CFA_restore_state): Restore it.
142 (CFI_rel_offset): New.
143 (cfi_pseudo_table): Add it.
144 (dot_cfi): Handle it.
145
52628315
L
1462003-06-07 H.J. Lu <hongjiu.lu@intel.com>
147
148 * app.c (do_scrub_chars): Add states 14 and 15 to handle
149 predicate for ia64.
150
d4ea8842
MS
1512003-06-05 Michael Snyder <msnyder@redhat.com>
152
153 * config/tc-h8sx.c (get_specific): Distinguish h8h from h8s ops.
154 (build_bytes): Ditto.
155
1562003-06-05 Richard Sandiford <rsandifo@redhat.com>
157
158 * config/tc-h8sx.c (DMODE): Remove.
159 (colonmod24): Don't choose a default if the operand is a 16-bit
160 constant integer.
161 (fix_operand_size): New function.
162 (md_assemble): Use it to choose between @(d:2, ERn) and @(d:16,ERn).
163 Adjust @(d:2,ERn) operands before choosing the specific opcodes.
164
2be24b54
ML
1652003-06-05 Michal Ludvig <mludvig@suse.cz>
166
167 * dw2gencfi.c (cfi_add_CFA_insn, cfi_add_CFA_insn_reg)
168 (cfi_add_CFA_insn_reg_reg, cfi_add_CFA_insn_reg_offset): New.
169 (cfi_add_CFA_offset, cfi_add_CFA_def_cfa)
170 (cfi_add_CFA_register, cfi_add_CFA_def_cfa_register)
171 (cfi_add_CFA_def_cfa_offset): Use cfi_add_CFA_insn_*().
172 (cfi_add_CFA_restore, cfi_add_CFA_undefined)
173 (cfi_add_CFA_same_value, cfi_add_CFA_remember_state)
174 (cfi_add_CFA_restore_state, cfi_add_CFA_nop): New.
175 (cfi_pseudo_table): New directives .cfi_return_column,
176 .cfi_restore, .cfi_undefined, .cfi_same_value,
177 .cfi_remember_state, .cfi_restore_state, .cfi_nop.
178 (dot_cfi, output_cfi_insn): Handle new directives.
179 * dw2gencfi.h (cfi_add_CFA_restore, cfi_add_CFA_undefined)
180 (cfi_add_CFA_same_value, cfi_add_CFA_remember_state)
181 (cfi_add_CFA_restore_state, cfi_add_CFA_nop): New prototypes.
182
757bc393
RH
1832003-06-04 Richard Henderson <rth@redhat.com>
184
1233ae62
RH
185 * dw2gencfi.c (output_cfi_insn): Fix typo for negative offsets.
186
757bc393
RH
187 * dw2gencfi.c (cfi_finish): Set .eh_frame read-only.
188
f4b97536
RH
1892003-06-04 Richard Henderson <rth@redhat.com>
190
191 * config/tc-alpha.c (s_alpha_usepv): New.
192 (md_pseudo_table): Add it.
193 (alpha_cfi_frame_initial_instructions): New.
194 * config/tc-alpha.h (TARGET_USE_CFIPOP): New.
195 (tc_cfi_frame_initial_instructions): New.
196 * doc/c-alpha.texi: Document .usepv.
197
68d55fe3
JJ
1982003-06-04 Jakub Jelinek <jakub@redhat.com>
199
200 * as.c (show_usage): Document --execstack and --noexecstack.
201 (parse_args): Add --execstack and --noexecstack.
202 (main): Create .note.GNU-stack section if --execstack or
203 --noexecstack was given on comand line, set its SHF_EXECINSTR bit.
204 * as.h (flag_execstack, flag_noexecstack): New.
205
f9b4148d
CD
2062003-06-03 Chris Demetriou <cgd@broadcom.com>
207
208 * config/tc-mips.c: (OPTION_ARCH_BASE, OPTION_ASE_BASE)
209 (OPTION_COMPAT_ARCH_BASE, OPTION_FIX_BASE)
210 (OPTION_MISC_BASE): New defines.
211 (OPTION_BREAK, OPTION_CONSTRUCT_FLOATS, OPTION_EB, OPTION_EL)
212 (OPTION_ELF_BASE, OPTION_FIX_VR4122, OPTION_FP32, OPTION_FP64)
213 (OPTION_GP32, OPTION_GP64, OPTION_M3900, OPTION_M4010, OPTION_M4100)
214 (OPTION_M4650, OPTION_M7000_HILO_FIX, OPTION_MARCH, OPTION_MDMX)
215 (OPTION_MEMBEDDED_PIC, OPTION_MIPS1, OPTION_MIPS16, OPTION_MIPS2)
216 (OPTION_MIPS3, OPTION_MIPS32, OPTION_MIPS32R2, OPTION_MIPS3D)
217 (OPTION_MIPS4, OPTION_MIPS5, OPTION_MIPS64)
218 (OPTION_MNO_7000_HILO_FIX, OPTION_MTUNE, OPTION_NO_CONSTRUCT_FLOATS)
219 (OPTION_NO_FIX_VR4122, OPTION_NO_M3900, OPTION_NO_M4010)
220 (OPTION_NO_M4100, OPTION_NO_M4650, OPTION_NO_MDMX, OPTION_NO_MIPS16)
221 (OPTION_NO_MIPS3D, OPTION_NO_RELAX_BRANCH, OPTION_RELAX_BRANCH)
222 (OPTION_TRAP): Redefine in terms of new defines.
223 (md_longopts): Reorder entries.
224
7ee7b84d
MS
2252003-05-14 Michael Snyder <msnyder@redhat.com>
226 From Bernd Schmidt <bernds@redhat.com>
227 and Michael Snyder <msnyder@redhat.com>
228 and Alexandre Oliva <aoliva@redhat.com>
229 * config/tc-h8300.c: Add insns and addressing modes for h8300sx.
230 * config/tc-h8300.h: Ditto.
231
e30ddb24
NC
2322003-06-03 Nick Clifton <nickc@redhat.com>
233
234 * tc-v850.c (tc-gen_reloc): Translate BFD_RELOC_32 into
adadcc0c
AM
235 BFD_RELOC_32_PCREL if the reloc is pc-relative. Do this
236 before calling bfd_reloc_type_lookup.
237
ed7d5d1a
AM
2382003-06-02 Alan Modra <amodra@bigpond.net.au>
239
240 * read.c (emit_expr): Set dot_value.
241 * dw2gencfi.c (output_fde): Remove pcrel reloc hack.
242
c1ed1235
AM
2432003-06-02 Alan Modra <amodra@bigpond.net.au>
244
245 * macro.c (sub_actual): Don't lose string if it turns out that
246 &string wasn't an arg.
247
eafbc43f
RH
2482003-05-31 Richard Henderson <rth@redhat.com>
249
250 * dw2gencfi.c (output_fde): Use fix_new to emit pc-relative reloc.
251 (cfi_finish): Set flag_traditional_format around .eh_frame data.
252
f37f01cf
RH
2532003-05-29 Richard Henderson <rth@redhat.com>
254
255 * config/tc-alpha.c (alpha_cur_ent_sym): Remove.
256 (all_frame_data, plast_frame_data, cur_frame_data): New.
257 (s_alpha_ent): Record data for dwarf2 cfi.
9f470756
L
258 (s_alpha_end, s_alpha_mask, s_alpha_frame, s_alpha_prologue): Likewise.
259 (alpha_elf_md_end): Emit dwarf2 cfi for ecoff unwind directives.
f37f01cf
RH
260 * config/tc-alpha.h (md_end): New.
261 (DWARF2_DEFAULT_RETURN_COLUMN): New.
262 (DWARF2_CIE_DATA_ALIGNMENT): New.
263
a197c351
NC
2642003-05-29 Nick Clifton <nickc@redhat.com>
265
266 * configure.in: Add i386-*-freebsd* entry.
267 * configure: Regenerate.
268
4bf4a882 2692003-05-29 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
ed7d5d1a
AM
270
271 * config/tc-m32r.c: Amend comment to refer to Renesas
4bf4a882 272
756d1d01
RH
2732003-05-27 Richard Henderson <rth@redhat.com>
274
275 * expr.c (make_expr_symbol): Fold FAKE_LABEL_NAME use into the
276 symbol_create call.
277 (current_location): Use symbol_temp_new_now.
278 * stabs.c (s_stab_generic): Use symbol_temp_new.
279 * symbols.c (temp_label_name): Remove.
280 (symbol_temp_new, symbol_temp_make): Use FAKE_LABEL_NAME.
281
a4447b93
RH
2822003-05-27 Richard Henderson <rth@redhat.com>
283
284 * dw2gencfi.c, dw2gencfi.h: Rewrite from scratch.
285 * as.c (main): Always call cfi_finish.
286 * config/tc-i386.c (x86_dwarf2_return_column): New.
287 (x86_cie_data_alignment): New.
288 (md_begin): Set them.
289 (tc_x86_cfi_init): Remove.
290 (tc_x86_regname_to_dw2regnum): Fix 32-bit register numbers;
291 return int, not unsigned long; don't as_bad here.
292 (tc_x86_frame_initial_instructions): Streamline; use
293 updated api.
294 * config/tc-i386.h (tc_cfi_init): Remove.
295 (DWARF2_DEFAULT_RETURN_COLUMN): New.
296 (DWARF2_CIE_DATA_ALIGNMENT): New.
297
b7d6ed97
RH
2982003-05-27 Richard Henderson <rth@redhat.com>
299
300 * symbols.c (temp_label_name): New.
301 (symbol_temp_new, symbol_temp_new_now, symbol_temp_make): New.
302 (symbol_set_value_now): New.
303 * symbols.h: Prototype them.
304 * dwarf2dbg.c: Use them.
305 (fake_label_name, symbol_new_now, set_symbol_value_now): Remove.
306
14218d5f
JE
3072003-05-23 Jason Eckhardt <jle@rice.edu>
308
309 * config/tc-i860.c (target_xp): Declare variable.
310 (OPTION_XP): Declare macro.
311 (md_longopts): Add option -mxp.
312 (md_parse_option): Set target_xp.
313 (md_show_usage): Add -mxp usage.
314 (i860_process_insn): Recognize XP registers bear, ccr, p0-p3.
315 (md_assemble): Don't try expansions if XP_ONLY is set.
316 * doc/c-i860.texi: Document -mxp option and i860XP support.
317
36ede617
EC
3182003-05-23 Eric Christopher <echristo@redhat.com>
319
320 * config/tc-mips.c (macro_build_jalr): Warning patrol.
321
a105a300
TS
3222003-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
323
324 * config/tc-mips.c (append_insn): Use actual relocation size for new
325 fixp's. Don't relax overflow checking for partial_inplace relocations.
326 Use the actual relocation type in combined relocs, not just the type
327 of the first one.
328 (macro_build_jalr): Use actual relocation size for new fix.
329 (s_cpsetup, s_gpdword): Likewise.
330
dc9461f6
TS
3312003-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
332
333 * config/tc-mips.c (macro): Don't use uninitialized tempreg.
334
ceb41009
NC
3352003-05-22 Nick Clifton <nickc@redhat.com>
336
337 * config/tc-xstormy16.c (md_pcrel_from_section): Do not produce
338 section relative offsets for relocs that will not be based on the
339 section symbol.
340 (xstormy16_md_apply_fix3): Remove previous patch to this
341 function.
342
143d77c5
EC
3432003-05-07 Eric Christopher <echristo@redhat.com>
344
ed7d5d1a
AM
345 * config/tc-mips.c (mips_abicalls): New variable.
346 (md_parse_option): Use.
347 (s_option): Ditto.
348 (s_abicalls): Ditto.
349 (mips_elf_final_processing): Set EF_MIPS_PIC and
350 EF_MIPS_CPIC dependent on above.
143d77c5 351
85c77c38
DA
3522003-05-21 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
353
354 * tc-hppa.c (hppa_symbol_chars): Remove `,' and `!'.
355
87ccc1b0
NC
3562003-05-21 Nick Clifton <nickc@redhat.com>
357
ed7d5d1a
AM
358 * config/obj-elf.c: Include dwarf2dbg.h.
359 (elf_pseudo_tab): Add .file and .loc.
360 * config/tc-arc.c (md_pseudo_table): Remove .file and .loc.
361 * config/tc-arm.c: Likewise.
362 * config/tc-h8300.c: Likewise.
363 * config/tc-hppa.c: Likewise.
364 * config/tc-ia64.c: Likewise.
365 * config/tc-m68hc11.c: Likewise.
366 * config/tc-m68k.c: Likewise.
367 * config/tc-mmix.c: Likewise.
368 * config/tc-mn10300.c: Likewise.
369 * config/tc-ppc.c: Likewise.
370 * config/tc-sh.c: Likewise.
371 * config/tc-sparc.c: Likewise.
372 * config/tc-v850.c: Likewise.
373 * config/tc-frv.c: Likewise, and remove redundant inclusion of
374 dwarf2dbg.h.
375 * config/tc-ip2k.c: Likewise.
376 * config/tc-iq2000.c: Likewise.
377 * config/tc-xstormy16.c: Likewise.
378 * config/tc-xtensa.c: Likewise.
87ccc1b0 379 * Makefile.am: Regenerate dependencies.
ed7d5d1a
AM
380 * Makefile.in: Regenerate.
381 * aclocal.m4: Regenerate.
382 * config.in: Regenerate.
383 * configure: Regenerate.
384 * po/POTFILES.in: Regenerate.
385 * po/gas.pot: Regenerate.
143d77c5 386
7ed2c8b0
NC
3872003-05-21 Nick Clifton <nickc@redhat.com>
388
389 * dw2gencfi.c (cfi_get_label): Use symbol_make for non
390 BFD_ASSEMBLER targets.
391 (cfi_startproc): Change type of saved_seg and cfi_seg to segT.
392 (dot_cfi_endproc): Only call bfd_set_section_flags for targets
393 defining BFD_ASSEMBLER.
394
39b82151
ML
3952003-05-20 Michal Ludvig <mludvig@suse.cz>
396
397 * as.c (main): Remove tc_cfi_init().
143d77c5 398 * dw2gencfi.c (cfi_parse_arg): Allow regnames beginning
39b82151
ML
399 with '%'.
400 (cfi_pseudo_table): Add "cfi_register" entry.
401 (cfi_make_insn): Handle CFA_register.
402 (cfi_output_insn): Ditto.
403 (dot_cfi): Ditto.
404 (cfi_get_label): Add 'simple' modifier to .cfi_startproc.
405 (dot_cfi_endproc): Reuse already emitted CIEs.
406 * testsuite/gas/cfi/cfi-i386.d: New pattern.
407 * testsuite/gas/cfi/cfi-x86-64.d: Ditto.
408
f53e95c7
NC
4092003-05-20 Nick Clifton <nickc@redhat.com>
410
411 * config/tc-xstormy16.c: Include dwarf2dbg.h.
412 (md_pseudo_table): Add entries for .loc and .line.
413
7c0295b1
AM
4142003-05-20 Alan Modra <amodra@bigpond.net.au>
415
416 * dw2gencfi.c (cfi_parse_arg): Only use tc_regname_to_dw2regnum if
417 defined.
418 (dot_cfi_endproc): Avoid C99 construct.
419
54cfded0
AM
4202003-05-20 Michal Ludvig <mludvig@suse.cz>
421
422 * dw2gencfi.c, dw2gencfi.h: New files.
423 * config/tc-i386.c (tc_x86_cfi_init): New function.
424 * config/tc-i386.h (TARGET_USE_CFIPOP, tc_cfi_init): New defines.
425 * as.c (parse_args): Set verbose flag on --verbose.
426 (main): Call tc_cfi_init()/cfi_finish().
427 * as.h (verbose): New external variable.
428 * read.c (pobegin): Insert CFI pops to the list.
429 * symbols.c (local_symbol_make): Make symbol external.
430 * symbols.h (local_symbol_make): New prototype.
431 * Makefile.am: Add dw2gencfi.[ch] files. Run "make dep-am".
432 * Makefile.in: Regenerate.
433 * doc/as.texinfo: Added node "CFI directives" with description of
434 all implemented .cfi_* directives.
435 * doc/Makefile.in: Regenerate.
436 * po/POTFILES.in: Regenerate.
437
a1f3c24c
SS
4382003-05-19 Svein E. Seldal <Svein.Seldal@solidas.com>
439
54cfded0
AM
440 * config/tc-tic4x.c (md_assemble): Added support for one-line parallel
441 insns.
1975ab25 442 * config/tc-tic4x.h: Added DOUBLEBAR_PARALLEL definition
a1f3c24c 443
b645cb17
JE
4442003-05-18 Jason Eckhardt <jle@rice.edu>
445
446 * config/tc-i860.c (i860_process_insn): Initialize fc after
447 each opcode mismatch.
448
80c7c40a
NC
4492003-05-16 Kelley Cook <kelleycook@wideopenwest.com>
450
451 * configure.in: Accept i[3-7]86 variants.
452 * configure: Regenerate.
453
c344a4c8
TS
4542003-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
455
456 * config/tc-mips.h: Fix comment formatting.
457
64e55042
HPN
4582003-05-13 Hans-Peter Nilsson <hp@axis.com>
459
460 * read.c (old_buffer, old_input, old_limit): Remove variables.
54cfded0 461 (read_a_source_file): Delete label contin.
64e55042
HPN
462 <handling #APP/#NO_APP>: Use an "sb" to push #APP expansion into
463 input as with macros, instead of in separate old_* variables.
464 Zero-terminate string being scrubbed.
465
e66c629e
NC
4662003-05-12 Nick Clifton <nickc@redhat.com>
467
468 * config/tc-xstormy16.c (skipping_fptr): New local variable.
469 (md_assemble): Reset skipping_fptr.
470 (md_operand): If @fptr() is followed by a minus sign, set
471 skipping_fptr and ignore the fptr. If skipping_fptr is set and an
472 @fptr is detected, ignore it and reset skipping_fptr.
473
673a54e3
JE
4742003-05-11 Jason Eckhardt <jle@rice.edu>
475
476 * config/tc-i860.c (MAX_FIXUPS): Define.
477 (struct i860_fi fi[]): New struct.
478 (struct i860_it the_insn): Add above as member and move fields
479 exp, reloc, pcrel and fup into i860_fi.
480 (md_assemble): Replace all instances of exp, reloc, pcrel
481 and fup with fi[].exp, fi[].reloc, fi[].pcrel, fi[].fup.
482 Add a loop to possibly emit multiple fix-ups for each insn.
483 (i860_process_insn): Likewise.
484 (i860_get_expression): Likewise.
485 (md_apply_fix3): Use a bitwise check for OP_IMM_U5, not equality.
486
2ebb4b88
MS
4872003-05-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
488
489 * config/tc-s390.c (s390_target_format): Always call init_default_arch.
490
35f5df7f
L
4912003-05-07 H.J. Lu <hongjiu.lu@intel.com>
492
493 * config/tc-ia64.c (alias_hash): New.
494 (alias_name_hash): New.
495 (secalias_hash): New.
496 (secalias_name_hash): New.
497 (md_pseudo_table): Add "secalias".
498 (md_begin): Initialize alias_hash, alias_name_hash,
499 secalias_hash and secalias_name_hash.
500 (struct alias): New.
501 (dot_alias): Implement .alias and .secalias directives.
502 (do_alias): New.
503 (ia64_adjust_symtab): New.
504 (do_secalias): New.
505 (ia64_frob_file): New.
506
507 * config/tc-ia64.h (ia64_adjust_symtab): New.
508 (tc_adjust_symtab): Defined.
509 (ia64_frob_file): New.
510 (tc_frob_file): Defined.
511
d2bf1bda
NC
5122003-05-07 Dmitry Diky <diwil@mail.ru>
513
514 * tc-msp430.c: Add missing lines to known cpus list.
515
cac012d6
AO
5162003-05-06 Alexandre Oliva <aoliva@redhat.com>
517
518 * configure.in (MIPS_DEFAULT_ABI): AC_DEFINE.
519 * config/tc-mips.c (mips_after_parse_args): Set mips_abi to it.
520 * config.in, configure: Rebuilt.
521
d8dbbec1
L
5222003-05-05 H.J. Lu <hjl@gnu.org>
523
524 * config/tc-mips.c (tc_gen_reloc): Add addend just once if
525 howto->partial_inplace is false.
526
9204e615
DJ
5272003-05-05 Daniel Jacobowitz <drow@mvista.com>
528
529 * config/tc-mips.c (mips_need_elf_addend_fixup): Remove
530 symbol_used_in_reloc_p check.
531 (md_apply_fix3): Remove check for howto->pcrel_offset.
532
711ef82f
L
5332003-05-03 H.J. Lu <hjl@gnu.org>
534
535 * config/obj-elf.c (obj_elf_parse_section_letters): Make it a
536 fatal error for unknown section attribute.
537
538 * config/tc-alpha.c (alpha_elf_section_letter): Return -1 for
539 unknown section attribute.
540 * config/tc-ia64.c (ia64_elf_section_letter): Likewise.
541 * config/tc-ppc.c (ppc_section_letter): Likewise.
542
543 * config/tc-ia64.c (ia64_elf_section_letter): Handle 'o'.
544 (ia64_elf_section_type): Accept "unwind".
545
83b5ab55
L
5462003-05-02 H.J. Lu <hjl@gnu.org>
547
548 * read.h (demand_copy_string): New.
549
550 * config/tc-alpha.c (demand_copy_string): Removed.
551
7ff0565e
MS
5522003-05-02 Michael Snyder <msnyder@redhat.com>
553
54cfded0 554 * write.h (FAKE_LABEL_NAME): Allow override
7ff0565e
MS
555 (for targets that like eg. a leading dot in a local label).
556
2968149b
NC
5572003-05-02 Nick Clifton <nickc@redhat.com>
558
559 * config/tc-xstormy16.c (xstormy16_md_apply_fix3): Do not bias the
560 addend with the symbol's value for pc-relative relocations against
561 a defined symbol - this will be done automatically.
562
e7b9a8c1
L
5632003-05-01 H.J. Lu <hjl@gnu.org>
564
565 * config/obj-elf.c (obj_elf_type): Accept "notype" and
566 "STT_NOTYPE".
567
612d7b83
L
5682003-05-01 H.J. Lu <hjl@gnu.org>
569
570 * config/tc-ia64.h (tc_canonicalize_section_name): New.
571
572 * config/obj-elf.c (obj_elf_section_name): Call
573 tc_canonicalize_section_name if it is defined.
574
a645d1eb
L
5752003-05-01 H.J. Lu <hjl@gnu.org>
576
577 * config/tc-ia64.c (ia64_check_label): New.
578 * config/tc-ia64.h (tc_check_label): New.
579
580 * read.c (read_a_source_file): Call tc_check_label after
581 creating a user-defined label if defined.
582
df12615d
AM
5832003-05-02 Alan Modra <amodra@bigpond.net.au>
584
585 * config/tc-ppc.c (md_show_usage): Mention -a32, -a64, -l, -le, -b,
586 -be and split strings to below 509 bytes in length.
587
f70c8412
CG
5882003-05-01 Christian Groessler <chris@groessler.org>
589
590 * expr.h: Fix comments in operatorT typedef.
54cfded0 591 * config/tc-z8k.c: Add 2003 to copyright message.
f70c8412
CG
592 Fold s_segm() and s_unseg() into one function s_segm(parm) which
593 decides by the parameter.
594 (md_begin): Don't set linkrelax. Only set Z8002 default if no
595 command line argument was given to select the intended
596 architecure.
597 (get_interrupt_operand): Warn if NOP type code is emitted.
598 (newfix): New parameter 'size', forward it to 'fix_new_exp'.
599 (apply_fix): Call newfix with additional 'size' parameter.
600 (build_bytes): Remove unused variable 'nib'. Detect overflow in
601 4 bit immediate arguments.
602 (md_longopts): Add 'linkrelax' option.
603 (md_parse_option): Adapt to new s_segm function. Set 'linkrelax'
604 variable when 'linkrelax' command line option is specified.
605 (md_show_usage): Display 'linkrelax' option.
606 (md_apply_fix3): Fix cases R_IMM4L, R_JR, and R_IMM8. Add cases
607 R_CALLR and R_REL16.
608 * config/tc-z8k.h: Undef WARN_SIGNED_OVERFLOW_WORD.
609
10a98291
L
6102003-04-30 H.J. Lu <hjl@gnu.org>
611
612 * config/tc-ia64.c (ia64_number_to_chars): New function pointer.
613 (ia64_float_to_chars): Likewise.
614 (dot_byteorder): Set target_big_endian, ia64_number_to_chars
615 and ia64_float_to_chars by tc_segment_info_data.endian from
616 the current segment if byteorder == -1.
617 (md_begin): Call dot_byteorder to set target_big_endian.
618 (md_atof): Call ia64_float_to_chars to convert floating point.
619 (ia64_float_to_chars_bigendian): New function.
620 (ia64_float_to_chars_littleendian): Likewise.
621 (ia64_elf_section_change_hook): Likewise.
622
623 * config/tc-ia64.h (ia64_number_to_chars): New.
624 (md_number_to_chars): Changed to (*ia64_number_to_chars)
625 (ia64_elf_section_change_hook): New.
626 (md_elf_section_change_hook): Defined.
627 (ia64_segment_info_type): New struct.
628 (TC_SEGMENT_INFO_TYPE): Defined.
629
bf57c3c9
L
6302003-04-30 H.J. Lu <hjl@gnu.org>
631
632 * config/tc-ia64.c (md_section_align): Deleted.
633
634 * config/tc-ia64.h (SUB_SEGMENT_ALIGN): New.
635 (md_section_align): New.
636
165a7f90
L
6372003-04-30 H.J. Lu <hjl@gnu.org>
638
639 * config/tc-ia64.c (stmt_float_cons): Fix alignment for real10
640 and add real16.
641 (md_pseudo_table): Add "xreal16", "xreal16.ua", "real16" and
642 "real16.ua".
643 (md_atof): Add 6 byte padding of zero for real16.
644
eba874d8
NC
6452003-04-29 Nick Clifton <nickc@redhat.com>
646
647 * config/obj-elf.c (obj_elf_symver): Skip whitespace before the
648 start of a version name.
649
dbeba5e5
CD
6502003-04-28 Chris Demetriou <cgd@broadcom.com>
651
652 * configure.in (mips-*-*n*bsd*): Replace with...
653 (mips-*-netbsd*, mips-*-openbsd*): These.
654 * configure: Regenerate.
655
f0d7d5f9
NC
6562003-04-28 H.J. Lu <hjl@gnu.org>
657
658 * config/tc-hppa.c (hppa_symbol_chars): New.
659 * config/tc-hppa.h (tc_symbol_chars): Likewise.
660
a38b42ab
TS
6612003-04-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
662
663 * config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Define again.
664
69be0a2b
CD
6652003-04-25 Chris Demetriou <cgd@broadcom.com>
666
667 * NEWS: Belatedly mention support for MIPS32 Release 2.
668
684022ea
EC
6692003-04-24 Eric Christopher <echristo@redhat.com>
670
671 * config/tc-mips.c (nopic_need_relax): Revert previous
672 change.
673
2c8714f2
NC
6742003-04-24 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
675
676 * config/tc-h8300.h (DWARF2_LINE_MIN_INSN_LENGTH): New
684022ea 677 * config/tc-h8300.c (dwarf2dbg.h): Include
2c8714f2
NC
678 (md_pseudo_table): Handle .loc and .file
679 (md_assemble): Call dwarf2_emit_insn if BFD_ASSEMBLER.
680 * Makefile.am: Add dependency on dwarf2dbg.h for h8300 targets.
681 * Makefile.in: Regenerate.
682
684022ea 6832003-04-24 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
8d9cd6b1
NC
684
685 * config/tc-h8300.c (Nmode, h8300hnmode, h8300snmode): New.
686 (md_pseudo_table): Add h8300hn, h8300sn.
687 * config/tc-h8300.h (COFF_MAGIC): Handle h8300hn, h8300sn.
688 * doc/c-h8300.texi : Add documentation for new machine directives.
689
5ce8663f
NC
6902003-04-24 Nick Clifton <nickc@redhat.com>
691
692 * config/tc-ppc.c (ppc_symbol_chars): Define.
693 * config/tc-ppc.h (tc_symbol_chars): Define.
694
ef230218
JR
6952003-04-23 J"orn Rennecke <joern.rennecke@superh.com>
696
697 * config/tc-sh.c: Amend comment to refer to SuperH.
698 * config/tc-sh.h: Likewise.
699 (LISTING_HEADER): Amend to refer to SuperH.
700 * config/tc-sh64.c: Change comment to refer to SuperH.
701 * config/tc-sh64.h (LISTING_HEADER): Change to refer to SuperH.
702 * doc/as.texinfo [SH, GENERIC]: Amend / Change to refer to SuperH.
703 * doc/c-sh.texi: Amend to refer to SuperH.
704 Add SuperH architecture documentation references.
705 * doc/c-sh64.texi: Change to refer to SuperH.
706
204cd129
NC
7072003-04-23 H.J. Lu <hjl@gnu.org>
708
709 * app.c (do_scrub_chars): More checks for valid labels.
710
2cdb18a7
L
7112003-04-22 H.J. Lu <hjl@gnu.org>
712
713 * app.c (do_scrub_chars): Check for valid label.
714
26597c86
NC
7152003-04-22 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
716
717 * doc/as.texinfo: Replace references to Mitsubishi M32R with
718 references to Renesas M32R.
719 * doc/c-m32r.texi: Likewise.
720
88b4ca40
RH
7212003-04-21 Richard Henderson <rth@redhat.com>
722
54cfded0
AM
723 * dwarf2dbg.c (get_filenum): Skip as-yet unassigned file numbers.
724 (out_file_list): Assign non-null filename after generating error.
88b4ca40 725
e5f08f7e
JJ
7262003-04-18 Jakub Jelinek <jakub@redhat.com>
727
728 * ehopt.c (check_eh_frame): For aug_size == 0
729 in state_seeing_aug_size state skip the state_skipping_aug
730 state.
731
c2dcd04e
NC
7322003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com>
733
734 * doc/c-h8300.texi: Replace occurrances of 'Hitachi' with
735 'Renesas'.
736 * doc/c-h8500.texi: Likewise.
737 * doc/c-sh.texi: Likewise.
738 * doc/c-sh64.texi: Likewise.
739 * doc/h8.texi: Likewise.
740 * config/tc-h8300.c: Likewise.
741 * config/tc-h8300.h: Likewise.
742 * config/tc-h8500.c: Likewise.
743 * config/tc-h8500.h: Likewise.
744 * config/tc-sh.c: Likewise.
745 * config/tc-sh.h: Likewise.
746 * config/tc-sh64.c: Likewise.
747 * config/tc-sh64.h: Likewise.
748
f5040a92
AO
7492003-04-10 Alexandre Oliva <aoliva@redhat.com>
750
751 * config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): New.
752 * config/tc-mips.c: Use signed add for n32 address arithmetic.
753 (append_insn): When filling delay slots with instructions
754 that have fixups that tc_gen_reloc might consider modifyable
755 in variant frags, start a new frag.
756 (load_address): Generate GOT_DISP with of without offset
757 depending on whether symbol is local. For -xgot, use
758 GOT_PAGE/GOT_OFST or GOT_HI16/GOT_LO16.
759 (macro) <M_DLA_AB, M_LA_AB>: Likewise.
760 <M_JAL_A>: In NewABI, use CALL16 or GOT_DISP for small got,
761 CALL_HI16/CALL_LO16 or GOT_PAGE/GOT_OFST for big got.
762 <ld_st>: In NewABI with small got, always use
763 GOT_PAGE/GOT_OFST, with the latter in the load/store
764 instruction. With big got, use GOT_HI16/GOT_LO16 or
765 GOT_PAGE/GOT_OFST.
766 (tc_gen_reloc): Adjust variant frags with GOT_DISP in NewABI.
767 Add tc_frag_data.tc_fr_offset to addends. Decay CALL16,
768 GOT_OFST and GOT_DISP to GOT_DISP in NewABI.
769 (md_convert_frag): Use memmove for safe copying of overlapping
770 regions.
771
35b55ed2
SC
7722003-04-09 Stephane Carrez <stcarrez@nerim.fr>
773
774 * doc/c-m68hc11.texi (M68HC11-Opts): Document -m68hcs12, -mshort,
775 -mlong, -mshort-double and -mlong-double options; use table @code.
776 (M68HC11-Syntax): Update to document 68HC12 operands.
777 (M68HC11-Modifiers): New section for operand modifiers.
778 (M68HC11-Directives): New section for specific assembler directives.
779 (M68HC11-Branch): Fix Overfull hbox error.
780
9214dd3b
AO
7812003-04-09 Alexandre Oliva <aoliva@redhat.com>
782
783 * config/tc-mips.c (macro): Add comments explaining the rationale
784 for Chris' change.
785
eb0a7d52
AO
7862003-04-09 Chris Demetriou <cgd@broadcom.com>
787
788 * config/tc-mips.c (macro): Put back `+ 0x8000' in test for 64-bit
789 constant address that Alexandre took out by accident. Reject
790 64-bit addresses that are not sign extensions of 32 bits only if
791 we don't support 64-bit address constants.
792
a7fc733f
AM
7932003-04-09 Alan Modra <amodra@bigpond.net.au>
794
795 * config/tc-ppc.c (md_apply_fix3): Generate ADDR16 relocs.
796
9cc92a36
NC
7972003-04-08 Nick Clifton <nickc@redhat.com>
798
799 * as.c (perform_an_assembly_pass): If using cgen, call
800 gas_cgen_begin.
801 * cgen.c (gas_cgen_begin): New function. If
802 flag_signed_overflow_ok is set call cgen_set_signed_overflow_ok
803 otherwise call cgen_clear_signed_overflow_ok.
804 * cgen.h: Prototype gas_cgen_begin.
805
fe59a223
TS
8062003-04-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
807
808 * write.c (write_relocs): Remove unused variable.
809
5a7a0b7b
AO
8102003-04-06 Chris Demetriou <cgd@broadcom.com>
811
812 * config/tc-mips.c (HAVE_64BIT_ADDRESS_CONSTANTS): New.
813 (macro): Use new macro to decide whether to emit constant address
814 as 32 or 64 bits if addresses are 32-bit wide but registers are
815 64-bit wide.
816
577300ce
SC
8172003-04-05 Stephane Carrez <stcarrez@nerim.fr>
818
819 * config/tc-m68hc11.c (M6811_OP_CALL_ADDR): New internal define.
820 (M6811_OP_PAGE_ADDR): New internal define.
684022ea 821 (get_operand): New modifier %page and %addr to obtain page and
577300ce 822 address part of a far-function.
684022ea 823 (fixup8): Use BFD_RELOC_M68HC11_PAGE for a %page modifier; don't
577300ce
SC
824 complain on overflow for the BFD_RELOC_M68HC11_PAGE and truncation
825 relocs.
826 (fixup16): Use BFD_RELOC_M68HC11_LO16 for a %addr modifier.
827 (find_opcode): Add comment.
828 (md_estimate_size_before_relax): Force relocation of
829 STATE_UNDEXED_OFFSET types when the symbol is not absolute.
830 (tc_m68hc11_fix_adjustable): Check for BFD_RELOC_M68HC11_LO16
831 instead of BFD_RELOC_LO16; temporarily make the BFD_RELOC_32
832 on the symbol itself so that DWARF2 strings are merged correctly.
833
be33c5dd
SS
8342003-04-04 Svein E. Seldal <Svein.Seldal@solidas.com>
835
836 * config/obj-coff.h (TARGET_FORMAT): Namespace cleanup, changed
837 default tic4x target format to 'coff2-tic4x'.
838 * config/tc-tic4x.c: Namespace cleanup. Replace s/c4x/tic4x/ and
839 s/c3x/tic3x/
840 * config/tc-tic4x.h: Ditto
841
e8fd7476
NC
8422003-04-03 Nick Clifton <nickc@redhat.com>
843
844 * NEWS: Mention support for Xtensa architecture.
845
47281638
PB
8462003-04-02 Philip Blundell <philb@gnu.org>
847
848 * config/tc-arm.c (arm_force_relocation): Return 0 for OFFSET_IMM.
849
af22f5b2
CD
8502003-04-02 Chris Demetriou <cgd@broadcom.com>
851
852 * config/tc-mips.c (macro2): Adjust implementation of
853 M_ULH, M_ULHU, M_ULW, and M_ULD so that they work properly
854 in the case where the source and destination registers
855 are the same.
856
e0001a05
NC
8572003-04-01 Bob Wilson <bob.wilson@acm.org>
858
54cfded0
AM
859 * Makefile.am (CPU_TYPES): Add xtensa.
860 (TARGET_CPU_CFILES): Add config/tc-xtensa.c.
861 (TARGET_CPU_HFILES): Add config/tc-xtensa.h.
862 (xtensa-relax.o): New target.
863 Run "make dep-am".
864 * Makefile.in: Regenerate.
865 * configure.in: Handle xtensa-*-*. Add xtensa-relax.o to
866 extra_objects for xtensa targets.
867 * configure: Regenerate.
868 * write.c (write_object_file): Add new md_post_relax_hook.
869 * config/tc-xtensa.c: New file.
870 * config/tc-xtensa.h: Likewise.
871 * config/xtensa-istack.h: Likewise.
872 * config/xtensa-relax.c: Likewise.
873 * config/xtensa-relax.h: Likewise.
874 * doc/Makefile.am (CPU_DOCS): Add c-xtensa.texi.
875 * doc/Makefile.in: Regenerate.
876 * doc/all.texi: Set new XTENSA variable.
877 * doc/as.texinfo: Set new Xtensa variable. Describe
878 Xtensa-specific options. Define line comment character for
879 Xtensa. Add Xtensa processors to list of ELF targets where
880 alignment is specified in bytes. Add new Xtensa-Dependent node.
881 Add acknowledgements for those contributing to the Xtensa port.
882 * doc/internals.texi: Describe new md_post_relax_hook.
883 * doc/c-xtensa.texi: New file.
e0001a05 884
5a6c6817
NC
8852003-04-01 Nick Clifton <nickc@redhat.com>
886 Richard Earnshaw <rearnsha@arm.com>
887
888 * config/tc-arm.c: Remove presence of (r) and (tm) symbols.
889 (ARM_ARCH_IWMMXT): Simplify.
890 (insns): Place iwmmx instructions in correct place in table.
891 (arm_add_note): New function: Add a note entry to a .note section.
892 (md_begin): Make the default architecture be unknown.
893 Suppress the creation of an arm note section.
894
97bbfa38
EC
8952003-03-26 Eric Christopher <echristo@redhat.com>
896
54cfded0 897 * config/tc-mips.c (nopic_need_relax): Check for S_IS_EXTERN.
97bbfa38 898
e16bb312
NC
8992003-03-25 Stan Cox <scox@redhat.com>
900 Nick Clifton <nickc@redhat.com>
97bbfa38 901
e16bb312
NC
902 Contribute support for Intel's iWMMXt chip - an ARM variant:
903
904 * config/tc-arm.c: (ARM_CEXT_IWMMXT, ARM_ARCH_IWMMXT, WR_PREFIX,
905 WC_PREFIX, REG_TYPE_IWMMXT): New constants.
906 (enum wreg_type, enum iwmmxt_insn_type): New types.
907 (wr_register, wc_register, wcg_register): New macros.
908 (iwmmxt_table): New variable.
909 (wreg_required_here, do_iwmmxt_byte_addr, do_iwmmxt_tandc,
910 do_iwmmxt_tbcst, do_iwmmxt_textrc, do_iwmmxt_textrm,
911 do_iwmmxt_tinsr, do_iwmmxt_tmcr, do_iwmmxt_tmcrr, do_iwmmxt_tmia,
912 do_iwmmxt_tmovmsk, do_iwmmxt_tmrc, do_iwmmxt_tmrrc,
913 do_iwmmxt_torc, do_iwmmxt_waligni, do_iwmmxt_wmov,
914 do_iwmmxt_word_addr, do_iwmmxt_wrwr, do_iwmmxt_wrwrwcg,
915 do_iwmmxt_wrwrwr, do_iwmmxt_wshufh, do_iwmmxt_wzero,
916 cp_byte_address_offset, cp_byte_address_required_here,
917 check_iwmmxt_insn): New functions.
97bbfa38 918 (asm_opcode_insns): Add iWMMXt instructions.
e16bb312
NC
919 (md_begin): Set the mach value for iWMMXt targets. Create a note
920 section to identify iwmmxt binaries.
921 (md_apply_fix3): Handle BFD_RELOC_ARM_CP_OFF_IMM_S2.
922 * doc/c-arm.texi: Document the support for the iWMMXt.
923 * NEWS: Mention new support.
924