2002-08-01 H.J. Lu <hjl@gnu.org>
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
70ee4658
DJ
12002-08-01 H.J. Lu <hjl@gnu.org>
2 Daniel Jacobowitz <drow@mvista.com>
3
4 * dwarf2dbg.c (dwarf2_finish): Don't emit unreferenced
5 .debug_line section unless it has line information.
6
4eb6b71c
NC
72002-07-31 Ian Dall <ian@sibyl.beware.dropbear.id.au>
8
9 * config/tc-ns32k.h (md_pcrel_adjust): Supply prototype.
10 * config/tc-ns32k.c (convert_iif, md_parse_option, md_show_usage):
11 Allow default displacement size to be an option "--disp-size-default".
12 (md_number_to_disp): Make error messages include value. Use %d to
13 print integers, not %s.
14 (fix_new_ns32k): Conditionally set fx_no_overflow so we don't
15 get duplicate messages sometimes.
16 (convert_iif): Grow frag to max possible instruction size. Avoid
17 creating unnecessary fixes.
18 (md_number_to_field) Add prototype.
19 (encode_operand, parse, convert_iif, md_fix_pcrel_adjust): Add
20 prototypes and make static.
21 (struct addr_mode): Make mode and scaled_mode explicitly signed.
22 (evaluate_expr): Use resultP argument instead of exprP global.
23 (get_addr_mode): Quiten compiler warnings.
24 (encode_operand): eliminate unused variables. Quiten compiler
25 warnings. Eliminate nul character in format strings.
26 (parse): argc is unsigned.
27 (reloc): Type cast index to quieten compiler.
28 (md_pcrel_adjust, md_apply_fix3): Remove unused variable.
29 (md_convert_frag): Note unused parameters. Remove unused
30 variables.
31 (md_create_long_jump, md_create_short_jump,
32 md_undefined_symbol_name, md_section_align, tc_gen_reloc): Note
33 unused parameters.
34
500800ca
NC
352002-07-31 Nick Clifton <nickc@redhat.com>
36
37 * NEWS: Retroactively add entry for Lars Brinkhoff's contribution
38 of the PDP-11 and 2.11BSD a.out support.
39
03223580
NC
402002-07-31 Momchil Velikov <velco@fadata.bg>
41
42 * config/tc-v850.c (md_assemble): Fix range check for immediate
43 operand.
44
c7a23324
CD
452002-07-30 Chris Demetriou <cgd@broadcom.com>
46
47 * config/tc-mips.c (mips_cpu_info_table): Clean up entries related
48 to Broadcom SB-1 core support.
49
cfe86eaa
TS
502002-07-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
51
52 * config/tc-mips.c (mips_target_format): Fix formatting.
53 Add recognition of n32 ABI formats.
54
460597ba
MR
552002-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
56
57 * tc-mips.c (load_address): Don't clobber $at when loading a
58 64-bit address in non-PIC code if noat is in effect.
59 (macro): Likewise.
60
9bd7d936
MR
612002-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
62
63 * config/tc-mips.c (macro): Use codes 6 and 7 in trap instructions
64 used in division/multiply macro expansions similarly to how they
65 are used in the variants with break instructions.
66 (macro2): Likewise.
67
7e392df6
NC
682002-07-30 Graeme Peterson <gp@qnx.com>
69
70 * configure.in: Add support for arm-*-nto target.
71 * configure: Regenerate.
72
3d0c9500
NC
732002-07-30 Nick Clifton <nickc@redhat.com>
74
75 * config/tc-arm.c (struct literal_pool): Add fields to allow
76 multiple literal pools to be maintained.
77 (find_literal_pool): New function.
78 (find_or_make_literal_pool): New function.
79 (add_to_literal_pool): Use find_or_make_literal_pool.
80 (arm_s_text, arm_s_data, arm_s_section): Remove - no longer
81 needed.
82 (s_ltorg): Use find_literal_pool.
83 (arm_cleanup): Dump all literal pools.
84 * doc/c-arm.texi: Document new behaviour of only dumping literal
85 pools upon request.
86
dfff24c9
AM
872002-07-26 Alan Modra <amodra@bigpond.net.au>
88
89 * config/tc-ppc.c (ppc_set_cpu): Use PPC_OPCODE_64 as the default
90 rather than PPC_OPCODE_32 for powerpc64*.
91
219576a4
NC
922002-07-25 Nick Clifton <nickc@redhat.com>
93
94 * po/es.po: Updated Spanish translation.
95 * po/fr.po: Updated French translation.
96
316f5878
RS
972002-07-25 Richard Sandiford <rsandifo@redhat.com>
98
99 * doc/c-mips.texi: Remove -mcpu. Document -mabi.
100 * configure.in (MIPS_CPU_STRING_DEFAULT): New configuration macro.
101 (USE_E_MIPS_ABI_O32, MIPS_DEFAULT_64BIT): New configuration macros.
102 * configure, config.in: Regenerate.
103 * config/tc-mips.c (file_mips_abi): Rename to mips_abi.
104 (mips_set_options): Remove "abi" field.
105 (mips_opts): Update accordingly. Replace all uses of mips_opts.abi
106 with mips_abi.
107 (mips_cpu): Remove.
108 (mips_arch_string, mips_arch_info): New vars.
109 (mips_tune_string, mips_tune_info): New vars.
110 (ABI_NEEDS_32BIT_REGS, ABI_NEEDS_64BIT_REGS): New macros.
111 (HAVE_32BIT_GPRS, HAVE_32BIT_FPRS): Don't check the ABI.
112 (mips_isa_to_str, mips_cpu_to_str): Remove.
113 (mips_ip): If the selected architecture is a generic ISA rather
114 than a processor, only mention the ISA level in error messages.
115 (OPTION_MCPU): Remove.
116 (OPTION_FP64): New.
117 (md_longopts): Add -mfp64, remove -mcpu.
118 (mips_set_option_string): New fn.
119 (md_parse_option): Make -mipsN update file_mips_isa rather than
120 mips_opts.isa. Use mips_set_option_string to set -march or -mtune.
121 Don't let -mgp32 and -mfp32 change the ABI.
122 (show): Move to end of file. Constify string argument.
123 (md_show_usage): Move to the end of the file. Read available
124 architectures from mips_cpu_info_table.
125 (mips_set_architecture): New fn.
126 (mips_after_parse_args): Rework. Remove -mcpu handling. -mipsN
127 is an alias for -march=mipsN. Don't change the ABI based on other
128 flags. Infer the register size from the ABI as well as the
129 architecture. Complain about more conflicting arguments.
130 Unify logic with GCC.
131 (s_mipsset): Don't change the ABI.
132 (mips_elf_final_processing): Check USE_E_MIPS_ABI_O32.
133 (mips_cpu_info_table): Remove Generic-MIPS* entries, keeping just
134 "mipsN"-type entries. Remove entries that vary only in the
135 manufacturer's prefix, or that have "000" replaced by "k".
136 Remove TARGET_CPU entries. Make r2000 entry use CPU_R3000.
137 (mips_strict_matching_cpu_name_p, mips_matching_cpu_name_p): New fns.
138 (mips_parse_cpu): New fn.
139 (mips_cpu_info_from_name, mips_cpu_info_from_cpu): Remove.
140 (mips_cpu_info_from_isa): Minor formatting tweak.
141
ff3063f5
NC
1422002-07-24 Nick Clifton <nickc@redhat.com>
143
144 * po/sv.po: Updated Swedish translation.
145 * po/es.po: Updated Spanish translation.
146
55eab186
AM
1472002-07-23 Alan Modra <amodra@bigpond.net.au>
148
149 * Makefile.am: Run "make dep-am".
150 * Makefile.in: Regenerate.
151 * doc/Makefile.in: Regenerate.
152 * config.in: Regenerate.
153 * po/POTFILES.in: Regenerate.
154
0461a601
NC
1552002-07-23 Nick Clifton <nickc@redhat.com>
156
ff3063f5 157 * po/fr.po: Updated French translation.
0461a601 158
ee8929cf
NC
1592002-07-23 Nick Clifton <nickc@redhat.com>
160
161 * CONTRIBUTORS: Ken Raeburn is no longer the maintainer for
162 GAS.
163
bad9ca53
TS
1642002-07-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
165
166 * config/tc-mips.c (mips_need_elf_addend_fixup): Use S_IS_EXTERNAL
167 instead of S_IS_EXTERN.
168 (md_estimate_size_before_relax): Likewise.
169 (mips_fix_adjustable): Likewise.
170
a37de3d3
TS
1712002-07-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
172
173 * config/tc-mips.c (mips_pic_level): Remove IRIX4_PIC.
174
8dfa0188 1752002-07-19 Miroslav Tichy <tichm9am@ss1000.ms.mff.cuni.cz>
dfff24c9 176 Nick Clifton <nickc@redhat.com>
8dfa0188
NC
177
178 * cond.c (s_ifdef): Treat a referenced but not yet defined
179 symbol as if it were undefined, in exactly the same way as
180 .equiv.
181
dfff24c9
AM
182 * doc/as.texinfo: Document that .ifdef, .ifndef and .equiv
183 consider referenced bug not yet defined symbols to be
184 undefined.
8dfa0188 185
a40cbfa3
NC
1862002-07-18 Denis Chertykov <denisc@overta.ru>
187 Frank Ch. Eigler <fche@redhat.com>
188 Alan Lehotsky <alehotsky@cygnus.com>
189 John Healy <jhealy@redhat.com>
190 Jeff Johnston <jjohnstn@redhat.com>
191
192 * configure.in: Add ip2k configuraton.
193 * configure: Regenerate.
194 * Makefile.am: Add ip2k configuraton.
195 * Makefile.in: Regenerate.
196 * configure: Regenerate.
197 * Makefile.in: Regenerate.
198 * config/tc-ip2k.c: New file.
199 * config/tc-ip2k.h: New files.
200 * NEWS: Mention new support.
201 * doc/Makefile.am (CPU_DOCS): Add c-ip2k.texi.
202 * doc/Makefile.in: Regenerate.
203 * doc/all.texi: Set IP2K
204 * doc/as.texinfo: Add IP2K description.
205 * doc/c-ip2k.texi: New file.
dfff24c9 206
a40cbfa3
NC
2072002-07-19 Nick Clifton <nickc@cambridge.redhat.com>
208
209 * NEWS: Reformat to match style of other NEWS files.
dfff24c9 210
a40cbfa3 2112002-07-17 Jan Hubicka <jh@suse.cz>
33fef721
JH
212
213 * tc-i386.c (i386_align_code): Implement x86_64 neutral code fillers.
214
25d3fb58
AM
2152002-07-16 Moritz Jodeit <moritz@jodeit.org>
216
217 * config/tc-z8k.c (build_bytes): Correct order of memset args.
218
2cbb2eef
NC
2192002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
220
221 * NEWS: Add 'Changes in 2.13'.
222
da06c61e
AM
2232002-07-15 Matt Fredette <fredette@netbsd.org>
224
225 * config/tc-hppa.h (LABELS_WITHOUT_COLONS): Define if TE_NetBSD.
226
9146926a
AM
2272002-07-12 Alan Modra <amodra@bigpond.net.au>
228
229 * config/tc-i386.c (process_suffix): Merge CODE_64BIT JumpByte
230 case with non CODE_64BIT case. Don't warn on "qword ptr" if
231 not CODE_64BIT.
232
2b3c4602
AM
2332002-07-11 Alan Modra <amodra@bigpond.net.au>
234
7e8d4ab4
AM
235 * config/tc-ppc.c (ppc_elf_frob_symbol): Delete.
236 (ppc_frob_file_before_adjust): New function.
237 * config/tc-ppc.h (tc_frob_symbol): Don't define.
238 (ppc_elf_frob_symbol): Don't declare.
239 (tc_frob_file_before_adjust): Define.
240 (ppc_frob_file_before_adjust): Declare.
241
2b3c4602
AM
242 * config/tc-ppc.c (md_pseudo_table): Warning fix.
243 (ppc_cpu): Make it unsigned long to agree with struct powerpc_opcode
244 flags.
245 (ppc_size): Delete.
246 (ppc_xcoff64): Rename to ppc_obj64.
247 (md_parse_option <m>): Encode old ppc_size value in ppc_cpu.
248 (ppc_set_cpu): Set PPC_OPCODE_32 too.
249 (ppc_arch): Use ppc_obj64 instead of ppc_size to select bfd_mach_ppc64
250 or bfd_mach_ppc.
251 (ppc_target_format): Use ppc_obj64 to select format.
252 (md_begin): Adjust for PPC_OPCODE_32/64 in ppc_cpu.
253 (ppc_insert_operand): Use ppc_obj64 instead of ppc_size.
254 (ppc_elf_suffix): Likewise. Don't depend on BFD_DEFAULT_TARGET_SIZE.
255 (tc_frob_symbol): Likewise.
256 (md_assemble): Use ppc_obj64 instead of ppc_size. Don't depend on
257 BFD_DEFAULT_TARGET_SIZE.
258 (ppc_tc): Likewise.
259 (ppc_is_toc_sym): Likewise.
260 (md_apply_fix3): Likewise.
261 * config/tc-ppc.h (TC_FORCE_RELOCATION): Don't depend on
262 BFD_DEFAULT_TARGET_SIZE.
263 (ELF_TC_SPECIAL_SECTIONS): Likewise.
264 (tc_frob_symbol): Likewise.
265
aec421e0
TS
2662002-07-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
267
268 * config/tc-mips.c (macro_build): Handle MIPS16 insns.
269 (mips_ip): Likewise.
270
c6682705
AM
2712002-07-09 Alan Modra <amodra@bigpond.net.au>
272
273 * config/tc-i386.c (md_pseudo_table <file>): Warning fix.
274 (BFD_RELOC_8, BFD_RELOC_8_PCREL): Define for non-BFD.
275 (md_apply_fix3): Formatting. Remove redundant test.
276 (tc_gen_reloc): Remove redundant code.
277 (tc_i386_force_relocation): Delete. Movy body of function to..
278 * config/tc-i386.h (TC_FORCE_RELOCATION): .. here.
279
03111e83
AM
2802002-07-09 Federico G. Schwindt <fgsch@olimpo.com.br>
281
282 * configure.in: Add hppa-*-openbsd* target, change
283 alpha*-*-openbsd* format to elf, and use elf for sparc-*-openbsd*
284 with sparc64 cpu.
285 * configure: Regenerate.
286
78d32a17
MR
2872002-07-08 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
288
289 * config/tc-mips.c (macro): Shift the 32-bit address range
290 accessible with a lone "lui" down by 32768.
291
3a482fd5
MR
2922002-07-08 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
293
294 * config/tc-mips.c (load_address): Use non-trapping "daddu"
295 instead of "dadd" in address calculations.
296 (macro): Likewise.
297
cd61ebfe
AM
2982002-07-08 Alan Modra <amodra@bigpond.net.au>
299
300 * config/tc-i386.c (process_suffix): Remove intel mode movsx and
301 movzx fudges.
302 (md_assemble): Instead, zap the suffix here.
303
a5d3c309
NC
3042002-07-03 Nick Clifton <nickc@cambridge.redhat.com>
305
306 * NEWS: Remove next release number until the release is actually
307 upon us.
308
ce4f7385
AM
3092002-07-03 Alan Modra <amodra@bigpond.net.au>
310
311 * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
312 Run "make dep-am".
313 * Makefile.in: Regenerate.
314
148b4c7a
MS
3152002-07-02 Martin Schwidefsky <schwidefsky@de.ibm.com>
316
317 * config/tc-s390.c (tc_s390_fix_adjustable): Prevent any adjustment
318 to symbols in merge sections, even non pc-relative ones.
319
2916066e
SC
3202002-06-29 Stephane Carrez <stcarrez@nerim.fr>
321
322 * config/tc-m68hc11.h (m68hc11_listing_header): Fix warning.
323
96e87417
SC
3242002-06-29 Stephane Carrez <stcarrez@nerim.fr>
325
326 * config/tc-m68hc11.h (ELF_TC_SPECIAL_SECTIONS): New sections
327 .softregs and .eeprom.
328
83518699
DB
3292002-06-28 David O'Brien <obrien@FreeBSD.org>
330
331 * NEWS: Note the next release is 2.13.
332
6c6783ff
NC
3332002-06-26 Nick Clifton <nickc@cambridge.redhat.com>
334
335 * po/tr.po: New translation imported.
336
a2c36061
AM
3372002-06-26 Elias Athanasopoulos <eathan@otenet.gr>
338
339 * ecoff.c: (get_tag): Replace strcpy with xstrdup.
340 (ecoff_directive_def): Likewise.
341 (ecoff_directive_tag): Likewise.
342 * listing.c (file_info): Likewise.
343 * hash.c (what): Likewise.
344
a13a0de8
L
3452002-06-25 H.J. Lu <hjl@gnu.org>
346
347 * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
348 * Makefile.in: Regenerated.
349
6c6783ff 3502002-06-19 Dhananjay R. Deshpande <dhananjayd@kpit.com>
5db33d76
JR
351
352 * config/tc-sh.c (get_specific): Revert 2002-05-01 change.
353 (assemble_ppi): Generate warning if the same register is used
354 twice as destination in the same padd / pmuls instruction.
355
0ebb9a87
DB
3562002-06-18 Dave Brolley <brolley@redhat.com>
357
a2c36061 358 From Catherine Moore, Michael Meissner, Richard Sandiford, Dave Brolley
0ebb9a87
DB
359 * po/POTFILES.in: Add tc-frv.c, tc-frv.h.
360 * configure.in: Support frv-*-*.
361 * Makefile.am (CPU_TYPES): Add frv.
362 (TARGET_CPU_CFILES): Add tc-frv.c.
363 (TARGET_CPU_HFILES): Add tc-frv.h.
364 (DEPTC_frv_coff): New variable.
365 (DEPTC_frv_elf): New variable.
366 (DEPOBJ_frv_coff): New variable.
367 (DEPOBJ_frv_elf): New variable.
368 (DEP_frv_coff): New variable.
369 (DEP_frv_elf): New variable.
370 * tc-frv.c: New file.
371 * tc-frv.h: New file.
372
2a24298d
CM
3732002-06-17 Catherine Moore <clm@redhat.com>
374
a2c36061 375 * config/obj-elf.h (TARGET_SYMBOL_FIELDS): Conditionally define.
2a24298d 376
6c6783ff 3772002-06-17 J"orn Rennecke <joern.rennecke@superh.com>
96f31fc7
JR
378
379 * config/tc-sh.c (assemble_ppi): Initialize reg_n.
380
184e65b1
TR
3812002-06-17 Tom Rix <trix@redhat.com>
382
383 * config/tc-i370.h (tc_comment_chars): Define for i370-elf.
384
ecb4347a
DJ
3852002-06-14 H.J. Lu <hjl@gnu.org>
386 Daniel Jacobowitz <drow@mvista.com>
387
388 * dwarf2dbg.h (dwarf2_directive_file): Return char *.
389 * dwarf2dbg.c (dwarf2_directive_file): Return filename.
390 * config/tc-mips.c (s_mips_file): Call s_app_file_string
391 and new_logical_line for the first .file directive.
392 * read.c (s_app_file_string): New function.
393 (s_app_file): Call it.
394 * read.h (s_app_file_string): Add declaration.
395
3962002-06-14 Daniel Jacobowitz <drow@mvista.com>
397
398 * configure.in: Remove MIPS_STABS_ELF.
399 * configure: Regenerated.
400 * config.in: Regenerated.
401 * config/obj-elf.h (ECOFF_DEBUGGING): Define to mips_flag_mdebug
402 for MIPS targets.
403 * config/tc-mips.c (mips_pseudo_table): Remove #ifdef around
404 ".extern".
405 (pdr_seg): Declare unconditionally.
406 (md_begin): Always generate .pdr unless ECOFF_DEBUGGING or not ELF.
407 (s_mips_end): Likewise. Generate stabs function markers.
408 (s_mips_ent): Generate stabs function markers.
409 (s_mips_frame): Always generate .pdr unless ECOFF_DEBUGGING or not
410 ELF.
411 (s_mips_mask): Likewise.
412 (mips_flag_mdebug): New.
413 (md_longopts): Add "mdebug" and "no-mdebug".
414 (md_parse_options): Add OPTION_MDEBUG and OPTION_NO_MDEBUG.
415 (mips_after_parse_args): Set mips_flag_mdebug.
416 * doc/as.texinfo: Add "-mdebug" and "-no-mdebug" for MIPS.
417
d6e9d61a
MR
4182002-06-13 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
419
420 * config/tc-mips.c (md_apply_fix3): Don't subtract the symbol's
421 value twice for RELA relocations.
422
03e83a45
BE
4232002-06-12 Ben Elliston <bje@redhat.com>
424
425 * symbols.c (resolve_symbol_value): Initialise final_val.
426
427 * subsegs.c (subsegs_print_statistics): Cast frchp to void *.
428
b4f96c78
TR
4292002-06-11 Tom Rix <trix@redhat.com>
430
431 * config/tc-ppc.c (ppc_subseg_align): Delete.
432 (ppc_change_csect): Default csect align is 2.
a2c36061 433 * config/tc-ppc.h (SUB_SEGMENT_ALIGN): Delete
b4f96c78 434
8a6def3b
MM
4352002-06-09 Marek Michalkiewicz <marekm@amelek.gda.pl>
436
437 * config/tc-avr.c (mcu_types): Update.
438
7542c0f2
JT
4392002-06-08 Matt Thomas <matt@3am-software.com>
440
441 * configure.in (vax-*-netbsdelf*, vax-*-netbsdaout*)
442 (vax-*-netbsd*): New targets.
443 * configure: Regenerate.
a2c36061 444 * config/aout_gnu.h (enum machine_type): Add M_VAX4K_NETBSD.
7542c0f2 445 * config/tc-vax.c: Add support for ELF and PIC.
a2c36061 446 (flag_want_pic): New flag.
7542c0f2
JT
447 (float_cons): Fix prototype.
448 (md_apply_fix3): Adjust for BFD_ASSEMBLER.
449 (md_assemble): Introduce a new is_absolute local, and use it
450 rather than repeating the test. Make fatal errors actually
a2c36061 451 fatal by using as_fatal as appropriate. Adjust for BFD_ASSEMBLER.
7542c0f2 452 Add support for ELF. Add support for PIC.
a2c36061 453 (md_convert_frag): Adjust for BFD_ASSEMBLER.
7542c0f2
JT
454 (tc_aout_fix_to_chars): Only include if OBJ_AOUT and not
455 BFD_ASSEMBLER.
a2c36061 456 (vax_reg_parse): Make the % register prefix mandatory for ELF,
7542c0f2
JT
457 optional for a.out, and not allowed for VMS. Adjust all callers.
458 (md_create_short_jump): Add ATTRIBUTE_UNUSED to unused arguments.
a2c36061 459 (md_create_long_jump): Likewise.
7542c0f2
JT
460 (md_undefined_symbol): Likewise.
461 (md_section_align): Likewise.
462 (md_shortopts): Allow -k and -K for ELF.
463 (md_parse_option): Set flag_want_pic if -k or -K.
464 (tc_headers_hook): New function if OBJ_AOUT and not BFD_ASSEMBLER.
465 (tc_gen_reloc): New function if BFD_ASSEMBLER.
466 * config/tc-vax.h (tc_headers_hook): Remove.
467 (TARGET_FORMAT): Set according to object format and target
468 environment.
469 (BFD_ARCH, TARGET_ARCH): Define.
470 (NO_RELOC): Adjust for BFD_ASSEMBLER.
471 (TC_RELOC_RTSYM_LOC_FIXUP, TC_FIX_ADJUSTABLE)
472 (tc_fix_adjustable): Define if BFD_ASSEMBLER.
473 * config/vax-inst.h (VAX_JSB, VAX_CALLS, VAX_CALLG): Define.
474
5a38dc70
AM
4752002-06-08 Alan Modra <amodra@bigpond.net.au>
476
e90b95f6
AM
477 * Makefile.am: Run "make dep-am".
478 * Makefile.in: Regenerate.
479
5a38dc70
AM
480 * as.c: Replace CONST with const.
481 * write.c: Likewise.
482 * config/obj-coff.c: Likewise.
483 * config/tc-a29k.c: Likewise.
484 * config/tc-arm.c: Likewise.
485 * config/tc-dlx.c: Likewise.
486 * config/tc-h8300.c: Likewise.
487 * config/tc-h8500.c: Likewise.
488 * config/tc-i370.c: Likewise.
489 * config/tc-i860.c: Likewise.
490 * config/tc-i960.c: Likewise.
491 * config/tc-m68hc11.c: Likewise.
492 * config/tc-m68k.c: Likewise.
493 * config/tc-m88k.c: Likewise.
494 * config/tc-mcore.c: Likewise.
495 * config/tc-mips.c: Likewise.
496 * config/tc-ns32k.c: Likewise.
497 * config/tc-pdp11.c: Likewise.
498 * config/tc-pj.c: Likewise.
499 * config/tc-s390.c: Likewise.
500 * config/tc-sh.c: Likewise.
501 * config/tc-sparc.c: Likewise.
502 * config/tc-tahoe.c: Likewise.
503 * config/tc-tic80.c: Likewise.
504 * config/tc-v850.c: Likewise.
505 * config/tc-vax.c: Likewise.
506 * config/tc-w65.c: Likewise.
507 * config/tc-z8k.c: Likewise.
508
c5dd6aab
DJ
5092002-06-08 Daniel Jacobowitz <drow@mvista.com>
510
511 Based on patch from Matt Green:
512 * config/obj-elf.h (ECOFF_DEBUGGING): Make configurable.
a2c36061 513 * config/tc-mips.c (s_mips_file): Renamed from s_file.
c5dd6aab
DJ
514 (s_mips_loc): New function.
515 (mips_nonecoff_pseudo_table): Call them.
a2c36061 516 (append_insn): Call dwarf2_emit_insn.
c5dd6aab 517
a4672219
TS
5182002-06-08 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
519
520 * config/tc-mips.c (mips_opts): Fix comment, all ASE fields are set
521 to -1.
522 (file_ase_mips16): New veriable.
523 (mips_eabi64): Remove.
524 (CPU_HAS_MIPS16): New define.
525 (CPU_HAS_MDMX): Fix data type.
526 (md_begin): Code cleanup. Use file_ase_mips16.
527 (mips_elf_final_processing): Handle mips16 header flag.
528 Handle EABI flag without intermediate variable.
529
437ee9d5
TS
5302002-06-08 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
531
532 * doc/as.texinfo: Update MIPS documentation.
533
85b51719
TS
5342002-06-08 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
535
536 * config/tc-mips.c: Add define for $zero register.
537 (md_begin): Add $zero as alias name for $0.
538 (insn_uses_reg): Use ZERO define.
539 (mips_ip): Add $zero as alias name for $0.
540 (mips16_ip): Likewise.
541 (s_cplocal): Demand empty rest of input line.
542 (tc_get_register): Likewise. Add support for $kt0, kt1 register
543 names. Use ZERO define. Fix input_line_pointer progress.
544
9758f3fc
AM
5452002-06-07 Alan Modra <amodra@bigpond.net.au>
546
547 * symbols.c: Replace CONST by const throughout.
548 (symbol_find_exact): Split out from..
549 (symbol_find_base): ..here.
550 * symbols.h: Replace CONST by const throughout.
551 (symbol_find_exact): Declare.
552 * config/obj-elf.c: #include "struc-symbol.h".
553 (elf_frob_file): If group name matches an exported symbol, use that
554 symbol for the signature and ".group" as the section name.
555
6c6783ff 5562002-06-06 J"orn Rennecke <joern.rennecke@superh.com>
9691d64f
JR
557
558 * config/tc-sh.c (parse_at): @(symbol,pc) is A_DISP_PC again,
559 but warn about it.
560 * testsuite/gas/sh/pcrel.s: Also test @(symbol,pc).
561 * testsuite/gas/sh/pcrel.d: Update.
562 * testsuite/gas/sh/pcrel.l: New file.
563
ffdefa66
DJ
5642002-06-06 Daniel Jacobowitz <drow@mvista.com>
565
566 * tc-mips.c (mips_after_parse_args): Always set mips_opts.ase_mips3d
567 and mips_opts.ase_mdmx if they are uninitialized.
568
ec8b3afd
JL
5692002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
570
571 * gas/config/tc-hppa.c (pa_ip): Replace "L$0\001" with FAKE_LABEL_NAME.
572 (hppa_force_relocation): Check if a stub just before the start symbol
573 of the last call_info is reachable before forcing relocation. Fix
574 typo.
575
e9670677
MR
5762002-06-04 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
577
578 * config/tc-mips.c (mips_after_parse_args): New function.
579 (md_begin): Move processing of defaults to mips_after_parse_args.
580 config/tc-mips.h (md_after_parse_args): Define.
581
5b0e55b6
JT
5822002-06-04 Jason Thorpe <thorpej@wasabisystems.com>
583
584 * configure.in (sh5*): Set cpu_type to sh64 and endian to big.
585 (sh5le*, sh64le*): Set cpu_type to sh64 and endian to little.
586 (sh5*-*-netbsd*, sh64*-*-netbsd*): New targets.
587 * configure: Regenerate.
588 * config/tc-sh64.c (sh64_target_format): Add support for NetBSD
589 environment.
590
a074e149
JT
5912002-06-04 Jason Thorpe <thorpej@wasabisystems.com>
592
593 * config/tc-sh64.h (MD_PCREL_FROM_SECTION): Undef before redefining.
594
d2dab548
AM
5952002-06-04 Alan Modra <amodra@bigpond.net.au>
596
597 * config/obj-elf.c (obj_elf_change_section): Set and check elf
598 linkonce flag. Print all warnings.
599 (obj_elf_section): Parse ",comdat" for groups.
600 (elf_frob_file): Set SEC_LINK_ONCE on COMDAT groups. Check
601 consistency of comdat flag.
602
20e130e9
RH
6032002-06-02 Richard Henderson <rth@redhat.com>
604
605 * config/tc-alpha.c (alpha_adjust_symtab_relocs): Fix thinko
606 with LITERALs without sequence numbers.
607
9e756d64
RH
6082002-06-01 Richard Henderson <rth@redhat.com>
609
610 * config/tc-alpha.c: Move LITUSE constants to "elf/alpha.h".
611 Rename them LITUSE_ALPHA_*.
612
3048287a
NC
6132002-05-31 Shrinivas Atre <ShrinivasA@kpit.com>
614
615 * config/tc-h8300.c (get_operand): Allow stm.l and ldm.l insns to
616 accept parentheses enclosed register lists.
617
194b5210
AM
6182002-05-31 Alan Modra <amodra@bigpond.net.au>
619
620 * Makefile.am: Run "make dep-am".
621 * Makefile.in: Regenerate.
622 * po/POTFILES.in: Regenerate.
623
34e97952
AM
6242002-05-31 Graeme Peterson <gp@qnx.com>
625
626 * configure.in: Add i386-*-nto-qnx*.
627 * configure: Regenerate.
628
793b27f4
TS
6292002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
630
631 * config/tc-mips.c (mips_ip): Use unsigned long values for
632 warning output.
633
80245285
TS
6342002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
635
636 * config/tc-mips.c (s_cpsetup): Fix initialization of
637 mips_cpreturn_register and mips_cpreturn_offset.
638
698b7d9d
TS
6392002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
640
641 * config/tc-mips.c (s_cpsetup): Fix comment.
642
76db943d
TS
6432002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
644
645 * config/tc-mips.c (md_begin): Add $ra as alias name for $31.
646 (mips_ip): Likewise.
647 (mips16_ip): Likewise.
648 (tc_get_register): Likewise.
649
deec1734 6502002-05-30 Chris G. Demetriou <cgd@broadcom.com>
a2c36061 651 Ed Satterthwaite <ehs@broadcom.com>
deec1734
CD
652
653 * config/tc-mips.c (mips_set_options): New "ase_mdmx" member.
654 (mips_opts): Initialize "ase_mdmx" member.
655 (file_ase_mdmx): New variable.
656 (CPU_HAS_MDMX): New macro.
657 (md_begin): Initialize mips_opts.ase_mdmx and file_ase_mdmx
658 based on command line options and configuration defaults.
659 (macro_build): Note in comment that use of MDMX in macros is
660 not currently allowed.
661 (validate_mips_insn): Add support for the "O", "Q", "X", "Y", and
662 "Z" MDMX operand types.
663 (mips_ip): Accept MDMX instructions if mips_opts.ase_mdmx is set,
664 and add support for the "O", "Q", "X", "Y", and "Z" MDMX operand
665 types.
666 (OPTION_MDMX, OPTION_NO_MDMX, md_longopts, md_parse_option):
667 Add support for "-mdmx" and "-no-mdmx" options.
668 (OPTION_ELF_BASE): Move to accomodate new options.
669 (s_mipsset): Support ".set mdmx" and ".set nomdmx".
670 (mips_elf_final_processing): Set MDMX ASE ELF header flag if
671 file_ase_mdmx was set.
672 * doc/as.texinfo: Document -mdmx and -no-mdmx options.
673 * doc/c-mips.texi: Likewise, and document ".set mdmx" and ".set
674 nomdmx" directives.
675
9ee72ff1
TS
6762002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
677
678 * config/tc-mips.c (OPTION_NO_M7000_HILO_FIX): Rename to
679 OPTION_MNO_7000_HILO_FIX. Add alternate "mno-fix7000"
680 command line switch conforming to gcc conventions.
681 * doc/c-mips.texi: Document -mno-fix7000 instead of no-mfix-7000.
682
438c16b8
TS
6832002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
684
685 * config/tc-mips.c (macro_build_jalr): New Function.
686 (md_begin): NewABI uses big GOTs.
687 (macro_build): Recognize BFD_RELOC_MIPS_GOT_DISP,
688 BFD_RELOC_MIPS_GOT_PAGE, BFD_RELOC_MIPS_GOT_OFST as valid.
689 (load_address): Add some NewABI PIC support.
690 (macro): Likewise.
691 (md_apply_fix): Special handling for BFD_RELOC_MIPS_JALR.
692 (tc_gen_reloc): Don't encode NewABI vtables in REL relocations.
693
f7ea7ef2
TS
6942002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
695
696 * config/tc-mips.c (load_address): Use mips_gp_register instead
697 of hardcoded value. Remove dbl parameter, use HAVE_32BIT_ADDRESSES
698 instead.
699 (macro): Use mips_gp_register instead of hardcoded value.
700
3765b1be
RH
7012002-05-30 Richard Henderson <rth@redhat.com>
702
703 * expr.h (operatorT): Add O_md17..O_md32.
704 * config/tc-alpha.c (O_lituse_tlsgd, O_lituse_tlsldm, O_tlsgd,
705 O_tlsldm, O_gotdtprel, O_dtprelhi, O_dtprello, O_dtprel, O_gottprel,
706 O_tprelhi, O_tprello, O_tprel): New.
707 (USER_RELOC_P, alpha_reloc_op_tag, debug_exp): Include them.
708 (DUMMY_RELOC_LITUSE_TLSGD, DUMMY_RELOC_LITUSE_TLSLDM): New.
709 (LITUSE_TLSGD, LITUSE_TLSLDM): New.
710 (struct alpha_reloc_tag): Add master, saw_tlsgd, saw_tlsld,
711 saw_lu_tlsgd, saw_lu_tlsldm. Make multi_section_p a bit field.
712 (md_apply_fix3): Handle TLS relocations.
713 (alpha_force_relocation, alpha_fix_adjustable): Likewise.
714 (alpha_adjust_symtab_relocs): Sort LITERAL relocs after the
715 associated TLS reloc. Check lituse_tls relocs match up.
716 (emit_insn): Handle TLS relocations.
717 (ldX_op): Remove.
718
1c5cec28
RH
719 * doc/c-alpha.texi: Add docs for tls relocations.
720
def2e0dd
TS
7212002-05-30 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
722
723 * config/tc-mips.c (mips_gprel_offset): New variable.
724 (s_gpvalue): Use it.
725
8ade06a8
TR
7262002-05-30 Diego Novillo <dnovillo@redhat.com>
727
a2c36061
AM
728 * gas/config/tc-d10v.c (check_resource_conflict): Only check
729 write-write conflicts.
730 (md_assemble): Reformat introductory comment.
731 (parallel_ok): Prevent packing only if the first
732 instruction cannot be packed.
8ade06a8
TR
733
7342002-05-30 Jason Eckhardt <jle@redhat.com>
735 Tom Rix <trix@redhat.com>
736
737 * config/tc-d10v.c (build_insn): Check for immediates.
738
c9914766
TS
7392002-05-28 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
740
741 * config/tc-mips.c: Replace GP in comments by $gp.
742 (mips_big_got): Initialize.
743 (mips_trap): Initialize.
744 (load_address): Use mips_gp_register instead of hardcoded value.
745 Remove dbl parameter, use HAVE_32BIT_ADDRESSES instead.
746 (macro): Use mips_gp_register instead of hardcoded value.
747 (macro2): Change load_address calls.
748 (md_pcrel_from): Comment formatting.
749 (s_cpload): Use mips_gp_register instead of hardcoded value.
750 (s_cprestore): Likewise. Comment formatting.
751 (s_gpword): Fix data type.
752 (s_cpadd): Use mips_gp_register instead of hardcoded value.
753 (nopic_need_relax): Replace GP in comments by $gp.
754 (mips_elf_final_processing): Better comment.
755
d172d4ba
NC
7562002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net>
757
758 * configure.in: Add DLX configuraton
759 * Makefile.am: Add DLX configuraton
760 * configure: Regenerate.
761 * Makefile.in: Regenerate.
762 * config/tc-dlx.c: New file.
763 * config/tc-dlx.h: New files.
52216602 764 * NEWS: Mention new support.
d172d4ba 765
e9732b6d
NC
7662002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
767
768 * config/obj-coff.c (write_object_file): Add missing semicolon.
769
f9419b05
TS
7702002-05-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
771
772 * config/tc-mips.c (mips_emit_delays): Replace magic constant for RA
773 by the define. Remove superfluous check of mips_opts.mips16.
774 (append_insn): Likewise. Canonicalize variable increments.
775 (macro_build): Canonicalize variable increments.
776 (macro_build_lui): Likewise.
777 (load_register): Likewise.
778 (load_address): Move pointer initialization.
779 (macro): Move pointer to a more local scope. Canonicalize variable
780 increments. Better comments. Replace magic constant for RA by the
781 define.
782 (macro2): Replace magic constant for RA by the define. Canonicalize
783 variable increments.
784 (mips_ip): Canonicalize variable increments.
785 (mips16_ip): Replace magic constant for RA by the define.
786 (my_getSmallParser): Canonicalize variable increments/decrements.
787 (my_getPercentOp): Likewise.
788 (my_getSmallExpression): Likewise.
789 (s_align): Likewise.
790 (s_mipsset): Likewise.
791 (s_cpsetup): Likewise.
792 (s_insn): Remove superfluous check of mips_opts.mips16.
793 (s_mips_stab): Likewise.
794 (mips_handle_align): Canonicalize variable increments.
795 (s_mips_ent): Likewise.
796 (s_mips_end): Add comment.
797
aa501e5c
JT
7982002-05-26 Jason Thorpe <thorpej@wasabisystems.com>
799
800 * configure.in: Use ns32k-*-netbsd* instead of ns32k-pc532-netbsd*.
801 * configure: Regenerate.
802
29589b0c
AM
8032002-05-25 Alan Modra <amodra@bigpond.net.au>
804
805 * Makefile.am (OBJS): Depend on ansidecl.h and fopen-same.h.
806 * Makefile.in: Regenerate.
807 * dep-in.sed: Reorder to match OBJS in Makefile.am.
808 * configure.in (ALL_OBJ_DEPS): Add symcat.h when need_bfd.
809 * configure: Regenerate.
810 * as.h: Use #include "" instead of <> for local header files.
811 * flonum-konst.c: Likewise.
812 * flonum-mult.c: Likewise.
813 * gasp.c: Likewise.
814 * listing.c: Likewise.
815 * config/tc-ia64.h: Likewise.
816 * config/tc-v850.h: Likewise.
817
436e8db0
NC
8182002-05-24 TAMURA Kent <kent@netbsd.org>
819
820 * configure.in: Add a target for i386-netbsdpe.
821 * configure: Regenerate.
822
13ae64f3
JJ
8232002-05-23 Jakub Jelinek <jakub@redhat.com>
824
825 * config/obj-elf.c (elf_common): Renamed from obj_elf_common.
826 (obj_elf_common): Call elf_common.
827 (obj_elf_tls_common): New function.
828 (elf_pseudo_tab): Support .tls_common.
829 (special_sections): Add .tdata and .tbss.
830 (obj_elf_change_section): Set SEC_THREAD_LOCAL for SHF_TLS
831 sections.
832 (obj_elf_parse_section_letters): Support T in section flags (SHF_TLS).
833 (obj_elf_parse_section_letters): Include T in error message.
834 * config/tc-ppc.c (ppc_section_letter): Likewise.
835 * config/tc-alpha.c (alpha_elf_section_letter): Likewise.
836 (tc_gen_reloc): Handle SEC_THREAD_LOCAL the same way as
837 SEC_MERGE.
838 * config/tc-sparc.c (md_apply_fix3): Likewise.
839 * config/tc-i386.c (tc_i386_fix_adjustable): Add TLS relocs.
840 Define them if not BFD_ASSEMBLER.
841 (lex_got): Support @TLSGD, @TLSLDM, @GOTTPOFF, @TPOFF, @DTPOFF
842 and @NTPOFF.
843 (md_apply_fix3): Add TLS relocs.
844 * config/tc-ia64.c (enum reloc_func): Add FUNC_DTP_MODULE,
845 FUNC_DTP_RELATIVE, FUNC_TP_RELATIVE, FUNC_LT_DTP_MODULE,
846 FUNC_LT_DTP_RELATIVE, FUNC_LT_TP_RELATIVE.
847 (pseudo_func): Support @dtpmod(), @dtprel() and @tprel().
848 (ia64_elf_section_letter): Include T in error message.
849 (md_begin): Support TLS operators.
850 (md_operand): Likewise.
851 (ia64_gen_real_reloc_type): Support TLS relocs.
852 * testsuite/gas/i386/tlspic.s: New file.
853 * testsuite/gas/i386/tlsd.s: New file.
854 * testsuite/gas/i386/tlsnopic.s: New file.
855 * testsuite/gas/i386/tlsd.d: New file.
856 * testsuite/gas/i386/tlsnopic.d: New file.
857 * testsuite/gas/i386/tlspic.d: New file.
858 * testsuite/gas/i386/i386.exp: Add tlsd, tlsnopic and tlspic tests.
859 * testsuite/gas/ia64/tls.s: New file.
860 * testsuite/gas/ia64/tls.d: New file.
861 * testsuite/gas/ia64/ia64.exp: Add tls test.
862 * write.c (adjust_reloc_syms): Don't change symbols in
863 SEC_THREAD_LOCAL sections to STT_SECTION + addend.
864
c62e1cc3
NC
8652002-05-23 Nick Clifton <nickc@cambridge.redhat.com>
866
867 * config/tc-arm.c (md_apply_fix3): For the Thumb BLX reloc
868 round the relocation up rather than down.
869
6ff96af6
NC
8702002-05-23 Nick Clifton <nickc@cambridge.redhat.com>
871
872 * config/obj-coff.c (obj_coff_section): Silently ignore an 'a'
873 flag.
a2c36061 874 * doc/as.texinfo: Document that the COFF version of .section
6ff96af6
NC
875 ignores the 'a' flag.
876
18e1d487
AM
8772002-05-23 Alan Modra <amodra@bigpond.net.au>
878
69108c1f
AM
879 * config/tc-alpha.c (assemble_tokens): Protect use of
880 ALPHA_RELOC_TABLE with #ifdef RELOC_OP_P.
881
18e1d487
AM
882 * write.c (size_seg): Check adjustment to last frag.
883 (SUB_SEGMENT_ALIGN): If HANDLE_ALIGN defined, pad out last frag to
884 section alignment.
885 * config/obj-coff.c (SUB_SEGMENT_ALIGN): Likewise.
886 * config/obj-ieee.c (SUB_SEGMENT_ALIGN): Likewise.
887 (write_object_file): Invoke md_do_align if available, and use
888 frag_align_code on text sections.
889 * config/obj-vms.h (SUB_SEGMENT_ALIGN): Now two args.
890 * config/tc-m88k.h (SUB_SEGMENT_ALIGN): Likewise.
891 * config/tc-ppc.h (SUB_SEGMENT_ALIGN): Likewise.
892 * config/tc-sh.h (SUB_SEGMENT_ALIGN): Likewise.
893 * config/tc-i386.h (SUB_SEGMENT_ALIGN): Likewise. Define for
894 BFD_ASSEMBLER too.
895
9d66a1d9
L
8962002-05-22 H.J. Lu <hjl@gnu.org>
897
898 * dwarf2dbg.c (dwarf2_directive_loc): Call listing_source_file
899 for source file.
900
76feaaf3
NC
9012002-05-22 Nick Clifton <nickc@cambridge.redhat.com>
902
903 * config/tc-arm.c (arm_s_section): Enable for COFF builds as well
904 as ELF builds.
905
1080e97d
L
9062002-05-22 H.J. Lu <hjl@gnu.org>
907
908 * dwarf2dbg.c (dwarf2_emit_insn): Emit only one line symbol
909 for one .loc for compiler.
910
c90bbe5b
TS
9112002-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
912
913 * config/tc-mips.c (macro): Relax warning, it's toot strict for
914 embedded-PIC.
915
771c7ce4
TS
9162002-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
917
918 * config/tc-mips.c (macro2): Add 64 bit drol, dror macros.
919 Optimize the rotate by zero case.
920
fa70f2ed
NC
9212002-05-21 Nick Clifton <nickc@cambridge.redhat.com>
922
923 * configure.in: Remove accidental enabling of bfd_gas=yes for
924 sh-coff targets.
925 * configure: Regenerate.
926
411863a4
KH
9272002-05-18 Kazu Hirata <kazu@cs.umass.edu>
928
929 * app.c: Fix formatting.
930 * as.c: Likewise.
931 * ehopt.c: Likewise.
932 * expr.c: Likewise.
933 * input-file.c: Likewise.
934 * listing.c: Likewise.
935 * macro.h: Likewise.
936 * stabs.c: Likewise.
937 * symbols.c: Likewise.
938
eb268f46
AM
9392002-05-17 Alan Modra <amodra@bigpond.net.au>
940
941 * config/obj-generic.c: Delete file.
942 * config/obj-generic.h: Likewise.
943
bdfdba87
MM
9442002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
945
946 * config/tc-avr.c (mcu_types): Update for new devices.
947
3bec30a8
TS
9482002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
949
950 * config/tc-mips.c (macro): Warn about wrong la/dla use.
951
8586fc66
TS
9522002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
953
954 * config/tc_mips.c (s_cpsetup): Fix completely bogus code which had
955 worked sometimes by accident. Fix copy&paste comment.
956
195325d2
TS
9572002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
958
959 * config/tc-mips.c (md_begin): Fix .reginfo and .MIPS.option section
960 alignment for NewABI. Let n32 use .reginfo. Remove useless casts.
961 (mips_elf_final_processing): Let n32 use .reginfo.
962
4db1a35d
TS
9632002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
964
965 * config/tc-mips.c (append_insn): Fix too small range of variable.
966
7f367f01
NC
9672002-05-14 Nick Clifton <nickc@cambridge.redhat.com>
968
969 * config/tc-arm.c (arm_cleanup): Remove redundant call to
970 listing_prev_line().
971
7193a0e7
NC
9722002-05-13 Nick Clifton <nickc@cambridge.redhat.com>
973
f5b4e9e4
NC
974 * config/tc-arm.c (md_assemble): Remove redundant call to
975 listing_prev().
976
b6675117
NC
977 * dwarf2dbg.c (dwarf2_emit_insn): Do not reset
978 loc_directive_seen.
979
7193a0e7
NC
980 * stabs.c (s_stab_generic): Fix grammatical error in warning
981 message.
982
50b31228
AM
9832002-05-13 Alan Modra <amodra@bigpond.net.au>
984
985 * write.c (subsegs_finish): Don't specially align last subseg.
986
cce5a618
NC
9872002-05-11 Nick Clifton <nickc@cambridge.redhat.com>
988
6360824b
NC
989 * stabs.c (s_stab_generic): Warn about a description field that is
990 too big.
991
f8e42b8c
NC
992 * config/obj-coff.c: Fix compile time warnings when compiling
993 without BFD_ASSEMBLER defined.
994 Fix formatting.
995
cce5a618
NC
996 * config/tc-sh.c (md_pcrel_from): Define for use with sh-hms
997 target.
998 (md_pcrel_from_section): Use md_pcrel_from().
999
d7c310c2
NC
10002002-05-11 Bruno Haible <bruno@clisp.org>
1001
1002 * dwarf2dbg.c (dwarf2_emit_insn): Use the 'current' struct filled
1003 by dwarf2_directive_loc, instead of calling dwarf2_where.
1004
5d6255fe
KH
10052002-05-11 Kazu Hirata <kazu@cs.umass.edu>
1006
1007 * config/obj-coff.h: Fix formatting.
1008 * config/tc-mcore.c: Likewise.
1009 * config/tc-mn10300.c: Likewise.
1010 * config/tc-openrisc.c: Likewise.
1011 * config/tc-or32.c: Likewise.
1012 * config/tc-pdp11.c: Likewise.
1013 * config/tc-ppc.c: Likewise.
1014 * config/tc-ppc.h: Likewise.
1015 * config/tc-sh64.c: Likewise.
1016 * config/tc-sh.c: Likewise.
1017 * config/tc-tic54x.c: Likewise.
1018 * config/tc-xstormy16.c: Likewise.
1019 * config/tc-xstormy16.h: Likewise.
1020
cc8a6dd0
KH
10212002-05-09 Kazu Hirata <kazu@cs.umass.edu>
1022
1023 * config/obj-coff.c: Fix formatting.
1024 * config/obj-elf.c: Likewise.
1025 * config/tc-alpha.c: Likewise.
1026 * config/tc-arm.c: Likewise.
1027 * config/tc-d10v.c: Likewise.
1028 * config/tc-d30v.c: Likewise.
1029 * config/tc-h8300.c: Likewise.
1030 * config/tc-hppa.c: Likewise.
1031
412167cb
AM
10322002-05-09 Alan Modra <amodra@bigpond.net.au>
1033
1034 * config/tc-i386.c (md_estimate_size_before_relax) Don't lose
1035 reloc when no_cond_jump_promotion.
1036
91975467
JW
10372002-05-08 Jim Wilson <wilson@redhat.com>
1038
1039 * config/tc-i960.c (md_estimate_size_before_relax): Return size of
1040 current variable part of frag.
1041
a1b6236b
KH
10422002-05-08 Kazu Hirata <kazu@cs.umass.edu>
1043
1044 * config/tc-mmix.c: Fix formatting.
1045 * config/tc-mmix.h: Likewise.
1046
c8615825
AM
10472002-05-08 Alan Modra <amodra@bigpond.net.au>
1048
1049 * configure: Regenerate.
1050
8a104df9
KH
10512002-05-07 Kazu Hirata <kazu@cs.umass.edu>
1052
1053 * config/tc-m68k.c: Fix formatting.
1054
d3d8a9ee
NC
10552002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br>
1056
1057 * Makefile.am: Honour DESTDIR.
1058 * Makefile.in: Regenerate.
1059
40449e9f
KH
10602002-05-06 Kazu Hirata <kazu@cs.umass.edu>
1061
1062 * config/tc-ia64.c: Fix formatting.
1063 * config/tc-ia64.h: Likewise.
1064
98d3f06f
KH
10652002-05-04 Kazu Hirata <kazu@cs.umass.edu>
1066
1067 * config/tc-mips.c: Fix formatting.
1068 * config/tc-s390.c: Likewise.
1069 * config/tc-s390.h: Likewise.
1070
8f5b2891
AO
10712002-05-03 Alexandre Oliva <aoliva@redhat.com>
1072
1073 * config/tc-s390.c (md_gather_operands): Emit dwarf2 line-number
1074 information for instructions.
1075
d1a6c242
KH
10762002-05-02 Kazu Hirata <kazu@cs.umass.edu>
1077
1078 * as.h: Fix formatting.
1079 * cgen.c: Likewise.
1080 * cgen.h: Likewise.
1081 * dwarf2dbg.c: Likewise.
1082 * frags.h: Likewise.
1083 * gasp.c: Likewise.
1084 * macro.c: Likewise.
1085 * read.c: Likewise.
1086 * stabs.c: Likewise.
1087 * symbols.c: Likewise.
1088
1cfc59d5
AM
10892002-05-02 Alan Modra <amodra@bigpond.net.au>
1090
72297628
AM
1091 * app.c (mri_pseudo): Only declare for TC_M68K.
1092
1cfc59d5
AM
1093 * config/tc-ppc.c (mapping): Map sectoff to BFD_RELOC_16_BASEREL.
1094 (ppc_elf_validate_fix): Replace BFD_RELOC_32_BASEREL with
1095 BFD_RELOC_16_BASEREL.
1096 (md_assemble): Likewise.
1097 (md_apply_fix3): Likewise.
1098
358b94bd
NC
10992002-05-02 Nick Clifton <nickc@cambridge.redhat.com>
1100
1101 * config/tc-arm.c (thumb_add_sub): Do not convert a subtract of
1102 zero into an add of zero - it is not the same.
1103
d8731e7d
NC
11042002-05-01 Arati Dikey <aratid@kpit.com>
1105
1106 * tc-sh.c (get_specific): Generate warning if the same
1107 destination register is used in parallel instructions.
1108
200dbde8
AM
11092002-05-01 Andrew Macleod <amacleod@cygnus.com>
1110
1111 * config/tc-i386.c (extra_symbol_chars): Add '[' to the list.
1112
3f3cdb03
AM
11132002-05-01 Alan Modra <amodra@bigpond.net.au>
1114
1115 * write.c (cvt_frag_to_fill): Set fr_offset to zero on .org
1116 backwards to prevent cascading errors.
1117
9b2b7d69
MM
11182002-04-30 Mark Mitchell <mark@codesourcery.com>
1119
1120 * configure.in: Add support for powerpc-*-windiss.
1121 * configure: Regenerated.
a2c36061 1122
0f3f3d8b
AM
11232002-04-28 Alan Modra <amodra@bigpond.net.au>
1124
819e6420
AM
1125 * config/tc-s390.c (md_parse_option): Formatting.
1126
0f3f3d8b
AM
1127 * config/tc-i386.c: Formatting fixes, add missing space in error
1128 message.
1129
3c25c5f6
NC
11302002-04-24 Christian Groessler <chris@groessler.org>
1131
1132 * config/tc-z8k.c (build_bytes): Add support for new cases:
1133 CLASS_IGNORE and ARG_NIM4.
1134 (md_assemble): Prevent destruction of input_line_pointer if
1135 get_operands returns failure.
1136
af55c2e6
CD
11372002-04-24 Chris G. Demetriou <cgd@broadcom.com>
1138
1139 * config/tc-mips.c (macro_build): Do _not_ allow MIPS-3D
1140 instructions to be generated by macros.
1141
062cd5e7
AS
11422002-04-24 Andreas Schwab <schwab@suse.de>
1143
1144 * config/tc-i386.c (output_jump, output_disp)
1145 (md_estimate_size_before_relax): Don't set fx_pcrel_adjust any
1146 more.
1147 (md_apply_fix3): Remember addend value for rela relocations.
1148 (tc_gen_reloc): Correctly compute pc-relative relocation addend.
1149
2b2e39bf
CD
11502002-04-22 Chris Demetriou <cgd@broadcom.com>
1151
1152 * config/tc-mips.c (macro_build): Add close-parenthesis missing
1153 from previous change.
1154
80cc45a5
EC
11552002-04-22 Eric Christopher <echristo@redhat.com>
1156
2b2e39bf
CD
1157 * config/tc-mips.c (macro_build): Add warning if macro instructions
1158 are expanded into a branch delay slot.
80cc45a5 1159
ffa554ed
GK
11602002-04-17 Geoffrey Keating <geoffk@redhat.com>
1161
1162 * dwarf2dbg.c (dwarf2_gen_line_info): Do emit duplicate line
1163 numbers, gdb relies on them to detect the start of the prologue.
1164
302576af
MS
11652002-04-17 Martin Schwidefsky <schwidefsky@de.ibm.com>
1166
1167 * config/tc-s390.c (tc_s390_fix_adjustable): Prevent adjustments to
1168 symbols in merge sections.
1169
0f3f3d8b 11702002-04-16 Alan Modra <amodra@bigpond.net.au>
091e58c1
AM
1171
1172 * as.c (main): Don't reference _bfd_chunksize.
1173
76b999d0
TR
11742002-04-15 Tom Rix <trix@redhat.com>
1175
80cc45a5 1176 * config/tc-d10v.c (d10v_fix_adjustable): Prevent adjustments to
76b999d0
TR
1177 symbols in merge sections.
1178
580a832e
RS
11792002-04-11 Richard Sandiford <rsandifo@redhat.com>
1180
1181 * doc/invoke.texi (TC_LARGEST_EXPONENT_IS_NORMAL): Document.
1182 * config/atof-ieee.c (TC_LARGEST_EXPONENT_IS_NORMAL): Add an
1183 argument for the precision.
1184 (gen_to_words): Update accordingly.
1185
edde18a5
AM
11862002-04-10 Alan Modra <amodra@bigpond.net.au>
1187
1188 * as.c (parse_args <OPTION_VERSION>): Use VERSION is
1189 BFD_VERSION_STRING unavailable.
1190 * config/tc-i386.c (INLINE): Define (for non-BFD assembler).
1191
6c6783ff 11922002-04-09 J"orn Rennecke <joern.rennecke@superh.com>
5bcd00a6
JR
1193
1194 * config/tc-sh.h (TC_FIX_ADJUSTABLE): Disable adjusting if
1195 symbol_used_in_reloc_p is true.
2ed5f585
JR
1196
1197 * config/tc-sh.c (md_apply_fix3): Don't zero relocations on big
1198 endian hosts.
1199
8e42bcb6
AM
12002002-04-04 Alan Modra <amodra@bigpond.net.au>
1201
1202 * dep-in.sed: Cope with absolute paths.
1203 * Makefile.am (dep.sed): Subst TOPDIR.
1204 Run "make dep-am".
1205 * Makefile.in: Regenerate.
1206
874e8986
TS
12072002-04-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1208
1209 * config/tc-mips.c (mips16_macro_build): Cast type mismatch.
1210 (mips_ip): Remove unused variable.
1211 (md_apply_fix3): Cast signed/unsignes mismatches. Replace
1212 unsigned char with bfd_byte.
1213 (s_file): Remove unused variable.
1214 (s_mips_ent): Likewise.
1215
fbdbf472
TR
12162002-04-03 Tom Rix <trix@redhat.com>
1217
1218 * config/tc-d10v.c (d10v_insert_operand): Fix warning in as_bad_where.
1219 (build_insn): Same.
1220 (find_opcode): Fix warning in as_warn.
1221 * config/tc-d10v.h: Update Copyright.
1222
12232002-04-03 Alan Matsuoka <alanm@redhat.com>
1224 Tom Rix <trix@redhat.com>
1225
1226 From Jeff Knaggs <jknaggs@redhat.com>
80cc45a5 1227 * config/tc-d10v.c (check_resource_conflict): New function to
fbdbf472
TR
1228 check for resource conflicts.
1229
1230 From Jason Eckhardt <jle@redhat.com>
a2c36061
AM
1231 * config/tc-d10v.c (build_insn): Check for unresolved imm4 or
1232 imm3 fields.
1233 * config/tc-d10v.c (find_opcode): Emit a warning if one of the
1234 reserved control registers is used.
1235 * config/tc-d10v.c (build_insn): Check for unresolved imm4 or
1236 imm3 fields.
fbdbf472
TR
1237
1238 From 2001-03-28 Diego Novillo <dnovillo@redhat.com>
a2c36061
AM
1239 * tc-d10v.c (parallel_ok): Prevent packing only if the first
1240 instruction cannot be packed.
fbdbf472
TR
1241
1242 From 2001-03-30 Diego Novillo <dnovillo@redhat.com>
a2c36061
AM
1243 * gas/config/tc-d10v.c (check_resource_conflict): Only check
1244 write-write conflicts.
1245 (md_assemble): Reformat introductory comment.
1246 * opcodes/d10v-opc.c (d10v_opcodes): `btsti' does not modify its
1247 arguments.
fbdbf472 1248
784b640d
AM
12492002-04-03 Alan Modra <amodra@bigpond.net.au>
1250
1251 * symbols.c (resolve_symbol_value <O_uminus, O_bit_not,
1252 O_logical_not>): Derive final_seg from add_symbol.
1253 <O_multiply..O_logical_or>: More final_seg twiddles.
1254
5f44c186
RH
12552002-04-01 Jessica Han <jessica@cup.hp.com>
1256
a2c36061 1257 * config/tc-ia64.c (ia64_cons_fix_new): Handle 8 byte iplt reloc
5f44c186
RH
1258 in 32-bit mode.
1259
3458b54c
AS
12602002-03-27 Andreas Schwab <schwab@suse.de>
1261
1262 * config/tc-i386.c (output_jump): Set fx_pcrel_adjust to size of
1263 field for pc-relative fixups.
1264 (output_disp): Likewise.
1265 (md_estimate_size_before_relax): Likewise.
1266 (tc_gen_reloc): Subtract fx_pcrel_adjust instead of fx_size for
1267 pc-relative fixups in 64bit mode.
1268
815b453c
AM
12692002-03-22 Alan Modra <amodra@bigpond.net.au>
1270
1271 * config/te-aix5.h: Typo fix.
1272
d5b32339
AM
12732002-03-21 Alan Modra <amodra@bigpond.net.au>
1274
1275 * Makefile.am: Run "make dep-am".
1276 * Makefile.in: Regenerate.
1277 * doc/Makefile.in: Regenerate.
1278
f201ccb3
NC
12792002-03-20 Albert Chin-A-Young <china@thewrittenword.com>
1280
1281 * config/tc-arm.c (vfp_dp_reg_required_here): Fix typo
1282 (vfp_sp_reg_pos -> vfp_dp_reg_pos).
1283
177b4a6a
AO
12842002-03-18 Alexandre Oliva <aoliva@redhat.com>
1285
1286 * config/tc-mips.c (md_estimate_size_before_relax): Do not modify
1287 the EXTENDED bit here; report the estimate according to the
1288 current size.
1289
eb1e0e80
NC
12902002-03-18 Tom Rix <trix@redhat.com>
1291
1292 * configure.in: Add AIX 5 support.
1293 * config/tc-ppc.c (ppc_target_format): Add AIX 5 64 bit target.
1294 * config/te-aix5.h: New file. AIX 5 support.
1295 * configure: Regenerate.
1296
a1c259a1
NC
12972002-03-18 Nick Clifton <nickc@cambridge.redhat.com>
1298
1299 * po/fr.po: Updated version.
1300
949f2b5c
AJ
13012002-03-16 Andreas Jaeger <aj@suse.de>
1302
1303 * doc/c-mips.texi (Machine Dependencies): Add new node.
1304
1f25f5d3
CD
13052002-03-15 Chris G. Demetriou <cgd@broadcom.com>
1306
1307 * config/tc-mips.c (mips_set_options): New "ase_mips3d" member.
1308 (mips_opts): Initialize "ase_mips3d" member.
1309 (file_ase_mips3d): New variable.
1310 (CPU_HAS_MIPS3D): New macro.
1311 (md_begin): Initialize mips_opts.ase_mips3d and file_ase_mips3d
1312 based on command line options and configuration defaults.
1313 (macro_build, mips_ip): Accept MIPS-3D instructions if
1314 mips_opts.ase_mips3d is set.
1315 (OPTION_MIPS3D, OPTION_NO_MIPS3D, md_longopts, md_parse_option):
1316 Add support for "-mips3d" and "-no-mips3d" options.
1317 (OPTION_ELF_BASE): Move to accomodate new options.
1318 (s_mipsset): Support ".set mips3d" and ".set nomips3d".
1319 (mips_elf_final_processing): Add a comment indicating that a
1320 MIPS-3D ASE ELF header flag should be set, when one exists.
1321 * doc/as.texinfo: Document -mips3d and -no-mips3d options.
1322 * doc/c-mips.texi: Likewise, and document ".set mips3d" and ".set
1323 nomips3d" directives.
949f2b5c 1324
2be11e7e
HPN
13252002-03-14 Hans-Peter Nilsson <hp@bitrange.com>
1326
1327 * config/tc-mmix.c (md_estimate_size_before_relax): Don't consider
1328 a weak symbol in same section to be within reach.
1329
9ce88e60
NC
13302002-03-13 Nick Clifton <nickc@cambridge.redhat.com>
1331
1332 * po/fr.po: Updated version.
1333
1e16b528
AS
13342002-03-12 Andreas Schwab <schwab@suse.de>
1335
1336 * config/tc-ia64.c (fixup_unw_records): Clear region when seeing a
1337 body record so that an error is given for misplaced .save
1338 pseudo-ops.
1339
29b0f896
AM
13402002-03-09 Alan Modra <amodra@bigpond.net.au>
1341
1342 * config/tc-i386.h (REX_OPCODE): Define.
1343 (REX_MODE64, REX_EXTX, REX_EXTY, REX_EXTZ): Define.
1344 (rex_byte): typedef to int.
1345 * config/tc-i386.c: Group prototypes and vars together.
1346 Formatting fixes. Remove occurrences of "register" keyword.
1347 (true): Delete.
1348 (false): Delete.
1349 (mode_from_disp_size): Add INLINE keyword to prototype.
1350 (fits_in_signed_byte): Likewise.
1351 (fits_in_unsigned_byte): Likewise.
1352 (fits_in_unsigned_word): Likewise.
1353 (fits_in_signed_word): Likewise.
1354 (fits_in_unsigned_long): Likewise.
1355 (fits_in_signed_long): Likewise.
1356 (type_names): Constify.
1357 (intel_float_operand): Constify param.
1358 (add_prefix): Use REX_OPCODE.
1359 (md_assemble): Likewise. Modify for changed rex_byte.
1360 (parse_insn): Split out of md_assemble.
1361 (parse_operands): Likewise.
1362 (swap_operands): Likewise.
1363 (optimize_imm): Likewise.
1364 (optimize_disp): Likewise.
1365 (match_template): Likewise.
1366 (check_string): Likewise.
1367 (process_suffix): Likewise.
1368 (check_byte_reg): Likewise.
1369 (check_long_reg): Likewise.
1370 (check_qword_reg): Likewise.
1371 (check_word_reg): Likewise.
1372 (finalize_imm): Likewise.
1373 (process_operands): Likewise.
1374 (build_modrm_byte): Likewise.
1375 (output_insn): Likewise.
1376 (output_branch): Likewise.
1377 (output_jump): Likewise.
1378 (output_interseg_jump): Likewise.
1379 (output_disp): Likewise.
1380 (output_imm): Likewise.
1381
2e64b665
DJ
13822002-03-07 Daniel Jacobowitz <drow@mvista.com>
1383
1384 * doc/as.texinfo: Wrap @menu in @ifnottex, not @ifinfo.
1385
937149dd
AM
13862002-03-06 Alan Modra <amodra@bigpond.net.au>
1387
1388 * config/tc-i386.c (tc_gen_reloc): Don't attempt to handle 8 byte
1389 relocs except when BFD64.
1390
1391 * write.c (number_to_chars_bigendian): Don't abort when N is
1392 larger than sizeof (VAL).
1393 (number_to_chars_littleendian): Likewise.
1394
40d74fb1
JL
13952002-03-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
1396
1397 * config/tc-hppa.c (md_apply_fix3): Add cast.
1398 (hppa_fix_adjustable): Adjust list of selectors using e_lrsel and
1399 e_rrsel.
1400
cd3cde86
AM
14012002-03-05 Paul Koning <pkoning@equallogic.com>
1402
1403 * tc-pdp11.c: Use VAX float format support for PDP-11 target.
1404 (parse_ac5): New function for parsing float regs in float operand.
1405 (parse_expression): Remove attempt to make literals be octal.
1406 (parse_op_no_deferred): Support float literals.
1407 (parse_op): Reject attempts to refer to float regs.
1408 (parse_fop): New function, like parse_op but for float operand.
949f2b5c 1409 (md_assemble): Add cases to parse float operands. Also fix
cd3cde86
AM
1410 IMM3, IMM6, IMM8 cases to pick up the operand from the right spot.
1411
e9682144
L
14122002-03-04 H.J. Lu <hjl@gnu.org>
1413
1414 * config/obj-elf.c (special_section): Add .init_array,
1415 .fini_array and .preinit_array.
1416
1417 * config/tc-ia64.h (ELF_TC_SPECIAL_SECTIONS): Remove
1418 .init_array and .fini_array.
1419
26eb4093
JJ
14202002-03-01 Jakub Jelinek <jakub@redhat.com>
1421
1422 * config/obj-elf.c (elf_copy_symbol_attributes): Don't copy
1423 visibility.
1424 (obj_frob_symbol): Copy visibility.
1425
559e22f3
JJ
14262002-02-28 Jakub Jelinek <jakub@redhat.com>
1427
1428 * config/tc-alpha.c (s_alpha_text): Use obj_elf_text for OBJ_ELF, not
1429 s_text.
1430 (s_alpha_data): Use obj_elf_data for OBJ_ELF, not s_data.
1431
ef412327
NC
14322002-02-27 Nick Clifton <nickc@cambridge.redhat.com>
1433
1434 * po/es.po: Updated.
1435
b25a253c
CD
14362002-02-26 Chris Demetriou <cgd@broadcom.com>
1437
1438 * config/tc-mips.c (mips_need_elf_addend_fixup): For embedded-PIC
1439 only, undo the changes made on 2001-06-08, with the
1440 effect being that common or extern symbols are
1441 adjusted for embedded-PIC, but weak symbols are not.
1442 (md_estimate_size_before_relax: Likewise, with the effect
1443 that extern symbols are treated the same as weak symbols
1444 only if not embedded-PIC.
1445 (mips_fix_adjustable) Likewise, with the effect that
1446 weak or extern symbols are not adjusted for embedded-PIC.
1447 (md_apply_fix3): Tweak so that the case where value is zero
1448 is handled more correctly for embedded-PIC code.
1449
fe41178f
NC
14502002-02-26 Nick Clifton <nickc@cambridge.redhat.com>
1451
587fe2b3
NC
1452 * doc/as.texinfo (Overview): Add missing @ifset IA64
1453
fe41178f
NC
1454 * configure.in (LINGUAS): Add es.po.
1455 * configure: Regenerate.
1456 * po/es.po: New file.
1457
4d34fb5f
TS
14582002-02-25 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1459
1460 * config/tc-mips.c (set_at): Fix handling of 64bit register loads.
1461 (macro): Likewise. Fix la/dla address expansions for EMBEDDED_PIC
1462 and NO_PIC cases. Code cleanup.
1463 (macro2): Fix handling of 64bit register loads.
1464
9e32ca89
NC
14652002-02-25 David Mosberger <davidm@hpl.hp.com>
1466
1467 * doc/as.texinfo: Add entry for IA64.
1468 * doc/c-ia64.texi: New file.
1469
23e1d84c
AM
14702002-02-25 Alan Modra <amodra@bigpond.net.au>
1471
c7d004c5
AM
1472 * config/tc-hppa.c: Update copyright date.
1473
1474 * doc/c-ppc.texi (PowerPC-Opts): Add -mpower4, -maltivec and -m7400
23e1d84c
AM
1475 Remove references to chip manufacturers.
1476 * config/tc-ppc.c (md_parse_option): Handle -mpower4 option.
1477 Correct comments.
1478 (md_show_usage): Remove references to chip manufacturers. Mention
1479 -mpower4.
1480 (md_begin): Test power4 opcode flag bits.
1481
b1c6bf70 14822002-02-22 David Mosberger <davidm@hpl.hp.com>
6290819d
NC
1483
1484 * config/tc-ia64.c (dot_restore): Issue error message of epilogue
1485 count exceeds prologue count.
1486 (md_show_usage): Describe -mconstant-gp and -mauto-pic.
1487 (unwind.label_prologue_count): New member.
1488
1489 Based on a patch by Hans Boehm <hboehm@hpl.hp.com>:
1490
1491 (get_saved_prologue_count): New function.
1492 (save_prologue_count): New function.
1493 (free_saved_prologue_count): New function.
1494 (dot_label_state): Record state label by calling save_prologue_count().
1495 (dot_copy_state): Restore prologue count by calling
1496 get_saved_prologue_count().
1497 (generate_unwind_image): Free up list of saved prologue
1498 counts by calling free_saved_prologue_counts().
1499
f1e7a2c9
NC
15002002-02-22 Nick Clifton <nickc@cambridge.redhat.com>
1501
1502 * config/tc-tic54x.c: Add missing prototypes and remove ANSI style
1503 function declarations.
1504
3f965e60
NC
15052002-02-21 Nick Clifton <nickc@cambridge.redhat.com>
1506
1507 * NEWS: Note that GASP is now deprecated.
1508 * Makefile.am: Do not build gasp-new by default.
1509 * Makefile.in: Regenerate.
1510 * doc/Makefile.am: Do not install gasp.info.
1511 * doc/Makefile.in: Regenerate.
1512 * gas/gasp.texi: Note that gasp is now deprecated.
1513
9a66911f
NC
15142002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
1515
1516 * NEWS: Mark 2.12 branch.
1517
f88fd9fe
TT
15182002-02-19 Tom Tromey <tromey@redhat.com>
1519
1520 * config/tc-xstormy16.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
1521
da0e507f
TS
15222002-02-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1523
1524 * config/tc-mips.c (md_parse_option): Complain about invalid -mabi
1525 option input.
1526
ff0fb565
MS
15272002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
1528
1529 * config/tc-s390.c (md_parse_option): Add switches -m31 and -m64.
1530 Make bit size independent of architecture switch.
1531 (md_begin): Add warning for -m64 with -Aesa.
1532 (s390_md_end): Use renamed architecture defines.
1533
a245a9aa
DJ
15342002-02-18 Daniel Jacobowitz <drow@mvista.com>
1535
1536 * config/obj-coff.h: Check !target_big_endian, not shl, for coff-sh.
1537
8bf549a8
NC
15382002-02-16 Nick Clifton <nickc@cambridge.redhat.com>
1539
1540 * doc/as.texinfo (Machine Dependencies): Fix typo: MMIX used
1541 instead of CRIS.
1542
9151e8bf
CD
15432002-02-15 Chris Demetriou <cgd@broadcom.com>
1544
a2c36061 1545 * config/tc-mips.c (md_estimate_size_before_relax): Really
9151e8bf
CD
1546 make sure we treat weak like extern only for ELF. (Fixes
1547 patch from 2001-07-25.)
1548
59455fb1
BE
15492002-02-15 Ben Elliston <bje@redhat.com>
1550
1551 * doc/as.texinfo: Add duplicate directory entry so that "info gas"
1552 works as expected.
1553
49fda6c8
HPN
15542002-02-15 Hans-Peter Nilsson <hp@bitrange.com>
1555
1556 * NEWS: Mention support for MMIX.
1557
2d2bf3e0
CD
15582002-02-13 Chris Demetriou <cgd@broadcom.com>
1559
1560 * config/tc-mips.c (mips_need_elf_addend_fixup): Restructure into
1561 a sequence of indpendent 'if' statements for easier debugging
1562 and future modification.
1563
76f57f3a
JT
15642002-02-13 Matt Fredette <fredette@netbsd.org>
1565
1566 * config/tc-m68k.c (md_show_usage): No longer display a
1567 hard-coded "68020" for the default CPU, instead display the
1568 canonical name of the true, configured default CPU.
1569 (m68k_elf_final_processing): Mark objects for sub-68020
1570 CPUs with the new EF_M68000 flag.
1571
3bf057fa
AS
15722002-02-13 Andreas Schwab <schwab@suse.de>
1573
1574 * config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust
1575 pc-relative relocations to merge sections in 64-bit mode.
1576
6334e312 15772002-02-13 Ben Elliston <bje@redhat.com>
1ac57253
BE
1578
1579 * NEWS: Document floating point number handling in gasp.
1580 * gasp.c: Include <assert.h> and "xregex.h".
1581 (is_flonum): New function.
1582 (chew_flownum): Likewise.
1583 (change_base): Consume flonums from the input, where possible.
1584 * doc/gasp.texi (Constants): Document floating point numbers.
1585
3dcfe21d
AM
15862002-02-12 John David Anglin <dave@hiauly1.hia.nrc.ca>
1587
1588 * config/tc-hppa.c (hppa_fix_adjustable): Don't adjust final types
1589 that implicitly use LR and RR selectors.
1590
913572ec
AO
15912002-02-12 Alexandre Oliva <aoliva@redhat.com>
1592
1593 * config/tc-mn10300.c (other_registers): Added `epsw'. Mark `pc'
1594 and `epsw' as available on AM33 and above only.
1595 (other_register_name): Add logic to handle machine type encoded in
1596 reg_number.
1597
9b90b531
TR
15982002-02-11 Tom Rix <trix@redhat.com>
1599
949f2b5c 1600 * config/tc-ppc.c (md_apply_fix3): Check for insert fop invalid for
9b90b531
TR
1601 xcoff64.
1602
6c6783ff 16032002-06-11 Alexandre Oliva <aoliva@redhat.com>
6c1b24e4
AO
1604
1605 * config/tc-sparc.c (U0x80000000, U0xffffffff): New constants.
1606 Use all over.
1607
6c6783ff 16082002-02-11 Jan Hubicka <jh@suse.cz>
7ecd2f8b
JH
1609
1610 * i386.c (md_assemble): Support 32bit address prefix.
1611 (i386_displacement): Likewise.
1612 (i386_index_check): Accept 32bit addressing in 64bit mode.
1613
7eb27ef2
AO
16142002-02-11 Alexandre Oliva <aoliva@redhat.com>
1615
1616 * config/tc-sh.c (dot): Removed unused function.
1617
fa702524
AM
16182002-02-11 Alan Modra <amodra@bigpond.net.au>
1619
1620 * Makefile.am: "make dep-am".
1621 * Makefile.in: Regenerate.
1622 * aclocal.m4: Regenerate.
1623 * config.in: Regenerate.
1624 * configure: Regenerate.
1625 * doc/Makefile.in: Regenerate.
1626
625e1353
RH
16272002-02-10 Richard Henderson <rth@redhat.com>
1628
1629 * doc/c-alpha.texi: New file.
1630 * doc/Makefile.am (CPU_DOCS): Add it.
1631 * doc/all.texi, doc/as.texinfo: Add hooks for Alpha.
1632
543833df
RH
16332002-02-09 Richard Henderson <rth@redhat.com>
1634
1635 * config/tc-alpha.c (O_samegp): New.
1636 (USER_RELOC_P): Include it.
1637 (alpha_reloc_op_tag, debug_exp, find_macro_match): Add it.
1638 (md_apply_fix3): Handle BFD_RELOC_ALPHA_BRSGP.
1639 (alpha_force_relocation, alpha_fix_adjustable): Likewise.
1640 (alpha_validate_fix): New.
1641 * config/tc-alpha.h (TC_VALIDATE_FIX): New.
1642
328eb32e
HPN
16432002-02-09 Hans-Peter Nilsson <hp@axis.com>
1644
1645 * doc/c-cris.texi: New.
1646 * doc/all.texi: @set CRIS.
1647 * doc/as.texinfo: Ditto. Add CRIS gas manpage option overview.
1648 Include c-cris.texi.
1649 * doc/Makefile.am (CPU_DOCS): Add c-cris.texi
1650 * doc/Makefile.in: Regenerate.
1651
6373ee54
CD
16522002-02-08 Chris Demetriou <cgd@broadcom.com>
1653
1654 * config/tc-mips.c (IS_SEXT_32BIT_NUM): New macro to
1655 determine if a number is a sign-extended 32-bit number.
1656 (load_register): Use IS_SEXT_32BIT_NUM.
1657 (macro): Check if load/store macro handling is using a
1658 constant 32-bit address on 64-bit address systems, and if
1659 so optimize the generation of that address.
1660
50a4c611
RH
16612002-02-08 Richard Henderson <rth@redhat.com>
1662
1663 * config/tc-alpha.c (alpha_force_relocation): Don't assert that
1664 we've eliminated all foreign relocation types yet.
1665 (alpha_fix_adjustable): Likewise.
1666
324bfcf3
AO
16672002-02-08 Alexandre Oliva <aoliva@redhat.com>
1668
1669 Contribute sh64-elf.
1670 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
1671 Stephen Clarke <Stephen.Clarke@st.com>
1672 * doc/c-sh64.texi: Fix citation of SH64 architecture manual.
1673 2002-01-31 Alexandre Oliva <aoliva@redhat.com>
1674 * config/tc-sh.c (md_relax_table): Added default sizes for
1675 non-PC-relative UNDEF_MOVI, and relaxation sequences for
1676 MOVI_16, MOVI_32 and MOVI_48.
1677 * config/tc-sh64.c (shmedia_md_apply_fix3): Fix warning.
1678 (shmedia_md_convert_frag): Handle non-PC-relative UNDEF_MOVI
1679 and MOVI_16.
1680 (shmedia_md_estimate_size_before_relax): Remove redundant
1681 blocks. Set fragP->fr_var even if relaxation type unchanged.
1682 Retain UNDEF_MOVI until expression decays to number.
1683 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
1684 * config/tc-sh64.c (shmedia_init_reloc): Handle new SHmedia PIC
1685 relocation types. Take fixP->fx_addnumber into account too.
1686 (shmedia_md_apply_fix): Likewise.
1687 (shmedia_md_convert_frag): Likewise.
1688 (shmedia_build_Mytes): Likewise.
1689 (sh64_consume_datalabel): Complain about nested datalabel.
1690 Support PIC relocs. Call sh_parse_name.
1691 * config/tc-sh64.h (TC_RELOC_RTSYM_LOC_FIXUP): Extend definition
1692 in tc-sh.h to SHmedia reloc types.
1693 * config/tc-sh.c (SH64PCRELPLT, MOVI_PLT, MOVI_GOTOFF,
1694 MOVI_GOTPC): New relaxation constants.
1695 (md_relax_table): Introduce relaxation directives for PIC-related
1696 constants.
1697 (sh_PIC_related_p): Handle datalabel.
1698 (sh_check_fixup): Choose SH5 PIC relocations.
1699 (sh_cons_fix_new): Added BDF_RELOC_64.
1700 (md_apply_fix3, sh_parse_name): Handle GOTPLT.
1701 2002-01-18 Alexandre Oliva <aoliva@redhat.com>
1702 * config/tc-sh64.c (sh64_max_mem_for_rs_align_code): If the
1703 current ISA is SHmedia, get 7 bytes.
1704 2001-11-28 Nick Clifton <nickc@cambridge.redhat.com>
1705 * config/tc-sh.c (md_apply_fix3): Treat shmedia_md_apply_fix3 as a
1706 void function.
1707 * config/tc-sh64.c (shmedia_apply_fix): Rename to
1708 shmedia_apply_fix3 and make void.
1709 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
1710 * config/tc-sh64.c (s_sh64_abi): Remove unused arguments passed to
1711 as_bad.
1712 2001-04-12 Alexandre Oliva <aoliva@redhat.com>
1713 * config/tc-sh64.h (md_parse_name): Take &c as argument.
1714 2001-03-14 DJ Delorie <dj@redhat.com>
1715 * doc/Makefile.am (CPU_DOCS): Added c-sh64.texi
1716 * doc/Makefile.in(CPU_DOCS): Ditto.
1717 * doc/c-sh64.texi: New file.
1718 * doc/as.texinfo: Add SH64 support.
1719 2001-03-13 DJ Delorie <dj@redhat.com>
1720 * config/tc-sh64.c (shmedia_get_operands): Rename A_RESV_Fx to
1721 A_REUSE_PREV so that its purpose is more obvious.
1722 (shmedia_build_Mytes): Ditto.
1723 2001-03-07 DJ Delorie <dj@redhat.com>
1724 * config/tc-sh64.c (sh64_vtable_entry): New, strip datalabels
1725 before processing.
1726 (sh64_vtable_inherit): Ditto.
1727 (strip_datalabels): New, strip "datalabel" from given line.
1728 * config/tc-sh.c (md_pseudo_table): Add sh64-specific vtable
1729 pseudos.
1730 2001-03-06 Hans-Peter Nilsson <hpn@cygnus.com>
1731 * config/tc-sh64.c (shmedia_md_assemble): Move dwarf2_emit_insn
1732 call ...
1733 (shmedia_build_Mytes): ... to here.
1734 2001-03-06 DJ Delorie <dj@redhat.com>
1735 * config/tc-sh.c: Remove sh64-specific uaquad now that there
1736 is a generic one.
1737 2001-01-21 Hans-Peter Nilsson <hpn@cygnus.com>
1738 * config/tc-sh64.h (DWARF2_LINE_MIN_INSN_LENGTH): Override.
1739 * config/tc-sh64.c (shmedia_md_assemble): Offset recorded insn
1740 address by one in call to dwarf2_emit_insn.
1741 2001-01-13 Hans-Peter Nilsson <hpn@cygnus.com>
1742 Implement ".abi" pseudo and correct .cranges descriptors. Correct
1743 alignment handling broken by imported changes.
1744 * config/tc-sh64.h (HANDLE_ALIGN): Override definition in tc-sh.h.
1745 (sh64_handle_align): Declare.
1746 (MAX_MEM_FOR_RS_ALIGN_CODE): Override definition in tc-sh.h.
1747 (sh64_max_mem_for_rs_align_code): Declare.
1748 (enum sh64_isa_values): Moved here from tc-sh64.c.
1749 (md_do_align): Define.
1750 (sh64_do_align): Declare.
1751 (struct sh64_tc_frag_data): New.
1752 (TC_FRAG_TYPE): Change to struct sh64_tc_frag_data. Users
1753 changed.
1754 (TC_FRAG_INIT): Change to set new datatype.
1755 (struct sh64_segment_info_type): Rename member
1756 last_flushed_location to last_contents_mark. All users changed.
1757 (md_elf_section_change_hook, TC_CONS_FIX_NEW): Do not define.
1758 (shmedia_elf_new_section, sh64_tc_cons_fix_new): Do not prototype.
1759 * config/tc-sh.c (md_pseudo_table): Add ".abi".
1760 (sh_elf_cons) [HAVE_SH64]: Call sh64_update_contents_mark instead
1761 of unsetting seen_insn.
1762 (md_assemble) [HAVE_SH64] <before new SHcompact sequence>: Also
1763 call sh64_update_contents_mark.
1764 (sh_handle_align): Remove HAVE_SH64-conditioned code.
1765 * config/tc-sh64.c (sh64_isa_mode): Correct type from boolean to
1766 enum sh64_isa_values.
1767 (sh64_set_contents_type): Drop segT parameter. All callers changed.
1768 (emitting_crange): Boolean guard moved to file scope from function
1769 scope in sh64_set_contents_type.
1770 (s_sh64_abi): New.
1771 (sh64_update_contents_mark): New; most split out from
1772 sh64_flush_pending_output.
1773 (shmedia_md_end): Call sh64_update_contents_mark. Set
1774 sh64_isa_mode to sh64_isa_sh5_guard unless sh64_isa_unspecified.
1775 (sh64_do_align): New function.
1776 (sh64_max_mem_for_rs_align_code): New function.
1777 (sh64_handle_align): Rename from shmedia_do_align. Make
1778 non-static. Add head comment. Emit zero bytes for n bytes modulo
1779 four. Change return-type to void.
1780 (shmedia_elf_new_section): Remove.
1781 (shmedia_md_assemble): Call sh64_update_contents_mark.
1782 (s_sh64_mode): Ditto. Do not call md_flush_pending_output. Make
1783 new frag. Call sh64_update_contents_mark after making the new
1784 frag.
1785 (sh64_flush_pending_output): Just call sh64_update_contents_mark
1786 and sh_flush_pending_output.
1787 (sh64_flag_output): Also call md_flush_pending_output, but add
1788 condition on not emitting_crange.
1789 (sh64_tc_cons_fix_new): Remove.
1790 2001-01-12 Nick Clifton <nickc@redhat.com>
1791 * config/tc-sh64.c (shmedia_do_align): Fix to work with new
1792 alignment handling scheme imported from sourceware.
1793 2001-01-12 Hans-Peter Nilsson <hpn@cygnus.com>
1794 * config/tc-sh64.h (TARGET_FORMAT): Define.
1795 (sh64_target_format): Prototype.
1796 * config/tc-sh64.c (sh64_target_mach): New function.
1797 2001-01-07 Hans-Peter Nilsson <hpn@cygnus.com>
1798 * config/tc-sh64.c (shmedia_md_end): When equating a symbol, use
1799 zero_address_frag instead of copying the frag of the symbol.
1800 (shmedia_frob_file_before_adjust): Ditto.
1801 (shmedia_md_apply_fix) <case BFD_RELOC_SH_IMM_MEDLOW16>: Cast mask
1802 to valueT to remove signedness.
1803 (shmedia_md_convert_frag): Add parameter final. Rename parameter
1804 headers to output_bfd. Do not evaluate symbols if final is false;
1805 do emit fixups.
1806 (shmedia_md_estimate_size_before_relax) <case C (MOVI_IMM_32,
1807 UNDEF_MOVI) et al>: If symbol cannot be modified to be PC-relative
1808 to the current frag, call shmedia_md_convert_frag to emit fixups
1809 and make frag_wane neutralize the frag. Update comments.
1810 * config/tc-sh.c (md_convert_frag): Change caller of
1811 shmedia_md_convert_frag.
1812 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
1813 * config/tc-sh64.h: Tweak comments and correct formatting.
1814 * config/tc-sh64.c: Ditto.
1815 (shmedia_md_convert_frag) <PT/PTA/PTB 32, 48 and 64 bit
1816 expansion, MOVI pcrel expansion>: Fix thinko calculating offset
1817 for the no-relocation case.
1818 (shmedia_check_limits): Fix range check being off-by-one for PTA.
1819 * config/tc-sh.c: Ditto. Add proper comments to #ifdef/#ifndef
1820 wrappers.
1821 (SH64PCREL16_F): Increment for proper max-PTA handling. Update
1822 comment.
1823 (SH64PCREL16_M, MOVI_16_M): Correct range thinko.
1824 (SH64PCREL48_M, MOVI_48_M): Similar; don't count in length of
1825 expansion.
1826 (SH64PCREL32_M, MOVI_32_M): Ditto; handle overflowing expression.
1827 Correct comment.
1828 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
1829 * config/tc-sh64.c (shmedia_md_apply_fix) <second switch, case
1830 BFD_RELOC_SH_PT_16>: Set lowest bit in field to be relocated to 1.
1831 (shmedia_md_convert_frag) <case C (SH64PCREL16_32, SH64PCREL16) et
1832 al>: Set lowest bit of field to relocate to 1 and rest to empty,
949f2b5c 1833 if reloc is emitted.
324bfcf3
AO
1834 2000-12-31 Hans-Peter Nilsson <hpn@cygnus.com>
1835 New options plus bugfixes.
1836 * config/tc-sh.c (md_longopts): New options "-no-expand" and
1837 "-expand-pt32".
1838 (md_parse_option): Handle new options.
1839 (md_show_usage): Add blurb for new options.
1840 * config/tc-sh64.c (SHMEDIA_BFD_RELOC_PT): New macro.
1841 (sh64_expand, sh64_pt32): New variables.
1842 (shmedia_init_reloc): Handle BFD_RELOC_SH_PT_16.
1843 (shmedia_md_apply_fix): Hold original fixP->fx_r_type in
1844 orig_fx_r_type. Change SHMEDIA_BFD_RELOC_PT into
1845 BFD_RELOC_SH_PT_16. Handle BFD_RELOC_SH_PT_16 as pc-relative.
1846 <resolved previously-pc-relative relocs>: Handle
1847 SHMEDIA_BFD_RELOC_PT and BFD_RELOC_SH_PT_16.
1848 (shmedia_md_convert_frag) <case C (SH64PCREL16PT_64, SH64PCREL16),
1849 case C (SH64PCREL16PT_32, SH64PCREL16)>: Modify to PTB if operand
1850 points to SHcompact code.
1851 <case C (SH64PCREL16_32, SH64PCREL16), case C (SH64PCREL16_64,
1852 SH64PCREL16)>: Check that ISA of what operand points at and
1853 PTA/PTB matches, or emit error.
1854 (shmedia_check_limits): Handle BFD_RELOC_SH_PT_16 and
1855 SHMEDIA_BFD_RELOC_PT.
1856 (shmedia_immediate_op): If pcrel, emit fixup also for constant
1857 operand.
1858 (shmedia_build_Mytes) <case A_IMMS16>: Also check sh64_expand in
1859 condition for MOVI expansion.
1860 <case A_PCIMMS16BY4>: Handle expansion to 32 bits only, if
1861 sh64_pt32. Emit only a BFD_RELOC_SH_PT_16 fixup if not
1862 sh64_expand.
1863 <case A_PCIMMS16BY4_PT>: Likewise, but emit a SHMEDIA_BFD_RELOC_PT
1864 fixup.
1865 (sh64_target_format): Error-check setting of sh64_pt32 and
1866 sh64_expand. Fix typo in check for sh64_shcompact_const_crange.
1867 (shmedia_md_pcrel_from_section): Handle BFD_RELOC_SH_PT_16 and
1868 SHMEDIA_BFD_RELOC_PT as coming from SHmedia code.
1869 2000-12-31 Hans-Peter Nilsson <hpn@cygnus.com>
1870 * config/tc-sh64.c: Improve comments.
1871 (shmedia_md_convert_frag): Remove inactive is_pt_variant code. Do
1872 not say the linker will check correctness of PTA/PTB expansion.
1873 (shmedia_md_end): Make non-static.
1874 * config/tc-sh64.h (md_end): Define to shmedia_md_end. Add
1875 prototype.
1876 * config/tc-sh.c (sh_finalize): Remove.
1877 * config/tc-sh.h (md_end): Do not define.
1878 Remove prototype for sh_finalize.
1879 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
1880 * config/tc-sh64.c (shmedia_frob_section_type): Use a struct
1881 sh64_section_data container when storing section type in tdata
1882 field in elf_section_data.
1883 * config/tc-sh.c (sh_elf_final_processing): Change from EF_SH64 to
1884 EF_SH5.
1885 * Makefile.am: Update dependencies.
1886 * Makefile.in: Regenerate.
1887 2000-12-22 Hans-Peter Nilsson <hpn@cygnus.com>
1888 * config/tc-sh64.c (shmedia_md_assemble): Don't protect
1889 dwarf2_emit_insn call with test on debug_type.
1890 2000-12-19 Hans-Peter Nilsson <hpn@cygnus.com>
1891 * config/tc-sh64.c (sh64_set_contents_type): Make contents-type
1892 CRT_SH5_ISA32 sticky for 64-bit.
1893 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
1894 Generate .crange sections when switching ISA mode or emitting
1895 constants in same section as code.
1896 * config/tc-sh64.c: Reformat structure definitions.
1897 (sh64_end_of_assembly, sh64_mix, sh64_shcompact_const_crange): New
1898 variables.
1899 (sh64_set_contents_type): Rename from sh64_init_section. Rewrite
1900 to emit a .cranges descriptor when contents type changes. Only
1901 emit error if changing contents type and -no-mix is in effect.
1902 (sh64_emit_crange, sh64_flush_last_crange, sh64_flag_output,
1903 sh64_flush_pending_output, sh64_tc_cons_fix_new): New functions.
1904 (shmedia_md_end): Set sh64_end_of_assembly. Pass
1905 sh64_flush_last_crange over sections.
1906 When checking main symbol of datalabel symbol, check for
1907 STO_SH5_ISA32, not ISA type of section in definition.
1908 (shmedia_frob_file_before_adjust): Check main symbol for
1909 STO_SH5_ISA32; don't check ISA type of section in definition.
1910 (shmedia_frob_section_type): Adjust for .cranges; set section flag
1911 to SHF_SH5_ISA32_MIXED or SHF_SH5_ISA32 according to whether
1912 .cranges entries have been output.
1913 (shmedia_elf_new_section): Just call md_flush_pending_output.
1914 (shmedia_md_assemble): Do not emit a BFD_RELOC_SH_SHMEDIA_CODE
1915 fix. Do not set tc_segment_info_data.in_code for section. Call
1916 sh64_set_contents_type for SHmedia code.
1917 (s_sh64_mode): Do not call sh64_init_section or set seen_insn to
1918 false. Call md_flush_pending_output.
1919 (sh64_target_format): Check that -no-mix and
1920 -shcompact-const-crange are used in sane combination with other
1921 options.
1922 (shmedia_md_pcrel_from_section): Check type of fix for how to
1923 adjust pc-relative.
1924 (sh64_consume_datalabel): Check symbol for having STO_SH5_ISA32,
1925 not ISA type of section in definition.
1926 * config/tc-sh64.h (struct sh64_segment_info_type): Rewrite to
1927 hold contents-type state.
1928 (md_flush_pending_output): Redefine to sh64_flush_pending_output.
1929 (sh64_flush_pending_output): Declare.
1930 (TC_CONS_FIX_NEW): Define to sh64_tc_cons_fix_new.
1931 (sh64_tc_cons_fix_new): Declare.
1932 * config/tc-sh.c (sh_elf_cons) [HAVE_SH64]: Unset seen_insn and
1933 call sh64_flag_output.
1934 (md_assemble) [HAVE_SH64]: Do not emit BFD_RELOC_SH_CODE. Just
1935 call sh64_set_contents_type to mark SHcompact code and set
1936 seen_insn.
1937 (md_longopts): New options "-no-mix" and
1938 "-shcompact-const-crange".
1939 (md_parse_option): Handle new options.
1940 (md_show_usage): Add blurb for new options.
1941 (md_number_to_chars) [HAVE_SH64]: Call sh64_flag_output.
1942 2000-12-15 Hans-Peter Nilsson <hpn@cygnus.com>
1943 * config/tc-sh64.c: Delete investigated and obsolete fixme:s.
1944 (sh64_last_insn_frag): New.
1945 (shmedia_md_convert_frag): Use tc_frag_data field of incoming frag
1946 to get frag for insn opcode for generating fixups; do not assume it
1947 is the same frag.
1948 (shmedia_build_Mytes): Set sh64_last_insn_frag after growing frag
1949 for new insn.
1950 * config/tc-sh64.h (ELF_TC_SPECIAL_SECTIONS): Define for .cranges
1951 section.
1952 (TC_FRAG_TYPE): Define as fragS *.
1953 (TC_FRAG_INIT): Define to set tc_frag_data to sh64_last_insn_frag.
1954 (sh64_last_insn_frag): Declare.
1955 (sh64_consume_datalabel): Fix typo; check for seginfo != NULL,
1956 not == NULL before dereferencing.
1957 2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com>
1958 Get rid of BFD section flag and EF_SH64_ABI64.
1959 * config/tc-sh64.c (shmedia_frob_section_type): Use
1960 elf_section_data (sec)->tdata, not a specific BFD section flag, to
1961 communicate the section as containing SHmedia code. Describe why.
1962 * config/tc-sh.c (sh_elf_final_processing): Tweak comment. Set
1963 EF_SH64 regardless of ABI.
1964 * config/tc-sh64.c (shmedia_md_apply_fix): Decapitalize "invalid"
1965 in error message. Handle resolved expressions for
1966 BFD_RELOC_SH_IMMS10, BFD_RELOC_SH_IMMS10BY2,
1967 BFD_RELOC_SH_IMMS10BY4 and BFD_RELOC_64.
1968 (shmedia_check_limits): Handle BFD_RELOC_64.
1969 (sh64_adjust_symtab): Do not decrement the GAS symbol value for
1970 a STO_SH5_ISA32 symbol, only the BFD value.
1971 2000-12-11 Ben Elliston <bje@redhat.com>
1972 * config/tc-sh64.c: Call dwarf2_emit_insn, not the defunct
1973 dwarf2_generate_asm_lineno.
1974 2000-12-11 Hans-Peter Nilsson <hpn@cygnus.com>
1975 Handle PC-relative MOVI expansions with assembler relaxation.
1976 Generate PC-relative relocs from 16-bit PC-relative expressions.
1977 * config/tc-sh64.c (SHMEDIA_MD_PCREL_FROM_FIX): Break out from...
1978 (shmedia_md_pcrel_from_section): ...here.
1979 (shmedia_md_apply_fix): Handle fixups for 16-bit operands that has
1980 turned completely resolved. Adjust relocation type for 16-bit
1981 immediate operands that has turned PC-relative. Adjust back for
1982 MD_PCREL_FROM_SECTION being applied twice.
1983 (shmedia_md_convert_frag): Always emit reloc for expression with
1984 global or weak symbol. Handle relaxation result for PC-relative
1985 expressions.
1986 (shmedia_md_estimate_size_before_relax): An expression with a weak
1987 or global symbol can not be relaxed. Break out tests for
1988 relaxable symbol into variable sym_relaxable.
1989 <cases C (MOVI_IMM_64, UNDEF_MOVI) and C (MOVI_IMM_32,
1990 UNDEF_MOVI)>: Break out any PC-relative expression and change
1991 relaxation type.
1992 (shmedia_build_Mytes): CSE &operands->operands[j] into variable
1993 opjp.
1994 <case A_IMMS16>: Fix typo for initial minor relaxation type of
1995 MOVI expansion. If X_op_symbol of the immediate expression is
1996 set, make an expression symbol for the argument to frag_var.
1997 * config/tc-sh.c (MOVI_IMM_32_PCREL, MOVI_IMM_64_PCREL): New
1998 relaxations.
1999 (END): Adjust for new relaxations.
2000 (md_relax_table): Add entries for new relaxations.
2001 2000-12-07 Ben Elliston <bje@redhat.com>
2002 * config/tc-sh64.c (shmedia_parse_reg): Initialize variable len.
2003 2000-12-07 Hans-Peter Nilsson <hpn@cygnus.com>
2004 * config/tc-sh64.c (shmedia_md_convert_frag): Correct all MOVI and
2005 SHORI operand offsets in PT/PTA/PTB expansions.
2006 2000-12-05 Hans-Peter Nilsson <hpn@cygnus.com>
2007 Implement DataLabel semantics.
2008 * config/tc-sh.c (sh_frob_file) [HAVE_SH64]: Call
2009 shmedia_frob_file_before_adjust.
2010 * config/tc-sh64.c [! OBJ_ELF]: Emit #error.
2011 (DATALABEL_SUFFIX): Define.
2012 (shmedia_md_end) <before adjusting STO_SH5_ISA32 symbols>: Walk
2013 symbol list to update "datalabel" symbols to their main symbol
2014 counterparts.
2015 (shmedia_frob_file_before_adjust): New.
2016 (sh64_adjust_symtab): For remaining datalabel symbols, set to
2017 undefined and set STT_DATALABEL.
2018 (sh64_frob_label): Initialize TC symbol field.
2019 (sh64_consume_datalabel): Actually implement semantics. New
2020 parameter operandf, call it instead of expression.
2021 (sh64_exclude_symbol): New.
2022 * config/tc-sh64.h (md_parse_name): Pass on the function operand
2023 to sh64_consume_datalabel.
2024 (tc_symbol_new_hook): Define to tc_frob_symbol.
2025 (TC_SYMFIELD_TYPE): Define to symbolS *.
2026 (tc_frob_symbol): Define to call sh64_exclude_symbol.
2027 2000-12-01 Hans-Peter Nilsson <hpn@cygnus.com>
2028 * config/tc-sh64.c (shmedia_init_reloc): Tweak comment for default
2029 case.
2030 (shmedia_md_assemble): Call dwarf2_generate_asm_lineno if
2031 generating dwarf2 debug information.
2032 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com>
2033 * config/tc-sh64.c (sh64_target_format): Use elf64-sh64l and
2034 elf64-sh64 for the 64-bit ABI.
2035 * config/tc-sh.c (md_show_usage): Tweak usage output for -abi=*
2036 option.
2037 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com>
2038 * config/tc-sh.c: Remove conditionalizing on HAVE_SH64 for
2039 case-insensitivity.
2040 2000-11-27 Hans-Peter Nilsson <hpn@cygnus.com>
2041 * config/tc-sh64.c: Tweak comments, formatting and error messages.
2042 (enum sh64_abi_values): New type.
2043 (enum sh64_isa_values): New type.
2044 (sh64_isa_mode): Replace shmedia_mode. All referers changed.
2045 (seen_shcompact_mode, seen_shmedia_mode): Delete.
2046 (sh64_abi): Replace shmedia_64.
2047 (shmedia_md_convert_frag) <C (MOVI_IMM_64, MOVI_64),
2048 C (MOVI_IMM_32, MOVI_32)>: Correct register number handling.
2049 (s_sh64_mode): Check validity for this target.
2050 (sh64_target_format): Initialize defaults for ISA and ABI.
2051 Fallback to old object format if no SH64 ISA or ABI has been
2052 specified.
2053 * config/tc-sh.c (md_parse_option): Check combinations for errors.
2054 (sh_elf_final_processing): Change to have EF_SH64_ABI64 for 64-bit
2055 ABI and EF_SH64 for 32-bit ABI, if SH64 options are specified.
2056 * config/tc-sh64.h: Fix typo in comment.
2057 2000-11-25 Hans-Peter Nilsson <hpn@cygnus.com>
2058 * config/tc-sh64.c (shmedia_md_estimate_size_before_relax)
2059 <PT fixups for absolute values>: Size will be longest, not
2060 shortest.
2061 (shmedia_md_convert_frag): Disable PTB-warning machinery. Correct
2062 all MOVI and SHORI operand offsets in PT/PTA/PTB expansions.
2063 * config/tc-sh.c (parse_reg) [HAVE_SH64]: Add local variables l0
2064 and l1 to hold lowercase of two first characters. Change all
2065 remaining TO_LOWER to tolower.
2066 * config/tc-sh64.c (TO_LOWER): Delete.
2067 (shmedia_find_cooked_opcode): Use tolower, not TO_LOWER.
2068 (md_parse_name): Define.
2069 (sh64_consume_datalabel): Declare.
2070 (DOLLAR_DOT): Define.
2071 * config/tc-sh64.c (shmedia_parse_exp): New.
2072 (sh64_consume_datalabel): New; just ignoring datalabel semantics.
2073 (shmedia_parse_reg): Remove const from src
2074 parameter.
2075 (shmedia_get_operands): Ditto for args parameter and ptr variable.
2076 (shmedia_md_assemble): Ditto for op_end variable.
2077 (shmedia_get_operand): Ditto for ptr parameter and src variable.
2078 Use shmedia_parse_exp, not parse_exp.
2079 * config/tc-sh64.c (shmedia_parse_reg): Add shmedia_arg_type
2080 parameter. All callers changed.
2081 (shmedia_get_operand): Add shmedia_arg_type parameter. All
2082 callers changed.
2083 (shmedia_parse_reg): Put first two character in local variables.
2084 Use tolower, not TO_LOWER. If no register is found and argtype
2085 indicates a control register, scan shmedia_creg_table
2086 case-insensitive.
2087 2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com>
2088 * Makefile.am (CPU_TYPES): Add sh64.
2089 (TARGET_CPU_CFILES): Add config/tc-sh64.c.
2090 (TARGET_CPU_HFILES): Add config/tc-sh64.h.
2091 Regenerate dependencies.
2092 * Makefile.in: Regenerate.
2093 * configure.in: Add support for sh64-*-elf*.
2094 * configure: Regenerate.
2095 * config/tc-sh64.h: New.
2096 * config/tc-sh64.c: New.
2097 * config/tc-sh.c (md_pseudo_table) [HAVE_SH64]: New pseudos
2098 .mode, .isa and .uaquad.
2099 [HAVE_SH64] (SH64PCREL16_32, SH64PCREL16_64, SH64PCREL16PT_32,
2100 SH64PCREL16PT_64, MOVI_IMM_32, MOVI_IMM_64): Define.
2101 [HAVE_SH64] (END): Define as 10.
2102 [HAVE_SH64] (UNDEF_SH64PCREL, SH64PCREL16, SH64PCREL32,
2103 SH64PCREL48, SH64PCREL64, UNDEF_MOVI, MOVI_16, MOVI_32, MOVI_48,
2104 MOVI_64): Define.
2105 [HAVE_SH64] (SH64PCREL16_F, SH64PCREL16_M, SH64PCREL16_LENGTH,
2106 SH64PCREL32_F, SH64PCREL32_M, SH64PCREL32_LENGTH, SH64PCREL48_F,
2107 SH64PCREL48_M, SH64PCREL48_LENGTH, SH64PCREL64_LENGTH,
2108 MOVI_16_LENGTH, MOVI_32_LENGTH, MOVI_48_LENGTH, MOVI_64_LENGTH):
2109 Define.
2110 (md_relax_table) [HAVE_SH64]: Provide relaxations for SHmedia.
2111 (md_begin) [HAVE_SH64]: Call shmedia_md_begin.
2112 (parse_reg) [HAVE_SH64]: Parse register names case-insensitive.
2113 (md_assemble) [HAVE_SH64]: Call shmedia_md_assemble if assembling
2114 SHmedia instructions. Handle state-change after switching to
2115 SHcompact.
2116 (md_longopts) [HAVE_SH64]: New options --isa=* and --abi=*.
2117 (md_parse_option) [HAVE_SH64]: Parse new options.
2118 (md_show_usage) [HAVE_SH64]: Show usage of new options.
2119 (md_convert_frag) [HAVE_SH64] <default>: Call
2120 shmedia_md_convert_frag instead of abort.
2121 (sh_force_relocation) [HAVE_SH64]: Also force relocation for
2122 BFD_RELOC_SH_SHMEDIA_CODE.
2123 (sh_elf_final_processing) [HAVE_SH64]: Set flags identifying
2124 SHcompact or SHmedia code.
2125 (md_apply_fix) [HAVE_SH64] <default>: Return result from calling
2126 shmedia_md_apply_fix instead of abort.
2127 (md_estimate_size_before_relax) [HAVE_SH64] <default>: Return
2128 result from calling shmedia_md_estimate_size_before_relax instead
2129 of calling abort.
2130 (sh_do_align) [HAVE_SH64]: If shmedia_mode, let shmedia_do_align
2131 do the work.
2132 (tc_gen_reloc) [HAVE_SH64]: For unrecognized relocs, call
2133 shmedia_init_reloc and do nothing more if it returns non-zero.
2134 (sh_finalize) [HAVE_SH64]: Call shmedia_md_end.
2135 * po/POTFILES.in: Regenerate.
2136 * po/gas.pot: Regenerate.
2137
ac3f04d7
AO
21382002-02-06 Alexandre Oliva <aoliva@redhat.com>
2139
6b32719e
AO
2140 * config/tc-sh.c (parse_at): Install the correct version of
2141 2002-02-04's patch.
949f2b5c 2142
ac3f04d7
AO
2143 * config/tc-sh.c (md_apply_fix3) <BFD_RELOC_32_PLT_PCREL>: Don't
2144 assume fixP->fx_subsy is non-NULL.
2145
7679ead9
AO
21462002-02-04 Alexandre Oliva <aoliva@redhat.com>
2147
2148 * config/tc-sh.c (parse_at): Set arg type of @(expr,pc) to
fdf4122d 2149 A_DISP_PC_ABS, and adjust it by -4.
7679ead9
AO
2150 (get_specific): Accept A_DISP_PC_ABS where A_DISP_PC is
2151 expected.
2152 (build_Mytes): Mark PCRELIMM fix-ups as pc-relative only if
2153 the operand type is not A_DISP_PC_ABS.
2154
5459d7a0
HPN
21552002-02-04 Hans-Peter Nilsson <hp@bitrange.com>
2156
2157 * config/tc-mmix.c (tc_gen_reloc): Don't try and take the value of
2158 common and weak symbols. Handle common and weak symbols as
2159 undefined symbols with regards to GREG handling and merging.
2160 (mmix_frob_file): Ditto.
2161
006336b8
JT
21622002-02-02 Jason Thorpe <thorpej@wasabisystems.com>
2163
2164 * configure.in (hppa-*-netbsd*): New target.
2165 * configure: Regenerate.
2166 * config/tc-hppa.h: Also define WARN_COMMENTS if TE_NetBSD.
2167
9e0665bc
AM
21682002-02-02 Alan Modra <amodra@bigpond.net.au>
2169
2170 * config/tc-v850.c: Add missing prototypes amd use old-style
2171 function definitions.
2172 (AREA_ZDA, AREA_SDA, AREA_TDA): Delete.
2173 (sdata_section tdata_section, zdata_section, sbss_section,
2174 tbss_section, zbss_section, rosdata_section, rozdata_section,
2175 scommon_section, tcommon_section, zcommon_section,
2176 call_table_data_section, call_table_text_section): Delete.
2177 (v850_sdata, v850_tdata, v850_zdata, v850_sbss, v850_tbss,
2178 v850_zbss, v850_bss, v850_rosdata, v850_rozdata,
2179 v850_call_table_data, v850_call_table_text): Delete.
2180 (struct v850_seg_entry): New.
2181 (v850_seg_table): New.
2182 (SDATA_SECTION TDATA_SECTION, ZDATA_SECTION, SBSS_SECTION,
2183 TBSS_SECTION, ZBSS_SECTION, BSS_SECTION, ROSDATA_SECTION,
2184 ROZDATA_SECTION, SCOMMON_SECTION, TCOMMON_SECTION, ZCOMMON_SECTION,
2185 CALL_TABLE_DATA_SECTION, CALL_TABLE_TEXT_SECTION): Define.
2186 (do_v850_seg): New.
2187 (v850_seg): New.
2188 (v850_comm): Use do_v850_seg and v850_seg_table. Simplify
2189 recording of alignment.
2190 (md_pseudo_table): Use v850_seg.
2191 (md_begin): Don't init .call_table_data and .call_table_text here.
2192 Set v850_seg_table bss entry.
2193
973eb340
HPN
21942002-02-01 Hans-Peter Nilsson <hp@bitrange.com>
2195
2196 Support on-demand global register allocation by passing on
2197 base-plus-offset relocs to the linker.
2198 * config/tc-mmix.c: Tweak and fix typos in comments.
949f2b5c 2199 (allocate_undefined_gregs_in_linker): New variable.
973eb340
HPN
2200 (OPTION_LINKER_ALLOCATED_GREGS): New option macro.
2201 (md_longopts): Add --linker-allocated-gregs.
2202 (md_parse_option) <case 'x'>: Imply --linker-allocated-gregs.
2203 <case OPTION_LINKER_ALLOCATED_GREGS>: New.
2204 (md_show_usage): Update text for -x. Add text for
2205 --linker-allocated-gregs.
2206 (tc_gen_reloc): Derive default value for addend from val and
2207 baddsy. Use addsec and bfd_is_abs_section in more places. Don't
2208 emit error for BFD_RELOC_MMIX_BASE_PLUS_OFFSET without suitable
2209 GREG if allocate_undefined_gregs_in_linker.
2210 * doc/as.texinfo (Overview) <Target MMIX options>: Add
2211 --linker-allocated-gregs.
2212 * doc/c-mmix.texi (MMIX-Opts): Add blurb about
2213 --linker-allocated-gregs. Mention that it's implied by -x.
2214 (MMIX-Pseudos) <GREG>: Mention when and how a GREG can be omitted.
2215 (MMIX-mmixal): Clarify dated comparison and location of MMIXware.
2216
2217 * config/tc-mmix.h (md_parse_name): Use ISUPPER, not isupper.
2218
ba323545
AM
22192002-02-01 Alan Modra <amodra@bigpond.net.au>
2220
2221 * Makefile.am: Run "make dep-am"
2222 * Makefile.in: Regenerate.
2223
3b16e843
NC
22242002-01-31 Ivan Guzvinec <ivang@opencores.org>
2225
2226 * config/tc-or32.c: New file.
2227 * config/tc-or32.h: New file.
2228 * configure.in: Add support for or32 targets.
2229 * configure: Regenerate.
2230 * config/obj-coff.c: Add support for or32 targets.
2231 * config/obj-coff.h: Add support for or32 targets.
2232 * Makefile.am: Add support for or32 targets.
2233 * Makefile.in: Regenerate.
2234 * NEWS: Mention support for OpenRISC.
2235 * doc/Makefile.in: Regenerate.
2236 * po/POTFILES.in: Regenerate.
2237 * po/gas.pot: Regenerate.
2238
912a07db
RS
22392002-01-30 Richard Sandiford <rsandifo@redhat.com>
2240
2241 * config/tc-sh.c (parse_reg): Fix end-of-word check for is, ix, iy
2242 and mod.
2243
4514d474
CD
22442002-01-29 Chris Demetriou <cgd@broadcom.com>
2245
2246 * config/tc-mips.c (tc_gen_reloc): Arrange for
2247 BFD_RELOC_PCREL_HI16_S relocations to be output relative to
2248 their LO16 parts, even for ELF.
2249
246fcdee
DJ
22502002-01-29 Daniel Jacobowitz <drow@mvista.com>
2251
2252 * config/tc-i386.c: Protect definitions of true and false
2253 from redefinition.
2254
00e6e13d
JJ
22552002-01-28 Jakub Jelinek <jakub@redhat.com>
2256
2257 * config/obj-elf.c (elf_frob_file_before_adjust): Remove symbols
2258 made because of .weak, if they are neither defined nor used in any
2259 way.
2260
4867be41
DJ
22612002-01-27 Daniel Jacobowitz <drow@mvista.com>
2262
2263 * configure: Regenerated.
2264
7562a296
HPN
22652002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
2266
2267 * doc/Makefile.am (install): Depend on install-info.
2268 * doc/Makefile.in: Regenerate.
2269
1caa7b23
NC
22702002-01-26 Nick Clifton <nick@redhat.com>
2271
2272 * po/fr.po: Updated version
2273
166e23f9
KH
22742002-01-24 Kazu Hirata <kazu@hxi.com>
2275
2276 * config/tc-h8300.c (check_operand): Don't print a warning
2277 when a valid 24-bit address is given to a 16-bit address
2278 operand.
2279
538cd60f
AO
22802002-01-24 Alexandre Oliva <aoliva@redhat.com>
2281
2282 * config/tc-sh.c (sh_elf_suffix): Removed.
2283 (sh_PIC_related_p, sh_check_fixup, sh_cons_fix_new,
2284 sh_end_of_match, sh_parse_name): New functions.
2285 (sh_elf_cons): Simplify.
2286 (parse_exp): Reject misplaced PIC operands.
2287 (md_undefined_symbol): Simplify.
2288 (sh_fix_adjustable): Let @GOTOFF be adjusted.
2289 (md_apply_fix3): Write @PLT and @GOTOFF addends in place.
2290 (tc_gen_reloc): Move fixp subsy absolute value into addnumber.
2291 Complain if subsy remains at the end.
2292 * config/tc-sh.h (sh_parse_name, sh_cons_fix_new): Declare.
2293 (md_parse_name, TC_CONS_FIX_NEW, O_PIC_reloc): Define.
2294
b386f24b
AO
22952002-01-22 Alexandre Oliva <aoliva@redhat.com>
2296
2297 * config/tc-mn10300.c (xr_registers): Move `pc'...
2298 (other_registers): ... here.
2299
c46f0c34
AM
23002002-01-22 Alan Modra <amodra@bigpond.net.au>
2301
2302 * Makefile.am: Run "make dep-am".
2303 * Makefile.in: Regenerate.
2304 * gas/po/POTFILES.in: Regenerate.
2305
23deb923
DD
23062002-01-21 DJ Delorie <dj@redhat.com>
2307
2308 * config/obj-coff.c (obj_coff_init_stab_section): Make the
2309 stabstr_name allocation permanent, as it will be referenced from
2310 the section hash.
2311
9596feea
JT
23122002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
2313
2314 * configure.in (ia64-*-netbsd*): New target.
949f2b5c 2315 * configure: Regenerate.
9596feea 2316
92081f48
HPN
23172002-01-21 Hans-Peter Nilsson <hp@bitrange.com>
2318
2319 * doc/as.texinfo (Overview) <Target ARM options>: Add missing {}
2320 to @dots call.
2321 <Detailed description, ARM options>: Ditto.
2322 * doc/c-arm.texi (ARM Options): Ditto.
2323
63e63b07
RE
23242002-01-18 Richard Earnshaw <rearnsha@arm.com>
2325
2326 * tc-arm.c (do_xsc_mia, do_xsc_mar, do_xsc_mra): Renamed from
2327 do_mia, do_mar and do_mra respectively.
2328 (do_mav_*): Renamed from do_c_*.
2329 (mav_reg_required_here, mav_parse_offset): Renamed from
2330 cirrus_reg_required_here and cirrus_parse_offset respectively.
2331 (MAV_MODE?): Renamed from CIRRUS_MODE?.
2332
ea6ef066
RE
23332002-01-18 Richard Earnshaw <rearnsha@arm.com>
2334 Keith Walker <keith.walker@arm.com>
2335
2336 * tc-arm.c (ARM_EXT_V5J, ARM_ARCH_V5TEJ): Define.
2337 (insns): Add pattern for bxj instruction.
2338 (do_bxj): New function.
2339 (arm_cpus): Add arm926ej.
2340 (arm_archs): Add armv5tej.
2341
bc89618b
RE
23422002-01-18 Richard Earnshaw <rearnsha@arm.com>
2343
2344 * doc/c-arm.texi: Add new fpe options to list of supported flags.
2345
d193a22a
RE
23462002-01-19 Keith Walker <keith.walker@arm.com>
2347
2348 * tc-arm.c (arm_fpus): Add fpe2 and fpe3.
2349
03b1477f
RE
23502002-01-18 Richard Earnshaw <rearnsha@arm.com>
2351
2352 * NEWS: Mention new ARM command-line options and VFP support.
2353
949f2b5c 2354 * config/tc-arm.c (ARM_CEXT_XSCALE): Replaces ARM_EXT_XSCALE. All
03b1477f
RE
2355 uses changed.
2356 (ARM_CEXT_MAVERICK): Similarly.
2357 (ARM_ANY): Now means any core instruction.
2358 (CPU_DEFAULT): Default to ARM_ANY.
2359 (uses_apcs_26, atcps, support_interwork, uses_apcs_float)
2360 (pic_code): Declare for all object types. Make type int.
2361 (legacy_cpu, legacy_fpu, mcpu_cpu_opt, mcpu_fpu_opt, march_cpu_opt)
2362 (march_fpu_opt, mfpu_opt): Declare.
2363 (md_longopts): Tidy up conditional definitions.
2364 (arm_opts, arm_cpus, arm_archs, arm_fpus, arm_extensions)
2365 (arm_long_opts): New tables.
2366 (arm_parse_cpu, arm_parse_arch, arm_parse_fpu): New functions.
2367 (arm_parse_extension): New function.
2368 (md_parse_option): Rewrite using new table-driven system.
2369 (md_show_usage): Use new table-driven system.
2370 (md_begin): Calculate cpu_variant from command line option data.
2371 * doc/as.texinfo (ARM ISA options): Docuement new ARM-specific
2372 command-line options.
2373 * doc/c-arm.texi: Likewise.
2374
2a538ba5
AJ
23752002-01-18 Andreas Jaeger <aj@suse.de>
2376
2377 * as.c (parse_args): Update year.
2378
b1ffc257 23792002-01-17 Timothy Wall <twall@alum.mit.edu>
2a538ba5 2380
b1ffc257
TW
2381 * config/tc-tic54x.c (encode_address): Add a more informative
2382 warning about incorrect syntax.
2383
328577ad
NC
23842002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
2385
2386 * po/gas.pot: Regenerate.
2387
06f030db
NC
23882002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
2389
2390 * macro.c (get_any_string): Add no-c-format comment to prevent
2391 confusion when translating string.
2392 * gasp.c (get_any_string): Add no-c-format comment to prevent
2393 confusion when translating string.
2394
394f9b3a
TS
23952002-01-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2396 Johannes Stezenbach <js@convergence.de>
2397 * config/tc-mips.c (percent_op): Ensure longer percent_op's are
2398 matched before the shorter ones.
2399 (my_getSmallParser): Fix handling of nested parentheses in
2400 percent_op's. Code cleanup.
2401 (my_getPercentOp): New function, code from my_getSmallParser.
2402 (my_getSmallExpression): Fix handling of closing parentheses.
2403 Code cleanup. Better comments.
2404
af3ae48d
NC
24052002-01-16 Nick Clifton <nickc@redhat.com>
2406
2407 po/tr.po: New file: Turkish translation.
2408 configure.in (LINGUAS): Add "tr".
2409 configure: Regenerate.
2410
bfae80f2
RE
24112002-01-15 Richard Earnshaw <rearnsha@arm.com>
2412
2413 Support for VFP instructions
2414 * tc-arm.c (CP_WB_OK, CP_NO_WB): New defines.
2415 (cp_address_required_here): New argument wb_ok. When false, do not
2416 accept write-back forms of addressing. Change all callers.
2417 (FPU_VFP_EXT_NONE, FPU_VFP_EXT_V1xD, FPU_VFP_VFP_V1)
2418 (FPU_VFP_EXT_V2): Define.
2419 (FPU_ARCH_VFP, FPU_ARCH_VFP_V1xD, FPU_ARCH_VFP_V1, FPU_ARCH_VFP_V2):
2420 Define in terms of above.
2421 (vfp_dp_reg_pos, vfp_sp_reg_pos, vfp_ldstm_type): New enums.
2422 (vfp_reg): New struct.
2423 (vfp_regs): New array of registers.
2424 (insns): Add VFP instructions.
2425 (sn_table): New array of VFP single-precision register names.
2426 (dn_table): New array of VFP double-precision register names.
2427 (all_reg_maps): Add the new register tables.
2428 (arm_reg_type): Add new values for above. Increase RET_TYPE_MAX.
2429 (vfp_sp_reg_required_here, vfp_dp_reg_required_here, do_vfp_sp_monadic)
2430 (do_vfp_dp_monadic, do_vfp_sp_dyadic, do_vfp_dp_dyadic)
2431 (do_vfp_reg_from_sp, do_vfp_sp_reg2, do_vfp_sp_from_reg)
2432 (do_vfp_reg_from_dp, do_vfp_reg2_from_dp, do_vfp_dp_from_reg)
2433 (do_vfp_dp_from_reg2, vfp_psr_parse, vfp_psr_required_here)
2434 (do_vfp_reg_from_ctrl, do_vfp_ctrl_from_reg, do_vfp_sp_ldst)
2435 (do_vfp_dp_ldst, vfp_sp_reg_list, vfp_dp_reg_list, vfp_sp_ldstm)
2436 (vfp_dp_ldstm, do_vfp_sp_ldstmia, do_vfp_sp_ldstmdb, do_vfp_ldstmia)
2437 (do_vfp_dp_ldstmdb, do_vfp_xp_ldstmia, do_vfp_xp_ldstmdb)
2438 (do_vfp_sp_compare_z, do_vfp_dp_compare_z, do_vfp_dp_sp_cvt)
2439 (do_vfp_sp_dp_cvt): New functions.
2440 (md_begin): Set soft-float flag for appropriate VFP work.
2441 (md_atof): Handle VFP-format doubles.
2442 (md_parse_option): Handle VFP command-line options.
2443 (md_show_usage): Display VFP command-line options.
2444
fcd6d8d6
RE
24452002-01-15 Richard Earnshaw <rearnsha@arm.com>
2446
2a538ba5 2447 * tc-arm.c (md_parse_option): Tidy up setting of cpu_variant for
fcd6d8d6
RE
2448 various command line options.
2449
1f7fd478
NC
24502002-01-15 Nick Clifton <nickc@cambridge.redhat.com>
2451
2452 * config/tc-xstormy16.c: (xstormy16_fix_adjustable): Do not fix
2453 vtinherit relocs.
2454 (xstormy16_md_apply_fix3): Do not return a value.
2455
21f0f23a
RE
24562002-01-14 Richard Earnshaw <rearnsha@arm.com>
2457
2458 * tc-arm.c (md_longopts): On targets that aren't bi-endian, support
2459 the -EL/-EB option that matches the target's endianness.
2460 (md_parse_option): Likewise.
2461
ce058b6c
RE
24622002-01-14 Richard Earnshaw <rearnsha@arm.com>
2463
2a538ba5 2464 * tc-arm.c (md_longopts): Fix misplaced #endif -- the -oabi option
ce058b6c
RE
2465 is not dependent on ARM_BI_ENDIAN.
2466
f03698e6
RE
24672002-01-14 Richard Earnshaw <rearnsha@arm.com>
2468
2469 * tc-arm.c (all error messages): Normalize capitalization of messages.
2470
2471 * tc-arm.h (md_operand): Delete define.
2472 * tc-arm.c (in_my_get_expression): New static variable.
2473 (my_get_expression): Set and clear it.
2474 (md_operand): New function. If called from my_get_expression
2475 put the error in inst.error.
2476 (output_inst): Now takes argument of instruction being assembled.
2477 Print it out with any error message.
2478 (do_ldst, do_ldstv4, thumb_load_store): Fault attempt to use a store
2479 with '=' syntax.
2480 (end_of_line): Don't update inst.error if it is already set.
2481
e28cd48c
RE
24822002-01-11 Richard Earnshaw <rearnsha@arm.com>
2483
2484 * tc-arm.c ((do_ldst): Fix handling an immediate expression pseudo
2485 op that can be translated into a mvn instruction.
2486
1cd8ff38
NC
24872002-01-11 Steve Ellcey <sje@cup.hp.com>
2488
2489 * gas/config/tc-ia64.h (MD_FLAGS_DEFAULT): New Macro for
2490 setting default md.flags.
2491 (SHT_INIT_ARRAY): New elf special section used by HP-UX.
2492 (SHT_FINI_ARRAY): New elf special section used by HP-UX.
2493 * gas/config/tc-ia64.c (setup_unwind_header): Add support
2494 for 32 bit unwind info blocks.
2495 (generate_unwind_image): Add support for different types
2496 of unwind images (32 bits and/or big-endian).
2497 (ia64_init): Use MD_FLAGS_DEFAULT to set md.flags.
2498 (ia64_target_format): Add support for hpux target formats.
2499 (ia64_gen_real_reloc_type): Add support for FUNC_IPLT_RELOC.
2500 (ia64_elf_section_type): Add support for SHT_INIT_ARRAY and
2501 SHT_FINI_ARRAY elf section types.
2502
6c43fab6
RE
25032002-01-10 Richard Earnshaw <rearnsha@arm.com>
2504
2505 * tc-arm.c (struct reg_entry): Move before prototypes.
2506 (int_register, cp_register, fp_register): Delete.
2507 (reg_table): Delete. Replaced with ...
2508 (rn_table, cp_table, cn_table, fn_table, mav_mvf_table)
2509 (mav_mvd_table, mav_mvfx_table, mav_mvdx_table, mav_mvax_table)
2510 (mav_dspsc_table): ... one table per register set.
2511 (arm_reg_hsh): Delete.
2512 (struct reg_map): New structure.
2513 (all_reg_maps): New array.
2514 (enum arm_reg_type): New enums.
2515 (build_reg_hsh): New function.
2516 (insert_reg_alias): Use hash table passed by caller. Adjust all
2517 callers.
2518 (create_register_alias): New function, split out from ...
2519 (md_assemble): ... here.
2520 (md_begin): Build new register hash tables.
2521 (arm_reg_parse): New argument for the hash table to search. Adjust all
2522 callers.
2523 (arm_reg_parse_any): New function.
2524 (co_proc_number): Look up the processor number in the processor hash
2525 table.
2526 (cirrus_regtype): Delete.
2527 (cirrus_register, cirrus_mvf_register, cirrus_mvd_register)
2528 (cirrus_mvfx_register, cirrus_mvdx_register, cirrus_mvax_register)
2529 (ARM_EXT_MAVERICKsc_register): Delete.
2530 (do_c_binops_1, do_c_binops_2, do_c_binops_3): Delete.
2531 (do_c_binops_1[a-o], do_c_binops_2[a-c], do_c_binops_3[a-d]): New
2532 functions.
2533 (do_c_triple_4, do_c_triple_5): Delete.
2534 (do_c_triple_4[ab], do_c_triple_5[a-h]): New functions.
2535 (do_c_quad_6): Delete.
2536 (do_c_quad_6[ab]): New functions.
2537 (do_c_binops, do_c_triple, do_c_quad, do_c_shift, do_c_ldst): Rework
2538 arguments to use new register parsing methods.
2539 (cirrus_reg_required_here): Likewise.
2540 (insns): Reclassify cirrus maverick worker functions.
2541 (cirrus_valid_reg): Delete.
2542
8d05742f
JT
25432002-01-07 Jason Thorpe <thorpej@wasabisystems.com>
2544
2545 * configure.in (sh*le): Set cpu_type=sh and endian=little.
2546 (sh*-*-netbsdelf*): New target.
2547 * configure: Regenerate.
2a538ba5 2548 * tc-sh.h: Update copyright years.
8d05742f
JT
2549 (TARGET_FORMAT): Add version for TE_NetBSD.
2550
ceac3f62
NC
25512002-01-07 Nick Clifton <nickc@cambridge.redhat.com>
2552
2553 * read.c (emit_expr): Do not allow 'size' or 'nbytes' to go
2554 negative.
2555
d7861ad2
AM
25562002-01-06 Alan Modra <amodra@bigpond.net.au>
2557
2558 * config/tc-m68k.h (md_prepare_relax_scan): Rewrite.
2559 * config/tc-m68k.c (md_relax_table): Add md_prepare_relax_scan comment.
2560
7a621144
DJ
25612002-01-05 Daniel Jacobowitz <drow@mvista.com>
2562
2563 * tc-mips.c (mips_cprestore_valid): New flag.
2564 (mips_frame_reg_valid): New flag.
2565 (macro) [M_JAL_2]: Check both flags.
2566 [M_JAL_A]: Likewise.
2567 (s_cprestore): Set mips_cprestore_valid.
2568 (tc_get_register): If setting mips_frame_reg, set
2569 mips_frame_reg_valid and clear mips_cprestore_valid.
2570 (s_mips_ent): Clear both flags.
2571 (s_mips_end): Clear both flags.
2572
7c6beb69
AM
25732002-01-05 Alan Modra <amodra@bigpond.net.au>
2574
2575 * write.c (write_object_file): Make use of bfd_section_list_remove.
2576 * config/obj-ecoff.c (ecoff_frob_file): Likewise.
2577 * config/tc-mmix.c (mmix_frob_file): Likewise.
2578
8a8b2d4b
AJ
25792002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
2580
2581 * configure.in (i386-*-netbsdelf*): Collapse target into...
2582 (i386-*-netbsd*): ...this. Add support for x86-64.
2583 * configure: Regenerated.
2584
a09cf9bd
MG
25852002-01-03 matthew green <mrg@redhat.com>
2586
2587 * config/tc-ppc.c (md_parse_option): BookE is not Motorola specific.
2588
23b7f870
NC
25892002-01-02 Nick Clifton <nickc@cambridge.redhat.com>
2590
2591 * config/tc-m68k.c (md_estimate_size_before_relax): Test for a
2592 NULL frag link.
2593
08d56133
NC
2594For older changes see ChangeLog-0001
2595\f
2596Local Variables:
2597mode: change-log
2598left-margin: 8
2599fill-column: 74
2600version-control: never
2601End:
This page took 0.172554 seconds and 4 git commands to generate.