* configure.in: Recognize any sparc* cpu.
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
63e4edb5
DE
1Mon Feb 12 15:53:46 1996 Doug Evans <dje@charmed.cygnus.com>
2
3 * configure.in: Recognize any sparc* cpu.
4 * configure: Regenerated.
5
15ed5f2c
ILT
6Mon Feb 12 15:41:21 1996 Ian Lance Taylor <ian@cygnus.com>
7
8 * app.c (do_scrub_chars): In MRI mode, don't treat '#' as a
9 comment character.
10
a043f579
ILT
11Mon Feb 12 15:16:29 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
12
13 Support for OBJ_ELF on m68k, mostly inside #ifdef OBJ_ELF:
14 * config/m68k-parse.h (enum pic_relocation): Define.
15 (struct m68k_exp): Add pic_reloc field.
16 * config/tc-m68k.h (TC_RELOC_RTSYM_LOC_FIXUP): Define.
17 (tc_fix_adjustable): Define to call tc_m68k_fix_adjustable.
18 (NO_RELOC): Define to BFD_RELOC_NONE if BFD_ASSEMBLER, to zero
19 otherwise.
20 * config/tc-m68k.c: Delete definition of NO_RELOC.
21 (struct m68k_it): Add pic_reloc field.
22 (add_fix): Copy over pic_reloc field.
23 (md_pseudo_table): Interpret .align parameter as byte count.
24 (mote_pseudo_table): Likewise.
25 (tc_m68k_fix_adjustable): New function.
26 (get_reloc_code): New function.
27 (md_assemble): Use it as last argument to fix_new_exp.
28 (md_apply_fix_2): For a relocation against a symbol don't put the
29 addend into the data.
30 (tc_gen_reloc): Different addend computation for OBJ_ELF.
31 (m68k_ip): Don't relax an operand that requires pic relocation.
32 (md_begin): Align .text, .data and .bss on 4 byte boundary by
33 default.
34 * write.c (fixup_segment): Don't add symbol value to addend if
35 TC_M68K and OBJ_ELF.
36 * config/m68k-parse.y (yylex): Handle @PLTPC, etc.
37 (motorola_operand): Add rule for `(zapc, EXPR)'.
38
6ca1156d
ILT
39Mon Feb 12 10:07:33 1996 David Mosberger-Tang <davidm@azstarnet.com>
40
41 * ecoff.c (ecoff_directive_weakext): Fixed so that whitespace
42 *really* is permissible before the comma.
43
fcee3e24
ILT
44Mon Feb 12 00:12:13 1996 Ian Lance Taylor <ian@cygnus.com>
45
46 * config/tc-sh.c (sh_do_align): Align to a 2 byte boundary before
47 inserting nop instructions.
48
3e1c964d
ILT
49Fri Feb 9 10:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
50
51 * config/te-aux.h: Change include of aux.h to aux-coff.h.
52
4080c270
ILT
53Thu Feb 8 20:02:58 1996 Ian Lance Taylor <ian@cygnus.com>
54
d782e3cc
ILT
55 * config/tc-i960.c (tc_coff_symbol_emit_hook): Correct storage
56 class setting for a CALLNAME symbol in COFF.
57
4080c270
ILT
58 * read.c (potable): Pass negative numbers for new .balign[wl] and
59 .p2align[wl] pseudo-ops.
60 (s_align_bytes): Treat a negative argument as specifying the fill
61 length.
62 (s_align_ptwo): Likewise.
63
1c9dbb83
ILT
64Wed Feb 7 14:12:03 1996 Ian Lance Taylor <ian@cygnus.com>
65
71dd3c40
ILT
66 * read.c (potable): Add balignw, balignl, p2alignw, and p2alignl.
67 (do_align): Take new len parameter. Change all callers. Pass it
68 to md_do_align.
69 (s_align_bytes): Arg now indicates the length of the fill pattern.
70 (s_align_ptwo): Likewise.
71 * config/obj-coff.c (write_object_file): Pass length to
72 md_do_align.
73 * config/tc-i386.h (md_do_align): Take new len parameter.
74 * config/tc-m88k.h (md_do_align): Likewise.
75 * config/tc-m88k.c (m88k_do_align): Likewise.
76 * config/tc-sh.h (md_do_align): Likewise.
77 * config/tc-sh.c (sh_do_align): Likewise.
78 * doc/as.texinfo: Document new pseudo-ops.
79
80 * config/obj-coff.c (fixup_mdeps): Divide offset by fr_var, as is
81 done in cvt_frag_to_fill.
82
9addcbb1
ILT
83 * config/tc-sh.h (sh_do_align): Declare.
84 (md_do_align): Define.
85 * config/tc-sh.c (sh_do_align): New function.
86
c15ea23a
ILT
87 * ecoff.c (ecoff_build_lineno): Don't try to store the address
88 difference if the next address is before the current one.
89
9e64486e
ILT
90 * config/tc-m68k.c (struct m68k_cpu): Add alias field.
91 (archs): Initialize new field.
92 (m68k_ip): Don't list alias names when listing CPUs which support
93 an instruction.
94
95 * as.c (main): Call parse_args before read_begin.
96 * app.c (do_scrub_chars): If flag_m68k_mri, don't put a dot in
97 front of generated pseudo-ops.
98 * read.c (potable): Ignore "name".
99 (s_app_file): Permit a single quote after the string, since one
100 may appear in m68k MRI mode.
101
1c9dbb83
ILT
102 * configure.in: Check for --enable-shared. If linking against
103 shared BFD and opcodes, fix library name on SunOS, and try to set
104 -rpath reasonably.
105 * configure: Rebuild.
106
107Tue Feb 6 15:16:17 1996 Ian Lance Taylor <ian@cygnus.com>
108
109 * as.h (flag_m68k_mri): Declare.
110 * as.c (parse_args): If TC_M68K, set flag_m68k_mri for -M.
111 * Many files: For MRI syntax that is specific to the m68k MRI
112 assembler, check flag_m68k_mri rather than flag_mri or
113 MRI_MODE_NEEDS_PSEUDO_DOT.
114
dd1d79e8
ILT
115Mon Feb 5 16:29:11 1996 Ian Lance Taylor <ian@cygnus.com>
116
f9e90c2e
ILT
117 * config/tc-i960.c (ARCH_HX): Define.
118 (arch_tab): Add HX.
119 (targ_has_sfr): Handle ARCH_HX.
120 (targ_has_iclass): Handle ARCH_HX.
121 (tc_coff_fix2rtype): Add return 0 to avoid warning.
122 (tc_headers_hook): If the architecture was specified explicitly,
123 use it when setting the flags. Set the extern variable coff_flags
124 rather than headers->filehdr.f_flags, since the latter is set
125 unconditionally in obj-coff.c.
126 (i960_handle_align): Remove unused variable fixp.
127
dd1d79e8
ILT
128 Support for building bfd and opcodes as shared libraries, based on
129 patches from Alan Modra <alan@spri.levels.unisa.edu.au>:
130 * configure.in: Set OPCODES and BFD to search directories.
131 Substitute OPCODES_DEP and BFDDEP. On SunOS, set HLDFLAGS.
132 * configure: Rebuild.
133 * Makefile.in (LDFLAGS, HLDFLAGS): New variables.
134 (LIBDEPS): New variable.
135 (as.new0: Depend upon $(LIBDEPS) rather than $(LIBS). Use
136 $(HLDFLAGS) in link.
137 (check): Set LD_LIBRARY_PATH in the environment.
138
139Fri Feb 2 17:41:53 1996 Michael Meissner <meissner@wogglebug.tiac.net>
140
141 * config/tc-ppc.h (ELF_TC_SPECIAL_SECTIONS): Make .sdata2, .sbss2,
142 .PPC.EMB.sdata0, and .PPC.EMB.sbss0 sections all default to
143 read-only, not read/write.
144
e277d131
ILT
145Fri Feb 2 14:09:25 1996 Alan Modra <alan@spri.levels.unisa.edu.au>
146
147 * Makefile.in (INSTALL_XFORM): Remove -e.
148
e24cf2b5
ILT
149Fri Feb 2 12:32:15 1996 Ian Lance Taylor <ian@cygnus.com>
150
151 * write.c (write_relocs): Use S_IS_DEFINED and S_IS_COMMON rather
152 than comparing S_GET_SEGMENT to undefined_section.
153 (write_object_file): Skip symbols which were equated to an
154 undefined or common symbol.
155 * symbols.c (resolve_symbol_value): Use S_IS_DEFINED and
156 S_IS_COMMON rather than comparing S_GET_SEGMENT to
157 undefined_section.
158 (S_GET_VALUE): Likewise. Avoid recursion problems if S_IS_DEFINED
159 or S_IS_COMMON call S_GET_VALUE.
160 * config/obj-aout.h (S_IS_COMMON): Define if not BFD_ASSEMBLER.
161 * config/obj-aout.c (obj_emit_relocations): If a reloc is equated
162 to an undefined or common symbol, convert the reloc to be against
163 the target symbol.
164 (obj_crawl_symbol_chain): Skip symbols which were equated to an
165 undefined or common symbol.
166 * config/obj-bout.h (S_IS_COMMON): Define if not BFD_ASSEMBLER.
167 * config/obj-bout.c (obj_emit_relocations): If a reloc is equated
168 to an undefined or common symbol, convert the reloc to be against
169 the target symbol.
170 (obj_crawl_symbol_chain): Skip symbols which were equated to an
171 undefined or common symbol.
172 * config/obj-coff.c (do_relocs_for): Use S_IS_DEFINED and
173 S_IS_COMMON rather than comparing S_GET_SEGMENT to
174 undefined_section.
175 (yank_symbols): Skip symbols which were equated to an undefined or
176 common symbol.
177
4d9e33e4
ILT
178Thu Feb 1 15:34:32 1996 Ian Lance Taylor <ian@cygnus.com>
179
9e396994
ILT
180 * config/obj-aout.h (S_IS_LOCAL): Check for \002 as well as \001.
181 * config/obj-bout.h (S_IS_LOCAL): Likewise.
182
4d9e33e4
ILT
183 * configure.in: Make sure we only add m68k-parse.o to
184 ${extra_objects} once, no matter how many m68k targets have been
185 enabled.
186 * configure: Rebuild.
187
0ff513d9
SC
188Wed Jan 31 18:31:46 1996 Steve Chamberlain <sac@slash.cygnus.com>
189
190 * configure.in (i386-*-cygwin32, ppc-*-cygwin32): New.
191 * configure: Rebuild.
192
66b935da
ILT
193Wed Jan 31 14:03:17 1996 Richard Henderson <rth@tamu.edu>
194
c174fb5c
ILT
195 * config/tc-m68k.c (md_pseudo_table): Add "extend" and "ldouble".
196 * doc/c-m68k.texi: Document .extend and .ldouble.
197
66b935da
ILT
198 * configure.in (m68*-apple-aux*): New target.
199 * config/te-aux.h: New file.
200 * config/obj-coff.c (compare_external_relocs): New static function
201 if TE_AUX.
202 (do_relocs_for): Sort relocs if TE_AUX.
203 (fixup_segment): If TE_AUX, store common symbol value in segment.
204 * config/tc-m68k.h (TARGET_FORMAT): Define if TE_AUX.
205
30c2a08e
ILT
206Wed Jan 31 12:24:58 1996 Ian Lance Taylor <ian@cygnus.com>
207
9e396994 208 * config/obj-coff.h (S_IS_LOCAL): Check for \002 as well as \001.
615c0a79 209
30c2a08e
ILT
210 * config/tc-mips.c (s_mips_globl): Set BSF_OBJECT if it is not
211 BSF_FUNCTION.
212 (s_cpload): Set BSF_OBJECT for _gp_disp symbol.
213 * read.c (s_lcomm): If S_SET_SIZE is defined, set the size of the
214 symbol.
215 * ecoff.c (add_procedure): Set the BSF_FUNCTION flag.
216 (ecoff_build_symbols): If S_SET_SIZE is defined, set the size of
217 an undefined symbol and the size of a function symbol.
218 * config/obj-elf.c (elf_frob_symbol): If TC_MIPS, set BSF_OBJECT
219 for all common symbols.
220
0e6f2f82
KR
221Tue Jan 30 12:35:24 1996 Ken Raeburn <raeburn@cygnus.com>
222
223 * config/tc-i960.c (parse_memop): In MRI mode, don't use implicit
224 scaling of index.
225
226 * expr.c (operand): Accept 0x hex constants in MRI mode if not on
227 m68k.
228
8e3ff081
ILT
229Mon Jan 29 12:21:30 1996 Ian Lance Taylor <ian@cygnus.com>
230
3e78d072
ILT
231 * config/obj-elf.c (obj_elf_type): Set BSF_OBJECT flag for a type
232 of object. From Ronald F. Guilmette <rfg@monkeys.com>.
233
8e3ff081
ILT
234 * ecoff.c (localsym_t): Add addend field.
235 (add_ecoff_symbol): Add addend argument. Change all callers.
236 (coff_sym_value): Make static.
237 (coff_sym_addend): New static variable.
238 (ecoff_directive_def): Initialize coff_sym_addend.
239 (ecoff_directive_val): Accept symbol + constant.
240 (ecoff_directive_endef): Pass coff_sym_addend to add_ecoff_symbol.
241 (ecoff_build_symbols): Include the addend in the symbol value.
242
79edc846
KK
243Fri Jan 26 19:28:52 1996 Kim Knuttila <krk@cygnus.com>
244
245 * config/tc-ppc.c (md_assemble): Ignore overflow on
246 BFD_RELOC_16_GOTOFF and BFD_RELOC_PPC_TOC16.
247
248Fri Jan 26 16:14:17 1996 Michael Meissner <meissner@tiktok.cygnus.com>
249
250 * config/tc-ppc.c (md_apply_fix3): SDA21 relocations are now 4
251 bytes in size, so offset appropriately in big endian mode when
252 writing the bottom 2 bytes.
253
6cbc4e35
DE
254Thu Jan 25 20:26:23 1996 Doug Evans <dje@charmed.cygnus.com>
255
256 * config/tc-sparc.c (default_compatible): New static local.
257 (md_begin): Initialize it. Rewrite warn_on_bump handling.
258 (sparc_ip): If no architecture or -bump specified, don't mark as
259 mismatched those in default_compatible.
260
4fe0fddd
ILT
261Thu Jan 25 12:21:53 1996 Ian Lance Taylor <ian@cygnus.com>
262
263 SCO ELF support from Robert Lipe <robertl@arnet.com>:
264 * configure.in (i386-*-sco*elf*): Use fmt elf, targ sco5.
265 * configure: Rebuild.
266 * config/sco5.mt: New file; set TDEFINES to -DSCO_ELF.
267 * config/tc-i386.c (sco_id): New function, if SCO_ELF.
268 * config/tc-i386.h (tc_init_after_args): Define if SCO_ELF.
269 (sco_id): Declare if SCO_ELF.
270
e70ad5d5
DE
271Thu Jan 25 03:10:53 1996 Doug Evans <dje@charmed.cygnus.com>
272
273 * config/tc-sparc.c (initial_architecture,can_bump_v9_p): Deleted.
274 ({max,warn_after}_architecture): New static locals.
275 (md_begin): Replace NUMOPCODES with sparc_num_opcodes.
276 If both architecture and -bump requested, set max_architecture to max.
277 (sparc_md_end): Simplify.
278 (sparc_ip): Replace references to can_bump_v9_p with max_architecture.
279 Rewrite code to bump architecture and check for conflicts.
280 (md_longopts): Recognize -xarch={v8plus,v8plusa} for compatibility
281 with Solaris assembler.
282 (md_parse_option): Likewise. Call sparc_opcode_lookup_arch.
283 (md_show_usage): Update.
284
a8248831
DE
285Wed Jan 24 22:11:03 1996 Doug Evans <dje@charmed.cygnus.com>
286
287 * Makefile.in (RUNTEST): Fix reference to $${srcdir}.
288
6df07e7f
DE
289Mon Jan 22 09:21:36 1996 Doug Evans <dje@charmed.cygnus.com>
290
291 * config/tc-sparc.h (TARGET_FORMAT): Use #ifdef SPARC_ARCH64 instead of
292 #ifdef sparcv9 when choosing value.
293 (ENV64): Delete.
294 (md_end): Define.
295 (sparc_md_end): Declare.
296 * config/tc-sparc.c (SPARC_V9): Renamed from sparcv9.
297 (initial_architecture): New static local.
298 (can_bump_v9_p): Likewise.
299 (NO_V9): Delete all occurrences.
300 (sparc_md_end): New function.
301 (sparc_ip): New local v9_arg_p. Rework fp reg number test.
302 Don't bump architecture to v9 unless can_bump_v9_p set.
303 (md_parse_option): -A<arch> passed, set can_bump_v9_p accordingly.
304 * configure.in (sparc64 target cpu): Don't set obj_format here.
305 (SPARC_V9): Renamed from sparcv9.
306 (sparc64-*-elf*): Define SPARC_ARCH64.
307 * configure: Regenerated.
308 * acconfig.h (SPARC_V9): Renamed from sparcv9.
309 (SPARC_ARCH64): Add.
7fcb3191 310 * conf.in: Regenerated.
6df07e7f
DE
311 * config/vmsconf.h: Update.
312
c9c7c1d7
JSC
313Mon Jan 22 17:24:47 1996 James G. Smith <jsmith@cygnus.co.uk>
314
315 * config/tc-mips.c (load_register): Optimise "dli" loads.
316 (md_show_usage): add "-mcpu=vr4100" to help text.
16ce20d4 317
07ce72c9
ILT
318Mon Jan 22 11:53:00 1996 Ian Lance Taylor <ian@cygnus.com>
319
16ce20d4
ILT
320 * symbols.c (resolve_symbol_value): If a symbol is equated to an
321 undefined symbol, preserve the X_op of O_symbol.
322 (S_GET_VALUE): Fix check to permit this case.
323 * write.c (write_relocs): If a reloc is against an undefined
324 symbol equated to another symbol, change the reloc to be against
325 the latter symbol.
326 * config/obj-coff.c (do_relocs_for): Likewise.
327
07ce72c9
ILT
328 * config/tc-ppc.c (ppc_csect): An unnamed csect is storage class
329 XMC_PR.
330
d971d39e
MM
331Mon Jan 22 10:59:48 1996 Michael Meissner <meissner@tiktok.cygnus.com>
332
333 * config/obj-elf.c (elf/ppc.h): Include elf/ppc.h if target
334 computer is PowerPC.
335
336 * config/tc-ppc.c (md_apply_fix3): Add more embedded relocations.
337
338 * config/tc-ppc.h (ELF_TC_SPECIAL_SECTIONS): Add sections
339 mentioned in the eabi.
340
0291f0f5
KK
341Thu Jan 18 17:58:19 1996 Kim Knuttila <krk@cygnus.com>
342
343 * config/tc-ppc.c (ppc_reldata): Changed alignement on reldata_section
344 * config/tc-ppc.c (ppc_pdata): Changed the alignment on pdata_section
345
c682be53
MM
346Mon Jan 15 17:43:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
347
348 * config/tc-ppc.c (mapping): Add more relocation suffixes.
349
ee4fdbb9
MM
350Sun Jan 14 21:29:36 1996 Michael Meissner <meissner@tiktok.cygnus.com>
351
352 * config/tc-ppc.c (ppc_elf_validate_fix): Allow .gcc_except_table
353 as a section it is ok to have unadorned -mrelocatable pointers in.
354
355Sat Jan 13 11:09:08 1996 Michael Meissner <meissner@tiktok.cygnus.com>
747b98fe
MM
356
357 * config/tc-ppc.c (ppc_section*): Wrap these functions inside
358 #ifdef OBJ_ELF.
359
f99d287b
MM
360Fri Jan 12 15:32:07 1996 Michael Meissner <meissner@tiktok.cygnus.com>
361
362 * config/obj-elf.c (obj_elf_section): Add hooks so machine
363 dependent section attributes can be handled.
364
365 * config/tc-ppc.h: (md_elf_section_{letter,type,word,flags}): New
366 macros to add support for exclude section flag and ordered section
367 type.
368
369 * config/tc-ppc.c (ppc_elf_section_{letter,type,word,flags}): New
370 functions to add support for exclude section flag and ordered
371 section type.
372
347a705b
ILT
373Fri Jan 12 12:04:00 1996 Ian Lance Taylor <ian@cygnus.com>
374
2a4e49a9
ILT
375 * subsegs.c (section_symbol): Don't try to look up the section
376 symbol in the hash table. It should be possible to have a symbol
377 with the same name as a section, but no connection to it.
378
d9f4dec1
ILT
379 * read.c (cons_worker): Only call mri_comment_end from flag_mri.
380 From James Carlson <carlson@xylogics.com>.
381
347a705b
ILT
382 * expr.c (operand): Skip whitespace after a close parenthesis.
383 From James Carlson <carlson@xylogics.com>.
384
10c8c95e
JW
385Tue Jan 2 12:43:23 1996 Jim Wilson <wilson@chestnut.cygnus.com>
386
387 * config/tc-sh.c (md_apply_fix): Call as_bad_where instead of
388 as_warn_where for relocation overflow.
347a705b
ILT
389 (parse_reg): Accept register name only if next character is
390 not alphanumeric.
10c8c95e 391
cb844314
JL
392Sat Dec 30 23:42:51 1995 Jeffrey A Law (law@cygnus.com)
393
394 * ecoff.c (ecoff_stab): Simplify. Correctly handle sym + offset
395 addresses for static variables.
396
36cb0e7c
MM
397Thu Dec 21 12:54:32 1995 Michael Meissner <meissner@tiktok.cygnus.com>
398
399 * config/tc-ppc.c (mapping): Make @got give a real GOT relocation,
400 and xgot give the old toc16 relocation.
401 (md_apply_fix3): Support all GOT relocations.
402
5e69b693
ILT
403Wed Dec 20 14:57:17 1995 Ian Lance Taylor <ian@cygnus.com>
404
405 * config/tc-mips.c (load_address): Correctly handle a constant in
406 SVR4_PIC case. From Richard Kenner <kenner@vlsi1.ultra.nyu.edu>.
407
29861dd0
C
408Fri Dec 15 14:25:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
409
410 * config/tc-sh.c (parse_reg): Recognize SH3 registers.
411 (get_specific): Handle A_SSR, A_SPC and A_REG_B.
412 (build_Mbytes): Handle REG_B.
413
432b8fa8
ILT
414Fri Dec 15 16:07:25 1995 Ian Lance Taylor <ian@cygnus.com>
415
416 * ecoff.c (ecoff_build_aux): Use new bfd_big_endian macro.
417
ee68a042
RJ
418Fri Dec 15 12:11:48 1995 Raymond Jou <rjou@mexican.cygnus.com>
419
420 * mpw-make.sed: If linking, edit ALL_CFLAGS to CFLAGS.
421
b14630f2
ILT
422Thu Dec 14 15:09:52 1995 Ian Lance Taylor <ian@cygnus.com>
423
424 * config/obj-coff.c (write_object_file): Set the s_align field to
425 the number of bytes, rather than to the power of 2.
426
4a3d48fc
ILT
427Tue Dec 12 12:19:37 1995 Ian Lance Taylor <ian@cygnus.com>
428
429 * Makefile.in (DISTCLEAN_HERE): New variable.
430 (distclean): Use it.
431 (maintainer-clean): Depend upon clean-here rather than clean,
432 distclean, and clean-info. Run make maintainer-clean in doc.
433 Remove files listed in DISTCLEAN_HERE.
434 * doc/Makefile.in (maintainer-clean realclean): Split out from
435 distclean. Depend upon clean-info and distclean.
436
7e5e83cf
SS
437Mon Dec 11 16:23:51 1995 Stan Shebs <shebs@andros.cygnus.com>
438
439 * mac-as.r: Fix copyright and version strings.
440 (cfrg): Use PROG_NAME instead of literal name.
441
0ff513d9 442
1b10f50d
ILT
443Mon Dec 11 14:14:08 1995 Ian Lance Taylor <ian@cygnus.com>
444
445 * read.c (read_a_source_file): If tc_unrecognized_line is defined,
446 call it.
447 * config/tc-a29k.h (tc_unrecognized_line): Define.
448 * config/tc-a29k.c (a29k_unrecognized_line): New function.
449 (md_operand): Handle a29k style local dollar labels.
450
2f3bbb1b
ILT
451Wed Dec 6 17:52:52 1995 Ian Lance Taylor <ian@cygnus.com>
452
453 * config/obj-multi.h: If OBJ_MAYBE_ELF, define OBJ_SYMFIELD_TYPE.
454
624c91d1
KR
455Tue Dec 5 13:26:34 1995 Ken Raeburn <raeburn@cygnus.com>
456
457 * read.c (s_fill): If md_flush_pending_output is defined, call
458 it.
459
9e4b3a23
KR
460Mon Dec 4 15:10:53 1995 Ken Raeburn <raeburn@cygnus.com>
461
462 * config/obj-coff.c (size_section, fill_section, fixup_mdeps):
463 Treat rs_align_code like rs_align.
464
3554987a
DE
465Sun Dec 3 16:46:54 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
466
467 * config/tc-arm.c (cp_address_required_here): Set pre_inc when
468 converting an absolute address into a PC-relative one.
469
90f543f6
SS
470Fri Dec 1 11:57:56 1995 Stan Shebs <shebs@andros.cygnus.com>
471
472 * mpw-config.in: Don't always use te-generic.h for emulation.
473 (powerpc-apple-macos): Use emulation te-macos.h.
474start-sanitize-gm
475 (mips-gm-magic): New configuration.
476end-sanitize-gm
477 * mpw-make.sed (install, install-only): Edit in Mac-specific
478 install procedure.
479
d4c8a45e
ILT
480Fri Dec 1 10:59:25 1995 Ian Lance Taylor <ian@cygnus.com>
481
2eec8710
ILT
482 * configure.in: Improve message about unsupported ELF targets.
483 * configure: Rebuild.
484
d4c8a45e
ILT
485 * config/tc-m88k.c (m88k_do_align): Correct check for whether fill
486 pattern is zero. From Manfred Hollstein.
487
531a1af2
KK
488Thu Nov 30 13:25:49 1995 Kim Knuttila <krk@cygnus.com>
489
490 * config/tc-ppc.c (ppc_pe_section): To get the alignment right for
491 the various idata sections, we check the name on the .section pseudo.
492
464070de
ILT
493Thu Nov 30 11:23:42 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de>
494
495 * config/obj-coff.c (fixup_segment): If TC_M88K is defined, do not
496 add section's paddr to add_number; compatibility to native as and
497 ld forbids.
498
6a087325
KR
499Wed Nov 29 23:14:27 1995 Ken Raeburn <raeburn@cygnus.com>
500
9d5aef80
KR
501 * configure.in: Treat m68k-sysv4 like m68k-elf, not m68k-sysv3.
502
ac9ef8ee
KR
503 * hash.c (struct hash_entry): Moved here...
504 * hash.h (struct hash_entry): ...from here.
505
6a087325
KR
506 * config/obj-elf.c (elf_frob_symbol): Don't free and clear sy_obj
507 if it's already known to be null.
508
77fa4d98
MM
509Wed Nov 29 13:00:20 1995 Michael Meissner <meissner@tiktok.cygnus.com>
510
511 * config/tc-ppc.c (md_apply_fix3): Don't adjust the value for 32
512 bit relocs converted to PC relative relocs. This turned out to
513 add the offset from the beginning of .text twice.
514
c6e4e834
KR
515Tue Nov 28 10:42:36 1995 Ken Raeburn <raeburn@cygnus.com>
516
517 * stabs.c (s_stab_generic): In 's' case, free string from
518 obstack.
519
520 * config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS): Remove unused field
521 sy_name_offset.
522 * config/obj-multi.h (ELF_TARGET_SYMBOL_FIELDS) [OBJ_MAYBE_ELF]:
523 Ditto.
524
525 * subsegs.h (segment_info_type): Make bitfields unsigned.
526
527 * expr.h (struct expressionS): Make X_op and X_unsigned bitfields,
528 and move them together. On most systems this will reduce the
529 structure size by one word.
530 (operatorT): Define O_max.
531 * expr.c (expr_begin): Verify that X_op is wide enough to hold
532 O_max.
533
534 * read.c (pop_insert): Print error returned by hash table
535 insertion code.
536
537 * as.c (dump_statistics): Split out from main; dump some hash
538 table stats and target-specific stats.
539 (start_time): No longer automatic to main.
540 (main): Set file-level start_time and call dump_statistics at
541 exit. Exit by calling xexit.
542 (show_usage): Make --statistics description less specific.
543 * subsegs.c (subsegs_print_statistics): New function.
544 * write.c (write_print_statistics): New function.
545 (n_fixups): New static variable.
546 (fix_new_internal): Increment it.
547 * read.c (read_print_statistics): New function.
548 * read.h (read_print_statistics): Declare.
549 * symbol.c (symbol_print_statistics): New function.
550 * symbol.h (symbol_print_statistics): Declare.
551 * hash.c (hash_print_statistics): New function.
552 * hash.h (hash_print_statistics): Declare.
553 * config/tc-i386.c (i386_print_statistics): New function.
554 * config/tc-i386.h (i386_print_statistics): Declare.
555 (tc_print_statistics): New macro.
556 * messages.c (as_fatal, as_assert, as_abort): Use xexit, not
557 exit.
558
559 * hash.c (DELETED): Rewrite to use a valid but unique address.
560 (START_POWER): Reduce to 10.
561 (enum stat_enum): New enumerator, replacing STAT_* index macros.
562 Add new values for counting strcmp calls.
563 (GROW_FACTOR): New macro.
564 (hash_grow): Use GROW_FACTOR. Rewrite for quick returns instead
565 of nesting blocks.
566 (FULL_VALUE): New macro. Use 1/4 of table size instead of 1/2.
567 (hash_new): Use FULL_VALUE.
568 (struct hash_control): Definition moved here.
569 (hash_code): Don't mask to low bits.
570 (hash_ask): Mask returned hash code here. Check hash value before
571 calling strcmp; count strcmp calls.
572 * hash.h (struct hash_control): Declare, don't define, here.
573 (HASH_STATLENGTH): Deleted.
574 (struct hash_entry): Add field for hash code.
575 (hash_say, hash_apply): Don't declare.
576
577 * hash.c (destroy): Return void.
578 (applicatee): Ditto.
579 (main): Fix declarations.
580 (hash_apply): Return void. Argument `function' returns void. Put
581 inside "#ifdef TEST".
582 (hash_say): Define only if TEST is defined.
583 * hash.h (hash_apply, hash_say): Declarations deleted.
584
6a4667f4
ILT
585Mon Nov 27 13:18:25 1995 Ian Lance Taylor <ian@cygnus.com>
586
587 * configure: Rebuild with autoconf 2.7.
588
330add8a
ILT
589Tue Nov 21 18:39:01 1995 Ian Lance Taylor <ian@cygnus.com>
590
591 * aclocal.m4 (AC_PROG_CC): Remove local definition.
592 * configure: Rebuild with autoconf 2.6.
593
520dd8d5
ILT
594Mon Nov 20 17:26:00 1995 Ian Lance Taylor <ian@cygnus.com>
595
596 * config/tc-ppc.c (ppc_debug_name_section_size): Remove.
597 (ppc_stabx): Don't increment ppc_debug_name_section_size.
598 (ppc_bc): Likewise.
599 (ppc_frob_file): Remove.
600 * config/tc-ppc.h (tc_frob_file): Don't define.
601 (ppc_frob_file): Don't declare.
602
880b7429
KR
603Mon Nov 20 13:37:05 1995 Ken Raeburn <raeburn@cygnus.com>
604
d6c4a3fa
KR
605 * Makefile.in (TARG_CPU_DEP_alpha): Mention alpha-opcode.h.
606 * config/alpha-opcode.h: Include one-operand variants of jmp and
607 jsr.
608
880b7429
KR
609 * config/te-delt88.h: Renamed from te-delta88.h, to avoid conflict
610 with te-delta.h in 8.3 file systems.
611 * configure.in: Adjusted.
612
aa8a6656
ILT
613Thu Nov 16 12:49:38 1995 Ian Lance Taylor <ian@cygnus.com>
614
880b7429
KR
615 * config/tc-mips.c (s_err): Remove; just use the one in read.c.
616
aa8a6656
ILT
617 * config/m68k-parse.y (yylex): In MRI mode, '@' can start an octal
618 number.
619 * expr.c (operand): Handle MRI suffixes after unadorned 0.
620
7b889f5e
KR
621Thu Nov 16 00:21:44 1995 Ken Raeburn <raeburn@cygnus.com>
622
da9b55af
KR
623 Version 2.6 released.
624 * Makefile.in (VERSION): Updated to 2.6.
625
7b889f5e
KR
626 * config/obj-coff.c (write_object_file): Change use of md_do_align
627 to pass a pointer rather than a fill value, to match other uses.
628
46618ae6
KR
629Wed Nov 15 03:52:00 1995 Ken Raeburn <raeburn@cygnus.com>
630
7b889f5e
KR
631 * config/tc-ns32k.h (TC_FIX_TYPE): Add missing semicolon.
632
46618ae6
KR
633 * as.c (main): Move md_end call to just after call to
634 perform_an_assembly_pass. Delete cpu-specific code here.
635 * config/tc-i960.h (md_end): New macro, calls brtab_emit.
636start-sanitize-rce
637 * config/tc-rce.c (md_end): Deleted.
638 * config/tc-rce.h (md_end): New macro, calls dump_literals.
639end-sanitize-rce
640 * config/tc-arm.c (md_end): Unused function deleted.
641 * config/tc-ns32k.c (md_end): Ditto.
642
643 * config/tc-i386.c (i386_align_code): New function, moved here
644 from HANDLE_ALIGN macro.
645 * config/tc-i386.h (HANDLE_ALIGN): Call it.
646
647 Mon Jul 31 14:53:19 1995 Alan Modra <alan@spri.levels.unisa.edu.au>
648
649 * config/tc-i386.h (md_do_align): cast fill and 0x90 to char
650 before comparing
651
652 Mon May 1 10:91:49 1995 Alan Modra <alan@spri.levels.unisa.edu.au>
653
654 * config/tc-i386.h (md_do_align): Make ".align n,0x90" generate
655 multi-byte nops to avoid changing gcc. The necessary gcc change
656 might break old assemblers.
657
658 Sat Apr 22 20:53:05 1995 Alan Modra <alan@spri.levels.unisa.edu.au>
659
660 * config/tc-i386.h (md_do_align, HANDLE_ALIGN): Add macros to
661 generate optimal multi-byte nop instructions for ".align n"
662 ".align n,0x90", and aligns requiring more than 15 bytes of
663 padding still generate multiple 0x90's as before.
664
665Mon Nov 13 17:40:21 1995 Ian Lance Taylor <ian@cygnus.com>
666
667 * config/tc-m68k.c (s_mri_until): Call pop_mri_control.
668
51bc513e
SS
669Mon Nov 13 20:39:06 1995 Stan Shebs <shebs@andros.cygnus.com>
670
671 * configure.in (ppc-*-macos*, ppc-*-mpw*): New configurations.
672 * configure: Update.
673 * mpw-make.sed: Reorder commands to make sed happier.
674 * config/te-macos.h: New file.
675 * config/tc-ppc.h (TARGET_FORMAT): Set correctly for PowerMac.
676
8b39c5df
JL
677Sun Nov 12 21:14:56 1995 Jeffrey A Law (law@cygnus.com)
678
679 * config/tc-hppa.c (pa_ip): Fix off-by-2 bug in length check for
680 conditional branches.
681 (md_apply_fix): Likewise.
682
683Thu Nov 9 16:14:01 1995 Ian Lance Taylor <ian@cygnus.com>
684
685 * config/tc-a29k.c (md_apply_fix): Warn if an attempt is made to
686 generate a reloc which the linker will not handle correctly. Fix
687 overflow checking--R_IREL is 18 bits, not 17.
688
6a649eda
ILT
689Wed Nov 8 19:59:36 1995 Ian Lance Taylor <ian@cygnus.com>
690
a071b8e9
ILT
691 * config/obj-coff.c (fixup_segment): Don't subtract md_pcrel_from
692 from a PC relative reloc if TC_A29K.
693
694 * config/tc-a29k.c (line_separator_chars): Restore '@'. Existing
695 code depends upon it.
696
6a649eda
ILT
697 * config/tc-a29k.c (md_operand): Handle $float, $double, and
698 $extend. Based on code from Eric Freudenthal
699 <freudenthal@nyu.edu>.
700 * config/tc-a29k.h (LEX_DOLLAR): Define.
701 * read.c (LEX_DOLLAR): Define if not defined.
702 (lex_type): Use LEX_DOLLAR.
703
6364a188
ILT
704Wed Nov 8 16:38:14 1995 Eric Freudenthal <freudenthal@nyu.edu>
705
706 * configure.in (a29k-nyu-sym1): New target, just like other a29k
707 targets.
708
0fa6f8f6
ILT
709Wed Nov 8 11:38:48 1995 Ian Lance Taylor <ian@cygnus.com>
710
711 * config/obj-coff.c (c_dot_file_symbol): Cast xmalloc return.
712
713Tue Nov 7 09:14:35 1995 Kim Knuttila <krk@cygnus.com>
714
715 * config/tc-ppc.c (md_apply_fix3): Added BFD_RELOC_RVA. Currently
716 used only by "dlltool.c".
717
eec2cfef
ILT
718Mon Nov 6 18:51:26 1995 Ian Lance Taylor <ian@cygnus.com>
719
720 * config/tc-alpha.c: Undefine inline if not __GNUC__.
721 (md_pseudo_table): Don't define "extern".
722
df7504dc
ILT
723Sat Nov 4 00:51:21 1995 Ian Lance Taylor <ian@cygnus.com>
724
a3d1c561
ILT
725 * config/tc-ppc.c (ppc_biei): Force symbol into text_section.
726
df7504dc
ILT
727 * config/tc-ppc.c (md_show_usage): Put backslash at end of line.
728
07d012f6
ILT
729Fri Nov 3 13:02:59 1995 Ian Lance Taylor <ian@cygnus.com>
730
36e80ac6
ILT
731 * macro.c (macro_expand_body): Don't warn about == with a
732 nonexistent parameter, in case it is in a comment field.
733
07d012f6
ILT
734 * as.c (main): On TC_A29K, call macro_init with macro_alternate
735 set to 1.
736 * macro.c (get_any_string): Don't keep quotes if macro_strip_at is
737 set, even if macro_alternate is set.
738 (get_apost_token): If macro_strip_at, only skip kind if it is '@'.
739 (sub_actual): If macro_strip_at, and kind is '@', don't look up
740 the token unless it ended in '@'.
741 * config/tc-a29k.c (line_separator_chars): Remove '@'.
742 * doc/c-a29k.texi: Document macro usage on A29K.
743
01f108bc
ILT
744Thu Nov 2 23:07:57 1995 Ian Lance Taylor <ian@cygnus.com>
745
746 * config/tc-m68k.c (m68k_ip): Handle new 'W' place, meaning a
747 signed word.
748 (install_operand): Likewise.
749
750 * config/obj-elf.c (ecoff_debug_pseudo_table): Add "extern".
751
752Wed Nov 1 15:17:02 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de>
753
754 * configure.in (m88k-motorola-sysv*): New target.
755 * configure: Rebuild.
756 * config/te-delta88.h: New file.
757 * config/obj-coff.c (write_object_file): Use md_do_align if it is
758 defined.
759 * config/tc-m88k.h (SUB_SEGMENT_ALIGN): Define.
760 (md_do_align): Define.
761 * config/tc-m88k.c: Include "subsegs.h".
762 (m88k_do_align): New function.
763
764 * config/te-delta.h (STRIP_UNDERSCORE): Don't define.
765 (COFF_NOLOAD_PROBLEM): Define.
766 (LOCAL_LABELS_DOLLAR, LOCAL_LABELS_FB): Define.
767
7954cc14
KR
768Wed Nov 1 16:07:43 1995 Ken Raeburn <raeburn@cygnus.com>
769
770 * config/tc-i386.c (md_assemble): For a jump instruction with
771 non-constant target, require 7 available bytes in the current
772 frag, not 6.
773
d033806f
FF
774Tue Oct 31 15:37:16 1995 Fred Fish <fnf@rtl.cygnus.com>
775
776 * config/obj-elf.h: Include bfd/elf-bfd.h rather than
777 bfd/libelf.h.
778
d7b2038f
ILT
779Tue Oct 31 16:34:28 1995 David Mosberger-Tang <davidm@azstarnet.com>
780
781 * configure.in (alpha-*-linux*): Use ecoff.
782 * configure: Rebuild.
783 * ecoff.c (ecoff_directive_extern): New function.
784 (ecoff_directive_weakext): New function.
785 (ecoff_build_symbols): Handle weak symbols.
786 (ecoff_setup_ext): Likewise.
59c80ca2 787 (ecoff_frob_symbol): Warn about weak common symbols.
d7b2038f
ILT
788 * ecoff.h (ecoff_directive_extern): Declare.
789 (ecoff_directive_weakext): Declare.
790 * symbols.c (S_IS_WEAK): New function.
791 * symbols.h (S_IS_WEAK): Declare.
792 * config/obj-ecoff.c (obj_pseudo_table): Add "extern" and
793 "weakext".
794 * config/tc-mips.c (mips_pseudo_table): Remove "extern".
795 (s_extern): Remove.
796
cbdf59ad
ILT
797Tue Oct 31 13:29:08 1995 Ian Lance Taylor <ian@cygnus.com>
798
b629f627
ILT
799 * config/tc-ppc.c (ppc_lglobl): Do the right thing.
800
7ab1edc8
ILT
801 * config/tc-ppc.c (ppc_bb): Call SF_SET_PROCESS.
802 (ppc_eb): Likewise. Set the storage class to C_BLOCK, not C_FCN.
803 (ppc_frob_symbol): Don't change C_BLOCK symbols to C_HIDEXT.
804 * config/obj-coff.c (coff_frob_symbol): Don't call
805 SA_SET_SYM_ENDNDX with the current symbol; call it with the next
806 one. If OBJ_XCOFF, try to figure out whether the symbol is going
807 to be dropped.
808
31751d9d
ILT
809 * config/tc-ppc.c (md_pseudo_table): Add "bc" and "ec".
810 (ppc_stab_symbol): New static variable.
811 (ppc_change_csect): Check that ppc_toc_csect is not NULL.
812 (ppc_stabx): Set ppc_stab_symbol around call to symbol_make. Set
813 sy_tc.real_name to the stab string.
814 (ppc_bc, ppc_ec): New static functions.
815 (ppc_canonicalize_symbol_name): If ppc_stab_symbol is set, don't
816 do anything.
817 (ppc_symbol_new_hook): If ppc_stab_symbol is set, don't look for a
818 suffix.
0e3dd9a0
ILT
819 (ppc_frob_symbol): Set BSF_NOT_AT_END for symbols with csect aux
820 entries.
31751d9d 821
cbdf59ad
ILT
822 * input-scrub.c (input_scrub_push): Reset sb_index.
823
91123dbe
ILT
824Mon Oct 30 17:52:46 1995 Ian Lance Taylor <ian@cygnus.com>
825
826 * listing.c (listing_newline): Don't create a frag in the absolute
827 section.
828
73255941
ILT
829Sat Oct 28 01:02:05 1995 Ian Lance Taylor <ian@cygnus.com>
830
df72d2a5
ILT
831 * config/tc-ppc.c (md_pseudo_table): Add "data" and "text".
832 (ppc_csect): Move most of the code to ppc_change_csect, and call
833 it.
834 (ppc_change_csect): New static function, taken from ppc_csect.
835 (ppc_section): New static function.
836 (ppc_saw_abs): New static varable.
837 (ppc_frob_symbol): Create aux entry for absolute symbols. Warn if
838 a symbol has no csect.
839 (ppc_adjust_symtab): New function.
840 * config/tc-ppc.h (tc_adjust_symtab): Define if OBJ_XCOFF.
841 (ppc_adjust_symtab): Declare if OBJ_XCOFF.
842
843 * write.c (write_object_file): If tc_adjust_symtab is defined,
844 call it just before the call to obj_adjust_symtab.
845
73255941
ILT
846 * symbols.c (symbol_find_or_make): Change name to be const.
847 * symbols.h (symbol_find_or_make): Update declaration.
848
9bfaf1b9
KR
849Thu Oct 26 19:18:27 1995 Ken Raeburn <raeburn@cygnus.com>
850
851 * doc/as.texinfo (Align): Mention SH.
852 * doc/c-m68k.texi (M68K-Directives, .even): Describe behavior, not
853 .align value.
854 * doc/c-z8k.texi (Z8000 Directives, global): Fix minor typo.
855 (Z8000 Directives, even): Don't give numeric align value, instead
856 explain behavior.
857
ae143278
DE
858Thu Oct 26 11:45:03 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
859
860 * tc-arm.c (do_ldst): Assemble ldr/str r0, [r1] as a pre-increment
861 instruction.
862
270433cc
PB
863Wed Oct 25 11:59:24 1995 Per Bothner <bothner@kalessin.cygnus.com>
864
865 * Makefile.in (diststuff): Also make info.
866 (maintainer-clean realclean): Also make clean-info.
867
18a11401
JL
868Tue Oct 24 15:21:33 1995 Jeffrey A Law (law@cygnus.com)
869
870 * config/tc-hppa.c (md_pseudo_table): Add new ".nsubspa" opcode.
871 (pa_subspace): For ".nsubspa", always create a new subspace
872 with the given attributes, even if one already exists with the
873 same name.
874
96fe71e1
MM
875Tue Oct 24 14:50:38 1995 Michael Meissner <meissner@tiktok.cygnus.com>
876
877 * config/tc-ppc.h (TC_FORCE_RELOCATION_SECTION): Rename from
878 TC_FORCE_RELOCATION, taking an additional section argument. If
879 the section of the target symbol is not the same as the current
880 section, always force the relocation to be used.
881 (MD_PCREL_FROM_SECTION): New macro to call md_pcrel_from_section.
882
883 * config/tc-ppc.c (md_pcrel_from_section): Rename from the
884 md_pcrel_from function, taking an additional section argument.
885 Invoke TC_FORCE_RELOCATION_SECTION instead of TC_FORCE_RELOCATION.
886
887 * write.c (TC_FORCE_RELOCATION_SECTION): Define in terms of the
888 older TC_FORCE_RELOCATION if not defined.
889 (MD_PCREL_FROM_SECTION): If not defined, invoke md_pcrel_from.
890 (fixup_segment): Use MD_PCREL_FROM_SECTION instead of
891 md_pcrel_from, and TC_FORCE_RELOCATION_SECTION instead of
892 TC_FORCE_RELOCATION.
893
1d75481b
KR
894Mon Oct 23 16:20:04 1995 Ken Raeburn <raeburn@cygnus.com>
895
896 * input-scrub.c (as_where): Set name to null pointer if we don't
897 have a file name.
898 * messages.c (identify): Only print filename if non-null.
899 (as_show_where): Ditto, for line number too.
900 (as_warn_internal, as_bad_internal): Ditto.
901
902 * input-file.c (input_file_open): If the input file can't be
903 opened, consider it an error.
904
c625fc23
JSC
905Mon Oct 23 11:15:44 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
906
907 * config/tc-mips.c: Added mips_4100 control, and support for
908 accepting the 4100 as a MIPS architecture variant (md_begin,
909 macro_build, mips_ip, md_parse_option). Adding suitable
910 command-line OPTIONs, and updating the help text (md_show_usage).
911
dd1a5316
KR
912Wed Oct 18 13:20:32 1995 Ken Raeburn <raeburn@cygnus.com>
913
c625fc23
JSC
914 * subsegs.c (subseg_begin): Only set absolute_frchain.fix_* when
915 BFD_ASSEMBLER is defined.
916
3366a224
KR
917 * Use one active frag and one obstack per frag chain:
918 * frags.c (frags): Variable deleted.
919 (frag_alloc): New function.
920 (frag_grow, frag_more, frag_variant, frag_now_fix,
921 frag_append_1_char): Refer to frchain_now->frch_obstack instead of
922 frags variable.
923 (frag_new): Ditto. Verify that frch_last and frag_now match on
924 entry and exit, and that old frag_now has non-zero type. Replace
925 "know" uses with "assert". Use frag_alloc instead of mucking with
926 obstack alignment.
927 * frags.h (frags): Declaration deleted.
928 * subsegs.h (struct frchain): Add new field frch_frag_now.
929 * subsegs.c (frchains, dummy_frag, absolute_frchain): New static
930 variables.
931 (subsegs_begin): Initialize frchains obstack. Under gcc, don't
932 give it any stricter alignment than frchainS structures need. Do
933 not initialize frags obstack. Set frag_now to point to
934 dummy_obstack. Initialize absolute_frchain.
935 (subseg_set_rest): Save and restore frag_now in frch_frag_now
936 field of frchainS. Don't create new frags on section switch, and
937 use frag_alloc when creating a new frag chain. For absolute
938 section, set frchain_now to absolute_frchain. Verify that
939 frch_last and frag_now match on entry and exit. Initialize
940 per-chain obstack, and under gcc, set required alignment to that
941 needed by fragS structure.
c625fc23 942
3366a224
KR
943 * write.c (chain_frchains_together_1): Verify fr_type is nonzero.
944
945 * stabs.c (get_stab_string_offset): Only copy input string if a
946 fresh copy is needed, not if the section already exists.
947 (s_stab_generic): Cache stab section name to bypass lookups, since
948 usually it will match. Could be made faster still by changing the
949 memory allocation rules.
950 (s_xstab): Cache section name to bypass repeated string
951 allocation.
952
953 * frags.c (frag_new): Deleted register declarations.
954
955 * listing.c (frag_now): Don't declare.
956
957 * as.c (chunksize): New variable.
958 (debug_memory): New variable.
959 (main): If debug_memory is set, reduce chunksize and
960 _bfd_chunksize.
961 * as.h (chunksize): Declare it.
962 * read.c (read_begin): Use it.
963
de5ebe2e
KR
964 * config/tc-alpha.c (md_shortopts): Include 'g'.
965 (md_parse_option): Ignore it.
966
dd1a5316
KR
967 * Makefile.in (distclean): Remove Makefile and config.status from
968 testsuite directory.
969 (clean-here): Don't delete testsuite. Instead, delete only the
970 files within it that would be generated by running tests.
971
de5ebe2e
KR
972 * config/tc-hppa.c (hppa_elf_mark_end_of_function): Call
973 frag_now_fix instead of accessing obstack info directly.
974 * config/tc-arm.c (s_ltorg): Ditto.
975 (md_assemble): Ditto.
976
977 * config/tc-i386.c (md_assemble): Call frag_grow instead of
978 obstack_room.
979
625f4e48
KR
980Wed Oct 18 12:22:59 1995 Ken Raeburn <raeburn@cygnus.com>
981
982 * stabs.c (aout_process_stab): Insert debug symbol into symbol
983 chain after parsing value expression, if any, to avoid separating
984 continued .stabs lines.
985
33a8c1b6
ILT
986Mon Oct 16 10:56:41 1995 Ian Lance Taylor <ian@cygnus.com>
987
988 * config/tc-mips.c (mips_elf_pseudo_table): Remove.
989 (mips_pop_insert): Don't call pop_insert on mips_elf_pseudo_table.
990
b6b8f911
MM
991Mon Oct 16 07:07:37 1995 Michael Meissner <meissner@wogglebug.tiac.net>
992
625f4e48
KR
993 * config/tc-ppc.c (md_begin): Use new flags PPC_OPCODE_COMMON for
994 -mcom support and PPC_OPCODE_ANY for -many.
995 (md_parse_option): Ditto.
996 (ppc_arch): Ditto.
997 (md_begin): For duplicate instructions, print all duplicates
998 before aborting.
b6b8f911 999
4c2935f4
MM
1000Sun Oct 15 22:06:14 1995 Michael Meissner <meissner@cygnus.com>
1001
1002 * config/tc-ppc.c (md_parse_option): Support for -mcom to turn on
1003 common mode operation.
1004 (md_show_usage): Add -mcom to usage message.
4c2935f4
MM
1005
1006Fri Oct 13 13:32:45 1995 steve chamberlain <sac@slash.cygnus.com>
1007
1008 * expr.c (op_rank): Add O_symbol_rva.
1009 * expr.h (operatorT): Add O_symbol_rva.
1010 * read.c (cons_worker): Set O_symbol_rva when necessary.
1011 * write.c (fix_new_exp): Understand O_symbol_rva.
1012
7db865dc
ILT
1013Tue Oct 10 11:34:14 1995 Ian Lance Taylor <ian@cygnus.com>
1014
1015 * config/tc-mips.c: Correct s_cons arguments. From Michael
1016 Joosten <joost@ori.cadlab.de>.
1017
1b13e6fc
ILT
1018Mon Oct 9 19:59:53 1995 Ian Lance Taylor <ian@cygnus.com>
1019
1020 * config/tc-ppc.c (ppc_macro): Make count unsigned.
1021 (ppc_biei): Set segment to now_seg and value to coff_n_line_nos.
1022 (ppc_frob_symbol): Handle C_BINCL and C_EINCL symbols by setting
1023 the fix_line field.
1024 * config/obj-coff.c (coff_n_line_nos): Rename from n_line_nos, and
1025 make non-static. Change all users.
1026 * config/obj-coff.h (coff_n_line_nos): Declare.
1027
9e3e3d4c
KR
1028Fri Oct 6 16:24:27 1995 Ken Raeburn <raeburn@cygnus.com>
1029
1030 Mon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1031
1032 * configure.in (AC_ARG_WITH(bfd-assembler)): Fix help message.
1033
1034 * config/obj-elf.c (obj_elf_common): Convert specified byte
1035 alignment to power of two. Set size of local bss symbol.
1036
1037 * config/tc-m68k.c (tc_gen_reloc): Fix typo in variable name.
1038
13a6c753
ILT
1039Fri Oct 6 15:22:25 1995 Ian Lance Taylor <ian@cygnus.com>
1040
1041 * sb.c, macro.c: Decide whether to include <string.h> or
1042 <strings.h> just as as.h does.
1043
a75aafcd
DE
1044Fri Oct 6 09:55:33 1995 Doug Evans <dje@canuck.cygnus.com>
1045
1046 * Makefile.in (site.exp): Fix setting of $srcdir.
1047
1048 * config/tc-arm.c (md_atof): Fix little-endian output.
f6ec8c46
DE
1049 * config/tc-arm.h (ARM_BI_ENDIAN): Move definition so defined for
1050 all coff targets.
a75aafcd 1051
d89861c7
KR
1052Thu Oct 5 20:17:30 1995 Ken Raeburn <raeburn@cygnus.com>
1053
4d2ba393
KR
1054 * doc/as.texinfo: Split out the NS32k family documentation,
1055 despite its being commented out for now.
1056 * doc/c-ns32k.texi: New file.
1057
2c5eb48d
KR
1058 * sb.c, macro.c: Include string.h.
1059
6b0a6eaa
KR
1060 * Makefile.in (comparison): Only check *.o; we don't care if
1061 timestamps inserted by the native linker differ.
1062
d89861c7
KR
1063 * config/tc-alpha.c (alpha_align): Only fill with a no-op pattern
1064 if alignment stricter than 4 bytes is requested; in that case,
1065 align to a 4-byte boundary first.
1066
70aeac05
KR
1067 Thu Sep 28 19:35:27 1995 Pat Rankin <rankin@eql.caltech.edu>
1068
1069 * config/obj-vms.c (VMS_RSYM_Parse): eliminate "might be used
1070 uninitialized" warning for `Max_Source_Offset'.
1071
eaaa2a42
KK
1072Wed Oct 4 16:17:02 1995 Kim Knuttila <krk@cygnus.com>
1073
1074 * config/tc-ppc.c (parse_toc_entry): New function to parse [toc]
1075 qualifiers and detect errors if present.
1076 (md_assemble): Add call to parse_toc_entry. Also added some support
1077 for the [tocv] qualifier.
1078 (ppc_pe_tocd): New function to support data in the toc section.
1079
cd557d83
ILT
1080Wed Oct 4 14:03:39 1995 Ian Lance Taylor <ian@cygnus.com>
1081
1082 * config/tc-ppc.c (ppc_frob_symbol): Don't create an aux entry for
1083 an absolute symbol.
1084
42ac8fa8
ILT
1085Tue Oct 3 12:18:19 1995 Ian Lance Taylor <ian@cygnus.com>
1086
01f108bc 1087 * config/tc-m68k.c (isword): Accept all values from -65536 to
cd557d83
ILT
1088 +65535, so ~VAL will not be rejected.
1089
42ac8fa8
ILT
1090 * cond.c (s_endif): Call demand_empty_rest_of_line. In MRI mode,
1091 skip characters after the pseudo-op.
1092 (s_else): Likewise.
1093 * read.c (get_line_sb): Don't look past buffer_limit.
1094 (s_include): In MRI mode, skip characters after the file name.
1095
eef66934
ILT
1096Mon Oct 2 16:15:27 1995 Ian Lance Taylor <ian@cygnus.com>
1097
1098 * config/m68k-parse.y (m68k_reg_parse): In MRI mode, permit
1099 periods in register names.
1100
cdc49cba 1101For older changes see ChangeLog.1.
This page took 0.094188 seconds and 4 git commands to generate.