daily update
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
ac62e7a3
JR
1Thu Oct 10 14:31:30 2002 J"orn Rennecke <joern.rennecke@superh.com>
2
3 * config/tc-sh.c (assemble_ppi): Initialize reg_x / reg_y / reg_n
4 inside loop.
5
f61dfddf
SC
62002-10-09 Richard Shann <richard.shann@superh.com>
7 Stephen Clarke <stephen.clarke@superh.com>
8
9 * config/tc-sh64.c (sh64_target_format): Add support for sh64
10 Linux environment.
11
28602ebf
KK
122002-10-03 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13
14 * contig/tc-sh.c (sh_local_pcrel): New.
15 (sh_force_relocation): Use sh_local_pcrel.
16 (md_pcrel_from_section): Check the relocation type whether it
17 should be resolved locally. Use S_FORCE_RELOC.
18
97724570
AM
192002-10-01 Alan Modra <amodra@bigpond.net.au>
20
21 * config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Define.
22 (TC_FORCE_RELOCATION): Tidy arg.
23
60b63b72
RS
242002-09-30 Gavin Romig-Koch <gavin@redhat.com>
25 Ken Raeburn <raeburn@cygnus.com>
26 Aldy Hernandez <aldyh@redhat.com>
27 DJ Delorie <dj@redhat.com>
28 Michael Meissner <meissner@redhat.com>
29 Eric Christopher <echristo@redhat.com>
30 Richard Sandiford <rsandifo@redhat.com>
31
32 * doc/c-mips.texi: Add entries for -march=vr4120,vr4130,vr4181,
33 vr5400 and vr5500. Add entry for -mfix-vr4122-bugs.
34 * config/tc-mips.c (CPU_HAS_DROR, CPU_HAS_ROR): New macros.
35 (hilo_interlocks): True for CPU_VR5500.
36 (gpr_interlocks, cop_interlocks): True for CPU_VR5400 and CPU_VR5500.
37 (mips_fix_vr4122_bugs): New.
38 (append_insn): Work around 4122 errors if mips_fix_vr4122_bugs.
39 (mips_emit_delays): Likewise.
40 (macro2) [M_DROLI]: Use dror or dror32 if CPU_HAS_DROR.
41 [M_ROLI]: Likewise ror if CPU_HAS_ROR.
42 (validate_mips_insn, mips_ip): Handle '[', ']', 'e' and '%'.
43 (OPTION_FIX_VR4122, OPTION_NO_FIX_VR4122): New options.
44 (md_longopts): Add -mfix-vr4122-bugs and -no-mfix-vr4122-bugs.
45 (OPTION_ELF_BASE): Bump.
46 (md_parse_option): Handle the new options.
47 (mips_cpu_info_table): Add entries for vr4120, vr4130, vr4181,
48 vr5400 and vr5500.
49
7a49a8c2
L
502002-09-29 H.J. Lu <hjl@gnu.org>
51
52 * config/tc-mips.c (md_apply_fix3): Subtract the symbol value
53 twice if howto->pcrel_offset is true.
54
04ff5cb5
JT
552002-09-28 Matt Thomas <matt@3am-software.com>
56 Jason Thorpe <thorpej@wasabisystems.com>
57
58 * config/tc-vax.c (md_estimate_size_before_relax): Only try to
59 convert undefined references to GOT32/PLT32 if PIC code is
60 requested. Fix comment.
61
8ba4dac0
DJ
622002-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
63
64 * config/tc-sh.c (sh_force_relocation): Return 0 for
65 some PC relative relocations when not relaxing.
66
bffbf940
JJ
672002-09-26 Jakub Jelinek <jakub@redhat.com>
68
69 * config/tc-i386.c (tc_i386_fix_adjustable): Add x86-64 TLS relocs.
70 Define them if not BFD_ASSEMBLER.
71 (lex_got): Handle @tlsgd, @dtpoff and @tpoff in 64-bit mode, add
72 @tlsld.
73 (md_apply_fix3): No addend for BFD_RELOC_X86_64_TLSGD,
74 BFD_RELOC_X86_64_TLSLD and BFD_RELOC_X86_64_GOTTPOFF.
75 (tc_gen_reloc): Handle x86-64 TLS relocs.
76
87733541
AM
772002-09-27 Alan Modra <amodra@bigpond.net.au>
78
79 * config/tc-avr.c (md_apply_fix3): Reinstate code handling pcrel
80 fixups to current or absolute section.
81
825487fa
JW
822002-09-26 Jim Wilson <wilson@redhat.com>
83
84 * config/tc-v850.c (v850_offset): Use frag_var instead of frag_now_fix
85 and frag_more.
86
3396de36
TS
872002-09-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
88
89 * config/tc-mips.c (CPU_HAS_MIPS16): Add mips-lsi-elf as MIPS16
90 capable configuration.
91 (macro_build): Check for MIPS16 capability, not for actual MIPS16 code
92 generation.
93 (mips_ip): Likewise.
94
f3c0ec86
TS
952002-09-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
96
97 * config/tc-mips.c (append_insn): Fix jump overflow check.
98
52271982
AM
992002-09-24 Alan Modra <amodra@bigpond.net.au>
100
101 * config/tc-i386.c (process_operands): Warn about "lea" segment
102 overrides.
103
823882f5
DD
1042002-09-22 Mark Elbrecht <snowball3@softhome.net>
105
106 * write.c: Delete set_segment_vma and prototype. Update all callers.
107
6539b54b
AM
1082002-09-21 Alan Modra <amodra@bigpond.net.au>
109
110 * config/tc-i386.c (md_apply_fix3): Replace S_IS_EXTERNAL,
111 S_IS_WEAK etc. with S_FORCE_RELOC call. Correct comment.
112 Rename "fseg" to "sym_seg".
113 * Makefile.am: Run "make dep-am".
114 * Makefile.in: Regenerate.
115 * doc/Makefile.in: Regenerate.
116
9f269a72
NC
1172002-09-20 Nick Clifton <nickc@redhat.com>
118
119 * symbols.c (colon): Do not allow symbols to be created in the
7cf10893
NC
120 absolute section if WORKING_DOT_WORD is not defined and
121 new_broken_words would require a new frag to be created.
9f269a72 122
26346241
AM
1232002-09-20 Alan Modra <amodra@bigpond.net.au>
124
f6cf69d7
AM
125 * expr.c (expr): Simplify foo-foo here.
126 (clean_up_expression): Remove O_subtract code.
127
26346241
AM
128 * write.h (struct fix): Add fx_dot_value.
129 (dot_value): Declare.
130 * write.c (dot_value): New var.
131 (fix_new_internal): Save dot_value as fx_dot_value.
f6cf69d7 132 (fixup_segment): Adjust fx_offset using fx_dot_value.
26346241
AM
133 * expr.c (expr): Update dot_value.
134
37e55690
JJ
1352002-09-19 Jakub Jelinek <jakub@redhat.com>
136
137 * config/tc-i386.c (tc_i386_fix_adjustable): Handle
138 BFD_RELOC_386_TLS_IE and BFD_RELOC_386_TLS_GOTIE.
139 (BFD_RELOC_386_TLS_IE, BFD_RELOC_386_TLS_GOTIE): Define to 0
140 if not defined.
141 (lex_got): Handle @GOTNTPOFF and @INDNTPOFF.
142 (md_apply_fix3, tc_gen_reloc): Handle BFD_RELOC_386_TLS_IE and
143 BFD_RELOC_386_TLS_GOTIE.
144
021c2b5e
RH
1452002-09-19 Richard Henderson <rth@redhat.com>
146
147 * config/tc-alpha.c (md_pcrel_from): Only adjust special for
148 branch type relocs.
149 (alpha_force_relocation): Don't special-case branch type relocs.
150
4f2a7c9e
NC
1512002-09-19 Nick Clifton <nickc@redhat.com>
152
153 * config/tc-m68k.c (select_control_regs): Handle situation where
154 architecture has not yet been selected.
155
885add95
CD
1562002-09-18 Chris Demetriou <cgd@broadcom.com>
157
158 * config/tc-mips.c (IS_SEXT_32BIT_NUM): Move closer to top of file.
159 (IS_SEXT_16BIT_NUM): New macro.
160 (macro_build_ldst_constoffset): New function, to build a set of
161 instructions to do a load or store from a constant offset relative
162 to a given register.
163 (macro, s_cprestore): Use macro_build_ldst_constoffset to implement
164 .cprestore pseudo-op.
165
65551fa4
CD
1662002-09-18 Chris Demetriou <cgd@broadcom.com>
167
168 * config/tc-mips.c (md_apply_fix3): Just return for BFD_RELOC_8.
169
4cf0dd0d
TS
1702002-09-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
171
172 * config/tc-mips.c (s_change_section): Fix parsing. Code cleanup.
173
ed6fb7bd
SC
1742002-09-17 Stan Cox <scox@redhat.com>
175
176 * tc-mips.c (load_address): Use BFD_RELOC_MIPS_GOT_DISP for newabi.
177 (macro): Likewise for la. Likewise for ld.
178 (mips_after_parse_args): Make -xgot optional, not the default.
179 (md_apply_fix3): Allow composite relocation to set up gp.
180 (tc_gen_reloc): Allow relaxing for newabi.
181 Relax R_MIPS_CALL16 to R_MIPS_GOT_PAGE/R_MIPS_GOT_OFST if local.
182 Relax R_MIPS_GOT16/R_MIPS_LO16 to R_MIPS_GOT_DISP if local.
183
6189168b
NC
1842002-09-17 Nick Clifton <nickc@redhat.com>
185
186 * config/tc-arm.c (md_apply_fix3): Note that an implemented
187 BFD_RELOC_ARM_IMMEDIATE has been done.
f6cf69d7 188 (tc_gen_reloc): Do not issue reloc number of unimplemented
6189168b
NC
189 BFD_RELOC_ARM_IMMEDIATE and BFD_RELOC_ARM_OFFSET_IMM relocs -
190 their name is already in the error message - plus remove them
191 from the default case.
192
193 * config/tc-arm.c (do_ldmstm): Warn about unpredictable
194 behavior of instructions.
195
75d12d11
AM
1962002-09-17 Svein E. Seldal <Svein.Seldal@solidas.com>
197
198 * config/tc-tic4x.c: Add function declarations and ATTRIBUTE_UNUSED.
199 Convert functions to K&R format.
200
7ed4a06a
TS
2012002-09-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
202
203 * config/tc-mips.c (pdr_seg): Define only for ELF.
204 (s_change_section): Remove unused variable. Don't use for nonELF.
205
e8cf2216
TS
2062002-09-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
207
208 * config/obj-elf.c (obj_elf_change_section): Move prototype to
209 obj-elf.h
210 * config/obj-elf.h (obj_elf_change_section): Likewise.
211
48b91938
RH
2122002-09-16 Elias Athanasopoulos <eathan@otenet.gr>
213
214 * dwarf2dbg.c (out_debug_abbrev): Add support for the DW_AT_name field.
215 (out_debug_info): Likewise.
216
4ada7262
DB
2172002-09-16 Bruno Haible <bruno@clisp.org>
218
219 * config/tc-i386.h (ELF_TARGET_FORMAT): New macro.
220 (TARGET_FORMAT): Use ELF_TARGET_FORMAT instead of "elf32-i386".
221 * config/tc-i386.c (i386_target_format): Likewise.
222 * config/tc-alpha.h (ELF_TARGET_FORMAT): New macro.
223 (TARGET_FORMAT): Use ELF_TARGET_FORMAT instead of "elf64-alpha".
224
7fe9cf6b
NC
2252002-09-13 Nick Clifton <nickc@redhat.com>
226
227 * config/tc-ppc.c (md_assemble): Do not count FAKE operands
228 when deciding if any operands have been skipped.
229
e09f4395
NC
2302002-09-11 Nick Clifton <nickc@redhat.com>
231
004d9caf
NC
232 * NEWS: New TI port supports both C4x and C3x series of DSPs.
233
e09f4395
NC
234 * po/tr.po: Updated Turkish translation.
235
9dfe7b39
JJ
2362002-09-11 Jakub Jelinek <jakub@redhat.com>
237
238 * config/tc-i386.c (md_apply_fix3): Allow addend for
239 BFD_RELOC_386_TLS_LDO_32, BFD_RELOC_386_TLS_LE and
240 BFD_RELOC_386_TLS_LE_32.
241
502b19cb
JL
2422002-09-05 Jeff Law <law@redhat.com>
243
f6cf69d7
AM
244 * config/tc-hppa.c (md_apply_fix3): Don't set fx_done for
245 marker relocations such as ENTRY/EXIT.
246 * config/tc-hppa.h (MD_APPLY_SYM_VALUE): Definition applies
247 to both OBJ_ELF and OBJ_SOM.
502b19cb 248
a161fe53
AM
2492002-09-05 Alan Modra <amodra@bigpond.net.au>
250
251 * doc/internals.texi (md_apply_fix3): Expand.
252 (TC_VALIDATE_FIX, TC_FORCE_RELOCATION, TC_FORCE_RELOCATION_ABS,
253 TC_FORCE_RELOCATION_LOCAL, TC_FORCE_RELOCATION_SUB_SAME,
254 TC_FORCE_RELOCATION_SUB_ABS, TC_FORCE_RELOCATION_SUB_LOCAL,
255 TC_VALIDATE_FIX_SUB, MD_APPLY_SYM_VALUE, S_FORCE_RELOC,
256 EXTERN_FORCE_RELOC): Document.
257 (TC_HANDLES_FX_DONE, obj_fix_adjustable): Remove.
258 * as.h: Don't include struc-symbol.h for arc.
259 (IS_ELF): Define.
260 * cgen.c (gas_cgen_md_apply_fix3): Remove *valP fudges and code to
261 subtract absolute symbol.
262 * obj.h (struct format_ops): Add frob_file_before_fix.
263 * subsegs.c (section_symbol): Set BSF_SECTION_SYM flag.
264 * symbols.c (S_FORCE_RELOC): New function.
265 * symbols.h (S_FORCE_RELOC): Declare.
266 * write.c (TC_FORCE_RELOCATION): Change default.
267 (TC_FORCE_RELOCATION_ABS): Define.
268 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
269 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
270 (TC_FORCE_RELOCATION_SECTION): Don't define.
271 (TC_FORCE_RELOCATION_SUB_SAME): Define this instead.
272 (TC_FORCE_RELOCATION_SUB_ABS): Define.
273 (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
274 (TC_VALIDATE_FIX_SUB): Define.
275 (TC_FIX_ADJUSTABLE): Don't define.
276 (MD_APPLY_SYM_VALUE): Define this instead.
277 (abs_section_sym): New variable.
278 (adjust_reloc_syms): Use S_FORCE_RELOC. Remove obj_fix_adjustable
279 call. Don't symbol_mark_used_in_reloc here. Simplify link_once tests.
280 Don't put the absolute section sym on fixups here.
281 (fix_segment): New function.
282 (write_relocs): Don't call fixup_segment from here.
283 (write_object_file): Instead call tc_frob_file_before_fix,
284 obj_frob_file_before_fix, and fix_segment prior to symbol table code.
285 Don't output the absolute section symbol.
286 (fixup_segment): Rewrite.
287 * write.h (abs_section_sym): Declare.
288 * config/obj-aout.c (obj_aout_frob_file_before_fix): Rename from
289 obj_aout_frob_file.
290 (aout_format_ops): Adjust to suit.
291 * config/obj-aout.h (obj_frob_file): Don't define.
292 (obj_frob_file_before_fix): Define.
293 (obj_aout_frob_file_before_fix): Rename from obj_aout_frob_file.
294 (S_FORCE_RELOC): Define.
295 * config/obj-bout.h (S_FORCE_RELOC): Define.
296 * config/obj-coff.c (coff_format_ops): Init new field.
297 * config/obj-coff.h: Formatting fixes.
298 (obj_sec_sym_ok_for_reloc): Define.
299 (S_FORCE_RELOC): Define.
300 * config/obj-ecoff.c (ecoff_frob_file_before_fix): Split out ..
301 (ecoff_frob_file): .. from here.
302 (ecoff_format_ops): Add new function.
303 * config/obj-ecoff.h (ecoff_frob_file_before_fix): Declare.
304 (obj_frob_file_before_fix): Define.
305 * config/obj-elf.c (elf_format_ops): Init new field.
306 * config/obj-elf.h (obj_sec_sym_ok_for_reloc): Expand comment.
307 * config/obj-ieee.h: Formatting fixes.
308 (S_FORCE_RELOC): Define.
309 * config/obj-multi.h (obj_frob_file_before_fix): Define.
310 * config/obj-vms.h (S_FORCE_RELOC): Define.
311 * config/tc-alpha.c (md_apply_fix3): Correct GPDISP comment.
312 (alpha_force_relocation): Use S_FORCE_RELOC, and don't return 0
313 for BFD_RELOC_32 and BFD_RELOC_64.
314 (alpha_fix_adjustable): Remove extern and weak tests.
315 (alpha_before_fix): Rename from alpha_adjust_symtab.
316 (alpha_adjust_relocs): Rename from alpha_adjust_symtab_relocs.
317 * config/tc-alpha.h (struct fix, struct alpha_reloc_tag): Declare.
318 (TC_VALIDATE_FIX): Tweak param name.
319 (TC_FORCE_RELOCATION, tc_fix_adjustable): Likewise.
320 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
321 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
322 (MD_APPLY_SYM_VALUE): Define.
323 (tc_adjust_symtab): Don't define.
324 (alpha_adjust_symtab): Don't declare.
325 (tc_frob_file_before_fix): Define.
326 (alpha_before_fix): Declare.
327 (TC_INIT_FIX_DATA): Tweak param names.
328 * config/tc-arc.c: Include "struc-symbol.h".
329 (md_pcrel_from): Remove undefined sym fudge.
330 (md_apply_fix3): Remove *valP fudges and code to subtract abs sym.
331 Don't set fx_addnumber.
332 (tc_gen_reloc): Remove spurious fx_addnumber comment.
333 * config/tc-arc.h (MD_APPLY_SYM_VALUE): Define.
334 (EXTERN_FORCE_RELOC): Define.
335 * config/tc-arm.c (md_apply_fix3 <case BFD_RELOC_ARM_GOTPC>): Remove.
336 (tc_gen_reloc): Fudge ARM_GOTPC addend.
337 (arm_validate_fix): Return void.
338 (arm_fix_adjustable <elf version>): Remove extern and weak tests.
339 Add plt and got reloc tests.
340 (arm_force_relocation): Call S_FORCE_RELOC.
341 * config/tc-arm.h (struct fix): Forward declare.
342 (TC_VALIDATE_FIX): No longer set add_symbolP.
343 (arm_validate_fix): Adjust declaration.
344 (TC_FORCE_RELOCATION <pe version): Call S_FORCE_RELOC.
345 (TC_FORCE_RELOCATION): Tweak param name.
346 (TC_INIT_FIX_DATA): Likewise.
347 (obj_fix_adjustable): Don't define.
348 (tc_fix_adjustable): Call arm_fix_adjustable.
349 (TC_FIX_ADJUSTABLE): Don't define.
350 (MD_APPLY_SYM_VALUE): Define.
351 (EXTERN_FORCE_RELOC): Define.
352 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
353 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
354 * config/tc-avr.c (md_apply_fix3): Don't cast valP pointer type.
355 Remove *valP fudges and code to subtract abs sym. Don't set
356 fx_addnumber.
357 * config/tc-avr.h: Formatting.
358 (EXTERN_FORCE_RELOC): Define.
359 (MD_APPLY_SYM_VALUE): Define.
360 * config/tc-cris.c (tc_gen_reloc): Don't use fx_addnumber.
361 (md_apply_fix3): Remove code to subtract abs sym.
362 (md_cris_force_relocation): Update comment. Call S_FORCE_RELOC.
363 * config/tc-cris.h (TC_FORCE_RELOCATION): Tweak param name.
364 (IS_CRIS_PIC_RELOC, tc_fix_adjustable): Likewise.
365 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
366 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
367 (tc_fix_adjustable): Remove extern, weak tests.
368 * config/tc-d10v.c (tc_gen_reloc): Don't fiddle address of
369 BFD_RELOC_VTABLE_INHERIT relocs. Don't use fx_addnumber.
370 (md_apply_fix3): Don't cast valP pointer type. Remove *valP fudges
371 and code to subtract abs sym.
372 (d10v_fix_adjustable): Remove extern, weak, SEC_MERGE tests.
373 (d10v_force_relocation): Call S_FORCE_RELOC.
374 * config/tc-d10v.h: Don't include write.h.
375 (struct fix): Instead, forward declare.
376 (MD_PCREL_FROM_SECTION): Tweak param names.
377 (md_pcrel_from_section): Use "struct fix" instead of "fixS".
378 (d10v_fix_adjustable): Likewise.
379 (obj_fix_adjustable): Don't define.
380 (tc_fix_adjustable): Define.
381 (TC_FORCE_RELOCATION): Tweak param name.
382 (MD_APPLY_SYM_VALUE): Define.
383 (EXTERN_FORCE_RELOC): Define.
384 * config/tc-d30v.c (tc_gen_reloc): Don't use fx_addnumber.
385 (md_apply_fix3): Don't cast valP pointer type. Remove *valP fudges
386 and code to subtract abs sym.
387 * config/tc-d30v.h: Don't include write.h.
388 (struct fix): Instead, forward declare.
389 (MD_PCREL_FROM_SECTION): Tweak param names.
390 (md_pcrel_from_section): Use "struct fix" instead of "fixS".
391 (MD_APPLY_SYM_VALUE): Define.
392 (EXTERN_FORCE_RELOC): Define.
393 * config/tc-dlx.c (md_dlx_force_relocation): Call S_FORCE_RELOC.
394 (md_dlx_fix_adjustable): Don't test for NULL fx_addsy.
395 (md_apply_fix3): No need to test fx_pcrel before setting fx_done.
396 (tc_gen_reloc): Don't fiddle with BFD_RELOC_VTABLE_INHERIT relocs.
397 Adjust the address for BFD_RELOC_VTABLE_ENTRY, not the addend.
398 Don't use fx_addnumber.
399 * config/tc-dlx.h: Don't include write.h.
400 (md_convert_frag): We're not alpha twice over.
401 (EXTERN_FORCE_RELOC): Define.
402 (obj_fix_adjustable): Don't define.
403 (tc_fix_adjustable): Define.
404 (TC_FIX_ADJUSTABLE): Don't define.
405 (MD_APPLY_SYM_VALUE): Define.
406 (LOCAL_LABELS_DOLLAR): Undef always.
407 * config/tc-fr30.c (fr30_force_relocation): Call S_FORCE_RELOC.
408 (fr30_fix_adjustable): Remove extern, weak tests.
409 * config/tc-fr30.h (MD_APPLY_SYM_VALUE): Define.
410 (obj_fix_adjustable): Don't define.
411 (tc_fix_adjustable): Define.
412 (struct fix): Forward declare.
413 (MD_PCREL_FROM_SECTION): Tweak param name. Remove duplicate.
414 * config/tc-frv.c (frv_force_relocation): Call S_FORCE_RELOC.
415 (frv_fix_adjustable): Don't do extern, weak tests.
416 * config/tc-frv.h (MD_APPLY_SYM_VALUE): Define.
417 (TC_FIX_ADJUSTABLE): Don't define.
418 (obj_fix_adjustable): Don't define.
419 (tc_fix_adjustable): Define.
420 (struct fix): Forward declare.
421 (MD_PCREL_FROM_SECTION): Tweak param name. Remove duplicate.\
422 * config/tc-h8300.c (md_apply_fix3): Don't cast valP pointer type.
423 * config/tc-h8300.h (struct fix): Forward declare.
424 (EXTERN_FORCE_RELOC): Define.
425 * config/tc-hppa.c (md_apply_fix3): Remove subtraction of sym value.
426 (hppa_fix_adjustable): Don't test extern or weak. Don't
427 symbol_mark_used_in_reloc.
428 (hppa_force_relocation): Use S_FORCE_RELOC instead of S_IS_EXTERNAL
429 and S_IS_WEAK.
430 * config/tc-hppa.h (EXTERN_FORCE_RELOC): Define
431 (TC_FORCE_RELOCATION, TC_INIT_FIX_DATA): Tweak param name.
432 (TC_FORCE_RELOCATION_SECTION): Don't define.
433 (MD_APPLY_SYM_VALUE): Define.
434 * config/tc-i370.c (md_apply_fix3): Remove *valP fudges and code
435 to subtract abs sym.
436 * config/tc-i370.h: Remove ifdef OBJ_ELF tests.
437 (MD_APPLY_SYM_VALUE): Define.
438 (MD_PCREL_FROM_SECTION): Tweak param name.
439 * config/tc-i386.c (tc_i386_fix_adjustable): Remove weak, extern tests.
440 (md_apply_fix3): Test fx_addsy, not fx_pcrel.
441 (i386_force_relocation): New function.
442 * config/tc-i386.h (TC_COFF_FIX2RTYPE): Tweak param name.
443 (TC_VALIDATE_FIX): Likewise.
444 (TC_FIX_ADJUSTABLE): Don't define.
445 (MD_APPLY_SYM_VALUE): Define.
446 (TC_FORCE_RELOCATION <elf version>): Call i386_force_relocation.
447 (i386_force_relocation): Declare.
448 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
449 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
450 (TC_FORCE_RELOCATION <coff version>): Call S_FORCE_RELOC.
451 * config/tc-i860.c (md_apply_fix3): Don't cast valP pointer type.
452 * config/tc-i860.h (MD_APPLY_SYM_VALUE): Define.
453 (EXTERN_FORCE_RELOC): Define.
454 * config/tc-i960.c (reloc_callj): Remove declaration. Return false.
455 (md_apply_fix3): Don't cast valP pointer type. Move code here from
456 old fixup_segment. No need to test fx_pcrel before setting fx_done.
457 (i960_validate_fix): Remove add_symbolPP arg and add_symbolP macro.
458 Use fx_addsy instead of add_symbolP, as_bad_where instead of as_bad.
459 Remove #if 0 code. Invert return boolean.
460 * config/tc-i960.h (TC_COUNT_RELOC): Tweak param name.
461 (TC_COFF_FIX2RTYPE, TC_ADJUST_RELOC_COUNT, TC_VALIDATE_FIX): Likewise.
462 (tc_headers_hook, tc_coff_fix2rtype): Remove declaration.
463 (tc_coff_sizemachdep): Prototype.
464 (i960_handle_align): Likewise.
465 (i960_validate_fix): Adjust declaration.
466 (reloc_callj): Likewise.
467 (EXTERN_FORCE_RELOC): Define.
468 (TC_FORCE_RELOCATION_SUB_SAME): Define.
469 (TC_FORCE_RELOCATION_ABS): Define.
470 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
471 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
472 (TC_FIX_ADJUSTABLE): Don't define.
473 (MD_APPLY_SYM_VALUE): Define.
474 * config/tc-ia64.c (ia64_force_relocation): Call S_FORCE_RELOC.
475 * config/tc-ia64.h (MD_APPLY_SYM_VALUE): Define.
476 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
477 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
478 * config/tc-ip2k.c (ip2k_force_relocation): Call S_FORCE_RELOC.
479 * config/tc-ip2k.h (MD_APPLY_FIX3): Don't define.
480 (MD_APPLY_SYM_VALUE): Define.
481 (EXTERN_FORCE_RELOC): Define.
482 (TC_FORCE_RELOCATION): Tweak param name.
483 * config/tc-m32r.c (m32r_force_relocation): Call S_FORCE_RELOC.
484 (m32r_fix_adjustable): Don't test extern, weak.
485 * config/tc-m32r.h (MD_PCREL_FROM_SECTION): Tweak param name.
486 (MD_APPLY_SYM_VALUE): Define.
487 (obj_fix_adjustable): Don't define.
488 (tc_fix_adjustable): Define.
489 (tc_frob_file): Don't define.
490 (tc_frob_file_before_fix): Define.
491 (EXTERN_FORCE_RELOC): Define.
492 * config/tc-m68hc11.c (tc_gen_reloc): Set addend to zero. Adjust
493 BFD_RELOC_VTABLE_ENTRY address.
494 (tc_m68hc11_force_relocation): Call S_FORCE_RELOC.
495 (tc_m68hc11_fix_adjustable): Don't test relaxable_symbol.
496 (md_apply_fix3): Remove *valP fudges and code to subtract abs sym.
497 Remove duplicated fx_done code.
498 * config/tc-m68hc11.h (MD_APPLY_SYM_VALUE): Define.
499 (EXTERN_FORCE_RELOC): Define.
500 * config/tc-m68k.c (tc_m68k_fix_adjustable): Don't test
501 relaxable_symbol.
502 * config/tc-m68k.h (TC_COFF_FIX2RTYPE): Tweak param name.
503 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
a161fe53
AM
504 (TC_FIX_ADJUSTABLE): Don't define.
505 (EXTERN_FORCE_RELOC): Define.
506 (MD_APPLY_SYM_VALUE): Define.
507 (TC_FORCE_RELOCATION): Call S_FORCE_RELOC.
508 * config/tc-mcore.c (md_apply_fix3): Don't cast valP pointer type.
509 Remove fx_addsy tests.
510 (mcore_force_relocation): Call S_FORCE_RELOC.
511 (mcore_fix_adjustable): Don't test fx_addsy.
512 * config/tc-mcore.h (MD_PCREL_FROM_SECTION): Tweak param name.
513 (EXTERN_FORCE_RELOC): Define.
514 (obj_fix_adjustable): Don't define.
515 (tc_fix_adjustable): Define.
516 (MD_APPLY_SYM_VALUE): Define.
517 * config/tc-mips.c (enum mips_pic_level): Move to tc-mips.h.
518 (mips_pic): No longer static.
519 (mips_force_relocation): Call S_FORCE_RELOC.
520 (mips_fix_adjustable): Remove extern, weak tests.
521 * config/tc-mips.h (enum mips_pic_level): Declare.
522 (mips_pic): Declare.
523 (tc_frob_file): Don't define.
524 (tc_frob_file_before_fix): Define this instead.
525 (EXTERN_FORCE_RELOC): Define.
526 * config/tc-mmix.c (md_apply_fix3): Replace real_reg_section tests
527 with reg_section tests. Set fx_done instead of calling
528 symbol_clear_used_in_reloc on bad relocs.
529 (tc_gen_reloc): Zero fx_addsy on bad relocs.
530 (mmix_force_relocation): Remove weak sym test. Call S_FORCE_RELOC.
531 (mmix_adjust_symtab): Simplify list handling. Abort on any
532 nonsense.
533 * config/tc-mmix.h (tc_fix_adjustable): Remove weak tests. Check
534 BFD_RELOC_MMIX_LOCAL.
535 (tc_frob_symbol): Keep user defined syms in reg_section. Don't punt.
536 (EXTERN_FORCE_RELOC): Define.
537 (MD_PCREL_FROM_SECTION): Tweak param name.
538 (tc_frob_file): Don't define.
539 (tc_frob_file_before_fix): Define this instead.
540 * config/tc-mn10300.c (mn10300_force_relocation): Call S_FORCE_RELOC.
541 Remove SEC_CODE checks.
542 (mn10300_fix_adjustable): Remove extern and weak tests.
543 * config/tc-mn10300.h (EXTERN_FORCE_RELOC): Define.
544 (TC_FORCE_RELOCATION): Tweak param name.
545 (obj_fix_adjustable): Don't define.
546 (TC_FORCE_RELOCATION_SUB_SAME): Define to handle SEC_CODE.
547 * config/tc-ns32k.h (TC_FIX_DATA_PRINT): Tweak param name.
548 * config/tc-openrisc.c (openrisc_force_relocation): Call S_FORCE_RELOC.
549 (openrisc_fix_adjustable): Don't test fx_addsy.
550 * config/tc-openrisc.h (MD_APPLY_SYM_VALUE): Define.
551 (obj_fix_adjustable): Don't define.
552 (tc_fix_adjustable): Define this instead.
553 (MD_PCREL_FROM_SECTION): Remove duplicate. Tweak param name.
554 * config/tc-or32.c (md_apply_fix3): Don't cast valP pointer type.
555 (tc_gen_reloc): Don't fiddle with BFD_RELOC_VTABLE_INHERIT relocs.
556 Adjust the address for BFD_RELOC_VTABLE_ENTRY, not the addend.
557 * config/tc-or32.h (EXTERN_FORCE_RELOC): Define.
558 (MD_APPLY_SYM_VALUE): Define.
559 * config/tc-pj.c (md_apply_fix3): Don't cast valP pointer type.
560 Don't subtract symbol value.
561 * config/tc-pj.h (md_pcrel_from): Tweak param name.
562 (EXTERN_FORCE_RELOC): Define.
563 (TC_FORCE_RELOCATION): Call S_FORCE_RELOC.
564 (MD_APPLY_SYM_VALUE): Define.
565 (obj_fix_adjustable): Don't define.
566 (tc_fix_adjustable): Define this instead.
567 * config/tc-ppc.c (ppc_frob_symbol <coff version>): Ignore absolute
568 section sym.
569 (ppc_force_relocation <coff version>): Call S_FORCE_RELOC.
570 (ppc_force_relocation <elf version>): New.
571 (ppc_fix_adjustable <elf version>): Remove extern and weak tests.
572 (md_apply_fix3): Don't subtract symbol values for ELF. Update
573 comments. Don't subtract fx_subsy as that is already done.
574 * config/tc-ppc.h (tc_fix_adjustable): Tweak param name.
575 (MD_PCREL_FROM_SECTION): Likewise.
576 (TC_FORCE_RELOCATION): Define for both ELF and XCOFF as calling
577 ppc_force_relocation.
578 (TC_FORCE_RELOCATION_SECTION): Delete.
579 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
580 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
581 (MD_APPLY_SYM_VALUE): Define.
582 * config/tc-s390.c: #include "dwarf2dbg.h".
583 (s390_insn): Remove excess parens.
584 (tc_s390_fix_adjustable): Remove extern, weak, SEC_MERGE tests.
585 (tc_s390_force_relocation): Call S_FORCE_RELOC.
586 (md_apply_fix3): Add ATTRIBUTE_UNUSED on "seg". Abort when fx_subsy
587 non-NULL. Don't subtract off fx_addsy value.
588 * config/tc-s390.h (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
589 (TC_FORCE_RELOCATION, MD_PCREL_FROM_SECTION): Tweak param name.
590 (TC_FIX_ADJUSTABLE): Don't define.
591 (MD_APPLY_SYM_VALUE): Define.
592 * config/tc-sh.c (SWITCH_TABLE_CONS): Move to tc-sh.h.
593 (SWITCH_TABLE): Likewise.
594 (sh_force_relocation): Call S_FORCE_RELOC.
595 (sh_fix_adjustable): Remove "return 1" cases handled by the default.
596 Replace TC_RELOC_RTSYM_LOC_FIXUP with reloc type tests.
597 (md_apply_fix3 <case BFD_RELOC_32_PLT_PCREL>): Simplify,
598 fx_addnumber is zero on entry. Save val in fx_addnumber.
599 (tc_gen_reloc): Don't subtract fx_subsy.
600 * config/tc-sh.h (struct fix): Move.
601 (obj_fix_adjustable): Don't define.
602 (tc_fix_adjustable): Define this instead.
603 (TC_FIX_ADJUSTABLE): Don't define.
604 (MD_APPLY_SYM_VALUE): Define.
605 (SWITCH_TABLE_CONS): Define.
606 (SWITCH_TABLE): Define.
607 (TC_FORCE_RELOCATION_SUB_SAME): Define.
608 (TC_VALIDATE_FIX_SUB): Define.
609 (MD_PCREL_FROM_SECTION): Tweak param name.
610 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
611 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
612 (TC_FORCE_RELOCATION_SUB_ABS): Define.
613 * config/tc-sh64.h (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
614 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
615 (TC_FORCE_RELOCATION_SUB_SAME): Define.
616 (TC_VALIDATE_FIX_SUB): Define.
617 (MD_PCREL_FROM_SECTION): Tweak param name.
618 * config/tc-sparc.c (md_apply_fix3): Don't subtract off symbol value.
619 (tc_gen_reloc): Use S_FORCE_RELOC.
620 (elf32_sparc_force_relocation): Call S_FORCE_RELOC.
621 * config/tc-sparc.h (TC_FORCE_RELOCATION <coff version>): Remove.
622 (TC_FORCE_RELOCATION_ABS): Define this instead.
623 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
624 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
625 (tc_fix_adjustable): Remove extern and weak tests. Use S_FORCE_RELOC.
626 (MD_APPLY_SYM_VALUE): Define.
627 (TC_FIX_DATA_PRINT): Tweak param name.
628 * config/tc-tic30.c (USE_STDOUT): Don't define.
629 (md_parse_option): Remove stupid debug code.
630 (tc_gen_reloc): Don't use fx_addnumber.
631 * config/tc-v850.c (v850_fix_adjustable): Remove extern and weak tests.
632 (v850_force_relocation): Remove weak test. Call S_FORCE_RELOC.
633 * config/tc-v850.h (obj_fix_adjustable): Don't define.
634 (tc_fix_adjustable): Define this instead.
635 (TC_FIX_ADJUSTABLE): Don't define.
636 (MD_APPLY_SYM_VALUE): Define this instead.
637 (TC_FORCE_RELOCATION, MD_PCREL_FROM_SECTION): Tweak param name.
638 * config/tc-vax.h (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
639 (TC_FIX_ADJUSTABLE): Don't define.
640 (MD_APPLY_SYM_VALUE): Define this instead.
641 (tc_fix_adjustable): Remove extern and weak tests.
642 * config/tc-w65.h (struct fix): Forward declare.
643 * config/tc-xstormy16.c (xstormy16_force_relocation): Call
644 S_FORCE_RELOC.
645 (xstormy16_fix_adjustable): Remove extern and weak tests. Don't
646 call xstormy16_force_relocation; Instead test for FPTR16 reloc.
647 (xstormy16_md_apply_fix3): Remove *valP fudges and code to subtract
648 absolute symbol.
649 * config/tc-xstormy16.h (MD_APPLY_FIX3): Don't define.
650 (MD_APPLY_SYM_VALUE): Define.
651 (obj_fix_adjustable): Don't define.
652 (tc_fix_adjustable): Define this instead.
653 (MD_PCREL_FROM_SECTION): Remove duplicate. Tweak param name.
654
2a98c3a6
AM
6552002-09-04 Alan Modra <amodra@bigpond.net.au>
656
b782de16
AM
657 * config/tc-ppc.c (ppc_frob_symbol): Formatting, warning fix.
658 (ppc_fix_adjustable <coff version>): Cleanup.
659
2a98c3a6
AM
660 * config/tc-ppc.c (PPC_HIGHER, PPC_HIGHEST): Fix warning.
661 (md_parse_option): No -a64 without BFD64.
662 (ppc_set_cpu): Select appropriate cpu when ppc_obj64.
663 (ppc_arch): Use bfd_mach_rs6k for bfd_arch_rs6000.
664
341026c1
NC
6652002-09-04 Nick Clifton <nickc@redhat.com>
666
667 * config/tc-ppc.c (md_begin): Do not insert non-BookE32
668 instructions into the hash table if the target cpu is the BookE32.
669
a6bd2a4f
HPN
6702002-08-31 Hans-Peter Nilsson <hp@bitrange.com>
671
672 * read.c (do_align): Use ATTRIBUTE_UNUSED_LABEL for label, not
673 ATTRIBUTE_UNUSED.
674
86aba9db
NC
6752000-08-28 Catherine Moore <clm@redhat.com>
676
677 * tc-v850.c (v850_relax): Declare.
678 (v850_longcode): New routine.
679 (v850_handle_align): New routine.
680 (md_pseudo_table): Add longcall and longjump.
681 (md_parse_option): Check for relax option.
682 (tc_gen_reloc): Handle BFD_RELOC_V850_LONGCALL,
683 BFD_RELOC_V850_LONGJUMP, and BFD_RELOC_V850_ALIGN.
684 (md_apply_fix3): Likewise.
685 (v850_force_relocation): Likewise.
686 (v850_comm): Change the current section.
e4512afa 687 (md_assemble): Ensure that the correct value is put in the
86aba9db
NC
688 fixup.
689 (v850_sdata, v850_tdata, v850_zdata, v850_sbss, v850_tbss,
690 v850_zbss, v850_rosdata, v850_rozdata): Fix section book keeping.
e4512afa 691 Remove redundant v850ea support.
86aba9db
NC
692 * tc-v850.h (HANDLE_ALIGN): Define.
693 (v850_handle_align): Declare.
694 * doc/c-v850.c: Document -mrelax, .longcall and .longjump.
695
026df7c5
NC
6962002-08-28 Svein E. Seldal <Svein.Seldal@solidas.com>
697
698 * configure.in: Add tic4x-coff* and c4x-coff*-coff-coff targets.
699 * configure: Regenerate.
700 * NEWS: Mention new port.
701
7022002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
703
704 * config/obj-coff.c: Add sdef definition.
705 * config/obj-coff.h: Add tic4x include file and set
706 target format.
707 * config/tc-tic4x.c: New file.
708 * config/tc-tic4x.h: New file.
709
4252e537
AM
7102002-08-28 Alan Modra <amodra@bigpond.net.au>
711
df44284e
AM
712 * write.c (BFD_FAST_SECTION_FILL): Remove unused macro.
713 (TC_ADJUST_RELOC_COUNT): Tweak param name.
714 (TC_FORCE_RELOCATION, TC_FORCE_RELOCATION_SECTION): Likewise.
715 (TC_FIX_ADJUSTABLE, MD_PCREL_FROM_SECTION): Likewise.
716 (RELOC_ENUM): Define.
717 (fix_new_internal): Use RELOC_ENUM.
718 (fix_new, fix_new_exp): Likewise.
719 (adjust_reloc_syms): Comment. Remove unnecessary tests on sym != NULL.
720 Replace gotos with continue.
721 (write_relocs): Formatting. Avoid symbol loops in
722 RELOC_EXPANSION_POSSIBLE case too. Report bfd_reloc_outofrange
723 errors, and error number in other cases.
724 (fixup_segment): Remove param names from prototype. Rename
725 "this_segment_type" to "this_segment". Update linkrelax comment.
726 Remove "size, "place" and "where" local vars. Formatting. Update
727 "no symbol" comment. Remove #if 0 and #if 1.
728
4252e537
AM
729 * app.c (do_scrub_chars): Don't test IGNORE_NONSTANDARD_ESCAPES. Tidy.
730
70658493
AM
7312002-08-27 Alan Modra <amodra@bigpond.net.au>
732
733 * dwarf2dbg.c: Always include dwarf2dbg.h.
734 (dwarf2_directive_file): Adjust dummy version args.
735 * ecoff.c (ecoff_directive_weakext): Add ATTRIBUTE_UNUSED.
736 * expr.c (clean_up_expression <O_subtract>): Allow subtraction
737 when symbol values differ.
738 * read.c (do_align): Add ATTRIBUTE_UNUSED to label.
739 (pseudo_set <O_subtract>): Remove unnecessary segment test.
740 * config/obj-bout.c (obj_pseudo_table): Warning fix.
741
a2199cc1
AM
7422002-08-26 Alan Modra <amodra@bigpond.net.au>
743
744 * config/tc-w65.c (md_section_align): Fix typo.
745 (md_parse_option): Return 0, not 1.
746
ececec60
NC
7472002-08-22 Nick Clifton <nickc@redhat.com>
748
749 * doc/as.texinfo (Section): Note that if '@' is a comment
750 character then another symbol is used to prefix the section's
751 type.
752
14899840
NC
7532002-08-22 Christian Groessler <chris@groessler.org>
754
755 * config/tc-z8k.c (get_operands): Adjust ptr variable also in
756 "case 0" case.
757
ed71e111
NC
7582002-08-12 Graeme Peterson <gp@qnx.com>
759
760 * configure.in: Add support for sh-**-nto* target.
761 * configure: Regenerate.
762
dfe0d3fe
JL
7632002-08-21 Nitin Gupta <niting@noida.hcltech.com>
764
765 * config/tc-h8300.h (TC_LINKRELAX_FIXUP): Define.
766
dc1d03fc
EZ
7672002-08-21 Elena Zannoni <ezannoni@redhat.com>
768
70658493
AM
769 * config/tc-ppc.c (ppc_cleanup): Do something only if format
770 is ELF.
771 (ppc_apuinfo_section_add): Define only if format is ELF.
772 (md_assemble): Emit APUinfo section only if format is ELF.
773 Fix formatting.
dc1d03fc 774
9f1838ed
AM
7752002-08-21 Alan Modra <amodra@bigpond.net.au>
776
70658493 777 * config/tc-arc.c (md_pseudo_table <dwarf2_directive_file>): Cast.
9f1838ed
AM
778 * config/tc-frv.c: Likewise.
779 * config/tc-hppa.c: Likewise.
780 * config/tc-ia64.c: Likewise.
781 * config/tc-ip2k.c: Likewise.
782 * config/tc-m68hc11.c: Likewise.
783 * config/tc-m68k.c: Likewise.
784 * config/tc-mmix.c: Likewise.
785 * config/tc-mn10300.c: Likewise.
786 * config/tc-sh.c: Likewise.
787 * config/tc-sparc.c: Likewise.
788 * config/tc-v850.c: Likewise.
789
483fc7cd
RS
7902002-08-20 Richard Sandiford <rsandifo@redhat.com>
791
792 * config/tc-mips.c (macro2): Implement rotates by zero using shifts
793 by zero.
794
6a0c61b7
EZ
7952002-08-19 Elena Zannoni <ezannoni@redhat.com>
796
70658493 797 From matthew green <mrg@redhat.com>
6a0c61b7 798
70658493
AM
799 * config/tc-ppc.c (PPC_OPCODE_CLASSIC): Enable this everywhere
800 PPC_OPCODE_PPC is, except for BookE architectures.
801 (md_parse_option): Add support for -mspe.
802 (md_show_usage): Add -mspe.
803 (md_parse_option): Add support for -me500 and
804 -me500x2 to generate code for Motorola e500 core complex.
805 (md_show_usage): Add -me500 and -me500x2.
6a0c61b7 806
70658493
AM
807 (PPC_APUINFO_ISEL, PPC_APUINFO_PMR, PPC_APUINFO_RFMCI,
808 PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE, PPC_APUINFO_EFS,
809 PPC_APUINFO_BRLOCK): New macros.
6a0c61b7 810
70658493
AM
811 (ppc_cleanup): New function.
812 (ppc_apuinfo_section_add): New function.
813 (APUID): New macro.
814 (md_assemble): Collect info and write the APUinfo section.
6a0c61b7 815
70658493
AM
816 * config/tc-ppc.h (md_cleanup): Define.
817 (ppc_cleanup): Export.
818 (ELF_TC_SPECIAL_SECTIONS): Add .PPC.EMB.apuinfo section.
6a0c61b7 819
cca86cc8
SC
8202002-08-17 Stan Cox <scox@redhat.com>
821
822 * config/obj-elf.c (obj_elf_change_section): Make non-static.
823 config/tc-mips.c (s_change_section): New function to support
824 IRIX .section pseudo-op.
825
50b15da2
NC
8262002-08-16 Nick Clifton <nickc@redhat.com>
827
828 * config/tc-v850.c (md_assemble): Fix assembling of "callt 0x3f".
829
f21f8242
AO
8302002-08-15 Alexandre Oliva <aoliva@redhat.com>
831
832 * config/tc-mips.c (macro_build_jalr): Make sure we generate
833 the fix-up against on the right frag.
834 (s_cpsetup): Likewise. Parse third argument as expression, to
835 handle global symbols and forward/backward labels correctly.
836
11f45fb5
NC
8372002-08-14 Nick Clifton <nickc@redhat.com>
838
8ac9ba6c
NC
839 * read.c (stringer): Catch attempts to create strings in the abs
840 section.
841
11f45fb5
NC
842 * config/tc-alpha.c: Fix compiling for COFF targets.
843 Some minor formatting tidyups.
844
e371935f
SC
8452002-08-13 Stephane Carrez <stcarrez@nerim.fr>
846
847 * config/tc-m68hc11.h (MD_PCREL_FROM_SECTION): Remove.
848 (TC_HANDLES_FX_DONE): Define to let md_apply_fix3 set fx_done flag
849 according to the reloc.
850 (tc_fix_adjustable, tc_m68hc11_fix_adjustable): Define.
851 (TC_FORCE_RELOCATION): Define.
852 (tc_m68hc11_force_relocation): Declare.
853
854 * config/tc-m68hc11.c (md_pseudo_table): Add relax command.
855 (s_m68hc11_relax): New function for relax group.
70658493 856 (build_insn, build_jump_insn): Emit a M68HC11_RL_JUMP reloc at
e371935f
SC
857 beginning of jump instruction.
858 (md_pcrel_from): Rename from md_pcrel_from_section and fix
859 address computation.
860 (tc-gen_reloc): Update.
70658493 861 (md_estimate_size_before_relax): Create the BFD_RELOC_16_PCREL as
e371935f
SC
862 PC-relative fixup.
863 (tc_m68hc11_force_relocation): New function, handle new relocs.
864 (tc_m68hc11_fix_adjustable): New to make sure there are enough
865 reloc for the linker relax pass.
866 (md_apply_fix3): Handle M68HC11_RL_JUMP, M68HC11_RL_GROUP
867 and VTABLE relocs.
868
eb086b59
SC
8692002-08-13 Stephane Carrez <stcarrez@nerim.fr>
870
871 * config/tc-m68hc11.c (m68hc11_elf_final_processing): New function.
872 (md_pseudo_table): Add .mode, .far and .interrupt pseudo op.
873 (s_m68hc11_mode): New function for .mode pseudo op.
874 (s_m68hc11_mark_symbol): New function for .far and .interrupt
875 pseudo op.
876 * config/tc-m68hc11.h (elf_tc_final_processing): Define.
877 (m68hc11_elf_final_processing): Declare.
878
7bfda7eb
SC
8792002-08-13 Stephane Carrez <stcarrez@nerim.fr>
880
881 * config/tc-m68hc11.c (md_begin): Take into account additional
882 page operand for call instruction.
883 (print_opcode_format): Likewise.
884 (check_range): Likewise for page range checking.
885 (get_operand): Don't skip a possible comma in operands.
886 (fixup8): Generate BFD_RELOC_M68HC11_PAGE reloc.
887 (fixup16): Likwise with BFD_RELOC_M68HC11_LO16.
888 (fixup24): New to handle call reloc.
889 (build_insn): Handle missing page operand for call instruction.
890 (find): Likewise.
891 (md_apply_fix3): Take into account new relocs.
892 (get_operand): Fix the mode for indexed indirect addressing.
893 (build_indexed_byte): Fix post index byte for indexed indirect mode.
894
fdb987ee
RS
8952002-08-12 Richard Sandiford <rsandifo@redhat.com>
896
897 * config/tc-mips.c (mips_ip): Don't work out the value of
898 constant %hi()s here.
899
31312f95
AM
9002002-08-10 Alan Modra <amodra@bigpond.net.au>
901
902 * config/tc-i386.c (tc_i386_fix_adjustable): Test OUTPUT_FLAVOR
903 for ELF, and don't bother checking ELF relocs when non-ELF.
904 (i386_immediate): Allow absolute_section expressions for aout.
905 (i386_displacement): Likewise. Also test bfd_is_com_section.
906 (md_estimate_size_before_relax): Test OUTPUT_FLAVOR for ELF.
907 (md_apply_fix3): Hack for bfd_install_relocation when fx_pcrel,
908 not when fx_addsy. Remove dead code.
909
59bc061d
NC
9102002-08-09 Graeme Peterson <gp@qnx.com>
911
912 * configure.in: Add support for ppc-*-nto* target.
913 * configure: Regenerate.
70658493 914
6088b00e
AM
9152002-08-09 Alan Modra <amodra@bigpond.net.au>
916
917 * config/tc-i386.h: Reorganize.
918
0c11417f
MR
9192002-08-09 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
920
921 * config/tc-mips.c (macro): Handle a register plus a 16-bit
922 immediate offset in "dla" and "la" expansions.
923
79500683
AM
9242002-08-09 Alan Modra <amodra@bigpond.net.au>
925
926 * configure.in: bfd_gas=yes for all i386 targets. Formatting.
927 Remove "bfd_gas=yes" from target table when covered later.
928 Consolidate some entries.
929 * configure: Regenerate
930
2bbd9c25
JJ
9312002-08-09 Jakub Jelinek <jakub@redhat.com>
932
933 * config/tc-i386.c (output_insn): Save frag_now and frag_now_fix ()
934 at start of insn, pass it to output_disp and output_imm.
935 (output_disp): Added arguments. If _GLOBAL_OFFSET_TABLE_ is seen
936 in displacement for R_386_32 reloc, use R_386_GOTPC and compute
937 properly addend.
938 (output_imm): Added arguments. Compute properly addend for
939 R_386_GOTPC.
940 (md_apply_fix3): Remove R_386_GOTPC handling.
941 * testsuite/gas/i386/gotpc.s: New.
942 * testsuite/gas/i386/gotpc.d: New.
943 * testsuite/gas/i386/i386.exp: Add gotpc test.
944
dbac4f5b
RH
9452002-08-06 George France <france@handhelds.org>
946
947 * config/tc-alpha.c (cpu_types): Enabled ev67, ev68, -m21264a
948 and m21264b processor names and cpu types.
949 * doc/c-alpha.texi: Documented new types.
950
95210096
AM
9512002-08-06 Alan Modra <amodra@bigpond.net.au>
952
953 * config/tc-ppc.c (md_apply_fix3): Adjust 16 bit XCOFF reloc offset.
954
98605598
RS
9552002-08-01 Richard Sandiford <rsandifo@redhat.com>
956
957 * config/tc-mips.c (tc_gen_reloc): Extend GP-relative addend
958 handling to BFD_RELOC_MIPS16_GPREL.
959
08df2379
NC
9602002-08-01 Nick Clifton <nickc@redhat.com>
961
962 * config/tc-arm.c (add_to_lit_pool): Ensure that offset to literal
963 pool is computed using signed arithmetic so that proper sign
964 extension is performed if X_add_number is a 64-bit integer.
965
70ee4658
DJ
9662002-08-01 H.J. Lu <hjl@gnu.org>
967 Daniel Jacobowitz <drow@mvista.com>
968
969 * dwarf2dbg.c (dwarf2_finish): Don't emit unreferenced
970 .debug_line section unless it has line information.
971
4eb6b71c
NC
9722002-07-31 Ian Dall <ian@sibyl.beware.dropbear.id.au>
973
974 * config/tc-ns32k.h (md_pcrel_adjust): Supply prototype.
975 * config/tc-ns32k.c (convert_iif, md_parse_option, md_show_usage):
976 Allow default displacement size to be an option "--disp-size-default".
977 (md_number_to_disp): Make error messages include value. Use %d to
978 print integers, not %s.
979 (fix_new_ns32k): Conditionally set fx_no_overflow so we don't
980 get duplicate messages sometimes.
981 (convert_iif): Grow frag to max possible instruction size. Avoid
982 creating unnecessary fixes.
983 (md_number_to_field) Add prototype.
984 (encode_operand, parse, convert_iif, md_fix_pcrel_adjust): Add
985 prototypes and make static.
986 (struct addr_mode): Make mode and scaled_mode explicitly signed.
987 (evaluate_expr): Use resultP argument instead of exprP global.
988 (get_addr_mode): Quiten compiler warnings.
989 (encode_operand): eliminate unused variables. Quiten compiler
990 warnings. Eliminate nul character in format strings.
991 (parse): argc is unsigned.
992 (reloc): Type cast index to quieten compiler.
993 (md_pcrel_adjust, md_apply_fix3): Remove unused variable.
994 (md_convert_frag): Note unused parameters. Remove unused
995 variables.
996 (md_create_long_jump, md_create_short_jump,
997 md_undefined_symbol_name, md_section_align, tc_gen_reloc): Note
998 unused parameters.
70658493 999
500800ca
NC
10002002-07-31 Nick Clifton <nickc@redhat.com>
1001
1002 * NEWS: Retroactively add entry for Lars Brinkhoff's contribution
1003 of the PDP-11 and 2.11BSD a.out support.
1004
03223580
NC
10052002-07-31 Momchil Velikov <velco@fadata.bg>
1006
1007 * config/tc-v850.c (md_assemble): Fix range check for immediate
1008 operand.
1009
c7a23324
CD
10102002-07-30 Chris Demetriou <cgd@broadcom.com>
1011
1012 * config/tc-mips.c (mips_cpu_info_table): Clean up entries related
1013 to Broadcom SB-1 core support.
1014
cfe86eaa
TS
10152002-07-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1016
1017 * config/tc-mips.c (mips_target_format): Fix formatting.
1018 Add recognition of n32 ABI formats.
1019
460597ba
MR
10202002-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1021
1022 * tc-mips.c (load_address): Don't clobber $at when loading a
1023 64-bit address in non-PIC code if noat is in effect.
1024 (macro): Likewise.
1025
9bd7d936
MR
10262002-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1027
1028 * config/tc-mips.c (macro): Use codes 6 and 7 in trap instructions
1029 used in division/multiply macro expansions similarly to how they
1030 are used in the variants with break instructions.
1031 (macro2): Likewise.
1032
7e392df6
NC
10332002-07-30 Graeme Peterson <gp@qnx.com>
1034
1035 * configure.in: Add support for arm-*-nto target.
1036 * configure: Regenerate.
70658493 1037
3d0c9500
NC
10382002-07-30 Nick Clifton <nickc@redhat.com>
1039
1040 * config/tc-arm.c (struct literal_pool): Add fields to allow
1041 multiple literal pools to be maintained.
1042 (find_literal_pool): New function.
1043 (find_or_make_literal_pool): New function.
1044 (add_to_literal_pool): Use find_or_make_literal_pool.
6088b00e 1045 (arm_s_text, arm_s_data, arm_s_section): Remove - no longer
3d0c9500
NC
1046 needed.
1047 (s_ltorg): Use find_literal_pool.
1048 (arm_cleanup): Dump all literal pools.
6088b00e 1049 * doc/c-arm.texi: Document new behaviour of only dumping literal
3d0c9500
NC
1050 pools upon request.
1051
dfff24c9
AM
10522002-07-26 Alan Modra <amodra@bigpond.net.au>
1053
1054 * config/tc-ppc.c (ppc_set_cpu): Use PPC_OPCODE_64 as the default
1055 rather than PPC_OPCODE_32 for powerpc64*.
1056
219576a4
NC
10572002-07-25 Nick Clifton <nickc@redhat.com>
1058
1059 * po/es.po: Updated Spanish translation.
1060 * po/fr.po: Updated French translation.
1061
316f5878
RS
10622002-07-25 Richard Sandiford <rsandifo@redhat.com>
1063
1064 * doc/c-mips.texi: Remove -mcpu. Document -mabi.
1065 * configure.in (MIPS_CPU_STRING_DEFAULT): New configuration macro.
1066 (USE_E_MIPS_ABI_O32, MIPS_DEFAULT_64BIT): New configuration macros.
1067 * configure, config.in: Regenerate.
1068 * config/tc-mips.c (file_mips_abi): Rename to mips_abi.
1069 (mips_set_options): Remove "abi" field.
1070 (mips_opts): Update accordingly. Replace all uses of mips_opts.abi
1071 with mips_abi.
1072 (mips_cpu): Remove.
1073 (mips_arch_string, mips_arch_info): New vars.
1074 (mips_tune_string, mips_tune_info): New vars.
1075 (ABI_NEEDS_32BIT_REGS, ABI_NEEDS_64BIT_REGS): New macros.
1076 (HAVE_32BIT_GPRS, HAVE_32BIT_FPRS): Don't check the ABI.
1077 (mips_isa_to_str, mips_cpu_to_str): Remove.
1078 (mips_ip): If the selected architecture is a generic ISA rather
1079 than a processor, only mention the ISA level in error messages.
1080 (OPTION_MCPU): Remove.
1081 (OPTION_FP64): New.
1082 (md_longopts): Add -mfp64, remove -mcpu.
1083 (mips_set_option_string): New fn.
1084 (md_parse_option): Make -mipsN update file_mips_isa rather than
1085 mips_opts.isa. Use mips_set_option_string to set -march or -mtune.
1086 Don't let -mgp32 and -mfp32 change the ABI.
1087 (show): Move to end of file. Constify string argument.
1088 (md_show_usage): Move to the end of the file. Read available
1089 architectures from mips_cpu_info_table.
1090 (mips_set_architecture): New fn.
1091 (mips_after_parse_args): Rework. Remove -mcpu handling. -mipsN
1092 is an alias for -march=mipsN. Don't change the ABI based on other
1093 flags. Infer the register size from the ABI as well as the
1094 architecture. Complain about more conflicting arguments.
1095 Unify logic with GCC.
1096 (s_mipsset): Don't change the ABI.
1097 (mips_elf_final_processing): Check USE_E_MIPS_ABI_O32.
1098 (mips_cpu_info_table): Remove Generic-MIPS* entries, keeping just
1099 "mipsN"-type entries. Remove entries that vary only in the
1100 manufacturer's prefix, or that have "000" replaced by "k".
1101 Remove TARGET_CPU entries. Make r2000 entry use CPU_R3000.
1102 (mips_strict_matching_cpu_name_p, mips_matching_cpu_name_p): New fns.
1103 (mips_parse_cpu): New fn.
1104 (mips_cpu_info_from_name, mips_cpu_info_from_cpu): Remove.
1105 (mips_cpu_info_from_isa): Minor formatting tweak.
1106
ff3063f5
NC
11072002-07-24 Nick Clifton <nickc@redhat.com>
1108
1109 * po/sv.po: Updated Swedish translation.
1110 * po/es.po: Updated Spanish translation.
1111
55eab186
AM
11122002-07-23 Alan Modra <amodra@bigpond.net.au>
1113
1114 * Makefile.am: Run "make dep-am".
1115 * Makefile.in: Regenerate.
1116 * doc/Makefile.in: Regenerate.
1117 * config.in: Regenerate.
1118 * po/POTFILES.in: Regenerate.
1119
0461a601
NC
11202002-07-23 Nick Clifton <nickc@redhat.com>
1121
ff3063f5 1122 * po/fr.po: Updated French translation.
0461a601 1123
ee8929cf
NC
11242002-07-23 Nick Clifton <nickc@redhat.com>
1125
1126 * CONTRIBUTORS: Ken Raeburn is no longer the maintainer for
1127 GAS.
1128
bad9ca53
TS
11292002-07-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1130
1131 * config/tc-mips.c (mips_need_elf_addend_fixup): Use S_IS_EXTERNAL
1132 instead of S_IS_EXTERN.
1133 (md_estimate_size_before_relax): Likewise.
1134 (mips_fix_adjustable): Likewise.
1135
a37de3d3
TS
11362002-07-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1137
1138 * config/tc-mips.c (mips_pic_level): Remove IRIX4_PIC.
1139
8dfa0188 11402002-07-19 Miroslav Tichy <tichm9am@ss1000.ms.mff.cuni.cz>
dfff24c9 1141 Nick Clifton <nickc@redhat.com>
8dfa0188
NC
1142
1143 * cond.c (s_ifdef): Treat a referenced but not yet defined
1144 symbol as if it were undefined, in exactly the same way as
1145 .equiv.
1146
dfff24c9
AM
1147 * doc/as.texinfo: Document that .ifdef, .ifndef and .equiv
1148 consider referenced bug not yet defined symbols to be
1149 undefined.
8dfa0188 1150
a40cbfa3
NC
11512002-07-18 Denis Chertykov <denisc@overta.ru>
1152 Frank Ch. Eigler <fche@redhat.com>
1153 Alan Lehotsky <alehotsky@cygnus.com>
1154 John Healy <jhealy@redhat.com>
1155 Jeff Johnston <jjohnstn@redhat.com>
1156
1157 * configure.in: Add ip2k configuraton.
1158 * configure: Regenerate.
1159 * Makefile.am: Add ip2k configuraton.
1160 * Makefile.in: Regenerate.
1161 * configure: Regenerate.
1162 * Makefile.in: Regenerate.
1163 * config/tc-ip2k.c: New file.
1164 * config/tc-ip2k.h: New files.
1165 * NEWS: Mention new support.
1166 * doc/Makefile.am (CPU_DOCS): Add c-ip2k.texi.
1167 * doc/Makefile.in: Regenerate.
1168 * doc/all.texi: Set IP2K
1169 * doc/as.texinfo: Add IP2K description.
1170 * doc/c-ip2k.texi: New file.
dfff24c9 1171
a40cbfa3
NC
11722002-07-19 Nick Clifton <nickc@cambridge.redhat.com>
1173
1174 * NEWS: Reformat to match style of other NEWS files.
dfff24c9 1175
a40cbfa3 11762002-07-17 Jan Hubicka <jh@suse.cz>
33fef721
JH
1177
1178 * tc-i386.c (i386_align_code): Implement x86_64 neutral code fillers.
1179
25d3fb58
AM
11802002-07-16 Moritz Jodeit <moritz@jodeit.org>
1181
1182 * config/tc-z8k.c (build_bytes): Correct order of memset args.
1183
2cbb2eef
NC
11842002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
1185
1186 * NEWS: Add 'Changes in 2.13'.
1187
da06c61e
AM
11882002-07-15 Matt Fredette <fredette@netbsd.org>
1189
1190 * config/tc-hppa.h (LABELS_WITHOUT_COLONS): Define if TE_NetBSD.
1191
9146926a
AM
11922002-07-12 Alan Modra <amodra@bigpond.net.au>
1193
1194 * config/tc-i386.c (process_suffix): Merge CODE_64BIT JumpByte
1195 case with non CODE_64BIT case. Don't warn on "qword ptr" if
1196 not CODE_64BIT.
1197
2b3c4602
AM
11982002-07-11 Alan Modra <amodra@bigpond.net.au>
1199
7e8d4ab4
AM
1200 * config/tc-ppc.c (ppc_elf_frob_symbol): Delete.
1201 (ppc_frob_file_before_adjust): New function.
1202 * config/tc-ppc.h (tc_frob_symbol): Don't define.
1203 (ppc_elf_frob_symbol): Don't declare.
1204 (tc_frob_file_before_adjust): Define.
1205 (ppc_frob_file_before_adjust): Declare.
1206
2b3c4602
AM
1207 * config/tc-ppc.c (md_pseudo_table): Warning fix.
1208 (ppc_cpu): Make it unsigned long to agree with struct powerpc_opcode
1209 flags.
1210 (ppc_size): Delete.
1211 (ppc_xcoff64): Rename to ppc_obj64.
1212 (md_parse_option <m>): Encode old ppc_size value in ppc_cpu.
1213 (ppc_set_cpu): Set PPC_OPCODE_32 too.
1214 (ppc_arch): Use ppc_obj64 instead of ppc_size to select bfd_mach_ppc64
1215 or bfd_mach_ppc.
1216 (ppc_target_format): Use ppc_obj64 to select format.
1217 (md_begin): Adjust for PPC_OPCODE_32/64 in ppc_cpu.
1218 (ppc_insert_operand): Use ppc_obj64 instead of ppc_size.
1219 (ppc_elf_suffix): Likewise. Don't depend on BFD_DEFAULT_TARGET_SIZE.
1220 (tc_frob_symbol): Likewise.
1221 (md_assemble): Use ppc_obj64 instead of ppc_size. Don't depend on
1222 BFD_DEFAULT_TARGET_SIZE.
1223 (ppc_tc): Likewise.
1224 (ppc_is_toc_sym): Likewise.
1225 (md_apply_fix3): Likewise.
1226 * config/tc-ppc.h (TC_FORCE_RELOCATION): Don't depend on
1227 BFD_DEFAULT_TARGET_SIZE.
1228 (ELF_TC_SPECIAL_SECTIONS): Likewise.
1229 (tc_frob_symbol): Likewise.
1230
aec421e0
TS
12312002-07-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1232
1233 * config/tc-mips.c (macro_build): Handle MIPS16 insns.
1234 (mips_ip): Likewise.
1235
c6682705
AM
12362002-07-09 Alan Modra <amodra@bigpond.net.au>
1237
1238 * config/tc-i386.c (md_pseudo_table <file>): Warning fix.
1239 (BFD_RELOC_8, BFD_RELOC_8_PCREL): Define for non-BFD.
1240 (md_apply_fix3): Formatting. Remove redundant test.
1241 (tc_gen_reloc): Remove redundant code.
1242 (tc_i386_force_relocation): Delete. Movy body of function to..
1243 * config/tc-i386.h (TC_FORCE_RELOCATION): .. here.
1244
03111e83
AM
12452002-07-09 Federico G. Schwindt <fgsch@olimpo.com.br>
1246
1247 * configure.in: Add hppa-*-openbsd* target, change
1248 alpha*-*-openbsd* format to elf, and use elf for sparc-*-openbsd*
1249 with sparc64 cpu.
1250 * configure: Regenerate.
1251
78d32a17
MR
12522002-07-08 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1253
1254 * config/tc-mips.c (macro): Shift the 32-bit address range
1255 accessible with a lone "lui" down by 32768.
1256
3a482fd5
MR
12572002-07-08 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1258
1259 * config/tc-mips.c (load_address): Use non-trapping "daddu"
1260 instead of "dadd" in address calculations.
1261 (macro): Likewise.
1262
cd61ebfe
AM
12632002-07-08 Alan Modra <amodra@bigpond.net.au>
1264
1265 * config/tc-i386.c (process_suffix): Remove intel mode movsx and
1266 movzx fudges.
1267 (md_assemble): Instead, zap the suffix here.
1268
a5d3c309
NC
12692002-07-03 Nick Clifton <nickc@cambridge.redhat.com>
1270
1271 * NEWS: Remove next release number until the release is actually
1272 upon us.
1273
ce4f7385
AM
12742002-07-03 Alan Modra <amodra@bigpond.net.au>
1275
1276 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
1277 Run "make dep-am".
1278 * Makefile.in: Regenerate.
1279
148b4c7a
MS
12802002-07-02 Martin Schwidefsky <schwidefsky@de.ibm.com>
1281
1282 * config/tc-s390.c (tc_s390_fix_adjustable): Prevent any adjustment
1283 to symbols in merge sections, even non pc-relative ones.
1284
2916066e
SC
12852002-06-29 Stephane Carrez <stcarrez@nerim.fr>
1286
1287 * config/tc-m68hc11.h (m68hc11_listing_header): Fix warning.
1288
96e87417
SC
12892002-06-29 Stephane Carrez <stcarrez@nerim.fr>
1290
1291 * config/tc-m68hc11.h (ELF_TC_SPECIAL_SECTIONS): New sections
1292 .softregs and .eeprom.
1293
83518699
DB
12942002-06-28 David O'Brien <obrien@FreeBSD.org>
1295
1296 * NEWS: Note the next release is 2.13.
1297
6c6783ff
NC
12982002-06-26 Nick Clifton <nickc@cambridge.redhat.com>
1299
1300 * po/tr.po: New translation imported.
1301
a2c36061
AM
13022002-06-26 Elias Athanasopoulos <eathan@otenet.gr>
1303
1304 * ecoff.c: (get_tag): Replace strcpy with xstrdup.
1305 (ecoff_directive_def): Likewise.
1306 (ecoff_directive_tag): Likewise.
1307 * listing.c (file_info): Likewise.
1308 * hash.c (what): Likewise.
1309
a13a0de8
L
13102002-06-25 H.J. Lu <hjl@gnu.org>
1311
1312 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
1313 * Makefile.in: Regenerated.
1314
6c6783ff 13152002-06-19 Dhananjay R. Deshpande <dhananjayd@kpit.com>
5db33d76
JR
1316
1317 * config/tc-sh.c (get_specific): Revert 2002-05-01 change.
1318 (assemble_ppi): Generate warning if the same register is used
1319 twice as destination in the same padd / pmuls instruction.
1320
0ebb9a87
DB
13212002-06-18 Dave Brolley <brolley@redhat.com>
1322
a2c36061 1323 From Catherine Moore, Michael Meissner, Richard Sandiford, Dave Brolley
0ebb9a87
DB
1324 * po/POTFILES.in: Add tc-frv.c, tc-frv.h.
1325 * configure.in: Support frv-*-*.
1326 * Makefile.am (CPU_TYPES): Add frv.
1327 (TARGET_CPU_CFILES): Add tc-frv.c.
1328 (TARGET_CPU_HFILES): Add tc-frv.h.
1329 (DEPTC_frv_coff): New variable.
1330 (DEPTC_frv_elf): New variable.
1331 (DEPOBJ_frv_coff): New variable.
1332 (DEPOBJ_frv_elf): New variable.
1333 (DEP_frv_coff): New variable.
1334 (DEP_frv_elf): New variable.
1335 * tc-frv.c: New file.
1336 * tc-frv.h: New file.
1337
2a24298d
CM
13382002-06-17 Catherine Moore <clm@redhat.com>
1339
a2c36061 1340 * config/obj-elf.h (TARGET_SYMBOL_FIELDS): Conditionally define.
2a24298d 1341
6c6783ff 13422002-06-17 J"orn Rennecke <joern.rennecke@superh.com>
96f31fc7
JR
1343
1344 * config/tc-sh.c (assemble_ppi): Initialize reg_n.
1345
184e65b1
TR
13462002-06-17 Tom Rix <trix@redhat.com>
1347
1348 * config/tc-i370.h (tc_comment_chars): Define for i370-elf.
1349
ecb4347a
DJ
13502002-06-14 H.J. Lu <hjl@gnu.org>
1351 Daniel Jacobowitz <drow@mvista.com>
1352
1353 * dwarf2dbg.h (dwarf2_directive_file): Return char *.
1354 * dwarf2dbg.c (dwarf2_directive_file): Return filename.
1355 * config/tc-mips.c (s_mips_file): Call s_app_file_string
1356 and new_logical_line for the first .file directive.
1357 * read.c (s_app_file_string): New function.
1358 (s_app_file): Call it.
1359 * read.h (s_app_file_string): Add declaration.
1360
13612002-06-14 Daniel Jacobowitz <drow@mvista.com>
1362
1363 * configure.in: Remove MIPS_STABS_ELF.
1364 * configure: Regenerated.
1365 * config.in: Regenerated.
1366 * config/obj-elf.h (ECOFF_DEBUGGING): Define to mips_flag_mdebug
1367 for MIPS targets.
1368 * config/tc-mips.c (mips_pseudo_table): Remove #ifdef around
1369 ".extern".
1370 (pdr_seg): Declare unconditionally.
1371 (md_begin): Always generate .pdr unless ECOFF_DEBUGGING or not ELF.
1372 (s_mips_end): Likewise. Generate stabs function markers.
1373 (s_mips_ent): Generate stabs function markers.
1374 (s_mips_frame): Always generate .pdr unless ECOFF_DEBUGGING or not
1375 ELF.
1376 (s_mips_mask): Likewise.
1377 (mips_flag_mdebug): New.
1378 (md_longopts): Add "mdebug" and "no-mdebug".
1379 (md_parse_options): Add OPTION_MDEBUG and OPTION_NO_MDEBUG.
1380 (mips_after_parse_args): Set mips_flag_mdebug.
1381 * doc/as.texinfo: Add "-mdebug" and "-no-mdebug" for MIPS.
1382
d6e9d61a
MR
13832002-06-13 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1384
1385 * config/tc-mips.c (md_apply_fix3): Don't subtract the symbol's
1386 value twice for RELA relocations.
1387
03e83a45
BE
13882002-06-12 Ben Elliston <bje@redhat.com>
1389
1390 * symbols.c (resolve_symbol_value): Initialise final_val.
1391
1392 * subsegs.c (subsegs_print_statistics): Cast frchp to void *.
1393
b4f96c78
TR
13942002-06-11 Tom Rix <trix@redhat.com>
1395
1396 * config/tc-ppc.c (ppc_subseg_align): Delete.
1397 (ppc_change_csect): Default csect align is 2.
a2c36061 1398 * config/tc-ppc.h (SUB_SEGMENT_ALIGN): Delete
b4f96c78 1399
8a6def3b
MM
14002002-06-09 Marek Michalkiewicz <marekm@amelek.gda.pl>
1401
1402 * config/tc-avr.c (mcu_types): Update.
1403
7542c0f2
JT
14042002-06-08 Matt Thomas <matt@3am-software.com>
1405
1406 * configure.in (vax-*-netbsdelf*, vax-*-netbsdaout*)
1407 (vax-*-netbsd*): New targets.
1408 * configure: Regenerate.
a2c36061 1409 * config/aout_gnu.h (enum machine_type): Add M_VAX4K_NETBSD.
7542c0f2 1410 * config/tc-vax.c: Add support for ELF and PIC.
a2c36061 1411 (flag_want_pic): New flag.
7542c0f2
JT
1412 (float_cons): Fix prototype.
1413 (md_apply_fix3): Adjust for BFD_ASSEMBLER.
1414 (md_assemble): Introduce a new is_absolute local, and use it
1415 rather than repeating the test. Make fatal errors actually
a2c36061 1416 fatal by using as_fatal as appropriate. Adjust for BFD_ASSEMBLER.
7542c0f2 1417 Add support for ELF. Add support for PIC.
a2c36061 1418 (md_convert_frag): Adjust for BFD_ASSEMBLER.
7542c0f2
JT
1419 (tc_aout_fix_to_chars): Only include if OBJ_AOUT and not
1420 BFD_ASSEMBLER.
a2c36061 1421 (vax_reg_parse): Make the % register prefix mandatory for ELF,
7542c0f2
JT
1422 optional for a.out, and not allowed for VMS. Adjust all callers.
1423 (md_create_short_jump): Add ATTRIBUTE_UNUSED to unused arguments.
a2c36061 1424 (md_create_long_jump): Likewise.
7542c0f2
JT
1425 (md_undefined_symbol): Likewise.
1426 (md_section_align): Likewise.
1427 (md_shortopts): Allow -k and -K for ELF.
1428 (md_parse_option): Set flag_want_pic if -k or -K.
1429 (tc_headers_hook): New function if OBJ_AOUT and not BFD_ASSEMBLER.
1430 (tc_gen_reloc): New function if BFD_ASSEMBLER.
1431 * config/tc-vax.h (tc_headers_hook): Remove.
1432 (TARGET_FORMAT): Set according to object format and target
1433 environment.
1434 (BFD_ARCH, TARGET_ARCH): Define.
1435 (NO_RELOC): Adjust for BFD_ASSEMBLER.
1436 (TC_RELOC_RTSYM_LOC_FIXUP, TC_FIX_ADJUSTABLE)
1437 (tc_fix_adjustable): Define if BFD_ASSEMBLER.
1438 * config/vax-inst.h (VAX_JSB, VAX_CALLS, VAX_CALLG): Define.
1439
5a38dc70
AM
14402002-06-08 Alan Modra <amodra@bigpond.net.au>
1441
e90b95f6
AM
1442 * Makefile.am: Run "make dep-am".
1443 * Makefile.in: Regenerate.
1444
5a38dc70
AM
1445 * as.c: Replace CONST with const.
1446 * write.c: Likewise.
1447 * config/obj-coff.c: Likewise.
1448 * config/tc-a29k.c: Likewise.
1449 * config/tc-arm.c: Likewise.
1450 * config/tc-dlx.c: Likewise.
1451 * config/tc-h8300.c: Likewise.
1452 * config/tc-h8500.c: Likewise.
1453 * config/tc-i370.c: Likewise.
1454 * config/tc-i860.c: Likewise.
1455 * config/tc-i960.c: Likewise.
1456 * config/tc-m68hc11.c: Likewise.
1457 * config/tc-m68k.c: Likewise.
1458 * config/tc-m88k.c: Likewise.
1459 * config/tc-mcore.c: Likewise.
1460 * config/tc-mips.c: Likewise.
1461 * config/tc-ns32k.c: Likewise.
1462 * config/tc-pdp11.c: Likewise.
1463 * config/tc-pj.c: Likewise.
1464 * config/tc-s390.c: Likewise.
1465 * config/tc-sh.c: Likewise.
1466 * config/tc-sparc.c: Likewise.
1467 * config/tc-tahoe.c: Likewise.
1468 * config/tc-tic80.c: Likewise.
1469 * config/tc-v850.c: Likewise.
1470 * config/tc-vax.c: Likewise.
1471 * config/tc-w65.c: Likewise.
1472 * config/tc-z8k.c: Likewise.
1473
c5dd6aab
DJ
14742002-06-08 Daniel Jacobowitz <drow@mvista.com>
1475
1476 Based on patch from Matt Green:
1477 * config/obj-elf.h (ECOFF_DEBUGGING): Make configurable.
a2c36061 1478 * config/tc-mips.c (s_mips_file): Renamed from s_file.
c5dd6aab
DJ
1479 (s_mips_loc): New function.
1480 (mips_nonecoff_pseudo_table): Call them.
a2c36061 1481 (append_insn): Call dwarf2_emit_insn.
c5dd6aab 1482
a4672219
TS
14832002-06-08 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1484
1485 * config/tc-mips.c (mips_opts): Fix comment, all ASE fields are set
1486 to -1.
1487 (file_ase_mips16): New veriable.
1488 (mips_eabi64): Remove.
1489 (CPU_HAS_MIPS16): New define.
1490 (CPU_HAS_MDMX): Fix data type.
1491 (md_begin): Code cleanup. Use file_ase_mips16.
1492 (mips_elf_final_processing): Handle mips16 header flag.
1493 Handle EABI flag without intermediate variable.
1494
437ee9d5
TS
14952002-06-08 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1496
1497 * doc/as.texinfo: Update MIPS documentation.
1498
85b51719
TS
14992002-06-08 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1500
1501 * config/tc-mips.c: Add define for $zero register.
1502 (md_begin): Add $zero as alias name for $0.
1503 (insn_uses_reg): Use ZERO define.
1504 (mips_ip): Add $zero as alias name for $0.
1505 (mips16_ip): Likewise.
1506 (s_cplocal): Demand empty rest of input line.
1507 (tc_get_register): Likewise. Add support for $kt0, kt1 register
1508 names. Use ZERO define. Fix input_line_pointer progress.
1509
9758f3fc
AM
15102002-06-07 Alan Modra <amodra@bigpond.net.au>
1511
1512 * symbols.c: Replace CONST by const throughout.
1513 (symbol_find_exact): Split out from..
1514 (symbol_find_base): ..here.
1515 * symbols.h: Replace CONST by const throughout.
1516 (symbol_find_exact): Declare.
1517 * config/obj-elf.c: #include "struc-symbol.h".
1518 (elf_frob_file): If group name matches an exported symbol, use that
1519 symbol for the signature and ".group" as the section name.
1520
6c6783ff 15212002-06-06 J"orn Rennecke <joern.rennecke@superh.com>
9691d64f
JR
1522
1523 * config/tc-sh.c (parse_at): @(symbol,pc) is A_DISP_PC again,
1524 but warn about it.
1525 * testsuite/gas/sh/pcrel.s: Also test @(symbol,pc).
1526 * testsuite/gas/sh/pcrel.d: Update.
1527 * testsuite/gas/sh/pcrel.l: New file.
1528
ffdefa66
DJ
15292002-06-06 Daniel Jacobowitz <drow@mvista.com>
1530
1531 * tc-mips.c (mips_after_parse_args): Always set mips_opts.ase_mips3d
1532 and mips_opts.ase_mdmx if they are uninitialized.
1533
ec8b3afd
JL
15342002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
1535
1536 * gas/config/tc-hppa.c (pa_ip): Replace "L$0\001" with FAKE_LABEL_NAME.
1537 (hppa_force_relocation): Check if a stub just before the start symbol
1538 of the last call_info is reachable before forcing relocation. Fix
1539 typo.
1540
e9670677
MR
15412002-06-04 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1542
1543 * config/tc-mips.c (mips_after_parse_args): New function.
1544 (md_begin): Move processing of defaults to mips_after_parse_args.
1545 config/tc-mips.h (md_after_parse_args): Define.
1546
5b0e55b6
JT
15472002-06-04 Jason Thorpe <thorpej@wasabisystems.com>
1548
1549 * configure.in (sh5*): Set cpu_type to sh64 and endian to big.
1550 (sh5le*, sh64le*): Set cpu_type to sh64 and endian to little.
1551 (sh5*-*-netbsd*, sh64*-*-netbsd*): New targets.
1552 * configure: Regenerate.
1553 * config/tc-sh64.c (sh64_target_format): Add support for NetBSD
1554 environment.
1555
a074e149
JT
15562002-06-04 Jason Thorpe <thorpej@wasabisystems.com>
1557
1558 * config/tc-sh64.h (MD_PCREL_FROM_SECTION): Undef before redefining.
1559
d2dab548
AM
15602002-06-04 Alan Modra <amodra@bigpond.net.au>
1561
1562 * config/obj-elf.c (obj_elf_change_section): Set and check elf
1563 linkonce flag. Print all warnings.
1564 (obj_elf_section): Parse ",comdat" for groups.
1565 (elf_frob_file): Set SEC_LINK_ONCE on COMDAT groups. Check
1566 consistency of comdat flag.
1567
20e130e9
RH
15682002-06-02 Richard Henderson <rth@redhat.com>
1569
1570 * config/tc-alpha.c (alpha_adjust_symtab_relocs): Fix thinko
1571 with LITERALs without sequence numbers.
1572
9e756d64
RH
15732002-06-01 Richard Henderson <rth@redhat.com>
1574
1575 * config/tc-alpha.c: Move LITUSE constants to "elf/alpha.h".
1576 Rename them LITUSE_ALPHA_*.
1577
3048287a
NC
15782002-05-31 Shrinivas Atre <ShrinivasA@kpit.com>
1579
1580 * config/tc-h8300.c (get_operand): Allow stm.l and ldm.l insns to
1581 accept parentheses enclosed register lists.
1582
194b5210
AM
15832002-05-31 Alan Modra <amodra@bigpond.net.au>
1584
1585 * Makefile.am: Run "make dep-am".
1586 * Makefile.in: Regenerate.
1587 * po/POTFILES.in: Regenerate.
1588
34e97952
AM
15892002-05-31 Graeme Peterson <gp@qnx.com>
1590
1591 * configure.in: Add i386-*-nto-qnx*.
1592 * configure: Regenerate.
1593
793b27f4
TS
15942002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1595
1596 * config/tc-mips.c (mips_ip): Use unsigned long values for
1597 warning output.
1598
80245285
TS
15992002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1600
1601 * config/tc-mips.c (s_cpsetup): Fix initialization of
1602 mips_cpreturn_register and mips_cpreturn_offset.
1603
698b7d9d
TS
16042002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1605
1606 * config/tc-mips.c (s_cpsetup): Fix comment.
1607
76db943d
TS
16082002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1609
1610 * config/tc-mips.c (md_begin): Add $ra as alias name for $31.
1611 (mips_ip): Likewise.
1612 (mips16_ip): Likewise.
1613 (tc_get_register): Likewise.
1614
deec1734 16152002-05-30 Chris G. Demetriou <cgd@broadcom.com>
a2c36061 1616 Ed Satterthwaite <ehs@broadcom.com>
deec1734
CD
1617
1618 * config/tc-mips.c (mips_set_options): New "ase_mdmx" member.
1619 (mips_opts): Initialize "ase_mdmx" member.
1620 (file_ase_mdmx): New variable.
1621 (CPU_HAS_MDMX): New macro.
1622 (md_begin): Initialize mips_opts.ase_mdmx and file_ase_mdmx
1623 based on command line options and configuration defaults.
1624 (macro_build): Note in comment that use of MDMX in macros is
1625 not currently allowed.
1626 (validate_mips_insn): Add support for the "O", "Q", "X", "Y", and
1627 "Z" MDMX operand types.
1628 (mips_ip): Accept MDMX instructions if mips_opts.ase_mdmx is set,
1629 and add support for the "O", "Q", "X", "Y", and "Z" MDMX operand
1630 types.
1631 (OPTION_MDMX, OPTION_NO_MDMX, md_longopts, md_parse_option):
1632 Add support for "-mdmx" and "-no-mdmx" options.
1633 (OPTION_ELF_BASE): Move to accomodate new options.
1634 (s_mipsset): Support ".set mdmx" and ".set nomdmx".
1635 (mips_elf_final_processing): Set MDMX ASE ELF header flag if
1636 file_ase_mdmx was set.
1637 * doc/as.texinfo: Document -mdmx and -no-mdmx options.
1638 * doc/c-mips.texi: Likewise, and document ".set mdmx" and ".set
1639 nomdmx" directives.
1640
9ee72ff1
TS
16412002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1642
1643 * config/tc-mips.c (OPTION_NO_M7000_HILO_FIX): Rename to
1644 OPTION_MNO_7000_HILO_FIX. Add alternate "mno-fix7000"
1645 command line switch conforming to gcc conventions.
1646 * doc/c-mips.texi: Document -mno-fix7000 instead of no-mfix-7000.
1647
438c16b8
TS
16482002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1649
1650 * config/tc-mips.c (macro_build_jalr): New Function.
1651 (md_begin): NewABI uses big GOTs.
1652 (macro_build): Recognize BFD_RELOC_MIPS_GOT_DISP,
1653 BFD_RELOC_MIPS_GOT_PAGE, BFD_RELOC_MIPS_GOT_OFST as valid.
1654 (load_address): Add some NewABI PIC support.
1655 (macro): Likewise.
1656 (md_apply_fix): Special handling for BFD_RELOC_MIPS_JALR.
1657 (tc_gen_reloc): Don't encode NewABI vtables in REL relocations.
1658
f7ea7ef2
TS
16592002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1660
1661 * config/tc-mips.c (load_address): Use mips_gp_register instead
1662 of hardcoded value. Remove dbl parameter, use HAVE_32BIT_ADDRESSES
1663 instead.
1664 (macro): Use mips_gp_register instead of hardcoded value.
1665
3765b1be
RH
16662002-05-30 Richard Henderson <rth@redhat.com>
1667
1668 * expr.h (operatorT): Add O_md17..O_md32.
1669 * config/tc-alpha.c (O_lituse_tlsgd, O_lituse_tlsldm, O_tlsgd,
1670 O_tlsldm, O_gotdtprel, O_dtprelhi, O_dtprello, O_dtprel, O_gottprel,
1671 O_tprelhi, O_tprello, O_tprel): New.
1672 (USER_RELOC_P, alpha_reloc_op_tag, debug_exp): Include them.
1673 (DUMMY_RELOC_LITUSE_TLSGD, DUMMY_RELOC_LITUSE_TLSLDM): New.
1674 (LITUSE_TLSGD, LITUSE_TLSLDM): New.
1675 (struct alpha_reloc_tag): Add master, saw_tlsgd, saw_tlsld,
1676 saw_lu_tlsgd, saw_lu_tlsldm. Make multi_section_p a bit field.
1677 (md_apply_fix3): Handle TLS relocations.
1678 (alpha_force_relocation, alpha_fix_adjustable): Likewise.
1679 (alpha_adjust_symtab_relocs): Sort LITERAL relocs after the
1680 associated TLS reloc. Check lituse_tls relocs match up.
1681 (emit_insn): Handle TLS relocations.
1682 (ldX_op): Remove.
1683
1c5cec28
RH
1684 * doc/c-alpha.texi: Add docs for tls relocations.
1685
def2e0dd
TS
16862002-05-30 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1687
1688 * config/tc-mips.c (mips_gprel_offset): New variable.
1689 (s_gpvalue): Use it.
1690
8ade06a8
TR
16912002-05-30 Diego Novillo <dnovillo@redhat.com>
1692
a2c36061
AM
1693 * gas/config/tc-d10v.c (check_resource_conflict): Only check
1694 write-write conflicts.
1695 (md_assemble): Reformat introductory comment.
1696 (parallel_ok): Prevent packing only if the first
1697 instruction cannot be packed.
8ade06a8
TR
1698
16992002-05-30 Jason Eckhardt <jle@redhat.com>
1700 Tom Rix <trix@redhat.com>
1701
1702 * config/tc-d10v.c (build_insn): Check for immediates.
1703
c9914766
TS
17042002-05-28 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1705
1706 * config/tc-mips.c: Replace GP in comments by $gp.
1707 (mips_big_got): Initialize.
1708 (mips_trap): Initialize.
1709 (load_address): Use mips_gp_register instead of hardcoded value.
1710 Remove dbl parameter, use HAVE_32BIT_ADDRESSES instead.
1711 (macro): Use mips_gp_register instead of hardcoded value.
1712 (macro2): Change load_address calls.
1713 (md_pcrel_from): Comment formatting.
1714 (s_cpload): Use mips_gp_register instead of hardcoded value.
1715 (s_cprestore): Likewise. Comment formatting.
1716 (s_gpword): Fix data type.
1717 (s_cpadd): Use mips_gp_register instead of hardcoded value.
1718 (nopic_need_relax): Replace GP in comments by $gp.
1719 (mips_elf_final_processing): Better comment.
1720
d172d4ba
NC
17212002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
1722
1723 * configure.in: Add DLX configuraton
1724 * Makefile.am: Add DLX configuraton
1725 * configure: Regenerate.
1726 * Makefile.in: Regenerate.
1727 * config/tc-dlx.c: New file.
1728 * config/tc-dlx.h: New files.
52216602 1729 * NEWS: Mention new support.
d172d4ba 1730
e9732b6d
NC
17312002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
1732
1733 * config/obj-coff.c (write_object_file): Add missing semicolon.
1734
f9419b05
TS
17352002-05-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1736
1737 * config/tc-mips.c (mips_emit_delays): Replace magic constant for RA
1738 by the define. Remove superfluous check of mips_opts.mips16.
1739 (append_insn): Likewise. Canonicalize variable increments.
1740 (macro_build): Canonicalize variable increments.
1741 (macro_build_lui): Likewise.
1742 (load_register): Likewise.
1743 (load_address): Move pointer initialization.
1744 (macro): Move pointer to a more local scope. Canonicalize variable
1745 increments. Better comments. Replace magic constant for RA by the
1746 define.
1747 (macro2): Replace magic constant for RA by the define. Canonicalize
1748 variable increments.
1749 (mips_ip): Canonicalize variable increments.
1750 (mips16_ip): Replace magic constant for RA by the define.
1751 (my_getSmallParser): Canonicalize variable increments/decrements.
1752 (my_getPercentOp): Likewise.
1753 (my_getSmallExpression): Likewise.
1754 (s_align): Likewise.
1755 (s_mipsset): Likewise.
1756 (s_cpsetup): Likewise.
1757 (s_insn): Remove superfluous check of mips_opts.mips16.
1758 (s_mips_stab): Likewise.
1759 (mips_handle_align): Canonicalize variable increments.
1760 (s_mips_ent): Likewise.
1761 (s_mips_end): Add comment.
1762
aa501e5c
JT
17632002-05-26 Jason Thorpe <thorpej@wasabisystems.com>
1764
1765 * configure.in: Use ns32k-*-netbsd* instead of ns32k-pc532-netbsd*.
1766 * configure: Regenerate.
1767
29589b0c
AM
17682002-05-25 Alan Modra <amodra@bigpond.net.au>
1769
1770 * Makefile.am (OBJS): Depend on ansidecl.h and fopen-same.h.
1771 * Makefile.in: Regenerate.
1772 * dep-in.sed: Reorder to match OBJS in Makefile.am.
1773 * configure.in (ALL_OBJ_DEPS): Add symcat.h when need_bfd.
1774 * configure: Regenerate.
1775 * as.h: Use #include "" instead of <> for local header files.
1776 * flonum-konst.c: Likewise.
1777 * flonum-mult.c: Likewise.
1778 * gasp.c: Likewise.
1779 * listing.c: Likewise.
1780 * config/tc-ia64.h: Likewise.
1781 * config/tc-v850.h: Likewise.
1782
436e8db0
NC
17832002-05-24 TAMURA Kent <kent@netbsd.org>
1784
1785 * configure.in: Add a target for i386-netbsdpe.
1786 * configure: Regenerate.
1787
13ae64f3
JJ
17882002-05-23 Jakub Jelinek <jakub@redhat.com>
1789
1790 * config/obj-elf.c (elf_common): Renamed from obj_elf_common.
1791 (obj_elf_common): Call elf_common.
1792 (obj_elf_tls_common): New function.
1793 (elf_pseudo_tab): Support .tls_common.
1794 (special_sections): Add .tdata and .tbss.
1795 (obj_elf_change_section): Set SEC_THREAD_LOCAL for SHF_TLS
1796 sections.
1797 (obj_elf_parse_section_letters): Support T in section flags (SHF_TLS).
1798 (obj_elf_parse_section_letters): Include T in error message.
1799 * config/tc-ppc.c (ppc_section_letter): Likewise.
1800 * config/tc-alpha.c (alpha_elf_section_letter): Likewise.
1801 (tc_gen_reloc): Handle SEC_THREAD_LOCAL the same way as
1802 SEC_MERGE.
1803 * config/tc-sparc.c (md_apply_fix3): Likewise.
1804 * config/tc-i386.c (tc_i386_fix_adjustable): Add TLS relocs.
1805 Define them if not BFD_ASSEMBLER.
1806 (lex_got): Support @TLSGD, @TLSLDM, @GOTTPOFF, @TPOFF, @DTPOFF
1807 and @NTPOFF.
1808 (md_apply_fix3): Add TLS relocs.
1809 * config/tc-ia64.c (enum reloc_func): Add FUNC_DTP_MODULE,
1810 FUNC_DTP_RELATIVE, FUNC_TP_RELATIVE, FUNC_LT_DTP_MODULE,
1811 FUNC_LT_DTP_RELATIVE, FUNC_LT_TP_RELATIVE.
1812 (pseudo_func): Support @dtpmod(), @dtprel() and @tprel().
1813 (ia64_elf_section_letter): Include T in error message.
1814 (md_begin): Support TLS operators.
1815 (md_operand): Likewise.
1816 (ia64_gen_real_reloc_type): Support TLS relocs.
1817 * testsuite/gas/i386/tlspic.s: New file.
1818 * testsuite/gas/i386/tlsd.s: New file.
1819 * testsuite/gas/i386/tlsnopic.s: New file.
1820 * testsuite/gas/i386/tlsd.d: New file.
1821 * testsuite/gas/i386/tlsnopic.d: New file.
1822 * testsuite/gas/i386/tlspic.d: New file.
1823 * testsuite/gas/i386/i386.exp: Add tlsd, tlsnopic and tlspic tests.
1824 * testsuite/gas/ia64/tls.s: New file.
1825 * testsuite/gas/ia64/tls.d: New file.
1826 * testsuite/gas/ia64/ia64.exp: Add tls test.
1827 * write.c (adjust_reloc_syms): Don't change symbols in
1828 SEC_THREAD_LOCAL sections to STT_SECTION + addend.
1829
c62e1cc3
NC
18302002-05-23 Nick Clifton <nickc@cambridge.redhat.com>
1831
1832 * config/tc-arm.c (md_apply_fix3): For the Thumb BLX reloc
1833 round the relocation up rather than down.
1834
6ff96af6
NC
18352002-05-23 Nick Clifton <nickc@cambridge.redhat.com>
1836
1837 * config/obj-coff.c (obj_coff_section): Silently ignore an 'a'
1838 flag.
a2c36061 1839 * doc/as.texinfo: Document that the COFF version of .section
6ff96af6
NC
1840 ignores the 'a' flag.
1841
18e1d487
AM
18422002-05-23 Alan Modra <amodra@bigpond.net.au>
1843
69108c1f
AM
1844 * config/tc-alpha.c (assemble_tokens): Protect use of
1845 ALPHA_RELOC_TABLE with #ifdef RELOC_OP_P.
1846
18e1d487
AM
1847 * write.c (size_seg): Check adjustment to last frag.
1848 (SUB_SEGMENT_ALIGN): If HANDLE_ALIGN defined, pad out last frag to
1849 section alignment.
1850 * config/obj-coff.c (SUB_SEGMENT_ALIGN): Likewise.
1851 * config/obj-ieee.c (SUB_SEGMENT_ALIGN): Likewise.
1852 (write_object_file): Invoke md_do_align if available, and use
1853 frag_align_code on text sections.
1854 * config/obj-vms.h (SUB_SEGMENT_ALIGN): Now two args.
1855 * config/tc-m88k.h (SUB_SEGMENT_ALIGN): Likewise.
1856 * config/tc-ppc.h (SUB_SEGMENT_ALIGN): Likewise.
1857 * config/tc-sh.h (SUB_SEGMENT_ALIGN): Likewise.
1858 * config/tc-i386.h (SUB_SEGMENT_ALIGN): Likewise. Define for
1859 BFD_ASSEMBLER too.
1860
9d66a1d9
L
18612002-05-22 H.J. Lu <hjl@gnu.org>
1862
1863 * dwarf2dbg.c (dwarf2_directive_loc): Call listing_source_file
1864 for source file.
1865
76feaaf3
NC
18662002-05-22 Nick Clifton <nickc@cambridge.redhat.com>
1867
1868 * config/tc-arm.c (arm_s_section): Enable for COFF builds as well
1869 as ELF builds.
1870
1080e97d
L
18712002-05-22 H.J. Lu <hjl@gnu.org>
1872
1873 * dwarf2dbg.c (dwarf2_emit_insn): Emit only one line symbol
1874 for one .loc for compiler.
1875
c90bbe5b
TS
18762002-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1877
1878 * config/tc-mips.c (macro): Relax warning, it's toot strict for
1879 embedded-PIC.
1880
771c7ce4
TS
18812002-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1882
1883 * config/tc-mips.c (macro2): Add 64 bit drol, dror macros.
1884 Optimize the rotate by zero case.
1885
fa70f2ed
NC
18862002-05-21 Nick Clifton <nickc@cambridge.redhat.com>
1887
1888 * configure.in: Remove accidental enabling of bfd_gas=yes for
1889 sh-coff targets.
1890 * configure: Regenerate.
1891
411863a4
KH
18922002-05-18 Kazu Hirata <kazu@cs.umass.edu>
1893
1894 * app.c: Fix formatting.
1895 * as.c: Likewise.
1896 * ehopt.c: Likewise.
1897 * expr.c: Likewise.
1898 * input-file.c: Likewise.
1899 * listing.c: Likewise.
1900 * macro.h: Likewise.
1901 * stabs.c: Likewise.
1902 * symbols.c: Likewise.
1903
eb268f46
AM
19042002-05-17 Alan Modra <amodra@bigpond.net.au>
1905
1906 * config/obj-generic.c: Delete file.
1907 * config/obj-generic.h: Likewise.
1908
bdfdba87
MM
19092002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
1910
1911 * config/tc-avr.c (mcu_types): Update for new devices.
1912
3bec30a8
TS
19132002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1914
1915 * config/tc-mips.c (macro): Warn about wrong la/dla use.
1916
8586fc66
TS
19172002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1918
1919 * config/tc_mips.c (s_cpsetup): Fix completely bogus code which had
1920 worked sometimes by accident. Fix copy&paste comment.
1921
195325d2
TS
19222002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1923
1924 * config/tc-mips.c (md_begin): Fix .reginfo and .MIPS.option section
1925 alignment for NewABI. Let n32 use .reginfo. Remove useless casts.
1926 (mips_elf_final_processing): Let n32 use .reginfo.
1927
4db1a35d
TS
19282002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1929
1930 * config/tc-mips.c (append_insn): Fix too small range of variable.
1931
7f367f01
NC
19322002-05-14 Nick Clifton <nickc@cambridge.redhat.com>
1933
1934 * config/tc-arm.c (arm_cleanup): Remove redundant call to
1935 listing_prev_line().
1936
7193a0e7
NC
19372002-05-13 Nick Clifton <nickc@cambridge.redhat.com>
1938
f5b4e9e4
NC
1939 * config/tc-arm.c (md_assemble): Remove redundant call to
1940 listing_prev().
1941
b6675117
NC
1942 * dwarf2dbg.c (dwarf2_emit_insn): Do not reset
1943 loc_directive_seen.
1944
7193a0e7
NC
1945 * stabs.c (s_stab_generic): Fix grammatical error in warning
1946 message.
1947
50b31228
AM
19482002-05-13 Alan Modra <amodra@bigpond.net.au>
1949
1950 * write.c (subsegs_finish): Don't specially align last subseg.
1951
cce5a618
NC
19522002-05-11 Nick Clifton <nickc@cambridge.redhat.com>
1953
6360824b
NC
1954 * stabs.c (s_stab_generic): Warn about a description field that is
1955 too big.
1956
f8e42b8c
NC
1957 * config/obj-coff.c: Fix compile time warnings when compiling
1958 without BFD_ASSEMBLER defined.
1959 Fix formatting.
1960
cce5a618
NC
1961 * config/tc-sh.c (md_pcrel_from): Define for use with sh-hms
1962 target.
1963 (md_pcrel_from_section): Use md_pcrel_from().
1964
d7c310c2
NC
19652002-05-11 Bruno Haible <bruno@clisp.org>
1966
1967 * dwarf2dbg.c (dwarf2_emit_insn): Use the 'current' struct filled
1968 by dwarf2_directive_loc, instead of calling dwarf2_where.
1969
5d6255fe
KH
19702002-05-11 Kazu Hirata <kazu@cs.umass.edu>
1971
1972 * config/obj-coff.h: Fix formatting.
1973 * config/tc-mcore.c: Likewise.
1974 * config/tc-mn10300.c: Likewise.
1975 * config/tc-openrisc.c: Likewise.
1976 * config/tc-or32.c: Likewise.
1977 * config/tc-pdp11.c: Likewise.
1978 * config/tc-ppc.c: Likewise.
1979 * config/tc-ppc.h: Likewise.
1980 * config/tc-sh64.c: Likewise.
1981 * config/tc-sh.c: Likewise.
1982 * config/tc-tic54x.c: Likewise.
1983 * config/tc-xstormy16.c: Likewise.
1984 * config/tc-xstormy16.h: Likewise.
1985
cc8a6dd0
KH
19862002-05-09 Kazu Hirata <kazu@cs.umass.edu>
1987
1988 * config/obj-coff.c: Fix formatting.
1989 * config/obj-elf.c: Likewise.
1990 * config/tc-alpha.c: Likewise.
1991 * config/tc-arm.c: Likewise.
1992 * config/tc-d10v.c: Likewise.
1993 * config/tc-d30v.c: Likewise.
1994 * config/tc-h8300.c: Likewise.
1995 * config/tc-hppa.c: Likewise.
1996
412167cb
AM
19972002-05-09 Alan Modra <amodra@bigpond.net.au>
1998
1999 * config/tc-i386.c (md_estimate_size_before_relax) Don't lose
2000 reloc when no_cond_jump_promotion.
2001
91975467
JW
20022002-05-08 Jim Wilson <wilson@redhat.com>
2003
2004 * config/tc-i960.c (md_estimate_size_before_relax): Return size of
2005 current variable part of frag.
2006
a1b6236b
KH
20072002-05-08 Kazu Hirata <kazu@cs.umass.edu>
2008
2009 * config/tc-mmix.c: Fix formatting.
2010 * config/tc-mmix.h: Likewise.
2011
c8615825
AM
20122002-05-08 Alan Modra <amodra@bigpond.net.au>
2013
2014 * configure: Regenerate.
2015
8a104df9
KH
20162002-05-07 Kazu Hirata <kazu@cs.umass.edu>
2017
2018 * config/tc-m68k.c: Fix formatting.
2019
d3d8a9ee
NC
20202002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
2021
2022 * Makefile.am: Honour DESTDIR.
2023 * Makefile.in: Regenerate.
2024
40449e9f
KH
20252002-05-06 Kazu Hirata <kazu@cs.umass.edu>
2026
2027 * config/tc-ia64.c: Fix formatting.
2028 * config/tc-ia64.h: Likewise.
2029
98d3f06f
KH
20302002-05-04 Kazu Hirata <kazu@cs.umass.edu>
2031
2032 * config/tc-mips.c: Fix formatting.
2033 * config/tc-s390.c: Likewise.
2034 * config/tc-s390.h: Likewise.
2035
8f5b2891
AO
20362002-05-03 Alexandre Oliva <aoliva@redhat.com>
2037
2038 * config/tc-s390.c (md_gather_operands): Emit dwarf2 line-number
2039 information for instructions.
2040
d1a6c242
KH
20412002-05-02 Kazu Hirata <kazu@cs.umass.edu>
2042
2043 * as.h: Fix formatting.
2044 * cgen.c: Likewise.
2045 * cgen.h: Likewise.
2046 * dwarf2dbg.c: Likewise.
2047 * frags.h: Likewise.
2048 * gasp.c: Likewise.
2049 * macro.c: Likewise.
2050 * read.c: Likewise.
2051 * stabs.c: Likewise.
2052 * symbols.c: Likewise.
2053
1cfc59d5
AM
20542002-05-02 Alan Modra <amodra@bigpond.net.au>
2055
72297628
AM
2056 * app.c (mri_pseudo): Only declare for TC_M68K.
2057
1cfc59d5
AM
2058 * config/tc-ppc.c (mapping): Map sectoff to BFD_RELOC_16_BASEREL.
2059 (ppc_elf_validate_fix): Replace BFD_RELOC_32_BASEREL with
2060 BFD_RELOC_16_BASEREL.
2061 (md_assemble): Likewise.
2062 (md_apply_fix3): Likewise.
2063
358b94bd
NC
20642002-05-02 Nick Clifton <nickc@cambridge.redhat.com>
2065
2066 * config/tc-arm.c (thumb_add_sub): Do not convert a subtract of
2067 zero into an add of zero - it is not the same.
2068
d8731e7d
NC
20692002-05-01 Arati Dikey <aratid@kpit.com>
2070
2071 * tc-sh.c (get_specific): Generate warning if the same
2072 destination register is used in parallel instructions.
2073
200dbde8
AM
20742002-05-01 Andrew Macleod <amacleod@cygnus.com>
2075
2076 * config/tc-i386.c (extra_symbol_chars): Add '[' to the list.
2077
3f3cdb03
AM
20782002-05-01 Alan Modra <amodra@bigpond.net.au>
2079
2080 * write.c (cvt_frag_to_fill): Set fr_offset to zero on .org
2081 backwards to prevent cascading errors.
2082
9b2b7d69
MM
20832002-04-30 Mark Mitchell <mark@codesourcery.com>
2084
2085 * configure.in: Add support for powerpc-*-windiss.
2086 * configure: Regenerated.
a2c36061 2087
0f3f3d8b
AM
20882002-04-28 Alan Modra <amodra@bigpond.net.au>
2089
819e6420
AM
2090 * config/tc-s390.c (md_parse_option): Formatting.
2091
0f3f3d8b
AM
2092 * config/tc-i386.c: Formatting fixes, add missing space in error
2093 message.
2094
3c25c5f6
NC
20952002-04-24 Christian Groessler <chris@groessler.org>
2096
2097 * config/tc-z8k.c (build_bytes): Add support for new cases:
2098 CLASS_IGNORE and ARG_NIM4.
2099 (md_assemble): Prevent destruction of input_line_pointer if
2100 get_operands returns failure.
2101
af55c2e6
CD
21022002-04-24 Chris G. Demetriou <cgd@broadcom.com>
2103
2104 * config/tc-mips.c (macro_build): Do _not_ allow MIPS-3D
2105 instructions to be generated by macros.
2106
062cd5e7
AS
21072002-04-24 Andreas Schwab <schwab@suse.de>
2108
2109 * config/tc-i386.c (output_jump, output_disp)
2110 (md_estimate_size_before_relax): Don't set fx_pcrel_adjust any
2111 more.
2112 (md_apply_fix3): Remember addend value for rela relocations.
2113 (tc_gen_reloc): Correctly compute pc-relative relocation addend.
2114
2b2e39bf
CD
21152002-04-22 Chris Demetriou <cgd@broadcom.com>
2116
2117 * config/tc-mips.c (macro_build): Add close-parenthesis missing
2118 from previous change.
2119
80cc45a5
EC
21202002-04-22 Eric Christopher <echristo@redhat.com>
2121
2b2e39bf
CD
2122 * config/tc-mips.c (macro_build): Add warning if macro instructions
2123 are expanded into a branch delay slot.
80cc45a5 2124
ffa554ed
GK
21252002-04-17 Geoffrey Keating <geoffk@redhat.com>
2126
2127 * dwarf2dbg.c (dwarf2_gen_line_info): Do emit duplicate line
2128 numbers, gdb relies on them to detect the start of the prologue.
2129
302576af
MS
21302002-04-17 Martin Schwidefsky <schwidefsky@de.ibm.com>
2131
2132 * config/tc-s390.c (tc_s390_fix_adjustable): Prevent adjustments to
2133 symbols in merge sections.
2134
0f3f3d8b 21352002-04-16 Alan Modra <amodra@bigpond.net.au>
091e58c1
AM
2136
2137 * as.c (main): Don't reference _bfd_chunksize.
2138
76b999d0
TR
21392002-04-15 Tom Rix <trix@redhat.com>
2140
80cc45a5 2141 * config/tc-d10v.c (d10v_fix_adjustable): Prevent adjustments to
76b999d0
TR
2142 symbols in merge sections.
2143
580a832e
RS
21442002-04-11 Richard Sandiford <rsandifo@redhat.com>
2145
2146 * doc/invoke.texi (TC_LARGEST_EXPONENT_IS_NORMAL): Document.
2147 * config/atof-ieee.c (TC_LARGEST_EXPONENT_IS_NORMAL): Add an
2148 argument for the precision.
2149 (gen_to_words): Update accordingly.
2150
edde18a5
AM
21512002-04-10 Alan Modra <amodra@bigpond.net.au>
2152
2153 * as.c (parse_args <OPTION_VERSION>): Use VERSION is
2154 BFD_VERSION_STRING unavailable.
2155 * config/tc-i386.c (INLINE): Define (for non-BFD assembler).
2156
6c6783ff 21572002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
5bcd00a6
JR
2158
2159 * config/tc-sh.h (TC_FIX_ADJUSTABLE): Disable adjusting if
2160 symbol_used_in_reloc_p is true.
2ed5f585
JR
2161
2162 * config/tc-sh.c (md_apply_fix3): Don't zero relocations on big
2163 endian hosts.
2164
8e42bcb6
AM
21652002-04-04 Alan Modra <amodra@bigpond.net.au>
2166
2167 * dep-in.sed: Cope with absolute paths.
2168 * Makefile.am (dep.sed): Subst TOPDIR.
2169 Run "make dep-am".
2170 * Makefile.in: Regenerate.
2171
874e8986
TS
21722002-04-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2173
2174 * config/tc-mips.c (mips16_macro_build): Cast type mismatch.
2175 (mips_ip): Remove unused variable.
2176 (md_apply_fix3): Cast signed/unsignes mismatches. Replace
2177 unsigned char with bfd_byte.
2178 (s_file): Remove unused variable.
2179 (s_mips_ent): Likewise.
2180
fbdbf472
TR
21812002-04-03 Tom Rix <trix@redhat.com>
2182
2183 * config/tc-d10v.c (d10v_insert_operand): Fix warning in as_bad_where.
2184 (build_insn): Same.
2185 (find_opcode): Fix warning in as_warn.
2186 * config/tc-d10v.h: Update Copyright.
2187
21882002-04-03 Alan Matsuoka <alanm@redhat.com>
2189 Tom Rix <trix@redhat.com>
2190
2191 From Jeff Knaggs <jknaggs@redhat.com>
80cc45a5 2192 * config/tc-d10v.c (check_resource_conflict): New function to
fbdbf472
TR
2193 check for resource conflicts.
2194
2195 From Jason Eckhardt <jle@redhat.com>
a2c36061
AM
2196 * config/tc-d10v.c (build_insn): Check for unresolved imm4 or
2197 imm3 fields.
2198 * config/tc-d10v.c (find_opcode): Emit a warning if one of the
2199 reserved control registers is used.
2200 * config/tc-d10v.c (build_insn): Check for unresolved imm4 or
2201 imm3 fields.
fbdbf472
TR
2202
2203 From 2001-03-28 Diego Novillo <dnovillo@redhat.com>
a2c36061
AM
2204 * tc-d10v.c (parallel_ok): Prevent packing only if the first
2205 instruction cannot be packed.
fbdbf472
TR
2206
2207 From 2001-03-30 Diego Novillo <dnovillo@redhat.com>
a2c36061
AM
2208 * gas/config/tc-d10v.c (check_resource_conflict): Only check
2209 write-write conflicts.
2210 (md_assemble): Reformat introductory comment.
2211 * opcodes/d10v-opc.c (d10v_opcodes): `btsti' does not modify its
2212 arguments.
fbdbf472 2213
784b640d
AM
22142002-04-03 Alan Modra <amodra@bigpond.net.au>
2215
2216 * symbols.c (resolve_symbol_value <O_uminus, O_bit_not,
2217 O_logical_not>): Derive final_seg from add_symbol.
2218 <O_multiply..O_logical_or>: More final_seg twiddles.
2219
5f44c186
RH
22202002-04-01 Jessica Han <jessica@cup.hp.com>
2221
a2c36061 2222 * config/tc-ia64.c (ia64_cons_fix_new): Handle 8 byte iplt reloc
5f44c186
RH
2223 in 32-bit mode.
2224
3458b54c
AS
22252002-03-27 Andreas Schwab <schwab@suse.de>
2226
2227 * config/tc-i386.c (output_jump): Set fx_pcrel_adjust to size of
2228 field for pc-relative fixups.
2229 (output_disp): Likewise.
2230 (md_estimate_size_before_relax): Likewise.
2231 (tc_gen_reloc): Subtract fx_pcrel_adjust instead of fx_size for
2232 pc-relative fixups in 64bit mode.
2233
815b453c
AM
22342002-03-22 Alan Modra <amodra@bigpond.net.au>
2235
2236 * config/te-aix5.h: Typo fix.
2237
d5b32339
AM
22382002-03-21 Alan Modra <amodra@bigpond.net.au>
2239
2240 * Makefile.am: Run "make dep-am".
2241 * Makefile.in: Regenerate.
2242 * doc/Makefile.in: Regenerate.
2243
f201ccb3
NC
22442002-03-20 Albert Chin-A-Young <china@thewrittenword.com>
2245
2246 * config/tc-arm.c (vfp_dp_reg_required_here): Fix typo
2247 (vfp_sp_reg_pos -> vfp_dp_reg_pos).
2248
177b4a6a
AO
22492002-03-18 Alexandre Oliva <aoliva@redhat.com>
2250
2251 * config/tc-mips.c (md_estimate_size_before_relax): Do not modify
2252 the EXTENDED bit here; report the estimate according to the
2253 current size.
2254
eb1e0e80
NC
22552002-03-18 Tom Rix <trix@redhat.com>
2256
2257 * configure.in: Add AIX 5 support.
2258 * config/tc-ppc.c (ppc_target_format): Add AIX 5 64 bit target.
2259 * config/te-aix5.h: New file. AIX 5 support.
2260 * configure: Regenerate.
2261
a1c259a1
NC
22622002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
2263
2264 * po/fr.po: Updated version.
2265
949f2b5c
AJ
22662002-03-16 Andreas Jaeger <aj@suse.de>
2267
2268 * doc/c-mips.texi (Machine Dependencies): Add new node.
2269
1f25f5d3
CD
22702002-03-15 Chris G. Demetriou <cgd@broadcom.com>
2271
2272 * config/tc-mips.c (mips_set_options): New "ase_mips3d" member.
2273 (mips_opts): Initialize "ase_mips3d" member.
2274 (file_ase_mips3d): New variable.
2275 (CPU_HAS_MIPS3D): New macro.
2276 (md_begin): Initialize mips_opts.ase_mips3d and file_ase_mips3d
2277 based on command line options and configuration defaults.
2278 (macro_build, mips_ip): Accept MIPS-3D instructions if
2279 mips_opts.ase_mips3d is set.
2280 (OPTION_MIPS3D, OPTION_NO_MIPS3D, md_longopts, md_parse_option):
2281 Add support for "-mips3d" and "-no-mips3d" options.
2282 (OPTION_ELF_BASE): Move to accomodate new options.
2283 (s_mipsset): Support ".set mips3d" and ".set nomips3d".
2284 (mips_elf_final_processing): Add a comment indicating that a
2285 MIPS-3D ASE ELF header flag should be set, when one exists.
2286 * doc/as.texinfo: Document -mips3d and -no-mips3d options.
2287 * doc/c-mips.texi: Likewise, and document ".set mips3d" and ".set
2288 nomips3d" directives.
949f2b5c 2289
2be11e7e
HPN
22902002-03-14 Hans-Peter Nilsson <hp@bitrange.com>
2291
2292 * config/tc-mmix.c (md_estimate_size_before_relax): Don't consider
2293 a weak symbol in same section to be within reach.
2294
9ce88e60
NC
22952002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
2296
2297 * po/fr.po: Updated version.
2298
1e16b528
AS
22992002-03-12 Andreas Schwab <schwab@suse.de>
2300
2301 * config/tc-ia64.c (fixup_unw_records): Clear region when seeing a
2302 body record so that an error is given for misplaced .save
2303 pseudo-ops.
2304
29b0f896
AM
23052002-03-09 Alan Modra <amodra@bigpond.net.au>
2306
2307 * config/tc-i386.h (REX_OPCODE): Define.
2308 (REX_MODE64, REX_EXTX, REX_EXTY, REX_EXTZ): Define.
2309 (rex_byte): typedef to int.
2310 * config/tc-i386.c: Group prototypes and vars together.
2311 Formatting fixes. Remove occurrences of "register" keyword.
2312 (true): Delete.
2313 (false): Delete.
2314 (mode_from_disp_size): Add INLINE keyword to prototype.
2315 (fits_in_signed_byte): Likewise.
2316 (fits_in_unsigned_byte): Likewise.
2317 (fits_in_unsigned_word): Likewise.
2318 (fits_in_signed_word): Likewise.
2319 (fits_in_unsigned_long): Likewise.
2320 (fits_in_signed_long): Likewise.
2321 (type_names): Constify.
2322 (intel_float_operand): Constify param.
2323 (add_prefix): Use REX_OPCODE.
2324 (md_assemble): Likewise. Modify for changed rex_byte.
2325 (parse_insn): Split out of md_assemble.
2326 (parse_operands): Likewise.
2327 (swap_operands): Likewise.
2328 (optimize_imm): Likewise.
2329 (optimize_disp): Likewise.
2330 (match_template): Likewise.
2331 (check_string): Likewise.
2332 (process_suffix): Likewise.
2333 (check_byte_reg): Likewise.
2334 (check_long_reg): Likewise.
2335 (check_qword_reg): Likewise.
2336 (check_word_reg): Likewise.
2337 (finalize_imm): Likewise.
2338 (process_operands): Likewise.
2339 (build_modrm_byte): Likewise.
2340 (output_insn): Likewise.
2341 (output_branch): Likewise.
2342 (output_jump): Likewise.
2343 (output_interseg_jump): Likewise.
2344 (output_disp): Likewise.
2345 (output_imm): Likewise.
2346
2e64b665
DJ
23472002-03-07 Daniel Jacobowitz <drow@mvista.com>
2348
2349 * doc/as.texinfo: Wrap @menu in @ifnottex, not @ifinfo.
2350
937149dd
AM
23512002-03-06 Alan Modra <amodra@bigpond.net.au>
2352
2353 * config/tc-i386.c (tc_gen_reloc): Don't attempt to handle 8 byte
2354 relocs except when BFD64.
2355
2356 * write.c (number_to_chars_bigendian): Don't abort when N is
2357 larger than sizeof (VAL).
2358 (number_to_chars_littleendian): Likewise.
2359
40d74fb1
JL
23602002-03-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
2361
2362 * config/tc-hppa.c (md_apply_fix3): Add cast.
2363 (hppa_fix_adjustable): Adjust list of selectors using e_lrsel and
2364 e_rrsel.
2365
cd3cde86
AM
23662002-03-05 Paul Koning <pkoning@equallogic.com>
2367
2368 * tc-pdp11.c: Use VAX float format support for PDP-11 target.
2369 (parse_ac5): New function for parsing float regs in float operand.
2370 (parse_expression): Remove attempt to make literals be octal.
2371 (parse_op_no_deferred): Support float literals.
2372 (parse_op): Reject attempts to refer to float regs.
2373 (parse_fop): New function, like parse_op but for float operand.
949f2b5c 2374 (md_assemble): Add cases to parse float operands. Also fix
cd3cde86
AM
2375 IMM3, IMM6, IMM8 cases to pick up the operand from the right spot.
2376
e9682144
L
23772002-03-04 H.J. Lu <hjl@gnu.org>
2378
2379 * config/obj-elf.c (special_section): Add .init_array,
2380 .fini_array and .preinit_array.
2381
2382 * config/tc-ia64.h (ELF_TC_SPECIAL_SECTIONS): Remove
2383 .init_array and .fini_array.
2384
26eb4093
JJ
23852002-03-01 Jakub Jelinek <jakub@redhat.com>
2386
2387 * config/obj-elf.c (elf_copy_symbol_attributes): Don't copy
2388 visibility.
2389 (obj_frob_symbol): Copy visibility.
2390
559e22f3
JJ
23912002-02-28 Jakub Jelinek <jakub@redhat.com>
2392
2393 * config/tc-alpha.c (s_alpha_text): Use obj_elf_text for OBJ_ELF, not
2394 s_text.
2395 (s_alpha_data): Use obj_elf_data for OBJ_ELF, not s_data.
2396
ef412327
NC
23972002-02-27 Nick Clifton <nickc@cambridge.redhat.com>
2398
2399 * po/es.po: Updated.
2400
b25a253c
CD
24012002-02-26 Chris Demetriou <cgd@broadcom.com>
2402
2403 * config/tc-mips.c (mips_need_elf_addend_fixup): For embedded-PIC
2404 only, undo the changes made on 2001-06-08, with the
2405 effect being that common or extern symbols are
2406 adjusted for embedded-PIC, but weak symbols are not.
2407 (md_estimate_size_before_relax: Likewise, with the effect
2408 that extern symbols are treated the same as weak symbols
2409 only if not embedded-PIC.
2410 (mips_fix_adjustable) Likewise, with the effect that
2411 weak or extern symbols are not adjusted for embedded-PIC.
2412 (md_apply_fix3): Tweak so that the case where value is zero
2413 is handled more correctly for embedded-PIC code.
2414
fe41178f
NC
24152002-02-26 Nick Clifton <nickc@cambridge.redhat.com>
2416
587fe2b3
NC
2417 * doc/as.texinfo (Overview): Add missing @ifset IA64
2418
fe41178f
NC
2419 * configure.in (LINGUAS): Add es.po.
2420 * configure: Regenerate.
2421 * po/es.po: New file.
2422
4d34fb5f
TS
24232002-02-25 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2424
2425 * config/tc-mips.c (set_at): Fix handling of 64bit register loads.
2426 (macro): Likewise. Fix la/dla address expansions for EMBEDDED_PIC
2427 and NO_PIC cases. Code cleanup.
2428 (macro2): Fix handling of 64bit register loads.
2429
9e32ca89
NC
24302002-02-25 David Mosberger <davidm@hpl.hp.com>
2431
2432 * doc/as.texinfo: Add entry for IA64.
2433 * doc/c-ia64.texi: New file.
2434
23e1d84c
AM
24352002-02-25 Alan Modra <amodra@bigpond.net.au>
2436
c7d004c5
AM
2437 * config/tc-hppa.c: Update copyright date.
2438
2439 * doc/c-ppc.texi (PowerPC-Opts): Add -mpower4, -maltivec and -m7400
23e1d84c
AM
2440 Remove references to chip manufacturers.
2441 * config/tc-ppc.c (md_parse_option): Handle -mpower4 option.
2442 Correct comments.
2443 (md_show_usage): Remove references to chip manufacturers. Mention
2444 -mpower4.
2445 (md_begin): Test power4 opcode flag bits.
2446
b1c6bf70 24472002-02-22 David Mosberger <davidm@hpl.hp.com>
6290819d
NC
2448
2449 * config/tc-ia64.c (dot_restore): Issue error message of epilogue
2450 count exceeds prologue count.
2451 (md_show_usage): Describe -mconstant-gp and -mauto-pic.
2452 (unwind.label_prologue_count): New member.
2453
2454 Based on a patch by Hans Boehm <hboehm@hpl.hp.com>:
2455
2456 (get_saved_prologue_count): New function.
2457 (save_prologue_count): New function.
2458 (free_saved_prologue_count): New function.
2459 (dot_label_state): Record state label by calling save_prologue_count().
2460 (dot_copy_state): Restore prologue count by calling
2461 get_saved_prologue_count().
2462 (generate_unwind_image): Free up list of saved prologue
2463 counts by calling free_saved_prologue_counts().
2464
f1e7a2c9
NC
24652002-02-22 Nick Clifton <nickc@cambridge.redhat.com>
2466
2467 * config/tc-tic54x.c: Add missing prototypes and remove ANSI style
2468 function declarations.
2469
3f965e60
NC
24702002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
2471
2472 * NEWS: Note that GASP is now deprecated.
2473 * Makefile.am: Do not build gasp-new by default.
2474 * Makefile.in: Regenerate.
2475 * doc/Makefile.am: Do not install gasp.info.
2476 * doc/Makefile.in: Regenerate.
2477 * gas/gasp.texi: Note that gasp is now deprecated.
2478
9a66911f
NC
24792002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
2480
2481 * NEWS: Mark 2.12 branch.
2482
f88fd9fe
TT
24832002-02-19 Tom Tromey <tromey@redhat.com>
2484
2485 * config/tc-xstormy16.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
2486
da0e507f
TS
24872002-02-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2488
2489 * config/tc-mips.c (md_parse_option): Complain about invalid -mabi
2490 option input.
2491
ff0fb565
MS
24922002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
2493
2494 * config/tc-s390.c (md_parse_option): Add switches -m31 and -m64.
2495 Make bit size independent of architecture switch.
2496 (md_begin): Add warning for -m64 with -Aesa.
2497 (s390_md_end): Use renamed architecture defines.
2498
a245a9aa
DJ
24992002-02-18 Daniel Jacobowitz <drow@mvista.com>
2500
2501 * config/obj-coff.h: Check !target_big_endian, not shl, for coff-sh.
2502
8bf549a8
NC
25032002-02-16 Nick Clifton <nickc@cambridge.redhat.com>
2504
2505 * doc/as.texinfo (Machine Dependencies): Fix typo: MMIX used
2506 instead of CRIS.
2507
9151e8bf
CD
25082002-02-15 Chris Demetriou <cgd@broadcom.com>
2509
a2c36061 2510 * config/tc-mips.c (md_estimate_size_before_relax): Really
9151e8bf
CD
2511 make sure we treat weak like extern only for ELF. (Fixes
2512 patch from 2001-07-25.)
2513
59455fb1
BE
25142002-02-15 Ben Elliston <bje@redhat.com>
2515
2516 * doc/as.texinfo: Add duplicate directory entry so that "info gas"
2517 works as expected.
2518
49fda6c8
HPN
25192002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
2520
2521 * NEWS: Mention support for MMIX.
2522
2d2bf3e0
CD
25232002-02-13 Chris Demetriou <cgd@broadcom.com>
2524
2525 * config/tc-mips.c (mips_need_elf_addend_fixup): Restructure into
2526 a sequence of indpendent 'if' statements for easier debugging
2527 and future modification.
2528
76f57f3a
JT
25292002-02-13 Matt Fredette <fredette@netbsd.org>
2530
2531 * config/tc-m68k.c (md_show_usage): No longer display a
2532 hard-coded "68020" for the default CPU, instead display the
2533 canonical name of the true, configured default CPU.
2534 (m68k_elf_final_processing): Mark objects for sub-68020
2535 CPUs with the new EF_M68000 flag.
2536
3bf057fa
AS
25372002-02-13 Andreas Schwab <schwab@suse.de>
2538
2539 * config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust
2540 pc-relative relocations to merge sections in 64-bit mode.
2541
6334e312 25422002-02-13 Ben Elliston <bje@redhat.com>
1ac57253
BE
2543
2544 * NEWS: Document floating point number handling in gasp.
2545 * gasp.c: Include <assert.h> and "xregex.h".
2546 (is_flonum): New function.
2547 (chew_flownum): Likewise.
2548 (change_base): Consume flonums from the input, where possible.
2549 * doc/gasp.texi (Constants): Document floating point numbers.
2550
3dcfe21d
AM
25512002-02-12 John David Anglin <dave@hiauly1.hia.nrc.ca>
2552
2553 * config/tc-hppa.c (hppa_fix_adjustable): Don't adjust final types
2554 that implicitly use LR and RR selectors.
2555
913572ec
AO
25562002-02-12 Alexandre Oliva <aoliva@redhat.com>
2557
2558 * config/tc-mn10300.c (other_registers): Added `epsw'. Mark `pc'
2559 and `epsw' as available on AM33 and above only.
2560 (other_register_name): Add logic to handle machine type encoded in
2561 reg_number.
2562
9b90b531
TR
25632002-02-11 Tom Rix <trix@redhat.com>
2564
949f2b5c 2565 * config/tc-ppc.c (md_apply_fix3): Check for insert fop invalid for
9b90b531
TR
2566 xcoff64.
2567
6c6783ff 25682002-06-11 Alexandre Oliva <aoliva@redhat.com>
6c1b24e4
AO
2569
2570 * config/tc-sparc.c (U0x80000000, U0xffffffff): New constants.
2571 Use all over.
2572
6c6783ff 25732002-02-11 Jan Hubicka <jh@suse.cz>
7ecd2f8b
JH
2574
2575 * i386.c (md_assemble): Support 32bit address prefix.
2576 (i386_displacement): Likewise.
2577 (i386_index_check): Accept 32bit addressing in 64bit mode.
2578
7eb27ef2
AO
25792002-02-11 Alexandre Oliva <aoliva@redhat.com>
2580
2581 * config/tc-sh.c (dot): Removed unused function.
2582
fa702524
AM
25832002-02-11 Alan Modra <amodra@bigpond.net.au>
2584
2585 * Makefile.am: "make dep-am".
2586 * Makefile.in: Regenerate.
2587 * aclocal.m4: Regenerate.
2588 * config.in: Regenerate.
2589 * configure: Regenerate.
2590 * doc/Makefile.in: Regenerate.
2591
625e1353
RH
25922002-02-10 Richard Henderson <rth@redhat.com>
2593
2594 * doc/c-alpha.texi: New file.
2595 * doc/Makefile.am (CPU_DOCS): Add it.
2596 * doc/all.texi, doc/as.texinfo: Add hooks for Alpha.
2597
543833df
RH
25982002-02-09 Richard Henderson <rth@redhat.com>
2599
2600 * config/tc-alpha.c (O_samegp): New.
2601 (USER_RELOC_P): Include it.
2602 (alpha_reloc_op_tag, debug_exp, find_macro_match): Add it.
2603 (md_apply_fix3): Handle BFD_RELOC_ALPHA_BRSGP.
2604 (alpha_force_relocation, alpha_fix_adjustable): Likewise.
2605 (alpha_validate_fix): New.
2606 * config/tc-alpha.h (TC_VALIDATE_FIX): New.
2607
328eb32e
HPN
26082002-02-09 Hans-Peter Nilsson <hp@axis.com>
2609
2610 * doc/c-cris.texi: New.
2611 * doc/all.texi: @set CRIS.
2612 * doc/as.texinfo: Ditto. Add CRIS gas manpage option overview.
2613 Include c-cris.texi.
2614 * doc/Makefile.am (CPU_DOCS): Add c-cris.texi
2615 * doc/Makefile.in: Regenerate.
2616
6373ee54
CD
26172002-02-08 Chris Demetriou <cgd@broadcom.com>
2618
2619 * config/tc-mips.c (IS_SEXT_32BIT_NUM): New macro to
2620 determine if a number is a sign-extended 32-bit number.
2621 (load_register): Use IS_SEXT_32BIT_NUM.
2622 (macro): Check if load/store macro handling is using a
2623 constant 32-bit address on 64-bit address systems, and if
2624 so optimize the generation of that address.
2625
50a4c611
RH
26262002-02-08 Richard Henderson <rth@redhat.com>
2627
2628 * config/tc-alpha.c (alpha_force_relocation): Don't assert that
2629 we've eliminated all foreign relocation types yet.
2630 (alpha_fix_adjustable): Likewise.
2631
324bfcf3
AO
26322002-02-08 Alexandre Oliva <aoliva@redhat.com>
2633
2634 Contribute sh64-elf.
2635 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
2636 Stephen Clarke <Stephen.Clarke@st.com>
2637 * doc/c-sh64.texi: Fix citation of SH64 architecture manual.
2638 2002-01-31 Alexandre Oliva <aoliva@redhat.com>
2639 * config/tc-sh.c (md_relax_table): Added default sizes for
2640 non-PC-relative UNDEF_MOVI, and relaxation sequences for
2641 MOVI_16, MOVI_32 and MOVI_48.
2642 * config/tc-sh64.c (shmedia_md_apply_fix3): Fix warning.
2643 (shmedia_md_convert_frag): Handle non-PC-relative UNDEF_MOVI
2644 and MOVI_16.
2645 (shmedia_md_estimate_size_before_relax): Remove redundant
f6cf69d7 2646 blocks. Set fragP->fr_var even if relaxation type unchanged.
324bfcf3
AO
2647 Retain UNDEF_MOVI until expression decays to number.
2648 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
2649 * config/tc-sh64.c (shmedia_init_reloc): Handle new SHmedia PIC
2650 relocation types. Take fixP->fx_addnumber into account too.
2651 (shmedia_md_apply_fix): Likewise.
2652 (shmedia_md_convert_frag): Likewise.
2653 (shmedia_build_Mytes): Likewise.
2654 (sh64_consume_datalabel): Complain about nested datalabel.
2655 Support PIC relocs. Call sh_parse_name.
2656 * config/tc-sh64.h (TC_RELOC_RTSYM_LOC_FIXUP): Extend definition
2657 in tc-sh.h to SHmedia reloc types.
2658 * config/tc-sh.c (SH64PCRELPLT, MOVI_PLT, MOVI_GOTOFF,
2659 MOVI_GOTPC): New relaxation constants.
2660 (md_relax_table): Introduce relaxation directives for PIC-related
2661 constants.
2662 (sh_PIC_related_p): Handle datalabel.
2663 (sh_check_fixup): Choose SH5 PIC relocations.
2664 (sh_cons_fix_new): Added BDF_RELOC_64.
2665 (md_apply_fix3, sh_parse_name): Handle GOTPLT.
2666 2002-01-18 Alexandre Oliva <aoliva@redhat.com>
2667 * config/tc-sh64.c (sh64_max_mem_for_rs_align_code): If the
2668 current ISA is SHmedia, get 7 bytes.
2669 2001-11-28 Nick Clifton <nickc@cambridge.redhat.com>
2670 * config/tc-sh.c (md_apply_fix3): Treat shmedia_md_apply_fix3 as a
2671 void function.
2672 * config/tc-sh64.c (shmedia_apply_fix): Rename to
2673 shmedia_apply_fix3 and make void.
2674 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
2675 * config/tc-sh64.c (s_sh64_abi): Remove unused arguments passed to
2676 as_bad.
2677 2001-04-12 Alexandre Oliva <aoliva@redhat.com>
2678 * config/tc-sh64.h (md_parse_name): Take &c as argument.
2679 2001-03-14 DJ Delorie <dj@redhat.com>
2680 * doc/Makefile.am (CPU_DOCS): Added c-sh64.texi
2681 * doc/Makefile.in(CPU_DOCS): Ditto.
2682 * doc/c-sh64.texi: New file.
2683 * doc/as.texinfo: Add SH64 support.
2684 2001-03-13 DJ Delorie <dj@redhat.com>
2685 * config/tc-sh64.c (shmedia_get_operands): Rename A_RESV_Fx to
2686 A_REUSE_PREV so that its purpose is more obvious.
2687 (shmedia_build_Mytes): Ditto.
2688 2001-03-07 DJ Delorie <dj@redhat.com>
2689 * config/tc-sh64.c (sh64_vtable_entry): New, strip datalabels
2690 before processing.
2691 (sh64_vtable_inherit): Ditto.
2692 (strip_datalabels): New, strip "datalabel" from given line.
2693 * config/tc-sh.c (md_pseudo_table): Add sh64-specific vtable
2694 pseudos.
2695 2001-03-06 Hans-Peter Nilsson <hpn@cygnus.com>
2696 * config/tc-sh64.c (shmedia_md_assemble): Move dwarf2_emit_insn
2697 call ...
2698 (shmedia_build_Mytes): ... to here.
2699 2001-03-06 DJ Delorie <dj@redhat.com>
2700 * config/tc-sh.c: Remove sh64-specific uaquad now that there
2701 is a generic one.
2702 2001-01-21 Hans-Peter Nilsson <hpn@cygnus.com>
2703 * config/tc-sh64.h (DWARF2_LINE_MIN_INSN_LENGTH): Override.
2704 * config/tc-sh64.c (shmedia_md_assemble): Offset recorded insn
2705 address by one in call to dwarf2_emit_insn.
2706 2001-01-13 Hans-Peter Nilsson <hpn@cygnus.com>
2707 Implement ".abi" pseudo and correct .cranges descriptors. Correct
2708 alignment handling broken by imported changes.
2709 * config/tc-sh64.h (HANDLE_ALIGN): Override definition in tc-sh.h.
2710 (sh64_handle_align): Declare.
2711 (MAX_MEM_FOR_RS_ALIGN_CODE): Override definition in tc-sh.h.
2712 (sh64_max_mem_for_rs_align_code): Declare.
2713 (enum sh64_isa_values): Moved here from tc-sh64.c.
2714 (md_do_align): Define.
2715 (sh64_do_align): Declare.
2716 (struct sh64_tc_frag_data): New.
2717 (TC_FRAG_TYPE): Change to struct sh64_tc_frag_data. Users
2718 changed.
2719 (TC_FRAG_INIT): Change to set new datatype.
2720 (struct sh64_segment_info_type): Rename member
2721 last_flushed_location to last_contents_mark. All users changed.
2722 (md_elf_section_change_hook, TC_CONS_FIX_NEW): Do not define.
2723 (shmedia_elf_new_section, sh64_tc_cons_fix_new): Do not prototype.
2724 * config/tc-sh.c (md_pseudo_table): Add ".abi".
2725 (sh_elf_cons) [HAVE_SH64]: Call sh64_update_contents_mark instead
2726 of unsetting seen_insn.
2727 (md_assemble) [HAVE_SH64] <before new SHcompact sequence>: Also
2728 call sh64_update_contents_mark.
2729 (sh_handle_align): Remove HAVE_SH64-conditioned code.
2730 * config/tc-sh64.c (sh64_isa_mode): Correct type from boolean to
2731 enum sh64_isa_values.
2732 (sh64_set_contents_type): Drop segT parameter. All callers changed.
2733 (emitting_crange): Boolean guard moved to file scope from function
2734 scope in sh64_set_contents_type.
2735 (s_sh64_abi): New.
2736 (sh64_update_contents_mark): New; most split out from
2737 sh64_flush_pending_output.
2738 (shmedia_md_end): Call sh64_update_contents_mark. Set
2739 sh64_isa_mode to sh64_isa_sh5_guard unless sh64_isa_unspecified.
2740 (sh64_do_align): New function.
2741 (sh64_max_mem_for_rs_align_code): New function.
2742 (sh64_handle_align): Rename from shmedia_do_align. Make
2743 non-static. Add head comment. Emit zero bytes for n bytes modulo
2744 four. Change return-type to void.
2745 (shmedia_elf_new_section): Remove.
2746 (shmedia_md_assemble): Call sh64_update_contents_mark.
2747 (s_sh64_mode): Ditto. Do not call md_flush_pending_output. Make
2748 new frag. Call sh64_update_contents_mark after making the new
2749 frag.
2750 (sh64_flush_pending_output): Just call sh64_update_contents_mark
2751 and sh_flush_pending_output.
2752 (sh64_flag_output): Also call md_flush_pending_output, but add
2753 condition on not emitting_crange.
2754 (sh64_tc_cons_fix_new): Remove.
2755 2001-01-12 Nick Clifton <nickc@redhat.com>
2756 * config/tc-sh64.c (shmedia_do_align): Fix to work with new
2757 alignment handling scheme imported from sourceware.
2758 2001-01-12 Hans-Peter Nilsson <hpn@cygnus.com>
2759 * config/tc-sh64.h (TARGET_FORMAT): Define.
2760 (sh64_target_format): Prototype.
2761 * config/tc-sh64.c (sh64_target_mach): New function.
2762 2001-01-07 Hans-Peter Nilsson <hpn@cygnus.com>
2763 * config/tc-sh64.c (shmedia_md_end): When equating a symbol, use
2764 zero_address_frag instead of copying the frag of the symbol.
2765 (shmedia_frob_file_before_adjust): Ditto.
2766 (shmedia_md_apply_fix) <case BFD_RELOC_SH_IMM_MEDLOW16>: Cast mask
2767 to valueT to remove signedness.
f6cf69d7 2768 (shmedia_md_convert_frag): Add parameter final. Rename parameter
324bfcf3
AO
2769 headers to output_bfd. Do not evaluate symbols if final is false;
2770 do emit fixups.
2771 (shmedia_md_estimate_size_before_relax) <case C (MOVI_IMM_32,
2772 UNDEF_MOVI) et al>: If symbol cannot be modified to be PC-relative
2773 to the current frag, call shmedia_md_convert_frag to emit fixups
f6cf69d7 2774 and make frag_wane neutralize the frag. Update comments.
324bfcf3
AO
2775 * config/tc-sh.c (md_convert_frag): Change caller of
2776 shmedia_md_convert_frag.
2777 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
2778 * config/tc-sh64.h: Tweak comments and correct formatting.
2779 * config/tc-sh64.c: Ditto.
2780 (shmedia_md_convert_frag) <PT/PTA/PTB 32, 48 and 64 bit
2781 expansion, MOVI pcrel expansion>: Fix thinko calculating offset
2782 for the no-relocation case.
2783 (shmedia_check_limits): Fix range check being off-by-one for PTA.
2784 * config/tc-sh.c: Ditto. Add proper comments to #ifdef/#ifndef
2785 wrappers.
f6cf69d7 2786 (SH64PCREL16_F): Increment for proper max-PTA handling. Update
324bfcf3
AO
2787 comment.
2788 (SH64PCREL16_M, MOVI_16_M): Correct range thinko.
2789 (SH64PCREL48_M, MOVI_48_M): Similar; don't count in length of
2790 expansion.
2791 (SH64PCREL32_M, MOVI_32_M): Ditto; handle overflowing expression.
2792 Correct comment.
2793 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
2794 * config/tc-sh64.c (shmedia_md_apply_fix) <second switch, case
2795 BFD_RELOC_SH_PT_16>: Set lowest bit in field to be relocated to 1.
2796 (shmedia_md_convert_frag) <case C (SH64PCREL16_32, SH64PCREL16) et
2797 al>: Set lowest bit of field to relocate to 1 and rest to empty,
949f2b5c 2798 if reloc is emitted.
324bfcf3
AO
2799 2000-12-31 Hans-Peter Nilsson <hpn@cygnus.com>
2800 New options plus bugfixes.
2801 * config/tc-sh.c (md_longopts): New options "-no-expand" and
2802 "-expand-pt32".
2803 (md_parse_option): Handle new options.
2804 (md_show_usage): Add blurb for new options.
2805 * config/tc-sh64.c (SHMEDIA_BFD_RELOC_PT): New macro.
2806 (sh64_expand, sh64_pt32): New variables.
2807 (shmedia_init_reloc): Handle BFD_RELOC_SH_PT_16.
2808 (shmedia_md_apply_fix): Hold original fixP->fx_r_type in
f6cf69d7 2809 orig_fx_r_type. Change SHMEDIA_BFD_RELOC_PT into
324bfcf3
AO
2810 BFD_RELOC_SH_PT_16. Handle BFD_RELOC_SH_PT_16 as pc-relative.
2811 <resolved previously-pc-relative relocs>: Handle
2812 SHMEDIA_BFD_RELOC_PT and BFD_RELOC_SH_PT_16.
2813 (shmedia_md_convert_frag) <case C (SH64PCREL16PT_64, SH64PCREL16),
2814 case C (SH64PCREL16PT_32, SH64PCREL16)>: Modify to PTB if operand
2815 points to SHcompact code.
2816 <case C (SH64PCREL16_32, SH64PCREL16), case C (SH64PCREL16_64,
2817 SH64PCREL16)>: Check that ISA of what operand points at and
2818 PTA/PTB matches, or emit error.
2819 (shmedia_check_limits): Handle BFD_RELOC_SH_PT_16 and
2820 SHMEDIA_BFD_RELOC_PT.
2821 (shmedia_immediate_op): If pcrel, emit fixup also for constant
2822 operand.
2823 (shmedia_build_Mytes) <case A_IMMS16>: Also check sh64_expand in
2824 condition for MOVI expansion.
2825 <case A_PCIMMS16BY4>: Handle expansion to 32 bits only, if
2826 sh64_pt32. Emit only a BFD_RELOC_SH_PT_16 fixup if not
2827 sh64_expand.
2828 <case A_PCIMMS16BY4_PT>: Likewise, but emit a SHMEDIA_BFD_RELOC_PT
2829 fixup.
2830 (sh64_target_format): Error-check setting of sh64_pt32 and
2831 sh64_expand. Fix typo in check for sh64_shcompact_const_crange.
2832 (shmedia_md_pcrel_from_section): Handle BFD_RELOC_SH_PT_16 and
2833 SHMEDIA_BFD_RELOC_PT as coming from SHmedia code.
2834 2000-12-31 Hans-Peter Nilsson <hpn@cygnus.com>
2835 * config/tc-sh64.c: Improve comments.
2836 (shmedia_md_convert_frag): Remove inactive is_pt_variant code. Do
2837 not say the linker will check correctness of PTA/PTB expansion.
2838 (shmedia_md_end): Make non-static.
2839 * config/tc-sh64.h (md_end): Define to shmedia_md_end. Add
2840 prototype.
2841 * config/tc-sh.c (sh_finalize): Remove.
2842 * config/tc-sh.h (md_end): Do not define.
2843 Remove prototype for sh_finalize.
2844 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
2845 * config/tc-sh64.c (shmedia_frob_section_type): Use a struct
2846 sh64_section_data container when storing section type in tdata
2847 field in elf_section_data.
2848 * config/tc-sh.c (sh_elf_final_processing): Change from EF_SH64 to
2849 EF_SH5.
2850 * Makefile.am: Update dependencies.
2851 * Makefile.in: Regenerate.
2852 2000-12-22 Hans-Peter Nilsson <hpn@cygnus.com>
2853 * config/tc-sh64.c (shmedia_md_assemble): Don't protect
2854 dwarf2_emit_insn call with test on debug_type.
2855 2000-12-19 Hans-Peter Nilsson <hpn@cygnus.com>
2856 * config/tc-sh64.c (sh64_set_contents_type): Make contents-type
2857 CRT_SH5_ISA32 sticky for 64-bit.
2858 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
2859 Generate .crange sections when switching ISA mode or emitting
2860 constants in same section as code.
2861 * config/tc-sh64.c: Reformat structure definitions.
2862 (sh64_end_of_assembly, sh64_mix, sh64_shcompact_const_crange): New
2863 variables.
2864 (sh64_set_contents_type): Rename from sh64_init_section. Rewrite
2865 to emit a .cranges descriptor when contents type changes. Only
2866 emit error if changing contents type and -no-mix is in effect.
2867 (sh64_emit_crange, sh64_flush_last_crange, sh64_flag_output,
2868 sh64_flush_pending_output, sh64_tc_cons_fix_new): New functions.
2869 (shmedia_md_end): Set sh64_end_of_assembly. Pass
2870 sh64_flush_last_crange over sections.
2871 When checking main symbol of datalabel symbol, check for
2872 STO_SH5_ISA32, not ISA type of section in definition.
2873 (shmedia_frob_file_before_adjust): Check main symbol for
2874 STO_SH5_ISA32; don't check ISA type of section in definition.
2875 (shmedia_frob_section_type): Adjust for .cranges; set section flag
2876 to SHF_SH5_ISA32_MIXED or SHF_SH5_ISA32 according to whether
2877 .cranges entries have been output.
2878 (shmedia_elf_new_section): Just call md_flush_pending_output.
2879 (shmedia_md_assemble): Do not emit a BFD_RELOC_SH_SHMEDIA_CODE
2880 fix. Do not set tc_segment_info_data.in_code for section. Call
2881 sh64_set_contents_type for SHmedia code.
2882 (s_sh64_mode): Do not call sh64_init_section or set seen_insn to
2883 false. Call md_flush_pending_output.
2884 (sh64_target_format): Check that -no-mix and
2885 -shcompact-const-crange are used in sane combination with other
2886 options.
2887 (shmedia_md_pcrel_from_section): Check type of fix for how to
2888 adjust pc-relative.
2889 (sh64_consume_datalabel): Check symbol for having STO_SH5_ISA32,
2890 not ISA type of section in definition.
2891 * config/tc-sh64.h (struct sh64_segment_info_type): Rewrite to
2892 hold contents-type state.
2893 (md_flush_pending_output): Redefine to sh64_flush_pending_output.
2894 (sh64_flush_pending_output): Declare.
2895 (TC_CONS_FIX_NEW): Define to sh64_tc_cons_fix_new.
2896 (sh64_tc_cons_fix_new): Declare.
2897 * config/tc-sh.c (sh_elf_cons) [HAVE_SH64]: Unset seen_insn and
2898 call sh64_flag_output.
2899 (md_assemble) [HAVE_SH64]: Do not emit BFD_RELOC_SH_CODE. Just
2900 call sh64_set_contents_type to mark SHcompact code and set
2901 seen_insn.
2902 (md_longopts): New options "-no-mix" and
2903 "-shcompact-const-crange".
2904 (md_parse_option): Handle new options.
2905 (md_show_usage): Add blurb for new options.
2906 (md_number_to_chars) [HAVE_SH64]: Call sh64_flag_output.
2907 2000-12-15 Hans-Peter Nilsson <hpn@cygnus.com>
2908 * config/tc-sh64.c: Delete investigated and obsolete fixme:s.
2909 (sh64_last_insn_frag): New.
2910 (shmedia_md_convert_frag): Use tc_frag_data field of incoming frag
2911 to get frag for insn opcode for generating fixups; do not assume it
2912 is the same frag.
2913 (shmedia_build_Mytes): Set sh64_last_insn_frag after growing frag
2914 for new insn.
2915 * config/tc-sh64.h (ELF_TC_SPECIAL_SECTIONS): Define for .cranges
2916 section.
2917 (TC_FRAG_TYPE): Define as fragS *.
2918 (TC_FRAG_INIT): Define to set tc_frag_data to sh64_last_insn_frag.
2919 (sh64_last_insn_frag): Declare.
2920 (sh64_consume_datalabel): Fix typo; check for seginfo != NULL,
2921 not == NULL before dereferencing.
2922 2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com>
2923 Get rid of BFD section flag and EF_SH64_ABI64.
2924 * config/tc-sh64.c (shmedia_frob_section_type): Use
2925 elf_section_data (sec)->tdata, not a specific BFD section flag, to
2926 communicate the section as containing SHmedia code. Describe why.
2927 * config/tc-sh.c (sh_elf_final_processing): Tweak comment. Set
2928 EF_SH64 regardless of ABI.
2929 * config/tc-sh64.c (shmedia_md_apply_fix): Decapitalize "invalid"
2930 in error message. Handle resolved expressions for
2931 BFD_RELOC_SH_IMMS10, BFD_RELOC_SH_IMMS10BY2,
2932 BFD_RELOC_SH_IMMS10BY4 and BFD_RELOC_64.
2933 (shmedia_check_limits): Handle BFD_RELOC_64.
2934 (sh64_adjust_symtab): Do not decrement the GAS symbol value for
2935 a STO_SH5_ISA32 symbol, only the BFD value.
2936 2000-12-11 Ben Elliston <bje@redhat.com>
2937 * config/tc-sh64.c: Call dwarf2_emit_insn, not the defunct
2938 dwarf2_generate_asm_lineno.
2939 2000-12-11 Hans-Peter Nilsson <hpn@cygnus.com>
2940 Handle PC-relative MOVI expansions with assembler relaxation.
2941 Generate PC-relative relocs from 16-bit PC-relative expressions.
2942 * config/tc-sh64.c (SHMEDIA_MD_PCREL_FROM_FIX): Break out from...
2943 (shmedia_md_pcrel_from_section): ...here.
2944 (shmedia_md_apply_fix): Handle fixups for 16-bit operands that has
2945 turned completely resolved. Adjust relocation type for 16-bit
f6cf69d7 2946 immediate operands that has turned PC-relative. Adjust back for
324bfcf3
AO
2947 MD_PCREL_FROM_SECTION being applied twice.
2948 (shmedia_md_convert_frag): Always emit reloc for expression with
2949 global or weak symbol. Handle relaxation result for PC-relative
2950 expressions.
2951 (shmedia_md_estimate_size_before_relax): An expression with a weak
2952 or global symbol can not be relaxed. Break out tests for
2953 relaxable symbol into variable sym_relaxable.
2954 <cases C (MOVI_IMM_64, UNDEF_MOVI) and C (MOVI_IMM_32,
2955 UNDEF_MOVI)>: Break out any PC-relative expression and change
2956 relaxation type.
2957 (shmedia_build_Mytes): CSE &operands->operands[j] into variable
2958 opjp.
2959 <case A_IMMS16>: Fix typo for initial minor relaxation type of
f6cf69d7 2960 MOVI expansion. If X_op_symbol of the immediate expression is
324bfcf3
AO
2961 set, make an expression symbol for the argument to frag_var.
2962 * config/tc-sh.c (MOVI_IMM_32_PCREL, MOVI_IMM_64_PCREL): New
2963 relaxations.
2964 (END): Adjust for new relaxations.
2965 (md_relax_table): Add entries for new relaxations.
2966 2000-12-07 Ben Elliston <bje@redhat.com>
2967 * config/tc-sh64.c (shmedia_parse_reg): Initialize variable len.
2968 2000-12-07 Hans-Peter Nilsson <hpn@cygnus.com>
2969 * config/tc-sh64.c (shmedia_md_convert_frag): Correct all MOVI and
2970 SHORI operand offsets in PT/PTA/PTB expansions.
2971 2000-12-05 Hans-Peter Nilsson <hpn@cygnus.com>
2972 Implement DataLabel semantics.
2973 * config/tc-sh.c (sh_frob_file) [HAVE_SH64]: Call
2974 shmedia_frob_file_before_adjust.
2975 * config/tc-sh64.c [! OBJ_ELF]: Emit #error.
2976 (DATALABEL_SUFFIX): Define.
2977 (shmedia_md_end) <before adjusting STO_SH5_ISA32 symbols>: Walk
2978 symbol list to update "datalabel" symbols to their main symbol
2979 counterparts.
2980 (shmedia_frob_file_before_adjust): New.
2981 (sh64_adjust_symtab): For remaining datalabel symbols, set to
2982 undefined and set STT_DATALABEL.
2983 (sh64_frob_label): Initialize TC symbol field.
f6cf69d7 2984 (sh64_consume_datalabel): Actually implement semantics. New
324bfcf3
AO
2985 parameter operandf, call it instead of expression.
2986 (sh64_exclude_symbol): New.
2987 * config/tc-sh64.h (md_parse_name): Pass on the function operand
2988 to sh64_consume_datalabel.
2989 (tc_symbol_new_hook): Define to tc_frob_symbol.
2990 (TC_SYMFIELD_TYPE): Define to symbolS *.
2991 (tc_frob_symbol): Define to call sh64_exclude_symbol.
2992 2000-12-01 Hans-Peter Nilsson <hpn@cygnus.com>
2993 * config/tc-sh64.c (shmedia_init_reloc): Tweak comment for default
2994 case.
2995 (shmedia_md_assemble): Call dwarf2_generate_asm_lineno if
2996 generating dwarf2 debug information.
2997 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com>
2998 * config/tc-sh64.c (sh64_target_format): Use elf64-sh64l and
2999 elf64-sh64 for the 64-bit ABI.
3000 * config/tc-sh.c (md_show_usage): Tweak usage output for -abi=*
3001 option.
3002 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com>
3003 * config/tc-sh.c: Remove conditionalizing on HAVE_SH64 for
3004 case-insensitivity.
3005 2000-11-27 Hans-Peter Nilsson <hpn@cygnus.com>
3006 * config/tc-sh64.c: Tweak comments, formatting and error messages.
3007 (enum sh64_abi_values): New type.
3008 (enum sh64_isa_values): New type.
3009 (sh64_isa_mode): Replace shmedia_mode. All referers changed.
3010 (seen_shcompact_mode, seen_shmedia_mode): Delete.
3011 (sh64_abi): Replace shmedia_64.
3012 (shmedia_md_convert_frag) <C (MOVI_IMM_64, MOVI_64),
3013 C (MOVI_IMM_32, MOVI_32)>: Correct register number handling.
3014 (s_sh64_mode): Check validity for this target.
3015 (sh64_target_format): Initialize defaults for ISA and ABI.
3016 Fallback to old object format if no SH64 ISA or ABI has been
3017 specified.
3018 * config/tc-sh.c (md_parse_option): Check combinations for errors.
3019 (sh_elf_final_processing): Change to have EF_SH64_ABI64 for 64-bit
3020 ABI and EF_SH64 for 32-bit ABI, if SH64 options are specified.
3021 * config/tc-sh64.h: Fix typo in comment.
3022 2000-11-25 Hans-Peter Nilsson <hpn@cygnus.com>
3023 * config/tc-sh64.c (shmedia_md_estimate_size_before_relax)
3024 <PT fixups for absolute values>: Size will be longest, not
3025 shortest.
3026 (shmedia_md_convert_frag): Disable PTB-warning machinery. Correct
3027 all MOVI and SHORI operand offsets in PT/PTA/PTB expansions.
3028 * config/tc-sh.c (parse_reg) [HAVE_SH64]: Add local variables l0
3029 and l1 to hold lowercase of two first characters. Change all
3030 remaining TO_LOWER to tolower.
3031 * config/tc-sh64.c (TO_LOWER): Delete.
3032 (shmedia_find_cooked_opcode): Use tolower, not TO_LOWER.
3033 (md_parse_name): Define.
3034 (sh64_consume_datalabel): Declare.
3035 (DOLLAR_DOT): Define.
3036 * config/tc-sh64.c (shmedia_parse_exp): New.
3037 (sh64_consume_datalabel): New; just ignoring datalabel semantics.
3038 (shmedia_parse_reg): Remove const from src
3039 parameter.
3040 (shmedia_get_operands): Ditto for args parameter and ptr variable.
3041 (shmedia_md_assemble): Ditto for op_end variable.
3042 (shmedia_get_operand): Ditto for ptr parameter and src variable.
3043 Use shmedia_parse_exp, not parse_exp.
3044 * config/tc-sh64.c (shmedia_parse_reg): Add shmedia_arg_type
3045 parameter. All callers changed.
3046 (shmedia_get_operand): Add shmedia_arg_type parameter. All
3047 callers changed.
3048 (shmedia_parse_reg): Put first two character in local variables.
3049 Use tolower, not TO_LOWER. If no register is found and argtype
3050 indicates a control register, scan shmedia_creg_table
3051 case-insensitive.
3052 2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com>
3053 * Makefile.am (CPU_TYPES): Add sh64.
3054 (TARGET_CPU_CFILES): Add config/tc-sh64.c.
3055 (TARGET_CPU_HFILES): Add config/tc-sh64.h.
3056 Regenerate dependencies.
3057 * Makefile.in: Regenerate.
3058 * configure.in: Add support for sh64-*-elf*.
3059 * configure: Regenerate.
3060 * config/tc-sh64.h: New.
3061 * config/tc-sh64.c: New.
3062 * config/tc-sh.c (md_pseudo_table) [HAVE_SH64]: New pseudos
3063 .mode, .isa and .uaquad.
3064 [HAVE_SH64] (SH64PCREL16_32, SH64PCREL16_64, SH64PCREL16PT_32,
3065 SH64PCREL16PT_64, MOVI_IMM_32, MOVI_IMM_64): Define.
3066 [HAVE_SH64] (END): Define as 10.
3067 [HAVE_SH64] (UNDEF_SH64PCREL, SH64PCREL16, SH64PCREL32,
3068 SH64PCREL48, SH64PCREL64, UNDEF_MOVI, MOVI_16, MOVI_32, MOVI_48,
3069 MOVI_64): Define.
3070 [HAVE_SH64] (SH64PCREL16_F, SH64PCREL16_M, SH64PCREL16_LENGTH,
3071 SH64PCREL32_F, SH64PCREL32_M, SH64PCREL32_LENGTH, SH64PCREL48_F,
3072 SH64PCREL48_M, SH64PCREL48_LENGTH, SH64PCREL64_LENGTH,
3073 MOVI_16_LENGTH, MOVI_32_LENGTH, MOVI_48_LENGTH, MOVI_64_LENGTH):
3074 Define.
3075 (md_relax_table) [HAVE_SH64]: Provide relaxations for SHmedia.
3076 (md_begin) [HAVE_SH64]: Call shmedia_md_begin.
3077 (parse_reg) [HAVE_SH64]: Parse register names case-insensitive.
3078 (md_assemble) [HAVE_SH64]: Call shmedia_md_assemble if assembling
3079 SHmedia instructions. Handle state-change after switching to
3080 SHcompact.
3081 (md_longopts) [HAVE_SH64]: New options --isa=* and --abi=*.
3082 (md_parse_option) [HAVE_SH64]: Parse new options.
3083 (md_show_usage) [HAVE_SH64]: Show usage of new options.
3084 (md_convert_frag) [HAVE_SH64] <default>: Call
3085 shmedia_md_convert_frag instead of abort.
3086 (sh_force_relocation) [HAVE_SH64]: Also force relocation for
3087 BFD_RELOC_SH_SHMEDIA_CODE.
3088 (sh_elf_final_processing) [HAVE_SH64]: Set flags identifying
3089 SHcompact or SHmedia code.
3090 (md_apply_fix) [HAVE_SH64] <default>: Return result from calling
3091 shmedia_md_apply_fix instead of abort.
3092 (md_estimate_size_before_relax) [HAVE_SH64] <default>: Return
3093 result from calling shmedia_md_estimate_size_before_relax instead
3094 of calling abort.
3095 (sh_do_align) [HAVE_SH64]: If shmedia_mode, let shmedia_do_align
3096 do the work.
3097 (tc_gen_reloc) [HAVE_SH64]: For unrecognized relocs, call
3098 shmedia_init_reloc and do nothing more if it returns non-zero.
3099 (sh_finalize) [HAVE_SH64]: Call shmedia_md_end.
3100 * po/POTFILES.in: Regenerate.
3101 * po/gas.pot: Regenerate.
3102
ac3f04d7
AO
31032002-02-06 Alexandre Oliva <aoliva@redhat.com>
3104
6b32719e
AO
3105 * config/tc-sh.c (parse_at): Install the correct version of
3106 2002-02-04's patch.
949f2b5c 3107
ac3f04d7
AO
3108 * config/tc-sh.c (md_apply_fix3) <BFD_RELOC_32_PLT_PCREL>: Don't
3109 assume fixP->fx_subsy is non-NULL.
3110
7679ead9
AO
31112002-02-04 Alexandre Oliva <aoliva@redhat.com>
3112
3113 * config/tc-sh.c (parse_at): Set arg type of @(expr,pc) to
fdf4122d 3114 A_DISP_PC_ABS, and adjust it by -4.
7679ead9
AO
3115 (get_specific): Accept A_DISP_PC_ABS where A_DISP_PC is
3116 expected.
3117 (build_Mytes): Mark PCRELIMM fix-ups as pc-relative only if
3118 the operand type is not A_DISP_PC_ABS.
3119
5459d7a0
HPN
31202002-02-04 Hans-Peter Nilsson <hp@bitrange.com>
3121
3122 * config/tc-mmix.c (tc_gen_reloc): Don't try and take the value of
3123 common and weak symbols. Handle common and weak symbols as
3124 undefined symbols with regards to GREG handling and merging.
3125 (mmix_frob_file): Ditto.
3126
006336b8
JT
31272002-02-02 Jason Thorpe <thorpej@wasabisystems.com>
3128
3129 * configure.in (hppa-*-netbsd*): New target.
3130 * configure: Regenerate.
3131 * config/tc-hppa.h: Also define WARN_COMMENTS if TE_NetBSD.
3132
9e0665bc
AM
31332002-02-02 Alan Modra <amodra@bigpond.net.au>
3134
3135 * config/tc-v850.c: Add missing prototypes amd use old-style
3136 function definitions.
3137 (AREA_ZDA, AREA_SDA, AREA_TDA): Delete.
3138 (sdata_section tdata_section, zdata_section, sbss_section,
3139 tbss_section, zbss_section, rosdata_section, rozdata_section,
3140 scommon_section, tcommon_section, zcommon_section,
3141 call_table_data_section, call_table_text_section): Delete.
3142 (v850_sdata, v850_tdata, v850_zdata, v850_sbss, v850_tbss,
3143 v850_zbss, v850_bss, v850_rosdata, v850_rozdata,
3144 v850_call_table_data, v850_call_table_text): Delete.
3145 (struct v850_seg_entry): New.
3146 (v850_seg_table): New.
3147 (SDATA_SECTION TDATA_SECTION, ZDATA_SECTION, SBSS_SECTION,
3148 TBSS_SECTION, ZBSS_SECTION, BSS_SECTION, ROSDATA_SECTION,
3149 ROZDATA_SECTION, SCOMMON_SECTION, TCOMMON_SECTION, ZCOMMON_SECTION,
3150 CALL_TABLE_DATA_SECTION, CALL_TABLE_TEXT_SECTION): Define.
3151 (do_v850_seg): New.
3152 (v850_seg): New.
3153 (v850_comm): Use do_v850_seg and v850_seg_table. Simplify
3154 recording of alignment.
3155 (md_pseudo_table): Use v850_seg.
3156 (md_begin): Don't init .call_table_data and .call_table_text here.
3157 Set v850_seg_table bss entry.
3158
973eb340
HPN
31592002-02-01 Hans-Peter Nilsson <hp@bitrange.com>
3160
3161 Support on-demand global register allocation by passing on
3162 base-plus-offset relocs to the linker.
3163 * config/tc-mmix.c: Tweak and fix typos in comments.
949f2b5c 3164 (allocate_undefined_gregs_in_linker): New variable.
973eb340
HPN
3165 (OPTION_LINKER_ALLOCATED_GREGS): New option macro.
3166 (md_longopts): Add --linker-allocated-gregs.
3167 (md_parse_option) <case 'x'>: Imply --linker-allocated-gregs.
3168 <case OPTION_LINKER_ALLOCATED_GREGS>: New.
3169 (md_show_usage): Update text for -x. Add text for
3170 --linker-allocated-gregs.
3171 (tc_gen_reloc): Derive default value for addend from val and
3172 baddsy. Use addsec and bfd_is_abs_section in more places. Don't
3173 emit error for BFD_RELOC_MMIX_BASE_PLUS_OFFSET without suitable
3174 GREG if allocate_undefined_gregs_in_linker.
3175 * doc/as.texinfo (Overview) <Target MMIX options>: Add
3176 --linker-allocated-gregs.
3177 * doc/c-mmix.texi (MMIX-Opts): Add blurb about
3178 --linker-allocated-gregs. Mention that it's implied by -x.
3179 (MMIX-Pseudos) <GREG>: Mention when and how a GREG can be omitted.
3180 (MMIX-mmixal): Clarify dated comparison and location of MMIXware.
3181
3182 * config/tc-mmix.h (md_parse_name): Use ISUPPER, not isupper.
3183
ba323545
AM
31842002-02-01 Alan Modra <amodra@bigpond.net.au>
3185
3186 * Makefile.am: Run "make dep-am"
3187 * Makefile.in: Regenerate.
3188
3b16e843
NC
31892002-01-31 Ivan Guzvinec <ivang@opencores.org>
3190
3191 * config/tc-or32.c: New file.
3192 * config/tc-or32.h: New file.
3193 * configure.in: Add support for or32 targets.
3194 * configure: Regenerate.
3195 * config/obj-coff.c: Add support for or32 targets.
3196 * config/obj-coff.h: Add support for or32 targets.
3197 * Makefile.am: Add support for or32 targets.
3198 * Makefile.in: Regenerate.
3199 * NEWS: Mention support for OpenRISC.
3200 * doc/Makefile.in: Regenerate.
3201 * po/POTFILES.in: Regenerate.
3202 * po/gas.pot: Regenerate.
3203
912a07db
RS
32042002-01-30 Richard Sandiford <rsandifo@redhat.com>
3205
3206 * config/tc-sh.c (parse_reg): Fix end-of-word check for is, ix, iy
3207 and mod.
3208
4514d474
CD
32092002-01-29 Chris Demetriou <cgd@broadcom.com>
3210
3211 * config/tc-mips.c (tc_gen_reloc): Arrange for
3212 BFD_RELOC_PCREL_HI16_S relocations to be output relative to
3213 their LO16 parts, even for ELF.
3214
246fcdee
DJ
32152002-01-29 Daniel Jacobowitz <drow@mvista.com>
3216
3217 * config/tc-i386.c: Protect definitions of true and false
3218 from redefinition.
3219
00e6e13d
JJ
32202002-01-28 Jakub Jelinek <jakub@redhat.com>
3221
3222 * config/obj-elf.c (elf_frob_file_before_adjust): Remove symbols
3223 made because of .weak, if they are neither defined nor used in any
3224 way.
3225
4867be41
DJ
32262002-01-27 Daniel Jacobowitz <drow@mvista.com>
3227
3228 * configure: Regenerated.
3229
7562a296
HPN
32302002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
3231
3232 * doc/Makefile.am (install): Depend on install-info.
3233 * doc/Makefile.in: Regenerate.
3234
1caa7b23
NC
32352002-01-26 Nick Clifton <nick@redhat.com>
3236
3237 * po/fr.po: Updated version
3238
166e23f9
KH
32392002-01-24 Kazu Hirata <kazu@hxi.com>
3240
3241 * config/tc-h8300.c (check_operand): Don't print a warning
3242 when a valid 24-bit address is given to a 16-bit address
3243 operand.
3244
538cd60f
AO
32452002-01-24 Alexandre Oliva <aoliva@redhat.com>
3246
3247 * config/tc-sh.c (sh_elf_suffix): Removed.
3248 (sh_PIC_related_p, sh_check_fixup, sh_cons_fix_new,
3249 sh_end_of_match, sh_parse_name): New functions.
3250 (sh_elf_cons): Simplify.
3251 (parse_exp): Reject misplaced PIC operands.
3252 (md_undefined_symbol): Simplify.
3253 (sh_fix_adjustable): Let @GOTOFF be adjusted.
3254 (md_apply_fix3): Write @PLT and @GOTOFF addends in place.
3255 (tc_gen_reloc): Move fixp subsy absolute value into addnumber.
3256 Complain if subsy remains at the end.
3257 * config/tc-sh.h (sh_parse_name, sh_cons_fix_new): Declare.
3258 (md_parse_name, TC_CONS_FIX_NEW, O_PIC_reloc): Define.
3259
b386f24b
AO
32602002-01-22 Alexandre Oliva <aoliva@redhat.com>
3261
3262 * config/tc-mn10300.c (xr_registers): Move `pc'...
3263 (other_registers): ... here.
3264
c46f0c34
AM
32652002-01-22 Alan Modra <amodra@bigpond.net.au>
3266
3267 * Makefile.am: Run "make dep-am".
3268 * Makefile.in: Regenerate.
3269 * gas/po/POTFILES.in: Regenerate.
3270
23deb923
DD
32712002-01-21 DJ Delorie <dj@redhat.com>
3272
3273 * config/obj-coff.c (obj_coff_init_stab_section): Make the
3274 stabstr_name allocation permanent, as it will be referenced from
3275 the section hash.
3276
9596feea
JT
32772002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
3278
3279 * configure.in (ia64-*-netbsd*): New target.
949f2b5c 3280 * configure: Regenerate.
9596feea 3281
92081f48
HPN
32822002-01-21 Hans-Peter Nilsson <hp@bitrange.com>
3283
3284 * doc/as.texinfo (Overview) <Target ARM options>: Add missing {}
3285 to @dots call.
3286 <Detailed description, ARM options>: Ditto.
3287 * doc/c-arm.texi (ARM Options): Ditto.
3288
63e63b07
RE
32892002-01-18 Richard Earnshaw <rearnsha@arm.com>
3290
3291 * tc-arm.c (do_xsc_mia, do_xsc_mar, do_xsc_mra): Renamed from
3292 do_mia, do_mar and do_mra respectively.
3293 (do_mav_*): Renamed from do_c_*.
3294 (mav_reg_required_here, mav_parse_offset): Renamed from
3295 cirrus_reg_required_here and cirrus_parse_offset respectively.
3296 (MAV_MODE?): Renamed from CIRRUS_MODE?.
3297
ea6ef066
RE
32982002-01-18 Richard Earnshaw <rearnsha@arm.com>
3299 Keith Walker <keith.walker@arm.com>
3300
3301 * tc-arm.c (ARM_EXT_V5J, ARM_ARCH_V5TEJ): Define.
3302 (insns): Add pattern for bxj instruction.
3303 (do_bxj): New function.
3304 (arm_cpus): Add arm926ej.
3305 (arm_archs): Add armv5tej.
3306
bc89618b
RE
33072002-01-18 Richard Earnshaw <rearnsha@arm.com>
3308
3309 * doc/c-arm.texi: Add new fpe options to list of supported flags.
3310
d193a22a
RE
33112002-01-19 Keith Walker <keith.walker@arm.com>
3312
3313 * tc-arm.c (arm_fpus): Add fpe2 and fpe3.
3314
03b1477f
RE
33152002-01-18 Richard Earnshaw <rearnsha@arm.com>
3316
3317 * NEWS: Mention new ARM command-line options and VFP support.
3318
949f2b5c 3319 * config/tc-arm.c (ARM_CEXT_XSCALE): Replaces ARM_EXT_XSCALE. All
03b1477f
RE
3320 uses changed.
3321 (ARM_CEXT_MAVERICK): Similarly.
3322 (ARM_ANY): Now means any core instruction.
3323 (CPU_DEFAULT): Default to ARM_ANY.
3324 (uses_apcs_26, atcps, support_interwork, uses_apcs_float)
3325 (pic_code): Declare for all object types. Make type int.
3326 (legacy_cpu, legacy_fpu, mcpu_cpu_opt, mcpu_fpu_opt, march_cpu_opt)
3327 (march_fpu_opt, mfpu_opt): Declare.
3328 (md_longopts): Tidy up conditional definitions.
3329 (arm_opts, arm_cpus, arm_archs, arm_fpus, arm_extensions)
3330 (arm_long_opts): New tables.
3331 (arm_parse_cpu, arm_parse_arch, arm_parse_fpu): New functions.
3332 (arm_parse_extension): New function.
3333 (md_parse_option): Rewrite using new table-driven system.
3334 (md_show_usage): Use new table-driven system.
3335 (md_begin): Calculate cpu_variant from command line option data.
3336 * doc/as.texinfo (ARM ISA options): Docuement new ARM-specific
3337 command-line options.
3338 * doc/c-arm.texi: Likewise.
3339
2a538ba5
AJ
33402002-01-18 Andreas Jaeger <aj@suse.de>
3341
3342 * as.c (parse_args): Update year.
3343
b1ffc257 33442002-01-17 Timothy Wall <twall@alum.mit.edu>
2a538ba5 3345
b1ffc257
TW
3346 * config/tc-tic54x.c (encode_address): Add a more informative
3347 warning about incorrect syntax.
3348
328577ad
NC
33492002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
3350
3351 * po/gas.pot: Regenerate.
3352
06f030db
NC
33532002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
3354
3355 * macro.c (get_any_string): Add no-c-format comment to prevent
3356 confusion when translating string.
3357 * gasp.c (get_any_string): Add no-c-format comment to prevent
3358 confusion when translating string.
3359
394f9b3a
TS
33602002-01-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
3361 Johannes Stezenbach <js@convergence.de>
3362 * config/tc-mips.c (percent_op): Ensure longer percent_op's are
3363 matched before the shorter ones.
3364 (my_getSmallParser): Fix handling of nested parentheses in
3365 percent_op's. Code cleanup.
3366 (my_getPercentOp): New function, code from my_getSmallParser.
3367 (my_getSmallExpression): Fix handling of closing parentheses.
3368 Code cleanup. Better comments.
3369
af3ae48d
NC
33702002-01-16 Nick Clifton <nickc@redhat.com>
3371
3372 po/tr.po: New file: Turkish translation.
3373 configure.in (LINGUAS): Add "tr".
3374 configure: Regenerate.
3375
bfae80f2
RE
33762002-01-15 Richard Earnshaw <rearnsha@arm.com>
3377
3378 Support for VFP instructions
3379 * tc-arm.c (CP_WB_OK, CP_NO_WB): New defines.
3380 (cp_address_required_here): New argument wb_ok. When false, do not
3381 accept write-back forms of addressing. Change all callers.
3382 (FPU_VFP_EXT_NONE, FPU_VFP_EXT_V1xD, FPU_VFP_VFP_V1)
3383 (FPU_VFP_EXT_V2): Define.
3384 (FPU_ARCH_VFP, FPU_ARCH_VFP_V1xD, FPU_ARCH_VFP_V1, FPU_ARCH_VFP_V2):
3385 Define in terms of above.
3386 (vfp_dp_reg_pos, vfp_sp_reg_pos, vfp_ldstm_type): New enums.
3387 (vfp_reg): New struct.
3388 (vfp_regs): New array of registers.
3389 (insns): Add VFP instructions.
3390 (sn_table): New array of VFP single-precision register names.
3391 (dn_table): New array of VFP double-precision register names.
3392 (all_reg_maps): Add the new register tables.
3393 (arm_reg_type): Add new values for above. Increase RET_TYPE_MAX.
3394 (vfp_sp_reg_required_here, vfp_dp_reg_required_here, do_vfp_sp_monadic)
3395 (do_vfp_dp_monadic, do_vfp_sp_dyadic, do_vfp_dp_dyadic)
3396 (do_vfp_reg_from_sp, do_vfp_sp_reg2, do_vfp_sp_from_reg)
3397 (do_vfp_reg_from_dp, do_vfp_reg2_from_dp, do_vfp_dp_from_reg)
3398 (do_vfp_dp_from_reg2, vfp_psr_parse, vfp_psr_required_here)
3399 (do_vfp_reg_from_ctrl, do_vfp_ctrl_from_reg, do_vfp_sp_ldst)
3400 (do_vfp_dp_ldst, vfp_sp_reg_list, vfp_dp_reg_list, vfp_sp_ldstm)
3401 (vfp_dp_ldstm, do_vfp_sp_ldstmia, do_vfp_sp_ldstmdb, do_vfp_ldstmia)
3402 (do_vfp_dp_ldstmdb, do_vfp_xp_ldstmia, do_vfp_xp_ldstmdb)
3403 (do_vfp_sp_compare_z, do_vfp_dp_compare_z, do_vfp_dp_sp_cvt)
3404 (do_vfp_sp_dp_cvt): New functions.
3405 (md_begin): Set soft-float flag for appropriate VFP work.
3406 (md_atof): Handle VFP-format doubles.
3407 (md_parse_option): Handle VFP command-line options.
3408 (md_show_usage): Display VFP command-line options.
3409
fcd6d8d6
RE
34102002-01-15 Richard Earnshaw <rearnsha@arm.com>
3411
2a538ba5 3412 * tc-arm.c (md_parse_option): Tidy up setting of cpu_variant for
fcd6d8d6
RE
3413 various command line options.
3414
1f7fd478
NC
34152002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
3416
3417 * config/tc-xstormy16.c: (xstormy16_fix_adjustable): Do not fix
3418 vtinherit relocs.
3419 (xstormy16_md_apply_fix3): Do not return a value.
3420
21f0f23a
RE
34212002-01-14 Richard Earnshaw <rearnsha@arm.com>
3422
3423 * tc-arm.c (md_longopts): On targets that aren't bi-endian, support
3424 the -EL/-EB option that matches the target's endianness.
3425 (md_parse_option): Likewise.
3426
ce058b6c
RE
34272002-01-14 Richard Earnshaw <rearnsha@arm.com>
3428
2a538ba5 3429 * tc-arm.c (md_longopts): Fix misplaced #endif -- the -oabi option
ce058b6c
RE
3430 is not dependent on ARM_BI_ENDIAN.
3431
f03698e6
RE
34322002-01-14 Richard Earnshaw <rearnsha@arm.com>
3433
3434 * tc-arm.c (all error messages): Normalize capitalization of messages.
3435
3436 * tc-arm.h (md_operand): Delete define.
3437 * tc-arm.c (in_my_get_expression): New static variable.
3438 (my_get_expression): Set and clear it.
3439 (md_operand): New function. If called from my_get_expression
3440 put the error in inst.error.
3441 (output_inst): Now takes argument of instruction being assembled.
3442 Print it out with any error message.
3443 (do_ldst, do_ldstv4, thumb_load_store): Fault attempt to use a store
3444 with '=' syntax.
3445 (end_of_line): Don't update inst.error if it is already set.
3446
e28cd48c
RE
34472002-01-11 Richard Earnshaw <rearnsha@arm.com>
3448
6088b00e 3449 * tc-arm.c (do_ldst): Fix handling an immediate expression pseudo
e28cd48c
RE
3450 op that can be translated into a mvn instruction.
3451
1cd8ff38
NC
34522002-01-11 Steve Ellcey <sje@cup.hp.com>
3453
3454 * gas/config/tc-ia64.h (MD_FLAGS_DEFAULT): New Macro for
3455 setting default md.flags.
3456 (SHT_INIT_ARRAY): New elf special section used by HP-UX.
3457 (SHT_FINI_ARRAY): New elf special section used by HP-UX.
3458 * gas/config/tc-ia64.c (setup_unwind_header): Add support
3459 for 32 bit unwind info blocks.
3460 (generate_unwind_image): Add support for different types
3461 of unwind images (32 bits and/or big-endian).
3462 (ia64_init): Use MD_FLAGS_DEFAULT to set md.flags.
3463 (ia64_target_format): Add support for hpux target formats.
3464 (ia64_gen_real_reloc_type): Add support for FUNC_IPLT_RELOC.
3465 (ia64_elf_section_type): Add support for SHT_INIT_ARRAY and
3466 SHT_FINI_ARRAY elf section types.
3467
6c43fab6
RE
34682002-01-10 Richard Earnshaw <rearnsha@arm.com>
3469
3470 * tc-arm.c (struct reg_entry): Move before prototypes.
3471 (int_register, cp_register, fp_register): Delete.
3472 (reg_table): Delete. Replaced with ...
3473 (rn_table, cp_table, cn_table, fn_table, mav_mvf_table)
3474 (mav_mvd_table, mav_mvfx_table, mav_mvdx_table, mav_mvax_table)
3475 (mav_dspsc_table): ... one table per register set.
3476 (arm_reg_hsh): Delete.
3477 (struct reg_map): New structure.
3478 (all_reg_maps): New array.
3479 (enum arm_reg_type): New enums.
3480 (build_reg_hsh): New function.
3481 (insert_reg_alias): Use hash table passed by caller. Adjust all
3482 callers.
3483 (create_register_alias): New function, split out from ...
3484 (md_assemble): ... here.
3485 (md_begin): Build new register hash tables.
3486 (arm_reg_parse): New argument for the hash table to search. Adjust all
3487 callers.
3488 (arm_reg_parse_any): New function.
3489 (co_proc_number): Look up the processor number in the processor hash
3490 table.
3491 (cirrus_regtype): Delete.
3492 (cirrus_register, cirrus_mvf_register, cirrus_mvd_register)
3493 (cirrus_mvfx_register, cirrus_mvdx_register, cirrus_mvax_register)
3494 (ARM_EXT_MAVERICKsc_register): Delete.
3495 (do_c_binops_1, do_c_binops_2, do_c_binops_3): Delete.
3496 (do_c_binops_1[a-o], do_c_binops_2[a-c], do_c_binops_3[a-d]): New
3497 functions.
3498 (do_c_triple_4, do_c_triple_5): Delete.
3499 (do_c_triple_4[ab], do_c_triple_5[a-h]): New functions.
3500 (do_c_quad_6): Delete.
3501 (do_c_quad_6[ab]): New functions.
3502 (do_c_binops, do_c_triple, do_c_quad, do_c_shift, do_c_ldst): Rework
3503 arguments to use new register parsing methods.
3504 (cirrus_reg_required_here): Likewise.
3505 (insns): Reclassify cirrus maverick worker functions.
3506 (cirrus_valid_reg): Delete.
3507
8d05742f
JT
35082002-01-07 Jason Thorpe <thorpej@wasabisystems.com>
3509
3510 * configure.in (sh*le): Set cpu_type=sh and endian=little.
3511 (sh*-*-netbsdelf*): New target.
3512 * configure: Regenerate.
2a538ba5 3513 * tc-sh.h: Update copyright years.
8d05742f
JT
3514 (TARGET_FORMAT): Add version for TE_NetBSD.
3515
ceac3f62
NC
35162002-01-07 Nick Clifton <nickc@cambridge.redhat.com>
3517
3518 * read.c (emit_expr): Do not allow 'size' or 'nbytes' to go
3519 negative.
3520
d7861ad2
AM
35212002-01-06 Alan Modra <amodra@bigpond.net.au>
3522
3523 * config/tc-m68k.h (md_prepare_relax_scan): Rewrite.
3524 * config/tc-m68k.c (md_relax_table): Add md_prepare_relax_scan comment.
3525
7a621144
DJ
35262002-01-05 Daniel Jacobowitz <drow@mvista.com>
3527
3528 * tc-mips.c (mips_cprestore_valid): New flag.
3529 (mips_frame_reg_valid): New flag.
3530 (macro) [M_JAL_2]: Check both flags.
3531 [M_JAL_A]: Likewise.
3532 (s_cprestore): Set mips_cprestore_valid.
3533 (tc_get_register): If setting mips_frame_reg, set
3534 mips_frame_reg_valid and clear mips_cprestore_valid.
3535 (s_mips_ent): Clear both flags.
3536 (s_mips_end): Clear both flags.
3537
7c6beb69
AM
35382002-01-05 Alan Modra <amodra@bigpond.net.au>
3539
3540 * write.c (write_object_file): Make use of bfd_section_list_remove.
3541 * config/obj-ecoff.c (ecoff_frob_file): Likewise.
3542 * config/tc-mmix.c (mmix_frob_file): Likewise.
3543
8a8b2d4b
AJ
35442002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
3545
3546 * configure.in (i386-*-netbsdelf*): Collapse target into...
3547 (i386-*-netbsd*): ...this. Add support for x86-64.
3548 * configure: Regenerated.
3549
a09cf9bd
MG
35502002-01-03 matthew green <mrg@redhat.com>
3551
3552 * config/tc-ppc.c (md_parse_option): BookE is not Motorola specific.
3553
23b7f870
NC
35542002-01-02 Nick Clifton <nickc@cambridge.redhat.com>
3555
3556 * config/tc-m68k.c (md_estimate_size_before_relax): Test for a
3557 NULL frag link.
3558
08d56133
NC
3559For older changes see ChangeLog-0001
3560\f
3561Local Variables:
3562mode: change-log
3563left-margin: 8
3564fill-column: 74
3565version-control: never
3566End:
This page took 0.270817 seconds and 4 git commands to generate.