Revert ARM linker patch and apply similar patch to bfd instead
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
a2199cc1
AM
12002-08-26 Alan Modra <amodra@bigpond.net.au>
2
3 * config/tc-w65.c (md_section_align): Fix typo.
4 (md_parse_option): Return 0, not 1.
5
ececec60
NC
62002-08-22 Nick Clifton <nickc@redhat.com>
7
8 * doc/as.texinfo (Section): Note that if '@' is a comment
9 character then another symbol is used to prefix the section's
10 type.
11
14899840
NC
122002-08-22 Christian Groessler <chris@groessler.org>
13
14 * config/tc-z8k.c (get_operands): Adjust ptr variable also in
15 "case 0" case.
16
ed71e111
NC
172002-08-12 Graeme Peterson <gp@qnx.com>
18
19 * configure.in: Add support for sh-**-nto* target.
20 * configure: Regenerate.
21
dfe0d3fe
JL
222002-08-21 Nitin Gupta <niting@noida.hcltech.com>
23
24 * config/tc-h8300.h (TC_LINKRELAX_FIXUP): Define.
25
dc1d03fc
EZ
262002-08-21 Elena Zannoni <ezannoni@redhat.com>
27
28 * config/tc-ppc.c (ppc_cleanup): Do something only if format
29 is ELF.
30 (ppc_apuinfo_section_add): Define only if format is ELF.
31 (md_assemble): Emit APUinfo section only if format is ELF.
32 Fix formatting.
33
9f1838ed
AM
342002-08-21 Alan Modra <amodra@bigpond.net.au>
35
36 * config/tc-arc.c (md_pseudo_table <dwarf2_directive_file>): Cast.
37 * config/tc-frv.c: Likewise.
38 * config/tc-hppa.c: Likewise.
39 * config/tc-ia64.c: Likewise.
40 * config/tc-ip2k.c: Likewise.
41 * config/tc-m68hc11.c: Likewise.
42 * config/tc-m68k.c: Likewise.
43 * config/tc-mmix.c: Likewise.
44 * config/tc-mn10300.c: Likewise.
45 * config/tc-sh.c: Likewise.
46 * config/tc-sparc.c: Likewise.
47 * config/tc-v850.c: Likewise.
48
483fc7cd
RS
492002-08-20 Richard Sandiford <rsandifo@redhat.com>
50
51 * config/tc-mips.c (macro2): Implement rotates by zero using shifts
52 by zero.
53
6a0c61b7
EZ
542002-08-19 Elena Zannoni <ezannoni@redhat.com>
55
56 From matthew green <mrg@redhat.com>
57
58 * config/tc-ppc.c (PPC_OPCODE_CLASSIC): Enable this everywhere
59 PPC_OPCODE_PPC is, except for BookE architectures.
60 (md_parse_option): Add support for -mspe.
61 (md_show_usage): Add -mspe.
62 (md_parse_option): Add support for -me500 and
63 -me500x2 to generate code for Motorola e500 core complex.
64 (md_show_usage): Add -me500 and -me500x2.
65
66 (PPC_APUINFO_ISEL, PPC_APUINFO_PMR, PPC_APUINFO_RFMCI,
67 PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE, PPC_APUINFO_EFS,
68 PPC_APUINFO_BRLOCK): New macros.
69
70 (ppc_cleanup): New function.
71 (ppc_apuinfo_section_add): New function.
72 (APUID): New macro.
73 (md_assemble): Collect info and write the APUinfo section.
74
75 * config/tc-ppc.h (md_cleanup): Define.
76 (ppc_cleanup): Export.
77 (ELF_TC_SPECIAL_SECTIONS): Add .PPC.EMB.apuinfo section.
78
cca86cc8
SC
792002-08-17 Stan Cox <scox@redhat.com>
80
81 * config/obj-elf.c (obj_elf_change_section): Make non-static.
82 config/tc-mips.c (s_change_section): New function to support
83 IRIX .section pseudo-op.
84
50b15da2
NC
852002-08-16 Nick Clifton <nickc@redhat.com>
86
87 * config/tc-v850.c (md_assemble): Fix assembling of "callt 0x3f".
88
f21f8242
AO
892002-08-15 Alexandre Oliva <aoliva@redhat.com>
90
91 * config/tc-mips.c (macro_build_jalr): Make sure we generate
92 the fix-up against on the right frag.
93 (s_cpsetup): Likewise. Parse third argument as expression, to
94 handle global symbols and forward/backward labels correctly.
95
11f45fb5
NC
962002-08-14 Nick Clifton <nickc@redhat.com>
97
8ac9ba6c
NC
98 * read.c (stringer): Catch attempts to create strings in the abs
99 section.
100
11f45fb5
NC
101 * config/tc-alpha.c: Fix compiling for COFF targets.
102 Some minor formatting tidyups.
103
e371935f
SC
1042002-08-13 Stephane Carrez <stcarrez@nerim.fr>
105
106 * config/tc-m68hc11.h (MD_PCREL_FROM_SECTION): Remove.
107 (TC_HANDLES_FX_DONE): Define to let md_apply_fix3 set fx_done flag
108 according to the reloc.
109 (tc_fix_adjustable, tc_m68hc11_fix_adjustable): Define.
110 (TC_FORCE_RELOCATION): Define.
111 (tc_m68hc11_force_relocation): Declare.
112
113 * config/tc-m68hc11.c (md_pseudo_table): Add relax command.
114 (s_m68hc11_relax): New function for relax group.
115 (build_insn, build_jump_insn): Emit a M68HC11_RL_JUMP reloc at
116 beginning of jump instruction.
117 (md_pcrel_from): Rename from md_pcrel_from_section and fix
118 address computation.
119 (tc-gen_reloc): Update.
120 (md_estimate_size_before_relax): Create the BFD_RELOC_16_PCREL as
121 PC-relative fixup.
122 (tc_m68hc11_force_relocation): New function, handle new relocs.
123 (tc_m68hc11_fix_adjustable): New to make sure there are enough
124 reloc for the linker relax pass.
125 (md_apply_fix3): Handle M68HC11_RL_JUMP, M68HC11_RL_GROUP
126 and VTABLE relocs.
127
eb086b59
SC
1282002-08-13 Stephane Carrez <stcarrez@nerim.fr>
129
130 * config/tc-m68hc11.c (m68hc11_elf_final_processing): New function.
131 (md_pseudo_table): Add .mode, .far and .interrupt pseudo op.
132 (s_m68hc11_mode): New function for .mode pseudo op.
133 (s_m68hc11_mark_symbol): New function for .far and .interrupt
134 pseudo op.
135 * config/tc-m68hc11.h (elf_tc_final_processing): Define.
136 (m68hc11_elf_final_processing): Declare.
137
7bfda7eb
SC
1382002-08-13 Stephane Carrez <stcarrez@nerim.fr>
139
140 * config/tc-m68hc11.c (md_begin): Take into account additional
141 page operand for call instruction.
142 (print_opcode_format): Likewise.
143 (check_range): Likewise for page range checking.
144 (get_operand): Don't skip a possible comma in operands.
145 (fixup8): Generate BFD_RELOC_M68HC11_PAGE reloc.
146 (fixup16): Likwise with BFD_RELOC_M68HC11_LO16.
147 (fixup24): New to handle call reloc.
148 (build_insn): Handle missing page operand for call instruction.
149 (find): Likewise.
150 (md_apply_fix3): Take into account new relocs.
151 (get_operand): Fix the mode for indexed indirect addressing.
152 (build_indexed_byte): Fix post index byte for indexed indirect mode.
153
fdb987ee
RS
1542002-08-12 Richard Sandiford <rsandifo@redhat.com>
155
156 * config/tc-mips.c (mips_ip): Don't work out the value of
157 constant %hi()s here.
158
31312f95
AM
1592002-08-10 Alan Modra <amodra@bigpond.net.au>
160
161 * config/tc-i386.c (tc_i386_fix_adjustable): Test OUTPUT_FLAVOR
162 for ELF, and don't bother checking ELF relocs when non-ELF.
163 (i386_immediate): Allow absolute_section expressions for aout.
164 (i386_displacement): Likewise. Also test bfd_is_com_section.
165 (md_estimate_size_before_relax): Test OUTPUT_FLAVOR for ELF.
166 (md_apply_fix3): Hack for bfd_install_relocation when fx_pcrel,
167 not when fx_addsy. Remove dead code.
168
59bc061d
NC
1692002-08-09 Graeme Peterson <gp@qnx.com>
170
171 * configure.in: Add support for ppc-*-nto* target.
172 * configure: Regenerate.
173
6088b00e
AM
1742002-08-09 Alan Modra <amodra@bigpond.net.au>
175
176 * config/tc-i386.h: Reorganize.
177
0c11417f
MR
1782002-08-09 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
179
180 * config/tc-mips.c (macro): Handle a register plus a 16-bit
181 immediate offset in "dla" and "la" expansions.
182
79500683
AM
1832002-08-09 Alan Modra <amodra@bigpond.net.au>
184
185 * configure.in: bfd_gas=yes for all i386 targets. Formatting.
186 Remove "bfd_gas=yes" from target table when covered later.
187 Consolidate some entries.
188 * configure: Regenerate
189
2bbd9c25
JJ
1902002-08-09 Jakub Jelinek <jakub@redhat.com>
191
192 * config/tc-i386.c (output_insn): Save frag_now and frag_now_fix ()
193 at start of insn, pass it to output_disp and output_imm.
194 (output_disp): Added arguments. If _GLOBAL_OFFSET_TABLE_ is seen
195 in displacement for R_386_32 reloc, use R_386_GOTPC and compute
196 properly addend.
197 (output_imm): Added arguments. Compute properly addend for
198 R_386_GOTPC.
199 (md_apply_fix3): Remove R_386_GOTPC handling.
200 * testsuite/gas/i386/gotpc.s: New.
201 * testsuite/gas/i386/gotpc.d: New.
202 * testsuite/gas/i386/i386.exp: Add gotpc test.
203
dbac4f5b
RH
2042002-08-06 George France <france@handhelds.org>
205
206 * config/tc-alpha.c (cpu_types): Enabled ev67, ev68, -m21264a
207 and m21264b processor names and cpu types.
208 * doc/c-alpha.texi: Documented new types.
209
95210096
AM
2102002-08-06 Alan Modra <amodra@bigpond.net.au>
211
212 * config/tc-ppc.c (md_apply_fix3): Adjust 16 bit XCOFF reloc offset.
213
98605598
RS
2142002-08-01 Richard Sandiford <rsandifo@redhat.com>
215
216 * config/tc-mips.c (tc_gen_reloc): Extend GP-relative addend
217 handling to BFD_RELOC_MIPS16_GPREL.
218
08df2379
NC
2192002-08-01 Nick Clifton <nickc@redhat.com>
220
221 * config/tc-arm.c (add_to_lit_pool): Ensure that offset to literal
222 pool is computed using signed arithmetic so that proper sign
223 extension is performed if X_add_number is a 64-bit integer.
224
70ee4658
DJ
2252002-08-01 H.J. Lu <hjl@gnu.org>
226 Daniel Jacobowitz <drow@mvista.com>
227
228 * dwarf2dbg.c (dwarf2_finish): Don't emit unreferenced
229 .debug_line section unless it has line information.
230
4eb6b71c
NC
2312002-07-31 Ian Dall <ian@sibyl.beware.dropbear.id.au>
232
233 * config/tc-ns32k.h (md_pcrel_adjust): Supply prototype.
234 * config/tc-ns32k.c (convert_iif, md_parse_option, md_show_usage):
235 Allow default displacement size to be an option "--disp-size-default".
236 (md_number_to_disp): Make error messages include value. Use %d to
237 print integers, not %s.
238 (fix_new_ns32k): Conditionally set fx_no_overflow so we don't
239 get duplicate messages sometimes.
240 (convert_iif): Grow frag to max possible instruction size. Avoid
241 creating unnecessary fixes.
242 (md_number_to_field) Add prototype.
243 (encode_operand, parse, convert_iif, md_fix_pcrel_adjust): Add
244 prototypes and make static.
245 (struct addr_mode): Make mode and scaled_mode explicitly signed.
246 (evaluate_expr): Use resultP argument instead of exprP global.
247 (get_addr_mode): Quiten compiler warnings.
248 (encode_operand): eliminate unused variables. Quiten compiler
249 warnings. Eliminate nul character in format strings.
250 (parse): argc is unsigned.
251 (reloc): Type cast index to quieten compiler.
252 (md_pcrel_adjust, md_apply_fix3): Remove unused variable.
253 (md_convert_frag): Note unused parameters. Remove unused
254 variables.
255 (md_create_long_jump, md_create_short_jump,
256 md_undefined_symbol_name, md_section_align, tc_gen_reloc): Note
257 unused parameters.
258
500800ca
NC
2592002-07-31 Nick Clifton <nickc@redhat.com>
260
261 * NEWS: Retroactively add entry for Lars Brinkhoff's contribution
262 of the PDP-11 and 2.11BSD a.out support.
263
03223580
NC
2642002-07-31 Momchil Velikov <velco@fadata.bg>
265
266 * config/tc-v850.c (md_assemble): Fix range check for immediate
267 operand.
268
c7a23324
CD
2692002-07-30 Chris Demetriou <cgd@broadcom.com>
270
271 * config/tc-mips.c (mips_cpu_info_table): Clean up entries related
272 to Broadcom SB-1 core support.
273
cfe86eaa
TS
2742002-07-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
275
276 * config/tc-mips.c (mips_target_format): Fix formatting.
277 Add recognition of n32 ABI formats.
278
460597ba
MR
2792002-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
280
281 * tc-mips.c (load_address): Don't clobber $at when loading a
282 64-bit address in non-PIC code if noat is in effect.
283 (macro): Likewise.
284
9bd7d936
MR
2852002-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
286
287 * config/tc-mips.c (macro): Use codes 6 and 7 in trap instructions
288 used in division/multiply macro expansions similarly to how they
289 are used in the variants with break instructions.
290 (macro2): Likewise.
291
7e392df6
NC
2922002-07-30 Graeme Peterson <gp@qnx.com>
293
294 * configure.in: Add support for arm-*-nto target.
295 * configure: Regenerate.
296
3d0c9500
NC
2972002-07-30 Nick Clifton <nickc@redhat.com>
298
299 * config/tc-arm.c (struct literal_pool): Add fields to allow
300 multiple literal pools to be maintained.
301 (find_literal_pool): New function.
302 (find_or_make_literal_pool): New function.
303 (add_to_literal_pool): Use find_or_make_literal_pool.
6088b00e 304 (arm_s_text, arm_s_data, arm_s_section): Remove - no longer
3d0c9500
NC
305 needed.
306 (s_ltorg): Use find_literal_pool.
307 (arm_cleanup): Dump all literal pools.
6088b00e 308 * doc/c-arm.texi: Document new behaviour of only dumping literal
3d0c9500
NC
309 pools upon request.
310
dfff24c9
AM
3112002-07-26 Alan Modra <amodra@bigpond.net.au>
312
313 * config/tc-ppc.c (ppc_set_cpu): Use PPC_OPCODE_64 as the default
314 rather than PPC_OPCODE_32 for powerpc64*.
315
219576a4
NC
3162002-07-25 Nick Clifton <nickc@redhat.com>
317
318 * po/es.po: Updated Spanish translation.
319 * po/fr.po: Updated French translation.
320
316f5878
RS
3212002-07-25 Richard Sandiford <rsandifo@redhat.com>
322
323 * doc/c-mips.texi: Remove -mcpu. Document -mabi.
324 * configure.in (MIPS_CPU_STRING_DEFAULT): New configuration macro.
325 (USE_E_MIPS_ABI_O32, MIPS_DEFAULT_64BIT): New configuration macros.
326 * configure, config.in: Regenerate.
327 * config/tc-mips.c (file_mips_abi): Rename to mips_abi.
328 (mips_set_options): Remove "abi" field.
329 (mips_opts): Update accordingly. Replace all uses of mips_opts.abi
330 with mips_abi.
331 (mips_cpu): Remove.
332 (mips_arch_string, mips_arch_info): New vars.
333 (mips_tune_string, mips_tune_info): New vars.
334 (ABI_NEEDS_32BIT_REGS, ABI_NEEDS_64BIT_REGS): New macros.
335 (HAVE_32BIT_GPRS, HAVE_32BIT_FPRS): Don't check the ABI.
336 (mips_isa_to_str, mips_cpu_to_str): Remove.
337 (mips_ip): If the selected architecture is a generic ISA rather
338 than a processor, only mention the ISA level in error messages.
339 (OPTION_MCPU): Remove.
340 (OPTION_FP64): New.
341 (md_longopts): Add -mfp64, remove -mcpu.
342 (mips_set_option_string): New fn.
343 (md_parse_option): Make -mipsN update file_mips_isa rather than
344 mips_opts.isa. Use mips_set_option_string to set -march or -mtune.
345 Don't let -mgp32 and -mfp32 change the ABI.
346 (show): Move to end of file. Constify string argument.
347 (md_show_usage): Move to the end of the file. Read available
348 architectures from mips_cpu_info_table.
349 (mips_set_architecture): New fn.
350 (mips_after_parse_args): Rework. Remove -mcpu handling. -mipsN
351 is an alias for -march=mipsN. Don't change the ABI based on other
352 flags. Infer the register size from the ABI as well as the
353 architecture. Complain about more conflicting arguments.
354 Unify logic with GCC.
355 (s_mipsset): Don't change the ABI.
356 (mips_elf_final_processing): Check USE_E_MIPS_ABI_O32.
357 (mips_cpu_info_table): Remove Generic-MIPS* entries, keeping just
358 "mipsN"-type entries. Remove entries that vary only in the
359 manufacturer's prefix, or that have "000" replaced by "k".
360 Remove TARGET_CPU entries. Make r2000 entry use CPU_R3000.
361 (mips_strict_matching_cpu_name_p, mips_matching_cpu_name_p): New fns.
362 (mips_parse_cpu): New fn.
363 (mips_cpu_info_from_name, mips_cpu_info_from_cpu): Remove.
364 (mips_cpu_info_from_isa): Minor formatting tweak.
365
ff3063f5
NC
3662002-07-24 Nick Clifton <nickc@redhat.com>
367
368 * po/sv.po: Updated Swedish translation.
369 * po/es.po: Updated Spanish translation.
370
55eab186
AM
3712002-07-23 Alan Modra <amodra@bigpond.net.au>
372
373 * Makefile.am: Run "make dep-am".
374 * Makefile.in: Regenerate.
375 * doc/Makefile.in: Regenerate.
376 * config.in: Regenerate.
377 * po/POTFILES.in: Regenerate.
378
0461a601
NC
3792002-07-23 Nick Clifton <nickc@redhat.com>
380
ff3063f5 381 * po/fr.po: Updated French translation.
0461a601 382
ee8929cf
NC
3832002-07-23 Nick Clifton <nickc@redhat.com>
384
385 * CONTRIBUTORS: Ken Raeburn is no longer the maintainer for
386 GAS.
387
bad9ca53
TS
3882002-07-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
389
390 * config/tc-mips.c (mips_need_elf_addend_fixup): Use S_IS_EXTERNAL
391 instead of S_IS_EXTERN.
392 (md_estimate_size_before_relax): Likewise.
393 (mips_fix_adjustable): Likewise.
394
a37de3d3
TS
3952002-07-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
396
397 * config/tc-mips.c (mips_pic_level): Remove IRIX4_PIC.
398
8dfa0188 3992002-07-19 Miroslav Tichy <tichm9am@ss1000.ms.mff.cuni.cz>
dfff24c9 400 Nick Clifton <nickc@redhat.com>
8dfa0188
NC
401
402 * cond.c (s_ifdef): Treat a referenced but not yet defined
403 symbol as if it were undefined, in exactly the same way as
404 .equiv.
405
dfff24c9
AM
406 * doc/as.texinfo: Document that .ifdef, .ifndef and .equiv
407 consider referenced bug not yet defined symbols to be
408 undefined.
8dfa0188 409
a40cbfa3
NC
4102002-07-18 Denis Chertykov <denisc@overta.ru>
411 Frank Ch. Eigler <fche@redhat.com>
412 Alan Lehotsky <alehotsky@cygnus.com>
413 John Healy <jhealy@redhat.com>
414 Jeff Johnston <jjohnstn@redhat.com>
415
416 * configure.in: Add ip2k configuraton.
417 * configure: Regenerate.
418 * Makefile.am: Add ip2k configuraton.
419 * Makefile.in: Regenerate.
420 * configure: Regenerate.
421 * Makefile.in: Regenerate.
422 * config/tc-ip2k.c: New file.
423 * config/tc-ip2k.h: New files.
424 * NEWS: Mention new support.
425 * doc/Makefile.am (CPU_DOCS): Add c-ip2k.texi.
426 * doc/Makefile.in: Regenerate.
427 * doc/all.texi: Set IP2K
428 * doc/as.texinfo: Add IP2K description.
429 * doc/c-ip2k.texi: New file.
dfff24c9 430
a40cbfa3
NC
4312002-07-19 Nick Clifton <nickc@cambridge.redhat.com>
432
433 * NEWS: Reformat to match style of other NEWS files.
dfff24c9 434
a40cbfa3 4352002-07-17 Jan Hubicka <jh@suse.cz>
33fef721
JH
436
437 * tc-i386.c (i386_align_code): Implement x86_64 neutral code fillers.
438
25d3fb58
AM
4392002-07-16 Moritz Jodeit <moritz@jodeit.org>
440
441 * config/tc-z8k.c (build_bytes): Correct order of memset args.
442
2cbb2eef
NC
4432002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
444
445 * NEWS: Add 'Changes in 2.13'.
446
da06c61e
AM
4472002-07-15 Matt Fredette <fredette@netbsd.org>
448
449 * config/tc-hppa.h (LABELS_WITHOUT_COLONS): Define if TE_NetBSD.
450
9146926a
AM
4512002-07-12 Alan Modra <amodra@bigpond.net.au>
452
453 * config/tc-i386.c (process_suffix): Merge CODE_64BIT JumpByte
454 case with non CODE_64BIT case. Don't warn on "qword ptr" if
455 not CODE_64BIT.
456
2b3c4602
AM
4572002-07-11 Alan Modra <amodra@bigpond.net.au>
458
7e8d4ab4
AM
459 * config/tc-ppc.c (ppc_elf_frob_symbol): Delete.
460 (ppc_frob_file_before_adjust): New function.
461 * config/tc-ppc.h (tc_frob_symbol): Don't define.
462 (ppc_elf_frob_symbol): Don't declare.
463 (tc_frob_file_before_adjust): Define.
464 (ppc_frob_file_before_adjust): Declare.
465
2b3c4602
AM
466 * config/tc-ppc.c (md_pseudo_table): Warning fix.
467 (ppc_cpu): Make it unsigned long to agree with struct powerpc_opcode
468 flags.
469 (ppc_size): Delete.
470 (ppc_xcoff64): Rename to ppc_obj64.
471 (md_parse_option <m>): Encode old ppc_size value in ppc_cpu.
472 (ppc_set_cpu): Set PPC_OPCODE_32 too.
473 (ppc_arch): Use ppc_obj64 instead of ppc_size to select bfd_mach_ppc64
474 or bfd_mach_ppc.
475 (ppc_target_format): Use ppc_obj64 to select format.
476 (md_begin): Adjust for PPC_OPCODE_32/64 in ppc_cpu.
477 (ppc_insert_operand): Use ppc_obj64 instead of ppc_size.
478 (ppc_elf_suffix): Likewise. Don't depend on BFD_DEFAULT_TARGET_SIZE.
479 (tc_frob_symbol): Likewise.
480 (md_assemble): Use ppc_obj64 instead of ppc_size. Don't depend on
481 BFD_DEFAULT_TARGET_SIZE.
482 (ppc_tc): Likewise.
483 (ppc_is_toc_sym): Likewise.
484 (md_apply_fix3): Likewise.
485 * config/tc-ppc.h (TC_FORCE_RELOCATION): Don't depend on
486 BFD_DEFAULT_TARGET_SIZE.
487 (ELF_TC_SPECIAL_SECTIONS): Likewise.
488 (tc_frob_symbol): Likewise.
489
aec421e0
TS
4902002-07-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
491
492 * config/tc-mips.c (macro_build): Handle MIPS16 insns.
493 (mips_ip): Likewise.
494
c6682705
AM
4952002-07-09 Alan Modra <amodra@bigpond.net.au>
496
497 * config/tc-i386.c (md_pseudo_table <file>): Warning fix.
498 (BFD_RELOC_8, BFD_RELOC_8_PCREL): Define for non-BFD.
499 (md_apply_fix3): Formatting. Remove redundant test.
500 (tc_gen_reloc): Remove redundant code.
501 (tc_i386_force_relocation): Delete. Movy body of function to..
502 * config/tc-i386.h (TC_FORCE_RELOCATION): .. here.
503
03111e83
AM
5042002-07-09 Federico G. Schwindt <fgsch@olimpo.com.br>
505
506 * configure.in: Add hppa-*-openbsd* target, change
507 alpha*-*-openbsd* format to elf, and use elf for sparc-*-openbsd*
508 with sparc64 cpu.
509 * configure: Regenerate.
510
78d32a17
MR
5112002-07-08 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
512
513 * config/tc-mips.c (macro): Shift the 32-bit address range
514 accessible with a lone "lui" down by 32768.
515
3a482fd5
MR
5162002-07-08 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
517
518 * config/tc-mips.c (load_address): Use non-trapping "daddu"
519 instead of "dadd" in address calculations.
520 (macro): Likewise.
521
cd61ebfe
AM
5222002-07-08 Alan Modra <amodra@bigpond.net.au>
523
524 * config/tc-i386.c (process_suffix): Remove intel mode movsx and
525 movzx fudges.
526 (md_assemble): Instead, zap the suffix here.
527
a5d3c309
NC
5282002-07-03 Nick Clifton <nickc@cambridge.redhat.com>
529
530 * NEWS: Remove next release number until the release is actually
531 upon us.
532
ce4f7385
AM
5332002-07-03 Alan Modra <amodra@bigpond.net.au>
534
535 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
536 Run "make dep-am".
537 * Makefile.in: Regenerate.
538
148b4c7a
MS
5392002-07-02 Martin Schwidefsky <schwidefsky@de.ibm.com>
540
541 * config/tc-s390.c (tc_s390_fix_adjustable): Prevent any adjustment
542 to symbols in merge sections, even non pc-relative ones.
543
2916066e
SC
5442002-06-29 Stephane Carrez <stcarrez@nerim.fr>
545
546 * config/tc-m68hc11.h (m68hc11_listing_header): Fix warning.
547
96e87417
SC
5482002-06-29 Stephane Carrez <stcarrez@nerim.fr>
549
550 * config/tc-m68hc11.h (ELF_TC_SPECIAL_SECTIONS): New sections
551 .softregs and .eeprom.
552
83518699
DB
5532002-06-28 David O'Brien <obrien@FreeBSD.org>
554
555 * NEWS: Note the next release is 2.13.
556
6c6783ff
NC
5572002-06-26 Nick Clifton <nickc@cambridge.redhat.com>
558
559 * po/tr.po: New translation imported.
560
a2c36061
AM
5612002-06-26 Elias Athanasopoulos <eathan@otenet.gr>
562
563 * ecoff.c: (get_tag): Replace strcpy with xstrdup.
564 (ecoff_directive_def): Likewise.
565 (ecoff_directive_tag): Likewise.
566 * listing.c (file_info): Likewise.
567 * hash.c (what): Likewise.
568
a13a0de8
L
5692002-06-25 H.J. Lu <hjl@gnu.org>
570
571 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
572 * Makefile.in: Regenerated.
573
6c6783ff 5742002-06-19 Dhananjay R. Deshpande <dhananjayd@kpit.com>
5db33d76
JR
575
576 * config/tc-sh.c (get_specific): Revert 2002-05-01 change.
577 (assemble_ppi): Generate warning if the same register is used
578 twice as destination in the same padd / pmuls instruction.
579
0ebb9a87
DB
5802002-06-18 Dave Brolley <brolley@redhat.com>
581
a2c36061 582 From Catherine Moore, Michael Meissner, Richard Sandiford, Dave Brolley
0ebb9a87
DB
583 * po/POTFILES.in: Add tc-frv.c, tc-frv.h.
584 * configure.in: Support frv-*-*.
585 * Makefile.am (CPU_TYPES): Add frv.
586 (TARGET_CPU_CFILES): Add tc-frv.c.
587 (TARGET_CPU_HFILES): Add tc-frv.h.
588 (DEPTC_frv_coff): New variable.
589 (DEPTC_frv_elf): New variable.
590 (DEPOBJ_frv_coff): New variable.
591 (DEPOBJ_frv_elf): New variable.
592 (DEP_frv_coff): New variable.
593 (DEP_frv_elf): New variable.
594 * tc-frv.c: New file.
595 * tc-frv.h: New file.
596
2a24298d
CM
5972002-06-17 Catherine Moore <clm@redhat.com>
598
a2c36061 599 * config/obj-elf.h (TARGET_SYMBOL_FIELDS): Conditionally define.
2a24298d 600
6c6783ff 6012002-06-17 J"orn Rennecke <joern.rennecke@superh.com>
96f31fc7
JR
602
603 * config/tc-sh.c (assemble_ppi): Initialize reg_n.
604
184e65b1
TR
6052002-06-17 Tom Rix <trix@redhat.com>
606
607 * config/tc-i370.h (tc_comment_chars): Define for i370-elf.
608
ecb4347a
DJ
6092002-06-14 H.J. Lu <hjl@gnu.org>
610 Daniel Jacobowitz <drow@mvista.com>
611
612 * dwarf2dbg.h (dwarf2_directive_file): Return char *.
613 * dwarf2dbg.c (dwarf2_directive_file): Return filename.
614 * config/tc-mips.c (s_mips_file): Call s_app_file_string
615 and new_logical_line for the first .file directive.
616 * read.c (s_app_file_string): New function.
617 (s_app_file): Call it.
618 * read.h (s_app_file_string): Add declaration.
619
6202002-06-14 Daniel Jacobowitz <drow@mvista.com>
621
622 * configure.in: Remove MIPS_STABS_ELF.
623 * configure: Regenerated.
624 * config.in: Regenerated.
625 * config/obj-elf.h (ECOFF_DEBUGGING): Define to mips_flag_mdebug
626 for MIPS targets.
627 * config/tc-mips.c (mips_pseudo_table): Remove #ifdef around
628 ".extern".
629 (pdr_seg): Declare unconditionally.
630 (md_begin): Always generate .pdr unless ECOFF_DEBUGGING or not ELF.
631 (s_mips_end): Likewise. Generate stabs function markers.
632 (s_mips_ent): Generate stabs function markers.
633 (s_mips_frame): Always generate .pdr unless ECOFF_DEBUGGING or not
634 ELF.
635 (s_mips_mask): Likewise.
636 (mips_flag_mdebug): New.
637 (md_longopts): Add "mdebug" and "no-mdebug".
638 (md_parse_options): Add OPTION_MDEBUG and OPTION_NO_MDEBUG.
639 (mips_after_parse_args): Set mips_flag_mdebug.
640 * doc/as.texinfo: Add "-mdebug" and "-no-mdebug" for MIPS.
641
d6e9d61a
MR
6422002-06-13 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
643
644 * config/tc-mips.c (md_apply_fix3): Don't subtract the symbol's
645 value twice for RELA relocations.
646
03e83a45
BE
6472002-06-12 Ben Elliston <bje@redhat.com>
648
649 * symbols.c (resolve_symbol_value): Initialise final_val.
650
651 * subsegs.c (subsegs_print_statistics): Cast frchp to void *.
652
b4f96c78
TR
6532002-06-11 Tom Rix <trix@redhat.com>
654
655 * config/tc-ppc.c (ppc_subseg_align): Delete.
656 (ppc_change_csect): Default csect align is 2.
a2c36061 657 * config/tc-ppc.h (SUB_SEGMENT_ALIGN): Delete
b4f96c78 658
8a6def3b
MM
6592002-06-09 Marek Michalkiewicz <marekm@amelek.gda.pl>
660
661 * config/tc-avr.c (mcu_types): Update.
662
7542c0f2
JT
6632002-06-08 Matt Thomas <matt@3am-software.com>
664
665 * configure.in (vax-*-netbsdelf*, vax-*-netbsdaout*)
666 (vax-*-netbsd*): New targets.
667 * configure: Regenerate.
a2c36061 668 * config/aout_gnu.h (enum machine_type): Add M_VAX4K_NETBSD.
7542c0f2 669 * config/tc-vax.c: Add support for ELF and PIC.
a2c36061 670 (flag_want_pic): New flag.
7542c0f2
JT
671 (float_cons): Fix prototype.
672 (md_apply_fix3): Adjust for BFD_ASSEMBLER.
673 (md_assemble): Introduce a new is_absolute local, and use it
674 rather than repeating the test. Make fatal errors actually
a2c36061 675 fatal by using as_fatal as appropriate. Adjust for BFD_ASSEMBLER.
7542c0f2 676 Add support for ELF. Add support for PIC.
a2c36061 677 (md_convert_frag): Adjust for BFD_ASSEMBLER.
7542c0f2
JT
678 (tc_aout_fix_to_chars): Only include if OBJ_AOUT and not
679 BFD_ASSEMBLER.
a2c36061 680 (vax_reg_parse): Make the % register prefix mandatory for ELF,
7542c0f2
JT
681 optional for a.out, and not allowed for VMS. Adjust all callers.
682 (md_create_short_jump): Add ATTRIBUTE_UNUSED to unused arguments.
a2c36061 683 (md_create_long_jump): Likewise.
7542c0f2
JT
684 (md_undefined_symbol): Likewise.
685 (md_section_align): Likewise.
686 (md_shortopts): Allow -k and -K for ELF.
687 (md_parse_option): Set flag_want_pic if -k or -K.
688 (tc_headers_hook): New function if OBJ_AOUT and not BFD_ASSEMBLER.
689 (tc_gen_reloc): New function if BFD_ASSEMBLER.
690 * config/tc-vax.h (tc_headers_hook): Remove.
691 (TARGET_FORMAT): Set according to object format and target
692 environment.
693 (BFD_ARCH, TARGET_ARCH): Define.
694 (NO_RELOC): Adjust for BFD_ASSEMBLER.
695 (TC_RELOC_RTSYM_LOC_FIXUP, TC_FIX_ADJUSTABLE)
696 (tc_fix_adjustable): Define if BFD_ASSEMBLER.
697 * config/vax-inst.h (VAX_JSB, VAX_CALLS, VAX_CALLG): Define.
698
5a38dc70
AM
6992002-06-08 Alan Modra <amodra@bigpond.net.au>
700
e90b95f6
AM
701 * Makefile.am: Run "make dep-am".
702 * Makefile.in: Regenerate.
703
5a38dc70
AM
704 * as.c: Replace CONST with const.
705 * write.c: Likewise.
706 * config/obj-coff.c: Likewise.
707 * config/tc-a29k.c: Likewise.
708 * config/tc-arm.c: Likewise.
709 * config/tc-dlx.c: Likewise.
710 * config/tc-h8300.c: Likewise.
711 * config/tc-h8500.c: Likewise.
712 * config/tc-i370.c: Likewise.
713 * config/tc-i860.c: Likewise.
714 * config/tc-i960.c: Likewise.
715 * config/tc-m68hc11.c: Likewise.
716 * config/tc-m68k.c: Likewise.
717 * config/tc-m88k.c: Likewise.
718 * config/tc-mcore.c: Likewise.
719 * config/tc-mips.c: Likewise.
720 * config/tc-ns32k.c: Likewise.
721 * config/tc-pdp11.c: Likewise.
722 * config/tc-pj.c: Likewise.
723 * config/tc-s390.c: Likewise.
724 * config/tc-sh.c: Likewise.
725 * config/tc-sparc.c: Likewise.
726 * config/tc-tahoe.c: Likewise.
727 * config/tc-tic80.c: Likewise.
728 * config/tc-v850.c: Likewise.
729 * config/tc-vax.c: Likewise.
730 * config/tc-w65.c: Likewise.
731 * config/tc-z8k.c: Likewise.
732
c5dd6aab
DJ
7332002-06-08 Daniel Jacobowitz <drow@mvista.com>
734
735 Based on patch from Matt Green:
736 * config/obj-elf.h (ECOFF_DEBUGGING): Make configurable.
a2c36061 737 * config/tc-mips.c (s_mips_file): Renamed from s_file.
c5dd6aab
DJ
738 (s_mips_loc): New function.
739 (mips_nonecoff_pseudo_table): Call them.
a2c36061 740 (append_insn): Call dwarf2_emit_insn.
c5dd6aab 741
a4672219
TS
7422002-06-08 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
743
744 * config/tc-mips.c (mips_opts): Fix comment, all ASE fields are set
745 to -1.
746 (file_ase_mips16): New veriable.
747 (mips_eabi64): Remove.
748 (CPU_HAS_MIPS16): New define.
749 (CPU_HAS_MDMX): Fix data type.
750 (md_begin): Code cleanup. Use file_ase_mips16.
751 (mips_elf_final_processing): Handle mips16 header flag.
752 Handle EABI flag without intermediate variable.
753
437ee9d5
TS
7542002-06-08 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
755
756 * doc/as.texinfo: Update MIPS documentation.
757
85b51719
TS
7582002-06-08 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
759
760 * config/tc-mips.c: Add define for $zero register.
761 (md_begin): Add $zero as alias name for $0.
762 (insn_uses_reg): Use ZERO define.
763 (mips_ip): Add $zero as alias name for $0.
764 (mips16_ip): Likewise.
765 (s_cplocal): Demand empty rest of input line.
766 (tc_get_register): Likewise. Add support for $kt0, kt1 register
767 names. Use ZERO define. Fix input_line_pointer progress.
768
9758f3fc
AM
7692002-06-07 Alan Modra <amodra@bigpond.net.au>
770
771 * symbols.c: Replace CONST by const throughout.
772 (symbol_find_exact): Split out from..
773 (symbol_find_base): ..here.
774 * symbols.h: Replace CONST by const throughout.
775 (symbol_find_exact): Declare.
776 * config/obj-elf.c: #include "struc-symbol.h".
777 (elf_frob_file): If group name matches an exported symbol, use that
778 symbol for the signature and ".group" as the section name.
779
6c6783ff 7802002-06-06 J"orn Rennecke <joern.rennecke@superh.com>
9691d64f
JR
781
782 * config/tc-sh.c (parse_at): @(symbol,pc) is A_DISP_PC again,
783 but warn about it.
784 * testsuite/gas/sh/pcrel.s: Also test @(symbol,pc).
785 * testsuite/gas/sh/pcrel.d: Update.
786 * testsuite/gas/sh/pcrel.l: New file.
787
ffdefa66
DJ
7882002-06-06 Daniel Jacobowitz <drow@mvista.com>
789
790 * tc-mips.c (mips_after_parse_args): Always set mips_opts.ase_mips3d
791 and mips_opts.ase_mdmx if they are uninitialized.
792
ec8b3afd
JL
7932002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
794
795 * gas/config/tc-hppa.c (pa_ip): Replace "L$0\001" with FAKE_LABEL_NAME.
796 (hppa_force_relocation): Check if a stub just before the start symbol
797 of the last call_info is reachable before forcing relocation. Fix
798 typo.
799
e9670677
MR
8002002-06-04 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
801
802 * config/tc-mips.c (mips_after_parse_args): New function.
803 (md_begin): Move processing of defaults to mips_after_parse_args.
804 config/tc-mips.h (md_after_parse_args): Define.
805
5b0e55b6
JT
8062002-06-04 Jason Thorpe <thorpej@wasabisystems.com>
807
808 * configure.in (sh5*): Set cpu_type to sh64 and endian to big.
809 (sh5le*, sh64le*): Set cpu_type to sh64 and endian to little.
810 (sh5*-*-netbsd*, sh64*-*-netbsd*): New targets.
811 * configure: Regenerate.
812 * config/tc-sh64.c (sh64_target_format): Add support for NetBSD
813 environment.
814
a074e149
JT
8152002-06-04 Jason Thorpe <thorpej@wasabisystems.com>
816
817 * config/tc-sh64.h (MD_PCREL_FROM_SECTION): Undef before redefining.
818
d2dab548
AM
8192002-06-04 Alan Modra <amodra@bigpond.net.au>
820
821 * config/obj-elf.c (obj_elf_change_section): Set and check elf
822 linkonce flag. Print all warnings.
823 (obj_elf_section): Parse ",comdat" for groups.
824 (elf_frob_file): Set SEC_LINK_ONCE on COMDAT groups. Check
825 consistency of comdat flag.
826
20e130e9
RH
8272002-06-02 Richard Henderson <rth@redhat.com>
828
829 * config/tc-alpha.c (alpha_adjust_symtab_relocs): Fix thinko
830 with LITERALs without sequence numbers.
831
9e756d64
RH
8322002-06-01 Richard Henderson <rth@redhat.com>
833
834 * config/tc-alpha.c: Move LITUSE constants to "elf/alpha.h".
835 Rename them LITUSE_ALPHA_*.
836
3048287a
NC
8372002-05-31 Shrinivas Atre <ShrinivasA@kpit.com>
838
839 * config/tc-h8300.c (get_operand): Allow stm.l and ldm.l insns to
840 accept parentheses enclosed register lists.
841
194b5210
AM
8422002-05-31 Alan Modra <amodra@bigpond.net.au>
843
844 * Makefile.am: Run "make dep-am".
845 * Makefile.in: Regenerate.
846 * po/POTFILES.in: Regenerate.
847
34e97952
AM
8482002-05-31 Graeme Peterson <gp@qnx.com>
849
850 * configure.in: Add i386-*-nto-qnx*.
851 * configure: Regenerate.
852
793b27f4
TS
8532002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
854
855 * config/tc-mips.c (mips_ip): Use unsigned long values for
856 warning output.
857
80245285
TS
8582002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
859
860 * config/tc-mips.c (s_cpsetup): Fix initialization of
861 mips_cpreturn_register and mips_cpreturn_offset.
862
698b7d9d
TS
8632002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
864
865 * config/tc-mips.c (s_cpsetup): Fix comment.
866
76db943d
TS
8672002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
868
869 * config/tc-mips.c (md_begin): Add $ra as alias name for $31.
870 (mips_ip): Likewise.
871 (mips16_ip): Likewise.
872 (tc_get_register): Likewise.
873
deec1734 8742002-05-30 Chris G. Demetriou <cgd@broadcom.com>
a2c36061 875 Ed Satterthwaite <ehs@broadcom.com>
deec1734
CD
876
877 * config/tc-mips.c (mips_set_options): New "ase_mdmx" member.
878 (mips_opts): Initialize "ase_mdmx" member.
879 (file_ase_mdmx): New variable.
880 (CPU_HAS_MDMX): New macro.
881 (md_begin): Initialize mips_opts.ase_mdmx and file_ase_mdmx
882 based on command line options and configuration defaults.
883 (macro_build): Note in comment that use of MDMX in macros is
884 not currently allowed.
885 (validate_mips_insn): Add support for the "O", "Q", "X", "Y", and
886 "Z" MDMX operand types.
887 (mips_ip): Accept MDMX instructions if mips_opts.ase_mdmx is set,
888 and add support for the "O", "Q", "X", "Y", and "Z" MDMX operand
889 types.
890 (OPTION_MDMX, OPTION_NO_MDMX, md_longopts, md_parse_option):
891 Add support for "-mdmx" and "-no-mdmx" options.
892 (OPTION_ELF_BASE): Move to accomodate new options.
893 (s_mipsset): Support ".set mdmx" and ".set nomdmx".
894 (mips_elf_final_processing): Set MDMX ASE ELF header flag if
895 file_ase_mdmx was set.
896 * doc/as.texinfo: Document -mdmx and -no-mdmx options.
897 * doc/c-mips.texi: Likewise, and document ".set mdmx" and ".set
898 nomdmx" directives.
899
9ee72ff1
TS
9002002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
901
902 * config/tc-mips.c (OPTION_NO_M7000_HILO_FIX): Rename to
903 OPTION_MNO_7000_HILO_FIX. Add alternate "mno-fix7000"
904 command line switch conforming to gcc conventions.
905 * doc/c-mips.texi: Document -mno-fix7000 instead of no-mfix-7000.
906
438c16b8
TS
9072002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
908
909 * config/tc-mips.c (macro_build_jalr): New Function.
910 (md_begin): NewABI uses big GOTs.
911 (macro_build): Recognize BFD_RELOC_MIPS_GOT_DISP,
912 BFD_RELOC_MIPS_GOT_PAGE, BFD_RELOC_MIPS_GOT_OFST as valid.
913 (load_address): Add some NewABI PIC support.
914 (macro): Likewise.
915 (md_apply_fix): Special handling for BFD_RELOC_MIPS_JALR.
916 (tc_gen_reloc): Don't encode NewABI vtables in REL relocations.
917
f7ea7ef2
TS
9182002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
919
920 * config/tc-mips.c (load_address): Use mips_gp_register instead
921 of hardcoded value. Remove dbl parameter, use HAVE_32BIT_ADDRESSES
922 instead.
923 (macro): Use mips_gp_register instead of hardcoded value.
924
3765b1be
RH
9252002-05-30 Richard Henderson <rth@redhat.com>
926
927 * expr.h (operatorT): Add O_md17..O_md32.
928 * config/tc-alpha.c (O_lituse_tlsgd, O_lituse_tlsldm, O_tlsgd,
929 O_tlsldm, O_gotdtprel, O_dtprelhi, O_dtprello, O_dtprel, O_gottprel,
930 O_tprelhi, O_tprello, O_tprel): New.
931 (USER_RELOC_P, alpha_reloc_op_tag, debug_exp): Include them.
932 (DUMMY_RELOC_LITUSE_TLSGD, DUMMY_RELOC_LITUSE_TLSLDM): New.
933 (LITUSE_TLSGD, LITUSE_TLSLDM): New.
934 (struct alpha_reloc_tag): Add master, saw_tlsgd, saw_tlsld,
935 saw_lu_tlsgd, saw_lu_tlsldm. Make multi_section_p a bit field.
936 (md_apply_fix3): Handle TLS relocations.
937 (alpha_force_relocation, alpha_fix_adjustable): Likewise.
938 (alpha_adjust_symtab_relocs): Sort LITERAL relocs after the
939 associated TLS reloc. Check lituse_tls relocs match up.
940 (emit_insn): Handle TLS relocations.
941 (ldX_op): Remove.
942
1c5cec28
RH
943 * doc/c-alpha.texi: Add docs for tls relocations.
944
def2e0dd
TS
9452002-05-30 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
946
947 * config/tc-mips.c (mips_gprel_offset): New variable.
948 (s_gpvalue): Use it.
949
8ade06a8
TR
9502002-05-30 Diego Novillo <dnovillo@redhat.com>
951
a2c36061
AM
952 * gas/config/tc-d10v.c (check_resource_conflict): Only check
953 write-write conflicts.
954 (md_assemble): Reformat introductory comment.
955 (parallel_ok): Prevent packing only if the first
956 instruction cannot be packed.
8ade06a8
TR
957
9582002-05-30 Jason Eckhardt <jle@redhat.com>
959 Tom Rix <trix@redhat.com>
960
961 * config/tc-d10v.c (build_insn): Check for immediates.
962
c9914766
TS
9632002-05-28 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
964
965 * config/tc-mips.c: Replace GP in comments by $gp.
966 (mips_big_got): Initialize.
967 (mips_trap): Initialize.
968 (load_address): Use mips_gp_register instead of hardcoded value.
969 Remove dbl parameter, use HAVE_32BIT_ADDRESSES instead.
970 (macro): Use mips_gp_register instead of hardcoded value.
971 (macro2): Change load_address calls.
972 (md_pcrel_from): Comment formatting.
973 (s_cpload): Use mips_gp_register instead of hardcoded value.
974 (s_cprestore): Likewise. Comment formatting.
975 (s_gpword): Fix data type.
976 (s_cpadd): Use mips_gp_register instead of hardcoded value.
977 (nopic_need_relax): Replace GP in comments by $gp.
978 (mips_elf_final_processing): Better comment.
979
d172d4ba
NC
9802002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
981
982 * configure.in: Add DLX configuraton
983 * Makefile.am: Add DLX configuraton
984 * configure: Regenerate.
985 * Makefile.in: Regenerate.
986 * config/tc-dlx.c: New file.
987 * config/tc-dlx.h: New files.
52216602 988 * NEWS: Mention new support.
d172d4ba 989
e9732b6d
NC
9902002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
991
992 * config/obj-coff.c (write_object_file): Add missing semicolon.
993
f9419b05
TS
9942002-05-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
995
996 * config/tc-mips.c (mips_emit_delays): Replace magic constant for RA
997 by the define. Remove superfluous check of mips_opts.mips16.
998 (append_insn): Likewise. Canonicalize variable increments.
999 (macro_build): Canonicalize variable increments.
1000 (macro_build_lui): Likewise.
1001 (load_register): Likewise.
1002 (load_address): Move pointer initialization.
1003 (macro): Move pointer to a more local scope. Canonicalize variable
1004 increments. Better comments. Replace magic constant for RA by the
1005 define.
1006 (macro2): Replace magic constant for RA by the define. Canonicalize
1007 variable increments.
1008 (mips_ip): Canonicalize variable increments.
1009 (mips16_ip): Replace magic constant for RA by the define.
1010 (my_getSmallParser): Canonicalize variable increments/decrements.
1011 (my_getPercentOp): Likewise.
1012 (my_getSmallExpression): Likewise.
1013 (s_align): Likewise.
1014 (s_mipsset): Likewise.
1015 (s_cpsetup): Likewise.
1016 (s_insn): Remove superfluous check of mips_opts.mips16.
1017 (s_mips_stab): Likewise.
1018 (mips_handle_align): Canonicalize variable increments.
1019 (s_mips_ent): Likewise.
1020 (s_mips_end): Add comment.
1021
aa501e5c
JT
10222002-05-26 Jason Thorpe <thorpej@wasabisystems.com>
1023
1024 * configure.in: Use ns32k-*-netbsd* instead of ns32k-pc532-netbsd*.
1025 * configure: Regenerate.
1026
29589b0c
AM
10272002-05-25 Alan Modra <amodra@bigpond.net.au>
1028
1029 * Makefile.am (OBJS): Depend on ansidecl.h and fopen-same.h.
1030 * Makefile.in: Regenerate.
1031 * dep-in.sed: Reorder to match OBJS in Makefile.am.
1032 * configure.in (ALL_OBJ_DEPS): Add symcat.h when need_bfd.
1033 * configure: Regenerate.
1034 * as.h: Use #include "" instead of <> for local header files.
1035 * flonum-konst.c: Likewise.
1036 * flonum-mult.c: Likewise.
1037 * gasp.c: Likewise.
1038 * listing.c: Likewise.
1039 * config/tc-ia64.h: Likewise.
1040 * config/tc-v850.h: Likewise.
1041
436e8db0
NC
10422002-05-24 TAMURA Kent <kent@netbsd.org>
1043
1044 * configure.in: Add a target for i386-netbsdpe.
1045 * configure: Regenerate.
1046
13ae64f3
JJ
10472002-05-23 Jakub Jelinek <jakub@redhat.com>
1048
1049 * config/obj-elf.c (elf_common): Renamed from obj_elf_common.
1050 (obj_elf_common): Call elf_common.
1051 (obj_elf_tls_common): New function.
1052 (elf_pseudo_tab): Support .tls_common.
1053 (special_sections): Add .tdata and .tbss.
1054 (obj_elf_change_section): Set SEC_THREAD_LOCAL for SHF_TLS
1055 sections.
1056 (obj_elf_parse_section_letters): Support T in section flags (SHF_TLS).
1057 (obj_elf_parse_section_letters): Include T in error message.
1058 * config/tc-ppc.c (ppc_section_letter): Likewise.
1059 * config/tc-alpha.c (alpha_elf_section_letter): Likewise.
1060 (tc_gen_reloc): Handle SEC_THREAD_LOCAL the same way as
1061 SEC_MERGE.
1062 * config/tc-sparc.c (md_apply_fix3): Likewise.
1063 * config/tc-i386.c (tc_i386_fix_adjustable): Add TLS relocs.
1064 Define them if not BFD_ASSEMBLER.
1065 (lex_got): Support @TLSGD, @TLSLDM, @GOTTPOFF, @TPOFF, @DTPOFF
1066 and @NTPOFF.
1067 (md_apply_fix3): Add TLS relocs.
1068 * config/tc-ia64.c (enum reloc_func): Add FUNC_DTP_MODULE,
1069 FUNC_DTP_RELATIVE, FUNC_TP_RELATIVE, FUNC_LT_DTP_MODULE,
1070 FUNC_LT_DTP_RELATIVE, FUNC_LT_TP_RELATIVE.
1071 (pseudo_func): Support @dtpmod(), @dtprel() and @tprel().
1072 (ia64_elf_section_letter): Include T in error message.
1073 (md_begin): Support TLS operators.
1074 (md_operand): Likewise.
1075 (ia64_gen_real_reloc_type): Support TLS relocs.
1076 * testsuite/gas/i386/tlspic.s: New file.
1077 * testsuite/gas/i386/tlsd.s: New file.
1078 * testsuite/gas/i386/tlsnopic.s: New file.
1079 * testsuite/gas/i386/tlsd.d: New file.
1080 * testsuite/gas/i386/tlsnopic.d: New file.
1081 * testsuite/gas/i386/tlspic.d: New file.
1082 * testsuite/gas/i386/i386.exp: Add tlsd, tlsnopic and tlspic tests.
1083 * testsuite/gas/ia64/tls.s: New file.
1084 * testsuite/gas/ia64/tls.d: New file.
1085 * testsuite/gas/ia64/ia64.exp: Add tls test.
1086 * write.c (adjust_reloc_syms): Don't change symbols in
1087 SEC_THREAD_LOCAL sections to STT_SECTION + addend.
1088
c62e1cc3
NC
10892002-05-23 Nick Clifton <nickc@cambridge.redhat.com>
1090
1091 * config/tc-arm.c (md_apply_fix3): For the Thumb BLX reloc
1092 round the relocation up rather than down.
1093
6ff96af6
NC
10942002-05-23 Nick Clifton <nickc@cambridge.redhat.com>
1095
1096 * config/obj-coff.c (obj_coff_section): Silently ignore an 'a'
1097 flag.
a2c36061 1098 * doc/as.texinfo: Document that the COFF version of .section
6ff96af6
NC
1099 ignores the 'a' flag.
1100
18e1d487
AM
11012002-05-23 Alan Modra <amodra@bigpond.net.au>
1102
69108c1f
AM
1103 * config/tc-alpha.c (assemble_tokens): Protect use of
1104 ALPHA_RELOC_TABLE with #ifdef RELOC_OP_P.
1105
18e1d487
AM
1106 * write.c (size_seg): Check adjustment to last frag.
1107 (SUB_SEGMENT_ALIGN): If HANDLE_ALIGN defined, pad out last frag to
1108 section alignment.
1109 * config/obj-coff.c (SUB_SEGMENT_ALIGN): Likewise.
1110 * config/obj-ieee.c (SUB_SEGMENT_ALIGN): Likewise.
1111 (write_object_file): Invoke md_do_align if available, and use
1112 frag_align_code on text sections.
1113 * config/obj-vms.h (SUB_SEGMENT_ALIGN): Now two args.
1114 * config/tc-m88k.h (SUB_SEGMENT_ALIGN): Likewise.
1115 * config/tc-ppc.h (SUB_SEGMENT_ALIGN): Likewise.
1116 * config/tc-sh.h (SUB_SEGMENT_ALIGN): Likewise.
1117 * config/tc-i386.h (SUB_SEGMENT_ALIGN): Likewise. Define for
1118 BFD_ASSEMBLER too.
1119
9d66a1d9
L
11202002-05-22 H.J. Lu <hjl@gnu.org>
1121
1122 * dwarf2dbg.c (dwarf2_directive_loc): Call listing_source_file
1123 for source file.
1124
76feaaf3
NC
11252002-05-22 Nick Clifton <nickc@cambridge.redhat.com>
1126
1127 * config/tc-arm.c (arm_s_section): Enable for COFF builds as well
1128 as ELF builds.
1129
1080e97d
L
11302002-05-22 H.J. Lu <hjl@gnu.org>
1131
1132 * dwarf2dbg.c (dwarf2_emit_insn): Emit only one line symbol
1133 for one .loc for compiler.
1134
c90bbe5b
TS
11352002-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1136
1137 * config/tc-mips.c (macro): Relax warning, it's toot strict for
1138 embedded-PIC.
1139
771c7ce4
TS
11402002-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1141
1142 * config/tc-mips.c (macro2): Add 64 bit drol, dror macros.
1143 Optimize the rotate by zero case.
1144
fa70f2ed
NC
11452002-05-21 Nick Clifton <nickc@cambridge.redhat.com>
1146
1147 * configure.in: Remove accidental enabling of bfd_gas=yes for
1148 sh-coff targets.
1149 * configure: Regenerate.
1150
411863a4
KH
11512002-05-18 Kazu Hirata <kazu@cs.umass.edu>
1152
1153 * app.c: Fix formatting.
1154 * as.c: Likewise.
1155 * ehopt.c: Likewise.
1156 * expr.c: Likewise.
1157 * input-file.c: Likewise.
1158 * listing.c: Likewise.
1159 * macro.h: Likewise.
1160 * stabs.c: Likewise.
1161 * symbols.c: Likewise.
1162
eb268f46
AM
11632002-05-17 Alan Modra <amodra@bigpond.net.au>
1164
1165 * config/obj-generic.c: Delete file.
1166 * config/obj-generic.h: Likewise.
1167
bdfdba87
MM
11682002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
1169
1170 * config/tc-avr.c (mcu_types): Update for new devices.
1171
3bec30a8
TS
11722002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1173
1174 * config/tc-mips.c (macro): Warn about wrong la/dla use.
1175
8586fc66
TS
11762002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1177
1178 * config/tc_mips.c (s_cpsetup): Fix completely bogus code which had
1179 worked sometimes by accident. Fix copy&paste comment.
1180
195325d2
TS
11812002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1182
1183 * config/tc-mips.c (md_begin): Fix .reginfo and .MIPS.option section
1184 alignment for NewABI. Let n32 use .reginfo. Remove useless casts.
1185 (mips_elf_final_processing): Let n32 use .reginfo.
1186
4db1a35d
TS
11872002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1188
1189 * config/tc-mips.c (append_insn): Fix too small range of variable.
1190
7f367f01
NC
11912002-05-14 Nick Clifton <nickc@cambridge.redhat.com>
1192
1193 * config/tc-arm.c (arm_cleanup): Remove redundant call to
1194 listing_prev_line().
1195
7193a0e7
NC
11962002-05-13 Nick Clifton <nickc@cambridge.redhat.com>
1197
f5b4e9e4
NC
1198 * config/tc-arm.c (md_assemble): Remove redundant call to
1199 listing_prev().
1200
b6675117
NC
1201 * dwarf2dbg.c (dwarf2_emit_insn): Do not reset
1202 loc_directive_seen.
1203
7193a0e7
NC
1204 * stabs.c (s_stab_generic): Fix grammatical error in warning
1205 message.
1206
50b31228
AM
12072002-05-13 Alan Modra <amodra@bigpond.net.au>
1208
1209 * write.c (subsegs_finish): Don't specially align last subseg.
1210
cce5a618
NC
12112002-05-11 Nick Clifton <nickc@cambridge.redhat.com>
1212
6360824b
NC
1213 * stabs.c (s_stab_generic): Warn about a description field that is
1214 too big.
1215
f8e42b8c
NC
1216 * config/obj-coff.c: Fix compile time warnings when compiling
1217 without BFD_ASSEMBLER defined.
1218 Fix formatting.
1219
cce5a618
NC
1220 * config/tc-sh.c (md_pcrel_from): Define for use with sh-hms
1221 target.
1222 (md_pcrel_from_section): Use md_pcrel_from().
1223
d7c310c2
NC
12242002-05-11 Bruno Haible <bruno@clisp.org>
1225
1226 * dwarf2dbg.c (dwarf2_emit_insn): Use the 'current' struct filled
1227 by dwarf2_directive_loc, instead of calling dwarf2_where.
1228
5d6255fe
KH
12292002-05-11 Kazu Hirata <kazu@cs.umass.edu>
1230
1231 * config/obj-coff.h: Fix formatting.
1232 * config/tc-mcore.c: Likewise.
1233 * config/tc-mn10300.c: Likewise.
1234 * config/tc-openrisc.c: Likewise.
1235 * config/tc-or32.c: Likewise.
1236 * config/tc-pdp11.c: Likewise.
1237 * config/tc-ppc.c: Likewise.
1238 * config/tc-ppc.h: Likewise.
1239 * config/tc-sh64.c: Likewise.
1240 * config/tc-sh.c: Likewise.
1241 * config/tc-tic54x.c: Likewise.
1242 * config/tc-xstormy16.c: Likewise.
1243 * config/tc-xstormy16.h: Likewise.
1244
cc8a6dd0
KH
12452002-05-09 Kazu Hirata <kazu@cs.umass.edu>
1246
1247 * config/obj-coff.c: Fix formatting.
1248 * config/obj-elf.c: Likewise.
1249 * config/tc-alpha.c: Likewise.
1250 * config/tc-arm.c: Likewise.
1251 * config/tc-d10v.c: Likewise.
1252 * config/tc-d30v.c: Likewise.
1253 * config/tc-h8300.c: Likewise.
1254 * config/tc-hppa.c: Likewise.
1255
412167cb
AM
12562002-05-09 Alan Modra <amodra@bigpond.net.au>
1257
1258 * config/tc-i386.c (md_estimate_size_before_relax) Don't lose
1259 reloc when no_cond_jump_promotion.
1260
91975467
JW
12612002-05-08 Jim Wilson <wilson@redhat.com>
1262
1263 * config/tc-i960.c (md_estimate_size_before_relax): Return size of
1264 current variable part of frag.
1265
a1b6236b
KH
12662002-05-08 Kazu Hirata <kazu@cs.umass.edu>
1267
1268 * config/tc-mmix.c: Fix formatting.
1269 * config/tc-mmix.h: Likewise.
1270
c8615825
AM
12712002-05-08 Alan Modra <amodra@bigpond.net.au>
1272
1273 * configure: Regenerate.
1274
8a104df9
KH
12752002-05-07 Kazu Hirata <kazu@cs.umass.edu>
1276
1277 * config/tc-m68k.c: Fix formatting.
1278
d3d8a9ee
NC
12792002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
1280
1281 * Makefile.am: Honour DESTDIR.
1282 * Makefile.in: Regenerate.
1283
40449e9f
KH
12842002-05-06 Kazu Hirata <kazu@cs.umass.edu>
1285
1286 * config/tc-ia64.c: Fix formatting.
1287 * config/tc-ia64.h: Likewise.
1288
98d3f06f
KH
12892002-05-04 Kazu Hirata <kazu@cs.umass.edu>
1290
1291 * config/tc-mips.c: Fix formatting.
1292 * config/tc-s390.c: Likewise.
1293 * config/tc-s390.h: Likewise.
1294
8f5b2891
AO
12952002-05-03 Alexandre Oliva <aoliva@redhat.com>
1296
1297 * config/tc-s390.c (md_gather_operands): Emit dwarf2 line-number
1298 information for instructions.
1299
d1a6c242
KH
13002002-05-02 Kazu Hirata <kazu@cs.umass.edu>
1301
1302 * as.h: Fix formatting.
1303 * cgen.c: Likewise.
1304 * cgen.h: Likewise.
1305 * dwarf2dbg.c: Likewise.
1306 * frags.h: Likewise.
1307 * gasp.c: Likewise.
1308 * macro.c: Likewise.
1309 * read.c: Likewise.
1310 * stabs.c: Likewise.
1311 * symbols.c: Likewise.
1312
1cfc59d5
AM
13132002-05-02 Alan Modra <amodra@bigpond.net.au>
1314
72297628
AM
1315 * app.c (mri_pseudo): Only declare for TC_M68K.
1316
1cfc59d5
AM
1317 * config/tc-ppc.c (mapping): Map sectoff to BFD_RELOC_16_BASEREL.
1318 (ppc_elf_validate_fix): Replace BFD_RELOC_32_BASEREL with
1319 BFD_RELOC_16_BASEREL.
1320 (md_assemble): Likewise.
1321 (md_apply_fix3): Likewise.
1322
358b94bd
NC
13232002-05-02 Nick Clifton <nickc@cambridge.redhat.com>
1324
1325 * config/tc-arm.c (thumb_add_sub): Do not convert a subtract of
1326 zero into an add of zero - it is not the same.
1327
d8731e7d
NC
13282002-05-01 Arati Dikey <aratid@kpit.com>
1329
1330 * tc-sh.c (get_specific): Generate warning if the same
1331 destination register is used in parallel instructions.
1332
200dbde8
AM
13332002-05-01 Andrew Macleod <amacleod@cygnus.com>
1334
1335 * config/tc-i386.c (extra_symbol_chars): Add '[' to the list.
1336
3f3cdb03
AM
13372002-05-01 Alan Modra <amodra@bigpond.net.au>
1338
1339 * write.c (cvt_frag_to_fill): Set fr_offset to zero on .org
1340 backwards to prevent cascading errors.
1341
9b2b7d69
MM
13422002-04-30 Mark Mitchell <mark@codesourcery.com>
1343
1344 * configure.in: Add support for powerpc-*-windiss.
1345 * configure: Regenerated.
a2c36061 1346
0f3f3d8b
AM
13472002-04-28 Alan Modra <amodra@bigpond.net.au>
1348
819e6420
AM
1349 * config/tc-s390.c (md_parse_option): Formatting.
1350
0f3f3d8b
AM
1351 * config/tc-i386.c: Formatting fixes, add missing space in error
1352 message.
1353
3c25c5f6
NC
13542002-04-24 Christian Groessler <chris@groessler.org>
1355
1356 * config/tc-z8k.c (build_bytes): Add support for new cases:
1357 CLASS_IGNORE and ARG_NIM4.
1358 (md_assemble): Prevent destruction of input_line_pointer if
1359 get_operands returns failure.
1360
af55c2e6
CD
13612002-04-24 Chris G. Demetriou <cgd@broadcom.com>
1362
1363 * config/tc-mips.c (macro_build): Do _not_ allow MIPS-3D
1364 instructions to be generated by macros.
1365
062cd5e7
AS
13662002-04-24 Andreas Schwab <schwab@suse.de>
1367
1368 * config/tc-i386.c (output_jump, output_disp)
1369 (md_estimate_size_before_relax): Don't set fx_pcrel_adjust any
1370 more.
1371 (md_apply_fix3): Remember addend value for rela relocations.
1372 (tc_gen_reloc): Correctly compute pc-relative relocation addend.
1373
2b2e39bf
CD
13742002-04-22 Chris Demetriou <cgd@broadcom.com>
1375
1376 * config/tc-mips.c (macro_build): Add close-parenthesis missing
1377 from previous change.
1378
80cc45a5
EC
13792002-04-22 Eric Christopher <echristo@redhat.com>
1380
2b2e39bf
CD
1381 * config/tc-mips.c (macro_build): Add warning if macro instructions
1382 are expanded into a branch delay slot.
80cc45a5 1383
ffa554ed
GK
13842002-04-17 Geoffrey Keating <geoffk@redhat.com>
1385
1386 * dwarf2dbg.c (dwarf2_gen_line_info): Do emit duplicate line
1387 numbers, gdb relies on them to detect the start of the prologue.
1388
302576af
MS
13892002-04-17 Martin Schwidefsky <schwidefsky@de.ibm.com>
1390
1391 * config/tc-s390.c (tc_s390_fix_adjustable): Prevent adjustments to
1392 symbols in merge sections.
1393
0f3f3d8b 13942002-04-16 Alan Modra <amodra@bigpond.net.au>
091e58c1
AM
1395
1396 * as.c (main): Don't reference _bfd_chunksize.
1397
76b999d0
TR
13982002-04-15 Tom Rix <trix@redhat.com>
1399
80cc45a5 1400 * config/tc-d10v.c (d10v_fix_adjustable): Prevent adjustments to
76b999d0
TR
1401 symbols in merge sections.
1402
580a832e
RS
14032002-04-11 Richard Sandiford <rsandifo@redhat.com>
1404
1405 * doc/invoke.texi (TC_LARGEST_EXPONENT_IS_NORMAL): Document.
1406 * config/atof-ieee.c (TC_LARGEST_EXPONENT_IS_NORMAL): Add an
1407 argument for the precision.
1408 (gen_to_words): Update accordingly.
1409
edde18a5
AM
14102002-04-10 Alan Modra <amodra@bigpond.net.au>
1411
1412 * as.c (parse_args <OPTION_VERSION>): Use VERSION is
1413 BFD_VERSION_STRING unavailable.
1414 * config/tc-i386.c (INLINE): Define (for non-BFD assembler).
1415
6c6783ff 14162002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
5bcd00a6
JR
1417
1418 * config/tc-sh.h (TC_FIX_ADJUSTABLE): Disable adjusting if
1419 symbol_used_in_reloc_p is true.
2ed5f585
JR
1420
1421 * config/tc-sh.c (md_apply_fix3): Don't zero relocations on big
1422 endian hosts.
1423
8e42bcb6
AM
14242002-04-04 Alan Modra <amodra@bigpond.net.au>
1425
1426 * dep-in.sed: Cope with absolute paths.
1427 * Makefile.am (dep.sed): Subst TOPDIR.
1428 Run "make dep-am".
1429 * Makefile.in: Regenerate.
1430
874e8986
TS
14312002-04-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1432
1433 * config/tc-mips.c (mips16_macro_build): Cast type mismatch.
1434 (mips_ip): Remove unused variable.
1435 (md_apply_fix3): Cast signed/unsignes mismatches. Replace
1436 unsigned char with bfd_byte.
1437 (s_file): Remove unused variable.
1438 (s_mips_ent): Likewise.
1439
fbdbf472
TR
14402002-04-03 Tom Rix <trix@redhat.com>
1441
1442 * config/tc-d10v.c (d10v_insert_operand): Fix warning in as_bad_where.
1443 (build_insn): Same.
1444 (find_opcode): Fix warning in as_warn.
1445 * config/tc-d10v.h: Update Copyright.
1446
14472002-04-03 Alan Matsuoka <alanm@redhat.com>
1448 Tom Rix <trix@redhat.com>
1449
1450 From Jeff Knaggs <jknaggs@redhat.com>
80cc45a5 1451 * config/tc-d10v.c (check_resource_conflict): New function to
fbdbf472
TR
1452 check for resource conflicts.
1453
1454 From Jason Eckhardt <jle@redhat.com>
a2c36061
AM
1455 * config/tc-d10v.c (build_insn): Check for unresolved imm4 or
1456 imm3 fields.
1457 * config/tc-d10v.c (find_opcode): Emit a warning if one of the
1458 reserved control registers is used.
1459 * config/tc-d10v.c (build_insn): Check for unresolved imm4 or
1460 imm3 fields.
fbdbf472
TR
1461
1462 From 2001-03-28 Diego Novillo <dnovillo@redhat.com>
a2c36061
AM
1463 * tc-d10v.c (parallel_ok): Prevent packing only if the first
1464 instruction cannot be packed.
fbdbf472
TR
1465
1466 From 2001-03-30 Diego Novillo <dnovillo@redhat.com>
a2c36061
AM
1467 * gas/config/tc-d10v.c (check_resource_conflict): Only check
1468 write-write conflicts.
1469 (md_assemble): Reformat introductory comment.
1470 * opcodes/d10v-opc.c (d10v_opcodes): `btsti' does not modify its
1471 arguments.
fbdbf472 1472
784b640d
AM
14732002-04-03 Alan Modra <amodra@bigpond.net.au>
1474
1475 * symbols.c (resolve_symbol_value <O_uminus, O_bit_not,
1476 O_logical_not>): Derive final_seg from add_symbol.
1477 <O_multiply..O_logical_or>: More final_seg twiddles.
1478
5f44c186
RH
14792002-04-01 Jessica Han <jessica@cup.hp.com>
1480
a2c36061 1481 * config/tc-ia64.c (ia64_cons_fix_new): Handle 8 byte iplt reloc
5f44c186
RH
1482 in 32-bit mode.
1483
3458b54c
AS
14842002-03-27 Andreas Schwab <schwab@suse.de>
1485
1486 * config/tc-i386.c (output_jump): Set fx_pcrel_adjust to size of
1487 field for pc-relative fixups.
1488 (output_disp): Likewise.
1489 (md_estimate_size_before_relax): Likewise.
1490 (tc_gen_reloc): Subtract fx_pcrel_adjust instead of fx_size for
1491 pc-relative fixups in 64bit mode.
1492
815b453c
AM
14932002-03-22 Alan Modra <amodra@bigpond.net.au>
1494
1495 * config/te-aix5.h: Typo fix.
1496
d5b32339
AM
14972002-03-21 Alan Modra <amodra@bigpond.net.au>
1498
1499 * Makefile.am: Run "make dep-am".
1500 * Makefile.in: Regenerate.
1501 * doc/Makefile.in: Regenerate.
1502
f201ccb3
NC
15032002-03-20 Albert Chin-A-Young <china@thewrittenword.com>
1504
1505 * config/tc-arm.c (vfp_dp_reg_required_here): Fix typo
1506 (vfp_sp_reg_pos -> vfp_dp_reg_pos).
1507
177b4a6a
AO
15082002-03-18 Alexandre Oliva <aoliva@redhat.com>
1509
1510 * config/tc-mips.c (md_estimate_size_before_relax): Do not modify
1511 the EXTENDED bit here; report the estimate according to the
1512 current size.
1513
eb1e0e80
NC
15142002-03-18 Tom Rix <trix@redhat.com>
1515
1516 * configure.in: Add AIX 5 support.
1517 * config/tc-ppc.c (ppc_target_format): Add AIX 5 64 bit target.
1518 * config/te-aix5.h: New file. AIX 5 support.
1519 * configure: Regenerate.
1520
a1c259a1
NC
15212002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
1522
1523 * po/fr.po: Updated version.
1524
949f2b5c
AJ
15252002-03-16 Andreas Jaeger <aj@suse.de>
1526
1527 * doc/c-mips.texi (Machine Dependencies): Add new node.
1528
1f25f5d3
CD
15292002-03-15 Chris G. Demetriou <cgd@broadcom.com>
1530
1531 * config/tc-mips.c (mips_set_options): New "ase_mips3d" member.
1532 (mips_opts): Initialize "ase_mips3d" member.
1533 (file_ase_mips3d): New variable.
1534 (CPU_HAS_MIPS3D): New macro.
1535 (md_begin): Initialize mips_opts.ase_mips3d and file_ase_mips3d
1536 based on command line options and configuration defaults.
1537 (macro_build, mips_ip): Accept MIPS-3D instructions if
1538 mips_opts.ase_mips3d is set.
1539 (OPTION_MIPS3D, OPTION_NO_MIPS3D, md_longopts, md_parse_option):
1540 Add support for "-mips3d" and "-no-mips3d" options.
1541 (OPTION_ELF_BASE): Move to accomodate new options.
1542 (s_mipsset): Support ".set mips3d" and ".set nomips3d".
1543 (mips_elf_final_processing): Add a comment indicating that a
1544 MIPS-3D ASE ELF header flag should be set, when one exists.
1545 * doc/as.texinfo: Document -mips3d and -no-mips3d options.
1546 * doc/c-mips.texi: Likewise, and document ".set mips3d" and ".set
1547 nomips3d" directives.
949f2b5c 1548
2be11e7e
HPN
15492002-03-14 Hans-Peter Nilsson <hp@bitrange.com>
1550
1551 * config/tc-mmix.c (md_estimate_size_before_relax): Don't consider
1552 a weak symbol in same section to be within reach.
1553
9ce88e60
NC
15542002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
1555
1556 * po/fr.po: Updated version.
1557
1e16b528
AS
15582002-03-12 Andreas Schwab <schwab@suse.de>
1559
1560 * config/tc-ia64.c (fixup_unw_records): Clear region when seeing a
1561 body record so that an error is given for misplaced .save
1562 pseudo-ops.
1563
29b0f896
AM
15642002-03-09 Alan Modra <amodra@bigpond.net.au>
1565
1566 * config/tc-i386.h (REX_OPCODE): Define.
1567 (REX_MODE64, REX_EXTX, REX_EXTY, REX_EXTZ): Define.
1568 (rex_byte): typedef to int.
1569 * config/tc-i386.c: Group prototypes and vars together.
1570 Formatting fixes. Remove occurrences of "register" keyword.
1571 (true): Delete.
1572 (false): Delete.
1573 (mode_from_disp_size): Add INLINE keyword to prototype.
1574 (fits_in_signed_byte): Likewise.
1575 (fits_in_unsigned_byte): Likewise.
1576 (fits_in_unsigned_word): Likewise.
1577 (fits_in_signed_word): Likewise.
1578 (fits_in_unsigned_long): Likewise.
1579 (fits_in_signed_long): Likewise.
1580 (type_names): Constify.
1581 (intel_float_operand): Constify param.
1582 (add_prefix): Use REX_OPCODE.
1583 (md_assemble): Likewise. Modify for changed rex_byte.
1584 (parse_insn): Split out of md_assemble.
1585 (parse_operands): Likewise.
1586 (swap_operands): Likewise.
1587 (optimize_imm): Likewise.
1588 (optimize_disp): Likewise.
1589 (match_template): Likewise.
1590 (check_string): Likewise.
1591 (process_suffix): Likewise.
1592 (check_byte_reg): Likewise.
1593 (check_long_reg): Likewise.
1594 (check_qword_reg): Likewise.
1595 (check_word_reg): Likewise.
1596 (finalize_imm): Likewise.
1597 (process_operands): Likewise.
1598 (build_modrm_byte): Likewise.
1599 (output_insn): Likewise.
1600 (output_branch): Likewise.
1601 (output_jump): Likewise.
1602 (output_interseg_jump): Likewise.
1603 (output_disp): Likewise.
1604 (output_imm): Likewise.
1605
2e64b665
DJ
16062002-03-07 Daniel Jacobowitz <drow@mvista.com>
1607
1608 * doc/as.texinfo: Wrap @menu in @ifnottex, not @ifinfo.
1609
937149dd
AM
16102002-03-06 Alan Modra <amodra@bigpond.net.au>
1611
1612 * config/tc-i386.c (tc_gen_reloc): Don't attempt to handle 8 byte
1613 relocs except when BFD64.
1614
1615 * write.c (number_to_chars_bigendian): Don't abort when N is
1616 larger than sizeof (VAL).
1617 (number_to_chars_littleendian): Likewise.
1618
40d74fb1
JL
16192002-03-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
1620
1621 * config/tc-hppa.c (md_apply_fix3): Add cast.
1622 (hppa_fix_adjustable): Adjust list of selectors using e_lrsel and
1623 e_rrsel.
1624
cd3cde86
AM
16252002-03-05 Paul Koning <pkoning@equallogic.com>
1626
1627 * tc-pdp11.c: Use VAX float format support for PDP-11 target.
1628 (parse_ac5): New function for parsing float regs in float operand.
1629 (parse_expression): Remove attempt to make literals be octal.
1630 (parse_op_no_deferred): Support float literals.
1631 (parse_op): Reject attempts to refer to float regs.
1632 (parse_fop): New function, like parse_op but for float operand.
949f2b5c 1633 (md_assemble): Add cases to parse float operands. Also fix
cd3cde86
AM
1634 IMM3, IMM6, IMM8 cases to pick up the operand from the right spot.
1635
e9682144
L
16362002-03-04 H.J. Lu <hjl@gnu.org>
1637
1638 * config/obj-elf.c (special_section): Add .init_array,
1639 .fini_array and .preinit_array.
1640
1641 * config/tc-ia64.h (ELF_TC_SPECIAL_SECTIONS): Remove
1642 .init_array and .fini_array.
1643
26eb4093
JJ
16442002-03-01 Jakub Jelinek <jakub@redhat.com>
1645
1646 * config/obj-elf.c (elf_copy_symbol_attributes): Don't copy
1647 visibility.
1648 (obj_frob_symbol): Copy visibility.
1649
559e22f3
JJ
16502002-02-28 Jakub Jelinek <jakub@redhat.com>
1651
1652 * config/tc-alpha.c (s_alpha_text): Use obj_elf_text for OBJ_ELF, not
1653 s_text.
1654 (s_alpha_data): Use obj_elf_data for OBJ_ELF, not s_data.
1655
ef412327
NC
16562002-02-27 Nick Clifton <nickc@cambridge.redhat.com>
1657
1658 * po/es.po: Updated.
1659
b25a253c
CD
16602002-02-26 Chris Demetriou <cgd@broadcom.com>
1661
1662 * config/tc-mips.c (mips_need_elf_addend_fixup): For embedded-PIC
1663 only, undo the changes made on 2001-06-08, with the
1664 effect being that common or extern symbols are
1665 adjusted for embedded-PIC, but weak symbols are not.
1666 (md_estimate_size_before_relax: Likewise, with the effect
1667 that extern symbols are treated the same as weak symbols
1668 only if not embedded-PIC.
1669 (mips_fix_adjustable) Likewise, with the effect that
1670 weak or extern symbols are not adjusted for embedded-PIC.
1671 (md_apply_fix3): Tweak so that the case where value is zero
1672 is handled more correctly for embedded-PIC code.
1673
fe41178f
NC
16742002-02-26 Nick Clifton <nickc@cambridge.redhat.com>
1675
587fe2b3
NC
1676 * doc/as.texinfo (Overview): Add missing @ifset IA64
1677
fe41178f
NC
1678 * configure.in (LINGUAS): Add es.po.
1679 * configure: Regenerate.
1680 * po/es.po: New file.
1681
4d34fb5f
TS
16822002-02-25 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1683
1684 * config/tc-mips.c (set_at): Fix handling of 64bit register loads.
1685 (macro): Likewise. Fix la/dla address expansions for EMBEDDED_PIC
1686 and NO_PIC cases. Code cleanup.
1687 (macro2): Fix handling of 64bit register loads.
1688
9e32ca89
NC
16892002-02-25 David Mosberger <davidm@hpl.hp.com>
1690
1691 * doc/as.texinfo: Add entry for IA64.
1692 * doc/c-ia64.texi: New file.
1693
23e1d84c
AM
16942002-02-25 Alan Modra <amodra@bigpond.net.au>
1695
c7d004c5
AM
1696 * config/tc-hppa.c: Update copyright date.
1697
1698 * doc/c-ppc.texi (PowerPC-Opts): Add -mpower4, -maltivec and -m7400
23e1d84c
AM
1699 Remove references to chip manufacturers.
1700 * config/tc-ppc.c (md_parse_option): Handle -mpower4 option.
1701 Correct comments.
1702 (md_show_usage): Remove references to chip manufacturers. Mention
1703 -mpower4.
1704 (md_begin): Test power4 opcode flag bits.
1705
b1c6bf70 17062002-02-22 David Mosberger <davidm@hpl.hp.com>
6290819d
NC
1707
1708 * config/tc-ia64.c (dot_restore): Issue error message of epilogue
1709 count exceeds prologue count.
1710 (md_show_usage): Describe -mconstant-gp and -mauto-pic.
1711 (unwind.label_prologue_count): New member.
1712
1713 Based on a patch by Hans Boehm <hboehm@hpl.hp.com>:
1714
1715 (get_saved_prologue_count): New function.
1716 (save_prologue_count): New function.
1717 (free_saved_prologue_count): New function.
1718 (dot_label_state): Record state label by calling save_prologue_count().
1719 (dot_copy_state): Restore prologue count by calling
1720 get_saved_prologue_count().
1721 (generate_unwind_image): Free up list of saved prologue
1722 counts by calling free_saved_prologue_counts().
1723
f1e7a2c9
NC
17242002-02-22 Nick Clifton <nickc@cambridge.redhat.com>
1725
1726 * config/tc-tic54x.c: Add missing prototypes and remove ANSI style
1727 function declarations.
1728
3f965e60
NC
17292002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
1730
1731 * NEWS: Note that GASP is now deprecated.
1732 * Makefile.am: Do not build gasp-new by default.
1733 * Makefile.in: Regenerate.
1734 * doc/Makefile.am: Do not install gasp.info.
1735 * doc/Makefile.in: Regenerate.
1736 * gas/gasp.texi: Note that gasp is now deprecated.
1737
9a66911f
NC
17382002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
1739
1740 * NEWS: Mark 2.12 branch.
1741
f88fd9fe
TT
17422002-02-19 Tom Tromey <tromey@redhat.com>
1743
1744 * config/tc-xstormy16.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
1745
da0e507f
TS
17462002-02-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1747
1748 * config/tc-mips.c (md_parse_option): Complain about invalid -mabi
1749 option input.
1750
ff0fb565
MS
17512002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
1752
1753 * config/tc-s390.c (md_parse_option): Add switches -m31 and -m64.
1754 Make bit size independent of architecture switch.
1755 (md_begin): Add warning for -m64 with -Aesa.
1756 (s390_md_end): Use renamed architecture defines.
1757
a245a9aa
DJ
17582002-02-18 Daniel Jacobowitz <drow@mvista.com>
1759
1760 * config/obj-coff.h: Check !target_big_endian, not shl, for coff-sh.
1761
8bf549a8
NC
17622002-02-16 Nick Clifton <nickc@cambridge.redhat.com>
1763
1764 * doc/as.texinfo (Machine Dependencies): Fix typo: MMIX used
1765 instead of CRIS.
1766
9151e8bf
CD
17672002-02-15 Chris Demetriou <cgd@broadcom.com>
1768
a2c36061 1769 * config/tc-mips.c (md_estimate_size_before_relax): Really
9151e8bf
CD
1770 make sure we treat weak like extern only for ELF. (Fixes
1771 patch from 2001-07-25.)
1772
59455fb1
BE
17732002-02-15 Ben Elliston <bje@redhat.com>
1774
1775 * doc/as.texinfo: Add duplicate directory entry so that "info gas"
1776 works as expected.
1777
49fda6c8
HPN
17782002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
1779
1780 * NEWS: Mention support for MMIX.
1781
2d2bf3e0
CD
17822002-02-13 Chris Demetriou <cgd@broadcom.com>
1783
1784 * config/tc-mips.c (mips_need_elf_addend_fixup): Restructure into
1785 a sequence of indpendent 'if' statements for easier debugging
1786 and future modification.
1787
76f57f3a
JT
17882002-02-13 Matt Fredette <fredette@netbsd.org>
1789
1790 * config/tc-m68k.c (md_show_usage): No longer display a
1791 hard-coded "68020" for the default CPU, instead display the
1792 canonical name of the true, configured default CPU.
1793 (m68k_elf_final_processing): Mark objects for sub-68020
1794 CPUs with the new EF_M68000 flag.
1795
3bf057fa
AS
17962002-02-13 Andreas Schwab <schwab@suse.de>
1797
1798 * config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust
1799 pc-relative relocations to merge sections in 64-bit mode.
1800
6334e312 18012002-02-13 Ben Elliston <bje@redhat.com>
1ac57253
BE
1802
1803 * NEWS: Document floating point number handling in gasp.
1804 * gasp.c: Include <assert.h> and "xregex.h".
1805 (is_flonum): New function.
1806 (chew_flownum): Likewise.
1807 (change_base): Consume flonums from the input, where possible.
1808 * doc/gasp.texi (Constants): Document floating point numbers.
1809
3dcfe21d
AM
18102002-02-12 John David Anglin <dave@hiauly1.hia.nrc.ca>
1811
1812 * config/tc-hppa.c (hppa_fix_adjustable): Don't adjust final types
1813 that implicitly use LR and RR selectors.
1814
913572ec
AO
18152002-02-12 Alexandre Oliva <aoliva@redhat.com>
1816
1817 * config/tc-mn10300.c (other_registers): Added `epsw'. Mark `pc'
1818 and `epsw' as available on AM33 and above only.
1819 (other_register_name): Add logic to handle machine type encoded in
1820 reg_number.
1821
9b90b531
TR
18222002-02-11 Tom Rix <trix@redhat.com>
1823
949f2b5c 1824 * config/tc-ppc.c (md_apply_fix3): Check for insert fop invalid for
9b90b531
TR
1825 xcoff64.
1826
6c6783ff 18272002-06-11 Alexandre Oliva <aoliva@redhat.com>
6c1b24e4
AO
1828
1829 * config/tc-sparc.c (U0x80000000, U0xffffffff): New constants.
1830 Use all over.
1831
6c6783ff 18322002-02-11 Jan Hubicka <jh@suse.cz>
7ecd2f8b
JH
1833
1834 * i386.c (md_assemble): Support 32bit address prefix.
1835 (i386_displacement): Likewise.
1836 (i386_index_check): Accept 32bit addressing in 64bit mode.
1837
7eb27ef2
AO
18382002-02-11 Alexandre Oliva <aoliva@redhat.com>
1839
1840 * config/tc-sh.c (dot): Removed unused function.
1841
fa702524
AM
18422002-02-11 Alan Modra <amodra@bigpond.net.au>
1843
1844 * Makefile.am: "make dep-am".
1845 * Makefile.in: Regenerate.
1846 * aclocal.m4: Regenerate.
1847 * config.in: Regenerate.
1848 * configure: Regenerate.
1849 * doc/Makefile.in: Regenerate.
1850
625e1353
RH
18512002-02-10 Richard Henderson <rth@redhat.com>
1852
1853 * doc/c-alpha.texi: New file.
1854 * doc/Makefile.am (CPU_DOCS): Add it.
1855 * doc/all.texi, doc/as.texinfo: Add hooks for Alpha.
1856
543833df
RH
18572002-02-09 Richard Henderson <rth@redhat.com>
1858
1859 * config/tc-alpha.c (O_samegp): New.
1860 (USER_RELOC_P): Include it.
1861 (alpha_reloc_op_tag, debug_exp, find_macro_match): Add it.
1862 (md_apply_fix3): Handle BFD_RELOC_ALPHA_BRSGP.
1863 (alpha_force_relocation, alpha_fix_adjustable): Likewise.
1864 (alpha_validate_fix): New.
1865 * config/tc-alpha.h (TC_VALIDATE_FIX): New.
1866
328eb32e
HPN
18672002-02-09 Hans-Peter Nilsson <hp@axis.com>
1868
1869 * doc/c-cris.texi: New.
1870 * doc/all.texi: @set CRIS.
1871 * doc/as.texinfo: Ditto. Add CRIS gas manpage option overview.
1872 Include c-cris.texi.
1873 * doc/Makefile.am (CPU_DOCS): Add c-cris.texi
1874 * doc/Makefile.in: Regenerate.
1875
6373ee54
CD
18762002-02-08 Chris Demetriou <cgd@broadcom.com>
1877
1878 * config/tc-mips.c (IS_SEXT_32BIT_NUM): New macro to
1879 determine if a number is a sign-extended 32-bit number.
1880 (load_register): Use IS_SEXT_32BIT_NUM.
1881 (macro): Check if load/store macro handling is using a
1882 constant 32-bit address on 64-bit address systems, and if
1883 so optimize the generation of that address.
1884
50a4c611
RH
18852002-02-08 Richard Henderson <rth@redhat.com>
1886
1887 * config/tc-alpha.c (alpha_force_relocation): Don't assert that
1888 we've eliminated all foreign relocation types yet.
1889 (alpha_fix_adjustable): Likewise.
1890
324bfcf3
AO
18912002-02-08 Alexandre Oliva <aoliva@redhat.com>
1892
1893 Contribute sh64-elf.
1894 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
1895 Stephen Clarke <Stephen.Clarke@st.com>
1896 * doc/c-sh64.texi: Fix citation of SH64 architecture manual.
1897 2002-01-31 Alexandre Oliva <aoliva@redhat.com>
1898 * config/tc-sh.c (md_relax_table): Added default sizes for
1899 non-PC-relative UNDEF_MOVI, and relaxation sequences for
1900 MOVI_16, MOVI_32 and MOVI_48.
1901 * config/tc-sh64.c (shmedia_md_apply_fix3): Fix warning.
1902 (shmedia_md_convert_frag): Handle non-PC-relative UNDEF_MOVI
1903 and MOVI_16.
1904 (shmedia_md_estimate_size_before_relax): Remove redundant
1905 blocks. Set fragP->fr_var even if relaxation type unchanged.
1906 Retain UNDEF_MOVI until expression decays to number.
1907 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
1908 * config/tc-sh64.c (shmedia_init_reloc): Handle new SHmedia PIC
1909 relocation types. Take fixP->fx_addnumber into account too.
1910 (shmedia_md_apply_fix): Likewise.
1911 (shmedia_md_convert_frag): Likewise.
1912 (shmedia_build_Mytes): Likewise.
1913 (sh64_consume_datalabel): Complain about nested datalabel.
1914 Support PIC relocs. Call sh_parse_name.
1915 * config/tc-sh64.h (TC_RELOC_RTSYM_LOC_FIXUP): Extend definition
1916 in tc-sh.h to SHmedia reloc types.
1917 * config/tc-sh.c (SH64PCRELPLT, MOVI_PLT, MOVI_GOTOFF,
1918 MOVI_GOTPC): New relaxation constants.
1919 (md_relax_table): Introduce relaxation directives for PIC-related
1920 constants.
1921 (sh_PIC_related_p): Handle datalabel.
1922 (sh_check_fixup): Choose SH5 PIC relocations.
1923 (sh_cons_fix_new): Added BDF_RELOC_64.
1924 (md_apply_fix3, sh_parse_name): Handle GOTPLT.
1925 2002-01-18 Alexandre Oliva <aoliva@redhat.com>
1926 * config/tc-sh64.c (sh64_max_mem_for_rs_align_code): If the
1927 current ISA is SHmedia, get 7 bytes.
1928 2001-11-28 Nick Clifton <nickc@cambridge.redhat.com>
1929 * config/tc-sh.c (md_apply_fix3): Treat shmedia_md_apply_fix3 as a
1930 void function.
1931 * config/tc-sh64.c (shmedia_apply_fix): Rename to
1932 shmedia_apply_fix3 and make void.
1933 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
1934 * config/tc-sh64.c (s_sh64_abi): Remove unused arguments passed to
1935 as_bad.
1936 2001-04-12 Alexandre Oliva <aoliva@redhat.com>
1937 * config/tc-sh64.h (md_parse_name): Take &c as argument.
1938 2001-03-14 DJ Delorie <dj@redhat.com>
1939 * doc/Makefile.am (CPU_DOCS): Added c-sh64.texi
1940 * doc/Makefile.in(CPU_DOCS): Ditto.
1941 * doc/c-sh64.texi: New file.
1942 * doc/as.texinfo: Add SH64 support.
1943 2001-03-13 DJ Delorie <dj@redhat.com>
1944 * config/tc-sh64.c (shmedia_get_operands): Rename A_RESV_Fx to
1945 A_REUSE_PREV so that its purpose is more obvious.
1946 (shmedia_build_Mytes): Ditto.
1947 2001-03-07 DJ Delorie <dj@redhat.com>
1948 * config/tc-sh64.c (sh64_vtable_entry): New, strip datalabels
1949 before processing.
1950 (sh64_vtable_inherit): Ditto.
1951 (strip_datalabels): New, strip "datalabel" from given line.
1952 * config/tc-sh.c (md_pseudo_table): Add sh64-specific vtable
1953 pseudos.
1954 2001-03-06 Hans-Peter Nilsson <hpn@cygnus.com>
1955 * config/tc-sh64.c (shmedia_md_assemble): Move dwarf2_emit_insn
1956 call ...
1957 (shmedia_build_Mytes): ... to here.
1958 2001-03-06 DJ Delorie <dj@redhat.com>
1959 * config/tc-sh.c: Remove sh64-specific uaquad now that there
1960 is a generic one.
1961 2001-01-21 Hans-Peter Nilsson <hpn@cygnus.com>
1962 * config/tc-sh64.h (DWARF2_LINE_MIN_INSN_LENGTH): Override.
1963 * config/tc-sh64.c (shmedia_md_assemble): Offset recorded insn
1964 address by one in call to dwarf2_emit_insn.
1965 2001-01-13 Hans-Peter Nilsson <hpn@cygnus.com>
1966 Implement ".abi" pseudo and correct .cranges descriptors. Correct
1967 alignment handling broken by imported changes.
1968 * config/tc-sh64.h (HANDLE_ALIGN): Override definition in tc-sh.h.
1969 (sh64_handle_align): Declare.
1970 (MAX_MEM_FOR_RS_ALIGN_CODE): Override definition in tc-sh.h.
1971 (sh64_max_mem_for_rs_align_code): Declare.
1972 (enum sh64_isa_values): Moved here from tc-sh64.c.
1973 (md_do_align): Define.
1974 (sh64_do_align): Declare.
1975 (struct sh64_tc_frag_data): New.
1976 (TC_FRAG_TYPE): Change to struct sh64_tc_frag_data. Users
1977 changed.
1978 (TC_FRAG_INIT): Change to set new datatype.
1979 (struct sh64_segment_info_type): Rename member
1980 last_flushed_location to last_contents_mark. All users changed.
1981 (md_elf_section_change_hook, TC_CONS_FIX_NEW): Do not define.
1982 (shmedia_elf_new_section, sh64_tc_cons_fix_new): Do not prototype.
1983 * config/tc-sh.c (md_pseudo_table): Add ".abi".
1984 (sh_elf_cons) [HAVE_SH64]: Call sh64_update_contents_mark instead
1985 of unsetting seen_insn.
1986 (md_assemble) [HAVE_SH64] <before new SHcompact sequence>: Also
1987 call sh64_update_contents_mark.
1988 (sh_handle_align): Remove HAVE_SH64-conditioned code.
1989 * config/tc-sh64.c (sh64_isa_mode): Correct type from boolean to
1990 enum sh64_isa_values.
1991 (sh64_set_contents_type): Drop segT parameter. All callers changed.
1992 (emitting_crange): Boolean guard moved to file scope from function
1993 scope in sh64_set_contents_type.
1994 (s_sh64_abi): New.
1995 (sh64_update_contents_mark): New; most split out from
1996 sh64_flush_pending_output.
1997 (shmedia_md_end): Call sh64_update_contents_mark. Set
1998 sh64_isa_mode to sh64_isa_sh5_guard unless sh64_isa_unspecified.
1999 (sh64_do_align): New function.
2000 (sh64_max_mem_for_rs_align_code): New function.
2001 (sh64_handle_align): Rename from shmedia_do_align. Make
2002 non-static. Add head comment. Emit zero bytes for n bytes modulo
2003 four. Change return-type to void.
2004 (shmedia_elf_new_section): Remove.
2005 (shmedia_md_assemble): Call sh64_update_contents_mark.
2006 (s_sh64_mode): Ditto. Do not call md_flush_pending_output. Make
2007 new frag. Call sh64_update_contents_mark after making the new
2008 frag.
2009 (sh64_flush_pending_output): Just call sh64_update_contents_mark
2010 and sh_flush_pending_output.
2011 (sh64_flag_output): Also call md_flush_pending_output, but add
2012 condition on not emitting_crange.
2013 (sh64_tc_cons_fix_new): Remove.
2014 2001-01-12 Nick Clifton <nickc@redhat.com>
2015 * config/tc-sh64.c (shmedia_do_align): Fix to work with new
2016 alignment handling scheme imported from sourceware.
2017 2001-01-12 Hans-Peter Nilsson <hpn@cygnus.com>
2018 * config/tc-sh64.h (TARGET_FORMAT): Define.
2019 (sh64_target_format): Prototype.
2020 * config/tc-sh64.c (sh64_target_mach): New function.
2021 2001-01-07 Hans-Peter Nilsson <hpn@cygnus.com>
2022 * config/tc-sh64.c (shmedia_md_end): When equating a symbol, use
2023 zero_address_frag instead of copying the frag of the symbol.
2024 (shmedia_frob_file_before_adjust): Ditto.
2025 (shmedia_md_apply_fix) <case BFD_RELOC_SH_IMM_MEDLOW16>: Cast mask
2026 to valueT to remove signedness.
2027 (shmedia_md_convert_frag): Add parameter final. Rename parameter
2028 headers to output_bfd. Do not evaluate symbols if final is false;
2029 do emit fixups.
2030 (shmedia_md_estimate_size_before_relax) <case C (MOVI_IMM_32,
2031 UNDEF_MOVI) et al>: If symbol cannot be modified to be PC-relative
2032 to the current frag, call shmedia_md_convert_frag to emit fixups
2033 and make frag_wane neutralize the frag. Update comments.
2034 * config/tc-sh.c (md_convert_frag): Change caller of
2035 shmedia_md_convert_frag.
2036 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
2037 * config/tc-sh64.h: Tweak comments and correct formatting.
2038 * config/tc-sh64.c: Ditto.
2039 (shmedia_md_convert_frag) <PT/PTA/PTB 32, 48 and 64 bit
2040 expansion, MOVI pcrel expansion>: Fix thinko calculating offset
2041 for the no-relocation case.
2042 (shmedia_check_limits): Fix range check being off-by-one for PTA.
2043 * config/tc-sh.c: Ditto. Add proper comments to #ifdef/#ifndef
2044 wrappers.
2045 (SH64PCREL16_F): Increment for proper max-PTA handling. Update
2046 comment.
2047 (SH64PCREL16_M, MOVI_16_M): Correct range thinko.
2048 (SH64PCREL48_M, MOVI_48_M): Similar; don't count in length of
2049 expansion.
2050 (SH64PCREL32_M, MOVI_32_M): Ditto; handle overflowing expression.
2051 Correct comment.
2052 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
2053 * config/tc-sh64.c (shmedia_md_apply_fix) <second switch, case
2054 BFD_RELOC_SH_PT_16>: Set lowest bit in field to be relocated to 1.
2055 (shmedia_md_convert_frag) <case C (SH64PCREL16_32, SH64PCREL16) et
2056 al>: Set lowest bit of field to relocate to 1 and rest to empty,
949f2b5c 2057 if reloc is emitted.
324bfcf3
AO
2058 2000-12-31 Hans-Peter Nilsson <hpn@cygnus.com>
2059 New options plus bugfixes.
2060 * config/tc-sh.c (md_longopts): New options "-no-expand" and
2061 "-expand-pt32".
2062 (md_parse_option): Handle new options.
2063 (md_show_usage): Add blurb for new options.
2064 * config/tc-sh64.c (SHMEDIA_BFD_RELOC_PT): New macro.
2065 (sh64_expand, sh64_pt32): New variables.
2066 (shmedia_init_reloc): Handle BFD_RELOC_SH_PT_16.
2067 (shmedia_md_apply_fix): Hold original fixP->fx_r_type in
2068 orig_fx_r_type. Change SHMEDIA_BFD_RELOC_PT into
2069 BFD_RELOC_SH_PT_16. Handle BFD_RELOC_SH_PT_16 as pc-relative.
2070 <resolved previously-pc-relative relocs>: Handle
2071 SHMEDIA_BFD_RELOC_PT and BFD_RELOC_SH_PT_16.
2072 (shmedia_md_convert_frag) <case C (SH64PCREL16PT_64, SH64PCREL16),
2073 case C (SH64PCREL16PT_32, SH64PCREL16)>: Modify to PTB if operand
2074 points to SHcompact code.
2075 <case C (SH64PCREL16_32, SH64PCREL16), case C (SH64PCREL16_64,
2076 SH64PCREL16)>: Check that ISA of what operand points at and
2077 PTA/PTB matches, or emit error.
2078 (shmedia_check_limits): Handle BFD_RELOC_SH_PT_16 and
2079 SHMEDIA_BFD_RELOC_PT.
2080 (shmedia_immediate_op): If pcrel, emit fixup also for constant
2081 operand.
2082 (shmedia_build_Mytes) <case A_IMMS16>: Also check sh64_expand in
2083 condition for MOVI expansion.
2084 <case A_PCIMMS16BY4>: Handle expansion to 32 bits only, if
2085 sh64_pt32. Emit only a BFD_RELOC_SH_PT_16 fixup if not
2086 sh64_expand.
2087 <case A_PCIMMS16BY4_PT>: Likewise, but emit a SHMEDIA_BFD_RELOC_PT
2088 fixup.
2089 (sh64_target_format): Error-check setting of sh64_pt32 and
2090 sh64_expand. Fix typo in check for sh64_shcompact_const_crange.
2091 (shmedia_md_pcrel_from_section): Handle BFD_RELOC_SH_PT_16 and
2092 SHMEDIA_BFD_RELOC_PT as coming from SHmedia code.
2093 2000-12-31 Hans-Peter Nilsson <hpn@cygnus.com>
2094 * config/tc-sh64.c: Improve comments.
2095 (shmedia_md_convert_frag): Remove inactive is_pt_variant code. Do
2096 not say the linker will check correctness of PTA/PTB expansion.
2097 (shmedia_md_end): Make non-static.
2098 * config/tc-sh64.h (md_end): Define to shmedia_md_end. Add
2099 prototype.
2100 * config/tc-sh.c (sh_finalize): Remove.
2101 * config/tc-sh.h (md_end): Do not define.
2102 Remove prototype for sh_finalize.
2103 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
2104 * config/tc-sh64.c (shmedia_frob_section_type): Use a struct
2105 sh64_section_data container when storing section type in tdata
2106 field in elf_section_data.
2107 * config/tc-sh.c (sh_elf_final_processing): Change from EF_SH64 to
2108 EF_SH5.
2109 * Makefile.am: Update dependencies.
2110 * Makefile.in: Regenerate.
2111 2000-12-22 Hans-Peter Nilsson <hpn@cygnus.com>
2112 * config/tc-sh64.c (shmedia_md_assemble): Don't protect
2113 dwarf2_emit_insn call with test on debug_type.
2114 2000-12-19 Hans-Peter Nilsson <hpn@cygnus.com>
2115 * config/tc-sh64.c (sh64_set_contents_type): Make contents-type
2116 CRT_SH5_ISA32 sticky for 64-bit.
2117 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
2118 Generate .crange sections when switching ISA mode or emitting
2119 constants in same section as code.
2120 * config/tc-sh64.c: Reformat structure definitions.
2121 (sh64_end_of_assembly, sh64_mix, sh64_shcompact_const_crange): New
2122 variables.
2123 (sh64_set_contents_type): Rename from sh64_init_section. Rewrite
2124 to emit a .cranges descriptor when contents type changes. Only
2125 emit error if changing contents type and -no-mix is in effect.
2126 (sh64_emit_crange, sh64_flush_last_crange, sh64_flag_output,
2127 sh64_flush_pending_output, sh64_tc_cons_fix_new): New functions.
2128 (shmedia_md_end): Set sh64_end_of_assembly. Pass
2129 sh64_flush_last_crange over sections.
2130 When checking main symbol of datalabel symbol, check for
2131 STO_SH5_ISA32, not ISA type of section in definition.
2132 (shmedia_frob_file_before_adjust): Check main symbol for
2133 STO_SH5_ISA32; don't check ISA type of section in definition.
2134 (shmedia_frob_section_type): Adjust for .cranges; set section flag
2135 to SHF_SH5_ISA32_MIXED or SHF_SH5_ISA32 according to whether
2136 .cranges entries have been output.
2137 (shmedia_elf_new_section): Just call md_flush_pending_output.
2138 (shmedia_md_assemble): Do not emit a BFD_RELOC_SH_SHMEDIA_CODE
2139 fix. Do not set tc_segment_info_data.in_code for section. Call
2140 sh64_set_contents_type for SHmedia code.
2141 (s_sh64_mode): Do not call sh64_init_section or set seen_insn to
2142 false. Call md_flush_pending_output.
2143 (sh64_target_format): Check that -no-mix and
2144 -shcompact-const-crange are used in sane combination with other
2145 options.
2146 (shmedia_md_pcrel_from_section): Check type of fix for how to
2147 adjust pc-relative.
2148 (sh64_consume_datalabel): Check symbol for having STO_SH5_ISA32,
2149 not ISA type of section in definition.
2150 * config/tc-sh64.h (struct sh64_segment_info_type): Rewrite to
2151 hold contents-type state.
2152 (md_flush_pending_output): Redefine to sh64_flush_pending_output.
2153 (sh64_flush_pending_output): Declare.
2154 (TC_CONS_FIX_NEW): Define to sh64_tc_cons_fix_new.
2155 (sh64_tc_cons_fix_new): Declare.
2156 * config/tc-sh.c (sh_elf_cons) [HAVE_SH64]: Unset seen_insn and
2157 call sh64_flag_output.
2158 (md_assemble) [HAVE_SH64]: Do not emit BFD_RELOC_SH_CODE. Just
2159 call sh64_set_contents_type to mark SHcompact code and set
2160 seen_insn.
2161 (md_longopts): New options "-no-mix" and
2162 "-shcompact-const-crange".
2163 (md_parse_option): Handle new options.
2164 (md_show_usage): Add blurb for new options.
2165 (md_number_to_chars) [HAVE_SH64]: Call sh64_flag_output.
2166 2000-12-15 Hans-Peter Nilsson <hpn@cygnus.com>
2167 * config/tc-sh64.c: Delete investigated and obsolete fixme:s.
2168 (sh64_last_insn_frag): New.
2169 (shmedia_md_convert_frag): Use tc_frag_data field of incoming frag
2170 to get frag for insn opcode for generating fixups; do not assume it
2171 is the same frag.
2172 (shmedia_build_Mytes): Set sh64_last_insn_frag after growing frag
2173 for new insn.
2174 * config/tc-sh64.h (ELF_TC_SPECIAL_SECTIONS): Define for .cranges
2175 section.
2176 (TC_FRAG_TYPE): Define as fragS *.
2177 (TC_FRAG_INIT): Define to set tc_frag_data to sh64_last_insn_frag.
2178 (sh64_last_insn_frag): Declare.
2179 (sh64_consume_datalabel): Fix typo; check for seginfo != NULL,
2180 not == NULL before dereferencing.
2181 2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com>
2182 Get rid of BFD section flag and EF_SH64_ABI64.
2183 * config/tc-sh64.c (shmedia_frob_section_type): Use
2184 elf_section_data (sec)->tdata, not a specific BFD section flag, to
2185 communicate the section as containing SHmedia code. Describe why.
2186 * config/tc-sh.c (sh_elf_final_processing): Tweak comment. Set
2187 EF_SH64 regardless of ABI.
2188 * config/tc-sh64.c (shmedia_md_apply_fix): Decapitalize "invalid"
2189 in error message. Handle resolved expressions for
2190 BFD_RELOC_SH_IMMS10, BFD_RELOC_SH_IMMS10BY2,
2191 BFD_RELOC_SH_IMMS10BY4 and BFD_RELOC_64.
2192 (shmedia_check_limits): Handle BFD_RELOC_64.
2193 (sh64_adjust_symtab): Do not decrement the GAS symbol value for
2194 a STO_SH5_ISA32 symbol, only the BFD value.
2195 2000-12-11 Ben Elliston <bje@redhat.com>
2196 * config/tc-sh64.c: Call dwarf2_emit_insn, not the defunct
2197 dwarf2_generate_asm_lineno.
2198 2000-12-11 Hans-Peter Nilsson <hpn@cygnus.com>
2199 Handle PC-relative MOVI expansions with assembler relaxation.
2200 Generate PC-relative relocs from 16-bit PC-relative expressions.
2201 * config/tc-sh64.c (SHMEDIA_MD_PCREL_FROM_FIX): Break out from...
2202 (shmedia_md_pcrel_from_section): ...here.
2203 (shmedia_md_apply_fix): Handle fixups for 16-bit operands that has
2204 turned completely resolved. Adjust relocation type for 16-bit
2205 immediate operands that has turned PC-relative. Adjust back for
2206 MD_PCREL_FROM_SECTION being applied twice.
2207 (shmedia_md_convert_frag): Always emit reloc for expression with
2208 global or weak symbol. Handle relaxation result for PC-relative
2209 expressions.
2210 (shmedia_md_estimate_size_before_relax): An expression with a weak
2211 or global symbol can not be relaxed. Break out tests for
2212 relaxable symbol into variable sym_relaxable.
2213 <cases C (MOVI_IMM_64, UNDEF_MOVI) and C (MOVI_IMM_32,
2214 UNDEF_MOVI)>: Break out any PC-relative expression and change
2215 relaxation type.
2216 (shmedia_build_Mytes): CSE &operands->operands[j] into variable
2217 opjp.
2218 <case A_IMMS16>: Fix typo for initial minor relaxation type of
2219 MOVI expansion. If X_op_symbol of the immediate expression is
2220 set, make an expression symbol for the argument to frag_var.
2221 * config/tc-sh.c (MOVI_IMM_32_PCREL, MOVI_IMM_64_PCREL): New
2222 relaxations.
2223 (END): Adjust for new relaxations.
2224 (md_relax_table): Add entries for new relaxations.
2225 2000-12-07 Ben Elliston <bje@redhat.com>
2226 * config/tc-sh64.c (shmedia_parse_reg): Initialize variable len.
2227 2000-12-07 Hans-Peter Nilsson <hpn@cygnus.com>
2228 * config/tc-sh64.c (shmedia_md_convert_frag): Correct all MOVI and
2229 SHORI operand offsets in PT/PTA/PTB expansions.
2230 2000-12-05 Hans-Peter Nilsson <hpn@cygnus.com>
2231 Implement DataLabel semantics.
2232 * config/tc-sh.c (sh_frob_file) [HAVE_SH64]: Call
2233 shmedia_frob_file_before_adjust.
2234 * config/tc-sh64.c [! OBJ_ELF]: Emit #error.
2235 (DATALABEL_SUFFIX): Define.
2236 (shmedia_md_end) <before adjusting STO_SH5_ISA32 symbols>: Walk
2237 symbol list to update "datalabel" symbols to their main symbol
2238 counterparts.
2239 (shmedia_frob_file_before_adjust): New.
2240 (sh64_adjust_symtab): For remaining datalabel symbols, set to
2241 undefined and set STT_DATALABEL.
2242 (sh64_frob_label): Initialize TC symbol field.
2243 (sh64_consume_datalabel): Actually implement semantics. New
2244 parameter operandf, call it instead of expression.
2245 (sh64_exclude_symbol): New.
2246 * config/tc-sh64.h (md_parse_name): Pass on the function operand
2247 to sh64_consume_datalabel.
2248 (tc_symbol_new_hook): Define to tc_frob_symbol.
2249 (TC_SYMFIELD_TYPE): Define to symbolS *.
2250 (tc_frob_symbol): Define to call sh64_exclude_symbol.
2251 2000-12-01 Hans-Peter Nilsson <hpn@cygnus.com>
2252 * config/tc-sh64.c (shmedia_init_reloc): Tweak comment for default
2253 case.
2254 (shmedia_md_assemble): Call dwarf2_generate_asm_lineno if
2255 generating dwarf2 debug information.
2256 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com>
2257 * config/tc-sh64.c (sh64_target_format): Use elf64-sh64l and
2258 elf64-sh64 for the 64-bit ABI.
2259 * config/tc-sh.c (md_show_usage): Tweak usage output for -abi=*
2260 option.
2261 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com>
2262 * config/tc-sh.c: Remove conditionalizing on HAVE_SH64 for
2263 case-insensitivity.
2264 2000-11-27 Hans-Peter Nilsson <hpn@cygnus.com>
2265 * config/tc-sh64.c: Tweak comments, formatting and error messages.
2266 (enum sh64_abi_values): New type.
2267 (enum sh64_isa_values): New type.
2268 (sh64_isa_mode): Replace shmedia_mode. All referers changed.
2269 (seen_shcompact_mode, seen_shmedia_mode): Delete.
2270 (sh64_abi): Replace shmedia_64.
2271 (shmedia_md_convert_frag) <C (MOVI_IMM_64, MOVI_64),
2272 C (MOVI_IMM_32, MOVI_32)>: Correct register number handling.
2273 (s_sh64_mode): Check validity for this target.
2274 (sh64_target_format): Initialize defaults for ISA and ABI.
2275 Fallback to old object format if no SH64 ISA or ABI has been
2276 specified.
2277 * config/tc-sh.c (md_parse_option): Check combinations for errors.
2278 (sh_elf_final_processing): Change to have EF_SH64_ABI64 for 64-bit
2279 ABI and EF_SH64 for 32-bit ABI, if SH64 options are specified.
2280 * config/tc-sh64.h: Fix typo in comment.
2281 2000-11-25 Hans-Peter Nilsson <hpn@cygnus.com>
2282 * config/tc-sh64.c (shmedia_md_estimate_size_before_relax)
2283 <PT fixups for absolute values>: Size will be longest, not
2284 shortest.
2285 (shmedia_md_convert_frag): Disable PTB-warning machinery. Correct
2286 all MOVI and SHORI operand offsets in PT/PTA/PTB expansions.
2287 * config/tc-sh.c (parse_reg) [HAVE_SH64]: Add local variables l0
2288 and l1 to hold lowercase of two first characters. Change all
2289 remaining TO_LOWER to tolower.
2290 * config/tc-sh64.c (TO_LOWER): Delete.
2291 (shmedia_find_cooked_opcode): Use tolower, not TO_LOWER.
2292 (md_parse_name): Define.
2293 (sh64_consume_datalabel): Declare.
2294 (DOLLAR_DOT): Define.
2295 * config/tc-sh64.c (shmedia_parse_exp): New.
2296 (sh64_consume_datalabel): New; just ignoring datalabel semantics.
2297 (shmedia_parse_reg): Remove const from src
2298 parameter.
2299 (shmedia_get_operands): Ditto for args parameter and ptr variable.
2300 (shmedia_md_assemble): Ditto for op_end variable.
2301 (shmedia_get_operand): Ditto for ptr parameter and src variable.
2302 Use shmedia_parse_exp, not parse_exp.
2303 * config/tc-sh64.c (shmedia_parse_reg): Add shmedia_arg_type
2304 parameter. All callers changed.
2305 (shmedia_get_operand): Add shmedia_arg_type parameter. All
2306 callers changed.
2307 (shmedia_parse_reg): Put first two character in local variables.
2308 Use tolower, not TO_LOWER. If no register is found and argtype
2309 indicates a control register, scan shmedia_creg_table
2310 case-insensitive.
2311 2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com>
2312 * Makefile.am (CPU_TYPES): Add sh64.
2313 (TARGET_CPU_CFILES): Add config/tc-sh64.c.
2314 (TARGET_CPU_HFILES): Add config/tc-sh64.h.
2315 Regenerate dependencies.
2316 * Makefile.in: Regenerate.
2317 * configure.in: Add support for sh64-*-elf*.
2318 * configure: Regenerate.
2319 * config/tc-sh64.h: New.
2320 * config/tc-sh64.c: New.
2321 * config/tc-sh.c (md_pseudo_table) [HAVE_SH64]: New pseudos
2322 .mode, .isa and .uaquad.
2323 [HAVE_SH64] (SH64PCREL16_32, SH64PCREL16_64, SH64PCREL16PT_32,
2324 SH64PCREL16PT_64, MOVI_IMM_32, MOVI_IMM_64): Define.
2325 [HAVE_SH64] (END): Define as 10.
2326 [HAVE_SH64] (UNDEF_SH64PCREL, SH64PCREL16, SH64PCREL32,
2327 SH64PCREL48, SH64PCREL64, UNDEF_MOVI, MOVI_16, MOVI_32, MOVI_48,
2328 MOVI_64): Define.
2329 [HAVE_SH64] (SH64PCREL16_F, SH64PCREL16_M, SH64PCREL16_LENGTH,
2330 SH64PCREL32_F, SH64PCREL32_M, SH64PCREL32_LENGTH, SH64PCREL48_F,
2331 SH64PCREL48_M, SH64PCREL48_LENGTH, SH64PCREL64_LENGTH,
2332 MOVI_16_LENGTH, MOVI_32_LENGTH, MOVI_48_LENGTH, MOVI_64_LENGTH):
2333 Define.
2334 (md_relax_table) [HAVE_SH64]: Provide relaxations for SHmedia.
2335 (md_begin) [HAVE_SH64]: Call shmedia_md_begin.
2336 (parse_reg) [HAVE_SH64]: Parse register names case-insensitive.
2337 (md_assemble) [HAVE_SH64]: Call shmedia_md_assemble if assembling
2338 SHmedia instructions. Handle state-change after switching to
2339 SHcompact.
2340 (md_longopts) [HAVE_SH64]: New options --isa=* and --abi=*.
2341 (md_parse_option) [HAVE_SH64]: Parse new options.
2342 (md_show_usage) [HAVE_SH64]: Show usage of new options.
2343 (md_convert_frag) [HAVE_SH64] <default>: Call
2344 shmedia_md_convert_frag instead of abort.
2345 (sh_force_relocation) [HAVE_SH64]: Also force relocation for
2346 BFD_RELOC_SH_SHMEDIA_CODE.
2347 (sh_elf_final_processing) [HAVE_SH64]: Set flags identifying
2348 SHcompact or SHmedia code.
2349 (md_apply_fix) [HAVE_SH64] <default>: Return result from calling
2350 shmedia_md_apply_fix instead of abort.
2351 (md_estimate_size_before_relax) [HAVE_SH64] <default>: Return
2352 result from calling shmedia_md_estimate_size_before_relax instead
2353 of calling abort.
2354 (sh_do_align) [HAVE_SH64]: If shmedia_mode, let shmedia_do_align
2355 do the work.
2356 (tc_gen_reloc) [HAVE_SH64]: For unrecognized relocs, call
2357 shmedia_init_reloc and do nothing more if it returns non-zero.
2358 (sh_finalize) [HAVE_SH64]: Call shmedia_md_end.
2359 * po/POTFILES.in: Regenerate.
2360 * po/gas.pot: Regenerate.
2361
ac3f04d7
AO
23622002-02-06 Alexandre Oliva <aoliva@redhat.com>
2363
6b32719e
AO
2364 * config/tc-sh.c (parse_at): Install the correct version of
2365 2002-02-04's patch.
949f2b5c 2366
ac3f04d7
AO
2367 * config/tc-sh.c (md_apply_fix3) <BFD_RELOC_32_PLT_PCREL>: Don't
2368 assume fixP->fx_subsy is non-NULL.
2369
7679ead9
AO
23702002-02-04 Alexandre Oliva <aoliva@redhat.com>
2371
2372 * config/tc-sh.c (parse_at): Set arg type of @(expr,pc) to
fdf4122d 2373 A_DISP_PC_ABS, and adjust it by -4.
7679ead9
AO
2374 (get_specific): Accept A_DISP_PC_ABS where A_DISP_PC is
2375 expected.
2376 (build_Mytes): Mark PCRELIMM fix-ups as pc-relative only if
2377 the operand type is not A_DISP_PC_ABS.
2378
5459d7a0
HPN
23792002-02-04 Hans-Peter Nilsson <hp@bitrange.com>
2380
2381 * config/tc-mmix.c (tc_gen_reloc): Don't try and take the value of
2382 common and weak symbols. Handle common and weak symbols as
2383 undefined symbols with regards to GREG handling and merging.
2384 (mmix_frob_file): Ditto.
2385
006336b8
JT
23862002-02-02 Jason Thorpe <thorpej@wasabisystems.com>
2387
2388 * configure.in (hppa-*-netbsd*): New target.
2389 * configure: Regenerate.
2390 * config/tc-hppa.h: Also define WARN_COMMENTS if TE_NetBSD.
2391
9e0665bc
AM
23922002-02-02 Alan Modra <amodra@bigpond.net.au>
2393
2394 * config/tc-v850.c: Add missing prototypes amd use old-style
2395 function definitions.
2396 (AREA_ZDA, AREA_SDA, AREA_TDA): Delete.
2397 (sdata_section tdata_section, zdata_section, sbss_section,
2398 tbss_section, zbss_section, rosdata_section, rozdata_section,
2399 scommon_section, tcommon_section, zcommon_section,
2400 call_table_data_section, call_table_text_section): Delete.
2401 (v850_sdata, v850_tdata, v850_zdata, v850_sbss, v850_tbss,
2402 v850_zbss, v850_bss, v850_rosdata, v850_rozdata,
2403 v850_call_table_data, v850_call_table_text): Delete.
2404 (struct v850_seg_entry): New.
2405 (v850_seg_table): New.
2406 (SDATA_SECTION TDATA_SECTION, ZDATA_SECTION, SBSS_SECTION,
2407 TBSS_SECTION, ZBSS_SECTION, BSS_SECTION, ROSDATA_SECTION,
2408 ROZDATA_SECTION, SCOMMON_SECTION, TCOMMON_SECTION, ZCOMMON_SECTION,
2409 CALL_TABLE_DATA_SECTION, CALL_TABLE_TEXT_SECTION): Define.
2410 (do_v850_seg): New.
2411 (v850_seg): New.
2412 (v850_comm): Use do_v850_seg and v850_seg_table. Simplify
2413 recording of alignment.
2414 (md_pseudo_table): Use v850_seg.
2415 (md_begin): Don't init .call_table_data and .call_table_text here.
2416 Set v850_seg_table bss entry.
2417
973eb340
HPN
24182002-02-01 Hans-Peter Nilsson <hp@bitrange.com>
2419
2420 Support on-demand global register allocation by passing on
2421 base-plus-offset relocs to the linker.
2422 * config/tc-mmix.c: Tweak and fix typos in comments.
949f2b5c 2423 (allocate_undefined_gregs_in_linker): New variable.
973eb340
HPN
2424 (OPTION_LINKER_ALLOCATED_GREGS): New option macro.
2425 (md_longopts): Add --linker-allocated-gregs.
2426 (md_parse_option) <case 'x'>: Imply --linker-allocated-gregs.
2427 <case OPTION_LINKER_ALLOCATED_GREGS>: New.
2428 (md_show_usage): Update text for -x. Add text for
2429 --linker-allocated-gregs.
2430 (tc_gen_reloc): Derive default value for addend from val and
2431 baddsy. Use addsec and bfd_is_abs_section in more places. Don't
2432 emit error for BFD_RELOC_MMIX_BASE_PLUS_OFFSET without suitable
2433 GREG if allocate_undefined_gregs_in_linker.
2434 * doc/as.texinfo (Overview) <Target MMIX options>: Add
2435 --linker-allocated-gregs.
2436 * doc/c-mmix.texi (MMIX-Opts): Add blurb about
2437 --linker-allocated-gregs. Mention that it's implied by -x.
2438 (MMIX-Pseudos) <GREG>: Mention when and how a GREG can be omitted.
2439 (MMIX-mmixal): Clarify dated comparison and location of MMIXware.
2440
2441 * config/tc-mmix.h (md_parse_name): Use ISUPPER, not isupper.
2442
ba323545
AM
24432002-02-01 Alan Modra <amodra@bigpond.net.au>
2444
2445 * Makefile.am: Run "make dep-am"
2446 * Makefile.in: Regenerate.
2447
3b16e843
NC
24482002-01-31 Ivan Guzvinec <ivang@opencores.org>
2449
2450 * config/tc-or32.c: New file.
2451 * config/tc-or32.h: New file.
2452 * configure.in: Add support for or32 targets.
2453 * configure: Regenerate.
2454 * config/obj-coff.c: Add support for or32 targets.
2455 * config/obj-coff.h: Add support for or32 targets.
2456 * Makefile.am: Add support for or32 targets.
2457 * Makefile.in: Regenerate.
2458 * NEWS: Mention support for OpenRISC.
2459 * doc/Makefile.in: Regenerate.
2460 * po/POTFILES.in: Regenerate.
2461 * po/gas.pot: Regenerate.
2462
912a07db
RS
24632002-01-30 Richard Sandiford <rsandifo@redhat.com>
2464
2465 * config/tc-sh.c (parse_reg): Fix end-of-word check for is, ix, iy
2466 and mod.
2467
4514d474
CD
24682002-01-29 Chris Demetriou <cgd@broadcom.com>
2469
2470 * config/tc-mips.c (tc_gen_reloc): Arrange for
2471 BFD_RELOC_PCREL_HI16_S relocations to be output relative to
2472 their LO16 parts, even for ELF.
2473
246fcdee
DJ
24742002-01-29 Daniel Jacobowitz <drow@mvista.com>
2475
2476 * config/tc-i386.c: Protect definitions of true and false
2477 from redefinition.
2478
00e6e13d
JJ
24792002-01-28 Jakub Jelinek <jakub@redhat.com>
2480
2481 * config/obj-elf.c (elf_frob_file_before_adjust): Remove symbols
2482 made because of .weak, if they are neither defined nor used in any
2483 way.
2484
4867be41
DJ
24852002-01-27 Daniel Jacobowitz <drow@mvista.com>
2486
2487 * configure: Regenerated.
2488
7562a296
HPN
24892002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
2490
2491 * doc/Makefile.am (install): Depend on install-info.
2492 * doc/Makefile.in: Regenerate.
2493
1caa7b23
NC
24942002-01-26 Nick Clifton <nick@redhat.com>
2495
2496 * po/fr.po: Updated version
2497
166e23f9
KH
24982002-01-24 Kazu Hirata <kazu@hxi.com>
2499
2500 * config/tc-h8300.c (check_operand): Don't print a warning
2501 when a valid 24-bit address is given to a 16-bit address
2502 operand.
2503
538cd60f
AO
25042002-01-24 Alexandre Oliva <aoliva@redhat.com>
2505
2506 * config/tc-sh.c (sh_elf_suffix): Removed.
2507 (sh_PIC_related_p, sh_check_fixup, sh_cons_fix_new,
2508 sh_end_of_match, sh_parse_name): New functions.
2509 (sh_elf_cons): Simplify.
2510 (parse_exp): Reject misplaced PIC operands.
2511 (md_undefined_symbol): Simplify.
2512 (sh_fix_adjustable): Let @GOTOFF be adjusted.
2513 (md_apply_fix3): Write @PLT and @GOTOFF addends in place.
2514 (tc_gen_reloc): Move fixp subsy absolute value into addnumber.
2515 Complain if subsy remains at the end.
2516 * config/tc-sh.h (sh_parse_name, sh_cons_fix_new): Declare.
2517 (md_parse_name, TC_CONS_FIX_NEW, O_PIC_reloc): Define.
2518
b386f24b
AO
25192002-01-22 Alexandre Oliva <aoliva@redhat.com>
2520
2521 * config/tc-mn10300.c (xr_registers): Move `pc'...
2522 (other_registers): ... here.
2523
c46f0c34
AM
25242002-01-22 Alan Modra <amodra@bigpond.net.au>
2525
2526 * Makefile.am: Run "make dep-am".
2527 * Makefile.in: Regenerate.
2528 * gas/po/POTFILES.in: Regenerate.
2529
23deb923
DD
25302002-01-21 DJ Delorie <dj@redhat.com>
2531
2532 * config/obj-coff.c (obj_coff_init_stab_section): Make the
2533 stabstr_name allocation permanent, as it will be referenced from
2534 the section hash.
2535
9596feea
JT
25362002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
2537
2538 * configure.in (ia64-*-netbsd*): New target.
949f2b5c 2539 * configure: Regenerate.
9596feea 2540
92081f48
HPN
25412002-01-21 Hans-Peter Nilsson <hp@bitrange.com>
2542
2543 * doc/as.texinfo (Overview) <Target ARM options>: Add missing {}
2544 to @dots call.
2545 <Detailed description, ARM options>: Ditto.
2546 * doc/c-arm.texi (ARM Options): Ditto.
2547
63e63b07
RE
25482002-01-18 Richard Earnshaw <rearnsha@arm.com>
2549
2550 * tc-arm.c (do_xsc_mia, do_xsc_mar, do_xsc_mra): Renamed from
2551 do_mia, do_mar and do_mra respectively.
2552 (do_mav_*): Renamed from do_c_*.
2553 (mav_reg_required_here, mav_parse_offset): Renamed from
2554 cirrus_reg_required_here and cirrus_parse_offset respectively.
2555 (MAV_MODE?): Renamed from CIRRUS_MODE?.
2556
ea6ef066
RE
25572002-01-18 Richard Earnshaw <rearnsha@arm.com>
2558 Keith Walker <keith.walker@arm.com>
2559
2560 * tc-arm.c (ARM_EXT_V5J, ARM_ARCH_V5TEJ): Define.
2561 (insns): Add pattern for bxj instruction.
2562 (do_bxj): New function.
2563 (arm_cpus): Add arm926ej.
2564 (arm_archs): Add armv5tej.
2565
bc89618b
RE
25662002-01-18 Richard Earnshaw <rearnsha@arm.com>
2567
2568 * doc/c-arm.texi: Add new fpe options to list of supported flags.
2569
d193a22a
RE
25702002-01-19 Keith Walker <keith.walker@arm.com>
2571
2572 * tc-arm.c (arm_fpus): Add fpe2 and fpe3.
2573
03b1477f
RE
25742002-01-18 Richard Earnshaw <rearnsha@arm.com>
2575
2576 * NEWS: Mention new ARM command-line options and VFP support.
2577
949f2b5c 2578 * config/tc-arm.c (ARM_CEXT_XSCALE): Replaces ARM_EXT_XSCALE. All
03b1477f
RE
2579 uses changed.
2580 (ARM_CEXT_MAVERICK): Similarly.
2581 (ARM_ANY): Now means any core instruction.
2582 (CPU_DEFAULT): Default to ARM_ANY.
2583 (uses_apcs_26, atcps, support_interwork, uses_apcs_float)
2584 (pic_code): Declare for all object types. Make type int.
2585 (legacy_cpu, legacy_fpu, mcpu_cpu_opt, mcpu_fpu_opt, march_cpu_opt)
2586 (march_fpu_opt, mfpu_opt): Declare.
2587 (md_longopts): Tidy up conditional definitions.
2588 (arm_opts, arm_cpus, arm_archs, arm_fpus, arm_extensions)
2589 (arm_long_opts): New tables.
2590 (arm_parse_cpu, arm_parse_arch, arm_parse_fpu): New functions.
2591 (arm_parse_extension): New function.
2592 (md_parse_option): Rewrite using new table-driven system.
2593 (md_show_usage): Use new table-driven system.
2594 (md_begin): Calculate cpu_variant from command line option data.
2595 * doc/as.texinfo (ARM ISA options): Docuement new ARM-specific
2596 command-line options.
2597 * doc/c-arm.texi: Likewise.
2598
2a538ba5
AJ
25992002-01-18 Andreas Jaeger <aj@suse.de>
2600
2601 * as.c (parse_args): Update year.
2602
b1ffc257 26032002-01-17 Timothy Wall <twall@alum.mit.edu>
2a538ba5 2604
b1ffc257
TW
2605 * config/tc-tic54x.c (encode_address): Add a more informative
2606 warning about incorrect syntax.
2607
328577ad
NC
26082002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
2609
2610 * po/gas.pot: Regenerate.
2611
06f030db
NC
26122002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
2613
2614 * macro.c (get_any_string): Add no-c-format comment to prevent
2615 confusion when translating string.
2616 * gasp.c (get_any_string): Add no-c-format comment to prevent
2617 confusion when translating string.
2618
394f9b3a
TS
26192002-01-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2620 Johannes Stezenbach <js@convergence.de>
2621 * config/tc-mips.c (percent_op): Ensure longer percent_op's are
2622 matched before the shorter ones.
2623 (my_getSmallParser): Fix handling of nested parentheses in
2624 percent_op's. Code cleanup.
2625 (my_getPercentOp): New function, code from my_getSmallParser.
2626 (my_getSmallExpression): Fix handling of closing parentheses.
2627 Code cleanup. Better comments.
2628
af3ae48d
NC
26292002-01-16 Nick Clifton <nickc@redhat.com>
2630
2631 po/tr.po: New file: Turkish translation.
2632 configure.in (LINGUAS): Add "tr".
2633 configure: Regenerate.
2634
bfae80f2
RE
26352002-01-15 Richard Earnshaw <rearnsha@arm.com>
2636
2637 Support for VFP instructions
2638 * tc-arm.c (CP_WB_OK, CP_NO_WB): New defines.
2639 (cp_address_required_here): New argument wb_ok. When false, do not
2640 accept write-back forms of addressing. Change all callers.
2641 (FPU_VFP_EXT_NONE, FPU_VFP_EXT_V1xD, FPU_VFP_VFP_V1)
2642 (FPU_VFP_EXT_V2): Define.
2643 (FPU_ARCH_VFP, FPU_ARCH_VFP_V1xD, FPU_ARCH_VFP_V1, FPU_ARCH_VFP_V2):
2644 Define in terms of above.
2645 (vfp_dp_reg_pos, vfp_sp_reg_pos, vfp_ldstm_type): New enums.
2646 (vfp_reg): New struct.
2647 (vfp_regs): New array of registers.
2648 (insns): Add VFP instructions.
2649 (sn_table): New array of VFP single-precision register names.
2650 (dn_table): New array of VFP double-precision register names.
2651 (all_reg_maps): Add the new register tables.
2652 (arm_reg_type): Add new values for above. Increase RET_TYPE_MAX.
2653 (vfp_sp_reg_required_here, vfp_dp_reg_required_here, do_vfp_sp_monadic)
2654 (do_vfp_dp_monadic, do_vfp_sp_dyadic, do_vfp_dp_dyadic)
2655 (do_vfp_reg_from_sp, do_vfp_sp_reg2, do_vfp_sp_from_reg)
2656 (do_vfp_reg_from_dp, do_vfp_reg2_from_dp, do_vfp_dp_from_reg)
2657 (do_vfp_dp_from_reg2, vfp_psr_parse, vfp_psr_required_here)
2658 (do_vfp_reg_from_ctrl, do_vfp_ctrl_from_reg, do_vfp_sp_ldst)
2659 (do_vfp_dp_ldst, vfp_sp_reg_list, vfp_dp_reg_list, vfp_sp_ldstm)
2660 (vfp_dp_ldstm, do_vfp_sp_ldstmia, do_vfp_sp_ldstmdb, do_vfp_ldstmia)
2661 (do_vfp_dp_ldstmdb, do_vfp_xp_ldstmia, do_vfp_xp_ldstmdb)
2662 (do_vfp_sp_compare_z, do_vfp_dp_compare_z, do_vfp_dp_sp_cvt)
2663 (do_vfp_sp_dp_cvt): New functions.
2664 (md_begin): Set soft-float flag for appropriate VFP work.
2665 (md_atof): Handle VFP-format doubles.
2666 (md_parse_option): Handle VFP command-line options.
2667 (md_show_usage): Display VFP command-line options.
2668
fcd6d8d6
RE
26692002-01-15 Richard Earnshaw <rearnsha@arm.com>
2670
2a538ba5 2671 * tc-arm.c (md_parse_option): Tidy up setting of cpu_variant for
fcd6d8d6
RE
2672 various command line options.
2673
1f7fd478
NC
26742002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
2675
2676 * config/tc-xstormy16.c: (xstormy16_fix_adjustable): Do not fix
2677 vtinherit relocs.
2678 (xstormy16_md_apply_fix3): Do not return a value.
2679
21f0f23a
RE
26802002-01-14 Richard Earnshaw <rearnsha@arm.com>
2681
2682 * tc-arm.c (md_longopts): On targets that aren't bi-endian, support
2683 the -EL/-EB option that matches the target's endianness.
2684 (md_parse_option): Likewise.
2685
ce058b6c
RE
26862002-01-14 Richard Earnshaw <rearnsha@arm.com>
2687
2a538ba5 2688 * tc-arm.c (md_longopts): Fix misplaced #endif -- the -oabi option
ce058b6c
RE
2689 is not dependent on ARM_BI_ENDIAN.
2690
f03698e6
RE
26912002-01-14 Richard Earnshaw <rearnsha@arm.com>
2692
2693 * tc-arm.c (all error messages): Normalize capitalization of messages.
2694
2695 * tc-arm.h (md_operand): Delete define.
2696 * tc-arm.c (in_my_get_expression): New static variable.
2697 (my_get_expression): Set and clear it.
2698 (md_operand): New function. If called from my_get_expression
2699 put the error in inst.error.
2700 (output_inst): Now takes argument of instruction being assembled.
2701 Print it out with any error message.
2702 (do_ldst, do_ldstv4, thumb_load_store): Fault attempt to use a store
2703 with '=' syntax.
2704 (end_of_line): Don't update inst.error if it is already set.
2705
e28cd48c
RE
27062002-01-11 Richard Earnshaw <rearnsha@arm.com>
2707
6088b00e 2708 * tc-arm.c (do_ldst): Fix handling an immediate expression pseudo
e28cd48c
RE
2709 op that can be translated into a mvn instruction.
2710
1cd8ff38
NC
27112002-01-11 Steve Ellcey <sje@cup.hp.com>
2712
2713 * gas/config/tc-ia64.h (MD_FLAGS_DEFAULT): New Macro for
2714 setting default md.flags.
2715 (SHT_INIT_ARRAY): New elf special section used by HP-UX.
2716 (SHT_FINI_ARRAY): New elf special section used by HP-UX.
2717 * gas/config/tc-ia64.c (setup_unwind_header): Add support
2718 for 32 bit unwind info blocks.
2719 (generate_unwind_image): Add support for different types
2720 of unwind images (32 bits and/or big-endian).
2721 (ia64_init): Use MD_FLAGS_DEFAULT to set md.flags.
2722 (ia64_target_format): Add support for hpux target formats.
2723 (ia64_gen_real_reloc_type): Add support for FUNC_IPLT_RELOC.
2724 (ia64_elf_section_type): Add support for SHT_INIT_ARRAY and
2725 SHT_FINI_ARRAY elf section types.
2726
6c43fab6
RE
27272002-01-10 Richard Earnshaw <rearnsha@arm.com>
2728
2729 * tc-arm.c (struct reg_entry): Move before prototypes.
2730 (int_register, cp_register, fp_register): Delete.
2731 (reg_table): Delete. Replaced with ...
2732 (rn_table, cp_table, cn_table, fn_table, mav_mvf_table)
2733 (mav_mvd_table, mav_mvfx_table, mav_mvdx_table, mav_mvax_table)
2734 (mav_dspsc_table): ... one table per register set.
2735 (arm_reg_hsh): Delete.
2736 (struct reg_map): New structure.
2737 (all_reg_maps): New array.
2738 (enum arm_reg_type): New enums.
2739 (build_reg_hsh): New function.
2740 (insert_reg_alias): Use hash table passed by caller. Adjust all
2741 callers.
2742 (create_register_alias): New function, split out from ...
2743 (md_assemble): ... here.
2744 (md_begin): Build new register hash tables.
2745 (arm_reg_parse): New argument for the hash table to search. Adjust all
2746 callers.
2747 (arm_reg_parse_any): New function.
2748 (co_proc_number): Look up the processor number in the processor hash
2749 table.
2750 (cirrus_regtype): Delete.
2751 (cirrus_register, cirrus_mvf_register, cirrus_mvd_register)
2752 (cirrus_mvfx_register, cirrus_mvdx_register, cirrus_mvax_register)
2753 (ARM_EXT_MAVERICKsc_register): Delete.
2754 (do_c_binops_1, do_c_binops_2, do_c_binops_3): Delete.
2755 (do_c_binops_1[a-o], do_c_binops_2[a-c], do_c_binops_3[a-d]): New
2756 functions.
2757 (do_c_triple_4, do_c_triple_5): Delete.
2758 (do_c_triple_4[ab], do_c_triple_5[a-h]): New functions.
2759 (do_c_quad_6): Delete.
2760 (do_c_quad_6[ab]): New functions.
2761 (do_c_binops, do_c_triple, do_c_quad, do_c_shift, do_c_ldst): Rework
2762 arguments to use new register parsing methods.
2763 (cirrus_reg_required_here): Likewise.
2764 (insns): Reclassify cirrus maverick worker functions.
2765 (cirrus_valid_reg): Delete.
2766
8d05742f
JT
27672002-01-07 Jason Thorpe <thorpej@wasabisystems.com>
2768
2769 * configure.in (sh*le): Set cpu_type=sh and endian=little.
2770 (sh*-*-netbsdelf*): New target.
2771 * configure: Regenerate.
2a538ba5 2772 * tc-sh.h: Update copyright years.
8d05742f
JT
2773 (TARGET_FORMAT): Add version for TE_NetBSD.
2774
ceac3f62
NC
27752002-01-07 Nick Clifton <nickc@cambridge.redhat.com>
2776
2777 * read.c (emit_expr): Do not allow 'size' or 'nbytes' to go
2778 negative.
2779
d7861ad2
AM
27802002-01-06 Alan Modra <amodra@bigpond.net.au>
2781
2782 * config/tc-m68k.h (md_prepare_relax_scan): Rewrite.
2783 * config/tc-m68k.c (md_relax_table): Add md_prepare_relax_scan comment.
2784
7a621144
DJ
27852002-01-05 Daniel Jacobowitz <drow@mvista.com>
2786
2787 * tc-mips.c (mips_cprestore_valid): New flag.
2788 (mips_frame_reg_valid): New flag.
2789 (macro) [M_JAL_2]: Check both flags.
2790 [M_JAL_A]: Likewise.
2791 (s_cprestore): Set mips_cprestore_valid.
2792 (tc_get_register): If setting mips_frame_reg, set
2793 mips_frame_reg_valid and clear mips_cprestore_valid.
2794 (s_mips_ent): Clear both flags.
2795 (s_mips_end): Clear both flags.
2796
7c6beb69
AM
27972002-01-05 Alan Modra <amodra@bigpond.net.au>
2798
2799 * write.c (write_object_file): Make use of bfd_section_list_remove.
2800 * config/obj-ecoff.c (ecoff_frob_file): Likewise.
2801 * config/tc-mmix.c (mmix_frob_file): Likewise.
2802
8a8b2d4b
AJ
28032002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
2804
2805 * configure.in (i386-*-netbsdelf*): Collapse target into...
2806 (i386-*-netbsd*): ...this. Add support for x86-64.
2807 * configure: Regenerated.
2808
a09cf9bd
MG
28092002-01-03 matthew green <mrg@redhat.com>
2810
2811 * config/tc-ppc.c (md_parse_option): BookE is not Motorola specific.
2812
23b7f870
NC
28132002-01-02 Nick Clifton <nickc@cambridge.redhat.com>
2814
2815 * config/tc-m68k.c (md_estimate_size_before_relax): Test for a
2816 NULL frag link.
2817
08d56133
NC
2818For older changes see ChangeLog-0001
2819\f
2820Local Variables:
2821mode: change-log
2822left-margin: 8
2823fill-column: 74
2824version-control: never
2825End:
This page took 0.185317 seconds and 4 git commands to generate.