]> Git Repo - binutils.git/blame - gas/ChangeLog
* config/tc-hppa.c (tc_gen_reloc): Add new argument to
[binutils.git] / gas / ChangeLog
CommitLineData
a58b037a
JL
1Tue Aug 27 09:05:50 1996 Jeffrey A Law ([email protected])
2
3 * config/tc-hppa.c (tc_gen_reloc): Add new argument to
4 hppa_gen_reloc_type call.
5
f9085532 6start-sanitize-d10v
3017263b
MH
7Mon Aug 26 18:24:51 1996 Martin M. Hunt <[email protected]>
8
9 * config/tc-d10v.c: Fixed ".word". Fixed problem with range checking
10 on addresses. Improved error messages.
11 * doc/c-d10v.texi: Added docs for register pairs.
12
f9085532
MH
13Mon Aug 26 13:39:27 1996 Martin M. Hunt <[email protected]>
14
15 * config/tc-d10v.c (parallel_ok): Fix bug in parallel
16 checking code.
17
18end-sanitize-d10v
58275724
ILT
19Mon Aug 26 14:38:22 1996 Ian Lance Taylor <[email protected]>
20
21 * ecoff.c (init_file): Initialize fMerge to 1.
22 (add_file): Restore old file merging code, but only merge files if
23 fMerge is set.
24 (ecoff_directive_loc): Clear fMerge field of current file.
25 (ecoff_generate_asm_lineno): Likewise.
26
b1c28263
MH
27start-sanitize-d10v
28Fri Aug 23 11:40:47 1996 Martin M. Hunt <[email protected]>
29
30 * doc/c-d10v.texi: Fix typo.
31
32end-sanitize-d10v
c9a32d6c
JL
33start-sanitize-v850
34Fri Aug 23 10:41:32 1996 Jeffrey A Law ([email protected])
35
58275724
ILT
36 * config/tc-v850.c (md_assemble): Correct bit masking for
37 hi and lo expressions.
38
88b47a85
JL
39 * config/tc-v850.c (md_assemble): Rough cut at demanding
40 "ep" or "r30" in sst and sld instructions.
41 (md_apply_fix3): Don't abort. Just warn that we don't
42 have relocs yet.
43
c9f1b2d9
JL
44 * config/tc-v850.c (CC_NAME_CNT): Define.
45 (cc_name): New function.
46 (md_assemble): Handle V850_OPERAND_CC correctly.
47
d5974c57
JL
48 * config/tc-v850.c (md_assemble): Don't forget to initialize
49 "insn"!
50
0e8f9bd1
JL
51 * config/tc-v850.c (reg_name_search): Generalize to search
52 any given register table.
53 (register_name): Pass appropriate table and size to reg_name_search.
54 (system_register_name): New function.
55 (SYSREG_NAME_CNT): Define.
56 (md_assemble): Handle operands which are system registers.
57
c9a32d6c
JL
58 * config/tc-v850.c (md_assemble): If we find a register, but the
59 opcode doesn't want a register, then we don't have a match.
60 (md_assemble): Get size of the instruction from the opcode table.
61
62end-sanitize-v850
eeef602f
ILT
63Thu Aug 22 10:20:30 1996 Ian Lance Taylor <[email protected]>
64
8ee90d35
ILT
65 * configure.in: Set and substitute HLDENV.
66 * configure: Rebuild.
67 * Makefile.in (HLDENV): New variable.
68 (as.new): Use $(HLDENV).
69
eeef602f
ILT
70 * ecoff.c (ecoff_directive_endef): Avoid a division by zero error
71 if an array dimension is not known.
72
6be9ec8d
MH
73start-sanitize-d10v
74Thu Aug 22 10:50:00 1996 Martin M. Hunt <[email protected]>
75
76 * config/tc-d10v.c: Fix a reloc bug caused by my last change.
77 * doc/c-d10v.texi: Cleanup.
78
79end-sanitize-d10v
c6aa56bc
C
80start-sanitize-v850
81Tue Aug 20 15:15:16 1996 J.T. Conklin <[email protected]>
82
83 * config/tc-v850.c: New file.
84 * config/tc-v850.h: New file.
85 * configure (v850-*-elf): New target.
86 * configure.in (v850-*-elf): New target.
87
88end-sanitize-v850
ab457c4c 89start-sanitize-d10v
2c2e5626
MH
90Wed Aug 21 15:50:54 1996 Martin M. Hunt <[email protected]>
91
92 * doc/c-d10v.texi: New file.
93 * doc/all.texi: Added D10V stuff.
94 * doc/as.texinfo: Added D10V stuff.
95
ab457c4c
MH
96Tue Aug 20 14:10:02 1996 Martin M. Hunt <[email protected]>
97
98 * config/tc-d10v.c: All references to defined symbols should
99 now use the optimal instruction. .float and .double now work.
100
101end-sanitize-d10v
d4e1b0be
ILT
102Mon Aug 19 14:41:36 1996 Ian Lance Taylor <[email protected]>
103
104 * config/obj-coff.c (fixup_segment): Adjust PC relative reloc by
105 section address for the i960 as is done for the i386.
106
107Thu Aug 15 16:37:59 1996 Stan Shebs <[email protected]>
108
109 * mpw-config.in: Add wildcards for config matching, add mips-*-*
110 case, forward-include bfd/elf-bfd.h.
111
b98b04ea
MH
112start-sanitize-d10v
113Thu Aug 15 13:24:30 1996 Martin M. Hunt <[email protected]>
114
115 * config/tc-d10v.c: Add additional information to the opcode
116 table to help determinine which instructions can be done
117 in parallel.
118
119end-sanitize-d10v
120Thu Aug 15 17:01:31 1996 James G. Smith <[email protected]>
121
122 * config/tc-arm.c: Major changes to add Thumb support, with lots
123 of change input from <[email protected]>.
124 Reverted to INSN_SIZE macro, rather than insn_size variable.
125 (insns): Added ARM "bx" instruction support.
126 (tinsns): Added Thumb instruction definition structure.
127 (arm_tops_hsh): Added hash structure for Thumb opcodes.
128 (md_pseudo_table): Added ".arm", ".thumb" and ".code" pseudo-ops.
129 (opcode_select,s_arm,s_thumb,s_code): Added.
130 (decode_shift): Allow upper-case RRX.
131 (do_ldst): Simpler halfword support.
132 (do_ldmstm): Improved.
133 (reg_list, do_bx, thumb_reg, thumb_add_sub, thumb_shift,
134 thumb_mov_compare, thumb_load_store, do_t_arit, do_t_add,
135 do_t_asr, do_t_branch, do_t_bx, do_t_compare, do_t_ldmstm,
136 do_t_ldrb, do_t_ldrh, do_t_lds, do_t_lsl, do_t_lsr, do_t_mov,
137 do_t_push_pop, do_t_str, do_t_strb, do_t_strh, do_t_sub, do_t_swi,
138 do_t_adr): Added.
139 (md_apply_fix3): Add support for BFD_RELOC_ARM_THUMB_* relocations.
140 (md_parse_option): Add support for -mthumb.
141 (md_show_usage): Updated to reflect new command line option.
142 (arm_data_in_code, arm_canonicalize_symbol_name): Added.
143 * config/tc-arm.h: Provide TC_FIX_TYPE to allow private ARM
144 fragment information to be held.
145
146Thu Aug 15 16:12:00 1996 Richard Earnshaw ([email protected])
147
148 * tc-arm.c (md_apply_fix3): Also set fixP->fx_done if fx_addsy is
149 non-null, but is a constant.
150 (fix_new_arm): Call make_expr_symbol to make the expression symbol
151 so that error reporting will work correctly.
152
126436a8
ILT
153Wed Aug 14 10:37:21 1996 Ian Lance Taylor <[email protected]>
154
155 * config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust relocs
156 against weak symbols.
157
0e94336e
ILT
158Tue Aug 13 17:39:24 1996 Ian Lance Taylor <[email protected]>
159
160 * config/tc-ppc.h (TC_FORCE_RELOCTION): Define if OBJ_XCOFF.
161 (ppc_force_relocation): Declare if OBJ_XCOFF.
162 * config/tc-ppc.c (ppc_force_relocation): New function if
163 OBJ_XCOFF.
164
817e4f75
ILT
165Mon Aug 12 16:49:43 1996 Ian Lance Taylor <[email protected]>
166
167 * config/tc-mips.h (BYTE_ORDER): Don't define. No longer used.
168
f494d503
MH
169start-sanitize-d10v
170Fri Aug 9 17:48:28 1996 Martin M. Hunt <[email protected]>
171
172 * config/tc-d10v.c: Fix problem with relocs.
173
174end-sanitize-d10v
8d07d2c9
ILT
175Fri Aug 9 14:16:14 1996 Ian Lance Taylor <[email protected]>
176
177 * config/tc-sh.c (sh_do_align): If not BFD_ASSEMBLER, always align
178 with nops if not in data_section or bss_section.
179
f649d525
ILT
180Thu Aug 8 12:32:56 1996 Klaus Kaempf <[email protected]>
181
182 Add support for openVMS/Alpha.
183 * as.h (PRINTF_LIKE): Don't define if VMS, for now.
184 * config/obj-evax.c: New file.
185 * config/obj-evax.h: New file.
186 * config/tc-alpha.c: Add support for EVAX format if OBJ_EVAX is
187 defined.
188 * config/tc-alpha.h: Add support for EVAX format if OBJ_EVAX is
189 defined. Add case for bfd_target_evax_flavour.
190 * config/vms-a-conf.h: New file.
191 * conf-a-gas.com: New file.
192 * configure.in: Add target alpha-*-*vms*.
193 * configure: Rebuild.
194 * makefile.vms: New file.
195 * read.c (s_lcomm): Align bss_seg on 8 byte boundary if OBJ_EVAX.
196 Don't call ffs on openVMS/Alpha.
197
5cece526
ILT
198Wed Aug 7 14:19:03 1996 Philippe De Muyter <[email protected]>
199
200 * configure.in: Make GAS_CHECK_DECL_NEEDED include <string.h> or
201 <strings.h> if they exist. Call GAS_CHECK_DECL_NEEDED on strstr
202 and sbrk.
203 * acconfig.h (NEED_DECLARATION_STRSTR): New macro.
204 (NEED_DECLARATION_SBRK): New macro.
205 * configure, conf.in: Rebuild.
206 * as.h: Only include <strings.h> if HAVE_STRINGS_H.
207 (strstr): Declare if NEED_DECLARATION_STRSTR.
208 * as.c: If HAVE_SBRK and NEED_DECLARATION_SBRK, declare sbrk.
209
e592f0e6
ILT
210Wed Aug 7 11:50:26 1996 Ian Lance Taylor <[email protected]>
211
d10df990
ILT
212 * symbols.c (resolve_symbol_value): Handle addition or subtraction
213 by a constant before entering the main switch. Reject attempts to
214 apply an arithmetic function to non-absolute symbols, except for
215 the special case of subtraction of two symbols in the same
216 section.
217
cf32394d
ILT
218 * config/tc-mips.c (md_section_align): Do align if OBJ_ELF, but
219 not to more than a 16 byte boundary.
220
e592f0e6
ILT
221 * config/tc-i386.c (tc_gen_reloc): Accept all relocs; remove
222 #ifndef OBJ_ELF lines. From Eric Valette <[email protected]>.
223 (tc_gen_reloc): If out of memory call as_fatal rather than
224 assert. If no howto found, call as_bad_where rather than
225 as_fatal. Change the error message slightly. Set howto to a
226 non-NULL value in order to keep going.
227
5d9a99a7
MH
228start-sanitize-d10v
229Tue Aug 6 12:58:03 1996 Martin M. Hunt <[email protected]>
230
231 * config/tc-d10v.c: Added code to support 32-bit fixups for stabs.
232
233end-sanitize-d10v
6a8e0036
JL
234Tue Aug 6 11:15:26 1996 Jeffrey A Law ([email protected])
235
236 * config/tc-h8300.c (get_specific): New operand "size" derived
237 from ".b", ".w" and ".l" extensions. All callers changed. If
238 the base instruction has no operands, then use the size to
239 determine which specific instruction to use.
240
3d7b0c49
ILT
241Mon Aug 5 14:21:10 1996 Ian Lance Taylor <[email protected]>
242
243 * config/tc-i960.c (mem_fmt): Call parse_expr before emit.
244
10a14e36
ILT
245Fri Aug 2 11:23:31 1996 Ian Lance Taylor <[email protected]>
246
247 * config/tc-mips.c (md_section_align): Don't change addr if
248 OBJ_ELF.
249
470a679c
JL
250Thu Aug 1 23:51:52 1996 Jeffrey A Law ([email protected])
251
252 * config/tc-hppa.c: Revert yesterday's changes.
253
b5cf6779
MH
254start-sanitize-d10v
255Wed Jul 31 14:46:11 1996 Martin M. Hunt <[email protected]>
256
257 * config/tc-d10v.c: Disable range checking on 16-bit values.
258
259end-sanitize-d10v
159eb3c0
ILT
260Wed Jul 31 16:27:19 1996 Ian Lance Taylor <[email protected]>
261
262 * config/tc-m68k.c (m68k_ip): Set ok_arch for every instruction,
263 not just the ones that don't match.
264
37e05f64
MH
265start-sanitize-d10v
266Wed Jul 31 11:45:15 1996 Martin M. Hunt <[email protected]>
267
268 * config/tc-d10v.c: Fixed bugs in short relocs and range checking.
269
270end-sanitize-d10v
c479fc62
JSC
271Wed Jul 31 15:41:42 1996 James G. Smith <[email protected]>
272
273 * config/tc-arm.c: Changed INSN_SIZE to variable insn_size, as
274 pre-cursor to adding Thumb support. Also added cpu_variant flag
275 information to each of the asm_flg structures.
276 (md_parse_option): Updated ARM7 parsing to allow 't' for
277 thumb/halfword support, aswell as 'm' for long multiply.
278 (md_show_usage): Updated help message.
279 (md_assemble): Check that instruction flags are applicated to the
280 current cpu variant.
281 (md_apply_fix3, tc_gen_reloc): Add BFD_RELOC_ARM_OFFSET_IMM8 and
282 BFD_RELOC_ARM_HWLITERAL relocation support for new halfword and
283 signextension instructions.
284 (do_ldst): Generate halfword and signextension variants if
285 mnemonic flags match.
286 (ldst_extend): Do not allow shifts in the offset field of halfword
287 or signextension instructions.
288 (validate_offset_imm): Provide check on halfword and signextension
289 immediate range.
290 (add_to_lit_pool): Merge identical literal pool values.
291
448b5aad
JL
292Tue Jul 30 14:28:23 1996 Jeffrey A Law ([email protected])
293
294 * config/tc-hppa.c (selector_table): Add 'E' selector.
295 (cons_fix_new_hppa): Don't coke on e_esel.
296 (tc_gen_reloc, SOM version): Handle R_COMP2 when used
297 to help generate exception handling tables.
298 (md_apply_fix): Don't try to apply fixups with an e_esel
299 selector.
300 (hppa_fix_adjustable): Fixups with e_esel selectors
301 are not adjustable.
302
8dfb05cc
ILT
303Tue Jul 30 15:51:41 1996 Ian Lance Taylor <[email protected]>
304
305 * config/tc-sparc.c (md_pseudo_table): Add 2byte, 4byte, and 8byte
306 pseudo-ops.
307
8544dc03
MH
308start-sanitize-d10v
309Fri Jul 26 11:43:03 1996 Martin M. Hunt <[email protected]>
310
311 * config/tc-d10v.c: Added lots of error checking. Added hacks
312 to support accumulator shifts.
313
314end-sanitize-d10v
5ca547dc
ILT
315Fri Jul 26 11:56:08 1996 Ian Lance Taylor <[email protected]>
316
317 * symbols.c (S_SET_EXTERNAL): Let .weak override.
318 (S_CLEAR_EXTERNAL): Likewise.
319 (S_SET_WEAK): Remove error; just let .weak override.
320
0ef32559 321start-sanitize-d10v
35ad20a1
MH
322Thu Jul 25 15:22:51 1996 Martin M. Hunt <[email protected]>
323
324 * config/tc-d10v.c (md_assemble): Now handles multiline
325 instructions.
326
7c096652
MH
327Thu Jul 25 12:03:33 1996 Martin M. Hunt <[email protected]>
328
329 * config/tc-d10v.c: Fix packaging bug. Added range checking.
330 Added kludge for divs instruction. Fixed minor problem with
331 multiple text sections.
35ad20a1
MH
332 * config/tc-d10v.h (d10v_cleanup): Change prototype.
333
93050391
MH
334Tue Jul 23 10:49:36 1996 Martin M. Hunt <[email protected]>
335
336 * config/tc-d10v.c (md_apply_fix3): Fix all instruction
337 addresses to be right-shifted by 2.
338
0ef32559
MH
339Mon Jul 22 11:32:36 1996 Martin M. Hunt <[email protected]>
340
341 * config/tc-d10v.c: Many changes to get relocs working.
342 (register_name): No longer creates a symbol for register names.
343 (pre_defined_registers): moved to opcodes/d10v-opc.c.
344 (d10v_insert_operand): Now works correctly for either container.
345 * config/tc-d10v.h (d10v_cleanup): Declare.
346
347end-sanitize-d10v
97aca1bc
ILT
348Mon Jul 22 14:01:33 1996 Ian Lance Taylor <[email protected]>
349
350 * config/tc-mips.c (tc_gen_reloc): BFD_RELOC_PCREL_HI16_S and
351 BFD_RELOC_PCREL_LO16 are expected to be PC relative.
352
6543a7fb
ILT
353Mon Jul 22 12:46:55 1996 Richard Henderson <[email protected]>
354
355 * tc-alpha.c: Patches to track current minimum alignment to reduce
356 the number of fragments created with frag_align.
357 (alpha_current_align): New static variable.
358 (s_alpha_text): Reset alignment to 0.
359 (s_alpha_data, s_alpha_rdata, s_alpha_sdata): Likewise.
360 (s_alpha_stringer, s_alpha_space): New functions.
361 (s_alpha_cons, alpha_flush_pending_output): Remove functions.
362 (alpha_cons_align): New function to replace both of them.
363 (emit_insn): Only align if alpha_current_align is less than 2;
364 reset alpha_current_align to 2.
365 (s_alpha_gprel32): Likewise.
366 (s_alpha_section): New function. Basically duplicate the other
367 alpha section change hooks. Only define for ELF.
368 (s_alpha_float_cons): Simplify alignment handling.
369 (md_pseudo_table): Only define "rdata" and "sdata" if OBJ_ECOFF.
370 If OBJ_ELF, define "section", "section.s", "sect", and "sect.s".
371 Don't define the s_alpha_cons pseudo-ops. Do define
372 s_alpha_stringer and s_alpha_space pseudo-ops.
373 (alpha_align): Skip if less than current default alignment. Set
374 default alignment.
375 * tc-alpha.h (md_flush_pending_output): Remove.
376 (md_cons_align): Add.
377
378 * tc-alpha.c: Add oodles of function description comments.
379 (md_bignum_to_chars): Remove; there are no callers.
380 (md_show_usage): Mention some more variants.
381
091221ce
ILT
382Thu Jul 18 15:54:54 1996 Ian Lance Taylor <[email protected]>
383
0b27ea39
ILT
384 From Andrew Gierth <[email protected]>:
385 * configure.in (sparc-*-sysv4*): New target.
386 * configure: Rebuild.
387
8dd07a84
ILT
388 * config/tc-sparc.c (md_pseudo_table): Change uahalf, uaword, and
389 uaxword to use s_uacons.
390 (sparc_no_align_cons): New static variable.
391 (s_uacons): New static function.
392 (sparc_cons_align): If sparc_no_align_cons is set, just clear it
393 and return.
394
395 * config/tc-sparc.c (s_common): Remove unused label allocate_bss.
396
cbe7dccb
ILT
397 * configure.in: Add mips-*-irix6* target. Handle Irix 6 like Irix
398 5 with regard to shared libraries.
399 * configure: Rebuild.
400
091221ce
ILT
401 * config/tc-m68k.c (m68k_ip): Use the correct length when
402 allocating space for the unsupported architecture error message.
403
7be9a312 404start-sanitize-d10v
05a8bf33
MM
405Thu Jul 18 12:57:10 1996 Michael Meissner <[email protected]>
406
407 * configure.in (d10v-*-*): Allow d10v-*-*, don't require d10v-*-elf*.
408
409Wed Jul 17 14:25:13 1996 Martin M. Hunt <[email protected]>
7be9a312
MH
410
411 * config/tc-d10v.c: New file.
412 * config/tc-d10v.h: New file.
413 * configure (d10v-*-elf): New target.
414 * configure.in (d10v-*-elf): New target.
415end-sanitize-d10v
416
10c9620d
MM
417Fri Jul 12 20:54:19 1996 Michael Meissner <[email protected]>
418
419 * config/tc-ppc.c (md_parse_option): Recognize -K PIC.
420
0ee09671
ILT
421Wed Jul 10 12:39:08 1996 Richard Henderson <[email protected]>
422
423 * config/tc-alpha.c (alpha_align): Change fill parameter
424 to a pointer. Take NULL as 0 or nop depending on section. Change
425 all callers.
426 (s_alpha_align): Rename local variables.
427
428 * doc/as.texinfo (.align): Document action of omitted
429 fill parameter.
430
3128726c
ILT
431Wed Jul 10 00:23:30 1996 Ian Lance Taylor <[email protected]>
432
433 * config/tc-ppc.c (md_apply_fix3): Give a useful error message
434 when an unsupported PC relative reloc is seen, rather than calling
435 abort.
436
437 * app.c (do_scrub_chars): Remove not_cpp_line local variable.
438 Instead, check state when '#' comment is seen.
439
7f003b7f
ILT
440Mon Jul 8 14:11:49 1996 Ian Lance Taylor <[email protected]>
441
a8aed9dd
ILT
442 * config/tc-mips.c (mips_regmask_frag): Only define if OBJ_ELF or
443 OBJ_MAYBE_ELF.
444 (tc_gen_reloc): If fixup was changed to be PC relative, change
445 reloc type accordingly. Use name of reloc in error message.
446
a5a78175
ILT
447 * as.h: Don't define const or volatile.
448 * flonum.h: Don't define const.
449
7f003b7f
ILT
450 * config/tc-m68k.c (tc_gen_reloc): Change the code appropriately
451 if fx_pcrel is set. Correct setting the addend case in the
452 OBJ_ELF case (from Andreas Schwab
453 <[email protected]>).
454 (md_show_usage): Correct -mfc5200 to -m5200.
455
8d20a0a8
C
456Fri Jul 5 10:32:58 1996 J.T. Conklin <[email protected]>
457
910d7df2
C
458 * doc/c-m68k.texi: Document -m5200 flag.
459 * doc/as.texinfo: Likewise.
460
8d20a0a8
C
461 * config/tc-m68k.c (m68k_ip): The coldfire does not support 8x
462 scale factor.
463
c0b34702
ILT
464Fri Jul 5 11:07:24 1996 Ian Lance Taylor <[email protected]>
465
466 * symbols.c (S_SET_EXTERNAL): Change as_warn to as_bad.
467 (S_CLEAR_EXTERNAL, S_SET_WEAK): Likewise.
468
45c85bcb
ILT
469Thu Jul 4 11:59:46 1996 Ian Lance Taylor <[email protected]>
470
6624477c
ILT
471 * Makefile.in (VERSION): Set to cygnus-2.7.1.
472
45c85bcb
ILT
473 * Released binutils 2.7.
474
fc636a52
JSC
475Thu Jul 4 10:11:33 1996 James G. Smith <[email protected]>
476
477 * config/tc-mips.c (mips_ip): Only perform range check when
478 dealing with O_constant expressions.
479
d41d2ccc
C
480Wed Jul 3 15:02:21 1996 J.T. Conklin <[email protected]>
481
482 * m68k-parse.h (m68k_register): Add new coldfile control
483 registers.
484
485 * config/tc-m68k.c (mcf5200_control_regs): New variable,
486 array of control registers for the coldfire.
487 (cpu_of_arch): Added mcf5200.
488 (archs): Added mcf5200.
489 (init_table): Add new control registers.
490 (m68k_ip): Added support for new control registers.
491 (m68k_init_after_args): Likewise.
492
493 * config/tc-m68k.c (md_show_usage): Add -m5200 to usage text.
494
5af96dce
ILT
495Wed Jul 3 16:05:50 1996 Ian Lance Taylor <[email protected]>
496
c5d8f96e
ILT
497 * read.h (is_it_end_of_statement): Declare.
498 * read.c (is_it_end_of_statement): Remove declaration.
499
500 * config/tc-ppc.c (ppc_elf_suffix): Correct parenthesization of ||
501 within &&.
502 (md_assemble): Fix handling of @l with an unsigned constant. Add
503 default case to reloc switch.
504
ac76c7e9
ILT
505 * config/tc-i386.h (AOUT_MACHTYPE): Define as 0 if TE_386BSD.
506
5af96dce
ILT
507 Based on patches from Tom Quiggle <[email protected]>:
508 * ecoff.c (last_lineno): New static variable.
509 (add_procedure): Set last_lineno.
510 (ecoff_directive_loc): Likewise.
511 (ecoff_generate_asm_lineno): Likewise.
512 (ecoff_fix_loc): New function.
513 * ecoff.h (ecoff_fix_loc): Declare.
514 * config/tc-mips.c (append_insn): When inserting nops, and using
515 ECOFF debugging, call ecoff_fix_loc.
516
b9bddc84
JL
517Tue Jul 2 23:02:12 1996 Jeffrey A Law ([email protected])
518
519 * config/tc-h8300.c (build_bytes): If an operand type is
520 marked as SRC_IN_DST retrieve it from the "destination" op.
521
379c2fb4
ILT
522Sat Jun 29 13:38:31 1996 Ian Lance Taylor <[email protected]>
523
69c1de90
ILT
524 * configure.in (arm-*-riscix*): Set emulation to riscix.
525 * configure: Rebuild.
526 * config/te-riscix.h: New file to define TE_RISCIX.
527
379c2fb4
ILT
528 * config/tc-sh.h (SUB_SEGMENT_ALIGN): Define.
529
530Fri Jun 28 15:14:31 1996 Ian Lance Taylor <[email protected]>
531
532 * Makefile.in (config.status): Just run config.status as other
533 tools do.
534
c611cd82
SS
535Fri Jun 28 11:09:38 1996 Stan Shebs <[email protected]>
536
537 * mpw-config.in (TARGET_OS): Add definition to conf.
538
fbf011f2
ILT
539Thu Jun 27 20:39:40 1996 James G. Smith <[email protected]>
540
541 * config/tc-mips.c (append_insn): Parenthesize
542 cop_interlocks expressions.
543
544Thu Jun 27 12:18:26 1996 Ian Lance Taylor <[email protected]>
545
546 * listing.c (listing_print): Close the listing file if it is not
547 stdout. Close the other files opened for the listing.
681dbbc0
ILT
548
549 * config/tc-sparc.h (md_cons_align): Define.
550 (sparc_cons_align): Declare.
551 (HANDLE_ALIGN): Define.
552 (sparc_handle_align): Declare.
553 * config/tc-sparc.c (sparc_cons_align): New function.
554 (sparc_handle_align): New function.
555 * read.c (cons_worker): Call md_cons_align if it is defined.
556
557 * as.h (struct frag): Add fr_file and fr_line fields.
558 * frags.c (frag_new): Set fr_file and fr_line.
559 (frag_var): Likewise.
560 (frag_variant): Likewise.
561
7e027ce6
ILT
562 * as.h (struct frag): Remove unused align_mask and align_offset
563 fields.
564
f9b990cd
ILT
565 * listing.c (calc_hex): Offset by fr_fix when examining fr_var.
566 From <[email protected]>.
567
9b4b98bd
ILT
568Wed Jun 26 13:21:34 1996 Ian Lance Taylor <[email protected]>
569
67b48b58
ILT
570 * configure.in (mips-*-osf*): New target.
571 * configure: Rebuild.
572
9b4b98bd
ILT
573 * config/tc-m68k.c: Add 68ec060 as a synonym for 68060.
574
344a8d61
JSC
575Wed Jun 26 16:23:08 1996 James G. Smith <[email protected]>
576
577 * config/tc-mips.c: Added cop_interlocks, to avoid NOP insertion
578 between co-processor comparisons and branches for the VR4300.
579
1c94de4d
JM
580Mon Jun 24 18:02:50 1996 Jason Molenda ([email protected])
581
582 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
583 INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
584 (docdir): Removed.
585 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
586 * doc/Makefile.in (bindir, libdir, datadir, mandir, infodir,
587 includedir): Use autoconf set values.
588 (docdir): Removed.
589
b290fd25
ILT
590Mon Jun 24 11:58:14 1996 Ian Lance Taylor <[email protected]>
591
1c94de4d
JM
592 * listing.c (listing_eject): Don't do anything if listing is 0.
593 (listing_list): Likewise.
594 (listing_source_line): Likewise.
595 (listing_title): Don't save title if listing is 0.
596 (listing_source_file): Check listing rather than listing_tail.
597
b290fd25
ILT
598 * configure.in: On alpha*-*-osf*, link against libbfd.a if not
599 using shared libraries.
600 * configure: Rebuild.
601
602Fri Jun 21 18:22:23 1996 Ian Lance Taylor <[email protected]>
603
604 * config/tc-mips.c (mips_ip): In case 'i'/'j', don't require an
605 absolute expression if a relocation type was specified.
606
644edced
ILT
607Fri Jun 21 17:40:16 1996 Joel Sherrill <[email protected]>
608
609 * configure.in: Add support for *-*-rtems* configurations.
610 * configure: Rebuild.
611
df586de2
ILT
612Fri Jun 21 16:01:18 1996 Richard Henderson <[email protected]>
613
614 * configure.in: Add alpha-*-linuxecoff* target. Use elf for
615 alpha-*-linux* target. Force bfd_gas for alpha-*. Require
616 opcodes library for alpha.
617 * configure: Rebuild with autoconf 2.10.
618 * config/tc-alpha.c: Substantial rewrite to add ELF support and
619 use new opcode table.
620 * config/tc-alpha.h (md_undefined_symbol): Don't define.
621 (LOCAL_LABEL): Define differently if OBJ_ELF.
622 (FAKE_LABEL_NAME): Define if OBJ_ELF.
623 * config/alpha-opcode.h: Remove.
624 * config/obj-elf.h: If TC_ALPHA, define ECOFF_DEBUGGING.
625 * Makefile.in (TARG_CPU_DEP_alpha): Depend upon
626 include/opcode/alpha.h rather than config/alpha-opcode.h.
627
7ca8e36e
ILT
628Thu Jun 20 19:10:28 1996 Ian Lance Taylor <[email protected]>
629
edec3111
ILT
630 * config/obj-aout.c (obj_emit_relocations): Give an error if the
631 relocation symbol was not resolved.
632 * config/obj-coff.c (do_relocs_for): Likewise.
633
7ca8e36e
ILT
634 * write.c (adjust_reloc_syms): Refetch the symbol section after
635 calling S_GET_VALUE, since it may have changed.
636
637 * expr.c (struct expr_symbol_line): Define.
638 (expr_symbol_lines): New static variable.
639 (make_expr_symbol): Add entry to expr_symbol_lines.
640 (expr_symbol_where): New function.
641 * expr.h: Use extern on function declarations.
642 (expr_symbol_where): Declare.
643 * symbols.c (resolve_symbol_value): Try to use expr_symbol_where
644 rather than printing the meaningless name of an expression
645 symbol.
646
214f540d
KR
647Thu Jun 20 15:57:41 1996 Ken Raeburn <[email protected]>
648
649 * config/tc-i386.c (md_number_to_chars): Deleted.
650 * config/tc-i386.h (md_number_to_chars): New macro.
651
652 * config/tc-alpha.c (build_operate_n, build_mem): Moved earlier in
653 the file.
654 (load_symbol_address, load_expression): Use build_mem.
655 (build_operate): New function.
656 (emit_addq_r): Use it.
657
658 Wed Mar 13 22:14:14 1996 Pat Rankin <[email protected]>
659
660 * symbols.c (colon): #if VMS, use S_SET_OTHER to store `const_flag'.
661
662 Tue Mar 5 14:31:45 1996 Pat Rankin <[email protected]>
663
664 * config/tc-vax.h (NOP_OPCODE): Define.
665
666 Sun Feb 4 21:01:03 1996 Pat Rankin <[email protected]>
667
668 * config/obj-vms.h (S_IS_COMMON): Define.
669 (S_IS_LOCAL): Check for \002 as well as \001.
670 (LONGWORD_ALIGNMENT): New macro.
671 (SUB_SEGMENT_ALIGN): Use it.
672
673 Fri Jan 26 17:44:09 1996 Pat Rankin <[email protected]>
674
675 * config/vms-conf.h: Reconcile with conf.in.
676
7b9b1eb2
ILT
677Wed Jun 19 11:31:50 1996 Ian Lance Taylor <[email protected]>
678
793f9558
ILT
679 * write.c (is_dnrange): Only define if TC_GENERIC_RELAX_TABLE is
680 defined.
681
84577dde
ILT
682 * doc/as.texinfo: Document that any number of hex digits can
683 follow \x.
684
0d6cae1e
ILT
685 * as.c (struct defsym_list): Define.
686 (defsyms): New static variable.
687 (parse_args): Just put --defsym arguments on defsyms list, rather
688 than defining them.
689 (main): Define defsyms after output file is created.
690
6e3f7f1b
ILT
691 * config/tc-m68k.c (m68k_ip): Reject PRE and POST indexing mode on
692 cpu32. From Eric Norum <[email protected]>.
693
8095b665
ILT
694 * config/tc-mips.c (mips_ip): In cases 'I', 'i', and 'j', set
695 insn_error rather than calling check_absolute_expr.
696
697 * as.c (emulation_name): Remove unused static variable.
698 (default_emul_bfd_name): Add return NULL to avoid warning.
699 * ecoff.c (ecoff_stab): Remove unused variables name and
700 name_end.
701 * frags.c (frag_new): Remove unused variable tmp.
702 * hash.c (hash_grow): Parenthesize + within <<.
703 (hash_print_statistics): Use %lu, not %d, to print unsigned
704 long variables.
705 * messages.c: Include "libiberty.h".
706 (fprint_value): Add cast to avoid printf warning.
707 (sprint_value): Likewise.
708 * read.c: Include "ecoff.h".
709 (emit_expr): Add casts to avoid printf warnings.
710 * read.h: Use extern for function declarations.
711 (pop_insert): Declare.
712 * stabs.c: Include "ecoff.h".
713 * subsegs.c (subseg_set_rest): Remove unused variables tmp,
714 former_last_fragP, and new_fragP.
715 * subsegs.h (subsegs_print_statistics): Declare.
716 * symbols.c (debug_verify_symchain): Change macro to discard
717 arguments.
718 * write.c (dump_section_relocs): Likewise.
719 * write.h: Use extern for function declarations.
720 (write_print_statistics): Declare.
721 * config/e-mipsecoff.c (mipsecoff_bfd_name): Return NULL to avoid
722 warning.
723 * config/e-mipself.c (mipself_bfd_name): Likewise.
724 * config/obj-elf.h (elf_ecoff_set_ext): Declare.
725
9ee759fc
ILT
726 * config/tc-sparc.h (TC_RELOC_RTSYM_LOC_FIXUP): If OBJ_ELF, always
727 emit relocations against external symbols.
728
faa3f539
ILT
729 * config/tc-alpha.c (tc_gen_reloc): Output a sensible error
730 message if bfd_reloc_type_lookup fails, rather than calling
731 assert.
732
7b9b1eb2
ILT
733 * config/tc-alpha.c (alpha_force_relocation): Add
734 BFD_RELOC_12_PCREL to switch.
735
736Tue Jun 18 20:29:57 1996 Doug Evans <[email protected]>
737
738 * config/tc-i386.h (LOCAL_LABEL,FAKE_LABEL_NAME): Use defaults for
739 TE_PE (Lfoo, not .Lfoo).
740
d9453233
ILT
741Tue Jun 18 17:13:33 1996 Ian Lance Taylor <[email protected]>
742
24b018ee
ILT
743 * read.c (s_fill): Don't warn about a zero repeat count.
744
c674dcaa
ILT
745 * config/tc-mips.c (mips_ip): Don't warn about using AT as a
746 coprocessor register.
747
d9453233
ILT
748 * config/tc-i386.c (md_assemble): When checking the size of a
749 register to set the size of an instruction, do a bitwise and with
750 Reg8 and Reg16 rather than requiring the type to be exactly Reg8
751 or Reg16.
752
3d0afe12
JL
753Tue Jun 18 13:19:51 1996 Jeffrey A. Law <[email protected]>
754
755 * config/tc-h8300.c (parse_reg): Tweak error messages.
756 (build_bytes): Likewise.
757 (skip_colonthing): Handle :32 suffix.
758 (get_specific): Promote L_24 to L_32 if it makes a match.
759 Don't always promote L_8 to L_16.
760 (do_a_fix_imm): Clean up L_32 and L_24 handling.
761
3d0afe12
JL
762 * config/tc-h8300.c (Smode): New variable.
763 (h8300hmode): Turn off Hmode.
764 (h8300smode): New function. Turn on Smode and Hmode.
765 (md_pseudo_table): New ".h8300s" pseudo-op.
766 (parse_reg): Handle "exr" register.
767 (get_operand): Handle bizarre syntax for "stm.l" and "ldm.l".
768 Handle "mach" and "machl" operands for ldmac.
769 (get_specific): Handle "stm.l" and "ldm.l".
770 (build_bytes): Handle "stm.l" and "ldm.l"; handle MACREG operands.
771 * config/tc-h8300.h (COFF_MAGIC): Handle H8/S magic number.
772 (Smode): Declare.
773
370181a2
C
774Mon Jun 17 15:50:53 1996 J.T. Conklin <[email protected]>
775
776 * doc/as.texinfo: Reorder chapter of machine dependent options so
777 that it is sorted by chip name.
778
779 * doc/as.texinfo: Use consistant spelling of Vax.
780 * doc/c-vax.texi: Likewise.
781
02d4dd87
JL
782Mon Jun 17 11:26:56 1996 Jeffrey A. Law <[email protected]>
783
784 * config/tc-hppa.c (md_pseudo_table): Add ".begin_try" and ".end_try"
785 pseudo ops.
786 (tc_gen_reloc, SOM version): Handle R_BEGIN_TRY and R_END_TRY.
787 (md_apply_fix): Likewise.
788 (pa_try): New function.
789 (hppa_force_relocation): Force relocs for BEGIN_TRY and END_TRY.
790
b81231b7
JL
791Sun Jun 16 22:57:47 1996 Jeffrey A. Law <[email protected]>
792
793 * config/tc-hppa.c (md_pseudo_table): Add ".level" pseudo op.
794 (pa_level): New function.
795
fe8d0ff3
ILT
796Fri Jun 14 20:06:44 1996 Ian Lance Taylor <[email protected]>
797
798 * listing.c (listing_newline): Don't do anything if listing is 0.
799
800Thu Jun 13 17:50:54 1996 Ian Lance Taylor <[email protected]>
801
802 * subsegs.c (section_symbol): If symbol_table_frozen is set, call
803 symbol_create, not symbol_new.
804
9bec2a42
ILT
805Wed Jun 12 14:10:44 1996 Ian Lance Taylor <[email protected]>
806
807 * write.c (adjust_reloc_syms): Don't set sy_used_in_reloc for an
808 absolute symbol unless TC_FORCE_RELOCATION returns true.
809
810 * config/obj-coff.c (previous_file_symbol): Remove BFD_ASSEMBLER
811 version.
812 (c_dot_file_symbol): BFD_ASSEMBLER version: Don't set the value of
813 the symbol to a pointer. Don't set previous_file_symbol.
814 Simplify symbol list rearrangement.
815 (coff_frob_symbol): Don't do anything with C_FILE symbols.
816 (coff_adjust_symtab): Don't check previous_file_symbol.
817
c992cf9b
MM
818Mon Jun 10 14:52:29 1996 Michael Meissner <[email protected]>
819
820 * config/tc-ppc.c (ppc_elf_lcomm): New function for .lcomm
821 directive.
822 (md_pseudo_table): Add ppc_elf_lcomm.
823
1ba76615 824Mon Jun 10 11:45:51 1996 Ian Lance Taylor <[email protected]>
92e61d31
ILT
825
826 * config/tc-m68k.c (m68k_ip): Accept ABSL for 'O', so that `bfextu
827 d0{24:1},d0' works without an immediate prefix on the bit numbers.
828 (md_begin): Add digits to alt_notend_table.
829 (md_parse_option): Make s a const pointer.
1ba76615 830
b91e85c2
ILT
831 * config/tc-sparc.c (md_pseudo_table): Add "empty".
832 (s_empty): New static function.
833
e789e620
ILT
834 * config/obj-coff.c (struct filename_list): Only define if not
835 BFD_ASSEMBLER.
836 (filename_list_head, filename_list_tail): Likewise.
837 (c_section_symbol): Remove unused BFD_ASSEMBLER version.
838 (obj_coff_endef, BFD_ASSEMBLER version): Don't set the debugging
839 flag for C_MOS, C_MOE, C_MOU, or C_EOS symbols, since they should
840 have a section of N_ABS rather than N_DEBUG. If we do a merge,
841 remove the new symbol from the list.
842 (obj_coff_endef, both versions): Call tag_insert even if there is
843 an old symbol with the same name, if the old symbol does not
844 happen to be a tag.
845 (coff_frob_symbol): Check SF_GET_TAG, C_EOF, and C_FILE outside of
846 the SF_GET_DEBUG condition. Don't call SA_SET_SYM_ENDNDX with a
847 symbol that will be moved to the end of the symbol list.
848 (coff_adjust_section_syms): Always call section_symbol for .text,
849 .data, and .bss.
850 (coff_frob_section): Likewise. Also, remove unused variable
851 strname.
852
0670452e
ILT
853 * config/tc-ns32k.c (convert_iif): Call frag_grow rather than
854 manipulating frags directly.
855 (md_number_to_field): Adjust mem_ptr correctly if ENDIAN is
856 defined.
857
41822c41
ILT
858 * app.c (do_scrub_chars): If '/' is LINE_COMMENT_START, check
859 whether the next character is '*' before checking whether we are
860 at the start of a line. Permit LINE_COMMENT_START to start a
861 comment in state 1 (seen some whitespace) as well, to match the
862 documentation.
863
1ba76615
ILT
864 * gasp.c (do_align): Permit a fill value for .align.
865
ed381b67
JW
866Wed Jun 5 17:09:26 1996 Ian Lance Taylor <[email protected]>
867
868 * read.c (next_char_of_string): Warn if a newline is seen in the
869 middle of a string. Call bump_line_counters when appropriate.
870
871Wed Jun 5 17:08:36 1996 Richard Henderson <[email protected]>
872
873 * symbols.c (colon): Use LOCAL_LABEL.
874
2c7aeec6
TT
875Tue Jun 4 10:55:16 1996 Tom Tromey <[email protected]>
876
877 * Makefile.in (install): Don't check to see if tooldir exists.
878 Make $(tooldir) and $(tooldir)/bin.
879
527b8324
MM
880Tue Jun 4 10:14:53 1996 Michael Meissner <[email protected]>
881
882 * config/ppc-sol.mt (TDEFINES): Don't turn on -mregnames by
883 default.
884
3b426f5a
ILT
885Mon Jun 3 11:34:41 1996 Ian Lance Taylor <[email protected]>
886
887 * config/tc-mips.c (mips_ip): Don't call as_warn if we are setting
888 insn_error. Don't put the string "ERROR" in insn_error. Set
889 insn_error rather than calling as_warn for an unsupported opcode.
890
9c44af60
ILT
891Sat Jun 1 21:51:55 1996 Ian Lance Taylor <[email protected]>
892
893 * config/tc-mips.c (md_parse_option): Check for a 64 bit format
894 before permitting -64.
895 * output-file.c (output_file_create): Remove duplicate
896 bfd_perror.
897
98bfd087
ILT
898Fri May 31 01:08:06 1996 Ian Lance Taylor <[email protected]>
899
87178180
ILT
900 * config/tc-mips.c (md_begin): If -64, create a .MIPS.options
901 section rather than a .reginfo section.
902 (mips_elf_final_processing): If -64, write out 64 bit RegInfo
903 information.
904
98bfd087
ILT
905 * config/tc-mips.c (load_register): If mips_isa < 3, permit a 32
906 bit value with the high bit set.
907
b95bee13
ILT
908Thu May 30 19:00:19 1996 Ian Lance Taylor <[email protected]>
909
910 * read.c (s_lcomm): Set section flags for .sbss section.
911
912 * config/tc-mips.c (mips_64): New static variable.
913 (mips_target_format): If mips_64, return elf64 targets rather than
914 elf32 ones.
915 (md_longopts): Add "32" and "64".
916 (md_parse_option): Handle -32 and -64.
917 (md_show_usage): Mention -32 and -64.
918 (cons_fix_new_mips): If mips_64, don't convert an 8 byte reloc to
919 a 4 byte one.
920
1facd5f0
MM
921Thu May 30 10:36:19 1996 Michael Meissner <[email protected]>
922
98bfd087
ILT
923 * config/tc-ppc.c (comment_chars): Make '!' a comment character
924 for Solaris compatibility.
d0e1c803 925
1facd5f0
MM
926 * stabs.c (s_stab_generic): Under PowerPC Solaris, convert a
927 .stabd with 4 arguments into a .stabn.
928
a40aee38
ILT
929Wed May 29 16:43:16 1996 Ian Lance Taylor <[email protected]>
930
931 * config/tc-mips.c (macro): When passing X_add_number to
932 macro_build, cast it to int first.
933
943bdfdc
ILT
934Tue May 28 13:29:39 1996 Ian Lance Taylor <[email protected]>
935
54388b85
ILT
936 * config/tc-z8k.c (md_apply_fix): Handle fx_r_type of 0, as
937 created by emit_expr.
938
943bdfdc
ILT
939 * symbols.c (symbol_create): If bfd_make_empty_symbol fails, call
940 as_perror rather than assert.
941
9b61d62b
ILT
942Fri May 24 18:24:11 1996 Ian Lance Taylor <[email protected]>
943
944 * config/tc-mips.c (mips_ip): Mark sections created to hold
945 floating point information as read only.
946
e30c0076
MM
947Fri May 24 12:07:54 1996 David Edelsohn <[email protected]>
948
949 * config/tc-ppc.c (ppc_set_cpu): Change defaults to match AIX.
950
63cafcef
MM
951Thu May 23 17:34:24 1996 Michael Meissner <[email protected]>
952
adeab39b
MM
953 * read.c (potable): Add .skip as a synonym for .space.
954
63cafcef
MM
955 * stabs.c (s_stab_generic): For PowerPC ELF, allow .stabd to take
956 4 arguments, providing the 4th argument is 0, to allow
957 compatibility with the Solaris assembler.
958
959Thu May 16 15:51:48 1996 Ian Lance Taylor <[email protected]>
960
961 * config/tc-sh.h (struct sh_segment_info_type): Define.
962 (TC_SEGMENT_INFO_TYPE): Define.
963 (sh_frob_label): Declare.
964 (tc_frob_label): Define.
965 (sh_flush_pending_output): Declare.
966 (md_flush_pending_output): Define.
967 * config/tc-sh.c (md_assemble): If relaxing, emit a R_SH_CODE
968 reloc before the instruction if necessary.
969 (sh_frob_label): New function.
970 (sh_flush_pending_output): New function.
971 (sh_coff_frob_file): Ignore ALIGN, CODE, DATA, and LABEL relocs
972 when looking for the reloc for the target of .uses.
973 (md_convert_frag): Fix printf format (%0xlx to 0x%lx).
974 (sh_force_relocation): Force CODE, DATA, and LABEL relocs to be
975 emitted.
976 (md_apply_fix): Ignore CODE, DATA, and LABEL relocs.
977 (sh_coff_reloc_mangle): Force CODE, DATA, and LABEL relocs to use
978 the absolute symbol.
979
980 * subsegs.h (segment_info_type): Add tc_segment_info_data field if
981 TC_SEGMENT_INFO_TYPE is defined.
982
3ea36b53
ILT
983Wed May 15 12:23:53 1996 Ian Lance Taylor <[email protected]>
984
985 * config/tc-i386.c (md_assemble): Make sure the opcode suffix
986 matches the register size.
987
ecb9b1ca
JL
988Wed May 15 08:33:37 1996 Jeffrey A Law ([email protected])
989
990 * config/obj-coff.c (count_entries_in_chain): Ignore Fixups with
991 fx_done set.
992 (do_relocs_for): Likewise.
993 (fixup_segment): Don't just quit if linkrelax is set. Try to
994 apply non pc-relative sym1-sym2 fixups, even if linkrelax is
995 nonzero.
996
f122568e
MM
997Fri May 10 14:16:59 1996 Michael Meissner <[email protected]>
998
999 * config/tc-ppc.c (ppc_elf_validate_fix): Allow GOT and section
1000 relative relocations with -mrelocatable. Also allow unfixed
1001 relocs in .ex_shared.
1002
6648d3ae
ILT
1003Tue May 7 11:24:10 1996 Ian Lance Taylor <[email protected]>
1004
1005 * config/obj-coff.c (yank_symbols): Check that FNAME_OFFSET is
1006 non-zero before assuming this is a long file name.
1007 (w_strings): Likewise.
1008 (c_dot_file_symbol): Set FNAME_OFFSET to 1 for a long file name.
1009
1010 * config/obj-coff.c (w_strings): Move declaration of i inside
1011 #ifdef block which uses it.
1012
c47fc401
JL
1013Tue May 7 00:49:58 1996 Jeffrey A Law ([email protected])
1014
1015 * config/tc-h8300.c (do_a_fix_imm): Rename last argument to
1016 "relaxmode". Output relocs which identify various relaxing
1017 possibilities for mov.[bwl] instructions.
1018 (build_bytes): Pass in a relaxing mode to do_a_fix_imm.
1019
9ea82743
DE
1020Mon May 6 15:26:28 1996 Doug Evans <[email protected]>
1021
1022 * config/tc-arm.h (TC_HANDLES_FX_DONE): Define.
1023 (MD_APPLY_FIX3): Define.
1024 * config/tc-arm.c (my_get_expression): Only watch for bad segments
1025 if OBJ_AOUT.
1026 (md_apply_fix3): Renamed from md_apply_fix.
1027 If pcrel reloc and symbol is in different section, undo effects
1028 of md_pcrel_from.
1029
ab7db73b
JL
1030Sat May 4 12:49:35 1996 Jeffrey A Law ([email protected])
1031
1032 * config/tc-hppa.c (hppa_fix_adjustable): Don't adjust
1033 any reloc with an LR% or RR% field selector for SOM.
1034
c9324fcd
ILT
1035Sat May 4 11:26:19 1996 Ian Lance Taylor <[email protected]>
1036
1037 * Makefile.in: Add subsegs.h to appropriate TARG_CPU_DEP_*
1038 variables.
1039
d4d7d98c
ILT
1040Fri May 3 17:58:31 1996 Ian Lance Taylor <[email protected]>
1041
1042 * config/obj-coff.c (coff_frob_symbol): Don't merge a symbol with
1043 SF_GET_STATICS set.
1044 (yank_symbols): Likewise.
1045
8fe2ec52
ILT
1046Wed May 1 13:38:17 1996 Ian Lance Taylor <[email protected]>
1047
7681eb9d
ILT
1048 * subsegs.h (segment_info_type): If MANY_SEGMENTS and not
1049 BFD_ASSEMBLER, add name field.
ba97ba7e
ILT
1050 * config/obj-coff.c: Include "libiberty.h".
1051 (coff_header_append): Handle long section names.
7681eb9d
ILT
1052 (crawl_symbols): Just use the name field for the symbol name,
1053 without worrying about null byte termination.
1054 (w_strings): Handle long section names.
1055 (write_object_file): Likewise. Also, use the name field, rather
1056 than scnhdr.s_name.
1057 (obj_coff_add_segment): Permit long section names.
1058 (obj_coff_init_stab_section): Use the name field, rather than
1059 scnhdr.s_name.
1060 (adjust_stab_section): Likewise.
1061 * config/te-pe.h (COFF_LONG_SECTION_NAMES): Define.
1062
8fe2ec52
ILT
1063 * config/tc-i960.c (brtab_emit): Don't set fx_im_disp field.
1064 (mem_fmt): Likewise.
1065 (md_apply_fix): Don't check fx_im_disp field.
1066
556829bc
ILT
1067Thu Apr 25 11:39:51 1996 Ian Lance Taylor <[email protected]>
1068
f9e36fc6
ILT
1069 * configure.in: Add * after sparc*-*-vxworks.
1070 * configure: Rebuild.
1071
556829bc
ILT
1072 * app.c (do_scrub_begin): If tc_comment_chars is not defined,
1073 define it to comment_chars. Use tc_comment_chars rather than
1074 comment_chars.
1075 (do_scrub_chars): Use tc_comment_chars rather than comment_chars.
1076 * config/tc-m68k.h (tc_comment_chars): Define.
1077 (m68k_comment_chars): Declare.
1078 * config/tc-m68k.c (m68k_comment_chars): Rename from
1079 comment_chars. Change into a pointer rather than an array.
1080 (md_longopts): Add "bitwise-or".
1081 (md_parse_option): Handle OPTION_BITWISE_OR.
1082 (md_show_usage): Mention --bitwise-or.
1083 * doc/c-m68k.texi: Document --bitwise-or.
1084
116bf30f
ILT
1085Wed Apr 24 11:28:38 1996 Ian Lance Taylor <[email protected]>
1086
912e4245
ILT
1087 * config/tc-m68k.c (m68k_ip): Prevent attempts to use long offsets
1088 in 68000 mode.
1089
116bf30f
ILT
1090 * config/obj-coff.c (obj_coff_section): BFD_ASSEMBLER version:
1091 call demand_empty_rest_of_line. Non BFD_ASSEMBLER version:
1092 correct handling of input line pointer, and call
1093 demand_empty_rest_of_line.
1094
58c9a12b
DE
1095Mon Apr 22 18:02:37 1996 Doug Evans <[email protected]>
1096
1097 * config/tc-sparc.c (in_bitfield_range): New static function.
1098 (sparc_ip): New cases X,Y. Use SPARC_OPCODE_ARCH_V9_P.
1099 (md_apply_fix, cases BFD_RELOC_32_PCREL_S2,
1100 BFD_RELOC_SPARC_{WDISP16,WDISP19}): Fix undefined code.
1101 (md_apply_fix): New cases BFD_RELOC_SPARC_[56].
1102 (tc_gen_reloc): New cases BFD_RELOC_SPARC_[56].
1103
ff406bd3
ILT
1104Thu Apr 18 18:58:33 1996 Ian Lance Taylor <[email protected]>
1105
1106 * config/obj-coff.c: BFD_ASSEMBLER:
1107 (coff_last_bf): New static variable.
1108 (coff_frob_symbol): Set endndx of a .bf symbol.
1109 Non BFD_ASSEMBLER:
1110 (obj_coff_endef): Call SF_SET_PROCESS on a .bf symbol.
1111 (last_bfP): New static variable.
1112 (yank_symbols): Set endndx of a .bf symbol.
1113
47d12b2c
MM
1114Thu Apr 18 11:53:58 1996 Michael Meissner <[email protected]>
1115
1116 * config/tc-ppc.c (md_parse_option): Add support for Solaris's -le
1117 and -s options. Add -be for good measure.
1118
3ce7f41a
ILT
1119Wed Apr 17 12:31:01 1996 Ian Lance Taylor <[email protected]>
1120
1121 * read.c (s_space): Support non-constant fill value. Handle fill
1122 value correctly for a size other than 1.
1123
865447db
DE
1124Tue Apr 16 15:17:40 1996 Doug Evans <[email protected]>
1125
1126 * config/tc-arm.c (my_get_float_expression): Update call to
1127 gen_to_words, X_PRECISION changed from 6 to 5.
1128
159e6ef8
MM
1129Tue Apr 16 10:25:42 1996 Michael Meissner <[email protected]>
1130
1131 * config/tc-ppc.c (register_name,reg_name_search): Move register
1132 name lookup from PE specific code to all targets. Add support for
1133 -mregnames/-mno-regnames to control whether register names are
1134 expanded or not.
1135 (md_assemble): Call register_name for all platforms.
1136 (md_parse_option): Add support for -mregnames/-mno-regnames.
1137
1138 * configure.in (powerpcle*-*-solaris): Add support.
1139 (powerpc*-*-linux): Ditto.
1140 * configure: Regenerate.
1141
1142 * config/ppc-sol.mt: New config file for PowerPC Solaris.
1143
7a15a226
ILT
1144Mon Apr 15 12:26:33 1996 Ian Lance Taylor <[email protected]>
1145
aa9e2dbe
ILT
1146 * config/tc-mips.c (mips_frob_file): Permit multiple %hi relocs to
1147 be associated with a single %lo reloc.
1148
7a15a226
ILT
1149 * config/tc-mips.c (load_address): Cast X_add_number to valueT
1150 before comparing against MAX_GPREL_OFFSET, so that negative
1151 numbers are handled correctly.
1152 (macro): Likewise.
1153
65feb78d
ILT
1154Thu Apr 11 12:39:02 1996 Ian Lance Taylor <[email protected]>
1155
ed94c2b8
ILT
1156 * config/tc-sparc.c (last_insn): New static variable.
1157 (md_assemble): Warn about putting floating point branches in a
1158 delay slot. If architecture is less than v9, insert NOP
1159 instructions between floating point instructions and floating
1160 point branches. (The SunOS assembler does both these operations.)
1161 Save the last instruction opcode.
1162 (sparc_ip): Add pinsn parameter. Change caller.
1163
65feb78d
ILT
1164 * config/tc-m68k.c (md_estimate_size_before_relax): Correct check
1165 for byte jump to next instruction to skip empty frags.
1166
456c301f
ILT
1167Wed Apr 10 16:48:12 1996 Ian Lance Taylor <[email protected]>
1168
1169 * config/tc-alpha.c (alpha_ip): If we are going to call emit_add64
1170 for addq with a 16 bit signed value, just emit a lda instruction
1171 instead.
1172
b3ed89e8
JL
1173Wed Apr 10 14:34:49 1996 Jeffrey A Law ([email protected])
1174
1175 * config/tc-h8300.c (do_a_fix_imm): Don't cut off high bits
1176 of a 32bit operand.
1177
b4cb4ea2
ILT
1178Mon Apr 8 14:42:53 1996 Ian Lance Taylor <[email protected]>
1179
1180 * configure.in: Permit --enable-shared to specify a list of
1181 directories.
1182 * configure: Rebuild.
1183
dcb195f8
JL
1184Fri Apr 5 17:01:35 1996 Jeffrey A Law ([email protected])
1185
1186 * config/tc-h8300.c (get_specific): Remove some #if 0 code.
1187 (build_bytes): Remove all ABSMOV related code; it's unnecessary.
1188
13e4a17e
ILT
1189Fri Apr 5 15:13:10 1996 Andreas Schwab <[email protected]>
1190
1191 * config/atof-ieee.c: Fix handling of denormalized extended
1192 precision numbers and overflow/underflow detection.
1193 (MAX_PRECISION, X_PRECISION, P_PRECISION): Changed from 6 to 5, to
1194 not include the 16 bit gap in the m68k extended precision format.
1195
2ae5f50b
ILT
1196Fri Apr 5 14:29:23 1996 Ian Lance Taylor <[email protected]>
1197
1198 * configure.in: Add i386-*-freebsdelf* target; from John Polstra
1199 <[email protected]>.
1200 * configure: Rebuild.
1201
54ea771f
JSC
1202Fri Apr 5 18:39:28 1996 James G. Smith <[email protected]>
1203
1204 * config/tc-mips.c: Allow non-zero offsets from .sdata symbols to
1205 be accessed using the $gp register.
1206 * config/tc-mips.h (MAX_GPREL_OFFSET): Added.
1207
65b12103
DE
1208Wed Apr 3 10:56:14 1996 Doug Evans <[email protected]>
1209
1210 * config/tc-sparc.c (sparc_md_end): Set bfd machine number to
1211 bfd_mach_sparc_sparclet if current_architecture is sparclet.
1212
2271578d
ILT
1213Mon Apr 1 16:55:44 1996 Ian Lance Taylor <[email protected]>
1214
1215 * read.c (get_line_sb): Bump line counters based on
1216 input_line_pointer[-1], not *input_line_pointer. Don't bother to
1217 call LISTING_NEWLINE.
1218 (s_macro): Don't call demand_empty_rest_of_line.
1219 * app.c (do_scrub_chars): When handling C style comments, unget
1220 ch2 rather than ch.
1221
7d3741ed
ILT
1222Fri Mar 29 16:15:06 1996 Ian Lance Taylor <[email protected]>
1223
1224 * read.h (enum linkonce_type): Define.
1225 (s_linkonce): Declare.
1226 * read.c (potable): Add "linkonce".
1227 (s_linkonce): New function.
1228 * subsegs.h (segment_info_type): Add linkonce field to
1229 MANY_SEGMENTS && ! BFD_ASSEMBLER section.
1230 * config/obj-coff.h (obj_handle_link_once): Define if TE_PE.
1231 (obj_coff_pe_handle_link_once): Declare if TE_PE.
1232 * config/obj-coff.c: If TE_PE and not BFD_ASSEMBLER, #include
1233 "coff/pe.h".
1234 (obj_coff_pe_handle_link_once): New function, defined if TE_PE.
1235 (c_section_symbol): If TE_PE, set the x_comdat field in the aux
1236 entry based on the linkonce field in segment_info.
1237 * doc/as.texinfo: Document .linkonce.
1238
0c203340
C
1239Fri Mar 29 11:31:27 1996 J.T. Conklin ([email protected])
1240
1241 * doc/as.1: Changed to be recognized by catman -w on Solaris.
1242
867a58b3
ILT
1243Thu Mar 28 15:27:47 1996 Ian Lance Taylor <[email protected]>
1244
3197da91
ILT
1245 * stabs.c (s_stab_generic): Call the listing functions before
1246 doing the rest of the processing, which may involve freeing the
1247 string. Pass string, not string + stroff, to OBJ_PROCESS_STAB in
1248 SEPARATE_STAB_SECTIONS case.
1249
3c071b9f
ILT
1250 * config/tc-hppa.c: Remove nested comment.
1251 (tc_gen_reloc): Move label done inside the ifdef in which it is
1252 used.
1253 (md_apply_fix): Pass pointers to correct types to libhppa.h
1254 functions. Always return a value.
1255
867a58b3
ILT
1256 * config/tc-mips.h (tc_frob_file): Define.
1257 (mips_frob_file): Declare.
1258 * config/tc-mips.c (struct mips_hi_fixup): Define.
1259 (mips_hi_fixup_list): New static variable.
1260 (imm_unmatched_hi): New static variable.
1261 (md_assemble): Clear imm_reloc, imm_unmatched_hi, and
1262 offset_reloc. Pass imm_unmatched_hi to append_insn.
1263 (append_insn): Add unmatched_hi parameter. If it is set, add the
1264 new fixup to mips_hi_fixup_list. Change all callers.
1265 (mips_ip): Set imm_unmatched_hi when appropriate.
1266 (mips_frob_file): New function.
1267
d0352cbb
DE
1268Thu Mar 28 11:47:59 1996 Doug Evans <[email protected]>
1269
1270 * configure.in (sparc-*-solaris2*): Renamed from sparc*-*-solaris2*.
1271 * configure: Regenerated.
1272
4f74c042
ILT
1273Tue Mar 26 18:19:12 1996 Ian Lance Taylor <[email protected]>
1274
1275 * as.c (main): Call bfd_set_error_program_name.
1276
5ba7c0be
ILT
1277Fri Mar 22 11:13:00 1996 Ian Lance Taylor <[email protected]>
1278
c7a89bde
ILT
1279 * as.h (strdup): Don't declare.
1280 * stabs.c: Include libiberty.h
1281 (get_stab_string_offset): Use xstrdup rather than strdup.
1282 (s_stab_generic): Likewise.
1283 * as.c (parse_args): Likewise.
1284 * read.c (s_mri_sect): Likewise.
1285
5ba7c0be
ILT
1286 * gasp.c (change_base): Recognize \(...) construct documented to
1287 pass through enclosed characters literally through to the output.
1288 (process_assigns): Likewise. Also, be more careful to avoid
1289 looking past the end of the buffer.
1290
1291Thu Mar 21 13:18:43 1996 Ian Lance Taylor <[email protected]>
1292
1293 * config/tc-i386.c (md_parse_option): If OBJ_ELF, ignore -k for
1294 FreeBSD compatibility. From John Polstra <[email protected]>.
1295
d1f38e13
ILT
1296Wed Mar 20 18:13:32 1996 Andreas Schwab <[email protected]>
1297
1298 * doc/as.texinfo, doc/c-i960.texi: Fix typos.
1299
649d87fe
ILT
1300Wed Mar 20 17:05:16 1996 David Mosberger-Tang <[email protected]>
1301
1302 * config/alpha-opcode.h: Added cvtst instruction.
1303
975def01
ILT
1304Mon Mar 18 13:12:46 1996 Ian Lance Taylor <[email protected]>
1305
1306 * ecoff.c (ecoff_stab): Don't try to make a symbol out of the stab
1307 string. Extract the addend from the result of expression.
1308
fde6018a
ILT
1309Fri Mar 15 17:10:43 1996 Ian Lance Taylor <[email protected]>
1310
1311 * app.c (do_scrub_chars): If whitespace is seen in state 11, and
1312 LABELS_WITHOUT_COLONS is not defined, and we are not in m68k MRI
1313 mode, change the state to 3 rather than 1.
1314
ee0f488d
ILT
1315Thu Mar 14 18:18:25 1996 Ian Lance Taylor <[email protected]>
1316
1317 * config/obj-coff.h (C_REGISTER_SECTION): Change from 20 to 50, to
1318 correspond to 11 March change.
1319
9da28504
JL
1320Thu Mar 14 15:27:10 1996 Jeffrey A Law ([email protected])
1321
1322 * config/tc-h8300.c (build_bytes, MEMIND case): Generate
1323 an R_MEM_INDIRECT reloc rather than R_RELBYTE.
1324
ea2488ad
ILT
1325Tue Mar 12 12:21:10 1996 Ian Lance Taylor <[email protected]>
1326
1327 * configure: Rebuild with autoconf 2.8.
1328
8fee8bf3
ILT
1329Mon Mar 11 18:57:12 1996 Ian Lance Taylor <[email protected]>
1330
1331 * config/atof-ieee.c (gen_to_words): Improve handling of
1332 X_PRECISION numbers. Based on patches from Andreas Schwab
1333 <[email protected]>.
1334
a31c2bc7
SC
1335Mon Mar 11 09:59:53 1996 Steve Chamberlain <[email protected]>
1336
1337 * as.h (SEG_NORMAL, SEG_LIST): Bump segment limit from 10 to 40.
1338 (SEG_LAST): New.
1339 * subsegs.c (MANY_SEGMENTS): Increase segment limit.
1340 * obj-coff.c (seg_N_TYPE, seg_info_off_by_4): Likewise.
1341 (do_relocs_for, w_symbols, obj_coff_add_segment, do_linenos_for,
1342 crawl_symbols, coff_header_append): Loop to SEG_LAST rather than
1343 SEG_E9.
1344
1345Thu Mar 7 15:17:39 1996 Doug Evans <[email protected]>
1346
1347 * config/tc-sparc.c (sparc_ip): Handle operand char 'O' (neg reg).
1348
73578b1e
JL
1349Thu Mar 7 09:19:15 1996 Jeffrey A Law ([email protected])
1350
1351 * config/tc-hppa.c (SUBSEG_MILLI): Define.
1352 (pa_def_subspaces): Add $MILLICODE$.
1353 (pa_spaces_begin): Set section flags for $MILLICODE$.
1354
0c27542f
ILT
1355Wed Mar 6 14:11:30 1996 Ian Lance Taylor <[email protected]>
1356
6b8ed20d
ILT
1357 * config/obj-elf.c (obj_elf_section): Only SEC_LOAD if the type is
1358 not SHT_NOBITS. Don't tamper with flags based on type if a
1359 special section was found (revert Feb 29 change).
1360
0c27542f
ILT
1361 * config/tc-sh.c (sh_do_align): Only align using the nop pattern
1362 if aligning to a longword boundary or greater.
1363
6a413d6f
JW
1364Tue Mar 5 15:10:43 1996 Jim Wilson <[email protected]>
1365
1366 * config/tc-sh.c (sh_do_align): Pass 1 not 2 to frag_align.
1367
4b295517
SC
1368Mon Mar 4 20:50:57 1996 Steve Chamberlain <[email protected]>
1369
1370 * configure.in (i386-*-cygwin32): Don't use bfd_gas.
1371 * configure: Regenerated.
1372
eff5fcda
JL
1373Mon Mar 4 10:13:06 1996 Jeffrey A Law ([email protected])
1374
421e2c27
JL
1375 * config/tc-hppa.c: Add default definitions for R_N0SEL and
1376 R_N1SEL since they're not defined for old versions of hpux.
1377
eff5fcda
JL
1378 * config/tc-hppa.c (tc_gen_reloc): Fix typo in R_COMP2 code.
1379 Set "sym_ptr_ptr" and "addend" fields to dummy values for
1380 R_N0SEL and R_N1SEL.
1381
bb1013d9
ILT
1382Fri Mar 1 10:20:52 1996 Andreas Schwab <[email protected]>
1383
d197a7ab
ILT
1384 * flonum-konst.c: Add two more constants for 1e+-2048 and
1385 1e+-4096, and correct the other constants.
1386
bb1013d9
ILT
1387 * symbols.c (resolve_symbol_value): Handle O_logical_not.
1388
30510276
MM
1389Thu Feb 29 13:58:35 1996 Michael Meissner <[email protected]>
1390
1391 * config/obj-elf.c (obj_elf_section): Allow predefined section
0d8405e8 1392 types to set the nobits type. Avoid a shadowed declaration.
30510276 1393
75c90d61
JL
1394Wed Feb 28 15:38:56 1996 Jeffrey A Law ([email protected])
1395
24b216e1
JL
1396 * config/tc-hppa.c (hppa_fix_adjustable): For SOM, don't
1397 reduce relocs using e_nlrsel field selectors.
1398
75c90d61
JL
1399 * write.c (fix_new_exp): Don't use #elif. Some compilers
1400 don't handle it.
83b59013
JL
1401
1402 * config/tc-hppa.c (selector_table): Add "n", "nl", and "nlr" to
1403 the selector table.
1404 (pa_chk_field_selector): Handle new field selectors for SOM.
1405
535cfd0f
ILT
1406Tue Feb 27 14:42:27 1996 Andreas Schwab <[email protected]>
1407
1408 * configure.in (m68k-*-linux*aout*, m68k-*-linux*): New targets.
1409 * configure: Rebuild.
1410 * config/te-linux.h (LOCAL_LABELS_FB): Define.
1411 * config/tc-m68k.h (TARGET_FORMAT) [TE_LINUX]: Define to
1412 "a.out-m68k-linux".
1413 * config/tc-m68k.c (comment_chars): Don't include '#' if TE_LINUX
1414 is defined.
1415
d214421e
SS
1416Mon Feb 26 18:58:58 1996 Stan Shebs <[email protected]>
1417
1418 * mpw-make.sed: Update to handle shared library support.
1419
110b814d
DE
1420Mon Feb 26 10:34:10 1996 Doug Evans <[email protected]>
1421
1422 * config/tc-sparc.c (sparc_ip): Print all architectures that support
1423 the insn on mismatch.
1424
805e36ab
RS
1425Fri Feb 23 21:44:39 1996 Rob Savoye <[email protected]>
1426
1427 * configure.in: Add support for a29-coff.
1428 * configure: Rebuild.
1429
e41ab2a6
ILT
1430Thu Feb 22 16:39:43 1996 Ian Lance Taylor <[email protected]>
1431
101a2346
ILT
1432 * config/tc-sh.c (sh_coff_frob_file): Don't consider the address
1433 of the section when looking for the R_SH_USES fixup, because the
1434 frag addresses have not yet been adjusted.
1435
940c413f
ILT
1436 * gdbinit.in: Set a breakpoint on as_warn_where.
1437
e41ab2a6
ILT
1438 * config/tc-mips.c (macro): Add missing arguments to macro_build
1439 omitted in last change. From Jim Wilson <[email protected]>.
1440
c6016ce2
ILT
1441Wed Feb 21 17:00:32 1996 Ian Lance Taylor <[email protected]>
1442
1443 * config/tc-h8300.c (tc_reloc_mangle): Change reloc based on size
1444 if it is TC_CONS_RELOC. Set a size of 4 to R_RELLONG.
1445
b32fbe07
DE
1446Wed Feb 21 09:25:39 1996 Doug Evans <[email protected]>
1447
1448 * config/tc-sparc.c (sparc_ip): Recognize %asr0 for v8.
1449
2e5e6879
DE
1450Tue Feb 20 21:48:03 1996 Doug Evans <[email protected]>
1451
1452 * config/tc-sparc.c (parse_keyword_arg): Accept leading '%'.
1453 (sparc_ip): Accept %asr[1..31] for v8 and %asr[%16..31] for v9.
1454 Recognize [uU] format args as sparclet cpregs.
1455
8a2e1fdd
ILT
1456Tue Feb 20 22:25:55 1996 Ian Lance Taylor <[email protected]>
1457
1458 * config/tc-sh.c (sh_handle_align): Don't emit R_SH_ALIGN relocs
1459 in bss_section.
1460
21965655
ILT
1461Mon Feb 19 14:16:24 1996 Ian Lance Taylor <[email protected]>
1462
1463 * config/tc-sparc.h (TC_RELOC_RTSYM_LOC_FIXUP): Check S_IS_WEAK as
1464 well as S_IS_EXTERNAL.
1465 (tc_fix_adjustable): Likewise.
1466 * config/tc-sparc.c (md_apply_fix): In OBJ_ELF case, check for
1467 S_IS_WEAK as well as S_IS_EXTERNAL when deciding whether to return
1468 early.
1469 (tc_gen_reloc): Check S_IS_WEAK as wel as S_IS_EXTERNAL when
1470 deciding whether to convert BFD_RELOC_32_PCREL_S2 if PIC.
1471
d8b42b96
DE
1472Mon Feb 19 02:15:57 1996 Doug Evans <[email protected]>
1473
1474 * config/tc-sparc.c (max_architecture): Change to sparclite for
1475 32 bit arch.
1476 (default_compatible): Delete.
1477 (sparc_ffs): New function.
1478 (md_begin): Only call SPARC_OPCODE_CONFLICT_P once.
1479 (sparc_ip): Rewrite architecture match and bump logic.
1480
7925f4d4
ILT
1481Sun Feb 18 15:03:50 1996 Ian Lance Taylor <[email protected]>
1482
1483 * configure.in: Check for 'do not mix' from native linker before
1484 trying to use -rpath.
1485 * configure: Rebuild.
1486
ef2074c2
ILT
1487Fri Feb 16 16:53:31 1996 Ian Lance Taylor <[email protected]>
1488
1489 * config/obj-coff.h (SF_ADJ_LNNOPTR): Define (non BFD_ASSEMBLER).
1490 (SF_GET_ADJ_LNNOPTR): Define (non BFD_ASSEMBLER).
1491 (SF_SET_ADJ_LNNOPTR): Define (non BFD_ASSEMBLER).
1492 * config/obj-coff.c (obj_coff_endef): Set ADJ_LNNOPTR when LNNOPTR
1493 is set.
1494 (w_symbols): If ADJ_LNNOPTR is set, add the section lnnoptr field
1495 to the symbol lnnoptr field, to get the correct file offset.
1496
28910c57
MM
1497Thu Feb 15 14:48:38 1996 Michael Meissner <[email protected]>
1498
1499 * config/obj-elf.c (elf_frob_symbol): On the PowerPC, force all
1500 symbols that are not function, file, or section symbols to be
1501 object types.
1502
7c2fadd1
ILT
1503Thu Feb 15 11:20:18 1996 Ian Lance Taylor <[email protected]>
1504
1a2f3c3f
ILT
1505 * configure: Set and substitute RPATH_ENVVAR.
1506 * configure: Rebuild.
1507 * Makefile.in (RPATH_ENVVAR): New variable.
1508 (check): Use $(RPATH_ENVVAR) rather than LD_LIBRARY_PATH.
1509
7c2fadd1
ILT
1510 * configure.in: Accept i686. From H.J. Lu <[email protected]>: i386
1511 doesn't need opcodes. If configuring shared, opcodes needs bfd.
1512 * configure: Rebuild.
1513
8a6f53e9
ILT
1514Wed Feb 14 16:33:12 1996 Martin Anantharaman <[email protected]>
1515
1516 * read.c (s_mri_sect): Don't return '\0' in type. Set all
1517 appropriate flags in BFD section.
1518
1519 * configure.in (m68k-*-psos*): New target.
1520 * configure: Rebuild.
1521 * config/te-psos.h: New file.
1522 * config/tc-m68k.c (comment_chars): Don't include '#' if TE_PSOS
1523 is defined.
1524
fb251650
ILT
1525Wed Feb 14 13:43:24 1996 Ian Lance Taylor <[email protected]>
1526
ae09d880
ILT
1527 From Alan Modra <[email protected]>:
1528 * configure.in: Remove duplicate setting of cpu_type. Check
1529 whether opcodes library is required for on all targets, not just
1530 primary one.
1531 * configure: Rebuild.
1532
fb251650
ILT
1533 * config/tc-mips.c (mips_big_got): New static variable.
1534 (s_extern): Don't declare.
1535 (reg_needs_delay): New static function.
1536 (macro_build): Permit GOT/CALL_HI/LO relocs.
1537 (macro_build_lui): If place is not NULL, use the number in the
1538 expression.
1539 (load_address): Handle mips_big_got case.
1540 (macro): Handle mips_big_got for M_LA_AB, M_JAL_A, and load and
1541 store macros.
1542 (OPTION_XGOT): Define.
1543 (md_longopts): Add "xgot" if OBJ_ELF.
1544 (md_parse_option): Handle -xgot.
1545 (md_show_usage): Mention -xgot.
1546 (md_apply_fix): Permit GOT/CALL_HI/LO relocs.
1547 (tc_gen_reloc): Handle GOT/CALL_HI/LO relocs.
1548
d9396c16
ILT
1549Wed Feb 14 11:22:27 1996 Andreas Schwab <[email protected]>
1550
1551 * config/tc-m68k.c (m68k_ip) [operand kind '#']: When fixing
1552 the byte relocation, point it to the low byte of the word.
1553
56f9773f
ILT
1554Tue Feb 13 15:31:18 1996 Ian Lance Taylor <[email protected]>
1555
1556 * configure.in: Set HDLFLAGS for *-*-hpux with --enable-shared.
1557 * configure: Rebuild.
1558
63e4edb5
DE
1559Mon Feb 12 15:53:46 1996 Doug Evans <[email protected]>
1560
1561 * configure.in: Recognize any sparc* cpu.
1562 * configure: Regenerated.
1563
15ed5f2c
ILT
1564Mon Feb 12 15:41:21 1996 Ian Lance Taylor <[email protected]>
1565
20710f1c
ILT
1566 * read.c (potable): Add "mri" and ".mri".
1567 (s_mri): New function.
1568 * read.h (s_mri): Declare.
1569 * app.c (scrub_m68k_mri): New static variable.
1570 (mri_pseudo): New static variable.
1571 (do_scrub_begin): Add m68k_mri parameter. Use it rather than
1572 flag_m68k_mri. Initialize scrub_m68k_mri.
1573 (mri_state, mri_last_ch): New static variables.
1574 (struct app_save): Add scrub_m68k_mri, mri_state, and mri_last_ch
1575 fields.
1576 (app_push): Save new fields.
1577 (app_pop): Restore new fields.
1578 (do_scrub_chars): Check scrub_m68k_mri rather than flag_mri_mri.
1579 If TC_M68K, use a trivial state machine to look for occurrences of
1580 the .mri pseudo-op, and change the mode appropriately.
1581 * as.h (do_scrub_begin): Update prototype.
1582 * input-scrub.c (input_scrub_begin): Pass flag_m68k_mri to
1583 do_scrub_begin.
1584 * config/tc-m68k.c (reg_prefix_optional_seen): New static
1585 variable.
1586 (m68k_mri_mode_change): New function.
1587 (md_parse_option): Set reg_prefix_optional_seen.
1588 * config/tc-m68k.h (m68k_mri_mode_change): Declare.
1589 (MRI_MODE_CHANGE): Define.
1590 * doc/as.texinfo: Document .mri pseudo-op.
1591
15ed5f2c
ILT
1592 * app.c (do_scrub_chars): In MRI mode, don't treat '#' as a
1593 comment character.
1594
a043f579
ILT
1595Mon Feb 12 15:16:29 1996 Andreas Schwab <[email protected]>
1596
1597 Support for OBJ_ELF on m68k, mostly inside #ifdef OBJ_ELF:
1598 * config/m68k-parse.h (enum pic_relocation): Define.
1599 (struct m68k_exp): Add pic_reloc field.
1600 * config/tc-m68k.h (TC_RELOC_RTSYM_LOC_FIXUP): Define.
1601 (tc_fix_adjustable): Define to call tc_m68k_fix_adjustable.
1602 (NO_RELOC): Define to BFD_RELOC_NONE if BFD_ASSEMBLER, to zero
1603 otherwise.
1604 * config/tc-m68k.c: Delete definition of NO_RELOC.
1605 (struct m68k_it): Add pic_reloc field.
1606 (add_fix): Copy over pic_reloc field.
1607 (md_pseudo_table): Interpret .align parameter as byte count.
1608 (mote_pseudo_table): Likewise.
1609 (tc_m68k_fix_adjustable): New function.
1610 (get_reloc_code): New function.
1611 (md_assemble): Use it as last argument to fix_new_exp.
1612 (md_apply_fix_2): For a relocation against a symbol don't put the
1613 addend into the data.
1614 (tc_gen_reloc): Different addend computation for OBJ_ELF.
1615 (m68k_ip): Don't relax an operand that requires pic relocation.
1616 (md_begin): Align .text, .data and .bss on 4 byte boundary by
1617 default.
1618 * write.c (fixup_segment): Don't add symbol value to addend if
1619 TC_M68K and OBJ_ELF.
1620 * config/m68k-parse.y (yylex): Handle @PLTPC, etc.
1621 (motorola_operand): Add rule for `(zapc, EXPR)'.
1622
6ca1156d
ILT
1623Mon Feb 12 10:07:33 1996 David Mosberger-Tang <[email protected]>
1624
1625 * ecoff.c (ecoff_directive_weakext): Fixed so that whitespace
1626 *really* is permissible before the comma.
1627
fcee3e24
ILT
1628Mon Feb 12 00:12:13 1996 Ian Lance Taylor <[email protected]>
1629
1630 * config/tc-sh.c (sh_do_align): Align to a 2 byte boundary before
1631 inserting nop instructions.
1632
3e1c964d
ILT
1633Fri Feb 9 10:54:19 1996 Ian Lance Taylor <[email protected]>
1634
1635 * config/te-aux.h: Change include of aux.h to aux-coff.h.
1636
4080c270
ILT
1637Thu Feb 8 20:02:58 1996 Ian Lance Taylor <[email protected]>
1638
d782e3cc
ILT
1639 * config/tc-i960.c (tc_coff_symbol_emit_hook): Correct storage
1640 class setting for a CALLNAME symbol in COFF.
1641
4080c270
ILT
1642 * read.c (potable): Pass negative numbers for new .balign[wl] and
1643 .p2align[wl] pseudo-ops.
1644 (s_align_bytes): Treat a negative argument as specifying the fill
1645 length.
1646 (s_align_ptwo): Likewise.
1647
1c9dbb83
ILT
1648Wed Feb 7 14:12:03 1996 Ian Lance Taylor <[email protected]>
1649
71dd3c40
ILT
1650 * read.c (potable): Add balignw, balignl, p2alignw, and p2alignl.
1651 (do_align): Take new len parameter. Change all callers. Pass it
1652 to md_do_align.
1653 (s_align_bytes): Arg now indicates the length of the fill pattern.
1654 (s_align_ptwo): Likewise.
1655 * config/obj-coff.c (write_object_file): Pass length to
1656 md_do_align.
1657 * config/tc-i386.h (md_do_align): Take new len parameter.
1658 * config/tc-m88k.h (md_do_align): Likewise.
1659 * config/tc-m88k.c (m88k_do_align): Likewise.
1660 * config/tc-sh.h (md_do_align): Likewise.
1661 * config/tc-sh.c (sh_do_align): Likewise.
1662 * doc/as.texinfo: Document new pseudo-ops.
1663
1664 * config/obj-coff.c (fixup_mdeps): Divide offset by fr_var, as is
1665 done in cvt_frag_to_fill.
1666
9addcbb1
ILT
1667 * config/tc-sh.h (sh_do_align): Declare.
1668 (md_do_align): Define.
1669 * config/tc-sh.c (sh_do_align): New function.
1670
c15ea23a
ILT
1671 * ecoff.c (ecoff_build_lineno): Don't try to store the address
1672 difference if the next address is before the current one.
1673
9e64486e
ILT
1674 * config/tc-m68k.c (struct m68k_cpu): Add alias field.
1675 (archs): Initialize new field.
1676 (m68k_ip): Don't list alias names when listing CPUs which support
1677 an instruction.
1678
1679 * as.c (main): Call parse_args before read_begin.
1680 * app.c (do_scrub_chars): If flag_m68k_mri, don't put a dot in
1681 front of generated pseudo-ops.
1682 * read.c (potable): Ignore "name".
1683 (s_app_file): Permit a single quote after the string, since one
1684 may appear in m68k MRI mode.
1685
1c9dbb83
ILT
1686 * configure.in: Check for --enable-shared. If linking against
1687 shared BFD and opcodes, fix library name on SunOS, and try to set
1688 -rpath reasonably.
1689 * configure: Rebuild.
1690
1691Tue Feb 6 15:16:17 1996 Ian Lance Taylor <[email protected]>
1692
1693 * as.h (flag_m68k_mri): Declare.
1694 * as.c (parse_args): If TC_M68K, set flag_m68k_mri for -M.
1695 * Many files: For MRI syntax that is specific to the m68k MRI
1696 assembler, check flag_m68k_mri rather than flag_mri or
1697 MRI_MODE_NEEDS_PSEUDO_DOT.
1698
dd1d79e8
ILT
1699Mon Feb 5 16:29:11 1996 Ian Lance Taylor <[email protected]>
1700
f9e90c2e
ILT
1701 * config/tc-i960.c (ARCH_HX): Define.
1702 (arch_tab): Add HX.
1703 (targ_has_sfr): Handle ARCH_HX.
1704 (targ_has_iclass): Handle ARCH_HX.
1705 (tc_coff_fix2rtype): Add return 0 to avoid warning.
1706 (tc_headers_hook): If the architecture was specified explicitly,
1707 use it when setting the flags. Set the extern variable coff_flags
1708 rather than headers->filehdr.f_flags, since the latter is set
1709 unconditionally in obj-coff.c.
1710 (i960_handle_align): Remove unused variable fixp.
1711
dd1d79e8
ILT
1712 Support for building bfd and opcodes as shared libraries, based on
1713 patches from Alan Modra <[email protected]>:
1714 * configure.in: Set OPCODES and BFD to search directories.
1715 Substitute OPCODES_DEP and BFDDEP. On SunOS, set HLDFLAGS.
1716 * configure: Rebuild.
1717 * Makefile.in (LDFLAGS, HLDFLAGS): New variables.
1718 (LIBDEPS): New variable.
1719 (as.new0: Depend upon $(LIBDEPS) rather than $(LIBS). Use
1720 $(HLDFLAGS) in link.
1721 (check): Set LD_LIBRARY_PATH in the environment.
1722
1723Fri Feb 2 17:41:53 1996 Michael Meissner <[email protected]>
1724
1725 * config/tc-ppc.h (ELF_TC_SPECIAL_SECTIONS): Make .sdata2, .sbss2,
1726 .PPC.EMB.sdata0, and .PPC.EMB.sbss0 sections all default to
1727 read-only, not read/write.
1728
e277d131
ILT
1729Fri Feb 2 14:09:25 1996 Alan Modra <[email protected]>
1730
1731 * Makefile.in (INSTALL_XFORM): Remove -e.
1732
e24cf2b5
ILT
1733Fri Feb 2 12:32:15 1996 Ian Lance Taylor <[email protected]>
1734
1735 * write.c (write_relocs): Use S_IS_DEFINED and S_IS_COMMON rather
1736 than comparing S_GET_SEGMENT to undefined_section.
1737 (write_object_file): Skip symbols which were equated to an
1738 undefined or common symbol.
1739 * symbols.c (resolve_symbol_value): Use S_IS_DEFINED and
1740 S_IS_COMMON rather than comparing S_GET_SEGMENT to
1741 undefined_section.
1742 (S_GET_VALUE): Likewise. Avoid recursion problems if S_IS_DEFINED
1743 or S_IS_COMMON call S_GET_VALUE.
1744 * config/obj-aout.h (S_IS_COMMON): Define if not BFD_ASSEMBLER.
1745 * config/obj-aout.c (obj_emit_relocations): If a reloc is equated
1746 to an undefined or common symbol, convert the reloc to be against
1747 the target symbol.
1748 (obj_crawl_symbol_chain): Skip symbols which were equated to an
1749 undefined or common symbol.
1750 * config/obj-bout.h (S_IS_COMMON): Define if not BFD_ASSEMBLER.
1751 * config/obj-bout.c (obj_emit_relocations): If a reloc is equated
1752 to an undefined or common symbol, convert the reloc to be against
1753 the target symbol.
1754 (obj_crawl_symbol_chain): Skip symbols which were equated to an
1755 undefined or common symbol.
1756 * config/obj-coff.c (do_relocs_for): Use S_IS_DEFINED and
1757 S_IS_COMMON rather than comparing S_GET_SEGMENT to
1758 undefined_section.
1759 (yank_symbols): Skip symbols which were equated to an undefined or
1760 common symbol.
1761
4d9e33e4
ILT
1762Thu Feb 1 15:34:32 1996 Ian Lance Taylor <[email protected]>
1763
9e396994
ILT
1764 * config/obj-aout.h (S_IS_LOCAL): Check for \002 as well as \001.
1765 * config/obj-bout.h (S_IS_LOCAL): Likewise.
1766
4d9e33e4
ILT
1767 * configure.in: Make sure we only add m68k-parse.o to
1768 ${extra_objects} once, no matter how many m68k targets have been
1769 enabled.
1770 * configure: Rebuild.
1771
0ff513d9
SC
1772Wed Jan 31 18:31:46 1996 Steve Chamberlain <[email protected]>
1773
1774 * configure.in (i386-*-cygwin32, ppc-*-cygwin32): New.
1775 * configure: Rebuild.
1776
66b935da
ILT
1777Wed Jan 31 14:03:17 1996 Richard Henderson <[email protected]>
1778
c174fb5c
ILT
1779 * config/tc-m68k.c (md_pseudo_table): Add "extend" and "ldouble".
1780 * doc/c-m68k.texi: Document .extend and .ldouble.
1781
66b935da
ILT
1782 * configure.in (m68*-apple-aux*): New target.
1783 * config/te-aux.h: New file.
1784 * config/obj-coff.c (compare_external_relocs): New static function
1785 if TE_AUX.
1786 (do_relocs_for): Sort relocs if TE_AUX.
1787 (fixup_segment): If TE_AUX, store common symbol value in segment.
1788 * config/tc-m68k.h (TARGET_FORMAT): Define if TE_AUX.
1789
30c2a08e
ILT
1790Wed Jan 31 12:24:58 1996 Ian Lance Taylor <[email protected]>
1791
9e396994 1792 * config/obj-coff.h (S_IS_LOCAL): Check for \002 as well as \001.
615c0a79 1793
30c2a08e
ILT
1794 * config/tc-mips.c (s_mips_globl): Set BSF_OBJECT if it is not
1795 BSF_FUNCTION.
1796 (s_cpload): Set BSF_OBJECT for _gp_disp symbol.
1797 * read.c (s_lcomm): If S_SET_SIZE is defined, set the size of the
1798 symbol.
1799 * ecoff.c (add_procedure): Set the BSF_FUNCTION flag.
1800 (ecoff_build_symbols): If S_SET_SIZE is defined, set the size of
1801 an undefined symbol and the size of a function symbol.
1802 * config/obj-elf.c (elf_frob_symbol): If TC_MIPS, set BSF_OBJECT
1803 for all common symbols.
1804
0e6f2f82
KR
1805Tue Jan 30 12:35:24 1996 Ken Raeburn <[email protected]>
1806
1807 * config/tc-i960.c (parse_memop): In MRI mode, don't use implicit
1808 scaling of index.
1809
1810 * expr.c (operand): Accept 0x hex constants in MRI mode if not on
1811 m68k.
1812
8e3ff081
ILT
1813Mon Jan 29 12:21:30 1996 Ian Lance Taylor <[email protected]>
1814
3e78d072
ILT
1815 * config/obj-elf.c (obj_elf_type): Set BSF_OBJECT flag for a type
1816 of object. From Ronald F. Guilmette <[email protected]>.
1817
8e3ff081
ILT
1818 * ecoff.c (localsym_t): Add addend field.
1819 (add_ecoff_symbol): Add addend argument. Change all callers.
1820 (coff_sym_value): Make static.
1821 (coff_sym_addend): New static variable.
1822 (ecoff_directive_def): Initialize coff_sym_addend.
1823 (ecoff_directive_val): Accept symbol + constant.
1824 (ecoff_directive_endef): Pass coff_sym_addend to add_ecoff_symbol.
1825 (ecoff_build_symbols): Include the addend in the symbol value.
1826
79edc846
KK
1827Fri Jan 26 19:28:52 1996 Kim Knuttila <[email protected]>
1828
1829 * config/tc-ppc.c (md_assemble): Ignore overflow on
1830 BFD_RELOC_16_GOTOFF and BFD_RELOC_PPC_TOC16.
1831
1832Fri Jan 26 16:14:17 1996 Michael Meissner <[email protected]>
1833
1834 * config/tc-ppc.c (md_apply_fix3): SDA21 relocations are now 4
1835 bytes in size, so offset appropriately in big endian mode when
1836 writing the bottom 2 bytes.
1837
6cbc4e35
DE
1838Thu Jan 25 20:26:23 1996 Doug Evans <[email protected]>
1839
1840 * config/tc-sparc.c (default_compatible): New static local.
1841 (md_begin): Initialize it. Rewrite warn_on_bump handling.
1842 (sparc_ip): If no architecture or -bump specified, don't mark as
1843 mismatched those in default_compatible.
1844
4fe0fddd
ILT
1845Thu Jan 25 12:21:53 1996 Ian Lance Taylor <[email protected]>
1846
1847 SCO ELF support from Robert Lipe <[email protected]>:
1848 * configure.in (i386-*-sco*elf*): Use fmt elf, targ sco5.
1849 * configure: Rebuild.
1850 * config/sco5.mt: New file; set TDEFINES to -DSCO_ELF.
1851 * config/tc-i386.c (sco_id): New function, if SCO_ELF.
1852 * config/tc-i386.h (tc_init_after_args): Define if SCO_ELF.
1853 (sco_id): Declare if SCO_ELF.
1854
e70ad5d5
DE
1855Thu Jan 25 03:10:53 1996 Doug Evans <[email protected]>
1856
1857 * config/tc-sparc.c (initial_architecture,can_bump_v9_p): Deleted.
1858 ({max,warn_after}_architecture): New static locals.
1859 (md_begin): Replace NUMOPCODES with sparc_num_opcodes.
1860 If both architecture and -bump requested, set max_architecture to max.
1861 (sparc_md_end): Simplify.
1862 (sparc_ip): Replace references to can_bump_v9_p with max_architecture.
1863 Rewrite code to bump architecture and check for conflicts.
1864 (md_longopts): Recognize -xarch={v8plus,v8plusa} for compatibility
1865 with Solaris assembler.
1866 (md_parse_option): Likewise. Call sparc_opcode_lookup_arch.
1867 (md_show_usage): Update.
1868
a8248831
DE
1869Wed Jan 24 22:11:03 1996 Doug Evans <[email protected]>
1870
1871 * Makefile.in (RUNTEST): Fix reference to $${srcdir}.
1872
6df07e7f
DE
1873Mon Jan 22 09:21:36 1996 Doug Evans <[email protected]>
1874
1875 * config/tc-sparc.h (TARGET_FORMAT): Use #ifdef SPARC_ARCH64 instead of
1876 #ifdef sparcv9 when choosing value.
1877 (ENV64): Delete.
1878 (md_end): Define.
1879 (sparc_md_end): Declare.
1880 * config/tc-sparc.c (SPARC_V9): Renamed from sparcv9.
1881 (initial_architecture): New static local.
1882 (can_bump_v9_p): Likewise.
1883 (NO_V9): Delete all occurrences.
1884 (sparc_md_end): New function.
1885 (sparc_ip): New local v9_arg_p. Rework fp reg number test.
1886 Don't bump architecture to v9 unless can_bump_v9_p set.
1887 (md_parse_option): -A<arch> passed, set can_bump_v9_p accordingly.
1888 * configure.in (sparc64 target cpu): Don't set obj_format here.
1889 (SPARC_V9): Renamed from sparcv9.
1890 (sparc64-*-elf*): Define SPARC_ARCH64.
1891 * configure: Regenerated.
1892 * acconfig.h (SPARC_V9): Renamed from sparcv9.
1893 (SPARC_ARCH64): Add.
7fcb3191 1894 * conf.in: Regenerated.
6df07e7f
DE
1895 * config/vmsconf.h: Update.
1896
c9c7c1d7
JSC
1897Mon Jan 22 17:24:47 1996 James G. Smith <[email protected]>
1898
1899 * config/tc-mips.c (load_register): Optimise "dli" loads.
1900 (md_show_usage): add "-mcpu=vr4100" to help text.
16ce20d4 1901
07ce72c9
ILT
1902Mon Jan 22 11:53:00 1996 Ian Lance Taylor <[email protected]>
1903
16ce20d4
ILT
1904 * symbols.c (resolve_symbol_value): If a symbol is equated to an
1905 undefined symbol, preserve the X_op of O_symbol.
1906 (S_GET_VALUE): Fix check to permit this case.
1907 * write.c (write_relocs): If a reloc is against an undefined
1908 symbol equated to another symbol, change the reloc to be against
1909 the latter symbol.
1910 * config/obj-coff.c (do_relocs_for): Likewise.
1911
07ce72c9
ILT
1912 * config/tc-ppc.c (ppc_csect): An unnamed csect is storage class
1913 XMC_PR.
1914
d971d39e
MM
1915Mon Jan 22 10:59:48 1996 Michael Meissner <[email protected]>
1916
1917 * config/obj-elf.c (elf/ppc.h): Include elf/ppc.h if target
1918 computer is PowerPC.
1919
1920 * config/tc-ppc.c (md_apply_fix3): Add more embedded relocations.
1921
1922 * config/tc-ppc.h (ELF_TC_SPECIAL_SECTIONS): Add sections
1923 mentioned in the eabi.
1924
0291f0f5
KK
1925Thu Jan 18 17:58:19 1996 Kim Knuttila <[email protected]>
1926
1927 * config/tc-ppc.c (ppc_reldata): Changed alignement on reldata_section
1928 * config/tc-ppc.c (ppc_pdata): Changed the alignment on pdata_section
1929
c682be53
MM
1930Mon Jan 15 17:43:42 1996 Michael Meissner <[email protected]>
1931
1932 * config/tc-ppc.c (mapping): Add more relocation suffixes.
1933
ee4fdbb9
MM
1934Sun Jan 14 21:29:36 1996 Michael Meissner <[email protected]>
1935
1936 * config/tc-ppc.c (ppc_elf_validate_fix): Allow .gcc_except_table
1937 as a section it is ok to have unadorned -mrelocatable pointers in.
1938
1939Sat Jan 13 11:09:08 1996 Michael Meissner <[email protected]>
747b98fe
MM
1940
1941 * config/tc-ppc.c (ppc_section*): Wrap these functions inside
1942 #ifdef OBJ_ELF.
1943
f99d287b
MM
1944Fri Jan 12 15:32:07 1996 Michael Meissner <[email protected]>
1945
1946 * config/obj-elf.c (obj_elf_section): Add hooks so machine
1947 dependent section attributes can be handled.
1948
1949 * config/tc-ppc.h: (md_elf_section_{letter,type,word,flags}): New
1950 macros to add support for exclude section flag and ordered section
1951 type.
1952
1953 * config/tc-ppc.c (ppc_elf_section_{letter,type,word,flags}): New
1954 functions to add support for exclude section flag and ordered
1955 section type.
1956
347a705b
ILT
1957Fri Jan 12 12:04:00 1996 Ian Lance Taylor <[email protected]>
1958
2a4e49a9
ILT
1959 * subsegs.c (section_symbol): Don't try to look up the section
1960 symbol in the hash table. It should be possible to have a symbol
1961 with the same name as a section, but no connection to it.
1962
d9f4dec1
ILT
1963 * read.c (cons_worker): Only call mri_comment_end from flag_mri.
1964 From James Carlson <[email protected]>.
1965
347a705b
ILT
1966 * expr.c (operand): Skip whitespace after a close parenthesis.
1967 From James Carlson <[email protected]>.
1968
10c8c95e
JW
1969Tue Jan 2 12:43:23 1996 Jim Wilson <[email protected]>
1970
1971 * config/tc-sh.c (md_apply_fix): Call as_bad_where instead of
1972 as_warn_where for relocation overflow.
347a705b
ILT
1973 (parse_reg): Accept register name only if next character is
1974 not alphanumeric.
10c8c95e 1975
cb844314
JL
1976Sat Dec 30 23:42:51 1995 Jeffrey A Law ([email protected])
1977
1978 * ecoff.c (ecoff_stab): Simplify. Correctly handle sym + offset
1979 addresses for static variables.
1980
36cb0e7c
MM
1981Thu Dec 21 12:54:32 1995 Michael Meissner <[email protected]>
1982
1983 * config/tc-ppc.c (mapping): Make @got give a real GOT relocation,
1984 and xgot give the old toc16 relocation.
1985 (md_apply_fix3): Support all GOT relocations.
1986
5e69b693
ILT
1987Wed Dec 20 14:57:17 1995 Ian Lance Taylor <[email protected]>
1988
1989 * config/tc-mips.c (load_address): Correctly handle a constant in
1990 SVR4_PIC case. From Richard Kenner <[email protected]>.
1991
29861dd0
C
1992Fri Dec 15 14:25:07 1995 J.T. Conklin <[email protected]>
1993
1994 * config/tc-sh.c (parse_reg): Recognize SH3 registers.
1995 (get_specific): Handle A_SSR, A_SPC and A_REG_B.
1996 (build_Mbytes): Handle REG_B.
1997
432b8fa8
ILT
1998Fri Dec 15 16:07:25 1995 Ian Lance Taylor <[email protected]>
1999
2000 * ecoff.c (ecoff_build_aux): Use new bfd_big_endian macro.
2001
ee68a042
RJ
2002Fri Dec 15 12:11:48 1995 Raymond Jou <[email protected]>
2003
2004 * mpw-make.sed: If linking, edit ALL_CFLAGS to CFLAGS.
2005
b14630f2
ILT
2006Thu Dec 14 15:09:52 1995 Ian Lance Taylor <[email protected]>
2007
2008 * config/obj-coff.c (write_object_file): Set the s_align field to
2009 the number of bytes, rather than to the power of 2.
2010
4a3d48fc
ILT
2011Tue Dec 12 12:19:37 1995 Ian Lance Taylor <[email protected]>
2012
2013 * Makefile.in (DISTCLEAN_HERE): New variable.
2014 (distclean): Use it.
2015 (maintainer-clean): Depend upon clean-here rather than clean,
2016 distclean, and clean-info. Run make maintainer-clean in doc.
2017 Remove files listed in DISTCLEAN_HERE.
2018 * doc/Makefile.in (maintainer-clean realclean): Split out from
2019 distclean. Depend upon clean-info and distclean.
2020
7e5e83cf
SS
2021Mon Dec 11 16:23:51 1995 Stan Shebs <[email protected]>
2022
2023 * mac-as.r: Fix copyright and version strings.
2024 (cfrg): Use PROG_NAME instead of literal name.
2025
1b10f50d
ILT
2026Mon Dec 11 14:14:08 1995 Ian Lance Taylor <[email protected]>
2027
2028 * read.c (read_a_source_file): If tc_unrecognized_line is defined,
2029 call it.
2030 * config/tc-a29k.h (tc_unrecognized_line): Define.
2031 * config/tc-a29k.c (a29k_unrecognized_line): New function.
2032 (md_operand): Handle a29k style local dollar labels.
2033
2f3bbb1b
ILT
2034Wed Dec 6 17:52:52 1995 Ian Lance Taylor <[email protected]>
2035
2036 * config/obj-multi.h: If OBJ_MAYBE_ELF, define OBJ_SYMFIELD_TYPE.
2037
624c91d1
KR
2038Tue Dec 5 13:26:34 1995 Ken Raeburn <[email protected]>
2039
2040 * read.c (s_fill): If md_flush_pending_output is defined, call
2041 it.
2042
9e4b3a23
KR
2043Mon Dec 4 15:10:53 1995 Ken Raeburn <[email protected]>
2044
2045 * config/obj-coff.c (size_section, fill_section, fixup_mdeps):
2046 Treat rs_align_code like rs_align.
2047
3554987a
DE
2048Sun Dec 3 16:46:54 1995 Richard Earnshaw ([email protected])
2049
2050 * config/tc-arm.c (cp_address_required_here): Set pre_inc when
2051 converting an absolute address into a PC-relative one.
2052
90f543f6
SS
2053Fri Dec 1 11:57:56 1995 Stan Shebs <[email protected]>
2054
2055 * mpw-config.in: Don't always use te-generic.h for emulation.
2056 (powerpc-apple-macos): Use emulation te-macos.h.
2057start-sanitize-gm
2058 (mips-gm-magic): New configuration.
2059end-sanitize-gm
2060 * mpw-make.sed (install, install-only): Edit in Mac-specific
2061 install procedure.
2062
d4c8a45e
ILT
2063Fri Dec 1 10:59:25 1995 Ian Lance Taylor <[email protected]>
2064
2eec8710
ILT
2065 * configure.in: Improve message about unsupported ELF targets.
2066 * configure: Rebuild.
2067
d4c8a45e
ILT
2068 * config/tc-m88k.c (m88k_do_align): Correct check for whether fill
2069 pattern is zero. From Manfred Hollstein.
2070
531a1af2
KK
2071Thu Nov 30 13:25:49 1995 Kim Knuttila <[email protected]>
2072
2073 * config/tc-ppc.c (ppc_pe_section): To get the alignment right for
2074 the various idata sections, we check the name on the .section pseudo.
2075
464070de
ILT
2076Thu Nov 30 11:23:42 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <[email protected]>
2077
2078 * config/obj-coff.c (fixup_segment): If TC_M88K is defined, do not
2079 add section's paddr to add_number; compatibility to native as and
2080 ld forbids.
2081
6a087325
KR
2082Wed Nov 29 23:14:27 1995 Ken Raeburn <[email protected]>
2083
9d5aef80
KR
2084 * configure.in: Treat m68k-sysv4 like m68k-elf, not m68k-sysv3.
2085
ac9ef8ee
KR
2086 * hash.c (struct hash_entry): Moved here...
2087 * hash.h (struct hash_entry): ...from here.
2088
6a087325
KR
2089 * config/obj-elf.c (elf_frob_symbol): Don't free and clear sy_obj
2090 if it's already known to be null.
2091
77fa4d98
MM
2092Wed Nov 29 13:00:20 1995 Michael Meissner <[email protected]>
2093
2094 * config/tc-ppc.c (md_apply_fix3): Don't adjust the value for 32
2095 bit relocs converted to PC relative relocs. This turned out to
2096 add the offset from the beginning of .text twice.
2097
c6e4e834
KR
2098Tue Nov 28 10:42:36 1995 Ken Raeburn <[email protected]>
2099
2100 * stabs.c (s_stab_generic): In 's' case, free string from
2101 obstack.
2102
2103 * config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS): Remove unused field
2104 sy_name_offset.
2105 * config/obj-multi.h (ELF_TARGET_SYMBOL_FIELDS) [OBJ_MAYBE_ELF]:
2106 Ditto.
2107
2108 * subsegs.h (segment_info_type): Make bitfields unsigned.
2109
2110 * expr.h (struct expressionS): Make X_op and X_unsigned bitfields,
2111 and move them together. On most systems this will reduce the
2112 structure size by one word.
2113 (operatorT): Define O_max.
2114 * expr.c (expr_begin): Verify that X_op is wide enough to hold
2115 O_max.
2116
2117 * read.c (pop_insert): Print error returned by hash table
2118 insertion code.
2119
2120 * as.c (dump_statistics): Split out from main; dump some hash
2121 table stats and target-specific stats.
2122 (start_time): No longer automatic to main.
2123 (main): Set file-level start_time and call dump_statistics at
2124 exit. Exit by calling xexit.
2125 (show_usage): Make --statistics description less specific.
2126 * subsegs.c (subsegs_print_statistics): New function.
2127 * write.c (write_print_statistics): New function.
2128 (n_fixups): New static variable.
2129 (fix_new_internal): Increment it.
2130 * read.c (read_print_statistics): New function.
2131 * read.h (read_print_statistics): Declare.
2132 * symbol.c (symbol_print_statistics): New function.
2133 * symbol.h (symbol_print_statistics): Declare.
2134 * hash.c (hash_print_statistics): New function.
2135 * hash.h (hash_print_statistics): Declare.
2136 * config/tc-i386.c (i386_print_statistics): New function.
2137 * config/tc-i386.h (i386_print_statistics): Declare.
2138 (tc_print_statistics): New macro.
2139 * messages.c (as_fatal, as_assert, as_abort): Use xexit, not
2140 exit.
2141
2142 * hash.c (DELETED): Rewrite to use a valid but unique address.
2143 (START_POWER): Reduce to 10.
2144 (enum stat_enum): New enumerator, replacing STAT_* index macros.
2145 Add new values for counting strcmp calls.
2146 (GROW_FACTOR): New macro.
2147 (hash_grow): Use GROW_FACTOR. Rewrite for quick returns instead
2148 of nesting blocks.
2149 (FULL_VALUE): New macro. Use 1/4 of table size instead of 1/2.
2150 (hash_new): Use FULL_VALUE.
2151 (struct hash_control): Definition moved here.
2152 (hash_code): Don't mask to low bits.
2153 (hash_ask): Mask returned hash code here. Check hash value before
2154 calling strcmp; count strcmp calls.
2155 * hash.h (struct hash_control): Declare, don't define, here.
2156 (HASH_STATLENGTH): Deleted.
2157 (struct hash_entry): Add field for hash code.
2158 (hash_say, hash_apply): Don't declare.
2159
2160 * hash.c (destroy): Return void.
2161 (applicatee): Ditto.
2162 (main): Fix declarations.
2163 (hash_apply): Return void. Argument `function' returns void. Put
2164 inside "#ifdef TEST".
2165 (hash_say): Define only if TEST is defined.
2166 * hash.h (hash_apply, hash_say): Declarations deleted.
2167
6a4667f4
ILT
2168Mon Nov 27 13:18:25 1995 Ian Lance Taylor <[email protected]>
2169
2170 * configure: Rebuild with autoconf 2.7.
2171
330add8a
ILT
2172Tue Nov 21 18:39:01 1995 Ian Lance Taylor <[email protected]>
2173
2174 * aclocal.m4 (AC_PROG_CC): Remove local definition.
2175 * configure: Rebuild with autoconf 2.6.
2176
520dd8d5
ILT
2177Mon Nov 20 17:26:00 1995 Ian Lance Taylor <[email protected]>
2178
2179 * config/tc-ppc.c (ppc_debug_name_section_size): Remove.
2180 (ppc_stabx): Don't increment ppc_debug_name_section_size.
2181 (ppc_bc): Likewise.
2182 (ppc_frob_file): Remove.
2183 * config/tc-ppc.h (tc_frob_file): Don't define.
2184 (ppc_frob_file): Don't declare.
2185
880b7429
KR
2186Mon Nov 20 13:37:05 1995 Ken Raeburn <[email protected]>
2187
d6c4a3fa
KR
2188 * Makefile.in (TARG_CPU_DEP_alpha): Mention alpha-opcode.h.
2189 * config/alpha-opcode.h: Include one-operand variants of jmp and
2190 jsr.
2191
880b7429
KR
2192 * config/te-delt88.h: Renamed from te-delta88.h, to avoid conflict
2193 with te-delta.h in 8.3 file systems.
2194 * configure.in: Adjusted.
2195
aa8a6656
ILT
2196Thu Nov 16 12:49:38 1995 Ian Lance Taylor <[email protected]>
2197
880b7429
KR
2198 * config/tc-mips.c (s_err): Remove; just use the one in read.c.
2199
aa8a6656
ILT
2200 * config/m68k-parse.y (yylex): In MRI mode, '@' can start an octal
2201 number.
2202 * expr.c (operand): Handle MRI suffixes after unadorned 0.
2203
7b889f5e
KR
2204Thu Nov 16 00:21:44 1995 Ken Raeburn <[email protected]>
2205
da9b55af
KR
2206 Version 2.6 released.
2207 * Makefile.in (VERSION): Updated to 2.6.
2208
7b889f5e
KR
2209 * config/obj-coff.c (write_object_file): Change use of md_do_align
2210 to pass a pointer rather than a fill value, to match other uses.
2211
46618ae6
KR
2212Wed Nov 15 03:52:00 1995 Ken Raeburn <[email protected]>
2213
7b889f5e
KR
2214 * config/tc-ns32k.h (TC_FIX_TYPE): Add missing semicolon.
2215
46618ae6
KR
2216 * as.c (main): Move md_end call to just after call to
2217 perform_an_assembly_pass. Delete cpu-specific code here.
2218 * config/tc-i960.h (md_end): New macro, calls brtab_emit.
46618ae6
KR
2219 * config/tc-arm.c (md_end): Unused function deleted.
2220 * config/tc-ns32k.c (md_end): Ditto.
2221
2222 * config/tc-i386.c (i386_align_code): New function, moved here
2223 from HANDLE_ALIGN macro.
2224 * config/tc-i386.h (HANDLE_ALIGN): Call it.
2225
2226 Mon Jul 31 14:53:19 1995 Alan Modra <[email protected]>
2227
2228 * config/tc-i386.h (md_do_align): cast fill and 0x90 to char
2229 before comparing
2230
2231 Mon May 1 10:91:49 1995 Alan Modra <[email protected]>
2232
2233 * config/tc-i386.h (md_do_align): Make ".align n,0x90" generate
2234 multi-byte nops to avoid changing gcc. The necessary gcc change
2235 might break old assemblers.
2236
2237 Sat Apr 22 20:53:05 1995 Alan Modra <[email protected]>
2238
2239 * config/tc-i386.h (md_do_align, HANDLE_ALIGN): Add macros to
2240 generate optimal multi-byte nop instructions for ".align n"
2241 ".align n,0x90", and aligns requiring more than 15 bytes of
2242 padding still generate multiple 0x90's as before.
2243
2244Mon Nov 13 17:40:21 1995 Ian Lance Taylor <[email protected]>
2245
2246 * config/tc-m68k.c (s_mri_until): Call pop_mri_control.
2247
51bc513e
SS
2248Mon Nov 13 20:39:06 1995 Stan Shebs <[email protected]>
2249
2250 * configure.in (ppc-*-macos*, ppc-*-mpw*): New configurations.
2251 * configure: Update.
2252 * mpw-make.sed: Reorder commands to make sed happier.
2253 * config/te-macos.h: New file.
2254 * config/tc-ppc.h (TARGET_FORMAT): Set correctly for PowerMac.
2255
8b39c5df
JL
2256Sun Nov 12 21:14:56 1995 Jeffrey A Law ([email protected])
2257
2258 * config/tc-hppa.c (pa_ip): Fix off-by-2 bug in length check for
2259 conditional branches.
2260 (md_apply_fix): Likewise.
2261
2262Thu Nov 9 16:14:01 1995 Ian Lance Taylor <[email protected]>
2263
2264 * config/tc-a29k.c (md_apply_fix): Warn if an attempt is made to
2265 generate a reloc which the linker will not handle correctly. Fix
2266 overflow checking--R_IREL is 18 bits, not 17.
2267
6a649eda
ILT
2268Wed Nov 8 19:59:36 1995 Ian Lance Taylor <[email protected]>
2269
a071b8e9
ILT
2270 * config/obj-coff.c (fixup_segment): Don't subtract md_pcrel_from
2271 from a PC relative reloc if TC_A29K.
2272
2273 * config/tc-a29k.c (line_separator_chars): Restore '@'. Existing
2274 code depends upon it.
2275
6a649eda
ILT
2276 * config/tc-a29k.c (md_operand): Handle $float, $double, and
2277 $extend. Based on code from Eric Freudenthal
2278 <[email protected]>.
2279 * config/tc-a29k.h (LEX_DOLLAR): Define.
2280 * read.c (LEX_DOLLAR): Define if not defined.
2281 (lex_type): Use LEX_DOLLAR.
2282
6364a188
ILT
2283Wed Nov 8 16:38:14 1995 Eric Freudenthal <[email protected]>
2284
2285 * configure.in (a29k-nyu-sym1): New target, just like other a29k
2286 targets.
2287
0fa6f8f6
ILT
2288Wed Nov 8 11:38:48 1995 Ian Lance Taylor <[email protected]>
2289
2290 * config/obj-coff.c (c_dot_file_symbol): Cast xmalloc return.
2291
2292Tue Nov 7 09:14:35 1995 Kim Knuttila <[email protected]>
2293
2294 * config/tc-ppc.c (md_apply_fix3): Added BFD_RELOC_RVA. Currently
2295 used only by "dlltool.c".
2296
eec2cfef
ILT
2297Mon Nov 6 18:51:26 1995 Ian Lance Taylor <[email protected]>
2298
2299 * config/tc-alpha.c: Undefine inline if not __GNUC__.
2300 (md_pseudo_table): Don't define "extern".
2301
df7504dc
ILT
2302Sat Nov 4 00:51:21 1995 Ian Lance Taylor <[email protected]>
2303
a3d1c561
ILT
2304 * config/tc-ppc.c (ppc_biei): Force symbol into text_section.
2305
df7504dc
ILT
2306 * config/tc-ppc.c (md_show_usage): Put backslash at end of line.
2307
07d012f6
ILT
2308Fri Nov 3 13:02:59 1995 Ian Lance Taylor <[email protected]>
2309
36e80ac6
ILT
2310 * macro.c (macro_expand_body): Don't warn about == with a
2311 nonexistent parameter, in case it is in a comment field.
2312
07d012f6
ILT
2313 * as.c (main): On TC_A29K, call macro_init with macro_alternate
2314 set to 1.
2315 * macro.c (get_any_string): Don't keep quotes if macro_strip_at is
2316 set, even if macro_alternate is set.
2317 (get_apost_token): If macro_strip_at, only skip kind if it is '@'.
2318 (sub_actual): If macro_strip_at, and kind is '@', don't look up
2319 the token unless it ended in '@'.
2320 * config/tc-a29k.c (line_separator_chars): Remove '@'.
2321 * doc/c-a29k.texi: Document macro usage on A29K.
2322
01f108bc
ILT
2323Thu Nov 2 23:07:57 1995 Ian Lance Taylor <[email protected]>
2324
2325 * config/tc-m68k.c (m68k_ip): Handle new 'W' place, meaning a
2326 signed word.
2327 (install_operand): Likewise.
2328
2329 * config/obj-elf.c (ecoff_debug_pseudo_table): Add "extern".
2330
2331Wed Nov 1 15:17:02 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <[email protected]>
2332
2333 * configure.in (m88k-motorola-sysv*): New target.
2334 * configure: Rebuild.
2335 * config/te-delta88.h: New file.
2336 * config/obj-coff.c (write_object_file): Use md_do_align if it is
2337 defined.
2338 * config/tc-m88k.h (SUB_SEGMENT_ALIGN): Define.
2339 (md_do_align): Define.
2340 * config/tc-m88k.c: Include "subsegs.h".
2341 (m88k_do_align): New function.
2342
2343 * config/te-delta.h (STRIP_UNDERSCORE): Don't define.
2344 (COFF_NOLOAD_PROBLEM): Define.
2345 (LOCAL_LABELS_DOLLAR, LOCAL_LABELS_FB): Define.
2346
7954cc14
KR
2347Wed Nov 1 16:07:43 1995 Ken Raeburn <[email protected]>
2348
2349 * config/tc-i386.c (md_assemble): For a jump instruction with
2350 non-constant target, require 7 available bytes in the current
2351 frag, not 6.
2352
d033806f
FF
2353Tue Oct 31 15:37:16 1995 Fred Fish <[email protected]>
2354
2355 * config/obj-elf.h: Include bfd/elf-bfd.h rather than
2356 bfd/libelf.h.
2357
d7b2038f
ILT
2358Tue Oct 31 16:34:28 1995 David Mosberger-Tang <[email protected]>
2359
2360 * configure.in (alpha-*-linux*): Use ecoff.
2361 * configure: Rebuild.
2362 * ecoff.c (ecoff_directive_extern): New function.
2363 (ecoff_directive_weakext): New function.
2364 (ecoff_build_symbols): Handle weak symbols.
2365 (ecoff_setup_ext): Likewise.
59c80ca2 2366 (ecoff_frob_symbol): Warn about weak common symbols.
d7b2038f
ILT
2367 * ecoff.h (ecoff_directive_extern): Declare.
2368 (ecoff_directive_weakext): Declare.
2369 * symbols.c (S_IS_WEAK): New function.
2370 * symbols.h (S_IS_WEAK): Declare.
2371 * config/obj-ecoff.c (obj_pseudo_table): Add "extern" and
2372 "weakext".
2373 * config/tc-mips.c (mips_pseudo_table): Remove "extern".
2374 (s_extern): Remove.
2375
cbdf59ad
ILT
2376Tue Oct 31 13:29:08 1995 Ian Lance Taylor <[email protected]>
2377
b629f627
ILT
2378 * config/tc-ppc.c (ppc_lglobl): Do the right thing.
2379
7ab1edc8
ILT
2380 * config/tc-ppc.c (ppc_bb): Call SF_SET_PROCESS.
2381 (ppc_eb): Likewise. Set the storage class to C_BLOCK, not C_FCN.
2382 (ppc_frob_symbol): Don't change C_BLOCK symbols to C_HIDEXT.
2383 * config/obj-coff.c (coff_frob_symbol): Don't call
2384 SA_SET_SYM_ENDNDX with the current symbol; call it with the next
2385 one. If OBJ_XCOFF, try to figure out whether the symbol is going
2386 to be dropped.
2387
31751d9d
ILT
2388 * config/tc-ppc.c (md_pseudo_table): Add "bc" and "ec".
2389 (ppc_stab_symbol): New static variable.
2390 (ppc_change_csect): Check that ppc_toc_csect is not NULL.
2391 (ppc_stabx): Set ppc_stab_symbol around call to symbol_make. Set
2392 sy_tc.real_name to the stab string.
2393 (ppc_bc, ppc_ec): New static functions.
2394 (ppc_canonicalize_symbol_name): If ppc_stab_symbol is set, don't
2395 do anything.
2396 (ppc_symbol_new_hook): If ppc_stab_symbol is set, don't look for a
2397 suffix.
0e3dd9a0
ILT
2398 (ppc_frob_symbol): Set BSF_NOT_AT_END for symbols with csect aux
2399 entries.
31751d9d 2400
cbdf59ad
ILT
2401 * input-scrub.c (input_scrub_push): Reset sb_index.
2402
91123dbe
ILT
2403Mon Oct 30 17:52:46 1995 Ian Lance Taylor <[email protected]>
2404
2405 * listing.c (listing_newline): Don't create a frag in the absolute
2406 section.
2407
73255941
ILT
2408Sat Oct 28 01:02:05 1995 Ian Lance Taylor <[email protected]>
2409
df72d2a5
ILT
2410 * config/tc-ppc.c (md_pseudo_table): Add "data" and "text".
2411 (ppc_csect): Move most of the code to ppc_change_csect, and call
2412 it.
2413 (ppc_change_csect): New static function, taken from ppc_csect.
2414 (ppc_section): New static function.
2415 (ppc_saw_abs): New static varable.
2416 (ppc_frob_symbol): Create aux entry for absolute symbols. Warn if
2417 a symbol has no csect.
2418 (ppc_adjust_symtab): New function.
2419 * config/tc-ppc.h (tc_adjust_symtab): Define if OBJ_XCOFF.
2420 (ppc_adjust_symtab): Declare if OBJ_XCOFF.
2421
2422 * write.c (write_object_file): If tc_adjust_symtab is defined,
2423 call it just before the call to obj_adjust_symtab.
2424
73255941
ILT
2425 * symbols.c (symbol_find_or_make): Change name to be const.
2426 * symbols.h (symbol_find_or_make): Update declaration.
2427
9bfaf1b9
KR
2428Thu Oct 26 19:18:27 1995 Ken Raeburn <[email protected]>
2429
2430 * doc/as.texinfo (Align): Mention SH.
2431 * doc/c-m68k.texi (M68K-Directives, .even): Describe behavior, not
2432 .align value.
2433 * doc/c-z8k.texi (Z8000 Directives, global): Fix minor typo.
2434 (Z8000 Directives, even): Don't give numeric align value, instead
2435 explain behavior.
2436
ae143278
DE
2437Thu Oct 26 11:45:03 1995 Richard Earnshaw ([email protected])
2438
2439 * tc-arm.c (do_ldst): Assemble ldr/str r0, [r1] as a pre-increment
2440 instruction.
2441
270433cc
PB
2442Wed Oct 25 11:59:24 1995 Per Bothner <[email protected]>
2443
2444 * Makefile.in (diststuff): Also make info.
2445 (maintainer-clean realclean): Also make clean-info.
2446
18a11401
JL
2447Tue Oct 24 15:21:33 1995 Jeffrey A Law ([email protected])
2448
2449 * config/tc-hppa.c (md_pseudo_table): Add new ".nsubspa" opcode.
2450 (pa_subspace): For ".nsubspa", always create a new subspace
2451 with the given attributes, even if one already exists with the
2452 same name.
2453
96fe71e1
MM
2454Tue Oct 24 14:50:38 1995 Michael Meissner <[email protected]>
2455
2456 * config/tc-ppc.h (TC_FORCE_RELOCATION_SECTION): Rename from
2457 TC_FORCE_RELOCATION, taking an additional section argument. If
2458 the section of the target symbol is not the same as the current
2459 section, always force the relocation to be used.
2460 (MD_PCREL_FROM_SECTION): New macro to call md_pcrel_from_section.
2461
2462 * config/tc-ppc.c (md_pcrel_from_section): Rename from the
2463 md_pcrel_from function, taking an additional section argument.
2464 Invoke TC_FORCE_RELOCATION_SECTION instead of TC_FORCE_RELOCATION.
2465
2466 * write.c (TC_FORCE_RELOCATION_SECTION): Define in terms of the
2467 older TC_FORCE_RELOCATION if not defined.
2468 (MD_PCREL_FROM_SECTION): If not defined, invoke md_pcrel_from.
2469 (fixup_segment): Use MD_PCREL_FROM_SECTION instead of
2470 md_pcrel_from, and TC_FORCE_RELOCATION_SECTION instead of
2471 TC_FORCE_RELOCATION.
2472
1d75481b
KR
2473Mon Oct 23 16:20:04 1995 Ken Raeburn <[email protected]>
2474
2475 * input-scrub.c (as_where): Set name to null pointer if we don't
2476 have a file name.
2477 * messages.c (identify): Only print filename if non-null.
2478 (as_show_where): Ditto, for line number too.
2479 (as_warn_internal, as_bad_internal): Ditto.
2480
2481 * input-file.c (input_file_open): If the input file can't be
2482 opened, consider it an error.
2483
c625fc23
JSC
2484Mon Oct 23 11:15:44 1995 James G. Smith <[email protected]>
2485
2486 * config/tc-mips.c: Added mips_4100 control, and support for
2487 accepting the 4100 as a MIPS architecture variant (md_begin,
2488 macro_build, mips_ip, md_parse_option). Adding suitable
2489 command-line OPTIONs, and updating the help text (md_show_usage).
2490
dd1a5316
KR
2491Wed Oct 18 13:20:32 1995 Ken Raeburn <[email protected]>
2492
c625fc23
JSC
2493 * subsegs.c (subseg_begin): Only set absolute_frchain.fix_* when
2494 BFD_ASSEMBLER is defined.
2495
3366a224
KR
2496 * Use one active frag and one obstack per frag chain:
2497 * frags.c (frags): Variable deleted.
2498 (frag_alloc): New function.
2499 (frag_grow, frag_more, frag_variant, frag_now_fix,
2500 frag_append_1_char): Refer to frchain_now->frch_obstack instead of
2501 frags variable.
2502 (frag_new): Ditto. Verify that frch_last and frag_now match on
2503 entry and exit, and that old frag_now has non-zero type. Replace
2504 "know" uses with "assert". Use frag_alloc instead of mucking with
2505 obstack alignment.
2506 * frags.h (frags): Declaration deleted.
2507 * subsegs.h (struct frchain): Add new field frch_frag_now.
2508 * subsegs.c (frchains, dummy_frag, absolute_frchain): New static
2509 variables.
2510 (subsegs_begin): Initialize frchains obstack. Under gcc, don't
2511 give it any stricter alignment than frchainS structures need. Do
2512 not initialize frags obstack. Set frag_now to point to
2513 dummy_obstack. Initialize absolute_frchain.
2514 (subseg_set_rest): Save and restore frag_now in frch_frag_now
2515 field of frchainS. Don't create new frags on section switch, and
2516 use frag_alloc when creating a new frag chain. For absolute
2517 section, set frchain_now to absolute_frchain. Verify that
2518 frch_last and frag_now match on entry and exit. Initialize
2519 per-chain obstack, and under gcc, set required alignment to that
2520 needed by fragS structure.
c625fc23 2521
3366a224
KR
2522 * write.c (chain_frchains_together_1): Verify fr_type is nonzero.
2523
2524 * stabs.c (get_stab_string_offset): Only copy input string if a
2525 fresh copy is needed, not if the section already exists.
2526 (s_stab_generic): Cache stab section name to bypass lookups, since
2527 usually it will match. Could be made faster still by changing the
2528 memory allocation rules.
2529 (s_xstab): Cache section name to bypass repeated string
2530 allocation.
2531
2532 * frags.c (frag_new): Deleted register declarations.
2533
2534 * listing.c (frag_now): Don't declare.
2535
2536 * as.c (chunksize): New variable.
2537 (debug_memory): New variable.
2538 (main): If debug_memory is set, reduce chunksize and
2539 _bfd_chunksize.
2540 * as.h (chunksize): Declare it.
2541 * read.c (read_begin): Use it.
2542
de5ebe2e
KR
2543 * config/tc-alpha.c (md_shortopts): Include 'g'.
2544 (md_parse_option): Ignore it.
2545
dd1a5316
KR
2546 * Makefile.in (distclean): Remove Makefile and config.status from
2547 testsuite directory.
2548 (clean-here): Don't delete testsuite. Instead, delete only the
2549 files within it that would be generated by running tests.
2550
de5ebe2e
KR
2551 * config/tc-hppa.c (hppa_elf_mark_end_of_function): Call
2552 frag_now_fix instead of accessing obstack info directly.
2553 * config/tc-arm.c (s_ltorg): Ditto.
2554 (md_assemble): Ditto.
2555
2556 * config/tc-i386.c (md_assemble): Call frag_grow instead of
2557 obstack_room.
2558
625f4e48
KR
2559Wed Oct 18 12:22:59 1995 Ken Raeburn <[email protected]>
2560
2561 * stabs.c (aout_process_stab): Insert debug symbol into symbol
2562 chain after parsing value expression, if any, to avoid separating
2563 continued .stabs lines.
2564
33a8c1b6
ILT
2565Mon Oct 16 10:56:41 1995 Ian Lance Taylor <[email protected]>
2566
2567 * config/tc-mips.c (mips_elf_pseudo_table): Remove.
2568 (mips_pop_insert): Don't call pop_insert on mips_elf_pseudo_table.
2569
b6b8f911
MM
2570Mon Oct 16 07:07:37 1995 Michael Meissner <[email protected]>
2571
625f4e48
KR
2572 * config/tc-ppc.c (md_begin): Use new flags PPC_OPCODE_COMMON for
2573 -mcom support and PPC_OPCODE_ANY for -many.
2574 (md_parse_option): Ditto.
2575 (ppc_arch): Ditto.
2576 (md_begin): For duplicate instructions, print all duplicates
2577 before aborting.
b6b8f911 2578
4c2935f4
MM
2579Sun Oct 15 22:06:14 1995 Michael Meissner <[email protected]>
2580
2581 * config/tc-ppc.c (md_parse_option): Support for -mcom to turn on
2582 common mode operation.
2583 (md_show_usage): Add -mcom to usage message.
4c2935f4
MM
2584
2585Fri Oct 13 13:32:45 1995 steve chamberlain <[email protected]>
2586
2587 * expr.c (op_rank): Add O_symbol_rva.
2588 * expr.h (operatorT): Add O_symbol_rva.
2589 * read.c (cons_worker): Set O_symbol_rva when necessary.
2590 * write.c (fix_new_exp): Understand O_symbol_rva.
2591
7db865dc
ILT
2592Tue Oct 10 11:34:14 1995 Ian Lance Taylor <[email protected]>
2593
2594 * config/tc-mips.c: Correct s_cons arguments. From Michael
2595 Joosten <[email protected]>.
2596
1b13e6fc
ILT
2597Mon Oct 9 19:59:53 1995 Ian Lance Taylor <[email protected]>
2598
2599 * config/tc-ppc.c (ppc_macro): Make count unsigned.
2600 (ppc_biei): Set segment to now_seg and value to coff_n_line_nos.
2601 (ppc_frob_symbol): Handle C_BINCL and C_EINCL symbols by setting
2602 the fix_line field.
2603 * config/obj-coff.c (coff_n_line_nos): Rename from n_line_nos, and
2604 make non-static. Change all users.
2605 * config/obj-coff.h (coff_n_line_nos): Declare.
2606
9e3e3d4c
KR
2607Fri Oct 6 16:24:27 1995 Ken Raeburn <[email protected]>
2608
2609 Mon Sep 25 22:49:32 1995 Andreas Schwab <[email protected]>
2610
2611 * configure.in (AC_ARG_WITH(bfd-assembler)): Fix help message.
2612
2613 * config/obj-elf.c (obj_elf_common): Convert specified byte
2614 alignment to power of two. Set size of local bss symbol.
2615
2616 * config/tc-m68k.c (tc_gen_reloc): Fix typo in variable name.
2617
13a6c753
ILT
2618Fri Oct 6 15:22:25 1995 Ian Lance Taylor <[email protected]>
2619
2620 * sb.c, macro.c: Decide whether to include <string.h> or
2621 <strings.h> just as as.h does.
2622
a75aafcd
DE
2623Fri Oct 6 09:55:33 1995 Doug Evans <[email protected]>
2624
2625 * Makefile.in (site.exp): Fix setting of $srcdir.
2626
2627 * config/tc-arm.c (md_atof): Fix little-endian output.
f6ec8c46
DE
2628 * config/tc-arm.h (ARM_BI_ENDIAN): Move definition so defined for
2629 all coff targets.
a75aafcd 2630
d89861c7
KR
2631Thu Oct 5 20:17:30 1995 Ken Raeburn <[email protected]>
2632
4d2ba393
KR
2633 * doc/as.texinfo: Split out the NS32k family documentation,
2634 despite its being commented out for now.
2635 * doc/c-ns32k.texi: New file.
2636
2c5eb48d
KR
2637 * sb.c, macro.c: Include string.h.
2638
6b0a6eaa
KR
2639 * Makefile.in (comparison): Only check *.o; we don't care if
2640 timestamps inserted by the native linker differ.
2641
d89861c7
KR
2642 * config/tc-alpha.c (alpha_align): Only fill with a no-op pattern
2643 if alignment stricter than 4 bytes is requested; in that case,
2644 align to a 4-byte boundary first.
2645
70aeac05
KR
2646 Thu Sep 28 19:35:27 1995 Pat Rankin <[email protected]>
2647
2648 * config/obj-vms.c (VMS_RSYM_Parse): eliminate "might be used
2649 uninitialized" warning for `Max_Source_Offset'.
2650
eaaa2a42
KK
2651Wed Oct 4 16:17:02 1995 Kim Knuttila <[email protected]>
2652
2653 * config/tc-ppc.c (parse_toc_entry): New function to parse [toc]
2654 qualifiers and detect errors if present.
2655 (md_assemble): Add call to parse_toc_entry. Also added some support
2656 for the [tocv] qualifier.
2657 (ppc_pe_tocd): New function to support data in the toc section.
2658
cd557d83
ILT
2659Wed Oct 4 14:03:39 1995 Ian Lance Taylor <[email protected]>
2660
2661 * config/tc-ppc.c (ppc_frob_symbol): Don't create an aux entry for
2662 an absolute symbol.
2663
42ac8fa8
ILT
2664Tue Oct 3 12:18:19 1995 Ian Lance Taylor <[email protected]>
2665
01f108bc 2666 * config/tc-m68k.c (isword): Accept all values from -65536 to
cd557d83
ILT
2667 +65535, so ~VAL will not be rejected.
2668
42ac8fa8
ILT
2669 * cond.c (s_endif): Call demand_empty_rest_of_line. In MRI mode,
2670 skip characters after the pseudo-op.
2671 (s_else): Likewise.
2672 * read.c (get_line_sb): Don't look past buffer_limit.
2673 (s_include): In MRI mode, skip characters after the file name.
2674
eef66934
ILT
2675Mon Oct 2 16:15:27 1995 Ian Lance Taylor <[email protected]>
2676
2677 * config/m68k-parse.y (m68k_reg_parse): In MRI mode, permit
2678 periods in register names.
2679
cdc49cba 2680For older changes see ChangeLog.1.
This page took 0.50398 seconds and 4 git commands to generate.