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