*** empty log message ***
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
8f46beda
DD
12002-12-20 DJ Delorie <dj@redhat.com>
2
3 * config/tc-xstormy16.c (md_cgen_lookup_reloc): Support
4 BFD_RELOC_XSTORMY16_12.
5
5f5e16be
AM
62002-12-19 Alan Modra <amodra@bigpond.net.au>
7
8 * doc/as.texinfo (Invoking): Typo fix.
9 * config/tc-tic54x.c (encode_operand): Comment typo fix.
10
062b7c0c
KH
112002-12-18 Kazu Hirata <kazu@cs.umass.edu>
12
13 * doc/c-alpha.texi: Fix typos.
14 * doc/c-arm.texi: Likewise.
15 * doc/c-d10v.texi: Likewise.
16 * doc/c-i370.texi: Likewise.
17 * doc/c-i960.texi: Likewise.
18 * doc/c-ia64.texi: Likewise.
19 * doc/c-mmix.texi: Likewise.
20 * doc/c-ns32k.texi: Likewise.
21 * doc/c-pdp11.texi: Likewise.
22 * doc/c-pj.texi: Likewise.
23 * doc/c-sh64.texi: Likewise.
24 * doc/c-sparc.texi: Likewise.
25 * doc/c-tic54x.texi: Likewise.
26 * doc/c-v850.texi: Likewise.
27 * doc/c-vax.texi: Likewise.
28 * doc/internals.texi: Likewise.
29
82dd0097
CD
302002-12-18 Chris Demetriou <cgd@broadcom.com>
31
32 * config/tc-mips.c (macro): In M_DROL, M_DROR, M_ROL, and M_ROR,
33 use hardware rotate ops as appropriate. In M_DROL_I, M_DROR_I,
34 M_ROL_I, and M_ROR_I, simplify code, clean up warnings, and
35 arrange not to issue warnings about use of AT when AT is not
36 actually used.
37
9c3b31c6
NC
382002-12-17 Nick Clifton <nickc@redhat.com>
39
40 * as.c (std_longopts): Duplicate --keep-locals entry in order to
41 prevent it being confused with -k.
42
9bb76eb8
DD
432002-12-16 Andrew MacLeod <amacleod@redhat.com>
44
45 * config/tc-xstormy16.c (md_cgen_lookup_reloc): If a relocation
46 has already been set up, use it.
47
c03099e6
KH
482002-12-16 Kazu Hirata <kazu@cs.umass.edu>
49
50 * ChangeLog-9295: Fix a typo.
51 * README: Likewise.
52 * config/tc-d10v.c: Fix a comment typo.
53 * config/tc-dlx.c: Likewise.
54 * config/tc-h8300.h: Likewise.
55 * config/tc-h8500.h: Likewise.
56 * config/tc-mips.c: Likewise.
57 * config/tc-s390.c: Likewise.
58 * config/tc-sh.h: Likewise.
59 * config/tc-tic80.h: Likewise.
60 * config/tc-w65.h: Likewise.
61 * config/tc-z8k.c: Likewise.
62 * config/tc-z8k.h: Likewise.
63 * testsuite/gas/h8300/cmpsi2.s: Likewise.
64
4cd62c96
AM
652002-12-16 Alan Modra <amodra@bigpond.net.au>
66
30cdfbed
AM
67 * config/tc-d30v.c (check_range): Warning fixes, formatting.
68 Simplify sign extension. Remove redundant unsigned < 0 test.
69 * config/tc-i960.c (md_ri_to_chars): Prototype.
70 * config/tc-mcore.c (md_pseudo_table): Fix typo.
71 (dump_literals): Init brarsym, and test later instead of isforce.
72
4cd62c96
AM
73 * config/tc-ns32k.c (encode_operand): Constify operandsP and suffixP.
74 (parse): Constify line and lineptr.
75 (md_begin): Calculate endop here.
76
ebd0428f
AM
772002-12-13 Alan Modra <amodra@bigpond.net.au>
78
4eb4336c
AM
79 * config/obj-vms.c: Formatting. Include fnctl.h.
80 (Create_VMS_Object_File): Fix creat call for sane unix systems.
81 (Object_Record_Offset): Make it a size_t.
82 (Flush_VMS_Object_Record_Buffer): Fix signed/unsigned warning.
83 (VMS_TBT_Routine_End <Size>): Make var unsigned long.
84 (VMS_Fix_Indirect_Reference <Offset>): Make arg addressT.
85 (synthesize_data_segment <data_size>): Remove ATTRIBUTE_UNUSED.
86 (vms_fixup_data_section <data_size>): Add here instead.
ebd0428f
AM
87 * config/e-criself.c: Fix typo in last change.
88
78a33af2
AM
892002-12-13 Alan Modra <amodra@bigpond.net.au>
90
17fc154e
AM
91 * write.c (write_object_file): Fix signed/unsigned warning.
92 * config/e-crisaout.c (crisaout_bfd_name): Prototype.
93 * config/e-criself.c (criself_bfd_name): Prototype.
94 * config/obj-aout.c (s_sect): Remove unused function.
95 * config/obj-bout.c (obj_bout_line <ignore>): Add ATTRIBUTE_UNUSED.
96 * config/obj-coff.c (coff_last_bf): Don't declare for OBJ_XCOFF.
97 (fixup_mdeps <h>): Add ATTRIBUTE_UNUSED.
98 * config/obj-ecoff.c (ecoff_frob_file <addr>): Likewise.
99 * config/obj-vms.c (setup_basic_type <spnt>): Likewise.
100 (VMS_RSYM_Parse <Current_Routine>): Likewise.
101 (vms_fixup_text_section <text_siz>): Likewise.
102 (synthesize_data_segment <data_size>): Likewise.
103 (vms_fixup_xtors_section <sect_no>): Likewise.
104 (structure_count): Don't use implicit int type.
bfc866a6
AM
105 * config/tc-a29k.c (insert_sreg): Prototype.
106 (define_some_regs): Prototype, make static.
107 (parse_operand): Likewise.
108 (md_parse_option <c,arg>): Add ATTRIBUTE_UNUSED.
109 (md_show_usage <stream>): Likewise.
110 (md_section_align <segment>): Likewise.
111 (md_convert_frag <all args>): Likewise.
112 (md_estimate_size_before_relax <all args>): Likewise.
113 (md_apply_fix3): Don't cast valP pointer type. Fix bogus >>='s.
114 * config/tc-arm.c (arm_validate_fix): Only for OBJ_COFF or OBJ_ELF.
ebf19f1b
AM
115 * config/tc-d30v.c (md_parse_option <arg>): Add ATTRIBUTE_UNUSED.
116 (md_undefined_symbol <name>): Likewise.
117 (md_convert_frag <all args>): Likewise.
118 (write_long <opcode>): Likewise.
119 (tc_gen_reloc <seg>): Likewise.
120 (md_estimate_size_before_relax <all args>): Likewise.
121 (md_apply_fix3 <seg>): Likewise.
122 (s_d30v_align <ignore>): Likewise.
123 (build_insn): Correct format string.
124 (md_apply_fix3): Likewise.
33b5881a
AM
125 * config/tc-fr30.c (md_parse_option <c,arg>): Add ATTRIBUTE_UNUSED.
126 (md_undefined_symbol <name>): Likewise.
127 (md_convert_frag <all args>): Likewise.
128 (md_cgen_lookup_reloc <insn>): Likewise.
129 (md_begin): Delete unused vars.
130 (md_assemble): Likewise.
131 (md_estimate_size_before_relax): Likewise.
132 (fr30_relax_frag): #if 0 out, seems unused.
133 (md_atof): Remove declaration of atof_ieee.
134 (restore_colon): Prototype.
a08333bb
AM
135 * config/tc-frv.c (frv_insert_vliw_insn): Prototype.
136 (frv_find_in_vliw): Likewise.
137 (frv_debug_tomcat): Likewise.
138 (frv_adjust_vliw_count): Likewise.
139 (frv_tomcat_shuffle): Likewise.
140 (frv_tomcat_analyze_vliw_chains): Likewise. Correct args to
141 frv_find_in_vliw call.
142 (md_atof): Remove declaration of atof_ieee.
45e85b87
AM
143 * config/tc-h8500.c (cons): Delete declaration.
144 (md_begin <opcode>): Constify.
145 (displacement_size, immediate_size, absolute_size): Remove.
146 (build_relaxable_instruction <operand>): Add ATTRIBUTE_UNUSED.
147 (tc_crawl_symbol_chain <headers>): Likewise.
148 (md_undefined_symbol <name>): Likewise.
149 (tc_headers_hook <headers>): Likewise.
150 (md_parse_option <c,arg>): Likewise.
151 (md_show_usage <stream>): Likewise.
152 (md_convert_frag <headers, seg>): Likewise.
153 (tc_coff_symbol_emit_hook <ignore>): Likewise.
154 (md_atof): Remove declaration of atof_ieee.
155 (tc_aout_fix_to_chars): Remove unused function.
156 (parse_reg): Prototype.
157 (parse_exp): Prototype.
158 (skip_colonthing): Prototype. Use &&, not & in logical expressions.
159 (parse_reglist): Prototype.
160 (get_operand): Prototype.
161 (get_operands): Prototype.
162 (get_specific): Prototype. Make "this_index" signed.
163 (check): Prototype, make static.
164 (insert): Prototype
165 (build_relaxable_instruction): Prototype, make static.
166 (build_bytes): Prototype.
167 (wordify_scb): Prototype.
168 * config/tc-h8500.h (start_label): Declare.
169 (tc_coff_sizemachdep): Declare.
650f02e9
AM
170 * config/tc-i370.c (i370_ebcdic <unused>): Add ATTRIBUTE_UNUSED.
171 (i370_rmode <unused>): Likewise.
172 (i370_csect <unused>): Likewise.
173 (i370_dc <unused>): Likewise.
174 (i370_ds <unused>): Likewise.
175 (i370_elf_lcomm <unused>): Likewise.
176 (i370_ltorg <ignore>): Likewise.
177 (i370_using <ignore>): Likewise.
178 (i370_drop <ignore>): Likewise.
179 (i370_byte <ignore>): Likewise.
180 (i370_tc <ignore>): Likewise.
181 (md_estimate_size_before_relax <fragp, seg>): Likewise.
182 (md_convert_frag <all args>): Likewise.
183 (md_undefined_symbol <name>): Likewise.
184 (md_pcrel_from_section <sec>): Likewise.
185 (tc_gen_reloc <seg>): Likewise.
186 (i370_section_letter): #if 0 unused functions.
187 (i370_section_word, i370_section_type, i370_section_flags): Likewise.
188 (symbol_locate): Prototype.
d444b726
AM
189 * config/tc-i860.c (md_atof): Remove declaration of atof_ieee.
190 (md_number_to_disp, md_number_to_field): Remove.
191 (md_apply_fix3): Correct format string and cast "fup".
b9195351
AM
192 * config/tc-i960.c (md_convert_frag): Add ATTRIBUTE_UNUSED to args.
193 (s_endian <ignore>): Likewise.
194 (md_undefined_symbol <name>): Likewise.
195 (tc_crawl_symbol_chain <headers>): Likewise.
196 (tc_set_bal_of_call): Likewise.
197 (tc_coff_symbol_emit_hook <symbolP>): Likewise.
198 (i960_handle_align <fragp>): Likewise.
199 (i960_validate_fix <this_segment_type>): Likewise
200 (tc_gen_reloc <section>): Likewise.
201 (tc_coff_symbol_emit_hook): Only define for OBJ_COFF.
202 (struct memS, struct regop): Forward declare.
203 (brcnt_emit, brlab_next, cobr_fmt, ctrl_fmt, emit, get_args,
204 get_cdisp, get_ispec, get_regnum, i_scan, mem_fmt, mema_to_memb,
205 parse_expr, parse_ldconst, parse_memop, parse_po, parse_regop,
206 reg_fmt, relax_cobr, s_leafproc, s_sysproc, shift_ok, syntax,
207 targ_has_sfr, targ_has_iclass, tc_bfd_fix2rtype): Prototype.
208 (md_chars_to_number, md_number_to_imm): Make static, prototype.
209 (md_number_to_field): Likewise.
210 (md_number_to_disp): Remove unused function.
211 (md_atof): Remove declaration of atof_ieee.
212 (md_apply_fix3): Correct md_number_to_imm call.
64384dfd 213 * config/tc-ip2k.c (md_assemble): Warning fix.
78a0c6fb
AM
214 * config/tc-m32r.c (md_parse_option <arg>): Add ATTRIBUTE_UNUSED.
215 (fill_insn <ignore>): Likewise.
216 (debug_sym <ignore>): Likewise.
217 (md_undefined_symbol <name>): Likewise.
218 (m32r_scomm <ignore>): Likewise.
219 (md_convert_frag <abfd>): Likewise.
220 (md_cgen_lookup_reloc <insn>): Likewise.
221 (m32r_record_hi16 <seg>): Likewise.
222 (md_estimate_size_before_relax): #if 0 old_fr_fix.
223 (allow_m32rx): Prototype.
224 (first_writes_to_seconds_operands): Prototype.
225 (writes_to_pc): Prototype.
226 (can_make_parallel): Prototype.
227 (make_parallel): Prototype.
228 (target_make_parallel): Prototype.
229 (assemble_two_insns): Prototype.
230 (m32r_record_hi16): Prototype.
231 (md_atof): Remove declaration of atof_ieee.
232 * config/tc-m32r.h (m32r_fix_adjustable): Declare.
233 (m32r_force_relocation): Prototype.
234 (m32r_elf_section_change_hook): Prototype.
f1f5ef86
AM
235 * config/tc-m68k.c (tc_gen_reloc <section>): Add ATTRIBUTE_UNUSED.
236 (md_show_usage): Fix signed/unsigned warning.
38b9ac49
AM
237 * config/tc-m88k.c (get_reg): Make reg_prefix param unsigned.
238 (calcop): Ditto for reg_prefix var.
239 (hexval): Add cast to fix signed/unsigned warning.
240 (md_number_to_disp): Delete unused function.
241 (md_number_to_field): Likewise.
242 (float_cons, cons, s_globl, s_space, s_set, s_lcomm): Remove decl.
243 (match_name): Prototype.
244 (get_bf2): Prototype.
245 (get_bf_offset_expression): Prototype.
aa699a2c
AM
246 * config/tc-mcore.c (mcore_s_literals <ignore>): Add ATTRIBUTE_UNUSED.
247 (md_undefined_symbol <ignore>): Likewise.
248 (md_create_short_jump <all args>): Likewise.
249 (md_create_long_jump <all args>): Likewise.
250 (md_convert_frag <abfd, sec>): Likewise.
251 (md_apply_fix3 <segment>): Likewise.
252 (md_section_align <segment>): Likewise.
253 (md_pcrel_from_section <sec>): Likewise.
254 (tc_gen_reloc <section>): Likewise.
255 (reg_m, reg_n, immediate): Delete unused vars.
256 (dump_literals): Fix signed/unsigned warning.
257 (enter_literal): Likewise.
258 (parse_imm): Likewise. Also fix format string.
259 (parse_mem): Remove unused var.
260 (md_assemble <LS>): Abort on unexpected inst.
261 (md_atof): Remove declaration of atof_ieee.
262 (md_parse_option): Remove unused vars.
263 (md_apply_fix3): Fix format strings, cast args.
264 (tc_gen_reloc): Delete unused var.
265 * config/tc-mcore.h (tc_coff_sizemachdep): Declare.
2a8ce8da
AM
266 * config/tc-mn10200.c (md_parse_option <c, arg>): Add ATTRIBUTE_UNUSED.
267 (md_undefined_symbol <name>): Likewise.
268 (md_convert_frag <abfd>): Likewise.
269 (tc_gen_reloc <seg>): Likewise.
270 (check_operand <insn>): Likewise.
271 (md_convert_frag): Fix format strings.
272 (tc_gen_reloc): Delete fx_addsy - fx_subsy code.
717acf4b
AM
273 * config/tc-openrisc.c (ignore_pseudo): Prototype.
274 (md_atof): Remove declaration of atof_ieee.
275 * config/tc-or32.c (parse_operand): Prototype non-BFD too.
276 (md_apply_fix3): Fix bogus >>='s.
277 (md_undefined_symbol): Delete unused var.
0e073f4c
AM
278 * config/tc-pj.c (little, big, parse_exp_save_ilp): Prototype.
279 (c_to_r, ipush_code, fake_opcode, alias): Likewise.
280 (fake_opcode): Adjust for pj_opc_int_t change.
281 (md_begin): Likewise.
282 (md_assemble): Likewise.
283 (ipush_code): Correct parse_exp_save_ilp call. Test pending_reloc
284 instead of non-existent third arg of parse_exp_save_ilp.
285 (md_parse_option): Correct "little" and "big" calls.
a7982600
AM
286 * config/tc-sparc.c (s_register): Only declare #ifdef OBJ_ELF.
287 (md_apply_fix3 <segment>): Add ATTRIBUTE_UNUSED.
288 (tc_gen_reloc <section>): Likewise.
167795c4
AM
289 * config/tc-tic30.c: #include stdarg.h or varargs.h.
290 (debug): Rewrite using VA_* macros.
291 (md_estimate_size_before_relax): Add ATTRIBUTE_UNUSED to args.
292 (md_convert_frag): Likewise.
293 (md_parse_option): Likewise.
294 (md_show_usage): Likewise.
295 (md_undefined_symbol): Likewise.
296 (tc_gen_reloc): Likewise.
297 (md_operand): Likewise.
298 (tc_aout_pre_write_hook): Delete.
299 (struct tic30_insn): Make "operands" unsigned.
300 (struct tic30_par_insn): Likewise.
301 (md_assemble): Likewise for "count", "i" and "numops".
302 (tic30_parallel_insn): Likewise for vars here.
303 (tic30_operand): Likewise. Remove useless unsigned >= 0 comparison.
304 * config/tc-tic30.h (tc_aout_pre_write_hook): Define as empty.
305 * config/tc-tic80.c (obj_coff_section): Delete declaration.
306 (md_estimate_size_before_relax): Add ATTRIBUTE_UNUSED on args.
307 (md_undefined_symbol): Likewise.
308 (md_parse_option): Likewise.
309 (md_convert_frag): Likewise.
310 (tc_coff_symbol_emit_hook): Likewise.
311 (md_atof): Remove declaration of atof_ieee.
312 (const_overflow): Warning fixes, tidy.
313 (get_operands): Delete unused vars.
314 (internal_error_a): Adjust format string to expect a long for arg.
315 (find_opcode): Warning fixes, simplify.
316 (build_insn): Cast internal_error_a arg.
317 (md_begin): Likewise.
318 (md_apply_fix3): Likewise.
319 (md_assemble): Delete unused var.
320 * config/tc-tic80.h (tc_coff_fix2rtype): Prototype.
78a33af2
AM
321 * config/tc-z8k.c (cons, obj_coff_section): Delete declarations.
322 (whatreg, parse_reg, parse_exp): Make static, prototype.
323 (checkfor, regword, regaddr, get_ctrl_operand): Prototype.
324 (get_flags_operand, get_interrupt_operand, get_cc_operand): Likewise.
325 (get_operand, get_operands, get_specific, newfix): Likewise.
326 (apply_fix, build_bytes): Likewise.
327 (md_atof): Remove declaration of atof_ieee.
328 (tc_aout_fix_to_chars): Delete.
329 (md_begin): Constify "opcode". Don't try to init opcode->idx.
330 Fix s_unseg call.
331 (md_parse_option): Fix s_segm and s_unseg calls.
332
af6ae2ad
AO
3332002-12-12 Alexandre Oliva <aoliva@redhat.com>
334
335 * tc-mips.c (RELAX_BRANCH_ENCODE): Remove reloc_s2 argument.
336 Adjust callers.
337 (RELAX_BRANCH_RELOC_S2): Delete.
338 (append_insn): Use only BFD_RELOC_16_PCREL_S2 for branches.
339 Do not handle BFD_RELOC_16_PCREL.
340 (macro_build, mips_ip): Likewise.
341 (md_pcrel_from): Return 4 for undefined symbols regardless of
342 mips_pic.
343 (md_apply_fix3): Use only BFD_RELOC_16_PCREL_S2 for branches.
344 Don't dereference howto if no such relocation is available.
345 Do not apply hack for in-place zero addend in NEWABI.
346 (md_convert_frag): Use only BFD_RELOC_16_PCREL_S2 for branches.
347
074d08b0 3482002-12-12 Alexandre Oliva <aoliva@redhat.com>,
78a33af2 349 Alan Modra <amodra@bigpond.net.au>
074d08b0
AO
350
351 * config/tc-mn10300.h (TC_VALIDATE_FIX_SUB): Define.
352 (TC_LINKRELAX_FIXUP): Add comments.
353
497f322d
AO
3542002-12-12 Alexandre Oliva <aoliva@redhat.com>
355
356 * config/tc-mn10300.c (set_arch_mach): Change argument type to
357 avoid warnings.
358 (r_register_name, xr_register_name): Add prototype declarations.
359
ffbceea9
L
3602002-12-08 H.J. Lu <hjl@gnu.org>
361
362 * config/tc-ia64.c (md_apply_fix3): Remove the PCREL hack
363 copied from tc-i386.c.
364
75538612
SC
3652002-12-08 Stephane Carrez <stcarrez@nerim.fr>
366
367 Fix Bug savannah/1825:
368 * config/tc-m68hc11.c (STATE_INDEXED_PCREL): New relax code.
369 (md_relax_table): Define specific relax for PC-rel offsets.
370 (build_indexed_byte): Use a STATE_INDEXED_PCREL relax code.
371 (m68hc11_relax_frag): Handle the new relax code.
372 (md_convert_frag): Likewise.
373 (md_estimate_size_before_relax): Likewise.
374
546c73f9
AM
3752002-12-08 Alan Modra <amodra@bigpond.net.au>
376
377 * subsegs.c (section_symbol): Use the symbol, not the section, name.
378
fa2c7eff
RH
3792002-12-05 Richard Henderson <rth@redhat.com>
380
381 * config/ia64.c (enum reloc_func): Add FUNC_LT_RELATIVE_X.
382 (ia64_gen_real_reloc_type): Handle it.
383 (pseudo_func): Add @ltoffx.
384 (md_begin): Build .<ltoffx>.
385 (ia64_force_relocation): True for LTOFF22X and LDXMOV.
386
114424c6
AM
3872002-12-05 Alan Modra <amodra@bigpond.net.au>
388
389 * config/tc-arm.c (arm_force_relocation): Move out of #if OBJ_ELF.
390 Move OBJ_COFF TC_FORCE_RELOCATION code here so that COFF handles
391 ARM_IMMEDIATE and ARM_ADRL_IMMEDIATE relocs as for ELF.
392 * config/tc-arm.h (TC_FORCE_RELOCATION): Define for both ELF and
393 COFF to call arm_force_relocation.
394
c10d9d8f
JW
3952002-12-04 David Mosberger <davidm@hpl.hp.com>
396
397 * config/tc-ia64.c (pseudo_func): Add "@pause" constant for "hint"
398 instruction.
399 (emit_one_bundle): Handle "hint" instruction.
400 (operand_match): Match IA64_OPND_AR_CSD.
401
c8970b4b
AM
4022002-12-04 Alan Modra <amodra@bigpond.net.au>
403
404 * dwarf2dbg.c (scale_addr_delta): Correct parameter. Move prototype
405 inside #if.
406
e1a9cb8e
NC
4072002-12-03 Nick Clifton <nickc@redhat.com>
408
409 * config/tc-ppc.c (ppc_cleanup): Do not set SEC_MERGE flag on
6b0817e5 410 .PPC.EMB.apuinfo sections.
e1a9cb8e 411
a823923b
RH
4122002-12-03 Richard Henderson <rth@redhat.com>
413
414 * config/tc-ia64.c (operand_match): Add IA64_OPND_LDXMOV case.
415
61b5f74b
AM
4162002-12-03 Alan Modra <amodra@bigpond.net.au>
417
6297c1fe
AM
418 * config/tc-w65.c (s_longa): Prototype. Make static, specify int arg.
419 (cons, s_align_bytes): Delete declaration.
420 (relax): Delete.
421 (md_begin): Constify "struct opinfo *" var. Don't try to make "name"
422 strings common.
423 (dot): Delete unused function.
424 (w65_expression): Remove unused arg.
425 (parse_exp): Prototype. Remove unused arg. Adjust w65_expression
426 call.
427 (get_operands): Prototype. Constify "struct opinfo *" arg. Fix
428 parse_exp call.
429 (get_specific): Prototype. Constify "struct opinfo *" arg and return
430 value.
431 (check): Remove unused function.
432 (build_Mytes): Prototype. Constify "struct opinfo *" arg. Abort
433 on unhandled switch case.
434 (md_assemble): Remove unused op_start, op_end, nlen, p vars. Constify
435 "opcode".
436 (tc_crawl_symbol_chain): Delete unused function.
437 (tc_headers_hook): Likewise.
438 (tc_Nout_fix_to_chars): Likewise.
439 (md_undefined_symbol): Add ATTRIBUTE_UNUSED.
440 (md_parse_option): Likewise.
441 (md_convert_frag): Likewise.
442 (tc_coff_symbol_emit_hook): Likewise.
443 (md_show_usage): Likewise.
444 * config/tc-w65.h (tc_coff_sizemachdep): Declare.
445 (TC_PARSE_CONS_EXPRESSION): w65_expression takes one arg.
446 (w65_expression): Declare.
447
448 * po/POTFILES.in: Regenerate.
449
61b5f74b
AM
450 * config/tc-arm.c (arm_force_relocation): Return 0 for ARM_IMMEDIATE
451 and ARM_ADRL_IMMEDIATE.
452
fea17916
NC
4532002-12-02 Nick Clifton <nickc@redhat.com>
454
455 * gasp.c: Delete. It has been deprecated.
456 * NEWS: Mention that gasp has been removed.
457 * Makefile.am: Remove references to gasp.
458 * makefile.vms: Likewise.
459 * mpw-make.sed: Likewise.
460 * Makeile.in: Regenerate.
461 * doc/gasp.texi: Delete.
462 * doc/Makefile.am: Remove references to gasp.texi.
463 * doc/Makefile.in: Regenerate.
464 * macro.c: Delete references to gasp.
465 Remove use of comment_char function parameter as it is no longer
466 needed.
467 * macro.h: Update prototypes to remove comment_char parameter.
468 Fix formatting.
469 * read.c (read_a_source_file, s_irp): Remove comment_char
ebd0428f
AM
470 parameter from invocation of functions in macro.c
471
dc59a897
HPN
4722002-12-02 Hans-Peter Nilsson <hp@axis.com>
473
4c83186b 474 * read.c (emit_expr) [!WORKING_DOT_WORD]: Initialize x->use_jump.
dc59a897 475
1910266d
SC
4762002-12-01 Stephane Carrez <stcarrez@nerim.fr>
477
478 * config/tc-m68hc11.c (md_begin): Fix qsort warning.
479 (tc_gen_reloc): Mark section param as not used.
480
c9e03e8b
SC
4812002-12-01 Stephane Carrez <stcarrez@nerim.fr>
482
483 Fix Bug savannah/1825:
484 * config/tc-m68hc11.h (md_relax_frag): Define to support relaxations
485 that are not pc-relative.
486 (m68hc11_relax_frag): Declare.
487
488 * config/tc-m68hc11.c (build_indexed_byte): Use a frag_var to handle
489 the offsetable indexed addressing modes (n,r).
490 (build_insn): Cleanup some locals.
491 (m68hc11_relax_frag): New function imported from tc-cris.c to handle
492 relaxation of difference between two symbols of same section.
493 (md_convert_frag): For INDEXED_OFFSET relaxs, use the displacement
494 only when this is a PC-relative operand and the offset is not absolute.
495 (md_estimate_size_before_relax): Convert the INDEXED_OFFSET,UNDEF frag
496 to INDEXED_OFFSET,STATE_BITS5 when the symbol is absolute; this will
497 be handled by m68hc11_relax_frag.
498
2f904664
SC
4992002-12-01 Stephane Carrez <stcarrez@nerim.fr>
500
501 * config/tc-m68hc11.c (elf_flags): Set default ABI to gcc default
502 (32-bit int, 64-bit double).
503 (md_longopts): New options -mshort, -mlong, -mshort-double and
504 -mlong-double to control the ABI.
505 (md_show_usage): Update.
506 (md_parse_option): Handle new options.
507 * doc/as.texinfo (Overview): Document new options for HC11/HC12.
508
0909233e
AM
5092002-12-01 Nathan Sidwell <nathan@codesourcery.com>
510
511 * symbols.c (report_op_error): New function, broken out of ...
512 (resolve_symbol_value): ... here. Use for both monadic and dyadic
513 operators.
514
0174e383
KK
5152002-11-30 Kaz Kojima <kkojima@rr.iij4u.or.jp>
516
517 * config/tc-sh.c (md_apply_fix3): Take account of fx_offset
518 for BFD_RELOC_32_PLT_PCREL.
519
b34976b6
AM
5202002-11-30 Alan Modra <amodra@bigpond.net.au>
521
522 * dwarf2dbg.c, write.c, config/obj-aout.c, config/obj-coff.c,
523 config/obj-ecoff.c, config/obj-elf.c, config/obj-som.c,
524 config/tc-arm.c, config/tc-arm.h, config/tc-avr.c, config/tc-cris.c,
525 config/tc-d10v.c, config/tc-d10v.h, config/tc-d30v.c, config/tc-d30v.h,
526 config/tc-dlx.c, config/tc-dlx.h, config/tc-fr30.c, config/tc-fr30.h,
527 config/tc-frv.c, config/tc-frv.h, config/tc-hppa.c, config/tc-i370.c,
528 config/tc-i386.c, config/tc-i386.h, config/tc-m32r.c,
529 config/tc-m68hc11.c, config/tc-mcore.c, config/tc-mcore.h,
530 config/tc-mips.c, config/tc-mips.h, config/tc-mn10200.c,
531 config/tc-mn10300.c, config/tc-mn10300.h, config/tc-openrisc.c,
532 config/tc-openrisc.h, config/tc-ppc.c, config/tc-s390.c,
533 config/tc-sh.c, config/tc-sh.h, config/tc-sh64.c, config/tc-tic54x.c,
534 config/tc-v850.c, config/tc-v850.h, config/tc-xstormy16.c,
535 config/tc-xstormy16.h: Replace boolean with bfd_boolean, true with
536 TRUE, false with FALSE. Simplify comparisons of bfd_boolean vars with
537 TRUE/FALSE. Formatting.
538
143c8e19
NC
5392002-11-29 Nick Clifton <nickc@redhat.com>
540
541 * config/tc-arm.c (do_t_bkpt): If no operand is specified,
542 assume a value of zero.
543 (do_bkpt): Likewise.
544
2bba4140
KK
5452002-11-29 Kaz Kojima <kkojima@rr.iij4u.or.jp>
546
547 * config/tc-sh.c (md_apply_fix3): Call S_SET_THREAD_LOCAL
548 for TLS relocations.
549
7925dd68
JJ
5502002-11-29 Jakub Jelinek <jakub@redhat.com>
551
552 * config/tc-ia64.c (md_apply_fix3): Add default case.
553
00f7efb6
JJ
5542002-11-28 Jakub Jelinek <jakub@redhat.com>
555
556 * symbols.c (S_SET_THREAD_LOCAL): New function.
557 * symbols.h (S_SET_THREAD_LOCAL): New prototype.
558 * config/tc-i386.c (md_apply_fix3): Call S_SET_THREAD_LOCAL
559 for TLS relocations.
560 * config/tc-ia64.c (md_apply_fix3): Likewise.
561 * config/tc-alpha.c (md_apply_fix3): Likewise.
562
381a1ab3
JJ
5632002-11-28 Jakub Jelinek <jakub@redhat.com>
564
565 * write.c (subsegs_finish): For SEC_MERGE sections pad last fragment
566 to entsize.
567
a3b75434
DD
5682002-11-26 DJ Delorie <dj@redhat.com.
569
570 * dwarf2dbg.c (scale_addr_delta): New.
571 (size_inc_line_addr): Use it.
572 (emit_inc_line_addr): Use it.
573
fb2fd3e1
HPN
5742002-11-26 Hans-Peter Nilsson <hp@axis.com>
575
576 * config/tc-cris.c (cris_relax_frag): Fix typo in comment.
577 (md_assemble): Don't pass on branches to constants as relaxable.
578 Tweak comment.
579
da91385d
SS
5802002-11-25 Svein E. Seldal <Svein.Seldal@solidas.com>
581
582 * config/tc-tic4x.c (c4x_operands_match): Bugfix in direct mode
583
1d421636
DA
5842002-11-21 Randolph Chung <randolph@tausq.org>
585
586 * config/tc-hppa.h (tc_frob_symbol): Frob undefined unused symbols
587 only if they have default visibility.
588
33bf47a8
RH
5892002-11-21 Richard Henderson <rth@redhat.com>
590
591 * config/tc-alpha.c (alpha_fix_adjustable): Remove redundant
592 S_IS_DEFINED test.
593
5f8075fa
AM
5942002-11-21 Alan Modra <amodra@bigpond.net.au>
595
596 * config/tc-mcore.c (mcore_pool_count): New function.
597 (mcore_cons, mcore_float_cons, mcore_stringer, mcore_fill): Use it.
598
5ff37431
KD
5992002-11-20 Klee Dienes <kdienes@apple.com>
600
601 * config/tc-mcore.c (md_begin): Use a const iterator. Don't
602 coalesce the name fields to use the same pointer.
603
604 * config/tc-sh.c (md_begin): Use a const iterator. Don't coalesce
605 the name fields to use the same pointer.
606 (get_specific): Check for opcodes with the same name using strcmp
607 as well as comparing the pointer.
608
5045ec7a
AM
6092002-11-20 Alan Modra <amodra@bigpond.net.au>
610
611 * write.c (adjust_reloc_syms): Don't reduce SEC_MERGE fixups with
612 fx_subsy non-NULL.
613
20e420c2
RH
6142002-11-19 Richard Henderson <rth@redhat.com>
615
616 * config/obj-elf.c (obj_elf_visibility): Overwrite only the
617 visibility portion of st_other.
618
a720f7bc
KD
6192002-11-19 Klee Dienes <kdienes@apple.com>
620
621 * config/tc-h8300.c (struct h8_instruction): New type, used to
622 wrap h8_opcodes with length, noperands, idx, and size fields
623 (computed at run-time).
624 (h8_instructions): New variable.
625 (md_begin): Allocate the storage for h8_instructions. Fill
626 h8_instructions with pointers to the appropriate opcode and the
627 correct value for the additional fields.
628 (clever_message): Update to use h8_instructions instead of
629 h8_opcodes.
630 (build_bytes): Ditto.
631 (get_specific): Ditto.
632 (md_assemble): Ditto.
bbce6ab7 633
0a00dd48
MS
6342002-11-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
635
636 * config/tc-s390.c (tc_s390_fix_adjustable): Re-add patch to prevent
637 adjustments to symbols in merge sections.
638
81283cde
AM
6392002-11-19 Luke Deller <luked@cse.unsw.edu.au>
640
641 * config/tc-alpha.c (s_alpha_prologue): as_bad when sym is NULL.
642
14e777e0
KB
6432002-11-18 Kevin Buettner <kevinb@redhat.com>
644
645 * dwarf2dbg.h (dwarf2_format): New enum.
646 * dwarf2dbg.c (DWARF2_FORMAT): Provide default definition.
647 (out_debug_line, out_debug_info): Add code for handling 64-bit
648 DWARF 2 formats.
649 * config/tc-mips.h (mips_dwarf2_format): Declare.
650 * config/tc-mips.c (mips_dwarf2_format): New function.
651 * doc/internals.texi (DWARF2_FORMAT): Document.
652
a816d1ed
AO
6532002-11-18 Alexandre Oliva <aoliva@redhat.com>
654
655 * config/tc-mips.c (s_change_section): Make sure input buffer
656 is not accessed past the end. Don't hand
657 obj_elf_change_section a pointer into the input buffer.
658
6b70243f
AO
6592002-11-18 Alexandre Oliva <aoliva@redhat.com>, Chris Demetriou <cgd@broadcom.com>
660
661 * config/tc-mips.c (tc_gen_reloc): Fix typo in handling of
662 GOT_LO16 on NEWABI.
663
48c5eb8a
SS
6642002-11-18 Svein E. Seldal <Svein.Seldal@solidas.com>
665
9c87d6c7
SS
666 * config/tc-tic4x.c: Fixed proper commandline
667 parameters. Added support for new opcode-list format. General
668 error message fixups.
669 (c4x_inst_add): Reject insn not for our CPU
670 (md_begin): Added matrix for setting the proper opcode-level &
671 device-flags according to cpu type and revision. Rewrite the
672 opcode hasher.
673 (c4x_operand_parse): Fix opcode bug
674 (c4x_operands_match): New function argument. Added dry-run
675 mechanism, that is optional error generation. Added constraint 'i'
676 and 'j'.
677 (c4x_insn_check): Added new function for post-verification of the
678 generated insn.
679 (md_assemble): Check all opcodes before croaking because of an
680 argument mismatch. Need this to be able to fully support
681 ortogonally arguments.
682 (md_parse_options): Revised commandprompt swicthes and added new
683 ones.
684 (md_show_usage): Complete rewrite of printout.
bbce6ab7 685
44287f60
SS
6862002-11-16 Svein E. Seldal <Svein.Seldal@solidas.com>
687
688 * config/tc-tic4x.c: Remove c4x_pseudo_ignore function.
689 (c4x_operands_match): Added check for 8-bits LDF insn. Give
690 warning when using constant direct bigger than 2^16. Add the new
691 arguments.
692
591d4689
CF
6932002-11-11 Christopher Faylor <cgf@redhat.com>
694
695 * configure.in: Use .gdbinit under Cygwin.
696 * configure: Regenerate.
697
1a89f85f
CF
6982002-11-11 Christopher Faylor <cgf@redhat.com>
699
700 * config/tc-i386.h (EXTERN_FORCE_RELOC): Define only if
701 STRICT_PE_FORMAT.
702
247b1fe6
SS
7032002-11-11 Svein E. Seldal <Svein.Seldal@solidas.com>
704
705 * config/tc-tic4x.c: Declare as many functions as possible as
706 static. Maintenance on the general indenting. Removed unnecessary
707 pseudo-ops and added new ones. Removed obsoleted c4x_pseudo_ignore
708 function. Add support for new DSP, TMS320VC33. Fix bug for
709 converting flonum constants.
710 (c4x_do_align): Add proper align handling. Setup align to insert
bbce6ab7 711 NOP's.
247b1fe6
SS
712 (c4x_gen_to_words): Support for extended TI type floats.
713 (md_atof): Proper dumping of multiple-word littlenums.
714 (c4x_atof): Added support for extended TI type floats.
715 (c4x_stringer): Added new function to handle compact strings.
716 (c4x_emit_char): Added new function argument to handle custom
717 length inserts, like single-byte strings.
718 * config/tc-tic4x.h: Add proper align handling with NOP's.
98199d8f
SS
719 * Makefile.am: Added tic4x dependecy
720 * Makefile.in: Regenerate
247b1fe6 721
9df59bba
HPN
7222002-11-11 Hans-Peter Nilsson <hp@bitrange.com>
723
724 * macro.c (get_any_string): Correct logic for not going beyond end
725 of in->ptr[].
726
32c27eed
HPN
7272002-11-10 Hans-Peter Nilsson <hp@bitrange.com>
728
480c8d94
HPN
729 * config/tc-mmix.c (get_putget_operands): Mark both possible
730 operands as invalid at beginning.
731
32c27eed
HPN
732 * config/tc-mmix.c (md_convert_frag) <case STATE_GREG_DEF>:
733 Initialize target of fixup to zero.
734
78e1bb40
AO
7352002-11-07 Alexandre Oliva <aoliva@redhat.com>
736
737 * config/tc-mips.c (macro_build_lui): _gp_disp is not special on
738 NEWABI, but we should still emit HI16_S for non-PIC n32.
739
66ba4c77
RH
7402002-11-06 Richard Henderson <rth@redhat.com>
741
742 * config/tc-alpha.c (alpha_validate_fix): Move code ...
743 (alpha_fix_adjustable): ... here.
744 * config/tc-alpha.h (TC_VALIDATE_FIX): Remove.
745
bbce6ab7 7462002-11-07 Eric Kohl <ekohl@rz-online.de>
c9e38879
NC
747
748 * config/te-pe.h (LEX_AT): Accept at-sign (@) as first character
749 of a label.
750
aa3d8fdf
L
7512002-11-05 H.J. Lu <hjl@gnu.org>
752
753 * config/tc-mips.c (support_64bit_objects): Check *l before it
754 is freed.
755
e96c5464
NC
7562002-11-04 Danny Smith <dannysmith@users.sourceforge.net>
757
758 * config/obj-coff.c (obj-coff-section): Set SEC_DATA and
759 SEC_LOAD flags for sections marked as 's'.
760
4d0b3220
AM
7612002-11-01 Alan Modra <amodra@bigpond.net.au>
762
4f3cafa2
AM
763 * write.c (TC_FORCE_RELOCATION_SUB_ABS): Default to zero.
764 (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise when DIFF_EXPR_OK.
765 * doc/internals.texi (TC_FORCE_RELOCATION_SUB_ABS): Document changed
766 default.
767
4d0b3220
AM
768 * dep-in.sed: Fix typo.
769
54847c76
DJ
7702002-10-30 Daniel Jacobowitz <drow@mvista.com>
771
772 * configure.in: Update ARM CPU patterns.
773 * configure: Regenerated.
774
3d82a647
DJ
7752002-10-29 Daniel Jacobowitz <drow@mvista.com>
776
777 * itbl-lex.l: Use #include <> for generated headers.
778 * itbl-ops.c: Likewise.
779
b1744eab
DJ
7802002-10-28 Daniel Jacobowitz <drow@mvista.com>
781
782 * doc/gasp.texi: Fix typo in deprecation note.
783
8df7094c
NC
7842002-10-23 Nick Clifton <nickc@redhat.com>
785
786 * config/tc-arm.c (tc_gen_reloc): Allow an absolute reference to
787 _GLOBAL_TABLE_OFFSET_ to be converted into a GOT reloc.
788
3a99b990
HPN
7892002-10-23 Hans-Peter Nilsson <hp@bitrange.com>
790
1cd2bb72 791 * config/tc-mmix.h (mmix_frob_file_before_adjust): Don't declare.
3a99b990
HPN
792 (tc_frob_file_before_adjust): Don't define.
793 * config/tc-mmix.c (mmix_frob_local_reloc): Remove unused
794 function.
795 (mmix_frob_file_before_adjust): Remove ineffective function.
796
1c971160
HPN
7972002-10-23 Hans-Peter Nilsson <hp@axis.com>
798
799 * config/tc-cris.c (SIMPLE_EXPR): New macro.
800 (cris_relax_frag): New function.
801 (md_estimate_size_before_relax) <case ENCODE_RELAX
802 (STATE_BASE_PLUS_DISP_PREFIX, STATE_UNDF)>: Pass on unresolved
803 expressions that will become absolute expressions to relaxation.
804 (md_convert_frag) <case ENCODE_RELAX (STATE_BASE_PLUS_DISP_PREFIX,
805 STATE_WORD)>: Expect only absolute expressions. Use the symbol
806 value, not distance to symbol.
807 <case ENCODE_RELAX (STATE_BASE_PLUS_DISP_PREFIX, STATE_BYTE)>:
808 Ditto. Correct placement of fixup.
809 (md_assemble): Use SIMPLE_EXPR when dissecting expressions.
810 (gen_bdap): Ditto.
811 * config/tc-cris.h (cris_relax_frag): Declare.
812 (md_relax_frag): Define.
813
7ed1d346
AM
8142002-10-22 Alan Modra <amodra@bigpond.net.au>
815
816 * config/obj-elf.c (special_sections): Use correct types for init
817 array sections.
818 (obj_elf_change_section): Don't mess with init array section type.
819
631cb423
RS
8202002-10-21 Richard Sandiford <rsandifo@redhat.com>
821
822 * config/tc-mips.c (mips_need_elf_addend_fixup): Return true
823 for relocs against symbols in a merged section.
824
6047c971
AO
8252002-10-18 Alexandre Oliva <aoliva@redhat.com>
826
827 * config/tc-mips.c (md_begin): Add $fcc registers to the symbol
828 table as register names.
829
75504fed
MS
8302002-10-18 Ulrich Weigand <uweigand@de.ibm.com>
831
832 * config/tc-s390.c (md_parse_option): Set s390_arch_size to 32
833 for option -m31.
834
02000999
AM
8352002-10-18 Svein E. Seldal <Svein.Seldal@solidas.com>
836
837 * expr.c (operand): Add support for n.nn flonums.
838
311797d5
AM
8392002-10-17 Johannes Stezenbach <js@convergence.de>
840
841 * itbl-parse.y (entry): Provide empty action.
842
4001ad8c
AM
8432002-10-16 Alan Modra <amodra@bigpond.net.au>
844
845 * configure.in (BFDVER_H): Set and subst.
846 * dep-in.sed: Replace bfdver.h with $(BFDVER_H).
847 * Makefile.am: Run "make dep-am".
848 (BFDVER_H): Define.
849 * configure: Regenerate.
850 * Makefile.in: Regenerate.
851 * doc/Makefile.in: Regenerate.
852
3ca4bdc3
AM
8532002-10-15 Alan Modra <amodra@bigpond.net.au>
854
855 * config/tc-i386.h (EXTERN_FORCE_RELOC): Define.
856 (MD_APPLY_SYM_VALUE): Define for PE too.
857
b95d15c6
AM
8582002-10-14 Alan Modra <amodra@bigpond.net.au>
859
860 * Makefile.am: Run "make dep-am".
861 (CPU_OBJ_VALID): sh64 coff is invalid.
862 * as.c: #include "bfdver.h".
863 * Makefile.in: Regenerate.
864 * config.in: Regenerate.
865
ec266e19
AM
8662002-10-14 Momchil Velikov <velco@fadata.bg>
867
868 * config/tc-v850.c (CHECK_): Remove token pasting operator.
869
8f6847cb
RS
8702002-10-14 Richard Sandiford <rsandifo@redhat.com>
871
872 * configure.in (mips64vr-elf, mips64vrel-elf): New config.
873 * configure: Regenerate.
874
ec266e19
AM
8752002-10-13 Eric Christopher <echristo@redhat.com>
876 Alexandre Oliva <aoliva@redhat.com>
10181a0d
AO
877
878 * config/tc-mips.c (s_gpdword): New function.
879 (mips_pseudo_table): Add .gpdword.
880 (mips_need_elf_addend_fixup): never for NEWABI.
881 (md_apply_fix3): Don't mark BFD_RELOC64 after GPREL16 or
882 GPREL32 as done.
883 (s_cpadd): Generate .cpadd on NEWABI.
884
49181a6a
AM
8852002-10-12 Elias Athanasopoulos <eathan@otenet.gr>
886
887 * config/tc-ppc.c (ppc_cleanup): Make 'i' unsigned int.
888
4a6a3df4
AO
8892002-10-12 Alexandre Oliva <aoliva@redhat.com>
890
891 * config/tc-mips.h (mips_relax_frag): Take segment as argument.
892 (md_relax_frag): Adjust macro.
893 * config/tc-mips.c (mips_relax_branch): New variable.
894 (RELAX_BRANCH_ENCODE, RELAX_BRANCH_P, RELAX_BRANCH_LIKELY,
895 RELAX_BRANCH_LINK, RELAX_BRANCH_TOOBAR): New.
896 (RELAX_MIPS16_P): Adjust.
897 (append_insn): Emit branch to non-constant in a frag_var if
898 branch-relaxation is desirable and possible.
899 (OPTION_RELAX_BRANCH, OPTION_NO_RELAX_BRANCH): New options.
900 (OPTION_ELF_BASE): Adjust.
901 (md_parse_option): Handle new options.
902 (md_apply_fix3): Update comment on EMBEDDED_PIC conditional
903 branch relaxation.
904 (relaxed_branch_length): New function.
905 (md_estimate_size_before_relax): Handle branch frags.
906 (mips_relax_frag): Likewise.
907 (md_convert_frag): Handle branch frags. Warn if branch is
908 relaxed.
909
9efb3b7b
KK
9102002-10-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
911
912 * config/tc-sh.c (sh_force_relocation): Make sure TLS relocs get
913 emitted.
914 (md_apply_fix3): Add TLS relocs.
915 (sh_parse_name): Support @TLSGD, @TLSLDM, @GOTTPOFF, @TPOFF and
916 @DTPOFF.
917
3e02c1cc
AM
9182002-10-11 Michel Six <msix@ccr.jussieu.fr>
919 Alan Modra <amodra@bigpond.net.au>
920
921 * config/tc-i386.c (output_jump): Set fx_signed for loop/jcxz.
922 (md_estimate_size_before_relax): Likewise for 8 bit branches.
923
ac62e7a3
JR
924Thu Oct 10 14:31:30 2002 J"orn Rennecke <joern.rennecke@superh.com>
925
926 * config/tc-sh.c (assemble_ppi): Initialize reg_x / reg_y / reg_n
927 inside loop.
928
f61dfddf
SC
9292002-10-09 Richard Shann <richard.shann@superh.com>
930 Stephen Clarke <stephen.clarke@superh.com>
931
932 * config/tc-sh64.c (sh64_target_format): Add support for sh64
933 Linux environment.
934
28602ebf
KK
9352002-10-03 Kaz Kojima <kkojima@rr.iij4u.or.jp>
936
937 * contig/tc-sh.c (sh_local_pcrel): New.
938 (sh_force_relocation): Use sh_local_pcrel.
939 (md_pcrel_from_section): Check the relocation type whether it
940 should be resolved locally. Use S_FORCE_RELOC.
941
97724570
AM
9422002-10-01 Alan Modra <amodra@bigpond.net.au>
943
944 * config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Define.
945 (TC_FORCE_RELOCATION): Tidy arg.
946
60b63b72 9472002-09-30 Gavin Romig-Koch <gavin@redhat.com>
3e02c1cc
AM
948 Ken Raeburn <raeburn@cygnus.com>
949 Aldy Hernandez <aldyh@redhat.com>
950 DJ Delorie <dj@redhat.com>
951 Michael Meissner <meissner@redhat.com>
952 Eric Christopher <echristo@redhat.com>
953 Richard Sandiford <rsandifo@redhat.com>
60b63b72
RS
954
955 * doc/c-mips.texi: Add entries for -march=vr4120,vr4130,vr4181,
956 vr5400 and vr5500. Add entry for -mfix-vr4122-bugs.
957 * config/tc-mips.c (CPU_HAS_DROR, CPU_HAS_ROR): New macros.
958 (hilo_interlocks): True for CPU_VR5500.
959 (gpr_interlocks, cop_interlocks): True for CPU_VR5400 and CPU_VR5500.
960 (mips_fix_vr4122_bugs): New.
961 (append_insn): Work around 4122 errors if mips_fix_vr4122_bugs.
962 (mips_emit_delays): Likewise.
963 (macro2) [M_DROLI]: Use dror or dror32 if CPU_HAS_DROR.
964 [M_ROLI]: Likewise ror if CPU_HAS_ROR.
965 (validate_mips_insn, mips_ip): Handle '[', ']', 'e' and '%'.
966 (OPTION_FIX_VR4122, OPTION_NO_FIX_VR4122): New options.
967 (md_longopts): Add -mfix-vr4122-bugs and -no-mfix-vr4122-bugs.
968 (OPTION_ELF_BASE): Bump.
969 (md_parse_option): Handle the new options.
970 (mips_cpu_info_table): Add entries for vr4120, vr4130, vr4181,
971 vr5400 and vr5500.
972
7a49a8c2
L
9732002-09-29 H.J. Lu <hjl@gnu.org>
974
975 * config/tc-mips.c (md_apply_fix3): Subtract the symbol value
976 twice if howto->pcrel_offset is true.
977
04ff5cb5 9782002-09-28 Matt Thomas <matt@3am-software.com>
3e02c1cc 979 Jason Thorpe <thorpej@wasabisystems.com>
04ff5cb5
JT
980
981 * config/tc-vax.c (md_estimate_size_before_relax): Only try to
982 convert undefined references to GOT32/PLT32 if PIC code is
983 requested. Fix comment.
984
8ba4dac0
DJ
9852002-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
986
987 * config/tc-sh.c (sh_force_relocation): Return 0 for
988 some PC relative relocations when not relaxing.
989
bffbf940
JJ
9902002-09-26 Jakub Jelinek <jakub@redhat.com>
991
992 * config/tc-i386.c (tc_i386_fix_adjustable): Add x86-64 TLS relocs.
993 Define them if not BFD_ASSEMBLER.
994 (lex_got): Handle @tlsgd, @dtpoff and @tpoff in 64-bit mode, add
995 @tlsld.
996 (md_apply_fix3): No addend for BFD_RELOC_X86_64_TLSGD,
997 BFD_RELOC_X86_64_TLSLD and BFD_RELOC_X86_64_GOTTPOFF.
998 (tc_gen_reloc): Handle x86-64 TLS relocs.
999
87733541
AM
10002002-09-27 Alan Modra <amodra@bigpond.net.au>
1001
1002 * config/tc-avr.c (md_apply_fix3): Reinstate code handling pcrel
1003 fixups to current or absolute section.
1004
825487fa
JW
10052002-09-26 Jim Wilson <wilson@redhat.com>
1006
1007 * config/tc-v850.c (v850_offset): Use frag_var instead of frag_now_fix
1008 and frag_more.
1009
3396de36
TS
10102002-09-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1011
1012 * config/tc-mips.c (CPU_HAS_MIPS16): Add mips-lsi-elf as MIPS16
1013 capable configuration.
1014 (macro_build): Check for MIPS16 capability, not for actual MIPS16 code
1015 generation.
1016 (mips_ip): Likewise.
1017
f3c0ec86
TS
10182002-09-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1019
1020 * config/tc-mips.c (append_insn): Fix jump overflow check.
1021
52271982
AM
10222002-09-24 Alan Modra <amodra@bigpond.net.au>
1023
1024 * config/tc-i386.c (process_operands): Warn about "lea" segment
1025 overrides.
1026
823882f5
DD
10272002-09-22 Mark Elbrecht <snowball3@softhome.net>
1028
1029 * write.c: Delete set_segment_vma and prototype. Update all callers.
1030
6539b54b
AM
10312002-09-21 Alan Modra <amodra@bigpond.net.au>
1032
1033 * config/tc-i386.c (md_apply_fix3): Replace S_IS_EXTERNAL,
1034 S_IS_WEAK etc. with S_FORCE_RELOC call. Correct comment.
1035 Rename "fseg" to "sym_seg".
1036 * Makefile.am: Run "make dep-am".
1037 * Makefile.in: Regenerate.
1038 * doc/Makefile.in: Regenerate.
1039
9f269a72
NC
10402002-09-20 Nick Clifton <nickc@redhat.com>
1041
1042 * symbols.c (colon): Do not allow symbols to be created in the
7cf10893
NC
1043 absolute section if WORKING_DOT_WORD is not defined and
1044 new_broken_words would require a new frag to be created.
9f269a72 1045
26346241
AM
10462002-09-20 Alan Modra <amodra@bigpond.net.au>
1047
f6cf69d7
AM
1048 * expr.c (expr): Simplify foo-foo here.
1049 (clean_up_expression): Remove O_subtract code.
1050
26346241
AM
1051 * write.h (struct fix): Add fx_dot_value.
1052 (dot_value): Declare.
1053 * write.c (dot_value): New var.
1054 (fix_new_internal): Save dot_value as fx_dot_value.
f6cf69d7 1055 (fixup_segment): Adjust fx_offset using fx_dot_value.
26346241
AM
1056 * expr.c (expr): Update dot_value.
1057
37e55690
JJ
10582002-09-19 Jakub Jelinek <jakub@redhat.com>
1059
1060 * config/tc-i386.c (tc_i386_fix_adjustable): Handle
1061 BFD_RELOC_386_TLS_IE and BFD_RELOC_386_TLS_GOTIE.
1062 (BFD_RELOC_386_TLS_IE, BFD_RELOC_386_TLS_GOTIE): Define to 0
1063 if not defined.
1064 (lex_got): Handle @GOTNTPOFF and @INDNTPOFF.
1065 (md_apply_fix3, tc_gen_reloc): Handle BFD_RELOC_386_TLS_IE and
1066 BFD_RELOC_386_TLS_GOTIE.
1067
021c2b5e
RH
10682002-09-19 Richard Henderson <rth@redhat.com>
1069
1070 * config/tc-alpha.c (md_pcrel_from): Only adjust special for
1071 branch type relocs.
1072 (alpha_force_relocation): Don't special-case branch type relocs.
1073
4f2a7c9e
NC
10742002-09-19 Nick Clifton <nickc@redhat.com>
1075
1076 * config/tc-m68k.c (select_control_regs): Handle situation where
1077 architecture has not yet been selected.
1078
885add95
CD
10792002-09-18 Chris Demetriou <cgd@broadcom.com>
1080
1081 * config/tc-mips.c (IS_SEXT_32BIT_NUM): Move closer to top of file.
1082 (IS_SEXT_16BIT_NUM): New macro.
1083 (macro_build_ldst_constoffset): New function, to build a set of
1084 instructions to do a load or store from a constant offset relative
1085 to a given register.
1086 (macro, s_cprestore): Use macro_build_ldst_constoffset to implement
1087 .cprestore pseudo-op.
1088
65551fa4
CD
10892002-09-18 Chris Demetriou <cgd@broadcom.com>
1090
1091 * config/tc-mips.c (md_apply_fix3): Just return for BFD_RELOC_8.
1092
4cf0dd0d
TS
10932002-09-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1094
1095 * config/tc-mips.c (s_change_section): Fix parsing. Code cleanup.
1096
ed6fb7bd
SC
10972002-09-17 Stan Cox <scox@redhat.com>
1098
1099 * tc-mips.c (load_address): Use BFD_RELOC_MIPS_GOT_DISP for newabi.
1100 (macro): Likewise for la. Likewise for ld.
1101 (mips_after_parse_args): Make -xgot optional, not the default.
1102 (md_apply_fix3): Allow composite relocation to set up gp.
1103 (tc_gen_reloc): Allow relaxing for newabi.
1104 Relax R_MIPS_CALL16 to R_MIPS_GOT_PAGE/R_MIPS_GOT_OFST if local.
1105 Relax R_MIPS_GOT16/R_MIPS_LO16 to R_MIPS_GOT_DISP if local.
1106
6189168b
NC
11072002-09-17 Nick Clifton <nickc@redhat.com>
1108
1109 * config/tc-arm.c (md_apply_fix3): Note that an implemented
1110 BFD_RELOC_ARM_IMMEDIATE has been done.
f6cf69d7 1111 (tc_gen_reloc): Do not issue reloc number of unimplemented
6189168b
NC
1112 BFD_RELOC_ARM_IMMEDIATE and BFD_RELOC_ARM_OFFSET_IMM relocs -
1113 their name is already in the error message - plus remove them
1114 from the default case.
1115
1116 * config/tc-arm.c (do_ldmstm): Warn about unpredictable
1117 behavior of instructions.
1118
75d12d11
AM
11192002-09-17 Svein E. Seldal <Svein.Seldal@solidas.com>
1120
1121 * config/tc-tic4x.c: Add function declarations and ATTRIBUTE_UNUSED.
1122 Convert functions to K&R format.
1123
7ed4a06a
TS
11242002-09-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1125
1126 * config/tc-mips.c (pdr_seg): Define only for ELF.
1127 (s_change_section): Remove unused variable. Don't use for nonELF.
1128
e8cf2216
TS
11292002-09-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1130
1131 * config/obj-elf.c (obj_elf_change_section): Move prototype to
1132 obj-elf.h
1133 * config/obj-elf.h (obj_elf_change_section): Likewise.
1134
48b91938
RH
11352002-09-16 Elias Athanasopoulos <eathan@otenet.gr>
1136
1137 * dwarf2dbg.c (out_debug_abbrev): Add support for the DW_AT_name field.
1138 (out_debug_info): Likewise.
1139
4ada7262
DB
11402002-09-16 Bruno Haible <bruno@clisp.org>
1141
1142 * config/tc-i386.h (ELF_TARGET_FORMAT): New macro.
1143 (TARGET_FORMAT): Use ELF_TARGET_FORMAT instead of "elf32-i386".
1144 * config/tc-i386.c (i386_target_format): Likewise.
1145 * config/tc-alpha.h (ELF_TARGET_FORMAT): New macro.
1146 (TARGET_FORMAT): Use ELF_TARGET_FORMAT instead of "elf64-alpha".
1147
7fe9cf6b
NC
11482002-09-13 Nick Clifton <nickc@redhat.com>
1149
1150 * config/tc-ppc.c (md_assemble): Do not count FAKE operands
1151 when deciding if any operands have been skipped.
1152
e09f4395
NC
11532002-09-11 Nick Clifton <nickc@redhat.com>
1154
004d9caf
NC
1155 * NEWS: New TI port supports both C4x and C3x series of DSPs.
1156
e09f4395
NC
1157 * po/tr.po: Updated Turkish translation.
1158
9dfe7b39
JJ
11592002-09-11 Jakub Jelinek <jakub@redhat.com>
1160
1161 * config/tc-i386.c (md_apply_fix3): Allow addend for
1162 BFD_RELOC_386_TLS_LDO_32, BFD_RELOC_386_TLS_LE and
1163 BFD_RELOC_386_TLS_LE_32.
1164
502b19cb
JL
11652002-09-05 Jeff Law <law@redhat.com>
1166
f6cf69d7
AM
1167 * config/tc-hppa.c (md_apply_fix3): Don't set fx_done for
1168 marker relocations such as ENTRY/EXIT.
1169 * config/tc-hppa.h (MD_APPLY_SYM_VALUE): Definition applies
1170 to both OBJ_ELF and OBJ_SOM.
502b19cb 1171
a161fe53
AM
11722002-09-05 Alan Modra <amodra@bigpond.net.au>
1173
1174 * doc/internals.texi (md_apply_fix3): Expand.
1175 (TC_VALIDATE_FIX, TC_FORCE_RELOCATION, TC_FORCE_RELOCATION_ABS,
1176 TC_FORCE_RELOCATION_LOCAL, TC_FORCE_RELOCATION_SUB_SAME,
1177 TC_FORCE_RELOCATION_SUB_ABS, TC_FORCE_RELOCATION_SUB_LOCAL,
1178 TC_VALIDATE_FIX_SUB, MD_APPLY_SYM_VALUE, S_FORCE_RELOC,
1179 EXTERN_FORCE_RELOC): Document.
1180 (TC_HANDLES_FX_DONE, obj_fix_adjustable): Remove.
1181 * as.h: Don't include struc-symbol.h for arc.
1182 (IS_ELF): Define.
1183 * cgen.c (gas_cgen_md_apply_fix3): Remove *valP fudges and code to
1184 subtract absolute symbol.
1185 * obj.h (struct format_ops): Add frob_file_before_fix.
1186 * subsegs.c (section_symbol): Set BSF_SECTION_SYM flag.
1187 * symbols.c (S_FORCE_RELOC): New function.
1188 * symbols.h (S_FORCE_RELOC): Declare.
1189 * write.c (TC_FORCE_RELOCATION): Change default.
1190 (TC_FORCE_RELOCATION_ABS): Define.
1191 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
1192 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
1193 (TC_FORCE_RELOCATION_SECTION): Don't define.
1194 (TC_FORCE_RELOCATION_SUB_SAME): Define this instead.
1195 (TC_FORCE_RELOCATION_SUB_ABS): Define.
1196 (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
1197 (TC_VALIDATE_FIX_SUB): Define.
1198 (TC_FIX_ADJUSTABLE): Don't define.
1199 (MD_APPLY_SYM_VALUE): Define this instead.
1200 (abs_section_sym): New variable.
1201 (adjust_reloc_syms): Use S_FORCE_RELOC. Remove obj_fix_adjustable
1202 call. Don't symbol_mark_used_in_reloc here. Simplify link_once tests.
1203 Don't put the absolute section sym on fixups here.
1204 (fix_segment): New function.
1205 (write_relocs): Don't call fixup_segment from here.
1206 (write_object_file): Instead call tc_frob_file_before_fix,
1207 obj_frob_file_before_fix, and fix_segment prior to symbol table code.
1208 Don't output the absolute section symbol.
1209 (fixup_segment): Rewrite.
1210 * write.h (abs_section_sym): Declare.
1211 * config/obj-aout.c (obj_aout_frob_file_before_fix): Rename from
1212 obj_aout_frob_file.
1213 (aout_format_ops): Adjust to suit.
1214 * config/obj-aout.h (obj_frob_file): Don't define.
1215 (obj_frob_file_before_fix): Define.
1216 (obj_aout_frob_file_before_fix): Rename from obj_aout_frob_file.
1217 (S_FORCE_RELOC): Define.
1218 * config/obj-bout.h (S_FORCE_RELOC): Define.
1219 * config/obj-coff.c (coff_format_ops): Init new field.
1220 * config/obj-coff.h: Formatting fixes.
1221 (obj_sec_sym_ok_for_reloc): Define.
1222 (S_FORCE_RELOC): Define.
1223 * config/obj-ecoff.c (ecoff_frob_file_before_fix): Split out ..
1224 (ecoff_frob_file): .. from here.
1225 (ecoff_format_ops): Add new function.
1226 * config/obj-ecoff.h (ecoff_frob_file_before_fix): Declare.
1227 (obj_frob_file_before_fix): Define.
1228 * config/obj-elf.c (elf_format_ops): Init new field.
1229 * config/obj-elf.h (obj_sec_sym_ok_for_reloc): Expand comment.
1230 * config/obj-ieee.h: Formatting fixes.
1231 (S_FORCE_RELOC): Define.
1232 * config/obj-multi.h (obj_frob_file_before_fix): Define.
1233 * config/obj-vms.h (S_FORCE_RELOC): Define.
1234 * config/tc-alpha.c (md_apply_fix3): Correct GPDISP comment.
1235 (alpha_force_relocation): Use S_FORCE_RELOC, and don't return 0
1236 for BFD_RELOC_32 and BFD_RELOC_64.
1237 (alpha_fix_adjustable): Remove extern and weak tests.
1238 (alpha_before_fix): Rename from alpha_adjust_symtab.
1239 (alpha_adjust_relocs): Rename from alpha_adjust_symtab_relocs.
1240 * config/tc-alpha.h (struct fix, struct alpha_reloc_tag): Declare.
1241 (TC_VALIDATE_FIX): Tweak param name.
1242 (TC_FORCE_RELOCATION, tc_fix_adjustable): Likewise.
1243 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
1244 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
1245 (MD_APPLY_SYM_VALUE): Define.
1246 (tc_adjust_symtab): Don't define.
1247 (alpha_adjust_symtab): Don't declare.
1248 (tc_frob_file_before_fix): Define.
1249 (alpha_before_fix): Declare.
1250 (TC_INIT_FIX_DATA): Tweak param names.
1251 * config/tc-arc.c: Include "struc-symbol.h".
1252 (md_pcrel_from): Remove undefined sym fudge.
1253 (md_apply_fix3): Remove *valP fudges and code to subtract abs sym.
1254 Don't set fx_addnumber.
1255 (tc_gen_reloc): Remove spurious fx_addnumber comment.
1256 * config/tc-arc.h (MD_APPLY_SYM_VALUE): Define.
1257 (EXTERN_FORCE_RELOC): Define.
1258 * config/tc-arm.c (md_apply_fix3 <case BFD_RELOC_ARM_GOTPC>): Remove.
1259 (tc_gen_reloc): Fudge ARM_GOTPC addend.
1260 (arm_validate_fix): Return void.
1261 (arm_fix_adjustable <elf version>): Remove extern and weak tests.
1262 Add plt and got reloc tests.
1263 (arm_force_relocation): Call S_FORCE_RELOC.
1264 * config/tc-arm.h (struct fix): Forward declare.
1265 (TC_VALIDATE_FIX): No longer set add_symbolP.
1266 (arm_validate_fix): Adjust declaration.
1267 (TC_FORCE_RELOCATION <pe version): Call S_FORCE_RELOC.
1268 (TC_FORCE_RELOCATION): Tweak param name.
1269 (TC_INIT_FIX_DATA): Likewise.
1270 (obj_fix_adjustable): Don't define.
1271 (tc_fix_adjustable): Call arm_fix_adjustable.
1272 (TC_FIX_ADJUSTABLE): Don't define.
1273 (MD_APPLY_SYM_VALUE): Define.
1274 (EXTERN_FORCE_RELOC): Define.
1275 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
1276 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
1277 * config/tc-avr.c (md_apply_fix3): Don't cast valP pointer type.
1278 Remove *valP fudges and code to subtract abs sym. Don't set
1279 fx_addnumber.
1280 * config/tc-avr.h: Formatting.
1281 (EXTERN_FORCE_RELOC): Define.
1282 (MD_APPLY_SYM_VALUE): Define.
1283 * config/tc-cris.c (tc_gen_reloc): Don't use fx_addnumber.
1284 (md_apply_fix3): Remove code to subtract abs sym.
1285 (md_cris_force_relocation): Update comment. Call S_FORCE_RELOC.
1286 * config/tc-cris.h (TC_FORCE_RELOCATION): Tweak param name.
1287 (IS_CRIS_PIC_RELOC, tc_fix_adjustable): Likewise.
1288 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
1289 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
1290 (tc_fix_adjustable): Remove extern, weak tests.
1291 * config/tc-d10v.c (tc_gen_reloc): Don't fiddle address of
1292 BFD_RELOC_VTABLE_INHERIT relocs. Don't use fx_addnumber.
1293 (md_apply_fix3): Don't cast valP pointer type. Remove *valP fudges
1294 and code to subtract abs sym.
1295 (d10v_fix_adjustable): Remove extern, weak, SEC_MERGE tests.
1296 (d10v_force_relocation): Call S_FORCE_RELOC.
1297 * config/tc-d10v.h: Don't include write.h.
1298 (struct fix): Instead, forward declare.
1299 (MD_PCREL_FROM_SECTION): Tweak param names.
1300 (md_pcrel_from_section): Use "struct fix" instead of "fixS".
1301 (d10v_fix_adjustable): Likewise.
1302 (obj_fix_adjustable): Don't define.
1303 (tc_fix_adjustable): Define.
1304 (TC_FORCE_RELOCATION): Tweak param name.
1305 (MD_APPLY_SYM_VALUE): Define.
1306 (EXTERN_FORCE_RELOC): Define.
1307 * config/tc-d30v.c (tc_gen_reloc): Don't use fx_addnumber.
1308 (md_apply_fix3): Don't cast valP pointer type. Remove *valP fudges
1309 and code to subtract abs sym.
1310 * config/tc-d30v.h: Don't include write.h.
1311 (struct fix): Instead, forward declare.
1312 (MD_PCREL_FROM_SECTION): Tweak param names.
1313 (md_pcrel_from_section): Use "struct fix" instead of "fixS".
1314 (MD_APPLY_SYM_VALUE): Define.
1315 (EXTERN_FORCE_RELOC): Define.
1316 * config/tc-dlx.c (md_dlx_force_relocation): Call S_FORCE_RELOC.
1317 (md_dlx_fix_adjustable): Don't test for NULL fx_addsy.
1318 (md_apply_fix3): No need to test fx_pcrel before setting fx_done.
1319 (tc_gen_reloc): Don't fiddle with BFD_RELOC_VTABLE_INHERIT relocs.
1320 Adjust the address for BFD_RELOC_VTABLE_ENTRY, not the addend.
1321 Don't use fx_addnumber.
1322 * config/tc-dlx.h: Don't include write.h.
1323 (md_convert_frag): We're not alpha twice over.
1324 (EXTERN_FORCE_RELOC): Define.
1325 (obj_fix_adjustable): Don't define.
1326 (tc_fix_adjustable): Define.
1327 (TC_FIX_ADJUSTABLE): Don't define.
1328 (MD_APPLY_SYM_VALUE): Define.
1329 (LOCAL_LABELS_DOLLAR): Undef always.
1330 * config/tc-fr30.c (fr30_force_relocation): Call S_FORCE_RELOC.
1331 (fr30_fix_adjustable): Remove extern, weak tests.
1332 * config/tc-fr30.h (MD_APPLY_SYM_VALUE): Define.
1333 (obj_fix_adjustable): Don't define.
1334 (tc_fix_adjustable): Define.
1335 (struct fix): Forward declare.
1336 (MD_PCREL_FROM_SECTION): Tweak param name. Remove duplicate.
1337 * config/tc-frv.c (frv_force_relocation): Call S_FORCE_RELOC.
1338 (frv_fix_adjustable): Don't do extern, weak tests.
1339 * config/tc-frv.h (MD_APPLY_SYM_VALUE): Define.
1340 (TC_FIX_ADJUSTABLE): Don't define.
1341 (obj_fix_adjustable): Don't define.
1342 (tc_fix_adjustable): Define.
1343 (struct fix): Forward declare.
1344 (MD_PCREL_FROM_SECTION): Tweak param name. Remove duplicate.\
1345 * config/tc-h8300.c (md_apply_fix3): Don't cast valP pointer type.
1346 * config/tc-h8300.h (struct fix): Forward declare.
1347 (EXTERN_FORCE_RELOC): Define.
1348 * config/tc-hppa.c (md_apply_fix3): Remove subtraction of sym value.
1349 (hppa_fix_adjustable): Don't test extern or weak. Don't
1350 symbol_mark_used_in_reloc.
1351 (hppa_force_relocation): Use S_FORCE_RELOC instead of S_IS_EXTERNAL
1352 and S_IS_WEAK.
1353 * config/tc-hppa.h (EXTERN_FORCE_RELOC): Define
1354 (TC_FORCE_RELOCATION, TC_INIT_FIX_DATA): Tweak param name.
1355 (TC_FORCE_RELOCATION_SECTION): Don't define.
1356 (MD_APPLY_SYM_VALUE): Define.
1357 * config/tc-i370.c (md_apply_fix3): Remove *valP fudges and code
1358 to subtract abs sym.
1359 * config/tc-i370.h: Remove ifdef OBJ_ELF tests.
1360 (MD_APPLY_SYM_VALUE): Define.
1361 (MD_PCREL_FROM_SECTION): Tweak param name.
1362 * config/tc-i386.c (tc_i386_fix_adjustable): Remove weak, extern tests.
1363 (md_apply_fix3): Test fx_addsy, not fx_pcrel.
1364 (i386_force_relocation): New function.
1365 * config/tc-i386.h (TC_COFF_FIX2RTYPE): Tweak param name.
1366 (TC_VALIDATE_FIX): Likewise.
1367 (TC_FIX_ADJUSTABLE): Don't define.
1368 (MD_APPLY_SYM_VALUE): Define.
1369 (TC_FORCE_RELOCATION <elf version>): Call i386_force_relocation.
1370 (i386_force_relocation): Declare.
1371 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
1372 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
1373 (TC_FORCE_RELOCATION <coff version>): Call S_FORCE_RELOC.
1374 * config/tc-i860.c (md_apply_fix3): Don't cast valP pointer type.
1375 * config/tc-i860.h (MD_APPLY_SYM_VALUE): Define.
1376 (EXTERN_FORCE_RELOC): Define.
1377 * config/tc-i960.c (reloc_callj): Remove declaration. Return false.
1378 (md_apply_fix3): Don't cast valP pointer type. Move code here from
1379 old fixup_segment. No need to test fx_pcrel before setting fx_done.
1380 (i960_validate_fix): Remove add_symbolPP arg and add_symbolP macro.
1381 Use fx_addsy instead of add_symbolP, as_bad_where instead of as_bad.
1382 Remove #if 0 code. Invert return boolean.
1383 * config/tc-i960.h (TC_COUNT_RELOC): Tweak param name.
1384 (TC_COFF_FIX2RTYPE, TC_ADJUST_RELOC_COUNT, TC_VALIDATE_FIX): Likewise.
1385 (tc_headers_hook, tc_coff_fix2rtype): Remove declaration.
1386 (tc_coff_sizemachdep): Prototype.
1387 (i960_handle_align): Likewise.
1388 (i960_validate_fix): Adjust declaration.
1389 (reloc_callj): Likewise.
1390 (EXTERN_FORCE_RELOC): Define.
1391 (TC_FORCE_RELOCATION_SUB_SAME): Define.
1392 (TC_FORCE_RELOCATION_ABS): Define.
1393 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
1394 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
1395 (TC_FIX_ADJUSTABLE): Don't define.
1396 (MD_APPLY_SYM_VALUE): Define.
1397 * config/tc-ia64.c (ia64_force_relocation): Call S_FORCE_RELOC.
1398 * config/tc-ia64.h (MD_APPLY_SYM_VALUE): Define.
1399 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
1400 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
1401 * config/tc-ip2k.c (ip2k_force_relocation): Call S_FORCE_RELOC.
1402 * config/tc-ip2k.h (MD_APPLY_FIX3): Don't define.
1403 (MD_APPLY_SYM_VALUE): Define.
1404 (EXTERN_FORCE_RELOC): Define.
1405 (TC_FORCE_RELOCATION): Tweak param name.
1406 * config/tc-m32r.c (m32r_force_relocation): Call S_FORCE_RELOC.
1407 (m32r_fix_adjustable): Don't test extern, weak.
1408 * config/tc-m32r.h (MD_PCREL_FROM_SECTION): Tweak param name.
1409 (MD_APPLY_SYM_VALUE): Define.
1410 (obj_fix_adjustable): Don't define.
1411 (tc_fix_adjustable): Define.
1412 (tc_frob_file): Don't define.
1413 (tc_frob_file_before_fix): Define.
1414 (EXTERN_FORCE_RELOC): Define.
1415 * config/tc-m68hc11.c (tc_gen_reloc): Set addend to zero. Adjust
1416 BFD_RELOC_VTABLE_ENTRY address.
1417 (tc_m68hc11_force_relocation): Call S_FORCE_RELOC.
1418 (tc_m68hc11_fix_adjustable): Don't test relaxable_symbol.
1419 (md_apply_fix3): Remove *valP fudges and code to subtract abs sym.
1420 Remove duplicated fx_done code.
1421 * config/tc-m68hc11.h (MD_APPLY_SYM_VALUE): Define.
1422 (EXTERN_FORCE_RELOC): Define.
1423 * config/tc-m68k.c (tc_m68k_fix_adjustable): Don't test
1424 relaxable_symbol.
1425 * config/tc-m68k.h (TC_COFF_FIX2RTYPE): Tweak param name.
1426 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
a161fe53
AM
1427 (TC_FIX_ADJUSTABLE): Don't define.
1428 (EXTERN_FORCE_RELOC): Define.
1429 (MD_APPLY_SYM_VALUE): Define.
1430 (TC_FORCE_RELOCATION): Call S_FORCE_RELOC.
1431 * config/tc-mcore.c (md_apply_fix3): Don't cast valP pointer type.
1432 Remove fx_addsy tests.
1433 (mcore_force_relocation): Call S_FORCE_RELOC.
1434 (mcore_fix_adjustable): Don't test fx_addsy.
1435 * config/tc-mcore.h (MD_PCREL_FROM_SECTION): Tweak param name.
1436 (EXTERN_FORCE_RELOC): Define.
1437 (obj_fix_adjustable): Don't define.
1438 (tc_fix_adjustable): Define.
1439 (MD_APPLY_SYM_VALUE): Define.
1440 * config/tc-mips.c (enum mips_pic_level): Move to tc-mips.h.
1441 (mips_pic): No longer static.
1442 (mips_force_relocation): Call S_FORCE_RELOC.
1443 (mips_fix_adjustable): Remove extern, weak tests.
1444 * config/tc-mips.h (enum mips_pic_level): Declare.
1445 (mips_pic): Declare.
1446 (tc_frob_file): Don't define.
1447 (tc_frob_file_before_fix): Define this instead.
1448 (EXTERN_FORCE_RELOC): Define.
1449 * config/tc-mmix.c (md_apply_fix3): Replace real_reg_section tests
1450 with reg_section tests. Set fx_done instead of calling
1451 symbol_clear_used_in_reloc on bad relocs.
1452 (tc_gen_reloc): Zero fx_addsy on bad relocs.
1453 (mmix_force_relocation): Remove weak sym test. Call S_FORCE_RELOC.
1454 (mmix_adjust_symtab): Simplify list handling. Abort on any
1455 nonsense.
1456 * config/tc-mmix.h (tc_fix_adjustable): Remove weak tests. Check
1457 BFD_RELOC_MMIX_LOCAL.
1458 (tc_frob_symbol): Keep user defined syms in reg_section. Don't punt.
1459 (EXTERN_FORCE_RELOC): Define.
1460 (MD_PCREL_FROM_SECTION): Tweak param name.
1461 (tc_frob_file): Don't define.
1462 (tc_frob_file_before_fix): Define this instead.
1463 * config/tc-mn10300.c (mn10300_force_relocation): Call S_FORCE_RELOC.
1464 Remove SEC_CODE checks.
1465 (mn10300_fix_adjustable): Remove extern and weak tests.
1466 * config/tc-mn10300.h (EXTERN_FORCE_RELOC): Define.
1467 (TC_FORCE_RELOCATION): Tweak param name.
1468 (obj_fix_adjustable): Don't define.
1469 (TC_FORCE_RELOCATION_SUB_SAME): Define to handle SEC_CODE.
1470 * config/tc-ns32k.h (TC_FIX_DATA_PRINT): Tweak param name.
1471 * config/tc-openrisc.c (openrisc_force_relocation): Call S_FORCE_RELOC.
1472 (openrisc_fix_adjustable): Don't test fx_addsy.
1473 * config/tc-openrisc.h (MD_APPLY_SYM_VALUE): Define.
1474 (obj_fix_adjustable): Don't define.
1475 (tc_fix_adjustable): Define this instead.
1476 (MD_PCREL_FROM_SECTION): Remove duplicate. Tweak param name.
1477 * config/tc-or32.c (md_apply_fix3): Don't cast valP pointer type.
1478 (tc_gen_reloc): Don't fiddle with BFD_RELOC_VTABLE_INHERIT relocs.
1479 Adjust the address for BFD_RELOC_VTABLE_ENTRY, not the addend.
1480 * config/tc-or32.h (EXTERN_FORCE_RELOC): Define.
1481 (MD_APPLY_SYM_VALUE): Define.
1482 * config/tc-pj.c (md_apply_fix3): Don't cast valP pointer type.
1483 Don't subtract symbol value.
1484 * config/tc-pj.h (md_pcrel_from): Tweak param name.
1485 (EXTERN_FORCE_RELOC): Define.
1486 (TC_FORCE_RELOCATION): Call S_FORCE_RELOC.
1487 (MD_APPLY_SYM_VALUE): Define.
1488 (obj_fix_adjustable): Don't define.
1489 (tc_fix_adjustable): Define this instead.
1490 * config/tc-ppc.c (ppc_frob_symbol <coff version>): Ignore absolute
1491 section sym.
1492 (ppc_force_relocation <coff version>): Call S_FORCE_RELOC.
1493 (ppc_force_relocation <elf version>): New.
1494 (ppc_fix_adjustable <elf version>): Remove extern and weak tests.
1495 (md_apply_fix3): Don't subtract symbol values for ELF. Update
1496 comments. Don't subtract fx_subsy as that is already done.
1497 * config/tc-ppc.h (tc_fix_adjustable): Tweak param name.
1498 (MD_PCREL_FROM_SECTION): Likewise.
1499 (TC_FORCE_RELOCATION): Define for both ELF and XCOFF as calling
1500 ppc_force_relocation.
1501 (TC_FORCE_RELOCATION_SECTION): Delete.
1502 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
1503 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
1504 (MD_APPLY_SYM_VALUE): Define.
1505 * config/tc-s390.c: #include "dwarf2dbg.h".
1506 (s390_insn): Remove excess parens.
1507 (tc_s390_fix_adjustable): Remove extern, weak, SEC_MERGE tests.
1508 (tc_s390_force_relocation): Call S_FORCE_RELOC.
1509 (md_apply_fix3): Add ATTRIBUTE_UNUSED on "seg". Abort when fx_subsy
1510 non-NULL. Don't subtract off fx_addsy value.
1511 * config/tc-s390.h (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
1512 (TC_FORCE_RELOCATION, MD_PCREL_FROM_SECTION): Tweak param name.
1513 (TC_FIX_ADJUSTABLE): Don't define.
1514 (MD_APPLY_SYM_VALUE): Define.
1515 * config/tc-sh.c (SWITCH_TABLE_CONS): Move to tc-sh.h.
1516 (SWITCH_TABLE): Likewise.
1517 (sh_force_relocation): Call S_FORCE_RELOC.
1518 (sh_fix_adjustable): Remove "return 1" cases handled by the default.
1519 Replace TC_RELOC_RTSYM_LOC_FIXUP with reloc type tests.
1520 (md_apply_fix3 <case BFD_RELOC_32_PLT_PCREL>): Simplify,
1521 fx_addnumber is zero on entry. Save val in fx_addnumber.
1522 (tc_gen_reloc): Don't subtract fx_subsy.
1523 * config/tc-sh.h (struct fix): Move.
1524 (obj_fix_adjustable): Don't define.
1525 (tc_fix_adjustable): Define this instead.
1526 (TC_FIX_ADJUSTABLE): Don't define.
1527 (MD_APPLY_SYM_VALUE): Define.
1528 (SWITCH_TABLE_CONS): Define.
1529 (SWITCH_TABLE): Define.
1530 (TC_FORCE_RELOCATION_SUB_SAME): Define.
1531 (TC_VALIDATE_FIX_SUB): Define.
1532 (MD_PCREL_FROM_SECTION): Tweak param name.
1533 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
1534 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
1535 (TC_FORCE_RELOCATION_SUB_ABS): Define.
1536 * config/tc-sh64.h (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
1537 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
1538 (TC_FORCE_RELOCATION_SUB_SAME): Define.
1539 (TC_VALIDATE_FIX_SUB): Define.
1540 (MD_PCREL_FROM_SECTION): Tweak param name.
1541 * config/tc-sparc.c (md_apply_fix3): Don't subtract off symbol value.
1542 (tc_gen_reloc): Use S_FORCE_RELOC.
1543 (elf32_sparc_force_relocation): Call S_FORCE_RELOC.
1544 * config/tc-sparc.h (TC_FORCE_RELOCATION <coff version>): Remove.
1545 (TC_FORCE_RELOCATION_ABS): Define this instead.
1546 (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
1547 (TC_FORCE_RELOCATION_LOCAL): Define this instead.
1548 (tc_fix_adjustable): Remove extern and weak tests. Use S_FORCE_RELOC.
1549 (MD_APPLY_SYM_VALUE): Define.
1550 (TC_FIX_DATA_PRINT): Tweak param name.
1551 * config/tc-tic30.c (USE_STDOUT): Don't define.
1552 (md_parse_option): Remove stupid debug code.
1553 (tc_gen_reloc): Don't use fx_addnumber.
1554 * config/tc-v850.c (v850_fix_adjustable): Remove extern and weak tests.
1555 (v850_force_relocation): Remove weak test. Call S_FORCE_RELOC.
1556 * config/tc-v850.h (obj_fix_adjustable): Don't define.
1557 (tc_fix_adjustable): Define this instead.
1558 (TC_FIX_ADJUSTABLE): Don't define.
1559 (MD_APPLY_SYM_VALUE): Define this instead.
1560 (TC_FORCE_RELOCATION, MD_PCREL_FROM_SECTION): Tweak param name.
1561 * config/tc-vax.h (TC_RELOC_RTSYM_LOC_FIXUP): Don't define.
1562 (TC_FIX_ADJUSTABLE): Don't define.
1563 (MD_APPLY_SYM_VALUE): Define this instead.
1564 (tc_fix_adjustable): Remove extern and weak tests.
1565 * config/tc-w65.h (struct fix): Forward declare.
1566 * config/tc-xstormy16.c (xstormy16_force_relocation): Call
1567 S_FORCE_RELOC.
1568 (xstormy16_fix_adjustable): Remove extern and weak tests. Don't
1569 call xstormy16_force_relocation; Instead test for FPTR16 reloc.
1570 (xstormy16_md_apply_fix3): Remove *valP fudges and code to subtract
1571 absolute symbol.
1572 * config/tc-xstormy16.h (MD_APPLY_FIX3): Don't define.
1573 (MD_APPLY_SYM_VALUE): Define.
1574 (obj_fix_adjustable): Don't define.
1575 (tc_fix_adjustable): Define this instead.
1576 (MD_PCREL_FROM_SECTION): Remove duplicate. Tweak param name.
1577
2a98c3a6
AM
15782002-09-04 Alan Modra <amodra@bigpond.net.au>
1579
b782de16
AM
1580 * config/tc-ppc.c (ppc_frob_symbol): Formatting, warning fix.
1581 (ppc_fix_adjustable <coff version>): Cleanup.
1582
2a98c3a6
AM
1583 * config/tc-ppc.c (PPC_HIGHER, PPC_HIGHEST): Fix warning.
1584 (md_parse_option): No -a64 without BFD64.
1585 (ppc_set_cpu): Select appropriate cpu when ppc_obj64.
1586 (ppc_arch): Use bfd_mach_rs6k for bfd_arch_rs6000.
1587
341026c1
NC
15882002-09-04 Nick Clifton <nickc@redhat.com>
1589
1590 * config/tc-ppc.c (md_begin): Do not insert non-BookE32
1591 instructions into the hash table if the target cpu is the BookE32.
1592
a6bd2a4f
HPN
15932002-08-31 Hans-Peter Nilsson <hp@bitrange.com>
1594
1595 * read.c (do_align): Use ATTRIBUTE_UNUSED_LABEL for label, not
1596 ATTRIBUTE_UNUSED.
1597
86aba9db
NC
15982000-08-28 Catherine Moore <clm@redhat.com>
1599
1600 * tc-v850.c (v850_relax): Declare.
1601 (v850_longcode): New routine.
1602 (v850_handle_align): New routine.
1603 (md_pseudo_table): Add longcall and longjump.
1604 (md_parse_option): Check for relax option.
1605 (tc_gen_reloc): Handle BFD_RELOC_V850_LONGCALL,
1606 BFD_RELOC_V850_LONGJUMP, and BFD_RELOC_V850_ALIGN.
1607 (md_apply_fix3): Likewise.
1608 (v850_force_relocation): Likewise.
1609 (v850_comm): Change the current section.
e4512afa 1610 (md_assemble): Ensure that the correct value is put in the
86aba9db
NC
1611 fixup.
1612 (v850_sdata, v850_tdata, v850_zdata, v850_sbss, v850_tbss,
1613 v850_zbss, v850_rosdata, v850_rozdata): Fix section book keeping.
e4512afa 1614 Remove redundant v850ea support.
86aba9db
NC
1615 * tc-v850.h (HANDLE_ALIGN): Define.
1616 (v850_handle_align): Declare.
1617 * doc/c-v850.c: Document -mrelax, .longcall and .longjump.
1618
026df7c5
NC
16192002-08-28 Svein E. Seldal <Svein.Seldal@solidas.com>
1620
1621 * configure.in: Add tic4x-coff* and c4x-coff*-coff-coff targets.
1622 * configure: Regenerate.
1623 * NEWS: Mention new port.
1624
16252002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1626
1627 * config/obj-coff.c: Add sdef definition.
1628 * config/obj-coff.h: Add tic4x include file and set
1629 target format.
1630 * config/tc-tic4x.c: New file.
1631 * config/tc-tic4x.h: New file.
1632
4252e537
AM
16332002-08-28 Alan Modra <amodra@bigpond.net.au>
1634
df44284e
AM
1635 * write.c (BFD_FAST_SECTION_FILL): Remove unused macro.
1636 (TC_ADJUST_RELOC_COUNT): Tweak param name.
1637 (TC_FORCE_RELOCATION, TC_FORCE_RELOCATION_SECTION): Likewise.
1638 (TC_FIX_ADJUSTABLE, MD_PCREL_FROM_SECTION): Likewise.
1639 (RELOC_ENUM): Define.
1640 (fix_new_internal): Use RELOC_ENUM.
1641 (fix_new, fix_new_exp): Likewise.
1642 (adjust_reloc_syms): Comment. Remove unnecessary tests on sym != NULL.
1643 Replace gotos with continue.
1644 (write_relocs): Formatting. Avoid symbol loops in
1645 RELOC_EXPANSION_POSSIBLE case too. Report bfd_reloc_outofrange
1646 errors, and error number in other cases.
1647 (fixup_segment): Remove param names from prototype. Rename
1648 "this_segment_type" to "this_segment". Update linkrelax comment.
1649 Remove "size, "place" and "where" local vars. Formatting. Update
1650 "no symbol" comment. Remove #if 0 and #if 1.
1651
4252e537
AM
1652 * app.c (do_scrub_chars): Don't test IGNORE_NONSTANDARD_ESCAPES. Tidy.
1653
70658493
AM
16542002-08-27 Alan Modra <amodra@bigpond.net.au>
1655
1656 * dwarf2dbg.c: Always include dwarf2dbg.h.
1657 (dwarf2_directive_file): Adjust dummy version args.
1658 * ecoff.c (ecoff_directive_weakext): Add ATTRIBUTE_UNUSED.
1659 * expr.c (clean_up_expression <O_subtract>): Allow subtraction
1660 when symbol values differ.
1661 * read.c (do_align): Add ATTRIBUTE_UNUSED to label.
1662 (pseudo_set <O_subtract>): Remove unnecessary segment test.
1663 * config/obj-bout.c (obj_pseudo_table): Warning fix.
1664
a2199cc1
AM
16652002-08-26 Alan Modra <amodra@bigpond.net.au>
1666
1667 * config/tc-w65.c (md_section_align): Fix typo.
1668 (md_parse_option): Return 0, not 1.
1669
ececec60
NC
16702002-08-22 Nick Clifton <nickc@redhat.com>
1671
1672 * doc/as.texinfo (Section): Note that if '@' is a comment
1673 character then another symbol is used to prefix the section's
1674 type.
1675
14899840
NC
16762002-08-22 Christian Groessler <chris@groessler.org>
1677
1678 * config/tc-z8k.c (get_operands): Adjust ptr variable also in
1679 "case 0" case.
1680
ed71e111
NC
16812002-08-12 Graeme Peterson <gp@qnx.com>
1682
1683 * configure.in: Add support for sh-**-nto* target.
1684 * configure: Regenerate.
1685
dfe0d3fe
JL
16862002-08-21 Nitin Gupta <niting@noida.hcltech.com>
1687
1688 * config/tc-h8300.h (TC_LINKRELAX_FIXUP): Define.
1689
dc1d03fc
EZ
16902002-08-21 Elena Zannoni <ezannoni@redhat.com>
1691
70658493
AM
1692 * config/tc-ppc.c (ppc_cleanup): Do something only if format
1693 is ELF.
1694 (ppc_apuinfo_section_add): Define only if format is ELF.
1695 (md_assemble): Emit APUinfo section only if format is ELF.
1696 Fix formatting.
dc1d03fc 1697
9f1838ed
AM
16982002-08-21 Alan Modra <amodra@bigpond.net.au>
1699
70658493 1700 * config/tc-arc.c (md_pseudo_table <dwarf2_directive_file>): Cast.
9f1838ed
AM
1701 * config/tc-frv.c: Likewise.
1702 * config/tc-hppa.c: Likewise.
1703 * config/tc-ia64.c: Likewise.
1704 * config/tc-ip2k.c: Likewise.
1705 * config/tc-m68hc11.c: Likewise.
1706 * config/tc-m68k.c: Likewise.
1707 * config/tc-mmix.c: Likewise.
1708 * config/tc-mn10300.c: Likewise.
1709 * config/tc-sh.c: Likewise.
1710 * config/tc-sparc.c: Likewise.
1711 * config/tc-v850.c: Likewise.
1712
483fc7cd
RS
17132002-08-20 Richard Sandiford <rsandifo@redhat.com>
1714
1715 * config/tc-mips.c (macro2): Implement rotates by zero using shifts
1716 by zero.
1717
6a0c61b7
EZ
17182002-08-19 Elena Zannoni <ezannoni@redhat.com>
1719
70658493 1720 From matthew green <mrg@redhat.com>
6a0c61b7 1721
70658493
AM
1722 * config/tc-ppc.c (PPC_OPCODE_CLASSIC): Enable this everywhere
1723 PPC_OPCODE_PPC is, except for BookE architectures.
1724 (md_parse_option): Add support for -mspe.
1725 (md_show_usage): Add -mspe.
1726 (md_parse_option): Add support for -me500 and
1727 -me500x2 to generate code for Motorola e500 core complex.
1728 (md_show_usage): Add -me500 and -me500x2.
6a0c61b7 1729
70658493
AM
1730 (PPC_APUINFO_ISEL, PPC_APUINFO_PMR, PPC_APUINFO_RFMCI,
1731 PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE, PPC_APUINFO_EFS,
1732 PPC_APUINFO_BRLOCK): New macros.
6a0c61b7 1733
70658493
AM
1734 (ppc_cleanup): New function.
1735 (ppc_apuinfo_section_add): New function.
1736 (APUID): New macro.
1737 (md_assemble): Collect info and write the APUinfo section.
6a0c61b7 1738
70658493
AM
1739 * config/tc-ppc.h (md_cleanup): Define.
1740 (ppc_cleanup): Export.
1741 (ELF_TC_SPECIAL_SECTIONS): Add .PPC.EMB.apuinfo section.
6a0c61b7 1742
cca86cc8
SC
17432002-08-17 Stan Cox <scox@redhat.com>
1744
1745 * config/obj-elf.c (obj_elf_change_section): Make non-static.
1746 config/tc-mips.c (s_change_section): New function to support
1747 IRIX .section pseudo-op.
1748
50b15da2
NC
17492002-08-16 Nick Clifton <nickc@redhat.com>
1750
1751 * config/tc-v850.c (md_assemble): Fix assembling of "callt 0x3f".
1752
f21f8242
AO
17532002-08-15 Alexandre Oliva <aoliva@redhat.com>
1754
1755 * config/tc-mips.c (macro_build_jalr): Make sure we generate
1756 the fix-up against on the right frag.
1757 (s_cpsetup): Likewise. Parse third argument as expression, to
1758 handle global symbols and forward/backward labels correctly.
1759
11f45fb5
NC
17602002-08-14 Nick Clifton <nickc@redhat.com>
1761
8ac9ba6c
NC
1762 * read.c (stringer): Catch attempts to create strings in the abs
1763 section.
1764
11f45fb5
NC
1765 * config/tc-alpha.c: Fix compiling for COFF targets.
1766 Some minor formatting tidyups.
1767
e371935f
SC
17682002-08-13 Stephane Carrez <stcarrez@nerim.fr>
1769
1770 * config/tc-m68hc11.h (MD_PCREL_FROM_SECTION): Remove.
1771 (TC_HANDLES_FX_DONE): Define to let md_apply_fix3 set fx_done flag
1772 according to the reloc.
1773 (tc_fix_adjustable, tc_m68hc11_fix_adjustable): Define.
1774 (TC_FORCE_RELOCATION): Define.
1775 (tc_m68hc11_force_relocation): Declare.
1776
1777 * config/tc-m68hc11.c (md_pseudo_table): Add relax command.
1778 (s_m68hc11_relax): New function for relax group.
70658493 1779 (build_insn, build_jump_insn): Emit a M68HC11_RL_JUMP reloc at
e371935f
SC
1780 beginning of jump instruction.
1781 (md_pcrel_from): Rename from md_pcrel_from_section and fix
1782 address computation.
1783 (tc-gen_reloc): Update.
70658493 1784 (md_estimate_size_before_relax): Create the BFD_RELOC_16_PCREL as
e371935f
SC
1785 PC-relative fixup.
1786 (tc_m68hc11_force_relocation): New function, handle new relocs.
1787 (tc_m68hc11_fix_adjustable): New to make sure there are enough
1788 reloc for the linker relax pass.
1789 (md_apply_fix3): Handle M68HC11_RL_JUMP, M68HC11_RL_GROUP
1790 and VTABLE relocs.
1791
eb086b59
SC
17922002-08-13 Stephane Carrez <stcarrez@nerim.fr>
1793
1794 * config/tc-m68hc11.c (m68hc11_elf_final_processing): New function.
1795 (md_pseudo_table): Add .mode, .far and .interrupt pseudo op.
1796 (s_m68hc11_mode): New function for .mode pseudo op.
1797 (s_m68hc11_mark_symbol): New function for .far and .interrupt
1798 pseudo op.
1799 * config/tc-m68hc11.h (elf_tc_final_processing): Define.
1800 (m68hc11_elf_final_processing): Declare.
1801
7bfda7eb
SC
18022002-08-13 Stephane Carrez <stcarrez@nerim.fr>
1803
1804 * config/tc-m68hc11.c (md_begin): Take into account additional
1805 page operand for call instruction.
1806 (print_opcode_format): Likewise.
1807 (check_range): Likewise for page range checking.
1808 (get_operand): Don't skip a possible comma in operands.
1809 (fixup8): Generate BFD_RELOC_M68HC11_PAGE reloc.
1810 (fixup16): Likwise with BFD_RELOC_M68HC11_LO16.
1811 (fixup24): New to handle call reloc.
1812 (build_insn): Handle missing page operand for call instruction.
1813 (find): Likewise.
1814 (md_apply_fix3): Take into account new relocs.
1815 (get_operand): Fix the mode for indexed indirect addressing.
1816 (build_indexed_byte): Fix post index byte for indexed indirect mode.
1817
fdb987ee
RS
18182002-08-12 Richard Sandiford <rsandifo@redhat.com>
1819
1820 * config/tc-mips.c (mips_ip): Don't work out the value of
1821 constant %hi()s here.
1822
31312f95
AM
18232002-08-10 Alan Modra <amodra@bigpond.net.au>
1824
1825 * config/tc-i386.c (tc_i386_fix_adjustable): Test OUTPUT_FLAVOR
1826 for ELF, and don't bother checking ELF relocs when non-ELF.
1827 (i386_immediate): Allow absolute_section expressions for aout.
1828 (i386_displacement): Likewise. Also test bfd_is_com_section.
1829 (md_estimate_size_before_relax): Test OUTPUT_FLAVOR for ELF.
1830 (md_apply_fix3): Hack for bfd_install_relocation when fx_pcrel,
1831 not when fx_addsy. Remove dead code.
1832
59bc061d
NC
18332002-08-09 Graeme Peterson <gp@qnx.com>
1834
1835 * configure.in: Add support for ppc-*-nto* target.
1836 * configure: Regenerate.
70658493 1837
6088b00e
AM
18382002-08-09 Alan Modra <amodra@bigpond.net.au>
1839
1840 * config/tc-i386.h: Reorganize.
1841
0c11417f
MR
18422002-08-09 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1843
1844 * config/tc-mips.c (macro): Handle a register plus a 16-bit
1845 immediate offset in "dla" and "la" expansions.
1846
79500683
AM
18472002-08-09 Alan Modra <amodra@bigpond.net.au>
1848
1849 * configure.in: bfd_gas=yes for all i386 targets. Formatting.
1850 Remove "bfd_gas=yes" from target table when covered later.
1851 Consolidate some entries.
1852 * configure: Regenerate
1853
2bbd9c25
JJ
18542002-08-09 Jakub Jelinek <jakub@redhat.com>
1855
1856 * config/tc-i386.c (output_insn): Save frag_now and frag_now_fix ()
1857 at start of insn, pass it to output_disp and output_imm.
1858 (output_disp): Added arguments. If _GLOBAL_OFFSET_TABLE_ is seen
1859 in displacement for R_386_32 reloc, use R_386_GOTPC and compute
1860 properly addend.
1861 (output_imm): Added arguments. Compute properly addend for
1862 R_386_GOTPC.
1863 (md_apply_fix3): Remove R_386_GOTPC handling.
2bbd9c25 1864
dbac4f5b
RH
18652002-08-06 George France <france@handhelds.org>
1866
1867 * config/tc-alpha.c (cpu_types): Enabled ev67, ev68, -m21264a
1868 and m21264b processor names and cpu types.
1869 * doc/c-alpha.texi: Documented new types.
1870
95210096
AM
18712002-08-06 Alan Modra <amodra@bigpond.net.au>
1872
1873 * config/tc-ppc.c (md_apply_fix3): Adjust 16 bit XCOFF reloc offset.
1874
98605598
RS
18752002-08-01 Richard Sandiford <rsandifo@redhat.com>
1876
1877 * config/tc-mips.c (tc_gen_reloc): Extend GP-relative addend
1878 handling to BFD_RELOC_MIPS16_GPREL.
1879
08df2379
NC
18802002-08-01 Nick Clifton <nickc@redhat.com>
1881
1882 * config/tc-arm.c (add_to_lit_pool): Ensure that offset to literal
1883 pool is computed using signed arithmetic so that proper sign
1884 extension is performed if X_add_number is a 64-bit integer.
1885
70ee4658
DJ
18862002-08-01 H.J. Lu <hjl@gnu.org>
1887 Daniel Jacobowitz <drow@mvista.com>
1888
1889 * dwarf2dbg.c (dwarf2_finish): Don't emit unreferenced
1890 .debug_line section unless it has line information.
1891
4eb6b71c
NC
18922002-07-31 Ian Dall <ian@sibyl.beware.dropbear.id.au>
1893
1894 * config/tc-ns32k.h (md_pcrel_adjust): Supply prototype.
1895 * config/tc-ns32k.c (convert_iif, md_parse_option, md_show_usage):
1896 Allow default displacement size to be an option "--disp-size-default".
1897 (md_number_to_disp): Make error messages include value. Use %d to
1898 print integers, not %s.
1899 (fix_new_ns32k): Conditionally set fx_no_overflow so we don't
1900 get duplicate messages sometimes.
1901 (convert_iif): Grow frag to max possible instruction size. Avoid
1902 creating unnecessary fixes.
1903 (md_number_to_field) Add prototype.
1904 (encode_operand, parse, convert_iif, md_fix_pcrel_adjust): Add
1905 prototypes and make static.
1906 (struct addr_mode): Make mode and scaled_mode explicitly signed.
1907 (evaluate_expr): Use resultP argument instead of exprP global.
1908 (get_addr_mode): Quiten compiler warnings.
1909 (encode_operand): eliminate unused variables. Quiten compiler
1910 warnings. Eliminate nul character in format strings.
1911 (parse): argc is unsigned.
1912 (reloc): Type cast index to quieten compiler.
1913 (md_pcrel_adjust, md_apply_fix3): Remove unused variable.
1914 (md_convert_frag): Note unused parameters. Remove unused
1915 variables.
1916 (md_create_long_jump, md_create_short_jump,
1917 md_undefined_symbol_name, md_section_align, tc_gen_reloc): Note
1918 unused parameters.
70658493 1919
500800ca
NC
19202002-07-31 Nick Clifton <nickc@redhat.com>
1921
1922 * NEWS: Retroactively add entry for Lars Brinkhoff's contribution
1923 of the PDP-11 and 2.11BSD a.out support.
1924
03223580
NC
19252002-07-31 Momchil Velikov <velco@fadata.bg>
1926
1927 * config/tc-v850.c (md_assemble): Fix range check for immediate
1928 operand.
1929
c7a23324
CD
19302002-07-30 Chris Demetriou <cgd@broadcom.com>
1931
1932 * config/tc-mips.c (mips_cpu_info_table): Clean up entries related
1933 to Broadcom SB-1 core support.
1934
cfe86eaa
TS
19352002-07-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1936
1937 * config/tc-mips.c (mips_target_format): Fix formatting.
1938 Add recognition of n32 ABI formats.
1939
460597ba
MR
19402002-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1941
1942 * tc-mips.c (load_address): Don't clobber $at when loading a
1943 64-bit address in non-PIC code if noat is in effect.
1944 (macro): Likewise.
1945
9bd7d936
MR
19462002-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1947
1948 * config/tc-mips.c (macro): Use codes 6 and 7 in trap instructions
1949 used in division/multiply macro expansions similarly to how they
1950 are used in the variants with break instructions.
1951 (macro2): Likewise.
1952
7e392df6
NC
19532002-07-30 Graeme Peterson <gp@qnx.com>
1954
1955 * configure.in: Add support for arm-*-nto target.
1956 * configure: Regenerate.
70658493 1957
3d0c9500
NC
19582002-07-30 Nick Clifton <nickc@redhat.com>
1959
1960 * config/tc-arm.c (struct literal_pool): Add fields to allow
1961 multiple literal pools to be maintained.
1962 (find_literal_pool): New function.
1963 (find_or_make_literal_pool): New function.
1964 (add_to_literal_pool): Use find_or_make_literal_pool.
6088b00e 1965 (arm_s_text, arm_s_data, arm_s_section): Remove - no longer
3d0c9500
NC
1966 needed.
1967 (s_ltorg): Use find_literal_pool.
1968 (arm_cleanup): Dump all literal pools.
6088b00e 1969 * doc/c-arm.texi: Document new behaviour of only dumping literal
3d0c9500
NC
1970 pools upon request.
1971
dfff24c9
AM
19722002-07-26 Alan Modra <amodra@bigpond.net.au>
1973
1974 * config/tc-ppc.c (ppc_set_cpu): Use PPC_OPCODE_64 as the default
1975 rather than PPC_OPCODE_32 for powerpc64*.
1976
219576a4
NC
19772002-07-25 Nick Clifton <nickc@redhat.com>
1978
1979 * po/es.po: Updated Spanish translation.
1980 * po/fr.po: Updated French translation.
1981
316f5878
RS
19822002-07-25 Richard Sandiford <rsandifo@redhat.com>
1983
1984 * doc/c-mips.texi: Remove -mcpu. Document -mabi.
1985 * configure.in (MIPS_CPU_STRING_DEFAULT): New configuration macro.
1986 (USE_E_MIPS_ABI_O32, MIPS_DEFAULT_64BIT): New configuration macros.
1987 * configure, config.in: Regenerate.
1988 * config/tc-mips.c (file_mips_abi): Rename to mips_abi.
1989 (mips_set_options): Remove "abi" field.
1990 (mips_opts): Update accordingly. Replace all uses of mips_opts.abi
1991 with mips_abi.
1992 (mips_cpu): Remove.
1993 (mips_arch_string, mips_arch_info): New vars.
1994 (mips_tune_string, mips_tune_info): New vars.
1995 (ABI_NEEDS_32BIT_REGS, ABI_NEEDS_64BIT_REGS): New macros.
1996 (HAVE_32BIT_GPRS, HAVE_32BIT_FPRS): Don't check the ABI.
1997 (mips_isa_to_str, mips_cpu_to_str): Remove.
1998 (mips_ip): If the selected architecture is a generic ISA rather
1999 than a processor, only mention the ISA level in error messages.
2000 (OPTION_MCPU): Remove.
2001 (OPTION_FP64): New.
2002 (md_longopts): Add -mfp64, remove -mcpu.
2003 (mips_set_option_string): New fn.
2004 (md_parse_option): Make -mipsN update file_mips_isa rather than
2005 mips_opts.isa. Use mips_set_option_string to set -march or -mtune.
2006 Don't let -mgp32 and -mfp32 change the ABI.
2007 (show): Move to end of file. Constify string argument.
2008 (md_show_usage): Move to the end of the file. Read available
2009 architectures from mips_cpu_info_table.
2010 (mips_set_architecture): New fn.
2011 (mips_after_parse_args): Rework. Remove -mcpu handling. -mipsN
2012 is an alias for -march=mipsN. Don't change the ABI based on other
2013 flags. Infer the register size from the ABI as well as the
2014 architecture. Complain about more conflicting arguments.
2015 Unify logic with GCC.
2016 (s_mipsset): Don't change the ABI.
2017 (mips_elf_final_processing): Check USE_E_MIPS_ABI_O32.
2018 (mips_cpu_info_table): Remove Generic-MIPS* entries, keeping just
2019 "mipsN"-type entries. Remove entries that vary only in the
2020 manufacturer's prefix, or that have "000" replaced by "k".
2021 Remove TARGET_CPU entries. Make r2000 entry use CPU_R3000.
2022 (mips_strict_matching_cpu_name_p, mips_matching_cpu_name_p): New fns.
2023 (mips_parse_cpu): New fn.
2024 (mips_cpu_info_from_name, mips_cpu_info_from_cpu): Remove.
2025 (mips_cpu_info_from_isa): Minor formatting tweak.
2026
ff3063f5
NC
20272002-07-24 Nick Clifton <nickc@redhat.com>
2028
2029 * po/sv.po: Updated Swedish translation.
2030 * po/es.po: Updated Spanish translation.
2031
55eab186
AM
20322002-07-23 Alan Modra <amodra@bigpond.net.au>
2033
2034 * Makefile.am: Run "make dep-am".
2035 * Makefile.in: Regenerate.
2036 * doc/Makefile.in: Regenerate.
2037 * config.in: Regenerate.
2038 * po/POTFILES.in: Regenerate.
2039
0461a601
NC
20402002-07-23 Nick Clifton <nickc@redhat.com>
2041
ff3063f5 2042 * po/fr.po: Updated French translation.
0461a601 2043
ee8929cf
NC
20442002-07-23 Nick Clifton <nickc@redhat.com>
2045
2046 * CONTRIBUTORS: Ken Raeburn is no longer the maintainer for
2047 GAS.
2048
bad9ca53
TS
20492002-07-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2050
2051 * config/tc-mips.c (mips_need_elf_addend_fixup): Use S_IS_EXTERNAL
2052 instead of S_IS_EXTERN.
2053 (md_estimate_size_before_relax): Likewise.
2054 (mips_fix_adjustable): Likewise.
2055
a37de3d3
TS
20562002-07-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2057
2058 * config/tc-mips.c (mips_pic_level): Remove IRIX4_PIC.
2059
8dfa0188 20602002-07-19 Miroslav Tichy <tichm9am@ss1000.ms.mff.cuni.cz>
dfff24c9 2061 Nick Clifton <nickc@redhat.com>
8dfa0188
NC
2062
2063 * cond.c (s_ifdef): Treat a referenced but not yet defined
2064 symbol as if it were undefined, in exactly the same way as
2065 .equiv.
2066
dfff24c9
AM
2067 * doc/as.texinfo: Document that .ifdef, .ifndef and .equiv
2068 consider referenced bug not yet defined symbols to be
2069 undefined.
8dfa0188 2070
a40cbfa3
NC
20712002-07-18 Denis Chertykov <denisc@overta.ru>
2072 Frank Ch. Eigler <fche@redhat.com>
2073 Alan Lehotsky <alehotsky@cygnus.com>
2074 John Healy <jhealy@redhat.com>
2075 Jeff Johnston <jjohnstn@redhat.com>
2076
2077 * configure.in: Add ip2k configuraton.
2078 * configure: Regenerate.
2079 * Makefile.am: Add ip2k configuraton.
2080 * Makefile.in: Regenerate.
2081 * configure: Regenerate.
2082 * Makefile.in: Regenerate.
2083 * config/tc-ip2k.c: New file.
2084 * config/tc-ip2k.h: New files.
2085 * NEWS: Mention new support.
2086 * doc/Makefile.am (CPU_DOCS): Add c-ip2k.texi.
2087 * doc/Makefile.in: Regenerate.
2088 * doc/all.texi: Set IP2K
2089 * doc/as.texinfo: Add IP2K description.
2090 * doc/c-ip2k.texi: New file.
dfff24c9 2091
a40cbfa3
NC
20922002-07-19 Nick Clifton <nickc@cambridge.redhat.com>
2093
2094 * NEWS: Reformat to match style of other NEWS files.
dfff24c9 2095
a40cbfa3 20962002-07-17 Jan Hubicka <jh@suse.cz>
33fef721
JH
2097
2098 * tc-i386.c (i386_align_code): Implement x86_64 neutral code fillers.
2099
25d3fb58
AM
21002002-07-16 Moritz Jodeit <moritz@jodeit.org>
2101
2102 * config/tc-z8k.c (build_bytes): Correct order of memset args.
2103
2cbb2eef
NC
21042002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
2105
2106 * NEWS: Add 'Changes in 2.13'.
2107
da06c61e
AM
21082002-07-15 Matt Fredette <fredette@netbsd.org>
2109
2110 * config/tc-hppa.h (LABELS_WITHOUT_COLONS): Define if TE_NetBSD.
2111
9146926a
AM
21122002-07-12 Alan Modra <amodra@bigpond.net.au>
2113
2114 * config/tc-i386.c (process_suffix): Merge CODE_64BIT JumpByte
2115 case with non CODE_64BIT case. Don't warn on "qword ptr" if
2116 not CODE_64BIT.
2117
2b3c4602
AM
21182002-07-11 Alan Modra <amodra@bigpond.net.au>
2119
7e8d4ab4
AM
2120 * config/tc-ppc.c (ppc_elf_frob_symbol): Delete.
2121 (ppc_frob_file_before_adjust): New function.
2122 * config/tc-ppc.h (tc_frob_symbol): Don't define.
2123 (ppc_elf_frob_symbol): Don't declare.
2124 (tc_frob_file_before_adjust): Define.
2125 (ppc_frob_file_before_adjust): Declare.
2126
2b3c4602
AM
2127 * config/tc-ppc.c (md_pseudo_table): Warning fix.
2128 (ppc_cpu): Make it unsigned long to agree with struct powerpc_opcode
2129 flags.
2130 (ppc_size): Delete.
2131 (ppc_xcoff64): Rename to ppc_obj64.
2132 (md_parse_option <m>): Encode old ppc_size value in ppc_cpu.
2133 (ppc_set_cpu): Set PPC_OPCODE_32 too.
2134 (ppc_arch): Use ppc_obj64 instead of ppc_size to select bfd_mach_ppc64
2135 or bfd_mach_ppc.
2136 (ppc_target_format): Use ppc_obj64 to select format.
2137 (md_begin): Adjust for PPC_OPCODE_32/64 in ppc_cpu.
2138 (ppc_insert_operand): Use ppc_obj64 instead of ppc_size.
2139 (ppc_elf_suffix): Likewise. Don't depend on BFD_DEFAULT_TARGET_SIZE.
2140 (tc_frob_symbol): Likewise.
2141 (md_assemble): Use ppc_obj64 instead of ppc_size. Don't depend on
2142 BFD_DEFAULT_TARGET_SIZE.
2143 (ppc_tc): Likewise.
2144 (ppc_is_toc_sym): Likewise.
2145 (md_apply_fix3): Likewise.
2146 * config/tc-ppc.h (TC_FORCE_RELOCATION): Don't depend on
2147 BFD_DEFAULT_TARGET_SIZE.
2148 (ELF_TC_SPECIAL_SECTIONS): Likewise.
2149 (tc_frob_symbol): Likewise.
2150
aec421e0
TS
21512002-07-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2152
2153 * config/tc-mips.c (macro_build): Handle MIPS16 insns.
2154 (mips_ip): Likewise.
2155
c6682705
AM
21562002-07-09 Alan Modra <amodra@bigpond.net.au>
2157
2158 * config/tc-i386.c (md_pseudo_table <file>): Warning fix.
2159 (BFD_RELOC_8, BFD_RELOC_8_PCREL): Define for non-BFD.
2160 (md_apply_fix3): Formatting. Remove redundant test.
2161 (tc_gen_reloc): Remove redundant code.
2162 (tc_i386_force_relocation): Delete. Movy body of function to..
2163 * config/tc-i386.h (TC_FORCE_RELOCATION): .. here.
2164
03111e83
AM
21652002-07-09 Federico G. Schwindt <fgsch@olimpo.com.br>
2166
2167 * configure.in: Add hppa-*-openbsd* target, change
2168 alpha*-*-openbsd* format to elf, and use elf for sparc-*-openbsd*
2169 with sparc64 cpu.
2170 * configure: Regenerate.
2171
78d32a17
MR
21722002-07-08 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2173
2174 * config/tc-mips.c (macro): Shift the 32-bit address range
2175 accessible with a lone "lui" down by 32768.
2176
3a482fd5
MR
21772002-07-08 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2178
2179 * config/tc-mips.c (load_address): Use non-trapping "daddu"
2180 instead of "dadd" in address calculations.
2181 (macro): Likewise.
2182
cd61ebfe
AM
21832002-07-08 Alan Modra <amodra@bigpond.net.au>
2184
2185 * config/tc-i386.c (process_suffix): Remove intel mode movsx and
2186 movzx fudges.
2187 (md_assemble): Instead, zap the suffix here.
2188
a5d3c309
NC
21892002-07-03 Nick Clifton <nickc@cambridge.redhat.com>
2190
2191 * NEWS: Remove next release number until the release is actually
2192 upon us.
2193
ce4f7385
AM
21942002-07-03 Alan Modra <amodra@bigpond.net.au>
2195
2196 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
2197 Run "make dep-am".
2198 * Makefile.in: Regenerate.
2199
148b4c7a
MS
22002002-07-02 Martin Schwidefsky <schwidefsky@de.ibm.com>
2201
2202 * config/tc-s390.c (tc_s390_fix_adjustable): Prevent any adjustment
2203 to symbols in merge sections, even non pc-relative ones.
2204
2916066e
SC
22052002-06-29 Stephane Carrez <stcarrez@nerim.fr>
2206
2207 * config/tc-m68hc11.h (m68hc11_listing_header): Fix warning.
2208
96e87417
SC
22092002-06-29 Stephane Carrez <stcarrez@nerim.fr>
2210
2211 * config/tc-m68hc11.h (ELF_TC_SPECIAL_SECTIONS): New sections
2212 .softregs and .eeprom.
2213
83518699
DB
22142002-06-28 David O'Brien <obrien@FreeBSD.org>
2215
2216 * NEWS: Note the next release is 2.13.
2217
6c6783ff
NC
22182002-06-26 Nick Clifton <nickc@cambridge.redhat.com>
2219
2220 * po/tr.po: New translation imported.
2221
a2c36061
AM
22222002-06-26 Elias Athanasopoulos <eathan@otenet.gr>
2223
2224 * ecoff.c: (get_tag): Replace strcpy with xstrdup.
2225 (ecoff_directive_def): Likewise.
2226 (ecoff_directive_tag): Likewise.
2227 * listing.c (file_info): Likewise.
2228 * hash.c (what): Likewise.
2229
a13a0de8
L
22302002-06-25 H.J. Lu <hjl@gnu.org>
2231
2232 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
2233 * Makefile.in: Regenerated.
2234
6c6783ff 22352002-06-19 Dhananjay R. Deshpande <dhananjayd@kpit.com>
5db33d76
JR
2236
2237 * config/tc-sh.c (get_specific): Revert 2002-05-01 change.
2238 (assemble_ppi): Generate warning if the same register is used
2239 twice as destination in the same padd / pmuls instruction.
2240
0ebb9a87
DB
22412002-06-18 Dave Brolley <brolley@redhat.com>
2242
a2c36061 2243 From Catherine Moore, Michael Meissner, Richard Sandiford, Dave Brolley
0ebb9a87
DB
2244 * po/POTFILES.in: Add tc-frv.c, tc-frv.h.
2245 * configure.in: Support frv-*-*.
2246 * Makefile.am (CPU_TYPES): Add frv.
2247 (TARGET_CPU_CFILES): Add tc-frv.c.
2248 (TARGET_CPU_HFILES): Add tc-frv.h.
2249 (DEPTC_frv_coff): New variable.
2250 (DEPTC_frv_elf): New variable.
2251 (DEPOBJ_frv_coff): New variable.
2252 (DEPOBJ_frv_elf): New variable.
2253 (DEP_frv_coff): New variable.
2254 (DEP_frv_elf): New variable.
2255 * tc-frv.c: New file.
2256 * tc-frv.h: New file.
2257
2a24298d
CM
22582002-06-17 Catherine Moore <clm@redhat.com>
2259
a2c36061 2260 * config/obj-elf.h (TARGET_SYMBOL_FIELDS): Conditionally define.
2a24298d 2261
6c6783ff 22622002-06-17 J"orn Rennecke <joern.rennecke@superh.com>
96f31fc7
JR
2263
2264 * config/tc-sh.c (assemble_ppi): Initialize reg_n.
2265
184e65b1
TR
22662002-06-17 Tom Rix <trix@redhat.com>
2267
2268 * config/tc-i370.h (tc_comment_chars): Define for i370-elf.
2269
ecb4347a
DJ
22702002-06-14 H.J. Lu <hjl@gnu.org>
2271 Daniel Jacobowitz <drow@mvista.com>
2272
2273 * dwarf2dbg.h (dwarf2_directive_file): Return char *.
2274 * dwarf2dbg.c (dwarf2_directive_file): Return filename.
2275 * config/tc-mips.c (s_mips_file): Call s_app_file_string
2276 and new_logical_line for the first .file directive.
2277 * read.c (s_app_file_string): New function.
2278 (s_app_file): Call it.
2279 * read.h (s_app_file_string): Add declaration.
2280
22812002-06-14 Daniel Jacobowitz <drow@mvista.com>
2282
2283 * configure.in: Remove MIPS_STABS_ELF.
2284 * configure: Regenerated.
2285 * config.in: Regenerated.
2286 * config/obj-elf.h (ECOFF_DEBUGGING): Define to mips_flag_mdebug
2287 for MIPS targets.
2288 * config/tc-mips.c (mips_pseudo_table): Remove #ifdef around
2289 ".extern".
2290 (pdr_seg): Declare unconditionally.
2291 (md_begin): Always generate .pdr unless ECOFF_DEBUGGING or not ELF.
2292 (s_mips_end): Likewise. Generate stabs function markers.
2293 (s_mips_ent): Generate stabs function markers.
2294 (s_mips_frame): Always generate .pdr unless ECOFF_DEBUGGING or not
2295 ELF.
2296 (s_mips_mask): Likewise.
2297 (mips_flag_mdebug): New.
2298 (md_longopts): Add "mdebug" and "no-mdebug".
2299 (md_parse_options): Add OPTION_MDEBUG and OPTION_NO_MDEBUG.
2300 (mips_after_parse_args): Set mips_flag_mdebug.
2301 * doc/as.texinfo: Add "-mdebug" and "-no-mdebug" for MIPS.
2302
d6e9d61a
MR
23032002-06-13 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2304
2305 * config/tc-mips.c (md_apply_fix3): Don't subtract the symbol's
2306 value twice for RELA relocations.
2307
03e83a45
BE
23082002-06-12 Ben Elliston <bje@redhat.com>
2309
2310 * symbols.c (resolve_symbol_value): Initialise final_val.
2311
2312 * subsegs.c (subsegs_print_statistics): Cast frchp to void *.
2313
b4f96c78
TR
23142002-06-11 Tom Rix <trix@redhat.com>
2315
2316 * config/tc-ppc.c (ppc_subseg_align): Delete.
2317 (ppc_change_csect): Default csect align is 2.
a2c36061 2318 * config/tc-ppc.h (SUB_SEGMENT_ALIGN): Delete
b4f96c78 2319
8a6def3b
MM
23202002-06-09 Marek Michalkiewicz <marekm@amelek.gda.pl>
2321
2322 * config/tc-avr.c (mcu_types): Update.
2323
7542c0f2
JT
23242002-06-08 Matt Thomas <matt@3am-software.com>
2325
2326 * configure.in (vax-*-netbsdelf*, vax-*-netbsdaout*)
2327 (vax-*-netbsd*): New targets.
2328 * configure: Regenerate.
a2c36061 2329 * config/aout_gnu.h (enum machine_type): Add M_VAX4K_NETBSD.
7542c0f2 2330 * config/tc-vax.c: Add support for ELF and PIC.
a2c36061 2331 (flag_want_pic): New flag.
7542c0f2
JT
2332 (float_cons): Fix prototype.
2333 (md_apply_fix3): Adjust for BFD_ASSEMBLER.
2334 (md_assemble): Introduce a new is_absolute local, and use it
2335 rather than repeating the test. Make fatal errors actually
a2c36061 2336 fatal by using as_fatal as appropriate. Adjust for BFD_ASSEMBLER.
7542c0f2 2337 Add support for ELF. Add support for PIC.
a2c36061 2338 (md_convert_frag): Adjust for BFD_ASSEMBLER.
7542c0f2
JT
2339 (tc_aout_fix_to_chars): Only include if OBJ_AOUT and not
2340 BFD_ASSEMBLER.
a2c36061 2341 (vax_reg_parse): Make the % register prefix mandatory for ELF,
7542c0f2
JT
2342 optional for a.out, and not allowed for VMS. Adjust all callers.
2343 (md_create_short_jump): Add ATTRIBUTE_UNUSED to unused arguments.
a2c36061 2344 (md_create_long_jump): Likewise.
7542c0f2
JT
2345 (md_undefined_symbol): Likewise.
2346 (md_section_align): Likewise.
2347 (md_shortopts): Allow -k and -K for ELF.
2348 (md_parse_option): Set flag_want_pic if -k or -K.
2349 (tc_headers_hook): New function if OBJ_AOUT and not BFD_ASSEMBLER.
2350 (tc_gen_reloc): New function if BFD_ASSEMBLER.
2351 * config/tc-vax.h (tc_headers_hook): Remove.
2352 (TARGET_FORMAT): Set according to object format and target
2353 environment.
2354 (BFD_ARCH, TARGET_ARCH): Define.
2355 (NO_RELOC): Adjust for BFD_ASSEMBLER.
2356 (TC_RELOC_RTSYM_LOC_FIXUP, TC_FIX_ADJUSTABLE)
2357 (tc_fix_adjustable): Define if BFD_ASSEMBLER.
2358 * config/vax-inst.h (VAX_JSB, VAX_CALLS, VAX_CALLG): Define.
2359
5a38dc70
AM
23602002-06-08 Alan Modra <amodra@bigpond.net.au>
2361
e90b95f6
AM
2362 * Makefile.am: Run "make dep-am".
2363 * Makefile.in: Regenerate.
2364
5a38dc70
AM
2365 * as.c: Replace CONST with const.
2366 * write.c: Likewise.
2367 * config/obj-coff.c: Likewise.
2368 * config/tc-a29k.c: Likewise.
2369 * config/tc-arm.c: Likewise.
2370 * config/tc-dlx.c: Likewise.
2371 * config/tc-h8300.c: Likewise.
2372 * config/tc-h8500.c: Likewise.
2373 * config/tc-i370.c: Likewise.
2374 * config/tc-i860.c: Likewise.
2375 * config/tc-i960.c: Likewise.
2376 * config/tc-m68hc11.c: Likewise.
2377 * config/tc-m68k.c: Likewise.
2378 * config/tc-m88k.c: Likewise.
2379 * config/tc-mcore.c: Likewise.
2380 * config/tc-mips.c: Likewise.
2381 * config/tc-ns32k.c: Likewise.
2382 * config/tc-pdp11.c: Likewise.
2383 * config/tc-pj.c: Likewise.
2384 * config/tc-s390.c: Likewise.
2385 * config/tc-sh.c: Likewise.
2386 * config/tc-sparc.c: Likewise.
2387 * config/tc-tahoe.c: Likewise.
2388 * config/tc-tic80.c: Likewise.
2389 * config/tc-v850.c: Likewise.
2390 * config/tc-vax.c: Likewise.
2391 * config/tc-w65.c: Likewise.
2392 * config/tc-z8k.c: Likewise.
2393
c5dd6aab
DJ
23942002-06-08 Daniel Jacobowitz <drow@mvista.com>
2395
2396 Based on patch from Matt Green:
2397 * config/obj-elf.h (ECOFF_DEBUGGING): Make configurable.
a2c36061 2398 * config/tc-mips.c (s_mips_file): Renamed from s_file.
c5dd6aab
DJ
2399 (s_mips_loc): New function.
2400 (mips_nonecoff_pseudo_table): Call them.
a2c36061 2401 (append_insn): Call dwarf2_emit_insn.
c5dd6aab 2402
a4672219
TS
24032002-06-08 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2404
2405 * config/tc-mips.c (mips_opts): Fix comment, all ASE fields are set
2406 to -1.
2407 (file_ase_mips16): New veriable.
2408 (mips_eabi64): Remove.
2409 (CPU_HAS_MIPS16): New define.
2410 (CPU_HAS_MDMX): Fix data type.
2411 (md_begin): Code cleanup. Use file_ase_mips16.
2412 (mips_elf_final_processing): Handle mips16 header flag.
2413 Handle EABI flag without intermediate variable.
2414
437ee9d5
TS
24152002-06-08 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2416
2417 * doc/as.texinfo: Update MIPS documentation.
2418
85b51719
TS
24192002-06-08 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2420
2421 * config/tc-mips.c: Add define for $zero register.
2422 (md_begin): Add $zero as alias name for $0.
2423 (insn_uses_reg): Use ZERO define.
2424 (mips_ip): Add $zero as alias name for $0.
2425 (mips16_ip): Likewise.
2426 (s_cplocal): Demand empty rest of input line.
2427 (tc_get_register): Likewise. Add support for $kt0, kt1 register
2428 names. Use ZERO define. Fix input_line_pointer progress.
2429
9758f3fc
AM
24302002-06-07 Alan Modra <amodra@bigpond.net.au>
2431
2432 * symbols.c: Replace CONST by const throughout.
2433 (symbol_find_exact): Split out from..
2434 (symbol_find_base): ..here.
2435 * symbols.h: Replace CONST by const throughout.
2436 (symbol_find_exact): Declare.
2437 * config/obj-elf.c: #include "struc-symbol.h".
2438 (elf_frob_file): If group name matches an exported symbol, use that
2439 symbol for the signature and ".group" as the section name.
2440
6c6783ff 24412002-06-06 J"orn Rennecke <joern.rennecke@superh.com>
9691d64f
JR
2442
2443 * config/tc-sh.c (parse_at): @(symbol,pc) is A_DISP_PC again,
2444 but warn about it.
9691d64f 2445
ffdefa66
DJ
24462002-06-06 Daniel Jacobowitz <drow@mvista.com>
2447
2448 * tc-mips.c (mips_after_parse_args): Always set mips_opts.ase_mips3d
2449 and mips_opts.ase_mdmx if they are uninitialized.
2450
ec8b3afd
JL
24512002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
2452
2453 * gas/config/tc-hppa.c (pa_ip): Replace "L$0\001" with FAKE_LABEL_NAME.
2454 (hppa_force_relocation): Check if a stub just before the start symbol
2455 of the last call_info is reachable before forcing relocation. Fix
2456 typo.
2457
e9670677
MR
24582002-06-04 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2459
2460 * config/tc-mips.c (mips_after_parse_args): New function.
2461 (md_begin): Move processing of defaults to mips_after_parse_args.
2462 config/tc-mips.h (md_after_parse_args): Define.
2463
5b0e55b6
JT
24642002-06-04 Jason Thorpe <thorpej@wasabisystems.com>
2465
2466 * configure.in (sh5*): Set cpu_type to sh64 and endian to big.
2467 (sh5le*, sh64le*): Set cpu_type to sh64 and endian to little.
2468 (sh5*-*-netbsd*, sh64*-*-netbsd*): New targets.
2469 * configure: Regenerate.
2470 * config/tc-sh64.c (sh64_target_format): Add support for NetBSD
2471 environment.
2472
a074e149
JT
24732002-06-04 Jason Thorpe <thorpej@wasabisystems.com>
2474
2475 * config/tc-sh64.h (MD_PCREL_FROM_SECTION): Undef before redefining.
2476
d2dab548
AM
24772002-06-04 Alan Modra <amodra@bigpond.net.au>
2478
2479 * config/obj-elf.c (obj_elf_change_section): Set and check elf
2480 linkonce flag. Print all warnings.
2481 (obj_elf_section): Parse ",comdat" for groups.
2482 (elf_frob_file): Set SEC_LINK_ONCE on COMDAT groups. Check
2483 consistency of comdat flag.
2484
20e130e9
RH
24852002-06-02 Richard Henderson <rth@redhat.com>
2486
2487 * config/tc-alpha.c (alpha_adjust_symtab_relocs): Fix thinko
2488 with LITERALs without sequence numbers.
2489
9e756d64
RH
24902002-06-01 Richard Henderson <rth@redhat.com>
2491
2492 * config/tc-alpha.c: Move LITUSE constants to "elf/alpha.h".
2493 Rename them LITUSE_ALPHA_*.
2494
3048287a
NC
24952002-05-31 Shrinivas Atre <ShrinivasA@kpit.com>
2496
2497 * config/tc-h8300.c (get_operand): Allow stm.l and ldm.l insns to
2498 accept parentheses enclosed register lists.
2499
194b5210
AM
25002002-05-31 Alan Modra <amodra@bigpond.net.au>
2501
2502 * Makefile.am: Run "make dep-am".
2503 * Makefile.in: Regenerate.
2504 * po/POTFILES.in: Regenerate.
2505
34e97952
AM
25062002-05-31 Graeme Peterson <gp@qnx.com>
2507
2508 * configure.in: Add i386-*-nto-qnx*.
2509 * configure: Regenerate.
2510
793b27f4
TS
25112002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2512
2513 * config/tc-mips.c (mips_ip): Use unsigned long values for
2514 warning output.
2515
80245285
TS
25162002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2517
2518 * config/tc-mips.c (s_cpsetup): Fix initialization of
2519 mips_cpreturn_register and mips_cpreturn_offset.
2520
698b7d9d
TS
25212002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2522
2523 * config/tc-mips.c (s_cpsetup): Fix comment.
2524
76db943d
TS
25252002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2526
2527 * config/tc-mips.c (md_begin): Add $ra as alias name for $31.
2528 (mips_ip): Likewise.
2529 (mips16_ip): Likewise.
2530 (tc_get_register): Likewise.
2531
deec1734 25322002-05-30 Chris G. Demetriou <cgd@broadcom.com>
a2c36061 2533 Ed Satterthwaite <ehs@broadcom.com>
deec1734
CD
2534
2535 * config/tc-mips.c (mips_set_options): New "ase_mdmx" member.
2536 (mips_opts): Initialize "ase_mdmx" member.
2537 (file_ase_mdmx): New variable.
2538 (CPU_HAS_MDMX): New macro.
2539 (md_begin): Initialize mips_opts.ase_mdmx and file_ase_mdmx
2540 based on command line options and configuration defaults.
2541 (macro_build): Note in comment that use of MDMX in macros is
2542 not currently allowed.
2543 (validate_mips_insn): Add support for the "O", "Q", "X", "Y", and
2544 "Z" MDMX operand types.
2545 (mips_ip): Accept MDMX instructions if mips_opts.ase_mdmx is set,
2546 and add support for the "O", "Q", "X", "Y", and "Z" MDMX operand
2547 types.
2548 (OPTION_MDMX, OPTION_NO_MDMX, md_longopts, md_parse_option):
2549 Add support for "-mdmx" and "-no-mdmx" options.
2550 (OPTION_ELF_BASE): Move to accomodate new options.
2551 (s_mipsset): Support ".set mdmx" and ".set nomdmx".
2552 (mips_elf_final_processing): Set MDMX ASE ELF header flag if
2553 file_ase_mdmx was set.
2554 * doc/as.texinfo: Document -mdmx and -no-mdmx options.
2555 * doc/c-mips.texi: Likewise, and document ".set mdmx" and ".set
2556 nomdmx" directives.
2557
9ee72ff1
TS
25582002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2559
2560 * config/tc-mips.c (OPTION_NO_M7000_HILO_FIX): Rename to
2561 OPTION_MNO_7000_HILO_FIX. Add alternate "mno-fix7000"
2562 command line switch conforming to gcc conventions.
2563 * doc/c-mips.texi: Document -mno-fix7000 instead of no-mfix-7000.
2564
438c16b8
TS
25652002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2566
2567 * config/tc-mips.c (macro_build_jalr): New Function.
2568 (md_begin): NewABI uses big GOTs.
2569 (macro_build): Recognize BFD_RELOC_MIPS_GOT_DISP,
2570 BFD_RELOC_MIPS_GOT_PAGE, BFD_RELOC_MIPS_GOT_OFST as valid.
2571 (load_address): Add some NewABI PIC support.
2572 (macro): Likewise.
2573 (md_apply_fix): Special handling for BFD_RELOC_MIPS_JALR.
2574 (tc_gen_reloc): Don't encode NewABI vtables in REL relocations.
2575
f7ea7ef2
TS
25762002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2577
2578 * config/tc-mips.c (load_address): Use mips_gp_register instead
2579 of hardcoded value. Remove dbl parameter, use HAVE_32BIT_ADDRESSES
2580 instead.
2581 (macro): Use mips_gp_register instead of hardcoded value.
2582
3765b1be
RH
25832002-05-30 Richard Henderson <rth@redhat.com>
2584
2585 * expr.h (operatorT): Add O_md17..O_md32.
2586 * config/tc-alpha.c (O_lituse_tlsgd, O_lituse_tlsldm, O_tlsgd,
2587 O_tlsldm, O_gotdtprel, O_dtprelhi, O_dtprello, O_dtprel, O_gottprel,
2588 O_tprelhi, O_tprello, O_tprel): New.
2589 (USER_RELOC_P, alpha_reloc_op_tag, debug_exp): Include them.
2590 (DUMMY_RELOC_LITUSE_TLSGD, DUMMY_RELOC_LITUSE_TLSLDM): New.
2591 (LITUSE_TLSGD, LITUSE_TLSLDM): New.
2592 (struct alpha_reloc_tag): Add master, saw_tlsgd, saw_tlsld,
2593 saw_lu_tlsgd, saw_lu_tlsldm. Make multi_section_p a bit field.
2594 (md_apply_fix3): Handle TLS relocations.
2595 (alpha_force_relocation, alpha_fix_adjustable): Likewise.
2596 (alpha_adjust_symtab_relocs): Sort LITERAL relocs after the
2597 associated TLS reloc. Check lituse_tls relocs match up.
2598 (emit_insn): Handle TLS relocations.
2599 (ldX_op): Remove.
2600
1c5cec28
RH
2601 * doc/c-alpha.texi: Add docs for tls relocations.
2602
def2e0dd
TS
26032002-05-30 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2604
2605 * config/tc-mips.c (mips_gprel_offset): New variable.
2606 (s_gpvalue): Use it.
2607
8ade06a8
TR
26082002-05-30 Diego Novillo <dnovillo@redhat.com>
2609
a2c36061
AM
2610 * gas/config/tc-d10v.c (check_resource_conflict): Only check
2611 write-write conflicts.
2612 (md_assemble): Reformat introductory comment.
2613 (parallel_ok): Prevent packing only if the first
2614 instruction cannot be packed.
8ade06a8
TR
2615
26162002-05-30 Jason Eckhardt <jle@redhat.com>
2617 Tom Rix <trix@redhat.com>
2618
2619 * config/tc-d10v.c (build_insn): Check for immediates.
2620
c9914766
TS
26212002-05-28 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2622
2623 * config/tc-mips.c: Replace GP in comments by $gp.
2624 (mips_big_got): Initialize.
2625 (mips_trap): Initialize.
2626 (load_address): Use mips_gp_register instead of hardcoded value.
2627 Remove dbl parameter, use HAVE_32BIT_ADDRESSES instead.
2628 (macro): Use mips_gp_register instead of hardcoded value.
2629 (macro2): Change load_address calls.
2630 (md_pcrel_from): Comment formatting.
2631 (s_cpload): Use mips_gp_register instead of hardcoded value.
2632 (s_cprestore): Likewise. Comment formatting.
2633 (s_gpword): Fix data type.
2634 (s_cpadd): Use mips_gp_register instead of hardcoded value.
2635 (nopic_need_relax): Replace GP in comments by $gp.
2636 (mips_elf_final_processing): Better comment.
2637
d172d4ba
NC
26382002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
2639
2640 * configure.in: Add DLX configuraton
2641 * Makefile.am: Add DLX configuraton
2642 * configure: Regenerate.
2643 * Makefile.in: Regenerate.
2644 * config/tc-dlx.c: New file.
2645 * config/tc-dlx.h: New files.
52216602 2646 * NEWS: Mention new support.
d172d4ba 2647
e9732b6d
NC
26482002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
2649
2650 * config/obj-coff.c (write_object_file): Add missing semicolon.
2651
f9419b05
TS
26522002-05-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2653
2654 * config/tc-mips.c (mips_emit_delays): Replace magic constant for RA
2655 by the define. Remove superfluous check of mips_opts.mips16.
2656 (append_insn): Likewise. Canonicalize variable increments.
2657 (macro_build): Canonicalize variable increments.
2658 (macro_build_lui): Likewise.
2659 (load_register): Likewise.
2660 (load_address): Move pointer initialization.
2661 (macro): Move pointer to a more local scope. Canonicalize variable
2662 increments. Better comments. Replace magic constant for RA by the
2663 define.
2664 (macro2): Replace magic constant for RA by the define. Canonicalize
2665 variable increments.
2666 (mips_ip): Canonicalize variable increments.
2667 (mips16_ip): Replace magic constant for RA by the define.
2668 (my_getSmallParser): Canonicalize variable increments/decrements.
2669 (my_getPercentOp): Likewise.
2670 (my_getSmallExpression): Likewise.
2671 (s_align): Likewise.
2672 (s_mipsset): Likewise.
2673 (s_cpsetup): Likewise.
2674 (s_insn): Remove superfluous check of mips_opts.mips16.
2675 (s_mips_stab): Likewise.
2676 (mips_handle_align): Canonicalize variable increments.
2677 (s_mips_ent): Likewise.
2678 (s_mips_end): Add comment.
2679
aa501e5c
JT
26802002-05-26 Jason Thorpe <thorpej@wasabisystems.com>
2681
2682 * configure.in: Use ns32k-*-netbsd* instead of ns32k-pc532-netbsd*.
2683 * configure: Regenerate.
2684
29589b0c
AM
26852002-05-25 Alan Modra <amodra@bigpond.net.au>
2686
2687 * Makefile.am (OBJS): Depend on ansidecl.h and fopen-same.h.
2688 * Makefile.in: Regenerate.
2689 * dep-in.sed: Reorder to match OBJS in Makefile.am.
2690 * configure.in (ALL_OBJ_DEPS): Add symcat.h when need_bfd.
2691 * configure: Regenerate.
2692 * as.h: Use #include "" instead of <> for local header files.
2693 * flonum-konst.c: Likewise.
2694 * flonum-mult.c: Likewise.
2695 * gasp.c: Likewise.
2696 * listing.c: Likewise.
2697 * config/tc-ia64.h: Likewise.
2698 * config/tc-v850.h: Likewise.
2699
436e8db0
NC
27002002-05-24 TAMURA Kent <kent@netbsd.org>
2701
2702 * configure.in: Add a target for i386-netbsdpe.
2703 * configure: Regenerate.
2704
13ae64f3
JJ
27052002-05-23 Jakub Jelinek <jakub@redhat.com>
2706
2707 * config/obj-elf.c (elf_common): Renamed from obj_elf_common.
2708 (obj_elf_common): Call elf_common.
2709 (obj_elf_tls_common): New function.
2710 (elf_pseudo_tab): Support .tls_common.
2711 (special_sections): Add .tdata and .tbss.
2712 (obj_elf_change_section): Set SEC_THREAD_LOCAL for SHF_TLS
2713 sections.
2714 (obj_elf_parse_section_letters): Support T in section flags (SHF_TLS).
2715 (obj_elf_parse_section_letters): Include T in error message.
2716 * config/tc-ppc.c (ppc_section_letter): Likewise.
2717 * config/tc-alpha.c (alpha_elf_section_letter): Likewise.
2718 (tc_gen_reloc): Handle SEC_THREAD_LOCAL the same way as
2719 SEC_MERGE.
2720 * config/tc-sparc.c (md_apply_fix3): Likewise.
2721 * config/tc-i386.c (tc_i386_fix_adjustable): Add TLS relocs.
2722 Define them if not BFD_ASSEMBLER.
2723 (lex_got): Support @TLSGD, @TLSLDM, @GOTTPOFF, @TPOFF, @DTPOFF
2724 and @NTPOFF.
2725 (md_apply_fix3): Add TLS relocs.
2726 * config/tc-ia64.c (enum reloc_func): Add FUNC_DTP_MODULE,
2727 FUNC_DTP_RELATIVE, FUNC_TP_RELATIVE, FUNC_LT_DTP_MODULE,
2728 FUNC_LT_DTP_RELATIVE, FUNC_LT_TP_RELATIVE.
2729 (pseudo_func): Support @dtpmod(), @dtprel() and @tprel().
2730 (ia64_elf_section_letter): Include T in error message.
2731 (md_begin): Support TLS operators.
2732 (md_operand): Likewise.
2733 (ia64_gen_real_reloc_type): Support TLS relocs.
13ae64f3
JJ
2734 * write.c (adjust_reloc_syms): Don't change symbols in
2735 SEC_THREAD_LOCAL sections to STT_SECTION + addend.
2736
c62e1cc3
NC
27372002-05-23 Nick Clifton <nickc@cambridge.redhat.com>
2738
2739 * config/tc-arm.c (md_apply_fix3): For the Thumb BLX reloc
2740 round the relocation up rather than down.
2741
6ff96af6
NC
27422002-05-23 Nick Clifton <nickc@cambridge.redhat.com>
2743
2744 * config/obj-coff.c (obj_coff_section): Silently ignore an 'a'
2745 flag.
a2c36061 2746 * doc/as.texinfo: Document that the COFF version of .section
6ff96af6
NC
2747 ignores the 'a' flag.
2748
18e1d487
AM
27492002-05-23 Alan Modra <amodra@bigpond.net.au>
2750
69108c1f
AM
2751 * config/tc-alpha.c (assemble_tokens): Protect use of
2752 ALPHA_RELOC_TABLE with #ifdef RELOC_OP_P.
2753
18e1d487
AM
2754 * write.c (size_seg): Check adjustment to last frag.
2755 (SUB_SEGMENT_ALIGN): If HANDLE_ALIGN defined, pad out last frag to
2756 section alignment.
2757 * config/obj-coff.c (SUB_SEGMENT_ALIGN): Likewise.
2758 * config/obj-ieee.c (SUB_SEGMENT_ALIGN): Likewise.
2759 (write_object_file): Invoke md_do_align if available, and use
2760 frag_align_code on text sections.
2761 * config/obj-vms.h (SUB_SEGMENT_ALIGN): Now two args.
2762 * config/tc-m88k.h (SUB_SEGMENT_ALIGN): Likewise.
2763 * config/tc-ppc.h (SUB_SEGMENT_ALIGN): Likewise.
2764 * config/tc-sh.h (SUB_SEGMENT_ALIGN): Likewise.
2765 * config/tc-i386.h (SUB_SEGMENT_ALIGN): Likewise. Define for
2766 BFD_ASSEMBLER too.
2767
9d66a1d9
L
27682002-05-22 H.J. Lu <hjl@gnu.org>
2769
2770 * dwarf2dbg.c (dwarf2_directive_loc): Call listing_source_file
2771 for source file.
2772
76feaaf3
NC
27732002-05-22 Nick Clifton <nickc@cambridge.redhat.com>
2774
2775 * config/tc-arm.c (arm_s_section): Enable for COFF builds as well
2776 as ELF builds.
2777
1080e97d
L
27782002-05-22 H.J. Lu <hjl@gnu.org>
2779
2780 * dwarf2dbg.c (dwarf2_emit_insn): Emit only one line symbol
2781 for one .loc for compiler.
2782
c90bbe5b
TS
27832002-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2784
2785 * config/tc-mips.c (macro): Relax warning, it's toot strict for
2786 embedded-PIC.
2787
771c7ce4
TS
27882002-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2789
2790 * config/tc-mips.c (macro2): Add 64 bit drol, dror macros.
2791 Optimize the rotate by zero case.
2792
fa70f2ed
NC
27932002-05-21 Nick Clifton <nickc@cambridge.redhat.com>
2794
2795 * configure.in: Remove accidental enabling of bfd_gas=yes for
2796 sh-coff targets.
2797 * configure: Regenerate.
2798
411863a4
KH
27992002-05-18 Kazu Hirata <kazu@cs.umass.edu>
2800
2801 * app.c: Fix formatting.
2802 * as.c: Likewise.
2803 * ehopt.c: Likewise.
2804 * expr.c: Likewise.
2805 * input-file.c: Likewise.
2806 * listing.c: Likewise.
2807 * macro.h: Likewise.
2808 * stabs.c: Likewise.
2809 * symbols.c: Likewise.
2810
eb268f46
AM
28112002-05-17 Alan Modra <amodra@bigpond.net.au>
2812
2813 * config/obj-generic.c: Delete file.
2814 * config/obj-generic.h: Likewise.
2815
bdfdba87
MM
28162002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
2817
2818 * config/tc-avr.c (mcu_types): Update for new devices.
2819
3bec30a8
TS
28202002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2821
2822 * config/tc-mips.c (macro): Warn about wrong la/dla use.
2823
8586fc66
TS
28242002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2825
2826 * config/tc_mips.c (s_cpsetup): Fix completely bogus code which had
2827 worked sometimes by accident. Fix copy&paste comment.
2828
195325d2
TS
28292002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2830
2831 * config/tc-mips.c (md_begin): Fix .reginfo and .MIPS.option section
2832 alignment for NewABI. Let n32 use .reginfo. Remove useless casts.
2833 (mips_elf_final_processing): Let n32 use .reginfo.
2834
4db1a35d
TS
28352002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2836
2837 * config/tc-mips.c (append_insn): Fix too small range of variable.
2838
7f367f01
NC
28392002-05-14 Nick Clifton <nickc@cambridge.redhat.com>
2840
2841 * config/tc-arm.c (arm_cleanup): Remove redundant call to
2842 listing_prev_line().
2843
7193a0e7
NC
28442002-05-13 Nick Clifton <nickc@cambridge.redhat.com>
2845
f5b4e9e4
NC
2846 * config/tc-arm.c (md_assemble): Remove redundant call to
2847 listing_prev().
2848
b6675117
NC
2849 * dwarf2dbg.c (dwarf2_emit_insn): Do not reset
2850 loc_directive_seen.
2851
7193a0e7
NC
2852 * stabs.c (s_stab_generic): Fix grammatical error in warning
2853 message.
2854
50b31228
AM
28552002-05-13 Alan Modra <amodra@bigpond.net.au>
2856
2857 * write.c (subsegs_finish): Don't specially align last subseg.
2858
cce5a618
NC
28592002-05-11 Nick Clifton <nickc@cambridge.redhat.com>
2860
6360824b
NC
2861 * stabs.c (s_stab_generic): Warn about a description field that is
2862 too big.
2863
f8e42b8c
NC
2864 * config/obj-coff.c: Fix compile time warnings when compiling
2865 without BFD_ASSEMBLER defined.
2866 Fix formatting.
2867
cce5a618
NC
2868 * config/tc-sh.c (md_pcrel_from): Define for use with sh-hms
2869 target.
2870 (md_pcrel_from_section): Use md_pcrel_from().
2871
d7c310c2
NC
28722002-05-11 Bruno Haible <bruno@clisp.org>
2873
2874 * dwarf2dbg.c (dwarf2_emit_insn): Use the 'current' struct filled
2875 by dwarf2_directive_loc, instead of calling dwarf2_where.
2876
5d6255fe
KH
28772002-05-11 Kazu Hirata <kazu@cs.umass.edu>
2878
2879 * config/obj-coff.h: Fix formatting.
2880 * config/tc-mcore.c: Likewise.
2881 * config/tc-mn10300.c: Likewise.
2882 * config/tc-openrisc.c: Likewise.
2883 * config/tc-or32.c: Likewise.
2884 * config/tc-pdp11.c: Likewise.
2885 * config/tc-ppc.c: Likewise.
2886 * config/tc-ppc.h: Likewise.
2887 * config/tc-sh64.c: Likewise.
2888 * config/tc-sh.c: Likewise.
2889 * config/tc-tic54x.c: Likewise.
2890 * config/tc-xstormy16.c: Likewise.
2891 * config/tc-xstormy16.h: Likewise.
2892
cc8a6dd0
KH
28932002-05-09 Kazu Hirata <kazu@cs.umass.edu>
2894
2895 * config/obj-coff.c: Fix formatting.
2896 * config/obj-elf.c: Likewise.
2897 * config/tc-alpha.c: Likewise.
2898 * config/tc-arm.c: Likewise.
2899 * config/tc-d10v.c: Likewise.
2900 * config/tc-d30v.c: Likewise.
2901 * config/tc-h8300.c: Likewise.
2902 * config/tc-hppa.c: Likewise.
2903
412167cb
AM
29042002-05-09 Alan Modra <amodra@bigpond.net.au>
2905
2906 * config/tc-i386.c (md_estimate_size_before_relax) Don't lose
2907 reloc when no_cond_jump_promotion.
2908
91975467
JW
29092002-05-08 Jim Wilson <wilson@redhat.com>
2910
2911 * config/tc-i960.c (md_estimate_size_before_relax): Return size of
2912 current variable part of frag.
2913
a1b6236b
KH
29142002-05-08 Kazu Hirata <kazu@cs.umass.edu>
2915
2916 * config/tc-mmix.c: Fix formatting.
2917 * config/tc-mmix.h: Likewise.
2918
c8615825
AM
29192002-05-08 Alan Modra <amodra@bigpond.net.au>
2920
2921 * configure: Regenerate.
2922
8a104df9
KH
29232002-05-07 Kazu Hirata <kazu@cs.umass.edu>
2924
2925 * config/tc-m68k.c: Fix formatting.
2926
d3d8a9ee
NC
29272002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
2928
2929 * Makefile.am: Honour DESTDIR.
2930 * Makefile.in: Regenerate.
2931
40449e9f
KH
29322002-05-06 Kazu Hirata <kazu@cs.umass.edu>
2933
2934 * config/tc-ia64.c: Fix formatting.
2935 * config/tc-ia64.h: Likewise.
2936
98d3f06f
KH
29372002-05-04 Kazu Hirata <kazu@cs.umass.edu>
2938
2939 * config/tc-mips.c: Fix formatting.
2940 * config/tc-s390.c: Likewise.
2941 * config/tc-s390.h: Likewise.
2942
8f5b2891
AO
29432002-05-03 Alexandre Oliva <aoliva@redhat.com>
2944
2945 * config/tc-s390.c (md_gather_operands): Emit dwarf2 line-number
2946 information for instructions.
2947
d1a6c242
KH
29482002-05-02 Kazu Hirata <kazu@cs.umass.edu>
2949
2950 * as.h: Fix formatting.
2951 * cgen.c: Likewise.
2952 * cgen.h: Likewise.
2953 * dwarf2dbg.c: Likewise.
2954 * frags.h: Likewise.
2955 * gasp.c: Likewise.
2956 * macro.c: Likewise.
2957 * read.c: Likewise.
2958 * stabs.c: Likewise.
2959 * symbols.c: Likewise.
2960
1cfc59d5
AM
29612002-05-02 Alan Modra <amodra@bigpond.net.au>
2962
72297628
AM
2963 * app.c (mri_pseudo): Only declare for TC_M68K.
2964
1cfc59d5
AM
2965 * config/tc-ppc.c (mapping): Map sectoff to BFD_RELOC_16_BASEREL.
2966 (ppc_elf_validate_fix): Replace BFD_RELOC_32_BASEREL with
2967 BFD_RELOC_16_BASEREL.
2968 (md_assemble): Likewise.
2969 (md_apply_fix3): Likewise.
2970
358b94bd
NC
29712002-05-02 Nick Clifton <nickc@cambridge.redhat.com>
2972
2973 * config/tc-arm.c (thumb_add_sub): Do not convert a subtract of
2974 zero into an add of zero - it is not the same.
2975
d8731e7d
NC
29762002-05-01 Arati Dikey <aratid@kpit.com>
2977
2978 * tc-sh.c (get_specific): Generate warning if the same
2979 destination register is used in parallel instructions.
2980
200dbde8
AM
29812002-05-01 Andrew Macleod <amacleod@cygnus.com>
2982
2983 * config/tc-i386.c (extra_symbol_chars): Add '[' to the list.
2984
3f3cdb03
AM
29852002-05-01 Alan Modra <amodra@bigpond.net.au>
2986
2987 * write.c (cvt_frag_to_fill): Set fr_offset to zero on .org
2988 backwards to prevent cascading errors.
2989
9b2b7d69
MM
29902002-04-30 Mark Mitchell <mark@codesourcery.com>
2991
2992 * configure.in: Add support for powerpc-*-windiss.
2993 * configure: Regenerated.
a2c36061 2994
0f3f3d8b
AM
29952002-04-28 Alan Modra <amodra@bigpond.net.au>
2996
819e6420
AM
2997 * config/tc-s390.c (md_parse_option): Formatting.
2998
0f3f3d8b
AM
2999 * config/tc-i386.c: Formatting fixes, add missing space in error
3000 message.
3001
3c25c5f6
NC
30022002-04-24 Christian Groessler <chris@groessler.org>
3003
3004 * config/tc-z8k.c (build_bytes): Add support for new cases:
3005 CLASS_IGNORE and ARG_NIM4.
3006 (md_assemble): Prevent destruction of input_line_pointer if
3007 get_operands returns failure.
3008
af55c2e6
CD
30092002-04-24 Chris G. Demetriou <cgd@broadcom.com>
3010
3011 * config/tc-mips.c (macro_build): Do _not_ allow MIPS-3D
3012 instructions to be generated by macros.
3013
062cd5e7
AS
30142002-04-24 Andreas Schwab <schwab@suse.de>
3015
3016 * config/tc-i386.c (output_jump, output_disp)
3017 (md_estimate_size_before_relax): Don't set fx_pcrel_adjust any
3018 more.
3019 (md_apply_fix3): Remember addend value for rela relocations.
3020 (tc_gen_reloc): Correctly compute pc-relative relocation addend.
3021
2b2e39bf
CD
30222002-04-22 Chris Demetriou <cgd@broadcom.com>
3023
3024 * config/tc-mips.c (macro_build): Add close-parenthesis missing
3025 from previous change.
3026
80cc45a5
EC
30272002-04-22 Eric Christopher <echristo@redhat.com>
3028
2b2e39bf
CD
3029 * config/tc-mips.c (macro_build): Add warning if macro instructions
3030 are expanded into a branch delay slot.
80cc45a5 3031
ffa554ed
GK
30322002-04-17 Geoffrey Keating <geoffk@redhat.com>
3033
3034 * dwarf2dbg.c (dwarf2_gen_line_info): Do emit duplicate line
3035 numbers, gdb relies on them to detect the start of the prologue.
3036
302576af
MS
30372002-04-17 Martin Schwidefsky <schwidefsky@de.ibm.com>
3038
3039 * config/tc-s390.c (tc_s390_fix_adjustable): Prevent adjustments to
3040 symbols in merge sections.
3041
0f3f3d8b 30422002-04-16 Alan Modra <amodra@bigpond.net.au>
091e58c1
AM
3043
3044 * as.c (main): Don't reference _bfd_chunksize.
3045
76b999d0
TR
30462002-04-15 Tom Rix <trix@redhat.com>
3047
80cc45a5 3048 * config/tc-d10v.c (d10v_fix_adjustable): Prevent adjustments to
76b999d0
TR
3049 symbols in merge sections.
3050
580a832e
RS
30512002-04-11 Richard Sandiford <rsandifo@redhat.com>
3052
3053 * doc/invoke.texi (TC_LARGEST_EXPONENT_IS_NORMAL): Document.
3054 * config/atof-ieee.c (TC_LARGEST_EXPONENT_IS_NORMAL): Add an
3055 argument for the precision.
3056 (gen_to_words): Update accordingly.
3057
edde18a5
AM
30582002-04-10 Alan Modra <amodra@bigpond.net.au>
3059
3060 * as.c (parse_args <OPTION_VERSION>): Use VERSION is
3061 BFD_VERSION_STRING unavailable.
3062 * config/tc-i386.c (INLINE): Define (for non-BFD assembler).
3063
6c6783ff 30642002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
5bcd00a6
JR
3065
3066 * config/tc-sh.h (TC_FIX_ADJUSTABLE): Disable adjusting if
3067 symbol_used_in_reloc_p is true.
2ed5f585
JR
3068
3069 * config/tc-sh.c (md_apply_fix3): Don't zero relocations on big
3070 endian hosts.
3071
8e42bcb6
AM
30722002-04-04 Alan Modra <amodra@bigpond.net.au>
3073
3074 * dep-in.sed: Cope with absolute paths.
3075 * Makefile.am (dep.sed): Subst TOPDIR.
3076 Run "make dep-am".
3077 * Makefile.in: Regenerate.
3078
874e8986
TS
30792002-04-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
3080
3081 * config/tc-mips.c (mips16_macro_build): Cast type mismatch.
3082 (mips_ip): Remove unused variable.
3083 (md_apply_fix3): Cast signed/unsignes mismatches. Replace
3084 unsigned char with bfd_byte.
3085 (s_file): Remove unused variable.
3086 (s_mips_ent): Likewise.
3087
fbdbf472
TR
30882002-04-03 Tom Rix <trix@redhat.com>
3089
3090 * config/tc-d10v.c (d10v_insert_operand): Fix warning in as_bad_where.
3091 (build_insn): Same.
3092 (find_opcode): Fix warning in as_warn.
3093 * config/tc-d10v.h: Update Copyright.
3094
30952002-04-03 Alan Matsuoka <alanm@redhat.com>
3096 Tom Rix <trix@redhat.com>
3097
3098 From Jeff Knaggs <jknaggs@redhat.com>
80cc45a5 3099 * config/tc-d10v.c (check_resource_conflict): New function to
fbdbf472
TR
3100 check for resource conflicts.
3101
3102 From Jason Eckhardt <jle@redhat.com>
a2c36061
AM
3103 * config/tc-d10v.c (build_insn): Check for unresolved imm4 or
3104 imm3 fields.
3105 * config/tc-d10v.c (find_opcode): Emit a warning if one of the
3106 reserved control registers is used.
3107 * config/tc-d10v.c (build_insn): Check for unresolved imm4 or
3108 imm3 fields.
fbdbf472
TR
3109
3110 From 2001-03-28 Diego Novillo <dnovillo@redhat.com>
a2c36061
AM
3111 * tc-d10v.c (parallel_ok): Prevent packing only if the first
3112 instruction cannot be packed.
fbdbf472
TR
3113
3114 From 2001-03-30 Diego Novillo <dnovillo@redhat.com>
a2c36061
AM
3115 * gas/config/tc-d10v.c (check_resource_conflict): Only check
3116 write-write conflicts.
3117 (md_assemble): Reformat introductory comment.
3118 * opcodes/d10v-opc.c (d10v_opcodes): `btsti' does not modify its
3119 arguments.
fbdbf472 3120
784b640d
AM
31212002-04-03 Alan Modra <amodra@bigpond.net.au>
3122
3123 * symbols.c (resolve_symbol_value <O_uminus, O_bit_not,
3124 O_logical_not>): Derive final_seg from add_symbol.
3125 <O_multiply..O_logical_or>: More final_seg twiddles.
3126
5f44c186
RH
31272002-04-01 Jessica Han <jessica@cup.hp.com>
3128
a2c36061 3129 * config/tc-ia64.c (ia64_cons_fix_new): Handle 8 byte iplt reloc
5f44c186
RH
3130 in 32-bit mode.
3131
3458b54c
AS
31322002-03-27 Andreas Schwab <schwab@suse.de>
3133
3134 * config/tc-i386.c (output_jump): Set fx_pcrel_adjust to size of
3135 field for pc-relative fixups.
3136 (output_disp): Likewise.
3137 (md_estimate_size_before_relax): Likewise.
3138 (tc_gen_reloc): Subtract fx_pcrel_adjust instead of fx_size for
3139 pc-relative fixups in 64bit mode.
3140
815b453c
AM
31412002-03-22 Alan Modra <amodra@bigpond.net.au>
3142
3143 * config/te-aix5.h: Typo fix.
3144
d5b32339
AM
31452002-03-21 Alan Modra <amodra@bigpond.net.au>
3146
3147 * Makefile.am: Run "make dep-am".
3148 * Makefile.in: Regenerate.
3149 * doc/Makefile.in: Regenerate.
3150
f201ccb3
NC
31512002-03-20 Albert Chin-A-Young <china@thewrittenword.com>
3152
3153 * config/tc-arm.c (vfp_dp_reg_required_here): Fix typo
3154 (vfp_sp_reg_pos -> vfp_dp_reg_pos).
3155
177b4a6a
AO
31562002-03-18 Alexandre Oliva <aoliva@redhat.com>
3157
3158 * config/tc-mips.c (md_estimate_size_before_relax): Do not modify
3159 the EXTENDED bit here; report the estimate according to the
3160 current size.
3161
eb1e0e80
NC
31622002-03-18 Tom Rix <trix@redhat.com>
3163
3164 * configure.in: Add AIX 5 support.
3165 * config/tc-ppc.c (ppc_target_format): Add AIX 5 64 bit target.
3166 * config/te-aix5.h: New file. AIX 5 support.
3167 * configure: Regenerate.
3168
a1c259a1
NC
31692002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
3170
3171 * po/fr.po: Updated version.
3172
949f2b5c
AJ
31732002-03-16 Andreas Jaeger <aj@suse.de>
3174
3175 * doc/c-mips.texi (Machine Dependencies): Add new node.
3176
1f25f5d3
CD
31772002-03-15 Chris G. Demetriou <cgd@broadcom.com>
3178
3179 * config/tc-mips.c (mips_set_options): New "ase_mips3d" member.
3180 (mips_opts): Initialize "ase_mips3d" member.
3181 (file_ase_mips3d): New variable.
3182 (CPU_HAS_MIPS3D): New macro.
3183 (md_begin): Initialize mips_opts.ase_mips3d and file_ase_mips3d
3184 based on command line options and configuration defaults.
3185 (macro_build, mips_ip): Accept MIPS-3D instructions if
3186 mips_opts.ase_mips3d is set.
3187 (OPTION_MIPS3D, OPTION_NO_MIPS3D, md_longopts, md_parse_option):
3188 Add support for "-mips3d" and "-no-mips3d" options.
3189 (OPTION_ELF_BASE): Move to accomodate new options.
3190 (s_mipsset): Support ".set mips3d" and ".set nomips3d".
3191 (mips_elf_final_processing): Add a comment indicating that a
3192 MIPS-3D ASE ELF header flag should be set, when one exists.
3193 * doc/as.texinfo: Document -mips3d and -no-mips3d options.
3194 * doc/c-mips.texi: Likewise, and document ".set mips3d" and ".set
3195 nomips3d" directives.
949f2b5c 3196
2be11e7e
HPN
31972002-03-14 Hans-Peter Nilsson <hp@bitrange.com>
3198
3199 * config/tc-mmix.c (md_estimate_size_before_relax): Don't consider
3200 a weak symbol in same section to be within reach.
3201
9ce88e60
NC
32022002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
3203
3204 * po/fr.po: Updated version.
3205
1e16b528
AS
32062002-03-12 Andreas Schwab <schwab@suse.de>
3207
3208 * config/tc-ia64.c (fixup_unw_records): Clear region when seeing a
3209 body record so that an error is given for misplaced .save
3210 pseudo-ops.
3211
29b0f896
AM
32122002-03-09 Alan Modra <amodra@bigpond.net.au>
3213
3214 * config/tc-i386.h (REX_OPCODE): Define.
3215 (REX_MODE64, REX_EXTX, REX_EXTY, REX_EXTZ): Define.
3216 (rex_byte): typedef to int.
3217 * config/tc-i386.c: Group prototypes and vars together.
3218 Formatting fixes. Remove occurrences of "register" keyword.
3219 (true): Delete.
3220 (false): Delete.
3221 (mode_from_disp_size): Add INLINE keyword to prototype.
3222 (fits_in_signed_byte): Likewise.
3223 (fits_in_unsigned_byte): Likewise.
3224 (fits_in_unsigned_word): Likewise.
3225 (fits_in_signed_word): Likewise.
3226 (fits_in_unsigned_long): Likewise.
3227 (fits_in_signed_long): Likewise.
3228 (type_names): Constify.
3229 (intel_float_operand): Constify param.
3230 (add_prefix): Use REX_OPCODE.
3231 (md_assemble): Likewise. Modify for changed rex_byte.
3232 (parse_insn): Split out of md_assemble.
3233 (parse_operands): Likewise.
3234 (swap_operands): Likewise.
3235 (optimize_imm): Likewise.
3236 (optimize_disp): Likewise.
3237 (match_template): Likewise.
3238 (check_string): Likewise.
3239 (process_suffix): Likewise.
3240 (check_byte_reg): Likewise.
3241 (check_long_reg): Likewise.
3242 (check_qword_reg): Likewise.
3243 (check_word_reg): Likewise.
3244 (finalize_imm): Likewise.
3245 (process_operands): Likewise.
3246 (build_modrm_byte): Likewise.
3247 (output_insn): Likewise.
3248 (output_branch): Likewise.
3249 (output_jump): Likewise.
3250 (output_interseg_jump): Likewise.
3251 (output_disp): Likewise.
3252 (output_imm): Likewise.
3253
2e64b665
DJ
32542002-03-07 Daniel Jacobowitz <drow@mvista.com>
3255
3256 * doc/as.texinfo: Wrap @menu in @ifnottex, not @ifinfo.
3257
937149dd
AM
32582002-03-06 Alan Modra <amodra@bigpond.net.au>
3259
3260 * config/tc-i386.c (tc_gen_reloc): Don't attempt to handle 8 byte
3261 relocs except when BFD64.
3262
3263 * write.c (number_to_chars_bigendian): Don't abort when N is
3264 larger than sizeof (VAL).
3265 (number_to_chars_littleendian): Likewise.
3266
40d74fb1
JL
32672002-03-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
3268
3269 * config/tc-hppa.c (md_apply_fix3): Add cast.
3270 (hppa_fix_adjustable): Adjust list of selectors using e_lrsel and
3271 e_rrsel.
3272
cd3cde86
AM
32732002-03-05 Paul Koning <pkoning@equallogic.com>
3274
3275 * tc-pdp11.c: Use VAX float format support for PDP-11 target.
3276 (parse_ac5): New function for parsing float regs in float operand.
3277 (parse_expression): Remove attempt to make literals be octal.
3278 (parse_op_no_deferred): Support float literals.
3279 (parse_op): Reject attempts to refer to float regs.
3280 (parse_fop): New function, like parse_op but for float operand.
949f2b5c 3281 (md_assemble): Add cases to parse float operands. Also fix
cd3cde86
AM
3282 IMM3, IMM6, IMM8 cases to pick up the operand from the right spot.
3283
e9682144
L
32842002-03-04 H.J. Lu <hjl@gnu.org>
3285
3286 * config/obj-elf.c (special_section): Add .init_array,
3287 .fini_array and .preinit_array.
3288
3289 * config/tc-ia64.h (ELF_TC_SPECIAL_SECTIONS): Remove
3290 .init_array and .fini_array.
3291
26eb4093
JJ
32922002-03-01 Jakub Jelinek <jakub@redhat.com>
3293
3294 * config/obj-elf.c (elf_copy_symbol_attributes): Don't copy
3295 visibility.
3296 (obj_frob_symbol): Copy visibility.
3297
559e22f3
JJ
32982002-02-28 Jakub Jelinek <jakub@redhat.com>
3299
3300 * config/tc-alpha.c (s_alpha_text): Use obj_elf_text for OBJ_ELF, not
3301 s_text.
3302 (s_alpha_data): Use obj_elf_data for OBJ_ELF, not s_data.
3303
ef412327
NC
33042002-02-27 Nick Clifton <nickc@cambridge.redhat.com>
3305
3306 * po/es.po: Updated.
3307
b25a253c
CD
33082002-02-26 Chris Demetriou <cgd@broadcom.com>
3309
3310 * config/tc-mips.c (mips_need_elf_addend_fixup): For embedded-PIC
3311 only, undo the changes made on 2001-06-08, with the
3312 effect being that common or extern symbols are
3313 adjusted for embedded-PIC, but weak symbols are not.
3314 (md_estimate_size_before_relax: Likewise, with the effect
3315 that extern symbols are treated the same as weak symbols
3316 only if not embedded-PIC.
3317 (mips_fix_adjustable) Likewise, with the effect that
3318 weak or extern symbols are not adjusted for embedded-PIC.
3319 (md_apply_fix3): Tweak so that the case where value is zero
3320 is handled more correctly for embedded-PIC code.
3321
fe41178f
NC
33222002-02-26 Nick Clifton <nickc@cambridge.redhat.com>
3323
587fe2b3
NC
3324 * doc/as.texinfo (Overview): Add missing @ifset IA64
3325
fe41178f
NC
3326 * configure.in (LINGUAS): Add es.po.
3327 * configure: Regenerate.
3328 * po/es.po: New file.
3329
4d34fb5f
TS
33302002-02-25 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
3331
3332 * config/tc-mips.c (set_at): Fix handling of 64bit register loads.
3333 (macro): Likewise. Fix la/dla address expansions for EMBEDDED_PIC
3334 and NO_PIC cases. Code cleanup.
3335 (macro2): Fix handling of 64bit register loads.
3336
9e32ca89
NC
33372002-02-25 David Mosberger <davidm@hpl.hp.com>
3338
3339 * doc/as.texinfo: Add entry for IA64.
3340 * doc/c-ia64.texi: New file.
3341
23e1d84c
AM
33422002-02-25 Alan Modra <amodra@bigpond.net.au>
3343
c7d004c5
AM
3344 * config/tc-hppa.c: Update copyright date.
3345
3346 * doc/c-ppc.texi (PowerPC-Opts): Add -mpower4, -maltivec and -m7400
23e1d84c
AM
3347 Remove references to chip manufacturers.
3348 * config/tc-ppc.c (md_parse_option): Handle -mpower4 option.
3349 Correct comments.
3350 (md_show_usage): Remove references to chip manufacturers. Mention
3351 -mpower4.
3352 (md_begin): Test power4 opcode flag bits.
3353
b1c6bf70 33542002-02-22 David Mosberger <davidm@hpl.hp.com>
6290819d
NC
3355
3356 * config/tc-ia64.c (dot_restore): Issue error message of epilogue
3357 count exceeds prologue count.
3358 (md_show_usage): Describe -mconstant-gp and -mauto-pic.
3359 (unwind.label_prologue_count): New member.
3360
3361 Based on a patch by Hans Boehm <hboehm@hpl.hp.com>:
3362
3363 (get_saved_prologue_count): New function.
3364 (save_prologue_count): New function.
3365 (free_saved_prologue_count): New function.
3366 (dot_label_state): Record state label by calling save_prologue_count().
3367 (dot_copy_state): Restore prologue count by calling
3368 get_saved_prologue_count().
3369 (generate_unwind_image): Free up list of saved prologue
3370 counts by calling free_saved_prologue_counts().
3371
f1e7a2c9
NC
33722002-02-22 Nick Clifton <nickc@cambridge.redhat.com>
3373
3374 * config/tc-tic54x.c: Add missing prototypes and remove ANSI style
3375 function declarations.
3376
3f965e60
NC
33772002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
3378
3379 * NEWS: Note that GASP is now deprecated.
3380 * Makefile.am: Do not build gasp-new by default.
3381 * Makefile.in: Regenerate.
3382 * doc/Makefile.am: Do not install gasp.info.
3383 * doc/Makefile.in: Regenerate.
3384 * gas/gasp.texi: Note that gasp is now deprecated.
3385
9a66911f
NC
33862002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
3387
3388 * NEWS: Mark 2.12 branch.
3389
f88fd9fe
TT
33902002-02-19 Tom Tromey <tromey@redhat.com>
3391
3392 * config/tc-xstormy16.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
3393
da0e507f
TS
33942002-02-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
3395
3396 * config/tc-mips.c (md_parse_option): Complain about invalid -mabi
3397 option input.
3398
ff0fb565
MS
33992002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
3400
3401 * config/tc-s390.c (md_parse_option): Add switches -m31 and -m64.
3402 Make bit size independent of architecture switch.
3403 (md_begin): Add warning for -m64 with -Aesa.
3404 (s390_md_end): Use renamed architecture defines.
3405
a245a9aa
DJ
34062002-02-18 Daniel Jacobowitz <drow@mvista.com>
3407
3408 * config/obj-coff.h: Check !target_big_endian, not shl, for coff-sh.
3409
8bf549a8
NC
34102002-02-16 Nick Clifton <nickc@cambridge.redhat.com>
3411
3412 * doc/as.texinfo (Machine Dependencies): Fix typo: MMIX used
3413 instead of CRIS.
3414
9151e8bf
CD
34152002-02-15 Chris Demetriou <cgd@broadcom.com>
3416
a2c36061 3417 * config/tc-mips.c (md_estimate_size_before_relax): Really
9151e8bf
CD
3418 make sure we treat weak like extern only for ELF. (Fixes
3419 patch from 2001-07-25.)
3420
59455fb1
BE
34212002-02-15 Ben Elliston <bje@redhat.com>
3422
3423 * doc/as.texinfo: Add duplicate directory entry so that "info gas"
3424 works as expected.
3425
49fda6c8
HPN
34262002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
3427
3428 * NEWS: Mention support for MMIX.
3429
2d2bf3e0
CD
34302002-02-13 Chris Demetriou <cgd@broadcom.com>
3431
3432 * config/tc-mips.c (mips_need_elf_addend_fixup): Restructure into
3433 a sequence of indpendent 'if' statements for easier debugging
3434 and future modification.
3435
76f57f3a
JT
34362002-02-13 Matt Fredette <fredette@netbsd.org>
3437
3438 * config/tc-m68k.c (md_show_usage): No longer display a
3439 hard-coded "68020" for the default CPU, instead display the
3440 canonical name of the true, configured default CPU.
3441 (m68k_elf_final_processing): Mark objects for sub-68020
3442 CPUs with the new EF_M68000 flag.
3443
3bf057fa
AS
34442002-02-13 Andreas Schwab <schwab@suse.de>
3445
3446 * config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust
3447 pc-relative relocations to merge sections in 64-bit mode.
3448
6334e312 34492002-02-13 Ben Elliston <bje@redhat.com>
1ac57253
BE
3450
3451 * NEWS: Document floating point number handling in gasp.
3452 * gasp.c: Include <assert.h> and "xregex.h".
3453 (is_flonum): New function.
3454 (chew_flownum): Likewise.
3455 (change_base): Consume flonums from the input, where possible.
3456 * doc/gasp.texi (Constants): Document floating point numbers.
3457
3dcfe21d
AM
34582002-02-12 John David Anglin <dave@hiauly1.hia.nrc.ca>
3459
3460 * config/tc-hppa.c (hppa_fix_adjustable): Don't adjust final types
3461 that implicitly use LR and RR selectors.
3462
913572ec
AO
34632002-02-12 Alexandre Oliva <aoliva@redhat.com>
3464
3465 * config/tc-mn10300.c (other_registers): Added `epsw'. Mark `pc'
3466 and `epsw' as available on AM33 and above only.
3467 (other_register_name): Add logic to handle machine type encoded in
3468 reg_number.
3469
9b90b531
TR
34702002-02-11 Tom Rix <trix@redhat.com>
3471
949f2b5c 3472 * config/tc-ppc.c (md_apply_fix3): Check for insert fop invalid for
9b90b531
TR
3473 xcoff64.
3474
6c6783ff 34752002-06-11 Alexandre Oliva <aoliva@redhat.com>
6c1b24e4
AO
3476
3477 * config/tc-sparc.c (U0x80000000, U0xffffffff): New constants.
3478 Use all over.
3479
6c6783ff 34802002-02-11 Jan Hubicka <jh@suse.cz>
7ecd2f8b
JH
3481
3482 * i386.c (md_assemble): Support 32bit address prefix.
3483 (i386_displacement): Likewise.
3484 (i386_index_check): Accept 32bit addressing in 64bit mode.
3485
7eb27ef2
AO
34862002-02-11 Alexandre Oliva <aoliva@redhat.com>
3487
3488 * config/tc-sh.c (dot): Removed unused function.
3489
fa702524
AM
34902002-02-11 Alan Modra <amodra@bigpond.net.au>
3491
3492 * Makefile.am: "make dep-am".
3493 * Makefile.in: Regenerate.
3494 * aclocal.m4: Regenerate.
3495 * config.in: Regenerate.
3496 * configure: Regenerate.
3497 * doc/Makefile.in: Regenerate.
3498
625e1353
RH
34992002-02-10 Richard Henderson <rth@redhat.com>
3500
3501 * doc/c-alpha.texi: New file.
3502 * doc/Makefile.am (CPU_DOCS): Add it.
3503 * doc/all.texi, doc/as.texinfo: Add hooks for Alpha.
3504
543833df
RH
35052002-02-09 Richard Henderson <rth@redhat.com>
3506
3507 * config/tc-alpha.c (O_samegp): New.
3508 (USER_RELOC_P): Include it.
3509 (alpha_reloc_op_tag, debug_exp, find_macro_match): Add it.
3510 (md_apply_fix3): Handle BFD_RELOC_ALPHA_BRSGP.
3511 (alpha_force_relocation, alpha_fix_adjustable): Likewise.
3512 (alpha_validate_fix): New.
3513 * config/tc-alpha.h (TC_VALIDATE_FIX): New.
3514
328eb32e
HPN
35152002-02-09 Hans-Peter Nilsson <hp@axis.com>
3516
3517 * doc/c-cris.texi: New.
3518 * doc/all.texi: @set CRIS.
3519 * doc/as.texinfo: Ditto. Add CRIS gas manpage option overview.
3520 Include c-cris.texi.
3521 * doc/Makefile.am (CPU_DOCS): Add c-cris.texi
3522 * doc/Makefile.in: Regenerate.
3523
6373ee54
CD
35242002-02-08 Chris Demetriou <cgd@broadcom.com>
3525
3526 * config/tc-mips.c (IS_SEXT_32BIT_NUM): New macro to
3527 determine if a number is a sign-extended 32-bit number.
3528 (load_register): Use IS_SEXT_32BIT_NUM.
3529 (macro): Check if load/store macro handling is using a
3530 constant 32-bit address on 64-bit address systems, and if
3531 so optimize the generation of that address.
3532
50a4c611
RH
35332002-02-08 Richard Henderson <rth@redhat.com>
3534
3535 * config/tc-alpha.c (alpha_force_relocation): Don't assert that
3536 we've eliminated all foreign relocation types yet.
3537 (alpha_fix_adjustable): Likewise.
3538
324bfcf3
AO
35392002-02-08 Alexandre Oliva <aoliva@redhat.com>
3540
3541 Contribute sh64-elf.
3542 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
3543 Stephen Clarke <Stephen.Clarke@st.com>
3544 * doc/c-sh64.texi: Fix citation of SH64 architecture manual.
3545 2002-01-31 Alexandre Oliva <aoliva@redhat.com>
3546 * config/tc-sh.c (md_relax_table): Added default sizes for
3547 non-PC-relative UNDEF_MOVI, and relaxation sequences for
3548 MOVI_16, MOVI_32 and MOVI_48.
3549 * config/tc-sh64.c (shmedia_md_apply_fix3): Fix warning.
3550 (shmedia_md_convert_frag): Handle non-PC-relative UNDEF_MOVI
3551 and MOVI_16.
3552 (shmedia_md_estimate_size_before_relax): Remove redundant
f6cf69d7 3553 blocks. Set fragP->fr_var even if relaxation type unchanged.
324bfcf3
AO
3554 Retain UNDEF_MOVI until expression decays to number.
3555 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
3556 * config/tc-sh64.c (shmedia_init_reloc): Handle new SHmedia PIC
3557 relocation types. Take fixP->fx_addnumber into account too.
3558 (shmedia_md_apply_fix): Likewise.
3559 (shmedia_md_convert_frag): Likewise.
3560 (shmedia_build_Mytes): Likewise.
3561 (sh64_consume_datalabel): Complain about nested datalabel.
3562 Support PIC relocs. Call sh_parse_name.
3563 * config/tc-sh64.h (TC_RELOC_RTSYM_LOC_FIXUP): Extend definition
3564 in tc-sh.h to SHmedia reloc types.
3565 * config/tc-sh.c (SH64PCRELPLT, MOVI_PLT, MOVI_GOTOFF,
3566 MOVI_GOTPC): New relaxation constants.
3567 (md_relax_table): Introduce relaxation directives for PIC-related
3568 constants.
3569 (sh_PIC_related_p): Handle datalabel.
3570 (sh_check_fixup): Choose SH5 PIC relocations.
3571 (sh_cons_fix_new): Added BDF_RELOC_64.
3572 (md_apply_fix3, sh_parse_name): Handle GOTPLT.
3573 2002-01-18 Alexandre Oliva <aoliva@redhat.com>
3574 * config/tc-sh64.c (sh64_max_mem_for_rs_align_code): If the
3575 current ISA is SHmedia, get 7 bytes.
3576 2001-11-28 Nick Clifton <nickc@cambridge.redhat.com>
3577 * config/tc-sh.c (md_apply_fix3): Treat shmedia_md_apply_fix3 as a
3578 void function.
3579 * config/tc-sh64.c (shmedia_apply_fix): Rename to
3580 shmedia_apply_fix3 and make void.
3581 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
3582 * config/tc-sh64.c (s_sh64_abi): Remove unused arguments passed to
3583 as_bad.
3584 2001-04-12 Alexandre Oliva <aoliva@redhat.com>
3585 * config/tc-sh64.h (md_parse_name): Take &c as argument.
3586 2001-03-14 DJ Delorie <dj@redhat.com>
3587 * doc/Makefile.am (CPU_DOCS): Added c-sh64.texi
3588 * doc/Makefile.in(CPU_DOCS): Ditto.
3589 * doc/c-sh64.texi: New file.
3590 * doc/as.texinfo: Add SH64 support.
3591 2001-03-13 DJ Delorie <dj@redhat.com>
3592 * config/tc-sh64.c (shmedia_get_operands): Rename A_RESV_Fx to
3593 A_REUSE_PREV so that its purpose is more obvious.
3594 (shmedia_build_Mytes): Ditto.
3595 2001-03-07 DJ Delorie <dj@redhat.com>
3596 * config/tc-sh64.c (sh64_vtable_entry): New, strip datalabels
3597 before processing.
3598 (sh64_vtable_inherit): Ditto.
3599 (strip_datalabels): New, strip "datalabel" from given line.
3600 * config/tc-sh.c (md_pseudo_table): Add sh64-specific vtable
3601 pseudos.
3602 2001-03-06 Hans-Peter Nilsson <hpn@cygnus.com>
3603 * config/tc-sh64.c (shmedia_md_assemble): Move dwarf2_emit_insn
3604 call ...
3605 (shmedia_build_Mytes): ... to here.
3606 2001-03-06 DJ Delorie <dj@redhat.com>
3607 * config/tc-sh.c: Remove sh64-specific uaquad now that there
3608 is a generic one.
3609 2001-01-21 Hans-Peter Nilsson <hpn@cygnus.com>
3610 * config/tc-sh64.h (DWARF2_LINE_MIN_INSN_LENGTH): Override.
3611 * config/tc-sh64.c (shmedia_md_assemble): Offset recorded insn
3612 address by one in call to dwarf2_emit_insn.
3613 2001-01-13 Hans-Peter Nilsson <hpn@cygnus.com>
3614 Implement ".abi" pseudo and correct .cranges descriptors. Correct
3615 alignment handling broken by imported changes.
3616 * config/tc-sh64.h (HANDLE_ALIGN): Override definition in tc-sh.h.
3617 (sh64_handle_align): Declare.
3618 (MAX_MEM_FOR_RS_ALIGN_CODE): Override definition in tc-sh.h.
3619 (sh64_max_mem_for_rs_align_code): Declare.
3620 (enum sh64_isa_values): Moved here from tc-sh64.c.
3621 (md_do_align): Define.
3622 (sh64_do_align): Declare.
3623 (struct sh64_tc_frag_data): New.
3624 (TC_FRAG_TYPE): Change to struct sh64_tc_frag_data. Users
3625 changed.
3626 (TC_FRAG_INIT): Change to set new datatype.
3627 (struct sh64_segment_info_type): Rename member
3628 last_flushed_location to last_contents_mark. All users changed.
3629 (md_elf_section_change_hook, TC_CONS_FIX_NEW): Do not define.
3630 (shmedia_elf_new_section, sh64_tc_cons_fix_new): Do not prototype.
3631 * config/tc-sh.c (md_pseudo_table): Add ".abi".
3632 (sh_elf_cons) [HAVE_SH64]: Call sh64_update_contents_mark instead
3633 of unsetting seen_insn.
3634 (md_assemble) [HAVE_SH64] <before new SHcompact sequence>: Also
3635 call sh64_update_contents_mark.
3636 (sh_handle_align): Remove HAVE_SH64-conditioned code.
3637 * config/tc-sh64.c (sh64_isa_mode): Correct type from boolean to
3638 enum sh64_isa_values.
3639 (sh64_set_contents_type): Drop segT parameter. All callers changed.
3640 (emitting_crange): Boolean guard moved to file scope from function
3641 scope in sh64_set_contents_type.
3642 (s_sh64_abi): New.
3643 (sh64_update_contents_mark): New; most split out from
3644 sh64_flush_pending_output.
3645 (shmedia_md_end): Call sh64_update_contents_mark. Set
3646 sh64_isa_mode to sh64_isa_sh5_guard unless sh64_isa_unspecified.
3647 (sh64_do_align): New function.
3648 (sh64_max_mem_for_rs_align_code): New function.
3649 (sh64_handle_align): Rename from shmedia_do_align. Make
3650 non-static. Add head comment. Emit zero bytes for n bytes modulo
3651 four. Change return-type to void.
3652 (shmedia_elf_new_section): Remove.
3653 (shmedia_md_assemble): Call sh64_update_contents_mark.
3654 (s_sh64_mode): Ditto. Do not call md_flush_pending_output. Make
3655 new frag. Call sh64_update_contents_mark after making the new
3656 frag.
3657 (sh64_flush_pending_output): Just call sh64_update_contents_mark
3658 and sh_flush_pending_output.
3659 (sh64_flag_output): Also call md_flush_pending_output, but add
3660 condition on not emitting_crange.
3661 (sh64_tc_cons_fix_new): Remove.
3662 2001-01-12 Nick Clifton <nickc@redhat.com>
3663 * config/tc-sh64.c (shmedia_do_align): Fix to work with new
3664 alignment handling scheme imported from sourceware.
3665 2001-01-12 Hans-Peter Nilsson <hpn@cygnus.com>
3666 * config/tc-sh64.h (TARGET_FORMAT): Define.
3667 (sh64_target_format): Prototype.
3668 * config/tc-sh64.c (sh64_target_mach): New function.
3669 2001-01-07 Hans-Peter Nilsson <hpn@cygnus.com>
3670 * config/tc-sh64.c (shmedia_md_end): When equating a symbol, use
3671 zero_address_frag instead of copying the frag of the symbol.
3672 (shmedia_frob_file_before_adjust): Ditto.
3673 (shmedia_md_apply_fix) <case BFD_RELOC_SH_IMM_MEDLOW16>: Cast mask
3674 to valueT to remove signedness.
f6cf69d7 3675 (shmedia_md_convert_frag): Add parameter final. Rename parameter
324bfcf3
AO
3676 headers to output_bfd. Do not evaluate symbols if final is false;
3677 do emit fixups.
3678 (shmedia_md_estimate_size_before_relax) <case C (MOVI_IMM_32,
3679 UNDEF_MOVI) et al>: If symbol cannot be modified to be PC-relative
3680 to the current frag, call shmedia_md_convert_frag to emit fixups
f6cf69d7 3681 and make frag_wane neutralize the frag. Update comments.
324bfcf3
AO
3682 * config/tc-sh.c (md_convert_frag): Change caller of
3683 shmedia_md_convert_frag.
3684 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
3685 * config/tc-sh64.h: Tweak comments and correct formatting.
3686 * config/tc-sh64.c: Ditto.
3687 (shmedia_md_convert_frag) <PT/PTA/PTB 32, 48 and 64 bit
3688 expansion, MOVI pcrel expansion>: Fix thinko calculating offset
3689 for the no-relocation case.
3690 (shmedia_check_limits): Fix range check being off-by-one for PTA.
3691 * config/tc-sh.c: Ditto. Add proper comments to #ifdef/#ifndef
3692 wrappers.
f6cf69d7 3693 (SH64PCREL16_F): Increment for proper max-PTA handling. Update
324bfcf3
AO
3694 comment.
3695 (SH64PCREL16_M, MOVI_16_M): Correct range thinko.
3696 (SH64PCREL48_M, MOVI_48_M): Similar; don't count in length of
3697 expansion.
3698 (SH64PCREL32_M, MOVI_32_M): Ditto; handle overflowing expression.
3699 Correct comment.
3700 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
3701 * config/tc-sh64.c (shmedia_md_apply_fix) <second switch, case
3702 BFD_RELOC_SH_PT_16>: Set lowest bit in field to be relocated to 1.
3703 (shmedia_md_convert_frag) <case C (SH64PCREL16_32, SH64PCREL16) et
3704 al>: Set lowest bit of field to relocate to 1 and rest to empty,
949f2b5c 3705 if reloc is emitted.
324bfcf3
AO
3706 2000-12-31 Hans-Peter Nilsson <hpn@cygnus.com>
3707 New options plus bugfixes.
3708 * config/tc-sh.c (md_longopts): New options "-no-expand" and
3709 "-expand-pt32".
3710 (md_parse_option): Handle new options.
3711 (md_show_usage): Add blurb for new options.
3712 * config/tc-sh64.c (SHMEDIA_BFD_RELOC_PT): New macro.
3713 (sh64_expand, sh64_pt32): New variables.
3714 (shmedia_init_reloc): Handle BFD_RELOC_SH_PT_16.
3715 (shmedia_md_apply_fix): Hold original fixP->fx_r_type in
f6cf69d7 3716 orig_fx_r_type. Change SHMEDIA_BFD_RELOC_PT into
324bfcf3
AO
3717 BFD_RELOC_SH_PT_16. Handle BFD_RELOC_SH_PT_16 as pc-relative.
3718 <resolved previously-pc-relative relocs>: Handle
3719 SHMEDIA_BFD_RELOC_PT and BFD_RELOC_SH_PT_16.
3720 (shmedia_md_convert_frag) <case C (SH64PCREL16PT_64, SH64PCREL16),
3721 case C (SH64PCREL16PT_32, SH64PCREL16)>: Modify to PTB if operand
3722 points to SHcompact code.
3723 <case C (SH64PCREL16_32, SH64PCREL16), case C (SH64PCREL16_64,
3724 SH64PCREL16)>: Check that ISA of what operand points at and
3725 PTA/PTB matches, or emit error.
3726 (shmedia_check_limits): Handle BFD_RELOC_SH_PT_16 and
3727 SHMEDIA_BFD_RELOC_PT.
3728 (shmedia_immediate_op): If pcrel, emit fixup also for constant
3729 operand.
3730 (shmedia_build_Mytes) <case A_IMMS16>: Also check sh64_expand in
3731 condition for MOVI expansion.
3732 <case A_PCIMMS16BY4>: Handle expansion to 32 bits only, if
3733 sh64_pt32. Emit only a BFD_RELOC_SH_PT_16 fixup if not
3734 sh64_expand.
3735 <case A_PCIMMS16BY4_PT>: Likewise, but emit a SHMEDIA_BFD_RELOC_PT
3736 fixup.
3737 (sh64_target_format): Error-check setting of sh64_pt32 and
3738 sh64_expand. Fix typo in check for sh64_shcompact_const_crange.
3739 (shmedia_md_pcrel_from_section): Handle BFD_RELOC_SH_PT_16 and
3740 SHMEDIA_BFD_RELOC_PT as coming from SHmedia code.
3741 2000-12-31 Hans-Peter Nilsson <hpn@cygnus.com>
3742 * config/tc-sh64.c: Improve comments.
3743 (shmedia_md_convert_frag): Remove inactive is_pt_variant code. Do
3744 not say the linker will check correctness of PTA/PTB expansion.
3745 (shmedia_md_end): Make non-static.
3746 * config/tc-sh64.h (md_end): Define to shmedia_md_end. Add
3747 prototype.
3748 * config/tc-sh.c (sh_finalize): Remove.
3749 * config/tc-sh.h (md_end): Do not define.
3750 Remove prototype for sh_finalize.
3751 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
3752 * config/tc-sh64.c (shmedia_frob_section_type): Use a struct
3753 sh64_section_data container when storing section type in tdata
3754 field in elf_section_data.
3755 * config/tc-sh.c (sh_elf_final_processing): Change from EF_SH64 to
3756 EF_SH5.
3757 * Makefile.am: Update dependencies.
3758 * Makefile.in: Regenerate.
3759 2000-12-22 Hans-Peter Nilsson <hpn@cygnus.com>
3760 * config/tc-sh64.c (shmedia_md_assemble): Don't protect
3761 dwarf2_emit_insn call with test on debug_type.
3762 2000-12-19 Hans-Peter Nilsson <hpn@cygnus.com>
3763 * config/tc-sh64.c (sh64_set_contents_type): Make contents-type
3764 CRT_SH5_ISA32 sticky for 64-bit.
3765 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
3766 Generate .crange sections when switching ISA mode or emitting
3767 constants in same section as code.
3768 * config/tc-sh64.c: Reformat structure definitions.
3769 (sh64_end_of_assembly, sh64_mix, sh64_shcompact_const_crange): New
3770 variables.
3771 (sh64_set_contents_type): Rename from sh64_init_section. Rewrite
3772 to emit a .cranges descriptor when contents type changes. Only
3773 emit error if changing contents type and -no-mix is in effect.
3774 (sh64_emit_crange, sh64_flush_last_crange, sh64_flag_output,
3775 sh64_flush_pending_output, sh64_tc_cons_fix_new): New functions.
3776 (shmedia_md_end): Set sh64_end_of_assembly. Pass
3777 sh64_flush_last_crange over sections.
3778 When checking main symbol of datalabel symbol, check for
3779 STO_SH5_ISA32, not ISA type of section in definition.
3780 (shmedia_frob_file_before_adjust): Check main symbol for
3781 STO_SH5_ISA32; don't check ISA type of section in definition.
3782 (shmedia_frob_section_type): Adjust for .cranges; set section flag
3783 to SHF_SH5_ISA32_MIXED or SHF_SH5_ISA32 according to whether
3784 .cranges entries have been output.
3785 (shmedia_elf_new_section): Just call md_flush_pending_output.
3786 (shmedia_md_assemble): Do not emit a BFD_RELOC_SH_SHMEDIA_CODE
3787 fix. Do not set tc_segment_info_data.in_code for section. Call
3788 sh64_set_contents_type for SHmedia code.
3789 (s_sh64_mode): Do not call sh64_init_section or set seen_insn to
3790 false. Call md_flush_pending_output.
3791 (sh64_target_format): Check that -no-mix and
3792 -shcompact-const-crange are used in sane combination with other
3793 options.
3794 (shmedia_md_pcrel_from_section): Check type of fix for how to
3795 adjust pc-relative.
3796 (sh64_consume_datalabel): Check symbol for having STO_SH5_ISA32,
3797 not ISA type of section in definition.
3798 * config/tc-sh64.h (struct sh64_segment_info_type): Rewrite to
3799 hold contents-type state.
3800 (md_flush_pending_output): Redefine to sh64_flush_pending_output.
3801 (sh64_flush_pending_output): Declare.
3802 (TC_CONS_FIX_NEW): Define to sh64_tc_cons_fix_new.
3803 (sh64_tc_cons_fix_new): Declare.
3804 * config/tc-sh.c (sh_elf_cons) [HAVE_SH64]: Unset seen_insn and
3805 call sh64_flag_output.
3806 (md_assemble) [HAVE_SH64]: Do not emit BFD_RELOC_SH_CODE. Just
3807 call sh64_set_contents_type to mark SHcompact code and set
3808 seen_insn.
3809 (md_longopts): New options "-no-mix" and
3810 "-shcompact-const-crange".
3811 (md_parse_option): Handle new options.
3812 (md_show_usage): Add blurb for new options.
3813 (md_number_to_chars) [HAVE_SH64]: Call sh64_flag_output.
3814 2000-12-15 Hans-Peter Nilsson <hpn@cygnus.com>
3815 * config/tc-sh64.c: Delete investigated and obsolete fixme:s.
3816 (sh64_last_insn_frag): New.
3817 (shmedia_md_convert_frag): Use tc_frag_data field of incoming frag
3818 to get frag for insn opcode for generating fixups; do not assume it
3819 is the same frag.
3820 (shmedia_build_Mytes): Set sh64_last_insn_frag after growing frag
3821 for new insn.
3822 * config/tc-sh64.h (ELF_TC_SPECIAL_SECTIONS): Define for .cranges
3823 section.
3824 (TC_FRAG_TYPE): Define as fragS *.
3825 (TC_FRAG_INIT): Define to set tc_frag_data to sh64_last_insn_frag.
3826 (sh64_last_insn_frag): Declare.
3827 (sh64_consume_datalabel): Fix typo; check for seginfo != NULL,
3828 not == NULL before dereferencing.
3829 2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com>
3830 Get rid of BFD section flag and EF_SH64_ABI64.
3831 * config/tc-sh64.c (shmedia_frob_section_type): Use
3832 elf_section_data (sec)->tdata, not a specific BFD section flag, to
3833 communicate the section as containing SHmedia code. Describe why.
3834 * config/tc-sh.c (sh_elf_final_processing): Tweak comment. Set
3835 EF_SH64 regardless of ABI.
3836 * config/tc-sh64.c (shmedia_md_apply_fix): Decapitalize "invalid"
3837 in error message. Handle resolved expressions for
3838 BFD_RELOC_SH_IMMS10, BFD_RELOC_SH_IMMS10BY2,
3839 BFD_RELOC_SH_IMMS10BY4 and BFD_RELOC_64.
3840 (shmedia_check_limits): Handle BFD_RELOC_64.
3841 (sh64_adjust_symtab): Do not decrement the GAS symbol value for
3842 a STO_SH5_ISA32 symbol, only the BFD value.
3843 2000-12-11 Ben Elliston <bje@redhat.com>
3844 * config/tc-sh64.c: Call dwarf2_emit_insn, not the defunct
3845 dwarf2_generate_asm_lineno.
3846 2000-12-11 Hans-Peter Nilsson <hpn@cygnus.com>
3847 Handle PC-relative MOVI expansions with assembler relaxation.
3848 Generate PC-relative relocs from 16-bit PC-relative expressions.
3849 * config/tc-sh64.c (SHMEDIA_MD_PCREL_FROM_FIX): Break out from...
3850 (shmedia_md_pcrel_from_section): ...here.
3851 (shmedia_md_apply_fix): Handle fixups for 16-bit operands that has
3852 turned completely resolved. Adjust relocation type for 16-bit
f6cf69d7 3853 immediate operands that has turned PC-relative. Adjust back for
324bfcf3
AO
3854 MD_PCREL_FROM_SECTION being applied twice.
3855 (shmedia_md_convert_frag): Always emit reloc for expression with
3856 global or weak symbol. Handle relaxation result for PC-relative
3857 expressions.
3858 (shmedia_md_estimate_size_before_relax): An expression with a weak
3859 or global symbol can not be relaxed. Break out tests for
3860 relaxable symbol into variable sym_relaxable.
3861 <cases C (MOVI_IMM_64, UNDEF_MOVI) and C (MOVI_IMM_32,
3862 UNDEF_MOVI)>: Break out any PC-relative expression and change
3863 relaxation type.
3864 (shmedia_build_Mytes): CSE &operands->operands[j] into variable
3865 opjp.
3866 <case A_IMMS16>: Fix typo for initial minor relaxation type of
f6cf69d7 3867 MOVI expansion. If X_op_symbol of the immediate expression is
324bfcf3
AO
3868 set, make an expression symbol for the argument to frag_var.
3869 * config/tc-sh.c (MOVI_IMM_32_PCREL, MOVI_IMM_64_PCREL): New
3870 relaxations.
3871 (END): Adjust for new relaxations.
3872 (md_relax_table): Add entries for new relaxations.
3873 2000-12-07 Ben Elliston <bje@redhat.com>
3874 * config/tc-sh64.c (shmedia_parse_reg): Initialize variable len.
3875 2000-12-07 Hans-Peter Nilsson <hpn@cygnus.com>
3876 * config/tc-sh64.c (shmedia_md_convert_frag): Correct all MOVI and
3877 SHORI operand offsets in PT/PTA/PTB expansions.
3878 2000-12-05 Hans-Peter Nilsson <hpn@cygnus.com>
3879 Implement DataLabel semantics.
3880 * config/tc-sh.c (sh_frob_file) [HAVE_SH64]: Call
3881 shmedia_frob_file_before_adjust.
3882 * config/tc-sh64.c [! OBJ_ELF]: Emit #error.
3883 (DATALABEL_SUFFIX): Define.
3884 (shmedia_md_end) <before adjusting STO_SH5_ISA32 symbols>: Walk
3885 symbol list to update "datalabel" symbols to their main symbol
3886 counterparts.
3887 (shmedia_frob_file_before_adjust): New.
3888 (sh64_adjust_symtab): For remaining datalabel symbols, set to
3889 undefined and set STT_DATALABEL.
3890 (sh64_frob_label): Initialize TC symbol field.
f6cf69d7 3891 (sh64_consume_datalabel): Actually implement semantics. New
324bfcf3
AO
3892 parameter operandf, call it instead of expression.
3893 (sh64_exclude_symbol): New.
3894 * config/tc-sh64.h (md_parse_name): Pass on the function operand
3895 to sh64_consume_datalabel.
3896 (tc_symbol_new_hook): Define to tc_frob_symbol.
3897 (TC_SYMFIELD_TYPE): Define to symbolS *.
3898 (tc_frob_symbol): Define to call sh64_exclude_symbol.
3899 2000-12-01 Hans-Peter Nilsson <hpn@cygnus.com>
3900 * config/tc-sh64.c (shmedia_init_reloc): Tweak comment for default
3901 case.
3902 (shmedia_md_assemble): Call dwarf2_generate_asm_lineno if
3903 generating dwarf2 debug information.
3904 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com>
3905 * config/tc-sh64.c (sh64_target_format): Use elf64-sh64l and
3906 elf64-sh64 for the 64-bit ABI.
3907 * config/tc-sh.c (md_show_usage): Tweak usage output for -abi=*
3908 option.
3909 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com>
3910 * config/tc-sh.c: Remove conditionalizing on HAVE_SH64 for
3911 case-insensitivity.
3912 2000-11-27 Hans-Peter Nilsson <hpn@cygnus.com>
3913 * config/tc-sh64.c: Tweak comments, formatting and error messages.
3914 (enum sh64_abi_values): New type.
3915 (enum sh64_isa_values): New type.
3916 (sh64_isa_mode): Replace shmedia_mode. All referers changed.
3917 (seen_shcompact_mode, seen_shmedia_mode): Delete.
3918 (sh64_abi): Replace shmedia_64.
3919 (shmedia_md_convert_frag) <C (MOVI_IMM_64, MOVI_64),
3920 C (MOVI_IMM_32, MOVI_32)>: Correct register number handling.
3921 (s_sh64_mode): Check validity for this target.
3922 (sh64_target_format): Initialize defaults for ISA and ABI.
3923 Fallback to old object format if no SH64 ISA or ABI has been
3924 specified.
3925 * config/tc-sh.c (md_parse_option): Check combinations for errors.
3926 (sh_elf_final_processing): Change to have EF_SH64_ABI64 for 64-bit
3927 ABI and EF_SH64 for 32-bit ABI, if SH64 options are specified.
3928 * config/tc-sh64.h: Fix typo in comment.
3929 2000-11-25 Hans-Peter Nilsson <hpn@cygnus.com>
3930 * config/tc-sh64.c (shmedia_md_estimate_size_before_relax)
3931 <PT fixups for absolute values>: Size will be longest, not
3932 shortest.
3933 (shmedia_md_convert_frag): Disable PTB-warning machinery. Correct
3934 all MOVI and SHORI operand offsets in PT/PTA/PTB expansions.
3935 * config/tc-sh.c (parse_reg) [HAVE_SH64]: Add local variables l0
3936 and l1 to hold lowercase of two first characters. Change all
3937 remaining TO_LOWER to tolower.
3938 * config/tc-sh64.c (TO_LOWER): Delete.
3939 (shmedia_find_cooked_opcode): Use tolower, not TO_LOWER.
3940 (md_parse_name): Define.
3941 (sh64_consume_datalabel): Declare.
3942 (DOLLAR_DOT): Define.
3943 * config/tc-sh64.c (shmedia_parse_exp): New.
3944 (sh64_consume_datalabel): New; just ignoring datalabel semantics.
3945 (shmedia_parse_reg): Remove const from src
3946 parameter.
3947 (shmedia_get_operands): Ditto for args parameter and ptr variable.
3948 (shmedia_md_assemble): Ditto for op_end variable.
3949 (shmedia_get_operand): Ditto for ptr parameter and src variable.
3950 Use shmedia_parse_exp, not parse_exp.
3951 * config/tc-sh64.c (shmedia_parse_reg): Add shmedia_arg_type
3952 parameter. All callers changed.
3953 (shmedia_get_operand): Add shmedia_arg_type parameter. All
3954 callers changed.
3955 (shmedia_parse_reg): Put first two character in local variables.
3956 Use tolower, not TO_LOWER. If no register is found and argtype
3957 indicates a control register, scan shmedia_creg_table
3958 case-insensitive.
3959 2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com>
3960 * Makefile.am (CPU_TYPES): Add sh64.
3961 (TARGET_CPU_CFILES): Add config/tc-sh64.c.
3962 (TARGET_CPU_HFILES): Add config/tc-sh64.h.
3963 Regenerate dependencies.
3964 * Makefile.in: Regenerate.
3965 * configure.in: Add support for sh64-*-elf*.
3966 * configure: Regenerate.
3967 * config/tc-sh64.h: New.
3968 * config/tc-sh64.c: New.
3969 * config/tc-sh.c (md_pseudo_table) [HAVE_SH64]: New pseudos
3970 .mode, .isa and .uaquad.
3971 [HAVE_SH64] (SH64PCREL16_32, SH64PCREL16_64, SH64PCREL16PT_32,
3972 SH64PCREL16PT_64, MOVI_IMM_32, MOVI_IMM_64): Define.
3973 [HAVE_SH64] (END): Define as 10.
3974 [HAVE_SH64] (UNDEF_SH64PCREL, SH64PCREL16, SH64PCREL32,
3975 SH64PCREL48, SH64PCREL64, UNDEF_MOVI, MOVI_16, MOVI_32, MOVI_48,
3976 MOVI_64): Define.
3977 [HAVE_SH64] (SH64PCREL16_F, SH64PCREL16_M, SH64PCREL16_LENGTH,
3978 SH64PCREL32_F, SH64PCREL32_M, SH64PCREL32_LENGTH, SH64PCREL48_F,
3979 SH64PCREL48_M, SH64PCREL48_LENGTH, SH64PCREL64_LENGTH,
3980 MOVI_16_LENGTH, MOVI_32_LENGTH, MOVI_48_LENGTH, MOVI_64_LENGTH):
3981 Define.
3982 (md_relax_table) [HAVE_SH64]: Provide relaxations for SHmedia.
3983 (md_begin) [HAVE_SH64]: Call shmedia_md_begin.
3984 (parse_reg) [HAVE_SH64]: Parse register names case-insensitive.
3985 (md_assemble) [HAVE_SH64]: Call shmedia_md_assemble if assembling
3986 SHmedia instructions. Handle state-change after switching to
3987 SHcompact.
3988 (md_longopts) [HAVE_SH64]: New options --isa=* and --abi=*.
3989 (md_parse_option) [HAVE_SH64]: Parse new options.
3990 (md_show_usage) [HAVE_SH64]: Show usage of new options.
3991 (md_convert_frag) [HAVE_SH64] <default>: Call
3992 shmedia_md_convert_frag instead of abort.
3993 (sh_force_relocation) [HAVE_SH64]: Also force relocation for
3994 BFD_RELOC_SH_SHMEDIA_CODE.
3995 (sh_elf_final_processing) [HAVE_SH64]: Set flags identifying
3996 SHcompact or SHmedia code.
3997 (md_apply_fix) [HAVE_SH64] <default>: Return result from calling
3998 shmedia_md_apply_fix instead of abort.
3999 (md_estimate_size_before_relax) [HAVE_SH64] <default>: Return
4000 result from calling shmedia_md_estimate_size_before_relax instead
4001 of calling abort.
4002 (sh_do_align) [HAVE_SH64]: If shmedia_mode, let shmedia_do_align
4003 do the work.
4004 (tc_gen_reloc) [HAVE_SH64]: For unrecognized relocs, call
4005 shmedia_init_reloc and do nothing more if it returns non-zero.
4006 (sh_finalize) [HAVE_SH64]: Call shmedia_md_end.
4007 * po/POTFILES.in: Regenerate.
4008 * po/gas.pot: Regenerate.
4009
ac3f04d7
AO
40102002-02-06 Alexandre Oliva <aoliva@redhat.com>
4011
6b32719e
AO
4012 * config/tc-sh.c (parse_at): Install the correct version of
4013 2002-02-04's patch.
949f2b5c 4014
ac3f04d7
AO
4015 * config/tc-sh.c (md_apply_fix3) <BFD_RELOC_32_PLT_PCREL>: Don't
4016 assume fixP->fx_subsy is non-NULL.
4017
7679ead9
AO
40182002-02-04 Alexandre Oliva <aoliva@redhat.com>
4019
4020 * config/tc-sh.c (parse_at): Set arg type of @(expr,pc) to
fdf4122d 4021 A_DISP_PC_ABS, and adjust it by -4.
7679ead9
AO
4022 (get_specific): Accept A_DISP_PC_ABS where A_DISP_PC is
4023 expected.
4024 (build_Mytes): Mark PCRELIMM fix-ups as pc-relative only if
4025 the operand type is not A_DISP_PC_ABS.
4026
5459d7a0
HPN
40272002-02-04 Hans-Peter Nilsson <hp@bitrange.com>
4028
4029 * config/tc-mmix.c (tc_gen_reloc): Don't try and take the value of
4030 common and weak symbols. Handle common and weak symbols as
4031 undefined symbols with regards to GREG handling and merging.
4032 (mmix_frob_file): Ditto.
4033
006336b8
JT
40342002-02-02 Jason Thorpe <thorpej@wasabisystems.com>
4035
4036 * configure.in (hppa-*-netbsd*): New target.
4037 * configure: Regenerate.
4038 * config/tc-hppa.h: Also define WARN_COMMENTS if TE_NetBSD.
4039
9e0665bc
AM
40402002-02-02 Alan Modra <amodra@bigpond.net.au>
4041
4042 * config/tc-v850.c: Add missing prototypes amd use old-style
4043 function definitions.
4044 (AREA_ZDA, AREA_SDA, AREA_TDA): Delete.
4045 (sdata_section tdata_section, zdata_section, sbss_section,
4046 tbss_section, zbss_section, rosdata_section, rozdata_section,
4047 scommon_section, tcommon_section, zcommon_section,
4048 call_table_data_section, call_table_text_section): Delete.
4049 (v850_sdata, v850_tdata, v850_zdata, v850_sbss, v850_tbss,
4050 v850_zbss, v850_bss, v850_rosdata, v850_rozdata,
4051 v850_call_table_data, v850_call_table_text): Delete.
4052 (struct v850_seg_entry): New.
4053 (v850_seg_table): New.
4054 (SDATA_SECTION TDATA_SECTION, ZDATA_SECTION, SBSS_SECTION,
4055 TBSS_SECTION, ZBSS_SECTION, BSS_SECTION, ROSDATA_SECTION,
4056 ROZDATA_SECTION, SCOMMON_SECTION, TCOMMON_SECTION, ZCOMMON_SECTION,
4057 CALL_TABLE_DATA_SECTION, CALL_TABLE_TEXT_SECTION): Define.
4058 (do_v850_seg): New.
4059 (v850_seg): New.
4060 (v850_comm): Use do_v850_seg and v850_seg_table. Simplify
4061 recording of alignment.
4062 (md_pseudo_table): Use v850_seg.
4063 (md_begin): Don't init .call_table_data and .call_table_text here.
4064 Set v850_seg_table bss entry.
4065
973eb340
HPN
40662002-02-01 Hans-Peter Nilsson <hp@bitrange.com>
4067
4068 Support on-demand global register allocation by passing on
4069 base-plus-offset relocs to the linker.
4070 * config/tc-mmix.c: Tweak and fix typos in comments.
949f2b5c 4071 (allocate_undefined_gregs_in_linker): New variable.
973eb340
HPN
4072 (OPTION_LINKER_ALLOCATED_GREGS): New option macro.
4073 (md_longopts): Add --linker-allocated-gregs.
4074 (md_parse_option) <case 'x'>: Imply --linker-allocated-gregs.
4075 <case OPTION_LINKER_ALLOCATED_GREGS>: New.
4076 (md_show_usage): Update text for -x. Add text for
4077 --linker-allocated-gregs.
4078 (tc_gen_reloc): Derive default value for addend from val and
4079 baddsy. Use addsec and bfd_is_abs_section in more places. Don't
4080 emit error for BFD_RELOC_MMIX_BASE_PLUS_OFFSET without suitable
4081 GREG if allocate_undefined_gregs_in_linker.
4082 * doc/as.texinfo (Overview) <Target MMIX options>: Add
4083 --linker-allocated-gregs.
4084 * doc/c-mmix.texi (MMIX-Opts): Add blurb about
4085 --linker-allocated-gregs. Mention that it's implied by -x.
4086 (MMIX-Pseudos) <GREG>: Mention when and how a GREG can be omitted.
4087 (MMIX-mmixal): Clarify dated comparison and location of MMIXware.
4088
4089 * config/tc-mmix.h (md_parse_name): Use ISUPPER, not isupper.
4090
ba323545
AM
40912002-02-01 Alan Modra <amodra@bigpond.net.au>
4092
4093 * Makefile.am: Run "make dep-am"
4094 * Makefile.in: Regenerate.
4095
3b16e843
NC
40962002-01-31 Ivan Guzvinec <ivang@opencores.org>
4097
4098 * config/tc-or32.c: New file.
4099 * config/tc-or32.h: New file.
4100 * configure.in: Add support for or32 targets.
4101 * configure: Regenerate.
4102 * config/obj-coff.c: Add support for or32 targets.
4103 * config/obj-coff.h: Add support for or32 targets.
4104 * Makefile.am: Add support for or32 targets.
4105 * Makefile.in: Regenerate.
4106 * NEWS: Mention support for OpenRISC.
4107 * doc/Makefile.in: Regenerate.
4108 * po/POTFILES.in: Regenerate.
4109 * po/gas.pot: Regenerate.
4110
912a07db
RS
41112002-01-30 Richard Sandiford <rsandifo@redhat.com>
4112
4113 * config/tc-sh.c (parse_reg): Fix end-of-word check for is, ix, iy
4114 and mod.
4115
4514d474
CD
41162002-01-29 Chris Demetriou <cgd@broadcom.com>
4117
4118 * config/tc-mips.c (tc_gen_reloc): Arrange for
4119 BFD_RELOC_PCREL_HI16_S relocations to be output relative to
4120 their LO16 parts, even for ELF.
4121
246fcdee
DJ
41222002-01-29 Daniel Jacobowitz <drow@mvista.com>
4123
4124 * config/tc-i386.c: Protect definitions of true and false
4125 from redefinition.
4126
00e6e13d
JJ
41272002-01-28 Jakub Jelinek <jakub@redhat.com>
4128
4129 * config/obj-elf.c (elf_frob_file_before_adjust): Remove symbols
4130 made because of .weak, if they are neither defined nor used in any
4131 way.
4132
4867be41
DJ
41332002-01-27 Daniel Jacobowitz <drow@mvista.com>
4134
4135 * configure: Regenerated.
4136
7562a296
HPN
41372002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
4138
4139 * doc/Makefile.am (install): Depend on install-info.
4140 * doc/Makefile.in: Regenerate.
4141
1caa7b23
NC
41422002-01-26 Nick Clifton <nick@redhat.com>
4143
4144 * po/fr.po: Updated version
4145
166e23f9
KH
41462002-01-24 Kazu Hirata <kazu@hxi.com>
4147
4148 * config/tc-h8300.c (check_operand): Don't print a warning
4149 when a valid 24-bit address is given to a 16-bit address
4150 operand.
4151
538cd60f
AO
41522002-01-24 Alexandre Oliva <aoliva@redhat.com>
4153
4154 * config/tc-sh.c (sh_elf_suffix): Removed.
4155 (sh_PIC_related_p, sh_check_fixup, sh_cons_fix_new,
4156 sh_end_of_match, sh_parse_name): New functions.
4157 (sh_elf_cons): Simplify.
4158 (parse_exp): Reject misplaced PIC operands.
4159 (md_undefined_symbol): Simplify.
4160 (sh_fix_adjustable): Let @GOTOFF be adjusted.
4161 (md_apply_fix3): Write @PLT and @GOTOFF addends in place.
4162 (tc_gen_reloc): Move fixp subsy absolute value into addnumber.
4163 Complain if subsy remains at the end.
4164 * config/tc-sh.h (sh_parse_name, sh_cons_fix_new): Declare.
4165 (md_parse_name, TC_CONS_FIX_NEW, O_PIC_reloc): Define.
4166
b386f24b
AO
41672002-01-22 Alexandre Oliva <aoliva@redhat.com>
4168
4169 * config/tc-mn10300.c (xr_registers): Move `pc'...
4170 (other_registers): ... here.
4171
c46f0c34
AM
41722002-01-22 Alan Modra <amodra@bigpond.net.au>
4173
4174 * Makefile.am: Run "make dep-am".
4175 * Makefile.in: Regenerate.
4176 * gas/po/POTFILES.in: Regenerate.
4177
23deb923
DD
41782002-01-21 DJ Delorie <dj@redhat.com>
4179
4180 * config/obj-coff.c (obj_coff_init_stab_section): Make the
4181 stabstr_name allocation permanent, as it will be referenced from
4182 the section hash.
4183
9596feea
JT
41842002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
4185
4186 * configure.in (ia64-*-netbsd*): New target.
949f2b5c 4187 * configure: Regenerate.
9596feea 4188
92081f48
HPN
41892002-01-21 Hans-Peter Nilsson <hp@bitrange.com>
4190
4191 * doc/as.texinfo (Overview) <Target ARM options>: Add missing {}
4192 to @dots call.
4193 <Detailed description, ARM options>: Ditto.
4194 * doc/c-arm.texi (ARM Options): Ditto.
4195
63e63b07
RE
41962002-01-18 Richard Earnshaw <rearnsha@arm.com>
4197
4198 * tc-arm.c (do_xsc_mia, do_xsc_mar, do_xsc_mra): Renamed from
4199 do_mia, do_mar and do_mra respectively.
4200 (do_mav_*): Renamed from do_c_*.
4201 (mav_reg_required_here, mav_parse_offset): Renamed from
4202 cirrus_reg_required_here and cirrus_parse_offset respectively.
4203 (MAV_MODE?): Renamed from CIRRUS_MODE?.
4204
ea6ef066
RE
42052002-01-18 Richard Earnshaw <rearnsha@arm.com>
4206 Keith Walker <keith.walker@arm.com>
4207
4208 * tc-arm.c (ARM_EXT_V5J, ARM_ARCH_V5TEJ): Define.
4209 (insns): Add pattern for bxj instruction.
4210 (do_bxj): New function.
4211 (arm_cpus): Add arm926ej.
4212 (arm_archs): Add armv5tej.
4213
bc89618b
RE
42142002-01-18 Richard Earnshaw <rearnsha@arm.com>
4215
4216 * doc/c-arm.texi: Add new fpe options to list of supported flags.
4217
d193a22a
RE
42182002-01-19 Keith Walker <keith.walker@arm.com>
4219
4220 * tc-arm.c (arm_fpus): Add fpe2 and fpe3.
4221
03b1477f
RE
42222002-01-18 Richard Earnshaw <rearnsha@arm.com>
4223
4224 * NEWS: Mention new ARM command-line options and VFP support.
4225
949f2b5c 4226 * config/tc-arm.c (ARM_CEXT_XSCALE): Replaces ARM_EXT_XSCALE. All
03b1477f
RE
4227 uses changed.
4228 (ARM_CEXT_MAVERICK): Similarly.
4229 (ARM_ANY): Now means any core instruction.
4230 (CPU_DEFAULT): Default to ARM_ANY.
4231 (uses_apcs_26, atcps, support_interwork, uses_apcs_float)
4232 (pic_code): Declare for all object types. Make type int.
4233 (legacy_cpu, legacy_fpu, mcpu_cpu_opt, mcpu_fpu_opt, march_cpu_opt)
4234 (march_fpu_opt, mfpu_opt): Declare.
4235 (md_longopts): Tidy up conditional definitions.
4236 (arm_opts, arm_cpus, arm_archs, arm_fpus, arm_extensions)
4237 (arm_long_opts): New tables.
4238 (arm_parse_cpu, arm_parse_arch, arm_parse_fpu): New functions.
4239 (arm_parse_extension): New function.
4240 (md_parse_option): Rewrite using new table-driven system.
4241 (md_show_usage): Use new table-driven system.
4242 (md_begin): Calculate cpu_variant from command line option data.
4243 * doc/as.texinfo (ARM ISA options): Docuement new ARM-specific
4244 command-line options.
4245 * doc/c-arm.texi: Likewise.
4246
2a538ba5
AJ
42472002-01-18 Andreas Jaeger <aj@suse.de>
4248
4249 * as.c (parse_args): Update year.
4250
b1ffc257 42512002-01-17 Timothy Wall <twall@alum.mit.edu>
2a538ba5 4252
b1ffc257
TW
4253 * config/tc-tic54x.c (encode_address): Add a more informative
4254 warning about incorrect syntax.
4255
328577ad
NC
42562002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
4257
4258 * po/gas.pot: Regenerate.
4259
06f030db
NC
42602002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
4261
4262 * macro.c (get_any_string): Add no-c-format comment to prevent
4263 confusion when translating string.
4264 * gasp.c (get_any_string): Add no-c-format comment to prevent
4265 confusion when translating string.
4266
394f9b3a
TS
42672002-01-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
4268 Johannes Stezenbach <js@convergence.de>
4269 * config/tc-mips.c (percent_op): Ensure longer percent_op's are
4270 matched before the shorter ones.
4271 (my_getSmallParser): Fix handling of nested parentheses in
4272 percent_op's. Code cleanup.
4273 (my_getPercentOp): New function, code from my_getSmallParser.
4274 (my_getSmallExpression): Fix handling of closing parentheses.
4275 Code cleanup. Better comments.
4276
af3ae48d
NC
42772002-01-16 Nick Clifton <nickc@redhat.com>
4278
4279 po/tr.po: New file: Turkish translation.
4280 configure.in (LINGUAS): Add "tr".
4281 configure: Regenerate.
4282
bfae80f2
RE
42832002-01-15 Richard Earnshaw <rearnsha@arm.com>
4284
4285 Support for VFP instructions
4286 * tc-arm.c (CP_WB_OK, CP_NO_WB): New defines.
4287 (cp_address_required_here): New argument wb_ok. When false, do not
4288 accept write-back forms of addressing. Change all callers.
4289 (FPU_VFP_EXT_NONE, FPU_VFP_EXT_V1xD, FPU_VFP_VFP_V1)
4290 (FPU_VFP_EXT_V2): Define.
4291 (FPU_ARCH_VFP, FPU_ARCH_VFP_V1xD, FPU_ARCH_VFP_V1, FPU_ARCH_VFP_V2):
4292 Define in terms of above.
4293 (vfp_dp_reg_pos, vfp_sp_reg_pos, vfp_ldstm_type): New enums.
4294 (vfp_reg): New struct.
4295 (vfp_regs): New array of registers.
4296 (insns): Add VFP instructions.
4297 (sn_table): New array of VFP single-precision register names.
4298 (dn_table): New array of VFP double-precision register names.
4299 (all_reg_maps): Add the new register tables.
4300 (arm_reg_type): Add new values for above. Increase RET_TYPE_MAX.
4301 (vfp_sp_reg_required_here, vfp_dp_reg_required_here, do_vfp_sp_monadic)
4302 (do_vfp_dp_monadic, do_vfp_sp_dyadic, do_vfp_dp_dyadic)
4303 (do_vfp_reg_from_sp, do_vfp_sp_reg2, do_vfp_sp_from_reg)
4304 (do_vfp_reg_from_dp, do_vfp_reg2_from_dp, do_vfp_dp_from_reg)
4305 (do_vfp_dp_from_reg2, vfp_psr_parse, vfp_psr_required_here)
4306 (do_vfp_reg_from_ctrl, do_vfp_ctrl_from_reg, do_vfp_sp_ldst)
4307 (do_vfp_dp_ldst, vfp_sp_reg_list, vfp_dp_reg_list, vfp_sp_ldstm)
4308 (vfp_dp_ldstm, do_vfp_sp_ldstmia, do_vfp_sp_ldstmdb, do_vfp_ldstmia)
4309 (do_vfp_dp_ldstmdb, do_vfp_xp_ldstmia, do_vfp_xp_ldstmdb)
4310 (do_vfp_sp_compare_z, do_vfp_dp_compare_z, do_vfp_dp_sp_cvt)
4311 (do_vfp_sp_dp_cvt): New functions.
4312 (md_begin): Set soft-float flag for appropriate VFP work.
4313 (md_atof): Handle VFP-format doubles.
4314 (md_parse_option): Handle VFP command-line options.
4315 (md_show_usage): Display VFP command-line options.
4316
fcd6d8d6
RE
43172002-01-15 Richard Earnshaw <rearnsha@arm.com>
4318
2a538ba5 4319 * tc-arm.c (md_parse_option): Tidy up setting of cpu_variant for
fcd6d8d6
RE
4320 various command line options.
4321
1f7fd478
NC
43222002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
4323
4324 * config/tc-xstormy16.c: (xstormy16_fix_adjustable): Do not fix
4325 vtinherit relocs.
4326 (xstormy16_md_apply_fix3): Do not return a value.
4327
21f0f23a
RE
43282002-01-14 Richard Earnshaw <rearnsha@arm.com>
4329
4330 * tc-arm.c (md_longopts): On targets that aren't bi-endian, support
4331 the -EL/-EB option that matches the target's endianness.
4332 (md_parse_option): Likewise.
4333
ce058b6c
RE
43342002-01-14 Richard Earnshaw <rearnsha@arm.com>
4335
2a538ba5 4336 * tc-arm.c (md_longopts): Fix misplaced #endif -- the -oabi option
ce058b6c
RE
4337 is not dependent on ARM_BI_ENDIAN.
4338
f03698e6
RE
43392002-01-14 Richard Earnshaw <rearnsha@arm.com>
4340
4341 * tc-arm.c (all error messages): Normalize capitalization of messages.
4342
4343 * tc-arm.h (md_operand): Delete define.
4344 * tc-arm.c (in_my_get_expression): New static variable.
4345 (my_get_expression): Set and clear it.
4346 (md_operand): New function. If called from my_get_expression
4347 put the error in inst.error.
4348 (output_inst): Now takes argument of instruction being assembled.
4349 Print it out with any error message.
4350 (do_ldst, do_ldstv4, thumb_load_store): Fault attempt to use a store
4351 with '=' syntax.
4352 (end_of_line): Don't update inst.error if it is already set.
4353
e28cd48c
RE
43542002-01-11 Richard Earnshaw <rearnsha@arm.com>
4355
6088b00e 4356 * tc-arm.c (do_ldst): Fix handling an immediate expression pseudo
e28cd48c
RE
4357 op that can be translated into a mvn instruction.
4358
1cd8ff38
NC
43592002-01-11 Steve Ellcey <sje@cup.hp.com>
4360
4361 * gas/config/tc-ia64.h (MD_FLAGS_DEFAULT): New Macro for
4362 setting default md.flags.
4363 (SHT_INIT_ARRAY): New elf special section used by HP-UX.
4364 (SHT_FINI_ARRAY): New elf special section used by HP-UX.
4365 * gas/config/tc-ia64.c (setup_unwind_header): Add support
4366 for 32 bit unwind info blocks.
4367 (generate_unwind_image): Add support for different types
4368 of unwind images (32 bits and/or big-endian).
4369 (ia64_init): Use MD_FLAGS_DEFAULT to set md.flags.
4370 (ia64_target_format): Add support for hpux target formats.
4371 (ia64_gen_real_reloc_type): Add support for FUNC_IPLT_RELOC.
4372 (ia64_elf_section_type): Add support for SHT_INIT_ARRAY and
4373 SHT_FINI_ARRAY elf section types.
4374
6c43fab6
RE
43752002-01-10 Richard Earnshaw <rearnsha@arm.com>
4376
4377 * tc-arm.c (struct reg_entry): Move before prototypes.
4378 (int_register, cp_register, fp_register): Delete.
4379 (reg_table): Delete. Replaced with ...
4380 (rn_table, cp_table, cn_table, fn_table, mav_mvf_table)
4381 (mav_mvd_table, mav_mvfx_table, mav_mvdx_table, mav_mvax_table)
4382 (mav_dspsc_table): ... one table per register set.
4383 (arm_reg_hsh): Delete.
4384 (struct reg_map): New structure.
4385 (all_reg_maps): New array.
4386 (enum arm_reg_type): New enums.
4387 (build_reg_hsh): New function.
4388 (insert_reg_alias): Use hash table passed by caller. Adjust all
4389 callers.
4390 (create_register_alias): New function, split out from ...
4391 (md_assemble): ... here.
4392 (md_begin): Build new register hash tables.
4393 (arm_reg_parse): New argument for the hash table to search. Adjust all
4394 callers.
4395 (arm_reg_parse_any): New function.
4396 (co_proc_number): Look up the processor number in the processor hash
4397 table.
4398 (cirrus_regtype): Delete.
4399 (cirrus_register, cirrus_mvf_register, cirrus_mvd_register)
4400 (cirrus_mvfx_register, cirrus_mvdx_register, cirrus_mvax_register)
4401 (ARM_EXT_MAVERICKsc_register): Delete.
4402 (do_c_binops_1, do_c_binops_2, do_c_binops_3): Delete.
4403 (do_c_binops_1[a-o], do_c_binops_2[a-c], do_c_binops_3[a-d]): New
4404 functions.
4405 (do_c_triple_4, do_c_triple_5): Delete.
4406 (do_c_triple_4[ab], do_c_triple_5[a-h]): New functions.
4407 (do_c_quad_6): Delete.
4408 (do_c_quad_6[ab]): New functions.
4409 (do_c_binops, do_c_triple, do_c_quad, do_c_shift, do_c_ldst): Rework
4410 arguments to use new register parsing methods.
4411 (cirrus_reg_required_here): Likewise.
4412 (insns): Reclassify cirrus maverick worker functions.
4413 (cirrus_valid_reg): Delete.
4414
8d05742f
JT
44152002-01-07 Jason Thorpe <thorpej@wasabisystems.com>
4416
4417 * configure.in (sh*le): Set cpu_type=sh and endian=little.
4418 (sh*-*-netbsdelf*): New target.
4419 * configure: Regenerate.
2a538ba5 4420 * tc-sh.h: Update copyright years.
8d05742f
JT
4421 (TARGET_FORMAT): Add version for TE_NetBSD.
4422
ceac3f62
NC
44232002-01-07 Nick Clifton <nickc@cambridge.redhat.com>
4424
4425 * read.c (emit_expr): Do not allow 'size' or 'nbytes' to go
4426 negative.
4427
d7861ad2
AM
44282002-01-06 Alan Modra <amodra@bigpond.net.au>
4429
4430 * config/tc-m68k.h (md_prepare_relax_scan): Rewrite.
4431 * config/tc-m68k.c (md_relax_table): Add md_prepare_relax_scan comment.
4432
7a621144
DJ
44332002-01-05 Daniel Jacobowitz <drow@mvista.com>
4434
4435 * tc-mips.c (mips_cprestore_valid): New flag.
4436 (mips_frame_reg_valid): New flag.
4437 (macro) [M_JAL_2]: Check both flags.
4438 [M_JAL_A]: Likewise.
4439 (s_cprestore): Set mips_cprestore_valid.
4440 (tc_get_register): If setting mips_frame_reg, set
4441 mips_frame_reg_valid and clear mips_cprestore_valid.
4442 (s_mips_ent): Clear both flags.
4443 (s_mips_end): Clear both flags.
4444
7c6beb69
AM
44452002-01-05 Alan Modra <amodra@bigpond.net.au>
4446
4447 * write.c (write_object_file): Make use of bfd_section_list_remove.
4448 * config/obj-ecoff.c (ecoff_frob_file): Likewise.
4449 * config/tc-mmix.c (mmix_frob_file): Likewise.
4450
8a8b2d4b
AJ
44512002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
4452
4453 * configure.in (i386-*-netbsdelf*): Collapse target into...
4454 (i386-*-netbsd*): ...this. Add support for x86-64.
4455 * configure: Regenerated.
4456
a09cf9bd
MG
44572002-01-03 matthew green <mrg@redhat.com>
4458
4459 * config/tc-ppc.c (md_parse_option): BookE is not Motorola specific.
4460
23b7f870
NC
44612002-01-02 Nick Clifton <nickc@cambridge.redhat.com>
4462
4463 * config/tc-m68k.c (md_estimate_size_before_relax): Test for a
4464 NULL frag link.
4465
08d56133
NC
4466For older changes see ChangeLog-0001
4467\f
4468Local Variables:
4469mode: change-log
4470left-margin: 8
4471fill-column: 74
4472version-control: never
4473End:
This page took 0.310528 seconds and 4 git commands to generate.