* sparc-opc.c (sparc_opcodes): Fix spelling on fpaddX, fpsubX insns.
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
68299279
ILT
1Tue Jul 22 18:38:56 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
2
3 * config/te-go32.h (USE_ALIGN_PTWO): Define.
4 * config/tc-i386.c (md_pseudo_table): If USE_ALIGN_PTWO is
5 defined, use s_align_ptwo for .align.
ea1c39ce
ILT
6 * configure.in (i386-*-msdosdjgpp*): New target.
7 (i386-*-go32*): Set em to go32 and targ to coffgo32.
8 * configure: Rebuild.
68299279 9
bd3a1eba
DE
10Tue Jul 22 12:41:40 1997 Doug Evans <dje@canuck.cygnus.com>
11
12 * config/tc-sparc.c (last_opcode): New static local.
13 (md_assemble): Don't issue "FP branch in delay slot" warning if
14 the delay slot has been annulled.
15
1d303653
ILT
16Tue Jul 22 13:25:13 1997 Ian Lance Taylor <ian@cygnus.com>
17
18 * config/tc-m68k.c (md_apply_fix_2): Check for PC relative reloc
19 code if BFD_ASSEMBLER.
20
47bfb6fc
JL
21start-sanitize-v850
22Mon Jul 21 08:57:17 1997 Jeffrey A Law (law@cygnus.com)
23
24 * config/tc-v850.c (system_registers): Fix ordering of registers.
25
26end-sanitize-v850
e53430c4
FF
27start-sanitize-tic80
28Tue Jul 15 16:29:54 1997 Fred Fish <fnf@cygnus.com>
29
30 * config/tc-tic80.c (build_insn): Initialize extended word to zero
31 when it will be filled in later by relocation information.
32
33end-sanitize-tic80
a652f74c
ILT
34Mon Jul 14 23:10:58 1997 Ian Lance Taylor <ian@cygnus.com>
35
36 * config/tc-mips.c (macro_build): Restore check of fmt argument.
37 (mips_ip): Fix ISA checks.
38
9587640a
JL
39start-sanitize-r5900
40Tue Jul 15 10:15:39 1997 Jeffrey A Law (law@cygnus.com)
41
42 * configure.in: Default the r5900 to little endian.
43 * configure: Rebuilt.
44
45end-sanitize-r5900
8ae66b94
FF
46start-sanitize-tic80
47Mon Jul 14 19:30:55 1997 Fred Fish <fnf@cygnus.com>
48
49 * config/tc-tic80.c (build_insn): Fix endianness problem with
50 O_big operands.
51
52end-sanitize-tic80
4dc85508
ILT
53Sun Jul 13 20:43:46 1997 Ian Lance Taylor <ian@cygnus.com>
54
55 * config/tc-mips.c (check_absolute_expr): Change warning to
56 error.
57
931a1858
JL
58Fri Jul 11 10:18:47 1997 Jeffrey A Law (law@cygnus.com)
59
60 * config/tc-mips.c (macro_build): Refine code to check if an
61 instruction is available on a particular cpu variant.
62 (mips_ip): Likewise.
63
76fb6d2f
ILT
64Mon Jul 7 22:53:08 1997 Ian Lance Taylor <ian@cygnus.com>
65
66 * config/tc-i386.c (tc_i386_fix_adjustable): Change ifndef
67 OBJ_AOUT to ifdef OBJ_ELF.
68 (md_apply_fix3): When mangling 32 bit PC relative reloc for
69 BFD_ASSEMBLER, handle one ELF case for COFF as well, and add a PE
70 case.
71 * write.c (fixup_segment): Change special case for i386-coff to
72 not apply for i386-pe.
73 * config/obj-coff.c (coff_adjust_section_syms): Only count fixups
74 which were not done.
75 (coff_frob_file_after_relocs): Rename from coff_frob_file.
76 (coff_format_ops): Initialize frob_file_after_relocs field rather
77 than frob_file field.
78 * config/obj-coff.h (coff_frob_file): Don't declare.
79 (coff_frob_file_after_relocs): Declare.
80 (obj_frob_file): Don't define.
81 (obj_frob_file_after_relocs): Define.
82 * configure.in: Set bfd_gas to yes for i386-*-cygwin32.
83 * configure: Rebuild.
84
b709b16f
ILT
85Wed Jul 2 12:05:00 1997 Ian Lance Taylor <ian@cygnus.com>
86
87 * config/obj-coff.c (fixup_segment): Never subtract section
88 address from PC relative reloc which will be fully resolved.
89
db3152ef
JL
90Tue Jul 1 15:23:07 1997 Jeffrey A Law (law@cygnus.com)
91
92 * ecoff.c (page_type): Renamed from page_t to avoid conflict
93 with hpux10 header files.
94
b73fcae8
ILT
95Mon Jun 30 12:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
96
97 From Jason Merrill <jason@cygnus.com>:
98 * read.c (do_align): If BFD_ASSEMBLER, only use NOP_OPCODE if
99 SEC_CODE is set.
100 * config/tc-i386.h (md_maybe_text): Define.
101 (md_do_align): Use md_maybe_text.
102
d006e435
MM
103Fri Jun 27 19:15:27 1997 Michael Meissner <meissner@cygnus.com>
104
105 * config/tc-ppc.h (tc_fix_adjustable): Only check for GOT type
106 relocations, don't check for symbol being external, weak, etc.
107
24a3e622
ILT
108Mon Jun 16 19:12:51 1997 Geoff Keating <geoffk@ozemail.com.au>
109
110 * config/tc-ppc.h (tc_fix_adjustable): Don't let the assembler
111 calculate relocations to any external symbol, because we might be
112 linking a shared object and the symbol might be overriden or moved
113 (for instance, moved into a static executable's .bss section).
114 (GLOBAL_OFFSET_TABLE_NAME): Delete. This is an i386 wierdness.
115
116 * config/tc-ppc.h (tc_fix_adjustable): GOT-based relocations can't
117 be calculated by the assembler.
118
119 * config/tc-ppc.c (md_apply_fix3): Handle @plt or @local branch
120 whose destination lies in the same file, by ignoring the @plt or
121 @local and aiming the branch at its destination.
122
b0447a0e
ILT
123Mon Jun 16 13:59:18 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
124
125 * symbols.c (copy_symbol_attributes): Copy BSF_OBJECT flag.
126 * config/obj-elf.h (OBJ_COPY_SYMBOL_ATTRIBUTES): Copy size
127 expression.
128
129 * config/obj-multi.h (OBJ_COPY_SYMBOL_ATTRIBUTES): Define instead
130 of obj_copy_symbol_attributes.
131
be2c18bd
ILT
132Mon Jun 16 12:45:56 1997 Ian Lance Taylor <ian@cygnus.com>
133
3a035861
ILT
134 * config/tc-ppc.c (ppc_insert_operand): In 32 bit mode, with a
135 signed operand, sign extend a 32 bit value to the host size.
136
137 * Makefile.in (CFLAGS): Subsitute from configure script. From
138 Jeff Makey <jeff@cts.com>.
139
a52f90a4
ILT
140 * config/tc-i386.c (i386_operand): Use alloca rather than a fixed
141 buffer size to make a copy of the symbol.
142
be2c18bd
ILT
143 * Makefile.in (OBJS): Put @extra_objects@ on the same line as
144 macro.o.
145
7799bb2c
ILT
146Thu Jun 12 12:16:20 1997 Ian Lance Taylor <ian@cygnus.com>
147
148 * write.c (write_object_file): In non BFD_ASSEMBLER code, as we
149 step through the frags calling cvt_frag_to_fill, switch to
150 SEG_DATA when we reach data_frag_root.
151
43ee18a0
JL
152Tue Jun 10 17:08:34 1997 Jeffrey A Law (law@cygnus.com)
153
154 * config/tc-mn10300.c (md_assemble): Allow an empty register
155 list for instructions which use register lists.
156
ccc30467
ILT
157Tue Jun 10 11:18:09 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
158
d2e5779b
ILT
159 * config/tc-arm.c (md_apply_fix3): Make temp unsigned long.
160
7436e4de
ILT
161 * config/tc-arm.c (arm_adjust_symtab): Only set storage classes if
162 OBJ_COFF.
163
ccc30467
ILT
164 * config/tc-arm.c: Add prototypes for many static functions.
165 (struct asm_opcode ): Add prototypes for parms field.
166 (struct thumb_opcode ): Likewise.
167 (fp_op2): Remove unused flags parameter.
168 (output_inst): Make static.
169 (arm_after_pass_hook): Remove unused ignore parameter.
170 * config/tc-arm.h (arm_after_pass_hook): Declare.
171 (arm_start_line_hook): Declare.
172 (arm_frob_label): Declare.
173
170cdf75
ILT
174Mon Jun 9 12:55:45 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
175
176 * depend.c (wrap_output): new prototype.
177
af438bdb
ILT
178Mon Jun 9 12:52:44 1997 Ian Lance Taylor <ian@cygnus.com>
179
4b4c1e0f
ILT
180 * config/tc-sh.c (md_apply_fix): Check for overflow.
181
af438bdb
ILT
182 * config/tc-m68k.c (md_section_align): If a.out and BFD, force
183 section size to be aligned.
184
72574181
ILT
185Fri Jun 6 17:15:55 1997 Ian Lance Taylor <ian@cygnus.com>
186
187 * config/tc-sh.h (md_cons_align): Define.
188 (sh_cons_align): Declare.
189 * config/tc-sh.c (md_pseudo_table): Add .uaword and .ualong.
190 (sh_no_align_cons): New static variable.
191 (s_uacons): New static function.
192 (sh_cons_align): New function.
193 (sh_handle_align): Warn about misaligned data.
194 * doc/c-sh.texi: Document .uaword and .ualong.
195
196Thu Jun 5 15:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
197
198 * macro.c (macro_expand): In MRI mode, treat single quote as a
199 separator character when checking for a positional argument.
200
d0badeab
NC
201Tue Jun 3 16:15:13 1997 Nick Clifton <nickc@cygnus.com>
202
48e509bf
NC
203 * config/tc-arm.c (md_parse_option): Merge in changes from
204 armT-970328-branch.
f8a21443 205
48e509bf
NC
206 * config/tc-arm.h: Merge in changes from armT-970328-branch.
207
208 * configure.in (emulations): Add Thumb architecture support from
d0badeab
NC
209 armT-9703-28-branch.
210
2903fb6e
NC
211Mon Jun 2 16:25:07 1997 Nick Clifton <nickc@cygnus.com>
212
3357a5ab
NC
213 * doc/all.texi: Add enabling of ARM documentation.
214
2903fb6e
NC
215 * doc/as.texinfo: Add ARM documentation from armT-970328-branch.
216
5c6f5923
GRK
217Mon Jun 2 11:55:12 1997 Gavin Koch <gavin@cygnus.com>
218
219 * config/tc-mips.c: Added r3900 support.
220
dccd4d2c
ILT
221Thu May 29 12:58:26 1997 Ben Pfaff <pfaffben@pilot.msu.edu>
222
223 * as.c: (parse_args) `-t' option requires an argument.
224
225Wed May 28 15:45:07 1997 Nick Clifton <nickc@cygnus.com>
226
227 * config/tc-arm.c (md_begin): Change call to
228 coff_arm_bfd_set_private_flags() to a call to
229 bfd_set_private_flags().
230
5ac3db53
ILT
231Wed May 28 16:17:34 1997 Ian Lance Taylor <ian@cygnus.com>
232
1d6f438f
ILT
233 * Makefile.in: Rebuild dependencies.
234
5ac3db53
ILT
235 * config/tc-i386.c (tc_gen_reloc): Don't try to convert the type
236 of a BFD_RELOC_RVA reloc.
237
f22950b9
JL
238Wed May 28 10:48:14 1997 Jeffrey A Law (law@cygnus.com)
239
240 * config/tc-hppa.c (tc_fix_adjustable): Reject absolute calls/jumps.
241 (hppa_force_relocation): Force a relocation for an absolute
242 call/jump.
243
1079e76c
ILT
244Mon May 26 13:24:25 1997 Ian Lance Taylor <ian@cygnus.com>
245
246 * doc/as.texinfo: Don't use @value in section names or index
247 entries; it confuses texinfo.tex.
248
8a51eeaf
TT
249Fri May 23 00:09:35 1997 Tom Tromey <tromey@cygnus.com>
250
251 * doc/as.texinfo: Updated for -MD option.
252 * Makefile.in (CFILES): Added depend.c.
253 (OBJS): Added depend.o.
254 * as.h (start_dependencies, register_dependency,
255 print_dependencies): New declarations.
256 * depend.c: New file.
257 * as.c (parse_args): Added -MD option.
258 (main): Call print_dependencies.
259 (show_usage): Added help for -MD.
260 * read.c (s_app_file): Call register_dependency.
261 (s_include): Call register_dependency when file is found.
262 (read_a_source_file): Call register_dependency.
263
1a7a427e
ILT
264Wed May 21 17:39:28 1997 Ian Lance Taylor <ian@cygnus.com>
265
266 * config/obj-coff.c (symbol_to_chars): If TE_PE, don't add the
267 section address to the symbol value.
268
e17449bc
GRK
269Tue May 20 11:23:31 1997 Gavin Koch <gavin@cygnus.com>
270
1a7a427e
ILT
271 * config/tc-mips.c (macro_build,mips_ip): Move the INSN_ISA field
272 into the new membership field.
e17449bc 273
de046e7c
NC
274Thu May 15 10:00:53 1997 Nick Clifton <nickc@cygnus.com>
275
276 * config/tc-arm.c (md_begin): If no cpu type is specified on the
277 command line then the ARM7 is now chosen by default when setting
278 the BFD machine and architecture.
279
46686c78
NC
280Wed May 14 09:54:53 1997 Nick Clifton <nickc@cygnus.com>
281
282 * config/tc-arm.c (global variables): Added 'uses_apcs_26' flag to
1a7a427e
ILT
283 hold APCS selection.
284 (md_begin): Added code to generate flags to be set into the COFF
285 header and the calls to the BFD functions to do this.
286 (md_parse_option, md_show_usage): Added new command line
46686c78
NC
287 options -mapcs-32, -mapcs-26, -marmv2, -marmv2a, -marmv3,
288 -marmv3m, -marmv4, -marmv4t.
289
290 * tc-arm.h (LOCAL_LABEL): Removed the definition of this macro
291 as it is never used.
292
2393a966
JL
293Tue May 13 22:26:14 1997 Jeffrey A Law (law@cygnus.com)
294
295 * config/tc-mn10200.c (md_convert_frag): Prefix temporary
296 label name with ".".
297 * config/tc-mn10300.c (md_convert_frag): Likewise.
298
cd05cc5e
ILT
299Tue May 13 14:44:39 1997 Ian Lance Taylor <ian@cygnus.com>
300
301 * config/tc-mips.c (set_at): Check for bignum.
302 (check_absolute_expr, macro, mips16_macro): Likewise.
303
7b02bacd
FF
304start-sanitize-tic80
305Tue May 13 10:45:56 1997 Fred Fish <fnf@cygnus.com>
306
307 * config/tc-tic80.c (md_apply_fix): Check PC relative relocations
308 for overflow/underflow, only insert lower 15 bits into instruction.
309
310end-sanitize-tic80
98b4161a
ILT
311Mon May 12 13:33:08 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
312
313 * config/tc-i386.c (pi): Check for RegMMX.
314
ee42e25b
ILT
315Thu May 8 11:10:15 1997 Ian Lance Taylor <ian@cygnus.com>
316
317 * expr.c (expr): When subtracting values in the same frag,
318 subtract X_add_number rather than adding it.
319
a5586bdc
ILT
320Wed May 7 15:39:48 1997 Ian Lance Taylor <ian@cygnus.com>
321
662a6d9e
ILT
322 * config/obj-coff.c (write_object_file): Just pass NULL to
323 md_do_align, not the address of a char holding NOP_OPCODE.
324
a5586bdc
ILT
325 * config/tc-mips.c (macro): Handle constants for M_LI_D and
326 M_LI_DD.
327 (mips_ip): For 'F', 'L', 'f', and 'l', generate a constant rather
328 than an address if the floating point value looks sufficiently
329 simple.
330
91951af6
ILT
331Tue May 6 12:18:09 1997 Ian Lance Taylor <ian@cygnus.com>
332
333 * config/tc-i386.c (md_section_align): If a.out and BFD, force
334 section size to be aligned.
335
454b0ccd
ILT
336Mon May 5 17:16:55 1997 Ian Lance Taylor <ian@cygnus.com>
337
0239838b
ILT
338 * cond.c: Include "macro.h".
339 (struct conditional_frame): Add macro_nest field.
340 (initialize_cframe): Initialize macro_nest.
341 (cond_finish_check): Add nest parameter. Change all callers.
342 (cond_exit_macro): New function.
343 * as.h (cond_finish_check): Update declaration.
344 (cond_exit_macro): Declare.
345 * input-scrub.c (macro_nest): Make globally visible.
346 (input_scrub_next_buffer): Call cond_finish_check.
347 * macro.h (macro_nest): Declare.
348 * read.c (s_mexit): Call cond_exit_macro.
349
454b0ccd
ILT
350 * config/tc-i386.h (RegMMX): Define.
351 * config/tc-i386.c (pi): Check for all register types.
352 (type_names): Add RegMMX.
353 (md_assemble): Handle RegMMX.
354
355Wed Apr 30 12:47:00 1997 Manfred Hollstein <manfred@s-direktnet.de>
356
357 * config/obj-coff.c (c_section_symbol): Clear the LOCAL bit #ifdef
358 TE_DELTA.
359
360Tue Apr 29 20:23:10 1997 Jim Wilson <wilson@cygnus.com>
361
362 * config/tc-mips.c (nopic_need_relax): Add new parameter
363 before_relaxing. Use it when testing ecoff_extern_size.
364 (load_address, macro, md_estimate_size_before_relax): Fix all
365 callers.
366
24d4b4e1
ILT
367Tue Apr 29 19:54:36 1997 Richard Henderson <rth@tamu.edu>
368
369 * config/obj-elf.c (elf_pseudo_table): Add "subsection".
370 (obj_elf_subsection): New static function.
371
4a38edaa
ILT
372Tue Apr 29 19:52:47 1997 Ian Lance Taylor <ian@cygnus.com>
373
374 * config/obj-coff.c (coff_header_append): Don't reset string_size
375 each time through the loop.
376
1416631f
ILT
377Fri Apr 25 14:17:46 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
378
379 * Makefile.in (DISTSTUFF): Add itbl-parse.h.
380
49f5a035
ILT
381Fri Apr 25 12:03:15 1997 Ian Lance Taylor <ian@cygnus.com>
382
8f9b2cea
ILT
383 * doc/internals.texi (Porting GAS): Correct documentation for
384 current configure handling of targ-cpu.h, et. al.
385 (CPU backend): Document listing macros.
386
49f5a035
ILT
387 * listing.c (data_buffer): Set size based on other listing macros,
388 rather than always using 100.
389 (data_buffer_size): Remove static variable.
390 (calc_hex): Make data_buffer_size a local variable. Don't leave
391 any slop when filling data_buffer.
392
a21dd1e0
ILT
393Mon Apr 21 15:33:19 1997 Ian Lance Taylor <ian@cygnus.com>
394
395 * doc/c-mips.texi: Document .set autoextend.
396
49f90a34
ILT
397Sat Apr 19 23:09:25 1997 Niklas Hallqvist <niklas@petra.appli.se>
398
399 * configure.in (i386-*-openbsd*, m68k-*-openbsd*,
400 mips-dec-openbsd*, ppc-*-*bsd*, ns32k-pc532-openbsd*,
401 sparc-*-openbsd*): New targets.
402 * configure: Rebuild.
403
aff65ed9
ILT
404Sat Apr 19 22:52:03 1997 Jim Wilson <wilson@cygnus.com>
405
406 * config/obj-elf.c (elf_frob_symbol): If TC_MIPS, set BSF_OBJECT
407 for all undefined symbols.
408
fec391b1
ILT
409Fri Apr 18 13:37:35 1997 Ian Lance Taylor <ian@cygnus.com>
410
411 * config/tc-ppc.c (ppc_fix_adjustable): Handle zero length csects
412 correctly.
413
894cca25
ILT
414Fri Apr 18 11:51:35 1997 Niklas Hallqvist <niklas@appli.se>
415
416 * configure.in (alpha*-*-openbsd*): New target.
417 * configure: Rebuild.
418
fc984eb0
ILT
419Thu Apr 17 13:59:47 1997 Per Fogelstrom <pefo@openbsd.org>
420
421 * configure.in (mips-*-openbsd*): New target.
422 * configure: Rebuild.
423
4bdb83fc
MH
424start-sanitize-d30v
425Wed Apr 16 12:31:24 1997 Martin Hunt <hunt@cygnus.com>
426
427 * config/tc-d30v.c (parallel_ok): Fix parallel checking
428 for instructions using conditional execution.
429
430end-sanitize-d30v
68952421
GRK
431Tue Apr 15 18:11:44 1997 Gavin Koch <gavin@cygnus.com>
432
433 * config/tc-mips.c (insn_uses_reg): Correct test for fpr pairs.
434
e366a2d6
ILT
435Tue Apr 15 13:04:47 1997 Ian Lance Taylor <ian@cygnus.com>
436
437 * Makefile.in (srcroot): Remove.
438 (INSTALL): Set to @INSTALL@.
439 (INSTALL_XFORM, INSTALL_XFORM1): Remove.
440 (all, dvi): Don't set srcroot.
441 (install): Depend upon as.new, gasp.new, and installdirs. Use
442 $(program_transform_name) directly, rather than using
443 $(INSTALL_XFORM) and $(INSTALL_XFORM1).
444 (installdirs): New target.
445 * doc/Makefile.in (INSTALL_XFORM1): Remove.
446 (install): Depend upon installdirs. Use $(program_transform_name)
447 directly, rather than using $(INSTALL_XFORM) and
448 $(INSTALL_XFORM1).
449 (installdirs): New target.
450 (install-info-as): Run mkinstalldirs.
451 (install-info-gasp): Likewise.
452
dca6429f
ILT
453Mon Apr 14 11:59:08 1997 Ian Lance Taylor <ian@cygnus.com>
454
e366a2d6
ILT
455 * Makefile.in (INSTALL): Change install.sh to install-sh.
456
dca6429f
ILT
457 * symbols.c (resolve_symbol_value): Check for division by zero.
458
459 From Thomas Graichen <graichen@rzpd.de>:
460 * Makefile.in: Always use $(SHELL) when running move-if-change.
461 * configure.in: Use ${CONFIG_SHELL} when running $ac_config_sub.
462 * configure: Rebuild.
463
4e9d8dea
DE
464Thu Apr 10 14:40:00 1997 Doug Evans <dje@canuck.cygnus.com>
465
f3f00e94
DE
466 * cgen.c (cgen_parse_operand): Renamed from cgen_asm_parse_operand.
467 New argument `want'. Update enum cgen_parse_operand_result values.
468 Initialize if CGEN_PARSE_OPERAND_INIT.
469 * config/tc-m32r.c (md_begin): Set cgen_parse_operand_fn.
4e9d8dea
DE
470 (md_assemble): Call cgen_asm_init_parse.
471 Update call to m32r_cgen_assemble_insn, call as_bad if assembly failed.
472
902a77ac
ILT
473Wed Apr 9 11:49:41 1997 Ian Lance Taylor <ian@cygnus.com>
474
475 * config/tc-m68k.c (m68k_ip): Handle #j.
476
96742953
JL
477Tue Apr 8 16:37:57 1997 Jeffrey A Law (law@cygnus.com)
478
479 * config/tc-mn10300.c (md_convert_frag): Create fixup at the
480 right address for call label:32,regs,imm.
481
e41369a4
JL
482Mon Apr 7 14:58:22 1997 Jeffrey A Law (law@cygnus.com)
483
484 * config/tc-hppa.c (pa_subspace_start): If OBJ_ELF, then always return
485 zero.
486 * config/tc-hppa.h (tc_frob_symbol): Don't reset the value of the
487 symbol for OBJ_ELF anymore.
488
39ffbb4d
DE
489Mon Apr 7 10:54:59 1997 Doug Evans <dje@canuck.cygnus.com>
490
491 * Makefile.in: Regenerate dependencies.
492 (TARG_CPU): New variable.
493 (cgen.o): Depend on cgen.h, $(TARG_CPU)-opc.h.
494 (.dep1): Delete creating of cgen-opc.h.
495 (.tcdep): Put proper contents in cgen-opc.h.
496 * configure.in (m32r): Delete setting of extra_files, extra_links.
497 (AC_OUTPUT): Create cgen-opc.h.
498 * configure: Regenerated.
499
596c5b74
ILT
500Sat Apr 5 13:19:12 1997 Klaus Kaempf <kkaempf@progis.de>
501
502 * makefile.vms: Update to build gasp.exe.
503
374bdac7
DE
504Fri Apr 4 16:10:02 1997 Doug Evans <dje@canuck.cygnus.com>
505
c8cf7e17
DE
506 * write.c (relax_frag): Make non-static.
507 * write.h (relax_frag): Add prototype for.
508 * config/tc-m32r.h (md_do_align): New arg `max'.
509 * config/tc-m32r.c (m32r_do_align): Likewise.
510 Update calls to frag_align, frag_align_pattern.
511 (fill_insn): Update call to m32r_do_align.
512 (m32r_scomm): Update call to frag_align.
513
374bdac7
DE
514 * config/tc-m32r.[ch]: New files.
515 * cgen.c: New file.
516 * Makefile.in (CPU_TYPES): Add m32r.
374bdac7
DE
517 (TARGET_CPU_CFILES): Add tc-m32r.c.
518 (TARGET_CPU_HFILES): Add tc-m32r.h.
374bdac7
DE
519 (DISTCLEAN_HERE): Add cgen-opc.h.
520 (.dep1,.tcdep): Create empty cgen-opc.h.
521 (cgen.o): Add dependencies.
522 (dependencies): Regenerate.
523 * as.h (struct frag): New member fr_targ.
524 (fr_pcrel_adjust,fr_bsr): Move into union fr_targ.ns32k.
525 * conf.in (USING_CGEN): New macro.
526 * configure.in (m32r-*-*): Add entry for.
39ffbb4d 527 Add cgen.o to extra_objects.
374bdac7 528 * configure: Regenerate.
403c708e
DE
529 * frags.c (frag_var): fr_pcrel_adjust renamed to
530 fr_targ.ns32k.pcrel_adjust. fr_bsr renamed to fr_targ.ns32k.bsr.
531 (frag_variant): Likewise.
532 * write.c (relax_frag): Likewise.
374bdac7 533 * config/tc-ns32k.c (*): Likewise.
374bdac7 534
e819d858
ILT
535Fri Apr 4 13:26:10 1997 Ian Lance Taylor <ian@cygnus.com>
536
dc966dad
ILT
537 * config/tc-hppa.h (TC_EOL_IN_INSN): Check explicitly for '!',
538 rather than for any end of line character.
539
5c11dba2
ILT
540 * config/tc-hppa.c (tc_gen_reloc): If hppa_ren_reloc_type fails,
541 call abort (i.e., as_abort) rather than crashing.
542
457a20b5
ILT
543 * config/tc-mips.c: Protect uses of STO_MIPS16 with an ifdef of
544 OBJ_ELF, rather than of S_GET_OTHER.
545
e819d858
ILT
546 * Makefile.in (DISTCLEAN_HERE): Add site.exp and site.bak.
547
3884d17b
ILT
548Thu Apr 3 13:16:18 1997 Ian Lance Taylor <ian@cygnus.com>
549
550 * Makefile.in (VERSION): Set to 2.8.1.
551
552 * Branched binutils 2.8.
553
08438bef
ILT
554Wed Apr 2 12:24:10 1997 Ian Lance Taylor <ian@cygnus.com>
555
64d20049
ILT
556 * COPYING: Update FSF address.
557
08438bef
ILT
558 * config/tc-mips.c (mips16_macro): Handle M_DMUL and M_MUL.
559
3c83da8a
JW
560Tue Apr 1 18:29:47 1997 Jim Wilson <wilson@cygnus.com>
561
562 * config/tc-mips.c (md_begin): Don't set interlocks for 4100.
563
396e8d7f
ILT
564Tue Apr 1 16:24:28 1997 Klaus Kaempf <kkaempf@progis.de>
565
566 * config-gas.com: Update to handle both vax and alpha.
567 * makefile.vms: Update to use config-gas.
568 * conf-a-gas.com: Remove file.
569
db237783
ILT
570Tue Apr 1 16:08:21 1997 Ian Lance Taylor <ian@cygnus.com>
571
572 * Makefile.in: Remove unnecessary itbl-parse.h, ibtl-parse.c, and
573 itbl-lex.c dependencies. Remove rules for itbl-lex.o,
574 itbl-parse.o, and itbl-ops.o; just use the normal .c.o rule.
575
64251de5
MM
576start-sanitize-tic80
577Tue Apr 1 11:25:56 1997 Michael Meissner <meissner@cygnus.com>
578
579 * config/tc-tic80.c (line_comment_char): Make '#' start comments
580 at the beginning of a line for compatibility with .S files where
581 cpp leaves the filename transitions beginning with '#'.
582
583end-sanitize-tic80
584Tue Apr 1 00:07:30 1997 Ian Lance Taylor <ian@cygnus.com>
585
586 * config/tc-m68k.c: Only compile tc_coff_symbol_emit_hook and
587 tc_coff_sizemachdep if OBJ_COFF.
588
3c6adeaf
ILT
589Mon Mar 31 23:53:44 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
590
591 * config/tc-ppc.c (register_name): Declare.
592
332d5c49
ILT
593Mon Mar 31 16:31:04 1997 Joel Sherrill <joel@oarcorp.com>
594
595 * configure.in (hppa*-*-rtems*): New target, like hppa-*-*elf*.
596 * configure: Rebuild.
597
6d65a065
ILT
598Mon Mar 31 14:15:19 1997 Ian Lance Taylor <ian@cygnus.com>
599
2f2bcadb
ILT
600 * config/tc-mips.c (mips_pseudo_table): Add "stabn".
601 (mips16_mark_labels): New static function.
602 (append_insn): Call mips16_mark_labels.
603 (mips_emit_delays): Likewise.
604 (s_insn): Likewise. Don't call mips_clear_insn_labels.
605 (s_mips_stab): New static function.
606
6d65a065
ILT
607 * configure.in: Use ELF for mips-*-gnu*.
608 * configure: Rebuild.
609
ca37421e
ILT
610Mon Mar 31 14:01:40 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
611
612 * config/tc-m68k.h (TARGET_FORMAT): Set to "coff-m68k-sysv" if
613 TE_DELTA.
614
2e013bb7
ILT
615Fri Mar 28 18:03:19 1997 Alan Modra <alan@spri.levels.unisa.edu.au>
616
617 * configure.in: Add AC_ARG_ENABLE for commonbfdlib. If it is set,
618 set OPCODES_LIB to empty.
619 * configure: Rebuild.
620
04b8ad8b
ILT
621Fri Mar 28 15:25:24 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
622
623 * configure.in (sparc-*-linux*aout*, sparc-*-linux*): New
624 targets.
625 * configure: Rebuild.
626
acdc7ce3
ILT
627Fri Mar 28 13:08:33 1997 Ian Lance Taylor <ian@cygnus.com>
628
ab91e1ef
ILT
629 * itbl-parse.y (yyerror): Make static. Declare.
630
515c7142
ILT
631 From Ralf Baechle <ralf@gnu.ai.mit.edu>:
632 * configure.in: Set emulations for mips-*-linux*-*.
633 * configure: Rebuild.
634
1347404a
ILT
635 * config/tc-mips.c (struct mips_set_options): Define.
636 (mips_opts): New static variable.
637 (mips_isa): Remove. Now a field in mips_opts. Change all
638 references.
639 (mips16, mips16_autoextend, mips_warn_about_macros): Likewise.
640 (mips_noreorder, mips_nomove, mips_noat, mips_nobopt): Likewise.
641 (struct mips_option_stack): Define.
642 (mips_opts_stack): New static variable.
643 (s_mipsset): Add support for .set push and .set pop.
644 * doc/c-mips.texi: Document .set push and .set pop.
645
acdc7ce3
ILT
646 * config/obj-elf.c (obj_elf_section_change_hook): New function.
647 * config/obj-elf.h (obj_elf_section_change_hook): Declare it.
648 * config/tc-mips.c (s_change_sec): Call it if OBJ_ELF.
649
23ac3ca1
ILT
650Thu Mar 27 12:23:56 1997 Ian Lance Taylor <ian@cygnus.com>
651
e22e79dc
ILT
652 * as.c (parse_args): Update copyright date in version message.
653
9b8b7e97
ILT
654 * Makefile.in (clean-here): Remove dependency files.
655
23ac3ca1
ILT
656 * read.c (s_comm): Check S_IS_COMMON as well as S_IS_DEFINED.
657 (s_mri_common): Check S_IS_COMMON unconditionally.
658 * symbols.c (colon): Check S_IS_COMMON as well as S_IS_DEFINED.
659 * config/tc-alpha.c (s_alpha_comm): Likewise.
660 * config/tc-mips.c (nopic_need_relax): Likewise.
661 * config/tc-ppc.c (ppc_elf_lcomm): Likewise.
662 (ppc_pe_comm): Likewise.
663 * config/obj-elf.c (obj_elf_common): Likewise. Set segment of
664 common symbol to bfd_com_section_ptr.
665 * config/tc-sparc.c (s_common): Likewise.
666 (tc_gen_reloc): Likewise.
667
80834add
MH
668start-sanitize-d30v
669Thu Mar 27 00:29:46 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
670
671 * config/tc-d30v.c (md_apply_fix3): Get the relocs right.
672
673end-sanitize-d30v
734a9064
ILT
674Wed Mar 26 13:35:15 1997 H.J. Lu <hjl@lucon.org>
675
676 * config/tc-i386.c (tc_i386_fix_adjustable): Only define if
677 BFD_ASSEMBLER.
678
efda47f9
ILT
679Wed Mar 26 11:32:51 1997 Ian Lance Taylor <ian@cygnus.com>
680
80834add
MH
681 * input-scrub.c (input_scrub_next_buffer): Handle very long input
682 lines correctly.
683
8cd0c287
ILT
684 * listing.c (print_lines): Add lineno parameter. Change all
685 callers.
686 (listing_listing): Only call calc_hex for the right line.
687 (listing_list): Set the new edict based on the current edict, in
688 order to handle listing commands in macros correctly.
734a9064 689
e807a57e
ILT
690 * config/tc-mips.c (insn_uses_reg): Map register numbers in mips16
691 instructions.
692
efda47f9
ILT
693 * cond.c (cond_finish_check): New function.
694 * as.h (cond_finish_check): Declare.
695 * as.c (main): Call cond_finish_check.
696
710fdf47
MH
697start-sanitize-d30v
698Tue Mar 25 14:45:54 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
699
700 * config/tc-d30v.c (md_assemble): If two instructions
701 are supposed to be assembled in parallel and the first one is
702 long, print an error and stop.
703 (md_apply_fix3): Don't calculate absolute relocs. Just write
704 them out.
705
706end-sanitize-d30v
1361ba77
ILT
707Mon Mar 24 12:11:18 1997 Ian Lance Taylor <ian@cygnus.com>
708
2fb44892
ILT
709 * config/tc-i386.h (iclrKludge): Define.
710 * config/tc-i386.c (md_assemble): Handle iclrKludge.
711
1361ba77
ILT
712 * config/tc-alpha.h (tc_frob_file_before_adjust): Define if
713 OBJ_ECOFF.
714 (alpha_frob_file_before_adjust): Declare if OBJ_ECOFF.
715 * config/tc-alpha.c (alpha_debug): New static variable.
716 (md_parse_option): Set alpha_debug if -g is seen.
717 (alpha_frob_file_before_adjust): New function if OBJ_ECOFF.
718
9c9e75bf
MH
719start-sanitize-d30v
720Sun Mar 23 18:03:31 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
721
722 * config/tc-d30v.c (build_insn): Enable range-checking code.
723 (postfix): Stop at space or comma. Fixes PR 11862.
724 (md_assemble): Change error message.
725
726end-sanitize-d30v
65d7de4f
ILT
727Sat Mar 22 13:44:28 1997 Ian Lance Taylor <ian@cygnus.com>
728
729 * Makefile.in: Added automatic dependency building.
730 * dep-in.sed: New file.
731
949f1310
ILT
732Fri Mar 21 15:42:37 1997 Ian Lance Taylor <ian@cygnus.com>
733
7cad1a89
ILT
734 * config/obj-ieee.c (segment_name): Don't define function if this
735 is a macro.
736
f062ec45
ILT
737 * config/obj-coff.h (DO_STRIP): Don't define.
738 * config/tc-h8300.h (DO_STRIP): Don't define.
739 * config/tc-h8500.h (DO_STRIP): Don't define.
740 * config/tc-w65.h (DO_STRIP): Don't define.
741 * config/tc-z8k.h (DO_STRIP): Don't define.
742
a71dc204
ILT
743 * symbols.c (colon): Call obj_frob_label if it is defined.
744 * config/obj-vms.h (obj_frob_label): Rename from tc_frob_label.
745
949f1310
ILT
746 * configure.in: Don't set files and links. Don't call
747 AC_LINK_FILES. Substitute te_file. Create targ-cpu.h,
748 obj-format.h, targ-env.h, and itbl-cpu.h in AC_OUTPUT.
749 * configure: Rebuild.
750 * Makefile.in (TARG_CPU_C): New variable.
751 (TARG_CPU_O, TARG_CPU_H): New variables.
752 (OBJ_FORMAT_C, OBJ_FORMAT_O, OBJ_FORMAT_H): New variables.
753 (TARG_ENV_H, ATOF_TARG_C, ATOF_TARG_O): New variables.
754 (SOURCES): Rename from REAL_SOURCES. Delete old definition.
755 (LINKED_SOURCES): Remove.
756 (HEADERS): Rename from REAL_HEADERS. Delete old definition.
757 (LINKED_HEADERS): Remove.
758 (OBJS): Use $(TARG_CPU_O), etc., rather than targ-cpu.o, etc.
759 ($(OBJS)): Depend upon $(TARG_ENV_H), etc., rather than
760 targ-cpu.h, etc.
761 ($(TARG_CPU_O), $(OBJ_FORMAT_O) $(ATOF_TARG_O)): New targets.
762 (targ-cpu.o, obj-format.o, atof-targ.o): Remove targets.
763 (itbl-cpu.h): Remove target.
764 (DISTCLEAN_HERE): Remove targ-cpu.c, obj-format.c, atof-targ.c,
765 atof-targ.h.
766
35cfacf0
ILT
767Thu Mar 20 19:18:58 1997 Ian Lance Taylor <ian@cygnus.com>
768
769 * doc/as.texinfo (Symbol Names): Don't use obsolete @ctrl macro.
770
0dfeb41f
ILT
771Thu Mar 20 16:49:14 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
772
773 * config/tc-m68k.c (mri_chip): Replace calls to get_symbol_end by
774 open coded loop that does not require the name to start with a
775 name beginner.
776
29bc322d
ILT
777Thu Mar 20 13:42:01 1997 H.J. Lu <hjl@lucon.org>
778
f59fb6ca
ILT
779 * frags.c (frag_var): Change offset parameter to offsetT.
780 (frag_variant): Likewise.
781 * frags.h (frag_variant, frag_var): Update declarations.
782 * config/tc-m68k.c (struct m68k_it): Change foff field to
783 offsetT.
784 (add_frag): Change off parameter to offsetT.
785 * Several files: Add casts to calls to frag_var.
786
29bc322d
ILT
787 * Makefile.in (m68k-parse.c): Depend upon itbl-parse.c, to
788 serialize a parallel make.
789 (itbl-parse.h): Split target out from itbl-parse.c.
790
9afc6631
ILT
791Thu Mar 20 12:48:45 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
792
39ab5d3a
ILT
793 * config/m68k-parse.y (motorola_operand): Allow (zdireg,EXPR).
794
9afc6631
ILT
795 * config/te-delta.h (COFF_COMMON_ADDEND): Define.
796 * config/obj-coff.c (fixup_segment): Check COFF_COMMON_ADDEND when
797 storing the value of a common symbol.
798
7dd26961
ILT
799Wed Mar 19 11:37:57 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
800
801 * config/obj-coff.c (glue_symbols): Unused variable symbolP
802 removed.
803 (crawl_symbols): Do not modify symbol_rootP and symbol_lastP here;
804 that is done by symbol_remove and symbol_insert.
805
806 * config/obj-coff.h (S_IS_LOCAL): Return 0 for a debugging
807 symbol.
808
ac766f70
ILT
809Wed Mar 19 11:06:29 1997 Ian Lance Taylor <ian@cygnus.com>
810
811 * config/tc-mips.c (load_register): In 32 bit mode, when not
812 dealing with a 64 bit number, permit the upper 32 bits to be set
813 even if bit 31 is not set.
814
58cfdde3
ILT
815Tue Mar 18 23:30:14 1997 Ian Lance Taylor <ian@cygnus.com>
816
817 * read.c (potable): Add "equiv".
818 (s_set): Handle .equiv based on argument.
819 * doc/as.texinfo (Equiv): New node to document .equiv.
820 (Err): New node to document .err.
821
7cd06f44
ILT
822Tue Mar 18 15:50:13 1997 H.J. Lu <hjl@lucon.org>
823
824 * Many files: Add function prototypes.
825 * as.c (show_usage, parse_args): Make static.
826 * frags.h (frag_alloc): Declare.
827 * subsegs.c (subseg_set_rest): Don't declare frag_alloc.
828 * symbols.c (dollar_label_instance): Change return type to long.
829 * symbols.h (print_symbol_value): Declare.
830 (print_expr, print_expr_1, print_symbol_value_1): Declare.
831 * write.c (fix_new_exp): Don't declare make_expr_symbol.
832 (remove_subsegs, relax_frag): Make static.
833 * config/atof-vax.c (atof_vax_sizeof): Change letter to int.
834 (what_kind_of_float): Likewise.
835 (atof_vax): Make static. Change what_kind to int.
836 (md_atof): Change what_statement_type to int.
837 * config/obj-ecoff.h (obj_ecoff_set_ext): Declare.
838 * config/tc-alpha.c (vax_md_atof): Declare.
839 (md_atof): Don't declare atof_ieee and vax_md_atof.
840 * config/tc-i386.c (set_16bit_code_flag): Make static.
841 * config/tc-i386.h (tc_i386_fix_adjustable): Declare.
842 * config/tc-m68k.c (add_fix): Change width to int.
843 (insert_reg): Change regname to const.
844 (md_atof): Don't declare atof_ieee.
845 (demand_empty_rest_of_line): Don't declare.
846 * config/tc-m88k.c (md_atof): Don't declare atof_ieee.
847 * config/tc-sparc.c (cmp_reg_entry): Change args to const PTR.
848 (parse_keyword_arg): Change lookup_fn to take const arg.
849 (md_atof): Don't declare atof_ieee.
850 * config/tc-sparc.h: Add ifdef for multiple inclusion.
851 (tc_aout_pre_write_hook): Don't declare.
852
590c50d8
ILT
853Mon Mar 17 11:21:09 1997 Ian Lance Taylor <ian@cygnus.com>
854
855 * as.h (bfd_alloc_by_size_t): Don't declare.
856 * Many files: Use xmalloc rather than bfd_alloc_by_size_t.
857
4b0895cf 858Sun Mar 16 13:49:21 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
e95ef7c1
ILT
859
860 * symbols.c (symbol_new): Don't call debug_verify_symchain.
861 (symbol_append): Set sy_next and sy_previous when adding a single
862 symbol to an empty list. Call debug_verify_symchain.
863 (verify_symbol_chain): Use assert, not know.
864
5cf4e55e
FF
865Sat Mar 15 20:27:12 1997 Fred Fish <fnf@cygnus.com>
866
867 * NEWS: Note BeOS support.
868 * configure.in: (ppc-*-beos): New target, use coff as object format.
869 * configure: Regenerate with autoconf.
870
9591ad40
ILT
871Sat Mar 15 19:14:02 1997 Ian Lance Taylor <ian@cygnus.com>
872
18f7e3dc
ILT
873 * config/tc-mips.c (md_apply_fix): Improve error message for out
874 of range branch.
875
9591ad40
ILT
876 * Makefile.in: Add dependencies on obstack.h where needed.
877
ef014e09
ILT
878Fri Mar 14 15:33:38 1997 Ian Lance Taylor <ian@cygnus.com>
879
46a92fde
ILT
880 * config/tc-mips.c (md_estimate_size_before_relax): Handle the
881 case of a symbol equated to another symbol when using SVR4_PIC.
882
ef014e09
ILT
883 * Makefile.in (TARG_CPU_DEP_sparc): Add opcode/sparc.h.
884
2e9974a4
ILT
885Thu Mar 13 11:20:51 1997 Ian Lance Taylor <ian@cygnus.com>
886
d428c89f
ILT
887 * read.c (read_a_source_file): Call LISTING_NEWLINE before
888 HANDLE_CONDITIONAL_ASSEMBLY when handling an MRI line label.
889
2e9974a4
ILT
890 * config/obj-elf.c (obj_elf_data): Call md_flush_pending_output
891 and md_elf_section_change_hook if they are defined.
892 (obj_elf_text, obj_elf_previous): Likewise.
893
80633e8e
ILT
894Wed Mar 12 11:40:20 1997 Ian Lance Taylor <ian@cygnus.com>
895
2e9974a4
ILT
896 * config/obj-multi.h (struct elf_obj_sy): Define if
897 OBJ_MAYBE_ELF.
898 (OBJ_SYMFIELD_TYPE): Define as struct elf_obj_sy if
899 OBJ_MAYBE_ELF.
900 * config/obj-elf.h (struct elf_obj_sy): Don't define if
901 OBJ_SYMFIELD_TYPE is defined.
902
80633e8e
ILT
903 * doc/as.texinfo (bss): Improve description of .bss section. In
904 ELF or COFF, you are permitted to switch into the section.
905 (Comm): Rewrite description of common symbols.
906 (Lcomm): Mention that some targets permit a third argument.
907
6d8dfa04
ILT
908Tue Mar 11 01:13:31 1997 Ian Lance Taylor <ian@cygnus.com>
909
9be8c0f1
ILT
910 * config/tc-ppc.c (ppc_elf_lcomm): Don't call S_CLEAR_EXTERNAL.
911
92b7bfb7
ILT
912 * symbols.c (colon): Change type of local to int. From Alan Modra
913 <alan@spri.levels.unisa.edu.au>.
914
e053e8c1
ILT
915 * config/tc-m88k.c (m88k_do_align): Don't use a special nop
916 alignment if a zero fill pattern was explicitly specified.
917 * config/tc-sh.c (sh_do_align): Likewise.
918
842b6b06
ILT
919 * read.c (equals): Always permit register names to be redefined.
920
ee2c03ed
ILT
921 * config/tc-mips.c (mips_fix_adjustable): Permit a reloc against a
922 mips16 symbol to be adjusted if a symbol is being subtracted from
923 it.
924
6d8dfa04
ILT
925 From Eric Youngdale <eric@andante.jic.com>:
926 * config/obj-elf.c (obj_elf_symver): Check for duplicate or
927 illegal symbol version names.
928 (elf_frob_symbol): Check for external default versions.
929
d88cc85d
ILT
930Sun Mar 9 23:49:12 1997 Ian Lance Taylor <ian@cygnus.com>
931
932 From Eric Youngdale <eric@andante.jic.com>:
933 * config/obj-elf.h (struct elf_obj_sy): Define.
934 (OBJ_SYMFIELD_TYPE): Define to elf_obj_sy struct. Change all
935 users.
936 * config/obj-elf.c (obj_elf_symver): Just record the name.
937 (obj_symbol_new_hook): Initialized versioned_name field.
938 (elf_frob_symbol): If there is a versioned_name, either rename the
939 symbol, or add an alias with that name.
940
a405bb3e
JL
941Thu Mar 6 13:55:32 1997 Jeffrey A Law (law@cygnus.com)
942
ef03fee0
JL
943 * config/tc-mn10300.c (md_relax_table): Define.
944 (md_convert_frag): Implement.
945 (md_assemble): Handle relaxable operands/instructions correctly.
946 (md_estimate_size_before_relax): Implement.
947 * config/tc-mn10300.h (TC_GENERIC_RELAX_TABLE): Define.
948
27103699
JL
949 * config/tc-mn10200.c (md_relax_table): Fix typos.
950
a405bb3e
JL
951 * config/tc-mn10300.c (md_assemble): Don't use any MN10300 specific
952 relocs anymore. Tweak fx_offset for pc-relative relocs.
953
d6545e3f
ILT
954Wed Mar 5 15:46:16 1997 Ian Lance Taylor <ian@cygnus.com>
955
956 * cond.c (s_ifc): Call mri_comment_field and mri_comment_end when
957 in MRI mode.
958
e74539b8
FF
959start-sanitize-tic80
960Tue Mar 4 19:34:21 1997 Fred Fish <fnf@cygnus.com>
961
1ea52646
FF
962 * config/tc-tic80.c (md_pseudo_table): Add "sect" and "section"
963 pseudo-ops.
e74539b8
FF
964 * config/tc-tic80.c (md_begin): Declare external variable
965 coff_flags and insert an F_AR32WR bit into it.
966
967end-sanitize-tic80
968Tue Mar 4 10:01:04 1997 Ian Lance Taylor <ian@cygnus.com>
969
970 * read.c (equals): Add reassign parameter. Change all callers.
971 * read.h (equals): Update declaration.
972
a941619c
ILT
973Sat Mar 1 01:04:04 1997 Ian Lance Taylor <ian@cygnus.com>
974
975 * config/tc-mips.c (mips16_extended_frag): Don't assume that we
976 can rely on the frag address to determine whether a frag is
977 earlier or later.
978
23604921
ILT
979Fri Feb 28 14:40:00 1997 Ian Lance Taylor <ian@cygnus.com>
980
981 * write.h (LOCAL_LABEL): Only define if not BFD_ASSEMBLER.
982 (S_LOCAL_NAME): Likewise.
983 (FAKE_LABEL_NAME): Define unconditionally.
984 * symbols.c (colon): Call bfd_is_local_label, not LOCAL_LABEL, if
985 BFD_ASSEMBLER.
986 (S_IS_LOCAL): Call bfd_is_local_label_name, not LOCAL_LABEL.
987 * config/tc-*.h: Only define LOCAL_LABEL if not BFD_ASSEMBLER.
988 Don't define FAKE_LABEL_NAME.
989 * config/te-ic960.h: Likewise.
990 * config/tc-mips.h (tc_frob_file_before_adjust): Define.
991 (mips_frob_file_before_adjust): Declare.
992 * config/tc-mips.c (mips_frob_file_before_adjust): New function.
993 (mips_local_label): Remove.
994
995 * config/te-sco386.h: Remove; not used.
996
a88ce21e
FF
997start-sanitize-tic80
998Thu Feb 27 15:39:16 1997 Fred Fish <fnf@cygnus.com>
999
1000 * config/tc-tic80 (md_pseudo_table): Add align pseudo op to do
1001 byte alignment rather than power-of-two alignment that is the
1002 GAS default.
1003
1004end-sanitize-tic80
0f68bf0a
ILT
1005Thu Feb 27 13:29:04 1997 Ian Lance Taylor <ian@cygnus.com>
1006
e053e8c1 1007 * config/tc-m68k.c (md_assemble): Handle a reloc width of 'W'.
f396c4ef 1008
0f68bf0a
ILT
1009 * gasp.c (hash_add_to_string_table): Correct misspelling in error
1010 message, and add newline.
1011 (process_file): Don't process assignments in the label if this is
1012 a equ or assign pseudo-op.
1013 (process_pseudo_op): Swap first argument to do_assign for K_ASSIGN
1014 and K_EQU, to match documentation.
1015
0fe302ac
MM
1016Thu Feb 27 12:00:03 1997 Michael Meissner <meissner@cygnus.com>
1017
1018 * config/obj-coff.c (obj_coff_section): Add 'r' section attribute
1019 to denote read-only data sections.
1020
30d0557c
ILT
1021Thu Feb 27 00:26:33 1997 Ian Lance Taylor <ian@cygnus.com>
1022
35c64f24
ILT
1023 * config/obj-elf.c (obj_elf_common): Set BSF_OBJECT in flags.
1024 * config/tc-sparc.c (s_common): Likewise, if BFD_ASSEMBLER.
1025
30d0557c
ILT
1026 * expr.c (operand): Simplify 0b handling. Don't treat 0b as a
1027 binary number if the next character is '+' or '-'.
1028
1e12595d
FF
1029start-sanitize-tic80
1030Wed Feb 26 20:47:12 1997 Fred Fish <fnf@cygnus.com>
1031
1032 * config/tc-tic80.c (FLT_CHARS): Change from "dD" to "fF".
1033 (find_opcode): Match operands that can be floats.
1034 (build_insn): Handle O_big (float) expressions and build
1035 correct opcode.
1036
1037end-sanitize-tic80
af942793
SS
1038Wed Feb 26 18:19:00 1997 Stan Shebs <shebs@andros.cygnus.com>
1039
1040 * configure.in (mips*-*-lnews*): New target, also make empty
1041 emulation list for this target.
1042 * configure: Update.
1043 * tc-mips.c (ECOFF_LITTLE_FORMAT): Define.
1044 (mips_target_format): Use.
1045 * te-lnews.h: New file.
1046
f92f247b
FF
1047start-sanitize-tic80
1048Wed Feb 26 15:33:46 1997 Fred Fish <fnf@cygnus.com>
1049
1050 * config/tc-tic80.c (find_opcode, build_insn): Changes to match
1051 operands with :m or :s modifiers and generate the right opcodes
1052 for them.
1053
1054end-sanitize-tic80
7a515708
ILT
1055Wed Feb 26 11:56:11 1997 Ian Lance Taylor <ian@cygnus.com>
1056
1057 * Makefile.in (itbl-parse.c itbl-parse.h): Use $(BISON) and
1058 $(BISONFLAGS), not $(YACC) and $(YACCFLAGS).
1059
55be99d6
ILT
1060Tue Feb 25 22:02:23 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
1061
1062 * config/tc-m68k.c (instring): Useless local declaration of
1063 crack_operand removed.
1064 * expr.h (expressionS): Changed type of X_op field to operatorT if
1065 __GNUC__.
1066
28d8c671
ILT
1067Tue Feb 25 13:17:27 1997 Ian Lance Taylor <ian@cygnus.com>
1068
034988c6
ILT
1069 Based on patches from Robert Lipe <robertl@dgii.com>:
1070 * configure.in: Add i386coff and i386elf to emulation list.
1071 * configure: Rebuild.
1072 * as.c (i386coff, i386elf): Declare.
1073 * obj.h (coff_format_ops): Declare.
1074 * config/obj-coff.c (OBJ_HEADER): Define.
1075 (coff_obj_symbol_new_hook): Rename from obj_symbol_new_hook.
1076 (coff_obj_read_begin_hook): Rename from obj_read_begin_hook.
1077 (obj_pseudo_table): Add "version".
1078 (coff_pop_insert): New static function.
1079 (coff_sec_sym_ok_for_reloc): New static function.
1080 (no_func): New static function.
1081 (coff_format_ops): New variable.
1082 * config/obj-coff.h (coff_obj_symbol_new_hook): Declare.
1083 (obj_symbol_new_hook): Define.
1084 (coff_obj_read_begin_hook): Declare.
1085 (obj_read_begin_hook): Define.
1086 * config/tc-i386.h (i386_target_format): Declare.
1087 * config/tc-i386.c: Check OBJ_MAYBE_ELF as well as OBJ_ELF; check
1088 OUTPUT_FLAVOR when appropriate.
1089 (i386_target_format): New function.
1090 * Makefile.in (obj-coff.o): New target.
1091 (e-i386coff.o, e-i386elf.o): New targets.
1092
a0c4a241
ILT
1093 From Stephen Williams <steve@icarus.icarus.com>:
1094 * config/tc-i960.h (TC_SYMFIELD_TYPE): Define if OBJ_COFF.
1095 (_tc_get_bal_of_call): Don't declare.
1096 (tc_get_bal_of_call): Declare as function, don't define as macro.
1097 * config/tc-i960.c (tc_set_bal_of_call): If OBJ_COFF, store balP
1098 in sy_tc field, not x_balntry field.
1099 (tc_get_bal_of_call): Rename from _tc_get_bal_of_call. Change
1100 return type to symbolS *. If OBJ_COFF, retrieve value from sy_tc
1101 field, not x_balntry field.
1102
1103 * config/obj-elf.c (obj_elf_section): Permit a .note section to
1104 have the SHF_ALLOC attribute.
1105
a90512ad
ILT
1106 * Makefile.in ($(OBJS)): Don't depend upon $(IT_HDRS).
1107 (TARG_CPU_DEP_mips): Depend upon $(srcdir)/itbl-ops.h.
1108 (itbl-lex.o): Depend upon itbl-parse.h.
1109
1110 * itbl-parse.y (yyerror): Change return type to int. Change to
1111 use old style function declaration.
1112
ee5cb7fe
ILT
1113 * Makefile.in (itbl-lex.o): Remove -Wall.
1114 (itbl-parse.o): Likewise.
1115
28d8c671
ILT
1116 * cond.c (s_ifdef): If we should omit conditionals from listings,
1117 call listing_list.
1118 (s_if, s_ifc, s_endif, s_else, s_ifeqs): Likewise.
1119 * listing.c (list_info_struct): Add EDICT_NOLIST_NEXT.
1120 (listing_listing): Handle EDICT_NOLIST_NEXT.
1121 (listing_list): An argument of 2 means EDICT_NOLIST_NEXT.
1122 * listing.h (LISTING_NOCOND): Define.
1123 (LISTING_SKIP_COND): Define.
1124 * as.c (show_usage): Mention c as a suboption of -a.
1125 (parse_args): Handle c as a suboption of -a.
1126 * doc/as.texinfo: Document -alc.
1127
b16a8c8e
FF
1128start-sanitize-tic80
1129Mon Feb 24 23:34:14 1997 Fred Fish <fnf@cygnus.com>
1130
1131 * config/tc-tic80.c (md_apply_fix): Handle R_ABS type fixups.
1132
1133end-sanitize-tic80
1134Mon Feb 24 18:27:43 1997 Eric Youngdale <eric@andante.jic.com>
1135
1136 * doc/as.texinfo: Document .symver.
1137
4d3410fd
MH
1138Mon Feb 24 15:19:57 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
1139
1140 * config/tc-d10v.c: Change pre_defined_registers to
1141 d10v_predefined_registers and reg_name_cnt to d10v_reg_name_cnt.
1142
ec72a266
FF
1143Mon Feb 24 10:40:45 1997 Fred Fish <fnf@cygnus.com>
1144
1145 * config/obj-coff.c: Fix typo in comment section.
1146start-sanitize-tic80
1147 * config/tc-tic80.c (md_pseudo_table): Add entry for bss, which takes
1148 an additional alignment argument.
1149 (find_opcode): Allow O_symbol relocs for any 32 bit field, not just
1150 base relative ones.
1151 (build_insn): Handle O_symbol relocs for any 32 bit field, not just
1152 base relative ones.
1153end-sanitize-tic80
1154
16aef5b0
DP
1155Mon Feb 24 02:23:00 1997 Dawn Perchik <dawn@cygnus.com>
1156
1157 * Makefile.in: Remove dependancies on itbl-cpu.h.
1158 * as.c: Define stubs for itbl_parse and itbl_init if HAVE_ITBL_CPU
1159 is not defined.
1160
ac6c6bdb
DP
1161Mon Feb 24 02:03:00 1997 Dawn Perchik <dawn@cygnus.com>
1162
1163 * itbl-ops.h: Include as.h.
1164
72797ffa
DP
1165Mon Feb 24 01:04:00 1997 Dawn Perchik <dawn@cygnus.com>
1166
1167 * as.c: Remove -t option.
1168 * configure, configure.in: Move itbl-cpu.h to mips specific configure.
1169 * itbl-ops.h: Include itbl-cpu.h only if HAVE_ITBL_CPU is defined.
1170 * config/tc-mips.h: Define HAVE_ITBL_CPU.
1171
2f671f84
DP
1172Sun Feb 23 18:01:00 1997 Dawn Perchik <dawn@cygnus.com>
1173
1174 * itbl-ops.c: Don't define DEBUG.
1175
f9f0539f
DP
1176Sun Feb 23 17:49:00 1997 Dawn Perchik <dawn@cygnus.com>
1177
1178 * Makefile.in: Update itbl-test.c to reflect its new location.
1179
8d8a790b
DP
1180Sun Feb 23 15:50:00 1997 Dawn Perchik <dawn@cygnus.com>
1181
1182 * itbl-ops.c: Add test for itbl_have_entries.
1183 * config/tc-mips.c: Remove test for itbl_have_entries.
1184 * config/tc-mips.h: Define tc_init_after_args to mips_init_after_args.
1185
7b9f3d46
ILT
1186Sun Feb 23 18:13:19 1997 Ian Lance Taylor <ian@cygnus.com>
1187
1188 * Makefile.in (DISTSTUFF): Remove itbl-parse.y, itbl-lex.l, and
1189 itbl-ops.c. Add itbl-parse.c and itbl-lex.c.
1190 (LEX, LEXFLAGS): Define.
1191 * itbl-ops.c (append_insns_as_macros): Remove bogus ASSERT.
1192
efec4a28
DP
1193Sat Feb 22 21:25:00 1997 Dawn Perchik <dawn@cygnus.com>
1194
1195 * itbl-parse.y: Fix indentation mistakes from indent program.
1196 * itbl-lex.l: Fix indentation mistakes from indent program.
1197 * itbl-ops.h: Add include for ansidecl.h.
1198 Add PARAMS around function arguments.
1199 Add declaration for itbl_have_entries.
1200 * itbl-ops.c: Add PARAMS around function arguments.
1201 * Makefile.in: Add itbl build rules.
1202 Add dependancies for itbl files to mips target.
1203 * as.c: Add itbl support.
1204 Add new option "--insttbl" for dynamically extending instruction set.
1205 * as.h: Declare insttbl_file_name;
1206 the name of file defining extensions to the basic instruction set
1207 * configure.in, configure: Add itbl-parse.o, itbl-lex.o, and
1208 itbl-ops.o to extra_objects for mips configuration.
1209 Add include file link from itbl-cpu.h to
1210 config/itbl-${target_cpu_type}.h.
1211 * config/tc-mips.c: Allow copz instructions.
1212 Add notes for future additions to the itbl support.
1213 Add debug macros.
1214 (macro): Call itbl_assemble to assemble itbl instructions.
1215 See if an unknown register is specified in an itbl entry.
1216
d160b69e
FF
1217Sat Feb 22 20:53:01 1997 Fred Fish <fnf@cygnus.com>
1218 * doc/internals.texi (CPU backend): Fix typo in md_section_align
1219 description.
1220start-sanitize-tic80
1221 * config/tc-tic80.h (NEED_FX_R_TYPE): Define.
1222 * config/tc-tic80.c (find_opcode): Add code to support O_symbol
1223 operands.
1224 (build_insn): Grab a frag early so we can use the address in
1225 fixups. Take one's complement of BITNUM values before insertion
1226 in opcode. Add code to support O_symbol operands.
1227 (md_apply_fix): Replace unimplemented warning with implementation.
1228 (md_pcrel_from): Ditto.
1229 (tc_coff_fix2rtype): Ditto.
1230end-sanitize-tic80
1231
09d9ef26 1232Fri Feb 21 14:34:31 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
1b524697
MH
1233start-sanitize-d30v
1234 * config/tc-d30v.c (parallel_ok): New function.
1235 * config/tc-d30v.h: Define TARGET_BYTES_BIG_ENDIAN.
1236end-sanitize-d30v
09d9ef26
MH
1237 * config/tc-d10v.c (md_pcrel_from_section): Return 0 if
1238 relocation is in different section. Fixes PR11574.
1239
e2e5acfa
JW
1240Fri Feb 21 10:08:25 1997 Jim Wilson <wilson@cygnus.com>
1241
1242 * tc-mips.c (mips_ip): If configured for an embedded ELF system,
1243 don't set the section alignment to 2**4.
1244
fee3e248
ILT
1245Fri Feb 21 11:55:03 1997 Ian Lance Taylor <ian@cygnus.com>
1246
b2f7cdd0
ILT
1247 * config/tc-m68k.c (line_comment_chars): Add '*'.
1248
830ce631
ILT
1249 * app.c (LEX_IS_TWOCHAR_COMMENT_2ND): Don't define.
1250 (do_scrub_begin): Don't set lex['*'].
1251 (do_scrub_chars): When handling LEX_IS_TWOCHAR_COMMENT_1ST, don't
1252 check for LEX_IS_TWOCHAR_COMMENT_2ND. Instead, just check for
1253 a literal '*'.
1254
fee3e248
ILT
1255 * configure.in: Set em=svr4 for m68k-*-sysv4*.
1256 * configure: Rebuild.
1257 * config/te-svr4.h: New file.
1258 * config/tc-m68k.c (m68k_comment_chars): Only include `#' if
1259 TE_SVR4 or TE_DELTA.
1260
48242b28
JL
1261Thu Feb 20 22:24:39 1997 Jeffrey A Law (law@cygnus.com)
1262
1263 * config/tc-mn10200.c (md_convert_frag): Create a fixup for the
1264 short conditional branch around a long unconditional branch.
1265
1af411e1
ILT
1266Thu Feb 20 13:56:00 1997 Ian Lance Taylor <ian@cygnus.com>
1267
64c5df8d
ILT
1268 * config/obj-coff.c (obj_coff_ln [both versions]): Call
1269 new_logical_line.
1270
1af411e1
ILT
1271 * config/tc-arm.c (fix_new_arm): Use make_expr_symbol to handle a
1272 complex expression.
1273
1274 * symbols.c (resolve_symbol_value): If both left and right
1275 operands are undefined, warn about both of them.
1276
78673fc6
ILT
1277Wed Feb 19 00:53:28 1997 Ian Lance Taylor <ian@cygnus.com>
1278
dd7feeb5
ILT
1279 Based on patches from Eric Youngdale <eric@andante.jic.com>:
1280 * config/obj-elf.c (elf_pseudo_table): Add "symver".
1281 (obj_elf_symver): New static function.
1282 * config/obj-elf.h (OBJ_COPY_SYMBOL_ATTRIBUTES): Copy the st_other
1283 field.
1284
1285 * write.c (relax_segment): Make type and printf format agree.
1286
78673fc6
ILT
1287 * read.c (get_line_sb): Don't end the line on a semicolon inside a
1288 string.
1289
14f23c28
MH
1290start-sanitize-d30v
1291Tue Feb 18 18:42:51 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
1292
1293 * config/tc-d30v.c, config/tc-d30v.h: New files.
1294
1295 * configure: Rebuilt.
1296
1297 * configure.in: Add case for d30v.
1298
1299end-sanitize-d30v
1300Sun Feb 16 17:47:29 1997 Fred Fish <fnf@toadfish.ninemoons.com>
1301
1302 * config/tc-alpha.h (md_operand): Define with a null expansion,
1303 like all the other targets.
1304 * doc/internals.texi (CPU backend): Add missing word in
1305 md_flush_pending_output description. Fix typo in md_convert_frag
1306 description.
1307start-sanitize-tic80
1308 * config/tc-tic80: Minor comment additions/changes.
1309end-sanitize-tic80
1310
b253dcff
ILT
1311Fri Feb 14 18:09:59 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
1312
1313 * config/tc-m68k.c (LOCAL_LABEL): Macro redefined if TE_DELTA.
1314 (tc_canonicalize_symbol_name): Macro defined if TE_DELTA.
1315 * config/obj-coff.c (obj_coff_def): Use
1316 tc_canonicalize_symbol_name if defined.
1317 (obj_coff_tag, obj_coff_val): Likewise.
1318 * expr.c (operand): Reject '~' as operator if is_name_beginner.
1319
d7bf6158
ILT
1320Fri Feb 14 17:24:48 1997 Ian Lance Taylor <ian@cygnus.com>
1321
f5ed78de
ILT
1322 Based on notes from Peter Eriksson <peter@ifm.liu.se>. The target
1323 does not actually work, though:
1324 * configure.in (i386-sequent-bsd*): New target.
1325 * configure: Rebuild.
1326 * config/tc-dynix.h: New file.
1327 * config/tc-i386.h: Define TARGET_FORMAT if TE_DYNIX.
1328
d7bf6158
ILT
1329 * read.c (do_align): Add max parameter. Change all callers.
1330 Remove useless static variables.
1331 (s_align): New static function. Do common portion of
1332 s_align_bytes and s_align_ptwo.
1333 (s_align_bytes, s_align_ptwo): Just call s_align.
1334 * frags.c (frag_align): Add max parameter. Change all callers.
1335 (frag_align_pattern): Likewise.
1336 * frags.h (frag_align, frag_align_pattern): Update declarations.
1337 * write.c (relax_segment): Limit alignment change to fr_subtype.
1338 Fix some types to be addressT.
1339 * config/obj-coff.c (size_section): Likewise.
1340 * config/obj-ieee.c (size_section): Likewise.
1341 * config/tc-d10v.h (md_do_align): Add max parameter.
1342 * config/tc-i386.h (md_do_align): Likewise.
1343 * config/tc-m88k.h (md_do_align): Likewise.
1344 * config/tc-m88k.c (m88k_do_align): Likewise.
1345 * config/tc-sh.h (md_do_align): Likewise.
1346 * config/tc-sh.c (sh_do_align): Likewise.
1347 * as.h: Improve comments on rs_align and rs_align_code.
1348 * doc/as.texinfo: Document new alignment arguments.
1349 * doc/internals.texi (Frags): Document use of fr_subtype field for
1350 rs_align and rs_align_code.
1351
1352Fri Feb 14 15:56:06 1997 Gavin Koch <gavin@cygnus.com>
1353
1354 * config/tc-mips.c: Changed opcode parsing.
1355
16171d71
FF
1356Thu Feb 13 20:02:16 1997 Fred Fish <fnf@cygnus.com>
1357
1358 * config/{tc-alpha.h, tc-arc.h, tc-d10v.h, tc-generic.h, tc-i960.h,
ec2f730d 1359 tc-mn10200.h, tc-mn10300.h, tc-sh.h, tc-vax.h, tc-w65.h}:
16171d71
FF
1360 Add default definition of zero for TARGET_BYTES_BIG_ENDIAN.
1361 * config/{tc-arm.h, tc-hppa.h, tc-i386.h, tc-mips.h, tc-ns32k.h,
1362 tc-ppc.h, tc-sparc.h}: Move definition of TARGET_BYTES_BIG_ENDIAN
1363 to a location consistent with the rest of the target include files.
1364 * config/tc-i386.c: Remove misleading comment.
1365 * doc/internals.texi (CPU backend): Add description of function
1366 md_undefined_symbol.
1367start-sanitize-tic80
1368 * config/tc-tic80.c: Add code to insert predefined symbols into the
1369 symbol table so they can be parsed by the standard expression parser.
1370 Remove custom code that use to parse them.
1371 * config/tc-tic80.h: Move definition of TARGET_BYTES_BIG_ENDIAN
1372 to a location consistent with the rest of the target include files.
1373end-sanitize-tic80
1374
9f13ead9
ILT
1375Thu Feb 13 21:44:18 1997 Klaus Kaempf <kkaempf@progis.de>
1376
1377 * as.h: GNU c provides unlink() function.
1378
1379 Unify section handling on openVMS/Alpha:
1380 * config/tc-alpha.c(s_alpha_link): Remove.
1381 (s_alpha_section): New function.
1382 Remove case-hacking of symbols
1383 Add .code_address pseudo-op.
1384 (BFD_RELOC_ALPHA_CODEADDR): New relocation.
1385 (s_alpha_code_address): New function.
1386 (alpha_ctors_section, alpha_dtors_section): New sections for C++
1387 static constructors/destructors.
1388 Add debug code for crash debugs, to be removed when traceback code
1389 is added to object code.
1390 (s_alpha_name): New function for .name pseudo-op.
1391 (alpha_print_token): New function to print token expressions with
1392 alpha specific extensions.
1393
1394 * makefile.vms: Allow compilation with current gcc snapshot.
1395
af16e411
FF
1396Thu Feb 13 16:29:04 1997 Fred Fish <fnf@cygnus.com>
1397
1398 * doc/Makefile.in (TEXI2DVI): Set to just name of program.
1399 (DVIPS): Set to dvips.
1400 (ps, as.ps, gasp.ps): New targets.
1401 (internals.info, gasp.dvi, internals.dvi): Set both TEXINPUTS
1402 and MAKEINFO env variables.
1403 (internals.ps): Use DVIPS macro.
1404 (clean): Remove core and backup files.
1405 (distclean): Remove temporary files from building internals.
1406 (clean-dvi): Ditto.
1407 * doc/internals.texi (Frags): Fix typo.
1408 (GAS processing): Ditto.
1409 (CPU backend): Ditto.
1410 * ecoff.c (init_file): Use TARGET_BYTES_BIG_ENDIAN value directly.
1411 * mpw-config.in: Define TARGET_BYTES_BIG_ENDIAN as 1.
1412 * read.c: Remove ugly hack that dealt with config files not
1413 correctly defining TARGET_BYTES_BIG_ENDIAN.
1414 (target_big_endian): Use TARGET_BYTES_BIG_ENDIAN directly.
1415 * config/arm-big.mt: Define TARGET_BYTES_BIG_ENDIAN to 1.
1416 * config/arm-lit.mt: Define TARGET_BYTES_BIG_ENDIAN to 0.
1417 * config/mips-big.mt: Define TARGET_BYTES_BIG_ENDIAN to 1.
1418 * config/mips-lit.mt: Define TARGET_BYTES_BIG_ENDIAN to 0.
1419 * config/ppc-lit.mt: Define TARGET_BYTES_BIG_ENDIAN to 1.
1420 * config/ppc-sol.mt: Replace TARGET_BYTES_LITTLE_ENDIAN
1421 with TARGET_BYTES_BIG_ENDIAN defined to 0.
1422 * config/tc-arm.h: Remove use of TARGET_BYTES_LITTLE_ENDIAN
1423 and simplify. Test value of TARGET_BYTES_BIG_ENDIAN, not just
1424 whether it is defined or not.
1425 * config/tc-mips.h: Remove use of TARGET_BYTES_LITTLE_ENDIAN.
1426 * config/tc-ppc.h: Remove use of TARGET_BYTES_LITTLE_ENDIAN
1427 and simplify. Test value of TARGET_BYTES_BIG_ENDIAN, not just
1428 whether it is defined or not.
1429start-sanitize-tic80
1430 * config/tic80.h (TARGET_FORMAT): Define to coff-tic80.
1431 (TARGET_BYTES_BIG_ENDIAN): Define to 0.
1432end-sanitize-tic80
1433
89b41978
DE
1434Thu Feb 13 14:40:16 1997 Doug Evans <dje@canuck.cygnus.com>
1435
1436 * write.c (write_relocs): Correct text in as_fatal error message,
1437 bfd_perform_relocation -> bfd_install_relocation.
1438
151c3ec0
ILT
1439Thu Feb 13 14:48:03 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
1440
1441 * config/tc-m68k.c (LEX_TILDE): Define if TE_DELTA.
1442 * read.c (LEX_TILDE): Define if not defined.
1443 (lex_type): Use LEX_TILDE.
1444 * expr.c (get_symbol_end): Check first char with is_name_beginner,
1445 not is_part_of_name.
1446
4a1cb507
ILT
1447Thu Feb 13 11:40:58 1997 Ian Lance Taylor <ian@cygnus.com>
1448
3de9d78c
ILT
1449 * config/tc-sparc.c (md_show_usage): Add missing backslash at end
1450 of continued line.
1451
319305a7
ILT
1452 * config/tc-mips.c (mips16_extended_frag): Correct base address
1453 for an extended PC relative instruction.
1454 (md_convert_frag): Likewise.
1455
4a1cb507
ILT
1456 * config/tc-mips.c (prev_nop_frag): New static variable.
1457 (prev_nop_frag_holds): New static variable.
1458 (prev_nop_frag_required): New static variable.
1459 (prev_nop_frag_since): New static variable.
1460 (append_insn): If we aren't reordering, and prev_nop_frag is not
1461 NULL, and we don't need any nops, then decrease the size of
1462 prev_nop_frag. Don't insert nops because of instructions in
1463 noreorder sections. Remember whether the previous instructions
1464 where in noreorder sections even when not reordering.
1465 (mips_no_prev_insn): Add preserver parameter. Change all
1466 callers. Refer prev_nop_frag variables when appropriate.
1467 (mips_emit_delays): Set up prev_nop_frag.
1468 (s_mipsset): Clear prev_nop_frag if reordering.
1469
ebf28372
ILT
1470Wed Feb 12 14:36:29 1997 Ian Lance Taylor <ian@cygnus.com>
1471
9cd4e6cc
ILT
1472 * config/tc-mips.c (append_insn): Remove useless code which
1473 handled swapping a mips16 jump with a mips16 instruction with a
1474 reloc.
1475
05874c2e
ILT
1476 * config/tc-mips.c (md_parse_option): When debugging, set
1477 mips_optimize to 1, not 0.
1478
56bb6eee
ILT
1479 * config/tc-mips.c (mips16_ip): Handle an extend operand.
1480
eb17f56c
ILT
1481 * config/tc-mips.c (my_getExpression): In mips16 mode, if it looks
1482 like the expression was based on `.', adjust the value of the
1483 symbol.
1484
035936da 1485 * config/tc-mips.c (append_insn): Warn about an attempt to put an
c0df26bb 1486 extended instruction in a delay slot when not reordering.
035936da
ILT
1487 (md_convert_frag): Warn if an extended instruction appears in a
1488 delay slot.
1489
ed3eb786
ILT
1490 * config/tc-mips.c (mips_pseudo_table): Add "insn".
1491 (s_insn): New static function.
1492 * doc/c-mips.texi: Document .insn.
1493
ebf28372
ILT
1494 * config/tc-mips.c (md_begin): Add the general registers to the
1495 symbol table.
1496 (mips16_ip): First parse the expression, and then see whether it
1497 came up with a register, rather than trying to first see whether
1498 we are looking at a register.
1499
11e08196
FF
1500start-sanitize-tic80
1501Tue Feb 11 15:13:39 1997 Fred Fish <fnf@cygnus.com>
1502
1503 * config/tc-tic80.c: Numerous changes and additions to flesh
1504 out functions that were previously just stubs, and fix some
1505 problems found using the new TIc80 testsuite cases.
1506
1507end-sanitize-tic80
16262668
ILT
1508Tue Feb 11 15:52:22 1997 Ian Lance Taylor <ian@cygnus.com>
1509
1510 * config/tc-mips.c (mips16_ip): Handle %gprel modifier.
1511 (md_apply_fix): Handle BFD_RELOC_MIPS16_GPREL.
1512
1513 * config/tc-mips.c (append_insn): Output jump instruction as a
1514 pair of 2 byte instructions, rather than as a single 4 byte
1515 instruction.
1516
1517start-sanitize-r5900
1518 * config/tc-mips.c (md_begin): Correct test of mips_5900.
1519 (mips_ip): Don't check INSN_ISA for a macro.
1520
1521end-sanitize-r5900
276c2d7d
GRK
1522start-sanitize-r5900
1523Fri Feb 7 11:11:06 1997 Gavin Koch <gavin@cygnus.com>
1524
1525 * config/tc-mips.c: added r5900.
1526
1527end-sanitize-r5900
c6745073
DP
1528Mon Feb 10 22:06:00 1997 Dawn Perchik (dawn@cygnus.com)
1529
1530 * itbl-ops.c, itbl-lex.l, itbl-parse.y, itbl-ops.h,
1531 config/itbl-mips.h: Add copyright message and fix indentation.
1532
8e5c905e
DP
1533Mon Feb 10 18:09:00 1997 Dawn Perchik (dawn@cygnus.com)
1534
1535 * itbl-ops.c: New file. Add support for dynamically read
1536 instruction registers, opcodes and formats. Build internal table
1537 for new instructions and provide callbacks for assembler and
1538 disassembler.
1539 * itbl-lex.l, itbl-parse.y: Lex and yacc parsers for instruction
1540 spec table.
1541 * itbl-ops.h: New file. Header file for itbl support.
1542 * config/itbl-mips.h: New file. Mips specific definitions for
1543 itbl support.
1544
a7355c4d
JL
1545Fri Feb 7 09:52:34 1997 Jeffrey A Law (law@cygnus.com)
1546
1547 * config/tc-mn10200.c (md_assemble): If a constant operand won't
1548 fit into the constant field of a relaxable operand, then it does
1549 not match.
1550
e58035e3
JL
1551Thu Feb 6 20:08:12 1997 Jeffrey A Law (law@cygnus.com)
1552
1553 * config/tc-mn10200.c (md_estimate_size_before_relax): Treat
1554 a jsr target in a different section just like a jsr to
1555 an undefined target.
1556
6927c24d
ILT
1557Thu Feb 6 16:52:57 1997 Ian Lance Taylor <ian@cygnus.com>
1558
1559 * config/tc-mips.c (mips_fix_adjustable): Don't adjust relocations
1560 against any mips16 symbols, not just externally visible ones.
1561 (md_apply_fix): Corresponding change.
1562
c9167640
ILT
1563Wed Feb 5 11:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
1564
1565 * config/tc-mips.c (mips16_ip): Accept floating point registers in
1566 the operand of the exit instruction.
1567
76801700
ILT
1568Tue Feb 4 14:12:39 1997 Ian Lance Taylor <ian@cygnus.com>
1569
1570 * symbols.c (resolve_symbol_value): If we leave an equated symbol
1571 as O_symbol, copy over the segment.
1572
3569064f
ILT
1573Mon Feb 3 12:35:54 1997 Ian Lance Taylor <ian@cygnus.com>
1574
1748b9d8
ILT
1575 * config/tc-mips.c (md_apply_fix): If we aren't adjusting this
1576 fixup to be against the section symbol, adjust the value
1577 accordingly.
1578
3569064f
ILT
1579 * symbols.c (resolve_symbol_value): Don't change X_add_number for
1580 an equated symbol.
1581 * write.c (write_relocs): Avoid looping on equated symbols.
1582 Adjust fx_offset by X_add_number for each symbol.
1583 * config/obj-coff.c (do_relocs_for): Avoid looping on equated
1584 symbols.
1585 (fixup_segment): Add a loop to track down equated symbols and
1586 adjust fx_offset appropriately.
1587
f5d7f6fb
JL
1588Fri Jan 31 15:21:02 1997 Jeffrey A Law (law@cygnus.com)
1589
1590 * config/tc-mn10200.c (md_relax_table): Add entries to allow
1591 jmp -> bra relaxing.
1592 (md_convert_frag): Handle jmp->bra relaxing.
1593 (md_assemble): Handle jmp->bra relaxing.
1594 (md_estimate_size_before_relax): Likewise.
1595
fb50cd4e
ILT
1596Fri Jan 31 13:15:05 1997 Alan Modra <alan@spri.levels.unisa.edu.au>
1597
1598 * config/tc-i386.c (i386_align_code): Add comments explaining the
1599 nop instructions.
1600
a75abb6f
ILT
1601Fri Jan 31 10:46:14 1997 Ian Lance Taylor <ian@cygnus.com>
1602
2b063e6d
ILT
1603 * config/tc-sparc.c (enforce_aligned_data): New static variable.
1604 (sparc_cons_align): Don't do anything unless enforce_aligned_data
1605 is set.
1606 (md_longopts): Add "enforce-aligned-data".
1607 (md_show_usage): Mention --enforce-aligned-data.
1608 * doc/c-sparc.texi (Sparc-Aligned-Data): New node; document
1609 enforce-aligned-data.
1610
fbd929fd
ILT
1611 * config/tc-ppc.c (md_pseudo_table): If OBJ_XCOFF, add "long",
1612 "word", and "short".
1613 (ppc_xcoff_cons): New static function.
1614
a75abb6f
ILT
1615 * write.c (relax_segment): Give an error if a .space symbol is
1616 common or undefined.
1617
1618 * read.c (read_a_source_file): Don't handle mri_pending_align if
1619 the handler is s_globl or s_ignore.
1620
f1ce6af4
FF
1621Thu Jan 30 11:46:59 1997 Fred Fish <fnf@cygnus.com>
1622
1623 * config/tc-d10v.c (find_opcode): Remove unused variable "numops".
1624start-sanitize-tic80
1625 * config/tc-tic80.c: Many additions to previous placeholder file.
1626 * config/tc-tic80.h: Ditto.
1627end-sanitize-tic80
1628
0b476c53
ILT
1629Thu Jan 30 12:28:18 1997 Alan Modra <alan@spri.levels.unisa.edu.au>
1630
1631 * config/tc-i386.c (i386_align_code): Improve the nop patterns.
1632
a6b200da
ILT
1633Thu Jan 30 12:08:40 1997 Ian Lance Taylor <ian@cygnus.com>
1634
0d7f9025
ILT
1635 * config/tc-mips.c (mips_fix_adjustable): New function.
1636 * config/tc-mips.h (tc_fix_adjustable): Call mips_fix_adjustable.
1637 (mips_fix_adjustable): Declare.
1638
a6b200da
ILT
1639 Ideas from Srinivas Addagarla <srinivas@cdotd.ernet.in>:
1640 * read.c (read_a_source_file): After doing an mri_pending_align,
1641 adjust the line_label if there is one.
1642 (s_space): Set mri_pending_align if an odd number of bytes were
1643 output.
1644
9073144e
MH
1645Wed Jan 29 15:31:12 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
1646
1647 * config/tc-d10v.h (md_do_align): Add this hook to call
1648 d10v_cleanup() when a ".align" is detected. Fixes PR11487.
1649
1650 * config/tc-d10v.c (find_opcode): Correctly calculate
1651 branch displacement when .aligns are present.
1652
33a4c28d
JL
1653Wed Jan 29 09:42:11 1997 Jeffrey A Law (law@cygnus.com)
1654
1655 * config/tc-mn10200.c (md_relax_table): Define.
1656 (md_convert_frag): Implement.
1657 (md_assemble): Handle relaxable operands/instructions correctly.
1658 (md_estimate_size_before_relax): Implement.
1659 * config/tc-mn10200.h (TC_GENERIC_RELAX_TABLE): Define.
1660
645cb4dc
ILT
1661Tue Jan 28 15:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
1662
39bb58e0
ILT
1663 * config/tc-mips.c (append_insn): Give an error for jumps to a
1664 misaligned address.
1665 (md_apply_fix): Make a branch to an odd address an error rather
1666 than a warning.
3b320c48 1667
31a2c6ff
ILT
1668 * config/tc-mips.c (md_convert_frag): If the user explicitly
1669 requested an extended opcode, pass warn as true to mips16_immed.
1670
645cb4dc
ILT
1671 * config/tc-mips.c (mips16_ip): Handle a missing expression like
1672 an explicit 0, so that explicitly extended instructions work
1673 correctly.
1674
0192b099
ILT
1675Mon Jan 27 17:41:20 1997 Ian Lance Taylor <ian@cygnus.com>
1676
1677 * ecoff.c (ecoff_build_symbols): Don't generate a local ECOFF
1678 symbol for a common symbol.
1679
f7ab9441
DE
1680Wed Jan 22 10:39:39 1997 Doug Evans <dje@canuck.cygnus.com>
1681
1682 Patch presumed to have been checked in awhile ago but wasn't.
1683 Mon Nov 25 10:45:14 1996 Doug Evans <dje@seba.cygnus.com>
1684 * write.c: Delete "ifndef md_relax_frag" around is_dnrange.
1685 (relax_segment, case rs_org): Move code inside braces. Move locals
1686 target,after inside too.
1687 (relax_segment, case rs_machine_dependent): Guts moved to ...
1688 (relax_frag): New function.
1689 Call md_prepare_relax_scan if defined.
1690
0ce48081
C
1691Mon Jan 20 10:56:47 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1692
1693 * config/tc-m68k.c (m68k_ip): Reject pc-relative addresses for the
1694 'p' operand specifier.
1695
1696Mon Jan 20 10:39:36 1997 J.T. Conklin <jtc@cygnus.com>
ffecfc8b
C
1697
1698 * config/tc-m68k.c (HAVE_LONG_BRANCH): New macro, returns true for
1699 m68k family cpus which support long branch addressing modes.
1700 (m68k_ip, md_convert_frag_1, md_estimate_size_before_relax,
1701 md_create_long_jump): Use it.
1702
c36a90ef
ILT
1703Mon Jan 20 12:42:06 1997 Ian Lance Taylor <ian@cygnus.com>
1704
b3a64736
ILT
1705 * config/tc-mips.c (md_begin): Don't set SEC_ALLOC or SEC_LOAD for
1706 the .reginfo or .MIPS.options section if configured for an
1707 embedded target.
1708
c36a90ef
ILT
1709 * config/tc-mips.c (md_begin): Don't set interlocks for
1710 mips_4650.
1711
ad423373
ILT
1712Wed Jan 15 13:51:50 1997 Ian Lance Taylor <ian@cygnus.com>
1713
1714 * read.c (read_a_source_file): Make sure the symbol ends with
1715 whitespace before checking whether the next character is '='.
1716
03b24037
ILT
1717Tue Jan 14 15:07:27 1997 Robert Lipe <robertl@dgii.com>
1718
1719 * config/tc-i386.c (sco_id): Moved from here...
1720 * config/obj-elf.c (sco_id): ...to here. Adding the identifier
1721 really is an SCO ELF specific thing, not just a SCO x86 specific
1722 thing.
1723
4af93ad0
MM
1724start-sanitize-tic80
1725Mon Jan 13 22:43:01 1997 Michael Meissner <meissner@tiktok.cygnus.com>
1726
1727 * configure.in (tic80-*-*): Don't require 'coff'.
1728 * configure: Regenerate.
1729
1730end-sanitize-tic80
8ff75001
ILT
1731Thu Jan 9 09:08:43 1997 Ian Lance Taylor <ian@cygnus.com>
1732
6468dabd
ILT
1733 * read.c (emit_expr): Check for overflow of a negative value
1734 correctly.
1735 * write.c (fixup_segment): Likewise.
1736 * config/obj-coff.c (fixup_segment): Likewise.
1737
d703b5a7
ILT
1738 * config/tc-m68k.c (struct label_line): Define.
1739 (labels, current_label): New static variables.
1740 (md_assemble): Mark current_label as text, and clear it.
1741 (m68k_frob_label): New function.
1742 (m68k_flush_pending_output): New function.
1743 (m68k_frob_symbol): New function.
1744 * config/tc-m68k.h (tc_frob_label): Define.
1745 (md_flush_pending_output): Define.
1746 (tc_frob_symbol): Don't warn, just call m68k_frob_symbol.
1747 (tc_frob_coff_symbol): Likewise.
1748
8ff75001
ILT
1749 * read.c (read_a_source_file): When defining a macro in MRI mode,
1750 don't add the symbol to the symbol table.
1751
78998629
JL
1752Tue Jan 7 11:21:42 1997 Jeffrey A Law (law@cygnus.com)
1753
1754 * config/tc-mn10300.c (tc_gen_reloc): Handle sym1-sym2 fixups
1755 here since fixup_segment doesn't (linkrelax is set).
1756 * config/tc-mn10200.c (tc_gen_reloc): Likewise.
1757
62b2acba
JL
1758Mon Jan 6 15:19:32 1997 Jeffrey A Law (law@cygnus.com)
1759
1760 * config/tc-mn10200.c (md_assemble): Tweak fx_offset for pc-relative
1761 relocs.
1762
ac866582
JL
1763Fri Jan 3 16:47:08 1997 Jeffrey A Law (law@cygnus.com)
1764
62b2acba 1765 * config/tc-hppa.c (struct hppa_fix_struct): Tweak fx_r_field's type
ac866582
JL
1766 to avoid warnings with the native HP compiler.
1767 (fix_new_hppa): Similarly for the r_type argument.
1768 (pa_build_unwind_subspace, hppa_elf_mark_end_of_function): Enclose
1769 in an #if OBJ_ELF to keep gcc -Wall quiet.
1770 (md_apply_fix): Always initialize "result".
1771
1772 * config/tc-mn10200.c (md_assemble): Generate relocations.
1773
79811f6f
ILT
1774Fri Jan 3 18:17:23 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1775
1776 * config/tc-m68k.c (s_even): Adjust the alignment of the current
1777 section.
1778
ba8f9c09
ILT
1779Fri Jan 3 17:10:33 1997 Richard Henderson <rth@tamu.edu>
1780
1781 * config/obj-elf.c (elf_file_symbol): When using ECOFF debugging,
1782 pass on the new file hook.
1783
1784 * config/tc-alpha.c (alpha_fix_adjustable): Not quite the same as
1785 !alpha_force_relocation, as local LITERALs can be adjusted to be
1786 relative to the section.
1787
a78bc551
ILT
1788Fri Jan 3 12:09:24 1997 Ian Lance Taylor <ian@cygnus.com>
1789
9f94df38
ILT
1790 * config/obj-coff.c (yank_symbols): If tc_frob_coff_symbol is
1791 defined, call it.
3df036e9 1792 * config/tc-m68k.h (tc_frob_symbol): Check whether text label is
9f94df38
ILT
1793 aligned to odd boundary.
1794 (tc_frob_coff_symbol): Define.
1795
039d5a60
ILT
1796 * doc/as.texinfo (Set): Change parenthesized @xref to @pxref.
1797
7b0688df
ILT
1798 * macro.c (macro_expand_body): In MRI mode, just copy a single &.
1799
2156d0d7
ILT
1800 * config/tc-m68k.c (m68k_ip): Call frag_grow before adding a
1801 PCINDEX frag. From Ronald F. Guilmette <rfg@monkeys.com>.
1802
a78bc551
ILT
1803 * config/tc-m68k.c (m68k_ip): Accept 'B' as a size for an
1804 immediate value.
1805 (md_assemble): If the size is 'B', set fx_signed.
1806 (md_apply_fix_2): Use fx_signed when checking for overflow.
1807
1808 * write.h (struct fix): Add fx_signed field.
1809 * write.c (fix_new_internal): Initialize fx_no_overflow and
1810 fx_signed fields.
1811 (fixup_segment): Use fx_signed when checking for overflow.
1812 * config/obj-coff.c (fixup_segment): Check fx_no_overflow and
1813 fx_signed when checking for overflow.
1814
b9129c6f
ILT
1815Thu Jan 2 13:37:29 1997 Ian Lance Taylor <ian@cygnus.com>
1816
0abdf280
ILT
1817 * NOTES, NOTES.config: Removed. These are rarely, if ever,
1818 updated, and all the useful information is in doc/internals.texi.
1819
a986926b
ILT
1820 Based on patch from Ronald F. Guilmette <rfg@monkeys.com>:
1821 * read.c (read_a_source_file): Check for conditional operators
1822 before doing an MRI pending alignment.
1823 * config/tc-m68k.h (m68k_conditional_pseudoop): Declare.
1824 (tc_conditional_pseudop): Define.
1825 * config/tc-m68k.c (m68k_conditional_pseudop): New function.
1826 * doc/internals.texi (CPU backend): Describe
1827 tc_conditional_pseudoop.
1828
924160b0
ILT
1829 Based on patch from Ronald F. Guilmette <rfg@monkeys.com>:
1830 * config/tc-m68k.c (m68k_rel32_from_cmdline): New static
1831 variable.
1832 (md_begin): Check m68k_rel32_from_cmdline before setting
1833 m68k_rel32.
1834 (m68k_mri_mode_change): Likewise.
1835 (md_longopts): Add --disp-size-default-16 and
1836 --disp-size-default-32.
1837 (md_parse_option): Handle new options.
1838 (md_show_usage): Mention new options.
1839 * doc/c-m68k.texi (M68K-Opts): Document new options.
1840
b4d51f3d
ILT
1841 Based on patch from Ronald F. Guilmette <rfg@monkeys.com>:
1842 * config/tc-m68k.c (m68k_index_width_default): New static
1843 variable.
1844 (m68k_ip): Use m68k_index_width_default to set the size of a base
1845 register whose size was not given.
1846 (md_longopts): Add --base-size-default-16 and
1847 --base-size-default-32.
1848 (md_parse_option): Handle new options.
1849 (md_show_usage): Mention new options.
1850 * doc/c-m68k.texi (M68K-Opts): Document new options.
1851
103e1158
ILT
1852 * doc/c-mips.texi: Mention ISA level 4, and the -mips16 option.
1853
e16b9537
ILT
1854 * configure.in: Recognize mips-*-linux* target.
1855 * configure: Rebuild.
1856
a162a490
ILT
1857 * config/tc-mips.c (load_register): Rewrite 64 bit handling to
1858 work if valueT is only 32 bits.
1859
b9129c6f
ILT
1860 * config/tc-mips.c: Throughout, check target_big_endian rather
1861 than byte_order.
1862 (byte_order): Remove.
1863 (mips_init_after_args): Remove.
1864 * config/tc-mips.h (LITTLE_ENDIAN, BIG_ENDIAN): Don't define.
1865 (mips_init_after_args): Don't declare.
1866 (tc_init_after_args): Don't define.
1867
1868 * config/tc-mips.h (tc_frob_after_relocs): Define if
1869 OBJ_MAYBE_ELF.
1870 (mips_elf_final_processing): Likewise.
1871 (ELF_TC_SPECIAL_SECTIONS): Likewise.
1872
6e7d5462
MM
1873start-sanitize-v850
1874Tue Dec 31 15:12:35 1996 Michael Meissner <meissner@tiktok.cygnus.com>
1875
1876 * config/tc-v850.c (md_assemble): If this is sst.{h,w} or
1877 sld.{h,w} and the operand is relocatable, adjust the adend by
1878 shifting it right one bit.
1879
1880end-sanitize-v850
38fc0ba6
ILT
1881Tue Dec 31 12:56:41 1996 Ian Lance Taylor <ian@cygnus.com>
1882
20868ec6
ILT
1883 * read.c (read_a_source_file): Check mri_pending_align after
1884 checking for a macro. From Ronald F. Guilmette
1885 <rfg@monkeys.com>.
1886
6ded6615
ILT
1887 * Makefile.in (ALL_CFLAGS): Add -D_GNU_SOURCE.
1888
38fc0ba6
ILT
1889 * config/tc-sparc.c (md_apply_fix3): Rename from md_apply_fix, and
1890 add segment argument. If OBJ_ELF, treat a relocation against a
1891 symbol in a linkonce section like a relocation against an external
1892 symbol.
1893 * config/tc-sparc.h (MD_APPLY_FIX3): Define.
1894
18e0764d
ILT
1895Mon Dec 30 11:35:40 1996 Ian Lance Taylor <ian@cygnus.com>
1896
1897 * config/tc-mips.c (mips16_macro): Add case for M_ABS.
1898
64556643
FF
1899Fri Dec 27 22:51:51 1996 Fred Fish <fnf@cygnus.com>
1900
1901 * NOTES.config (Implementation): as.h #define's "GAS" not "gas",
1902 includes config.h instead of host.h, tc.h instead of tp.h, and
1903 targ-env.h instead of target-environment.h.
1904 Also, obj-format.h includes targ-cpu.h instead of
1905 target-processor.h.
1906start-sanitize-tic80
1907 * configure.in (case ${generic_target}): Add tic80-*-coff entry.
1908 * configure: Rebuild with autoconf.
1909 * config/obj-coff.h (coff/tic80.h): Include if TC_TIC80 defined.
1910 (TARGET_FORMAT): Define to "coff-tic80".
1911 * config/tc-tic80.c: New file for TIc80 support.
1912 * config/tc-tic80.h: New file for TIc80 support.
1913end-sanitize-tic80
1914
7d99e8af
ILT
1915Fri Dec 27 11:42:29 1996 Ian Lance Taylor <ian@cygnus.com>
1916
1917 * doc/as.texinfo (M): Mention explicitly that -M changes macro
1918 handling.
1919
9c199842
ILT
1920Thu Dec 19 12:06:08 1996 Ian Lance Taylor <ian@cygnus.com>
1921
1922 * write.c (adjust_reloc_syms): If the fixup symbol has been
1923 equated to an undefined symbol, convert the fixup to being against
1924 the target symbol. Remove obsolete code handling a special case
1925 for i386 PIC.
1926
51cd0ae7
SS
1927Wed Dec 18 22:54:39 1996 Stan Shebs <shebs@andros.cygnus.com>
1928
1929 * mpw-make.sed: Use NewFolderRecursive for installation.
1930
cb07aaeb
MH
1931Wed Dec 18 16:00:42 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
1932
1933 * config/tc-d10v.c (do_assemble): Correct previous bug fix.
1934
575453fb
MH
1935Wed Dec 18 15:27:40 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
1936
1937 * config/tc-d10v.c (md_assemble): Fix bug which caused
1938 second instruction in a line to be case sensitize. PR11312
1939
5545556d
JL
1940Wed Dec 18 10:08:46 1996 Jeffrey A Law (law@cygnus.com)
1941
1942 * config/tc-mn10200.c (mn10200_insert_operand): Don't
1943 range check operands with MN10200_OPERAND_NOCHECK set.
1944 (check_operand): Likewise.
1945
c0dea495
ILT
1946Tue Dec 17 10:59:32 1996 Ian Lance Taylor <ian@cygnus.com>
1947
f5e38044
ILT
1948 * config/tc-mips.c: Undo part of last Friday's alignment changes.
1949 (md_begin): Always align the text section to a four byte
1950 boundary.
1951 (append_insn): Remove call to record_align.
1952
fbcfacb7
ILT
1953 * config/tc-mips.c (insn_label): Remove.
1954 (struct insn_label_list): Define.
1955 (insn_labels, free_insn_labels): New static variables.
1956 (mips_clear_insn_labels): New static function.
1957 (append_insn): Mark all mips16 text labels, and make them odd.
1958 Handle all labels after emitting a nop, not just one. Call
1959 mips_clear_insn_labels rather than just clearing insn_label.
1960 (mips_emit_delays): Add insns parameter, and use it to decide
1961 whether to mark mips16 labels. Handle all labels, not just one.
1962 Force mips16 labels to be odd. Change all callers.
1963 (mips16_immed): Don't check for an odd branch target.
1964 (md_apply_fix): Don't check mips16 mode for a branch reloc.
1965 (mips16_extended_frag): Ignore the low bit in a branch target.
1966 (md_convert_frag): Likewise.
1967 (mips_no_prev_insn): Call mips_clear_insn_labels rather than just
1968 clearing insn_label.
1969 (mips_align, mips_flush_pending_output, s_cons): Likewise.
1970 (s_float_cons, s_gpword): Likewise.
1971 (s_align): Use insn_labels rather than insn_label.
1972 (s_cons, s_float_cons, s_gpword): Likewise.
1973 (mips_frob_file_after_relocs): New function.
1974 (mips_define_label): Rewrite to add to insn_labels list.
1975 * config/tc-mips.h (tc_frob_file_after_relocs): Define.
1976 * ecoff.c (ecoff_build_symbols): If the size of a function comes
1977 out odd, increment it.
1978
1979 * config/tc-mips.c (append_insn): Only update prev_insn when not
1980 reordering if place is NULL.
1981
c0dea495
ILT
1982 * config/tc-mips.c (mips16_ip): Check for a missing expression
1983 when using the register indirect addressing mode.
1984
d4ba37af
JL
1985Mon Dec 16 10:08:46 1996 Jeffrey A Law (law@cygnus.com)
1986
1987 * config/tc-mn10200.c (mn10200_insert_operand): Don't
1988 check 24bit operands for overflow.
1989 (check_operand): Likewise.
1990
868c3513
ILT
1991Mon Dec 16 11:50:40 1996 Ian Lance Taylor <ian@cygnus.com>
1992
1993 * doc/as.texinfo (Section): Document how to use the .section
1994 pseudo-op for COFF and ELF.
1995
6259c65f
ILT
1996Sun Dec 15 15:26:37 1996 Ian Lance Taylor <ian@cygnus.com>
1997
1998 * write.c (adjust_reloc_syms): Fix linkonce check for ELF.
1999
a677feeb
ILT
2000Sat Dec 14 22:37:27 1996 Ian Lance Taylor <ian@cygnus.com>
2001
2002 * config/tc-mips.c (prev_insn_reloc_type): New static variable.
2003 (RELAX_MIPS16_ENCODE): Add dslot and jal_dslot arguments, and
2004 store them. Adjust other RELAX_MIPS16 macros.
2005 (RELAX_MIPS16_DSLOT): Define.
2006 (RELAX_MIPS16_JAL_DSLOT): Define.
2007 (append_insn): Pass new arguments to RELAX_MIPS16_ENCODE. Correct
2008 handling of whether previous instruction has a fixup. Set
2009 prev_insn_reloc_type.
2010 (mips_no_prev_insn): Clear prev_insn_reloc_type.
2011 (mips16_extended_frag): Use the right base address for a PC
2012 relative add or load.
2013 (md_convert_frag): Likewise. If a PC relative add or load is
2014 used, record the alignment for the section.
2015
08e17202
ILT
2016Fri Dec 13 13:00:33 1996 Ian Lance Taylor <ian@cygnus.com>
2017
54815b9a
ILT
2018 * write.c (adjust_reloc_syms): Don't reduce a reloc against a
2019 linkonce section into a reloc against the section symbol.
2020
8a8121d5
ILT
2021 * config/tc-mips.c (mips16_macro): Remove nop instructions after
2022 branch instructions.
2023
08e17202
ILT
2024 * config/tc-mips.c (md_begin): If configured for an embedded ELF
2025 system, don't set the section alignment to 2**4.
2026 (s_change_sec): Likewise.
2027 (append_insn): Call record_alignment for the section.
2028 (md_section_align): Don't align the section size for an embedded
2029 ELF system.
2030
73d25784
ILT
2031Thu Dec 12 16:40:47 1996 Ian Lance Taylor <ian@cygnus.com>
2032
2033 * write.c (adjust_reloc_syms): Make sure that symbols are
2034 resolved; expression symbols may have been skipped.
8dd6fde3 2035 * config/obj-coff.c (fixup_segment): Likewise.
73d25784 2036
a460cd78
MM
2037Thu Dec 12 15:18:21 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2038
2039 * config/tc-ppc.c (ppc_elf_suffix): Move @plt to
2040 BFD_RELOC_24_PLT_PCREL relocation.
2041 (md_apply_fix3): Support BFD_RELOC_24_PLT_PCREL.
2042
60b43c4b
MH
2043Tue Dec 10 13:51:55 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
2044
2045 * config/tc-d10v.c (write_2_short): Remove code that called
2046 parallel_ok() when the programmer specified parallel instructions.
2047
42aa2435
JL
2048Tue Dec 10 12:23:19 1996 Jeffrey A Law (law@cygnus.com)
2049
a460cd78
MM
2050 * config/tc-mn10300.c (md_assemble): Update to handle endianness
2051 issues correctly.
2052
42aa2435
JL
2053 * config/tc-mn10200.c (md_assemble): Opcode 0x0 is valid!
2054 * config/tc-mn10300.c (md_assemble): Likewise.
2055
41a0ed22
ILT
2056Tue Dec 10 11:37:14 1996 Ian Lance Taylor <ian@cygnus.com>
2057
9b2ac029
ILT
2058 * config/tc-mips.c (append_insn): Make sure there is enough room
2059 in a frag after a mips16 instruction to switch it with a jump
2060 instruction.
2061
41a0ed22
ILT
2062 * config/tc-mips.c (mips16_extended_frag): Give an error for an
2063 attempt to use a non absolute symbol in an extending frag.
2064
dc1f8a21
JL
2065Mon Dec 9 16:48:20 1996 Jeffrey A Law (law@cygnus.com)
2066
2067 * config/tc-mn10200.c: Flesh out assembler support for MN10200.
2068 * config/tc-mn10200.h: Likewise.
2069
102633ce
ILT
2070Mon Dec 9 17:09:42 1996 Ian Lance Taylor <ian@cygnus.com>
2071
a7dd20e8
ILT
2072 * app.c (do_scrub_chars): At the end of a C comment, pass space to
2073 UNGET rather than PUT. Set old_state before setting state to -2.
2074
559c664a
ILT
2075 * config/tc-mips.c (mips16_extended_frag): Avoid an infinite loop
2076 when extending because the value is exactly maxtiny + 1.
2077
8728fa92
ILT
2078 * config/tc-mips.c (RELAX_MIPS16_ENCODE): Add small and ext
2079 arguments, and store them. Adjust other RELAX_MIPS16 macros.
2080 (RELAX_MIPS16_USER_SMALL): Define.
2081 (RELAX_MIPS16_USER_EXT): Define.
2082 (mips16_small, mips16_ext): New static variables.
2083 (append_insn): Pass mips16_small and mips16_ext to
2084 RELAX_MIPS16_ENCODE.
2085 (mips16_ip): Set mips16_small and mips16_ext.
2086 (mips16_immed): Don't check mips16_autoextend.
2087 (mips16_extended_frag): Check USER_SMALL and USER_EXT.
2088
102633ce
ILT
2089 * write.c (write_relocs): Print an error for an out of range
2090 fixup, rather than calling abort.
2091
2092 * as.c (main): Unlink the output file if there are errors while
2093 generating the fixups.
2094
15e69f98
ILT
2095Fri Dec 6 18:48:13 1996 Ian Lance Taylor <ian@cygnus.com>
2096
f74ba7a3
ILT
2097 * config/tc-mips.c (mips16_extended_frag): Don't call
2098 S_GET_VALUE.
2099 (md_convert_frag): Call resolve_symbol_value before calling
2100 S_GET_VALUE, and don't add in the frag address.
2101
15e69f98
ILT
2102 * config/tc-mips.c (mips16_immed): Add file and line parameters,
2103 and use them when reporting errors. Change all callers.
2104
ca82e4eb
JL
2105Fri Dec 6 15:36:32 1996 Jeffrey A Law (law@cygnus.com)
2106
2107 * config/tc-mn10300.c: Fix various gcc -Wall warnings.
2108 Remove '$' prefixing for registers.
2109
f787a8d9 2110Fri Dec 6 00:55:48 1996 Martin <hunt@cygnus.com>
6cc03ed3 2111
f787a8d9
MH
2112 * config/tc-d10v.c (md_assemble): Check to see if prev_seg
2113 is initialized before using it.
2114 (d10v_cleanup): No longer uses its argument, so make it void.
6cc03ed3 2115
f787a8d9
MH
2116 * config/tc-d10v.h (d10v_cleanup): Change prototype.
2117
00a69b89
ILT
2118Thu Dec 5 11:03:31 1996 Ian Lance Taylor <ian@cygnus.com>
2119
2120 * write.c (fixup_segment): Don't discard the symbol for a PC
2121 relative fixup to an absolute symbol.
2122
996bee90
MH
2123Wed Dec 4 15:42:41 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
2124
2125 * config/tc-d10v.c (md_assemble, d10v_cleanup): Fix bug
2126 with multiple sections.
2127
943321c0
ILT
2128Wed Dec 4 13:00:07 1996 Ian Lance Taylor <ian@cygnus.com>
2129
2130 * config/tc-mips.c (md_longopts): Rename mips-16 to mips16, and
2131 no-mips-16 to no-mips16.
2132 (s_mipsset): Accept .set mips16 and .set nomips16.
2133
8b1e9f12
MM
2134Wed Dec 4 10:35:33 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2135
2136 * config/tc-ppc.c (ppc_elf_suffix): Take expressionS pointer
2137 argument, and check for +/- constant following the suffix, folding
2138 it into the expression.
2139 (ppc_elf_cons): Change ppc_elf_suffix calls.
2140 (md_assemble): Ditto.
2141 (shlib): Replace boolean mrelocatable with enumeration shlib.
2142 (md_parse_option): Discriminate between PIC style shared libraries
2143 and -mrelocatable.
2144 (ppc_elf_validate_fix): Don't report warnings for PIC style shared
2145 libraries.
2146
b61802e7
MM
2147Tue Dec 3 23:18:29 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2148
2149 * config/tc-ppc.h ({tc,ppc}_comment_chars): Define, so that we can
2150 change the comment characters.
2151
2152 * config/tc-ppc.c (comment_chars): Delete in favor of
2153 tc_comment_chars.
2154 (ppc_{eabi,solaris}_comment_chars): Eabi and Solaris versions of
2155 comment chars.
2156 (ppc_comment_chars): Select appropriate comment chars by default.
2157 (msolaris): New flag for -m{,no-}solaris.
2158 (md_parse_option): Recognize -K pic. Add support for
2159 -m{,no-}solaris.
2160 (md_show_usage): Update.
2161 (md_begin): Do not set ELF flags if Solaris.
2162 (ppc_elf_suffix): @local sets R_PPC_LOCAL24PC relocation.
2163 (md_apply_fix3): Add support for R_PPC_LOCAL24PC.
2164
2165Mon Dec 2 13:48:57 1996 Ian Lance Taylor <ian@cygnus.com>
2166
2167 * as.c (main): Correct handling of flag_always_generate_output.
2168
5840a0e5
JL
2169Sun Dec 1 21:46:05 1996 Jeffrey A Law (law@cygnus.com)
2170
a9f2e3e2
JL
2171 * config/tc-mn10300.c (tc_gen_reloc): Get the addend from
2172 fx_offset, not fx_addnumber.
2173
5840a0e5
JL
2174 * config/tc-mn10300.h (tc_fix_adjustable): Don't do any
2175 reloc adjustments.
2176
b608274a
ILT
2177Sat Nov 30 17:34:48 1996 Eliot Dresselhaus <eliot@wally.edc.com>
2178
2179 * config/tc-i386.c: Correct misspelling: balenced to balanced.
2180
caeea0b4
ILT
2181Wed Nov 27 13:25:39 1996 Ian Lance Taylor <ian@cygnus.com>
2182
2183 * config/tc-mips.c (md_section_align): Check for an alignment of
2184 4, not an alignment of 16. Corrects August 7 patch.
2185
cc5703cd
ILT
2186Tue Nov 26 10:33:16 1996 Ian Lance Taylor <ian@cygnus.com>
2187
775c64a9
ILT
2188 * configure, conf.in: Rebuild with autoconf 2.12.
2189
c830c9ea
ILT
2190 * config/tc-ppc.c (ppc_elf_lcomm): Don't give an error if no
2191 alignment is specified.
2192
cc5703cd
ILT
2193 Add support for mips16 (16 bit MIPS implementation):
2194 * config/tc-mips.c: Extensive additions for mips16 support, not
2195 listed here.
2196 (RELAX_OLD, RELAX_NEW): Use only 7 bits each.
2197 (insn_uses_reg): Change last parameter to an enum.
2198 * config/tc-mips.h (LOCAL_LABELS_DOLLAR): Define as 0.
2199 (md_relax_frag): Define as mips_relax_frag.
2200 (mips_relax_frag): Declare.
2201 (struct mips_cl_insn): Add use_extend and extend fields.
2202 (tc_fix_adjustable): Define.
2203 * config/obj-elf.h (S_GET_OTHER): Define.
2204 (S_SET_OTHER): Define.
2205
3ab410cd
C
2206Mon Nov 25 18:02:29 1996 J.T. Conklin <jtc@beauty.cygnus.com>
2207
2208 * config/tc-m68k.c (m68k_ip): Implement cases for new <, >, m, n,
2209 o and p operand specifiers.
2210
a0a2af4f
DE
2211Mon Nov 25 10:45:14 1996 Doug Evans <dje@seba.cygnus.com>
2212
2213 * write.c: Delete "ifndef md_relax_frag" around is_dnrange.
2214 (relax_segment, case rs_org): Move code inside braces. Move locals
2215 target,after inside too.
2216 (relax_segment, case rs_machine_dependent): Guts moved to ...
2217 (relax_frag): New function.
2218 Call md_prepare_relax_scan if defined.
2219 * config/tc-m68k.h (md_prepare_relax_scan): Renamed from
2220 M68K_AIM_KLUDGE.
2221
0671e7f6
JL
2222Mon Nov 25 08:49:36 1996 Jeffrey A Law (law@cygnus.com)
2223
a0a2af4f
DE
2224 * config/tc-mn10300.c (address_registers): Use '$' as register
2225 prefix instead of '%'.
2226 (data_registers, other_registers, md_assemble): Likewise.
2227
f98905f1
JL
2228 * config/tc-mn10300.c (address_registers): Use '%' prefix for regs.
2229 (data_registers, other_registers, md_assemble): Likewise.
2230
0671e7f6
JL
2231 * config/tc-mn10300.c (md_assemble): Correctly determine the
2232 correct location and type for each relocation.
2233 (md_pcrel_from): Simplify.
2234
5895d3f2
ILT
2235Fri Nov 22 15:42:26 1996 Ian Lance Taylor <ian@cygnus.com>
2236
2237 * config/tc-sh.c (md_convert_frag): Improve warning when branch is
2238 converted into branch around branch.
2239
d9a9c18f
JL
2240Thu Nov 21 11:56:11 1996 Jeffrey A Law (law@cygnus.com)
2241
2242 * config/tc-mn10300.h (DIFF_EXPR_OK): Don't define this.
2243 (tc_fix_adjustable): Don't adjust relocs against weak symbols or
2244 pc-relative relocs.
2245 * config/tc-mn10300.c (md_begin): Set linkrelax.
2246 (md_assemble): Create fixups as needed.
2247 (md_apply_fix3): Gut. It shouldn't ever get called anymore.
2248
5e9b714f
MM
2249Tue Nov 19 17:48:06 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2250
2251 * config/tc-d10v.c (parallel_ok): When automatically converting
2252 serial ops to parallel, do not consider a branch as the first
2253 instruction.
2254
7f02192d
JL
2255Tue Nov 19 13:35:22 1996 Jeffrey A Law (law@cygnus.com)
2256
2257 * config/tc-mn10300.c (md_assemble): Handle MN10300_OPERAND_REG_LIST.
2258
43d695a1
JL
2259Mon Nov 18 15:26:55 1996 Jeffrey A Law (law@cygnus.com)
2260
2261 * config/tc-mn10300.c (mn10300_insert_operand): Provide prototype
2262 via PARAMS.
2263 (check_operand): Likewise.
2264
228835a9
MM
2265Mon Nov 18 15:22:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2266
2267 * config/tc-d10v.c (parallel_ok): Branch and link instructions
2268 modify r13.
ec5e212b
MM
2269 (write_2_short): Call parallel_ok to check whether two short
2270 instructions the user requested execute in parallel, can be
2271 executed that way.
228835a9 2272
edb89bfc
MH
2273Thu Nov 14 11:17:49 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
2274
2275 * config/tc-d10v.c (write_2_short): Fix bug that wouldn't
2276 allow a branch and link in parallel with an exe instruction.
2277
2278Fri Nov 8 13:55:03 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
2279
2280 * doc/c-d10v.texi: Add info on @word modifier.
2281
cdde2f5c 2282Wed Nov 6 13:46:07 1996 Jeffrey A Law (law@cygnus.com)
efba8af0
JL
2283
2284 * config/tc-mn10300.c (mn10300_insert_operand): MN10300_OPERAND_SPLIT
2285 operands are assumed to be 32bits. Use "bits" field to hold the
2286 number of bits in the main instruction word for MN10300_OPERAND_SPLIT.
2287 (mn10300_check_operand): MN10300_OPERAND_SPLIT operands are assumed
2288 to be 32bits.
cdde2f5c 2289
bdd91d4f
JL
2290 * config/tc-mn10300.c (mn10300_insert_operand): Shift low part
2291 of a MN10300_OPERAND_SPLIT operand by operand->shift.
2292
cdde2f5c
JL
2293 * config/tc-mn10300.c (mn10300_insert_operand): Handle
2294 MN10300_OPERAND_SPLIT.
2295
bfe5059c
JL
2296Tue Nov 5 13:30:40 1996 Jeffrey A Law (law@cygnus.com)
2297
2298 * config/tc-mn10300.c (md_assemble): Insert operands into
2299 the extension part of the instruction if necessary.
2300 (mn10300_insert_operand): Accept pointer to extension word
2301 argument. Make insn a pointer argument too. Return type
2302 is now void. All callers changed.
2303
68328dc6
JL
2304Mon Nov 4 12:53:40 1996 Jeffrey A Law (law@cygnus.com)
2305
2306 * config/tc-mn10300.c (mn10300_insert_operand): Handle
2307 repeated register operands.
2308
9af40217
ILT
2309Fri Nov 1 10:42:49 1996 Ian Lance Taylor <ian@cygnus.com>
2310
9a5acea8
ILT
2311 * doc/as.texinfo: Added section on reporting bugs.
2312
9af40217
ILT
2313 * config/tc-alpha.c: Change uses of void * to PTR. Change the
2314 alpha_macro emit field to expect a const argument, and change the
2315 arg field to be const. Fix some spacing to follow the GNU
2316 standard.
2317
2318Fri Nov 1 10:32:03 1996 Richard Henderson <rth@tamu.edu>
2319
2320 * config/tc-alpha.c (md_parse_option): Add knowledge of 21164pc
2321 (pca56) and 21264 (ev6) cpus.
2322 (md_apply_fix): Private relocation types are now negative.
2323 (alpha_force_relocation): Likewise.
2324 (tc_gen_reloc): Likewise.
2325 (emit_insn): Likewise.
2326 (emit_ldXu): Do the right thing when the hardware can do byte insns.
2327 (emit_stX): Likewise.
2328 (emit_sextX): Likewise.
2329
527dc0c9
ILT
2330Thu Oct 31 16:33:21 1996 Ian Lance Taylor <ian@cygnus.com>
2331
2332 * config/obj-coff.c (do_relocs_for): Call resolve_symbol_value on
2333 a symbol found in a reloc.
2334
2335 * symbols.c (resolve_symbol_value): Improve the error message if
2336 an undefined symbol is used in an expression.
2337
fe7e5bdf
ILT
2338Wed Oct 30 20:15:35 1996 Ian Lance Taylor <ian@cygnus.com>
2339
2340 * doc/internals.texi: Rewrite, and add a lot of documentation.
2341 * doc/Makefile.in (internals.info): New target.
2342
a334533c 2343start-sanitize-v850
193e4197
JL
2344Wed Oct 30 14:55:57 1996 Jeffrey A Law (law@cygnus.com)
2345
2346 * config/tc-v850.h (tc_fix_adjustable): Don't adjust relocs
2347 against weak symbols.
2348
a334533c
JL
2349Tue Oct 29 12:28:16 1996 Jeffrey A Law (law@cygnus.com)
2350
baf385b5
JL
2351 * config/tc-v850.c (md_assemble): Don't lose for relaxable
2352 addresses like .+6.
2353
2385d90a
JL
2354 * config/tc-v850.c (md_convert_frag): Make sure we insert the
2355 fixup at the right address within the frag.
2356
bc49fab8
JL
2357 * config/tc-v850.c (md_convert_frag): Don't set fragP->fr_fix
2358 to an absolute value, instead increment it as needed.
2359
a334533c
JL
2360 * config/tc-v850.h (TC_GENERIC_RELAX_TABLE): Define.
2361 * config/tc-v850.c: Fix some indention problems.
2362 (md_relax_table): Define for D9->D99 branch displacement
2363 relaxing.
2364 (md_convert_frag): Do something useful instead of aborting.
2365 (md_estimate_size_before_relax): Likewise.
2366 (md_assemble): Note if the matching instruction has a relaxable
2367 operand. If it does, allocate frag with frag_var and don't
2368 do any fixups.
2369
2370end-sanitize-v850
a334533c
JL
2371Mon Oct 28 10:48:40 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
2372
2373 * config/tc-d10v.h (md_cleanup): New function. This is needed to
2374 write out any buffered instructions when a ".end" is found.
2375
9051e56f
MH
2376Mon Oct 28 10:43:45 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
2377
2378 * read.c (read_a_source_file): New hook md_cleanup().
2379
07f9de2a
ILT
2380Fri Oct 25 00:01:00 1996 Ian Lance Taylor <ian@cygnus.com>
2381
2382 * write.c (fix_new_exp): Use make_expr_symbol to build an
2383 expression symbol for a complex fixup.
2384
3723a1a9
JL
2385start-sanitize-v850
2386Thu Oct 24 14:31:04 1996 Jeffrey A Law (law@cygnus.com)
2387
d3bbd9dc
JL
2388 * config/tc-v850.c (v850_reloc_prefix): Several disgusting
2389 hacks to improve parsing of complex hi, lo, zda, etc
2390 expressions.
2391 (md_assemble): Don't demand and eat a trailing ')' after finding
2392 a v850 relocation prefix. Sign extend the constant in a
2393 BFD_RELOC_LO16 expression. Do eat a trailing ')' after a complete
2394 operand.
2395 (parse_cons_expression_v850): Don't eat a trailing ')' after
2396 finding a v850 relocation prefix.
2397
10fba7f1
JL
2398 * config/tc-v850.h (TC_PARSE_CONS_EXPRESSION): Define.
2399 (TC_CONS_FIX_NEW): Likewise.
2400 * config/tc-v850.c (parse_cons_expression_v850): New function.
2401 (cons_fix_new_v850): Likewise.
2402
3723a1a9
JL
2403 * config/tc-v850.h (tc_fix_adjustable): Don't adjust TDA relocs.
2404
2405end-sanitize-v850
20fbbb59
ILT
2406Wed Oct 23 18:20:29 1996 Ian Lance Taylor <ian@cygnus.com>
2407
2408 * config/tc-ppc.c (md_apply_fix3): Give a better warning message
2409 for an unknown relocation type.
2410
8ea15b86 2411start-sanitize-v850
7e96935e
JL
2412Wed Oct 23 16:21:28 1996 Jeffrey A Law (law@cygnus.com)
2413
2414 * config/tc-v850.c (md_pseudo_table): Add .word; allocates
2415 4 bytes of space.
2416
8ea15b86
JL
2417Tue Oct 22 22:01:25 1996 Jeffrey A Law (law@cygnus.com)
2418
2419 * config/tc-v850.c (md_assemble): Handle TDAOFF relocs
2420 differently for movea & sst/sld insns.
2421
2422end-sanitize-v850
39176dfe
MM
2423Tue Oct 22 17:09:32 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2424
2425 * config/tc-d10v.c (parallel_ok): Don't allow illegal combinations
2426 of instructions.
2427
87dd0a93
ILT
2428Tue Oct 22 11:28:39 1996 Ian Lance Taylor <ian@cygnus.com>
2429
2430 * obj.h (struct format_ops): Add frob_file_after_relocs field.
2431 * config/obj-multi.h (obj_frob_file_after_relocs): Define.
2432 * config/obj-ecoff.c (ecoff_format_ops): Initialize new
2433 frob_file_after_relocs field.
2434 * config/obj-elf.c (elf_format_ops): Likewise.
2435 * config/tc-mips.c: Undefine obj_frob_file_after_relocs before
2436 including obj-elf.h.
2437
d12d1f6c
ILT
2438Mon Oct 21 11:38:30 1996 Ian Lance Taylor <ian@cygnus.com>
2439
bf39474f
ILT
2440 * config/tc-mips.c (cons_fix_new_mips): Only treat 8 byte reloc
2441 specially if not ELF.
2442 (md_apply_fix): Handle BFD_RELOC_64.
2443 (tc_gen_reloc): Handle BFD_RELOC_64.
2444
3030e864
ILT
2445 * config/tc-i386.c (md_apply_fix3): Don't increment value for a PC
2446 relative reloc when BFD_ASSEMBLER and OBJ_AOUT (more ugly gas
2447 reloc hacking).
2448
d12d1f6c
ILT
2449 * config/obj-aout.h (S_IS_DEFINE): non BFD_ASSEMBLER version:
2450 Don't check S_GET_OTHER.
2451
b70795e9
ILT
2452Fri Oct 18 14:06:26 1996 Ian Lance Taylor <ian@cygnus.com>
2453
538034cf
ILT
2454 * config/tc-mips.c (mips_ip): Accept an odd floating point
2455 register with l.s or s.s.
2456
b70795e9
ILT
2457 * config/obj-aout.c (obj_pseudo_table): Use obj_aout_type for
2458 .type pseudo-op.
2459 (obj_aout_type): New static function.
2460
b9d55d96
ILT
2461Thu Oct 17 17:55:17 1996 Ian Lance Taylor <ian@cygnus.com>
2462
2463 * Makefile.in ($(OBJS)): Depend upon libiberty.h.
2464
f964b01d 2465start-sanitize-v850
0f8e50bb
JL
2466Wed Oct 16 11:28:31 1996 Jeffrey A Law (law@cygnus.com)
2467
548ddc71
JL
2468 * config/tc-v850.c (v850_reloc_prefix): Recognize zdaoff, tdaoff
2469 and sdaoff expressions.
2470
0f8e50bb
JL
2471 * write.c (fixup_segment): Don't add symbol value to addend if
2472 TC_V850 and OBJ_ELF.
2473 * config/tc-v850.h (tc_fix_adjustable): Don't adjust any
2474 pc-relative fixups.
2475
2476 * config/tc-v850.c (md_pcrel_from): Undo yesterday's changes.
2477 (md_pcrel_from_section): Likewise.
2478 * config/tc-v850.h (MD_PCREL_FROM_SECTION): Likewise.
2479
2480Tue Oct 15 23:19:00 1996 Jeffrey A Law (law@cygnus.com)
f964b01d
JL
2481
2482 * config/tc-v850.c (md_pcrel_from): Delete unused function.
2483 (md_pcrel_from_section): New function.
2484 * config/tc-v850.h (MD_PCREL_FROM_SECTION): Define.
2485
2486end-sanitize-v850
0267c6c9
ILT
2487Mon Oct 14 13:59:12 1996 Ian Lance Taylor <ian@cygnus.com>
2488
2489 * config/tc-mips.c (load_register): Add cast to offsetT when using
2490 a constant with &~.
2491
5d0cd0b8
ILT
2492Mon Oct 14 11:24:28 1996 Richard Henderson <rth@tamu.edu>
2493
2494 * config/obj-elf.c (elf_frob_file): Move ECOFF debug processing to ...
2495 (elf_frob_file_after_relocs): ... here. New function.
2496 * config/obj-elf.h (obj_from_file_after_relocs): New macro.
2497 * write.c (write_object_file): Call *frob_after_relocs after the
2498 call to write_relocs.
2499
2500 * config/tc-alpha.c: Use new BFD_RELOC_ALPHA_ELF_LITERAL reloc.
2501
2502 * config/tc-alpha.c (load_expression): Don't SET_VALUE on the section
2503 symbol, as this messes up linking. Instead, expand the recursive call
2504 inline and change up the appropriate bits to get the 0x8000 offset
2505 in the reloc addend.
2506
914f8998
ILT
2507Thu Oct 10 17:30:31 1996 Ian Lance Taylor <ian@cygnus.com>
2508
1491f2ea
ILT
2509 * config/tc-sparc.h (tc_fix_adjustable): Permit the difference of
2510 two symbols in the same segment to be adjusted.
2511
914f8998
ILT
2512 * configure.in: Don't get confused by CPU-VENDOR-linux-gnu.
2513 * configure: Rebuild.
2514
f8a011cf
MM
2515Thu Oct 10 17:22:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2516
2517 * config/tc-ppc.c (ppc_insert_operand): Change most warnings into
2518 errors.
2519 (ppc_elf_validate_fix): Ditto.
2520 (md_assemble): Ditto.
2521 (ppc_tc): Ditto.
2522 (ppc_pe_section): Ditto.
2523 (ppc_frob_symbol): Ditto.
2524
1c3ae169
JL
2525Thu Oct 10 12:05:45 1996 Jeffrey A Law (law@cygnus.com)
2526
3ab9337b
JL
2527 * config/mn10300.c (md_assemble): Pass an extra shift count
2528 to mn10300_insert_operand based on the opcode format.
2529 (mn10300_insert_operand): Accept and use extra shift count
2530 parameter.
2531
778c521b
JL
2532 * config/tc-mn10300.c (md_assemble): Use FMT_* macros for
2533 formats rather than hard-coded constants.
2534
1c3ae169
JL
2535 * config/tc-mn10300.c (md_assemble): Format D5 instructions
2536 are 7 bytes long. Write out instructions in big-endian format.
2537
a6be605a
JL
2538Tue Oct 8 14:56:15 1996 Jeffrey A Law (law@cygnus.com)
2539
1c3ae169 2540 * config/tc-mn10300.c (md_assemble): Tweak further so
a6be605a
JL
2541 that all instructions are parsed correctly.
2542
5e1e8f23
ILT
2543Tue Oct 8 13:02:21 1996 Ian Lance Taylor <ian@cygnus.com>
2544
2545 * as.h: Include libiberty.h.
2546 (xmalloc, xrealloc): Don't declare.
2547 * as.c: Don't include libiberty.h.
2548 * expr.c, read.c, stabs.c, config/obj-coff.c: Likewise.
2549 * config/tc-mips.c: Likewise.
2550 * messages.c: Likewise.
2551 (xstrerror): Don't declare.
2552 * xmalloc.c: Remove.
2553
1217102f
JL
2554Mon Oct 7 16:53:23 1996 Jeffrey A Law (law@cygnus.com)
2555
2556 * config/tc-mn10300.h (pre_defined_registers) Remove.
2557 (system_registers, cc_names): Likewise.
2558 (address_registers, data_registers, other_registers): New register
2559 arrays.
2560 (register_name, system_register_name, cc_name): Remove.
2561 (mn10300_reloc_prefix): Likewise.
2562 (data_register_name): New function.
2563 (address_register_name, other_register_name): Likewise.
2564 (md_assemble): Rough cut at parsing operands. Remove lots of
2565 unwanted code.
2566 (md_apply_fix3): Disable for now.
2567
99e3ccb6
ILT
2568Mon Oct 7 11:38:34 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2569
2570 * config/tc-m68k.c (select_control_regs): New function, extracted
2571 out of m68k_init_after_args.
2572 (m68k_init_after_args): Use it.
2573 (mri_chip): Use it here as well to update set of allowed control
2574 regs for movec.
2575
0bd28bc4
ILT
2576Mon Oct 7 11:24:29 1996 Ian Lance Taylor <ian@cygnus.com>
2577
2578 * config/obj-elf.c (elf_begin): New function.
2579 (obj_elf_section): Add the section symbol to the symbol table.
2580 * config/obj-elf.h (obj_begin): Define.
2581 (elf_begin): Declare.
2582 * as.c (perform_an_assembly_pass): Call obj_begin if it is
2583 defined.
2584
eb0dafdc
ILT
2585Fri Oct 4 18:37:32 1996 Ian Lance Taylor <ian@cygnus.com>
2586
2587 * config/obj-coff.c (fixup_segment): Subtract the section address
2588 from a PC relative reloc if TC_M68K.
2589
76f841e6
ILT
2590Thu Oct 3 15:15:30 1996 Ian Lance Taylor <ian@cygnus.com>
2591
2592 * config/tc-sparc.c (md_pseudo_table): Make .uahalf, .uaword, and
2593 .uaxword available even if not OBJ_ELF.
2594 (md_atof): Remove unused local variable wordP.
2595
0f91d763
JL
2596Thu Oct 3 00:16:50 1996 Jeffrey A Law (law@cygnus.com)
2597
2598 * config/tc-mn10x00.c, config/tc-mn10x00.h: New files
2599 for Matsushita MN10x00 support.
2600 * configure.in: Recognize mn10x00-*-*
2601 * configure: Rebuilt.
2602
7c328bc7
ILT
2603Wed Oct 2 15:54:03 1996 Klaus Kaempf <kkaempf@progis.de>
2604
2605 * obj-evax.h: move openvms definitions from here to tc-alpha.c.
2606 * tc-alpha.c: add support for vms_case_hack like in vax/vms.
2607 (load_expression): track clobbering of base reg before jmp/jsr.
2608 (s_alpha_file): pass case_hack flags and source filename via
2609 symbol table to bfd.
2610 * tc-alpha.h (TC_CONS_FIX_NEW): define
2611
fed13a5e
ILT
2612Tue Oct 1 16:16:01 1996 Joel Sherrill <joel@oarcorp.com>
2613
2614 * configure.in (mips-*-rtems*): New target, like mips-*-elf*.
2615 * configure: Rebuild.
2616
ffef69a3
ILT
2617Tue Oct 1 12:37:48 1996 Ian Lance Taylor <ian@cygnus.com>
2618
a69e5977
ILT
2619 * read.c (s_macro): Warn if a macro has the same name as a
2620 pseudo-op.
2621 (s_space): In m68k MRI mode, align to a word boundary.
2622 * macro.c (define_macro): Add namep parameter. Change all
2623 callers.
2624 * macro.h (define_macro): Update declaration.
2625
bfc94743
ILT
2626 * as.c (show_usage): Print bug report address.
2627 (parse_args): Change version printing to match current GNU
2628 standards.
2629 * gasp.c (show_usage): Print bug report address.
2630 (main): Change version printing to match current GNU standards.
2631
0b810a6e
ILT
2632 * config/tc-m68k.c (init_table): Correct access control unit
2633 register numbers. From Ken Rose <rose@netcom.com>.
2634
ffef69a3
ILT
2635 * config/tc-alpha.c: Add some static function prototypes.
2636 (alpha_macros): Move to top of file. Make static.
2637 (alpha_num_macros): Move to top of file.
2638
8940a583
SG
2639start-sanitize-v850
2640Tue Oct 1 09:36:19 1996 Stu Grossman (grossman@critters.cygnus.com)
2641
2642 * tc-v850.h: Define LOCAL_LABEL to recognise _.L_* symbols
2643 generated by DWARF.
2644
2645end-sanitize-v850
2646Sat Sep 28 03:38:08 1996 Ian Lance Taylor <ian@cygnus.com>
2647
2648 * listing.c (list_symbol_table): Remove bogus code in BFD64 case,
2649 and just call sprintf_vma.
2650
4fc2c99a
ILT
2651Thu Sep 26 16:04:11 1996 Ian Lance Taylor <ian@cygnus.com>
2652
2653 * expr.c (expr): Change >>= to >> (fix typo). (From meissner).
2654
97f8e6ff
ILT
2655Tue Sep 24 19:05:08 1996 Ian Lance Taylor <ian@cygnus.com>
2656
2657 * read.c (float_cons): Call md_flush_pending_output if it is
2658 defined.
2659
97f8e6ff
ILT
2660Tue Sep 24 12:22:18 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
2661
2662 * config/tc-d10v.c (md_operand): Created. Allows operands to
2663 start with '#'.
2664 * config/tc-d10v.h (md_operand): Undefined.
2665
6e4f3f09
ILT
2666Mon Sep 23 12:13:18 1996 Ian Lance Taylor <ian@cygnus.com>
2667
2668 * config/tc-m68k.c (add_fix): Treat a width of '3' like 'B'.
2669 (md_assemble): A fixup width of '3' means a 1 byte reloc.
2670
72f70020
ILT
2671Thu Sep 19 12:21:24 1996 Ian Lance Taylor <ian@cygnus.com>
2672
2673 * config/obj-coff.c (fixup_segment): Don't adjust PC relative
2674 reloc for the i960 for a reloc in the same section. This undoes
2675 one of the two changes made Aug 19.
2676
ab299844
ILT
2677Wed Sep 18 12:11:58 1996 Ian Lance Taylor <ian@cygnus.com>
2678
2679 * config/obj-coff.c (obj_coff_endef): Both versions: Move C_STAT
2680 symbols to the position of the debugging information.
2681
15405999
ILT
2682Mon Sep 16 11:41:40 1996 Ian Lance Taylor <ian@cygnus.com>
2683
2684 * expr.c (expr): Always use unsigned right shifts for >>.
2685
f17be658
JSC
2686Thu Sep 12 10:25:45 1996 James G. Smith <jsmith@cygnus.co.uk>
2687
2688 * config/tc-arm.c (md_apply_fix3): Update two thumb instruction
2689 slots when processing BL fixups.
2690
2691 * config/tc-arm.c (output_inst): Ensure Thumb BL fixup is marked
2692 on the first half of the instruction.
2693
475c826b
ILT
2694Wed Sep 11 00:09:35 1996 Ian Lance Taylor <ian@cygnus.com>
2695
1decafee
ILT
2696 * ecoff.c (ecoff_stab): Create an expression symbol for a complex
2697 stabs expression, rather than giving an error.
2698
475c826b
ILT
2699 * ecoff.c (ecoff_new_file): Don't do anything if we are still in
2700 the same file.
2701
8a3bdc3d
ILT
2702Tue Sep 10 11:45:37 1996 Ian Lance Taylor <ian@cygnus.com>
2703
2704 * config/tc-mips.c (append_insn): Fill in the value for a constant
2705 jump, rather than creating a reloc.
2706
517078c1
ILT
2707Mon Sep 9 10:57:42 1996 Ian Lance Taylor <ian@cygnus.com>
2708
d31a3f5e
ILT
2709 * config/tc-mips.c (append_insn): Don't swap an instruction which
2710 sets a condition code with an instruction which uses a condition
2711 code.
2712 (mips_ip): In cases 'N' and 'M', look for $fccN rather than an
2713 immediate value.
2714
ca296aab 2715 * config/tc-mips.c (md_begin): Recognize r5000 for cpu.
517078c1
ILT
2716 (mips_ip): Give a better error message if the ISA level is wrong.
2717 (md_parse_option): Recognize -mcpu=[v][r]5000.
2718
2719Sat Sep 7 13:25:55 1996 James G. Smith <jsmith@cygnus.co.uk>
2720
2721 * config/tc-mips.c (COUNT_TOP_ZEROES): Added macro to count
2722 leading zeroes.
2723 (load_register): Ensure hi32 bits are not lost during lo32bit
2724 processing. Fix shift offset that was overflowing into the next
2725 instruction field. Add code to generate shorter sequences for
2726 constants with a single contiguous seqeuence of ones.
2727
5e6c6406
MH
2728Fri Sep 6 17:07:12 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
2729
2730 * config/tc-d10v.c (d10v_dot_word): New function to support
2731 "@word" with the word pseudo-op.
2732 (md_apply_fix3): Cleanup and changes to support correct sizes
2733 for 16 and 18-bit relocs.
2734
df4021c1
DE
2735Fri Sep 6 16:00:29 1996 Doug Evans <dje@canuck.cygnus.com>
2736
2737 * configure.in (sparc-*-aout): Set `em'.
2738 * configure: Regenerated.
2739 * config/te-sparcaout.h: New file.
2740 * config/tc-sparc.h (TARGET_BYTES_BIG_ENDIAN): Define.
2741 Ifdef TE_SPARCOUT define TARGET_FORMAT and SPARC_BIENDIAN.
2742 * config/tc-sparc.c (INSN_BIG_ENDIAN): New macro.
2743 (SPECIAL_CASE_{SETSW,SETX}): Define.
2744 ({NOP,OR,FMOVS,SETHI,SLLX,SRA}_INSN): Define.
2745 (md_begin): Delete setting of `target_big_endian'.
2746 (output_insn): New function.
2747 (md_assemble): Rewrite. Add `setx' support.
2748 (sparc_ip): Handle `0' operand char. Recognize setuw, setsw, setx
2749 special cases.
2750 (md_atof): Add little endian support.
2751 (md_number_to_chars): Likewise.
2752 (md_apply_fix): Likewise.
2753 (md_longopts): Recognize -EL,-EB ifdef SPARC_BIENDIAN.
2754 (md_parse_option): Likewise.
2755 (md_show_usage): Print -EL, -EB ifdef SPARC_BIENDIAN.
2756
cfc71c6d
ILT
2757Thu Sep 5 13:40:29 1996 Ian Lance Taylor <ian@cygnus.com>
2758
2759 * ecoff.c (ecoff_new_file): New function.
2760 * ecoff.h (ecoff_new_file): Declare.
2761 * config/obj-ecoff.h (obj_app_file): Define.
2762
2763Thu Sep 5 13:39:25 1996 Richard Henderson <rth@tamu.edu>
2764
2765 * config/tc-alpha.c (load_expression): Bias the .lit8 section
2766 symbol by 32k so that our 16-bit signed offset can address the
2767 entire chunk. Reported by <matt@lkg.dec.com>.
2768
711254da
ILT
2769Wed Sep 4 10:23:20 1996 Ian Lance Taylor <ian@cygnus.com>
2770
2771 * config/tc-mips.c (load_register): Remove unused variable tmp.
2772
1b68deb5
JSC
2773Wed Sep 4 11:24:29 1996 James G. Smith <jsmith@cygnus.co.uk>
2774
2775 * config/tc-mips.c (load_register): Remove unnecessary code that
2776 was causing the high 32bits of 64bit constants to be lost.
2777
1b68deb5
JSC
2778Tue Sep 3 13:52:56 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
2779
2780 * config/tc-d10v.c: Added changes to support function
2781 pointers and "@word" syntax.
2782
c84615bc 2783start-sanitize-v850
05fd83ed
JL
2784Tue Sep 3 11:57:18 1996 Jeffrey A Law (law@cygnus.com)
2785
2786 * config/tc-v850.c: Remove commented out and #if 0'd code.
2787 (v850_reloc_prefix): Provide prototype.
2788 (postfix, get_reloc, build_insn): Remove prototypes for nonexistant
2789 functions.
2790 (md_begin, md_assemble, md_apply_fix3): Remove unused variables.
2791 (md_assemble): Add default to case statement.
2792
270fd2ad
JL
2793Sat Aug 31 16:03:00 1996 Jeffrey A Law (law@cygnus.com)
2794
2795 * config/tc-v850.c (md_assemble): Compute size of the instrction
2796 from the opcode.
74dd0c07 2797
2d56269e
JL
2798 * config/tc-v850.c (md_apply_fix3): Do simple byte, short and
2799 word fixups too.
2800
270fd2ad
JL
2801Fri Aug 30 23:50:08 1996 Jeffrey A Law (law@cygnus.com)
2802
74dd0c07
JL
2803 * config/tc-v850.c (md_apply_fix3): Use little endian get/put
2804 routines to fetch/store the updated instruction from/to memory.
2805 (v850_insert_operand): If the operand has a specialized insert
2806 routine, call it.
2807
c84615bc
C
2808Fri Aug 30 18:35:26 1996 J.T. Conklin <jtc@hippo.cygnus.com>
2809
2810 * config/tc-v850.c (reg_name_search): Align calling convention to
2811 be like identical function found in tc-ppc.c.
2812 (get_reloc): Removed.
2813 (v850_reloc_prefix): New function, parse lo(), hi() and hi0().
2814 (md_assemble): emit fixups.
2815 (md_pcrel_from): renamed from md_pcrel_from_section, emit proper
2816 displacement.
2817 (md_apply_fix3): handle fixups/relocs.
2818 * config/tc-v850.h (MD_PCREL_FROM_SECTION): Removed definition.
2819
2820end-sanitize-v850
0f616818
ILT
2821Fri Aug 30 18:12:00 1996 Ian Lance Taylor <ian@cygnus.com>
2822
2823 Add SH ELF support.
2824 * configure.in (sh-*-elf*): New target.
2825 * config/tc-sh.h (TARGET_ARCH): Define.
2826 (WORKING_DOT_WORD): Define.
2827 (TC_COFF_FIX2RTYPE): Only define if OBJ_COFF.
2828 (BFD_ARCH, COFF_MAGIC, TC_COUNT_RELOC): Likewise.
2829 (TC_RELOC_MANGLE, tc_coff_symbol_emit_hook): Likewise.
2830 (DO_NOT_STRIP, NEED_FX_R_TYPE, TC_KEEP_FX_OFFSET): Likewise.
2831 (TC_COFF_SIZEMACHDEP, tc_frob_file): Likewise.
2832 (SUB_SEGMENT_ALIGN): Likewise.
2833 (RELOC_32): Don't define.
2834 (tc_frob_file_before_adjust): Define if BFD_ASSEMBLER.
2835 (target_big_endian): Declare if OBJ_ELF.
2836 (TARGET_FORMAT): Define if OBJ_ELF.
2837 * config/tc-sh.c: Use BFD reloc codes instead of SH COFF reloc
2838 numbers throughout.
2839 (tc_crawl_symbol_chain): Only define if OBJ_COFF.
2840 (tc_headers_hook, tc_coff_sizemachdep): Likewise.
2841 (struct sh_count_relocs): Define.
2842 (sh_count_relocs): New static function, broken out of
2843 sh_frob_file. Add BFD_ASSEMBLER code.
2844 (sh_frob_section): Likewise.
2845 (sh_frob_file): Call sh_frob_section.
2846 (md_convert_frag): If BFD_ASSEMBLER, change type of headers, and
2847 call section_symbol rather than seg_info (seg)->dot.
2848 (md_section_align): Add OBJ_ELF version.
2849 (SWITCH_TABLE_CONS): Define.
2850 (SWITCH_TABLE): Use SWITCH_TABLE_CONS.
2851 (md_apply_fix): Change parameter types if BFD_ASSEMBLER. Only
2852 handle fx_r_type == 0 if not BFD_ASSEMBLER. Return 0 if
2853 BFD_ASSEMBLER.
2854 (struct reloc_map): Define if not BFD_ASSEMBLER.
2855 (coff_reloc_map): Likewise.
2856 (sh_coff_reloc_mangle): Use coff_reloc_map to convert fx_r_type.
2857 (tc_gen_reloc): New function if BFD_ASSEMBLER.
2858 * write.c (write_relocs): Ifdef out fx_where test which triggers
2859 inappropriately for SH ELF.
2860 (write_object_file): Call tc_frob_file_before_adjust and
2861 obj_frob_file_before_adjust if they are defined.
2862
2863 * write.c (write_object_file): Use BFD_RELOC_16, not
2864 BFD_RELOC_NONE, when calling fix_new_exp for a broken word.
2865
2866 * read.c (emit_expr): Fix conversion of byte count to BFD reloc
2867 code.
2868
20dbcd5c
MH
2869Fri Aug 30 14:47:38 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
2870
2871 * config/tc-d10v.c (find_opcode): Fix problem with calculating
2872 branch sizes in across sections.
2873
05631de2
JL
2874start-sanitize-v850
2875Fri Aug 30 00:44:13 1996 Jeffrey A Law (law@cygnus.com)
2876
2877 * config/tc-850.c (md_assemble): Handle hi() correctly. Handle
2878 hi0() too.
2879
2880Wed Aug 28 23:11:08 1996 Jeffrey A Law (law@cygnus.com)
2881
2882 * config/tc-v850.c (md_begin): Deal with end of opcode
2883 table marker.
2884
2885end-sanitize-v850
e592d28f
MH
2886Wed Aug 28 19:20:04 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
2887
2888 * config/tc-d10v.c (find_opcode): Fix a bug which could generate
2889 the wrong opcode for cases like st2w where there are many forms
2890 of the same instruction.
2891
6fce31a6
ILT
2892Tue Aug 27 13:53:22 1996 Ian Lance Taylor <ian@cygnus.com>
2893
2894 * expr.c (operand): If md_parse_name is defined, call it before
2895 calling symbol_find_or_make.
2896 * config/tc-ppc.h (md_parse_name): Define.
2897 (ppc_parse_name): Declare.
2898 * config/tc-ppc.c (reg_name_search): Add regs and regcount
2899 parameters.
2900 (register_name): Update call to reg_name_search.
2901 (cr_operand): New static variable.
2902 (cr_names): New static const array.
2903 (ppc_parse_name): New function.
2904 (md_assemble): If PPC_OPERAND_CR is set in the operand flags, set
2905 cr_operand before calling expression.
2906
a58b037a
JL
2907Tue Aug 27 09:05:50 1996 Jeffrey A Law (law@cygnus.com)
2908
2909 * config/tc-hppa.c (tc_gen_reloc): Add new argument to
2910 hppa_gen_reloc_type call.
2911
3017263b
MH
2912Mon Aug 26 18:24:51 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
2913
2914 * config/tc-d10v.c: Fixed ".word". Fixed problem with range checking
2915 on addresses. Improved error messages.
2916 * doc/c-d10v.texi: Added docs for register pairs.
2917
f9085532
MH
2918Mon Aug 26 13:39:27 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
2919
2920 * config/tc-d10v.c (parallel_ok): Fix bug in parallel
2921 checking code.
2922
58275724
ILT
2923Mon Aug 26 14:38:22 1996 Ian Lance Taylor <ian@cygnus.com>
2924
2925 * ecoff.c (init_file): Initialize fMerge to 1.
2926 (add_file): Restore old file merging code, but only merge files if
2927 fMerge is set.
2928 (ecoff_directive_loc): Clear fMerge field of current file.
2929 (ecoff_generate_asm_lineno): Likewise.
2930
b1c28263
MH
2931Fri Aug 23 11:40:47 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
2932
2933 * doc/c-d10v.texi: Fix typo.
2934
c9a32d6c
JL
2935start-sanitize-v850
2936Fri Aug 23 10:41:32 1996 Jeffrey A Law (law@cygnus.com)
2937
58275724
ILT
2938 * config/tc-v850.c (md_assemble): Correct bit masking for
2939 hi and lo expressions.
2940
88b47a85
JL
2941 * config/tc-v850.c (md_assemble): Rough cut at demanding
2942 "ep" or "r30" in sst and sld instructions.
2943 (md_apply_fix3): Don't abort. Just warn that we don't
2944 have relocs yet.
2945
c9f1b2d9
JL
2946 * config/tc-v850.c (CC_NAME_CNT): Define.
2947 (cc_name): New function.
2948 (md_assemble): Handle V850_OPERAND_CC correctly.
2949
d5974c57
JL
2950 * config/tc-v850.c (md_assemble): Don't forget to initialize
2951 "insn"!
2952
0e8f9bd1
JL
2953 * config/tc-v850.c (reg_name_search): Generalize to search
2954 any given register table.
2955 (register_name): Pass appropriate table and size to reg_name_search.
2956 (system_register_name): New function.
2957 (SYSREG_NAME_CNT): Define.
2958 (md_assemble): Handle operands which are system registers.
2959
c9a32d6c
JL
2960 * config/tc-v850.c (md_assemble): If we find a register, but the
2961 opcode doesn't want a register, then we don't have a match.
2962 (md_assemble): Get size of the instruction from the opcode table.
2963
2964end-sanitize-v850
eeef602f
ILT
2965Thu Aug 22 10:20:30 1996 Ian Lance Taylor <ian@cygnus.com>
2966
8ee90d35
ILT
2967 * configure.in: Set and substitute HLDENV.
2968 * configure: Rebuild.
2969 * Makefile.in (HLDENV): New variable.
2970 (as.new): Use $(HLDENV).
2971
eeef602f
ILT
2972 * ecoff.c (ecoff_directive_endef): Avoid a division by zero error
2973 if an array dimension is not known.
2974
6be9ec8d
MH
2975Thu Aug 22 10:50:00 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
2976
2977 * config/tc-d10v.c: Fix a reloc bug caused by my last change.
2978 * doc/c-d10v.texi: Cleanup.
2979
c6aa56bc
C
2980start-sanitize-v850
2981Tue Aug 20 15:15:16 1996 J.T. Conklin <jtc@hippo.cygnus.com>
2982
2983 * config/tc-v850.c: New file.
2984 * config/tc-v850.h: New file.
2985 * configure (v850-*-elf): New target.
2986 * configure.in (v850-*-elf): New target.
2987
2988end-sanitize-v850
2c2e5626
MH
2989Wed Aug 21 15:50:54 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
2990
2991 * doc/c-d10v.texi: New file.
2992 * doc/all.texi: Added D10V stuff.
2993 * doc/as.texinfo: Added D10V stuff.
2994
ab457c4c
MH
2995Tue Aug 20 14:10:02 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
2996
2997 * config/tc-d10v.c: All references to defined symbols should
2998 now use the optimal instruction. .float and .double now work.
2999
d4e1b0be
ILT
3000Mon Aug 19 14:41:36 1996 Ian Lance Taylor <ian@cygnus.com>
3001
3002 * config/obj-coff.c (fixup_segment): Adjust PC relative reloc by
3003 section address for the i960 as is done for the i386.
3004
3005Thu Aug 15 16:37:59 1996 Stan Shebs <shebs@andros.cygnus.com>
3006
3007 * mpw-config.in: Add wildcards for config matching, add mips-*-*
3008 case, forward-include bfd/elf-bfd.h.
3009
b98b04ea
MH
3010Thu Aug 15 13:24:30 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
3011
3012 * config/tc-d10v.c: Add additional information to the opcode
3013 table to help determinine which instructions can be done
3014 in parallel.
3015
b98b04ea
MH
3016Thu Aug 15 17:01:31 1996 James G. Smith <jsmith@cygnus.co.uk>
3017
3018 * config/tc-arm.c: Major changes to add Thumb support, with lots
3019 of change input from <rearnsha@armltd.co.uk>.
3020 Reverted to INSN_SIZE macro, rather than insn_size variable.
3021 (insns): Added ARM "bx" instruction support.
3022 (tinsns): Added Thumb instruction definition structure.
3023 (arm_tops_hsh): Added hash structure for Thumb opcodes.
3024 (md_pseudo_table): Added ".arm", ".thumb" and ".code" pseudo-ops.
3025 (opcode_select,s_arm,s_thumb,s_code): Added.
3026 (decode_shift): Allow upper-case RRX.
3027 (do_ldst): Simpler halfword support.
3028 (do_ldmstm): Improved.
3029 (reg_list, do_bx, thumb_reg, thumb_add_sub, thumb_shift,
3030 thumb_mov_compare, thumb_load_store, do_t_arit, do_t_add,
3031 do_t_asr, do_t_branch, do_t_bx, do_t_compare, do_t_ldmstm,
3032 do_t_ldrb, do_t_ldrh, do_t_lds, do_t_lsl, do_t_lsr, do_t_mov,
3033 do_t_push_pop, do_t_str, do_t_strb, do_t_strh, do_t_sub, do_t_swi,
3034 do_t_adr): Added.
3035 (md_apply_fix3): Add support for BFD_RELOC_ARM_THUMB_* relocations.
3036 (md_parse_option): Add support for -mthumb.
3037 (md_show_usage): Updated to reflect new command line option.
3038 (arm_data_in_code, arm_canonicalize_symbol_name): Added.
3039 * config/tc-arm.h: Provide TC_FIX_TYPE to allow private ARM
3040 fragment information to be held.
3041
3042Thu Aug 15 16:12:00 1996 Richard Earnshaw (rearnsha@armltd.co.uk)
3043
3044 * tc-arm.c (md_apply_fix3): Also set fixP->fx_done if fx_addsy is
3045 non-null, but is a constant.
3046 (fix_new_arm): Call make_expr_symbol to make the expression symbol
3047 so that error reporting will work correctly.
3048
126436a8
ILT
3049Wed Aug 14 10:37:21 1996 Ian Lance Taylor <ian@cygnus.com>
3050
3051 * config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust relocs
3052 against weak symbols.
3053
0e94336e
ILT
3054Tue Aug 13 17:39:24 1996 Ian Lance Taylor <ian@cygnus.com>
3055
3056 * config/tc-ppc.h (TC_FORCE_RELOCTION): Define if OBJ_XCOFF.
3057 (ppc_force_relocation): Declare if OBJ_XCOFF.
3058 * config/tc-ppc.c (ppc_force_relocation): New function if
3059 OBJ_XCOFF.
3060
817e4f75
ILT
3061Mon Aug 12 16:49:43 1996 Ian Lance Taylor <ian@cygnus.com>
3062
3063 * config/tc-mips.h (BYTE_ORDER): Don't define. No longer used.
3064
f494d503
MH
3065Fri Aug 9 17:48:28 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
3066
3067 * config/tc-d10v.c: Fix problem with relocs.
3068
8d07d2c9
ILT
3069Fri Aug 9 14:16:14 1996 Ian Lance Taylor <ian@cygnus.com>
3070
3071 * config/tc-sh.c (sh_do_align): If not BFD_ASSEMBLER, always align
3072 with nops if not in data_section or bss_section.
3073
f649d525
ILT
3074Thu Aug 8 12:32:56 1996 Klaus Kaempf <kkaempf@progis.de>
3075
3076 Add support for openVMS/Alpha.
3077 * as.h (PRINTF_LIKE): Don't define if VMS, for now.
3078 * config/obj-evax.c: New file.
3079 * config/obj-evax.h: New file.
3080 * config/tc-alpha.c: Add support for EVAX format if OBJ_EVAX is
3081 defined.
3082 * config/tc-alpha.h: Add support for EVAX format if OBJ_EVAX is
3083 defined. Add case for bfd_target_evax_flavour.
3084 * config/vms-a-conf.h: New file.
3085 * conf-a-gas.com: New file.
3086 * configure.in: Add target alpha-*-*vms*.
3087 * configure: Rebuild.
3088 * makefile.vms: New file.
3089 * read.c (s_lcomm): Align bss_seg on 8 byte boundary if OBJ_EVAX.
3090 Don't call ffs on openVMS/Alpha.
3091
5cece526
ILT
3092Wed Aug 7 14:19:03 1996 Philippe De Muyter <phdm@info.ucl.ac.be>
3093
3094 * configure.in: Make GAS_CHECK_DECL_NEEDED include <string.h> or
3095 <strings.h> if they exist. Call GAS_CHECK_DECL_NEEDED on strstr
3096 and sbrk.
3097 * acconfig.h (NEED_DECLARATION_STRSTR): New macro.
3098 (NEED_DECLARATION_SBRK): New macro.
3099 * configure, conf.in: Rebuild.
3100 * as.h: Only include <strings.h> if HAVE_STRINGS_H.
3101 (strstr): Declare if NEED_DECLARATION_STRSTR.
3102 * as.c: If HAVE_SBRK and NEED_DECLARATION_SBRK, declare sbrk.
3103
e592f0e6
ILT
3104Wed Aug 7 11:50:26 1996 Ian Lance Taylor <ian@cygnus.com>
3105
d10df990
ILT
3106 * symbols.c (resolve_symbol_value): Handle addition or subtraction
3107 by a constant before entering the main switch. Reject attempts to
3108 apply an arithmetic function to non-absolute symbols, except for
3109 the special case of subtraction of two symbols in the same
3110 section.
3111
cf32394d
ILT
3112 * config/tc-mips.c (md_section_align): Do align if OBJ_ELF, but
3113 not to more than a 16 byte boundary.
3114
e592f0e6
ILT
3115 * config/tc-i386.c (tc_gen_reloc): Accept all relocs; remove
3116 #ifndef OBJ_ELF lines. From Eric Valette <valette@crf.canon.fr>.
3117 (tc_gen_reloc): If out of memory call as_fatal rather than
3118 assert. If no howto found, call as_bad_where rather than
3119 as_fatal. Change the error message slightly. Set howto to a
3120 non-NULL value in order to keep going.
3121
5d9a99a7
MH
3122Tue Aug 6 12:58:03 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
3123
3124 * config/tc-d10v.c: Added code to support 32-bit fixups for stabs.
3125
6a8e0036
JL
3126Tue Aug 6 11:15:26 1996 Jeffrey A Law (law@cygnus.com)
3127
3128 * config/tc-h8300.c (get_specific): New operand "size" derived
3129 from ".b", ".w" and ".l" extensions. All callers changed. If
3130 the base instruction has no operands, then use the size to
3131 determine which specific instruction to use.
3132
3d7b0c49
ILT
3133Mon Aug 5 14:21:10 1996 Ian Lance Taylor <ian@cygnus.com>
3134
3135 * config/tc-i960.c (mem_fmt): Call parse_expr before emit.
3136
10a14e36
ILT
3137Fri Aug 2 11:23:31 1996 Ian Lance Taylor <ian@cygnus.com>
3138
3139 * config/tc-mips.c (md_section_align): Don't change addr if
3140 OBJ_ELF.
3141
470a679c
JL
3142Thu Aug 1 23:51:52 1996 Jeffrey A Law (law@cygnus.com)
3143
3144 * config/tc-hppa.c: Revert yesterday's changes.
3145
b5cf6779
MH
3146Wed Jul 31 14:46:11 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
3147
3148 * config/tc-d10v.c: Disable range checking on 16-bit values.
3149
159eb3c0
ILT
3150Wed Jul 31 16:27:19 1996 Ian Lance Taylor <ian@cygnus.com>
3151
3152 * config/tc-m68k.c (m68k_ip): Set ok_arch for every instruction,
3153 not just the ones that don't match.
3154
37e05f64
MH
3155Wed Jul 31 11:45:15 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
3156
3157 * config/tc-d10v.c: Fixed bugs in short relocs and range checking.
3158
c479fc62
JSC
3159Wed Jul 31 15:41:42 1996 James G. Smith <jsmith@cygnus.co.uk>
3160
3161 * config/tc-arm.c: Changed INSN_SIZE to variable insn_size, as
3162 pre-cursor to adding Thumb support. Also added cpu_variant flag
3163 information to each of the asm_flg structures.
3164 (md_parse_option): Updated ARM7 parsing to allow 't' for
3165 thumb/halfword support, aswell as 'm' for long multiply.
3166 (md_show_usage): Updated help message.
3167 (md_assemble): Check that instruction flags are applicated to the
3168 current cpu variant.
3169 (md_apply_fix3, tc_gen_reloc): Add BFD_RELOC_ARM_OFFSET_IMM8 and
3170 BFD_RELOC_ARM_HWLITERAL relocation support for new halfword and
3171 signextension instructions.
3172 (do_ldst): Generate halfword and signextension variants if
3173 mnemonic flags match.
3174 (ldst_extend): Do not allow shifts in the offset field of halfword
3175 or signextension instructions.
3176 (validate_offset_imm): Provide check on halfword and signextension
3177 immediate range.
3178 (add_to_lit_pool): Merge identical literal pool values.
3179
448b5aad
JL
3180Tue Jul 30 14:28:23 1996 Jeffrey A Law (law@cygnus.com)
3181
3182 * config/tc-hppa.c (selector_table): Add 'E' selector.
3183 (cons_fix_new_hppa): Don't coke on e_esel.
3184 (tc_gen_reloc, SOM version): Handle R_COMP2 when used
3185 to help generate exception handling tables.
3186 (md_apply_fix): Don't try to apply fixups with an e_esel
3187 selector.
3188 (hppa_fix_adjustable): Fixups with e_esel selectors
3189 are not adjustable.
3190
8dfb05cc
ILT
3191Tue Jul 30 15:51:41 1996 Ian Lance Taylor <ian@cygnus.com>
3192
3193 * config/tc-sparc.c (md_pseudo_table): Add 2byte, 4byte, and 8byte
3194 pseudo-ops.
3195
8544dc03
MH
3196Fri Jul 26 11:43:03 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
3197
3198 * config/tc-d10v.c: Added lots of error checking. Added hacks
3199 to support accumulator shifts.
3200
5ca547dc
ILT
3201Fri Jul 26 11:56:08 1996 Ian Lance Taylor <ian@cygnus.com>
3202
3203 * symbols.c (S_SET_EXTERNAL): Let .weak override.
3204 (S_CLEAR_EXTERNAL): Likewise.
3205 (S_SET_WEAK): Remove error; just let .weak override.
3206
35ad20a1
MH
3207Thu Jul 25 15:22:51 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
3208
3209 * config/tc-d10v.c (md_assemble): Now handles multiline
3210 instructions.
3211
7c096652
MH
3212Thu Jul 25 12:03:33 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
3213
3214 * config/tc-d10v.c: Fix packaging bug. Added range checking.
3215 Added kludge for divs instruction. Fixed minor problem with
3216 multiple text sections.
35ad20a1
MH
3217 * config/tc-d10v.h (d10v_cleanup): Change prototype.
3218
93050391
MH
3219Tue Jul 23 10:49:36 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
3220
3221 * config/tc-d10v.c (md_apply_fix3): Fix all instruction
3222 addresses to be right-shifted by 2.
3223
0ef32559
MH
3224Mon Jul 22 11:32:36 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
3225
3226 * config/tc-d10v.c: Many changes to get relocs working.
3227 (register_name): No longer creates a symbol for register names.
3228 (pre_defined_registers): moved to opcodes/d10v-opc.c.
3229 (d10v_insert_operand): Now works correctly for either container.
3230 * config/tc-d10v.h (d10v_cleanup): Declare.
3231
97aca1bc
ILT
3232Mon Jul 22 14:01:33 1996 Ian Lance Taylor <ian@cygnus.com>
3233
3234 * config/tc-mips.c (tc_gen_reloc): BFD_RELOC_PCREL_HI16_S and
3235 BFD_RELOC_PCREL_LO16 are expected to be PC relative.
3236
6543a7fb
ILT
3237Mon Jul 22 12:46:55 1996 Richard Henderson <rth@tamu.edu>
3238
3239 * tc-alpha.c: Patches to track current minimum alignment to reduce
3240 the number of fragments created with frag_align.
3241 (alpha_current_align): New static variable.
3242 (s_alpha_text): Reset alignment to 0.
3243 (s_alpha_data, s_alpha_rdata, s_alpha_sdata): Likewise.
3244 (s_alpha_stringer, s_alpha_space): New functions.
3245 (s_alpha_cons, alpha_flush_pending_output): Remove functions.
3246 (alpha_cons_align): New function to replace both of them.
3247 (emit_insn): Only align if alpha_current_align is less than 2;
3248 reset alpha_current_align to 2.
3249 (s_alpha_gprel32): Likewise.
3250 (s_alpha_section): New function. Basically duplicate the other
3251 alpha section change hooks. Only define for ELF.
3252 (s_alpha_float_cons): Simplify alignment handling.
3253 (md_pseudo_table): Only define "rdata" and "sdata" if OBJ_ECOFF.
3254 If OBJ_ELF, define "section", "section.s", "sect", and "sect.s".
3255 Don't define the s_alpha_cons pseudo-ops. Do define
3256 s_alpha_stringer and s_alpha_space pseudo-ops.
3257 (alpha_align): Skip if less than current default alignment. Set
3258 default alignment.
3259 * tc-alpha.h (md_flush_pending_output): Remove.
3260 (md_cons_align): Add.
3261
3262 * tc-alpha.c: Add oodles of function description comments.
3263 (md_bignum_to_chars): Remove; there are no callers.
3264 (md_show_usage): Mention some more variants.
3265
091221ce
ILT
3266Thu Jul 18 15:54:54 1996 Ian Lance Taylor <ian@cygnus.com>
3267
0b27ea39
ILT
3268 From Andrew Gierth <ANDREWG@microlise.co.uk>:
3269 * configure.in (sparc-*-sysv4*): New target.
3270 * configure: Rebuild.
3271
8dd07a84
ILT
3272 * config/tc-sparc.c (md_pseudo_table): Change uahalf, uaword, and
3273 uaxword to use s_uacons.
3274 (sparc_no_align_cons): New static variable.
3275 (s_uacons): New static function.
3276 (sparc_cons_align): If sparc_no_align_cons is set, just clear it
3277 and return.
3278
3279 * config/tc-sparc.c (s_common): Remove unused label allocate_bss.
3280
cbe7dccb
ILT
3281 * configure.in: Add mips-*-irix6* target. Handle Irix 6 like Irix
3282 5 with regard to shared libraries.
3283 * configure: Rebuild.
3284
091221ce
ILT
3285 * config/tc-m68k.c (m68k_ip): Use the correct length when
3286 allocating space for the unsupported architecture error message.
3287
05a8bf33
MM
3288Thu Jul 18 12:57:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3289
3290 * configure.in (d10v-*-*): Allow d10v-*-*, don't require d10v-*-elf*.
3291
3292Wed Jul 17 14:25:13 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
7be9a312
MH
3293
3294 * config/tc-d10v.c: New file.
3295 * config/tc-d10v.h: New file.
3296 * configure (d10v-*-elf): New target.
3297 * configure.in (d10v-*-elf): New target.
7be9a312 3298
10c9620d
MM
3299Fri Jul 12 20:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3300
3301 * config/tc-ppc.c (md_parse_option): Recognize -K PIC.
3302
0ee09671
ILT
3303Wed Jul 10 12:39:08 1996 Richard Henderson <rth@tamu.edu>
3304
3305 * config/tc-alpha.c (alpha_align): Change fill parameter
3306 to a pointer. Take NULL as 0 or nop depending on section. Change
3307 all callers.
3308 (s_alpha_align): Rename local variables.
3309
3310 * doc/as.texinfo (.align): Document action of omitted
3311 fill parameter.
3312
3128726c
ILT
3313Wed Jul 10 00:23:30 1996 Ian Lance Taylor <ian@cygnus.com>
3314
3315 * config/tc-ppc.c (md_apply_fix3): Give a useful error message
3316 when an unsupported PC relative reloc is seen, rather than calling
3317 abort.
3318
3319 * app.c (do_scrub_chars): Remove not_cpp_line local variable.
3320 Instead, check state when '#' comment is seen.
3321
7f003b7f
ILT
3322Mon Jul 8 14:11:49 1996 Ian Lance Taylor <ian@cygnus.com>
3323
a8aed9dd
ILT
3324 * config/tc-mips.c (mips_regmask_frag): Only define if OBJ_ELF or
3325 OBJ_MAYBE_ELF.
3326 (tc_gen_reloc): If fixup was changed to be PC relative, change
3327 reloc type accordingly. Use name of reloc in error message.
3328
a5a78175
ILT
3329 * as.h: Don't define const or volatile.
3330 * flonum.h: Don't define const.
3331
7f003b7f
ILT
3332 * config/tc-m68k.c (tc_gen_reloc): Change the code appropriately
3333 if fx_pcrel is set. Correct setting the addend case in the
3334 OBJ_ELF case (from Andreas Schwab
3335 <schwab@issan.informatik.uni-dortmund.de>).
3336 (md_show_usage): Correct -mfc5200 to -m5200.
3337
8d20a0a8
C
3338Fri Jul 5 10:32:58 1996 J.T. Conklin <jtc@rtl.cygnus.com>
3339
910d7df2
C
3340 * doc/c-m68k.texi: Document -m5200 flag.
3341 * doc/as.texinfo: Likewise.
3342
8d20a0a8
C
3343 * config/tc-m68k.c (m68k_ip): The coldfire does not support 8x
3344 scale factor.
3345
c0b34702
ILT
3346Fri Jul 5 11:07:24 1996 Ian Lance Taylor <ian@cygnus.com>
3347
3348 * symbols.c (S_SET_EXTERNAL): Change as_warn to as_bad.
3349 (S_CLEAR_EXTERNAL, S_SET_WEAK): Likewise.
3350
45c85bcb
ILT
3351Thu Jul 4 11:59:46 1996 Ian Lance Taylor <ian@cygnus.com>
3352
6624477c
ILT
3353 * Makefile.in (VERSION): Set to cygnus-2.7.1.
3354
45c85bcb
ILT
3355 * Released binutils 2.7.
3356
fc636a52
JSC
3357Thu Jul 4 10:11:33 1996 James G. Smith <jsmith@cygnus.co.uk>
3358
3359 * config/tc-mips.c (mips_ip): Only perform range check when
3360 dealing with O_constant expressions.
3361
d41d2ccc
C
3362Wed Jul 3 15:02:21 1996 J.T. Conklin <jtc@rtl.cygnus.com>
3363
3364 * m68k-parse.h (m68k_register): Add new coldfile control
3365 registers.
3366
3367 * config/tc-m68k.c (mcf5200_control_regs): New variable,
3368 array of control registers for the coldfire.
3369 (cpu_of_arch): Added mcf5200.
3370 (archs): Added mcf5200.
3371 (init_table): Add new control registers.
3372 (m68k_ip): Added support for new control registers.
3373 (m68k_init_after_args): Likewise.
3374
3375 * config/tc-m68k.c (md_show_usage): Add -m5200 to usage text.
3376
5af96dce
ILT
3377Wed Jul 3 16:05:50 1996 Ian Lance Taylor <ian@cygnus.com>
3378
c5d8f96e
ILT
3379 * read.h (is_it_end_of_statement): Declare.
3380 * read.c (is_it_end_of_statement): Remove declaration.
3381
3382 * config/tc-ppc.c (ppc_elf_suffix): Correct parenthesization of ||
3383 within &&.
3384 (md_assemble): Fix handling of @l with an unsigned constant. Add
3385 default case to reloc switch.
3386
ac76c7e9
ILT
3387 * config/tc-i386.h (AOUT_MACHTYPE): Define as 0 if TE_386BSD.
3388
5af96dce
ILT
3389 Based on patches from Tom Quiggle <quiggle@sgi.com>:
3390 * ecoff.c (last_lineno): New static variable.
3391 (add_procedure): Set last_lineno.
3392 (ecoff_directive_loc): Likewise.
3393 (ecoff_generate_asm_lineno): Likewise.
3394 (ecoff_fix_loc): New function.
3395 * ecoff.h (ecoff_fix_loc): Declare.
3396 * config/tc-mips.c (append_insn): When inserting nops, and using
3397 ECOFF debugging, call ecoff_fix_loc.
3398
b9bddc84
JL
3399Tue Jul 2 23:02:12 1996 Jeffrey A Law (law@cygnus.com)
3400
3401 * config/tc-h8300.c (build_bytes): If an operand type is
3402 marked as SRC_IN_DST retrieve it from the "destination" op.
3403
379c2fb4
ILT
3404Sat Jun 29 13:38:31 1996 Ian Lance Taylor <ian@cygnus.com>
3405
69c1de90
ILT
3406 * configure.in (arm-*-riscix*): Set emulation to riscix.
3407 * configure: Rebuild.
3408 * config/te-riscix.h: New file to define TE_RISCIX.
3409
379c2fb4
ILT
3410 * config/tc-sh.h (SUB_SEGMENT_ALIGN): Define.
3411
3412Fri Jun 28 15:14:31 1996 Ian Lance Taylor <ian@cygnus.com>
3413
3414 * Makefile.in (config.status): Just run config.status as other
3415 tools do.
3416
c611cd82
SS
3417Fri Jun 28 11:09:38 1996 Stan Shebs <shebs@andros.cygnus.com>
3418
3419 * mpw-config.in (TARGET_OS): Add definition to conf.
3420
fbf011f2
ILT
3421Thu Jun 27 20:39:40 1996 James G. Smith <jsmith@cygnus.co.uk>
3422
3423 * config/tc-mips.c (append_insn): Parenthesize
3424 cop_interlocks expressions.
3425
3426Thu Jun 27 12:18:26 1996 Ian Lance Taylor <ian@cygnus.com>
3427
3428 * listing.c (listing_print): Close the listing file if it is not
3429 stdout. Close the other files opened for the listing.
681dbbc0
ILT
3430
3431 * config/tc-sparc.h (md_cons_align): Define.
3432 (sparc_cons_align): Declare.
3433 (HANDLE_ALIGN): Define.
3434 (sparc_handle_align): Declare.
3435 * config/tc-sparc.c (sparc_cons_align): New function.
3436 (sparc_handle_align): New function.
3437 * read.c (cons_worker): Call md_cons_align if it is defined.
3438
3439 * as.h (struct frag): Add fr_file and fr_line fields.
3440 * frags.c (frag_new): Set fr_file and fr_line.
3441 (frag_var): Likewise.
3442 (frag_variant): Likewise.
3443
7e027ce6
ILT
3444 * as.h (struct frag): Remove unused align_mask and align_offset
3445 fields.
3446
f9b990cd
ILT
3447 * listing.c (calc_hex): Offset by fr_fix when examining fr_var.
3448 From <uddeborg@carmen.se>.
3449
9b4b98bd
ILT
3450Wed Jun 26 13:21:34 1996 Ian Lance Taylor <ian@cygnus.com>
3451
67b48b58
ILT
3452 * configure.in (mips-*-osf*): New target.
3453 * configure: Rebuild.
3454
9b4b98bd
ILT
3455 * config/tc-m68k.c: Add 68ec060 as a synonym for 68060.
3456
344a8d61
JSC
3457Wed Jun 26 16:23:08 1996 James G. Smith <jsmith@cygnus.co.uk>
3458
3459 * config/tc-mips.c: Added cop_interlocks, to avoid NOP insertion
3460 between co-processor comparisons and branches for the VR4300.
3461
1c94de4d
JM
3462Mon Jun 24 18:02:50 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
3463
3464 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
3465 INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
3466 (docdir): Removed.
3467 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
3468 * doc/Makefile.in (bindir, libdir, datadir, mandir, infodir,
3469 includedir): Use autoconf set values.
3470 (docdir): Removed.
3471
b290fd25
ILT
3472Mon Jun 24 11:58:14 1996 Ian Lance Taylor <ian@cygnus.com>
3473
1c94de4d
JM
3474 * listing.c (listing_eject): Don't do anything if listing is 0.
3475 (listing_list): Likewise.
3476 (listing_source_line): Likewise.
3477 (listing_title): Don't save title if listing is 0.
3478 (listing_source_file): Check listing rather than listing_tail.
3479
b290fd25
ILT
3480 * configure.in: On alpha*-*-osf*, link against libbfd.a if not
3481 using shared libraries.
3482 * configure: Rebuild.
3483
3484Fri Jun 21 18:22:23 1996 Ian Lance Taylor <ian@cygnus.com>
3485
3486 * config/tc-mips.c (mips_ip): In case 'i'/'j', don't require an
3487 absolute expression if a relocation type was specified.
3488
644edced
ILT
3489Fri Jun 21 17:40:16 1996 Joel Sherrill <joel@merlin.gcs.redstone.army.mil>
3490
3491 * configure.in: Add support for *-*-rtems* configurations.
3492 * configure: Rebuild.
3493
df586de2
ILT
3494Fri Jun 21 16:01:18 1996 Richard Henderson <rth@tamu.edu>
3495
3496 * configure.in: Add alpha-*-linuxecoff* target. Use elf for
3497 alpha-*-linux* target. Force bfd_gas for alpha-*. Require
3498 opcodes library for alpha.
3499 * configure: Rebuild with autoconf 2.10.
3500 * config/tc-alpha.c: Substantial rewrite to add ELF support and
3501 use new opcode table.
3502 * config/tc-alpha.h (md_undefined_symbol): Don't define.
3503 (LOCAL_LABEL): Define differently if OBJ_ELF.
3504 (FAKE_LABEL_NAME): Define if OBJ_ELF.
3505 * config/alpha-opcode.h: Remove.
3506 * config/obj-elf.h: If TC_ALPHA, define ECOFF_DEBUGGING.
3507 * Makefile.in (TARG_CPU_DEP_alpha): Depend upon
3508 include/opcode/alpha.h rather than config/alpha-opcode.h.
3509
7ca8e36e
ILT
3510Thu Jun 20 19:10:28 1996 Ian Lance Taylor <ian@cygnus.com>
3511
edec3111
ILT
3512 * config/obj-aout.c (obj_emit_relocations): Give an error if the
3513 relocation symbol was not resolved.
3514 * config/obj-coff.c (do_relocs_for): Likewise.
3515
7ca8e36e
ILT
3516 * write.c (adjust_reloc_syms): Refetch the symbol section after
3517 calling S_GET_VALUE, since it may have changed.
3518
3519 * expr.c (struct expr_symbol_line): Define.
3520 (expr_symbol_lines): New static variable.
3521 (make_expr_symbol): Add entry to expr_symbol_lines.
3522 (expr_symbol_where): New function.
3523 * expr.h: Use extern on function declarations.
3524 (expr_symbol_where): Declare.
3525 * symbols.c (resolve_symbol_value): Try to use expr_symbol_where
3526 rather than printing the meaningless name of an expression
3527 symbol.
3528
214f540d
KR
3529Thu Jun 20 15:57:41 1996 Ken Raeburn <raeburn@cygnus.com>
3530
3531 * config/tc-i386.c (md_number_to_chars): Deleted.
3532 * config/tc-i386.h (md_number_to_chars): New macro.
3533
3534 * config/tc-alpha.c (build_operate_n, build_mem): Moved earlier in
3535 the file.
3536 (load_symbol_address, load_expression): Use build_mem.
3537 (build_operate): New function.
3538 (emit_addq_r): Use it.
3539
3540 Wed Mar 13 22:14:14 1996 Pat Rankin <rankin@eql.caltech.edu>
3541
3542 * symbols.c (colon): #if VMS, use S_SET_OTHER to store `const_flag'.
3543
3544 Tue Mar 5 14:31:45 1996 Pat Rankin <rankin@eql.caltech.edu>
3545
3546 * config/tc-vax.h (NOP_OPCODE): Define.
3547
3548 Sun Feb 4 21:01:03 1996 Pat Rankin <rankin@eql.caltech.edu>
3549
3550 * config/obj-vms.h (S_IS_COMMON): Define.
3551 (S_IS_LOCAL): Check for \002 as well as \001.
3552 (LONGWORD_ALIGNMENT): New macro.
3553 (SUB_SEGMENT_ALIGN): Use it.
3554
3555 Fri Jan 26 17:44:09 1996 Pat Rankin <rankin@eql.caltech.edu>
3556
3557 * config/vms-conf.h: Reconcile with conf.in.
3558
7b9b1eb2
ILT
3559Wed Jun 19 11:31:50 1996 Ian Lance Taylor <ian@cygnus.com>
3560
793f9558
ILT
3561 * write.c (is_dnrange): Only define if TC_GENERIC_RELAX_TABLE is
3562 defined.
3563
84577dde
ILT
3564 * doc/as.texinfo: Document that any number of hex digits can
3565 follow \x.
3566
0d6cae1e
ILT
3567 * as.c (struct defsym_list): Define.
3568 (defsyms): New static variable.
3569 (parse_args): Just put --defsym arguments on defsyms list, rather
3570 than defining them.
3571 (main): Define defsyms after output file is created.
3572
6e3f7f1b
ILT
3573 * config/tc-m68k.c (m68k_ip): Reject PRE and POST indexing mode on
3574 cpu32. From Eric Norum <Eric.Norum@usask.ca>.
3575
8095b665
ILT
3576 * config/tc-mips.c (mips_ip): In cases 'I', 'i', and 'j', set
3577 insn_error rather than calling check_absolute_expr.
3578
3579 * as.c (emulation_name): Remove unused static variable.
3580 (default_emul_bfd_name): Add return NULL to avoid warning.
3581 * ecoff.c (ecoff_stab): Remove unused variables name and
3582 name_end.
3583 * frags.c (frag_new): Remove unused variable tmp.
3584 * hash.c (hash_grow): Parenthesize + within <<.
3585 (hash_print_statistics): Use %lu, not %d, to print unsigned
3586 long variables.
3587 * messages.c: Include "libiberty.h".
3588 (fprint_value): Add cast to avoid printf warning.
3589 (sprint_value): Likewise.
3590 * read.c: Include "ecoff.h".
3591 (emit_expr): Add casts to avoid printf warnings.
3592 * read.h: Use extern for function declarations.
3593 (pop_insert): Declare.
3594 * stabs.c: Include "ecoff.h".
3595 * subsegs.c (subseg_set_rest): Remove unused variables tmp,
3596 former_last_fragP, and new_fragP.
3597 * subsegs.h (subsegs_print_statistics): Declare.
3598 * symbols.c (debug_verify_symchain): Change macro to discard
3599 arguments.
3600 * write.c (dump_section_relocs): Likewise.
3601 * write.h: Use extern for function declarations.
3602 (write_print_statistics): Declare.
3603 * config/e-mipsecoff.c (mipsecoff_bfd_name): Return NULL to avoid
3604 warning.
3605 * config/e-mipself.c (mipself_bfd_name): Likewise.
3606 * config/obj-elf.h (elf_ecoff_set_ext): Declare.
3607
9ee759fc
ILT
3608 * config/tc-sparc.h (TC_RELOC_RTSYM_LOC_FIXUP): If OBJ_ELF, always
3609 emit relocations against external symbols.
3610
faa3f539
ILT
3611 * config/tc-alpha.c (tc_gen_reloc): Output a sensible error
3612 message if bfd_reloc_type_lookup fails, rather than calling
3613 assert.
3614
7b9b1eb2
ILT
3615 * config/tc-alpha.c (alpha_force_relocation): Add
3616 BFD_RELOC_12_PCREL to switch.
3617
3618Tue Jun 18 20:29:57 1996 Doug Evans <dje@canuck.cygnus.com>
3619
3620 * config/tc-i386.h (LOCAL_LABEL,FAKE_LABEL_NAME): Use defaults for
3621 TE_PE (Lfoo, not .Lfoo).
3622
d9453233
ILT
3623Tue Jun 18 17:13:33 1996 Ian Lance Taylor <ian@cygnus.com>
3624
24b018ee
ILT
3625 * read.c (s_fill): Don't warn about a zero repeat count.
3626
c674dcaa
ILT
3627 * config/tc-mips.c (mips_ip): Don't warn about using AT as a
3628 coprocessor register.
3629
d9453233
ILT
3630 * config/tc-i386.c (md_assemble): When checking the size of a
3631 register to set the size of an instruction, do a bitwise and with
3632 Reg8 and Reg16 rather than requiring the type to be exactly Reg8
3633 or Reg16.
3634
3d0afe12
JL
3635Tue Jun 18 13:19:51 1996 Jeffrey A. Law <law@rtl.cygnus.com>
3636
3637 * config/tc-h8300.c (parse_reg): Tweak error messages.
3638 (build_bytes): Likewise.
3639 (skip_colonthing): Handle :32 suffix.
3640 (get_specific): Promote L_24 to L_32 if it makes a match.
3641 Don't always promote L_8 to L_16.
3642 (do_a_fix_imm): Clean up L_32 and L_24 handling.
3643
3d0afe12
JL
3644 * config/tc-h8300.c (Smode): New variable.
3645 (h8300hmode): Turn off Hmode.
3646 (h8300smode): New function. Turn on Smode and Hmode.
3647 (md_pseudo_table): New ".h8300s" pseudo-op.
3648 (parse_reg): Handle "exr" register.
3649 (get_operand): Handle bizarre syntax for "stm.l" and "ldm.l".
3650 Handle "mach" and "machl" operands for ldmac.
3651 (get_specific): Handle "stm.l" and "ldm.l".
3652 (build_bytes): Handle "stm.l" and "ldm.l"; handle MACREG operands.
3653 * config/tc-h8300.h (COFF_MAGIC): Handle H8/S magic number.
3654 (Smode): Declare.
3655
370181a2
C
3656Mon Jun 17 15:50:53 1996 J.T. Conklin <jtc@rtl.cygnus.com>
3657
3658 * doc/as.texinfo: Reorder chapter of machine dependent options so
3659 that it is sorted by chip name.
3660
3661 * doc/as.texinfo: Use consistant spelling of Vax.
3662 * doc/c-vax.texi: Likewise.
3663
02d4dd87
JL
3664Mon Jun 17 11:26:56 1996 Jeffrey A. Law <law@rtl.cygnus.com>
3665
3666 * config/tc-hppa.c (md_pseudo_table): Add ".begin_try" and ".end_try"
3667 pseudo ops.
3668 (tc_gen_reloc, SOM version): Handle R_BEGIN_TRY and R_END_TRY.
3669 (md_apply_fix): Likewise.
3670 (pa_try): New function.
3671 (hppa_force_relocation): Force relocs for BEGIN_TRY and END_TRY.
3672
b81231b7
JL
3673Sun Jun 16 22:57:47 1996 Jeffrey A. Law <law@rtl.cygnus.com>
3674
3675 * config/tc-hppa.c (md_pseudo_table): Add ".level" pseudo op.
3676 (pa_level): New function.
3677
fe8d0ff3
ILT
3678Fri Jun 14 20:06:44 1996 Ian Lance Taylor <ian@cygnus.com>
3679
3680 * listing.c (listing_newline): Don't do anything if listing is 0.
3681
3682Thu Jun 13 17:50:54 1996 Ian Lance Taylor <ian@cygnus.com>
3683
3684 * subsegs.c (section_symbol): If symbol_table_frozen is set, call
3685 symbol_create, not symbol_new.
3686
9bec2a42
ILT
3687Wed Jun 12 14:10:44 1996 Ian Lance Taylor <ian@cygnus.com>
3688
3689 * write.c (adjust_reloc_syms): Don't set sy_used_in_reloc for an
3690 absolute symbol unless TC_FORCE_RELOCATION returns true.
3691
3692 * config/obj-coff.c (previous_file_symbol): Remove BFD_ASSEMBLER
3693 version.
3694 (c_dot_file_symbol): BFD_ASSEMBLER version: Don't set the value of
3695 the symbol to a pointer. Don't set previous_file_symbol.
3696 Simplify symbol list rearrangement.
3697 (coff_frob_symbol): Don't do anything with C_FILE symbols.
3698 (coff_adjust_symtab): Don't check previous_file_symbol.
3699
c992cf9b
MM
3700Mon Jun 10 14:52:29 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3701
3702 * config/tc-ppc.c (ppc_elf_lcomm): New function for .lcomm
3703 directive.
3704 (md_pseudo_table): Add ppc_elf_lcomm.
3705
1ba76615 3706Mon Jun 10 11:45:51 1996 Ian Lance Taylor <ian@cygnus.com>
92e61d31
ILT
3707
3708 * config/tc-m68k.c (m68k_ip): Accept ABSL for 'O', so that `bfextu
3709 d0{24:1},d0' works without an immediate prefix on the bit numbers.
3710 (md_begin): Add digits to alt_notend_table.
3711 (md_parse_option): Make s a const pointer.
1ba76615 3712
b91e85c2
ILT
3713 * config/tc-sparc.c (md_pseudo_table): Add "empty".
3714 (s_empty): New static function.
3715
e789e620
ILT
3716 * config/obj-coff.c (struct filename_list): Only define if not
3717 BFD_ASSEMBLER.
3718 (filename_list_head, filename_list_tail): Likewise.
3719 (c_section_symbol): Remove unused BFD_ASSEMBLER version.
3720 (obj_coff_endef, BFD_ASSEMBLER version): Don't set the debugging
3721 flag for C_MOS, C_MOE, C_MOU, or C_EOS symbols, since they should
3722 have a section of N_ABS rather than N_DEBUG. If we do a merge,
3723 remove the new symbol from the list.
3724 (obj_coff_endef, both versions): Call tag_insert even if there is
3725 an old symbol with the same name, if the old symbol does not
3726 happen to be a tag.
3727 (coff_frob_symbol): Check SF_GET_TAG, C_EOF, and C_FILE outside of
3728 the SF_GET_DEBUG condition. Don't call SA_SET_SYM_ENDNDX with a
3729 symbol that will be moved to the end of the symbol list.
3730 (coff_adjust_section_syms): Always call section_symbol for .text,
3731 .data, and .bss.
3732 (coff_frob_section): Likewise. Also, remove unused variable
3733 strname.
3734
0670452e
ILT
3735 * config/tc-ns32k.c (convert_iif): Call frag_grow rather than
3736 manipulating frags directly.
3737 (md_number_to_field): Adjust mem_ptr correctly if ENDIAN is
3738 defined.
3739
41822c41
ILT
3740 * app.c (do_scrub_chars): If '/' is LINE_COMMENT_START, check
3741 whether the next character is '*' before checking whether we are
3742 at the start of a line. Permit LINE_COMMENT_START to start a
3743 comment in state 1 (seen some whitespace) as well, to match the
3744 documentation.
3745
1ba76615
ILT
3746 * gasp.c (do_align): Permit a fill value for .align.
3747
ed381b67
JW
3748Wed Jun 5 17:09:26 1996 Ian Lance Taylor <ian@cygnus.com>
3749
3750 * read.c (next_char_of_string): Warn if a newline is seen in the
3751 middle of a string. Call bump_line_counters when appropriate.
3752
3753Wed Jun 5 17:08:36 1996 Richard Henderson <rth@tamu.edu>
3754
3755 * symbols.c (colon): Use LOCAL_LABEL.
3756
2c7aeec6
TT
3757Tue Jun 4 10:55:16 1996 Tom Tromey <tromey@csk3.cygnus.com>
3758
3759 * Makefile.in (install): Don't check to see if tooldir exists.
3760 Make $(tooldir) and $(tooldir)/bin.
3761
527b8324
MM
3762Tue Jun 4 10:14:53 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3763
3764 * config/ppc-sol.mt (TDEFINES): Don't turn on -mregnames by
3765 default.
3766
3b426f5a
ILT
3767Mon Jun 3 11:34:41 1996 Ian Lance Taylor <ian@cygnus.com>
3768
3769 * config/tc-mips.c (mips_ip): Don't call as_warn if we are setting
3770 insn_error. Don't put the string "ERROR" in insn_error. Set
3771 insn_error rather than calling as_warn for an unsupported opcode.
3772
9c44af60
ILT
3773Sat Jun 1 21:51:55 1996 Ian Lance Taylor <ian@cygnus.com>
3774
3775 * config/tc-mips.c (md_parse_option): Check for a 64 bit format
3776 before permitting -64.
3777 * output-file.c (output_file_create): Remove duplicate
3778 bfd_perror.
3779
98bfd087
ILT
3780Fri May 31 01:08:06 1996 Ian Lance Taylor <ian@cygnus.com>
3781
87178180
ILT
3782 * config/tc-mips.c (md_begin): If -64, create a .MIPS.options
3783 section rather than a .reginfo section.
3784 (mips_elf_final_processing): If -64, write out 64 bit RegInfo
3785 information.
3786
98bfd087
ILT
3787 * config/tc-mips.c (load_register): If mips_isa < 3, permit a 32
3788 bit value with the high bit set.
3789
b95bee13
ILT
3790Thu May 30 19:00:19 1996 Ian Lance Taylor <ian@cygnus.com>
3791
3792 * read.c (s_lcomm): Set section flags for .sbss section.
3793
3794 * config/tc-mips.c (mips_64): New static variable.
3795 (mips_target_format): If mips_64, return elf64 targets rather than
3796 elf32 ones.
3797 (md_longopts): Add "32" and "64".
3798 (md_parse_option): Handle -32 and -64.
3799 (md_show_usage): Mention -32 and -64.
3800 (cons_fix_new_mips): If mips_64, don't convert an 8 byte reloc to
3801 a 4 byte one.
3802
1facd5f0
MM
3803Thu May 30 10:36:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3804
98bfd087
ILT
3805 * config/tc-ppc.c (comment_chars): Make '!' a comment character
3806 for Solaris compatibility.
d0e1c803 3807
1facd5f0
MM
3808 * stabs.c (s_stab_generic): Under PowerPC Solaris, convert a
3809 .stabd with 4 arguments into a .stabn.
3810
a40aee38
ILT
3811Wed May 29 16:43:16 1996 Ian Lance Taylor <ian@cygnus.com>
3812
3813 * config/tc-mips.c (macro): When passing X_add_number to
3814 macro_build, cast it to int first.
3815
943bdfdc
ILT
3816Tue May 28 13:29:39 1996 Ian Lance Taylor <ian@cygnus.com>
3817
54388b85
ILT
3818 * config/tc-z8k.c (md_apply_fix): Handle fx_r_type of 0, as
3819 created by emit_expr.
3820
943bdfdc
ILT
3821 * symbols.c (symbol_create): If bfd_make_empty_symbol fails, call
3822 as_perror rather than assert.
3823
9b61d62b
ILT
3824Fri May 24 18:24:11 1996 Ian Lance Taylor <ian@cygnus.com>
3825
3826 * config/tc-mips.c (mips_ip): Mark sections created to hold
3827 floating point information as read only.
3828
e30c0076
MM
3829Fri May 24 12:07:54 1996 David Edelsohn <edelsohn@mhpcc.edu>
3830
3831 * config/tc-ppc.c (ppc_set_cpu): Change defaults to match AIX.
3832
63cafcef
MM
3833Thu May 23 17:34:24 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3834
adeab39b
MM
3835 * read.c (potable): Add .skip as a synonym for .space.
3836
63cafcef
MM
3837 * stabs.c (s_stab_generic): For PowerPC ELF, allow .stabd to take
3838 4 arguments, providing the 4th argument is 0, to allow
3839 compatibility with the Solaris assembler.
3840
3841Thu May 16 15:51:48 1996 Ian Lance Taylor <ian@cygnus.com>
3842
3843 * config/tc-sh.h (struct sh_segment_info_type): Define.
3844 (TC_SEGMENT_INFO_TYPE): Define.
3845 (sh_frob_label): Declare.
3846 (tc_frob_label): Define.
3847 (sh_flush_pending_output): Declare.
3848 (md_flush_pending_output): Define.
3849 * config/tc-sh.c (md_assemble): If relaxing, emit a R_SH_CODE
3850 reloc before the instruction if necessary.
3851 (sh_frob_label): New function.
3852 (sh_flush_pending_output): New function.
3853 (sh_coff_frob_file): Ignore ALIGN, CODE, DATA, and LABEL relocs
3854 when looking for the reloc for the target of .uses.
3855 (md_convert_frag): Fix printf format (%0xlx to 0x%lx).
3856 (sh_force_relocation): Force CODE, DATA, and LABEL relocs to be
3857 emitted.
3858 (md_apply_fix): Ignore CODE, DATA, and LABEL relocs.
3859 (sh_coff_reloc_mangle): Force CODE, DATA, and LABEL relocs to use
3860 the absolute symbol.
3861
3862 * subsegs.h (segment_info_type): Add tc_segment_info_data field if
3863 TC_SEGMENT_INFO_TYPE is defined.
3864
3ea36b53
ILT
3865Wed May 15 12:23:53 1996 Ian Lance Taylor <ian@cygnus.com>
3866
3867 * config/tc-i386.c (md_assemble): Make sure the opcode suffix
3868 matches the register size.
3869
ecb9b1ca
JL
3870Wed May 15 08:33:37 1996 Jeffrey A Law (law@cygnus.com)
3871
3872 * config/obj-coff.c (count_entries_in_chain): Ignore Fixups with
3873 fx_done set.
3874 (do_relocs_for): Likewise.
3875 (fixup_segment): Don't just quit if linkrelax is set. Try to
3876 apply non pc-relative sym1-sym2 fixups, even if linkrelax is
3877 nonzero.
3878
f122568e
MM
3879Fri May 10 14:16:59 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3880
3881 * config/tc-ppc.c (ppc_elf_validate_fix): Allow GOT and section
3882 relative relocations with -mrelocatable. Also allow unfixed
3883 relocs in .ex_shared.
3884
6648d3ae
ILT
3885Tue May 7 11:24:10 1996 Ian Lance Taylor <ian@cygnus.com>
3886
3887 * config/obj-coff.c (yank_symbols): Check that FNAME_OFFSET is
3888 non-zero before assuming this is a long file name.
3889 (w_strings): Likewise.
3890 (c_dot_file_symbol): Set FNAME_OFFSET to 1 for a long file name.
3891
3892 * config/obj-coff.c (w_strings): Move declaration of i inside
3893 #ifdef block which uses it.
3894
c47fc401
JL
3895Tue May 7 00:49:58 1996 Jeffrey A Law (law@cygnus.com)
3896
3897 * config/tc-h8300.c (do_a_fix_imm): Rename last argument to
3898 "relaxmode". Output relocs which identify various relaxing
3899 possibilities for mov.[bwl] instructions.
3900 (build_bytes): Pass in a relaxing mode to do_a_fix_imm.
3901
9ea82743
DE
3902Mon May 6 15:26:28 1996 Doug Evans <dje@canuck.cygnus.com>
3903
3904 * config/tc-arm.h (TC_HANDLES_FX_DONE): Define.
3905 (MD_APPLY_FIX3): Define.
3906 * config/tc-arm.c (my_get_expression): Only watch for bad segments
3907 if OBJ_AOUT.
3908 (md_apply_fix3): Renamed from md_apply_fix.
3909 If pcrel reloc and symbol is in different section, undo effects
3910 of md_pcrel_from.
3911
ab7db73b
JL
3912Sat May 4 12:49:35 1996 Jeffrey A Law (law@cygnus.com)
3913
3914 * config/tc-hppa.c (hppa_fix_adjustable): Don't adjust
3915 any reloc with an LR% or RR% field selector for SOM.
3916
c9324fcd
ILT
3917Sat May 4 11:26:19 1996 Ian Lance Taylor <ian@cygnus.com>
3918
3919 * Makefile.in: Add subsegs.h to appropriate TARG_CPU_DEP_*
3920 variables.
3921
d4d7d98c
ILT
3922Fri May 3 17:58:31 1996 Ian Lance Taylor <ian@cygnus.com>
3923
3924 * config/obj-coff.c (coff_frob_symbol): Don't merge a symbol with
3925 SF_GET_STATICS set.
3926 (yank_symbols): Likewise.
3927
8fe2ec52
ILT
3928Wed May 1 13:38:17 1996 Ian Lance Taylor <ian@cygnus.com>
3929
7681eb9d
ILT
3930 * subsegs.h (segment_info_type): If MANY_SEGMENTS and not
3931 BFD_ASSEMBLER, add name field.
ba97ba7e
ILT
3932 * config/obj-coff.c: Include "libiberty.h".
3933 (coff_header_append): Handle long section names.
7681eb9d
ILT
3934 (crawl_symbols): Just use the name field for the symbol name,
3935 without worrying about null byte termination.
3936 (w_strings): Handle long section names.
3937 (write_object_file): Likewise. Also, use the name field, rather
3938 than scnhdr.s_name.
3939 (obj_coff_add_segment): Permit long section names.
3940 (obj_coff_init_stab_section): Use the name field, rather than
3941 scnhdr.s_name.
3942 (adjust_stab_section): Likewise.
3943 * config/te-pe.h (COFF_LONG_SECTION_NAMES): Define.
3944
8fe2ec52
ILT
3945 * config/tc-i960.c (brtab_emit): Don't set fx_im_disp field.
3946 (mem_fmt): Likewise.
3947 (md_apply_fix): Don't check fx_im_disp field.
3948
556829bc
ILT
3949Thu Apr 25 11:39:51 1996 Ian Lance Taylor <ian@cygnus.com>
3950
f9e36fc6
ILT
3951 * configure.in: Add * after sparc*-*-vxworks.
3952 * configure: Rebuild.
3953
556829bc
ILT
3954 * app.c (do_scrub_begin): If tc_comment_chars is not defined,
3955 define it to comment_chars. Use tc_comment_chars rather than
3956 comment_chars.
3957 (do_scrub_chars): Use tc_comment_chars rather than comment_chars.
3958 * config/tc-m68k.h (tc_comment_chars): Define.
3959 (m68k_comment_chars): Declare.
3960 * config/tc-m68k.c (m68k_comment_chars): Rename from
3961 comment_chars. Change into a pointer rather than an array.
3962 (md_longopts): Add "bitwise-or".
3963 (md_parse_option): Handle OPTION_BITWISE_OR.
3964 (md_show_usage): Mention --bitwise-or.
3965 * doc/c-m68k.texi: Document --bitwise-or.
3966
116bf30f
ILT
3967Wed Apr 24 11:28:38 1996 Ian Lance Taylor <ian@cygnus.com>
3968
912e4245
ILT
3969 * config/tc-m68k.c (m68k_ip): Prevent attempts to use long offsets
3970 in 68000 mode.
3971
116bf30f
ILT
3972 * config/obj-coff.c (obj_coff_section): BFD_ASSEMBLER version:
3973 call demand_empty_rest_of_line. Non BFD_ASSEMBLER version:
3974 correct handling of input line pointer, and call
3975 demand_empty_rest_of_line.
3976
58c9a12b
DE
3977Mon Apr 22 18:02:37 1996 Doug Evans <dje@blues.cygnus.com>
3978
3979 * config/tc-sparc.c (in_bitfield_range): New static function.
3980 (sparc_ip): New cases X,Y. Use SPARC_OPCODE_ARCH_V9_P.
3981 (md_apply_fix, cases BFD_RELOC_32_PCREL_S2,
3982 BFD_RELOC_SPARC_{WDISP16,WDISP19}): Fix undefined code.
3983 (md_apply_fix): New cases BFD_RELOC_SPARC_[56].
3984 (tc_gen_reloc): New cases BFD_RELOC_SPARC_[56].
3985
ff406bd3
ILT
3986Thu Apr 18 18:58:33 1996 Ian Lance Taylor <ian@cygnus.com>
3987
3988 * config/obj-coff.c: BFD_ASSEMBLER:
3989 (coff_last_bf): New static variable.
3990 (coff_frob_symbol): Set endndx of a .bf symbol.
3991 Non BFD_ASSEMBLER:
3992 (obj_coff_endef): Call SF_SET_PROCESS on a .bf symbol.
3993 (last_bfP): New static variable.
3994 (yank_symbols): Set endndx of a .bf symbol.
3995
47d12b2c
MM
3996Thu Apr 18 11:53:58 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3997
3998 * config/tc-ppc.c (md_parse_option): Add support for Solaris's -le
3999 and -s options. Add -be for good measure.
4000
3ce7f41a
ILT
4001Wed Apr 17 12:31:01 1996 Ian Lance Taylor <ian@cygnus.com>
4002
4003 * read.c (s_space): Support non-constant fill value. Handle fill
4004 value correctly for a size other than 1.
4005
865447db
DE
4006Tue Apr 16 15:17:40 1996 Doug Evans <dje@canuck.cygnus.com>
4007
4008 * config/tc-arm.c (my_get_float_expression): Update call to
4009 gen_to_words, X_PRECISION changed from 6 to 5.
4010
159e6ef8
MM
4011Tue Apr 16 10:25:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
4012
4013 * config/tc-ppc.c (register_name,reg_name_search): Move register
4014 name lookup from PE specific code to all targets. Add support for
4015 -mregnames/-mno-regnames to control whether register names are
4016 expanded or not.
4017 (md_assemble): Call register_name for all platforms.
4018 (md_parse_option): Add support for -mregnames/-mno-regnames.
4019
4020 * configure.in (powerpcle*-*-solaris): Add support.
4021 (powerpc*-*-linux): Ditto.
4022 * configure: Regenerate.
4023
4024 * config/ppc-sol.mt: New config file for PowerPC Solaris.
4025
7a15a226
ILT
4026Mon Apr 15 12:26:33 1996 Ian Lance Taylor <ian@cygnus.com>
4027
aa9e2dbe
ILT
4028 * config/tc-mips.c (mips_frob_file): Permit multiple %hi relocs to
4029 be associated with a single %lo reloc.
4030
7a15a226
ILT
4031 * config/tc-mips.c (load_address): Cast X_add_number to valueT
4032 before comparing against MAX_GPREL_OFFSET, so that negative
4033 numbers are handled correctly.
4034 (macro): Likewise.
4035
65feb78d
ILT
4036Thu Apr 11 12:39:02 1996 Ian Lance Taylor <ian@cygnus.com>
4037
ed94c2b8
ILT
4038 * config/tc-sparc.c (last_insn): New static variable.
4039 (md_assemble): Warn about putting floating point branches in a
4040 delay slot. If architecture is less than v9, insert NOP
4041 instructions between floating point instructions and floating
4042 point branches. (The SunOS assembler does both these operations.)
4043 Save the last instruction opcode.
4044 (sparc_ip): Add pinsn parameter. Change caller.
4045
65feb78d
ILT
4046 * config/tc-m68k.c (md_estimate_size_before_relax): Correct check
4047 for byte jump to next instruction to skip empty frags.
4048
456c301f
ILT
4049Wed Apr 10 16:48:12 1996 Ian Lance Taylor <ian@cygnus.com>
4050
4051 * config/tc-alpha.c (alpha_ip): If we are going to call emit_add64
4052 for addq with a 16 bit signed value, just emit a lda instruction
4053 instead.
4054
b3ed89e8
JL
4055Wed Apr 10 14:34:49 1996 Jeffrey A Law (law@cygnus.com)
4056
4057 * config/tc-h8300.c (do_a_fix_imm): Don't cut off high bits
4058 of a 32bit operand.
4059
b4cb4ea2
ILT
4060Mon Apr 8 14:42:53 1996 Ian Lance Taylor <ian@cygnus.com>
4061
4062 * configure.in: Permit --enable-shared to specify a list of
4063 directories.
4064 * configure: Rebuild.
4065
dcb195f8
JL
4066Fri Apr 5 17:01:35 1996 Jeffrey A Law (law@cygnus.com)
4067
4068 * config/tc-h8300.c (get_specific): Remove some #if 0 code.
4069 (build_bytes): Remove all ABSMOV related code; it's unnecessary.
4070
13e4a17e
ILT
4071Fri Apr 5 15:13:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4072
4073 * config/atof-ieee.c: Fix handling of denormalized extended
4074 precision numbers and overflow/underflow detection.
4075 (MAX_PRECISION, X_PRECISION, P_PRECISION): Changed from 6 to 5, to
4076 not include the 16 bit gap in the m68k extended precision format.
4077
2ae5f50b
ILT
4078Fri Apr 5 14:29:23 1996 Ian Lance Taylor <ian@cygnus.com>
4079
4080 * configure.in: Add i386-*-freebsdelf* target; from John Polstra
4081 <jdp@polstra.com>.
4082 * configure: Rebuild.
4083
54ea771f
JSC
4084Fri Apr 5 18:39:28 1996 James G. Smith <jsmith@cygnus.co.uk>
4085
4086 * config/tc-mips.c: Allow non-zero offsets from .sdata symbols to
4087 be accessed using the $gp register.
4088 * config/tc-mips.h (MAX_GPREL_OFFSET): Added.
4089
65b12103
DE
4090Wed Apr 3 10:56:14 1996 Doug Evans <dje@canuck.cygnus.com>
4091
4092 * config/tc-sparc.c (sparc_md_end): Set bfd machine number to
4093 bfd_mach_sparc_sparclet if current_architecture is sparclet.
4094
2271578d
ILT
4095Mon Apr 1 16:55:44 1996 Ian Lance Taylor <ian@cygnus.com>
4096
4097 * read.c (get_line_sb): Bump line counters based on
4098 input_line_pointer[-1], not *input_line_pointer. Don't bother to
4099 call LISTING_NEWLINE.
4100 (s_macro): Don't call demand_empty_rest_of_line.
4101 * app.c (do_scrub_chars): When handling C style comments, unget
4102 ch2 rather than ch.
4103
7d3741ed
ILT
4104Fri Mar 29 16:15:06 1996 Ian Lance Taylor <ian@cygnus.com>
4105
4106 * read.h (enum linkonce_type): Define.
4107 (s_linkonce): Declare.
4108 * read.c (potable): Add "linkonce".
4109 (s_linkonce): New function.
4110 * subsegs.h (segment_info_type): Add linkonce field to
4111 MANY_SEGMENTS && ! BFD_ASSEMBLER section.
4112 * config/obj-coff.h (obj_handle_link_once): Define if TE_PE.
4113 (obj_coff_pe_handle_link_once): Declare if TE_PE.
4114 * config/obj-coff.c: If TE_PE and not BFD_ASSEMBLER, #include
4115 "coff/pe.h".
4116 (obj_coff_pe_handle_link_once): New function, defined if TE_PE.
4117 (c_section_symbol): If TE_PE, set the x_comdat field in the aux
4118 entry based on the linkonce field in segment_info.
4119 * doc/as.texinfo: Document .linkonce.
4120
0c203340
C
4121Fri Mar 29 11:31:27 1996 J.T. Conklin (jtc@lisa.cygnus.com)
4122
4123 * doc/as.1: Changed to be recognized by catman -w on Solaris.
4124
867a58b3
ILT
4125Thu Mar 28 15:27:47 1996 Ian Lance Taylor <ian@cygnus.com>
4126
3197da91
ILT
4127 * stabs.c (s_stab_generic): Call the listing functions before
4128 doing the rest of the processing, which may involve freeing the
4129 string. Pass string, not string + stroff, to OBJ_PROCESS_STAB in
4130 SEPARATE_STAB_SECTIONS case.
4131
3c071b9f
ILT
4132 * config/tc-hppa.c: Remove nested comment.
4133 (tc_gen_reloc): Move label done inside the ifdef in which it is
4134 used.
4135 (md_apply_fix): Pass pointers to correct types to libhppa.h
4136 functions. Always return a value.
4137
867a58b3
ILT
4138 * config/tc-mips.h (tc_frob_file): Define.
4139 (mips_frob_file): Declare.
4140 * config/tc-mips.c (struct mips_hi_fixup): Define.
4141 (mips_hi_fixup_list): New static variable.
4142 (imm_unmatched_hi): New static variable.
4143 (md_assemble): Clear imm_reloc, imm_unmatched_hi, and
4144 offset_reloc. Pass imm_unmatched_hi to append_insn.
4145 (append_insn): Add unmatched_hi parameter. If it is set, add the
4146 new fixup to mips_hi_fixup_list. Change all callers.
4147 (mips_ip): Set imm_unmatched_hi when appropriate.
4148 (mips_frob_file): New function.
4149
d0352cbb
DE
4150Thu Mar 28 11:47:59 1996 Doug Evans <dje@canuck.cygnus.com>
4151
4152 * configure.in (sparc-*-solaris2*): Renamed from sparc*-*-solaris2*.
4153 * configure: Regenerated.
4154
4f74c042
ILT
4155Tue Mar 26 18:19:12 1996 Ian Lance Taylor <ian@cygnus.com>
4156
4157 * as.c (main): Call bfd_set_error_program_name.
4158
5ba7c0be
ILT
4159Fri Mar 22 11:13:00 1996 Ian Lance Taylor <ian@cygnus.com>
4160
c7a89bde
ILT
4161 * as.h (strdup): Don't declare.
4162 * stabs.c: Include libiberty.h
4163 (get_stab_string_offset): Use xstrdup rather than strdup.
4164 (s_stab_generic): Likewise.
4165 * as.c (parse_args): Likewise.
4166 * read.c (s_mri_sect): Likewise.
4167
5ba7c0be
ILT
4168 * gasp.c (change_base): Recognize \(...) construct documented to
4169 pass through enclosed characters literally through to the output.
4170 (process_assigns): Likewise. Also, be more careful to avoid
4171 looking past the end of the buffer.
4172
4173Thu Mar 21 13:18:43 1996 Ian Lance Taylor <ian@cygnus.com>
4174
4175 * config/tc-i386.c (md_parse_option): If OBJ_ELF, ignore -k for
4176 FreeBSD compatibility. From John Polstra <jdp@polstra.com>.
4177
d1f38e13
ILT
4178Wed Mar 20 18:13:32 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4179
4180 * doc/as.texinfo, doc/c-i960.texi: Fix typos.
4181
649d87fe
ILT
4182Wed Mar 20 17:05:16 1996 David Mosberger-Tang <davidm@azstarnet.com>
4183
4184 * config/alpha-opcode.h: Added cvtst instruction.
4185
975def01
ILT
4186Mon Mar 18 13:12:46 1996 Ian Lance Taylor <ian@cygnus.com>
4187
4188 * ecoff.c (ecoff_stab): Don't try to make a symbol out of the stab
4189 string. Extract the addend from the result of expression.
4190
fde6018a
ILT
4191Fri Mar 15 17:10:43 1996 Ian Lance Taylor <ian@cygnus.com>
4192
4193 * app.c (do_scrub_chars): If whitespace is seen in state 11, and
4194 LABELS_WITHOUT_COLONS is not defined, and we are not in m68k MRI
4195 mode, change the state to 3 rather than 1.
4196
ee0f488d
ILT
4197Thu Mar 14 18:18:25 1996 Ian Lance Taylor <ian@cygnus.com>
4198
4199 * config/obj-coff.h (C_REGISTER_SECTION): Change from 20 to 50, to
4200 correspond to 11 March change.
4201
9da28504
JL
4202Thu Mar 14 15:27:10 1996 Jeffrey A Law (law@cygnus.com)
4203
4204 * config/tc-h8300.c (build_bytes, MEMIND case): Generate
4205 an R_MEM_INDIRECT reloc rather than R_RELBYTE.
4206
ea2488ad
ILT
4207Tue Mar 12 12:21:10 1996 Ian Lance Taylor <ian@cygnus.com>
4208
4209 * configure: Rebuild with autoconf 2.8.
4210
8fee8bf3
ILT
4211Mon Mar 11 18:57:12 1996 Ian Lance Taylor <ian@cygnus.com>
4212
4213 * config/atof-ieee.c (gen_to_words): Improve handling of
4214 X_PRECISION numbers. Based on patches from Andreas Schwab
4215 <schwab@issan.informatik.uni-dortmund.de>.
4216
a31c2bc7
SC
4217Mon Mar 11 09:59:53 1996 Steve Chamberlain <sac@slash.cygnus.com>
4218
4219 * as.h (SEG_NORMAL, SEG_LIST): Bump segment limit from 10 to 40.
4220 (SEG_LAST): New.
4221 * subsegs.c (MANY_SEGMENTS): Increase segment limit.
4222 * obj-coff.c (seg_N_TYPE, seg_info_off_by_4): Likewise.
4223 (do_relocs_for, w_symbols, obj_coff_add_segment, do_linenos_for,
4224 crawl_symbols, coff_header_append): Loop to SEG_LAST rather than
4225 SEG_E9.
4226
4227Thu Mar 7 15:17:39 1996 Doug Evans <dje@charmed.cygnus.com>
4228
4229 * config/tc-sparc.c (sparc_ip): Handle operand char 'O' (neg reg).
4230
73578b1e
JL
4231Thu Mar 7 09:19:15 1996 Jeffrey A Law (law@cygnus.com)
4232
4233 * config/tc-hppa.c (SUBSEG_MILLI): Define.
4234 (pa_def_subspaces): Add $MILLICODE$.
4235 (pa_spaces_begin): Set section flags for $MILLICODE$.
4236
0c27542f
ILT
4237Wed Mar 6 14:11:30 1996 Ian Lance Taylor <ian@cygnus.com>
4238
6b8ed20d
ILT
4239 * config/obj-elf.c (obj_elf_section): Only SEC_LOAD if the type is
4240 not SHT_NOBITS. Don't tamper with flags based on type if a
4241 special section was found (revert Feb 29 change).
4242
0c27542f
ILT
4243 * config/tc-sh.c (sh_do_align): Only align using the nop pattern
4244 if aligning to a longword boundary or greater.
4245
6a413d6f
JW
4246Tue Mar 5 15:10:43 1996 Jim Wilson <wilson@chestnut.cygnus.com>
4247
4248 * config/tc-sh.c (sh_do_align): Pass 1 not 2 to frag_align.
4249
4b295517
SC
4250Mon Mar 4 20:50:57 1996 Steve Chamberlain <sac@slash.cygnus.com>
4251
4252 * configure.in (i386-*-cygwin32): Don't use bfd_gas.
4253 * configure: Regenerated.
4254
eff5fcda
JL
4255Mon Mar 4 10:13:06 1996 Jeffrey A Law (law@cygnus.com)
4256
421e2c27
JL
4257 * config/tc-hppa.c: Add default definitions for R_N0SEL and
4258 R_N1SEL since they're not defined for old versions of hpux.
4259
eff5fcda
JL
4260 * config/tc-hppa.c (tc_gen_reloc): Fix typo in R_COMP2 code.
4261 Set "sym_ptr_ptr" and "addend" fields to dummy values for
4262 R_N0SEL and R_N1SEL.
4263
bb1013d9
ILT
4264Fri Mar 1 10:20:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4265
d197a7ab
ILT
4266 * flonum-konst.c: Add two more constants for 1e+-2048 and
4267 1e+-4096, and correct the other constants.
4268
bb1013d9
ILT
4269 * symbols.c (resolve_symbol_value): Handle O_logical_not.
4270
30510276
MM
4271Thu Feb 29 13:58:35 1996 Michael Meissner <meissner@tiktok.cygnus.com>
4272
4273 * config/obj-elf.c (obj_elf_section): Allow predefined section
0d8405e8 4274 types to set the nobits type. Avoid a shadowed declaration.
30510276 4275
75c90d61
JL
4276Wed Feb 28 15:38:56 1996 Jeffrey A Law (law@cygnus.com)
4277
24b216e1
JL
4278 * config/tc-hppa.c (hppa_fix_adjustable): For SOM, don't
4279 reduce relocs using e_nlrsel field selectors.
4280
75c90d61
JL
4281 * write.c (fix_new_exp): Don't use #elif. Some compilers
4282 don't handle it.
83b59013
JL
4283
4284 * config/tc-hppa.c (selector_table): Add "n", "nl", and "nlr" to
4285 the selector table.
4286 (pa_chk_field_selector): Handle new field selectors for SOM.
4287
535cfd0f
ILT
4288Tue Feb 27 14:42:27 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4289
4290 * configure.in (m68k-*-linux*aout*, m68k-*-linux*): New targets.
4291 * configure: Rebuild.
4292 * config/te-linux.h (LOCAL_LABELS_FB): Define.
4293 * config/tc-m68k.h (TARGET_FORMAT) [TE_LINUX]: Define to
4294 "a.out-m68k-linux".
4295 * config/tc-m68k.c (comment_chars): Don't include '#' if TE_LINUX
4296 is defined.
4297
d214421e
SS
4298Mon Feb 26 18:58:58 1996 Stan Shebs <shebs@andros.cygnus.com>
4299
4300 * mpw-make.sed: Update to handle shared library support.
4301
110b814d
DE
4302Mon Feb 26 10:34:10 1996 Doug Evans <dje@charmed.cygnus.com>
4303
4304 * config/tc-sparc.c (sparc_ip): Print all architectures that support
4305 the insn on mismatch.
4306
805e36ab
RS
4307Fri Feb 23 21:44:39 1996 Rob Savoye <rob@chinadoll.cygnus.com>
4308
4309 * configure.in: Add support for a29-coff.
4310 * configure: Rebuild.
4311
e41ab2a6
ILT
4312Thu Feb 22 16:39:43 1996 Ian Lance Taylor <ian@cygnus.com>
4313
101a2346
ILT
4314 * config/tc-sh.c (sh_coff_frob_file): Don't consider the address
4315 of the section when looking for the R_SH_USES fixup, because the
4316 frag addresses have not yet been adjusted.
4317
940c413f
ILT
4318 * gdbinit.in: Set a breakpoint on as_warn_where.
4319
e41ab2a6
ILT
4320 * config/tc-mips.c (macro): Add missing arguments to macro_build
4321 omitted in last change. From Jim Wilson <wilson@cygnus.com>.
4322
c6016ce2
ILT
4323Wed Feb 21 17:00:32 1996 Ian Lance Taylor <ian@cygnus.com>
4324
4325 * config/tc-h8300.c (tc_reloc_mangle): Change reloc based on size
4326 if it is TC_CONS_RELOC. Set a size of 4 to R_RELLONG.
4327
b32fbe07
DE
4328Wed Feb 21 09:25:39 1996 Doug Evans <dje@charmed.cygnus.com>
4329
4330 * config/tc-sparc.c (sparc_ip): Recognize %asr0 for v8.
4331
2e5e6879
DE
4332Tue Feb 20 21:48:03 1996 Doug Evans <dje@charmed.cygnus.com>
4333
4334 * config/tc-sparc.c (parse_keyword_arg): Accept leading '%'.
4335 (sparc_ip): Accept %asr[1..31] for v8 and %asr[%16..31] for v9.
4336 Recognize [uU] format args as sparclet cpregs.
4337
8a2e1fdd
ILT
4338Tue Feb 20 22:25:55 1996 Ian Lance Taylor <ian@cygnus.com>
4339
4340 * config/tc-sh.c (sh_handle_align): Don't emit R_SH_ALIGN relocs
4341 in bss_section.
4342
21965655
ILT
4343Mon Feb 19 14:16:24 1996 Ian Lance Taylor <ian@cygnus.com>
4344
4345 * config/tc-sparc.h (TC_RELOC_RTSYM_LOC_FIXUP): Check S_IS_WEAK as
4346 well as S_IS_EXTERNAL.
4347 (tc_fix_adjustable): Likewise.
4348 * config/tc-sparc.c (md_apply_fix): In OBJ_ELF case, check for
4349 S_IS_WEAK as well as S_IS_EXTERNAL when deciding whether to return
4350 early.
4351 (tc_gen_reloc): Check S_IS_WEAK as wel as S_IS_EXTERNAL when
4352 deciding whether to convert BFD_RELOC_32_PCREL_S2 if PIC.
4353
d8b42b96
DE
4354Mon Feb 19 02:15:57 1996 Doug Evans <dje@charmed.cygnus.com>
4355
4356 * config/tc-sparc.c (max_architecture): Change to sparclite for
4357 32 bit arch.
4358 (default_compatible): Delete.
4359 (sparc_ffs): New function.
4360 (md_begin): Only call SPARC_OPCODE_CONFLICT_P once.
4361 (sparc_ip): Rewrite architecture match and bump logic.
4362
7925f4d4
ILT
4363Sun Feb 18 15:03:50 1996 Ian Lance Taylor <ian@cygnus.com>
4364
4365 * configure.in: Check for 'do not mix' from native linker before
4366 trying to use -rpath.
4367 * configure: Rebuild.
4368
ef2074c2
ILT
4369Fri Feb 16 16:53:31 1996 Ian Lance Taylor <ian@cygnus.com>
4370
4371 * config/obj-coff.h (SF_ADJ_LNNOPTR): Define (non BFD_ASSEMBLER).
4372 (SF_GET_ADJ_LNNOPTR): Define (non BFD_ASSEMBLER).
4373 (SF_SET_ADJ_LNNOPTR): Define (non BFD_ASSEMBLER).
4374 * config/obj-coff.c (obj_coff_endef): Set ADJ_LNNOPTR when LNNOPTR
4375 is set.
4376 (w_symbols): If ADJ_LNNOPTR is set, add the section lnnoptr field
4377 to the symbol lnnoptr field, to get the correct file offset.
4378
28910c57
MM
4379Thu Feb 15 14:48:38 1996 Michael Meissner <meissner@tiktok.cygnus.com>
4380
4381 * config/obj-elf.c (elf_frob_symbol): On the PowerPC, force all
4382 symbols that are not function, file, or section symbols to be
4383 object types.
4384
7c2fadd1
ILT
4385Thu Feb 15 11:20:18 1996 Ian Lance Taylor <ian@cygnus.com>
4386
1a2f3c3f
ILT
4387 * configure: Set and substitute RPATH_ENVVAR.
4388 * configure: Rebuild.
4389 * Makefile.in (RPATH_ENVVAR): New variable.
4390 (check): Use $(RPATH_ENVVAR) rather than LD_LIBRARY_PATH.
4391
7c2fadd1
ILT
4392 * configure.in: Accept i686. From H.J. Lu <hjl@zoom.com>: i386
4393 doesn't need opcodes. If configuring shared, opcodes needs bfd.
4394 * configure: Rebuild.
4395
8a6f53e9
ILT
4396Wed Feb 14 16:33:12 1996 Martin Anantharaman <martin@mail.imech.uni-duisburg.de>
4397
4398 * read.c (s_mri_sect): Don't return '\0' in type. Set all
4399 appropriate flags in BFD section.
4400
4401 * configure.in (m68k-*-psos*): New target.
4402 * configure: Rebuild.
4403 * config/te-psos.h: New file.
4404 * config/tc-m68k.c (comment_chars): Don't include '#' if TE_PSOS
4405 is defined.
4406
fb251650
ILT
4407Wed Feb 14 13:43:24 1996 Ian Lance Taylor <ian@cygnus.com>
4408
ae09d880
ILT
4409 From Alan Modra <alan@spri.levels.unisa.edu.au>:
4410 * configure.in: Remove duplicate setting of cpu_type. Check
4411 whether opcodes library is required for on all targets, not just
4412 primary one.
4413 * configure: Rebuild.
4414
fb251650
ILT
4415 * config/tc-mips.c (mips_big_got): New static variable.
4416 (s_extern): Don't declare.
4417 (reg_needs_delay): New static function.
4418 (macro_build): Permit GOT/CALL_HI/LO relocs.
4419 (macro_build_lui): If place is not NULL, use the number in the
4420 expression.
4421 (load_address): Handle mips_big_got case.
4422 (macro): Handle mips_big_got for M_LA_AB, M_JAL_A, and load and
4423 store macros.
4424 (OPTION_XGOT): Define.
4425 (md_longopts): Add "xgot" if OBJ_ELF.
4426 (md_parse_option): Handle -xgot.
4427 (md_show_usage): Mention -xgot.
4428 (md_apply_fix): Permit GOT/CALL_HI/LO relocs.
4429 (tc_gen_reloc): Handle GOT/CALL_HI/LO relocs.
4430
d9396c16
ILT
4431Wed Feb 14 11:22:27 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4432
4433 * config/tc-m68k.c (m68k_ip) [operand kind '#']: When fixing
4434 the byte relocation, point it to the low byte of the word.
4435
56f9773f
ILT
4436Tue Feb 13 15:31:18 1996 Ian Lance Taylor <ian@cygnus.com>
4437
4438 * configure.in: Set HDLFLAGS for *-*-hpux with --enable-shared.
4439 * configure: Rebuild.
4440
63e4edb5
DE
4441Mon Feb 12 15:53:46 1996 Doug Evans <dje@charmed.cygnus.com>
4442
4443 * configure.in: Recognize any sparc* cpu.
4444 * configure: Regenerated.
4445
15ed5f2c
ILT
4446Mon Feb 12 15:41:21 1996 Ian Lance Taylor <ian@cygnus.com>
4447
20710f1c
ILT
4448 * read.c (potable): Add "mri" and ".mri".
4449 (s_mri): New function.
4450 * read.h (s_mri): Declare.
4451 * app.c (scrub_m68k_mri): New static variable.
4452 (mri_pseudo): New static variable.
4453 (do_scrub_begin): Add m68k_mri parameter. Use it rather than
4454 flag_m68k_mri. Initialize scrub_m68k_mri.
4455 (mri_state, mri_last_ch): New static variables.
4456 (struct app_save): Add scrub_m68k_mri, mri_state, and mri_last_ch
4457 fields.
4458 (app_push): Save new fields.
4459 (app_pop): Restore new fields.
4460 (do_scrub_chars): Check scrub_m68k_mri rather than flag_mri_mri.
4461 If TC_M68K, use a trivial state machine to look for occurrences of
4462 the .mri pseudo-op, and change the mode appropriately.
4463 * as.h (do_scrub_begin): Update prototype.
4464 * input-scrub.c (input_scrub_begin): Pass flag_m68k_mri to
4465 do_scrub_begin.
4466 * config/tc-m68k.c (reg_prefix_optional_seen): New static
4467 variable.
4468 (m68k_mri_mode_change): New function.
4469 (md_parse_option): Set reg_prefix_optional_seen.
4470 * config/tc-m68k.h (m68k_mri_mode_change): Declare.
4471 (MRI_MODE_CHANGE): Define.
4472 * doc/as.texinfo: Document .mri pseudo-op.
4473
15ed5f2c
ILT
4474 * app.c (do_scrub_chars): In MRI mode, don't treat '#' as a
4475 comment character.
4476
a043f579
ILT
4477Mon Feb 12 15:16:29 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4478
4479 Support for OBJ_ELF on m68k, mostly inside #ifdef OBJ_ELF:
4480 * config/m68k-parse.h (enum pic_relocation): Define.
4481 (struct m68k_exp): Add pic_reloc field.
4482 * config/tc-m68k.h (TC_RELOC_RTSYM_LOC_FIXUP): Define.
4483 (tc_fix_adjustable): Define to call tc_m68k_fix_adjustable.
4484 (NO_RELOC): Define to BFD_RELOC_NONE if BFD_ASSEMBLER, to zero
4485 otherwise.
4486 * config/tc-m68k.c: Delete definition of NO_RELOC.
4487 (struct m68k_it): Add pic_reloc field.
4488 (add_fix): Copy over pic_reloc field.
4489 (md_pseudo_table): Interpret .align parameter as byte count.
4490 (mote_pseudo_table): Likewise.
4491 (tc_m68k_fix_adjustable): New function.
4492 (get_reloc_code): New function.
4493 (md_assemble): Use it as last argument to fix_new_exp.
4494 (md_apply_fix_2): For a relocation against a symbol don't put the
4495 addend into the data.
4496 (tc_gen_reloc): Different addend computation for OBJ_ELF.
4497 (m68k_ip): Don't relax an operand that requires pic relocation.
4498 (md_begin): Align .text, .data and .bss on 4 byte boundary by
4499 default.
4500 * write.c (fixup_segment): Don't add symbol value to addend if
4501 TC_M68K and OBJ_ELF.
4502 * config/m68k-parse.y (yylex): Handle @PLTPC, etc.
4503 (motorola_operand): Add rule for `(zapc, EXPR)'.
4504
6ca1156d
ILT
4505Mon Feb 12 10:07:33 1996 David Mosberger-Tang <davidm@azstarnet.com>
4506
4507 * ecoff.c (ecoff_directive_weakext): Fixed so that whitespace
4508 *really* is permissible before the comma.
4509
fcee3e24
ILT
4510Mon Feb 12 00:12:13 1996 Ian Lance Taylor <ian@cygnus.com>
4511
4512 * config/tc-sh.c (sh_do_align): Align to a 2 byte boundary before
4513 inserting nop instructions.
4514
3e1c964d
ILT
4515Fri Feb 9 10:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
4516
4517 * config/te-aux.h: Change include of aux.h to aux-coff.h.
4518
4080c270
ILT
4519Thu Feb 8 20:02:58 1996 Ian Lance Taylor <ian@cygnus.com>
4520
d782e3cc
ILT
4521 * config/tc-i960.c (tc_coff_symbol_emit_hook): Correct storage
4522 class setting for a CALLNAME symbol in COFF.
4523
4080c270
ILT
4524 * read.c (potable): Pass negative numbers for new .balign[wl] and
4525 .p2align[wl] pseudo-ops.
4526 (s_align_bytes): Treat a negative argument as specifying the fill
4527 length.
4528 (s_align_ptwo): Likewise.
4529
1c9dbb83
ILT
4530Wed Feb 7 14:12:03 1996 Ian Lance Taylor <ian@cygnus.com>
4531
71dd3c40
ILT
4532 * read.c (potable): Add balignw, balignl, p2alignw, and p2alignl.
4533 (do_align): Take new len parameter. Change all callers. Pass it
4534 to md_do_align.
4535 (s_align_bytes): Arg now indicates the length of the fill pattern.
4536 (s_align_ptwo): Likewise.
4537 * config/obj-coff.c (write_object_file): Pass length to
4538 md_do_align.
4539 * config/tc-i386.h (md_do_align): Take new len parameter.
4540 * config/tc-m88k.h (md_do_align): Likewise.
4541 * config/tc-m88k.c (m88k_do_align): Likewise.
4542 * config/tc-sh.h (md_do_align): Likewise.
4543 * config/tc-sh.c (sh_do_align): Likewise.
4544 * doc/as.texinfo: Document new pseudo-ops.
4545
4546 * config/obj-coff.c (fixup_mdeps): Divide offset by fr_var, as is
4547 done in cvt_frag_to_fill.
4548
9addcbb1
ILT
4549 * config/tc-sh.h (sh_do_align): Declare.
4550 (md_do_align): Define.
4551 * config/tc-sh.c (sh_do_align): New function.
4552
c15ea23a
ILT
4553 * ecoff.c (ecoff_build_lineno): Don't try to store the address
4554 difference if the next address is before the current one.
4555
9e64486e
ILT
4556 * config/tc-m68k.c (struct m68k_cpu): Add alias field.
4557 (archs): Initialize new field.
4558 (m68k_ip): Don't list alias names when listing CPUs which support
4559 an instruction.
4560
4561 * as.c (main): Call parse_args before read_begin.
4562 * app.c (do_scrub_chars): If flag_m68k_mri, don't put a dot in
4563 front of generated pseudo-ops.
4564 * read.c (potable): Ignore "name".
4565 (s_app_file): Permit a single quote after the string, since one
4566 may appear in m68k MRI mode.
4567
1c9dbb83
ILT
4568 * configure.in: Check for --enable-shared. If linking against
4569 shared BFD and opcodes, fix library name on SunOS, and try to set
4570 -rpath reasonably.
4571 * configure: Rebuild.
4572
4573Tue Feb 6 15:16:17 1996 Ian Lance Taylor <ian@cygnus.com>
4574
4575 * as.h (flag_m68k_mri): Declare.
4576 * as.c (parse_args): If TC_M68K, set flag_m68k_mri for -M.
4577 * Many files: For MRI syntax that is specific to the m68k MRI
4578 assembler, check flag_m68k_mri rather than flag_mri or
4579 MRI_MODE_NEEDS_PSEUDO_DOT.
4580
dd1d79e8
ILT
4581Mon Feb 5 16:29:11 1996 Ian Lance Taylor <ian@cygnus.com>
4582
f9e90c2e
ILT
4583 * config/tc-i960.c (ARCH_HX): Define.
4584 (arch_tab): Add HX.
4585 (targ_has_sfr): Handle ARCH_HX.
4586 (targ_has_iclass): Handle ARCH_HX.
4587 (tc_coff_fix2rtype): Add return 0 to avoid warning.
4588 (tc_headers_hook): If the architecture was specified explicitly,
4589 use it when setting the flags. Set the extern variable coff_flags
4590 rather than headers->filehdr.f_flags, since the latter is set
4591 unconditionally in obj-coff.c.
4592 (i960_handle_align): Remove unused variable fixp.
4593
dd1d79e8
ILT
4594 Support for building bfd and opcodes as shared libraries, based on
4595 patches from Alan Modra <alan@spri.levels.unisa.edu.au>:
4596 * configure.in: Set OPCODES and BFD to search directories.
4597 Substitute OPCODES_DEP and BFDDEP. On SunOS, set HLDFLAGS.
4598 * configure: Rebuild.
4599 * Makefile.in (LDFLAGS, HLDFLAGS): New variables.
4600 (LIBDEPS): New variable.
4601 (as.new0: Depend upon $(LIBDEPS) rather than $(LIBS). Use
4602 $(HLDFLAGS) in link.
4603 (check): Set LD_LIBRARY_PATH in the environment.
4604
4605Fri Feb 2 17:41:53 1996 Michael Meissner <meissner@wogglebug.tiac.net>
4606
4607 * config/tc-ppc.h (ELF_TC_SPECIAL_SECTIONS): Make .sdata2, .sbss2,
4608 .PPC.EMB.sdata0, and .PPC.EMB.sbss0 sections all default to
4609 read-only, not read/write.
4610
e277d131
ILT
4611Fri Feb 2 14:09:25 1996 Alan Modra <alan@spri.levels.unisa.edu.au>
4612
4613 * Makefile.in (INSTALL_XFORM): Remove -e.
4614
e24cf2b5
ILT
4615Fri Feb 2 12:32:15 1996 Ian Lance Taylor <ian@cygnus.com>
4616
4617 * write.c (write_relocs): Use S_IS_DEFINED and S_IS_COMMON rather
4618 than comparing S_GET_SEGMENT to undefined_section.
4619 (write_object_file): Skip symbols which were equated to an
4620 undefined or common symbol.
4621 * symbols.c (resolve_symbol_value): Use S_IS_DEFINED and
4622 S_IS_COMMON rather than comparing S_GET_SEGMENT to
4623 undefined_section.
4624 (S_GET_VALUE): Likewise. Avoid recursion problems if S_IS_DEFINED
4625 or S_IS_COMMON call S_GET_VALUE.
4626 * config/obj-aout.h (S_IS_COMMON): Define if not BFD_ASSEMBLER.
4627 * config/obj-aout.c (obj_emit_relocations): If a reloc is equated
4628 to an undefined or common symbol, convert the reloc to be against
4629 the target symbol.
4630 (obj_crawl_symbol_chain): Skip symbols which were equated to an
4631 undefined or common symbol.
4632 * config/obj-bout.h (S_IS_COMMON): Define if not BFD_ASSEMBLER.
4633 * config/obj-bout.c (obj_emit_relocations): If a reloc is equated
4634 to an undefined or common symbol, convert the reloc to be against
4635 the target symbol.
4636 (obj_crawl_symbol_chain): Skip symbols which were equated to an
4637 undefined or common symbol.
4638 * config/obj-coff.c (do_relocs_for): Use S_IS_DEFINED and
4639 S_IS_COMMON rather than comparing S_GET_SEGMENT to
4640 undefined_section.
4641 (yank_symbols): Skip symbols which were equated to an undefined or
4642 common symbol.
4643
4d9e33e4
ILT
4644Thu Feb 1 15:34:32 1996 Ian Lance Taylor <ian@cygnus.com>
4645
9e396994
ILT
4646 * config/obj-aout.h (S_IS_LOCAL): Check for \002 as well as \001.
4647 * config/obj-bout.h (S_IS_LOCAL): Likewise.
4648
4d9e33e4
ILT
4649 * configure.in: Make sure we only add m68k-parse.o to
4650 ${extra_objects} once, no matter how many m68k targets have been
4651 enabled.
4652 * configure: Rebuild.
4653
0ff513d9
SC
4654Wed Jan 31 18:31:46 1996 Steve Chamberlain <sac@slash.cygnus.com>
4655
4656 * configure.in (i386-*-cygwin32, ppc-*-cygwin32): New.
4657 * configure: Rebuild.
4658
66b935da
ILT
4659Wed Jan 31 14:03:17 1996 Richard Henderson <rth@tamu.edu>
4660
c174fb5c
ILT
4661 * config/tc-m68k.c (md_pseudo_table): Add "extend" and "ldouble".
4662 * doc/c-m68k.texi: Document .extend and .ldouble.
4663
66b935da
ILT
4664 * configure.in (m68*-apple-aux*): New target.
4665 * config/te-aux.h: New file.
4666 * config/obj-coff.c (compare_external_relocs): New static function
4667 if TE_AUX.
4668 (do_relocs_for): Sort relocs if TE_AUX.
4669 (fixup_segment): If TE_AUX, store common symbol value in segment.
4670 * config/tc-m68k.h (TARGET_FORMAT): Define if TE_AUX.
4671
30c2a08e
ILT
4672Wed Jan 31 12:24:58 1996 Ian Lance Taylor <ian@cygnus.com>
4673
9e396994 4674 * config/obj-coff.h (S_IS_LOCAL): Check for \002 as well as \001.
615c0a79 4675
30c2a08e
ILT
4676 * config/tc-mips.c (s_mips_globl): Set BSF_OBJECT if it is not
4677 BSF_FUNCTION.
4678 (s_cpload): Set BSF_OBJECT for _gp_disp symbol.
4679 * read.c (s_lcomm): If S_SET_SIZE is defined, set the size of the
4680 symbol.
4681 * ecoff.c (add_procedure): Set the BSF_FUNCTION flag.
4682 (ecoff_build_symbols): If S_SET_SIZE is defined, set the size of
4683 an undefined symbol and the size of a function symbol.
4684 * config/obj-elf.c (elf_frob_symbol): If TC_MIPS, set BSF_OBJECT
4685 for all common symbols.
4686
0e6f2f82
KR
4687Tue Jan 30 12:35:24 1996 Ken Raeburn <raeburn@cygnus.com>
4688
4689 * config/tc-i960.c (parse_memop): In MRI mode, don't use implicit
4690 scaling of index.
4691
4692 * expr.c (operand): Accept 0x hex constants in MRI mode if not on
4693 m68k.
4694
8e3ff081
ILT
4695Mon Jan 29 12:21:30 1996 Ian Lance Taylor <ian@cygnus.com>
4696
3e78d072
ILT
4697 * config/obj-elf.c (obj_elf_type): Set BSF_OBJECT flag for a type
4698 of object. From Ronald F. Guilmette <rfg@monkeys.com>.
4699
8e3ff081
ILT
4700 * ecoff.c (localsym_t): Add addend field.
4701 (add_ecoff_symbol): Add addend argument. Change all callers.
4702 (coff_sym_value): Make static.
4703 (coff_sym_addend): New static variable.
4704 (ecoff_directive_def): Initialize coff_sym_addend.
4705 (ecoff_directive_val): Accept symbol + constant.
4706 (ecoff_directive_endef): Pass coff_sym_addend to add_ecoff_symbol.
4707 (ecoff_build_symbols): Include the addend in the symbol value.
4708
79edc846
KK
4709Fri Jan 26 19:28:52 1996 Kim Knuttila <krk@cygnus.com>
4710
4711 * config/tc-ppc.c (md_assemble): Ignore overflow on
4712 BFD_RELOC_16_GOTOFF and BFD_RELOC_PPC_TOC16.
4713
4714Fri Jan 26 16:14:17 1996 Michael Meissner <meissner@tiktok.cygnus.com>
4715
4716 * config/tc-ppc.c (md_apply_fix3): SDA21 relocations are now 4
4717 bytes in size, so offset appropriately in big endian mode when
4718 writing the bottom 2 bytes.
4719
6cbc4e35
DE
4720Thu Jan 25 20:26:23 1996 Doug Evans <dje@charmed.cygnus.com>
4721
4722 * config/tc-sparc.c (default_compatible): New static local.
4723 (md_begin): Initialize it. Rewrite warn_on_bump handling.
4724 (sparc_ip): If no architecture or -bump specified, don't mark as
4725 mismatched those in default_compatible.
4726
4fe0fddd
ILT
4727Thu Jan 25 12:21:53 1996 Ian Lance Taylor <ian@cygnus.com>
4728
4729 SCO ELF support from Robert Lipe <robertl@arnet.com>:
4730 * configure.in (i386-*-sco*elf*): Use fmt elf, targ sco5.
4731 * configure: Rebuild.
4732 * config/sco5.mt: New file; set TDEFINES to -DSCO_ELF.
4733 * config/tc-i386.c (sco_id): New function, if SCO_ELF.
4734 * config/tc-i386.h (tc_init_after_args): Define if SCO_ELF.
4735 (sco_id): Declare if SCO_ELF.
4736
e70ad5d5
DE
4737Thu Jan 25 03:10:53 1996 Doug Evans <dje@charmed.cygnus.com>
4738
4739 * config/tc-sparc.c (initial_architecture,can_bump_v9_p): Deleted.
4740 ({max,warn_after}_architecture): New static locals.
4741 (md_begin): Replace NUMOPCODES with sparc_num_opcodes.
4742 If both architecture and -bump requested, set max_architecture to max.
4743 (sparc_md_end): Simplify.
4744 (sparc_ip): Replace references to can_bump_v9_p with max_architecture.
4745 Rewrite code to bump architecture and check for conflicts.
4746 (md_longopts): Recognize -xarch={v8plus,v8plusa} for compatibility
4747 with Solaris assembler.
4748 (md_parse_option): Likewise. Call sparc_opcode_lookup_arch.
4749 (md_show_usage): Update.
4750
a8248831
DE
4751Wed Jan 24 22:11:03 1996 Doug Evans <dje@charmed.cygnus.com>
4752
4753 * Makefile.in (RUNTEST): Fix reference to $${srcdir}.
4754
6df07e7f
DE
4755Mon Jan 22 09:21:36 1996 Doug Evans <dje@charmed.cygnus.com>
4756
4757 * config/tc-sparc.h (TARGET_FORMAT): Use #ifdef SPARC_ARCH64 instead of
4758 #ifdef sparcv9 when choosing value.
4759 (ENV64): Delete.
4760 (md_end): Define.
4761 (sparc_md_end): Declare.
4762 * config/tc-sparc.c (SPARC_V9): Renamed from sparcv9.
4763 (initial_architecture): New static local.
4764 (can_bump_v9_p): Likewise.
4765 (NO_V9): Delete all occurrences.
4766 (sparc_md_end): New function.
4767 (sparc_ip): New local v9_arg_p. Rework fp reg number test.
4768 Don't bump architecture to v9 unless can_bump_v9_p set.
4769 (md_parse_option): -A<arch> passed, set can_bump_v9_p accordingly.
4770 * configure.in (sparc64 target cpu): Don't set obj_format here.
4771 (SPARC_V9): Renamed from sparcv9.
4772 (sparc64-*-elf*): Define SPARC_ARCH64.
4773 * configure: Regenerated.
4774 * acconfig.h (SPARC_V9): Renamed from sparcv9.
4775 (SPARC_ARCH64): Add.
7fcb3191 4776 * conf.in: Regenerated.
6df07e7f
DE
4777 * config/vmsconf.h: Update.
4778
c9c7c1d7
JSC
4779Mon Jan 22 17:24:47 1996 James G. Smith <jsmith@cygnus.co.uk>
4780
4781 * config/tc-mips.c (load_register): Optimise "dli" loads.
4782 (md_show_usage): add "-mcpu=vr4100" to help text.
16ce20d4 4783
07ce72c9
ILT
4784Mon Jan 22 11:53:00 1996 Ian Lance Taylor <ian@cygnus.com>
4785
16ce20d4
ILT
4786 * symbols.c (resolve_symbol_value): If a symbol is equated to an
4787 undefined symbol, preserve the X_op of O_symbol.
4788 (S_GET_VALUE): Fix check to permit this case.
4789 * write.c (write_relocs): If a reloc is against an undefined
4790 symbol equated to another symbol, change the reloc to be against
4791 the latter symbol.
4792 * config/obj-coff.c (do_relocs_for): Likewise.
4793
07ce72c9
ILT
4794 * config/tc-ppc.c (ppc_csect): An unnamed csect is storage class
4795 XMC_PR.
4796
d971d39e
MM
4797Mon Jan 22 10:59:48 1996 Michael Meissner <meissner@tiktok.cygnus.com>
4798
4799 * config/obj-elf.c (elf/ppc.h): Include elf/ppc.h if target
4800 computer is PowerPC.
4801
4802 * config/tc-ppc.c (md_apply_fix3): Add more embedded relocations.
4803
4804 * config/tc-ppc.h (ELF_TC_SPECIAL_SECTIONS): Add sections
4805 mentioned in the eabi.
4806
0291f0f5
KK
4807Thu Jan 18 17:58:19 1996 Kim Knuttila <krk@cygnus.com>
4808
4809 * config/tc-ppc.c (ppc_reldata): Changed alignement on reldata_section
4810 * config/tc-ppc.c (ppc_pdata): Changed the alignment on pdata_section
4811
c682be53
MM
4812Mon Jan 15 17:43:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
4813
4814 * config/tc-ppc.c (mapping): Add more relocation suffixes.
4815
ee4fdbb9
MM
4816Sun Jan 14 21:29:36 1996 Michael Meissner <meissner@tiktok.cygnus.com>
4817
4818 * config/tc-ppc.c (ppc_elf_validate_fix): Allow .gcc_except_table
4819 as a section it is ok to have unadorned -mrelocatable pointers in.
4820
4821Sat Jan 13 11:09:08 1996 Michael Meissner <meissner@tiktok.cygnus.com>
747b98fe
MM
4822
4823 * config/tc-ppc.c (ppc_section*): Wrap these functions inside
4824 #ifdef OBJ_ELF.
4825
f99d287b
MM
4826Fri Jan 12 15:32:07 1996 Michael Meissner <meissner@tiktok.cygnus.com>
4827
4828 * config/obj-elf.c (obj_elf_section): Add hooks so machine
4829 dependent section attributes can be handled.
4830
4831 * config/tc-ppc.h: (md_elf_section_{letter,type,word,flags}): New
4832 macros to add support for exclude section flag and ordered section
4833 type.
4834
4835 * config/tc-ppc.c (ppc_elf_section_{letter,type,word,flags}): New
4836 functions to add support for exclude section flag and ordered
4837 section type.
4838
347a705b
ILT
4839Fri Jan 12 12:04:00 1996 Ian Lance Taylor <ian@cygnus.com>
4840
2a4e49a9
ILT
4841 * subsegs.c (section_symbol): Don't try to look up the section
4842 symbol in the hash table. It should be possible to have a symbol
4843 with the same name as a section, but no connection to it.
4844
d9f4dec1
ILT
4845 * read.c (cons_worker): Only call mri_comment_end from flag_mri.
4846 From James Carlson <carlson@xylogics.com>.
4847
347a705b
ILT
4848 * expr.c (operand): Skip whitespace after a close parenthesis.
4849 From James Carlson <carlson@xylogics.com>.
4850
10c8c95e
JW
4851Tue Jan 2 12:43:23 1996 Jim Wilson <wilson@chestnut.cygnus.com>
4852
4853 * config/tc-sh.c (md_apply_fix): Call as_bad_where instead of
4854 as_warn_where for relocation overflow.
347a705b
ILT
4855 (parse_reg): Accept register name only if next character is
4856 not alphanumeric.
10c8c95e 4857
cb844314
JL
4858Sat Dec 30 23:42:51 1995 Jeffrey A Law (law@cygnus.com)
4859
4860 * ecoff.c (ecoff_stab): Simplify. Correctly handle sym + offset
4861 addresses for static variables.
4862
36cb0e7c
MM
4863Thu Dec 21 12:54:32 1995 Michael Meissner <meissner@tiktok.cygnus.com>
4864
4865 * config/tc-ppc.c (mapping): Make @got give a real GOT relocation,
4866 and xgot give the old toc16 relocation.
4867 (md_apply_fix3): Support all GOT relocations.
4868
5e69b693
ILT
4869Wed Dec 20 14:57:17 1995 Ian Lance Taylor <ian@cygnus.com>
4870
4871 * config/tc-mips.c (load_address): Correctly handle a constant in
4872 SVR4_PIC case. From Richard Kenner <kenner@vlsi1.ultra.nyu.edu>.
4873
29861dd0
C
4874Fri Dec 15 14:25:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4875
4876 * config/tc-sh.c (parse_reg): Recognize SH3 registers.
4877 (get_specific): Handle A_SSR, A_SPC and A_REG_B.
4878 (build_Mbytes): Handle REG_B.
4879
432b8fa8
ILT
4880Fri Dec 15 16:07:25 1995 Ian Lance Taylor <ian@cygnus.com>
4881
4882 * ecoff.c (ecoff_build_aux): Use new bfd_big_endian macro.
4883
ee68a042
RJ
4884Fri Dec 15 12:11:48 1995 Raymond Jou <rjou@mexican.cygnus.com>
4885
4886 * mpw-make.sed: If linking, edit ALL_CFLAGS to CFLAGS.
4887
b14630f2
ILT
4888Thu Dec 14 15:09:52 1995 Ian Lance Taylor <ian@cygnus.com>
4889
4890 * config/obj-coff.c (write_object_file): Set the s_align field to
4891 the number of bytes, rather than to the power of 2.
4892
4a3d48fc
ILT
4893Tue Dec 12 12:19:37 1995 Ian Lance Taylor <ian@cygnus.com>
4894
4895 * Makefile.in (DISTCLEAN_HERE): New variable.
4896 (distclean): Use it.
4897 (maintainer-clean): Depend upon clean-here rather than clean,
4898 distclean, and clean-info. Run make maintainer-clean in doc.
4899 Remove files listed in DISTCLEAN_HERE.
4900 * doc/Makefile.in (maintainer-clean realclean): Split out from
4901 distclean. Depend upon clean-info and distclean.
4902
7e5e83cf
SS
4903Mon Dec 11 16:23:51 1995 Stan Shebs <shebs@andros.cygnus.com>
4904
4905 * mac-as.r: Fix copyright and version strings.
4906 (cfrg): Use PROG_NAME instead of literal name.
4907
1b10f50d
ILT
4908Mon Dec 11 14:14:08 1995 Ian Lance Taylor <ian@cygnus.com>
4909
4910 * read.c (read_a_source_file): If tc_unrecognized_line is defined,
4911 call it.
4912 * config/tc-a29k.h (tc_unrecognized_line): Define.
4913 * config/tc-a29k.c (a29k_unrecognized_line): New function.
4914 (md_operand): Handle a29k style local dollar labels.
4915
2f3bbb1b
ILT
4916Wed Dec 6 17:52:52 1995 Ian Lance Taylor <ian@cygnus.com>
4917
4918 * config/obj-multi.h: If OBJ_MAYBE_ELF, define OBJ_SYMFIELD_TYPE.
4919
624c91d1
KR
4920Tue Dec 5 13:26:34 1995 Ken Raeburn <raeburn@cygnus.com>
4921
4922 * read.c (s_fill): If md_flush_pending_output is defined, call
4923 it.
4924
9e4b3a23
KR
4925Mon Dec 4 15:10:53 1995 Ken Raeburn <raeburn@cygnus.com>
4926
4927 * config/obj-coff.c (size_section, fill_section, fixup_mdeps):
4928 Treat rs_align_code like rs_align.
4929
3554987a
DE
4930Sun Dec 3 16:46:54 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
4931
4932 * config/tc-arm.c (cp_address_required_here): Set pre_inc when
4933 converting an absolute address into a PC-relative one.
4934
90f543f6
SS
4935Fri Dec 1 11:57:56 1995 Stan Shebs <shebs@andros.cygnus.com>
4936
4937 * mpw-config.in: Don't always use te-generic.h for emulation.
4938 (powerpc-apple-macos): Use emulation te-macos.h.
4939start-sanitize-gm
4940 (mips-gm-magic): New configuration.
4941end-sanitize-gm
4942 * mpw-make.sed (install, install-only): Edit in Mac-specific
4943 install procedure.
4944
d4c8a45e
ILT
4945Fri Dec 1 10:59:25 1995 Ian Lance Taylor <ian@cygnus.com>
4946
2eec8710
ILT
4947 * configure.in: Improve message about unsupported ELF targets.
4948 * configure: Rebuild.
4949
d4c8a45e
ILT
4950 * config/tc-m88k.c (m88k_do_align): Correct check for whether fill
4951 pattern is zero. From Manfred Hollstein.
4952
531a1af2
KK
4953Thu Nov 30 13:25:49 1995 Kim Knuttila <krk@cygnus.com>
4954
4955 * config/tc-ppc.c (ppc_pe_section): To get the alignment right for
4956 the various idata sections, we check the name on the .section pseudo.
4957
464070de
ILT
4958Thu Nov 30 11:23:42 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de>
4959
4960 * config/obj-coff.c (fixup_segment): If TC_M88K is defined, do not
4961 add section's paddr to add_number; compatibility to native as and
4962 ld forbids.
4963
6a087325
KR
4964Wed Nov 29 23:14:27 1995 Ken Raeburn <raeburn@cygnus.com>
4965
9d5aef80
KR
4966 * configure.in: Treat m68k-sysv4 like m68k-elf, not m68k-sysv3.
4967
ac9ef8ee
KR
4968 * hash.c (struct hash_entry): Moved here...
4969 * hash.h (struct hash_entry): ...from here.
4970
6a087325
KR
4971 * config/obj-elf.c (elf_frob_symbol): Don't free and clear sy_obj
4972 if it's already known to be null.
4973
77fa4d98
MM
4974Wed Nov 29 13:00:20 1995 Michael Meissner <meissner@tiktok.cygnus.com>
4975
4976 * config/tc-ppc.c (md_apply_fix3): Don't adjust the value for 32
4977 bit relocs converted to PC relative relocs. This turned out to
4978 add the offset from the beginning of .text twice.
4979
c6e4e834
KR
4980Tue Nov 28 10:42:36 1995 Ken Raeburn <raeburn@cygnus.com>
4981
4982 * stabs.c (s_stab_generic): In 's' case, free string from
4983 obstack.
4984
4985 * config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS): Remove unused field
4986 sy_name_offset.
4987 * config/obj-multi.h (ELF_TARGET_SYMBOL_FIELDS) [OBJ_MAYBE_ELF]:
4988 Ditto.
4989
4990 * subsegs.h (segment_info_type): Make bitfields unsigned.
4991
4992 * expr.h (struct expressionS): Make X_op and X_unsigned bitfields,
4993 and move them together. On most systems this will reduce the
4994 structure size by one word.
4995 (operatorT): Define O_max.
4996 * expr.c (expr_begin): Verify that X_op is wide enough to hold
4997 O_max.
4998
4999 * read.c (pop_insert): Print error returned by hash table
5000 insertion code.
5001
5002 * as.c (dump_statistics): Split out from main; dump some hash
5003 table stats and target-specific stats.
5004 (start_time): No longer automatic to main.
5005 (main): Set file-level start_time and call dump_statistics at
5006 exit. Exit by calling xexit.
5007 (show_usage): Make --statistics description less specific.
5008 * subsegs.c (subsegs_print_statistics): New function.
5009 * write.c (write_print_statistics): New function.
5010 (n_fixups): New static variable.
5011 (fix_new_internal): Increment it.
5012 * read.c (read_print_statistics): New function.
5013 * read.h (read_print_statistics): Declare.
5014 * symbol.c (symbol_print_statistics): New function.
5015 * symbol.h (symbol_print_statistics): Declare.
5016 * hash.c (hash_print_statistics): New function.
5017 * hash.h (hash_print_statistics): Declare.
5018 * config/tc-i386.c (i386_print_statistics): New function.
5019 * config/tc-i386.h (i386_print_statistics): Declare.
5020 (tc_print_statistics): New macro.
5021 * messages.c (as_fatal, as_assert, as_abort): Use xexit, not
5022 exit.
5023
5024 * hash.c (DELETED): Rewrite to use a valid but unique address.
5025 (START_POWER): Reduce to 10.
5026 (enum stat_enum): New enumerator, replacing STAT_* index macros.
5027 Add new values for counting strcmp calls.
5028 (GROW_FACTOR): New macro.
5029 (hash_grow): Use GROW_FACTOR. Rewrite for quick returns instead
5030 of nesting blocks.
5031 (FULL_VALUE): New macro. Use 1/4 of table size instead of 1/2.
5032 (hash_new): Use FULL_VALUE.
5033 (struct hash_control): Definition moved here.
5034 (hash_code): Don't mask to low bits.
5035 (hash_ask): Mask returned hash code here. Check hash value before
5036 calling strcmp; count strcmp calls.
5037 * hash.h (struct hash_control): Declare, don't define, here.
5038 (HASH_STATLENGTH): Deleted.
5039 (struct hash_entry): Add field for hash code.
5040 (hash_say, hash_apply): Don't declare.
5041
5042 * hash.c (destroy): Return void.
5043 (applicatee): Ditto.
5044 (main): Fix declarations.
5045 (hash_apply): Return void. Argument `function' returns void. Put
5046 inside "#ifdef TEST".
5047 (hash_say): Define only if TEST is defined.
5048 * hash.h (hash_apply, hash_say): Declarations deleted.
5049
6a4667f4
ILT
5050Mon Nov 27 13:18:25 1995 Ian Lance Taylor <ian@cygnus.com>
5051
5052 * configure: Rebuild with autoconf 2.7.
5053
330add8a
ILT
5054Tue Nov 21 18:39:01 1995 Ian Lance Taylor <ian@cygnus.com>
5055
5056 * aclocal.m4 (AC_PROG_CC): Remove local definition.
5057 * configure: Rebuild with autoconf 2.6.
5058
520dd8d5
ILT
5059Mon Nov 20 17:26:00 1995 Ian Lance Taylor <ian@cygnus.com>
5060
5061 * config/tc-ppc.c (ppc_debug_name_section_size): Remove.
5062 (ppc_stabx): Don't increment ppc_debug_name_section_size.
5063 (ppc_bc): Likewise.
5064 (ppc_frob_file): Remove.
5065 * config/tc-ppc.h (tc_frob_file): Don't define.
5066 (ppc_frob_file): Don't declare.
5067
880b7429
KR
5068Mon Nov 20 13:37:05 1995 Ken Raeburn <raeburn@cygnus.com>
5069
d6c4a3fa
KR
5070 * Makefile.in (TARG_CPU_DEP_alpha): Mention alpha-opcode.h.
5071 * config/alpha-opcode.h: Include one-operand variants of jmp and
5072 jsr.
5073
880b7429
KR
5074 * config/te-delt88.h: Renamed from te-delta88.h, to avoid conflict
5075 with te-delta.h in 8.3 file systems.
5076 * configure.in: Adjusted.
5077
aa8a6656
ILT
5078Thu Nov 16 12:49:38 1995 Ian Lance Taylor <ian@cygnus.com>
5079
880b7429
KR
5080 * config/tc-mips.c (s_err): Remove; just use the one in read.c.
5081
aa8a6656
ILT
5082 * config/m68k-parse.y (yylex): In MRI mode, '@' can start an octal
5083 number.
5084 * expr.c (operand): Handle MRI suffixes after unadorned 0.
5085
7b889f5e
KR
5086Thu Nov 16 00:21:44 1995 Ken Raeburn <raeburn@cygnus.com>
5087
da9b55af
KR
5088 Version 2.6 released.
5089 * Makefile.in (VERSION): Updated to 2.6.
5090
7b889f5e
KR
5091 * config/obj-coff.c (write_object_file): Change use of md_do_align
5092 to pass a pointer rather than a fill value, to match other uses.
5093
46618ae6
KR
5094Wed Nov 15 03:52:00 1995 Ken Raeburn <raeburn@cygnus.com>
5095
7b889f5e
KR
5096 * config/tc-ns32k.h (TC_FIX_TYPE): Add missing semicolon.
5097
46618ae6
KR
5098 * as.c (main): Move md_end call to just after call to
5099 perform_an_assembly_pass. Delete cpu-specific code here.
5100 * config/tc-i960.h (md_end): New macro, calls brtab_emit.
46618ae6
KR
5101 * config/tc-arm.c (md_end): Unused function deleted.
5102 * config/tc-ns32k.c (md_end): Ditto.
5103
5104 * config/tc-i386.c (i386_align_code): New function, moved here
5105 from HANDLE_ALIGN macro.
5106 * config/tc-i386.h (HANDLE_ALIGN): Call it.
5107
5108 Mon Jul 31 14:53:19 1995 Alan Modra <alan@spri.levels.unisa.edu.au>
5109
5110 * config/tc-i386.h (md_do_align): cast fill and 0x90 to char
5111 before comparing
5112
5113 Mon May 1 10:91:49 1995 Alan Modra <alan@spri.levels.unisa.edu.au>
5114
5115 * config/tc-i386.h (md_do_align): Make ".align n,0x90" generate
5116 multi-byte nops to avoid changing gcc. The necessary gcc change
5117 might break old assemblers.
5118
5119 Sat Apr 22 20:53:05 1995 Alan Modra <alan@spri.levels.unisa.edu.au>
5120
5121 * config/tc-i386.h (md_do_align, HANDLE_ALIGN): Add macros to
5122 generate optimal multi-byte nop instructions for ".align n"
5123 ".align n,0x90", and aligns requiring more than 15 bytes of
5124 padding still generate multiple 0x90's as before.
5125
5126Mon Nov 13 17:40:21 1995 Ian Lance Taylor <ian@cygnus.com>
5127
5128 * config/tc-m68k.c (s_mri_until): Call pop_mri_control.
5129
51bc513e
SS
5130Mon Nov 13 20:39:06 1995 Stan Shebs <shebs@andros.cygnus.com>
5131
5132 * configure.in (ppc-*-macos*, ppc-*-mpw*): New configurations.
5133 * configure: Update.
5134 * mpw-make.sed: Reorder commands to make sed happier.
5135 * config/te-macos.h: New file.
5136 * config/tc-ppc.h (TARGET_FORMAT): Set correctly for PowerMac.
5137
8b39c5df
JL
5138Sun Nov 12 21:14:56 1995 Jeffrey A Law (law@cygnus.com)
5139
5140 * config/tc-hppa.c (pa_ip): Fix off-by-2 bug in length check for
5141 conditional branches.
5142 (md_apply_fix): Likewise.
5143
5144Thu Nov 9 16:14:01 1995 Ian Lance Taylor <ian@cygnus.com>
5145
5146 * config/tc-a29k.c (md_apply_fix): Warn if an attempt is made to
5147 generate a reloc which the linker will not handle correctly. Fix
5148 overflow checking--R_IREL is 18 bits, not 17.
5149
6a649eda
ILT
5150Wed Nov 8 19:59:36 1995 Ian Lance Taylor <ian@cygnus.com>
5151
a071b8e9
ILT
5152 * config/obj-coff.c (fixup_segment): Don't subtract md_pcrel_from
5153 from a PC relative reloc if TC_A29K.
5154
5155 * config/tc-a29k.c (line_separator_chars): Restore '@'. Existing
5156 code depends upon it.
5157
6a649eda
ILT
5158 * config/tc-a29k.c (md_operand): Handle $float, $double, and
5159 $extend. Based on code from Eric Freudenthal
5160 <freudenthal@nyu.edu>.
5161 * config/tc-a29k.h (LEX_DOLLAR): Define.
5162 * read.c (LEX_DOLLAR): Define if not defined.
5163 (lex_type): Use LEX_DOLLAR.
5164
6364a188
ILT
5165Wed Nov 8 16:38:14 1995 Eric Freudenthal <freudenthal@nyu.edu>
5166
5167 * configure.in (a29k-nyu-sym1): New target, just like other a29k
5168 targets.
5169
0fa6f8f6
ILT
5170Wed Nov 8 11:38:48 1995 Ian Lance Taylor <ian@cygnus.com>
5171
5172 * config/obj-coff.c (c_dot_file_symbol): Cast xmalloc return.
5173
5174Tue Nov 7 09:14:35 1995 Kim Knuttila <krk@cygnus.com>
5175
5176 * config/tc-ppc.c (md_apply_fix3): Added BFD_RELOC_RVA. Currently
5177 used only by "dlltool.c".
5178
eec2cfef
ILT
5179Mon Nov 6 18:51:26 1995 Ian Lance Taylor <ian@cygnus.com>
5180
5181 * config/tc-alpha.c: Undefine inline if not __GNUC__.
5182 (md_pseudo_table): Don't define "extern".
5183
df7504dc
ILT
5184Sat Nov 4 00:51:21 1995 Ian Lance Taylor <ian@cygnus.com>
5185
a3d1c561
ILT
5186 * config/tc-ppc.c (ppc_biei): Force symbol into text_section.
5187
df7504dc
ILT
5188 * config/tc-ppc.c (md_show_usage): Put backslash at end of line.
5189
07d012f6
ILT
5190Fri Nov 3 13:02:59 1995 Ian Lance Taylor <ian@cygnus.com>
5191
36e80ac6
ILT
5192 * macro.c (macro_expand_body): Don't warn about == with a
5193 nonexistent parameter, in case it is in a comment field.
5194
07d012f6
ILT
5195 * as.c (main): On TC_A29K, call macro_init with macro_alternate
5196 set to 1.
5197 * macro.c (get_any_string): Don't keep quotes if macro_strip_at is
5198 set, even if macro_alternate is set.
5199 (get_apost_token): If macro_strip_at, only skip kind if it is '@'.
5200 (sub_actual): If macro_strip_at, and kind is '@', don't look up
5201 the token unless it ended in '@'.
5202 * config/tc-a29k.c (line_separator_chars): Remove '@'.
5203 * doc/c-a29k.texi: Document macro usage on A29K.
5204
01f108bc
ILT
5205Thu Nov 2 23:07:57 1995 Ian Lance Taylor <ian@cygnus.com>
5206
5207 * config/tc-m68k.c (m68k_ip): Handle new 'W' place, meaning a
5208 signed word.
5209 (install_operand): Likewise.
5210
5211 * config/obj-elf.c (ecoff_debug_pseudo_table): Add "extern".
5212
5213Wed Nov 1 15:17:02 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de>
5214
5215 * configure.in (m88k-motorola-sysv*): New target.
5216 * configure: Rebuild.
5217 * config/te-delta88.h: New file.
5218 * config/obj-coff.c (write_object_file): Use md_do_align if it is
5219 defined.
5220 * config/tc-m88k.h (SUB_SEGMENT_ALIGN): Define.
5221 (md_do_align): Define.
5222 * config/tc-m88k.c: Include "subsegs.h".
5223 (m88k_do_align): New function.
5224
5225 * config/te-delta.h (STRIP_UNDERSCORE): Don't define.
5226 (COFF_NOLOAD_PROBLEM): Define.
5227 (LOCAL_LABELS_DOLLAR, LOCAL_LABELS_FB): Define.
5228
7954cc14
KR
5229Wed Nov 1 16:07:43 1995 Ken Raeburn <raeburn@cygnus.com>
5230
5231 * config/tc-i386.c (md_assemble): For a jump instruction with
5232 non-constant target, require 7 available bytes in the current
5233 frag, not 6.
5234
d033806f
FF
5235Tue Oct 31 15:37:16 1995 Fred Fish <fnf@rtl.cygnus.com>
5236
5237 * config/obj-elf.h: Include bfd/elf-bfd.h rather than
5238 bfd/libelf.h.
5239
d7b2038f
ILT
5240Tue Oct 31 16:34:28 1995 David Mosberger-Tang <davidm@azstarnet.com>
5241
5242 * configure.in (alpha-*-linux*): Use ecoff.
5243 * configure: Rebuild.
5244 * ecoff.c (ecoff_directive_extern): New function.
5245 (ecoff_directive_weakext): New function.
5246 (ecoff_build_symbols): Handle weak symbols.
5247 (ecoff_setup_ext): Likewise.
59c80ca2 5248 (ecoff_frob_symbol): Warn about weak common symbols.
d7b2038f
ILT
5249 * ecoff.h (ecoff_directive_extern): Declare.
5250 (ecoff_directive_weakext): Declare.
5251 * symbols.c (S_IS_WEAK): New function.
5252 * symbols.h (S_IS_WEAK): Declare.
5253 * config/obj-ecoff.c (obj_pseudo_table): Add "extern" and
5254 "weakext".
5255 * config/tc-mips.c (mips_pseudo_table): Remove "extern".
5256 (s_extern): Remove.
5257
cbdf59ad
ILT
5258Tue Oct 31 13:29:08 1995 Ian Lance Taylor <ian@cygnus.com>
5259
b629f627
ILT
5260 * config/tc-ppc.c (ppc_lglobl): Do the right thing.
5261
7ab1edc8
ILT
5262 * config/tc-ppc.c (ppc_bb): Call SF_SET_PROCESS.
5263 (ppc_eb): Likewise. Set the storage class to C_BLOCK, not C_FCN.
5264 (ppc_frob_symbol): Don't change C_BLOCK symbols to C_HIDEXT.
5265 * config/obj-coff.c (coff_frob_symbol): Don't call
5266 SA_SET_SYM_ENDNDX with the current symbol; call it with the next
5267 one. If OBJ_XCOFF, try to figure out whether the symbol is going
5268 to be dropped.
5269
31751d9d
ILT
5270 * config/tc-ppc.c (md_pseudo_table): Add "bc" and "ec".
5271 (ppc_stab_symbol): New static variable.
5272 (ppc_change_csect): Check that ppc_toc_csect is not NULL.
5273 (ppc_stabx): Set ppc_stab_symbol around call to symbol_make. Set
5274 sy_tc.real_name to the stab string.
5275 (ppc_bc, ppc_ec): New static functions.
5276 (ppc_canonicalize_symbol_name): If ppc_stab_symbol is set, don't
5277 do anything.
5278 (ppc_symbol_new_hook): If ppc_stab_symbol is set, don't look for a
5279 suffix.
0e3dd9a0
ILT
5280 (ppc_frob_symbol): Set BSF_NOT_AT_END for symbols with csect aux
5281 entries.
31751d9d 5282
cbdf59ad
ILT
5283 * input-scrub.c (input_scrub_push): Reset sb_index.
5284
91123dbe
ILT
5285Mon Oct 30 17:52:46 1995 Ian Lance Taylor <ian@cygnus.com>
5286
5287 * listing.c (listing_newline): Don't create a frag in the absolute
5288 section.
5289
73255941
ILT
5290Sat Oct 28 01:02:05 1995 Ian Lance Taylor <ian@cygnus.com>
5291
df72d2a5
ILT
5292 * config/tc-ppc.c (md_pseudo_table): Add "data" and "text".
5293 (ppc_csect): Move most of the code to ppc_change_csect, and call
5294 it.
5295 (ppc_change_csect): New static function, taken from ppc_csect.
5296 (ppc_section): New static function.
5297 (ppc_saw_abs): New static varable.
5298 (ppc_frob_symbol): Create aux entry for absolute symbols. Warn if
5299 a symbol has no csect.
5300 (ppc_adjust_symtab): New function.
5301 * config/tc-ppc.h (tc_adjust_symtab): Define if OBJ_XCOFF.
5302 (ppc_adjust_symtab): Declare if OBJ_XCOFF.
5303
5304 * write.c (write_object_file): If tc_adjust_symtab is defined,
5305 call it just before the call to obj_adjust_symtab.
5306
73255941
ILT
5307 * symbols.c (symbol_find_or_make): Change name to be const.
5308 * symbols.h (symbol_find_or_make): Update declaration.
5309
9bfaf1b9
KR
5310Thu Oct 26 19:18:27 1995 Ken Raeburn <raeburn@cygnus.com>
5311
5312 * doc/as.texinfo (Align): Mention SH.
5313 * doc/c-m68k.texi (M68K-Directives, .even): Describe behavior, not
5314 .align value.
5315 * doc/c-z8k.texi (Z8000 Directives, global): Fix minor typo.
5316 (Z8000 Directives, even): Don't give numeric align value, instead
5317 explain behavior.
5318
ae143278
DE
5319Thu Oct 26 11:45:03 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
5320
5321 * tc-arm.c (do_ldst): Assemble ldr/str r0, [r1] as a pre-increment
5322 instruction.
5323
270433cc
PB
5324Wed Oct 25 11:59:24 1995 Per Bothner <bothner@kalessin.cygnus.com>
5325
5326 * Makefile.in (diststuff): Also make info.
5327 (maintainer-clean realclean): Also make clean-info.
5328
18a11401
JL
5329Tue Oct 24 15:21:33 1995 Jeffrey A Law (law@cygnus.com)
5330
5331 * config/tc-hppa.c (md_pseudo_table): Add new ".nsubspa" opcode.
5332 (pa_subspace): For ".nsubspa", always create a new subspace
5333 with the given attributes, even if one already exists with the
5334 same name.
5335
96fe71e1
MM
5336Tue Oct 24 14:50:38 1995 Michael Meissner <meissner@tiktok.cygnus.com>
5337
5338 * config/tc-ppc.h (TC_FORCE_RELOCATION_SECTION): Rename from
5339 TC_FORCE_RELOCATION, taking an additional section argument. If
5340 the section of the target symbol is not the same as the current
5341 section, always force the relocation to be used.
5342 (MD_PCREL_FROM_SECTION): New macro to call md_pcrel_from_section.
5343
5344 * config/tc-ppc.c (md_pcrel_from_section): Rename from the
5345 md_pcrel_from function, taking an additional section argument.
5346 Invoke TC_FORCE_RELOCATION_SECTION instead of TC_FORCE_RELOCATION.
5347
5348 * write.c (TC_FORCE_RELOCATION_SECTION): Define in terms of the
5349 older TC_FORCE_RELOCATION if not defined.
5350 (MD_PCREL_FROM_SECTION): If not defined, invoke md_pcrel_from.
5351 (fixup_segment): Use MD_PCREL_FROM_SECTION instead of
5352 md_pcrel_from, and TC_FORCE_RELOCATION_SECTION instead of
5353 TC_FORCE_RELOCATION.
5354
1d75481b
KR
5355Mon Oct 23 16:20:04 1995 Ken Raeburn <raeburn@cygnus.com>
5356
5357 * input-scrub.c (as_where): Set name to null pointer if we don't
5358 have a file name.
5359 * messages.c (identify): Only print filename if non-null.
5360 (as_show_where): Ditto, for line number too.
5361 (as_warn_internal, as_bad_internal): Ditto.
5362
5363 * input-file.c (input_file_open): If the input file can't be
5364 opened, consider it an error.
5365
c625fc23
JSC
5366Mon Oct 23 11:15:44 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
5367
5368 * config/tc-mips.c: Added mips_4100 control, and support for
5369 accepting the 4100 as a MIPS architecture variant (md_begin,
5370 macro_build, mips_ip, md_parse_option). Adding suitable
5371 command-line OPTIONs, and updating the help text (md_show_usage).
5372
dd1a5316
KR
5373Wed Oct 18 13:20:32 1995 Ken Raeburn <raeburn@cygnus.com>
5374
c625fc23
JSC
5375 * subsegs.c (subseg_begin): Only set absolute_frchain.fix_* when
5376 BFD_ASSEMBLER is defined.
5377
3366a224
KR
5378 * Use one active frag and one obstack per frag chain:
5379 * frags.c (frags): Variable deleted.
5380 (frag_alloc): New function.
5381 (frag_grow, frag_more, frag_variant, frag_now_fix,
5382 frag_append_1_char): Refer to frchain_now->frch_obstack instead of
5383 frags variable.
5384 (frag_new): Ditto. Verify that frch_last and frag_now match on
5385 entry and exit, and that old frag_now has non-zero type. Replace
5386 "know" uses with "assert". Use frag_alloc instead of mucking with
5387 obstack alignment.
5388 * frags.h (frags): Declaration deleted.
5389 * subsegs.h (struct frchain): Add new field frch_frag_now.
5390 * subsegs.c (frchains, dummy_frag, absolute_frchain): New static
5391 variables.
5392 (subsegs_begin): Initialize frchains obstack. Under gcc, don't
5393 give it any stricter alignment than frchainS structures need. Do
5394 not initialize frags obstack. Set frag_now to point to
5395 dummy_obstack. Initialize absolute_frchain.
5396 (subseg_set_rest): Save and restore frag_now in frch_frag_now
5397 field of frchainS. Don't create new frags on section switch, and
5398 use frag_alloc when creating a new frag chain. For absolute
5399 section, set frchain_now to absolute_frchain. Verify that
5400 frch_last and frag_now match on entry and exit. Initialize
5401 per-chain obstack, and under gcc, set required alignment to that
5402 needed by fragS structure.
c625fc23 5403
3366a224
KR
5404 * write.c (chain_frchains_together_1): Verify fr_type is nonzero.
5405
5406 * stabs.c (get_stab_string_offset): Only copy input string if a
5407 fresh copy is needed, not if the section already exists.
5408 (s_stab_generic): Cache stab section name to bypass lookups, since
5409 usually it will match. Could be made faster still by changing the
5410 memory allocation rules.
5411 (s_xstab): Cache section name to bypass repeated string
5412 allocation.
5413
5414 * frags.c (frag_new): Deleted register declarations.
5415
5416 * listing.c (frag_now): Don't declare.
5417
5418 * as.c (chunksize): New variable.
5419 (debug_memory): New variable.
5420 (main): If debug_memory is set, reduce chunksize and
5421 _bfd_chunksize.
5422 * as.h (chunksize): Declare it.
5423 * read.c (read_begin): Use it.
5424
de5ebe2e
KR
5425 * config/tc-alpha.c (md_shortopts): Include 'g'.
5426 (md_parse_option): Ignore it.
5427
dd1a5316
KR
5428 * Makefile.in (distclean): Remove Makefile and config.status from
5429 testsuite directory.
5430 (clean-here): Don't delete testsuite. Instead, delete only the
5431 files within it that would be generated by running tests.
5432
de5ebe2e
KR
5433 * config/tc-hppa.c (hppa_elf_mark_end_of_function): Call
5434 frag_now_fix instead of accessing obstack info directly.
5435 * config/tc-arm.c (s_ltorg): Ditto.
5436 (md_assemble): Ditto.
5437
5438 * config/tc-i386.c (md_assemble): Call frag_grow instead of
5439 obstack_room.
5440
625f4e48
KR
5441Wed Oct 18 12:22:59 1995 Ken Raeburn <raeburn@cygnus.com>
5442
5443 * stabs.c (aout_process_stab): Insert debug symbol into symbol
5444 chain after parsing value expression, if any, to avoid separating
5445 continued .stabs lines.
5446
33a8c1b6
ILT
5447Mon Oct 16 10:56:41 1995 Ian Lance Taylor <ian@cygnus.com>
5448
5449 * config/tc-mips.c (mips_elf_pseudo_table): Remove.
5450 (mips_pop_insert): Don't call pop_insert on mips_elf_pseudo_table.
5451
b6b8f911
MM
5452Mon Oct 16 07:07:37 1995 Michael Meissner <meissner@wogglebug.tiac.net>
5453
625f4e48
KR
5454 * config/tc-ppc.c (md_begin): Use new flags PPC_OPCODE_COMMON for
5455 -mcom support and PPC_OPCODE_ANY for -many.
5456 (md_parse_option): Ditto.
5457 (ppc_arch): Ditto.
5458 (md_begin): For duplicate instructions, print all duplicates
5459 before aborting.
b6b8f911 5460
4c2935f4
MM
5461Sun Oct 15 22:06:14 1995 Michael Meissner <meissner@cygnus.com>
5462
5463 * config/tc-ppc.c (md_parse_option): Support for -mcom to turn on
5464 common mode operation.
5465 (md_show_usage): Add -mcom to usage message.
4c2935f4
MM
5466
5467Fri Oct 13 13:32:45 1995 steve chamberlain <sac@slash.cygnus.com>
5468
5469 * expr.c (op_rank): Add O_symbol_rva.
5470 * expr.h (operatorT): Add O_symbol_rva.
5471 * read.c (cons_worker): Set O_symbol_rva when necessary.
5472 * write.c (fix_new_exp): Understand O_symbol_rva.
5473
7db865dc
ILT
5474Tue Oct 10 11:34:14 1995 Ian Lance Taylor <ian@cygnus.com>
5475
5476 * config/tc-mips.c: Correct s_cons arguments. From Michael
5477 Joosten <joost@ori.cadlab.de>.
5478
1b13e6fc
ILT
5479Mon Oct 9 19:59:53 1995 Ian Lance Taylor <ian@cygnus.com>
5480
5481 * config/tc-ppc.c (ppc_macro): Make count unsigned.
5482 (ppc_biei): Set segment to now_seg and value to coff_n_line_nos.
5483 (ppc_frob_symbol): Handle C_BINCL and C_EINCL symbols by setting
5484 the fix_line field.
5485 * config/obj-coff.c (coff_n_line_nos): Rename from n_line_nos, and
5486 make non-static. Change all users.
5487 * config/obj-coff.h (coff_n_line_nos): Declare.
5488
9e3e3d4c
KR
5489Fri Oct 6 16:24:27 1995 Ken Raeburn <raeburn@cygnus.com>
5490
5491 Mon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5492
5493 * configure.in (AC_ARG_WITH(bfd-assembler)): Fix help message.
5494
5495 * config/obj-elf.c (obj_elf_common): Convert specified byte
5496 alignment to power of two. Set size of local bss symbol.
5497
5498 * config/tc-m68k.c (tc_gen_reloc): Fix typo in variable name.
5499
13a6c753
ILT
5500Fri Oct 6 15:22:25 1995 Ian Lance Taylor <ian@cygnus.com>
5501
5502 * sb.c, macro.c: Decide whether to include <string.h> or
5503 <strings.h> just as as.h does.
5504
a75aafcd
DE
5505Fri Oct 6 09:55:33 1995 Doug Evans <dje@canuck.cygnus.com>
5506
5507 * Makefile.in (site.exp): Fix setting of $srcdir.
5508
5509 * config/tc-arm.c (md_atof): Fix little-endian output.
f6ec8c46
DE
5510 * config/tc-arm.h (ARM_BI_ENDIAN): Move definition so defined for
5511 all coff targets.
a75aafcd 5512
d89861c7
KR
5513Thu Oct 5 20:17:30 1995 Ken Raeburn <raeburn@cygnus.com>
5514
4d2ba393
KR
5515 * doc/as.texinfo: Split out the NS32k family documentation,
5516 despite its being commented out for now.
5517 * doc/c-ns32k.texi: New file.
5518
2c5eb48d
KR
5519 * sb.c, macro.c: Include string.h.
5520
6b0a6eaa
KR
5521 * Makefile.in (comparison): Only check *.o; we don't care if
5522 timestamps inserted by the native linker differ.
5523
d89861c7
KR
5524 * config/tc-alpha.c (alpha_align): Only fill with a no-op pattern
5525 if alignment stricter than 4 bytes is requested; in that case,
5526 align to a 4-byte boundary first.
5527
70aeac05
KR
5528 Thu Sep 28 19:35:27 1995 Pat Rankin <rankin@eql.caltech.edu>
5529
5530 * config/obj-vms.c (VMS_RSYM_Parse): eliminate "might be used
5531 uninitialized" warning for `Max_Source_Offset'.
5532
eaaa2a42
KK
5533Wed Oct 4 16:17:02 1995 Kim Knuttila <krk@cygnus.com>
5534
5535 * config/tc-ppc.c (parse_toc_entry): New function to parse [toc]
5536 qualifiers and detect errors if present.
5537 (md_assemble): Add call to parse_toc_entry. Also added some support
5538 for the [tocv] qualifier.
5539 (ppc_pe_tocd): New function to support data in the toc section.
5540
cd557d83
ILT
5541Wed Oct 4 14:03:39 1995 Ian Lance Taylor <ian@cygnus.com>
5542
5543 * config/tc-ppc.c (ppc_frob_symbol): Don't create an aux entry for
5544 an absolute symbol.
5545
42ac8fa8
ILT
5546Tue Oct 3 12:18:19 1995 Ian Lance Taylor <ian@cygnus.com>
5547
01f108bc 5548 * config/tc-m68k.c (isword): Accept all values from -65536 to
cd557d83
ILT
5549 +65535, so ~VAL will not be rejected.
5550
42ac8fa8
ILT
5551 * cond.c (s_endif): Call demand_empty_rest_of_line. In MRI mode,
5552 skip characters after the pseudo-op.
5553 (s_else): Likewise.
5554 * read.c (get_line_sb): Don't look past buffer_limit.
5555 (s_include): In MRI mode, skip characters after the file name.
5556
eef66934
ILT
5557Mon Oct 2 16:15:27 1995 Ian Lance Taylor <ian@cygnus.com>
5558
5559 * config/m68k-parse.y (m68k_reg_parse): In MRI mode, permit
5560 periods in register names.
5561
cdc49cba 5562For older changes see ChangeLog.1.
This page took 0.369073 seconds and 4 git commands to generate.