*** empty log message ***
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
2ebb4b88
MS
12003-05-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
2
3 * config/tc-s390.c (s390_target_format): Always call init_default_arch.
4
35f5df7f
L
52003-05-07 H.J. Lu <hongjiu.lu@intel.com>
6
7 * config/tc-ia64.c (alias_hash): New.
8 (alias_name_hash): New.
9 (secalias_hash): New.
10 (secalias_name_hash): New.
11 (md_pseudo_table): Add "secalias".
12 (md_begin): Initialize alias_hash, alias_name_hash,
13 secalias_hash and secalias_name_hash.
14 (struct alias): New.
15 (dot_alias): Implement .alias and .secalias directives.
16 (do_alias): New.
17 (ia64_adjust_symtab): New.
18 (do_secalias): New.
19 (ia64_frob_file): New.
20
21 * config/tc-ia64.h (ia64_adjust_symtab): New.
22 (tc_adjust_symtab): Defined.
23 (ia64_frob_file): New.
24 (tc_frob_file): Defined.
25
d2bf1bda
NC
262003-05-07 Dmitry Diky <diwil@mail.ru>
27
28 * tc-msp430.c: Add missing lines to known cpus list.
29
cac012d6
AO
302003-05-06 Alexandre Oliva <aoliva@redhat.com>
31
32 * configure.in (MIPS_DEFAULT_ABI): AC_DEFINE.
33 * config/tc-mips.c (mips_after_parse_args): Set mips_abi to it.
34 * config.in, configure: Rebuilt.
35
d8dbbec1
L
362003-05-05 H.J. Lu <hjl@gnu.org>
37
38 * config/tc-mips.c (tc_gen_reloc): Add addend just once if
39 howto->partial_inplace is false.
40
9204e615
DJ
412003-05-05 Daniel Jacobowitz <drow@mvista.com>
42
43 * config/tc-mips.c (mips_need_elf_addend_fixup): Remove
44 symbol_used_in_reloc_p check.
45 (md_apply_fix3): Remove check for howto->pcrel_offset.
46
711ef82f
L
472003-05-03 H.J. Lu <hjl@gnu.org>
48
49 * config/obj-elf.c (obj_elf_parse_section_letters): Make it a
50 fatal error for unknown section attribute.
51
52 * config/tc-alpha.c (alpha_elf_section_letter): Return -1 for
53 unknown section attribute.
54 * config/tc-ia64.c (ia64_elf_section_letter): Likewise.
55 * config/tc-ppc.c (ppc_section_letter): Likewise.
56
57 * config/tc-ia64.c (ia64_elf_section_letter): Handle 'o'.
58 (ia64_elf_section_type): Accept "unwind".
59
83b5ab55
L
602003-05-02 H.J. Lu <hjl@gnu.org>
61
62 * read.h (demand_copy_string): New.
63
64 * config/tc-alpha.c (demand_copy_string): Removed.
65
7ff0565e
MS
662003-05-02 Michael Snyder <msnyder@redhat.com>
67
68 * write.h (FAKE_LABEL_NAME): Allow override
69 (for targets that like eg. a leading dot in a local label).
70
2968149b
NC
712003-05-02 Nick Clifton <nickc@redhat.com>
72
73 * config/tc-xstormy16.c (xstormy16_md_apply_fix3): Do not bias the
74 addend with the symbol's value for pc-relative relocations against
75 a defined symbol - this will be done automatically.
76
e7b9a8c1
L
772003-05-01 H.J. Lu <hjl@gnu.org>
78
79 * config/obj-elf.c (obj_elf_type): Accept "notype" and
80 "STT_NOTYPE".
81
612d7b83
L
822003-05-01 H.J. Lu <hjl@gnu.org>
83
84 * config/tc-ia64.h (tc_canonicalize_section_name): New.
85
86 * config/obj-elf.c (obj_elf_section_name): Call
87 tc_canonicalize_section_name if it is defined.
88
a645d1eb
L
892003-05-01 H.J. Lu <hjl@gnu.org>
90
91 * config/tc-ia64.c (ia64_check_label): New.
92 * config/tc-ia64.h (tc_check_label): New.
93
94 * read.c (read_a_source_file): Call tc_check_label after
95 creating a user-defined label if defined.
96
df12615d
AM
972003-05-02 Alan Modra <amodra@bigpond.net.au>
98
99 * config/tc-ppc.c (md_show_usage): Mention -a32, -a64, -l, -le, -b,
100 -be and split strings to below 509 bytes in length.
101
f70c8412
CG
1022003-05-01 Christian Groessler <chris@groessler.org>
103
104 * expr.h: Fix comments in operatorT typedef.
105 * config/tc-z8k.c: Add 2003 to copyright message.
106 Fold s_segm() and s_unseg() into one function s_segm(parm) which
107 decides by the parameter.
108 (md_begin): Don't set linkrelax. Only set Z8002 default if no
109 command line argument was given to select the intended
110 architecure.
111 (get_interrupt_operand): Warn if NOP type code is emitted.
112 (newfix): New parameter 'size', forward it to 'fix_new_exp'.
113 (apply_fix): Call newfix with additional 'size' parameter.
114 (build_bytes): Remove unused variable 'nib'. Detect overflow in
115 4 bit immediate arguments.
116 (md_longopts): Add 'linkrelax' option.
117 (md_parse_option): Adapt to new s_segm function. Set 'linkrelax'
118 variable when 'linkrelax' command line option is specified.
119 (md_show_usage): Display 'linkrelax' option.
120 (md_apply_fix3): Fix cases R_IMM4L, R_JR, and R_IMM8. Add cases
121 R_CALLR and R_REL16.
122 * config/tc-z8k.h: Undef WARN_SIGNED_OVERFLOW_WORD.
123
10a98291
L
1242003-04-30 H.J. Lu <hjl@gnu.org>
125
126 * config/tc-ia64.c (ia64_number_to_chars): New function pointer.
127 (ia64_float_to_chars): Likewise.
128 (dot_byteorder): Set target_big_endian, ia64_number_to_chars
129 and ia64_float_to_chars by tc_segment_info_data.endian from
130 the current segment if byteorder == -1.
131 (md_begin): Call dot_byteorder to set target_big_endian.
132 (md_atof): Call ia64_float_to_chars to convert floating point.
133 (ia64_float_to_chars_bigendian): New function.
134 (ia64_float_to_chars_littleendian): Likewise.
135 (ia64_elf_section_change_hook): Likewise.
136
137 * config/tc-ia64.h (ia64_number_to_chars): New.
138 (md_number_to_chars): Changed to (*ia64_number_to_chars)
139 (ia64_elf_section_change_hook): New.
140 (md_elf_section_change_hook): Defined.
141 (ia64_segment_info_type): New struct.
142 (TC_SEGMENT_INFO_TYPE): Defined.
143
bf57c3c9
L
1442003-04-30 H.J. Lu <hjl@gnu.org>
145
146 * config/tc-ia64.c (md_section_align): Deleted.
147
148 * config/tc-ia64.h (SUB_SEGMENT_ALIGN): New.
149 (md_section_align): New.
150
165a7f90
L
1512003-04-30 H.J. Lu <hjl@gnu.org>
152
153 * config/tc-ia64.c (stmt_float_cons): Fix alignment for real10
154 and add real16.
155 (md_pseudo_table): Add "xreal16", "xreal16.ua", "real16" and
156 "real16.ua".
157 (md_atof): Add 6 byte padding of zero for real16.
158
eba874d8
NC
1592003-04-29 Nick Clifton <nickc@redhat.com>
160
161 * config/obj-elf.c (obj_elf_symver): Skip whitespace before the
162 start of a version name.
163
dbeba5e5
CD
1642003-04-28 Chris Demetriou <cgd@broadcom.com>
165
166 * configure.in (mips-*-*n*bsd*): Replace with...
167 (mips-*-netbsd*, mips-*-openbsd*): These.
168 * configure: Regenerate.
169
f0d7d5f9
NC
1702003-04-28 H.J. Lu <hjl@gnu.org>
171
172 * config/tc-hppa.c (hppa_symbol_chars): New.
173 * config/tc-hppa.h (tc_symbol_chars): Likewise.
174
a38b42ab
TS
1752003-04-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
176
177 * config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Define again.
178
69be0a2b
CD
1792003-04-25 Chris Demetriou <cgd@broadcom.com>
180
181 * NEWS: Belatedly mention support for MIPS32 Release 2.
182
684022ea
EC
1832003-04-24 Eric Christopher <echristo@redhat.com>
184
185 * config/tc-mips.c (nopic_need_relax): Revert previous
186 change.
187
2c8714f2
NC
1882003-04-24 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
189
190 * config/tc-h8300.h (DWARF2_LINE_MIN_INSN_LENGTH): New
684022ea 191 * config/tc-h8300.c (dwarf2dbg.h): Include
2c8714f2
NC
192 (md_pseudo_table): Handle .loc and .file
193 (md_assemble): Call dwarf2_emit_insn if BFD_ASSEMBLER.
194 * Makefile.am: Add dependency on dwarf2dbg.h for h8300 targets.
195 * Makefile.in: Regenerate.
196
684022ea 1972003-04-24 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
8d9cd6b1
NC
198
199 * config/tc-h8300.c (Nmode, h8300hnmode, h8300snmode): New.
200 (md_pseudo_table): Add h8300hn, h8300sn.
201 * config/tc-h8300.h (COFF_MAGIC): Handle h8300hn, h8300sn.
202 * doc/c-h8300.texi : Add documentation for new machine directives.
203
5ce8663f
NC
2042003-04-24 Nick Clifton <nickc@redhat.com>
205
206 * config/tc-ppc.c (ppc_symbol_chars): Define.
207 * config/tc-ppc.h (tc_symbol_chars): Define.
208
ef230218
JR
2092003-04-23 J"orn Rennecke <joern.rennecke@superh.com>
210
211 * config/tc-sh.c: Amend comment to refer to SuperH.
212 * config/tc-sh.h: Likewise.
213 (LISTING_HEADER): Amend to refer to SuperH.
214 * config/tc-sh64.c: Change comment to refer to SuperH.
215 * config/tc-sh64.h (LISTING_HEADER): Change to refer to SuperH.
216 * doc/as.texinfo [SH, GENERIC]: Amend / Change to refer to SuperH.
217 * doc/c-sh.texi: Amend to refer to SuperH.
218 Add SuperH architecture documentation references.
219 * doc/c-sh64.texi: Change to refer to SuperH.
220
204cd129
NC
2212003-04-23 H.J. Lu <hjl@gnu.org>
222
223 * app.c (do_scrub_chars): More checks for valid labels.
224
2cdb18a7
L
2252003-04-22 H.J. Lu <hjl@gnu.org>
226
227 * app.c (do_scrub_chars): Check for valid label.
228
26597c86
NC
2292003-04-22 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
230
231 * doc/as.texinfo: Replace references to Mitsubishi M32R with
232 references to Renesas M32R.
233 * doc/c-m32r.texi: Likewise.
234
88b4ca40
RH
2352003-04-21 Richard Henderson <rth@redhat.com>
236
237 * dwarf2dbg.c (get_filenum): Skip as-yet unassigned file numbers.
238 (out_file_list): Assign non-null filename after generating error.
239
e5f08f7e
JJ
2402003-04-18 Jakub Jelinek <jakub@redhat.com>
241
242 * ehopt.c (check_eh_frame): For aug_size == 0
243 in state_seeing_aug_size state skip the state_skipping_aug
244 state.
245
c2dcd04e
NC
2462003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com>
247
248 * doc/c-h8300.texi: Replace occurrances of 'Hitachi' with
249 'Renesas'.
250 * doc/c-h8500.texi: Likewise.
251 * doc/c-sh.texi: Likewise.
252 * doc/c-sh64.texi: Likewise.
253 * doc/h8.texi: Likewise.
254 * config/tc-h8300.c: Likewise.
255 * config/tc-h8300.h: Likewise.
256 * config/tc-h8500.c: Likewise.
257 * config/tc-h8500.h: Likewise.
258 * config/tc-sh.c: Likewise.
259 * config/tc-sh.h: Likewise.
260 * config/tc-sh64.c: Likewise.
261 * config/tc-sh64.h: Likewise.
262
f5040a92
AO
2632003-04-10 Alexandre Oliva <aoliva@redhat.com>
264
265 * config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): New.
266 * config/tc-mips.c: Use signed add for n32 address arithmetic.
267 (append_insn): When filling delay slots with instructions
268 that have fixups that tc_gen_reloc might consider modifyable
269 in variant frags, start a new frag.
270 (load_address): Generate GOT_DISP with of without offset
271 depending on whether symbol is local. For -xgot, use
272 GOT_PAGE/GOT_OFST or GOT_HI16/GOT_LO16.
273 (macro) <M_DLA_AB, M_LA_AB>: Likewise.
274 <M_JAL_A>: In NewABI, use CALL16 or GOT_DISP for small got,
275 CALL_HI16/CALL_LO16 or GOT_PAGE/GOT_OFST for big got.
276 <ld_st>: In NewABI with small got, always use
277 GOT_PAGE/GOT_OFST, with the latter in the load/store
278 instruction. With big got, use GOT_HI16/GOT_LO16 or
279 GOT_PAGE/GOT_OFST.
280 (tc_gen_reloc): Adjust variant frags with GOT_DISP in NewABI.
281 Add tc_frag_data.tc_fr_offset to addends. Decay CALL16,
282 GOT_OFST and GOT_DISP to GOT_DISP in NewABI.
283 (md_convert_frag): Use memmove for safe copying of overlapping
284 regions.
285
35b55ed2
SC
2862003-04-09 Stephane Carrez <stcarrez@nerim.fr>
287
288 * doc/c-m68hc11.texi (M68HC11-Opts): Document -m68hcs12, -mshort,
289 -mlong, -mshort-double and -mlong-double options; use table @code.
290 (M68HC11-Syntax): Update to document 68HC12 operands.
291 (M68HC11-Modifiers): New section for operand modifiers.
292 (M68HC11-Directives): New section for specific assembler directives.
293 (M68HC11-Branch): Fix Overfull hbox error.
294
9214dd3b
AO
2952003-04-09 Alexandre Oliva <aoliva@redhat.com>
296
297 * config/tc-mips.c (macro): Add comments explaining the rationale
298 for Chris' change.
299
eb0a7d52
AO
3002003-04-09 Chris Demetriou <cgd@broadcom.com>
301
302 * config/tc-mips.c (macro): Put back `+ 0x8000' in test for 64-bit
303 constant address that Alexandre took out by accident. Reject
304 64-bit addresses that are not sign extensions of 32 bits only if
305 we don't support 64-bit address constants.
306
a7fc733f
AM
3072003-04-09 Alan Modra <amodra@bigpond.net.au>
308
309 * config/tc-ppc.c (md_apply_fix3): Generate ADDR16 relocs.
310
9cc92a36
NC
3112003-04-08 Nick Clifton <nickc@redhat.com>
312
313 * as.c (perform_an_assembly_pass): If using cgen, call
314 gas_cgen_begin.
315 * cgen.c (gas_cgen_begin): New function. If
316 flag_signed_overflow_ok is set call cgen_set_signed_overflow_ok
317 otherwise call cgen_clear_signed_overflow_ok.
318 * cgen.h: Prototype gas_cgen_begin.
319
fe59a223
TS
3202003-04-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
321
322 * write.c (write_relocs): Remove unused variable.
323
5a7a0b7b
AO
3242003-04-06 Chris Demetriou <cgd@broadcom.com>
325
326 * config/tc-mips.c (HAVE_64BIT_ADDRESS_CONSTANTS): New.
327 (macro): Use new macro to decide whether to emit constant address
328 as 32 or 64 bits if addresses are 32-bit wide but registers are
329 64-bit wide.
330
577300ce
SC
3312003-04-05 Stephane Carrez <stcarrez@nerim.fr>
332
333 * config/tc-m68hc11.c (M6811_OP_CALL_ADDR): New internal define.
334 (M6811_OP_PAGE_ADDR): New internal define.
684022ea 335 (get_operand): New modifier %page and %addr to obtain page and
577300ce 336 address part of a far-function.
684022ea 337 (fixup8): Use BFD_RELOC_M68HC11_PAGE for a %page modifier; don't
577300ce
SC
338 complain on overflow for the BFD_RELOC_M68HC11_PAGE and truncation
339 relocs.
340 (fixup16): Use BFD_RELOC_M68HC11_LO16 for a %addr modifier.
341 (find_opcode): Add comment.
342 (md_estimate_size_before_relax): Force relocation of
343 STATE_UNDEXED_OFFSET types when the symbol is not absolute.
344 (tc_m68hc11_fix_adjustable): Check for BFD_RELOC_M68HC11_LO16
345 instead of BFD_RELOC_LO16; temporarily make the BFD_RELOC_32
346 on the symbol itself so that DWARF2 strings are merged correctly.
347
be33c5dd
SS
3482003-04-04 Svein E. Seldal <Svein.Seldal@solidas.com>
349
350 * config/obj-coff.h (TARGET_FORMAT): Namespace cleanup, changed
351 default tic4x target format to 'coff2-tic4x'.
352 * config/tc-tic4x.c: Namespace cleanup. Replace s/c4x/tic4x/ and
353 s/c3x/tic3x/
354 * config/tc-tic4x.h: Ditto
355
e8fd7476
NC
3562003-04-03 Nick Clifton <nickc@redhat.com>
357
358 * NEWS: Mention support for Xtensa architecture.
359
47281638
PB
3602003-04-02 Philip Blundell <philb@gnu.org>
361
362 * config/tc-arm.c (arm_force_relocation): Return 0 for OFFSET_IMM.
363
af22f5b2
CD
3642003-04-02 Chris Demetriou <cgd@broadcom.com>
365
366 * config/tc-mips.c (macro2): Adjust implementation of
367 M_ULH, M_ULHU, M_ULW, and M_ULD so that they work properly
368 in the case where the source and destination registers
369 are the same.
370
e0001a05
NC
3712003-04-01 Bob Wilson <bob.wilson@acm.org>
372
373 * Makefile.am (CPU_TYPES): Add xtensa.
374 (TARGET_CPU_CFILES): Add config/tc-xtensa.c.
375 (TARGET_CPU_HFILES): Add config/tc-xtensa.h.
376 (xtensa-relax.o): New target.
377 Run "make dep-am".
378 * Makefile.in: Regenerate.
379 * configure.in: Handle xtensa-*-*. Add xtensa-relax.o to
380 extra_objects for xtensa targets.
381 * configure: Regenerate.
382 * write.c (write_object_file): Add new md_post_relax_hook.
383 * config/tc-xtensa.c: New file.
384 * config/tc-xtensa.h: Likewise.
385 * config/xtensa-istack.h: Likewise.
386 * config/xtensa-relax.c: Likewise.
387 * config/xtensa-relax.h: Likewise.
388 * doc/Makefile.am (CPU_DOCS): Add c-xtensa.texi.
389 * doc/Makefile.in: Regenerate.
390 * doc/all.texi: Set new XTENSA variable.
391 * doc/as.texinfo: Set new Xtensa variable. Describe
392 Xtensa-specific options. Define line comment character for
393 Xtensa. Add Xtensa processors to list of ELF targets where
394 alignment is specified in bytes. Add new Xtensa-Dependent node.
395 Add acknowledgements for those contributing to the Xtensa port.
396 * doc/internals.texi: Describe new md_post_relax_hook.
397 * doc/c-xtensa.texi: New file.
398
399
5a6c6817
NC
4002003-04-01 Nick Clifton <nickc@redhat.com>
401 Richard Earnshaw <rearnsha@arm.com>
402
403 * config/tc-arm.c: Remove presence of (r) and (tm) symbols.
404 (ARM_ARCH_IWMMXT): Simplify.
405 (insns): Place iwmmx instructions in correct place in table.
406 (arm_add_note): New function: Add a note entry to a .note section.
407 (md_begin): Make the default architecture be unknown.
408 Suppress the creation of an arm note section.
409
97bbfa38
EC
4102003-03-26 Eric Christopher <echristo@redhat.com>
411
412 * config/tc-mips.c (nopic_need_relax): Check for
413 S_IS_EXTERN.
414
e16bb312
NC
4152003-03-25 Stan Cox <scox@redhat.com>
416 Nick Clifton <nickc@redhat.com>
97bbfa38 417
e16bb312
NC
418 Contribute support for Intel's iWMMXt chip - an ARM variant:
419
420 * config/tc-arm.c: (ARM_CEXT_IWMMXT, ARM_ARCH_IWMMXT, WR_PREFIX,
421 WC_PREFIX, REG_TYPE_IWMMXT): New constants.
422 (enum wreg_type, enum iwmmxt_insn_type): New types.
423 (wr_register, wc_register, wcg_register): New macros.
424 (iwmmxt_table): New variable.
425 (wreg_required_here, do_iwmmxt_byte_addr, do_iwmmxt_tandc,
426 do_iwmmxt_tbcst, do_iwmmxt_textrc, do_iwmmxt_textrm,
427 do_iwmmxt_tinsr, do_iwmmxt_tmcr, do_iwmmxt_tmcrr, do_iwmmxt_tmia,
428 do_iwmmxt_tmovmsk, do_iwmmxt_tmrc, do_iwmmxt_tmrrc,
429 do_iwmmxt_torc, do_iwmmxt_waligni, do_iwmmxt_wmov,
430 do_iwmmxt_word_addr, do_iwmmxt_wrwr, do_iwmmxt_wrwrwcg,
431 do_iwmmxt_wrwrwr, do_iwmmxt_wshufh, do_iwmmxt_wzero,
432 cp_byte_address_offset, cp_byte_address_required_here,
433 check_iwmmxt_insn): New functions.
97bbfa38 434 (asm_opcode_insns): Add iWMMXt instructions.
e16bb312
NC
435 (md_begin): Set the mach value for iWMMXt targets. Create a note
436 section to identify iwmmxt binaries.
437 (md_apply_fix3): Handle BFD_RELOC_ARM_CP_OFF_IMM_S2.
438 * doc/c-arm.texi: Document the support for the iWMMXt.
439 * NEWS: Mention new support.
440