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