* filenames.h: Add cygwin to the list of dosish style path systems.
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
05982cac
HPN
12001-10-16 NIIBE Yutaka <gniibe@m17n.org>,
2 Hans-Peter Nilsson <hp@bitrange.com>
3
4 * config/tc-sh.c (shl): Remove.
5 (big): New function.
6 (little): Remove shl handling. Emit error for endian mismatch.
7 (md_show_usage): Add description of -big.
8 (md_parse_option): Handle OPTION_BIG. Remove shl handling.
9 (OPTION_BIG): Add.
10 (md_pseudo_table): Add .big.
11 (md_longopts): Add -big.
12 (md_begin): Don't set target_big_endian here.
13 * config/tc-sh.h (TARGET_BYTES_BIG_ENDIAN): Remove.
14 (LISTING_HEADER, COFF_MAGIC, TARGET_FORMAT): Use target_big_endian.
15 (shl): Remove.
16 * configure.in (endian): Default is big.
17 (sh-*-pe*): Little endian.
18 (cpu_type): Set sh for target sh*.
19 * configure: Regenerate.
20
e369bcce
TS
212001-10-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
22
23 * config/tc-mips.c (md_apply_fix): Preliminary handling of NewABI
24 relocations.
25
232431a0
NC
262001-10-13 Nick Clifton <nickc@cambridge.redhat.com>
27
05d2d07e
NC
28 * config/tc-arm.c: Replace CONST with const.
29
232431a0
NC
30 * cgen.c: Tidy up formatting.
31
418c1742
MG
322001-10-12 matthew green <mrg@redhat.com>
33
34 * config/tc-ppc.c (md_parse_option): New -m7410, -m7450 and -m7455
35 flags, equivalent to -m7400. New -maltivec to enable AltiVec
36 instructions. New -mbook64 and -mbooke/-mbooke32 flags to enable
37 64-bit and 32-bit BookE support, respectively. Change -m403 and
38 -m405 to set PPC403 option.
39 (md_show_usage): Adjust for new options.
40 * doc/all.texi: Set PPC.
41 * doc/as.texinfo: Add PPC support and pull in c-ppc.texi.
42 * doc/c-ppc.texi: New file.
43 * doc/Makefile.am (CPU_DOCS): Add c-ppc.texi.
44 * doc/Makefile.in: Regenerate.
45
65bf64b3
NC
462001-10-12 Nick Clifton <nickc@cambridge.redhat.com>
47
7f28ab9d
NC
48 * read.c (s_bad_endr): New function. Issues a warning message
49 about a bad use of the .rept pseudo op.
50 (po_table[]): Add .endr.
51 * read.h: Prototype s_bad_endr.
52
65bf64b3
NC
53 * CONTRIBUTORS: Update contact email address.
54
b6ff326e
KH
552001-10-11 Kazu Hirata <kazu@hxi.com>
56
57 * config/tc-alpha.c: Fix comment typos.
58 * config/tc-cris.c: Likewise.
59 * config/tc-hppa.c: Likewise.
60 * config/tc-i370.c: Likewise.
61 * config/tc-mips.c: Likewise.
62 * config/tc-mn10200.c: Likewise.
63 * config/tc-mn10300.c: Likewise.
64 * config/tc-sh.c: Likewise.
65 * config/tc-tahoe.c: Likewise.
66 * config/tc-v850.c: Likewise.
67
3b37fd66
KH
682001-10-11 Kazu Hirata <kazu@hxi.com>
69
70 * app.c: Fix comment typos.
71 * bit_fix.h: Likewise.
72 * expr.c: Likewise.
73 * itbl-ops.c: Likewise.
74
685bd869
NC
752001-10-11 Nick Clifton <nickc@cambridge.redhat.com>
76
77 * input-file.c: Include safe-ctype.h.
78 (input_file_open): Use ISSPACE instead of isspace.
79
6478892d
TS
802001-10-10 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
81
82 * config/tc-mips.c (mips_cpreturn_offset): New variable.
83 (mips_cpreturn_register): Likewise.
84 (mips_gp_register): Likewise.
85 (s_cpsetup): New function prototype.
86 (s_cplocal): Likewise.
87 (s_cpreturn): Likewise.
88 (s_gpvalue): Likewise.
89 (mips_pseudo_table): Add .cpsetup, .cplocal, .cpreturn, .gpvalue
90 pseudo-ops.
91 (macro): Don't warn about .cprestore for NewABI.
92 (md_pcrel_from): Code cleanup.
93 (mips_force_relocation): Force output of some NewABI relocations even
94 without a defined symbol.
95 (s_cpload): Ignore .cpload for NewABI.
96 (s_cpsetup): Handle .cpsetup.
97 (s_cplocal): Handle .cplocal.
98 (s_cprestore): Ignore .cprestore for NewABI.
99 (s_cpreturn): Handle .cpreturn.
100 (s_gpvalue): Handle .gpvalue.
101 (s_cpadd): Ignore .cpadd for NewABI.
102 (nopic_need_relax): Take g_switch_value into account as gp
103 optimization.
104 (tc_gen_reloc): Don't handle BFD_RELOC_MIPS_{CALL,GOT}* for NewABI.
105
ad8d3bb3
TS
1062001-10-10 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
107
108 * config/tc-mips.c (my_getSmallParser): New function prototype.
109 (small_ex_type): Named this enum, more return values for
110 my_getSmallExpression.
111 (mips_ip): Allow SPC and HT between arguments. Handle some NewABI
112 triple relocations. Protect some parts with ifdef OBJ_ELF.
113 (percent_op_match): New struct, lookup table for %some_reloc().
114 (my_getSmallParser): New function, parses nested percent_ops also.
115 (my_getSmallExpression): Rewite to support nested percent_ops.
116
d6bc6245
TS
1172001-10-10 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
118
119 * config/tc-mips.c
120 (load_address): Support both 32- and 64-bit addresses.
121 (macro): Call load_register correctly. Expand 64-bit loads ans stores.
122 (macro2): Call load_address correctly.
123
a5d2034a
NC
1242001-10-09 Christian Groessler <cpg@aladdin.de>
125
126 * config/tc-z8k.c: Include opcodes/z8k-opc.h after bfd.h
127 since z8k-opc.h now uses the PARAMS macro.
128
90f9b791
AH
1292001-10-09 Aldy Hernandez <aldyh@redhat.com>
130
131 * config/tc-arm.c: Change MAVERIK to MAVERICK.
132
aa1f4858
AM
1332001-10-09 Alan Modra <amodra@bigpond.net.au>
134
135 * config/obj-elf.c: Make use of elf_group_name and elf_next_in_group
136 throughout file.
137 (obj_elf_change_section): Rename "group" to "group_name".
138 (obj_elf_section): Likewise.
139 (elf_frob_file): Don't use sec->lineno for SHT_GROUP section to store
140 first member section; Instead use elf_next_in_group.
141
060adf0e
AM
1422001-10-09 Alan Modra <amodra@bigpond.net.au>
143
144 * config/obj-elf.c: (obj_elf_change_section): Add "group" param.
145 Set elf_section_data group from it. Warn if group name changed.
146 (obj_elf_parse_section_letters): Parse 'G' too.
147 (obj_elf_section): Parse group name.
148 (struct group_list): New.
149 (build_group_lists): New function.
150 (elf_frob_file): Create SEC_GROUP section(s).
151
152 * config/obj-elf.c: (elf_copy_symbol_attributes): Zap trailing
153 whitespace.
154
8913d9db
AH
1552001-10-08 Aldy Hernandez <aldyh@redhat.com>
156
157 * doc/arm/c-arm.texi (ARM Options): Add arm9e documentation.
158
404ff6b5
AH
159 * config/tc-arm.c (ARM_EXT_MAVERIK): New macro.
160 (cirrus_regtype): New enum.
161 (LONGEST_INST): Change to 10.
162 (CIRRUS_MODE1): New.
163 (CIRRUS_MODE2): New.
164 (CIRRUS_MODE3): New.
165 (CIRRUS_MODE4): New.
166 (CIRRUS_MODE5): New.
167 (CIRRUS_MODE6): New.
168 (insns): Add cirrus dsp instructions.
169 (ARM_EXT_MAVERIKSC_REG): New.
170 (cirrus_register): New.
171 (cirrus_mvf_register): New.
172 (cirrus_mvd_register): New.
173 (cirrus_mvfx_register): New.
174 (cirrus_mvdx_register): New.
175 (cirrus_mvax_register): New.
176 (ARM_EXT_MAVERIKsc_register): New.
177 (reg_table): Add cirrus registers.
178 (cirrus_valid_reg): New.
179 (cirrus_reg_required_here): New.
180 (do_c_binops_1): New.
181 (do_c_binops_2): New.
182 (do_c_binops_3): New.
183 (do_c_triple_4): New.
184 (do_c_triple_5): New.
185 (do_c_quad_6): New.
186 (do_c_dspsc_1): New.
187 (do_c_dspsc_2): New.
188 (do_c_shift_1): New.
189 (do_c_shift_2): New.
190 (do_c_ldst_1): New.
191 (do_c_ldst_2): New.
192 (do_c_ldst_3): New.
193 (do_c_ldst_4): New.
194 (do_c_binops): New.
195 (do_c_triple): New.
196 (do_c_quad): New.
197 (do_c_dspsc): New.
198 (do_c_shift): New.
199 (cirrus_parse_offset): New.
200 (do_c_ldst): New.
201 (md_parse_option): Add arm9e.
202 (md_show_usage): Same.
203
8642cce8
TR
2042001-10-08 Tom Rix <trix@redhat.com>
205
206 * config/tc-ppc (ppc_bf, ppc_biei) : Set first .bi lineno value to
207 location of next .bf
208 * config/obj-coff.c (coff_frob_symbol) : XCOFF does not use endndx.
209
6ce8b369
AM
2102001-10-07 Alan Modra <amodra@bigpond.net.au>
211
212 * config/obj-elf.c: Standardize error/warning messages - don't
213 capitalise, no final period or newline, don't say "ignoring" for
214 as_bad messages. In some cases, change the wording to that used
215 elsewhere for similar messages.
216 (obj_elf_section_name): New function, split out from ..
217 (obj_elf_section): .. here. Correctly mask off SHF_MERGE if
218 entsize not specified.
219
ec38dd05
JJ
2202001-10-05 Jakub Jelinek <jakub@redhat.com>
221
222 * doc/as.texinfo: Document M and S ELF section flags.
223
ebeb9253
AM
2242001-10-05 Alan Modra <amodra@bigpond.net.au>
225
226 * subsegs.c (subseg_text_p): Return 0 for absolute section.
227 * read.c (do_align): If in absolute section, warn about and ignore
228 non-zero fill pattern.
229
7dc8f5ce
AO
2302001-10-05 Alexandre Oliva <aoliva@redhat.com>
231
232 * config/tc-mn10300.c (tc_gen_reloc): Don't free
233 reloc->sym_ptr_ptr if it's not allocated.
234
f6688943
TS
2352001-10-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
236
237 * config/tc-mips.c (prev_insn_reloc_type): Make it an array to hold a
238 relocation triple.
239 (prev_insn_fixp): Likewise.
240 (append_insn): Changed prototype to accept a relocation pointer.
241 (imm_reloc): Make it an array.
242 (offset_reloc): Likewise.
243 (md_assemble): Handle triple relocations.
244 (append_insn): Likewise. Add handling for some NewABI relocations.
245 (mips_no_prev_insn): Handle triple relocations.
246 (macro_build): Likewise. Add handling for some NewABI relocations.
247 Move handling for the 'u' case to append_insn().
248 (mips16_macro_build): Handle triple relocations.
249 (macro_build_lui): Likewise. Don't handle _gp_disp as special symbol
250 for NewABI.
251 (mips_ip): Handle triple relocations.
252 (mips16_ip): Likewise.
253 (mips_force_relocation): Force handling of triple relocations
254 without symbols for NewABI.
255 (md_apply_fix): Add handling for some NewABI relocations.
256
1ae00879
AM
2572001-10-05 Alan Modra <amodra@bigpond.net.au>
258
259 * config/tc-i386.c (parse_register): If not producing code for
260 x86_64, reject x86_64 register name matches.
261 (md_assemble): Remove now redundant check for x86_64 regs.
262
9c7977b3
AM
2632001-10-04 Alan Modra <amodra@bigpond.net.au>
264
265 * config/tc-ppc.c (md_assemble <DS relocs>): Test ppc_size as well
266 as BFD_DEFAULT_TARGET_SIZE.
267 (ppc_tc): Likewise.
268 (ppc_is_toc_sym): Likewise.
269 (md_apply_fix3): Likewise.
270
e013f690
TS
2712001-10-03 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
272
273 * config/tc-mips.c (mips_64): Remove.
274 (mips_target_format): Move downwards in file, use HAVE_64BIT_OBJECTS
275 in it.
276 (mips_abi_level, mips_abi): New enum.
277 (mips_32bit_abi): Remove.
278 (HAVE*PRS): Use mips_abi instead of mips_32bit_abi.
279 (HAVE_NEWABI): New define.
280 (HAVE_64BIT_OBJECTS): New define.
281 (HAVE_32BIT_ADDRESSES): Don't return true for 64bit objects.
282 (HAVE_64BIT_ADDRESSES): New define, inverse of HAVE_32BIT_ADDRESSES.
283 (support_64bit_objects): New prototype.
284 (md_begin): Use mips_abi instead of mips_32bit_abi. Don't write
285 .reginfo section for n32, use .MIPS.options instead.
286 (support_64bit_objects): New function, code from md_parse_option.
287 (md_longopts): Add -n32 option.
288 (md_parse_option): Use mips_abi instead of mips_32bit_abi/mips64.
289 Add -n32 option. Protect with OBJ_ELF.
290 (s_mipsset): Use mips_abi instead of mips_32bit_abi.
291 (mips_elf_final_processing): Likewise. Don't write .reginfo section
292 for n32, use .MIPS.options instead.
293
fcd8210c
AM
2942001-10-03 Alan Modra <amodra@bigpond.net.au>
295
181ddcac 296 * po/POTFILES.in: Regenerate.
fcd8210c
AM
297 * configure: Regenerate.
298
403487ec
AM
2992001-10-02 Alan Modra <amodra@bigpond.net.au>
300
32a5aae2
AM
301 * config/tc-ppc.c (md_apply_fix3 <BFD_RELOC_CTOR>): Make it 64
302 bits if target is 64 bit.
303
f97d5f7c
AM
304 * doc/as.texinfo (listing): Fix typo.
305
403487ec
AM
306 * as.c (print_version_id): Use BFD_VERSION_STRING in place of
307 BFD_VERSION.
308 * Makefile.am (Makefile): Depend on bfd/configure.in.
309 Run "make dep-am".
310 * Makefile.in: Regenerate.
311
34105363
L
3122001-09-30 H.J. Lu <hjl@gnu.org>
313
314 * config/obj-elf.c (obj_elf_parse_section_letters): Accept "am"
315 and "ams" for compatibility.
316
79ad6e94 3172001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
ef17112f
HPN
318
319 * config/tc-sh.c (md_pcrel_from_section): Transformed from
320 md_pcrel_from. Handle pc-relativeness against link-time
321 symbol. Handle relativeness to elsewhere than the fixup.
79ad6e94
HPN
322 * config/tc-sh.h (MD_PCREL_FROM_SECTION): Define.
323 (md_pcrel_from_section): Prototype.
528a2d4a
HPN
324
325 * Makefile.am: Update dependencies with "make dep-am".
326 * Makefile.in: Regenerate.
327
27302d63
SC
3282001-09-30 Stephane Carrez <Stephane.Carrez@worldnet.fr>
329
330 * config/tc-m68hc11.c (cmp_opcode): Define prototype.
331 (print_opcode_format, skip_whites): Likewise.
332 (convert_branch, m68hc11_new_insn): Likewise.
333 (build_dbranch_insn, build_indexed_byte): Likewise.
334 (build_reg_mode, find, find_opcode): Likewise.
335 (print_insn_format): Fix call to print_opcode_format.
336 (md_assemble): Fix call to build_dbranch_insn.
337
2c20dfb2
NC
3382001-09-27 Nick Clifton <nickc@cambridge.redhat.com>
339
340 * config/tc-arm.c: Add missing prototypes.
341
1fd716b9
JJ
3422001-09-26 Jeff Johnston <jjohnstn@redhat.com>
343
344 * input-file.c (input_file_open): When reading the
345 first line looking for #NO_APP, prepare for the possibility
346 of finding #APP instead. Also fix algorithm to allow
347 white-space to follow either #NO_APP or #APP directives.
348
97735a42
AM
3492001-09-25 Geoff Berry <geoff.berry@bops.com>
350
351 * listing.c (buffer_line): Don't write past the end of `line' when
352 EOF is reached.
353
6e22e505
AO
3542001-09-25 Alexandre Oliva <aoliva@redhat.com>
355
356 * config/tc-mn10300.c (tc_gen_reloc): Don't emit an *ABS*
357 relocation for differences between symbols in a section other
358 than the one in which the difference is to be placed; apply
359 the relocation instead.
360
89b57c9a
NC
3612001-09-24 Nick Clifton <nickc@cambridge.redhat.com>
362
363 * config/tc-arc.c: Add missing prototype.
364 (md_atof): Change type to int. Add missing prototype.
365 * config/tc-arc.h: Prototype exported functions.
366
a80076a1
NC
3672001-09-22 Nick Clifton <nickc@cambridge.redhat.com>
368
369 * as.c: Add missing function prototype.
370 * config/obj-aout.c: Fix compile time warning.
371
7146a6f5
AM
3722001-09-21 Bruno Haible <haible@clisp.cons.org>
373
374 * config/tc-openrisc.c: Don't include <ctype.h>.
375
16a419ba
NC
3762001-09-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
377
378 * gas/config/tc-s390.c: Add option -mwarn-areg-zero.
379
44addf7f
AM
3802001-09-19 Alan Modra <amodra@bigpond.net.au>
381
382 * config/tc-i370.c: Fix typo in last change.
383
2d5aaba0
NC
3842001-09-19 Nick Clifton <nickc@cambridge.redhat.com>
385
386 * doc/as.texinfo (Symbol Names): Improve documentation on local
387 labels and add documenation about dollar labels.
388
3882b010
L
3892001-09-18 Bruno Haible <haible@clisp.cons.org>
390
391 * as.h: Don't include <ctype.h>.
392 * as.c (main): For gettext, also set the LC_CTYPE locate facet.
393 * atof-generic.c: Include "safe-ctype.h" instead of <ctype.h>.
394 (atof_generic): Use ISDIGIT instead of isdigit.
395 * config/m68k-parse.y: Include "safe-ctype.h".
396 (yylex): Use ISDIGIT/ISALNUM instead of isdigit/isalnum.
397 * config/obj-elf.c: Include "safe-ctype.h".
398 (obj_elf_vtable_inherit): Use ISSPACE instead of isspace.
399 * config/obj-vms.c: Include "safe-ctype.h".
400 (Write_VMS_MHD_Records): Use TOUPPER instead of islower/toupper.
401 (VMS_Case_Hack_Symbol): Use ISUPPER/ISLOWER/TOUPPER/TOLOWER
402 instead of isupper/islower/toupper/tolower.
403 * config/tc-a29k.c: Include "safe-ctype.h" instead of <ctype.h>.
404 (insert_sreg): Use TOUPPER instead of islower/toupper.
405 (machine_ip): Use ISALPHA/ISALNUM/ISUPPER/TOLOWER instead of
406 isalpha/isalnum/isupper/tolower.
407 (a29k_unrecognized_line, md_operand): Use ISDIGIT instead of
408 isdigit.
409 * config/tc-alpha.c: Include "safe-ctype.h" instead of <ctype.h>.
410 (md_undefined_symbol, s_alpha_ent): Use ISDIGIT instead of isdigit.
411 * config/tc-arc.c: Include "safe-ctype.h" instead of <ctype.h>.
412 (md_assemble): Use ISSPACE/ISALNUM instead of isspace/isalnum.
413 (arc_extoper): Use TOLOWER instead of isupper/tolower.
414 * config/tc-arm.c: Include "safe-ctype.h" instead of <ctype.h>.
415 (arm_psr_parse): Use ISALPHA instead of isalpha.
416 (accum0_required_here): Use ISALNUM instead of isalnum.
417 (do_ldrd): Use ISSPACE instead of isspace.
418 (decode_shift): Use ISALPHA instead of isalpha.
419 (insert_reg): Use TOUPPER instead of islower/toupper.
420 (arm_reg_parse): Use ISALPHA instead of isalpha.
421 (arm_parse_reloc): Use ISALNUM/ISPUNCT/TOLOWER instead of
422 isalnum/ispunct/tolower.
423 * config/tc-avr.c: Include "safe-ctype.h" instead of <ctype.h>.
424 (md_parse_option): Use TOLOWER instead of tolower.
425 (avr_operand): Use ISDIGIT/TOLOWER instead of isdigit/tolower.
426 * config/tc-cris.c: Include "safe-ctype.h" instead of <ctype.h>.
427 (cris_process_instruction): Use ISLOWER instead of islower.
428 (get_gen_reg): Use ISALNUM/ISDIGIT instead of isalnum/isdigit.
429 (get_spec_reg): Use TOLOWER/ISALNUM instead of isupper/tolower/isalnum.
430 (get_flags): Use ISSPACE instead of isspace.
431 * config/tc-d10v.c: Include "safe-ctype.h" instead of <ctype.h>.
432 (do_assemble): Use TOLOWER instead of tolower.
433 * config/tc-d30v.c: Include "safe-ctype.h" instead of <ctype.h>.
434 (do_assemble): Use TOLOWER instead of tolower.
435 (d30v_start_line): Use ISSPACE instead of isspace.
436 * config/tc-fr30.c: Include "safe-ctype.h" instead of <ctype.h>.
437 (fr30_is_colon_insn): Use TOLOWER instead of tolower.
438 * config/tc-h8300.c: Include "safe-ctype.h" instead of <ctype.h>.
439 (skip_colonthing, get_operand): Use ISDIGIT instead of isdigit.
440 * config/tc-h8500.c: Include "safe-ctype.h" instead of <ctype.h>.
441 (start_label): Use ISALPHA instead of isalpha.
442 * config/tc-hppa.c: Include "safe-ctype.h" instead of <ctype.h>.
443 (pa_ip): Use ISUPPER/ISLOWER/TOLOWER instead of
444 isupper/islower/tolower.
445 (pa_parse_number): Use ISDIGIT instead of isdigit.
446 (pa_chk_field_selector): Use TOLOWER instead of tolower.
447 (pa_stringer): Use ISDIGIT instead of isdigit.
448 * config/tc-i370.c: Include "safe-ctype.h" instead of <ctype.h>.
449 (register_name): Use ISALPHA instead of isalpha.
450 (i370_elf_suffix): Use ISALNUM/TOLOWER instead of
451 isalnum/islower/tolower.
452 (i370_addr_offset): Use ISDIGIT/ISALPHA instead of
453 isdigit/isalpha.
454 (i370_addr_cons): Use ISALPHA/ISXDIGIT instead of
455 isalpha/isxdigit.
456 (md_assemble): Use ISSPACE instead of isspace.
457 * config/tc-i386.c: Include "safe-ctype.h" instead of <ctype.h>.
458 (md_begin): Use ISDIGIT/ISLOWER/ISUPPER/TOLOWER/ISALPHA
459 instead of isdigit/islower/isupper/tolower/isalpha.
460 (output_invalid): Use ISPRINT instead of isprint.
461 * config/tc-i860.c: Include "safe-ctype.h" instead of <ctype.h>.
462 (i860_ip): Use ISLOWER/ISDIGIT instead of islower/isdigit.
463 * config/tc-i960.c: Include "safe-ctype.h" instead of <ctype.h>.
464 (get_args): Use ISALNUM instead of isalnum.
465 * config/tc-ia64.c: Include "safe-ctype.h".
466 (dot_pred_rel): Use TOUPPER/ISDIGIT instead of toupper/isdigit.
467 (ia64_unrecognized_line): Use ISDIGIT instead of isdigit.
468 (ia64_parse_name): Likewise.
469 * config/tc-m32r.c: Include "safe-ctype.h" instead of <ctype.h>.
470 (assemble_two_insns): Use ISSPACE/ISALNUM/ISUPPER/TOLOWER
471 instead of isspace/isalnum/isupper/tolower.
472 * config/tc-m68hc11.c: Include "safe-ctype.h" instead of <ctype.h>.
473 (md_assemble): Use TOLOWER/ISALNUM instead of tolower/isalnum.
474 * config/tc-m68k.c: Include "safe-ctype.h" instead of <ctype.h>.
475 (mklower_table): Remove variable.
476 (mklower): Remove macro.
477 (insert_reg): Use TOUPPER instead of islower/toupper.
478 (md_begin): Remove initialization of mklower_table.
479 (s_reg): Use ISALNUM instead of isalnum.
480 (mri_assemble): Use ISUPPER/TOLOWER instead of isupper/tolower.
481 (parse_mri_condition): Use TOLOWER instead of isupper/tolower.
482 (build_mri_control_operand): Use TOLOWER instead of tolower.
483 (s_mri_else, s_mri_break, s_mri_next, s_mri_for): Likewise.
484 * config/tc-m88k.c: Include "safe-ctype.h" instead of <ctype.h>.
485 (md_assemble): Use ISSPACE instead of isspace.
486 (get_imm16): Use ISALNUM instead of isalnum.
487 (get_cnd): Use ISDIGIT/ISUPPER/TOLOWER instead of
488 isdigit/isupper/tolower.
489 (get_bf_offset_expression): Use ISALPHA/ISUPPER/TOLOWER
490 instead of isalpha/isupper/tolower.
491 (hexval): Use ISDIGIT/ISLOWER/ISUPPER instead of
492 isdigit/islower/isupper.
493 * config/tc-mcore.c: Include "safe-ctype.h" instead of <ctype.h>.
494 (mcore_s_section): Use ISSPACE instead of isspace.
495 (parse_reg): Use ISSPACE/TOLOWER/ISALNUM instead of
496 isspace/tolower/isalnum.
497 (parse_creg): Use ISSPACE/TOLOWER instead of isspace/tolower.
498 (parse_psrmod): Use TOLOWER instead of isascii/tolower.
499 (parse_exp, parse_mem, md_assemble): Use ISSPACE instead of
500 isspace.
501 * config/tc-mips.c: Include "safe-ctype.h" instead of <ctype.h>.
502 (mips_ip): Use ISSPACE/ISDIGIT instead of isspace/isdigit.
503 (mips16_ip): Use ISLOWER/ISDIGIT instead of islower/isdigit.
504 (my_getSmallExpression): Use ISDIGIT/TOLOWER instead of
505 isdigit/tolower.
506 (tc_get_register): Likewise.
507 (get_number): Use ISDIGIT/ISXDIGIT instead of isdigit/isxdigit.
508 (s_mips_ent): Use ISDIGIT instead of isdigit.
509 * config/tc-mn10200.c: Include "safe-ctype.h" instead of <ctype.h>.
510 (md_assemble): Use ISSPACE instead of isspace.
511 * config/tc-mn10300.c: Include "safe-ctype.h" instead of <ctype.h>.
512 (md_assemble): Use ISSPACE instead of isspace.
513 * config/tc-ns32k.c: Don't include <ctype.h>.
514 * config/tc-pdp11.c: Include "safe-ctype.h".
515 (mklower): Remove function.
516 (parse_reg): Use TOLOWER instead of mklower.
517 * config/tc-pj.c: Include "safe-ctype.h".
518 (md_assemble): Use ISSPACE instead of isspace.
519 * config/tc-ppc.c: Include "safe-ctype.h" instead of <ctype.h>.
520 (register_name): Use ISALPHA instead of isalpha.
521 (ppc_elf_suffix): Use ISALNUM/TOLOWER instead of
522 isalnum/islower/tolower.
523 (md_assemble): Use ISSPACE instead of isspace.
524 (ppc_canonicalize_symbol_name): Use ISLOWER/TOUPPER instead of
525 islower/toupper.
526 * config/tc-s390.c: Include "safe-ctype.h" instead of <ctype.h>.
527 (register_name): Use ISALPHA instead of isalpha.
528 (s390_elf_suffix, s390_lit_suffix): Use ISALNUM instead of isalnum.
529 (md_gather_operands, md_assemble, s390_insn): Use ISSPACE instead of
530 isspace.
531 * config/tc-sh.c: Include "safe-ctype.h" instead of <ctype.h>.
532 (sh_elf_suffix): Use ISALNUM/TOLOWER instead of
533 isalnum/islower/tolower.
534 (IDENT_CHAR): Use ISALNUM instead of isalnum.
535 (parse_reg): Use TOLOWER instead of tolower.
536 (find_cooked_opcode): Use TOLOWER instead of isupper/tolower.
537 * config/tc-sparc.c: Include "safe-ctype.h" instead of <ctype.h>.
538 (sparc_ip): Use ISLOWER/ISDIGIT instead of islower/isdigit.
539 (parse_keyword_arg): Use ISALNUM instead of isalnum.
540 * config/tc-tahoe.c: Include "safe-ctype.h".
541 (tahoe_reg_parse): Use ISDIGIT instead of isdigit.
542 (tip_op): Use TOLOWER instead of isupper/tolower.
543 * config/tc-tic30.c: Include "safe-ctype.h".
544 (md_begin): Use ISLOWER/ISDIGIT/ISUPPER/TOLOWER/ISLOWER/
545 ISALPHA instead of islower/isdigit/isupper/tolower/islower/isalpha.
546 (tic30_operand): Use TOLOWER instead of tolower.
547 (tic30_find_parallel_insn): Likewise.
548 (output_invalid): Use ISPRINT instead of isprint.
549 * config/tc-tic54x.c: Include "safe-ctype.h".
550 (tic54x_asg, tic54x_eval): Use ISALPHA instead of isalpha.
551 (lookup_version): Use TOUPPER instead of toupper.
552 (tic54x_var): Use ISALPHA instead of isalpha.
553 (tic54x_mlib): Use ISSPACE instead of isspace.
554 (subsym_iscons): Use TOUPPER instead of toupper.
555 (get_operands): Use ISSPACE instead of isspace.
556 (is_type): Use TOUPPER/ISDIGIT instead of toupper/isdigit.
557 (encode_indirect, encode_operand): Use TOUPPER instead of toupper.
558 (next_line_shows_parallel): Use ISSPACE instead of isspace.
559 (subsym_get_arg, subsym_substitute): Use ISDIGIT instead of isdigit.
560 (tic54x_start_line_hook, md_assemble, tic54x_start_label): Use
561 ISSPACE instead of isspace.
562 * config/tc-tic80.c: Include "safe-ctype.h".
563 (md_assemble): Use ISSPACE instead of isspace.
564 * config/tc-v850.c: Include "safe-ctype.h" instead of <ctype.h>.
565 (system_register_name): Use ISDIGIT instead of isdigit.
566 (md_assemble): Use ISSPACE instead of isspace.
567 * config/tc-vax.c: Include "safe-ctype.h" instead of <ctype.h>.
568 (vax_reg_parse): Use TOLOWER/ISDIGIT instead of
569 isupper/tolower/isdigit.
570 (vip_op): Use TOLOWER instead of isupper/tolower.
571 * config/tc-w65.c: Don't include <ctype.h>.
572 * config/tc-z8k.c: Include "safe-ctype.h" instead of <ctype.h>.
573 (tohex): Use ISDIGIT/ISLOWER instead of isdigit/islower.
574 (whatreg): Use ISDIGIT instead of isdigit.
575 * ecoff.c: Include "safe-ctype.h" instead of <ctype.h>.
576 (ecoff_directive_ent, ecoff_stab): Use ISDIGIT instead of isdigit.
577 * expr.c: Include "safe-ctype.h" instead of <ctype.h>.
578 (integer_constant): Use ISALNUM/TOUPPER instead of
579 isalnum/islower/toupper.
580 (operand): Use TOLOWER instead of isupper/tolower.
581 * gasp.c: Include "safe-ctype.h" instead of <ctype.h>.
582 (sb_strtol, level_0, change_base, doinstr): Use ISDIGIT instead
583 of isdigit.
584 (process_assigns, whatcond): Use TOUPPER instead of toupper.
585 (chartype_init): Use ISALPHA/ISDIGIT instead of isalpha/isdigit.
586 (main): For gettext, also set the LC_CTYPE locate facet.
587 * hash.c: Include "safe-ctype.h".
588 (main): Use TOLOWER instead of isupper/tolower.
589 * itbl-lex.l: Don't include <ctype.h>.
590 * listing.c: Include "safe-ctype.h" instead of <ctype.h>.
591 (listing_newline): Use ISCNTRL instead of isascii/iscntrl. Don't
592 omit non-ASCII characters.
593 (debugging_pseudo): Use ISSPACE instead of isspace.
594 * macro.c: Include "safe-ctype.h" instead of <ctype.h>.
595 (buffer_and_nest): Use ISALNUM instead of isalnum.
596 (get_token): Use ISALPHA/ISALNUM instead of isalpha/isalnum.
597 (define_macro): Use ISUPPER/TOLOWER instead of isupper/tolower.
598 (macro_expand_body): Use ISALNUM/ISDIGIT/ISUPPER/ISALPHA
599 instead of isalnum/isdigit/isupper/isalpha.
600 (check_macro): Use ISALPHA/ISALNUM/ISUPPER/TOLOWER instead
601 of isalpha/isalnum/isupper/tolower.
602 * read.c: Include "safe-ctype.h" instead of <ctype.h>.
603 (read_a_source_file): Use ISUPPER/TOLOWER/ISDIGIT instead of
604 isupper/tolower/isdigit.
605 (s_mri_common): Use ISDIGIT instead of isdigit.
606 (s_mri_sect): Use ISDIGIT/TOUPPER instead of isdigit/toupper.
607 (s_float_space): Use ISALPHA instead of isalpha.
608 (ignore_rest_of_line): Use ISPRINT instead of isprint.
609 (float_cons): Use ISALPHA instead of isalpha.
610 (next_char_of_string): Use ISDIGIT/ISXDIGIT instead of
611 isdigit/isxdigit.
612 * symbols.c: Include "safe-ctype.h" instead of <ctype.h>.
613 (save_symbol_name): Use ISLOWER/TOUPPER instead of
614 islower/toupper.
615 (symbol_find_base): Use TOUPPER instead of islower/toupper.
616 (decode_local_label_name): Use ISDIGIT instead of isdigit.
617
b6849f55
NC
6182001-09-18 Martin Schwidefsky <schwidefsky@de.ibm.com>
619
620 * tc-s390.c (s390_insn): Add code to cope with 6 byte O_constants
621 in 64 bit mode and make format "e" work.
622
0e1a166b
AM
6232001-09-18 Alan Modra <amodra@bigpond.net.au>
624
625 * dwarf2dbg.c (dwarf2_directive_file): Avoid signed/unsigned warning.
626
627 * write.c (set_symtab): Update bfd_alloc declaration. Use a temp
628 var to ensure bfd_alloc arg is the right type.
629 (write_object_file): Cast args of bfd_seek. Replace bfd_write with
630 bfd_bwrite.
631
632 * config/obj-coff.c: Replace calls to bfd_write with calls to
633 bfd_bwrite. Cast args of bfd_seek.
634
635 * config/obj-elf.c (obj_elf_change_section): Avoid signed/unsigned
636 warning.
637
638 * config/tc-mn10300.c (set_arch_mach): Make param unsigned.
639
640 * config/tc-tic54x.c (tic54x_mlib): Replace bfd_read call with
641 call to bfd_bread.
642
e08ae979
HPN
6432001-09-15 Hans-Peter Nilsson <hp@bitrange.com>
644
645 * config/tc-sh.h (sh_force_relocation): Prototype.
646 (struct fix): Forward declare.
647 * config/tc-sh.c (type sh_operand_info): Move to top of file.
648 (cons, s_align_bytes): Remove old-type declarations.
649 (sh_elf_suffix, parse_reg, dot, parse_exp, parse_at, get_operand,
650 get_operands, get_specific, insert, build_relax,
651 insert_loop_bounds, build_Mytes): Prototype.
652 (little): Make static. Prototype.
653 (check, tc_Nout_fix_to_chars): Delete unused functions.
654
920acd62
EC
6552001-09-14 Eric Christopher <echristo@redhat.com>
656
657 * config/tc-mips.c (md_parse_option): Remove setting mips_64 via
658 -mgp32/mgp64.
659
056a1d49
NC
6602001-09-14 Kevin Lo <kevlo@openbsd.org>
661
662 * configure.in: Add arm-openbsd target.
663 * configure: Regenerate.
664
4008bd9b
TS
6652001-09-14 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
666
667 * configure.in: Change machine triplets from mips-*-linux-gnu* to
668 mips*-*-linux*.
669
233b8738
TS
6702001-09-12 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
671
672 * config/tc-mips.c (append_insn): Don't rightshift BFD_RELOC_16_PCREL.
673
d61a78a7
RH
6742001-09-11 Richard Henderson <rth@redhat.com>
675
676 * config/tc-alpha.c (alpha_elf_section_letter): New.
677 (alpha_elf_section_flags): New.
678 * config/tc-alpha.h (md_elf_section_letter): New.
679 (md_elf_section_flags): New.
680 * config/tc-ia64.c (ia64_elf_section_letter): New.
681 * config/tc-ia64.h (md_elf_section_letter): New.
682
9469ddf0
JJ
6832001-09-11 Jakub Jelinek <jakub@redhat.com>
684
685 * config/obj-elf.c (obj_elf_parse_section_letters): Use 'M' instead
686 of 'm', 'S' instead of 's'. Update bad_msg.
687 * config/tc-ppc.c (ppc_section_letter): Update bad_msg.
688 * config/tc-i370.c (i370_sectioN_letter): Update bad_msg.
689
e0890092
AM
6902001-09-09 Alan Modra <amodra@bigpond.net.au>
691
692 * expr.c (expr): Move code setting "retval" to the end of the loop,
693 and rearrange for efficiency. For "PIC code" subtraction, use
694 "rightseg" rather than recalculating. For "symbol OP symbol"
695 subtract, set "retval" to absolute_section if symbols in same
696 section.
697 * symbols.c (resolve_symbol_value): Resolve "sym +/- expr" to an
698 O_symbol. Simplify a +/- b code. Allow equality and non-equality
699 comparisons on symbols from any section. Allow other comparison
700 operators as for subtraction.
701 (symbol_equated_reloc_p): New predicate function.
702 * symbols.h (symbol_equated_reloc_p): Declare.
79bcdb56
AM
703 * write.c (relax_segment <rs_machine_dependent>): Ensure segment
704 for expression syms is set correctly.
705 (adjust_reloc_syms): Use symbol_equated_reloc_p.
e0890092
AM
706 (write_relocs): Likewise.
707 (write_object_file): Likewise.
e0890092
AM
708 * config/tc-mips.c (md_estimate_size_before_relax): Likewise.
709 * config/tc-i386.c (md_assemble <Output jumps>): Don't lose part
710 of a complex expression when setting up frag_var.
711
ec8fcf4a
RH
7122001-09-07 Richard Henderson <rth@redhat.com>
713
714 * config/tc-alpha.c (alpha_reloc_op_tag): Replace need_seq with
715 require_seq and allow_seq. Let !literal omit the sequence number.
716 (tokenize_arguments): Reject sequence numbers of !allow_seq.
717
891937bf
JJ
7182001-09-08 Jakub Jelinek <jakub@redhat.com>
719
720 * config/tc-sparc.c (md_apply_fix3): Handle relocs against SEC_MERGE
721 section symbols the same way as externs.
722
553178e4
TS
7232001-09-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
724
725 * config/tc-mips.c (s_mipsset): Reallow unrestricted use of .set mipsX
726 pseudo-op.
ad58c921 727
cb56d3d3
TS
7282001-09-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
729
730 * config/tc-mips.c (append_insn): Handle BFD_RELOC_16_PCREL.
731 (macro_build): Use BFD_RELOC_16_PCREL_S2 only for embedded
732 PIC, BFD_RELOC_16_PCREL for the rest.
733 (mips_ip): Likewise.
79bcdb56
AM
734 (md_pcrel_from): return the right offset for the differently shifted
735 pcrel relocs.
cb56d3d3 736 (md_apply_fix): Handle BFD_RELOC_16_PCREL.
ad58c921 737
3969b680
RH
7382001-09-05 Richard Henderson <rth@redhat.com>
739
740 * config/tc-ia64.c (FUNC_IPLT_RELOC): New.
741 (pseudo_func): Add @iplt.
742 (pseudo_opcode): Add data16 and data16.ua.
743 (md_begin): Set iplt pseudo.
744 (ia64_cons_fix_new): Handle 16 byte iplt reloc specially.
745
7462001-09-04 Richard Henderson <rth@redhat.com>
19f78583
RH
747
748 * config/tc-alpha.c (struct alpha_insn): Make sequence scalar long.
749 (MACRO_LITERAL, MACRO_BASE, MACRO_BYTOFF, MACRO_JSR): Remove.
750 (alpha_macros): Remove occurrences of same.
751 (O_lituse_addr, O_gprel): New.
752 (DUMMY_RELOC_LITUSE_*): New.
753 (s_alpha_ucons, s_alpha_arch): Prototype.
754 (alpha_reloc_op): Construct elements via DEF macro.
755 (ALPHA_RELOC_SEQUENCE_OK): Remove.
756 (struct alpha_reloc_tag): Rename from alpha_literal_tag; rename
757 members to not be literal specific.
758 (next_sequence_num): New.
759 (md_apply_fix3): Cope with missing GPDISP_LO16. Adjust for
760 added/removed BFD relocations.
761 (alpha_force_relocation, alpha_fix_adjustable): Likewise.
762 (alpha_adjust_symtab_relocs): Handle GPDISP relocs as well.
763 (tokenize_arguments): Parse ! relocations properly.
764 (find_macro_match): Delete unused macro argument types.
765 (assemble_insn): Add reloc parameter; emit that instead of the
766 default as appropriate.
767 (get_alpha_reloc_tag): New. Split from ...
768 (emit_insn): ... here. Allocate a reloc tag for GPDISP.
769 (assemble_tokens): Don't search macros if user relocation present.
770 Copy reloc sequence number to insn struct.
771 (emit_ldgp): Remove user reloc handling.
772 (load_expression, emit_lda, emit_ldah, emit_ir_load): Likewise.
773 (emit_loadstore, emit_ldXu, emit_ldil, emit_stX): Likewise.
774 (emit_sextX, emit_division, emit_jsrjmp, emit_retjcr): Likewise.
775 * config/tc-alpha.h (tc_adjust_symtab): Always define.
776 (struct alpha_fix_tag): Name members less literal specific.
777
de342d07
JL
778Tue Sep 4 20:01:19 2001 Jeffrey A Law (law@cygnus.com)
779
780 * tc-h8300.c (tc_gen_reloc): Give an error if we try to take the
781 address of two symbols in different sections.
782
3c02b2ab
EC
7832001-08-31 Eric Christopher <echristo@redhat.com>
784 Jason Eckhardt <jle@redhat.com>
785
786 * config/tc-mips.c (mips_cpu_info): Add support for mipsisa32,
787 5kc, and 20kc. Clean up old entries.
788
36ed2fff
JL
789Fri Aug 31 12:05:13 2001 J"orn Rennecke <amylaar@redhat.com>
790 Jeff Law <law@redhat.com>
791
3c1ba8a3
JL
792 * config/tc-h8300.c (build_bytes): For OBJ_ELF, make relocation's
793 offset match H8 ELF spec.
794 (md_section_align): Alternate implementation for BFD_ASSEMBLER.
795 (md_apply_fix): Fix argument and return types for BFD_ASSEMBLER.
796
36ed2fff
JL
797 * tc-h8300.c (relocation mappings): Remove. Moved to tc-h8300.h.
798 (build_bytes): Mark fixups for PCrel branches as signed. For
799 OBJ_ELF, make sure the reloc's offset points to the first byte
800 to be modified.
801 (md_convert_frag): Update definiton based on BFD_ASSEMBLER.
802 * tc-h8300.h (relocation mappings): Add.
803
f333765f
JL
804Thu Aug 30 12:05:13 2001 J"orn Rennecke <amylaar@redhat.com>
805
806 * tc-h8300.c (tc_crawl_symbol_chain, tc_headers_hook): Don't
807 define for BFD_ASSEMBLER.
808 (tc_reloc_mangle): Likewise.
809 (tc_gen_reloc): New function for BFD_ASSEMBLER.
810
83e20b45
JL
811Wed Aug 29 12:49:58 2001 Jeffrey A Law (law@cygnus.com)
812
3c02b2ab 813 * config/tc-h8300.c (h8300hmode): Record the machine type
83e20b45
JL
814 if BFD_ASSEMBLER is defined.
815 (h8300smode, md_begin): Similarly.
816
f6314f3e
PB
8172001-08-29 Joel Sherrill <joel@OARcorp.com>
818
3c02b2ab 819 * configure.in (i[3456]86-*-rtems*, m68*-*-rtems*): Change
f6314f3e
PB
820 default from coff to elf.
821 * configure: Regenerate.
822
ccad732d
JL
823Wed Aug 29 12:05:13 2001 J"orn Rennecke <amylaar@redhat.com>
824
7e0de7bf
JL
825 * tc-h8300.c: If OBJ_ELF, include elf/h8.h, and define
826 assorted coff relocations to the corresponding elf relocations.
827 * tc-h8300.h (TARGET_ARCH, TARGET_FORMAT): Define appropriately.
828
ccad732d
JL
829 * configure.in: Add case for h8300-*-elf.
830 * configure: Regenerate.
831
1262d520
JR
832Wed Aug 29 12:05:13 2001 J"orn Rennecke <amylaar@redhat.com>
833
834 * doc/internals.texi (MD_PCREL_FROM_SECTION): Change
82f3c9a3 835 documentation to reflect reality.
1262d520 836
7283eb86
TS
8372001-08-27 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
838
ad58c921 839 * config/tc-mips.c (load_address): Reflect change to MAX_GPREL_OFFSET.
7283eb86
TS
840 (macro): Reflect change to MAX_GPREL_OFFSET.
841
0baf16f2
AM
8422001-08-27 Torbjorn Granlund <tege@swox.com>
843 Staffan Ulfberg <staffanu@swox.se>
844 Linus Nordberg <linus@swox.se>
845 Alan Modra <amodra@bigpond.net.au>
846
847 * configure.in: Recognise powerpc*le*, not just powerpcle*.
848 * configure: Regenerate.
849 * config/tc-ppc.c (PPC_LO, PPC_HI, PPC_HA, PPC_HIGHER,
850 PPC_HIGHERA, PPC_HIGHEST, PPC_HIGHESTA, SEX16): New macros.
851 (md_assemble): Use them.
852 (ppc_machine): Support stub for ELF64 as well as XCOFF.
853 (md_pseudo_table): Add "llong", "quad".
854 (md_parse_option): Match default_cpu of powerpc*.
855 (ppc_arch): Likewise.
856 (ppc_subseg_align): Only for OBJ_XCOFF.
857 (ppc_target_format): Return elf64-powerpc strings for 64 bit ELF.
858 (md_begin): Select PPC_OPCODE_64 for 64 bit.
859 (ppc_insert_operand): Don't bother testing 'file' before calling
860 as_bad_where. Use as_bad_where for operand->insert errors.
861 (mapping): Add ELF64 relocation modifiers.
862 (ppc_elf_suffix): Replace symbol on BFD_RELOC_PPC64_TOC reloc
863 expressions with abs_symbol.
864 (ppc_elf_cons): Correct offset for little endian targets.
865 (ppc_elf_frob_symbol): New.
866 (md_assemble): Add support for 64 bit ELF relocs.
867 (ppc_tc): Ensure 8 byte alignment when 64 bit.
868 (ppc_is_toc_sym): Only define for OBJ_XCOFF and OBJ_ELF. Match
869 ".toc" section for 64 bit ELF.
870 (ppc_fix_adjustable): New. Macro body moved from tc-ppc.h.
871 (md_apply_fix3): Silence warning with ATTRIBUTE_UNUSED. Only do
872 the ppc_is_toc_sym check for OBJ_XCOFF and OBJ_ELF. For 64 bit,
873 use BFD_RELOC_PPC64_TOC16_DS instead of BFD_RELOC_PPC_TOC16.
874 Expand on comments, error message. Add support for 64 bit relocs,
875 and use PPC_HI etc. macros.
876 * config/tc-ppc.h (MAX_MEM_FOR_RS_ALIGN_CODE): Define.
877 (HANDLE_ALIGN): Define to generate nops in code sections rather
878 than zeros.
879 (TC_FORCE_RELOCATION): Force for BFD_RELOC_PPC64_TOC.
880 (ELF_TC_SPECIAL_SECTIONS): Add 64 bit ELF sections.
881 (tc_fix_adjustable): Move body of macro to tc-ppc.c.
882 (ppc_fix_adjustable): Declare.
883 (tc_frob_symbol): Define.
884 (ppc_elf_frob_symbol): Declare.
885
9d654c1c
AJ
8862001-08-26 Andreas Jaeger <aj@suse.de>
887
888 * config/tc-s390.c: Add missing prototypes
889 (md_gather_operands): Make static.
890
e7d556df
TS
8912001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
892
ad58c921
TS
893 * config/tc-mips.h (MAX_GPREL_OFFSET): Change it to the maximum
894 allowed value, not the word beyond maximum.
895 * config/tc-mips.c (macro_build_lui): Code cleanup.
e7d556df
TS
896 (macro): Reflect change to MAX_GPREL_OFFSET.
897 (mips_ip): Check explicitly against S_EX_NONE.
898 (my_get_SmallExpression): parse for %gp_rel, not %gprel.
899 (md_apply_fix): Code cleanup.
900
34f63668
AJ
9012001-08-24 Andreas Jaeger <aj@suse.de>
902
903 * config/tc-ppc.h: Fix prototype declaration.
904
c538998c
JJ
9052001-08-23 Jakub Jelinek <jakub@redhat.com>
906
907 * config/tc-ia64.c (dot_endp): Set function symbol sizes.
908 * config/obj-elf.c (obj_elf_size): When size is constant, free
909 and clear symbol_get_obj(sym)->size if any.
910
1ff54a84
TS
9112001-08-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
912
ad58c921
TS
913 * config/tc-mips.c (md_begin): Warn about incompatibility between
914 -march=FOO and -mipsN option, continue with default ISA.
1ff54a84 915
a6bacc80
TS
9162001-08-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
917
918 * config/tc-mips.c (md_parse_option): #ifdef the
919 traditional/non-traditional names as it is done in mips_target_format.
920
ca3f7695
RH
9212001-08-20 Richard Henderson <rth@redhat.com>
922
923 * config/tc-alpha.h (MD_APPLY_FIX3): Define.
924 * config/tc-alpha.c (md_apply_fix3): Rename from md_apply_fix;
925 use seg parameter instead of now_seg.
926
e87a0284
L
9272001-08-18 H.J. Lu <hjl@gnu.org>
928
929 * config/tc-mips.c (show): Add the missing prototype.
930
fb1b3232
TS
9312001-08-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
932
933 * config/tc-mips.c (S_EX_*): New enum for my_getSmallExpression()
934 return values.
935 (mips_ip): Use the new return values instead of characters. Add
936 support for %higher and %highest.
937 (LP): Remove.
938 (RP): Remove.
939 (my_getSmallExpression): Make parsing case insensitive and more
940 reliable. Add support for %higher and %highest. Further support to
941 parse %gprel and %neg is implemented but currently deactivated.
942
23fe39df
AM
9432001-08-17 Alan Modra <amodra@bigpond.net.au>
944
945 * ecoff.c (ecoff_frob_symbol): Remove casts from bfd_get_gp_size.
946 (ecoff_build_symbols): Likewise.
947 * read.c (s_lcomm_internal): Fix signed/unsigned warning.
948
be00bddd
TS
9492001-08-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
950
951 * config/tc-mips.c (mips_elf_final_processing): Set elf header flags
952 for n32 ABI if appropriate.
953
07ae3efa
TS
9542001-08-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
955
956 * config/tc-mips.c (cons_fix_new_mips): Remove.
957 * config/tc-mips.h (TC_CONS_FIX_NEW): Remove.
958 (cons_fix_new_mips): Remove.
959
c68012fb
JJ
9602001-08-14 Jeff Johnston <jjohnstn@redhat.com>
961
79bcdb56
AM
962 * expr.c (operand)[LITERAL_PREFIXDOLLAR_HEX]: Treat $L as
963 a label, not a hex constant.
c68012fb 964
5d430f8b
NC
9652001-08-13 Nick Clifton <nickc@cambridge.redhat.com>
966
967 * config/tc-v850.h: Add missing prototypes.
968
198ce79b
AJ
9692001-08-12 Martin Schwidefsky <schwidefsky@de.ibm.com>
970
971 * config/tc-s390.c (s390_elf_cons): Correct fixups for PLT
972 relocations.
973
4ffadb11
NC
9742001-08-12 TAKAI Kousuke <takai@vlsi.kuee.kyoto-u.ac.jp>
975
976 * config/tc-sparc.c (cons_fix_new_sparc): Move
977 `sparc_no_align_cons = 0;' to...
978 (s_uacons): ...here so that sparc_no_align_cons will get
979 cleared properly.
980
f72c8c98
KH
9812001-08-11 Kazu Hirata <kazu@hxi.com>
982
983 * config/tc-mips.c: Fix a comment typo.
984
ea1fb5dc
RS
9852001-08-10 Richard Sandiford <rsandifo@redhat.com>
986
987 * config/tc-mips.c (move_register): New function.
988 (macro_build): Remove OPCODE_IS_MEMBER's gp32 argument.
989 (mips_ip): Likewise.
990 (macro2): Use move_register rather than macro_build for moves.
991 (mips16_macro): Likewise.
992 (macro): Likewise. Handle M_MOVE.
993
0218d1e4
AJ
9942001-08-10 Andreas Jaeger <aj@suse.de>
995
996 * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
997 to build warnings.
998 * configure: Regenerate.
999
11b37b7b
AM
10002001-08-10 Alan Modra <amodra@bigpond.net.au>
1001
fa6e9318
AM
1002 * as.h (alloca): Don't declare if __GNUC__. Remove an old comment.
1003 Comment indentation of #pragma.
1004 * macro.c (alloca): Likewise.
1005
11b37b7b
AM
1006 * config/tc-ppc.c: Revert 2001-08-08.
1007
8d28c9d7
AM
10082001-08-09 Alan Modra <amodra@bigpond.net.au>
1009
1010 * symbols.c: Add missing prototypes.
1011 * config/e-i386elf.c: Likewise.
1012 * config/e-i386coff.c: Likewise.
1013 * config/e-i386aout.c: Likewise.
1014 * config/obj-coff.c: Likewise.
1015 (def_symbol_in_progress, stack): Move definition.
1016 * config/obj-elf.c: Add missing prototypes.
1017 (obj_elf_change_section): Make static.
1018 (obj_elf_parse_section_letters): Likewise.
1019 (obj_elf_section_word): Likewise.
1020 (obj_elf_section_type): Likewise.
1021
fce3099f
AM
10222001-08-08 Alan Modra <amodra@bigpond.net.au>
1023
1024 From 1999-10-25 Torbjorn Granlund <tege@swox.com>
1025 * config/tc-ppc.c (md_apply_fix3): Replace haphazard code for
1026 determining reloc type with code reading operands->reloc field.
1027
d959c450
AM
10282001-08-08 Alan Modra <amodra@bigpond.net.au>
1029
8fd3e36b
AM
1030 * config/obj-elf.c (elf_copy_symbol_attributes): Make it a global
1031 function, and expand old obj-elf.h OBJ_COPY_SYMBOL_ATTRIBUTES here.
1032 * config/obj-elf.h (elf_copy_symbol_attributes): Declare.
1033 (OBJ_COPY_SYMBOL_ATTRIBUTES): Call elf_copy_symbol_attributes.
1034
8a543126
AM
1035 * output-file.c (output_file_create): Don't try to open a second
1036 time as it's unnecessary. FOPEN_W was undefined too.
d959c450 1037
38487616
TS
10382001-08-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1039
ad58c921 1040 * config/tc-mips.c (macro_build): Replace magic constants by defines.
38487616
TS
1041 (mips_ip): Likewise. Typo.
1042
9a41af64
TS
10432001-08-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1044
ad58c921
TS
1045 * config/tc-mips.c (mips_abi_string): Initialize with NULL instead
1046 of 0.
9a41af64
TS
1047 (RELAX_ENCODE): Replace bfd_vma by valueT.
1048 (load_address): Formatting.
1049 (macro): Likewise. Code cleanup. Typo.
1050 (macro2): Formatting.
1051 (md_parse_option): Typo.
1052 (s_mipsset): Reorder cases to look nicer.
1053 (md_estimate_size_before_relax): Formatting. Code cleanup.
1054 (mips_elf_final_processing): Check against NULL instead of 0.
1055 (md_obj_end): Remove ugly `' in message string.
1056 (s_mips_ent): Remove ugly `' in message string.
1057
6dce9e24
TS
10582001-07-30 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1059
1060 * config/tc-mips.c (md_begin): Take -mcpu value into account even when
1061 -mipsX is specified. Make both -mcpu/-march and -mcpu/-mtune pairs
1062 mutually exclusive (if they are different).
1063 (md_parse_option): Warn if an -march/-mtune/-mcpu/-m<cpu> option is
1064 set more than once.
1065
236bd878
RS
10662001-08-03 Richard Sandiford <rsandifo@redhat.com>
1067
1068 * config/tc-mips.c (md_apply_fix): Don't subtract the symbol value
1069 from GPREL addends.
1070
ca4e0257
RS
10712001-08-02 Richard Sandiford <rsandifo@redhat.com>
1072
1073 * doc/c-mips.tex (-mgp32, -mfp32): Added -mfp32, unified with -mgp32.
1074 * config/tc-mips.c (mips_fp32, mips_32bit_abi): New static variables.
1075 (md_long_opts): Add -mfp32 option.
1076 (md_parse_option): Handle it. Set mips_32bit_abi given -mabi=32.
1077 (md_show_usage): Show usage for -mfp32 and -mgp32.
1078 (HAVE_32BIT_GPRS, HAVE_32BIT_FPRS): New macros.
1079 (HAVE_64BIT_GPRS, HAVE_64BIT_FPRS): New macros, inverse of the above.
1080 (HAVE_32BIT_ADDRESSES): New macro.
1081 (load_register): Use HAVE_32BIT_GPRS to determine the register width.
1082 (load_address): Use HAVE_32BIT_ADDRESSES to determine the address size.
1083 (s_cprestore, s_cpadd): Likewise.
1084 (macro): Use HAVE_32BIT_GPRS to determine the width of registers
1085 used in branch and M_LI_D macros. Use HAVE_64BIT_FPRS to determine
1086 the width registers used in M_LI_DD macros. Use HAVE_32BIT_ADDRESSES
1087 to determine the width of addresses in load, store and jump macros.
1088 (macro2): Use HAVE_32BIT_GPRS to determine the width of registers
1089 used in set instructions; do not check the address size for them.
1090 Use HAVE_32BIT_ADDRESSES to determine the width of addresses in
1091 unaligned load and store macros.
1092 (mips_ip): Use the new macros to check the width of a register when
1093 processing float constants. Force a constant into memory if it is
1094 destined for an FPR and the FPRs are wider than the GPRs. Warn about
1095 odd FPR numbers if HAVE_32BIT_FPRS. Use HAVE_32BIT_GPRS rather
1096 than mips_gp32 to select synthetic instructions.
1097 (macro_build): Use HAVE_32BIT_GPRS rather than mips_gp32 to select
1098 synthetic instructions.
1099
28bab82b
NC
11002001-08-01 Christian Groessler <cpg@aladdin.de>
1101
1102 * config/tc-z8k.c (parse_reg): If a string starts with "r", "rl",
1103 "rh", "rr", "rq", or "sp" then don't automatically assume
1104 it's a register name. Check whether there is a number
1105 following.
1106
28f81592
AM
11072001-08-01 Alan Modra <amodra@bigpond.net.au>
1108
1109 * config/tc-i386.c (lex_got): Match lower case relocation tokens.
1110 Don't allocate more space than necessary for the input line copy.
1111
0e389e77
AM
11122001-08-01 Alan Modra <amodra@bigpond.net.au>
1113
1114 * read.c: Standardize error/warning messages - don't capitalise, no
1115 final period or newline, don't say "ignored" or "zero assumed" for
1116 as_bad messages. In some cases, change the wording to that used
1117 elsewhere for similar messages.
1118 * app.c: Likewise.
1119 * as.c: Likewise.
1120 * atof-generic.c: Likewise.
1121 * cgen.c: Likewise.
1122 * cond.c: Likewise.
1123 * depend.c: Likewise.
1124 * dwarf2dbg.c: Likewise.
1125 * ecoff.c: Likewise.
1126 * expr.c: Likewise.
1127 * frags.c: Likewise.
1128 * input-file.c: Likewise.
1129 * input-scrub.c: Likewise.
1130 * listing.c: Likewise.
1131 * output-file.c: Likewise.
1132 * stabs.c: Likewise.
1133 * subsegs.c: Likewise.
1134 * symbols.c: Likewise.
1135 * write.c: Likewise.
1136 * ecoff.c (ecoff_directive_end): Test for missing name by
1137 comparing input line pointers rather than reading string.
1138 (ecoff_directive_ent): Likewise.
1139 * read.c (s_set): Likewise.
1140 (s_align): Report a warning rather than an error for
1141 alignment too large.
1142 (s_comm): Check for missing symbol name.
1143 (s_lcomm_internal): Likewise.
1144 (s_lsym): Likewise.
1145 (s_globl): Use is_end_of_line instead of looking for '\n'.
1146 (s_lcomm_internal): Likewise.
1147 (ignore_rest_of_line): Report a warning rather than an error.
1148
e138127a
GK
11492001-07-31 Geoffrey Keating <geoffk@redhat.com>
1150
1151 * config/tc-ppc.c (ppc_elf_validate_fix): It's OK to have
1152 any kind of relocation against a not-loaded section.
1153
468cced8
AM
11542001-07-30 Alan Modra <amodra@bigpond.net.au>
1155
1156 * config/obj-elf.c (obj_elf_symver): Temporarily modify lex_type
1157 to include '@' in symbol names when parsing versioned symbols
1158 rather than calling get_symbol_end multiple times.
1159 * config/tc-i370.c (register_name): Format fixes. Don't call
1160 get_symbol_end after parsing number.
1161 * config/tc-mn10200.c (data_register_name): Format fixes. Hoist
1162 code out of conditional.
1163 (address_register_name): Likewise.
1164 (other_register_name): Likewise.
1165 * config/tc-mn10300.c (r_register_name): Likewise.
1166 (xr_register_name): Likewise.
1167 (data_register_name): Likewise.
1168 (address_register_name): Likewise.
1169 (other_register_name): Likewise.
1170 * config/tc-ppc.c (register_name): Likewise.
1171 * config/tc-s390.c (register_name): Likewise.
1172
13283e2d
SC
11732001-07-27 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1174
1175 * config/tc-m68hc11.c (md_estimate_size_before_relax): Fix bsr
1176 and bra relax: update fragP->fr_fix after the fixup.
1177
409d19c4
AM
11782001-07-27 Tracy Kuhrt <Tracy.Kuhrt@microchip.com>
1179
1180 * read.c (s_set): Check for missing symbol name.
1181
050be34e
AM
11822001-07-26 Alan Modra <amodra@bigpond.net.au>
1183
1184 * write.c (relax_segment <rs_space>): Account for fr_fix.
1185
46bac6de
L
11862001-07-25 H.J. Lu <hjl@gnu.org>
1187
1188 * config/tc-mips.c (md_estimate_size_before_relax): Make sure
1189 we treat weak like extern only for ELF.
1190 (mips_fix_adjustable): Make sure we don't adjust extern/weak
1191 symbols only for ELF.
1192
2f4dcb11
CD
11932001-07-25 Chris Demetriou <cgd@broadcom.com>
1194
1195 * config/tc-mips.c: Fix spelling error in comment.
1196
62f65a7b
DB
11972001-07-25 Dave Brolley <brolley@redhat.com>
1198
1199 * app.c (LEX_IS_PARALLEL_SEPARATOR): New macro.
1200 (IS_PARALLEL_SEPARATOR): New macro.
1201 (do_scrub_begin): Set up characters in tc_parallel_separator_chars
1202 as LEX_IS_PARALLEL_SEPARATOR, if it is defined.
1203 (do_scrub_chars): Handle LEX_PARALLEL_SEPARATOR chars like
1204 LEX_LINE_SEPARATOR except that we go to state 1 (as if the label has
1205 been seen).
1206
3817f222
AM
12072001-07-24 Alan Modra <amodra@bigpond.net.au>
1208
1209 * Makefile.am (DEP_FLAGS): Define, add -DOBJ_MAYBE_ELF.
1210 (DEP1, DEPTC, DEPOBJ, DEP2): Use it.
1211 Update dependencies with "make dep-am".
1212 * Makefile.in: Regenerate.
1213 * doc/Makefile.in: Regenerate.
1214
07726851
KH
12152001-07-23 Kazu Hirata <kazu@hxi.com>
1216
1217 * config/tc-alpha.h: Fix formatting.
1218 * config/tc-arc.c: Likewise.
1219 * config/tc-d10v.h: Likewise.
1220 * config/tc-hppa.c: Likewise.
1221 * config/tc-i370.c: Likewise.
1222 * config/tc-i386.h: Likewise.
1223 * config/tc-i960.h: Likewise.
1224 * config/tc-ia64.c: Likewise.
1225 * config/tc-ia64.h: Likewise.
1226 * config/tc-m32r.c: Likewise.
1227 * config/tc-m68k.c: Likewise.
1228 * config/tc-m88k.c: Likewise.
1229 * config/tc-ns32k.c: Likewise.
1230 * config/tc-pdp11.c: Likewise.
1231 * config/tc-pj.h: Likewise.
1232 * config/tc-s390.c: Likewise.
1233 * config/tc-sparc.c: Likewise.
1234 * config/tc-sparc.h: Likewise.
1235 * config/tc-tic80.c: Likewise.
1236 * config/tc-w65.h: Likewise.
1237
ac62c346
AM
12382001-07-23 Alan Modra <amodra@bigpond.net.au>
1239
1240 * symbols.c (S_GET_VALUE): Don't treat O_constant and local
1241 symbols specially. Always resolve, adding fr_address to value.
1242 * write.c (write_object_file): Don't add fr_address to sym values.
1243 (relax_frag): Likewise.
1244 (relax_segment): Likewise.
1245 * config/obj-ieee.c (do_symbols): Likewise.
1246 * config/tc-cris.c (md_convert_frag): Likewise.
1247 * config/tc-fr30.c (md_convert_frag): Likewise.
1248 * config/tc-i386.c (md_convert_frag): Likewise.
1249 * config/tc-m32r.c (md_convert_frag): Likewise.
1250 * config/tc-m68hc11.c (md_convert_frag): Likewise.
1251 * config/tc-mcore.c (md_convert_frag): Likewise.
1252 * config/tc-mips.c (mips16_extended_frag): Likewise.
1253 * config/tc-ns32k.c (md_convert_frag): Likewise.
1254 * config/tc-m68k.c (md_convert_frag_1): Likewise.
1255 (BRANCHBWL, BRABSJUNC, BRABSJCOND, BRANCHBW, FBRANCH, DBCCLBR,
1256 DBCCABSJ, PCREL1632, PCINDEX, ABSTOPCREL): Decrement.
1257 (md_relax_table): Remove first four entries. Format.
1258 (md_estimate_size_before_relax): Remove old_fix. Don't bother
1259 setting fr_var. Simplify byte branch checks.
1260
677537c1
AM
12612001-07-23 Alan Modra <amodra@bigpond.net.au>
1262
1263 * config/tc-hppa.c (pa_parse_nonneg_cmpsub_cmpltr): Remove
1264 "isbranch" param as all calls have it set.
1265 (pa_parse_neg_cmpsub_cmpltr): Likewise.
1266 (pa_parse_nonneg_add_cmpltr): Likewise. Remember result of
1267 strcasecmp in "nullify" var.
1268 (pa_parse_neg_add_cmpltr): Likewise.
1269 (pa_ip): Don't "save_s" unnecessarily. Update calls to above
1270 functions. Don't print wrong conditions in error messages.
1271
c745b67a
AJ
12722001-07-23 Andreas Jaeger <aj@suse.de>
1273
1274 * config/tc-s390.c (s390_force_relocation): Removed.
1275
1276 * config/tc-s390.h: Remove double declaration of
1277 TC_FORCE_RELOCATION.
1278
2b3c5a5d
L
12792001-07-22 H.J. Lu <hjl@gnu.org>
1280
1281 * config/tc-mips.c (s_mips_end): Remove unused variables.
1282 (s_mips_frame): Add ATTRIBUTE_UNUSED.
1283
f27a3839
AS
12842001-07-17 Andreas Schwab <schwab@suse.de>
1285
1286 * config/tc-m68k.c (md_pseudo_table) [OBJ_ELF]: Add .file and
1287 .loc.
1288 (md_assemble) [OBJ_ELF]: Call dwarf2_emit_insn before emitting
1289 insn.
1290 * config/tc-m68k.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
1291
5bae9b28
MG
12922001-07-17 matthew green <mrg@eterna.com.au>
1293
1294 * config/tc-i386.c (comment_chars): Don't use '/' as comment start if
1295 TE_NetBSD.
1296 (line_comment_chars): Set to '/' if TE_NetBSD.
1297
7ed28e65
MG
12982001-07-14 matthew green <mrg@eterna.com.au>
1299
1300 * configure.in (i386-*-netbsdelf*): New target.
92c077a3 1301 * configure: Regenerate.
7ed28e65 1302
bdbe95c8
NC
13032001-07-10 Mark Elbrecht <snowball3@softhome.net>
1304
1305 * config/obj-coff.c (coff_frob_symbol): Don't merge if the storage
1306 class of the non-debug symbol is C_NULL.
1307
15dcfbc3
NC
13082001-07-10 Anders Norlander <anorland@synergenix.se>
1309
1310 * doc/as.texinfo (Incbin): Fix grammatical errors.
1311
f740e790
NC
13122001-07-10 Nick Clifton <nickc@cambridge.redhat.com>
1313
1314 * depend.c: Use FOPEN_.. macros in calls to fopen().
1315 * input-file.c: As above.
1316 * itbl-ops.c: As above.
1317 * listing.c: As above.
1318 * output-file.c: As above.
1319 * read.c: As above.
1320
7e005732
NC
13212001-07-08 Anders Norlander <anorland@synergenix.se>
1322
1323 * read.c (s_incbin): New .incbin function.
1324 * read.c (potable): Add "incbin" pseudo-op.
1325 * read.h: Add s_incbin prototype.
1326 * doc/as.texinfo (incbin): Document .incbin pseudo-op.
1327 * NEWS: Mention new feature.
1328
ae341099
NC
13292001-07-07 Nick Clifton <nickc@cambridge.redhat.com>
1330
1331 * ecoff.c (add_file): Only set debug_type to DEBUG_NONE if it is
1332 DEBUG_UNSPECIFIED.
1333
002de68b
JH
13342001-07-06 John Healy <jhealy@redhat.com>
1335
1336 * cgen.c (gas_cgen_save_fixups): Modified to allow more than one
1337 set of fixups to be stored.
1338 (gas_cgen_restore_fixups): Modified to allow the fixup chain to be
1339 restored to be chosen from any that are saved.
1340 (gas_cgen_swap_fixups): Modified to allow the current set of
1341 fixups to be swapped with any other set that has been saved.
1342 (gas_cgen_initialize_saved_fixups_array): New routine.
1343 * cgen.h: Modifed prototypes for gas_cgen_save_fixups,
1344 gas_cgen_restore_fixups, and gas_cgen_swap_fixups. Added definitions
1345 or MAX_SAVED_FIXUP_CHAINS.
1346 * config/tc-m32r.c (assemble_two_insns): Changed calls to fixup
1347 store, swap and restore fuctions to reflect the new interface.
1348
7099f9f9
NC
13492001-07-06 Nick Clifton <nickc@cambridge.redhat.com>
1350
1351 * config/tc-m68k.c (md_estimate_size_before_relax): Catch and
1352 ignore empty, ineffectual alignment frags when deciding if a
1353 branch can be short.
1354
557debba
JW
13552001-07-05 Steve Ellcey <sje@cup.hp.com>
1356
1357 * config/tc-ia64.c (special_section): Add SPECIAL_SECTION_INIT_ARRAY
1358 and SPECIAL_SECTION_FINI_ARRAY.
1359 (special_section_name): Add .init_array and .fini_array.
1360 (md_pseudo_table): Add init_array and fini_array.
1361 (md): Add pointer_size and pointer_size_shift fields.
1362 (setup_unwind_header): New static function.
1363 (output_unw_records): Modify to use setup_unwind_header.
1364 (generate_unwind_image, dot_endp): Modify to use md.pointer_size and
1365 md.pointer_size_shift.
1366 (md_begin): Initialize md.pointer_size and md.pointer_size_shift.
1367
4ad09363
BE
13682001-07-05 Ben Elliston <bje@redhat.com>
1369
464bb47c
BE
1370 * README (Supported platforms): m88k no longer suffers bitrot.
1371
4ad09363
BE
1372 * config/tc-m88k.c (md_pseudo_table): Remove redundant "global".
1373
7fb088be
AM
13742001-07-05 Alan Modra <amodra@bigpond.net.au>
1375
1376 * struc-symbol.h (struct local_symbol): Rename lsy_offset to
1377 lsy_value. Correct typos in comments.
1378 * symbols.c (local_symbol_make): Update for name change.
1379 (local_symbol_convert): Likewise.
1380 (colon): Likewise.
1381 (S_GET_VALUE): Likewise.
1382 (S_SET_VALUE): Likewise.
1383 (print_symbol_value_1): Likewise.
1384 (resolve_symbol_value): Likewise. Don't divide local sym values
1385 by OCTETS_PER_BYTE twice.
1386
3e37788f
JW
13872001-07-04 Jim Wilson <wilson@redhat.com>
1388
87885043
JW
1389 * config/tc-ia64.c (md_pseudo_table): Add 2byte, 4byte, and 8byte.
1390
3e37788f
JW
1391 * config/tc-ia64.c (is_conditional_branch): Rewrite to exclude mod
1392 sched branches.
1393
81b0b3f1
BE
13942001-07-05 Ben Elliston <bje@redhat.com>
1395
2a1e2a6d
BE
1396 * read.c (s_fill): Correct spelling error in comments.
1397
81b0b3f1
BE
1398 * doc/c-m88k.texi: New file.
1399 * doc/Makefile.am (CPU_DOCS): Add c-m88k.texi.
1400 * doc/Makefile.in: Regenerate.
1401 * doc/all.texi: Set M880X0.
1402 * doc/as.texinfo: Hook in m88k-dependent documentation.
1403
18ae5d72
EC
14042001-07-04 Eric Christopher <echristo@redhat.com>
1405
1406 * doc/c-mips.texi (MIPS Opts): Document 12000 as valid cpu.
1407
1408 * config/tc-mips.c (mips_cpu_info_table): Add rm5200, rm5231, rm5261,
1409 and rm5721 as valid cpu strings.
1410 (md_show_usage): Add rm5200, rm5231, rm5261, rm5721.
1411
7461da6e
RS
14122001-07-04 Richard Sandiford <rsandifo@redhat.com>
1413
1414 * config/tc-mips.c (md_apply_fix): Prevent addend from becoming zero
1415 if it's expected to be non-zero.
1416
87548816
NC
14172001-07-03 Nick Clifton <nickc@cambridge.redhat.com>
1418
7bcad3e5
NC
1419 * config/tc-sh.c (sh_frob_section): Replace symbol_get_frag() with
1420 fscan->fx_frag.
1421
87548816 1422 * write.c (TC_FINALIZE_SYMS_BEFORE_SIZE_SEG): Default to 1.
ac62c346
AM
1423 (write_object_file): Set finalize_syms to
1424 TC_FINALIZE_SYMS_BEFORE_SIZE_SEG just before size_segs is
1425 called.
87548816 1426
ac62c346 1427 * doc/internals.texi; Document
18ae5d72 1428 TC_FINALIZE_SYMS_BEFORE_SIZE_SEG.
87548816 1429
99a814a1
AM
14302001-07-02 Alan Modra <amodra@bigpond.net.au>
1431
1432 * config/tc-ppc.c: Formatting fixes.
1433
bd59b34f
BE
14342001-07-01 Ben Elliston <bje@redhat.com>
1435
1436 * config/tc-m88k.c: Back out warning fixes from 2001-06-24, as
1437 they cause some subtle breakage. Will fix them again later.
1438
e237d851
NC
14392001-06-28 Nick Clifton <nickc@cambridge.redhat.com>
1440
1441 * config/obj-coff.c (obj_coff_ln): Treat a .ln directive
1442 outside of a function as a .appline directive.
1443
ec68c924
EC
14442001-06-28 Eric Christopher <echristo@redhat.com>
1445 H.J. Lu <hjl@gnu.org>
1446
551b1d89
BE
1447 * config/tc-mips.c (mips_arch): New. Use mips_arch instead
1448 of mips_cpu for the ISA selection.
1449 (md_longopts): Add OPTION_MARCH and OPTION_MTUNE.
1450 (md_parse_option): Handle OPTION_MARCH and OPTION_MTUNE.
ec68c924
EC
1451 (mips_tune): New. Use mips_tune for scheduling and optimization
1452 issues.
1453 (append_insn): Use mips_tune and mips_arch.
1454 (macro_build): Ditto.
1455 (mips_ip): Ditto.
1456 (md_begin): Handle mips_arch, mips_tune and mips_cpu. For
1457 backwards compatability mips_cpu generates arch and tune.
1458 (md_show_usage): Document new behavior.
1459
1460 * doc/c-mips.texi (MIPS Opts): Document -march and -mtune.
1461 Deprecate -mcpu.
1462
1463 * NEWS: Update.
1464
d8273442
NC
14652001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
1466
38b87a1b
NC
1467 * write.c (write_object_file): Do not set finalize_syms until
1468 after the segments have been sized. Some backends may still
1469 need to access the syms's frags in order to adjust relaxed
1470 frags.
1471
d8273442
NC
1472 * config/tc-arm.c (do_ldst): Use MVN to build simple inverted
1473 constants.
1474
1a16aca4
AM
14752001-06-27 Alan Modra <amodra@bigpond.net.au>
1476
1477 * write.c (fixup_segment <Difference of 2 syms same seg>): Don't
1478 subtract MD_PCREL_FROM_SECTION for 68k.
1479 (fixup_segment <Difference of 2 syms different seg>): Only fudge
1480 by adding MD_PCREL_FROM_SECTION for 68k or if not already pcrel.
1481
d48019e0
AM
14822001-06-27 Tracy A. Kuhrt <Tracy.Kuhrt@microchip.com>
1483
1484 * write.c (fixup_segment <Difference of 2 syms same seg>): If
1485 pcrel, subtract MD_PCREL_FROM_SECTION value.
1486
37ffda10
BE
14872001-06-24 Ben Elliston <bje@redhat.com>
1488
1489 * stabs.c (generate_asm_file): Make local variable `len' a size_t.
1490
6f112c47
JJ
14912001-06-24 Jakub Jelinek <jakub@redhat.com>
1492
1493 * config/tc-alpha.c (tc_gen_reloc): Handle relocs against SEC_MERGE
1494 section symbols the same way as externs.
1495
a181d81e
BE
14962001-06-24 Ben Elliston <bje@redhat.com>
1497
453520d7
BE
1498 * config/tc-m88k.c (md_number_to_imm): Remove; unused since 1993.
1499 (emit_relocations): Ditto.
1500 (s_bss): Ditto.
1501 (md_begin): Reformat comments to conform to the GNU standards.
1502 (md_assemble): Ditto.
1503
e21e484e
BE
1504 * config/tc-m88k.c (get_reg): Adjust type of `reg_prefix' to char.
1505 (md_parse_option): Mark parameters as unused.
1506 (md_show_usage): Ditto.
1507 (calcop): Adjust type of `reg_prefix' to char.
1508 (get_reg): Ditto.
1509 (getval): Adjust type of local `c' to char.
1510 (md_create_short_jump): Mark from_addr, to_addr params as unused.
1511 (md_create_long_jump): Ditto.
1512 (md_estimate_size_before_relax): Mark parameters as unused.
453520d7 1513
a181d81e
BE
1514 * config/tc-m88k.c (md_pseudo_table): Properly terminate the table
1515 to allay a possible compiler warning.
1516
dd9b19ab
NC
15172001-06-22 Nick Clifton <nickc@cambridge.redhat.com>
1518
1519 * doc/internals.texi (CPU backend): Document md_atof.
1520
8be31359
NC
15212001-06-22 Matthew Wilcox <willy@ldl.fc.hp.com>
1522
d48019e0
AM
1523 * config/tc-hppa.c (pre_defined_registers): Add %mrp (millicode
1524 return pointer) alias for %r2 or %r31, depending on 32 or 64 bit
1525 architecture.
8be31359 1526
1cac9012
NC
15272001-06-21 Philip Blundell <philb@gnu.org>
1528
1529 * config/tc-arm.c (cplong_flag): Rename to long_flag. All uses
1530 updated.
1531 (insns): Remove entry for adrl. Add long_flag for adr.
1532 (do_adr): Handle `l' suffix.
1533 (do_adrl): Delete.
1534
b091f402
AM
15352001-06-21 Alan Modra <amodra@bigpond.net.au>
1536
1537 * config/tc-hppa.c (CHECK_FIELD_WHERE): Define.
1538 (md_apply_fix): Use it here. Replace printf with equivalent
1539 as_bad_where.
1540 (tc_gen_reloc): Use as_bad_where instead of as_bad.
1541 (md_apply_fix): Here too.
1542 * config/tc-i386.c (tc_gen_reloc): Use as_bad_where instead of as_bad.
1543 * config/tc-m68k.c (tc_gen_reloc): Likewise.
1544 (md_convert_frag_1): Likewise.
1545
1ad63b2f
TR
15462000-06-20 Tom Rix <trix@redhat.com>
1547
1548 * config/tc-ppc.c (ppc_comm): Change default alignment to 4 bytes.
1549
c45021f2
NC
15502001-06-18 H.J. Lu <hjl@gnu.org>
1551
ac62c346
AM
1552 * doc/Makefile.am (info): Depend on $(MANS).
1553 (as.1): Remove the prefix `$(srcdir)/'.
1554 * doc/Makefile.in: Regenerated.
c45021f2 1555
ac62c346 1556 * as.1: Removed.
c45021f2 1557
2172d73b
PB
15582001-06-18 Philip Blundell <philb@gnu.org>
1559
1560 * config/tc-arm.c (do_msr): Remove restriction on usage of
1561 immediate operands.
1562
45c500fa
AM
15632001-06-19 Alan Modra <amodra@bigpond.net.au>
1564
1565 * dwarf2dbg.c (dwarf2_finish): Output file info even when no
1566 line info.
1567
0b317b08
PB
15682001-06-13 Philip Blundell <philb@gnu.org>
1569
1570 * config/tc-arm.c (thumb_shift): Improve wording of error message.
1571 (do_t_arit): Likewise.
1572
07a7a145
NC
15732001-06-13 Nick Clifton <nickc@cambridge.redhat.com>
1574
2bc0a128
NC
1575 * config/tc-sh.c (md_pseudo_table): Only intercept the .file and
1576 .loc pseudos if the dfwarf2 functions are available.
1577 (md_assemble): Only call dwarf2_emit_insn if it is available.
1578
07a7a145
NC
1579 * expr.c: Fix typo in comment.
1580
b131d4dc
NC
15812001-06-12 Nick Clifton <nickc@cambridge.redhat.com>
1582
1583 * doc/as.texinfo (Infix Ops): Document that comparison and
1584 combiner operators can be used as infix operators.
1585
e1f44d10
NC
15862001-06-12 Peter Jakubek <pjak@snafu.de>
1587
8a543126 1588 * config/tc-m68k.c (parse_mri_control_operand): Fix handling
ac62c346
AM
1589 of AND/OR.
1590 (swap_mri_condition): Add HS (alias fo CC) and LO (alias for CS).
1591 (reverse_mri_condition): Likewise.
1592 (swap_mri_condition): Issue warning for conditions that can not be
1593 swapped.
1594 (build_mri_control_operand): Fix order of operands (swapped).
1595 (build_mri_control_operand): Allow upper case extension in structured
1596 control directives.
1597 (s_mri_else): Likewise.
1598 (s_mri_next): Likewise.
1599 (s_mri_for): Likewise.
1600 (s_mri_if): Fix handling comment ('*') in mri mode.
1601 (s_mri_while): Likewise.
8a543126 1602 * macro.c (macro_expand): Allow macro invocation with empty
ac62c346 1603 extension.
e1f44d10 1604
3971ce95
NC
16052001-06-12 Nick Clifton <nickc@cambridge.redhat.com>
1606
1607 * config/tc-arm.c: Fix test for overlow of literal pool.
1608
63486801
L
16092001-06-11 H.J. Lu <hjl@gnu.org>
1610
1611 * NEWS: Updated for the new -n option for the MIPS assembler.
1612
1613 * config/tc-mips.c (md_show_usage): Add -n.
1614
1615 * doc/as.texinfo: Document the new -n option.
1616 * doc/c-mips.texi: Likewise.
1617 * doc/as.1: Regenerated.
1618
5dd0794d
AM
16192001-06-10 Alan Modra <amodra@bigpond.net.au>
1620
1621 * config/obj-coff.c (obj_coff_section): Formatting fix.
1622
1623 * config/tc-i386.c (md_assemble): Accept branch hints as ",pt" and
1624 ",pn".
1625
39c0a331
L
16262001-06-08 H.J. Lu <hjl@gnu.org>
1627
1628 * config/tc-mips.c (warn_nops): New variable. Set to 0 to
1629 disable warning about all NOPS that the assembler generates.
1630 (macro): Warn NOPS generated only if warn_nops is not 0.
1631 (md_shortopts): Add `n'.
1632 (md_parse_option): Set warn_nops to 1 for `n'.
1633
268f6bed
L
16342001-06-08 H.J. Lu <hjl@gnu.org>
1635
1636 * config/tc-mips.c (mips_ip): Properly handle illegal operands.
1637
ea4ff978
L
16382001-06-08 H.J. Lu <hjl@gnu.org>
1639
1640 * config/tc-mips.c (md_apply_fix): Don't adjust common
1641 extern/weak symbols for ELF.
1642 (md_estimate_size_before_relax): Treat weak like extern for
1643 ELF.
1644 (mips_fix_adjustable): Don't adjust extern/weak symbols for
1645 ELF.
1646
98aa84af
AM
16472001-06-08 Alan Modra <amodra@bigpond.net.au>
1648
1649 * Makefile.am: 'som' is not wrongly spelled 'some'.
1650 * Makefile.in: Regenerate.
1651
1652 * config/tc-mips.c (mips16_mark_labels): Reduce number of calls to
1653 S_GET_VALUE by using a temp.
c0037ab6 1654 (append_insn): Likewise, and for S_SET_VALUE too.
98aa84af
AM
1655 (mips_emit_delays): Likewise.
1656 (my_getExpression): Likewise.
1657 (md_apply_fix): Likewise. Use "valueT" rather than "long" for "value".
1658 (mips16_extended_frag): Remove code concerned with avoiding
1659 locking in a frag address now that symbols are not finalized until
1660 relaxation is complete. Cater for first relaxation pass having
1661 bogus addresses. Use relax_marker to reliably determine whether a
1662 symbol frag has been reached on the current pass.
1663
f85f789b
L
16642001-06-07 H.J. Lu <hjl@gnu.org>
1665
1666 * configure.in: Move "mips-*-linux-gnu*" before "mips-*-gnu*".
1667 * configure: Regenerate.
1668
df3bcd6f
L
16692001-06-07 H.J. Lu <hjl@gnu.org>
1670
1671 * configure.in: Use MIPS_STABS_ELF for Linux/mips and remove
1672 ecoff emulation.
1673 * configure: Regenerate.
1674
add56521
L
16752001-06-07 H.J. Lu <hjl@gnu.org>
1676
1677 * config/tc-mips.c (mips_pseudo_table): Add "extern" if
1678 MIPS_STABS_ELF is defined.
1679
6da13e9a
NC
16802001-06-06 Nick Clifton <nickc@cambridge.redhat.com>
1681
1682 * as.c (show_usage): Remove L from listing options. It is not a
1683 generic option.
1684
879db8be
NC
16852001-06-06 Christian Groessler <cpg@aladdin.de>
1686
c0037ab6 1687 * config/tc-z8k.c: Removed many warnings by removing unused
879db8be
NC
1688 variables and tagging unused parameters as such.
1689 (md_begin): Fixed a typo (","instead of ";").
1690 (struct ctrl_table): Add parentheses to initialize array
1691 correctly.
1692 (struct flag_table): Likewise.
1693 (struct intr_table): Likewise.
1694 (struct table): Likewise.
1695 (check_operand): "#if 0"'ed since it doesn't seem to be used.
1696
98b32482
NC
16972001-06-06 Peter Jakubek <pjak@snafu.de>
1698
8a543126 1699 * config/tc-m68k.c (md_show_usage): Add all supported ColdFire
98b32482
NC
1700 options to list (e.g. m5206e, m5307, m5407).
1701
6e139bf0
AM
17022001-06-06 Martin Schwidefsky <schwidefsky@de.ibm.com>
1703
1704 * config/tc-s390.h (TC_FORCE_RELOCATION): Always emit relocations
1705 BFD_RELOC_VTABLE_INHERIT and BFD_RELOC_VTABLE_ENTRY.
1706
cb9401fc
AM
17072001-06-06 Alan Modra <amodra@bigpond.net.au>
1708
1709 * config/tc-i386.c (md_assemble): Handle Pentium4 branch hints.
1710 <JumpByte, JumpDword insn output>: Remove dead code.
1711
3c5cdb54
AM
17122001-06-06 Tracy Kuhrt <Tracy.Kuhrt@microchip.com>
1713
1714 * as.c (parse_args): Correct option name "listing-lhs-width2".
1715
92ed29ef
NC
17162001-06-05 Nick Clifton <nickc@cambridge.redhat.com>
1717
1718 * symbols.c (S_SET_EXTERNAL): Do not override a section symbol's
1719 status.
1720
371b7465
RH
17212001-05-30 Richard Henderson <rth@redhat.com>
1722
1723 * read.c (emit_leb128_expr): Call md_cons_align.
1724
0f2712ed
NC
17252001-05-28 Jeff Sturm <jsturm@one-point.com>
1726
1727 * config/tc-sparc.c (md_apply_fix3): Handle BFD_RELOC_SPARC_UA16,
1728 BFD_RELOC_SPARC_UA32 and BFD_RELOC_SPARC_UA64.
1729 (tc_gen_reloc): Likewise.
1730 (sparc_cons_align): Don't clear sparc_no_align_cons.
c0037ab6 1731 (cons_fix_new_sparc): Substitute BFD_RELOC_SPARC_UA{16|32|64} for
0f2712ed
NC
1732 BFD_RELOC_{16|32|64} iff sparc_no_align_cons is set.
1733
fbe572f9
AM
17342001-05-27 Alan Modra <amodra@one.net.au>
1735
9e40345d
AM
1736 * write.c (relax_segment <rs_space>): Check the section of a
1737 symbol to determine whether it is absolute rather than comparing
1738 its frag against zero_address_frag as listings play tricks with
1739 frags.
1740
fbe572f9
AM
1741 * config/tc-m68k.c (md_assemble): Ensure variable part of frag is
1742 allocated in the same chunk as the fixed part.
1743
54d3cad9
AM
17442001-05-26 Alan Modra <amodra@one.net.au>
1745
1746 * write.c (relax_segment <rs_space>): Calculate growth using
1747 addresses before stretch. Prevent repeated error messages.
1748 From Peter Jakubek <pjak@snafu.de>
1749 Use as_bad_where and as_warn_where to pinpoint errors.
1750
766c03c9
AM
17512001-05-25 Alan Modra <amodra@one.net.au>
1752
05bdb37e
AM
1753 * symbols.c (resolve_symbol_value): Always set segment, even when
1754 not finalizing symbol value.
1755
1cd55018
AM
1756 * config/obj-ieee.c (write_object_file): Set finalize_syms.
1757 * config/obj-coff.c (write_object_file): Likewise.
1758 * (size_section): Remove rs_space assert as fr_symbol is no longer
1759 removed.
1760 (fill_section): Likewise.
1761
c709b096
AM
1762 * configure.in: Replace linuxoldld with linux*oldld.
1763 * configure: Regenerate.
1764
b58c9faf
AM
1765 From 2.11 branch 2001-03-30 Richard Henderson <rth@redhat.com>
1766 * config/tc-i386.c (md_convert_frag): Don't die on local symbols
1767 that have been finalized.
1768
c89c8534
AM
1769 * symbols.c (resolve_symbol_value): Clear sy_resolving before
1770 taking exit_dont_set_value.
1771
54d3cad9
AM
1772 * write.c (relax_segment <rs_space>): Don't zap fr_symbol when
1773 relaxing.
766c03c9 1774
6877bb43
TR
17752000-05-24 Tom Rix <trix@redhat.com>
1776
5dd0794d 1777 * config/obj-coff.c (add_lineno): xcoff allows negative line
6877bb43 1778 numbers
5dd0794d 1779 * config/tc-ppc.c (ppc_stabx): fix generated symbol
c0037ab6 1780
e027f3e8
AM
17812001-05-24 Alan Modra <amodra@one.net.au>
1782
1783 * write.c (write_object_file): Set finalize_syms = 1 before
1784 size_seg is called.
1785
d1cf510e
NC
17862001-05-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1787
1788 * config/tc-mips.c (ISA_HAS_64BIT_REGS): Add ISA_MIPS64 as 64 bit
1789 architecture, remove erraneous ISA_MIPS32.
1790 (md_show_usage): Add MIPS r12k support.
1791 (mips_cpu_info_table): Add MIPS r12k support.
c0037ab6 1792
507c8a1a
AM
17932001-05-22 Alan Modra <amodra@one.net.au>
1794
2d0441d9
AM
1795 * config/tc-arc.c (md_assemble): Use is_end_of_line instead of
1796 testing for NULs.
1797
6386f3a7
AM
1798 * symbols.c (resolve_symbol_value): Remove "finalize" param,
1799 instead use finalize_syms directly. Don't treat expressions
1800 specially with regard to finalize_syms. Update calls to self.
1801 (resolve_local_symbol): Update call to resolve_symbol_value.
1802 (S_GET_VALUE): Likewise. Return resolve_symbol_value if
1803 !finalize_syms.
1804 * symbols.h (resolve_symbol_value): Update prototype.
1805 * config/obj-aout.c (obj_crawl_symbol_chain): Update call
1806 to resolve_symbol_value.
1807 * config/obj-bout.c (obj_crawl_symbol_chain): Likewise.
1808 * config/obj-coff.c (do_relocs_for): Likewise.
1809 (yank_symbols): Likewise.
1810 (fixup_segment): Likewise.
1811 * config/obj-vms.c (obj_crawl_symbol_chain): Likewise.
1812 * config/tc-mips.c (md_convert_frag): Likewise.
1813 * config/tc-ppc.c (ppc_frob_symbol): Likewise.
1814 (ppc_fix_adjustable): Likewise.
1815 * dwarf2dbg.c (dwarf2dbg_estimate_size_before_relax): Likewise.
1816 (dwarf2dbg_convert_frag): Likewise.
1817 * ehopt.c (eh_frame_estimate_size_before_relax): Likewise.
1818 (eh_frame_convert_frag): Likewise.
1819 * expr.c (make_expr_symbol): Likewise.
1820 * write.c (adjust_reloc_syms): Likewise.
1821 (write_object_file): Likewise.
1822 (relax_segment): Likewise.
1823 (fixup_segment): Likewise.
1824 (finalize_syms): Init to zero, and update comment.
1825 (write_object_file): Set finalize_syms to 1 rather than 2.
1826 * doc/internals.texi (sy_value): Mention finalize_syms.
1827 (S_GET_VALUE): Remove restriction on when S_GET_VALUE can be called.
1828
c801568a
AM
1829 * config/tc-m68k.c (relaxable_symbol): Only treat external symbols
1830 as relaxable if embedded system, make weak syms non-relaxable.
1831 Move definition..
1832 (tc_m68k_fix_adjustable): ..so it can be used here.
1833 (md_apply_fix_2): Sign extend without conditional.
1834
507c8a1a
AM
1835 * config/tc-v850.c: Update copyright.
1836
aaa4f6d9
JJ
18372001-05-16 Jeff Johnston <jjohnstn@redhat.com>
1838
c0037ab6
AM
1839 * cgen.c (gas_cgen_tc_gen_reloc): Changed error message when
1840 howto entry is not found.
aaa4f6d9 1841
7e8f4100
AO
18422001-05-15 Alexandre Oliva <aoliva@redhat.com>
1843
1844 * config/tc-mn10300.c (mn10300_force_relocation): Don't
1845 optimize differences between symbols in code sections to
1846 constants.
1847 (mn10300_fix_adjustable): Don't adjust to section+offset
1848 relocations pointing at symbols in code sections.
1849
9fcc94b6
AM
18502001-05-16 Alan Modra <amodra@one.net.au>
1851
1852 * config/tc-arc.c (md_assemble): Correct dwarf2_emit_insn param
1853 for 8 byte insns.
1854 * config/tc-i386.c (md_assemble): Call dwarf2_emit_insn before
1855 opcodes are output rather than after. Delete insn_size.
1856 * config/tc-v850.c (md_assemble): Similarly, but delete
1857 total_insn_size.
1858
de1cb007
RH
18592001-05-14 Richard Henderson <rth@redhat.com>
1860
1861 * ehopt.c (eh_frame_convert_frag): Fix missed subtype adjustment
1862 last change.
1863
67a659f6
RH
18642001-05-14 Richard Henderson <rth@redhat.com>
1865
1866 * ehopt.c (get_cie_info): Rename from eh_frame_code_alignment;
1867 also collect whether to expect an FDE augmentation.
1868 (check_eh_frame): Rewrite as a state machine. Track where in
1869 an FDE we are located, skip any augmentation.
1870 (eh_frame_estimate_size_before_relax): Get code alignment from
1871 the fragment subtype.
1872 (eh_frame_relax_frag, eh_frame_convert_frag): Likewise.
1873 * read.c (emit_leb128_expr): Call check_eh_frame.
1874
076dc439
AO
18752001-05-14 Alexandre Oliva <aoliva@redhat.com>
1876
1877 * config/tc-mn10300.c (md_assemble): Anchor dwarf2 line info
1878 before a relaxable insns.
1879
4e75439a
AO
18802001-05-13 Alexandre Oliva <aoliva@redhat.com>
1881
1882 * config/tc-mn10300.c (tc_gen_reloc): Don't reject differences
1883 between symbols if the base symbol is in the current section;
1884 emit a PC-relative relocation instead.
1885
bcee8eb8
AM
18862001-05-12 Peter Targett <peter.targett@arccores.com>
1887
1888 * config/tc-arc.c: Update copyright and tidy source comments.
1889 (md_pseudo_table): Add directive .cpu back as an alias for
1890 .option. Add .file and .line for dwarf2 support.
1891 (arc_mach_type): Make bfd_mach_arc_6 default.
1892 (md_longopts): Add entry 'pre-v6' representing old command line
1893 option when assembling for 'arc5' core versions.
1894 (md_parse_option): Make OPTION_ARC same as OPTION_ARC6, for new
1895 default behaviour.
1896 (arc_code_symbol): Make symbol value for @h30 fixup expression
1897 equal to O_constant.
1898 (md_assemble): Call dwarf2_emit_insn.
1899 Include "dwarf2dbg2.h". Formatting fixes throughout file.
1900 * config/tc-arc.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
bcee8eb8
AM
1901 * doc/c-arc.texi (ARC_CORE_DEFAULT): Update to new default.
1902
579f31ac
JJ
19032001-05-11 Jakub Jelinek <jakub@redhat.com>
1904
1905 * config/tc-ia64.c (special_linkonce_name): New.
1906 (make_unw_section): Map .gnu.linkonce.t.FOO text section into
1907 .gnu.linkonce.ia64unw{,i}.FOO.
1908 (ia64_elf_section_type): Handle .gnu.linkonce.ia64unw{,i}.FOO.
1909 (dot_endp): Add comment about it.
1910
15f65ae4
NC
19112001-05-11 Nick Clifton <nickc@cambridge.redhat.com>
1912
c0037ab6 1913 * config/tc-arm.c (arm_handle_align): When truncating an aligned
15f65ae4
NC
1914 block, ensure that the low order bits of the alignment are
1915 preserved.
1916
606ab118
AM
19172001-05-10 Alan Modra <amodra@one.net.au>
1918
1919 * config/obj-vms.c (obj_crawl_symbol_chain): Don't take address of
1920 symbol_next.
1921
1922 * config/tc-fr30.c (md_estimate_size_before_relax): Return size of
1923 current variable part of frag.
1924 * config/tc-m32r.c (md_estimate_size_before_relax): Likewise.
1925 * config/tc-openrisc.c (md_estimate_size_before_relax): Likewise.
1926 * config/tc-m68hc11.c (RELAX_STATE): Define.
1927 (RELAX_LENGTH): Define.
1928 (md_estimate_size_before_relax): Handle non-relaxable cases
1929 separately from relaxable cases for clarity, and return correct
1930 size for multi-pass relaxation.
1931 * config/tc-tahoe.c (RELAX_LENGTH): Correct.
1932 (md_estimate_size_before_relax): As for tc-m68hc11.c.
1933 (md_convert_frag): Remove "length_code".
1934 * config/tc-vax.c (RELAX_STATE): Define.
1935 (RELAX_LENGTH): Define.
1936 (md_relax_table): Add missing entry.
1937 (md_estimate_size_before_relax): As for tc-m68hc11.c.
1938 (md_convert_frag): Remove "length_code".
1939 * config/tc-ns32k.c (md_estimate_size_before_relax): Simplify and
1940 don't bother setting fr_var. Return correct size for multi-pass
1941 relaxation.
1942 * config/tc-v850.c (md_estimate_size_before_relax): Rewrite.
1943 (md_convert_frag): Don't bother clearing fr_var.
1944 (md_pseudo_table): Correct initialization.
1945 * config/tc-h8500.c (md_convert_frag): Don't bother clearing fr_var.
1946 (md_estimate_size_before_relax): No need to set fr_var.
1947 * config/tc-mcore.c (md_convert_frag): Don't bother clearing fr_var.
1948 (md_estimate_size_before_relax): No need to set fr_var.
1949
1f23ade4
RH
19502001-05-09 Richard Henderson <rth@redhat.com>
1951
1952 * config/tc-ia64.c (generate_unwind_image): Align the fragment
1953 beginning a function's unwind info block.
1954
96f37af6
AO
19552001-05-09 Alexandre Oliva <aoliva@redhat.com>
1956
1957 * config/tc-mn10300.c (md_apply_fix3): Accept PC-relative relocs.
1958
8390138c
AS
19592001-05-08 Andreas Schwab <schwab@suse.de>
1960
1961 * config/tc-m68k.c: Instead of replacing -1 by 64 in assignment to
1962 fx_pcrel_adjust explicitly sign extend when reading it.
1963
5c65dbc1
AM
19642001-05-08 Alan Modra <amodra@one.net.au>
1965
1966 * config/tc-m68k.c (md_estimate_size_before_relax): Set fr_var
1967 from md_relax_table, and combine some switch cases.
1968
a7c92dae
AO
19692001-05-06 Alexandre Oliva <aoliva@redhat.com>
1970
1971 * config/tc-mn10300.c (md_assemble): Subtract operand->shift
1972 from offset in non-pcrel operands too.
1973
d8708f40
NC
19742001-05-06 Nick Clifton <nickc@cambridge.redhat.com>
1975
1976 * config/tc-arm.h (MAX_MEM_FOR_RS_ALIGN_CODE): Define.
1977 * config/tc-arm.c (arm_handle_align): Do not insert more than
1978 MAX_MEM_FOR_RS_ALIGN_CODE bytes.
1979 (arm_frag_align_code): Use MAX_MEM_FOR_RS_ALIGN_CODE.
1980
3438adb3
AM
19812001-05-03 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1982
1983 * Makefile.am (TARG_ENV_HFILES): Add te-hppa64.h and te-hppalinux64.h.
1984 Run "make dep-am".
1985 * Makefile.in: Regenerate.
1986 * configure.in: Remove duplicate mips-*-ecoff* entry.
1987 * configure: Regenerate.
1988
1989 * config/obj-ecoff.c (obj_pseudo_table): Fix terminating entry.
1990 (n_names): Cast away type mismatch.
1991 (ecoff_sec_sym_ok_for_reloc): Add unused attribute.
1992 (obj_ecoff_frob_symbol): Likewise.
1993 * ecoff.c: (add_file): Add unused attribute.
1994 (ecoff_directive_begin): Likewise.
1995 (ecoff_directive_bend): Likewise.
1996 (ecoff_directive_def): Likewise.
1997 (ecoff_directive_dim): Likewise.
1998 (ecoff_directive_scl): Likewise.
1999 (ecoff_directive_size): Likewise.
2000 (ecoff_directive_type): Likewise.
2001 (ecoff_directive_tag): Likewise.
2002 (ecoff_directive_val): Likewise.
2003 (ecoff_directive_endef): Likewise.
2004 (ecoff_directive_end): Likewise.
2005 (ecoff_directive_ent): Likewise.
2006 (ecoff_directive_extern): Likewise.
2007 (ecoff_directive_file): Likewise.
2008 (ecoff_directive_fmask): Likewise.
2009 (ecoff_directive_frame): Likewise.
2010 (ecoff_directive_mask): Likewise.
2011 (ecoff_directive_loc): Likewise.
2012 (mark_stabs): Likewise.
2013 (ecoff_stab): Likewise.
2014 (ecoff_frob_symbol): Cast away type mismatch.
2015 (ecoff_padding_adjust): Likewise.
2016 (ecoff_build_symbols): Likewise.
2017 (ecoff_build_procs): Likewise.
2018 (ecoff_build_aux): Likewise.
2019 (ecoff_build_strings): Likewise.
2020 (ecoff_build_fdr): Likewise.
2021 (ecoff_build_debug): Likewise.
2022 * itbl-ops.c (itbl_assemble): Variable initialization.
2023
636c26b0
AM
20242001-05-03 Alan Modra <amodra@one.net.au>
2025
2026 * config/tc-i386.c (i386_displacement): Call as_bad for bad GOTOFF
2027 expressions rather than triggering an assert.
2028
c7e40348
NC
20292001-05-02 Johan Rydberg <jrydberg@opencores.org>
2030
3438adb3
AM
2031 * config/tc-openrisc.c: New file.
2032 * config/tc-openrisc.h: Likewise.
c7e40348 2033
3438adb3
AM
2034 * Makefile.am: Add OpenRISC target.
2035 * Makefile.in: Regenerated.
c7e40348 2036
3438adb3
AM
2037 * configure.in (openrisc-*-*): Add target.
2038 * configure: Regenerated.
c7e40348 2039
5cb1517b
NC
20402001-05-02 Nick Clifton <nickc@cambridge.redhat.com>
2041
2042 * config/tc-arm.c (arm_frag_align_code): Change error message to
2043 more explanatory version.
2044
f4ddc5e6
L
20452001-04-29 Keith M Wesolowski <wesolows@foobazco.org>
2046
2047 * config/tc-mips.c (md_parse_option): Also accept
2048 elf64-tradbigmips and elf64-tradlittlemips for OPTION_64.
2049
fa7fda74
L
20502001-04-27 David Mosberger <davidm@hpl.hp.com>
2051
2052 * config/tc-ia64.c (dot_spillmem_p): Fix output_spill_?sprel_p()
2053 argument passing order: predicate goes last, not first.
2054
87748b32
NC
20552001-04-27 Sean McNeil <sean@mcneil.com>
2056
2057 * configure.in: Add arm-vxworks.
2058 * configure: Regenerate.
2059
16a0c2d4
NC
20602001-04-26 Nick Clifton <nickc@cambridge.redhat.com>
2061
2062 * config/tc-arm.c (arm_handle_align): New Function: Generate
2063 no-op filled alignment frags.
2064 (arm_frag_align_code): New Function: Create a code alignment frag.
2065 (arm_init_frag): New Function: Initialse the target dependent
2066 parts of a frag.
2067
2068 * config/tc-arm.h (TC_FRAG_TYPE): Define.
2069 (TC_FRAG_INIT): Define.
2070 (HANDLE_ALIGN): Define.
2071 (md_do_align): Define.
2072
ea3b9044
NC
20732001-04-25 Nick Clifton <nickc@cambridge.redhat.com>
2074
2075 * config/obj-coff.c (do_linenos_for): Check to see if the filename
2076 symbol has been initialised before extracting its symbol index.
2077
d6d788bd
L
20782001-04-24 H.J. Lu <hjl@gnu.org>
2079
2080 * configure: Regenerated with the right version of autoconf.
2081
6840198f
NC
20822001-04-24 Christian Groessler <cpg@aladdin.de>
2083
2084 * config/tc-z8k.c (build_bytes): 12 and 16 bit displacements now
2085 generate R_CALLR and R_REL16 relocations
2086
1c97d17b
JE
20872000-04-20 Jason Eckhardt <jle@redhat.com>
2088
2089 * config/tc-d10v.h (tc_frob_label): Update the symbol's frag
2090 since frag_now can change after d10v_cleanup is called.
2091
1c33f1da
DB
20922001-04-16 David O'Brien <obrien@FreeBSD.org>
2093
2094 * configure.in: Add the em type for FreeBSD targets.
2095 * configure: Regenerate.
2096
eb0dfd58
AO
20972001-04-14 Alexandre Oliva <aoliva@redhat.com>
2098
8c5e1ccd
AO
2099 * struc-symbol.h (struct local_symbol): New TC_LOCAL_SYMFIELD_TYPE.
2100 * symbols.c (local_symbol_convert): Call TC_LOCAL_SYMFIELD_CONVERT.
2101
eb0dfd58
AO
2102 * config/tc-mn10300.c (md_assemble): Simplify offset adjustment of
2103 pc-relative relocations not placed at the end of the instruction.
2104
1deb8127
JW
21052001-04-13 Jim Wilson <wilson@redhat.com>
2106
2107 * tc-ia64.c (is_conditional_branch): Return true for br, brl, and br.
2108 excluding br.i.
2109
f5fa8ca2
JJ
21102001-04-13 Jakub Jelinek <jakub@redhat.com>
2111
2112 * config/obj-elf.c (obj_elf_change_section): Add entsize argument,
2113 handle SHF_MERGE and SHF_STRINGS.
2114 (obj_elf_parse_section_letters): Set SHF_MERGE and SHF_STRINGS.
2115 (obj_elf_section): Allow additional argument specifying entity size.
2116 * write.c (adjust_reloc_syms): Keep relocations against local symbols
2117 in SEC_MERGE sections.
2118
fb81275c
JM
21192001-04-12 Jason Merrill <jason_merrill@redhat.com>
2120
2121 * dwarf2dbg.c (process_entries): Don't optimize redundant line notes.
2122
a8a22e33
AO
21232001-04-12 Alexandre Oliva <aoliva@redhat.com>
2124
2125 * expr.c (operand): Pass &c to md_parse_name().
2126 * config/tc-ia64.h, config/tc-ppc.h, config/tc-tic54x.h: Adjust.
2127
af9539e4
L
21282001-04-07 Steven J. Hill <sjhill@cotw.com>
2129
2130 * config/tc-mips.c: Support ELF64 for traditional MIPS targets.
2131
2132 * Makefile.am: (TARG_ENV_HFILES): Add tc-mips.h.
2133 * Makefile.in: Regenerated.
2134
2135 * configure.in: Use traditional MIPS targets for Linux/MIPS.
2136 * configure: Regenerated.
2137
4dfea105
AO
21382001-04-06 Alexandre Oliva <aoliva@redhat.com>
2139
2140 * config/tc-mn10300.c (xr_registers): Added `pc'.
2141
e66457fb
AM
21422001-04-05 Alan Modra <alan@linuxcare.com.au>
2143
2144 * configure.in: Add h8500-*-coff and h8500-*-rtems targets.
2145 * configure: Regenerate.
2146
2147 * config/tc-h8500.c (md_estimate_size_before_relax): Add missing
2148 cases, and always return size based on current fr_subtype.
2149 (md_begin): Move initialization of md_relax_table..
2150 (md_relax_table): ..to static initializer. Set rlx_length for
2151 UNDEF_WORD_DISP cases.
2152 * config/tc-w65.c (md_estimate_size_before_relax): Likewise.
2153 (md_begin): Likewise.
2154 (md_relax_table): Likewise.
2155 * config/tc-mcore.c (md_estimate_size_before_relax): Likewise.
2156 (md_relax_table): Set rlx_length for UNDEF_WORD_DISP cases.
2157 Set rlx_backward and rlx_forward to zero for unused states.
2158 * config/tc-sh.c (md_estimate_size_before_relax): Likewise.
2159 (md_relax_table): Set rlx_length for UNDEF_WORD_DISP cases.
2160 (UNCOND12, UNCOND32): Remove duplicate defines.
2161
aacb5251
HPN
21622001-04-04 Hans-Peter Nilsson <hp@axis.com>
2163
c335d394
HPN
2164 * config/tc-cris.c (md_estimate_size_before_relax) <case
2165 ENCODE_RELAX (STATE_CONDITIONAL_BRANCH, STATE_UNDF)>: Don't emit
2166 32-bit branch, just set fragP->fr_subtype. Set fragP->fr_var.
2167 <all cases>: Always set fragP->fr_var using md_cris_relax_table.
2168 Add cases to cover all relax states.
ed67db7a
HPN
2169 (cris_insn_first_word_frag): New.
2170 (md_assemble): Call cris_insn_first_word_frag to get the first
2171 frag in an insn, not frag_more. Don't call dwarf2_emit_insn at
2172 end. Drop variable insn_size.
2173 (gen_bdap): Call cris_insn_first_word_frag, not frag_more.
2174 (cris_sym_leading_underscore): Wrap first as_bad parameter in _().
2175 (cris_sym_no_leading_underscore, s_cris_file, s_cris_loc): Ditto.
c335d394 2176
aacb5251
HPN
2177 * write.c (write_object_file): Reset broken word state before
2178 calling relax_seg.
2179
cdbc6895
AM
21802001-03-31 Alan Modra <alan@linuxcare.com.au>
2181
61b96bb4
AM
2182 * listing.c (listing_listing): Enable listing on EDICT_NOLIST_NEXT
2183 for one line if not already enabled.
2184 * cond.c (s_elseif): Correct conditional assembly listing.
2185 (s_else): Likewise.
2186
cdbc6895
AM
2187 * cond.c (s_endif): Correct handling of "if .. elseif .." trees.
2188 Don't abort on NULL current_cframe.
2189
93c2a809
AM
21902001-03-30 Alan Modra <alan@linuxcare.com.au>
2191
0529cb87 2192 * dwarf2dbg.c (dwarf2_directive_file): Fix warnings.
1a5447b8
AM
2193 (dwarf2dbg_convert_frag): Pass `finalize_syms' to resolve_symbol_value.
2194 * config/obj-aout.c (obj_crawl_symbol_chain): Likewise.
2195 * config/obj-bout.c (obj_crawl_symbol_chain): Likewise.
2196 * config/obj-coff.c (do_relocs_for): Likewise.
2197 (yank_symbols): Likewise.
2198 (fixup_segment): Likewise.
2199 * config/tc-ppc.c (ppc_frob_symbol): Likewise.
2200 (ppc_fix_adjustable): Likewise.
2201 * config/tc-mips.c (md_convert_frag): Likewise.
2202 * config/obj-vms.c (obj_crawl_symbol_chain): Likewise.
2203 * ehopt.c (eh_frame_convert_frag): Likewise.
2204 * expr.c (make_expr_symbol): Likewise.
0529cb87 2205
e46d99eb
AM
2206 * frags.h (struct frag): Add last_fr_address. Reorder fields for
2207 better packing.
2208 * symbols.c (resolve_symbol_value): Don't fix expression values
2209 until relaxation is complete.
2210 (resolve_local_symbol): Pass `finalize_syms' to resolve_symbol_value.
2211 (S_GET_VALUE): Likewise, and return unresolved expression value.
2212 * write.c (finalize_syms): New.
2213 (relax_and_size_seg): Split into..
2214 (relax_seg): New function, returns 1 if anything changed..
2215 (size_seg): And the remainder of relax_and_size_seg.
2216 (fixup_segment): Arrange for final resolution of sym values.
2217 (adjust_reloc_syms): Likewise.
2218 (write_object_file): Likewise, and repeatedly call relax_seg until
2219 nothing more changes.
2220 (relax_segment): Return 1 if anything changed. Use correct types
2221 for rs_org `target' and `after'.
2222 * write.h (finalize_syms): Declare.
2223 (relax_segment): Update prototype.
2224
93c2a809
AM
2225 * config/tc-sh.c (md_estimate_size_before_relax): Add extra
2226 do-nothing cases to switch to avoid abort on a second relaxation
2227 pass, and tidy code a little.
2228 * config/tc-cris.c (md_estimate_size_before_relax): Likewise.
2229 * config/tc-h8500.c (md_estimate_size_before_relax): Likewise.
2230 * config/tc-w65.c (md_estimate_size_before_relax): Likewise.
2231 * config/tc-i386.c (UNCOND_JUMP, COND_JUMP, COND_JUMP86): Decrement.
2232 (md_relax_table): Remove first four unused entries. Increment
2233 rlx_length by one throughout table, and update comments to suit.
2234 (md_estimate_size_before_relax): Return size of current variable
2235 part of frag to reflect reality when relaxing more than once.
2236 * config/tc-mcore.c (COND12, UNCD12): Rename to DISP12 throughout.
2237 (COND32, UNCD32): Rename to DISP32 throughout.
2238 (UNDEF_WORD_DISP): Renumber to 3.
2239 (md_estimate_size_before_relax): Add extra do-nothing cases.
2240 * config/tc-mn10200.c (md_estimate_size_before_relax): Rewrite.
2241 * config/tc-mn10300.c (md_estimate_size_before_relax): Rewrite.
2242 * config/tc-ns32k.c (md_estimate_size_before_relax): Add cases to
2243 handle word and dword branches.
2244
d551a338
HPN
22452001-03-29 Hans-Peter Nilsson <hp@axis.com>
2246
2247 * config/tc-cris.h (tc_fix_adjustable): Allow only
2248 BFD_RELOC_CRIS_32_GOTREL of the PIC relocs.
23ec5d03
HPN
2249 * config/tc-cris.c (cris_get_pic_suffix): Correct reloc type in
2250 example in comment to valid type.
d551a338 2251
440ecb38
L
22522001-03-28 H.J. Lu <hjl@gnu.org>
2253
2254 * read.c (equals): Set to local for COFF only if it hasn't been
2255 defined before.
2256
8a238888
AM
22572001-03-28 Alan Modra <alan@linuxcare.com.au>
2258
2259 * config/tc-hppa.c (DEFAULT_LEVEL): Define.
2260 (md_begin): Use it when setting default architecture.
2261
775cf891
NC
22622001-03-27 Nick Papadonis <nick@coelacanth.com>
2263
2264 * read.c (equals): (for COFF) default symbols to being local.
2265
f9c19112
HPN
22662001-03-27 Hans-Peter Nilsson <hp@axis.com>
2267
2268 * configure.in (cris-*-*): Change default emulation to criself.
2269 (cris-*-*aout*): New rule.
2270 * configure: Regenerate.
2271
07855bec
NC
22722001-03-26 Martin Schwidefsky <schwidefsky@de.ibm.com>
2273
2274 * config/tc-s390.c (tc_s390_fix_adjustable): Add test for
2275 BFD_RELOC_390_GOTENT.
2276 * config/tc-s390.h (TC_RELOC_RTSYM_LOC_FIXUP): Add test for
2277 BFD_RELOC_390_GOTENT.
2278
22792001-03-26 Nick Clifton <nickc@redhat.com>
2280
2281 * config/tc-s390.h (TC_FORCE_RELOCATION): Define.
2282 * config/tc-s390.c (s390_force_relocation): New function: Force
2283 relocations for VTINHERIT relocs.
2284
0285c67d
NC
22852001-03-23 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2286
2287 * doc/as.texinfo: Put @c man begin to generate the as man page.
2288 When generating man, define all the variables. Re-organize some
2289 options to obtain better indentation of man page.
2290 * doc/Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variable.
2291 (as.1): Build from as.texinfo.
2292 * doc/Makefile.in: Regenerate.Index: binutils/Makefile.am
2293
551c1ca1
AM
22942001-03-25 Alan Modra <alan@linuxcare.com.au>
2295
2296 * config/tc-i386.c (i386_scale): Accept an absolute expression for
2297 scale factor, and return the end of the expression.
2298 (i386_operand): Modify for above.
2299
c3a27914
NC
23002001-03-23 Nick Clifton <nickc@redhat.com>
2301
2302 * doc/as.texinfo: Document --listing-XXX command line switches.
2303 Explain why listings behave differently when -pipe is used.
2304
37006e43
NC
23052001-03-23 Richard Sandiford <rsandifo@redhat.com>
2306
2307 * write.c (fix_new_exp): Print an error if passed a register.
2308
08caf3f8
HPN
23092001-03-23 Hans-Peter Nilsson <hp@axis.com>
2310
2311 * config/tc-cris.c: Tweak attribution. Fix typos. PIC support.
2312 (PIC_SUFFIX_CHAR): New macro.
2313 (cris_get_pic_suffix, cris_get_pic_reloc_size): New functions.
2314 (pic): New variable.
2315 (md_longopts): New option --pic.
2316 (OPTION_PIC): Define.
2317 (md_estimate_size_before_relax): Tweak longish comment.
2318 (md_create_long_jump): Make the long jumps generate ADD.D offset,PC.
2319 (md_assemble): Handle a PIC relocation on prefix and normal
2320 instruction operands.
2321 <output_instruction.insn_type == CRIS_INSN_BRANCH>: Handle
2322 "complex" operand expressions. Call frag_more outside
2323 gen_cond_branch_32 parameter list.
2324 (cris_process_instruction): Handle PIC relocs on parsed
2325 operand expressions. Validize PIC reloc sizes.
2326 (get_autoinc_prefix_or_indir_op): Handle PIC suffix.
2327 (gen_bdap): Handle "complex" operand expressions.
2328 (gen_cond_branch_32): Use as_warn_where, not as_warn. Use
2329 ADD.D offset,PC as jump instruction if generating PIC. Generate
2330 error instead of crashing on complex expressions.
2331 (cris_number_to_imm): Add segT parameter. All callers changed.
2332 Use segT parameter, not now_seg, for segment of fixup. Handle
2333 PCREL relocations but check that they are fully resolved.
2334 (md_parse_option): Handle OPTION_PIC.
2335 (tc_gen_reloc): Handle PIC relocs.
2336 (md_show_usage): Update for --pic.
2337 (md_apply_fix3): Renamed from md_apply_fix.
2338 (md_pcrel_from): Accept emitting PCREL relocs when ELF.
2339 (md_cris_force_relocation): Force relocation for PIC relocs.
2340
2341 * config/tc-cris.h: Tweak attribution.
2342 (MD_APPLY_FIX3): Define.
2343 (IS_CRIS_PIC_RELOC): New macro.
2344 (TC_RELOC_RTSYM_LOC_FIXUP): Define.
2345 (tc_fix_adjustable): Don't adjust a globally visible symbol when
2346 generating ELF.
8a238888 2347 (tc_frob_symbol): Avoid emitting undefined symbols.
08caf3f8 2348
38686296
AM
23492001-03-20 Alan Modra <alan@linuxcare.com.au>
2350
2351 * frags.h (struct frag): Add relax_marker.
2352 * write.c (is_dnrange): Delete.
2353 (relax_frag): Use correct types for `aim', `target', `address'.
2354 Delete `offset', `was_address'. Test `relax_marker' instead of
2355 using fragile (and slow) address test.
2356 (relax_segment): Init and flip `relax_marker'.
2357
2e98d2de
AM
23582001-03-19 Alan Modra <alan@linuxcare.com.au>
2359
2360 * config/tc-i386.c (md_assemble <REGISTER_WARNINGS>): Correct
2361 used register name.
2362
e629c13f
SC
23632001-03-18 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2364
2365 * config/tc-m68hc11.c (md_pseudo_table): Recognize xrefb to comply
2366 with 'Motorola specification for assembly language input standard'.
2367
249e3833
RH
23682001-03-17 Richard Henderson <rth@redhat.com>
2369
2370 * dwarf2dbg.c (user_filenum, user_filenum_allocated): Remove.
2371 (dwarf2_directive_loc): Don't use them.
2372 (dwarf2_directive_file): Reject duplicate file definitions.
2373 (get_filenum): Zero allocated memory.
2374 (out_file_list): Complain about missing file definitions.
2375
2289f85d
AM
23762001-03-17 Alan Modra <alan@linuxcare.com.au>
2377
2378 * read.c (do_org): Handle complex expressions.
2379 * cgen.c (gas_cgen_finish_insn): Likewise.
2380
4d5a53ff
JW
23812001-03-15 David Mosberger <davidm@hpl.hp.com>
2382
2383 * config/tc-ia64.c (md): New member keep_pending_output.
2384 (ia64_flush_pending_output): Flush only if md.keep_pending_output
2385 is not set.
2386 (dot_xdata): Turn on md.keep_pending_output for the duration of
2387 this function.
2388 (dot_xfloat_cons): Ditto.
2389 (dot_xstringer): Ditto.
2390 (dot_xdata_ua): Ditto.
2391 (dot_xfloat_cons_ua): Ditto.
2392
23932001-03-15 Jim Wilson <wilson@redhat.com>
2394
2395 * config/tc-ia64.c (ia64_unrecognized_line, case '['): Add local
2396 label support.
2397
19c0258a
AO
23982001-03-15 Alexandre Oliva <aoliva@redhat.com>
2399
2400 * config/tc-sh.c (parse_reg): Match capital MACH and MACL.
2401
d68d4570
DD
24022001-03-15 DJ Delorie <dj@redhat.com>
2403
2404 * stabs.c (s_stab_generic): Don't corrupt the notes obstack by
2405 blindly freeing string if it isn't at the top of the obstack.
2406
f3c180ae
AM
24072001-03-13 Alan Modra <alan@linuxcare.com.au>
2408
2409 * config/tc-i386.c (RELOC_ENUM): Define. Use throughout file.
2410 (NUM_FLAG_CODE): Define.
2411 (lex_got): New function.
2412 (got_reloc): New global var.
2413 (x86_cons_fix_new): New function.
2414 (x86_cons): New function.
2415 (i386_immediate): Use lex_got here, replacing inline code. Change
2416 "ignoring junk.." error message to "junk.."
2417 (i386_displacement): Likewise.
2418 * config/tc-i386.h (TC_PARSE_CONS_EXPRESSION): Define.
2419 (x86_cons): Declare.
2420 (TC_CONS_FIX_NEW): Define.
2421 (x86_cons_fix_new): Declare.
2422
83e7603d
NC
24232001-03-12 Nick Clifton <nickc@redhat.com>
2424
2425 * config/tc-arm.c (md_begin): Always set machine type based on
2426 cpu_variant.
2427
1ae12ab7
AM
24282001-03-07 Alan Modra <alan@linuxcare.com.au>
2429
2430 * config/tc-i386.c (struct _i386_insn): Rename disp_reloc to reloc.
f3c180ae 2431 (md_assemble) <smallest displacement>: Use correct field of i.op[]
1ae12ab7 2432 union.
f3c180ae
AM
2433 <JumpInterSegment output>: Use correct i.disp_reloc[].
2434 <immediate output>: Likewise.
1ae12ab7 2435
4f3c3dbb
NC
24362001-03-06 Nick Clifton <nickc@redhat.com>
2437
2438 * config/tc-arm.c (md_apply_fix3): Clear bit zero of offset in
2439 BLX(1) instruction.
2440
dc84e067
NC
24412001-03-06 Igor Shevlyakov <igor@windriver.com>
2442
2443 * config/tc-m68k.c : Add 5407 to archs[] table.
2444 (HAVE_LONG_BRANCH): Add mcf5407.
2445 (select_control_regs): Recognize 5407.
2446
a8150a88
DB
24472001-03-02 Dave Brolley <brolley@redhat.com>
2448
1ae12ab7
AM
2449 * config/tc-m32r.c (expand_debug_syms): Call frag_align_code rather
2450 than m32r_do_align.
a8150a88 2451
e103941e
NC
24522001-03-02 Richard Sandiford <rsandifo@redhat.com>
2453
2454 * config/atof-ieee.c (TC_LARGEST_EXPONENT_IS_NORMAL): New macro.
2455 (gen_to_words): Print warnings if NaNs are found and the target CPU
2456 does not support them. Allow largest exponent to be used in normal
2457 numbers if TC_LARGEST_EXPONENT_IS_NORMAL evaluates to true.
2458
7c44d1d3
AJ
24592001-02-28 Andreas Jaeger <aj@suse.de>, Bo Thorsen <bo@suse.de>
2460
2461 * config/tc-i386.c (tc_gen_reloc): Remove ugly hack which is not needed
2462 anymore since we use bfd_elf_generic_reloc now.
2463 (md_apply_fix3): Only apply hack for partial_inplace if not using RELA.
2464
27b7e12d
AM
24652001-02-27 Alan Modra <alan@linuxcare.com.au>
2466
2467 * configure.in (BFD_VERSION): New.
2468 (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
2469 * configure: Regenerate.
2470 * Makefile.am: Run "make dep-am"
2471 * Makefile.in: Regenerate.
2472 * doc/Makefile.in: Regenerate.
2473
1af96959
NC
24742001-02-26 Mark Elbrecht <snowball3@bigfoot.com>
2475
2476 * config/obj-coff.c [BFD_ASSEMBLER] (obj_coff_section): Set
2477 SEC_NEVER_LOAD when the 'n' flag is used.
2478 Add SEC_NEVER_LOAD to matchflags.
2479
d95767bf
SC
24802001-02-24 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2481
2482 * symbols.c (decode_local_label_name): Initialize message_format
2483 only when an error is reported (perf pb due to I18N).
2484
3737d051
L
24852001-02-23 H.J. Lu <hjl@gnu.org>
2486
2487 * dwarf2dbg.c (dwarf2_directive_file): Call s_app_file (0) if
2488 BFD_ASSEMBLER is not defined.
2489
23fe39df 24902001-02-23 Richard Sandiford <rsandifo@redhat.com>
b653e7f9
NC
2491
2492 * config/tc-mn10300.c (md_apply_fix3): Don't mark a fixup as
2493 done if it's against a symbol.
2494
7463c317
TW
24952001-02-22 Timothy Wall <twall@cygnus.com>
2496
2497 * config/tc-ia64.c (ia64_target_format): Return ia64-aix-specific
2498 target formats if applicable.
2499 * config/te-ia64aix.h: New. Configuration for AIX5 on IA-64.
2500 * Makefile.am (TARG_ENV_HFILES): Added config/te-ia64aix.h.
2501 * Makefile.in: Regenerated.
2502 * configure.in: Added configuration for ia64-*-aix*.
2503 * configure: Regenerated.
7c44d1d3 2504
87f8eb97
JW
25052001-02-21 David Mosberger <davidm@hpl.hp.com>
2506
2507 * config/tc-ia64.c (enum operand_match_result): New type.
2508 (operand_match): Change return type to operand_match_result.
2509 Fix all returns appropriately, adding support for returning the
2510 out-of-range result.
2511 (parse_operands): New locals result, error_pos, out_of_range_pos,
2512 curr_out_of_range_pos. Rewrite operand matching loop to give better
2513 error messages.
7c44d1d3 2514
33d01f33
JW
25152001-02-21 David Mosberger <davidm@hpl.hp.com>
2516
2517 * config/tc-ia64.c (struct unwind): Add member "prologue_count".
2518 (dot_proc): Clear unwind.prologue_count to zero.
2519 (dot_prologue): Increment unwind.prologue_count.
2520 (dot_restore): If second operand is omitted, use
2521 unwind.prologue_count -1 for "ecount" (# of additional regions to
2522 pop). Decrement unwind.prologue_count by number of regions
2523 popped.
2524
7e84d676
NC
25252001-02-21 Nick Clifton <nickc@redhat.com>
2526
2527 * doc/as.texinfo (Section): Note that some flags to the COFF
2528 version of .section remove attributes rather than setting them.
2529
5cd4edbe
KH
25302001-02-20 Kazu Hirata <kazu@hxi.com>
2531
29184774
NC
2532 * config/tc-pdp11.c: Fix formatting.
2533 * config/tc-pdp11.h: Likewise.
5cd4edbe 2534
80b3ee89
AJ
25352001-02-20 Bo Thorsen <bo@suse.de>
2536
2537 * config/tc-i386.c (tc_i386_fix_adjustable): Fix GOTPCREL GOT
2538 entry.
2539
0fde8cc6 25402001-02-18 David O'Brien <obrien@FreeBSD.org>
cac5b87b
DB
2541
2542 * configure.in (cpu_type, arch): Add a generic FreeBSD specification as
2543 all FreeBSD platforms should look the same at this level.
2544 * configure: Rebuilt.
2545 * config/tc-i386.c: Add support for old FreeBSD a.out hosts.
2546
e135f41b
NC
25472001-02-18 lars brinkhoff <lars@nocrew.org>
2548
2549 * Makefile.am: Add PDP-11 target.
2550 * configure.in: Likewise.
2551 * config/tc-pdp11.c: New file.
2552 * config/tc-pdp11.h: New file.
2553 * doc/Makefile.am: Add PDP-11 documentation.
2554 * doc/all.texi: Likewise.
2555 * doc/as.texinfo: Likewise.
2556 * doc/c-pdp11.texi: New file.
2557
363c574f
MG
25582001-02-16 matthew green <mrg@redhat.com>
2559
5dd0794d 2560 * cgen.c (gas_cgen_md_apply_fix3): Support BFD_RELOC_64.
363c574f 2561
fa1cb89c
JW
25622001-02-13 Jim Wilson <wilson@redhat.com>
2563
2564 * config/tc-ia64.c (operand_match, case TAG13): Make a BFD_RELOC_UNUSED
2565 reloc instead of a 0 reloc.
2566 (md_apply_fix3): Check for BFD_RELOC_UNUSED instead of 0, and mark it
2567 as done.
2568 * config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): Likewise.
2569
c842b53a
ILT
25702001-02-13 Ian Lance Taylor <ian@zembu.com>
2571
2572 * write.c (is_dnrange): Stop as soon as the address becomes
2573 larger.
2574 (relax_frag): Add segment parameter. Only call symbol_get_frag
2575 once. Only call is_dnrange if the symbol is in the same segment,
2576 and the symbol address is larger.
2577 (relax_segment): Pass segment to md_relax_frag and relax_frag.
2578 * write.h (relax_frag): Update declaration.
2579 * config/tc-fr30.c (fr30_relax_frag): Add segment parameter. Pass
2580 it to relax_frag.
2581 * config/tc-m32r.c (m32r_relax_frag): Likewise.
2582 * config/tc-m32r.h (md_relax_frag): Add segment parameter.
2583 (m32r_relax_frag): Update declaration.
2584 * config/tc-mips.h (md_relax_frag): Add segment parameter.
2585 * config/tc-tic54x.h (md_relax_frag): Likewise.
2586 * doc/internals.texi (CPU backend): Update documentation for
2587 md_relax_frag.
2588
6fad6acb
AM
25892001-02-13 Alan Modra <alan@linuxcare.com.au>
2590
fddf5b5b
AM
2591 * doc/c-i386.texi (i386-Arch): Add "jumps"/"nojumps" blurb.
2592 Mention effect of < 386 architectures on jump promotion.
2593 (i386-Jumps): xref above. Don't assume long disp is 32 bits.
2594
2595 * config/tc-i386.c (no_cond_jump_promotion): New.
2596 (set_cpu_arch): Parse "jumps" arch modifier.
2597 (insn_size): Modify usage comment.
2598 (ENCODE_RELAX_STATE): Reformat and protect macro arg.
2599 (SIZE_FROM_RELAX_STATE): Rename to DISP_SIZE_FROM_RELAX_STATE.
2600 (TYPE_FROM_RELAX_STATE): New define.
2601 (UNCOND_JUMP, COND_JUMP): Renumber.
2602 (md_relax_table): Reorder to suit.
2603 (COND_JUMP86): New define.
2604 (md_relax_table): Handle COND_JUMP86 cases. Add a few comments.
2605 (md_assemble): Create frag var for jumps of max size, encode relax
2606 state for COND_JUMP86.
2607 (md_estimate_size_before_relax): Handle COND_JUMP86 cases, and
2608 leave conditional jumps small if no_cond_jump_promotion.
2609 (md_convert_frag): Likewise.
2610
6fad6acb
AM
2611 * expr.c (operator): Don't bump input_line_pointer for two char
2612 operators. Instead return operator size via new param num_chars.
2613 (expr): Use above to parse multi-char operators correctly.
2614
23df1078
JH
2615Mon Feb 12 17:45:50 CET 2001 Jan Hubicka <jh@suse.cz>
2616
29184774 2617 * config/tc-i386.c (i386_displacement): Fix handling of
23df1078
JH
2618 BFD_RELOC_X86_64_GOTPCREL.
2619 (i386_validate_fix): Likewise.
2620
b1e2e654
PB
26212001-02-12 Philip Blundell <pb@futuretv.com>
2622
2623 * config/tc-arm.c (do_ldst): Improve warnings for unpredictable
2624 ldrt/strt instructions.
2625
9117d219
NC
26262001-02-11 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2627
2628 * config/tc-mips.c (macro): For M_LA_AB emit a
2629 BFD_RELOC_MIPS_CALL16 relocation or a
2630 BFD_RELOC_MIPS_CALL_HI16/BFD_RELOC_MIPS_CALL_LO16 pair instead of
2631 BFD_RELOC_MIPS_GOT16 and
2632 BFD_RELOC_MIPS_GOT_HI16/BFD_RELOC_MIPS_GOT_LO16, respectively for
2633 loading the jump register when generating SVR4_PIC code.
2634
97238fbd
CD
26352001-02-10 Chris Demetriou <cgd@broadcom.com>
2636
2637 * configure.in: Make 'mipself' and 'mipsecoff' emulations
2638 map to MIPS-specific files, as they used to do before the
2639 change on 2000-05-21.
2640 * configure: Regerate.
2641
0f074f60
CD
26422001-02-10 Chris Demetriou <cgd@broadcom.com>
2643
2644 * config/tc-mips.c (md_parse_option): Don't try to compile
2645 ELF-only option code if not ELF.
2646
91a2ae2a
RH
26472001-02-08 David Mosberger <davidm@hpl.hp.com>
2648
2649 * config/tc-ia64.h (md_elf_section_type): New macro.
2650 (ELF_TC_SPECIAL_SECTIONS): Drop .IA_64.unwind and .IA_64.unwind_info
2651 (they're now handled via ia64_elf_section_type.
2652
2653 * config/tc-ia64.c (unwind): New members saved_text_seg,
2654 saved_text_subseg, and force_unwind_entry.
2655 (optimize_unw_records): New function to optimize away unnecessary
2656 unwind directives.
2657 (ia64_elf_section_type): New function.
2658 (output_unw_records): Generate unwind info only if the size is
2659 non-zero or if it's forced for some other reason (e.g.,
2660 handlerdata or a personality routine).
2661 (generate_unwind_image): Don't switch back to previous
2662 section---stay inside the unwind info section instead so that
2663 handlerdata that may follow goes into the right place.
2664 (dot_handlerdata): Force generation of unwind entry and save the
2665 current active text segment before generating unwind image.
2666 (dot_unwentry): Force generation of unwind entry.
2667 (dot_personality): Ditto.
2668 (dot_endp): Generate unwind table entry only if there is
2669 some unwind info or the unwind entry was forced.
2670
2671 * config/tc-ia64.c (make_unw_section_name): New macro to form
2672 unwind section name.
2673 (generate_unwind_image): Add "text_name" argument. Use it to
2674 form unwind section name.
2675 (dot_handlerdata): Determine current segment (section) name and
2676 pass it to generate_unwind_image().
2677 (dot_endp): Determine current segment (section) name and use
2678 it to determine the appropriate unwind section name.
2679 (ia64_md_do_align): Add missing ATTRIBUTE_UNUSED declarations to
2680 n, fill, and max arguments.
2681
a85d7ed0
NC
26822001-02-09 Schwidefsky <schwidefsky@de.ibm.com>
2683
2684 * Makefile.am: Add linux target for S/390.
2685 * configure.in: Likewise.
2686 * config/tc-s390.c: New file.
2687 * config/tc-s390.h: New file.
2688
de68de20
AO
26892001-02-09 Alexandre Oliva <aoliva@redhat.com>
2690
2691 * config/tc-sh.c (md_pseudo_table): Add uaquad. Use s_uacons for
2692 2byte, 4byte and 8byte.
2693
23fe39df 26942001-02-08 Alan Modra <alan@linuxcare.com.au>
8ea46bbd
AM
2695
2696 * config/tc-hppa.c (pa_build_unwind_subspace): Don't call
2697 md_number_to_chars with size > sizeof (valueT).
2698
a99746f4
L
26992001-02-06 H.J. Lu <hjl@gnu.org>
2700
2701 * config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): Do fixup if
2702 there is no relocation.
2703
f4e17b3d
L
27042001-02-06 H.J. Lu <hjl@gnu.org>
2705
2706 * config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): New. Defined.
2707
2708 * config/tc-ia64.c (md_parse_option): Only accept the valid
2709 ia64 options on "-axxx".
2710
3557da92
JW
27112001-02-05 Jim Wilson <wilson@redhat.com>
2712
2713 * config/tc-ia64.c (errata_nop_necessary_p): Return 0 instead of
2714 aborting for invalid operands.
2715
da6c73e0
AM
27162001-02-06 Alan Modra <alan@linuxcare.com.au>
2717
2718 * config/tc-hppa.c (fix_new_hppa): Pass in unwind directly rather
2719 than via pointer. Update all callers.
2720 (UNWIND_LOW32): Define.
2721 (UNWIND_HIGH32): Define.
2722 (pa_build_unwind_subspace): Use the above macros instead of dumping
2723 bitfields directly. Call frag_more once rather than multiple times.
2724 (md_assemble): Use UNWIND_LOW32.
2725 (pa_entry): Likewise
2726 (pa_procend): Likewise.
2727 (process_exit): Use UNWIND_HIGH32.
2728
986c6f4b
SC
27292001-02-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2730
2731 * config/tc-m68hc11.h (LISTING_HEADER): Use m68hc11_listing_header
2732 function to select the header according to the cpu.
2733 (md_after_pass_hook, md_do_align): Remove.
2734 (md_cleanup, m68hc11_cleanup): Remove.
2735 (md_pcrel_from_section): Declare.
2736 * config/tc-m68hc11.c (build_dbranch_insn): Remove insn_size.
2737 (build_jump_insn, build_insn): Likewise.
2738 (m68hc11_listing_header): New function.
2739 (m68hc11_cleanup): Remove.
2740
dbb8ad49
SC
27412001-02-02 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2742
328dc123 2743 * config/tc-m68hc11.c (relaxable_symbol): Relax externally visible
80b3ee89 2744 symbols because there is no support for shared libraries and these
328dc123 2745 symbols can't be overridden (unless they are weak).
dbb8ad49 2746
a987bfc9
RH
27472001-02-01 Momchil Velikov <velco@fadata.bg>
2748
2749 * dwarf2dbg.c (out_debug_abbrev): Terminate the abbreviations
2750 for the compilation unit with a zero byte.
2751
22862cde
AM
27522001-01-30 Alan Modra <alan@linuxcare.com.au>
2753
2754 * config/tc-hppa.c (pa_ip): Support 12 bit branches to absolute
2755 destinations. Correct range check for 17 and 22 bit branches.
2756
8ec6253e
NC
27572001-01-25 Nick Clifton <nickc@redhat.com>
2758
2759 * config/tc-m68k.c (tc_gen_reloc): Do not abort if tcbit is
2760 still set. Issue an error message instead.
2761 (md_estimate_size_before_relax): Delete unused variable
2762 'buffer_address'. Fixup parentheses around if statement.
80b3ee89 2763
43ad3147
KH
27642001-01-23 Kazu Hirata <kazu@hxi.com>
2765
2766 * as.c: Fix formatting.
2767 * ehopt.c: Likewise.
2768 * messages.c: Likewise.
2769 * stabs.c: Likewise.
2770 * symbols.c: Likewise.
2771
015c05c1
AM
27722001-01-23 Ben Elliston <bje@redhat.com>
2773
2774 * config/tc-m32r.c (m32r_handle_align): Declare type of fragp.
2775
66498417
KH
27762001-01-22 Kazu Hirata <kazu@hxi.com>
2777
2778 * config/tc-alpha.c: Fix formatting.
2779
1aad8cf8
KH
27802001-01-19 Kazu Hirata <kazu@hxi.com>
2781
2782 * config/tc-alpha.c: Fix formatting.
2783
32ff5c2e
KH
27842001-01-18 Kazu Hirata <kazu@hxi.com>
2785
2786 * config/tc-alpha.c: Fix formatting.
2787
cd17328a
NC
27882001-01-18 Nick Clifton <nickc@redhat.com>
2789
2790 * config/tc-arm.c (ldm_flags): Remove redundant bit from "fa" and
2791 "da" flags.
2792 (stm_flags): Remove redundant bit from "ed" and "da" flags.
2793
81c425d1
AO
27942001-01-18 Alexandre Oliva <aoliva@redhat.com>
2795
2796 * configure.in (cpu_type, arch): Match i386 too.
2797 * configure: Rebuilt.
2798
e5cb08ac
KH
27992001-01-16 Kazu Hirata <kazu@hxi.com>
2800
2801 * config/tc-i386.c: Fix formatting.
2802
1d3d5051
AM
28032001-01-16 Alan Modra <alan@linuxcare.com.au>
2804
64afeba3
AM
2805 * config/tc-hppa.c (tc_gen_reloc): Use SEGREL32 instead of DIR32
2806 relocs for .PARISC.unwind section.
2807
1d3d5051
AM
2808 * config/tc-hppa.c (pa_build_unwind_subspace): Build unwind
2809 depending on section flags, not just for .text.
2810
b44b1b85
JW
28112001-01-15 Jim Wilson <wilson@redhat.com>
2812
2813 * config/tc-ia64.c (ia64_flush_insns): Handle unwind directives
2814 not immediately followed by an instruction.
2815
098f2ec3
KH
28162001-01-15 Kazu Hirata <kazu@hxi.com>
2817
2818 * config/tc-m68hc11.c: Fix formatting.
2819
d4887adc
NC
28202001-01-15 Nick Clifton <nickc@redhat.com>
2821
2822 * symbols.c (colon): Change 'already defined symbol' from a
2823 fatal error to an ordinary error. There is no reason why this
2824 error should be fatal.
2825
2826 * message.c (as_fatal): Delete output file, if one has been
015c05c1 2827 created.
d4887adc 2828
fcfd4916
AM
28292001-01-14 Alan Modra <alan@linuxcare.com.au>
2830
2831 * config/tc-hppa.h (TARGET_FORMAT): Add hppa-linux variants.
2832
bfb32b52
KH
28332001-01-14 Kazu Hirata <kazu@hxi.com>
2834
2835 * config/tc-alpha.c: Fix formatting.
2836 * config/tc-arc.c: Likewise.
2837 * config/tc-arc.h: Likewise.
2838 * config/tc-d10v.c: Likewise.
2839 * config/tc-i370.c: Likewise.
2840 * config/tc-i386.c: Likewise.
2841 * config/tc-i960.c: Likewise.
2842 * config/tc-m68k.c: Likewise.
2843 * config/tc-ppc.c: Likewise.
2844 * config/tc-sparc.c: Likewise.
2845 * config/tc-tahoe.c: Likewise.
2846 * config/tc-vax.c: Likewise.
2847
1e07b820
KH
2848 * config/tc-arc.c: Fix formatting.
2849
19203624
KH
2850 * config/tc-arc.c: Fix formatting.
2851
1328dc98
AM
28522001-01-14 Alan Modra <alan@linuxcare.com.au>
2853
c46b7515
AM
2854 * config/tc-hppa.c (pa_build_unwind_subspace): Use SEGREL32 for
2855 both 32 and 64 bit ELF.
2856
1328dc98
AM
2857 * config/tc-hppa.c (pa_ip): Store `a' flag in bit zero of operand
2858 and don't bother storing `m' for "ce" completer. Tidy handling of
2859 'J' and 'K' operands to suit. Handle '<' and '>' operands.
2860
b9d79e03
JH
2861Sun Jan 14 00:36:42 MET 2001 Jan Hubicka <jh@suse.cz>
2862
29184774 2863 * config/tc-i386.h (TARGET_MACH): New macro.
b9d79e03 2864 (i386_mach): Declare.
29184774 2865 * config/tc-i386.c (i386_mach): New function.
b9d79e03 2866
a349d9dd
PB
28672001-01-13 Philip Blundell <philb@gnu.org>
2868
2869 * doc/as.texinfo: Fix spelling and cross-references.
2870
2871 * doc/c-arm.texi: Fix typos. Say that `;' is a line separator
2872 character for all systems, not just GNU/Linux. Make it explicit
2873 that `-k' doesn't affect code generation, just ELF flags.
2874
e2914f48
JH
2875Sat Jan 13 01:47:35 MET 2001 Jan Hubicka <jh@suse.cz>
2876
2877 * config/tc-i386.c (md_assemble): Check cpu_flags even for nullary
2878 instructions.
2879
272d76e0
FCE
28802001-01-12 Frank Ch. Eigler <fche@redhat.com>
2881
2882 * cgen.c (gas_cgen_finish_insn): Call dwarf2_emit_insn.
2883
d0398d6a
NC
28842001-01-12 Nick Clifton <nickc@redhat.com>
2885
2886 * as.c (print_args): Update copyright date to 2001.
2887
2d73a4ca
NC
28882001-01-12 Peter Targett <peter.targett@arccores.com>
2889
2890 * doc/c-arc.texi: New file.
2891 Some sections to be expanded.
2892
6e0b89ee
AM
28932001-01-12 Alan Modra <alan@linuxcare.com.au>
2894
2895 * config/tc-i386.c (md_longopts): Recognize "--64" only for ELF.
2896 (md_parse_option): Always accept "--32".
2897
0d2bcfaf
NC
28982001-01-11 Peter Targett <peter.targett@arccores.com>
2899
2900 * as.h (TC_ARC): Ensure struc-symbol.h included.
2901 * as.c (dwarf2dbg.h): Include to remove implicit declaration
2902 warnings.
2903 * struc-symbol.h (SYMBOLS_NEED_BACKPOINTERS): Define.
2904 (TARGET_SYMBOL_FIELDS) added.
2905
2906 * doc/Makefile.am (CPU_DOCS): Added c-arc.texi.
2907 * doc/c-arc.texi: New file.
2908 Some sections to be expanded.
2909 * doc/as.texinfo: Update command-line options.
2910 Removed outdated text for ARC dependant features, instead include
2911 text from above file.
2912
2913 * config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS): Define local flag.
2914 (TARGET_SYMBOL_FIELDS): Alias to previous definition.
2915 (targ-cpu.h) header.
2916 * config/tc-arc.h:
2917 * config/tc-arc.c: New updated configuration for
2918 ARC, including selection of core variants, and extensibility of
2919 instructions, registers etc. through directives.
2920
2921 * config/tc-arc.c (arc_extinst): Minor corrections for
2922 error messages.
2923 (arc_common) Likewise. Make alignment argument optional for local
2924 symbols also, with default of zero.
2925
88051039
SC
29262001-01-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2927
2928 * config/tc-m68hc11.c (md_estimate_size_before_relax): Fix
2929 STATE_INDEXED_OFFSET when the symbol is undefined (16-bit offset).
2930 (build_indexed_byte): Don't relax indexed byte, use 16-bit offset
2931 and fix_new_exp() instead.
2932 (md_convert_frag): For indexed post byte use the symbol value
2933 rather than the displacement.
2934 (md_relax_table): Fix indexed offset relax.
2935
d8273f3b
SC
29362001-01-11 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2937
2938 * config/tc-m68hc11.c (md_estimate_size_before_relax):Don't
2939 relax weak symbols.
015c05c1 2940 (relaxable_symbol): New function.
d8273f3b 2941
eea2ad45
AJ
29422001-01-11 Andreas Jaeger <aj@suse.de>
2943
2944 * config/tc-i386.h (TC_RELOC_GLOBAL_OFFSET_TABLE): Removed, it's
2945 not used anywhere.
2946
7a91e76a
NC
29472001-01-10 Nick Clifton <nickc@redhat.com>
2948
2949 * config/tc-arm.c (arm_fix_adjustable): Define for OBJ_COFF.
2950 * config/tc-arm.h (obj_fix_adjustable): Define for OBJ_COFF
2951
aa257fcd
NC
29522001-01-10 Nick Clifton <nickc@redhat.com>
2953
2954 * symbols.c (DOLLAR_LABEL_CHAR): New constant - the magic
2955 character used to dollar local symbols.
2956 (LOCAL_LABEL_CHAR): New constant - the magic character used to
2957 local label symbols.
2958 (dollar_label_name): Use DOLLAR_LABEL_CHAR.
2959 (fb_label_name): Prefix local labels with LOCAL_LABEL_PREFIX,
2960 if defined.
2961 Use LOCAL_LABEL_CHAR.
2962 (decode_local_label_name): Skip LOCAL_LABEL_PREFIX.
2963 Use DOLLAR_LABEL_CHAR and LOCAL_LABEL_CHAR.
2964 (S_IS_LOCAL): Use DOLLAR_LABEL_CHAR and LOCAL_LABEL_CHAR.
2965
b77a7acd
AJ
29662001-01-08 Bo Thorsen <bo@suse.de>
2967
015c05c1
AM
2968 * config/tc-i386.c (i386_immediate, i386_displacement):
2969 GOTPCREL check fix.
b77a7acd 2970
5c2bd011
ILT
29712001-01-07 Ian Lance Taylor <ian@zembu.com>
2972
2973 * doc/c-i386.texi (i386-Arch): Remove spaces incorrectly inserted
2974 in last change.
2975
46a04e3a
PB
29762001-01-07 Philip Blundell <philb@gnu.org>
2977
2978 * doc/as.texinfo (Bug Reporting): Update email address for
2979 reports.
2980 * README: Likewise.
2981
b96d3a20
JH
2982Sat Jan 6 13:33:10 MET 2001 Jan Hubicka <jh@suse.cz>
2983
2984 * configure.in: Define DEFAULT_ARCH for i386.
29184774 2985 * config/tc-i386.c (md_assemble): Return after the error message;
b96d3a20
JH
2986 move testing for 64bit operands to proper place.
2987
55b62671
AJ
29882001-01-06 Jan Hubicka <jh@suse.cz>, Andreas Jaeger <aj@suse.de>
2989
2990 * doc/as.texinfo: Document '#' as comment character for i386 and
2991 x86_64. Add AMD x86-64 into menu of machine dependent information.
2992
2993 * doc/c-i386.texi: Document x86_64 extensions.
2994
7bc70a8e
JH
2995Fri Jan 5 13:26:42 MET 2001 Jan Hubicka <jh@suse.cz>
2996
29184774 2997 * config/tc-i386.c (md_assemble): Handle third byte of the opcode as prefix.
7bc70a8e 2998
a167610d
JH
2999Thu Jan 4 22:25:26 MET 2001 Jan Hubicka <jh@suse.cz>
3000
29184774 3001 * config/tc-i386.c (cpu_arch): Add Pentium4 and modify sledgehammer entry.
a167610d
JH
3002 * NEWS: Add note about Pentium4 support.
3003
09f131f2
JH
3004Wed Jan 3 17:26:32 MET 2001 Jan Hubicka <jh@suse.cz>
3005
29184774 3006 * config/tc-i387.c (pi, pte, pt): Update.
09f131f2
JH
3007 (type_names): Add new types.
3008
6f8c0c4c
JH
3009Wed Jan 3 16:26:52 MET 2001 Jan Hubicka <jh@suse.cz>
3010
29184774 3011 * config/tc-i386.h (CpuK6, CpuAthlon, CpuSledgehammer, CpuMMX, Cpu3dnow,
6f8c0c4c
JH
3012 CpuUnknown): Renumber
3013 (CpuP4, CpuSSE2): New.
3014 (CpuUnknownFlags): Add CpuP4 and CpuSSE2
3015
b96ed59a
PB
30162001-01-03 Philip Blundell <pb@futuretv.com>
3017
3018 * config/tc-alpha.c (alpha_force_relocation): Handle vtable
3019 relocs.
3020 (alpha_fix_adjustable): Likewise.
3021 (md_apply_fix): Likewise.
3022
a735d1cd
L
30232000-12-31 H.J. Lu <hjl@gnu.org>
3024
3025 * listing.c (listing_message): Allocate string only if it is
3026 used.
3027
3028 * configure: Rebuild.
3029
67db5ab4
HPN
30302000-12-31 Hans-Peter Nilsson <hp@bitrange.com>
3031
3032 * doc/internals.texi (Relaxing with a table) <after relaxation>:
3033 Point out caveats with generating fixups for the opcode in a frag.
3034
c0d8940f
JH
3035Sat Dec 30 19:02:48 MET 2000 Jan Hubicka <jh@suse.cz>
3036
3037 * configure.in: Add support for x86_64 and x86_64-*-linux-gnu*
3038 * NEWS: Add x86_64.
3039
087f563c
L
30402000-12-29 H.J. Lu <hjl@gnu.org>
3041
3042 * listing.c (calc_hex): Print the variable part only if the
3043 fragment type is rs_fill.
3044
8108ad8e
HPN
30452000-12-29 Hans-Peter Nilsson <hp@bitrange.com>
3046
3047 * doc/internals.texi (tc_conditional_pseudoop,
3048 TC_LINKRELAX_FIXUP): Fix typos.
3049
799051fc
RH
30502000-12-28 Richard Henderson <rth@redhat.com>
3051
3052 * write.c (subsegs_finish): Fix thinko last change -- don't
3053 "optimize" the alignment == 0 case.
3054
0a9ef439
RH
30552000-12-28 Richard Henderson <rth@redhat.com>
3056
3057 * as.h (rs_align_test): New.
3058 * frags.c (NOP_OPCODE): Move default from read.c.
3059 (MAX_MEM_FOR_RS_ALIGN_CODE): New default.
3060 (frag_align_code): New.
3061 * frags.h (frag_align_code): Declare.
3062 * read.c (NOP_OPCODE): Remove.
3063 (do_align): Use frag_align_code.
3064 * write.c (NOP_OPCODE): Remove.
3065 (get_recorded_alignment): New.
3066 (cvt_frag_to_fill): Handle rs_align_test.
3067 (relax_segment): Likewise.
3068 (subsegs_finish): Align last subseg in section to the
3069 section alignment. Use frag_align_code.
3070 * write.h (get_recorded_alignment): Declare.
3071 * config/obj-coff.c (size_section): Handle rs_align_test.
3072 (fill_section, fixup_mdeps): Likewise.
3073 (write_object_file): Use frag_align_code.
3074
3075 * config/tc-alpha.c (alpha_align): Use frag_align_code.
3076 (alpha_handle_align): New.
3077 * config/tc-alpha.h (HANDLE_ALIGN): New.
3078 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
3079
3080 * config/tc-i386.h (md_do_align): Use frag_align_code.
3081 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
3082
3083 * config/tc-ia64.c (ia64_md_do_align): Don't do code alignment.
3084 (ia64_handle_align): New.
3085 * config/tc-ia64.h (HANDLE_ALIGN): New.
3086 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
3087
3088 * config/tc-m32r.c (m32r_do_align): Remove.
3089 (m32r_handle_align): New.
3090 (fill_insn): Use frag_align_code.
3091 * config/tc-m32r.h (md_do_align): Remove.
3092 (HANDLE_ALIGN, MAX_MEM_FOR_RS_ALIGN_CODE): New.
3093 * config/tc-m88k.c, config/tc-m88k.h: Similarly.
3094 * config/tc-mips.c, config/tc-mips.h: Similarly.
3095
3096 * config/tc-sh.c (sh_cons_align): Use rs_align_test.
3097 (sh_handle_align): Likewise. Handle rs_align_code.
3098 (sh_do_align): Remove.
3099 * config/tc-sh.h (md_do_align): Remove.
3100 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
3101
3102 * config/tc-sparc.c (sparc_cons_align): Use rs_align_test.
3103 (sparc_handle_align): Likewise. Handle rs_align_code.
3104 * config/tc-sparc.h (md_do_align): Remove.
3105 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
3106
3cd4dda7
DD
31072000-12-22 DJ Delorie <dj@redhat.com>
3108
3109 * config/tc-d10v.c (md_assemble): set prev_seg and prev_subseg
3110 when we assemble the first half of a pair.
3111
ec56dfb4
L
31122000-12-22 H.J. Lu <hjl@gnu.org>
3113
3114 * config/tc-i386.c (reloc): Update the macro for non-bfd
3115 assembler.
3116 (BFD_RELOC_X86_64_GOTPCREL): Set to 0 for non-bfd assembler.
3117
ad1172d4
L
31182000-12-22 H.J. Lu <hjl@gnu.org>
3119
3120 * dwarf2dbg.c (dwarf2_finish): Remove #if BFD_ASSEMBLER.
3121
3e73aa7c
JH
3122Wed Dec 20 14:21:22 MET 2000 Jan Hubicka <jh@suse.cz>
3123
29184774 3124 * config/tc-i386.h (i386_target_format): Define even for ELFs.
3e73aa7c
JH
3125 (QWORD_MNEM_SUFFIX): New macro.
3126 (CpuK6,CpuAthlon,CpuSledgehammer, Cpu64, CpuNo64, CpuUnknownFlags):
3127 New macros
3128 (CpuMMX,CpuSSE,Cpu3dnow, CpuUnknown): Renumber.
3129 (IgnoreSize, DefaultSize, No_?Suf, FWait, IsString, regKludge, IsPrefix,
3130 ImmExt): Renumber.
3131 (Size64, No_qSuf, NoRex64, Rex64): New macros.
3132 (Reg64, Imm32S, Imm64, Disp32S, Disp64): New macros.
3133 (Imm8, Imm8S, Imm16, Imm32, Imm1, BaseIndex, Disp8, Disp16, Disp32,
3134 InOutPortReg,ShiftCount, Control, Debug, Test, FloatReg, FloatAcc,
3135 SReg2, SReg3, Acc, JumpAbsolute, RegMMX, RegXMM, EsSeg, InvMem):
3136 Renumber.
3137 (Reg, WordReg): Add Reg64.
3138 (Imm): Add Imm32S and Imm64.
3139 (EncImm): New.
3140 (Disp): Add Disp64 and Disp32S.
3141 (AnyMem): Add Disp32S.
3142 (RegRex, RegRex64): New macros.
3143 (rex_byte): New type.
29184774 3144 * config/tc-i386.c (set_16bit_code_flag): Kill.
3e73aa7c
JH
3145 (fits_in_unsigned_long, fits_in_signed_long): New functions.
3146 (reloc): New parameter "signed"; support x86_64.
3147 (set_code_flag): New.
3148 (DEFAULT_ARCH): New macro; default to "i386".
3149 (default_arch): New static variable.
3150 (struct _i386_insn): New fields Operand_PCrel; rex.
3151 (flag_16bit_code): Kill; All tests replaced to "flag_code == CODE_64BIT"
3152 (flag_code): New enum and static variable.
3153 (use_rela_relocations): New static variable.
3154 (flag_code_names): New static variable.
3155 (cpu_arch_flags): Default to CpuUnknownFlags|CpuNo64.
3156 (cpu_arch): Add "sledgehammer"; Add CPUAthlon to Athlon and CpuK6 to
3157 K6 and Athlon.
3158 (i386_align_code): Return plain "nop" for x86_64.
3159 (mode_from_disp_size): Support Disp32S.
3160 (smallest_imm_type): Support Imm32S and Imm64.
3161 (offset_in_range): Support size of 8.
3162 (set_cpu_arch): Do not clobber to Cpu64/CpuNo64.
3163 (md_pseudo_table): Add "code64"; use set_code_flat.
3164 (md_begin): Emit sane error message on hash failure.
3165 (tc_i386_fix_adjustable): Support x86_64 relocations.
3166 (md_assemble): Support QWORD_MNEM_SUFFIX, REX registers,
3167 instructions supported on particular arch just partially,
3168 output of 64bit immediates, handling of Imm32S and Disp32S type.
3169 (i386_immedaite): Support x86_64 relocations; support 64bit constants.
3170 (i386_displacement): Likewise.
3171 (i386_index_check): Cleanup; support 64bit addresses.
3172 (md_apply_fix3): Support x86_64 relocation and rela.
3173 (md_longopts): Add "32" and "64".
3174 (md_parse_option): Add OPTION_32 and OPTION_64.
3175 (i386_target_format): Call even for ELFs; choose between
3176 elf64-x86-64 and elf32-i386.
3177 (i386_validate_fix): Refuse GOTOFF in 64bit mode.
3178 (tc_gen_reloc): Support rela relocations and x86_64.
3179 (intel_e09_1): Support QWORD.
3180
21d6c4af
DN
31812000-12-15 Diego Novillo <dnovillo@redhat.com>
3182
3183 * config/tc-i386.c (intel_e09_1): Only flag as a memory operand if
55b62671 3184 it's not an offset expression.
21d6c4af
DN
3185 (intel_e10_1): Ditto. Also, if the operand is an offset expression,
3186 keep the braces '[' and ']' in the output string.
3187 (intel_e11): Ditto. Also remove comparison intel_parser.op_modifier
3188 != FLAT. There is no such op_modifier.
3189
6717891c
NC
31902000-12-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3191
3192 * dwarf2dbg.c: If we don't have <limits.h>, try including <sys/param.h>
3193 if we have it.
3194
ee515fb7
KH
31952000-12-13 Kazu Hirata <kazu@hxi.com>
3196
3197 * as.h: Fix formatting.
3198 * cgen.h: Likewise.
3199 * dwarf2dbg.c: Likewise.
3200 * input-scrub.c: Likewise.
3201 * read.h: Likewise.
3202
349a994c
DD
32032000-12-13 Mark Elbrecht <snowball3@bigfoot.com>
3204
3205 * configure.in (i386-*-msdosdjgpp): Set bfd_gas to yes.
3206 configure: Regenerate.
3207
42dbf88c
NC
32082000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3209
3210 * dwarf2dbg.c: #include <limits.h> only if it exists.
3211
0485cba3
AM
32122000-12-13 Rodney Brown <RodneyBrown@mynd.com>
3213
3214 * config/tc-hppa.c (pa_ip): Correct CHECK_FIELD typo.
3215 (md_apply_fix): Here too.
3216
514829c3
JW
32172000-12-12 Jim Wilson <wilson@redhat.com>
3218
3219 * config/tc-ia64.h (ia64_init): Add prototype.
3220
92eb7b32
L
32212000-12-12 H.J. Lu <hjl@gnu.org>
3222
3223 * dwarf2dbg.c: Enabled only if BFD_ASSEMBLER is defined.
3224
3225 * read.h (outputting_stabs_line_debug): Change it to int.
3226 * stabs.c (outputting_stabs_line_debug): Likewise.
3227
8141c27d
GK
32282000-12-12 Geoffrey Keating <geoffk@redhat.com>
3229
3230 * config/obj-bout.c (obj_crawl_symbol_chain): Don't take
3231 the address of a function result.
3232
5d6f4f16
GK
32332000-12-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3234
3235 * config/tc-ppc.c (md_pseudo_table): Add .file and .loc.
3236 (md_assemble): Call dwarf2_emit_insn.
3237 (shlib): Fix typo SHILB -> SHLIB.
3238 (md_parse_option): Likewise.
3239 (ppc_elf_validate_fix): Likewise:
3240 * config/tc-ppc.h (DWARF2_LINE_MIN_INSN_LENGTH): New.
3241
d4c0c039
NC
32422000-12-12 Nick Clifton <nickc@redhat.com>
3243
3244 * cgen.h: Fix formatting.
3245 * input-scrub.c: Fix formatting.
3246 * macro.c: Fix formatting.
e972090a 3247 * config/tc-mips.c: Fix formatting.
584da044 3248 * doc/c-mips.texi: Fix formatting.
55b62671 3249
f16b83df
JH
3250Mon Dec 11 14:35:42 MET 2000 Jan hubicka <jh@suse.cz>
3251
29184774 3252 * config/tc-i386.c (md_assemble): Refuse 's' and 'l' suffixes in the intel
f16b83df
JH
3253 mode; convert 'd' suffix to 's' or 'l'; remove all DWORD_MNEM_SUFFIX
3254 references.
3255 (intel_e09_1): Convert QWORD to 'l' suffix for FP operations; refuse
3256 otherwise.
29184774 3257 * config/tc-i386.h (DWORD_MNEM_SUFFIX): Kill.
f16b83df
JH
3258 (No_dSuf): Kill.
3259
3260 * i386.h (*_Suf): Remove No_dSuf.
3261 (d_suf, wld_Suf,sld_Suf, sldx_Suf, bwld_Suf, d_FP, sld_FP, sldx_FP)
3262 Remove.
3263 (i386_optab): Remove 'd' in the suffixes.
3264
50705ef4
AM
32652000-12-06 Mark Elbrecht <snowball3@bigfoot.com>
3266
3267 * config/tc-i386.c (T_SHORT): Undefine before defining.
3268
beae10d5
KH
32692000-12-05 Kazu Hirata <kazu@hxi.com>
3270
3271 * config/tc-mips.c: Fix formatting.
3272
bccba5f0 32732000-12-04 Matthew Hiller <hiller@redhat.com>
50705ef4
AM
3274
3275 * config/tc-d10v.c (flag_allow_gstabs_packing): New variable.
3276 (md_longopts): New options --gstabs-packing, --no-gstabs-packing.
3277 (md_show_usage): Ditto.
3278 (md_parse_option): Ditto.
3279 (d10v_cleanup): Writes pending instruction only if
3280 ! outputting_stabs_line_debug || ! flag_allow_gstabs_packing.
bccba5f0 3281 Fix compile time warning messages.
50705ef4
AM
3282
3283 * doc/c-d10v.texi: Documents new options.
bccba5f0
NC
3284
32852000-12-04 Matthew Hiller <hiller@redhat.com>
3286
50705ef4 3287 * stabs.c (outputting_stabs_line_debug): New variable.
bccba5f0
NC
3288 (stabs_generate_asm_lineno): Set outputting_stabs_line_debug at
3289 function entry and unset at function exit.
3290
50705ef4 3291 * read.h (outputting_stabs_line_debug): New extern declaration.
bccba5f0
NC
3292
3293 * as.c: Include dwarf2dbg.h for definition of dwarf2_finish.
3294
3295 * dwarf2dbg.c: Fix compile time warning messages.
3296
bc805888
KH
32972000-12-03 Kazu Hirata <kazu@hxi.com>
3298
3299 * config/tc-a29k.c: Fix formatting.
3300 * config/tc-alpha.c: Likewise.
3301 * config/tc-arm.c: Likewise.
3302 * config/tc-cris.c: Likewise.
3303 * config/tc-hppa.c: Likewise.
3304 * config/tc-i370.c: Likewise.
3305 * config/tc-i386.c: Likewise.
3306 * config/tc-i860.c: Likewise.
3307 * config/tc-i960.c: Likewise.
3308 * config/tc-ia64.c: Likewise.
3309 * config/tc-m68hc11.c: Likewise.
3310 * config/tc-m68k.c: Likewise.
3311 * config/tc-m88k.c: Likewise.
3312 * config/tc-pj.c: Likewise.
3313 * config/tc-ppc.c: Likewise.
3314 * config/tc-sh.c: Likewise.
3315 * config/tc-sparc.c: Likewise.
3316 * config/tc-tahoe.c: Likewise.
3317 * config/tc-vax.c: Likewise.
3318
3dacdf2e
NC
33192000-12-01 Chris Demetriou <cgd@sibyte.com>
3320
50705ef4
AM
3321 * config/tc-mips.c (mips_ip): When calculating offsets,
3322 don't accept as constant the difference between the
3323 addresses of symbols in two different sections.
3324
3325 * config/tc-mips.c (macro_build): Add new 'U' and 'J' operand
3326 specifiers.
3327 (validate_mips_insn): Likewise. Also, update 'B' operand
3328 specifier to use OP_*_CODE20 constants and delete 'm' operand
3329 specifier.
3330 (mips_ip): Remove 'm' operand specifier, add 'U' and 'J'
3331 operand specifiers. Change warning generated by 'B' operand
3332 specifier to reflect its new multi-purpose usage.
3333
3334 * config/tc-mips.c (mips_set_options): Use ISA_UNKNOWN rather than
3335 -1, and update comment.
3336 (file_mips_isa): Likewise.
3337 (mips_cpu): Use CPU_UNKNOWN rather than -1, and update comment.
3338 (ISA_HAS_COPROC_DELAYS, ISA_HAS_64BIT_REGS, gpr_interlocks): Use
3339 ISA_* constants rather than hard-coded numbers.
3340 (mips_cpu_info): New structure.
3341 (mips_cpu_info_table): New table describing CPU and ISA names
3342 and numbers.
3343 (mips_cpu_info_from_name, mips_cpu_info_from_isa,
3344 mips_cpu_info_from_cpu): New functions.
3345 (mips_isa_to_str): New function to get string for ISA name.
3346 (mips_cpu_to_str): Convert to use mips_cpu_info_from_cpu, and
3347 return const char *.
3348 (md_begin): Redo CPU and ISA selection logic, using
3349 mips_cpu_info_from_*. Convert to use ISA_* constants rather
3350 than hard-coded numbers.
3351 (append_insn, mips_emit_delays, macro, macro2): Convert to use
3352 ISA_* constants rather than hard-coded numbers.
3353 (mips_ip): Convert to use mips_isa_to_str to get ISA name.
3354 (md_longopts): Delete OPTION_NO_MIPS32.
3355 (md_parse_option): Convert to use ISA_* constants rather than
3356 hard-coded numbers. Make OPTIONS_MIPS32 case treat MIPS32
3357 as an ISA. Delete OPTION_NO_MIPS32 case. Convert OPTION_MCPU
3358 to use strcasecmp to recognize "default" and to use
3359 mips_cpu_info_from_name to get CPU numbers from argument.
3360 (md_show_usage): Move -mips32 so it's with the rest of the ISA
3361 flags. Change 4Kc, 4Kp and 4Km CPU entries to just be
3362 mips32-4k.
3363 (s_mipsset): Accept ISA value 32.
3364 * doc/as.texinfo: Clean up MIPS options summary slightly,
3365 remove -no-mips32. Add note about -mips4 and -mips32
3366 specifying those ISA levels. Delete -mips32 and -no-mips32
3367 cpu flag descriptions.
3368 * doc/c-mips.texi: Add -mips32 to list of ISA switches. Clean
3369 up the supported CPU switch list, and replace 4Kc, 4Km, and
3370 4Kp entries with a single mips32-4k entry. Note that you can
3371 use ".set mips32".
3372
29184774 3373 * config/tc-mips.c (ISA_HAS_64BIT_REGS): Add checks for ISA_MIPS5 and
50705ef4
AM
3374 ISA_MIPS64.
3375 (md_longopts, OPTION_MIPS5, OPTION_MIPS64): Add options for
3376 -mips5 and -mips64.
3377 (md_parse_option): Add cases for OPTION_MIPS5 and
3378 OPTION_MIPS64.
3379 (md_show_usage): Mention -mips5 and -mips64 arguments.
3380 (s_mipsset): Add cases for MIPS5 and MIPS64.
3381 (mips_cpu_info_table): Add entries for MIPS5 and MIPS64 ISAs
3382 and pseudo-CPUs.
3383 * doc/as.texinfo: Mention -mips5 and -mips64 options
3384 and their meanings.
3385 * doc/c-mips.texi: Likewise. Also update introduction
3386 and ".set" usage information.
3387
3388 * config/tc-mips.c (md_show_usage): Add "sb1" to the
3389 CPU list.
3390 (mips_cpu_info_table): Add SB-1 entries.
3391 * doc/c-mips.texi: Add "sb1" to the list of CPUs
3392 known to the -mcpu option.
3393
3394 * doc/as.texinfo: Correct description of MIPS -mcpu
3395 option, by copying some of the text from doc/c-mips.texi.
c6c98b38 3396
23fe39df 33972000-12-01 Joel Sherrill <joel@OARcorp.com>
5f68c319 3398
3dacdf2e
NC
3399 * configure.in (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
3400 New targets.
3401 (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
3402 (sparc*-*-rtems*): Switched from a.out to ELF.
5f68c319
NC
3403 * configure: Regenerate.
3404 * config.in: Regenerate.
3405 * Makefile.in: Regenerate.
3406 * aclocal.m4: Regenerate.
3407 * po/gas.pot: Regenerate.
50705ef4 3408
4ce3447c
PB
34092000-11-30 Philip Blundell <pb@futuretv.com>
3410
3411 * config/obj-coff.c (obj_coff_weak): Use S_SET_WEAK if it exists,
3412 even in non BFD_ASSEMBLER case.
3413
76a0ddac
DN
34142000-11-30 Diego Novillo <dnovillo@redhat.com>
3415
29184774 3416 * config/tc-i386.c (md_assemble): Swap i.disp_relocs when using intel
76a0ddac
DN
3417 syntax.
3418
220e750f
RH
34192000-11-29 Richard Henderson <rth@redhat.com>
3420
3421 * dwarf2dbg.c: Rewrite from scratch. Queue all debugging output
3422 until dwarf2_finish; use relaxation to get cross-fragment offsets;
3423 thread multiple subsegments properly; handle multiple code
3424 sections properly; emit proper compilation unit info for assembler
3425 generated debugging.
3426
3427 * as.h (enum _relax_state): Add rs_dwarf2dbg.
3428 * dwarf2dbg.h (struct dwarf2_line_info): Remove filename.
3429 (dwarf2dbg_estimate_size_before_relax): Declare.
3430 (dwarf2dbg_relax_frag, dwarf2dbg_convert_frag): Declare.
3431 * write.c: Include dwarf2dbg.h.
3432 (cvt_frag_to_fill): Handle rs_dwarf2dbg.
3433 (relax_segment): Likewise.
3434
99b222b4
HPN
34352000-11-28 Hans-Peter Nilsson <hp@bitrange.com>
3436
3437 * config/tc-sh.c (md_convert_frag) <undefined symbol, conditional
3438 jump>: Use as_bad_where instead of as_bad. Tweak error message
3439 accordingly. Stabilize frag by updating fix part and resetting
3440 variant part.
3441 <undefined symbol, unconditional jump>: Ditto.
dda5ecfc
HPN
3442 (sh_elf_cons): Cast *input_line_pointer to unsigned char when
3443 indexing is_end_of_line[].
3444 (md_assemble): Initialize size to 0.
3445 (md_section_align): Mark parameter seg as unused.
e46fee70 3446 (parse_reg): Parse names case-insensitively.
99b222b4 3447
814f6641
KH
34482000-11-28 Kazu Hirata <kazu@hxi.com>
3449
3450 * config/obj-aout.h: Fix formatting.
3451 * config/obj-bout.h: Likewise.
3452 * config/obj-coff.c: Likewise.
3453 * config/obj-coff.h: Likewise.
3454 * config/obj-elf.h: Likewise.
3455 * config/obj-som.h: Likewise.
3456 * config/obj-vms.c: Likewise.
3457 * config/obj-vms.h: Likewise.
3458 * config/tc-h8300.h: Likewise.
3459 * config/tc-ns32k.h: Likewise.
3460 * config/tc-sparc.h: Likewise.
3461 * config/tc-tic54x.h: Likewise.
3462 * config/tc-z8k.h: Likewise.
3463
e47b9e39
NC
34642000-11-28 Nick Clifton <nickc@redhat.com>
3465
3466 * doc/as.1 (COPYING): Mention that the GNU Free Documentation
3467 License is present in the sources, but not the output, and
3468 also available from the GNU website.
3469 (GNU Free Documentation License): Comment out this section.
3470
fcdc20a4
HPN
34712000-11-28 Hans-Peter Nilsson <hp@axis.com>
3472
43c34dee
HPN
3473 * Makefile.am (CPU_OBJ_VALID): Add case to filter out invalid coff
3474 targets. Remove i860 from valid a.out targets.
3475 * Makefile.in: Regenerate.
3476
fcdc20a4 3477 * config/tc-cris.c: Include dwarf2dbg.h.
50705ef4 3478 (md_pseudo_table): Add .file and .loc.
fcdc20a4
HPN
3479 (md_assemble): Call dwarf2_emit_insn if generating ELF.
3480 (s_cris_file, s_cris_loc): New.
3481 * config/tc-cris.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
3482 * Makefile.am: Regenerate dependencies.
3483 * Makefile.in: Regenerate.
3484
16887944
AM
34852000-11-28 Alan Modra <alan@linuxcare.com.au>
3486
3487 * expr.c (STANDARD_MUL_PRECEDENCE): Correct value.
3488 (MRI_MUL_PRECEDENCE): Likewise.
3489 (op_rank): Fix a comment typo.
3490
ae3e85dd
SC
34912000-11-26 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3492
3493 * config/tc-m68hc11.c (build_indexed_byte): Print the offset in
3494 the error message.
3495 (get_operand): Fix analysis for movw/movb instructions.
3496
077b8428
NC
34972000-11-24 Nick Clifton <nickc@redhat.com>
3498
3499 * configure.in (xscale-elf): Add target.
3500 (xscale-coff): Add target.
3501 * configure: Regenerate.
3502
3503 * config/tc-arm.c (ARM_EXT_V5E): New ARM architecture
3504 extenstion.
3505 (ARM_EXT_XSCALE): New ARM architecture extension.
3506 (ARM_LONGMUL): Rename to ARM_EXT_LONGMUL.
3507 (ARM_HALFWORD): Rename to ARM_EXT_HALFWORD.
3508 (ARM_THUMB): Rename to ARM_EXT_THUMB.
3509 (ARM_ARCH_V4): Remove processor from architecture.
3510 (ARM_ARCH_3M): New architecutre definition.
3511 (ARM_ARCH_V5TE): New architecutre definition.
3512 (ARM_ARCH_XSCALE): New architecutre definition.
3513 (CPU_DEFAULT): Allow to be defaulted to XScale.
3514 (atpcs): New boolean variable.
3515 (ldr_flags): Support 'd' flag for double word loads.
3516 (str_flags): Support 'd' flag for double word stored.
3517 (do_mia): New function.
3518 (do_mar): New function.
3519 (do_mra): New function.
3520 (do_pld): New function.
3521 (do_ldrd): New function.
3522 (do_blx): New function.
3523 (do_bkpt): New function.
3524 (do_clz): New function.
3525 (do_lstc2): New function.
3526 (do_cdp2): New function.
3527 (do_t_blx): New function.
3528 (do_t_bkpt): New function.
3529 (do_smla): New function.
3530 (do_smlal): New function.
3531 (do_smul): New function.
3532 (do_qadd): New function.
3533 (do_co_reg2c): New function.
3534 (LONGEST_INSN): Redefine to 7.
3535
3536 * doc/c-arm.texi: Document -mxscale, -mmarmv5te and -matpcs
3537 command line switches.
3538
2434f565
JW
35392000-11-22 Jim Wilson <wilson@redhat.com>
3540
3541 * config/tc-ia64.c (pseudo_func): Add missing initializers.
3542 (struct rsrc): Make line unsigned.
3543 (gr_values): Add missing initializer.
3544 (SLOT_NUM_NOT_SET): Add unsigned cast.
3545 (ia64_elf_section_flags, output_vbyte_mem, count_output, dot_radix,
3546 dot_fframe, dot_vframe, dot_vframesp, dot_vframepsp, dot_save,
3547 dot_restore, dot_restorereg, dot_restorereg_p, dot_handlerdata,
3548 dot_unwentry, dot_altrp, dot_saveg, dot_savef, dot_saveb, dot_savegf,
3549 dot_spill, dot_spillreg, dot_spillreg_p, dot_label_state,
3550 dot_copy_state, dot_unwabi, dot_personality, dot_proc, dot_body,
3551 dot_prologue, dot_endp, dot_regstk, dot_psr, dot_alias, dot_ln,
3552 dot_reg_val, dot_entry, dot_mem_offset, ia64_init, mark_resource,
3553 md_undefined_symbol, md_apply_fix3, tc_gen_reloc, ia64_md_do_align):
3554 Add ATTRIBUTE_UNUSED to unused parameters.
3555 (convert_expr_to_ab_reg): Add parens.
3556 (convert_expr_to_xy_reg): Add parens. Comment out >= REG_GR test.
3557 (dot_prologue): Initialize grsave when declared.
3558 (md_pseudo_table): Add missing initializers.
3559 (operand_match): Add casts to bfd_vma.
3560 (emit_one_bundle): Delete unused local prev. Make required_template
3561 unsigned.
3562 (specify_resource): Cast i to unsigned.
3563 (note_register_values): Use fprintf_vma.
3564 (print_dependency): Likewise.
3565
5a080f89
JW
35662000-11-21 Jim Wilson <wilson@redhat.com>
3567
5e7474a7
JW
3568 * config/tc-ia64.c (generate_unwind_image): Call record_alignment
3569 for unwind info section.
3570 (dot_endp): Likewise for unwind section.
3571
5a080f89
JW
3572 * config/tc-ia64.c (emit_one_bundle): Pass size of 8 not 4 to
3573 fix_new_exp.
3574
732d96b6
JJ
35752000-11-21 Jakub Jelinek <jakub@redhat.com>
3576
3577 * config/tc-sparc.c (md_pseudo_table): Add .file and .loc.
3578 (output_insn): Call dwarf2_emit_insn.
b8e904dc 3579 * config/tc-sparc.h (DWARF2_LINE_MIN_INSN_LENGTH): New.
732d96b6 3580
6d2cf69f
RH
35812000-11-17 Richard Henderson <rth@redhat.com>
3582
3583 * ehopt.c (eh_frame_code_alignment): New arg `in_seg', update all
3584 callers. Don't switch segments. Expect CIE == -1 in .debug_frame.
3585 (check_eh_frame): Handle .eh_frame and .debug_frame concurrently.
3586
8179bd9b
NC
35872000-11-17 Nick Clifton <nickc@redhat.com>
3588
3589 * config/tc-arm.c (md_pseudo_table): Add support for .line and
3590 .file pseudo ops.
3591
316e2c05
RH
35922000-11-17 Richard Henderson <rth@redhat.com>
3593
3594 * config/tc-i386.c (md_pseudo_table): Add .file and .loc.
3595
a8316fe2
RH
35962000-11-17 Richard Henderson <rth@redhat.com>
3597
3598 * dwarf2dbg.c (dwarf2_gen_line_info): Early out for no line number.
50705ef4 3599 * config/obj-elf.h (ECOFF_DEBUGGING) [TC_ALPHA]: Adjust for
a8316fe2
RH
3600 tri-state definition of alpha_flag_mdebug.
3601 * config/tc-alpha.c (alpha_flag_mdebug): Init to -1.
3602 (s_alpha_file): Store first .file directive.
3603 (s_alpha_stab): New.
3604 (md_pseudo_table): Add stabs and stabn.
3605
e346e481
RH
36062000-11-17 Richard Henderson <rth@redhat.com>
3607
3608 * config/tc-i386.c (md_assemble): Call dwarf2_emit_insn.
3609
4dc7ead9
RH
36102000-11-17 Richard Henderson <rth@redhat.com>
3611
3612 * as.c (debug_type): Init to DEBUG_UNSPECIFIED.
39bb5fe6 3613 (main): Call dwarf2_finish.
4dc7ead9
RH
3614 * as.h (debug_type): Clarify documentation of the meaning
3615 of this variable.
3616 * dwarf2dbg.c (DWARF2_LINE_MIN_INSN_LENGTH): Default to 1.
3617 (print_stats): Fix parenthesis problem.
3618 (now_subseg_size): New.
3619 (dwarf2_finish): Use it. If DEBUG_DWARF2, emit bits for .debug_info.
3620 (dwarf2_directive_file): Don't set debug_type.
3621 (dwarf2_where): Honor DEBUG_DWARF2 first.
3622 (dwarf2_emit_insn): Renamed from dwarf2_generate_asm_lineno;
3623 do nothing if not emitting dwarf2 debug info, or no work.
3624 * dwarf2dbg.h (dwarf2_emit_insn): Update.
3625 * ecoff.c (add_file): Turn on DEBUG_ECOFF only if DEBUG_UNSPECIFIED.
3626 (ecoff_new_file): Likewise.
3627 * read.c (generate_lineno_debug): Kill ecoff hackery. Update
3628 commentary wrt dwarf2.
3629
3630 * config/tc-alpha.c (alpha_adjust_symtab_relocs): Add
3631 ATTRIBUTE_UNUSED as needed.
3632 (emit_insn): Call dwarf2_emit_insn.
3633 (s_alpha_file): New.
3634 (s_alpha_loc): New.
3635 (s_alpha_coff_wrapper): Don't handle them.
3636 (md_pseudo_table): Update for .file and .loc.
3637 * config/tc-alpha.h (DWARF2_LINE_MIN_INSN_LENGTH): New.
3638
3639 * config/tc-arm.c (output_inst): Update for dwarf2_emit_insn;
3640 don't protect with debug_type.
3641 * config/tc-hppa.c (md_assemble): Likewise.
3642 * config/tc-m68hc11.c (m68hc11_new_insn): Likewise.
3643 * config/tc-mn10300.c (md_assemble): Likewise.
3644 * config/tc-sh.c (md_assemble): Likewise.
3645 * config/tc-v850.c (md_assemble): Likewise.
3646
3647 * config/tc-arm.c (arm_end_of_source): Remove.
3648 * config/tc-hppa.c (pa_end_of_source): Remove.
3649 * config/tc-m68hc11.c (m68hc11_end_of_source): Remove.
3650 * config/tc-mn10300.c (mn10300_finalize): Remove.
3651 * config/tc-sh.c (sh_finalize): Remove.
3652 * config/tc-v850.c (sh_finalize): Remove.
3653
3654 * config/tc-arm.h (md_end): Remove.
3655 * config/tc-hppa.h (md_end): Remove.
3656 (DWARF2_LINE_MIN_INSN_LENGTH): New.
3657 * config/tc-m68hc11.h (md_end): Remove.
3658 * config/tc-mn10300.h (md_end): Remove.
3659 * config/tc-sh.h (md_end): Remove.
3660 * config/tc-v850.h (md_end): Remove.
3661
3662 * config/tc-ia64.c (emit_one_bundle): Don't protect
3663 dwarf2 bits with debug_type.
3664 (md_assemble): Likewise.
3665 (ia64_end_of_source): Don't call dwarf2_finish.
3666
ca683b78
JW
36672000-11-16 Jim Wilson <wilson@redhat.com>
3668
3669 * config/tc-ia64.c (errata_nop_necessary_p): Abort if general regno
3670 >= 128 instead of > 128. Abort if predicate regno is >= 64 instead of
3671 > 16.
3672
6f620856
L
36732000-11-16 H.J. Lu <hjl@gnu.org>
3674
3675 * config/obj-elf.c (obj_elf_symver): Don't check the missing
3676 version name.
3677
19d63e5d
KH
36782000-11-15 Kazu Hirata <kazu@hxi.com>
3679
3680 * config/tc-tic30.c: Fix formatting.
3681 * config/tc-tic80.c: Likewise.
3682 * config/tc-v850.c: Likewise.
3683 * config/tc-vax.c: Likewise.
3684 * config/tc-w65.c: Likewise.
3685 * config/tc-z8k.c: Likewise.
3686
a8761a19
DD
36872000-11-14 DJ Delorie <dj@redhat.com>
3688
3689 * config/tc-v850.c: Support dwarf2.
3690 * config/tc-v850.h: Ditto.
3691
3692 * config/tc-v850.c (cons_fix_new_v850): Don't rely on
3693 parse_cons_expression_v850 to initialize hold_cons_reloc.
50705ef4 3694
88be23ec
BS
36952000-11-15 Bernd Schmidt <bernds@redhat.com>
3696
29184774 3697 * config/tc-ia64.c (struct md): New entries LAST_GROUPS, GROUP_IDX.
88be23ec
BS
3698 (errata_nops_necessary_p): New function.
3699 (emit_one_bundle): Call it. Update the GROUP_IDX field in struct
3700 md.
3701
72a76794
JW
37022000-11-14 Jim Wilson <wilson@redhat.com>
3703
3704 * config/tc-ia64.c (ia64_target_format): If EF_IA_64_BE not set, then
3705 return little endian bfd formats.
3706
4a1805b1
KH
37072000-11-14 Kazu Hirata <kazu@hxi.com>
3708
3709 * config/aout_gnu.h: Fix formatting.
3710 * config/atof-vax.c: Likewise.
3711 * config/m68k-parse.h: Likewise.
3712 * config/m88k-opcode.h: Likewise.
3713 * config/obj-elf.c: Likewise.
3714 * config/tc-arm.c: Likewise.
3715 * config/tc-cris.c: Likewise.
3716 * config/tc-i386.c: Likewise.
3717 * config/tc-ia64.c: Likewise.
3718 * config/tc-mn10300.c: Likewise.
3719 * config/te-386bsd.h: Likewise.
3720 * config/te-hppa.h: Likewise.
3721 * config/te-nbsd.h: Likewise.
3722 * config/te-ppcnw.h: Likewise.
3723 * config/te-sparcaout.h: Likewise.
3724 * config/te-tmips.h: Likewise.
3725 * config/vax-inst.h: Likewise.
3726 * config/vms-conf.h: Likewise.
3727
c810873d
JJ
37282000-11-14 Jakub Jelinek <jakub@redhat.com>
3729
3730 * config/tc-alpha.c (s_alpha_prologue): Preserve visibility bits.
3731
79082ff0
L
37322000-11-13 H.J. Lu <hjl@gnu.org>
3733
3734 * config/obj-elf.c (elf_frob_symbol): Support
3735 ".symver name,name2@@@nodename".
3736 (elf_frob_file_before_adjust): Likewise.
3737
3738 * doc/as.texinfo: Updated for ".symver name,name2@@@nodename"
3739 and ".symver name,name2@@@nodename".
3740 Fix a typo.
3741
1da00eb4
L
37422000-11-12 H.J. Lu (hjl@gnu.org)
3743
3744 * config/obj-elf.c (obj_elf_symver): Check missing version
3745 name.
3746
f585997b
L
37472000-11-12 H.J. Lu (hjl@gnu.org)
3748
3749 * dwarf2dbg.c (dwarf2_generate_asm_lineno): Use addressT
3750 instead of bfd_vma for non-bfd assemblers.
3751
ef5c4bfc
KH
37522000-11-09 Kazu Hirata <kazu@hxi.com>
3753
3754 * itbl-ops.c: Fix comment typos.
3755
f5a30c2e
JW
37562000-11-08 Jim Wilson <wilson@redhat.com>
3757
3758 * config/tc-ia64.c (struct unw_rec_list): Add slot_frag field.
3759 (struct unwind): Add next_slot_frag field.
3760 (slot_index): New parameters slot_frag and first_frag. Add code
3761 to add in frag sizes when different. Add comments.
3762 (fixup_unw_records): New locals first_frag and last_frag. Pass new
3763 arguments to slot_index.
3764 (emit_one_bundle): Set slot_frag field. Set next_slot_number after
3765 loop end. Set next_slot_frag field.
3766
339681c0
L
37672000-11-07 H.J. Lu <hjl@gnu.org>
3768
3769 * doc/as.texinfo (.symver): Updated for versioned symbol
3770 reference.
3771
3772 * obj.h (format_ops): Add the frob_file_before_adjust field.
3773
3774 * config/obj-aout.c (aout_format_ops): Set the
3775 frob_file_before_adjust field to 0.
3776 * config/obj-coff.c (coff_format_ops): Likewise.
3777 * config/obj-ecoff.c (ecoff_format_ops): Likewise.
3778
3779 * config/obj-elf.c (obj_elf_symver): Allow duplicated version
3780 name.
3781 (elf_frob_file_before_adjust): New function to remove unneeded
3782 versioned symbols from the symbol table.
3783 (elf_format_ops): Set the frob_file_before_adjust field to
3784 elf_frob_file_before_adjust.
3785
3786 * config/obj-elf.h (obj_frob_file_before_adjust): Defined if
3787 not defined.
3788
3789 * config/obj-multi.h (obj_frob_file_before_adjust): Defined.
3790
4a314ec8
NC
37912000-11-07 Peter Targett <peter.targett@arccores.com>
3792
8a543126 3793 * config/tc-arc.h: Avoid warnings for LITTLE_ENDIAN and
4a314ec8 3794 BIG_ENDIAN macros.
8a543126 3795 * config/tc-arc.c: Use S_IS_LOCAL to test local symbols.
4a314ec8 3796 Fix compile time warning messages.
50705ef4 3797
604d524f
NC
37982000-11-07 Nick Clifton <nickc@redhat.com>
3799
3800 * stabs.c (generate_asm_file): Increase length of xmalloc'ed
3801 buffer in order to avoid buffer overflows.
3802
44f5c83a
JW
38032000-11-06 Steve Ellcey <sje@cup.hp.com>
3804
3805 * config/tc-ia64.c (md_shortopts, md_parse_option, md_show_usage):
3806 Change M to m for -milp32 or -mlp64 to match gcc.
3807 (dot_endp): Use bytes_per_address instead of 8.
3808 (emit_one_bundle): Use number_to_chars_littleendian instead of
3809 md_number_to_chars.
3810 (fix_insn): Likewise.
3811 (ia64_init): New function.
3812 (ia64_target_format): New function.
3813 (md_begin): Set endianness, arch, and machine as appropriate.
3814 * config/tc-ia64.h: (TARGET_BYTES_BIG_ENDIAN, md_number_to_chars):
3815 Make these macros depend on TE_HPUX macro.
3816 (TARGET_FORMAT): Define.
3817 (HOST_SPECIAL_INIT): Define.
3818 * config/te-hpux.h: New file.
3819 * configure.in: Add "ia64-*-hpux*" target to configure.
3820 * configure: Regenerate.
50705ef4 3821
7152f1dc
KH
38222000-11-06 Kazu Hirata <kazu@hxi.com>
3823
ef99799a
KH
3824 * as.c: Fix formatting.
3825 * dwarf2dbg.c: Likewise.
3826 * input-file.c: Likewise.
7152f1dc
KH
3827 * input-file.h: Likewise.
3828 * input-scrub.c: Likewise.
ef99799a
KH
3829 * itbl-ops.c: Likewise.
3830 * listing.c: Likewise.
3831 * macro.h: Likewise.
3832 * messages.c: Likewise.
3833 * read.c: Likewise.
3834 * subsegs.c: Likewise.
3835 * subsegs.h: Likewise.
3836 * write.c: Likewise.
7152f1dc 3837
cf055d54
NC
38382000-11-06 Nick Clifton <nickc@redhat.com>
3839
3840 * doc/as.texinfo: Add GNU Free Documentation License.
3841 * doc/gasp.texi: Add GNU Free Documentation License.
3842 * doc/as.1: Add GNU Free Documentation License.
3843
8d6b5c8e
NC
38442000-11-05 Nick Clifton <nickc@redhat.com>
3845
3846 * config/tc-arm.c: Add include of "dwarf2dbg.h"
3847
59ff2774
NC
38482000-11-02 Per Lundberg <plundis@chaosdev.org>
3849
3850 * configure.in: Recognise i[3456]86-chaosdev-storm-chaos.
3851 * configure: Regenerate.
3852
37d8bb27
NC
38532000-11-01 Nick Clifton <nickc@redhat.com>
3854
3855 * read.c (original_case_string): New global variable.
3856 (read_a_source_file): Copy opcode string into
3857 original_case_string if clobbering the case of the opcode.
3858 * read.h: Export the definition of original_case_string.
3859 * config/tc-arm.c (md_assembler): When parsing a .req
3860 directive use the original opcode string, not the case
3861 clobbered version.
3862
d75bb8cf
NC
38632000-11-02 Nick Clifton <nickc@redhat.com>
3864
3865 * config/tc-mn10300.c (debug_line): Remove this static
37d8bb27 3866 variable.
d75bb8cf
NC
3867 (md_assemble): Call dwarf2_generate_asm_lineno instead of
3868 dwarf2_where and dwarf2_gen_line_info.
3869
6c17cfe4
PB
38702000-11-02 Theo Honohan <th@futuretv.com>
3871
50705ef4 3872 * config/tc-arm.c (do_msr): Improve error message.
6c17cfe4 3873
c51ce5f0
EC
38742000-10-31 Eric Christopher <echristo@redhat.com>
3875
3876 * config/tc-mn10300.c (md_apply_fix3): Use valuep if fully resolved
3877 or pc-relative, else use fx_offset.
3878
f1bcba5b
JW
38792000-10-31 Jim Wilson <wilson@redhat.com>
3880
3881 * config/tc-ia64.c (struct md): New field tag_fixups.
3882 (ia64_flush_insns): Handle tag_fixups. Error if dangling
3883 qualifying predicate.
3884 (emit_one_bundle): Delete spurious multiplication by one. Handle
3885 tag_fixups.
3886 (ia64_start_line): Error if dangling qualifying predicate.
3887 (defining_tag): New static variable.
3888 (ia64_unrecognized_line, case '['): Parse tags.
3889 (ia64_frob_label): Create tag_fixups.
3890 (md_assemble): Reset md.qp.X_op after using it.
c51ce5f0 3891
8637c045
AM
38922000-10-31 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3893
3894 * config/tc-sh.c (md_apply_fix [BFD_RELOC_SH_PCDISP12BY2]): Allow 4094.
3895
ebeeafe6
BS
38962000-10-31 Bernd Schmidt <bernds@redhat.co.uk>
3897
29184774 3898 * config/tc-ia64.c (extra_goodness): Only prefer F in slot 1 and B in slot 2.
ebeeafe6 3899
b041f888
KH
39002000-10-30 Kazu Hirata <kazu@hxi.com>
3901
3902 * expr.c: Fix formatting.
3903 * flonum-copy.c: Likewise.
3904 * flonum.h: Likewise.
3905 * gasp.c: Likewise.
3906 * hash.c: Likewise.
3907
d8374dcd
HPN
39082000-10-30 Hans-Peter Nilsson <hp@bitrange.com>
3909
3910 * as.h (OPTION_MD_BASE): Bump to 190.
3911 * as.c (parse_args) <std_longopts>: Add comment about the need to
3912 check OPTION_MD_BASE in as.h.
3913
1308f14c
HPN
3914 * config/tc-sh.c (md_apply_fix): For ELF, do not "adjust back" VAL
3915 for weak symbols.
3916
6f6ef0fa
NC
39172000-10-27 Nick Clifton <nickc@redhat.com>
3918
3919 * configure.in (emulations): Add m68hc12.
3920 * configure: Regenerate.
3921 * po/gas.pot: Regenerate.
c51ce5f0 3922
bf1b5881
AH
39232000-10-27 Aldy Hernandez <aldyh@redhat.com>
3924
50705ef4
AM
3925 * config/tc-arm.c (psrs): Remove lowercase versions of spsr* and
3926 cpsr*.
3927 (arm_psr_parse): Handle lowercase CPSR and SPSR.
bf1b5881 3928
85a39694
NC
39292000-10-25 Nick Clifton <nickc@redhat.com>
3930
3931 * dwarf2out.c (dwarf2_generate_asm_lineno): New function: Generate
3932 a DWARF2 line number information sequence.
3933
3934 *dwarf2out.h: Add prototype for dwarf2_generate_asm_lineno.
3935
3936 * read.c (generate_lineno_debug): Update comment describing why
3937 DWARF2 line number debug information is not generated
3938 automatically by this function.
3939
3940 * doc/as.texinfo: Note that --gdwarf2 only works on some targets,
3941 not all.
c51ce5f0 3942
85a39694
NC
3943 * config/tc-arm.h (md_end): Define.
3944 (DWARF2_LINE_MIN_INSN_LENGTH): Define.
c51ce5f0 3945
85a39694
NC
3946 * config/tc-arm.c (output_inst): Call dwarf2_generate_asm_lineno
3947 if generating DWARF2 line numbers.
3948 (arm_end_of_source): New function. Call dwarf2_finish if
3949 necessary.
3950
3951 * config/tc-hppa.c (md_assemble): Use dwarf2_generate_asm_lineno.
3952 * config/tc-m68hc11.c (m68hc11_new_insn): Use dwarf2_generate_asm_lineno.
3953 * config/tc-sh.c (md_assemble): Use dwarf2_generate_asm_lineno.
c51ce5f0 3954
cce0cbdc
DN
39552000-10-25 Diego Novillo <dnovillo@cygnus.com>
3956
29184774 3957 * config/tc-i386.c: Fix prototype declarations for functions taking no
cce0cbdc
DN
3958 arguments.
3959
64a0c779
DN
39602000-10-24 Diego Novillo <dnovillo@cygnus.com>
3961
29184774 3962 * config/tc-i386.c (i386_operand_modifier): Remove.
64a0c779
DN
3963 (build_displacement_string): Remove.
3964 (i386_parse_seg): Remove.
3965 (i386_intel_memory_operand): Remove.
3966 (i386_intel_operand): Re-write using recursive descent parser based
3967 on MASM documentation.
3968 (struct intel_parser_s): New structure.
3969 (intel_parser): New static variable.
3970 (struct intel_token): New structure.
3971 (cur_token, prev_token): New static variables.
3972 (T_NIL): Define.
3973 (T_CONST): Define.
3974 (T_REG): Define.
3975 (T_BYTE): Define.
3976 (T_WORD): Define.
3977 (T_DWORD): Define.
3978 (T_QWORD): Define.
3979 (T_XWORD): Define.
3980 (T_SHORT): Define.
3981 (T_OFFSET): Define.
3982 (T_PTR): Define.
3983 (T_ID): Define.
3984 (intel_match_token): New function.
3985 (intel_get_token): New function.
3986 (intel_putback_token): New function.
3987 (intel_expr): New function.
3988 (intel_e05): New function.
3989 (intel_e05_1): New function.
3990 (intel_e06): New function.
3991 (intel_e06_1): New function.
3992 (intel_e09): New function.
3993 (intel_e09_1): New function.
3994 (intel_e10): New function.
3995 (intel_e10_1): New function.
3996 (intel_e11): New function.
3997
19f7b010
JJ
39982000-10-20 Jakub Jelinek <jakub@redhat.com>
3999
4000 * config/tc-sparc.c (sparc_ip): Fix a bug which caused v9_arg_p
4001 instructions to loose any special insn->architecture mask.
4002
4003 * config/tc-sparc.c (v9a_asr_table): Add v9b ASRs.
4004 (sparc_md_end, sparc_arch_types, sparc_arch,
4005 sparc_elf_final_processing): Handle v8plusb and v9b architectures.
4006 (sparc_ip): Handle siam mode operands. Support v9b ASRs (and
4007 request v9b architecture if they are used).
4008
3ae647a0
NC
40092000-10-18 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4010
4011 * config/tc-m68k.c: Fix the previous misapplied patch.
4012
5cbdaa77
NC
40132000-10-18 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4014
50705ef4
AM
4015 * config/tc-m68k.h (RELAX_RELOC_*): New definitions for both
4016 BFD_ASSEMBLER and !BFD_ASSEMBLER.
4017 * config/tc-m68k.c (md_convert_frag_1): Use them instead of
4018 BFD_RELOC_*.
5cbdaa77 4019
e6c774b4
KH
40202000-10-17 Kazu Hirata <kazu@hxi.com>
4021
4022 * debug.c: Fix formatting.
4023 * depend.c: Likewise.
4024 * dwarf2dbg.c: Likewise.
4025 * dwarf2dbg.h: Likewise.
4026 * ecoff.c: Likewise.
4027 * expr.c: Likewise.
4028 * expr.h: Likewise.
4029 * flonum-konst.c: Likewise.
4030 * frags.h: Likewise.
4031
ea20a7da
CC
40322000-10-17 Chandrakala Chavva <cchavva@redhat.com>
4033
4034 * as.c: New option OPTION_TARGET_HELP. Prints all target specific
4035 options.
4036 * doc/as.texinfo: Added notes about this new option.
4037
266cb5f1
HPN
40382000-10-16 Hans-Peter Nilsson <hp@bitrange.com>
4039
4040 * config/tc-sh.c (JREG): Remove.
4041 (md_convert_frag): Remove #if 0:d code using JREG.
4042
6588847e
DN
40432000-10-15 Diego Novillo <dnovillo@cygnus.com>
4044
4045 * config/tc-i386.c (i386_operand_modifier): Only match
4046 modifiers SHORT and FLAT if they are followed by a space.
4047 (parse_register): When `allow_naked_reg' is set, do not confuse
4048 identifiers that start with a register name with a register.
4049
30a2b4ef
KH
40502000-10-12 Kazu Hirata <kazu@hxi.com>
4051
4052 * app.c: Fix formatting.
4053 * as.c: Likewise.
4054 * as.h: Likewise.
4055 * bit_fix.h: Likewise.
4056 * cgen.c: Likewise.
4057 * cgen.h: Likewise.
4058 * cond.c: Likewise.
4059
d01e2a23
AM
40602000-10-11 Alan Modra <alan@linuxcare.com.au>
4061
4062 * config/obj-elf.c (elf_frob_symbol): Revert 2000-10-07 change.
4063
44852b19
AM
40642000-10-07 Alan Modra <alan@linuxcare.com.au>
4065
dc1fc56b
AM
4066 * config/tc-hppa.c (md_apply_fix): Remove plainly wrong assert.
4067 Re-arrange function a little and improve error message.
4068
44852b19
AM
4069 * write.c (write_relocs): Fix a comment.
4070
4071 * config/obj-elf.c (elf_frob_symbol): Make section syms global on
4072 link-once sections.
4073
afa680f8
JW
40742000-10-05 Jim Wilson <wilson@cygnus.com>
4075
4076 * config/tc-ia64.c (resources_match): Handle IA64_RS_PRr.
4077
ce8a8b2f
AM
40782000-10-05 Alan Modra <alan@linuxcare.com.au>
4079
4080 * config/tc-i386.c: Delete some useless comments, reformat others.
4081
4082 * config/tc-i386.h (TC_FIX_ADJUSTABLE): Add check to cover
4083 non-global syms in linkonce sections.
4084
56d27c17
AM
40852000-10-04 Ralf Baechle <ralf@gnu.org>
4086
4087 * config/tc-ia64.c (operand_match): Don't use // style comments.
4088 * config/tc-i370.c: Likewise.
4089
7b15d668
HPN
40902000-09-29 Hans-Peter Nilsson <hp@axis.com>
4091
4092 Changes to handle varying register prefix and user symbol prefix.
4093 * config/tc-cris.c (SYNTAX_RELAX_REG_PREFIX,
4094 SYNTAX_ENFORCE_REG_PREFIX, SYNTAX_USER_SYM_LEADING_UNDERSCORE,
4095 SYNTAX_USER_SYM_NO_LEADING_UNDERSCORE, REGISTER_PREFIX_CHAR): New.
4096 (s_syntax, cris_force_reg_prefix, cris_relax_reg_prefix,
4097 cris_sym_leading_underscore, cris_sym_no_leading_underscore): New.
4098 (demand_register_prefix): New variable.
4099 (md_pseudo_table): New pseudo ".syntax".
4100 (md_longopts): New options --no-underscore and --underscore.
4101 (cris_target_format): Return elf32-us-cris or elf32-cris depending
4102 on symbols_have_leading_underscore.
4103 (get_gen_reg): Accept or require REGISTER_PREFIX_CHAR.
4104 (get_spec_reg): Ditto.
4105 (cris_number_to_imm) <case BFD_RELOC_VTABLE_ENTRY>: Remove FIXME.
4106 Fix formatting.
4107 (md_parse_option) <case 'h' 'H'>: Deprecate; add reference to
4108 --help.
4109 <case OPTION_NO_US, case OPTION_US>: New.
4110 (md_show_usage): Be brief and reformat to match continuation of
4111 --help.
4112 * po/gas.pot: Regenerate.
4113
27df9f40
AM
41142000-09-28 Alan Modra <alan@linuxcare.com.au>
4115
4116 * config/tc-hppa.c (hppa_force_relocation): If OBJ_SOM, don't
4117 force relocs for 12 bit branches.
4118 (md_apply_fix): Similarly, adjust logic here.
4119
5506e1a5
AM
41202000-09-28 Alan Modra <alan@linuxcare.com.au>
4121
4122 * config/tc-hppa.c (md_apply_fix): Add fmt assertion. Don't
4123 adjust for external and weak syms as we will use a reloc. Allow
4124 for +8 offset when calculating limits of branches.
4125 (hppa_fix_adjustable): Undo 2000-09-23 change.
4126 (hppa_force_relocation): Likewise. Add fx_addsy assertion.
4127 Correct distance calculation.
47d89dba
AM
4128 (tc_gen_reloc): Print the file name and line number if we can't
4129 handle a fixup.
5506e1a5
AM
4130
4131 From John David Anglin <dave@hiauly1.hia.nrc.ca>
4132 * config/tc-hppa.c (nonzero_dibits): Define.
4133 (arg_reloc_stub_needed): Check each arg and return value
4134 separately for zero case.
4135 (pa_align): Declare argument `bytes'.
4136
81d4177b
KH
41372000-09-25 Kazu Hirata <kazu@hxi.com>
4138
4139 * config/tc-cris.c: Fix formatting.
4140 * config/tc-d10v.h: Likewise.
4141 * config/tc-d30v.c: Likewise.
4142 * config/tc-d30v.h: Likewise.
4143 * config/tc-fr30.c: Likewise.
4144 * config/tc-fr30.h: Likewise.
4145 * config/tc-m68k.c: Likewise.
4146 * config/tc-m68k.h: Likewise.
4147 * config/tc-pj.h: Likewise.
4148 * config/tc-ppc.c: Likewise.
4149 * config/tc-ppc.h: Likewise.
4150 * config/tc-sh.c: Likewise.
4151 * config/tc-sh.h: Likewise.
4152 * config/tc-sparc.c: Likewise.
4153 * config/tc-v850.h: Likewise.
4154 * config/tc-vax.h: Likewise.
4155 * config/tc-w65.h: Likewise.
4156 * config/tc-z8k.h: Likewise.
4157
959ee541
AM
41582000-09-23 Alan Modra <alan@linuxcare.com.au>
4159
4160 * config/tc-hppa.c (hppa_fix_adjustable): Do the external and weak
4161 checks only for ELF.
4162 (hppa_force_relocation): Likewise.
4163
139368c9
JW
41642000-09-22 Jim Wilson <wilson@cygnus.com>
4165
4166 * config/tc-ia64.c (dv_sem): Add "stop".
4167 (specify_resource, case IA64_RS_PR): Only handles regs 1 to 15 now.
4168 (specify_resource, case IA64_RS_PRr): New for regs 16 to 62.
4169 (specify_resource, case IA64_RS_PR63): Reorder (note == 7) test to
4170 match above.
4171 (mark_resources): Check IA64_RS_PRr.
4172
151337e8
NC
41732000-09-22 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4174
56d27c17 4175 * config/tc-m68k.c (md_relax_table, m68k_ip, md_convert_frag_1,
151337e8
NC
4176 md_estimate_size_before_relax): Redesign and clean up the
4177 relaxation mechanism.
4178
0b7410c4
KH
41792000-09-21 Kazu Hirata <kazu@hxi.com>
4180
4181 * config/tc-ns32k.c: Fix formatting.
4182 * config/tc-ns32k.h: Likewise.
4183
a4d24084
KH
41842000-09-20 Kazu Hirata <kazu@hxi.com>
4185
82efde3a
KH
4186 * config/tc-m32r.c: Fix formatting.
4187 * config/tc-m32r.h: Likewise.
4188 * config/tc-m68851.h: Likewise.
4189 * config/tc-m68hc11.c: Likewise.
4190 * config/tc-m68hc11.h: Likewise.
4191 * config/tc-m88k.c: Likewise.
4192 * config/tc-mcore.c: Likewise.
a75214e5 4193 * config/tc-mcore.h: Likewise.
82efde3a
KH
4194 * config/tc-mips.c: Likewise.
4195 * config/tc-mips.h: Likewise.
4196 * config/tc-mn10200.h: Likewise.
4197 * config/tc-mn10300.h: Likewise.
a75214e5 4198 * config/tc-tahoe.c: Likewise.
a4d24084
KH
4199 * config/tc-tahoe.h: Likewise.
4200
4844386e 42012000-09-19 Michael Sokolov <msokolov@ivan.Harhan.ORG>
a05388f4
NC
4202
4203 * config/tc-vax.c (synthetic_votstrs): Remove jbssi and jbcci.
4204 Likewise in relaxation description comments.
4205
9e754211
AM
42062000-09-18 Alan Modra <alan@linuxcare.com.au>
4207
4208 * config/tc-hppa.h (TC_FORCE_RELOCATION_SECTION): Allow
4209 subtraction of two syms without emitting a relocation.
4210
4211 From David Huggins-Daines <dhd@linuxcare.com>
4212 * config/tc-hppa.c (hppa_force_relocation): Force relocations for
4213 global or weak symbols.
4214
4a4f25cf
KH
42152000-09-15 Kazu Hirata <kazu@hxi.com>
4216
4217 * config/tc-h8300.h: Fix formatting.
4218 * config/tc-h8500.c: Likewise.
4219 * config/tc-h8500.h: Likewise.
4220 * config/tc-hppa.h: Likewise.
4221 * config/tc-i370.h: Likewise.
4222 * config/tc-i386.h: Likewise.
4223 * config/tc-i860.c: Likewise.
4224 * config/tc-i860.h: Likewise.
4225 * config/tc-i960.h: Likewise.
4226 * config/tc-ia64.c: Likewise.
4227 * config/tc-ia64.h: Likewise.
4228
1dab94dd
KH
42292000-09-14 Kazu Hirata <kazu@hxi.com>
4230
4231 * config/tc-a29k.c: Fix formatting.
4232 * config/tc-alpha.c: Likewise.
4233 * config/tc-arc.c: Likewise.
4234 * config/tc-arc.h: Likewise.
4235 * config/tc-arm.c: Likewise.
4236 * config/tc-arm.h: Likewise.
4237 * config/tc-avr.c: Likewise.
4238 * config/tc-avr.h: Likewise.
4239 * config/tc-tic30.c: Likewise.
4240 * config/tc-tic30.h: Likewise.
4241 * config/tc-tic54x.c: Likewise.
4242 * config/tc-tic54x.h: Likewise.
4243 * config/tc-tic80.c: Likewise.
4244 * config/tc-tic80.h: Likewise.
4245
7484b8e6
TW
42462000-09-14 Timothy Wall <twall@cygnus.com>
4247
4248 * config/tc-ia64.c (specify_resource): For PR%/PR63, note types of
4249 parallel comparisons for later use.
4250 (struct rsrc): Add parallel comparison type.
4251 (resources_match): Skip special cases of PR usage (non-conflicting
4252 parallel compares).
56d27c17 4253
bf514e21
KH
42542000-09-13 Kazu Hirata <kazu@hxi.com>
4255
4256 * config/obj-ecoff.c: Fix formatting.
4257 * config/obj-elf.c: Likewise.
4258 * config/obj-elf.h: Likewise.
4259 * config/obj-evax.h: Likewise.
4260 * config/obj-generic.h: Likewise.
4261 * config/obj-hp300.c: Likewise.
4262 * config/obj-hp300.h: Likewise.
4263 * config/obj-ieee.h: Likewise.
4264 * config/obj-vms.c: Likewise.
4265 * config/obj-vms.h: Likewise.
4266
156c2f8b 42672000-09-13 Anders Norlander <anorland@acc.umu.se>
56d27c17 4268
50705ef4
AM
4269 * config/tc-mips.c (md_begin): Recognize 4Kc, 4Km and 4Kp processors.
4270 (md_parse_option): Ditto.
4271 (md_longopts): Add -mips32 option.
4272 (md_show_usage): Document new options.
4273 (mips_ip): Assemble sdbbp 20 bit 'm' args for MIPS32.
4274 (mips_ip): Assemble mfc0 with a sub-selection code.
4275 (validate_mips_insn): Handle 'H' (OP_*_SEL) and 'm' (OP_*_CODE20).
156c2f8b
NC
4276 (mips_cpu_to_str): New function.
4277 (mips_ip): Use mips_cpu_to_str instead of printing numeric cpu value.
4278 Use CPU_* defines instead of hardcoded numbers.
4279
50705ef4
AM
4280 * doc/as.texinfo: Document new options.
4281 * doc/c-mips.texi: Ditto.
156c2f8b 4282
a01b9fa4
KH
42832000-09-12 Kazu Hirata <kazu@hxi.com>
4284
4285 * as.h: Fix formatting.
4286 * asintl.h: Likewise.
4287 * bit_fix.h: Likewise.
dcd619be
KH
4288 * config/obj-aout.c: Likewise.
4289 * config/obj-aout.h: Likewise.
4290 * config/obj-bout.c: Likewise.
4291 * config/obj-bout.h: Likewise.
4292 * config/obj-coff.c: Likewise.
4293 * config/obj-coff.h: Likewise.
a01b9fa4
KH
4294 * dwarf2dbg.h: Likewise.
4295 * expr.h: Likewise.
4296 * flonum.h: Likewise.
4297 * frags.h: Likewise.
4298 * itbl-ops.h: Likewise.
4299 * macro.h: Likewise.
4300 * read.h: Likewise.
4301 * sb.h: Likewise.
4302 * struc-symbol.h: Likewise.
4303 * subsegs.h: Likewise.
4304 * symbols.h: Likewise.
4305 * tc.h: Likewise.
4306 * write.h: Likewise.
4307
92774660
KH
43082000-09-11 Kazu Hirata <kazu@hxi.com>
4309
f0e652b4
KH
4310 * bignum-copy.c: Fix formatting.
4311 * config/tc-i370.c: Likewise.
92774660
KH
4312 * config/tc-i960.c: Likewise.
4313 * config/tc-m68k.c: Likewise.
f0e652b4
KH
4314 * ehopt.c: Likewise.
4315 * flonum-copy.c: Likewise.
4316 * flonum-konst.c: Likewise.
4317 * flonum-mult.c: Likewise.
4318 * literal.c: Likewise.
4319 * read.c: Likewise.
4320 * sb.c: Likewise.
4321 * stabs.c: Likewise.
4322 * subsegs.c: Likewise.
92774660 4323
222f8079
PB
43242000-09-09 Philip Blundell <philb@gnu.org>
4325
4326 * configure.in (arm*-*-uclinux*): New target.
4327 * configure: Regenerate.
4328
c488923f
KH
43292000-09-09 Kazu Hirata <kazu@hxi.com>
4330
4331 * input-file.c: Fix formatting.
4332 * itbl-ops.c: Likewise.
4333 * messages.c: Likewise.
4334
e0e3ecca
PB
43352000-09-08 Philip Blundell <philb@gnu.org>
4336
4337 * config/tc-arm.c (md_apply_fix3): Correct handling of ADRL when
4338 offset is negative.
4339
5d64ca4e
L
43402000-09-07 H.J. Lu <hjl@gnu.org>
4341
4342 * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
4343 * configure: Rebuild.
4344
bdaaa2e1
KH
43452000-09-07 Kazu Hirata <kazu@hxi.com>
4346
e49bc11e
KH
4347 * atof-generic.c: Fix formatting.
4348 * config/tc-mips.c: Likewise.
e13b337a
KH
4349 * config/tc-vax.c: Likewise.
4350 * input-scrub.c: Likewise.
bdaaa2e1 4351
d07ed2cd
AO
43522000-09-07 Alexandre Oliva <aoliva@redhat.com>
4353
4354 * config/tc-sh.h (TARGET_FORMAT): Use sh-linux targets.
4355 * configure.in (sh-*-linux*): Added.
4356 * configure: Rebuilt.
4357
86905619
KH
43582000-09-06 Kazu Hirata <kazu@hxi.com>
4359
a28a3ccf
JL
4360 * config/tc-hppa.c: Fix formatting.
4361
86905619
KH
4362 * ecoff.c: Fix formatting.
4363
58cccadb
AO
43642000-09-06 Alexandre Oliva <aoliva@redhat.com>
4365
4366 * configure: Rebuilt with new libtool.m4.
4367
542d6675
KH
43682000-09-05 Kazu Hirata <kazu@hxi.com>
4369
4370 * cgen.c: Fix formatting.
4371 * config/tc-ia64.c: Likewise.
4372
5b343f5a
NC
43732000-09-05 Nick Clifton <nickc@redhat.com>
4374
4375 * aclocal.m4: Regenerate.
4376 * config.in: Regenerate.
4377 * configure: Regenerate.
4378 * po/gas.pot: Regenerate.
50bbae35 4379
07e90ad5
HPN
43802000-09-05 Hans-Peter Nilsson <hp@axis.com>
4381
4382 * config/tc-cris.c: Correct comment typos.
4383
1485d400
EC
43842000-09-05 Eric Christopher <echristo@cygnus.com>
4385
4386 * config/tc-mn10300.c: Cleanup.
4387 (md_pcrel_from): Enable.
4388
904a31bf
AM
43892000-09-05 Alan Modra <alan@linuxcare.com.au>
4390
927781e2
AM
4391 * expr.c (operand): Fix a comment typo.
4392 * write.c (write_relocs): Fix a signed/unsigned warning.
4393
ecacdc7a
AM
4394 * config/tc-hppa.c (fudge_reg_expressions): New
4395 (hppa_force_reg_syms_absolute): New.
4396 (pa_equ): Allow reg_section expressions.
4397 * config/tc-hppa.c (md_optimize_expr): Define.
4398 (hppa_force_reg_syms_absolute): Prototype.
4399
4400 * config/tc-hppa.c (pa_11_fp_reg_struct): Delete.
4401 (pa_parse_number): Pass in arg to select fp reg parsing.
4402 Return 1 to indicate format checks pass. If strict, then only
4403 accept a register or register symbol. Return value in...
4404 (pa_number): New static for pa_parse_number.
4405 (FP_REG_BASE): Define.
4406 (FP_REG_RSEL): Define.
4407 (pre_defined_registers): Apply FP_REG_BASE and FP_REG_RSEL as
4408 appropriate. White space changes.
4409 (need_pa11_opcode): Don't bother passing any params, get them from
4410 globals instead.
4411 (pa_ip): Modify all calls to pa_parse_number and need_pa11_opcode.
4412 Remove extraneous check in case 'Q'.
4413 (pa_equ): Modify call to pa_parse_number to do strict parsing. If
4414 reg, set section of resulting symbol to reg_section.
4415 (pa_parse_space_stmt): Modify call to pa_parse_number.
4416 (pa_space): Likewise.
4417
904a31bf
AM
4418 * config/tc-hppa.c: (md_apply_fix): Handle vtable relocs.
4419 (hppa_force_relocation): Handle vtable relocs.
4420 (pa_vtable_entry): New.
4421 (pa_vtable_inherit): New.
4422 (md_pseudo_table): Add entries for vtable pseudos.
4423 (hppa_fix_adjustable): Reject reduction of R_PARISC_GNU_VTINHERIT
4424 and R_PARISC_GNU_VTENTRY relocs. Reject reduction of relocs
4425 against weak syms.
4426 (tc_gen_reloc): Remove ELF_ARG_RELOC_INSN code.
4427 (pa_type_args): Don't call symbol_get_bfdsym multiple times.
4428 Set STT_PARISC_MILLICODE for OBJ_ELF when encountering a
4429 millicode import.
4430 * config/obj-elf.c (obj_elf_type): Allow md_elf_symbol_type to
4431 specify a symbol type.
4432
4433 * config/tc-hppa.h: Reorganize file a little, grouping OBJ_ELF
4434 dependent things together.
4435 (md_elf_symbol_type): Define.
4436
4437 * config/tc-hppa.c (fix_new_hppa): Elide "$PIC_pcrel$0" pseudo
4438 symbol.
4439 * config/tc-hppa.h (tc_frob_symbol): Elide "$PIC_pcrel$0" here too.
4440
4441 * config/obj-elf.h (obj_elf_vtable_inherit): Declare.
4442 (obj_elf_vtable_entry): Declare.
4443
4444 * config/obj-elf.c (obj_elf_vtable_inherit): Return struct fix *
4445 and export function.
4446 (obj_elf_vtable_entry): Similarly.
4447 (elf_pseudo_table): Fix the damage with a cast.
4448
a47cf567 44492000-09-03 Richard Henderson <rth@cygnus.com>
032efc85
RH
4450
4451 * config/tc-ia64.c (emit_one_bundle): Stop collecting insns
4452 for template selection when a label is needed.
4453
197865e8
KH
44542000-09-02 Kazu Hirata <kazu@hxi.com>
4455
4456 * config/tc-ia64.c: Fix formatting.
4457
18e03609
NC
44582000-09-02 Nick Clifton <nickc@redhat.com>
4459
4460 * configure.in: Increase version number to 2.10.91.
4461 * configure: Regenerate.
4462 * aclocal.m4: Regenerate.
4463 * config.in: Regenerate.
4464 * po/gas.pot: Regenerate.
4465 * Makefile.in: Regenerate.
1485d400 4466
a1cc9221
AO
44672000-09-01 Alexandre Oliva <aoliva@redhat.com>
4468
4469 * config/tc-sh.h [OBJ_ELF] (TC_FIX_ADJUSTABLE): Define.
4470 * config/tc-sh.c (md_apply_fix): Map 32-bit relocations that
4471 become PC-relative to BFD_RELOC_32_PCREL. Reject 16- or 8-bit
4472 similar relocs.
4473 (sh_obj_adjustable): Return 1 for PC-relative offsets used in
4474 branches.
4475
44762000-09-01 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>
4477
4478 * config/tc-sh.h (DIFF_EXPR_OK, GLOBAL_OFFSET_TABLE_NAME,
4479 TC_RELOC_GLOBAL_OFFSET_TABLE, TC_RELOC_RTSYM_LOC_FIXUP): Define.
4480 * config/tc-sh.c (sh_elf_cons, sh_elf_suffix): New functions.
4481 [OBJ_ELF] (md_pseudo_table) <long, int, word, short>: Use them.
4482 (GOT_symbol): New variable.
4483 (md_undefined_symbol): Set it.
4484
44576e1f
RH
44852000-09-01 Richard Henderson <rth@cygnus.com>
4486
4487 * config/tc-ia64.c (match): Don't inline.
4488 (extra_goodness): New.
4489 (md_begin): Prefer nop.f and nop.b for best_template.
4490
29f8404c
KH
44912000-08-31 Kazu Hirata <kazu@hxi.com>
4492
76b0a8c0
KH
4493 * as.c: Fix formatting.
4494 * cond.c: Likewise.
4495 * frags.c: Likewise.
29f8404c
KH
4496 * macro.c: Likewise.
4497
b4c1ea07
EC
44982000-08-31 Eric Christopher <echristo@cygnus.com>
4499
4500 * config/tc-mn10300.c: Cleanup and fix warnings.
4501 (md_pseudo_table): Add initializers.
4502 (md_show_usage): Cleanup.
4503 (md_parse_option): Fix warnings.
4504 (md_undefined_symbol): Fix warnings.
4505 (md_conver_frag): Fix warnings.
4506 (tc_gen_reloc): Fix warnings.
4507 (md_apply_fix3): Fix warnings.
4508 (check_operand): Fix warnings.
4509
ac48eca1
AO
45102000-08-31 Alexandre Oliva <aoliva@redhat.com>
4511
4512 * acinclude.m4: Include libtool and gettext macros from the
4513 top level.
4514 * aclocal.m4, configure: Rebuilt.
4515
e0c21649
GK
45162000-08-30 Mark Hatle <mhatle@mvista.com>
4517
4518 * config/tc-ppc.c (md_parse_option): Recognize -m405.
4519
cf39a089
KH
45202000-08-31 Kazu Hirata <kazu@hxi.com>
4521
4522 * listing.c: Fix formatting.
4523
3ee4defc
KH
45242000-08-29 Kazu Hirata <kazu@hxi.com>
4525
4526 * app.c: Fix a comment typo. Fix formatting.
4527
1e8d20f4
NC
45282000-08-25 J. David Anglin <dave@hiauly1.hia.nrc.ca>
4529
29184774 4530 * config/tc-vax.c (md_convert_frag): Correctly calculate the pc relative
50bbae35
AM
4531 offset of the target destination for jmp instructions.
4532 (md_assemble): Change mode to VAX_ABSOLUTE_MODE as per comments.
1e8d20f4 4533
5bcac8a4
HPN
45342000-08-24 Hans-Peter Nilsson <hp@axis.com>
4535
4536 * NEWS: Mention support for CRIS.
4537
46547ecc
DC
4538Thu Aug 24 20:41:05 2000 Denis Chertykov <denisc@overta.ru>
4539
4540 * config/tc-avr.h (TC_IMPLICIT_LCOMM_ALIGNMENT): New macros.
4541 Sets `.lcomm' alignment to zero.
4542
4b853faa
AO
45432000-08-23 Alexandre Oliva <aoliva@redhat.com>
4544
29184774
NC
4545 * config/tc-i386.h (OBJ_MAYBE_ELF, OBJ_MAYBE_COFF,
4546 TC_FIX_ADJUSTABLE): Define.
4b853faa 4547
efcc5914
JW
45482000-08-23 Jim Wilson <wilson@cygnus.com>
4549
4550 * config/tc-ia64.c (output_unw_records): Set U & E flags only if
4551 unwind.personality_routine is set.
4552
aca719bf
AO
45532000-08-23 H.J. Lu <hjl@gnu.org>
4554
4555 * write.c (TC_FIX_ADJUSTABLE): Remove the duplicate.
4556
a3da4de1
AO
45572000-08-23 Alexandre Oliva <aoliva@redhat.com>
4558
4559 * config/tc-i386.h (TC_FIX_ADJUSTABLE): Do *NOT* define if target
4560 environment is pe.
4561
56385375
L
45622000-08-22 H.J. Lu <hjl@gnu.org>
4563
4564 * config.in (STRICTCOFF): New for strict COFF.
4565
4566 * configure.in: Define STRICTCOFF for i386-*-msdosdjgpp*,
4567 i386-*-go32* and i386-go32-rtems*.
4568 * configure: Rebuilt.
4569
4570 * config/obj-coff.c (obj_coff_endef): Follow the historical
4571 behavior if STRICTCOFF is not defined.
4572
4573 * doc/internals.texi: Document STRICTCOFF.
4574
8f36cd18
AO
45752000-08-22 Alexandre Oliva <aoliva@redhat.com>
4576
4577 * write.c (TC_FIX_ADJUSTABLE): Define to 1, if not defined.
4578 (fixup_segment) Use it instead of TC_DONT_FIX_NON_ADJUSTABLE.
4579 * config/tc-i386.h (TC_DONT_FIX_NON_ADJUSTABLE): Remove.
4580 <OBJ_ELF, OBJ_COFF, TE_PE> (TC_FIX_ADJUSTABLE): Define.
4581 * config/tc-arm.h (TC_DONT_FIX_NON_ADJUSTABLE): Remove.
4582 <OBJ_ELF> (TC_FIX_ADJUSTABLE): Define.
4583 * config/tc-i960.h, config/tc-m68k.h, config/tc-v850.h:
4584 Likewise.
4585
58a77e41
EC
45862000-08-22 Eric Christopher <echristo@cygnus.com>
4587
4588 * config/tc-mn10300.c: (md_apply_fix): New function.
4589 (mn10300_force_relocation): New function.
4590 (mn10300_fix_adjustable): New function.
4591
4592 * config/tc-mn10300.h: (TC_FORCE_RELOCATION): Define.
4593 (TC_HANDLES_FX_DONE): Define.
4594 (obj_fix_adjustable): Define.
4595 (MD_APPLY_FIX3): Define.
4596 (TC_LINKRELAX_FIXUP): Define.
4597
4598 * write.c: (TC_LINKRELAX_FIXUP): Define if not
4599 previously defined.
4600 (fixup_segment): Use TC_LINKRELAX_FIXUP.
4601
4602 * doc/internals.texi: Document TC_LINKRELAX_FIXUP.
4603
ded0649c
JE
46042000-08-21 Jason Eckhardt <jle@cygnus.com>
4605
4606 * config/tc-i860.c (md_apply_fix3): Do not insert the immediate
4607 if the fixup resulted in a relocation.
4608
66102fe2
NC
46092000-08-18 Nick Clifton <nickc@redhat.com>
4610
4611 * config/tc-arm.c (decode_shift): Replace as_tsktsk with as_warn.
4612 Make reference to first element of shift_names explicit.
4613
02198638
AO
46142000-08-18 Alexandre Oliva <aoliva@redhat.com>
4615
4616 * write.c (fixup_segment) [TC_DONT_FIX_NON_ADJUSTABLE]: Use
4617 obj_fix_adjustable() and tc_fix_adjustable() to tell whether to
4618 add a symbol's address. Removed all target-specific #ifdefs that
4619 used to accomplished the same.
4620 * config/tc-v850.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
4621 * config/tc-m68k.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
4622 * config/tc-arm.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
4623 * config/tc-i960.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
4624 * config/tc-i386.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
4625
353e2c69
KH
46262000-08-17 Kazu Hirata <kazu@hxi.com>
4627
4628 * dwarf2dbg.c: Fix formatting.
4629
4fb7971f
NC
46302000-08-17 Nick Clifton <nickc@redhat.com>
4631
4632 * config/tc-arm.c (decode_shift): Allow illegal shifts by zero
4633 to be recoded as logical shift lefts by zero.
4634
50b81f19
JW
46352000-08-16 Jim Wilson <wilson@cygnus.com>
4636
4637 * config/tc-ia64.c (specify_resource, case IA64_RS_GR): Handle
4638 postincrement modified registers. Handle IA64_OPND_R3_2 addl
4639 source registers.
4640 (note_register_values): Handle IA64_OPND_R3_2 operands.
4641
f869cfc6
JE
46422000-08-16 Jason Eckhardt <jle@cygnus.com>
4643
50bbae35 4644 * config/tc-i860.c (md_operand): Silly typo fixed.
f869cfc6 4645
8cb8bcba
NC
46462000-08-16 Nick Clifton <nickc@redhat.com>
4647
4648 * config/tc-arm.c (struct asm_shift): Delete.
4649 (shift[]): Delete.
4650 (enum asm_shift_index): New.
4651 (struct asm_shift_properties): New.
4652 (struct asm_shift_name): New.
4653 (shift_properties[]); New.
4654 (shift_names[]); New.
4655
4656 (decode_shift): Use new structures.
4657 Issue a warning is "ROR #0" is used.
4658 Issue a warning if "ASR #0" or "LSR #0" is used.
4659
4660 (md_begin): Initialise arm_shift_hsh table from new
4661 asm_shift_name array.
4662
c2158c24
JJ
46632000-08-16 Jakub Jelinek <jakub@redhat.com>
4664
4665 * config/tc-sparc.c: Kill all warnings.
4666 (md_parse_option): Set -32/-64 for -xarch=, allow all -A archs
4667 in -xarch= as well.
4668 (md_show_usage): Update usage text.
4669
70485b5c
NC
46702000-08-16 Nick Clifton <nickc@redhat.com>
4671
c2158c24 4672 * config/tc-arm.c (do_bx): Warn about "bx px" not being very
70485b5c
NC
4673 useful.
4674
a47cf567 46752000-08-15 Will Cohen <wcohen@redhat.com>
0d10e182
JL
4676
4677 * config/tc-sh.h (DWARF2_LINE_MIN_INSN_LENGTH): Defined.
4678
4679 * config/tc-sh.c (md_assemble): Changed so debug_type
4680 test performed for ppi_assemble
4681 * config/tc-sh.c: Included dwarf2dbg.h.
4682 (debug_line): Defined.
4683 (md_assemble): Generates dwarf2 line info.
4684 (sh_finalize): New function. Finalize dwarf2 info.
4685 (assemble_ppi): Returns size of code generated.
4686 (build_Mytes): Returns size of code generated.
4687 (md_pseudo_table): Added "file" and "loc" psuedo ops.
4688 * config/tc-sh.h (md_end): Defined.
4689 (sh_finalize): Declared.
4690
1db77c8e
AO
46912000-08-15 Alexandre Oliva <aoliva@redhat.com>
4692
4693 * config/tc-sh.c (md_apply_fix) [BFD_RELOC_32, BFD_RELOC_16]: Use
4694 md_number_to_chars.
4695
046b3b54
NC
46962000-08-14 Nick Clifton <nickc@redhat.com>
4697
4698 * config/tc-arm.c (do_bx): Allow "bx pc".
4699
c43c2cc5
JW
47002000-08-14 Jim Wilson <wilson@cygnus.com>
4701
4702 * config/tc-ia64.c (md_longopts): Add -mconstant-gp and -mauto-pic.
4703 (md_parse_option): Add OPTION_MCONSTANT_GP and OPTION_MAUTO_PIC.
4704 (md_begin): Change assignment to md.flag to OR in the new bit.
4705
d1d8ba22
NC
47062000-08-14 Mark Elbrecht <snowball3@bigfoot.com>
4707
4708 * config/obj-coff.c (obj_coff_endef) [BFD_ASSEMBLER]: Set the debug
50705ef4
AM
4709 flag for storage types C_ARG, C_REGPARM, C_FIELD, C_MOS, C_MOE,
4710 C_MOU, and C_EOS.
d1d8ba22 4711
22b36938
JE
47122000-08-14 Jason Eckhardt <jle@cygnus.com>
4713
4714 * NEWS: Mention i860 support.
4715
c0bd0db2
JL
4716Mon Aug 14 11:49:12 2000 Jeffrey A Law (law@cygnus.com)
4717
4718 * config/tc-mn10300.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
4719
0ac658b8
AS
47202000-08-14 Andreas Schwab <schwab@suse.de>
4721
4722 * doc/c-arm.texi (ARM Directives): Fix warnings from makeinfo.
4723
9fc2dda2
JE
47242000-08-11 Andreas Schwab <schwab@suse.de>
4725
4726 * doc/c-i860.texi (Opcodes for i860): Remove braces from @item
4727 argument.
4728
bc4466dc
KH
47292000-08-11 Kazu Hirata <kazu@hxi.com>
4730
4731 * expr.c: Fix formatting.
351aa9f6 4732 * config/obj-bout.c: Likewise.
bc4466dc 4733
a9c99419
JE
47342000-08-10 Jason Eckhardt <jle@cygnus.com>
4735
4736 * doc/c-i860.texi: Flesh out the i860 section more.
4737
7c743825
KH
47382000-08-10 Kazu Hirata <kazu@hxi.com>
4739
4740 * symbols.c: Fix formatting.
929b12bc 4741 * expr.c: Likewise.
7c743825 4742
fa2255cb
DN
4743Wed Aug 9 16:28:21 EDT 2000 Diego Novillo <dnovillo@cygnus.com>
4744
29184774
NC
4745 * config/tc-i386.c (md_assemble): Skip suffix check if the opcode
4746 modifier has the IgnoreSize bit set.
fa2255cb 4747
fc997f4b
AM
47482000-08-09 Alan Modra <alan@linuxcare.com.au>
4749
4750 From Rodney Brown <RodneyBrown@mynd.com>
4751 * configure.in: Use elf on Unixware 7 (i586-sco-sysv5uw7.1.0)
4752 * configure: Regenerate.
4753
a47cf567
NC
47542000-08-09 Kazu Hirata <kazu@hxi.com>
4755
4756 * hash.c: Fix formatting.
4757 * gasp.c: Likewise.
4758
305d537e
JE
47592000-08-08 Jason Eckhardt <jle@cygnus.com>
4760
4761 * config/tc-i860.h: Rework completely for BFD_ASSEMBLER.
4762 (i860_fix_info): New enum.
4763 (MD_APPLY_FIX3): Define.
4764 (WORKING_DOT_WORD): Define.
4765 (TC_HANDLES_FX_DONE): Define.
4766 (DIFF_EXPR_OK): Define.
4767 (LISTING_HEADER): Define.
4768 (TARGET_FORMAT): Select target format based on endian flag.
4769 (TARGET_BYTES_BIG_ENDIAN): Default to little endian.
4770 (target_big_endian): Add external declaration.
4771
4772 * config/tc-i860.c: All existing code reworked completely. Other
4773 new code shown below.
4774 (SYNTAX_SVR4): Define.
4775 (target_warn_expand): New variable.
4776 (md_shortopts): Declare and define (-Qy, -Qn, and -V options).
4777 (md_longopts): Declare and define with new options (-EL, -EB,
4778 and -mwarn-expand).
4779 (md_show_usage): New function.
4780 (md_operand): New function.
4781 (obtain_reloc_for_imm16): New function.
4782 (md_apply_fix3): New function.
4783 (tc_gen_reloc): New function.
4784
df86943d
NC
47852000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
4786
4787 * config/tc-m68hc11.c (build_jump_insn): Make sure the
4788 2 bytes of the jump address are in the same frag.
4789 (find): Accept 68hc12 register indirect modes.
4790
4791 * NEWS: Mention 68HC11 & 68HC12 support.
58a77e41 4792
30d25259
RH
47932000-08-07 Richard Henderson <rth@cygnus.com>
4794
4795 * config/tc-ia64.c (unwind): Add prologue_mask member.
4796 (dot_vframe): Elide psp_gr record if it overlaps prologue_gr.
4797 (dot_save): Likewise for pfs_gr, rp_gr, and preds_gr.
4798 (dot_body): Clear unwind.prologue_mask.
4799 (dot_prologue): Set it. Accept a register second argument.
4800
2d484c7f
KH
48012000-08-07 Kazu Hirata <kazu@hxi.com>
4802
4803 * config/atof-ieee.c: Fix formatting.
4804 * config/atof-tahoe.c: Likewise.
4805
a47cf567 48062000-08-06 Nick Clifton <nickc@cygnus.com>
1485d400 4807
3d4ae3c0
NC
4808 * config/tc-sparc.c (md_begin): Fix typo in recent formatting
4809 work.
4810
c91d2e08
NC
4811 * doc/as.texinfo (Pseudo Ops): Update to include descriptions
4812 of .popsection, .previous, .pushsection, .subsection,
4813 .version, .vtable_entry, .vtable_inherit and .weak.
4814
47926f60
KH
48152000-08-05 Kazu Hirata <kazu@hxi.com>
4816
4817 * config/tc-cris.c: Fix formatting.
4818 * config/tc-i386.c: Likewise.
4819 * config/tc-sparc.c (sparc_ip): Simplify the code.
4820
ab3e48dc
KH
48212000-08-04 Kazu Hirata <kazu@hxi.com>
4822
4823 * config/tc-cris.c: Rearrange code for readability.
4824 * config/tc-d10v.c: Fix formatting.
4825 * config/tc-m32r.c: Likewise.
4826 * config/tc-sparc.c: Likewise.
4827
3d56ab85
JW
48282000-08-02 Jim Wilson <wilson@cygnus.com>
4829
4830 * config/tc-ia64.c (emit_one_bundle): Call ia64_free_opcode
4831 before ia64_find_opcode.
4832 (md_assemble): Likewise.
4833
3f9dfb2c
NC
48342000-08-01 Nick Clifton <nickc@cygnus.com>
4835
a47cf567 4836 * config/tc-arm.c (do_mrs): Fix skip of 'cpsr_all' flag.
d78c7dca 4837 Undo some formatting fixes.
3f9dfb2c 4838
28e4f854
KH
48392000-08-01 Kazu Hirata <kazu@hxi.com>
4840
4841 * config/obj-som.c: Fix formatting.
4842 * config/obj-ieee.c: Likewise.
4843 * config/tc-arm.c: Likewise.
4844 * config/tc-v850.c: Likewise.
4845
a570e639
NC
48462000-08-01 Nick Clifton <nickc@redhat.com>
4847
4848 * doc/c-m68k.texi (section M680x0 Options): Turn into a table
4849 index by command line option.
58a77e41 4850
a570e639
NC
48512000-08-01 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4852
4853 * doc/c-m68k.texi (@cindex @samp{--pcrel}): Rewrite option description.
4854 (@node M68K-Branch): Rewrite to match the reality.
4855
e3308d0d
JE
48562000-07-31 Jason Eckhardt <jle@cygnus.com>
4857
4858 * doc/c-i860.texi: New file.
4859 * doc/Makefile.am (CPU_DOCS): Add c-i860.texi.
4860 * doc/Makefile.in: Regenerate.
4861 * doc/all.texi: Add I860 as relevant architecture.
4862 * doc/as.texinfo: Include i860 dependent file c-i860.texi.
4863
2fd5405a
NC
48642000-07-31 Kazu Hirata <kazu@hxi.com>
4865
4866 * config/tc-d30v.c: Fix formatting.
4867
28e7409f
NC
48682000-07-31 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4869
50bbae35
AM
4870 * config/tc-m68k.c (flag_keep_pcrel, OPTION_PCREL): Add --pcrel option.
4871 (md_convert_frag_1, md_estimate_size_before_relax): When making DBcc
4872 long emit a long branch if available instead of an absolute jump, never
4873 emit absolute jumps for anything with --pcrel.
28e7409f
NC
4874
4875 * doc/c-m68k.texi: Document new command line option.
58a77e41 4876
a47cf567
NC
48772000-07-29 Marek Michalkiewicz <marekm@linux.org.pl>
4878
4879 * config/tc-avr.c: Use PARAMS macro in function declarations.
4880 Don't declare md_pcrel_from_section (already in tc-avr.h).
4881 (avr_operands): Use AVR_UNDEF_P and AVR_SKIP_P macros.
4882 (avr_operand): Don't set (unsigned) op_mask to -1.
4883
534022ea
JE
48842000-07-28 Jason Eckhardt <jle@cygnus.com>
4885
50bbae35
AM
4886 * configure.in: Add bits for i860-stardent-{sysv4, elf}*.
4887 * configure: Regenerated.
4888 * config/obj-elf.c (obj_elf_type): Recognize a fifth type
4889 of operand to the .type directive (.e.g, "type").
534022ea 4890
4c400d5e
AM
48912000-07-28 Alan Modra <alan@linuxcare.com.au>
4892
4893 * as.h (warn_comment, found_comment, found_comment_file): Declare.
4894 * app.c (do_scrub_chars): Record where first comment found.
4895 * read.c (read_a_source_file): Init found_comment on entry, and
4896 notify whether comments found on exit.
4897 * config/tc-hppa.c (md_shortopts): Add "c".
4898 (md_longopts): Add warn-comment.
4899 (md_parse_option): Handle it.
4900 (md_show_usage): Show available options.
4901 * config/tc-hppa.h (WARN_COMMENTS): Define if TE_LINUX
4902
0aa529cb
AC
4903Thu Jul 27 11:25:01 2000 Andrew Cagney <cagney@b1.cygnus.com>
4904
4905 * config/tc-mn10300.c (md_convert_frag): Fix printfs.
4906 (tc_gen_reloc): Add cast when assigning bfd_abs_symbol to
50bbae35 4907 sym_ptr_ptr
0aa529cb
AC
4908 (md_estimate_size_before_relax): Don't fall off end of function.
4909
c6a7ab1f
NC
49102000-07-27 Kazu Hirata <kazu@hxi.com>
4911
4912 * config/tc-avr.c: Fix formatting.
4913 * config/tc-ns32k.c: Likewise.
4914
e0c6ed95
AM
49152000-07-27 Alan Modra <alan@linuxcare.com.au>
4916
4917 * config/tc-d10v.c (find_opcode): Remove extraneous `='.
4918
49192000-07-27 Kazu Hirata <kazu@hxi.com>
4920
4921 * config/tc-d10v.c: Fix formatting.
4922 * config/tc-z8k.c: Likewise.
4923 * config/tc-sparc.c: Likewise.
4924
6883dc5e 49252000-07-26 Dave Brolley <brolley@redhat.com>
eabed1c0
DB
4926
4927 * cgen.c (queue_fixup): Declare opinfo.
4928 (gas_cgen_parse_operand): Mark unused parameters with ATTRIBUTE_UNUSED.
4929 (gas_cgen_md_operand): Ditto.
4930 (gas_cgen_md_apply_fix3): Ditto.
4931
39da8128
DD
49322000-07-24 Mark Elbrecht <snowball3@bigfoot.com>
4933
4934 * config/obj-coff.c (obj_frob_symbol): Don't merge
4935 labels. Don't merge if the symbol isn't constant. Return
4936 immediately if a symbol is merged.
4937
65e68b04
AM
49382000-07-22 Alan Modra <alan@linuxcare.com.au>
4939
4940 * frags.c (frag_align): Correct absolute section alignment.
4941
5e0d736c
DD
49422000-07-20 DJ Delorie <dj@redhat.com>
4943
4944 * config/obj-coff.c (obj_frob_symbol): revert previous change,
4945 it breaks linking against DLLs.
4946
3bcbcc3d
HPN
49472000-07-20 Hans-Peter Nilsson <hp@axis.com>
4948
4949 * configure.in: Add CRIS support.
4950 * configure: Regenerate.
4951 * Makefile.am: (CPU_TYPES): Add cris.
4952 (CPU_OBJ_VALID) [aout]: Add cris.
4953 (MULTI_CPU_TYPES): Add cris.
4954 (MULTI_CPU_OBJ_VALID) [aout]: Add cris.
50bbae35 4955 [coff]: Only i386 and mips are valid.
3bcbcc3d
HPN
4956 (TARGET_CPU_CFILES): Add config/tc-cris.c.
4957 (TARGET_CPU_HFILES): Add config/tc-cris.h.
4958 (MULTI_CFILES): Add config/e-crisaout.c and config/e-criself.c.
4959 Regenerate dependencies.
4960 * Makefile.in: Regenerate.
4961 * aclocal.m4: Regenerate.
4962 * as.c: Declare crisaout, criself.
4963 * config/tc-cris.h, config/tc-cris.c: New.
4964 * config/e-criself.c, config/e-crisaout.c: New.
4965 * po/POTFILES.in, po/gas.pot: Regenerate.
4966
041ff4dd 49672000-07-20 Kazu Hirata <kazu@hxi.com>
58a77e41 4968
041ff4dd 4969 * read.c: Fix formatting.
efaf0ba4 4970 * write.c: Fix formatting.
041ff4dd 4971
f980ada0
L
49722000-07-19 H.J. Lu <hjl@gnu.org>
4973
4974 * sb.c: Include <stdlib.h> if exists for abort ().
4975
25a8b250
AM
49762000-07-19 Alan Modra <alan@linuxcare.com.au>
4977
4978 * config/tc-hppa.c (hppa_fix_adjustable): Correct LR%/RR% comment.
4979 (arg_reloc_stub_needed): #ifdef OBJ_SOM, not #ifdef SOM.
4980 (pa_type_args): Same here.
4981
7a9aaf92
NC
49822000-07-17 Mark Elbrecht <snowball3@bigfoot.com>
4983
4984 * config/obj-coff.c (obj_frob_symbol): Don't merge labels. Don't
4985 merge if the symbol isn't constant. Don't call S_SET_EXTERNAL if
4986 the storage class is already set.
4987
8098403c
NC
49882000-07-17 Kazu Hirata <kazu@hxi.com>
4989
fafb6d17 4990 * config/tc-m68hc11.c: Fix formatting.
ff5a4f04
KH
4991 * config/tc-mn10200.c: Likewise.
4992 * config/tc-mn10300.c: Likewise.
4993 * config/tc-pj.c: Likewise.
4994 * config/tc-tic80.c: Likewise.
4995 * config/tc-w65.c: Likewise.
8098403c 4996
977e771a
FCE
49972000-07-17 Frank Ch. Eigler <fche@redhat.com>
4998
4999 * expr.c (operand): Permit %bin literals if LITERAL_PREFIXPERCENT_BIN
5000 is defined.
5001
63bf5651
ILT
50022000-07-15 Ian Lance Taylor <ian@zembu.com>
5003
5004 * doc/c-mips.texi (MIPS Opts): Remove erroneous space after
5005 @code.
5006
1cd1c99b
AM
50072000-07-15 Alan Modra <alan@linuxcare.com.au>
5008
5009 * config/tc-hppa.c (hppa_fix_adjustable): Use the same checks for
5010 ELF as are used for SOM (except the 32-bit reloc one) to decide
5011 whether a symbol can be reduced to a section symbol. Expand on
5012 the comment for symbols involved in LR% and RR% expressions.
5013
119d663a
NC
50142000-07-14 Nick Clifton <nickc@cygnus.com>
5015
5016 * config/tc-mips.c (mips_disable_float_construction): New
5017 static variable. Set to true if doubles should not be
5018 constructed by loading two single width fp registers with
5019 halves of the value.
5020 (mips_ip): Test mips_disable_float_construction.
5021 (md_longopts): Add command line switches --construct-floats
5022 and --no-construct-floats.
5023 (md_parse_option): Parse new command line options.
5024 (md_show_usage): Describe new command line options.
5025
5026 * doc/c-mips.texi: Document new command line options.
5027
906fac54
AM
50282000-07-13 Koundinya K <kk@ddeorg.soft.net>
5029
5030 * configure.in: Remove the test /usr/dde for mips-*-sysv4*MP*
5031 * configure: Regenerate.
5032
50332000-07-13 Hans-Peter Nilsson <hp@axis.com>
5034
5035 * configure.in (DEFAULT_EMULATION setting): Revert part of
5036 2000-07-01 change that set te_multi=multi unless set to tmips.
5037 * configure: Regenerate.
5038
7f788821
NC
50392000-07-12 Mark Elbrecht <snowball3@bigfoot.com>
5040
5041 * config/obj-coff.c (coff_frob_section): Add padding to the last
50705ef4 5042 section when aligning it increases its size.
7f788821 5043
9a736b6b
NC
50442000-07-11 Kazu Hirata <kazu@hxi.com>
5045
5046 * config/tc-tic54x.c: Fix formatting.
5047
3dd5103b
NC
50482000-07-10 Kazu Hirata <kazu@hxi.com>
5049
5050 * config/tc-h8500.c: Fix formatting.
1aea3bb8 5051 * config/tc-tic54x.c: Fix formatting.
3dd5103b 5052
46b85d42
AM
50532000-07-10 Alan Modra <alan@linuxcare.com.au>
5054
5055 * config/tc-hppa.c (md_apply_fix): Check fmt 12 and 22 pc-rel
5056 displacements correctly.
5057
5058 * read.h (s_abort): Add ATTRIBUTE_NORETURN.
5059
50602000-07-10 Ryan Bradetich <rbradetich@uswest.net>
5061
5062 * hash.c (hash_insert): Add cast to obstruct_alloc to fix
5063 warning.
5064 (hash_jam): Ditto.
5065
ad1079af
AM
50662000-07-09 Alan Modra <alan@linuxcare.com.au>
5067
5068 From David Huggins-Daines <dhd@linuxcare.com>
5069 * config/te-hppalinux64.h: Add a new emulation.
5070 * configure.in (emulations): Add configure bits to support the
5071 64-bit Linux/parisc target.
5072 * configure: Regenerate.
5073
5074 * config/tc-hppa.c (md_parse_option): Support `-V' for ELF.
5075 (md_shortopts): Add `V' for ELF.
5076
5077 * config/tc-hppa.c (arg_reloc_stub_needed): Define as zero except
5078 when SOM or ELF_ARG_RELOC are defined.
5079 (pa_type_args): Only set symbol_arg_reloc_info when SOM or
5080 ELF_ARG_RELOC are defined.
5081 (pa_stringer_aux): Don't pa_check_current_space_and_subspace here..
5082 (pa_stringer): ..Do it here instead. Fix comment typos.
5083 (hppa_force_relocation): Cast enums to int before comparing with
5084 ints.
5085
5086 From Ryan Bradetich <rbradetich@uswest.net>
5087 * config/tc-hppa.c: Removed unneeded libbfd.h to fix macro
5088 redifinition warning.
5089 (md_apply_fix): Added cast from enum to int for fixP->fx_r_type.
5090 (hppa_force_relocation): ditto
ad1079af
AM
5091 (md_apply_fix): Added cast to buf to fix warnings.
5092
5093 * config/tc-hppa.h (pa_define_label, parse_cons_expression_hppa,
5094 cons_fix_new_hppa, hppa_force_relocation): Prototype.
5095
5096 * config/tc-hppa.c (reloc_type): It's an enum for OBJ_ELF.
5097 (R_N0SEL, R_N1SEL): Define only for OBJ_SOM.
5098 (tc_gen_reloc): Make `code' a reloc_type and `codes' a
5099 reloc_type** to avoid warnings in switch.
5100 (md_apply_fix): Make insn, val signed. Zap buf_wd and read insn a
5101 little earlier instead.
5102
5103 * config/tc-hppa.c (symbol_arg_reloc_info): Define for both som
5104 and elf.
5105 (pa_type_args): Use symbol_arg_reloc_info.
5106 (struct pa_it): Make arg_reloc unsigned int.
5107 (struct hppa_fix_struct): Likewise for fx_arg_reloc.
5108 (pa_text, pa_data, pa_comm): Don't compile for TE_LINUX.
5109 (pa_code): Delete. pa_text duplicates this function.
5110 (md_pseudo_table): Call obj_elf_text for ".code" if TE_LINUX.
5111 (fix_new_hppa): Argument offset is offsetT, arg_reloc is unsigned
5112 int.
5113 (cons_fix_new_hppa): Actually change selector to e_fsel when
5114 warning about assuming so.
5115 (tc_gen_reloc): More example elf arg reloc code.
5116 (md_apply_fix): Use arg_reloc_stub_needed for elf too.
5117 (hppa_force_relocation): Likewise.
5118
5119 * config/tc-hppa.h: Use TARGET_ARCH_SIZE to select target include
5120 files.
5121 (pa_end_of_source): Prototype.
5122 (hppa_fix_adjustable): Prototype.
5123 (LABELS_WITHOUT_COLONS): Move it..
5124 * config/te-hppa.h: To here.
5125
5126 * config/te-hppa64.h: New file.
5127
5128 * config/tc-hppa.c: Use TARGET_ARCH_SIZE to select target reloc
5129 type.
5130 (md_apply_fix): Pass stdoutput to bfd_hppa_insn2fmt. Handle
5131 format -10, -16, 16 relocs.
5132 (hppa_elf_mark_end_of_function): Test for null
5133 last_call_info->start_symbol
5134
5135 * config/tc-hppa.c (pa_ip): In case 'V', pass `strict' to
5136 CHECK_FIELD, not INSERT_FIELD_AND_CONTINUE. Don't pass opcode to
5137 re_assesmble_* functions. Delete extraneous statements. Fix
5138 typos in comments.
5139 (md_apply_fix): Compare against 1048575 in case 21. Don't pass
5140 insn to re_assemble_*.
5141
623aa224
UC
51422000-07-08 Ulf Carlsson <ulfc@engr.sgi.com>
5143
5144 * doc/internals.texi (Expressions): Fix typo.
58a77e41 5145
c4aa876b
NC
51462000-07-08 Kazu Hirata <kazu@hxi.com>
5147
5148 * config/tc-sh.c: Fix formatting.
d0313fb7 5149 * config/tc-tic54x.c: Fix formatting.
f851444e
NC
5150 * depend.c: Fix formatting.
5151 * flonum-konst.c: Likewise.
5152 * flonum-mult.c: Likewise.
c4aa876b 5153
6b31947e
NC
51542000-07-07 Kazu Hirata <kazu@hxi.com>
5155
a5bfe8c9 5156 * config/tc-sh.c: Fix comments.
bc0d738a
NC
5157 * config/obj-vms.c: Fix comments.
5158 * config/tc-a29k.c: Likewise.
5159 * config/tc-alpha.c: Likewise.
5160 * config/tc-h8300.c: Likewise.
5161 * config/tc-h8500.c: Likewise.
5162 * config/tc-i370.c: Likewise.
5163 * config/tc-ia64.c: Likewise.
5164 * config/tc-m68hc11.c: Likewise.
5165 * config/tc-m68k.c: Likewise.
5166 * config/tc-mips.c: Likewise.
5167 * config/tc-ns32k.c: Likewise.
5168 * config/tc-ppc.c: Likewise.
5169 * config/tc-z8k.c: Likewise.
6b31947e 5170
b8a9dcab
NC
51712000-07-06 Mark Elbrecht <snowball3@bigfoot.com>
5172
5173 * config/obj-coff.c (TC_COFF_SECTION_DEFAULT_ATTRIBUTES): New.
5174 Default to '(SEC_LOAD | SEC_DATA)'.
5175 (obj_coff_section) [BFD_ASSEMBLER]: Use it.
5176
5177 * doc/internals.texi (CPU Backend): Describe
5178 TC_COFF_SECTION_DEFAULT_ATTRIBUTES.
5179
beb2de9b
AC
5180Thu Jul 6 17:20:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
5181
5182 * as.c (parse_args): NULL terminate the long option list.
5183
24ddb296
AC
5184Tue Jul 4 14:08:28 2000 Andrew Cagney <cagney@b1.cygnus.com>
5185
5186 * config/tc-d30v.h: Include "write.h" for fixS.
50bbae35 5187 (d30v_start_line, md_pcrel_from_section): Add function prototypes.
24ddb296 5188
1fe72011
NC
51892000-07-05 Nick Clifton <nickc@cygnus.com>
5190
5191 * config/tc-d30v.c (write_2_short): Further changes to warning
5192 messages produced when combining EITHER_BUT_PREFER_MU attributed
5193 opcodes.
5194
a5bfe8c9 51952000-07-05 DJ Delorie <dj@redhat.com>
302ab118
DD
5196
5197 * MAINTAINERS: new
5198
8de8f17e
AO
51992000-07-04 Alexandre Oliva <aoliva@redhat.com>
5200
5201 * config/tc-arm.c (psrs): Accept combinations of flags.
5202
00d2865b
NC
52032000-07-03 Marek Michalkiewicz <marekm@linux.org.pl>
5204
5205 * config/tc-avr.c: Change _ () to _() around all strings marked
5206 for translation (exception from the usual coding style).
5207 (avr_opt): New struct variable, how the new switches are set.
5208 (OPTION_MMCU): Define as 'm' and actually use.
5209 (md_longopts): Add -mall-opcodes, -mno-skip-bug, -mno-wrap.
5210 (show_mcu_list): New function, display the list of known MCUs.
5211 (md_show_usage): Document the new switches. Call show_mcu_list.
5212 (avr_set_arch): Change 'm' to OPTION_MMCU.
5213 (md_parse_option): Call show_mcu_list if unknown MCU specified.
5214 Handle the new switches.
5215 (avr_operands): Disable warnings for undefined combinations of
5216 operands if -mall-opcodes. Disable warnings for skipping two-word
5217 instructions if enhanced core or -mno-skip-bug.
5218 (avr_operand): Accept all addressing modes on avr1 if -mall-opcodes.
5219 (md_apply_fix3): Reject 8K wrap if >8K or -mno-wrap.
5220 (md_assemble): Accept opcodes not supported by MCU if -mall-opcodes.
5221 (avr_ldi_expression): Warn about implicit lo8().
5222 * config/tc-avr.h (md_pcrel_from_section): Add prototype.
5223
54588503
UC
52242000-07-01 Koundinya K <kk@ddeorg.soft.net>
5225
50bbae35
AM
5226 * configure.in: Add entry for mips-*-sysv4*MP*
5227 * configure: Rebuild
5228 * config/tc-mips.c (mips_target_format): Return elf32-tradbigmips or
5229 elf32-tradlittlemips for traditional mips targets.
5230 * config/tc-mips.c (md_estimate_size_before_relax): Duplicate the
5231 test for Link Once sections as in adjust_reloc_syms.
5232 * config/te-tmips.h: New file for traditional mips targets. Define
5233 TE_TMIPS.
58a77e41 5234
c9900432
NC
52352000-06-29 Mark Elbrecht <snowball3@bigfoot.com>
5236
5237 * config/obj-coff.c (obj_coff_setcion) [BFD_ASSEMBLER]: If the
5238 flags argument is not present, don't change an existing section's
5239 section's attributes. If the flags argument is present, warn if the
5240 attributes don't match the section's current attributes. When
5241 long section names are supported, set SEC_LINK_ONCE and
5242 SEC_LINK_DUPLICATES_DISCARD for a new .gnu.linkonce section.
5243
9d87310a
HPN
5244Thu Jun 29 21:30:00 2000 Hans-Peter Nilsson <hp@axis.com>
5245
5246 * config/obj-aout.c (obj_aout_type): Do not ignore for undefined
5247 symbols; create them.
5248
dbddefbf
NC
52492000-06-29 Mark Elbrecht <snowball3@bigfoot.com>
5250
5251 * write.c (set_segment_vma): New: Set vma and lma for a segment.
6aa4f516 5252 (write_object_file) [BFD_ASSEMBLER && OBJ_COFF && TE_GO32]: Use it.
dbddefbf 5253
2ae7e77b
AH
52542000-06-27 Aldy Hernandez <aldyh@redhat.com>
5255
5256 * config/tc-mips.c (mips_ip): handle "(foo-.-4)" type of
a47cf567
NC
5257 expressions. Ignore the problem when handling 16 bit signed
5258 immediates, because the assembler will take care of the relocation
5259 later.
2ae7e77b 5260
6b2539e3
NC
52612000-06-27 Nick Clifton <nickc@cygnus.com>
5262
5263 * config/tc-d30v.c (write_2_short): Do not allow opcodes with
58a77e41 5264 the EITHER_BUT_PREFER_MU attribute to be combined into a reverse
6b2539e3
NC
5265 sequential order, and emit warning messages if the input source
5266 code contains constructs like that, or parallel constructs
5267 containing such opcodes.
5268
65aa24b6
NC
52692000-06-26 Marek Michalkiewicz <marekm@linux.org.pl>
5270
5271 * config/tc-avr.c (mcu_types): Rename avr4 to avr5, add avr4.
5272 Add more MCU types for avr4 and avr5. Replace at94k{10,20,40}
5273 with just at94k. Change AVR_ISA_85xx back to AVR_ISA_2xxx.
5274 (md_show_usage): Update usage message.
5275 (md_parse_option): Allow redefinition of MCU type within the
5276 same avr[1-5] bfd machine type. Show both old and new MCU type
5277 in the error message.
5278 (md_apply_fix3): Support 8K wrap if AVR_ISA_MEGA is not set.
5279 Simplify 8K wrap code.
5280
f0c56b90
NC
52812000-06-25 Kazu Hirata <kazu@hxi.com>
5282
50bbae35
AM
5283 * config/obj-aout.c: Remove all uses of DEFUN.
5284 * config/obj-ieee.c: Likewise.
5285 * config/tc-sh.c: Fix comment typos.
5286 * config/tc-tahoe.c: Likewise.
5287 * config/tc-vax.c: Likewise.
5288 * config/tc-w65.c: Likewise.
5289 * config/tc-z8k.c: Likewise.
f0c56b90
NC
5290 * config/tc-h8300.c (build_bytes): Assemble ldmac correctly.
5291
6d249963
DD
52922000-06-24 DJ Delorie <dj@cygnus.com>
5293
5294 * config/tc-i386.c (md_estimate_size_before_relax): Revert
5295 more changes from Sept 1999
5296 (tc_i386_fix_adjustable): ditto
5297 (md_apply_fix3): ditto
5298
680d2857 52992000-06-24 Frank Ch. Eigler <fche@redhat.com>
58a77e41 5300
680d2857
FCE
5301 * cgen.c (expr_jmp_buf_p): New validity flag for expr_jmp_buf.
5302 (gas_cgen_parse_operand): Set it around expression() call.
5303 (gas_cgen_md_operand): Test for it before longjmp().
5304
e7b305a2
AM
53052000-06-24 Kazu Hirata <kazu@hxi.com>
5306
c0fecd35
AM
5307 * config/tc-h8500.c: Remove all uses of DEFUN.
5308 * config/tc-sh.c: Likewise.
5309 * config/tc-w65.c: Likewise.
5310 * config/tc-z8k.c: Likewise.
5311
e7b305a2
AM
5312 * config/tc-h8500.c: Fix typos in comments.
5313
ed6d6fd3
FCE
53142000-06-23 Frank Ch. Eigler <fche@redhat.com>
5315
5316 * expr.c (operand): Permit $hex literals if LITERAL_PREFIXDOLLAR_HEX
5317 is defined.
5318
f7c88872
AM
53192000-06-23 matthew green <mrg@redhat.com>
5320
5321 * expr.c (operand): Do not as_bad() if RELAX_PAREN_GROUPING is
50bbae35 5322 defined. Fix error message for `[' grouping.
f7c88872 5323
70d6ecf3
AM
53242000-06-22 Kazu Hirata <kazu@hxi.com>
5325
5326 * config/tc-h8300.c: Fix formatting and comment typos.
5327
e9718fe1
TW
53282000-06-22 Timothy Wall <twall@cygnus.com>
5329
5330 * config/tc-ia64.c (note_register_values): Move premature QP
5331 notation clearing into the appropriate place.
5332
45288df1
AM
53332000-06-22 Alan Modra <alan@linuxcare.com.au>
5334
1581f8c9
AM
5335 * dep-in.sed: Escape literal `.'s on patterns. Trim off `../'
5336 first before anything else. Add bin-bugs.h, emul.h and progress.h
5337 Sort list of files as for $(OBJS) in Makefile.am.
5338
5339 * Makefile.am (DEP): grep for leading `/' in DEPA, and fail if we
5340 find one. Remake dependencies.
5341 ($(OBJS)): Add bin-bugs.h, emul.h, and progress.h Sort the list.
5342 * Makefile.in: Regenerate.
5343 * doc/Makefile.in: Regenerate.
5344
45288df1
AM
5345 * config/tc-i386.c (i386_displacement): Don't assume a constant
5346 displacement is necessarily 16 bits when in 16 bit code mode.
5347 (md_assemble): Instead size the displacement here after we know
5348 for sure that a .code16gcc operand hasn't automatically added
5349 operand size prefixes.
5350
01580992
L
53512000-06-21 H.J. Lu <hjl@gnu.org>
5352
5353 * Makefile.am: Rebuild dependency.
5354 * Makefile.in: Rebuild.
5355
40f09f82
JL
53562000-06-21 Kazu Hirata <kazu@hxi.com>
5357
5358 * config/tc-h8300.c (parse_reg): Make the function static.
5359 (parse_exp): Likewise.
5360
78295804
DD
53612000-06-20 DJ Delorie <dj@cygnus.com>
5362
5363 * config/tc-i386.c (tc_i386_fix_adjustable): Revert change from
5364 Sept 1999; RVA relocs need to be treated more like DIR32 relocs
5365 for cygwin import libraries to work properly.
5366
45f85b08
L
53672000-06-20 H.J. Lu <hjl@gnu.org>
5368
5369 * Makefile.am: Rebuild dependency.
5370 * Makefile.in: Rebuild.
5371 * configure: Likewise.
5372 * doc/Makefile.in: Likewise.
5373
39bec121
TW
53742000-06-20 Timothy Wall <twall@cygnus.com>
5375
5376 * doc/internals.texi (CPU backend): Add @itemx for
3e87a760 5377 TC_START_LABEL_WITHOUT_COLON.
39bec121
TW
5378 * doc/c-tic54x.texi: New.
5379 * doc/as.texinfo: Add tic54x features and include primary tic54x
3e87a760 5380 documentation file.
39bec121 5381 * doc/all.texi: Add C54X.
3e87a760 5382 * doc/Makefile.am (CPU_DOCS): Add c-tic54x.texi.
39bec121
TW
5383 * doc/Makefile.in: Regenerate.
5384 * configure.in: Add tic54x and define LIBM for tic54x.
5385 * configure: Regenrate.
5386 * config/tc-tic54x.[ch]: New.
5387 * config/obj-coff.h: Add tic54x.
5388 * Makefile.am: (CPU_TYPES): Add tic54x.
5389 (TARGET_CPU_CFILES): Add 'tc-tic54x.c'.
5390 (TARGET_CPU_HFILES): Add 'tc-tic54x.h'.
5391 (as_new_LDADD): Add $(LIBM).
5392 * Makefile.in: Regenerate.
3e87a760 5393
60bcf0fa
NC
53942000-06-18 Stephane Carrez <stcarrez@worldnet.fr>
5395
5396 * doc/Makefile.am (CPU_DOCS): Added 68hc11 file.
5397 * doc/c-m68hc11.texi: Document 68HC11 and 68HC12 port.
5398 * doc/as.texinfo: Likewise.
5399
5400 * configure, Makefile.in: Regenerate.
5401 * configure.in (emulations): Recognize m6811 and m6812.
5402 * Makefile.am (CPU_TYPES, TARGET_CPU_CFILES, TARGET_CPU_HFILES):
5403 Added files for 68hc11 and 68hc12 assembler.
5404 * config/tc-m68hc11.c: Assembler for 68hc11 and 68hc12.
5405 * config/tc-m68hc11.h: Header definition for that assembler.
5406
ec05f674
NC
54072000-06-18 Nick Clifton <nickc@redhat.com>
5408
24ef8152
NC
5409 * symbols.c (resolve_symbol_value): Use bfd_octets_per_byte
5410 instead of OCTETS_PER_BYTE.
5411
ec05f674 5412 * config/tc-v850.c: Fix compile time warnings.
5480ccf3 5413 * config/tc-ppc.c: Fix compile time warnings.
ec05f674 5414
119caedd
L
54152000-06-18 H.J. Lu <hjl@gnu.org>
5416
5417 * configure.in: Don't emulate i386-pc-pe-coff with i386coff.
5418 * configure: Rebuild.
5419
607723e4
NC
54202000-06-17 Mark Elbrecht <snowball3@bigfoot.com>
5421
3e87a760
AM
5422 * config/obj-coff.c (obj_coff_weak): Typo fix: Change BFD_ASSEMLER
5423 to BFD_ASSEMBLER.
607723e4 5424
b946ec34
NC
54252000-06-16 Nick Clifton <nickc@cygnus.com>
5426
5427 * config/tc-mips.c (md_parse_option): Accept RM5200,RM5230,
5428 RM5231, RM5261, RM5721 and RM7000 as r5000 cpu variants.
5429
5430 * doc/c-mips.texi: Document newly accepted cpu variants.
5431
37ce37b1
UC
54322000-06-15 Ulf Carlsson <ulfc@engr.sgi.com>
5433
5434 * config/tc-mips.h: Remove definition of ONLY_STANDARD_ESCAPES.
5435
c06ae4f2
UC
54362000-06-13 Ulf Carlsson <ulfc@engr.sgi.com>
5437
5438 * macro.c (getstring): Make it possible to escape the quote
5439 character.
5440
20348649
JL
5441Tue Jun 13 20:58:28 2000 Catherine Moore <clm@redhat.com>
5442
5443 * config/tc-hppa.c (pa_export): Weak symbols can be global.
5444
bcef29e6
L
54452000-06-13 H.J. Lu <hjl@gnu.org>
5446
5447 * configure: Regenerate.
5448
63a0b638
AM
54492000-06-09 Alan Modra <alan@linuxcare.com.au>
5450
5451 * app.c (do_scrub_begin): Don't default lex[';'] as a line
5452 separator.
5453 * doc/internals.texi (line_separator_chars): Semicolon is no
5454 longer a default. Mention null and newline as defaults.
5455
5456 * read.c (is_end_of_line): Remove ifdef TC_HPPA.
5457
5458 * config/tc-i386.h (line_separator_chars): Explicitly mention `;'
5459 * config/tc-i860.h (line_separator_chars): Likewise.
5460 * config/tc-h8300.c (line_separator_chars): Likewise.
5461 * config/tc-i960.c (line_separator_chars): Likewise.
5462 * config/tc-m68k.c (line_separator_chars): Likewise.
5463 * config/tc-mips.c (line_separator_chars): Likewise.
5464 * config/tc-ns32k.c (line_separator_chars): Likewise.
5465 * config/tc-sparc.c (line_separator_chars): Likewise.
5466 * config/tc-vax.c (line_separator_chars): Likewise.
5467
5468 * config/tc-h8300.c (comment_chars): Use string initialiser.
5469 * config/tc-i960.c (line_comment_chars): Likewise.
5470 * config/tc-z8k.c (comment_chars, line_comment_chars,
5471 line_separator_chars): Likewise.
5472
5473 * config/tc-arm.c (line_separator_chars): Always use `;', not just
5474 for TE_LINUX.
5475
9bab9349
NC
54762000-06-08 Nick Clifton <nickc@cygnus.com>
5477
5478 * config/tc-arm.c (cons_fix_new_arm): Assign correct reloc value
5479 for size 1 fixes.
5480
946efd95
DB
54812000-06-08 David O'Brien <obrien@FreeBSD.org>
5482
5483 * configure.in (VERSION): Update to show this is the CVS mainline.
5484
6480b79a
DB
54852000-06-08 Matthew Jacob <mjacob@feral.com>
5486
5487 * config/tc-alpha.c (md_undefined_symbol): Properly understand that
5488 $at is the integer register $r28, vs. both $r28 and the floating
5489 point register $f28.
5490
10850f29
JW
54912000-06-08 James E. Wilson <wilson@cygnus.com>
5492
5493 * config/tc-ia64.c (generate_unwind_image): Call ia64_flush_insns.
5494 (dot_endp): Don't call ia64_flush_insns.
5495 (emit_one_bundle): Don't delete prologue/body records from
5496 unwind_record list in first loop. Rewrite second loop to account for
5497 this.
5498
150f24a2
JW
54992000-06-07 David Mosberger <davidm@hpl.hp.com>
5500
5501 * config/tc-ia64.c: Add missing prototypes.
5502 (generate_unwind_image): Cast argument to output_unw_records call.
5503
e38c9cc2
DC
5504Wed Jun 7 22:44:14 2000 Denis Chertykov <denisc@overta.ru>
5505
46b85d42 5506 * config/tc-avr.c (avr_operand): fix the formatting of the comment.
e38c9cc2 5507
1188e082
DC
5508Wed Jun 7 21:26:15 2000 Denis Chertykov <denisc@overta.ru>
5509
5510 * config/tc-avr.c (AVR_ISA_???): moved to include/opcode/avr.h
5511 (REGISTER_P): likewise.
5512 (avr_opcodes): uses include/opcode/avr.h
5513 (avr_operand): enable ld r,Z or st r,Z for at90s1200.
3e87a760 5514
ac743b2c
AM
55152000-06-04 Alan Modra <alan@linuxcare.com.au>
5516
0b545448
AM
5517 * read.c (is_end_of_line): No ';' for TC_HPPA. Add missing
5518 initializers too.
ac743b2c 5519
969e1a7b
L
55202000-06-03 H.J. Lu <hjl@gnu.org>
5521
5522 * read.c (is_end_of_line): Put back `;'.
5523
65172ab8
AM
55242000-06-03 Alan Modra <alan@linuxcare.com.au>
5525
5526 * config/tc-i386.c (md_shortopts): Remove 'm', add 'q' to non-elf.
5527
b75c0c92
AM
55282000-06-01 Alan Modra <alan@linuxcare.com.au>
5529
5530 * expr.c (operand): Test is_end_of_line outside switch to catch
5531 line separator chars that are also operators.
5532 (operator): Return O_illegal for line separator chars.
5533
5534 * read.c (is_end_of_line): Use 1 instead of 99. Don't set `;'
5535 entry (or `!' entry for TC_HPPA).
5536
5537 * config/tc-arm.c (my_get_float_expression): Cast to unsigned char
5538 before indexing is_end_of_line. Remove redundant check for '\0'.
5539 (fp_op2): Likewise.
5540 * config/tc-h8500.c (md_assemble): Likewise.
5541 * config/tc-mcore.c (md_assemble): Likewise.
5542 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
5543 (md_atof): Likewise
5544
5545 * config/tc-m88k.c (s_bss): Cast to unsigned char before indexing
5546 is_end_of_line.
5547 * config/tc-mcore.c (mcore_cons): Likewise.
5548 (mcore_float_cons): Likewise.
5549 (mcore_stringer): Likewise.
5550 * config/tc-tic30.c (tic30_find_parallel_insn): Likewise.
5551
a6836251
SB
55522000-06-01 Scott Bambrough <scottb@netwinder.org>
5553
5554 * config/tc-arm.c (do_mrs): Allow SPSR_BIT to be set correctly.
5555
43841e91
NC
55562000-05-29 Nick Clifton <nickc@cygnus.com>
5557
5558 * config/tc-sh.c: Fix compile time warning messages.
5559
5560 * config/tc-mips.c: Fix compile time warning messages.
5561
a057431b
PB
55622000-05-29 Philip Blundell <philb@gnu.org>
5563
5564 * doc/as.texinfo: Update copyright dates.
a81d9f0c 5565 (Local Labels): Delete misplaced mention of ARM.
a057431b
PB
5566 * NEWS: Mention ARM ELF support.
5567
3c07fb76
AO
55682000-05-27 Alexandre Oliva <aoliva@cygnus.com>
5569
5570 * config/tc-mn10300.c (md_assemble): Copy size to real_size before
5571 it is modified, and use the real_size to compute the frag address
5572 for dwarf2 line info.
5573
ad4d6ccf
AM
55742000-05-27 Alan Modra <alan@linuxcare.com.au>
5575
5576 * Makefile.am (DEP, DEP1, dep, dep-in, dep-am): Use a better sed
5577 line-matching scheme to cope with automake moving variables around.
5578 ($(TARG_CPU_O)): Remove dependency on TARG_CPU_DEP_@target_cpu_type@
5579 * Makefile.in: Regenerate.
5580
6faf3d66
JJ
55812000-05-26 Jakub Jelinek <jakub@redhat.com>
5582
5583 * config/tc-sparc.c (sparc_relax): New.
5584 (md_longopts): Add -relax and -no-relax options.
5585 (md_parse_options, md_show_usage): Likewise.
5586 (md_apply_fix3): Optimize tail call into branch always if possible.
5587
0a44c2b1
DL
5588Thu May 4 15:27:07 2000 Donald Lindsay <dlindsay@cygnus.com>
5589
5590 * config/tc-d10v.c (write_2_short, parallel_ok, md_assemble,
5591 d10v_cleanup) implement Mitsubishi's newly explained branch-packing
5592 rules, with warning when a GAS statement specifies a packing that
5593 will result in an instruction being squashed.
3e87a760
AM
5594 Added typdef packing_type and enumerals, changed various integer
5595 literals to use the enumerals.
0a44c2b1 5596
e0c9811a
JW
55972000-05-24 David Mosberger <davidm@hpl.hp.com>
5598
5599 * config/tc-ia64.c (dot_restorereg_p): New function.
5600 (md_pseudo_table): Add restorereg.p.
5601 (output_X3_format): Fix typo: record type should be UNW_X3, not UNW_X1.
5602 (output_X4_format): Fix typo: record type should be UNW_X4, not UNW_X2.
5603
5604 * config/tc-ia64.h (unw_record_type): Add unwabi.
5605 (unw_r_record): Rename member MASK to GRMASK. Add sub-structure
5606 called MASK with members for imask, and the masks produced by
5607 fr_mem, gr_mem, br_mem, and frgr_mem.
5608 (unw_p_record): Add members ABI and CONTEXT.
5609 (unw_x_record): Add member AB.
5610 * config/tc-ia64.c (enum reg_symbol): Add REG_PSP and REG_PRIUNAT
5611 as pseudo-register for use during unwind info generation.
5612 (AR_PFS, AR_LC): New macros.
5613 (enum pseudo_type): Add PSEUDO_FUNC_REG to permit declaring registers
5614 whose names start with an at sign (as in "@priunat").
5615 (pseudo_func): Add "svr4", "hpux", "nt" constants and "priunat"
5616 register.
5617 (unwind_list, unwind_tail, current_unwind_entry, proc_start,
5618 proc_end, unwind_info, personality_routine): Consolidate into
5619 "unwind" structure to reduce offset-table use. Add member
5620 NEXT_SLOT_NUMBER to track the slot number for the next instruction
5621 to be emitted.
5622 (output_R1_format, output_R3_format, output_P3_format,
5623 output_P6_format): Initialize R with zero to reduce compiler warnings.
5624 (output_P7_format): Ditto. Add `default' branch to switch
5625 statement to reduce compiler warnings.
5626 (output_P8_format, output_B1_format, output_B4_format): Ditto.
5627 (output_P4_format): Rename 2nd & 3rd arg to IMASK and IMASK_SIZE.
5628 (format_ab_reg): Rename from format_a_b_reg. Merge A and B args
5629 into single argument.
5630 (output_X1_format, output_X3_format): Initialize R with zero to reduce
5631 compiler warnings. Merge A and B args into single argument.
5632 (output_X2_format, output_X4_format): Remove unused variable R. Merge
5633 A and B args into single argument.
5634 (free_record): Removed (wasn't used).
5635 (free_list_records): Also free imasks in prologue records.
5636 (output_prologue, output_prologue_gr): Initialize mask bits to zero.
5637 (output_spill_mask): Remove.
5638 (output_unwabi): New function.
5639 (output_epilogue, output_label_state, output_copy_state): Call
5640 alloc_record.
5641 (output_spill_psprel, output_spill_sprel, output_spill_psprel_p,
5642 output_spill_sprel_p, output_spill_reg, output_spill_reg_p): Add AB
5643 argument.
5644 (process_one_record): New locals FR_MASK and GR_MASK. Ignore
5645 gr_mem, fr_mem, br_mem, and frgr_mem records and instead emit them
5646 as part of handling the prologue records. Emit region's imask if
5647 we have one. Handle unwabi, epilogue, label_state, copy_state,
5648 spill_psprel, spill_sprel, spill_reg, spill_psprel_p,
5649 spill_sprel_p, and spill_reg_p records.
5650 (set_imask, count_bits, slot_index): New function.
5651 (fixup_unw_records): Fix region size computation. Handle
5652 epilogue, spill_reg, spill_sprel, spill_psprel, spill_reg_p,
5653 spill_sprel_p, and spill_psprel_p records. Merge mask bits of
5654 frgr_mem, fr_mem, gr_mem, br_mem on a per-region basis and
5655 set_imask accordingly. Update imask for gr_gr, and br_gr records.
5656 (convert_expr_to_ab_reg, convert_expr_to_xy_reg): New function.
5657 (dot_save): Use manifest constants for applicaton registers.
5658 Handle REG_PR and REG_PRIUNAT.
5659 (dot_restore): Don't just ignore it.
5660 (dot_restorereg): New function..
5661 (generate_unwind_image): Ensure unwind info is a multiple of eight
5662 bytes, not just four bytes.
5663 (dot_handlerdata, dot_unwentry): Demand empty rest of line.
5664 (dot_altrp): Don't just ignore it.
5665 (dot_savemem): New function. Replaces dot_savesp() and
5666 dot_savepsp(). Use manifest constants for applicaton registers.
5667 Handle REG_PR and REG_PRIUNAT.
5668 (dot_savef): Simplify.
5669 (dot_saveb): Support generation of br_gr.
5670 (dot_spillreg, dot_spillmem, dot_spillreg_p, dot_spillmem_p,
5671 dot_label_state, dot_copy_state): New function.
5672 (dot_unwabi): Don't just ignore it.
5673 (md_pseudo_table): Add restorereg, spillreg, spillsp, spillpsp,
3e87a760 5674 spillreg.p, spillsp.p, spillpsp, label_state, copy_state,
e0c9811a
JW
5675 unwabi, vframesp, and vframepsp. Fix typo alprp->altrp.
5676 (emit_one_bundle): Set slot number for prologue/body records
5677 *before* emitting the first insn.
5678 (emit_one_bundle): Set UNWIND.NEXT_SLOT_NUMBER.
5679 (md_begin): Declare "psp" pseudo-register.
5680 (md_operand): Handle PSEUDO_FUNC_REG. Fix printing of error message
5681 so we don't get segfault.
5682 (output_psp_sprel): Output sp/psp relative offsets as 4-byte word
5683 counts as required per SW Conventions manual
5684 (output_rp_psprel, output_rp_sprel, output_pfs_psprel,output_pfs_sprel,
5685 output_preds_psprel, output_preds_sprel, output_spill_base,
5686 output_unat_psprel, output_unat_sprel, output_lc_psprel,
5687 output_lc_sprel, output_fpsr_psprel, output_fpsr_sprel,
5688 output_priunat_psprel, output_priunat_sprel, output_bsp_psprel,
5689 output_bsp_sprel, output_bspstore_psprel, output_bspstore_sprel,
5690 output_rnat_psprel, output_rnat_sprel, output_spill_psprel,
5691 output_spill_sprel, output_spill_psprel_p, output_spill_sprel_p):Ditto.
5692 (dot_vframe): Implement.
5693 (dot_vframesp, dot_vframepsp): New function.
5694
f98fd99f
HPN
5695Tue May 23 00:57:05 2000 Hans-Peter Nilsson <hp@axis.com>
5696
5697 * configure.in (i386-*-freebsd a.out entry): Quote properly.
4c8d9ec6 5698 * configure: Regenerate.
f98fd99f 5699
ee7fcc42
AM
57002000-05-23 Alan Modra <alan@linuxcare.com.au>
5701
5702 * config/tc-i386.c (md_assemble): Pass jump reloc in fr_var...
5703 (md_estimate_size_before_relax): so we can use it here instead of
5704 old kludges. Localise vars to blocks. Comment.
5705
5706 * frags.c (frag_new): Update fr_var comments.
5707 * frags.h (struct frag): Ditto.
5708
c67e42c9
RH
57092000-05-22 Richard Henderson <rth@cygnus.com>
5710
5711 * config/tc-ia64.c (FUNC_PC_RELATIVE): New.
5712 (pseudo_func): Add pcrel.
5713 (operand_match): Handle IA64_OPND_TGT64.
5714 (build_insn): Likewise.
5715 (md_begin): Initialize pseudo_func[FUNC_PC_RELATIVE].
5716 (ia64_gen_real_reloc_type): Handle FUNC_PC_RELATIVE.
5717 (fix_insn): Handle all three 64-bit relocation types.
5718
5110c57e
HPN
5719Mon May 22 22:43:32 2000 Hans-Peter Nilsson <hp@axis.com>
5720
5721 * obj.h (struct format_ops): New members begin, app_file,
5722 s_set_other, s_set_desc, s_get_type, s_set_type,
5723 separate_stab_sections, init_stab_section.
5724
5725 * config/obj-multi.h: Update GPL notice to v2.
5726 (obj_begin): New.
5727 (obj_app_file): New.
5728 (S_SET_SIZE): Test s_set_size for NULL before calling.
5729 (S_SET_ALIGN): Similar for s_set_align.
5730 (S_SET_OTHER): New.
5731 (S_SET_DESC): New.
5732 (S_GET_TYPE): New.
5733 (S_SET_TYPE): New.
5734 (SEPARATE_STAB_SECTIONS): New.
5735 (INIT_STAB_SECTION): New.
5736 (EMIT_SECTION_SYMBOLS): New.
5737 (AOUT_STABS) [OBJ_MAYBE_AOUT]: Define.
5738
5739 * config/obj-elf.h: Update GPL notice to v2.
5740 Mention that this file is included from obj-multi.h.
5741 (obj_begin): Wrap definition in ifndef.
5742 (elf_file_symbol): Constify declaration.
5743 (obj_app_file): Ditto.
5744 (SEPARATE_STAB_SECTIONS, INIT_STAB_SECTION, OBJ_PROCESS_STAB):
5745 Wrap in ifndef SEPARATE_STAB_SECTIONS.
5746
5747 * config/obj-elf.c (elf_s_set_other): New.
5748 (elf_file_symbol): Constify argument.
5749 (elf_separate_stab_sections): New.
5750 (elf_init_stab_section): New.
5751 (elf_format_ops): Add new members. Remove comma at end.
5752
5753 * config/obj-ecoff.c (ecoff_separate_stab_sections): New.
5754 (ecoff_format_ops): Add new fields. Remove comma at end.
5755 Mention inconsistency for emit_section_symbols.
5756
5757 * config/obj-coff.h (c_dot_file_symbol): Constify declaration.
5758
5759 * config/obj-coff.c (c_dot_file_symbol): Constify argument.
5760 (coff_separate_stab_sections): New.
5761 (coff_format_ops): Add new members.
5762
5763 * config/obj-aout.c (obj_aout_sec_sym_ok_for_reloc): New.
5764 (obj_aout_s_set_other): New.
5765 (obj_aout_s_set_desc): New.
5766 (obj_aout_s_get_type): New.
5767 (obj_aout_s_set_type): New.
5768 (obj_aout_separate_stab_sections): New.
5769 (aout_format_ops): New members added. Use obj_aout_process_stab,
5770 not 0. Use obj_aout_sec_sym_ok_for_reloc, not 0.
5771 (obj_aout_frob_symbol): Add ATTRIBUTE_UNUSED to args as
5772 appropriate.
5773 (obj_aout_line, obj_aout_weak, obj_aout_type): Ditto.
5774
b98ef147
AM
57752000-05-22 Alan Modra <alan@linuxcare.com.au>
5776
5777 * config/tc-i386.c (tc_i386_fix_adjustable): Prevent adjustment
5778 for OBJ_MAYBE_ELF too. Use S_IS_EXTERNAL instead of S_IS_EXTERN.
5779 (md_estimate_size_before_relax): Ensure jumps to weak and
5780 externally visible symbols are relocatable.
5781
0aa5d426
HPN
5782Sat May 20 16:41:55 2000 Hans-Peter Nilsson <hp@axis.com>
5783
5784 * stabs.c (aout_process_stab): Make global.
5785 (s_desc): Add ATTRIBUTE_UNUSED to args as appropriate.
5786 * read.h (aout_process_stab): Declare.
5787
5788 * configure.in (EMULATIONS) [i386aout, i386coff, i386elf]:
5789 Generalize to *aout, *coff *elf.
5790 * configure: Regenerated.
5791
5792 * doc/internals.texi (Object format backend): Say
5793 SEPARATE_STAB_SECTIONS needs to be nonzero, not just defined.
b8166459
HPN
5794
5795 * Makefile.am (TARG_ENV_HFILES): Delete te-multi.h.
5796 * Makefile.in: Regenerated.
5797
7c3dc350
CM
57982000-05-19 Catherine Moore <clm@cygnus.com>
5799
5800 * cgen.h (GAS_CGEN_MAX_FIXUPS): Check if already defined.
5801
b3b6a3fe
JL
58022000-05-18 Alan Modra <alan@linuxcare.com.au>
5803
5804 * config/tc-hppa.c (md_apply_fix): Mask out immediate bits of
5805 instruction to reflect change in re_assemble_*.
5806
c9e10a08
JL
5807Thu May 18 10:52:14 2000 Jeffrey A Law (law@cygnus.com)
5808
5809 * configure.in (hppa-*-hpux11*): If the cpu is hppa*64*, then
5810 build PA64 ELF tools.
5811 * configure: Rebuilt.
5812
3043679f
AM
58132000-05-17 Alan Modra <alan@linuxcare.com.au>
5814
5815 * Makefile.am: Regenerate dependencies.
5816 * Makefile.in: Regenerate.
5817
322f2c45
NC
58182000-05-15 Nick Clifton <nickc@cygnus.com>
5819
5820 * config/tc-arm.c (struct asm_psr): Add boolean field
5821 distinguishing between CSPR and SPSR. Rename 'number' field
5822 to 'field'.
5823 (psrs): Rearrange contents to match new asm_psr structure.
5824 (arm_psr_parse): Move next to psr_required_here. Make it
5825 return an asm_psr structure.
5826 (psr_required_here): Use asm_psr structure returned by
5827 arm_psr_parse.
5828 (do_msr): Reorganise to allow psr_required_here to be called
5829 only once.
5830 (md_undefined_name): Mark 'name' parameter as unused, since
5831 the COFF target does not use it.
322f2c45 5832
5e6cbf41
PB
58332000-05-14 David O'Brien <obrien@FreeBSD.org>
5834
5835 * config/te-386bsd.h: Clean up comments to adhere to the GNU coding
5836 standards.
5837 * config/te-aux.h: Likewise.
5838 * config/te-dpx2.h: Likewise.
5839 * config/te-go32.h: Likewise.
5840 * config/te-hp300.h: Likewise.
5841 * config/te-hppa.h: Likewise.
5842 * config/te-i386aix.h: Likewise.
5843 * config/te-ic960.h: Likewise.
5844 * config/te-interix.h: Likewise.
5845 * config/te-nbsd532.h: Likewise.
5846 * config/te-pc532mach.h: Likewise.
5847 * config/te-ppcnw.h: Likewise.
5848 * config/te-psos.h: Likewise.
5849 * config/te-sparcaout.h: Likewise.
5850 * config/te-sun3.h: Likewise.
5851 * config/te-sysv32.h: Likewise.
5852
4132022d
AM
58532000-05-14 Alan Modra <alan@linuxcare.com.au>
5854
5855 * config/tc-h8300.c (do_a_fix_imm): Don't rely on `short' being 16
5856 bits. Instead explicitly mask and sign extend. Do the 8 bit mask
5857 and sign extend without an if statement.
5858 (build_bytes): Likewise.
5859
58602000-05-14 Kazu Hirata <kazu@hxi.com>
5861
5862 * config/tc-h8300.c (do_a_fix_imm): Output a reloc for no
5863 X_add_symbol L_32 case.
5864
b4fd930a
AM
58652000-05-14 David O'Brien <obrien@FreeBSD.org>
5866
5867 * config/te-freebsd.h: New file.
5868
a38cf1db
AM
58692000-05-13 Alan Modra <alan@linuxcare.com.au>
5870
897083bd
AM
5871 * asintl.h (gettext, dgettext, dcgettext, textdomain,
5872 bindtextdomain): Replace defines with those from intl/libgettext.h
5873 to quieten gcc warnings.
5874
a38cf1db
AM
5875 * NEWS: Mention x86 .arch and -q.
5876
5877 * config/tc-i386.c (quiet_warnings): New.
5878 (md_assemble): Use quiet_warnings.
5879 (md_parse_option): Set quiet_warnings from -q.
5880 (md_show_usage): Mention -q, delete -m.
5881 (flag_do_long_jump): Delete.
5882 (md_parse_option): Remove -m.
5883 (md_show_usage): Remove -m.
5884 (md_create_long_jump): Remove useless flag_do_long_jump code.
5885
5886 * as.c (parse_args): In case OPTION_DEFSYM, use a valueT to hold
5887 the symbol value, and use bfd_scan_vma if BFD_ASSEMBLER.
5888
e413e4e9
AM
58892000-05-13 Alan Modra <alan@linuxcare.com.au>
5890 Alexander Sokolov <robocop@netlink.ru>
5891
5892 * doc/c-i386.texi (i386-Arch): New section.
5893 (i386-Syntax): Mention .intel_syntax and .att_syntax.
5894
5895 * config/tc-i386.c (cpu_arch_name, cpu_arch_flags): New.
5896 (smallest_imm_type): Use smallest opcode for shift by one if cpu
5897 architecture has been given and is not 486.
5898 (set_cpu_arch): New.
5899 (md_pseudo_table): Add .arch.
5900 (md_assemble): Warn if cpu architecture has been given and an
5901 unsupported instruction.
5902
5903 * config/tc-i386.h (SMALLEST_DISP_TYPE): Delete.
5904 Move operand_types bit defines after relevant template field.
5905 (template): Add cpu_flags.
5906 (Cpu*): Define.
5907 (arch_entry): New.
5908
e8b1cae5
AO
59092000-05-12 Alexandre Oliva <aoliva@cygnus.com>
5910
5911 * config/tc-mn10300.h (md_end): Define.
5912 (mn10300_finalize): Declare.
5913 * config/tc-mn10300.c: Include dwarf2dbg.h.
5914 (debug_line): Define.
5915 (md_assemble): Generate dwarf2 line info.
5916 (mn10300_finalize): New function. Finalize dwarf2 info.
5917
426b0403
AM
59182000-05-11 Ulf Carlsson <ulfc@engr.sgi.com>
5919
5920 * config/tc-mips.c (md_estimate_size_before_relax): Use the
5921 external version of the relocation for weak symbols.
5922
e4c58b25
JW
59232000-05-08 David Mosberger <davidm@hpl.hp.com>
5924
5925 * config/tc-ia64.c (output_P7_format, case mem_stack_f): Output fixed
5926 frame size in units of 16 bytes, as required per SW Conventions manual.
5927 (output_unw_records): Output info-block header as a dword to get
5928 byte-order right.
5929
8fce3f5e
AM
59302000-05-08 Alan Modra <alan@linuxcare.com.au>
5931
5932 * as.h: #include "file", not <file> on files from ../include.
5933 (as_abort, as_fatal): Add ATTRIBUTE_NORETURN.
5934 * config/tc-m68k.c (m68k_ip): Fix signed/unsigned warnings.
5935 (md_convert_frag): Add ATTRIBUTE_UNUSED.
5936 (tc_coff_symbol_emit_hook): Ditto.
5937 (OPTCOUNT): Cast to int to avoid compiler warning.
5938 (md_begin): Fix signed/unsigned warnings.
5939
59402000-05-08 Michael Sokolov <msokolov@ivan.Harhan.ORG>
5941
5942 * config/tc-m68k.c (md_convert_frag_1): Abort if we end up in the
5943 ABRANCH LONG case for a conditional branch on a 68000.
5944 (md_estimate_size_before_relax): Likewise. Also handle
5945 flag_short_refs correctly for ABRANCH, BCC68000, and DBCC.
5946 (m68k-ip: case ABSL): Relax absolute references to 16-bit
5947 PC-relative on all CPUs.
5948 (md_estimate_size_before_relax): Likewise.
5949
fb166ee3
AM
59502000-05-04 Alan Modra <alan@linuxcare.com.au>
5951
5952 * as.c (parse_args): Just mention current year in printed
5953 copyright message.
5954
7a899fff
C
59552000-05-03 J.T. Conklin <jtc@redback.com>
5956
5957 * config/tc-ppc.c (pre_defined_registers): Add entries for vector
3e87a760 5958 unit registers.
7a899fff
C
5959 (md_parse_option): Recognize -m7400.
5960
44877466
ILT
59612000-05-03 Ian Lance Taylor <ian@zembu.com>
5962
5963 * config/atof-ieee.c (gen_to_words): When adding carry back in,
5964 don't permit lp to become less than the words array.
5965
eaa15ab8
NC
59662000-05-03 Rodney Brown <RodneyBrown@pmsc.com>
5967
5968 config/tc-mcore.c (md_apply_fix3): BFD_RELOC_MCORE_PCREL_IMM11BY2
5969 Fix little-endian case.
5970
7c4f6a03
AM
59712000-05-03 David O'Brien <obrien@NUXI.com>
5972
5973 * as.c (parse_args): Update copyright.
5974
da5d444c
AM
59752000-05-03 Mark Elbrecht <snowball3@bigfoot.com>
5976
8a543126 5977 * config/tc-i386.h (SUB_SEGMENT_ALIGN): If TE_GO32, return 4
da5d444c
AM
5978 for the .bss section too.
5979
3f9b03b5
AM
59802000-05-02 Alan Modra <alan@linuxcare.com.au>
5981
5982 * configure.in: Set em=linux for hppa-*-linux.
5983 * configure: Regenerate.
5984 * doc/Makefile.in: Regenerate with correct automake.
5985
5986 * frags.c (frag_grow): Sanity check chunk_size.
5987
5988 * config/obj-elf.h: #include "bfd.h" not <bfd.h>
5989 * config/obj-som.h: Likewise.
5990 * config/obj-ieee.h: Likewise.
5991
5992 * config/tc-hppa.h: Test BFD_ARCH_SIZE, not BFD64.
5993
5994 * config/tc-hppa.c (log2): Only compile when OBJ_SOM.
5995 (md_pseudo_table): Fully initialise OBJ_ELF cases.
5996 (fix_new_hppa): Add ATTRIBUTE_UNUSED to args as appropriate.
5997 (pa_ip): low_sign_unext now returns via function value. Use
5998 re_assemble_* instead of dis_assemble_* and
5999 INSERT_FIELD_AND_CONTINUE combination. Don't call sign_unext
6000 unnecessarily.
6001 (md_convert_frag): Add ATTRIBUTE_UNUSED to args as appropriate.
6002 (md_section_align, md_parse_option, md_show_usage,
6003 md_undefined_symbol, pa_align, pa_block, pa_brtab, pa_try,
6004 pa_callinfo, pa_code, pa_comm, pa_end, pa_enter, pa_entry,
6005 pa_exit, pa_export, pa_import, pa_label, pa_leave, pa_level,
6006 pa_origin, pa_param, pa_proc, pa_procend, pa_space, pa_spnum,
6007 pa_version, pa_compiler, pa_copyright, pa_data, pa_fill, pa_lsym,
6008 pa_text): Likewise.
6009 (md_apply_fix): Change type of new_val to offsetT. Delete w1, w2,
6010 w, resulti. Add insn, val. Move bfd_get_32 and bfd_put_32
6011 outside of switch. Correct mask and shifting errors in case 10
6012 and case -11. In case 21, compare against signed range to suit
6013 hppa_field_adjust changes. In case 12, use re_assemble_12. In
6014 case 17 and case 22, use offsetT variable to properly check range.
6015 Use re_assemble_* here too.
6016 (evaluate_absolute): Change type of value to offsetT. Call
6017 hppa_field_adjust to do the work for us.
6018 (pa_parse_cmpb_64_cmpltr): Delete save_s.
6019 (pa_parse_cmpib_64_cmpltr): Ditto.
6020 (pa_build_unwind_subspace): Delete unused var subseg. Change type
6021 of i to unsigned int.
6022 (pa_type_args): Conditionally declare symbol if OBJ_SOM.
6023 (pa_end_of_source): Return type is void.
6024
a2984248
CM
6025Mon May 1 08:54:23 2000 Catherine Moore <clm@cygnus.com>
6026
6027 * macro.c (macro_expand_body): Don't prepend macro number with zeroes.
6028
df136245
DC
6029Mon May 1 14:19:39 2000 Denis Chertykov <denisc@overta.ru>
6030
6031 * config/tc-avr.c: ATTRIBUTE_UNUSED added to the necessary places.
6032 More comments added.
6033 (md_begin): Removed "construct symbols for each register name".
6034 Because register names conflicts with GCC generated function
6035 names.
6036 (avr_operand): Now constant numbers can be used as a register
6037 identifiers (0 as r0, 31 as r31).
6038 (md_assemble): use skip_space () before parsing instruction
6039 operands.
6040
c1e73230
AM
60412000-05-01 Alan Modra <alan@linuxcare.com.au>
6042
6043 * configure.in: Set bfd_gas=yes on i386-*-pe and i386-*-nt* to
6044 ensure all pe targets use bfd. Remove unnecessary bfd_gas=yes on
6045 arm-*-netbsd* and arm-*-wince as this is set for all arm*.
6046 * configure: Regenerate.
6047
a1934524
AM
60482000-04-29 Andreas Jaeger <aj@suse.de>
6049
6050 * as.h: Correctly check GCC version.
6051
d9b7d820
AM
60522000-04-26 David O'Brien <obrien@FreeBSD.org>
6053
6054 * doc/as.1: Fix unbalanced brackets.
6055
6056 * config/tc-i386.c (comment_chars): Don't use '/' as comment start if
6057 TE_FreeBSD.
6058 (line_comment_chars): Set to '/' if TE_FreeBSD.
6059
cea1ab94
JL
6060Tue Apr 25 11:02:02 2000 Jeffrey A Law (law@cygnus.com)
6061
6062 * configure.in: Configury support for PA64 (currently disabled).
6063 * configure: Rebuilt.
6064
e799a695
AM
60652000-04-25 Machida Hiroyuki <machida@sm.sony.co.jp>
6066
3e87a760 6067 * config/tc-mips.c (s_change_sec): Use record_alignment, not
e799a695
AM
6068 bfd_set_section_alignment.
6069
3b0ec529
AM
60702000-04-25 Alan Modra <alan@linuxcare.com.au>
6071
6072 * config/tc-i386.c (offset_in_range): Ensure shift counts are less
6073 than 32.
6074
adcf07e6
NC
60752000-04-24 Nick Clifton <nickc@cygnus.com>
6076
6077 * doc/c-arm.texi (ARM Directives): Document behaviour of .align 0.
6078 * doc/as.texinfo (Align): Include arm and strongarm in list of
6079 targets that have the second form of the behaviour of the .align
3e87a760 6080 directive.
adcf07e6 6081
5047a41f
JL
60822000-04-24 Mark Klein <mklein@dis.com>
6083
29184774 6084 * config/obj-som.c: Terminate obj_pseudo_table.
5047a41f 6085
a47cf567
NC
6086Mon Apr 24 15:21:11 2000 Clinton Popetz <cpopetz@cygnus.com>
6087
6088 * as.c (parse_args): Allow md_parse_option to override -a listing
6089 option.
6090 * config/obj-coff.c (add_lineno): Change type of offset parameter
6091 from "int" to "bfd_vma."
6092 * config/tc-ppc.c (md_pseudo_table): Add "llong" and "machine."
6093 (ppc_mach, ppc_subseg_align, ppc_target_format): New.
6094 (ppc_change_csect): Align correctly for XCOFF64.
6095 (ppc_machine): New function, which discards "ppc_machine" line.
6096 (ppc_tc): Cons for 8 when code is 64 bit.
6097 (md_apply_fix3): Don't check operand->insert. Handle 64 bit
6098 relocations.
6099 (md_parse_option): Handle -a64 and -a32.
6100 (ppc_xcoff64): New.
6101 * config/tc-ppc.h (TARGET_MACH): Define.
6102 (TARGET_FORMAT): Move to function.
6103 (SUB_SEGMENT_ALIGN): Use ppc_subseg_align.
6104
6105Sun Apr 23 16:45:45 2000 Denis Chertykov <denisc@overta.ru>
6106
6107 * config/tc-avr.c: New AVR_ISA_ defined.
6108 (md_assemble): Handle opcodes with optional operands (lpm,elpm).
6109 (avr_operand): Handle 'a', 'v' and 'z' constraint letters needed
6110 for `fmul', `movw' and `lpm R,Z' instructions.
6111 (avr_operands): Warn if current opcode is a two-word instruction
6112 and previous opcode was cpse/sbic/sbis/sbrc/sbrs.
6113 (avr_opcodes): New commands added.
6114 (REGISTER_P): Check 'a' and 'v' constraint letters.
6115 (mcu_types): New MCU added.
6116
bf3ca999
TW
61172000-04-22 Timothy Wall <twall@cygnus.com>
6118
6119 * config/tc-ia64.c (pseudo_func[]): Add new "nat" entry equivalent
6120 to "natval".
6121 (operand_match): Conditionally insert default bit values for IMMU9.
6122
98e5953c
JL
61232000-04-14 Matthew Green <mrg@cygnus.com>
6124
6125 * configure.in: Add NetBSD/sparc ELF and NetBSD/sparc64 support.
6126 * configure: Rebuilt.
6127
a02fab7e
JL
6128Fri Apr 21 14:29:43 2000 Jeffrey A Law (law@cygnus.com)
6129 Jason Eckhardt <jle@cygnus.com>
6130
c67e42c9 6131 * config/tc-hppa.c (md_apply_fix): Handle new PA2.0 formats.
a02fab7e
JL
6132
6133 * config/tc-hppa.c (CHECK_ALIGN): New macro.
6134 Added handling of new operand types l,y,&,fe,fE,fx.
6135
800eeca4
JW
6136Fri Apr 21 13:20:53 2000 Richard Henderson <rth@cygnus.com>
6137 David Mosberger <davidm@hpl.hp.com>
6138 Timothy Wall <twall@cygnus.com>
6139 Andrew MacLeod <amacleod@cygnus.com>
6140 Jim Wilson <wilson@cygnus.com>
6141
6142 * Makefile.am (CPU_TYPES): Add ia64.
39bec121 6143 (TARGET_CPU_CFILES): Add config/tc-ia64.c.
800eeca4
JW
6144 (TARGET_CPU_HFILES): Add config/tc-ia64.h.
6145 * Makefile.in: Rebuild.
6146 * app.c (do_scrub_chars): Handle DOUBLESLASH_COMMENTS.
6147 * configure: Rebuild.
6148 * configure.in: Recognize ia64 as cpu type. Set bfd_gas.
6149 (ia64-*-elf*, ia64-*-linux-gnu*): New targets.
6150 * expr.c (expr): Handle md_optimize_expr.
6151 * read.c (LEX_HASH): Add comment.
6152 * config/tc-ia64.c, config/tc-ia64.h: New files.
3e87a760 6153
66778679
RH
61542000-04-21 Richard Henderson <rth@cygnus.com>
6155
6156 * config/tc-d30v.c (write_2_short): Disregard opcode1->ecc when
6157 bundling a non-delayed branch type instruction.
6158
aa15f6f7
AO
61592000-04-20 Alexandre Oliva <aoliva@cygnus.com>
6160
6161 * config/tc-mn10300.c (HAVE_AM30): Define.
6162 (md_assemble): Use it.
6163
16adf844
AM
61642000-04-19 Alan Modra <alan@linuxcare.com.au>
6165
742f45cf
AM
6166 * config/obj-elf.c (obj_elf_change_section): Check for changed
6167 section attributes.
6168
16adf844
AM
6169 * Makefile.am: (CPU_MULTI_VALID): Remove.
6170 (MULTI_CPU_TYPES): Define.
6171 (MULTI_CPU_OBJ_VALID): Define.
6172 (DEPTC): Use the above.
6173 (DEPOBJ): Same here.
6174 (DEP2): And here.
6175 Regenerate dependencies.
6176 * Makefile.in: Regenerate.
6177
9c46fb1b
AM
61782000-04-19 Michael Sokolov <msokolov@ivan.Harhan.ORG>
6179
742f45cf 6180 * Makefile.am (YACC, LEX): Get them from configure.
9c46fb1b 6181
508866be
L
61822000-04-18 H.J. Lu (hjl@gnu.org)
6183
6184 * config/tc-i386.c (offset_in_range): Use addressT instead of
9c46fb1b 6185 bfd_vma for non-bfd assemblers.
508866be 6186
ba2adb93
AM
61872000-04-17 Alan Modra <alan@linuxcare.com.au>
6188
6189 * config/tc-i386.c (offset_in_range): Sign extend val so BFD64
6190 doesn't give spurious errors.
6191
12ff5d56
AM
61922000-04-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
6193
66778679 6194 * as.h (SEEK_SET): Define if undefined.
12ff5d56 6195
fc633e5b
AM
61962000-04-13 Alan Modra <alan@linuxcare.com.au>
6197
6198 * config/tc-arm.c (md_apply_fix3): Don't use UL suffix on
6199 constants, and don't assume offsetT is 32 bits.
6200
1ed18ec1
NC
62012000-04-12 Andrew Cagney <cagney@b1.cygnus.com>
6202
6203 * config/tc-d10v.h: Include "write.h" to get definition of fixS.
6204 (md_pcrel_from_section): Add prototype.
6205 (d10v_fix_adjustable): Add prototype.
6206 (d10v_force_relocation): Replace 'struct fix' with 'fixS'.
6207
6208 * config/tc-d10v.c (md_apply_fix3): Add paren around &&.
6209
3db10f32
NC
62102000-04-12 Nick Clifton <nickc@cygnus.com>
6211
6212 * config/tc-d10v.c (find_opcode): Correctly calculate position of
6213 symbol in frag chain.
6214
847f7ad4
AM
62152000-04-10 Alan Modra <alan@linuxcare.com.au>
6216
6217 * config/tc-i386.c (fits_in_signed_byte): Change arg to offsetT.
6218 (fits_in_unsigned_byte, fits_in_unsigned_word): Ditto.
6219 (fits_in_signed_word, smallest_imm_type): Ditto.
6220 (md_assemble): Use an offsetT var to hold offsetT values, not a
6221 long.
6222 (offset_in_range): New.
6223 (md_assemble): Use it.
6224 (md_convert_frag): Change type of target_address, opcode_address,
6225 and displacement_from_opcode_start to offsetT.
6226 (md_create_short_jump): Change type of offset to offsetT.
6227 (md_create_long_jump): Ditto.
6228 (md_apply_fix3): Use -4, not 0xfffffffc for BFD_RELOC_386_PLT32.
6229 (md_chars_to_number): Remove.
6230 (output_invalid): Remove duplicate prototype.
6231
ec694b89
NC
62322000-04-09 Nick Clifton <nickc@cygnus.com>
6233
6234 * Makefile.am (CPU_TYPES): Add 'avr'.
6235 (TARGET_CPU_CFILES): Add 'tc-avr.c'.
6236 (TARGET_CPU_HFILES): Add 'tc-avr.h'.
6237
16adf844 6238 * Makefile.in: Regenerate.
ec694b89
NC
6239
6240 * doc/as.texinfo: Add M32R documentation.
6241
a2d91340 6242Fri Apr 7 15:56:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
3e87a760 6243
a2d91340 6244 * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add
3e87a760 6245 --enable-build-warnings option.
a2d91340
AC
6246 * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
6247 * Makefile.in, configure: Re-generate.
6248
d92b1a8a
NC
62492000-04-07 Nick Clifton <nickc@cygnus.com>
6250
6251 * config/tc-arm.c (md_apply_fix3): Treat BFD_RELOC_ARM_PCREL_BLX
6252 in the same way as BFD_RELOC_ARM_PCREL_BRANCH, and
6253 BFD_RELOC_THUMB_PCREL_BLX lie BFD_RELOC_THUMB_PCREL_BRANCH.
6254 (tc_gen_reloc): Accept BFD_RELOC_{ARM|THUMB}_PCREL_BLX.
6255 (arm_force_relocation): Force relocations for
6256 BFD_RELOC_{ARM|THUMB}_PCREL_BLX as well.
6257
52ccafd0
JR
6258Wed Apr 5 22:26:32 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
6259
6260 * config/tc-sh.c (get_operands): There's no third operand if the
6261 first operand is an immediate.
6262
015551fc
JR
6263Wed Apr 5 22:07:19 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
6264
6265 * config/tc-sh.c (immediate): Delete.
6266 (sh_operand_info): Add immediate member.
6267 (parse_reg): Use A_PC for pc.
6268 (parse_exp): Add second argument 'op'. All callers changed.
6269 (parse_at): Expect pc to be coded as A_PC.
6270 Use immediate field in *op.
6271 (insert): Add fourth argument 'op'. All callers changed.
6272 (build_relax): Add second argument 'op'. All callers changed.
6273 (insert_loop_bounds): New function.
6274 (build_Mytes): Remove DISP_4.
6275 Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}. Add REPEAT.
6276 (assemble_ppi): Use immediate field in *operand.
6277 (sh_force_relocation): Handle BFD_RELOC_SH_LOOP_{START,END}.
6278 (md_apply_fix): Likewise.
6279 (tc_gen_reloc): Likewise. Check for a pcrel BFD_RELOC_SH_LABEL.
6280
79bd78be
AO
6281Wed Apr 5 06:35:45 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6282
6283 * config/tc-sparc.c (sparc_ip): Avoid string pasting.
6284
e30e5a6a
HPN
6285Tue Apr 4 19:27:50 2000 Hans-Peter Nilsson <hp@axis.com>
6286
6287 * internals.texi (CPU backend): Document
6288 TC_CHECK_ADJUSTED_BROKEN_DOT_WORD.
6289
41b49281
AM
62902000-04-04 Alan Modra <alan@linuxcare.com.au>
6291
8ad3436c
AM
6292 * po/gas.pot: Regenerate.
6293
6294 * as.c (show_usage): Restore translated part of bug string.
6295 * gasp.c (show_usage): Likewise.
6296
41b49281
AM
6297 * Makefile.am (MKDEP): Use gcc -MM rather than ../mkdep.
6298 (DEP): Quote when passing vars to sub-make. Use "mv -f" rather
6299 than move-if-change.
6300 (DEP1): Modify for "gcc -MM".
6301 (DEPTC): Likewise.
6302 (DEPOBJ): Likewise.
6303 (DEP2): Likewise.
6304 (CLEANFILES): Add DEPTCA, DEPOBJA, DEP2a, DEPA.
6305 Update dependencies.
6306 * Makefile.in: Regenerate.
6307
0a727238
AO
63082000-04-03 Alexandre Oliva <aoliva@cygnus.com>
6309
6310 * config/tc-mn10300.c (md_pseudo_table): Use constant names.
6311 (md_begin): Likewise.
6312 (HAVE_AM33): New macro.
6313 (md_assemble): Use it. Match r_regs and xr_regs only if
6314 HAVE_AM33.
6315
c20f4f8c
AM
63162000-04-03 Alan Modra <alan@linuxcare.com.au>
6317
6318 * as.h: #include "bin-bugs.h"
6319 * as.c (show_usage): Use REPORT_BUGS_TO.
6320 * gasp.c: #include "bin-bugs.h"
6321 (show_usage): Use REPORT_BUGS_TO.
6322
6323 * config/tc-sparc.c (md_show_usage): Add a trailing newline.
6324
753f6b12
HPN
6325Mon Apr 3 13:56:03 2000 Hans-Peter Nilsson <hp@axis.com>
6326
6327 * write.c (write_object_file) [! WORKING_DOT_WORD]: If defined,
6328 call TC_CHECK_ADJUSTED_BROKEN_DOT_WORD for each word after
6329 adjustments.
6330
726c5dcd
AM
63312000-04-03 Alan Modra <alan@linuxcare.com.au>
6332
6333 * config/tc-i386.c (i386_immediate): Don't assume a constant
6334 immediate is necessarily 16 bits when in 16 bit code mode.
6335 (md_assemble): Instead set guess_suffix here after we have checked
6336 registers.
6337
bf80011a
RH
63382000-04-02 Richard Henderson <rth@cygnus.com>
6339
6340 * config/tc-d30v.c (check_range): Allow signed or unsigned 32-bit
6341 quantities. Correct right shift sign extension.
6342 (build_insn): Make `number' unsigned long. Mask top 6 bits of
6343 32-bit value when shifting into place.
6344
92161534
ILT
63452000-04-01 Ian Lance Taylor <ian@zembu.com>
6346
6347 * app.c: Add ATTRIBUTE_UNUSED as needed.
6348 * config/tc-ppc.c: Likewise.
6349 (ppc_size): Make unsigned long.
6350 (ppc_insert_operand): Add casts to avoid warnings.
6351
447f3982
NC
63522000-03-31 Nick Clifton <nickc@cygnus.com>
6353
6354 * config/tc-d10v.h (md_flush_pending_output): Define.
6355
21d75ec2
NC
63562000-03-29 Nick Clifton <nickc@cygnus.com>
6357
6358 * config/tc-sh.h (SEG_NAME): New macro: return the name of a
6359 segment. Works for both BFD_ASSEMBLER and others.
6360 (SUB_SEGMENT_ALIGN): Use SEG_NAME.
6361
d1a1bf19
NC
63622000-03-29 Nick Clifton <nickc@cygnus.com
6363
6364 * config/tc-arm.c (tinsns): Add "bal" instruction pattern.
6365
224de7a5
AM
63662000-03-28 Alan Modra <alan@linuxcare.com.au>
6367
6368 * listing.c (LISTING_LHS_WIDTH): Default depends on
6369 LISTING_WORD_SIZE.
6370 (LISTING_LHS_WIDTH_SECOND): Default to LISTING_LHS_WIDTH.
6371
5b8274e3
ILT
63722000-03-27 Ian Lance Taylor <ian@zembu.com>
6373
6374 * config/tc-sh.c (md_show_usage): Use backslash before newline in
6375 string literal.
6376
224de7a5 63772000-03-27 Alan Modra <alan@linuxcare.com.au>
adde6300
AM
6378
6379 * config/tc-avr.h (TC_HANDLES_FX_DONE): Define.
6380
6381 * config/tc-avr.c (mcu_types): Add missing initialiser.
6382 (md_pcrel_from_section): Add prototype.
6383 (avr_operand): Remove redundant test of unsigned < 0.
6384 (avr_cons_fix_new): Ensure exp_mod_pm zero on function exit.
6385
63862000-03-27 Denis Chertykov <denisc@overta.ru>
6387
6388 * config/tc-avr.c: New file for AVR support.
6389 * config/tc-avr.h: Likewise.
6390 * configure.in: Add AVR support.
6391 * configure: Regenerate.
6392
9f10757c
TW
63932000-03-26 Timothy Wall <twall@cygnus.com>
6394
6395 * gasp.c (macro_op): Add new argument to check_macro call.
6396 Macro structure definitions moved to macro.h
6397 * sb.h: Add argument to prototype for input_scrub_include_sb.
6398 * input-scrub.c (input_scrub_include_sb): Allow disabling of sb
6399 nesting checks with an additional flag.
6400 (struct input_save): Add flag to indicate whether current sb
6401 should be checked for proper macro/conditional nesting.
6402 (input_scrub_push/pop): Save/restore nest check flag.
6403 (input_scrub_next_buffer): Ditto. Also call end of macro hook if
3e87a760 6404 defined.
9f10757c
TW
6405 * macro.c (check_macro): Allow caller to retrieve parsed macro
6406 information if a pointer is provided. This information may be
6407 used by the new macro hooks.
6408 * macro.h: Update prototype for check_macro. Macro struct
6409 definitions moved here from macro.c/gasp.c.
6410 * read.c (read_a_source_file): Add parameter to check_macro call,
6411 and pass macro info to the macro hook, if defined.
6412 (input_scrub_insert_line): New. Allow insertion of a line of
6413 characters into the input stream.
6414 (input_scrub_insert_file): New. Allow insertion of an arbitrary
6415 file into the input stream.
6416 (s_include): Use input_scrub_insert_file.
6417 * internals.texi: Document new macro hooks.
6418 * as.h: New prototypes added.
3e87a760 6419
224de7a5 64202000-03-26 Alan Modra <alan@linuxcare.com.au>
d0b47220
AM
6421
6422 * config/tc-i386.c: Don't start any as_bad or as_warn message with
6423 an initial capital letter.
6424 (i386_index_check): Reindent.
6425
11424155
NC
64262000-03-19 Nick Clifton <nickc@cygnus.com>
6427
eaa15ab8 6428 * config/tc-arm.c (md_apply_fix3): Fix bug detecting overflow of pc
11424155
NC
6429 relative branches.
6430
43f05576
NC
64312000-03-17 Thomas de Lellis <tdel@windriver.com>
6432
66778679
RH
6433 * config/tc-arm.c (do_t_adr): Flag "adr Rd,label"
6434 instruction operand bad if Rd > 7 when generating
6435 thumb instructions. Prevents for example,
6436 "adr r12,label" from silently failing and generating
6437 the wrong instruction.
3e87a760 6438
67231402
NC
64392000-03-17 Nick Clifton <nickc@cygnus.com>
6440
6441 * config/tc-arm.c (md_apply_fix3): Handle same-section relocations
6442 that have a destingation >= 0x400000.
3e87a760 6443 Fix compile time warning messages.
67231402 6444
a37c8f88
JR
6445Thu Mar 16 23:45:16 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
6446
6447 * config/tc-sh.c (md_begin): When encountering insn that are
6448 not supported by the current arch, only change the name if
6449 its contents are the same as prev_name.
6450 (get_specific): If the the architecture doesn't match, fail.
6451
dead1419
JR
6452Thu Mar 16 21:18:13 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
6453
6454 * config/tc-sh.c (IDENT_CHAR): Define.
6455 (parse_reg): Use it instead of isalnum. Put r[0..7]_bank operand
6456 matching back where it came from.
6457
182e89d3
JR
6458Thu Mar 16 20:58:10 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
6459
6460 * config/tc-sh.c (md_show_usage): Add description of -dsp.
6461
84f73d89
NC
64622000-03-15 Jonathan Larmour <jlarmour@redhat.co.uk>
6463
6464 * config/tc-sh.c (parse_reg): Match r[0..7]_bank operands before
6465 normal operands.
6466
dbbc7809
JL
64672000-03-15 Kazu Hirata <kazu@hxi.com>
6468
6469 * config/tc-h8300.c: Add ATTRIBUTE_UNUSED as appropriate.
6470
271bb601
HPN
6471Mon Mar 13 22:02:59 2000 Hans-Peter Nilsson <hp@axis.se>
6472
6473 * expr.c (operand) [case 'f']: When testing if '0f' can start a
6474 floating-point-number, make sure 'f' is in FLT_CHARS.
6475
8684e216
HPN
6476Sat Mar 11 00:01:39 2000 Hans-Peter Nilsson <hp@axis.se>
6477
6478 * read.c (TC_IMPLICIT_LCOMM_ALIGNMENT): New default-definition.
6479 (s_lcomm_internal): Use it.
6480 * doc/internals.texi (CPU backend): Document it.
6481 * config/obj-evax.h (TC_IMPLICIT_LCOMM_ALIGNMENT): Set to 2**3
6482 bytes.
6483
bb2d6cd7
GK
64842000-03-10 Geoffrey Keating <geoffk@cygnus.com>
6485
6486 * config/tc-mips.c (mips_ip): Don't put stuff in .rodata
6487 when embedded-pic.
6488
6489 * config/tc-mips.c (SWITCH_TABLE): The ELF embedded-pic
3e87a760
AM
6490 implementation doesn't have special handling for switch
6491 statements.
bb2d6cd7
GK
6492 (macro_build): Allow for code in sections other than .text.
6493 (macro): Likewise.
6494 (mips_ip): Likewise.
6495 (md_apply_fix): Do pc-relative relocation madness for MIPS ELF.
3e87a760 6496 Don't perform relocs if we will be outputting them.
bb2d6cd7 6497 (tc_gen_reloc): For ELF, just use fx_addnumber for pc-relative
3e87a760
AM
6498 relocations. Allow BFD_RELOC_16_PCREL_S2 relocs when
6499 embedded-pic.
bb2d6cd7 6500
5c86cbc7 65012000-03-09 Catherine Moore <clm@cygnus.com>
3e87a760 6502
66778679
RH
6503 * config/tc-m32r.c (m32r_fix_adjustable): Look up the
6504 relocation type based on the entry in the fixup structure.
a47cf567 6505 Put S_IS_EXTERN processing back in.
5c86cbc7 6506
f8c827e9
L
65072000-03-08 H.J. Lu (hjl@gnu.org)
6508
6509 * Makefile.am (install-exec-tooldir): Depend on
6510 install-exec-bindir for parallel make.
6511 * Makefile.in: Regenerated.
6512
8ad9e709
NC
65132000-03-06 Nick Clifton <nickc@cygnus.com>
6514
6515 * config/tc-m32r.c (struct md_longopts): Add -m32r command line
6516 switch.
6517 (md_parse_option): Parse -m32r command line switch - disable m32rx
6518 compatability.
ded0aeb7
NC
6519 (md_show_usage): Document new option.
6520
6521 * doc/Makefile.am (CPU_DOCS): Add c-m32r.texi.
6522 * doc/Makefile.in: Regenerate.
6523 * doc/c-m32r.texi (M32R-Opts): Document new command line switch.
8ad9e709 6524
b7b8f327
MM
65252000-03-02 Michael Meissner <meissner@redhat.com>
6526
6527 * config/tc-d30v.c (check_range): Remove code that incorrectly
6528 sign extended values where bits < 32.
6529
15886821
L
65302000-03-02 H.J. Lu (hjl@gnu.org)
6531
6532 * configure.in: Support --enable-targets=all on ia32.
6533 * configure: Regenerated.
6534
8bf950bf
NC
65352000-03-01 Nick Clifton <nickc@cygnus.com>
6536
6537 * gasp.c (do_align): Remove bogus check of alignment value.
6538
c5e54cc2
ILT
65392000-02-27 Thomas de Lellis <tdel@windriver.com>
6540
6541 * config/obj-elf.c (elf_frob_symbol): Remove code which when
6542 TC_PPC was defined forced the type of a symbol with no other type
6543 to be BSF_OBJECT.
6544
65fd87bc
ILT
65452000-02-27 Hans-Peter Nilsson <hp@axis.com>
6546
6547 * doc/internals.texi (CPU backend): Mention that
6548 line_separator_chars do not break up comments. Fix typos for
6549 LEX_AT and LEX_NAME descriptions. Document operands for
6550 TC_EQUAL_IN_INSN, md_operand and md_section_align. Correct
6551 description of md_create_short_jump usage. Document argument for
6552 md_undefined_symbol.
6553
a25fe906
ILT
65542000-02-27 Jakub Jelinek <jakub@redhat.com>
6555
6556 * config/tc-sparc.c (OPTION_UNDECLARED_REGS): New option.
6557 (md_parse_option): Handle it.
6558 (md_show_usage): Document it.
6559
21b10511
ILT
65602000-02-27 Ian Lance Taylor <ian@zembu.com>
6561
6562 * config/tc-alpha.c (md_assemble): Accept `1' and `9' in an
6563 opcode, for the instruction `pal19'. From Andrea Arcangeli
6564 <andrea@suse.de>.
6565
773f551c
AM
65662000-02-26 Alan Modra <alan@spri.levels.unisa.edu.au>
6567
6568 * config/tc-i386.c (i386_immediate): Move constant operand sizing
6569 from here..
6570 (md_assemble): To here, before template operands are matched.
6571 Also ensure a constant immediate is sign extended when we know the
6572 size is at most 16 bits. This is to catch cases like "add
6573 $0xffc0,%ax" where we don't know the size, and thus that the
6574 immediate can be represented as Imm8S until after parsing the
6575 register operand.
6576 (i386_displacement): Similarly sign extend 16 bit constant
6577 displacements.
6578 (md_assemble): Relax 16-bit jump constant range check to suit sign
6579 extended displacements.
6580
28d33191
JL
65812000-02-26 Andreas Jaeger <aj@suse.de>
6582
6583 * doc/c-mips.texi (MIPS Opts): Fix typo in last patch.
6584
cc5ca5ce
AM
65852000-02-25 Alan Modra <alan@spri.levels.unisa.edu.au>
6586
6587 * config/tc-i386.c (md_assemble): Don't swap intersegment jmp and
6588 call operands when intel_syntax.
6589 (intel_float_operand): Return 2 for "fi...".
6590 (i386_operand_modifier): Change "DWORD PTR" test to suit above.
6591 Return SHORT_MNEM_SUFFIX for "WORD PTR" when "fi...". Revert
6592 earlier "SHORT" change.
6593 (md_assemble): When determining suffix from Regs, exclude
6594 InOutPortReg.
6595
056350c6
NC
65962000-02-24 Nick Clifton <nickc@cygnus.com>
6597
6598 * configure: Add arm-wince, mips-pe and sh-pe targets.
6599 * configure: Regenerate.
6600
6601 * config/obj-coff.h (COFF_WITH_PE): Define for mips-pe and
6602 sh-pe targets.
6603 (TARGET_FORMAT): Set to "pe-shl" for the sh-pe target and to
6604 "pe-mips" for the mips-pe target.
6605
6606 * config/tc-arm.c (insns): Change displacement encoded in BL
6607 and B instructions if the target port is arm-wince.
6608 (do_ldst): Do not bias the relocation offset if the target
6609 port is arm-wince.
6610 (md_pcrel_from): Add in missing relocation offset bias if the
6611 target os arm-wince.
6612
6613 * config/tc-mips.c (mips_target_format): Support COFF flavour.
6614 (md_begin): Disable -G support for mips-pe target.
6615 (md_apply_fix): Treat BFD_RELOC_RVA reloc as BFD_RELOC_32.
6616 * config/tc-mips.h (USE_GLOBAL_POINTER_OPT): Add support for
6617 COFF flavour.
6618
6619 * config/tc-sh.c (md_begin): sh-pe target is little endian.
6620 * config/tc-sh.h (SUB_SEGMENT_ALIGN): If using a BFD
6621 assembler, just set the alignment to 4.
6622
6623 * config/te-wince-pe.h: New file for WinCE targets. Define
6624 TE_WINCE.
6625
36bf8ab9
AM
66262000-02-25 Alan Modra <alan@spri.levels.unisa.edu.au>
6627
6628 * config/tc-i386.c (md_assemble): Swap segments too for intel mode
6629 string instructions.
6630 (i386_operand_modifier): Set i.suffix = WORD_MNEM_SUFFIX for SHORT.
6631 (i386_intel_memory_operand): After finding a segment override,
6632 check again for no `[' before looking for a displacement. Bomb if
6633 more than one displacement rather than silently discarding the
6634 second and subsequent ones. Free strings malloc'd by
6635 build_displacement_string.
6636
f5795b08
CM
66372000-02-24 Catherine Moore <clm@cygnus.com>
6638
6639 * config/obj-som.c (obj_pseudo_table): Add "weak".
6640 (obj_som_weak): New routine.
6641
abd63a32
AM
66422000-02-24 Alan Modra <alan@spri.levels.unisa.edu.au>
6643
520dc8e8
AM
6644 * config/tc-i386.c (union i386_op): New.
6645 (struct _i386_insn): Delete disps[], imms[], regs[]. Add op[].
6646 Throughout file replace occurences of disps[n], imms[n], regs[n]
6647 with equivalent op[n].disps, op[n].imms, op[n].regs. Simplify
6648 intel mode operand swapping. Add assert in regKludge and
6649 fake_zero_displacement code. Test i.types[n] when outputting
6650 displacements and immediates. Combine output of Disp16 with
6651 Disp32.
7f3f1ea2
AM
6652 (md_assemble): Don't try to fix broken UNIXWARE_COMPAT opcodes
6653 when in intel mode by (not) reversing fsub and fdiv operands
6654 before the template search. This fails for single operand
6655 shorthand forms of the instruction, and if UNIXWARE_COMPAT is
6656 undefined. Instead fix the base_opcode after we've found the
6657 template. Move base_opcode xor with found_reverse_match from
6658 opcode output code to before this fix so we test for the correct
6659 opcodes.
6660 (md_assemble): Don't use strcmp when deciding to ignore the suffix
6661 check in intel mode. Instead compare opcodes.
520dc8e8
AM
6662
6663 * config/tc-i386.h (TC_RELOC): Delete.
6664 * config/tc-i386.c (TC_RELOC): Delete. Replace usage of TC_RELOC
6665 with equivalent call to reloc.
6666
abd63a32
AM
6667 * as.h (flag_m68k_mri): Move declaration after target include, and
6668 only declare when TC_M68K defined. Define as zero otherwise.
6669 (LABELS_WITHOUT_COLONS, NO_PSEUDO_DOT): If undefined, define as 0.
6670 * app.c (scrub_m68k_mri): Declare only when TC_M68K defined.
6671 Define as zero otherwise.
6672 (do_scrub_begin): Use m68k_mri parameter only when TC_M68K defined.
6673 (struct app_save): Declare scrub_m68k_mri only when TC_M68K.
6674 (app_push, app_pop): Save scrub_m68k_mri only when TC_M68K.
6675 (do_scrub_chars): Use LABELS_WITHOUT_COLONS directly rather than
6676 testing whether defined.
6677 * cond.c (ignore_input): Use NO_PSEUDO_DOT directly.
6678 * expr.c (operand): #ifdef unused case labels when TC_M68K undefined.
6679 * read.c: Use LABELS_WITHOUT_COLONS and NO_PSEUDO_DOT directly
6680 rather than testing whether defined.
6681 (s_mri): Set flag_m68k_mri only when TC_M68K defined.
6682 (parse_mri_cons): Declare and use only when TC_M68K.
6683 * config/tc-hppa.h (LABELS_WITHOUT_COLONS): Define as 1.
6684 * config/tc-m68k.h (NO_PSEUDO_DOT): Define as 1.
6685 * config/tc-m88k.h (NO_PSEUDO_DOT): Define as 1.
6686
6687 * NEWS: Mention IBM 370 support.
6688
7e052742
RH
66892000-02-23 Richard Henderson <rth@cygnus.com>
6690
6691 * config/tc-i386.c (md_assemble): When swapping operands for
6692 intel_syntax, assume everything that's not Imm or Disp is a
6693 register.
6694
5b93d8bb
AM
66952000-02-23 Linas Vepstas <linas@linas.org>
6696
6697 * config/tc-i370.c, config/tc-i370.h: New files.
6698 * Makefile.am: Add support for Linux/IBM 370.
6699 * configure.in: Likewise.
6700 * app.c (do_scrub_begin): Don't lex single quote when TC_I370.
6701 * config/obj-elf.c: Include elf/i370.h
6702 (obj_elf_section): Don't do anything special for flag_mri if TC_I370.
6703
6704 * Makefile.in: Regenerate.
6705 * configure: Regenerate.
6706
6707 * doc/c-i370.texi: New file.
6708 * doc/all.texi: Include it.
6709 * doc/as.texinfo: And here.
3e87a760 6710 * doc/Makefile.am(CPU_DOCS): Add c-i370.texi.
5b93d8bb
AM
6711 * doc/Makefile.in: Regenerate.
6712
25f2196d
CC
67132000-02-19 Michael Meissner <meissner@redhat.com>
6714
6715 * config/tc-d30v.c (parallel_ok): Use FLAG_NOT_WITH_ADDSUBppp to
6716 determine if an instruction can be used in parallel with an ADDppp
6717 or SUBppp instruction.
6718
6349b5f4
AH
67192000-02-22 Andrew Haley <aph@cygnus.com>
6720
6721 * doc/c-mips.texi (MIPS Opts): Document -mgp32 and -mgp64.
6722
2f6d2f85 67232000-02-22 Andrew Haley <aph@cygnus.com>
c97ef257
AH
6724
6725 * config/tc-mips.c (mips_gp32): New variable.
6726 (macro_build) Use mips_gp32.
6727 (mips_ip): Ditto.
6728 (md_longopts): Add "-mgp32" and "-mgp64".
6729 (md_parse_option): Add OPTION_GP32 and OPTION_GP64.
3e87a760 6730
a47cf567
NC
6731 (OPTION_M7900): Change offset
6732 (OPTION_NO_M7900): Ditto.
6733
b985eaa8
ILT
67342000-02-22 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6735
6736 * config/obj-coff.c (add_lineno): Accept non-positive lineno with
6737 warning, and bump it to 1.
6738
52454417
ILT
67392000-02-22 Ian Lance Taylor <ian@zembu.com>
6740
6741 From Brad Lucier <lucier@math.purdue.edu>:
6742 * dwarf2dbg.c (print_stats): Add cast to force printf argument to
6743 match format.
6744
6b76fefe
CM
67452000-02-21 Catherine Moore <clm@cygnus.com>
6746
6747 * config/tc-mips.c (MF_HILO_INSN): Define.
6748 (mips_7000_hilo_fix): Declare.
6749 (append_insn): Conditionally insert nops after an mfhi/mflo insn.
6750 (md_parse_option): Check for 7000_HILO_FIX options.
6751 (OPTION_M7000_HILO_FIX): Define.
6752 (OPTION_NO_M7000_HILO_FIX): Define.
6753 * doc/c-mips.texi (-mfix7000): Describe.
6754
f6af82bd
AM
67552000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
6756
6757 * listing.c (print_lines): Remove unused variable `end'.
6758
6759 * config/tc-i386.c (md_assemble): Use `reloc()' to select reloc
6760 type for JumpInterSegment output. Use enum bfd_reloc_code_real for
3e87a760 6761 reloc_type when BFD_ASSEMBLER.
f6af82bd
AM
6762 (md_estimate_size_before_relax): Use enum bfd_reloc_code_real for
6763 reloc_type when BFD_ASSEMBLER. Move common code out of switch
3e87a760 6764 statement and quell signed vs. unsigned comparison warning.
f6af82bd 6765
8c8281f4
NC
67662000-02-18 Nick Clifton <nickc@cygnus.com>
6767
6768 * config/tc-d10v.c (find_opcode): Add a symbol's value to
6769 the computed frag offset, rather than overwriting it.
6770
d4845d57
JR
6771Thu Feb 17 00:11:08 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
6772
6773 * config/tc-sh.c ("elf/sh.h"): Include.
6774 (sh_dsp, valid_arch, reg_x, reg_y, reg_efg): New static variables.
6775 (md.begin): Initialize target_arch.
6776 Only include opcodes in has table that match selected architecture.
6777 (parse_reg): Recognize register names for sh-dsp.
6778 (parse_at): Recognize post-modify addressing.
6779 (get_operands): The leading space is now optional.
6780 (get_specific): Remove FDREG_N support. Add support for sh-dsp
6781 arguments. Update valid_arch.
6782 (build_Mytes): Add support for SDT_REG_N.
6783 (find_cooked_opcode): New function, broken out of md_assemble.
6784 (assemble_ppi, sh_elf_final_processing): New functions.
6785 (md_assemble): Use find_cooked_opcode and assemble_ppi.
6786 (md_longopts, md_parse_option): New option: -dsp.
6787 * config/tc-sh.h (elf_tc_final_processing): Define.
6788 (sh_elf_final_processing): Declare.
6789
c97305a1
JL
6790Fri Feb 11 14:21:51 2000 Jeffrey A Law (law@cygnus.com)
6791
6792 * config/tc-hppa.c (pa_build_unwind_subspace): Use subseg_new to create
6793 the unwinder subspace. Save the current seg/subseg before creating
6794 the new seg/subseg.
6795
bec50466
NC
67962000-02-10 Nick Clifton <nickc@cygnus.com>
6797
6798 * config/tc-mcore.c (INST_BYTE0): Redefine to handle big and
66778679 6799 little endian targets.
bec50466 6800 (INST_BYTE1): Redefine to handle big and little endian
66778679 6801 targets.
bec50466
NC
6802 (cpu_type): New type: Select between M340 and M210.
6803 (parse_psrmod): New function: Parse the PSRCLR and PSRSET
66778679 6804 instructions of the M340.
bec50466 6805 (md_assemble): Add support for the MULSH and OPSR classes of
66778679 6806 instructions.
bec50466
NC
6807 (md_atof): Add support for little endian targets.
6808 (md_parse_option): Add support for -EL, -EB and -mcpu command
66778679 6809 line switches.
bec50466
NC
6810 (md_convert_frag): Add support for little endian targets.
6811 (md_apply_fix3): Add support for little endian targets.
6812 (md_number_to_chars): Add support for little endian targets.
6813
a25c045a
TW
68142000-02-10 Timothy Wall <twall@redhat.com>
6815
6816 * read.c (read_a_source_file): If TC_START_LABEL_WITHOUT_COLON is
6817 defined, use it to verify the symbol just read should be a label.
6818
f28e8eb3
TW
68192000-02-10 Timothy Wall <twall@redhat.com>
6820
6821 * app.c (do_scrub_chars): Handle "||" for parallel instructions
6822 when DOUBLEBAR_PARALLEL is defined. Avoid stripping whitespace
6823 around colons when KEEP_WHITE_AROUND_COLON is defined.
6824 * doc/internals.texi (CPU backend): Document DOUBLEBAR_PARALLEL
6825 and KEEP_WHITE_AROUND_COLON.
6826
6dc19fc4
TW
68272000-02-08 Timothy Wall <twall@redhat.com>
6828
6829 * read.c (s_rept): Call do_repeat, which abstracts the repeat
3e87a760 6830 logic.
6dc19fc4 6831 (do_repeat): New. Abstract repeat logic so that a "break" can be
3e87a760 6832 implemented.
6dc19fc4
TW
6833 (end_repeat): New. Provide support for a "break" out of the
6834 repeat loop.
6835 * read.h: Add prototypes for new functions.
3e87a760 6836
f805106c
TW
68372000-02-08 Timothy Wall <twall@redhat.com>
6838
6839 * doc/internals.texi: Document NUMBERS_WITH_SUFFIX macro.
6840 * as.h: Provide a default NUMBERS_WITH_SUFFIX definition (zero).
6841 * expr.c: Handle numbers with suffixes if NUMBERS_WITH_SUFFIX is
3e87a760
AM
6842 non-zero.
6843
4469be0f
TW
68442000-02-08 Timothy Wall <twall@redhat.com>
6845
6846 * read.c: Added elseif to directives table.
6847 * read.h: Added prototype for s_elseif.
6848 * doc/as.texinfo: Added description for elseif.
6849 * cond.c (s_elseif): New function
3e87a760 6850
24a17b6c
TW
68512000-02-04 Timothy Wall <twall@redhat.com>
6852
6853 * listing.c (print_lines): Remove conditionals causing bug in
3e87a760 6854 listings.
24a17b6c 6855
bea9907b 68562000-02-03 Timothy Wall <twall@cygnus.com>
3e87a760 6857
bea9907b
TW
6858 * as.h: Define OCTETS_PER_BYTE and OCTETS_PER_BYTE_POWER
6859 default values.
6860 * frags.c (frag_new): Calculate fr_fix in octets
6861 (frag_now_fix) Return offset as target address offset (bytes).
6862 (frag_now_fix_octets) New - Return offset in octets (8-bit
3e87a760 6863 quantities).
bea9907b
TW
6864 * frags.h: Added prototype for frag_now_fix_octets().
6865 Distinguish between octets and bytes in field descriptions.
6866 * listing.c (calc_hex): Account for octets vs bytes when
6867 printing addresses/offsets.
6868 (print_lines) Ditto. Also, if LISTING_WORD_SIZE is not 1, and
6869 target is little-endian, print the octets in a word in big-endian
6870 order so that the display looks like a proper hexadecimal number,
6871 instead of having the octets reversed.
6872 * read.c (do_align): When recording alignment, alignment power
6873 should be in terms of target bytes (minimum addressible unit)
6874 instead of octets.
6875 (do_org) Convert ORG target address (byte) argument into an
6876 octet offset when generating a variable fragment.
6877 * symbols.c (resolve_symbol_value): Symbol final value
6878 converted to a target address offset (bytes) from its octet offset.
6879 * config/obj-coff.c (coff_frob_symbol): Symbol target address
6880 offset (bytes) is adjusted by the frag offset (octets) converted
6881 to bytes.
6882 (coff_frob_section) Section alignment power is in terms of bytes;
6883 convert it to an octet alignment power when calculating size (and
6884 size mask) in octets. Don't modify the section size in order to
6885 "align" it for TI COFF, since that format has a different method
6886 for storing alignment information.
3e87a760 6887
210dcc61
TW
68882000-02-01 Timothy Wall <twall@cygnus.com>
6889
6890 * stabs.c (generate_asm_file): Escape backslashes in stabs file
6891 entries, matching the way GCC generates them. If not escaped, the
6892 filename is encoded incorrectly.
6893
557537a5 68942000-01-31 Nick Clifton <nickc@cygnus.com>
eaa15ab8 6895
557537a5
NC
6896 * config/tc-arm.c (reg_table): Add support for ATPCS register
6897 naming conventions.
2c1c4c62 6898
557537a5 68992000-01-31 Geoff Keating <geoffk@cygnus.com>
3e87a760 6900
2c1c4c62
GK
6901 * config/obj-coff.h (OBJ_COPY_SYMBOL_ATTRIBUTES): Don't define if
6902 already defined.
3e87a760 6903 * config/tc-ppc.h [OBJ_XCOFF] (OBJ_COPY_SYMBOL_ATTRIBUTES):
2c1c4c62
GK
6904 New macro.
6905 * config/tc-ppc.c (ppc_fix_adjustable): Don't look at the frag
6906 of a symbol when we really care about its value.
6907
23fe39df 69082000-01-19 Chandra Chavva <cchavva@cygnus.com>
2d473ce9
NC
6909
6910 * config/tc-mcore.c (md_assemble): Give warning message if
6911 operands passes to instruction are more than the spec.
6912
2f0ca46a
NC
69132000-01-27 Thomas de Lellis <tdel@windriver.com>
6914
66778679 6915 * config/tc-arm.c (armadjust_symtab): If the assembler is in
2f0ca46a 6916 Thumb mode but the label seen was not declared as '.thumb_func'
23fe39df 6917 then set the ST_INFO type to STT_ARM_16BIT mode. This allows
3e87a760 6918 correct disassembly of Thumb code bounded by non function labels.
2f0ca46a 6919
4c63da97
AM
69202000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au>
6921
6922 * Makefile.am (MULTI_CFILES): Add config/e-i386aout.c
6923 Add dependencies for e-i386aout.o. Fix 2 comment lines.
6924
6925 * Makefile.in: Same here.
6926 Update copyright.
6927
6928 * configure.in: Set bfd_gas for i386-aout when primary target
6929 is bfd. Handle i386aout emulation. Don't use te_file=multi, as
6930 we may need the primary te_file. Remove incorrect comment.
6931
6932 * configure: Regenerate.
6933
6934 * config/e-i386aout.c: New file.
6935
6936 * as.c (USE_EMULATIONS): Move to before print_version_id.
6937 (struct emulation): Add i386aout.
6938 (show_usage): Split text strings. Reformat -a text. Add --em
6939 help.
6940 Update copyright.
6941
6942 * obj.h (struct format_ops): Add s_get_other and s_get_desc.
6943 (aout_format_ops): New.
6944 Update copyright.
6945
6946 * read.c (s_lcomm_internal): Rewrite OBJ_AOUT,OBJ_BOUT
6947 preprocessor conditional and add aout USE_EMULATIONS tests.
6948 (read_a_source_file): Don't pass error strings to printf as
6949 format arg.
6950 Update copyright.
6951
6952 * gasp.c (exp_get_abs): Don't pass error strings to printf as
6953 format arg.
6954 (do_data): Same here.
6955 (process_file): And here.
6956 Update copyright.
6957
6958 * symbols.c (colon): Rewrite "already defined" fatal message
6959 code for aout with USE_EMULATIONS.
6960 Update copyright.
6961
6962 * config/obj-aout.c (OBJ_HEADER): Define.
6963 (obj_pseudo_table): Rename to aout_pseudo_table. Init all
3e87a760 6964 fields of sentinel.
4c63da97
AM
6965 (obj_aout_frob_symbol): Expand S_GET_DESC, S_GET_TYPE,
6966 S_GET_OTHER, S_SET_TYPE macros since we don't need obj-multi
6967 forms here.
6968 (obj_aout_type): Expand S_SET_OTHER here too.
6969 (obj_read_begin_hook): Remove.
6970 (aout_pop_insert): New.
6971 (obj_aout_s_get_other): New.
6972 (obj_aout_s_get_desc): New.
6973 (aout_format_ops): New.
6974 Update copyright.
6975
6976 * config/obj-aout.h (obj_pop_insert): Define so non-multi usage
6977 gets aout_pseudo_table.
6978 (aout_pseudo_table): Declare.
6979 (obj_read_begin_hook): Define.
6980 Update copyright.
6981
6982 * config/obj-coff.c (obj_pseudo_table): Rename to
6983 coff_pseudo_table.
6984 (coff_pop_insert): Use coff_pseudo_table.
6985 (coff_sec_sym_ok_for_reloc): Remove.
6986 (coff_format_ops): Add 0 entries for s_get_size, s_set_size,
6987 and comment all zero entries and remove #if 0 code.
6988 Update copyright.
6989
6990 * config/obj-coff.h (obj_pop_insert): Define.
6991 (coff_pseudo_table): Declare.
6992 Update copyright.
6993
6994 * config/obj-ecoff.c (ecoff_format_ops): Add 0 entries for
6995 s_get_size, s_set_size. Comment all zero entries.
6996 Update copyright.
6997
6998 * config/obj-elf.c (elf_s_get_other): New function.
6999 (obj_read_begin_hook): Rename to elf_obj_read_begin_hook.
7000 (obj_symbol_new_hook): Rename to elf_obj_symbol_new_hook.
7001 (elf_format_ops): Add elf_s_get_other, 0 s_get_size entry, and
7002 comment.
7003 (obj_elf_parse_section_letters): Don't pass error strings to
7004 printf as format arg.
7005 Update copyright.
7006
7007 * config/obj-elf.h (ECOFF_DEBUGGING): Define when
7008 OBJ_MAYBE_ECOFF.
7009 (elf_s_get_other): Declare.
7010 (S_GET_OTHER) Define as elf_s_get_other if not already
7011 defined.
7012 (S_SET_OTHER): Only define when not already defined.
7013 (elf_obj_read_begin_hook): Declare.
7014 (obj_read_begin_hook): Define.
7015 (elf_obj_symbol_new_hook): Declare.
7016 (obj_symbol_new_hook): Define.
7017 Update copyright.
7018
7019 * config/obj-multi.h: Add copyright header and protect against
7020 multiple inclusion. Add * to all function pointers.
7021 (OBJ_HEADER): If defined, include it rather than other defines
7022 in this file.
7023 (obj_frob_file_after_relocs): Test for NULL.
7024 (obj_symbol_new_hook): Here too.
7025 (obj_sec_sym_ok_for_reloc): And here.
7026 (S_GET_OTHER): Define.
7027 (S_GET_DESC): Define.
7028 (ECOFF_DEBUGGING): Remove as it's done in obj-elf.h
7029 (OBJ_MAYBE_ELF): Update comment.
7030
7031 * config/tc-i386.c (i386_immediate): Add OBJ_MAYBE_AOUT to
7032 OBJ_AOUT preprocessor conditional and handle emulation by
7033 testing OUTPUT_FLAVOR.
7034 (i386_displacement): Here too.
7035 (md_section_align): Similarly here.
7036 (i386_target_format): Conditionally compile when more than one
7037 of OBJ_MAYBE_{ELF,COFF,AOUT} defined. Add aout case.
7038 (i386_immediate): Fix error message for aout BFD_ASSMBLER.
7039 (i386_displacement): Here too.
7040 Update copyright.
7041
7042 * config/tc-i386.h (AOUT_TARGET_FORMAT): Define for each TE_*.
7043 Define TARGET_FORMAT for aout only when not multi.
7044 Update copyright.
7045
7046 * config/te-multi.h: Delete file as it's identical to te-generic.h
7047
add0c677
AM
70482000-01-15 Alan Modra <alan@spri.levels.unisa.edu.au>
7049
7050 * config/tc-i386.h (DWORD_MNEM_SUFFIX): Delete.
7051 * config/tc-i386.c (DWORD_MNEM_SUFFIX): Rename all occurrences to
7052 LONG_MNEM_SUFFIX.
7053
7054 * config/tc-i386.h (INTEL_DWORD_MNEM_SUFFIX): Rename to
7055 DWORD_MNEM_SUFFIX.
7056 * config/tc-i386.c (INTEL_DWORD_MNEM_SUFFIX): Here too. Fix some
7057 comments.
7058
a19d8eb0
CP
70592000-01-13 Clinton Popetz <cpopetz@cygnus.com>
7060
66778679
RH
7061 * config/tc-mips.c (mips_do_align): New function.
7062 * config/tc-mips.h (md_do_align): Define.
a19d8eb0 7063
550262c4
NC
70642000-01-10 Philip Blundell <philb@gnu.org>
7065
7066 * doc/c-arm.texi (ARM Options): Fix typo.
3e87a760 7067 (ARM-Chars): Correct description of `#'. Mention that `;' is a
550262c4
NC
7068 line separator for Linux.
7069 * doc/as.texinfo (Comments): Mention the ARM.
7070
0decc840
NC
70712000-01-10 Philip Blundell <pb@futuretv.com>
7072
7073 * configure.in (arm*-*-conix*): New target.
7074 (arm*-*-linux-gnu*): Match instead of arm-*-linux* and
7075 armv*-*-linux-gnu.
7076 * configure: Regenerate.
7077
2e13b764
NC
70782000-01-03 Martin v. Loewis <loewis@informatik.hu-berlin.de>
7079
7080 * config/obj-elf.c (elf_pseudo_table): Define visibility pseudos.
7081 (obj_elf_visibility): New function.
3e87a760 7082
2e13b764
NC
7083 * doc/as.texinfo (Visibility): New node: document visibility
7084 pseudo ops.
7085
2f6d2f85 7086For older changes see ChangeLog-9899
This page took 0.623427 seconds and 4 git commands to generate.