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