* configure.host (*-*-netbsd*): Set HOSTING_CRT0 and HOSTING_LIBS
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
4bf4a882
NC
12003-05-29 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
2
3 * config/tc-m32r.c: Amend comment to refer to Renesas
4
756d1d01
RH
52003-05-27 Richard Henderson <rth@redhat.com>
6
7 * expr.c (make_expr_symbol): Fold FAKE_LABEL_NAME use into the
8 symbol_create call.
9 (current_location): Use symbol_temp_new_now.
10 * stabs.c (s_stab_generic): Use symbol_temp_new.
11 * symbols.c (temp_label_name): Remove.
12 (symbol_temp_new, symbol_temp_make): Use FAKE_LABEL_NAME.
13
a4447b93
RH
142003-05-27 Richard Henderson <rth@redhat.com>
15
16 * dw2gencfi.c, dw2gencfi.h: Rewrite from scratch.
17 * as.c (main): Always call cfi_finish.
18 * config/tc-i386.c (x86_dwarf2_return_column): New.
19 (x86_cie_data_alignment): New.
20 (md_begin): Set them.
21 (tc_x86_cfi_init): Remove.
22 (tc_x86_regname_to_dw2regnum): Fix 32-bit register numbers;
23 return int, not unsigned long; don't as_bad here.
24 (tc_x86_frame_initial_instructions): Streamline; use
25 updated api.
26 * config/tc-i386.h (tc_cfi_init): Remove.
27 (DWARF2_DEFAULT_RETURN_COLUMN): New.
28 (DWARF2_CIE_DATA_ALIGNMENT): New.
29
b7d6ed97
RH
302003-05-27 Richard Henderson <rth@redhat.com>
31
32 * symbols.c (temp_label_name): New.
33 (symbol_temp_new, symbol_temp_new_now, symbol_temp_make): New.
34 (symbol_set_value_now): New.
35 * symbols.h: Prototype them.
36 * dwarf2dbg.c: Use them.
37 (fake_label_name, symbol_new_now, set_symbol_value_now): Remove.
38
14218d5f
JE
392003-05-23 Jason Eckhardt <jle@rice.edu>
40
41 * config/tc-i860.c (target_xp): Declare variable.
42 (OPTION_XP): Declare macro.
43 (md_longopts): Add option -mxp.
44 (md_parse_option): Set target_xp.
45 (md_show_usage): Add -mxp usage.
46 (i860_process_insn): Recognize XP registers bear, ccr, p0-p3.
47 (md_assemble): Don't try expansions if XP_ONLY is set.
48 * doc/c-i860.texi: Document -mxp option and i860XP support.
49
36ede617
EC
502003-05-23 Eric Christopher <echristo@redhat.com>
51
52 * config/tc-mips.c (macro_build_jalr): Warning patrol.
53
a105a300
TS
542003-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
55
56 * config/tc-mips.c (append_insn): Use actual relocation size for new
57 fixp's. Don't relax overflow checking for partial_inplace relocations.
58 Use the actual relocation type in combined relocs, not just the type
59 of the first one.
60 (macro_build_jalr): Use actual relocation size for new fix.
61 (s_cpsetup, s_gpdword): Likewise.
62
dc9461f6
TS
632003-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
64
65 * config/tc-mips.c (macro): Don't use uninitialized tempreg.
66
ceb41009
NC
672003-05-22 Nick Clifton <nickc@redhat.com>
68
69 * config/tc-xstormy16.c (md_pcrel_from_section): Do not produce
70 section relative offsets for relocs that will not be based on the
71 section symbol.
72 (xstormy16_md_apply_fix3): Remove previous patch to this
73 function.
74
143d77c5
EC
752003-05-07 Eric Christopher <echristo@redhat.com>
76
77 * config/tc-mips.c (mips_abicalls): New variable.
78 (md_parse_option): Use.
79 (s_option): Ditto.
80 (s_abicalls): Ditto.
81 (mips_elf_final_processing): Set EF_MIPS_PIC and
82 EF_MIPS_CPIC dependent on above.
83
85c77c38
DA
842003-05-21 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
85
86 * tc-hppa.c (hppa_symbol_chars): Remove `,' and `!'.
87
87ccc1b0
NC
882003-05-21 Nick Clifton <nickc@redhat.com>
89
90 * config/obj-elf.c: Include dwarf2dbg.h.
91 (elf_pseudo_tab): Add .file and .loc.
92 * config/tc-arc.c (md_pseudo_table): Remove .file and .loc.
93 * config/tc-arm.c: Likewise.
94 * config/tc-h8300.c: Likewise.
95 * config/tc-hppa.c: Likewise.
96 * config/tc-ia64.c: Likewise.
97 * config/tc-m68hc11.c: Likewise.
98 * config/tc-m68k.c: Likewise.
99 * config/tc-mmix.c: Likewise.
100 * config/tc-mn10300.c: Likewise.
101 * config/tc-ppc.c: Likewise.
102 * config/tc-sh.c: Likewise.
103 * config/tc-sparc.c: Likewise.
104 * config/tc-v850.c: Likewise.
105 * config/tc-frv.c: Likewise, and remove redundant inclusion of
106 dwarf2dbg.h.
107 * config/tc-ip2k.c: Likewise.
108 * config/tc-iq2000.c: Likewise.
109 * config/tc-xstormy16.c: Likewise.
110 * config/tc-xtensa.c: Likewise.
111 * Makefile.am: Regenerate dependencies.
112 * Makefile.in: Regenerate.
113 * aclocal.m4: Regenerate.
114 * config.in: Regenerate.
115 * configure: Regenerate.
116 * po/POTFILES.in: Regenerate.
117 * po/gas.pot: Regenerate.
143d77c5 118
7ed2c8b0
NC
1192003-05-21 Nick Clifton <nickc@redhat.com>
120
121 * dw2gencfi.c (cfi_get_label): Use symbol_make for non
122 BFD_ASSEMBLER targets.
123 (cfi_startproc): Change type of saved_seg and cfi_seg to segT.
124 (dot_cfi_endproc): Only call bfd_set_section_flags for targets
125 defining BFD_ASSEMBLER.
126
39b82151
ML
1272003-05-20 Michal Ludvig <mludvig@suse.cz>
128
129 * as.c (main): Remove tc_cfi_init().
143d77c5 130 * dw2gencfi.c (cfi_parse_arg): Allow regnames beginning
39b82151
ML
131 with '%'.
132 (cfi_pseudo_table): Add "cfi_register" entry.
133 (cfi_make_insn): Handle CFA_register.
134 (cfi_output_insn): Ditto.
135 (dot_cfi): Ditto.
136 (cfi_get_label): Add 'simple' modifier to .cfi_startproc.
137 (dot_cfi_endproc): Reuse already emitted CIEs.
138 * testsuite/gas/cfi/cfi-i386.d: New pattern.
139 * testsuite/gas/cfi/cfi-x86-64.d: Ditto.
140
f53e95c7
NC
1412003-05-20 Nick Clifton <nickc@redhat.com>
142
143 * config/tc-xstormy16.c: Include dwarf2dbg.h.
144 (md_pseudo_table): Add entries for .loc and .line.
145
7c0295b1
AM
1462003-05-20 Alan Modra <amodra@bigpond.net.au>
147
148 * dw2gencfi.c (cfi_parse_arg): Only use tc_regname_to_dw2regnum if
149 defined.
150 (dot_cfi_endproc): Avoid C99 construct.
151
54cfded0
AM
1522003-05-20 Michal Ludvig <mludvig@suse.cz>
153
154 * dw2gencfi.c, dw2gencfi.h: New files.
155 * config/tc-i386.c (tc_x86_cfi_init): New function.
156 * config/tc-i386.h (TARGET_USE_CFIPOP, tc_cfi_init): New defines.
157 * as.c (parse_args): Set verbose flag on --verbose.
158 (main): Call tc_cfi_init()/cfi_finish().
159 * as.h (verbose): New external variable.
160 * read.c (pobegin): Insert CFI pops to the list.
161 * symbols.c (local_symbol_make): Make symbol external.
162 * symbols.h (local_symbol_make): New prototype.
163 * Makefile.am: Add dw2gencfi.[ch] files. Run "make dep-am".
164 * Makefile.in: Regenerate.
165 * doc/as.texinfo: Added node "CFI directives" with description of
166 all implemented .cfi_* directives.
167 * doc/Makefile.in: Regenerate.
168 * po/POTFILES.in: Regenerate.
169
a1f3c24c
SS
1702003-05-19 Svein E. Seldal <Svein.Seldal@solidas.com>
171
54cfded0
AM
172 * config/tc-tic4x.c (md_assemble): Added support for one-line parallel
173 insns.
1975ab25 174 * config/tc-tic4x.h: Added DOUBLEBAR_PARALLEL definition
a1f3c24c 175
b645cb17
JE
1762003-05-18 Jason Eckhardt <jle@rice.edu>
177
178 * config/tc-i860.c (i860_process_insn): Initialize fc after
179 each opcode mismatch.
180
80c7c40a
NC
1812003-05-16 Kelley Cook <kelleycook@wideopenwest.com>
182
183 * configure.in: Accept i[3-7]86 variants.
184 * configure: Regenerate.
185
c344a4c8
TS
1862003-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
187
188 * config/tc-mips.h: Fix comment formatting.
189
64e55042
HPN
1902003-05-13 Hans-Peter Nilsson <hp@axis.com>
191
192 * read.c (old_buffer, old_input, old_limit): Remove variables.
54cfded0 193 (read_a_source_file): Delete label contin.
64e55042
HPN
194 <handling #APP/#NO_APP>: Use an "sb" to push #APP expansion into
195 input as with macros, instead of in separate old_* variables.
196 Zero-terminate string being scrubbed.
197
e66c629e
NC
1982003-05-12 Nick Clifton <nickc@redhat.com>
199
200 * config/tc-xstormy16.c (skipping_fptr): New local variable.
201 (md_assemble): Reset skipping_fptr.
202 (md_operand): If @fptr() is followed by a minus sign, set
203 skipping_fptr and ignore the fptr. If skipping_fptr is set and an
204 @fptr is detected, ignore it and reset skipping_fptr.
205
673a54e3
JE
2062003-05-11 Jason Eckhardt <jle@rice.edu>
207
208 * config/tc-i860.c (MAX_FIXUPS): Define.
209 (struct i860_fi fi[]): New struct.
210 (struct i860_it the_insn): Add above as member and move fields
211 exp, reloc, pcrel and fup into i860_fi.
212 (md_assemble): Replace all instances of exp, reloc, pcrel
213 and fup with fi[].exp, fi[].reloc, fi[].pcrel, fi[].fup.
214 Add a loop to possibly emit multiple fix-ups for each insn.
215 (i860_process_insn): Likewise.
216 (i860_get_expression): Likewise.
217 (md_apply_fix3): Use a bitwise check for OP_IMM_U5, not equality.
218
2ebb4b88
MS
2192003-05-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
220
221 * config/tc-s390.c (s390_target_format): Always call init_default_arch.
222
35f5df7f
L
2232003-05-07 H.J. Lu <hongjiu.lu@intel.com>
224
225 * config/tc-ia64.c (alias_hash): New.
226 (alias_name_hash): New.
227 (secalias_hash): New.
228 (secalias_name_hash): New.
229 (md_pseudo_table): Add "secalias".
230 (md_begin): Initialize alias_hash, alias_name_hash,
231 secalias_hash and secalias_name_hash.
232 (struct alias): New.
233 (dot_alias): Implement .alias and .secalias directives.
234 (do_alias): New.
235 (ia64_adjust_symtab): New.
236 (do_secalias): New.
237 (ia64_frob_file): New.
238
239 * config/tc-ia64.h (ia64_adjust_symtab): New.
240 (tc_adjust_symtab): Defined.
241 (ia64_frob_file): New.
242 (tc_frob_file): Defined.
243
d2bf1bda
NC
2442003-05-07 Dmitry Diky <diwil@mail.ru>
245
246 * tc-msp430.c: Add missing lines to known cpus list.
247
cac012d6
AO
2482003-05-06 Alexandre Oliva <aoliva@redhat.com>
249
250 * configure.in (MIPS_DEFAULT_ABI): AC_DEFINE.
251 * config/tc-mips.c (mips_after_parse_args): Set mips_abi to it.
252 * config.in, configure: Rebuilt.
253
d8dbbec1
L
2542003-05-05 H.J. Lu <hjl@gnu.org>
255
256 * config/tc-mips.c (tc_gen_reloc): Add addend just once if
257 howto->partial_inplace is false.
258
9204e615
DJ
2592003-05-05 Daniel Jacobowitz <drow@mvista.com>
260
261 * config/tc-mips.c (mips_need_elf_addend_fixup): Remove
262 symbol_used_in_reloc_p check.
263 (md_apply_fix3): Remove check for howto->pcrel_offset.
264
711ef82f
L
2652003-05-03 H.J. Lu <hjl@gnu.org>
266
267 * config/obj-elf.c (obj_elf_parse_section_letters): Make it a
268 fatal error for unknown section attribute.
269
270 * config/tc-alpha.c (alpha_elf_section_letter): Return -1 for
271 unknown section attribute.
272 * config/tc-ia64.c (ia64_elf_section_letter): Likewise.
273 * config/tc-ppc.c (ppc_section_letter): Likewise.
274
275 * config/tc-ia64.c (ia64_elf_section_letter): Handle 'o'.
276 (ia64_elf_section_type): Accept "unwind".
277
83b5ab55
L
2782003-05-02 H.J. Lu <hjl@gnu.org>
279
280 * read.h (demand_copy_string): New.
281
282 * config/tc-alpha.c (demand_copy_string): Removed.
283
7ff0565e
MS
2842003-05-02 Michael Snyder <msnyder@redhat.com>
285
54cfded0 286 * write.h (FAKE_LABEL_NAME): Allow override
7ff0565e
MS
287 (for targets that like eg. a leading dot in a local label).
288
2968149b
NC
2892003-05-02 Nick Clifton <nickc@redhat.com>
290
291 * config/tc-xstormy16.c (xstormy16_md_apply_fix3): Do not bias the
292 addend with the symbol's value for pc-relative relocations against
293 a defined symbol - this will be done automatically.
294
e7b9a8c1
L
2952003-05-01 H.J. Lu <hjl@gnu.org>
296
297 * config/obj-elf.c (obj_elf_type): Accept "notype" and
298 "STT_NOTYPE".
299
612d7b83
L
3002003-05-01 H.J. Lu <hjl@gnu.org>
301
302 * config/tc-ia64.h (tc_canonicalize_section_name): New.
303
304 * config/obj-elf.c (obj_elf_section_name): Call
305 tc_canonicalize_section_name if it is defined.
306
a645d1eb
L
3072003-05-01 H.J. Lu <hjl@gnu.org>
308
309 * config/tc-ia64.c (ia64_check_label): New.
310 * config/tc-ia64.h (tc_check_label): New.
311
312 * read.c (read_a_source_file): Call tc_check_label after
313 creating a user-defined label if defined.
314
df12615d
AM
3152003-05-02 Alan Modra <amodra@bigpond.net.au>
316
317 * config/tc-ppc.c (md_show_usage): Mention -a32, -a64, -l, -le, -b,
318 -be and split strings to below 509 bytes in length.
319
f70c8412
CG
3202003-05-01 Christian Groessler <chris@groessler.org>
321
322 * expr.h: Fix comments in operatorT typedef.
54cfded0 323 * config/tc-z8k.c: Add 2003 to copyright message.
f70c8412
CG
324 Fold s_segm() and s_unseg() into one function s_segm(parm) which
325 decides by the parameter.
326 (md_begin): Don't set linkrelax. Only set Z8002 default if no
327 command line argument was given to select the intended
328 architecure.
329 (get_interrupt_operand): Warn if NOP type code is emitted.
330 (newfix): New parameter 'size', forward it to 'fix_new_exp'.
331 (apply_fix): Call newfix with additional 'size' parameter.
332 (build_bytes): Remove unused variable 'nib'. Detect overflow in
333 4 bit immediate arguments.
334 (md_longopts): Add 'linkrelax' option.
335 (md_parse_option): Adapt to new s_segm function. Set 'linkrelax'
336 variable when 'linkrelax' command line option is specified.
337 (md_show_usage): Display 'linkrelax' option.
338 (md_apply_fix3): Fix cases R_IMM4L, R_JR, and R_IMM8. Add cases
339 R_CALLR and R_REL16.
340 * config/tc-z8k.h: Undef WARN_SIGNED_OVERFLOW_WORD.
341
10a98291
L
3422003-04-30 H.J. Lu <hjl@gnu.org>
343
344 * config/tc-ia64.c (ia64_number_to_chars): New function pointer.
345 (ia64_float_to_chars): Likewise.
346 (dot_byteorder): Set target_big_endian, ia64_number_to_chars
347 and ia64_float_to_chars by tc_segment_info_data.endian from
348 the current segment if byteorder == -1.
349 (md_begin): Call dot_byteorder to set target_big_endian.
350 (md_atof): Call ia64_float_to_chars to convert floating point.
351 (ia64_float_to_chars_bigendian): New function.
352 (ia64_float_to_chars_littleendian): Likewise.
353 (ia64_elf_section_change_hook): Likewise.
354
355 * config/tc-ia64.h (ia64_number_to_chars): New.
356 (md_number_to_chars): Changed to (*ia64_number_to_chars)
357 (ia64_elf_section_change_hook): New.
358 (md_elf_section_change_hook): Defined.
359 (ia64_segment_info_type): New struct.
360 (TC_SEGMENT_INFO_TYPE): Defined.
361
bf57c3c9
L
3622003-04-30 H.J. Lu <hjl@gnu.org>
363
364 * config/tc-ia64.c (md_section_align): Deleted.
365
366 * config/tc-ia64.h (SUB_SEGMENT_ALIGN): New.
367 (md_section_align): New.
368
165a7f90
L
3692003-04-30 H.J. Lu <hjl@gnu.org>
370
371 * config/tc-ia64.c (stmt_float_cons): Fix alignment for real10
372 and add real16.
373 (md_pseudo_table): Add "xreal16", "xreal16.ua", "real16" and
374 "real16.ua".
375 (md_atof): Add 6 byte padding of zero for real16.
376
eba874d8
NC
3772003-04-29 Nick Clifton <nickc@redhat.com>
378
379 * config/obj-elf.c (obj_elf_symver): Skip whitespace before the
380 start of a version name.
381
dbeba5e5
CD
3822003-04-28 Chris Demetriou <cgd@broadcom.com>
383
384 * configure.in (mips-*-*n*bsd*): Replace with...
385 (mips-*-netbsd*, mips-*-openbsd*): These.
386 * configure: Regenerate.
387
f0d7d5f9
NC
3882003-04-28 H.J. Lu <hjl@gnu.org>
389
390 * config/tc-hppa.c (hppa_symbol_chars): New.
391 * config/tc-hppa.h (tc_symbol_chars): Likewise.
392
a38b42ab
TS
3932003-04-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
394
395 * config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Define again.
396
69be0a2b
CD
3972003-04-25 Chris Demetriou <cgd@broadcom.com>
398
399 * NEWS: Belatedly mention support for MIPS32 Release 2.
400
684022ea
EC
4012003-04-24 Eric Christopher <echristo@redhat.com>
402
403 * config/tc-mips.c (nopic_need_relax): Revert previous
404 change.
405
2c8714f2
NC
4062003-04-24 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
407
408 * config/tc-h8300.h (DWARF2_LINE_MIN_INSN_LENGTH): New
684022ea 409 * config/tc-h8300.c (dwarf2dbg.h): Include
2c8714f2
NC
410 (md_pseudo_table): Handle .loc and .file
411 (md_assemble): Call dwarf2_emit_insn if BFD_ASSEMBLER.
412 * Makefile.am: Add dependency on dwarf2dbg.h for h8300 targets.
413 * Makefile.in: Regenerate.
414
684022ea 4152003-04-24 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
8d9cd6b1
NC
416
417 * config/tc-h8300.c (Nmode, h8300hnmode, h8300snmode): New.
418 (md_pseudo_table): Add h8300hn, h8300sn.
419 * config/tc-h8300.h (COFF_MAGIC): Handle h8300hn, h8300sn.
420 * doc/c-h8300.texi : Add documentation for new machine directives.
421
5ce8663f
NC
4222003-04-24 Nick Clifton <nickc@redhat.com>
423
424 * config/tc-ppc.c (ppc_symbol_chars): Define.
425 * config/tc-ppc.h (tc_symbol_chars): Define.
426
ef230218
JR
4272003-04-23 J"orn Rennecke <joern.rennecke@superh.com>
428
429 * config/tc-sh.c: Amend comment to refer to SuperH.
430 * config/tc-sh.h: Likewise.
431 (LISTING_HEADER): Amend to refer to SuperH.
432 * config/tc-sh64.c: Change comment to refer to SuperH.
433 * config/tc-sh64.h (LISTING_HEADER): Change to refer to SuperH.
434 * doc/as.texinfo [SH, GENERIC]: Amend / Change to refer to SuperH.
435 * doc/c-sh.texi: Amend to refer to SuperH.
436 Add SuperH architecture documentation references.
437 * doc/c-sh64.texi: Change to refer to SuperH.
438
204cd129
NC
4392003-04-23 H.J. Lu <hjl@gnu.org>
440
441 * app.c (do_scrub_chars): More checks for valid labels.
442
2cdb18a7
L
4432003-04-22 H.J. Lu <hjl@gnu.org>
444
445 * app.c (do_scrub_chars): Check for valid label.
446
26597c86
NC
4472003-04-22 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
448
449 * doc/as.texinfo: Replace references to Mitsubishi M32R with
450 references to Renesas M32R.
451 * doc/c-m32r.texi: Likewise.
452
88b4ca40
RH
4532003-04-21 Richard Henderson <rth@redhat.com>
454
54cfded0
AM
455 * dwarf2dbg.c (get_filenum): Skip as-yet unassigned file numbers.
456 (out_file_list): Assign non-null filename after generating error.
88b4ca40 457
e5f08f7e
JJ
4582003-04-18 Jakub Jelinek <jakub@redhat.com>
459
460 * ehopt.c (check_eh_frame): For aug_size == 0
461 in state_seeing_aug_size state skip the state_skipping_aug
462 state.
463
c2dcd04e
NC
4642003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com>
465
466 * doc/c-h8300.texi: Replace occurrances of 'Hitachi' with
467 'Renesas'.
468 * doc/c-h8500.texi: Likewise.
469 * doc/c-sh.texi: Likewise.
470 * doc/c-sh64.texi: Likewise.
471 * doc/h8.texi: Likewise.
472 * config/tc-h8300.c: Likewise.
473 * config/tc-h8300.h: Likewise.
474 * config/tc-h8500.c: Likewise.
475 * config/tc-h8500.h: Likewise.
476 * config/tc-sh.c: Likewise.
477 * config/tc-sh.h: Likewise.
478 * config/tc-sh64.c: Likewise.
479 * config/tc-sh64.h: Likewise.
480
f5040a92
AO
4812003-04-10 Alexandre Oliva <aoliva@redhat.com>
482
483 * config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): New.
484 * config/tc-mips.c: Use signed add for n32 address arithmetic.
485 (append_insn): When filling delay slots with instructions
486 that have fixups that tc_gen_reloc might consider modifyable
487 in variant frags, start a new frag.
488 (load_address): Generate GOT_DISP with of without offset
489 depending on whether symbol is local. For -xgot, use
490 GOT_PAGE/GOT_OFST or GOT_HI16/GOT_LO16.
491 (macro) <M_DLA_AB, M_LA_AB>: Likewise.
492 <M_JAL_A>: In NewABI, use CALL16 or GOT_DISP for small got,
493 CALL_HI16/CALL_LO16 or GOT_PAGE/GOT_OFST for big got.
494 <ld_st>: In NewABI with small got, always use
495 GOT_PAGE/GOT_OFST, with the latter in the load/store
496 instruction. With big got, use GOT_HI16/GOT_LO16 or
497 GOT_PAGE/GOT_OFST.
498 (tc_gen_reloc): Adjust variant frags with GOT_DISP in NewABI.
499 Add tc_frag_data.tc_fr_offset to addends. Decay CALL16,
500 GOT_OFST and GOT_DISP to GOT_DISP in NewABI.
501 (md_convert_frag): Use memmove for safe copying of overlapping
502 regions.
503
35b55ed2
SC
5042003-04-09 Stephane Carrez <stcarrez@nerim.fr>
505
506 * doc/c-m68hc11.texi (M68HC11-Opts): Document -m68hcs12, -mshort,
507 -mlong, -mshort-double and -mlong-double options; use table @code.
508 (M68HC11-Syntax): Update to document 68HC12 operands.
509 (M68HC11-Modifiers): New section for operand modifiers.
510 (M68HC11-Directives): New section for specific assembler directives.
511 (M68HC11-Branch): Fix Overfull hbox error.
512
9214dd3b
AO
5132003-04-09 Alexandre Oliva <aoliva@redhat.com>
514
515 * config/tc-mips.c (macro): Add comments explaining the rationale
516 for Chris' change.
517
eb0a7d52
AO
5182003-04-09 Chris Demetriou <cgd@broadcom.com>
519
520 * config/tc-mips.c (macro): Put back `+ 0x8000' in test for 64-bit
521 constant address that Alexandre took out by accident. Reject
522 64-bit addresses that are not sign extensions of 32 bits only if
523 we don't support 64-bit address constants.
524
a7fc733f
AM
5252003-04-09 Alan Modra <amodra@bigpond.net.au>
526
527 * config/tc-ppc.c (md_apply_fix3): Generate ADDR16 relocs.
528
9cc92a36
NC
5292003-04-08 Nick Clifton <nickc@redhat.com>
530
531 * as.c (perform_an_assembly_pass): If using cgen, call
532 gas_cgen_begin.
533 * cgen.c (gas_cgen_begin): New function. If
534 flag_signed_overflow_ok is set call cgen_set_signed_overflow_ok
535 otherwise call cgen_clear_signed_overflow_ok.
536 * cgen.h: Prototype gas_cgen_begin.
537
fe59a223
TS
5382003-04-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
539
540 * write.c (write_relocs): Remove unused variable.
541
5a7a0b7b
AO
5422003-04-06 Chris Demetriou <cgd@broadcom.com>
543
544 * config/tc-mips.c (HAVE_64BIT_ADDRESS_CONSTANTS): New.
545 (macro): Use new macro to decide whether to emit constant address
546 as 32 or 64 bits if addresses are 32-bit wide but registers are
547 64-bit wide.
548
577300ce
SC
5492003-04-05 Stephane Carrez <stcarrez@nerim.fr>
550
551 * config/tc-m68hc11.c (M6811_OP_CALL_ADDR): New internal define.
552 (M6811_OP_PAGE_ADDR): New internal define.
684022ea 553 (get_operand): New modifier %page and %addr to obtain page and
577300ce 554 address part of a far-function.
684022ea 555 (fixup8): Use BFD_RELOC_M68HC11_PAGE for a %page modifier; don't
577300ce
SC
556 complain on overflow for the BFD_RELOC_M68HC11_PAGE and truncation
557 relocs.
558 (fixup16): Use BFD_RELOC_M68HC11_LO16 for a %addr modifier.
559 (find_opcode): Add comment.
560 (md_estimate_size_before_relax): Force relocation of
561 STATE_UNDEXED_OFFSET types when the symbol is not absolute.
562 (tc_m68hc11_fix_adjustable): Check for BFD_RELOC_M68HC11_LO16
563 instead of BFD_RELOC_LO16; temporarily make the BFD_RELOC_32
564 on the symbol itself so that DWARF2 strings are merged correctly.
565
be33c5dd
SS
5662003-04-04 Svein E. Seldal <Svein.Seldal@solidas.com>
567
568 * config/obj-coff.h (TARGET_FORMAT): Namespace cleanup, changed
569 default tic4x target format to 'coff2-tic4x'.
570 * config/tc-tic4x.c: Namespace cleanup. Replace s/c4x/tic4x/ and
571 s/c3x/tic3x/
572 * config/tc-tic4x.h: Ditto
573
e8fd7476
NC
5742003-04-03 Nick Clifton <nickc@redhat.com>
575
576 * NEWS: Mention support for Xtensa architecture.
577
47281638
PB
5782003-04-02 Philip Blundell <philb@gnu.org>
579
580 * config/tc-arm.c (arm_force_relocation): Return 0 for OFFSET_IMM.
581
af22f5b2
CD
5822003-04-02 Chris Demetriou <cgd@broadcom.com>
583
584 * config/tc-mips.c (macro2): Adjust implementation of
585 M_ULH, M_ULHU, M_ULW, and M_ULD so that they work properly
586 in the case where the source and destination registers
587 are the same.
588
e0001a05
NC
5892003-04-01 Bob Wilson <bob.wilson@acm.org>
590
54cfded0
AM
591 * Makefile.am (CPU_TYPES): Add xtensa.
592 (TARGET_CPU_CFILES): Add config/tc-xtensa.c.
593 (TARGET_CPU_HFILES): Add config/tc-xtensa.h.
594 (xtensa-relax.o): New target.
595 Run "make dep-am".
596 * Makefile.in: Regenerate.
597 * configure.in: Handle xtensa-*-*. Add xtensa-relax.o to
598 extra_objects for xtensa targets.
599 * configure: Regenerate.
600 * write.c (write_object_file): Add new md_post_relax_hook.
601 * config/tc-xtensa.c: New file.
602 * config/tc-xtensa.h: Likewise.
603 * config/xtensa-istack.h: Likewise.
604 * config/xtensa-relax.c: Likewise.
605 * config/xtensa-relax.h: Likewise.
606 * doc/Makefile.am (CPU_DOCS): Add c-xtensa.texi.
607 * doc/Makefile.in: Regenerate.
608 * doc/all.texi: Set new XTENSA variable.
609 * doc/as.texinfo: Set new Xtensa variable. Describe
610 Xtensa-specific options. Define line comment character for
611 Xtensa. Add Xtensa processors to list of ELF targets where
612 alignment is specified in bytes. Add new Xtensa-Dependent node.
613 Add acknowledgements for those contributing to the Xtensa port.
614 * doc/internals.texi: Describe new md_post_relax_hook.
615 * doc/c-xtensa.texi: New file.
e0001a05 616
5a6c6817
NC
6172003-04-01 Nick Clifton <nickc@redhat.com>
618 Richard Earnshaw <rearnsha@arm.com>
619
620 * config/tc-arm.c: Remove presence of (r) and (tm) symbols.
621 (ARM_ARCH_IWMMXT): Simplify.
622 (insns): Place iwmmx instructions in correct place in table.
623 (arm_add_note): New function: Add a note entry to a .note section.
624 (md_begin): Make the default architecture be unknown.
625 Suppress the creation of an arm note section.
626
97bbfa38
EC
6272003-03-26 Eric Christopher <echristo@redhat.com>
628
54cfded0 629 * config/tc-mips.c (nopic_need_relax): Check for S_IS_EXTERN.
97bbfa38 630
e16bb312
NC
6312003-03-25 Stan Cox <scox@redhat.com>
632 Nick Clifton <nickc@redhat.com>
97bbfa38 633
e16bb312
NC
634 Contribute support for Intel's iWMMXt chip - an ARM variant:
635
636 * config/tc-arm.c: (ARM_CEXT_IWMMXT, ARM_ARCH_IWMMXT, WR_PREFIX,
637 WC_PREFIX, REG_TYPE_IWMMXT): New constants.
638 (enum wreg_type, enum iwmmxt_insn_type): New types.
639 (wr_register, wc_register, wcg_register): New macros.
640 (iwmmxt_table): New variable.
641 (wreg_required_here, do_iwmmxt_byte_addr, do_iwmmxt_tandc,
642 do_iwmmxt_tbcst, do_iwmmxt_textrc, do_iwmmxt_textrm,
643 do_iwmmxt_tinsr, do_iwmmxt_tmcr, do_iwmmxt_tmcrr, do_iwmmxt_tmia,
644 do_iwmmxt_tmovmsk, do_iwmmxt_tmrc, do_iwmmxt_tmrrc,
645 do_iwmmxt_torc, do_iwmmxt_waligni, do_iwmmxt_wmov,
646 do_iwmmxt_word_addr, do_iwmmxt_wrwr, do_iwmmxt_wrwrwcg,
647 do_iwmmxt_wrwrwr, do_iwmmxt_wshufh, do_iwmmxt_wzero,
648 cp_byte_address_offset, cp_byte_address_required_here,
649 check_iwmmxt_insn): New functions.
97bbfa38 650 (asm_opcode_insns): Add iWMMXt instructions.
e16bb312
NC
651 (md_begin): Set the mach value for iWMMXt targets. Create a note
652 section to identify iwmmxt binaries.
653 (md_apply_fix3): Handle BFD_RELOC_ARM_CP_OFF_IMM_S2.
654 * doc/c-arm.texi: Document the support for the iWMMXt.
655 * NEWS: Mention new support.
656