1 2002-07-31 Ian Dall <ian@sibyl.beware.dropbear.id.au>
3 * config/tc-ns32k.h (md_pcrel_adjust): Supply prototype.
4 * config/tc-ns32k.c (convert_iif, md_parse_option, md_show_usage):
5 Allow default displacement size to be an option "--disp-size-default".
6 (md_number_to_disp): Make error messages include value. Use %d to
7 print integers, not %s.
8 (fix_new_ns32k): Conditionally set fx_no_overflow so we don't
9 get duplicate messages sometimes.
10 (convert_iif): Grow frag to max possible instruction size. Avoid
11 creating unnecessary fixes.
12 (md_number_to_field) Add prototype.
13 (encode_operand, parse, convert_iif, md_fix_pcrel_adjust): Add
14 prototypes and make static.
15 (struct addr_mode): Make mode and scaled_mode explicitly signed.
16 (evaluate_expr): Use resultP argument instead of exprP global.
17 (get_addr_mode): Quiten compiler warnings.
18 (encode_operand): eliminate unused variables. Quiten compiler
19 warnings. Eliminate nul character in format strings.
20 (parse): argc is unsigned.
21 (reloc): Type cast index to quieten compiler.
22 (md_pcrel_adjust, md_apply_fix3): Remove unused variable.
23 (md_convert_frag): Note unused parameters. Remove unused
25 (md_create_long_jump, md_create_short_jump,
26 md_undefined_symbol_name, md_section_align, tc_gen_reloc): Note
29 2002-07-31 Nick Clifton <nickc@redhat.com>
31 * NEWS: Retroactively add entry for Lars Brinkhoff's contribution
32 of the PDP-11 and 2.11BSD a.out support.
34 2002-07-31 Momchil Velikov <velco@fadata.bg>
36 * config/tc-v850.c (md_assemble): Fix range check for immediate
39 2002-07-30 Chris Demetriou <cgd@broadcom.com>
41 * config/tc-mips.c (mips_cpu_info_table): Clean up entries related
42 to Broadcom SB-1 core support.
44 2002-07-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
46 * config/tc-mips.c (mips_target_format): Fix formatting.
47 Add recognition of n32 ABI formats.
49 2002-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
51 * tc-mips.c (load_address): Don't clobber $at when loading a
52 64-bit address in non-PIC code if noat is in effect.
55 2002-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
57 * config/tc-mips.c (macro): Use codes 6 and 7 in trap instructions
58 used in division/multiply macro expansions similarly to how they
59 are used in the variants with break instructions.
62 2002-07-30 Graeme Peterson <gp@qnx.com>
64 * configure.in: Add support for arm-*-nto target.
65 * configure: Regenerate.
67 2002-07-30 Nick Clifton <nickc@redhat.com>
69 * config/tc-arm.c (struct literal_pool): Add fields to allow
70 multiple literal pools to be maintained.
71 (find_literal_pool): New function.
72 (find_or_make_literal_pool): New function.
73 (add_to_literal_pool): Use find_or_make_literal_pool.
74 (arm_s_text, arm_s_data, arm_s_section): Remove - no longer
76 (s_ltorg): Use find_literal_pool.
77 (arm_cleanup): Dump all literal pools.
78 * doc/c-arm.texi: Document new behaviour of only dumping literal
81 2002-07-26 Alan Modra <amodra@bigpond.net.au>
83 * config/tc-ppc.c (ppc_set_cpu): Use PPC_OPCODE_64 as the default
84 rather than PPC_OPCODE_32 for powerpc64*.
86 2002-07-25 Nick Clifton <nickc@redhat.com>
88 * po/es.po: Updated Spanish translation.
89 * po/fr.po: Updated French translation.
91 2002-07-25 Richard Sandiford <rsandifo@redhat.com>
93 * doc/c-mips.texi: Remove -mcpu. Document -mabi.
94 * configure.in (MIPS_CPU_STRING_DEFAULT): New configuration macro.
95 (USE_E_MIPS_ABI_O32, MIPS_DEFAULT_64BIT): New configuration macros.
96 * configure, config.in: Regenerate.
97 * config/tc-mips.c (file_mips_abi): Rename to mips_abi.
98 (mips_set_options): Remove "abi" field.
99 (mips_opts): Update accordingly. Replace all uses of mips_opts.abi
102 (mips_arch_string, mips_arch_info): New vars.
103 (mips_tune_string, mips_tune_info): New vars.
104 (ABI_NEEDS_32BIT_REGS, ABI_NEEDS_64BIT_REGS): New macros.
105 (HAVE_32BIT_GPRS, HAVE_32BIT_FPRS): Don't check the ABI.
106 (mips_isa_to_str, mips_cpu_to_str): Remove.
107 (mips_ip): If the selected architecture is a generic ISA rather
108 than a processor, only mention the ISA level in error messages.
109 (OPTION_MCPU): Remove.
111 (md_longopts): Add -mfp64, remove -mcpu.
112 (mips_set_option_string): New fn.
113 (md_parse_option): Make -mipsN update file_mips_isa rather than
114 mips_opts.isa. Use mips_set_option_string to set -march or -mtune.
115 Don't let -mgp32 and -mfp32 change the ABI.
116 (show): Move to end of file. Constify string argument.
117 (md_show_usage): Move to the end of the file. Read available
118 architectures from mips_cpu_info_table.
119 (mips_set_architecture): New fn.
120 (mips_after_parse_args): Rework. Remove -mcpu handling. -mipsN
121 is an alias for -march=mipsN. Don't change the ABI based on other
122 flags. Infer the register size from the ABI as well as the
123 architecture. Complain about more conflicting arguments.
124 Unify logic with GCC.
125 (s_mipsset): Don't change the ABI.
126 (mips_elf_final_processing): Check USE_E_MIPS_ABI_O32.
127 (mips_cpu_info_table): Remove Generic-MIPS* entries, keeping just
128 "mipsN"-type entries. Remove entries that vary only in the
129 manufacturer's prefix, or that have "000" replaced by "k".
130 Remove TARGET_CPU entries. Make r2000 entry use CPU_R3000.
131 (mips_strict_matching_cpu_name_p, mips_matching_cpu_name_p): New fns.
132 (mips_parse_cpu): New fn.
133 (mips_cpu_info_from_name, mips_cpu_info_from_cpu): Remove.
134 (mips_cpu_info_from_isa): Minor formatting tweak.
136 2002-07-24 Nick Clifton <nickc@redhat.com>
138 * po/sv.po: Updated Swedish translation.
139 * po/es.po: Updated Spanish translation.
141 2002-07-23 Alan Modra <amodra@bigpond.net.au>
143 * Makefile.am: Run "make dep-am".
144 * Makefile.in: Regenerate.
145 * doc/Makefile.in: Regenerate.
146 * config.in: Regenerate.
147 * po/POTFILES.in: Regenerate.
149 2002-07-23 Nick Clifton <nickc@redhat.com>
151 * po/fr.po: Updated French translation.
153 2002-07-23 Nick Clifton <nickc@redhat.com>
155 * CONTRIBUTORS: Ken Raeburn is no longer the maintainer for
158 2002-07-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
160 * config/tc-mips.c (mips_need_elf_addend_fixup): Use S_IS_EXTERNAL
161 instead of S_IS_EXTERN.
162 (md_estimate_size_before_relax): Likewise.
163 (mips_fix_adjustable): Likewise.
165 2002-07-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
167 * config/tc-mips.c (mips_pic_level): Remove IRIX4_PIC.
169 2002-07-19 Miroslav Tichy <tichm9am@ss1000.ms.mff.cuni.cz>
170 Nick Clifton <nickc@redhat.com>
172 * cond.c (s_ifdef): Treat a referenced but not yet defined
173 symbol as if it were undefined, in exactly the same way as
176 * doc/as.texinfo: Document that .ifdef, .ifndef and .equiv
177 consider referenced bug not yet defined symbols to be
180 2002-07-18 Denis Chertykov <denisc@overta.ru>
181 Frank Ch. Eigler <fche@redhat.com>
182 Alan Lehotsky <alehotsky@cygnus.com>
183 John Healy <jhealy@redhat.com>
184 Jeff Johnston <jjohnstn@redhat.com>
186 * configure.in: Add ip2k configuraton.
187 * configure: Regenerate.
188 * Makefile.am: Add ip2k configuraton.
189 * Makefile.in: Regenerate.
190 * configure: Regenerate.
191 * Makefile.in: Regenerate.
192 * config/tc-ip2k.c: New file.
193 * config/tc-ip2k.h: New files.
194 * NEWS: Mention new support.
195 * doc/Makefile.am (CPU_DOCS): Add c-ip2k.texi.
196 * doc/Makefile.in: Regenerate.
197 * doc/all.texi: Set IP2K
198 * doc/as.texinfo: Add IP2K description.
199 * doc/c-ip2k.texi: New file.
201 2002-07-19 Nick Clifton <nickc@cambridge.redhat.com>
203 * NEWS: Reformat to match style of other NEWS files.
205 2002-07-17 Jan Hubicka <jh@suse.cz>
207 * tc-i386.c (i386_align_code): Implement x86_64 neutral code fillers.
209 2002-07-16 Moritz Jodeit <moritz@jodeit.org>
211 * config/tc-z8k.c (build_bytes): Correct order of memset args.
213 2002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
215 * NEWS: Add 'Changes in 2.13'.
217 2002-07-15 Matt Fredette <fredette@netbsd.org>
219 * config/tc-hppa.h (LABELS_WITHOUT_COLONS): Define if TE_NetBSD.
221 2002-07-12 Alan Modra <amodra@bigpond.net.au>
223 * config/tc-i386.c (process_suffix): Merge CODE_64BIT JumpByte
224 case with non CODE_64BIT case. Don't warn on "qword ptr" if
227 2002-07-11 Alan Modra <amodra@bigpond.net.au>
229 * config/tc-ppc.c (ppc_elf_frob_symbol): Delete.
230 (ppc_frob_file_before_adjust): New function.
231 * config/tc-ppc.h (tc_frob_symbol): Don't define.
232 (ppc_elf_frob_symbol): Don't declare.
233 (tc_frob_file_before_adjust): Define.
234 (ppc_frob_file_before_adjust): Declare.
236 * config/tc-ppc.c (md_pseudo_table): Warning fix.
237 (ppc_cpu): Make it unsigned long to agree with struct powerpc_opcode
240 (ppc_xcoff64): Rename to ppc_obj64.
241 (md_parse_option <m>): Encode old ppc_size value in ppc_cpu.
242 (ppc_set_cpu): Set PPC_OPCODE_32 too.
243 (ppc_arch): Use ppc_obj64 instead of ppc_size to select bfd_mach_ppc64
245 (ppc_target_format): Use ppc_obj64 to select format.
246 (md_begin): Adjust for PPC_OPCODE_32/64 in ppc_cpu.
247 (ppc_insert_operand): Use ppc_obj64 instead of ppc_size.
248 (ppc_elf_suffix): Likewise. Don't depend on BFD_DEFAULT_TARGET_SIZE.
249 (tc_frob_symbol): Likewise.
250 (md_assemble): Use ppc_obj64 instead of ppc_size. Don't depend on
251 BFD_DEFAULT_TARGET_SIZE.
253 (ppc_is_toc_sym): Likewise.
254 (md_apply_fix3): Likewise.
255 * config/tc-ppc.h (TC_FORCE_RELOCATION): Don't depend on
256 BFD_DEFAULT_TARGET_SIZE.
257 (ELF_TC_SPECIAL_SECTIONS): Likewise.
258 (tc_frob_symbol): Likewise.
260 2002-07-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
262 * config/tc-mips.c (macro_build): Handle MIPS16 insns.
265 2002-07-09 Alan Modra <amodra@bigpond.net.au>
267 * config/tc-i386.c (md_pseudo_table <file>): Warning fix.
268 (BFD_RELOC_8, BFD_RELOC_8_PCREL): Define for non-BFD.
269 (md_apply_fix3): Formatting. Remove redundant test.
270 (tc_gen_reloc): Remove redundant code.
271 (tc_i386_force_relocation): Delete. Movy body of function to..
272 * config/tc-i386.h (TC_FORCE_RELOCATION): .. here.
274 2002-07-09 Federico G. Schwindt <fgsch@olimpo.com.br>
276 * configure.in: Add hppa-*-openbsd* target, change
277 alpha*-*-openbsd* format to elf, and use elf for sparc-*-openbsd*
279 * configure: Regenerate.
281 2002-07-08 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
283 * config/tc-mips.c (macro): Shift the 32-bit address range
284 accessible with a lone "lui" down by 32768.
286 2002-07-08 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
288 * config/tc-mips.c (load_address): Use non-trapping "daddu"
289 instead of "dadd" in address calculations.
292 2002-07-08 Alan Modra <amodra@bigpond.net.au>
294 * config/tc-i386.c (process_suffix): Remove intel mode movsx and
296 (md_assemble): Instead, zap the suffix here.
298 2002-07-03 Nick Clifton <nickc@cambridge.redhat.com>
300 * NEWS: Remove next release number until the release is actually
303 2002-07-03 Alan Modra <amodra@bigpond.net.au>
305 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
307 * Makefile.in: Regenerate.
309 2002-07-02 Martin Schwidefsky <schwidefsky@de.ibm.com>
311 * config/tc-s390.c (tc_s390_fix_adjustable): Prevent any adjustment
312 to symbols in merge sections, even non pc-relative ones.
314 2002-06-29 Stephane Carrez <stcarrez@nerim.fr>
316 * config/tc-m68hc11.h (m68hc11_listing_header): Fix warning.
318 2002-06-29 Stephane Carrez <stcarrez@nerim.fr>
320 * config/tc-m68hc11.h (ELF_TC_SPECIAL_SECTIONS): New sections
321 .softregs and .eeprom.
323 2002-06-28 David O'Brien <obrien@FreeBSD.org>
325 * NEWS: Note the next release is 2.13.
327 2002-06-26 Nick Clifton <nickc@cambridge.redhat.com>
329 * po/tr.po: New translation imported.
331 2002-06-26 Elias Athanasopoulos <eathan@otenet.gr>
333 * ecoff.c: (get_tag): Replace strcpy with xstrdup.
334 (ecoff_directive_def): Likewise.
335 (ecoff_directive_tag): Likewise.
336 * listing.c (file_info): Likewise.
337 * hash.c (what): Likewise.
339 2002-06-25 H.J. Lu <hjl@gnu.org>
341 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
342 * Makefile.in: Regenerated.
344 2002-06-19 Dhananjay R. Deshpande <dhananjayd@kpit.com>
346 * config/tc-sh.c (get_specific): Revert 2002-05-01 change.
347 (assemble_ppi): Generate warning if the same register is used
348 twice as destination in the same padd / pmuls instruction.
350 2002-06-18 Dave Brolley <brolley@redhat.com>
352 From Catherine Moore, Michael Meissner, Richard Sandiford, Dave Brolley
353 * po/POTFILES.in: Add tc-frv.c, tc-frv.h.
354 * configure.in: Support frv-*-*.
355 * Makefile.am (CPU_TYPES): Add frv.
356 (TARGET_CPU_CFILES): Add tc-frv.c.
357 (TARGET_CPU_HFILES): Add tc-frv.h.
358 (DEPTC_frv_coff): New variable.
359 (DEPTC_frv_elf): New variable.
360 (DEPOBJ_frv_coff): New variable.
361 (DEPOBJ_frv_elf): New variable.
362 (DEP_frv_coff): New variable.
363 (DEP_frv_elf): New variable.
364 * tc-frv.c: New file.
365 * tc-frv.h: New file.
367 2002-06-17 Catherine Moore <clm@redhat.com>
369 * config/obj-elf.h (TARGET_SYMBOL_FIELDS): Conditionally define.
371 2002-06-17 J"orn Rennecke <joern.rennecke@superh.com>
373 * config/tc-sh.c (assemble_ppi): Initialize reg_n.
375 2002-06-17 Tom Rix <trix@redhat.com>
377 * config/tc-i370.h (tc_comment_chars): Define for i370-elf.
379 2002-06-14 H.J. Lu <hjl@gnu.org>
380 Daniel Jacobowitz <drow@mvista.com>
382 * dwarf2dbg.h (dwarf2_directive_file): Return char *.
383 * dwarf2dbg.c (dwarf2_directive_file): Return filename.
384 * config/tc-mips.c (s_mips_file): Call s_app_file_string
385 and new_logical_line for the first .file directive.
386 * read.c (s_app_file_string): New function.
387 (s_app_file): Call it.
388 * read.h (s_app_file_string): Add declaration.
390 2002-06-14 Daniel Jacobowitz <drow@mvista.com>
392 * configure.in: Remove MIPS_STABS_ELF.
393 * configure: Regenerated.
394 * config.in: Regenerated.
395 * config/obj-elf.h (ECOFF_DEBUGGING): Define to mips_flag_mdebug
397 * config/tc-mips.c (mips_pseudo_table): Remove #ifdef around
399 (pdr_seg): Declare unconditionally.
400 (md_begin): Always generate .pdr unless ECOFF_DEBUGGING or not ELF.
401 (s_mips_end): Likewise. Generate stabs function markers.
402 (s_mips_ent): Generate stabs function markers.
403 (s_mips_frame): Always generate .pdr unless ECOFF_DEBUGGING or not
405 (s_mips_mask): Likewise.
406 (mips_flag_mdebug): New.
407 (md_longopts): Add "mdebug" and "no-mdebug".
408 (md_parse_options): Add OPTION_MDEBUG and OPTION_NO_MDEBUG.
409 (mips_after_parse_args): Set mips_flag_mdebug.
410 * doc/as.texinfo: Add "-mdebug" and "-no-mdebug" for MIPS.
412 2002-06-13 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
414 * config/tc-mips.c (md_apply_fix3): Don't subtract the symbol's
415 value twice for RELA relocations.
417 2002-06-12 Ben Elliston <bje@redhat.com>
419 * symbols.c (resolve_symbol_value): Initialise final_val.
421 * subsegs.c (subsegs_print_statistics): Cast frchp to void *.
423 2002-06-11 Tom Rix <trix@redhat.com>
425 * config/tc-ppc.c (ppc_subseg_align): Delete.
426 (ppc_change_csect): Default csect align is 2.
427 * config/tc-ppc.h (SUB_SEGMENT_ALIGN): Delete
429 2002-06-09 Marek Michalkiewicz <marekm@amelek.gda.pl>
431 * config/tc-avr.c (mcu_types): Update.
433 2002-06-08 Matt Thomas <matt@3am-software.com>
435 * configure.in (vax-*-netbsdelf*, vax-*-netbsdaout*)
436 (vax-*-netbsd*): New targets.
437 * configure: Regenerate.
438 * config/aout_gnu.h (enum machine_type): Add M_VAX4K_NETBSD.
439 * config/tc-vax.c: Add support for ELF and PIC.
440 (flag_want_pic): New flag.
441 (float_cons): Fix prototype.
442 (md_apply_fix3): Adjust for BFD_ASSEMBLER.
443 (md_assemble): Introduce a new is_absolute local, and use it
444 rather than repeating the test. Make fatal errors actually
445 fatal by using as_fatal as appropriate. Adjust for BFD_ASSEMBLER.
446 Add support for ELF. Add support for PIC.
447 (md_convert_frag): Adjust for BFD_ASSEMBLER.
448 (tc_aout_fix_to_chars): Only include if OBJ_AOUT and not
450 (vax_reg_parse): Make the % register prefix mandatory for ELF,
451 optional for a.out, and not allowed for VMS. Adjust all callers.
452 (md_create_short_jump): Add ATTRIBUTE_UNUSED to unused arguments.
453 (md_create_long_jump): Likewise.
454 (md_undefined_symbol): Likewise.
455 (md_section_align): Likewise.
456 (md_shortopts): Allow -k and -K for ELF.
457 (md_parse_option): Set flag_want_pic if -k or -K.
458 (tc_headers_hook): New function if OBJ_AOUT and not BFD_ASSEMBLER.
459 (tc_gen_reloc): New function if BFD_ASSEMBLER.
460 * config/tc-vax.h (tc_headers_hook): Remove.
461 (TARGET_FORMAT): Set according to object format and target
463 (BFD_ARCH, TARGET_ARCH): Define.
464 (NO_RELOC): Adjust for BFD_ASSEMBLER.
465 (TC_RELOC_RTSYM_LOC_FIXUP, TC_FIX_ADJUSTABLE)
466 (tc_fix_adjustable): Define if BFD_ASSEMBLER.
467 * config/vax-inst.h (VAX_JSB, VAX_CALLS, VAX_CALLG): Define.
469 2002-06-08 Alan Modra <amodra@bigpond.net.au>
471 * Makefile.am: Run "make dep-am".
472 * Makefile.in: Regenerate.
474 * as.c: Replace CONST with const.
476 * config/obj-coff.c: Likewise.
477 * config/tc-a29k.c: Likewise.
478 * config/tc-arm.c: Likewise.
479 * config/tc-dlx.c: Likewise.
480 * config/tc-h8300.c: Likewise.
481 * config/tc-h8500.c: Likewise.
482 * config/tc-i370.c: Likewise.
483 * config/tc-i860.c: Likewise.
484 * config/tc-i960.c: Likewise.
485 * config/tc-m68hc11.c: Likewise.
486 * config/tc-m68k.c: Likewise.
487 * config/tc-m88k.c: Likewise.
488 * config/tc-mcore.c: Likewise.
489 * config/tc-mips.c: Likewise.
490 * config/tc-ns32k.c: Likewise.
491 * config/tc-pdp11.c: Likewise.
492 * config/tc-pj.c: Likewise.
493 * config/tc-s390.c: Likewise.
494 * config/tc-sh.c: Likewise.
495 * config/tc-sparc.c: Likewise.
496 * config/tc-tahoe.c: Likewise.
497 * config/tc-tic80.c: Likewise.
498 * config/tc-v850.c: Likewise.
499 * config/tc-vax.c: Likewise.
500 * config/tc-w65.c: Likewise.
501 * config/tc-z8k.c: Likewise.
503 2002-06-08 Daniel Jacobowitz <drow@mvista.com>
505 Based on patch from Matt Green:
506 * config/obj-elf.h (ECOFF_DEBUGGING): Make configurable.
507 * config/tc-mips.c (s_mips_file): Renamed from s_file.
508 (s_mips_loc): New function.
509 (mips_nonecoff_pseudo_table): Call them.
510 (append_insn): Call dwarf2_emit_insn.
512 2002-06-08 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
514 * config/tc-mips.c (mips_opts): Fix comment, all ASE fields are set
516 (file_ase_mips16): New veriable.
517 (mips_eabi64): Remove.
518 (CPU_HAS_MIPS16): New define.
519 (CPU_HAS_MDMX): Fix data type.
520 (md_begin): Code cleanup. Use file_ase_mips16.
521 (mips_elf_final_processing): Handle mips16 header flag.
522 Handle EABI flag without intermediate variable.
524 2002-06-08 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
526 * doc/as.texinfo: Update MIPS documentation.
528 2002-06-08 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
530 * config/tc-mips.c: Add define for $zero register.
531 (md_begin): Add $zero as alias name for $0.
532 (insn_uses_reg): Use ZERO define.
533 (mips_ip): Add $zero as alias name for $0.
534 (mips16_ip): Likewise.
535 (s_cplocal): Demand empty rest of input line.
536 (tc_get_register): Likewise. Add support for $kt0, kt1 register
537 names. Use ZERO define. Fix input_line_pointer progress.
539 2002-06-07 Alan Modra <amodra@bigpond.net.au>
541 * symbols.c: Replace CONST by const throughout.
542 (symbol_find_exact): Split out from..
543 (symbol_find_base): ..here.
544 * symbols.h: Replace CONST by const throughout.
545 (symbol_find_exact): Declare.
546 * config/obj-elf.c: #include "struc-symbol.h".
547 (elf_frob_file): If group name matches an exported symbol, use that
548 symbol for the signature and ".group" as the section name.
550 2002-06-06 J"orn Rennecke <joern.rennecke@superh.com>
552 * config/tc-sh.c (parse_at): @(symbol,pc) is A_DISP_PC again,
554 * testsuite/gas/sh/pcrel.s: Also test @(symbol,pc).
555 * testsuite/gas/sh/pcrel.d: Update.
556 * testsuite/gas/sh/pcrel.l: New file.
558 2002-06-06 Daniel Jacobowitz <drow@mvista.com>
560 * tc-mips.c (mips_after_parse_args): Always set mips_opts.ase_mips3d
561 and mips_opts.ase_mdmx if they are uninitialized.
563 2002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
565 * gas/config/tc-hppa.c (pa_ip): Replace "L$0\001" with FAKE_LABEL_NAME.
566 (hppa_force_relocation): Check if a stub just before the start symbol
567 of the last call_info is reachable before forcing relocation. Fix
570 2002-06-04 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
572 * config/tc-mips.c (mips_after_parse_args): New function.
573 (md_begin): Move processing of defaults to mips_after_parse_args.
574 config/tc-mips.h (md_after_parse_args): Define.
576 2002-06-04 Jason Thorpe <thorpej@wasabisystems.com>
578 * configure.in (sh5*): Set cpu_type to sh64 and endian to big.
579 (sh5le*, sh64le*): Set cpu_type to sh64 and endian to little.
580 (sh5*-*-netbsd*, sh64*-*-netbsd*): New targets.
581 * configure: Regenerate.
582 * config/tc-sh64.c (sh64_target_format): Add support for NetBSD
585 2002-06-04 Jason Thorpe <thorpej@wasabisystems.com>
587 * config/tc-sh64.h (MD_PCREL_FROM_SECTION): Undef before redefining.
589 2002-06-04 Alan Modra <amodra@bigpond.net.au>
591 * config/obj-elf.c (obj_elf_change_section): Set and check elf
592 linkonce flag. Print all warnings.
593 (obj_elf_section): Parse ",comdat" for groups.
594 (elf_frob_file): Set SEC_LINK_ONCE on COMDAT groups. Check
595 consistency of comdat flag.
597 2002-06-02 Richard Henderson <rth@redhat.com>
599 * config/tc-alpha.c (alpha_adjust_symtab_relocs): Fix thinko
600 with LITERALs without sequence numbers.
602 2002-06-01 Richard Henderson <rth@redhat.com>
604 * config/tc-alpha.c: Move LITUSE constants to "elf/alpha.h".
605 Rename them LITUSE_ALPHA_*.
607 2002-05-31 Shrinivas Atre <ShrinivasA@kpit.com>
609 * config/tc-h8300.c (get_operand): Allow stm.l and ldm.l insns to
610 accept parentheses enclosed register lists.
612 2002-05-31 Alan Modra <amodra@bigpond.net.au>
614 * Makefile.am: Run "make dep-am".
615 * Makefile.in: Regenerate.
616 * po/POTFILES.in: Regenerate.
618 2002-05-31 Graeme Peterson <gp@qnx.com>
620 * configure.in: Add i386-*-nto-qnx*.
621 * configure: Regenerate.
623 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
625 * config/tc-mips.c (mips_ip): Use unsigned long values for
628 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
630 * config/tc-mips.c (s_cpsetup): Fix initialization of
631 mips_cpreturn_register and mips_cpreturn_offset.
633 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
635 * config/tc-mips.c (s_cpsetup): Fix comment.
637 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
639 * config/tc-mips.c (md_begin): Add $ra as alias name for $31.
641 (mips16_ip): Likewise.
642 (tc_get_register): Likewise.
644 2002-05-30 Chris G. Demetriou <cgd@broadcom.com>
645 Ed Satterthwaite <ehs@broadcom.com>
647 * config/tc-mips.c (mips_set_options): New "ase_mdmx" member.
648 (mips_opts): Initialize "ase_mdmx" member.
649 (file_ase_mdmx): New variable.
650 (CPU_HAS_MDMX): New macro.
651 (md_begin): Initialize mips_opts.ase_mdmx and file_ase_mdmx
652 based on command line options and configuration defaults.
653 (macro_build): Note in comment that use of MDMX in macros is
654 not currently allowed.
655 (validate_mips_insn): Add support for the "O", "Q", "X", "Y", and
656 "Z" MDMX operand types.
657 (mips_ip): Accept MDMX instructions if mips_opts.ase_mdmx is set,
658 and add support for the "O", "Q", "X", "Y", and "Z" MDMX operand
660 (OPTION_MDMX, OPTION_NO_MDMX, md_longopts, md_parse_option):
661 Add support for "-mdmx" and "-no-mdmx" options.
662 (OPTION_ELF_BASE): Move to accomodate new options.
663 (s_mipsset): Support ".set mdmx" and ".set nomdmx".
664 (mips_elf_final_processing): Set MDMX ASE ELF header flag if
665 file_ase_mdmx was set.
666 * doc/as.texinfo: Document -mdmx and -no-mdmx options.
667 * doc/c-mips.texi: Likewise, and document ".set mdmx" and ".set
670 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
672 * config/tc-mips.c (OPTION_NO_M7000_HILO_FIX): Rename to
673 OPTION_MNO_7000_HILO_FIX. Add alternate "mno-fix7000"
674 command line switch conforming to gcc conventions.
675 * doc/c-mips.texi: Document -mno-fix7000 instead of no-mfix-7000.
677 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
679 * config/tc-mips.c (macro_build_jalr): New Function.
680 (md_begin): NewABI uses big GOTs.
681 (macro_build): Recognize BFD_RELOC_MIPS_GOT_DISP,
682 BFD_RELOC_MIPS_GOT_PAGE, BFD_RELOC_MIPS_GOT_OFST as valid.
683 (load_address): Add some NewABI PIC support.
685 (md_apply_fix): Special handling for BFD_RELOC_MIPS_JALR.
686 (tc_gen_reloc): Don't encode NewABI vtables in REL relocations.
688 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
690 * config/tc-mips.c (load_address): Use mips_gp_register instead
691 of hardcoded value. Remove dbl parameter, use HAVE_32BIT_ADDRESSES
693 (macro): Use mips_gp_register instead of hardcoded value.
695 2002-05-30 Richard Henderson <rth@redhat.com>
697 * expr.h (operatorT): Add O_md17..O_md32.
698 * config/tc-alpha.c (O_lituse_tlsgd, O_lituse_tlsldm, O_tlsgd,
699 O_tlsldm, O_gotdtprel, O_dtprelhi, O_dtprello, O_dtprel, O_gottprel,
700 O_tprelhi, O_tprello, O_tprel): New.
701 (USER_RELOC_P, alpha_reloc_op_tag, debug_exp): Include them.
702 (DUMMY_RELOC_LITUSE_TLSGD, DUMMY_RELOC_LITUSE_TLSLDM): New.
703 (LITUSE_TLSGD, LITUSE_TLSLDM): New.
704 (struct alpha_reloc_tag): Add master, saw_tlsgd, saw_tlsld,
705 saw_lu_tlsgd, saw_lu_tlsldm. Make multi_section_p a bit field.
706 (md_apply_fix3): Handle TLS relocations.
707 (alpha_force_relocation, alpha_fix_adjustable): Likewise.
708 (alpha_adjust_symtab_relocs): Sort LITERAL relocs after the
709 associated TLS reloc. Check lituse_tls relocs match up.
710 (emit_insn): Handle TLS relocations.
713 * doc/c-alpha.texi: Add docs for tls relocations.
715 2002-05-30 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
717 * config/tc-mips.c (mips_gprel_offset): New variable.
720 2002-05-30 Diego Novillo <dnovillo@redhat.com>
722 * gas/config/tc-d10v.c (check_resource_conflict): Only check
723 write-write conflicts.
724 (md_assemble): Reformat introductory comment.
725 (parallel_ok): Prevent packing only if the first
726 instruction cannot be packed.
728 2002-05-30 Jason Eckhardt <jle@redhat.com>
729 Tom Rix <trix@redhat.com>
731 * config/tc-d10v.c (build_insn): Check for immediates.
733 2002-05-28 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
735 * config/tc-mips.c: Replace GP in comments by $gp.
736 (mips_big_got): Initialize.
737 (mips_trap): Initialize.
738 (load_address): Use mips_gp_register instead of hardcoded value.
739 Remove dbl parameter, use HAVE_32BIT_ADDRESSES instead.
740 (macro): Use mips_gp_register instead of hardcoded value.
741 (macro2): Change load_address calls.
742 (md_pcrel_from): Comment formatting.
743 (s_cpload): Use mips_gp_register instead of hardcoded value.
744 (s_cprestore): Likewise. Comment formatting.
745 (s_gpword): Fix data type.
746 (s_cpadd): Use mips_gp_register instead of hardcoded value.
747 (nopic_need_relax): Replace GP in comments by $gp.
748 (mips_elf_final_processing): Better comment.
750 2002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
752 * configure.in: Add DLX configuraton
753 * Makefile.am: Add DLX configuraton
754 * configure: Regenerate.
755 * Makefile.in: Regenerate.
756 * config/tc-dlx.c: New file.
757 * config/tc-dlx.h: New files.
758 * NEWS: Mention new support.
760 2002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
762 * config/obj-coff.c (write_object_file): Add missing semicolon.
764 2002-05-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
766 * config/tc-mips.c (mips_emit_delays): Replace magic constant for RA
767 by the define. Remove superfluous check of mips_opts.mips16.
768 (append_insn): Likewise. Canonicalize variable increments.
769 (macro_build): Canonicalize variable increments.
770 (macro_build_lui): Likewise.
771 (load_register): Likewise.
772 (load_address): Move pointer initialization.
773 (macro): Move pointer to a more local scope. Canonicalize variable
774 increments. Better comments. Replace magic constant for RA by the
776 (macro2): Replace magic constant for RA by the define. Canonicalize
778 (mips_ip): Canonicalize variable increments.
779 (mips16_ip): Replace magic constant for RA by the define.
780 (my_getSmallParser): Canonicalize variable increments/decrements.
781 (my_getPercentOp): Likewise.
782 (my_getSmallExpression): Likewise.
784 (s_mipsset): Likewise.
785 (s_cpsetup): Likewise.
786 (s_insn): Remove superfluous check of mips_opts.mips16.
787 (s_mips_stab): Likewise.
788 (mips_handle_align): Canonicalize variable increments.
789 (s_mips_ent): Likewise.
790 (s_mips_end): Add comment.
792 2002-05-26 Jason Thorpe <thorpej@wasabisystems.com>
794 * configure.in: Use ns32k-*-netbsd* instead of ns32k-pc532-netbsd*.
795 * configure: Regenerate.
797 2002-05-25 Alan Modra <amodra@bigpond.net.au>
799 * Makefile.am (OBJS): Depend on ansidecl.h and fopen-same.h.
800 * Makefile.in: Regenerate.
801 * dep-in.sed: Reorder to match OBJS in Makefile.am.
802 * configure.in (ALL_OBJ_DEPS): Add symcat.h when need_bfd.
803 * configure: Regenerate.
804 * as.h: Use #include "" instead of <> for local header files.
805 * flonum-konst.c: Likewise.
806 * flonum-mult.c: Likewise.
808 * listing.c: Likewise.
809 * config/tc-ia64.h: Likewise.
810 * config/tc-v850.h: Likewise.
812 2002-05-24 TAMURA Kent <kent@netbsd.org>
814 * configure.in: Add a target for i386-netbsdpe.
815 * configure: Regenerate.
817 2002-05-23 Jakub Jelinek <jakub@redhat.com>
819 * config/obj-elf.c (elf_common): Renamed from obj_elf_common.
820 (obj_elf_common): Call elf_common.
821 (obj_elf_tls_common): New function.
822 (elf_pseudo_tab): Support .tls_common.
823 (special_sections): Add .tdata and .tbss.
824 (obj_elf_change_section): Set SEC_THREAD_LOCAL for SHF_TLS
826 (obj_elf_parse_section_letters): Support T in section flags (SHF_TLS).
827 (obj_elf_parse_section_letters): Include T in error message.
828 * config/tc-ppc.c (ppc_section_letter): Likewise.
829 * config/tc-alpha.c (alpha_elf_section_letter): Likewise.
830 (tc_gen_reloc): Handle SEC_THREAD_LOCAL the same way as
832 * config/tc-sparc.c (md_apply_fix3): Likewise.
833 * config/tc-i386.c (tc_i386_fix_adjustable): Add TLS relocs.
834 Define them if not BFD_ASSEMBLER.
835 (lex_got): Support @TLSGD, @TLSLDM, @GOTTPOFF, @TPOFF, @DTPOFF
837 (md_apply_fix3): Add TLS relocs.
838 * config/tc-ia64.c (enum reloc_func): Add FUNC_DTP_MODULE,
839 FUNC_DTP_RELATIVE, FUNC_TP_RELATIVE, FUNC_LT_DTP_MODULE,
840 FUNC_LT_DTP_RELATIVE, FUNC_LT_TP_RELATIVE.
841 (pseudo_func): Support @dtpmod(), @dtprel() and @tprel().
842 (ia64_elf_section_letter): Include T in error message.
843 (md_begin): Support TLS operators.
844 (md_operand): Likewise.
845 (ia64_gen_real_reloc_type): Support TLS relocs.
846 * testsuite/gas/i386/tlspic.s: New file.
847 * testsuite/gas/i386/tlsd.s: New file.
848 * testsuite/gas/i386/tlsnopic.s: New file.
849 * testsuite/gas/i386/tlsd.d: New file.
850 * testsuite/gas/i386/tlsnopic.d: New file.
851 * testsuite/gas/i386/tlspic.d: New file.
852 * testsuite/gas/i386/i386.exp: Add tlsd, tlsnopic and tlspic tests.
853 * testsuite/gas/ia64/tls.s: New file.
854 * testsuite/gas/ia64/tls.d: New file.
855 * testsuite/gas/ia64/ia64.exp: Add tls test.
856 * write.c (adjust_reloc_syms): Don't change symbols in
857 SEC_THREAD_LOCAL sections to STT_SECTION + addend.
859 2002-05-23 Nick Clifton <nickc@cambridge.redhat.com>
861 * config/tc-arm.c (md_apply_fix3): For the Thumb BLX reloc
862 round the relocation up rather than down.
864 2002-05-23 Nick Clifton <nickc@cambridge.redhat.com>
866 * config/obj-coff.c (obj_coff_section): Silently ignore an 'a'
868 * doc/as.texinfo: Document that the COFF version of .section
869 ignores the 'a' flag.
871 2002-05-23 Alan Modra <amodra@bigpond.net.au>
873 * config/tc-alpha.c (assemble_tokens): Protect use of
874 ALPHA_RELOC_TABLE with #ifdef RELOC_OP_P.
876 * write.c (size_seg): Check adjustment to last frag.
877 (SUB_SEGMENT_ALIGN): If HANDLE_ALIGN defined, pad out last frag to
879 * config/obj-coff.c (SUB_SEGMENT_ALIGN): Likewise.
880 * config/obj-ieee.c (SUB_SEGMENT_ALIGN): Likewise.
881 (write_object_file): Invoke md_do_align if available, and use
882 frag_align_code on text sections.
883 * config/obj-vms.h (SUB_SEGMENT_ALIGN): Now two args.
884 * config/tc-m88k.h (SUB_SEGMENT_ALIGN): Likewise.
885 * config/tc-ppc.h (SUB_SEGMENT_ALIGN): Likewise.
886 * config/tc-sh.h (SUB_SEGMENT_ALIGN): Likewise.
887 * config/tc-i386.h (SUB_SEGMENT_ALIGN): Likewise. Define for
890 2002-05-22 H.J. Lu <hjl@gnu.org>
892 * dwarf2dbg.c (dwarf2_directive_loc): Call listing_source_file
895 2002-05-22 Nick Clifton <nickc@cambridge.redhat.com>
897 * config/tc-arm.c (arm_s_section): Enable for COFF builds as well
900 2002-05-22 H.J. Lu <hjl@gnu.org>
902 * dwarf2dbg.c (dwarf2_emit_insn): Emit only one line symbol
903 for one .loc for compiler.
905 2002-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
907 * config/tc-mips.c (macro): Relax warning, it's toot strict for
910 2002-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
912 * config/tc-mips.c (macro2): Add 64 bit drol, dror macros.
913 Optimize the rotate by zero case.
915 2002-05-21 Nick Clifton <nickc@cambridge.redhat.com>
917 * configure.in: Remove accidental enabling of bfd_gas=yes for
919 * configure: Regenerate.
921 2002-05-18 Kazu Hirata <kazu@cs.umass.edu>
923 * app.c: Fix formatting.
927 * input-file.c: Likewise.
928 * listing.c: Likewise.
931 * symbols.c: Likewise.
933 2002-05-17 Alan Modra <amodra@bigpond.net.au>
935 * config/obj-generic.c: Delete file.
936 * config/obj-generic.h: Likewise.
938 2002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
940 * config/tc-avr.c (mcu_types): Update for new devices.
942 2002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
944 * config/tc-mips.c (macro): Warn about wrong la/dla use.
946 2002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
948 * config/tc_mips.c (s_cpsetup): Fix completely bogus code which had
949 worked sometimes by accident. Fix copy&paste comment.
951 2002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
953 * config/tc-mips.c (md_begin): Fix .reginfo and .MIPS.option section
954 alignment for NewABI. Let n32 use .reginfo. Remove useless casts.
955 (mips_elf_final_processing): Let n32 use .reginfo.
957 2002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
959 * config/tc-mips.c (append_insn): Fix too small range of variable.
961 2002-05-14 Nick Clifton <nickc@cambridge.redhat.com>
963 * config/tc-arm.c (arm_cleanup): Remove redundant call to
966 2002-05-13 Nick Clifton <nickc@cambridge.redhat.com>
968 * config/tc-arm.c (md_assemble): Remove redundant call to
971 * dwarf2dbg.c (dwarf2_emit_insn): Do not reset
974 * stabs.c (s_stab_generic): Fix grammatical error in warning
977 2002-05-13 Alan Modra <amodra@bigpond.net.au>
979 * write.c (subsegs_finish): Don't specially align last subseg.
981 2002-05-11 Nick Clifton <nickc@cambridge.redhat.com>
983 * stabs.c (s_stab_generic): Warn about a description field that is
986 * config/obj-coff.c: Fix compile time warnings when compiling
987 without BFD_ASSEMBLER defined.
990 * config/tc-sh.c (md_pcrel_from): Define for use with sh-hms
992 (md_pcrel_from_section): Use md_pcrel_from().
994 2002-05-11 Bruno Haible <bruno@clisp.org>
996 * dwarf2dbg.c (dwarf2_emit_insn): Use the 'current' struct filled
997 by dwarf2_directive_loc, instead of calling dwarf2_where.
999 2002-05-11 Kazu Hirata <kazu@cs.umass.edu>
1001 * config/obj-coff.h: Fix formatting.
1002 * config/tc-mcore.c: Likewise.
1003 * config/tc-mn10300.c: Likewise.
1004 * config/tc-openrisc.c: Likewise.
1005 * config/tc-or32.c: Likewise.
1006 * config/tc-pdp11.c: Likewise.
1007 * config/tc-ppc.c: Likewise.
1008 * config/tc-ppc.h: Likewise.
1009 * config/tc-sh64.c: Likewise.
1010 * config/tc-sh.c: Likewise.
1011 * config/tc-tic54x.c: Likewise.
1012 * config/tc-xstormy16.c: Likewise.
1013 * config/tc-xstormy16.h: Likewise.
1015 2002-05-09 Kazu Hirata <kazu@cs.umass.edu>
1017 * config/obj-coff.c: Fix formatting.
1018 * config/obj-elf.c: Likewise.
1019 * config/tc-alpha.c: Likewise.
1020 * config/tc-arm.c: Likewise.
1021 * config/tc-d10v.c: Likewise.
1022 * config/tc-d30v.c: Likewise.
1023 * config/tc-h8300.c: Likewise.
1024 * config/tc-hppa.c: Likewise.
1026 2002-05-09 Alan Modra <amodra@bigpond.net.au>
1028 * config/tc-i386.c (md_estimate_size_before_relax) Don't lose
1029 reloc when no_cond_jump_promotion.
1031 2002-05-08 Jim Wilson <wilson@redhat.com>
1033 * config/tc-i960.c (md_estimate_size_before_relax): Return size of
1034 current variable part of frag.
1036 2002-05-08 Kazu Hirata <kazu@cs.umass.edu>
1038 * config/tc-mmix.c: Fix formatting.
1039 * config/tc-mmix.h: Likewise.
1041 2002-05-08 Alan Modra <amodra@bigpond.net.au>
1043 * configure: Regenerate.
1045 2002-05-07 Kazu Hirata <kazu@cs.umass.edu>
1047 * config/tc-m68k.c: Fix formatting.
1049 2002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
1051 * Makefile.am: Honour DESTDIR.
1052 * Makefile.in: Regenerate.
1054 2002-05-06 Kazu Hirata <kazu@cs.umass.edu>
1056 * config/tc-ia64.c: Fix formatting.
1057 * config/tc-ia64.h: Likewise.
1059 2002-05-04 Kazu Hirata <kazu@cs.umass.edu>
1061 * config/tc-mips.c: Fix formatting.
1062 * config/tc-s390.c: Likewise.
1063 * config/tc-s390.h: Likewise.
1065 2002-05-03 Alexandre Oliva <aoliva@redhat.com>
1067 * config/tc-s390.c (md_gather_operands): Emit dwarf2 line-number
1068 information for instructions.
1070 2002-05-02 Kazu Hirata <kazu@cs.umass.edu>
1072 * as.h: Fix formatting.
1075 * dwarf2dbg.c: Likewise.
1076 * frags.h: Likewise.
1078 * macro.c: Likewise.
1080 * stabs.c: Likewise.
1081 * symbols.c: Likewise.
1083 2002-05-02 Alan Modra <amodra@bigpond.net.au>
1085 * app.c (mri_pseudo): Only declare for TC_M68K.
1087 * config/tc-ppc.c (mapping): Map sectoff to BFD_RELOC_16_BASEREL.
1088 (ppc_elf_validate_fix): Replace BFD_RELOC_32_BASEREL with
1089 BFD_RELOC_16_BASEREL.
1090 (md_assemble): Likewise.
1091 (md_apply_fix3): Likewise.
1093 2002-05-02 Nick Clifton <nickc@cambridge.redhat.com>
1095 * config/tc-arm.c (thumb_add_sub): Do not convert a subtract of
1096 zero into an add of zero - it is not the same.
1098 2002-05-01 Arati Dikey <aratid@kpit.com>
1100 * tc-sh.c (get_specific): Generate warning if the same
1101 destination register is used in parallel instructions.
1103 2002-05-01 Andrew Macleod <amacleod@cygnus.com>
1105 * config/tc-i386.c (extra_symbol_chars): Add '[' to the list.
1107 2002-05-01 Alan Modra <amodra@bigpond.net.au>
1109 * write.c (cvt_frag_to_fill): Set fr_offset to zero on .org
1110 backwards to prevent cascading errors.
1112 2002-04-30 Mark Mitchell <mark@codesourcery.com>
1114 * configure.in: Add support for powerpc-*-windiss.
1115 * configure: Regenerated.
1117 2002-04-28 Alan Modra <amodra@bigpond.net.au>
1119 * config/tc-s390.c (md_parse_option): Formatting.
1121 * config/tc-i386.c: Formatting fixes, add missing space in error
1124 2002-04-24 Christian Groessler <chris@groessler.org>
1126 * config/tc-z8k.c (build_bytes): Add support for new cases:
1127 CLASS_IGNORE and ARG_NIM4.
1128 (md_assemble): Prevent destruction of input_line_pointer if
1129 get_operands returns failure.
1131 2002-04-24 Chris G. Demetriou <cgd@broadcom.com>
1133 * config/tc-mips.c (macro_build): Do _not_ allow MIPS-3D
1134 instructions to be generated by macros.
1136 2002-04-24 Andreas Schwab <schwab@suse.de>
1138 * config/tc-i386.c (output_jump, output_disp)
1139 (md_estimate_size_before_relax): Don't set fx_pcrel_adjust any
1141 (md_apply_fix3): Remember addend value for rela relocations.
1142 (tc_gen_reloc): Correctly compute pc-relative relocation addend.
1144 2002-04-22 Chris Demetriou <cgd@broadcom.com>
1146 * config/tc-mips.c (macro_build): Add close-parenthesis missing
1147 from previous change.
1149 2002-04-22 Eric Christopher <echristo@redhat.com>
1151 * config/tc-mips.c (macro_build): Add warning if macro instructions
1152 are expanded into a branch delay slot.
1154 2002-04-17 Geoffrey Keating <geoffk@redhat.com>
1156 * dwarf2dbg.c (dwarf2_gen_line_info): Do emit duplicate line
1157 numbers, gdb relies on them to detect the start of the prologue.
1159 2002-04-17 Martin Schwidefsky <schwidefsky@de.ibm.com>
1161 * config/tc-s390.c (tc_s390_fix_adjustable): Prevent adjustments to
1162 symbols in merge sections.
1164 2002-04-16 Alan Modra <amodra@bigpond.net.au>
1166 * as.c (main): Don't reference _bfd_chunksize.
1168 2002-04-15 Tom Rix <trix@redhat.com>
1170 * config/tc-d10v.c (d10v_fix_adjustable): Prevent adjustments to
1171 symbols in merge sections.
1173 2002-04-11 Richard Sandiford <rsandifo@redhat.com>
1175 * doc/invoke.texi (TC_LARGEST_EXPONENT_IS_NORMAL): Document.
1176 * config/atof-ieee.c (TC_LARGEST_EXPONENT_IS_NORMAL): Add an
1177 argument for the precision.
1178 (gen_to_words): Update accordingly.
1180 2002-04-10 Alan Modra <amodra@bigpond.net.au>
1182 * as.c (parse_args <OPTION_VERSION>): Use VERSION is
1183 BFD_VERSION_STRING unavailable.
1184 * config/tc-i386.c (INLINE): Define (for non-BFD assembler).
1186 2002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
1188 * config/tc-sh.h (TC_FIX_ADJUSTABLE): Disable adjusting if
1189 symbol_used_in_reloc_p is true.
1191 * config/tc-sh.c (md_apply_fix3): Don't zero relocations on big
1194 2002-04-04 Alan Modra <amodra@bigpond.net.au>
1196 * dep-in.sed: Cope with absolute paths.
1197 * Makefile.am (dep.sed): Subst TOPDIR.
1199 * Makefile.in: Regenerate.
1201 2002-04-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1203 * config/tc-mips.c (mips16_macro_build): Cast type mismatch.
1204 (mips_ip): Remove unused variable.
1205 (md_apply_fix3): Cast signed/unsignes mismatches. Replace
1206 unsigned char with bfd_byte.
1207 (s_file): Remove unused variable.
1208 (s_mips_ent): Likewise.
1210 2002-04-03 Tom Rix <trix@redhat.com>
1212 * config/tc-d10v.c (d10v_insert_operand): Fix warning in as_bad_where.
1214 (find_opcode): Fix warning in as_warn.
1215 * config/tc-d10v.h: Update Copyright.
1217 2002-04-03 Alan Matsuoka <alanm@redhat.com>
1218 Tom Rix <trix@redhat.com>
1220 From Jeff Knaggs <jknaggs@redhat.com>
1221 * config/tc-d10v.c (check_resource_conflict): New function to
1222 check for resource conflicts.
1224 From Jason Eckhardt <jle@redhat.com>
1225 * config/tc-d10v.c (build_insn): Check for unresolved imm4 or
1227 * config/tc-d10v.c (find_opcode): Emit a warning if one of the
1228 reserved control registers is used.
1229 * config/tc-d10v.c (build_insn): Check for unresolved imm4 or
1232 From 2001-03-28 Diego Novillo <dnovillo@redhat.com>
1233 * tc-d10v.c (parallel_ok): Prevent packing only if the first
1234 instruction cannot be packed.
1236 From 2001-03-30 Diego Novillo <dnovillo@redhat.com>
1237 * gas/config/tc-d10v.c (check_resource_conflict): Only check
1238 write-write conflicts.
1239 (md_assemble): Reformat introductory comment.
1240 * opcodes/d10v-opc.c (d10v_opcodes): `btsti' does not modify its
1243 2002-04-03 Alan Modra <amodra@bigpond.net.au>
1245 * symbols.c (resolve_symbol_value <O_uminus, O_bit_not,
1246 O_logical_not>): Derive final_seg from add_symbol.
1247 <O_multiply..O_logical_or>: More final_seg twiddles.
1249 2002-04-01 Jessica Han <jessica@cup.hp.com>
1251 * config/tc-ia64.c (ia64_cons_fix_new): Handle 8 byte iplt reloc
1254 2002-03-27 Andreas Schwab <schwab@suse.de>
1256 * config/tc-i386.c (output_jump): Set fx_pcrel_adjust to size of
1257 field for pc-relative fixups.
1258 (output_disp): Likewise.
1259 (md_estimate_size_before_relax): Likewise.
1260 (tc_gen_reloc): Subtract fx_pcrel_adjust instead of fx_size for
1261 pc-relative fixups in 64bit mode.
1263 2002-03-22 Alan Modra <amodra@bigpond.net.au>
1265 * config/te-aix5.h: Typo fix.
1267 2002-03-21 Alan Modra <amodra@bigpond.net.au>
1269 * Makefile.am: Run "make dep-am".
1270 * Makefile.in: Regenerate.
1271 * doc/Makefile.in: Regenerate.
1273 2002-03-20 Albert Chin-A-Young <china@thewrittenword.com>
1275 * config/tc-arm.c (vfp_dp_reg_required_here): Fix typo
1276 (vfp_sp_reg_pos -> vfp_dp_reg_pos).
1278 2002-03-18 Alexandre Oliva <aoliva@redhat.com>
1280 * config/tc-mips.c (md_estimate_size_before_relax): Do not modify
1281 the EXTENDED bit here; report the estimate according to the
1284 2002-03-18 Tom Rix <trix@redhat.com>
1286 * configure.in: Add AIX 5 support.
1287 * config/tc-ppc.c (ppc_target_format): Add AIX 5 64 bit target.
1288 * config/te-aix5.h: New file. AIX 5 support.
1289 * configure: Regenerate.
1291 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
1293 * po/fr.po: Updated version.
1295 2002-03-16 Andreas Jaeger <aj@suse.de>
1297 * doc/c-mips.texi (Machine Dependencies): Add new node.
1299 2002-03-15 Chris G. Demetriou <cgd@broadcom.com>
1301 * config/tc-mips.c (mips_set_options): New "ase_mips3d" member.
1302 (mips_opts): Initialize "ase_mips3d" member.
1303 (file_ase_mips3d): New variable.
1304 (CPU_HAS_MIPS3D): New macro.
1305 (md_begin): Initialize mips_opts.ase_mips3d and file_ase_mips3d
1306 based on command line options and configuration defaults.
1307 (macro_build, mips_ip): Accept MIPS-3D instructions if
1308 mips_opts.ase_mips3d is set.
1309 (OPTION_MIPS3D, OPTION_NO_MIPS3D, md_longopts, md_parse_option):
1310 Add support for "-mips3d" and "-no-mips3d" options.
1311 (OPTION_ELF_BASE): Move to accomodate new options.
1312 (s_mipsset): Support ".set mips3d" and ".set nomips3d".
1313 (mips_elf_final_processing): Add a comment indicating that a
1314 MIPS-3D ASE ELF header flag should be set, when one exists.
1315 * doc/as.texinfo: Document -mips3d and -no-mips3d options.
1316 * doc/c-mips.texi: Likewise, and document ".set mips3d" and ".set
1317 nomips3d" directives.
1319 2002-03-14 Hans-Peter Nilsson <hp@bitrange.com>
1321 * config/tc-mmix.c (md_estimate_size_before_relax): Don't consider
1322 a weak symbol in same section to be within reach.
1324 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
1326 * po/fr.po: Updated version.
1328 2002-03-12 Andreas Schwab <schwab@suse.de>
1330 * config/tc-ia64.c (fixup_unw_records): Clear region when seeing a
1331 body record so that an error is given for misplaced .save
1334 2002-03-09 Alan Modra <amodra@bigpond.net.au>
1336 * config/tc-i386.h (REX_OPCODE): Define.
1337 (REX_MODE64, REX_EXTX, REX_EXTY, REX_EXTZ): Define.
1338 (rex_byte): typedef to int.
1339 * config/tc-i386.c: Group prototypes and vars together.
1340 Formatting fixes. Remove occurrences of "register" keyword.
1343 (mode_from_disp_size): Add INLINE keyword to prototype.
1344 (fits_in_signed_byte): Likewise.
1345 (fits_in_unsigned_byte): Likewise.
1346 (fits_in_unsigned_word): Likewise.
1347 (fits_in_signed_word): Likewise.
1348 (fits_in_unsigned_long): Likewise.
1349 (fits_in_signed_long): Likewise.
1350 (type_names): Constify.
1351 (intel_float_operand): Constify param.
1352 (add_prefix): Use REX_OPCODE.
1353 (md_assemble): Likewise. Modify for changed rex_byte.
1354 (parse_insn): Split out of md_assemble.
1355 (parse_operands): Likewise.
1356 (swap_operands): Likewise.
1357 (optimize_imm): Likewise.
1358 (optimize_disp): Likewise.
1359 (match_template): Likewise.
1360 (check_string): Likewise.
1361 (process_suffix): Likewise.
1362 (check_byte_reg): Likewise.
1363 (check_long_reg): Likewise.
1364 (check_qword_reg): Likewise.
1365 (check_word_reg): Likewise.
1366 (finalize_imm): Likewise.
1367 (process_operands): Likewise.
1368 (build_modrm_byte): Likewise.
1369 (output_insn): Likewise.
1370 (output_branch): Likewise.
1371 (output_jump): Likewise.
1372 (output_interseg_jump): Likewise.
1373 (output_disp): Likewise.
1374 (output_imm): Likewise.
1376 2002-03-07 Daniel Jacobowitz <drow@mvista.com>
1378 * doc/as.texinfo: Wrap @menu in @ifnottex, not @ifinfo.
1380 2002-03-06 Alan Modra <amodra@bigpond.net.au>
1382 * config/tc-i386.c (tc_gen_reloc): Don't attempt to handle 8 byte
1383 relocs except when BFD64.
1385 * write.c (number_to_chars_bigendian): Don't abort when N is
1386 larger than sizeof (VAL).
1387 (number_to_chars_littleendian): Likewise.
1389 2002-03-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
1391 * config/tc-hppa.c (md_apply_fix3): Add cast.
1392 (hppa_fix_adjustable): Adjust list of selectors using e_lrsel and
1395 2002-03-05 Paul Koning <pkoning@equallogic.com>
1397 * tc-pdp11.c: Use VAX float format support for PDP-11 target.
1398 (parse_ac5): New function for parsing float regs in float operand.
1399 (parse_expression): Remove attempt to make literals be octal.
1400 (parse_op_no_deferred): Support float literals.
1401 (parse_op): Reject attempts to refer to float regs.
1402 (parse_fop): New function, like parse_op but for float operand.
1403 (md_assemble): Add cases to parse float operands. Also fix
1404 IMM3, IMM6, IMM8 cases to pick up the operand from the right spot.
1406 2002-03-04 H.J. Lu <hjl@gnu.org>
1408 * config/obj-elf.c (special_section): Add .init_array,
1409 .fini_array and .preinit_array.
1411 * config/tc-ia64.h (ELF_TC_SPECIAL_SECTIONS): Remove
1412 .init_array and .fini_array.
1414 2002-03-01 Jakub Jelinek <jakub@redhat.com>
1416 * config/obj-elf.c (elf_copy_symbol_attributes): Don't copy
1418 (obj_frob_symbol): Copy visibility.
1420 2002-02-28 Jakub Jelinek <jakub@redhat.com>
1422 * config/tc-alpha.c (s_alpha_text): Use obj_elf_text for OBJ_ELF, not
1424 (s_alpha_data): Use obj_elf_data for OBJ_ELF, not s_data.
1426 2002-02-27 Nick Clifton <nickc@cambridge.redhat.com>
1428 * po/es.po: Updated.
1430 2002-02-26 Chris Demetriou <cgd@broadcom.com>
1432 * config/tc-mips.c (mips_need_elf_addend_fixup): For embedded-PIC
1433 only, undo the changes made on 2001-06-08, with the
1434 effect being that common or extern symbols are
1435 adjusted for embedded-PIC, but weak symbols are not.
1436 (md_estimate_size_before_relax: Likewise, with the effect
1437 that extern symbols are treated the same as weak symbols
1438 only if not embedded-PIC.
1439 (mips_fix_adjustable) Likewise, with the effect that
1440 weak or extern symbols are not adjusted for embedded-PIC.
1441 (md_apply_fix3): Tweak so that the case where value is zero
1442 is handled more correctly for embedded-PIC code.
1444 2002-02-26 Nick Clifton <nickc@cambridge.redhat.com>
1446 * doc/as.texinfo (Overview): Add missing @ifset IA64
1448 * configure.in (LINGUAS): Add es.po.
1449 * configure: Regenerate.
1450 * po/es.po: New file.
1452 2002-02-25 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1454 * config/tc-mips.c (set_at): Fix handling of 64bit register loads.
1455 (macro): Likewise. Fix la/dla address expansions for EMBEDDED_PIC
1456 and NO_PIC cases. Code cleanup.
1457 (macro2): Fix handling of 64bit register loads.
1459 2002-02-25 David Mosberger <davidm@hpl.hp.com>
1461 * doc/as.texinfo: Add entry for IA64.
1462 * doc/c-ia64.texi: New file.
1464 2002-02-25 Alan Modra <amodra@bigpond.net.au>
1466 * config/tc-hppa.c: Update copyright date.
1468 * doc/c-ppc.texi (PowerPC-Opts): Add -mpower4, -maltivec and -m7400
1469 Remove references to chip manufacturers.
1470 * config/tc-ppc.c (md_parse_option): Handle -mpower4 option.
1472 (md_show_usage): Remove references to chip manufacturers. Mention
1474 (md_begin): Test power4 opcode flag bits.
1476 2002-02-22 David Mosberger <davidm@hpl.hp.com>
1478 * config/tc-ia64.c (dot_restore): Issue error message of epilogue
1479 count exceeds prologue count.
1480 (md_show_usage): Describe -mconstant-gp and -mauto-pic.
1481 (unwind.label_prologue_count): New member.
1483 Based on a patch by Hans Boehm <hboehm@hpl.hp.com>:
1485 (get_saved_prologue_count): New function.
1486 (save_prologue_count): New function.
1487 (free_saved_prologue_count): New function.
1488 (dot_label_state): Record state label by calling save_prologue_count().
1489 (dot_copy_state): Restore prologue count by calling
1490 get_saved_prologue_count().
1491 (generate_unwind_image): Free up list of saved prologue
1492 counts by calling free_saved_prologue_counts().
1494 2002-02-22 Nick Clifton <nickc@cambridge.redhat.com>
1496 * config/tc-tic54x.c: Add missing prototypes and remove ANSI style
1497 function declarations.
1499 2002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
1501 * NEWS: Note that GASP is now deprecated.
1502 * Makefile.am: Do not build gasp-new by default.
1503 * Makefile.in: Regenerate.
1504 * doc/Makefile.am: Do not install gasp.info.
1505 * doc/Makefile.in: Regenerate.
1506 * gas/gasp.texi: Note that gasp is now deprecated.
1508 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
1510 * NEWS: Mark 2.12 branch.
1512 2002-02-19 Tom Tromey <tromey@redhat.com>
1514 * config/tc-xstormy16.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
1516 2002-02-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1518 * config/tc-mips.c (md_parse_option): Complain about invalid -mabi
1521 2002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
1523 * config/tc-s390.c (md_parse_option): Add switches -m31 and -m64.
1524 Make bit size independent of architecture switch.
1525 (md_begin): Add warning for -m64 with -Aesa.
1526 (s390_md_end): Use renamed architecture defines.
1528 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
1530 * config/obj-coff.h: Check !target_big_endian, not shl, for coff-sh.
1532 2002-02-16 Nick Clifton <nickc@cambridge.redhat.com>
1534 * doc/as.texinfo (Machine Dependencies): Fix typo: MMIX used
1537 2002-02-15 Chris Demetriou <cgd@broadcom.com>
1539 * config/tc-mips.c (md_estimate_size_before_relax): Really
1540 make sure we treat weak like extern only for ELF. (Fixes
1541 patch from 2001-07-25.)
1543 2002-02-15 Ben Elliston <bje@redhat.com>
1545 * doc/as.texinfo: Add duplicate directory entry so that "info gas"
1548 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
1550 * NEWS: Mention support for MMIX.
1552 2002-02-13 Chris Demetriou <cgd@broadcom.com>
1554 * config/tc-mips.c (mips_need_elf_addend_fixup): Restructure into
1555 a sequence of indpendent 'if' statements for easier debugging
1556 and future modification.
1558 2002-02-13 Matt Fredette <fredette@netbsd.org>
1560 * config/tc-m68k.c (md_show_usage): No longer display a
1561 hard-coded "68020" for the default CPU, instead display the
1562 canonical name of the true, configured default CPU.
1563 (m68k_elf_final_processing): Mark objects for sub-68020
1564 CPUs with the new EF_M68000 flag.
1566 2002-02-13 Andreas Schwab <schwab@suse.de>
1568 * config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust
1569 pc-relative relocations to merge sections in 64-bit mode.
1571 2002-02-13 Ben Elliston <bje@redhat.com>
1573 * NEWS: Document floating point number handling in gasp.
1574 * gasp.c: Include <assert.h> and "xregex.h".
1575 (is_flonum): New function.
1576 (chew_flownum): Likewise.
1577 (change_base): Consume flonums from the input, where possible.
1578 * doc/gasp.texi (Constants): Document floating point numbers.
1580 2002-02-12 John David Anglin <dave@hiauly1.hia.nrc.ca>
1582 * config/tc-hppa.c (hppa_fix_adjustable): Don't adjust final types
1583 that implicitly use LR and RR selectors.
1585 2002-02-12 Alexandre Oliva <aoliva@redhat.com>
1587 * config/tc-mn10300.c (other_registers): Added `epsw'. Mark `pc'
1588 and `epsw' as available on AM33 and above only.
1589 (other_register_name): Add logic to handle machine type encoded in
1592 2002-02-11 Tom Rix <trix@redhat.com>
1594 * config/tc-ppc.c (md_apply_fix3): Check for insert fop invalid for
1597 2002-06-11 Alexandre Oliva <aoliva@redhat.com>
1599 * config/tc-sparc.c (U0x80000000, U0xffffffff): New constants.
1602 2002-02-11 Jan Hubicka <jh@suse.cz>
1604 * i386.c (md_assemble): Support 32bit address prefix.
1605 (i386_displacement): Likewise.
1606 (i386_index_check): Accept 32bit addressing in 64bit mode.
1608 2002-02-11 Alexandre Oliva <aoliva@redhat.com>
1610 * config/tc-sh.c (dot): Removed unused function.
1612 2002-02-11 Alan Modra <amodra@bigpond.net.au>
1614 * Makefile.am: "make dep-am".
1615 * Makefile.in: Regenerate.
1616 * aclocal.m4: Regenerate.
1617 * config.in: Regenerate.
1618 * configure: Regenerate.
1619 * doc/Makefile.in: Regenerate.
1621 2002-02-10 Richard Henderson <rth@redhat.com>
1623 * doc/c-alpha.texi: New file.
1624 * doc/Makefile.am (CPU_DOCS): Add it.
1625 * doc/all.texi, doc/as.texinfo: Add hooks for Alpha.
1627 2002-02-09 Richard Henderson <rth@redhat.com>
1629 * config/tc-alpha.c (O_samegp): New.
1630 (USER_RELOC_P): Include it.
1631 (alpha_reloc_op_tag, debug_exp, find_macro_match): Add it.
1632 (md_apply_fix3): Handle BFD_RELOC_ALPHA_BRSGP.
1633 (alpha_force_relocation, alpha_fix_adjustable): Likewise.
1634 (alpha_validate_fix): New.
1635 * config/tc-alpha.h (TC_VALIDATE_FIX): New.
1637 2002-02-09 Hans-Peter Nilsson <hp@axis.com>
1639 * doc/c-cris.texi: New.
1640 * doc/all.texi: @set CRIS.
1641 * doc/as.texinfo: Ditto. Add CRIS gas manpage option overview.
1642 Include c-cris.texi.
1643 * doc/Makefile.am (CPU_DOCS): Add c-cris.texi
1644 * doc/Makefile.in: Regenerate.
1646 2002-02-08 Chris Demetriou <cgd@broadcom.com>
1648 * config/tc-mips.c (IS_SEXT_32BIT_NUM): New macro to
1649 determine if a number is a sign-extended 32-bit number.
1650 (load_register): Use IS_SEXT_32BIT_NUM.
1651 (macro): Check if load/store macro handling is using a
1652 constant 32-bit address on 64-bit address systems, and if
1653 so optimize the generation of that address.
1655 2002-02-08 Richard Henderson <rth@redhat.com>
1657 * config/tc-alpha.c (alpha_force_relocation): Don't assert that
1658 we've eliminated all foreign relocation types yet.
1659 (alpha_fix_adjustable): Likewise.
1661 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
1663 Contribute sh64-elf.
1664 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
1665 Stephen Clarke <Stephen.Clarke@st.com>
1666 * doc/c-sh64.texi: Fix citation of SH64 architecture manual.
1667 2002-01-31 Alexandre Oliva <aoliva@redhat.com>
1668 * config/tc-sh.c (md_relax_table): Added default sizes for
1669 non-PC-relative UNDEF_MOVI, and relaxation sequences for
1670 MOVI_16, MOVI_32 and MOVI_48.
1671 * config/tc-sh64.c (shmedia_md_apply_fix3): Fix warning.
1672 (shmedia_md_convert_frag): Handle non-PC-relative UNDEF_MOVI
1674 (shmedia_md_estimate_size_before_relax): Remove redundant
1675 blocks. Set fragP->fr_var even if relaxation type unchanged.
1676 Retain UNDEF_MOVI until expression decays to number.
1677 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
1678 * config/tc-sh64.c (shmedia_init_reloc): Handle new SHmedia PIC
1679 relocation types. Take fixP->fx_addnumber into account too.
1680 (shmedia_md_apply_fix): Likewise.
1681 (shmedia_md_convert_frag): Likewise.
1682 (shmedia_build_Mytes): Likewise.
1683 (sh64_consume_datalabel): Complain about nested datalabel.
1684 Support PIC relocs. Call sh_parse_name.
1685 * config/tc-sh64.h (TC_RELOC_RTSYM_LOC_FIXUP): Extend definition
1686 in tc-sh.h to SHmedia reloc types.
1687 * config/tc-sh.c (SH64PCRELPLT, MOVI_PLT, MOVI_GOTOFF,
1688 MOVI_GOTPC): New relaxation constants.
1689 (md_relax_table): Introduce relaxation directives for PIC-related
1691 (sh_PIC_related_p): Handle datalabel.
1692 (sh_check_fixup): Choose SH5 PIC relocations.
1693 (sh_cons_fix_new): Added BDF_RELOC_64.
1694 (md_apply_fix3, sh_parse_name): Handle GOTPLT.
1695 2002-01-18 Alexandre Oliva <aoliva@redhat.com>
1696 * config/tc-sh64.c (sh64_max_mem_for_rs_align_code): If the
1697 current ISA is SHmedia, get 7 bytes.
1698 2001-11-28 Nick Clifton <nickc@cambridge.redhat.com>
1699 * config/tc-sh.c (md_apply_fix3): Treat shmedia_md_apply_fix3 as a
1701 * config/tc-sh64.c (shmedia_apply_fix): Rename to
1702 shmedia_apply_fix3 and make void.
1703 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
1704 * config/tc-sh64.c (s_sh64_abi): Remove unused arguments passed to
1706 2001-04-12 Alexandre Oliva <aoliva@redhat.com>
1707 * config/tc-sh64.h (md_parse_name): Take &c as argument.
1708 2001-03-14 DJ Delorie <dj@redhat.com>
1709 * doc/Makefile.am (CPU_DOCS): Added c-sh64.texi
1710 * doc/Makefile.in(CPU_DOCS): Ditto.
1711 * doc/c-sh64.texi: New file.
1712 * doc/as.texinfo: Add SH64 support.
1713 2001-03-13 DJ Delorie <dj@redhat.com>
1714 * config/tc-sh64.c (shmedia_get_operands): Rename A_RESV_Fx to
1715 A_REUSE_PREV so that its purpose is more obvious.
1716 (shmedia_build_Mytes): Ditto.
1717 2001-03-07 DJ Delorie <dj@redhat.com>
1718 * config/tc-sh64.c (sh64_vtable_entry): New, strip datalabels
1720 (sh64_vtable_inherit): Ditto.
1721 (strip_datalabels): New, strip "datalabel" from given line.
1722 * config/tc-sh.c (md_pseudo_table): Add sh64-specific vtable
1724 2001-03-06 Hans-Peter Nilsson <hpn@cygnus.com>
1725 * config/tc-sh64.c (shmedia_md_assemble): Move dwarf2_emit_insn
1727 (shmedia_build_Mytes): ... to here.
1728 2001-03-06 DJ Delorie <dj@redhat.com>
1729 * config/tc-sh.c: Remove sh64-specific uaquad now that there
1731 2001-01-21 Hans-Peter Nilsson <hpn@cygnus.com>
1732 * config/tc-sh64.h (DWARF2_LINE_MIN_INSN_LENGTH): Override.
1733 * config/tc-sh64.c (shmedia_md_assemble): Offset recorded insn
1734 address by one in call to dwarf2_emit_insn.
1735 2001-01-13 Hans-Peter Nilsson <hpn@cygnus.com>
1736 Implement ".abi" pseudo and correct .cranges descriptors. Correct
1737 alignment handling broken by imported changes.
1738 * config/tc-sh64.h (HANDLE_ALIGN): Override definition in tc-sh.h.
1739 (sh64_handle_align): Declare.
1740 (MAX_MEM_FOR_RS_ALIGN_CODE): Override definition in tc-sh.h.
1741 (sh64_max_mem_for_rs_align_code): Declare.
1742 (enum sh64_isa_values): Moved here from tc-sh64.c.
1743 (md_do_align): Define.
1744 (sh64_do_align): Declare.
1745 (struct sh64_tc_frag_data): New.
1746 (TC_FRAG_TYPE): Change to struct sh64_tc_frag_data. Users
1748 (TC_FRAG_INIT): Change to set new datatype.
1749 (struct sh64_segment_info_type): Rename member
1750 last_flushed_location to last_contents_mark. All users changed.
1751 (md_elf_section_change_hook, TC_CONS_FIX_NEW): Do not define.
1752 (shmedia_elf_new_section, sh64_tc_cons_fix_new): Do not prototype.
1753 * config/tc-sh.c (md_pseudo_table): Add ".abi".
1754 (sh_elf_cons) [HAVE_SH64]: Call sh64_update_contents_mark instead
1755 of unsetting seen_insn.
1756 (md_assemble) [HAVE_SH64] <before new SHcompact sequence>: Also
1757 call sh64_update_contents_mark.
1758 (sh_handle_align): Remove HAVE_SH64-conditioned code.
1759 * config/tc-sh64.c (sh64_isa_mode): Correct type from boolean to
1760 enum sh64_isa_values.
1761 (sh64_set_contents_type): Drop segT parameter. All callers changed.
1762 (emitting_crange): Boolean guard moved to file scope from function
1763 scope in sh64_set_contents_type.
1765 (sh64_update_contents_mark): New; most split out from
1766 sh64_flush_pending_output.
1767 (shmedia_md_end): Call sh64_update_contents_mark. Set
1768 sh64_isa_mode to sh64_isa_sh5_guard unless sh64_isa_unspecified.
1769 (sh64_do_align): New function.
1770 (sh64_max_mem_for_rs_align_code): New function.
1771 (sh64_handle_align): Rename from shmedia_do_align. Make
1772 non-static. Add head comment. Emit zero bytes for n bytes modulo
1773 four. Change return-type to void.
1774 (shmedia_elf_new_section): Remove.
1775 (shmedia_md_assemble): Call sh64_update_contents_mark.
1776 (s_sh64_mode): Ditto. Do not call md_flush_pending_output. Make
1777 new frag. Call sh64_update_contents_mark after making the new
1779 (sh64_flush_pending_output): Just call sh64_update_contents_mark
1780 and sh_flush_pending_output.
1781 (sh64_flag_output): Also call md_flush_pending_output, but add
1782 condition on not emitting_crange.
1783 (sh64_tc_cons_fix_new): Remove.
1784 2001-01-12 Nick Clifton <nickc@redhat.com>
1785 * config/tc-sh64.c (shmedia_do_align): Fix to work with new
1786 alignment handling scheme imported from sourceware.
1787 2001-01-12 Hans-Peter Nilsson <hpn@cygnus.com>
1788 * config/tc-sh64.h (TARGET_FORMAT): Define.
1789 (sh64_target_format): Prototype.
1790 * config/tc-sh64.c (sh64_target_mach): New function.
1791 2001-01-07 Hans-Peter Nilsson <hpn@cygnus.com>
1792 * config/tc-sh64.c (shmedia_md_end): When equating a symbol, use
1793 zero_address_frag instead of copying the frag of the symbol.
1794 (shmedia_frob_file_before_adjust): Ditto.
1795 (shmedia_md_apply_fix) <case BFD_RELOC_SH_IMM_MEDLOW16>: Cast mask
1796 to valueT to remove signedness.
1797 (shmedia_md_convert_frag): Add parameter final. Rename parameter
1798 headers to output_bfd. Do not evaluate symbols if final is false;
1800 (shmedia_md_estimate_size_before_relax) <case C (MOVI_IMM_32,
1801 UNDEF_MOVI) et al>: If symbol cannot be modified to be PC-relative
1802 to the current frag, call shmedia_md_convert_frag to emit fixups
1803 and make frag_wane neutralize the frag. Update comments.
1804 * config/tc-sh.c (md_convert_frag): Change caller of
1805 shmedia_md_convert_frag.
1806 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
1807 * config/tc-sh64.h: Tweak comments and correct formatting.
1808 * config/tc-sh64.c: Ditto.
1809 (shmedia_md_convert_frag) <PT/PTA/PTB 32, 48 and 64 bit
1810 expansion, MOVI pcrel expansion>: Fix thinko calculating offset
1811 for the no-relocation case.
1812 (shmedia_check_limits): Fix range check being off-by-one for PTA.
1813 * config/tc-sh.c: Ditto. Add proper comments to #ifdef/#ifndef
1815 (SH64PCREL16_F): Increment for proper max-PTA handling. Update
1817 (SH64PCREL16_M, MOVI_16_M): Correct range thinko.
1818 (SH64PCREL48_M, MOVI_48_M): Similar; don't count in length of
1820 (SH64PCREL32_M, MOVI_32_M): Ditto; handle overflowing expression.
1822 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
1823 * config/tc-sh64.c (shmedia_md_apply_fix) <second switch, case
1824 BFD_RELOC_SH_PT_16>: Set lowest bit in field to be relocated to 1.
1825 (shmedia_md_convert_frag) <case C (SH64PCREL16_32, SH64PCREL16) et
1826 al>: Set lowest bit of field to relocate to 1 and rest to empty,
1827 if reloc is emitted.
1828 2000-12-31 Hans-Peter Nilsson <hpn@cygnus.com>
1829 New options plus bugfixes.
1830 * config/tc-sh.c (md_longopts): New options "-no-expand" and
1832 (md_parse_option): Handle new options.
1833 (md_show_usage): Add blurb for new options.
1834 * config/tc-sh64.c (SHMEDIA_BFD_RELOC_PT): New macro.
1835 (sh64_expand, sh64_pt32): New variables.
1836 (shmedia_init_reloc): Handle BFD_RELOC_SH_PT_16.
1837 (shmedia_md_apply_fix): Hold original fixP->fx_r_type in
1838 orig_fx_r_type. Change SHMEDIA_BFD_RELOC_PT into
1839 BFD_RELOC_SH_PT_16. Handle BFD_RELOC_SH_PT_16 as pc-relative.
1840 <resolved previously-pc-relative relocs>: Handle
1841 SHMEDIA_BFD_RELOC_PT and BFD_RELOC_SH_PT_16.
1842 (shmedia_md_convert_frag) <case C (SH64PCREL16PT_64, SH64PCREL16),
1843 case C (SH64PCREL16PT_32, SH64PCREL16)>: Modify to PTB if operand
1844 points to SHcompact code.
1845 <case C (SH64PCREL16_32, SH64PCREL16), case C (SH64PCREL16_64,
1846 SH64PCREL16)>: Check that ISA of what operand points at and
1847 PTA/PTB matches, or emit error.
1848 (shmedia_check_limits): Handle BFD_RELOC_SH_PT_16 and
1849 SHMEDIA_BFD_RELOC_PT.
1850 (shmedia_immediate_op): If pcrel, emit fixup also for constant
1852 (shmedia_build_Mytes) <case A_IMMS16>: Also check sh64_expand in
1853 condition for MOVI expansion.
1854 <case A_PCIMMS16BY4>: Handle expansion to 32 bits only, if
1855 sh64_pt32. Emit only a BFD_RELOC_SH_PT_16 fixup if not
1857 <case A_PCIMMS16BY4_PT>: Likewise, but emit a SHMEDIA_BFD_RELOC_PT
1859 (sh64_target_format): Error-check setting of sh64_pt32 and
1860 sh64_expand. Fix typo in check for sh64_shcompact_const_crange.
1861 (shmedia_md_pcrel_from_section): Handle BFD_RELOC_SH_PT_16 and
1862 SHMEDIA_BFD_RELOC_PT as coming from SHmedia code.
1863 2000-12-31 Hans-Peter Nilsson <hpn@cygnus.com>
1864 * config/tc-sh64.c: Improve comments.
1865 (shmedia_md_convert_frag): Remove inactive is_pt_variant code. Do
1866 not say the linker will check correctness of PTA/PTB expansion.
1867 (shmedia_md_end): Make non-static.
1868 * config/tc-sh64.h (md_end): Define to shmedia_md_end. Add
1870 * config/tc-sh.c (sh_finalize): Remove.
1871 * config/tc-sh.h (md_end): Do not define.
1872 Remove prototype for sh_finalize.
1873 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
1874 * config/tc-sh64.c (shmedia_frob_section_type): Use a struct
1875 sh64_section_data container when storing section type in tdata
1876 field in elf_section_data.
1877 * config/tc-sh.c (sh_elf_final_processing): Change from EF_SH64 to
1879 * Makefile.am: Update dependencies.
1880 * Makefile.in: Regenerate.
1881 2000-12-22 Hans-Peter Nilsson <hpn@cygnus.com>
1882 * config/tc-sh64.c (shmedia_md_assemble): Don't protect
1883 dwarf2_emit_insn call with test on debug_type.
1884 2000-12-19 Hans-Peter Nilsson <hpn@cygnus.com>
1885 * config/tc-sh64.c (sh64_set_contents_type): Make contents-type
1886 CRT_SH5_ISA32 sticky for 64-bit.
1887 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
1888 Generate .crange sections when switching ISA mode or emitting
1889 constants in same section as code.
1890 * config/tc-sh64.c: Reformat structure definitions.
1891 (sh64_end_of_assembly, sh64_mix, sh64_shcompact_const_crange): New
1893 (sh64_set_contents_type): Rename from sh64_init_section. Rewrite
1894 to emit a .cranges descriptor when contents type changes. Only
1895 emit error if changing contents type and -no-mix is in effect.
1896 (sh64_emit_crange, sh64_flush_last_crange, sh64_flag_output,
1897 sh64_flush_pending_output, sh64_tc_cons_fix_new): New functions.
1898 (shmedia_md_end): Set sh64_end_of_assembly. Pass
1899 sh64_flush_last_crange over sections.
1900 When checking main symbol of datalabel symbol, check for
1901 STO_SH5_ISA32, not ISA type of section in definition.
1902 (shmedia_frob_file_before_adjust): Check main symbol for
1903 STO_SH5_ISA32; don't check ISA type of section in definition.
1904 (shmedia_frob_section_type): Adjust for .cranges; set section flag
1905 to SHF_SH5_ISA32_MIXED or SHF_SH5_ISA32 according to whether
1906 .cranges entries have been output.
1907 (shmedia_elf_new_section): Just call md_flush_pending_output.
1908 (shmedia_md_assemble): Do not emit a BFD_RELOC_SH_SHMEDIA_CODE
1909 fix. Do not set tc_segment_info_data.in_code for section. Call
1910 sh64_set_contents_type for SHmedia code.
1911 (s_sh64_mode): Do not call sh64_init_section or set seen_insn to
1912 false. Call md_flush_pending_output.
1913 (sh64_target_format): Check that -no-mix and
1914 -shcompact-const-crange are used in sane combination with other
1916 (shmedia_md_pcrel_from_section): Check type of fix for how to
1918 (sh64_consume_datalabel): Check symbol for having STO_SH5_ISA32,
1919 not ISA type of section in definition.
1920 * config/tc-sh64.h (struct sh64_segment_info_type): Rewrite to
1921 hold contents-type state.
1922 (md_flush_pending_output): Redefine to sh64_flush_pending_output.
1923 (sh64_flush_pending_output): Declare.
1924 (TC_CONS_FIX_NEW): Define to sh64_tc_cons_fix_new.
1925 (sh64_tc_cons_fix_new): Declare.
1926 * config/tc-sh.c (sh_elf_cons) [HAVE_SH64]: Unset seen_insn and
1927 call sh64_flag_output.
1928 (md_assemble) [HAVE_SH64]: Do not emit BFD_RELOC_SH_CODE. Just
1929 call sh64_set_contents_type to mark SHcompact code and set
1931 (md_longopts): New options "-no-mix" and
1932 "-shcompact-const-crange".
1933 (md_parse_option): Handle new options.
1934 (md_show_usage): Add blurb for new options.
1935 (md_number_to_chars) [HAVE_SH64]: Call sh64_flag_output.
1936 2000-12-15 Hans-Peter Nilsson <hpn@cygnus.com>
1937 * config/tc-sh64.c: Delete investigated and obsolete fixme:s.
1938 (sh64_last_insn_frag): New.
1939 (shmedia_md_convert_frag): Use tc_frag_data field of incoming frag
1940 to get frag for insn opcode for generating fixups; do not assume it
1942 (shmedia_build_Mytes): Set sh64_last_insn_frag after growing frag
1944 * config/tc-sh64.h (ELF_TC_SPECIAL_SECTIONS): Define for .cranges
1946 (TC_FRAG_TYPE): Define as fragS *.
1947 (TC_FRAG_INIT): Define to set tc_frag_data to sh64_last_insn_frag.
1948 (sh64_last_insn_frag): Declare.
1949 (sh64_consume_datalabel): Fix typo; check for seginfo != NULL,
1950 not == NULL before dereferencing.
1951 2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com>
1952 Get rid of BFD section flag and EF_SH64_ABI64.
1953 * config/tc-sh64.c (shmedia_frob_section_type): Use
1954 elf_section_data (sec)->tdata, not a specific BFD section flag, to
1955 communicate the section as containing SHmedia code. Describe why.
1956 * config/tc-sh.c (sh_elf_final_processing): Tweak comment. Set
1957 EF_SH64 regardless of ABI.
1958 * config/tc-sh64.c (shmedia_md_apply_fix): Decapitalize "invalid"
1959 in error message. Handle resolved expressions for
1960 BFD_RELOC_SH_IMMS10, BFD_RELOC_SH_IMMS10BY2,
1961 BFD_RELOC_SH_IMMS10BY4 and BFD_RELOC_64.
1962 (shmedia_check_limits): Handle BFD_RELOC_64.
1963 (sh64_adjust_symtab): Do not decrement the GAS symbol value for
1964 a STO_SH5_ISA32 symbol, only the BFD value.
1965 2000-12-11 Ben Elliston <bje@redhat.com>
1966 * config/tc-sh64.c: Call dwarf2_emit_insn, not the defunct
1967 dwarf2_generate_asm_lineno.
1968 2000-12-11 Hans-Peter Nilsson <hpn@cygnus.com>
1969 Handle PC-relative MOVI expansions with assembler relaxation.
1970 Generate PC-relative relocs from 16-bit PC-relative expressions.
1971 * config/tc-sh64.c (SHMEDIA_MD_PCREL_FROM_FIX): Break out from...
1972 (shmedia_md_pcrel_from_section): ...here.
1973 (shmedia_md_apply_fix): Handle fixups for 16-bit operands that has
1974 turned completely resolved. Adjust relocation type for 16-bit
1975 immediate operands that has turned PC-relative. Adjust back for
1976 MD_PCREL_FROM_SECTION being applied twice.
1977 (shmedia_md_convert_frag): Always emit reloc for expression with
1978 global or weak symbol. Handle relaxation result for PC-relative
1980 (shmedia_md_estimate_size_before_relax): An expression with a weak
1981 or global symbol can not be relaxed. Break out tests for
1982 relaxable symbol into variable sym_relaxable.
1983 <cases C (MOVI_IMM_64, UNDEF_MOVI) and C (MOVI_IMM_32,
1984 UNDEF_MOVI)>: Break out any PC-relative expression and change
1986 (shmedia_build_Mytes): CSE &operands->operands[j] into variable
1988 <case A_IMMS16>: Fix typo for initial minor relaxation type of
1989 MOVI expansion. If X_op_symbol of the immediate expression is
1990 set, make an expression symbol for the argument to frag_var.
1991 * config/tc-sh.c (MOVI_IMM_32_PCREL, MOVI_IMM_64_PCREL): New
1993 (END): Adjust for new relaxations.
1994 (md_relax_table): Add entries for new relaxations.
1995 2000-12-07 Ben Elliston <bje@redhat.com>
1996 * config/tc-sh64.c (shmedia_parse_reg): Initialize variable len.
1997 2000-12-07 Hans-Peter Nilsson <hpn@cygnus.com>
1998 * config/tc-sh64.c (shmedia_md_convert_frag): Correct all MOVI and
1999 SHORI operand offsets in PT/PTA/PTB expansions.
2000 2000-12-05 Hans-Peter Nilsson <hpn@cygnus.com>
2001 Implement DataLabel semantics.
2002 * config/tc-sh.c (sh_frob_file) [HAVE_SH64]: Call
2003 shmedia_frob_file_before_adjust.
2004 * config/tc-sh64.c [! OBJ_ELF]: Emit #error.
2005 (DATALABEL_SUFFIX): Define.
2006 (shmedia_md_end) <before adjusting STO_SH5_ISA32 symbols>: Walk
2007 symbol list to update "datalabel" symbols to their main symbol
2009 (shmedia_frob_file_before_adjust): New.
2010 (sh64_adjust_symtab): For remaining datalabel symbols, set to
2011 undefined and set STT_DATALABEL.
2012 (sh64_frob_label): Initialize TC symbol field.
2013 (sh64_consume_datalabel): Actually implement semantics. New
2014 parameter operandf, call it instead of expression.
2015 (sh64_exclude_symbol): New.
2016 * config/tc-sh64.h (md_parse_name): Pass on the function operand
2017 to sh64_consume_datalabel.
2018 (tc_symbol_new_hook): Define to tc_frob_symbol.
2019 (TC_SYMFIELD_TYPE): Define to symbolS *.
2020 (tc_frob_symbol): Define to call sh64_exclude_symbol.
2021 2000-12-01 Hans-Peter Nilsson <hpn@cygnus.com>
2022 * config/tc-sh64.c (shmedia_init_reloc): Tweak comment for default
2024 (shmedia_md_assemble): Call dwarf2_generate_asm_lineno if
2025 generating dwarf2 debug information.
2026 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com>
2027 * config/tc-sh64.c (sh64_target_format): Use elf64-sh64l and
2028 elf64-sh64 for the 64-bit ABI.
2029 * config/tc-sh.c (md_show_usage): Tweak usage output for -abi=*
2031 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com>
2032 * config/tc-sh.c: Remove conditionalizing on HAVE_SH64 for
2034 2000-11-27 Hans-Peter Nilsson <hpn@cygnus.com>
2035 * config/tc-sh64.c: Tweak comments, formatting and error messages.
2036 (enum sh64_abi_values): New type.
2037 (enum sh64_isa_values): New type.
2038 (sh64_isa_mode): Replace shmedia_mode. All referers changed.
2039 (seen_shcompact_mode, seen_shmedia_mode): Delete.
2040 (sh64_abi): Replace shmedia_64.
2041 (shmedia_md_convert_frag) <C (MOVI_IMM_64, MOVI_64),
2042 C (MOVI_IMM_32, MOVI_32)>: Correct register number handling.
2043 (s_sh64_mode): Check validity for this target.
2044 (sh64_target_format): Initialize defaults for ISA and ABI.
2045 Fallback to old object format if no SH64 ISA or ABI has been
2047 * config/tc-sh.c (md_parse_option): Check combinations for errors.
2048 (sh_elf_final_processing): Change to have EF_SH64_ABI64 for 64-bit
2049 ABI and EF_SH64 for 32-bit ABI, if SH64 options are specified.
2050 * config/tc-sh64.h: Fix typo in comment.
2051 2000-11-25 Hans-Peter Nilsson <hpn@cygnus.com>
2052 * config/tc-sh64.c (shmedia_md_estimate_size_before_relax)
2053 <PT fixups for absolute values>: Size will be longest, not
2055 (shmedia_md_convert_frag): Disable PTB-warning machinery. Correct
2056 all MOVI and SHORI operand offsets in PT/PTA/PTB expansions.
2057 * config/tc-sh.c (parse_reg) [HAVE_SH64]: Add local variables l0
2058 and l1 to hold lowercase of two first characters. Change all
2059 remaining TO_LOWER to tolower.
2060 * config/tc-sh64.c (TO_LOWER): Delete.
2061 (shmedia_find_cooked_opcode): Use tolower, not TO_LOWER.
2062 (md_parse_name): Define.
2063 (sh64_consume_datalabel): Declare.
2064 (DOLLAR_DOT): Define.
2065 * config/tc-sh64.c (shmedia_parse_exp): New.
2066 (sh64_consume_datalabel): New; just ignoring datalabel semantics.
2067 (shmedia_parse_reg): Remove const from src
2069 (shmedia_get_operands): Ditto for args parameter and ptr variable.
2070 (shmedia_md_assemble): Ditto for op_end variable.
2071 (shmedia_get_operand): Ditto for ptr parameter and src variable.
2072 Use shmedia_parse_exp, not parse_exp.
2073 * config/tc-sh64.c (shmedia_parse_reg): Add shmedia_arg_type
2074 parameter. All callers changed.
2075 (shmedia_get_operand): Add shmedia_arg_type parameter. All
2077 (shmedia_parse_reg): Put first two character in local variables.
2078 Use tolower, not TO_LOWER. If no register is found and argtype
2079 indicates a control register, scan shmedia_creg_table
2081 2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com>
2082 * Makefile.am (CPU_TYPES): Add sh64.
2083 (TARGET_CPU_CFILES): Add config/tc-sh64.c.
2084 (TARGET_CPU_HFILES): Add config/tc-sh64.h.
2085 Regenerate dependencies.
2086 * Makefile.in: Regenerate.
2087 * configure.in: Add support for sh64-*-elf*.
2088 * configure: Regenerate.
2089 * config/tc-sh64.h: New.
2090 * config/tc-sh64.c: New.
2091 * config/tc-sh.c (md_pseudo_table) [HAVE_SH64]: New pseudos
2092 .mode, .isa and .uaquad.
2093 [HAVE_SH64] (SH64PCREL16_32, SH64PCREL16_64, SH64PCREL16PT_32,
2094 SH64PCREL16PT_64, MOVI_IMM_32, MOVI_IMM_64): Define.
2095 [HAVE_SH64] (END): Define as 10.
2096 [HAVE_SH64] (UNDEF_SH64PCREL, SH64PCREL16, SH64PCREL32,
2097 SH64PCREL48, SH64PCREL64, UNDEF_MOVI, MOVI_16, MOVI_32, MOVI_48,
2099 [HAVE_SH64] (SH64PCREL16_F, SH64PCREL16_M, SH64PCREL16_LENGTH,
2100 SH64PCREL32_F, SH64PCREL32_M, SH64PCREL32_LENGTH, SH64PCREL48_F,
2101 SH64PCREL48_M, SH64PCREL48_LENGTH, SH64PCREL64_LENGTH,
2102 MOVI_16_LENGTH, MOVI_32_LENGTH, MOVI_48_LENGTH, MOVI_64_LENGTH):
2104 (md_relax_table) [HAVE_SH64]: Provide relaxations for SHmedia.
2105 (md_begin) [HAVE_SH64]: Call shmedia_md_begin.
2106 (parse_reg) [HAVE_SH64]: Parse register names case-insensitive.
2107 (md_assemble) [HAVE_SH64]: Call shmedia_md_assemble if assembling
2108 SHmedia instructions. Handle state-change after switching to
2110 (md_longopts) [HAVE_SH64]: New options --isa=* and --abi=*.
2111 (md_parse_option) [HAVE_SH64]: Parse new options.
2112 (md_show_usage) [HAVE_SH64]: Show usage of new options.
2113 (md_convert_frag) [HAVE_SH64] <default>: Call
2114 shmedia_md_convert_frag instead of abort.
2115 (sh_force_relocation) [HAVE_SH64]: Also force relocation for
2116 BFD_RELOC_SH_SHMEDIA_CODE.
2117 (sh_elf_final_processing) [HAVE_SH64]: Set flags identifying
2118 SHcompact or SHmedia code.
2119 (md_apply_fix) [HAVE_SH64] <default>: Return result from calling
2120 shmedia_md_apply_fix instead of abort.
2121 (md_estimate_size_before_relax) [HAVE_SH64] <default>: Return
2122 result from calling shmedia_md_estimate_size_before_relax instead
2124 (sh_do_align) [HAVE_SH64]: If shmedia_mode, let shmedia_do_align
2126 (tc_gen_reloc) [HAVE_SH64]: For unrecognized relocs, call
2127 shmedia_init_reloc and do nothing more if it returns non-zero.
2128 (sh_finalize) [HAVE_SH64]: Call shmedia_md_end.
2129 * po/POTFILES.in: Regenerate.
2130 * po/gas.pot: Regenerate.
2132 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
2134 * config/tc-sh.c (parse_at): Install the correct version of
2137 * config/tc-sh.c (md_apply_fix3) <BFD_RELOC_32_PLT_PCREL>: Don't
2138 assume fixP->fx_subsy is non-NULL.
2140 2002-02-04 Alexandre Oliva <aoliva@redhat.com>
2142 * config/tc-sh.c (parse_at): Set arg type of @(expr,pc) to
2143 A_DISP_PC_ABS, and adjust it by -4.
2144 (get_specific): Accept A_DISP_PC_ABS where A_DISP_PC is
2146 (build_Mytes): Mark PCRELIMM fix-ups as pc-relative only if
2147 the operand type is not A_DISP_PC_ABS.
2149 2002-02-04 Hans-Peter Nilsson <hp@bitrange.com>
2151 * config/tc-mmix.c (tc_gen_reloc): Don't try and take the value of
2152 common and weak symbols. Handle common and weak symbols as
2153 undefined symbols with regards to GREG handling and merging.
2154 (mmix_frob_file): Ditto.
2156 2002-02-02 Jason Thorpe <thorpej@wasabisystems.com>
2158 * configure.in (hppa-*-netbsd*): New target.
2159 * configure: Regenerate.
2160 * config/tc-hppa.h: Also define WARN_COMMENTS if TE_NetBSD.
2162 2002-02-02 Alan Modra <amodra@bigpond.net.au>
2164 * config/tc-v850.c: Add missing prototypes amd use old-style
2165 function definitions.
2166 (AREA_ZDA, AREA_SDA, AREA_TDA): Delete.
2167 (sdata_section tdata_section, zdata_section, sbss_section,
2168 tbss_section, zbss_section, rosdata_section, rozdata_section,
2169 scommon_section, tcommon_section, zcommon_section,
2170 call_table_data_section, call_table_text_section): Delete.
2171 (v850_sdata, v850_tdata, v850_zdata, v850_sbss, v850_tbss,
2172 v850_zbss, v850_bss, v850_rosdata, v850_rozdata,
2173 v850_call_table_data, v850_call_table_text): Delete.
2174 (struct v850_seg_entry): New.
2175 (v850_seg_table): New.
2176 (SDATA_SECTION TDATA_SECTION, ZDATA_SECTION, SBSS_SECTION,
2177 TBSS_SECTION, ZBSS_SECTION, BSS_SECTION, ROSDATA_SECTION,
2178 ROZDATA_SECTION, SCOMMON_SECTION, TCOMMON_SECTION, ZCOMMON_SECTION,
2179 CALL_TABLE_DATA_SECTION, CALL_TABLE_TEXT_SECTION): Define.
2182 (v850_comm): Use do_v850_seg and v850_seg_table. Simplify
2183 recording of alignment.
2184 (md_pseudo_table): Use v850_seg.
2185 (md_begin): Don't init .call_table_data and .call_table_text here.
2186 Set v850_seg_table bss entry.
2188 2002-02-01 Hans-Peter Nilsson <hp@bitrange.com>
2190 Support on-demand global register allocation by passing on
2191 base-plus-offset relocs to the linker.
2192 * config/tc-mmix.c: Tweak and fix typos in comments.
2193 (allocate_undefined_gregs_in_linker): New variable.
2194 (OPTION_LINKER_ALLOCATED_GREGS): New option macro.
2195 (md_longopts): Add --linker-allocated-gregs.
2196 (md_parse_option) <case 'x'>: Imply --linker-allocated-gregs.
2197 <case OPTION_LINKER_ALLOCATED_GREGS>: New.
2198 (md_show_usage): Update text for -x. Add text for
2199 --linker-allocated-gregs.
2200 (tc_gen_reloc): Derive default value for addend from val and
2201 baddsy. Use addsec and bfd_is_abs_section in more places. Don't
2202 emit error for BFD_RELOC_MMIX_BASE_PLUS_OFFSET without suitable
2203 GREG if allocate_undefined_gregs_in_linker.
2204 * doc/as.texinfo (Overview) <Target MMIX options>: Add
2205 --linker-allocated-gregs.
2206 * doc/c-mmix.texi (MMIX-Opts): Add blurb about
2207 --linker-allocated-gregs. Mention that it's implied by -x.
2208 (MMIX-Pseudos) <GREG>: Mention when and how a GREG can be omitted.
2209 (MMIX-mmixal): Clarify dated comparison and location of MMIXware.
2211 * config/tc-mmix.h (md_parse_name): Use ISUPPER, not isupper.
2213 2002-02-01 Alan Modra <amodra@bigpond.net.au>
2215 * Makefile.am: Run "make dep-am"
2216 * Makefile.in: Regenerate.
2218 2002-01-31 Ivan Guzvinec <ivang@opencores.org>
2220 * config/tc-or32.c: New file.
2221 * config/tc-or32.h: New file.
2222 * configure.in: Add support for or32 targets.
2223 * configure: Regenerate.
2224 * config/obj-coff.c: Add support for or32 targets.
2225 * config/obj-coff.h: Add support for or32 targets.
2226 * Makefile.am: Add support for or32 targets.
2227 * Makefile.in: Regenerate.
2228 * NEWS: Mention support for OpenRISC.
2229 * doc/Makefile.in: Regenerate.
2230 * po/POTFILES.in: Regenerate.
2231 * po/gas.pot: Regenerate.
2233 2002-01-30 Richard Sandiford <rsandifo@redhat.com>
2235 * config/tc-sh.c (parse_reg): Fix end-of-word check for is, ix, iy
2238 2002-01-29 Chris Demetriou <cgd@broadcom.com>
2240 * config/tc-mips.c (tc_gen_reloc): Arrange for
2241 BFD_RELOC_PCREL_HI16_S relocations to be output relative to
2242 their LO16 parts, even for ELF.
2244 2002-01-29 Daniel Jacobowitz <drow@mvista.com>
2246 * config/tc-i386.c: Protect definitions of true and false
2249 2002-01-28 Jakub Jelinek <jakub@redhat.com>
2251 * config/obj-elf.c (elf_frob_file_before_adjust): Remove symbols
2252 made because of .weak, if they are neither defined nor used in any
2255 2002-01-27 Daniel Jacobowitz <drow@mvista.com>
2257 * configure: Regenerated.
2259 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
2261 * doc/Makefile.am (install): Depend on install-info.
2262 * doc/Makefile.in: Regenerate.
2264 2002-01-26 Nick Clifton <nick@redhat.com>
2266 * po/fr.po: Updated version
2268 2002-01-24 Kazu Hirata <kazu@hxi.com>
2270 * config/tc-h8300.c (check_operand): Don't print a warning
2271 when a valid 24-bit address is given to a 16-bit address
2274 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
2276 * config/tc-sh.c (sh_elf_suffix): Removed.
2277 (sh_PIC_related_p, sh_check_fixup, sh_cons_fix_new,
2278 sh_end_of_match, sh_parse_name): New functions.
2279 (sh_elf_cons): Simplify.
2280 (parse_exp): Reject misplaced PIC operands.
2281 (md_undefined_symbol): Simplify.
2282 (sh_fix_adjustable): Let @GOTOFF be adjusted.
2283 (md_apply_fix3): Write @PLT and @GOTOFF addends in place.
2284 (tc_gen_reloc): Move fixp subsy absolute value into addnumber.
2285 Complain if subsy remains at the end.
2286 * config/tc-sh.h (sh_parse_name, sh_cons_fix_new): Declare.
2287 (md_parse_name, TC_CONS_FIX_NEW, O_PIC_reloc): Define.
2289 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
2291 * config/tc-mn10300.c (xr_registers): Move `pc'...
2292 (other_registers): ... here.
2294 2002-01-22 Alan Modra <amodra@bigpond.net.au>
2296 * Makefile.am: Run "make dep-am".
2297 * Makefile.in: Regenerate.
2298 * gas/po/POTFILES.in: Regenerate.
2300 2002-01-21 DJ Delorie <dj@redhat.com>
2302 * config/obj-coff.c (obj_coff_init_stab_section): Make the
2303 stabstr_name allocation permanent, as it will be referenced from
2306 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
2308 * configure.in (ia64-*-netbsd*): New target.
2309 * configure: Regenerate.
2311 2002-01-21 Hans-Peter Nilsson <hp@bitrange.com>
2313 * doc/as.texinfo (Overview) <Target ARM options>: Add missing {}
2315 <Detailed description, ARM options>: Ditto.
2316 * doc/c-arm.texi (ARM Options): Ditto.
2318 2002-01-18 Richard Earnshaw <rearnsha@arm.com>
2320 * tc-arm.c (do_xsc_mia, do_xsc_mar, do_xsc_mra): Renamed from
2321 do_mia, do_mar and do_mra respectively.
2322 (do_mav_*): Renamed from do_c_*.
2323 (mav_reg_required_here, mav_parse_offset): Renamed from
2324 cirrus_reg_required_here and cirrus_parse_offset respectively.
2325 (MAV_MODE?): Renamed from CIRRUS_MODE?.
2327 2002-01-18 Richard Earnshaw <rearnsha@arm.com>
2328 Keith Walker <keith.walker@arm.com>
2330 * tc-arm.c (ARM_EXT_V5J, ARM_ARCH_V5TEJ): Define.
2331 (insns): Add pattern for bxj instruction.
2332 (do_bxj): New function.
2333 (arm_cpus): Add arm926ej.
2334 (arm_archs): Add armv5tej.
2336 2002-01-18 Richard Earnshaw <rearnsha@arm.com>
2338 * doc/c-arm.texi: Add new fpe options to list of supported flags.
2340 2002-01-19 Keith Walker <keith.walker@arm.com>
2342 * tc-arm.c (arm_fpus): Add fpe2 and fpe3.
2344 2002-01-18 Richard Earnshaw <rearnsha@arm.com>
2346 * NEWS: Mention new ARM command-line options and VFP support.
2348 * config/tc-arm.c (ARM_CEXT_XSCALE): Replaces ARM_EXT_XSCALE. All
2350 (ARM_CEXT_MAVERICK): Similarly.
2351 (ARM_ANY): Now means any core instruction.
2352 (CPU_DEFAULT): Default to ARM_ANY.
2353 (uses_apcs_26, atcps, support_interwork, uses_apcs_float)
2354 (pic_code): Declare for all object types. Make type int.
2355 (legacy_cpu, legacy_fpu, mcpu_cpu_opt, mcpu_fpu_opt, march_cpu_opt)
2356 (march_fpu_opt, mfpu_opt): Declare.
2357 (md_longopts): Tidy up conditional definitions.
2358 (arm_opts, arm_cpus, arm_archs, arm_fpus, arm_extensions)
2359 (arm_long_opts): New tables.
2360 (arm_parse_cpu, arm_parse_arch, arm_parse_fpu): New functions.
2361 (arm_parse_extension): New function.
2362 (md_parse_option): Rewrite using new table-driven system.
2363 (md_show_usage): Use new table-driven system.
2364 (md_begin): Calculate cpu_variant from command line option data.
2365 * doc/as.texinfo (ARM ISA options): Docuement new ARM-specific
2366 command-line options.
2367 * doc/c-arm.texi: Likewise.
2369 2002-01-18 Andreas Jaeger <aj@suse.de>
2371 * as.c (parse_args): Update year.
2373 2002-01-17 Timothy Wall <twall@alum.mit.edu>
2375 * config/tc-tic54x.c (encode_address): Add a more informative
2376 warning about incorrect syntax.
2378 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
2380 * po/gas.pot: Regenerate.
2382 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
2384 * macro.c (get_any_string): Add no-c-format comment to prevent
2385 confusion when translating string.
2386 * gasp.c (get_any_string): Add no-c-format comment to prevent
2387 confusion when translating string.
2389 2002-01-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2390 Johannes Stezenbach <js@convergence.de>
2391 * config/tc-mips.c (percent_op): Ensure longer percent_op's are
2392 matched before the shorter ones.
2393 (my_getSmallParser): Fix handling of nested parentheses in
2394 percent_op's. Code cleanup.
2395 (my_getPercentOp): New function, code from my_getSmallParser.
2396 (my_getSmallExpression): Fix handling of closing parentheses.
2397 Code cleanup. Better comments.
2399 2002-01-16 Nick Clifton <nickc@redhat.com>
2401 po/tr.po: New file: Turkish translation.
2402 configure.in (LINGUAS): Add "tr".
2403 configure: Regenerate.
2405 2002-01-15 Richard Earnshaw <rearnsha@arm.com>
2407 Support for VFP instructions
2408 * tc-arm.c (CP_WB_OK, CP_NO_WB): New defines.
2409 (cp_address_required_here): New argument wb_ok. When false, do not
2410 accept write-back forms of addressing. Change all callers.
2411 (FPU_VFP_EXT_NONE, FPU_VFP_EXT_V1xD, FPU_VFP_VFP_V1)
2412 (FPU_VFP_EXT_V2): Define.
2413 (FPU_ARCH_VFP, FPU_ARCH_VFP_V1xD, FPU_ARCH_VFP_V1, FPU_ARCH_VFP_V2):
2414 Define in terms of above.
2415 (vfp_dp_reg_pos, vfp_sp_reg_pos, vfp_ldstm_type): New enums.
2416 (vfp_reg): New struct.
2417 (vfp_regs): New array of registers.
2418 (insns): Add VFP instructions.
2419 (sn_table): New array of VFP single-precision register names.
2420 (dn_table): New array of VFP double-precision register names.
2421 (all_reg_maps): Add the new register tables.
2422 (arm_reg_type): Add new values for above. Increase RET_TYPE_MAX.
2423 (vfp_sp_reg_required_here, vfp_dp_reg_required_here, do_vfp_sp_monadic)
2424 (do_vfp_dp_monadic, do_vfp_sp_dyadic, do_vfp_dp_dyadic)
2425 (do_vfp_reg_from_sp, do_vfp_sp_reg2, do_vfp_sp_from_reg)
2426 (do_vfp_reg_from_dp, do_vfp_reg2_from_dp, do_vfp_dp_from_reg)
2427 (do_vfp_dp_from_reg2, vfp_psr_parse, vfp_psr_required_here)
2428 (do_vfp_reg_from_ctrl, do_vfp_ctrl_from_reg, do_vfp_sp_ldst)
2429 (do_vfp_dp_ldst, vfp_sp_reg_list, vfp_dp_reg_list, vfp_sp_ldstm)
2430 (vfp_dp_ldstm, do_vfp_sp_ldstmia, do_vfp_sp_ldstmdb, do_vfp_ldstmia)
2431 (do_vfp_dp_ldstmdb, do_vfp_xp_ldstmia, do_vfp_xp_ldstmdb)
2432 (do_vfp_sp_compare_z, do_vfp_dp_compare_z, do_vfp_dp_sp_cvt)
2433 (do_vfp_sp_dp_cvt): New functions.
2434 (md_begin): Set soft-float flag for appropriate VFP work.
2435 (md_atof): Handle VFP-format doubles.
2436 (md_parse_option): Handle VFP command-line options.
2437 (md_show_usage): Display VFP command-line options.
2439 2002-01-15 Richard Earnshaw <rearnsha@arm.com>
2441 * tc-arm.c (md_parse_option): Tidy up setting of cpu_variant for
2442 various command line options.
2444 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
2446 * config/tc-xstormy16.c: (xstormy16_fix_adjustable): Do not fix
2448 (xstormy16_md_apply_fix3): Do not return a value.
2450 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
2452 * tc-arm.c (md_longopts): On targets that aren't bi-endian, support
2453 the -EL/-EB option that matches the target's endianness.
2454 (md_parse_option): Likewise.
2456 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
2458 * tc-arm.c (md_longopts): Fix misplaced #endif -- the -oabi option
2459 is not dependent on ARM_BI_ENDIAN.
2461 2002-01-14 Richard Earnshaw <rearnsha@arm.com>
2463 * tc-arm.c (all error messages): Normalize capitalization of messages.
2465 * tc-arm.h (md_operand): Delete define.
2466 * tc-arm.c (in_my_get_expression): New static variable.
2467 (my_get_expression): Set and clear it.
2468 (md_operand): New function. If called from my_get_expression
2469 put the error in inst.error.
2470 (output_inst): Now takes argument of instruction being assembled.
2471 Print it out with any error message.
2472 (do_ldst, do_ldstv4, thumb_load_store): Fault attempt to use a store
2474 (end_of_line): Don't update inst.error if it is already set.
2476 2002-01-11 Richard Earnshaw <rearnsha@arm.com>
2478 * tc-arm.c ((do_ldst): Fix handling an immediate expression pseudo
2479 op that can be translated into a mvn instruction.
2481 2002-01-11 Steve Ellcey <sje@cup.hp.com>
2483 * gas/config/tc-ia64.h (MD_FLAGS_DEFAULT): New Macro for
2484 setting default md.flags.
2485 (SHT_INIT_ARRAY): New elf special section used by HP-UX.
2486 (SHT_FINI_ARRAY): New elf special section used by HP-UX.
2487 * gas/config/tc-ia64.c (setup_unwind_header): Add support
2488 for 32 bit unwind info blocks.
2489 (generate_unwind_image): Add support for different types
2490 of unwind images (32 bits and/or big-endian).
2491 (ia64_init): Use MD_FLAGS_DEFAULT to set md.flags.
2492 (ia64_target_format): Add support for hpux target formats.
2493 (ia64_gen_real_reloc_type): Add support for FUNC_IPLT_RELOC.
2494 (ia64_elf_section_type): Add support for SHT_INIT_ARRAY and
2495 SHT_FINI_ARRAY elf section types.
2497 2002-01-10 Richard Earnshaw <rearnsha@arm.com>
2499 * tc-arm.c (struct reg_entry): Move before prototypes.
2500 (int_register, cp_register, fp_register): Delete.
2501 (reg_table): Delete. Replaced with ...
2502 (rn_table, cp_table, cn_table, fn_table, mav_mvf_table)
2503 (mav_mvd_table, mav_mvfx_table, mav_mvdx_table, mav_mvax_table)
2504 (mav_dspsc_table): ... one table per register set.
2505 (arm_reg_hsh): Delete.
2506 (struct reg_map): New structure.
2507 (all_reg_maps): New array.
2508 (enum arm_reg_type): New enums.
2509 (build_reg_hsh): New function.
2510 (insert_reg_alias): Use hash table passed by caller. Adjust all
2512 (create_register_alias): New function, split out from ...
2513 (md_assemble): ... here.
2514 (md_begin): Build new register hash tables.
2515 (arm_reg_parse): New argument for the hash table to search. Adjust all
2517 (arm_reg_parse_any): New function.
2518 (co_proc_number): Look up the processor number in the processor hash
2520 (cirrus_regtype): Delete.
2521 (cirrus_register, cirrus_mvf_register, cirrus_mvd_register)
2522 (cirrus_mvfx_register, cirrus_mvdx_register, cirrus_mvax_register)
2523 (ARM_EXT_MAVERICKsc_register): Delete.
2524 (do_c_binops_1, do_c_binops_2, do_c_binops_3): Delete.
2525 (do_c_binops_1[a-o], do_c_binops_2[a-c], do_c_binops_3[a-d]): New
2527 (do_c_triple_4, do_c_triple_5): Delete.
2528 (do_c_triple_4[ab], do_c_triple_5[a-h]): New functions.
2529 (do_c_quad_6): Delete.
2530 (do_c_quad_6[ab]): New functions.
2531 (do_c_binops, do_c_triple, do_c_quad, do_c_shift, do_c_ldst): Rework
2532 arguments to use new register parsing methods.
2533 (cirrus_reg_required_here): Likewise.
2534 (insns): Reclassify cirrus maverick worker functions.
2535 (cirrus_valid_reg): Delete.
2537 2002-01-07 Jason Thorpe <thorpej@wasabisystems.com>
2539 * configure.in (sh*le): Set cpu_type=sh and endian=little.
2540 (sh*-*-netbsdelf*): New target.
2541 * configure: Regenerate.
2542 * tc-sh.h: Update copyright years.
2543 (TARGET_FORMAT): Add version for TE_NetBSD.
2545 2002-01-07 Nick Clifton <nickc@cambridge.redhat.com>
2547 * read.c (emit_expr): Do not allow 'size' or 'nbytes' to go
2550 2002-01-06 Alan Modra <amodra@bigpond.net.au>
2552 * config/tc-m68k.h (md_prepare_relax_scan): Rewrite.
2553 * config/tc-m68k.c (md_relax_table): Add md_prepare_relax_scan comment.
2555 2002-01-05 Daniel Jacobowitz <drow@mvista.com>
2557 * tc-mips.c (mips_cprestore_valid): New flag.
2558 (mips_frame_reg_valid): New flag.
2559 (macro) [M_JAL_2]: Check both flags.
2560 [M_JAL_A]: Likewise.
2561 (s_cprestore): Set mips_cprestore_valid.
2562 (tc_get_register): If setting mips_frame_reg, set
2563 mips_frame_reg_valid and clear mips_cprestore_valid.
2564 (s_mips_ent): Clear both flags.
2565 (s_mips_end): Clear both flags.
2567 2002-01-05 Alan Modra <amodra@bigpond.net.au>
2569 * write.c (write_object_file): Make use of bfd_section_list_remove.
2570 * config/obj-ecoff.c (ecoff_frob_file): Likewise.
2571 * config/tc-mmix.c (mmix_frob_file): Likewise.
2573 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
2575 * configure.in (i386-*-netbsdelf*): Collapse target into...
2576 (i386-*-netbsd*): ...this. Add support for x86-64.
2577 * configure: Regenerated.
2579 2002-01-03 matthew green <mrg@redhat.com>
2581 * config/tc-ppc.c (md_parse_option): BookE is not Motorola specific.
2583 2002-01-02 Nick Clifton <nickc@cambridge.redhat.com>
2585 * config/tc-m68k.c (md_estimate_size_before_relax): Test for a
2588 For older changes see ChangeLog-0001
2594 version-control: never