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