Always keep the newly-added configure scripts.
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
624c91d1
KR
1Tue Dec 5 13:26:34 1995 Ken Raeburn <raeburn@cygnus.com>
2
3 * read.c (s_fill): If md_flush_pending_output is defined, call
4 it.
5
9e4b3a23
KR
6Mon Dec 4 15:10:53 1995 Ken Raeburn <raeburn@cygnus.com>
7
8 * config/obj-coff.c (size_section, fill_section, fixup_mdeps):
9 Treat rs_align_code like rs_align.
10
3554987a
DE
11Sun Dec 3 16:46:54 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
12
13 * config/tc-arm.c (cp_address_required_here): Set pre_inc when
14 converting an absolute address into a PC-relative one.
15
90f543f6
SS
16Fri Dec 1 11:57:56 1995 Stan Shebs <shebs@andros.cygnus.com>
17
18 * mpw-config.in: Don't always use te-generic.h for emulation.
19 (powerpc-apple-macos): Use emulation te-macos.h.
20start-sanitize-gm
21 (mips-gm-magic): New configuration.
22end-sanitize-gm
23 * mpw-make.sed (install, install-only): Edit in Mac-specific
24 install procedure.
25
d4c8a45e
ILT
26Fri Dec 1 10:59:25 1995 Ian Lance Taylor <ian@cygnus.com>
27
2eec8710
ILT
28 * configure.in: Improve message about unsupported ELF targets.
29 * configure: Rebuild.
30
d4c8a45e
ILT
31 * config/tc-m88k.c (m88k_do_align): Correct check for whether fill
32 pattern is zero. From Manfred Hollstein.
33
531a1af2
KK
34Thu Nov 30 13:25:49 1995 Kim Knuttila <krk@cygnus.com>
35
36 * config/tc-ppc.c (ppc_pe_section): To get the alignment right for
37 the various idata sections, we check the name on the .section pseudo.
38
464070de
ILT
39Thu Nov 30 11:23:42 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de>
40
41 * config/obj-coff.c (fixup_segment): If TC_M88K is defined, do not
42 add section's paddr to add_number; compatibility to native as and
43 ld forbids.
44
6a087325
KR
45Wed Nov 29 23:14:27 1995 Ken Raeburn <raeburn@cygnus.com>
46
9d5aef80
KR
47 * configure.in: Treat m68k-sysv4 like m68k-elf, not m68k-sysv3.
48
ac9ef8ee
KR
49 * hash.c (struct hash_entry): Moved here...
50 * hash.h (struct hash_entry): ...from here.
51
6a087325
KR
52 * config/obj-elf.c (elf_frob_symbol): Don't free and clear sy_obj
53 if it's already known to be null.
54
77fa4d98
MM
55Wed Nov 29 13:00:20 1995 Michael Meissner <meissner@tiktok.cygnus.com>
56
57 * config/tc-ppc.c (md_apply_fix3): Don't adjust the value for 32
58 bit relocs converted to PC relative relocs. This turned out to
59 add the offset from the beginning of .text twice.
60
c6e4e834
KR
61Tue Nov 28 10:42:36 1995 Ken Raeburn <raeburn@cygnus.com>
62
63 * stabs.c (s_stab_generic): In 's' case, free string from
64 obstack.
65
66 * config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS): Remove unused field
67 sy_name_offset.
68 * config/obj-multi.h (ELF_TARGET_SYMBOL_FIELDS) [OBJ_MAYBE_ELF]:
69 Ditto.
70
71 * subsegs.h (segment_info_type): Make bitfields unsigned.
72
73 * expr.h (struct expressionS): Make X_op and X_unsigned bitfields,
74 and move them together. On most systems this will reduce the
75 structure size by one word.
76 (operatorT): Define O_max.
77 * expr.c (expr_begin): Verify that X_op is wide enough to hold
78 O_max.
79
80 * read.c (pop_insert): Print error returned by hash table
81 insertion code.
82
83 * as.c (dump_statistics): Split out from main; dump some hash
84 table stats and target-specific stats.
85 (start_time): No longer automatic to main.
86 (main): Set file-level start_time and call dump_statistics at
87 exit. Exit by calling xexit.
88 (show_usage): Make --statistics description less specific.
89 * subsegs.c (subsegs_print_statistics): New function.
90 * write.c (write_print_statistics): New function.
91 (n_fixups): New static variable.
92 (fix_new_internal): Increment it.
93 * read.c (read_print_statistics): New function.
94 * read.h (read_print_statistics): Declare.
95 * symbol.c (symbol_print_statistics): New function.
96 * symbol.h (symbol_print_statistics): Declare.
97 * hash.c (hash_print_statistics): New function.
98 * hash.h (hash_print_statistics): Declare.
99 * config/tc-i386.c (i386_print_statistics): New function.
100 * config/tc-i386.h (i386_print_statistics): Declare.
101 (tc_print_statistics): New macro.
102 * messages.c (as_fatal, as_assert, as_abort): Use xexit, not
103 exit.
104
105 * hash.c (DELETED): Rewrite to use a valid but unique address.
106 (START_POWER): Reduce to 10.
107 (enum stat_enum): New enumerator, replacing STAT_* index macros.
108 Add new values for counting strcmp calls.
109 (GROW_FACTOR): New macro.
110 (hash_grow): Use GROW_FACTOR. Rewrite for quick returns instead
111 of nesting blocks.
112 (FULL_VALUE): New macro. Use 1/4 of table size instead of 1/2.
113 (hash_new): Use FULL_VALUE.
114 (struct hash_control): Definition moved here.
115 (hash_code): Don't mask to low bits.
116 (hash_ask): Mask returned hash code here. Check hash value before
117 calling strcmp; count strcmp calls.
118 * hash.h (struct hash_control): Declare, don't define, here.
119 (HASH_STATLENGTH): Deleted.
120 (struct hash_entry): Add field for hash code.
121 (hash_say, hash_apply): Don't declare.
122
123 * hash.c (destroy): Return void.
124 (applicatee): Ditto.
125 (main): Fix declarations.
126 (hash_apply): Return void. Argument `function' returns void. Put
127 inside "#ifdef TEST".
128 (hash_say): Define only if TEST is defined.
129 * hash.h (hash_apply, hash_say): Declarations deleted.
130
6a4667f4
ILT
131Mon Nov 27 13:18:25 1995 Ian Lance Taylor <ian@cygnus.com>
132
133 * configure: Rebuild with autoconf 2.7.
134
330add8a
ILT
135Tue Nov 21 18:39:01 1995 Ian Lance Taylor <ian@cygnus.com>
136
137 * aclocal.m4 (AC_PROG_CC): Remove local definition.
138 * configure: Rebuild with autoconf 2.6.
139
520dd8d5
ILT
140Mon Nov 20 17:26:00 1995 Ian Lance Taylor <ian@cygnus.com>
141
142 * config/tc-ppc.c (ppc_debug_name_section_size): Remove.
143 (ppc_stabx): Don't increment ppc_debug_name_section_size.
144 (ppc_bc): Likewise.
145 (ppc_frob_file): Remove.
146 * config/tc-ppc.h (tc_frob_file): Don't define.
147 (ppc_frob_file): Don't declare.
148
880b7429
KR
149Mon Nov 20 13:37:05 1995 Ken Raeburn <raeburn@cygnus.com>
150
d6c4a3fa
KR
151 * Makefile.in (TARG_CPU_DEP_alpha): Mention alpha-opcode.h.
152 * config/alpha-opcode.h: Include one-operand variants of jmp and
153 jsr.
154
880b7429
KR
155 * config/te-delt88.h: Renamed from te-delta88.h, to avoid conflict
156 with te-delta.h in 8.3 file systems.
157 * configure.in: Adjusted.
158
aa8a6656
ILT
159Thu Nov 16 12:49:38 1995 Ian Lance Taylor <ian@cygnus.com>
160
880b7429
KR
161 * config/tc-mips.c (s_err): Remove; just use the one in read.c.
162
aa8a6656
ILT
163 * config/m68k-parse.y (yylex): In MRI mode, '@' can start an octal
164 number.
165 * expr.c (operand): Handle MRI suffixes after unadorned 0.
166
7b889f5e
KR
167Thu Nov 16 00:21:44 1995 Ken Raeburn <raeburn@cygnus.com>
168
da9b55af
KR
169 Version 2.6 released.
170 * Makefile.in (VERSION): Updated to 2.6.
171
7b889f5e
KR
172 * config/obj-coff.c (write_object_file): Change use of md_do_align
173 to pass a pointer rather than a fill value, to match other uses.
174
46618ae6
KR
175Wed Nov 15 03:52:00 1995 Ken Raeburn <raeburn@cygnus.com>
176
7b889f5e
KR
177 * config/tc-ns32k.h (TC_FIX_TYPE): Add missing semicolon.
178
46618ae6
KR
179 * as.c (main): Move md_end call to just after call to
180 perform_an_assembly_pass. Delete cpu-specific code here.
181 * config/tc-i960.h (md_end): New macro, calls brtab_emit.
182start-sanitize-rce
183 * config/tc-rce.c (md_end): Deleted.
184 * config/tc-rce.h (md_end): New macro, calls dump_literals.
185end-sanitize-rce
186 * config/tc-arm.c (md_end): Unused function deleted.
187 * config/tc-ns32k.c (md_end): Ditto.
188
189 * config/tc-i386.c (i386_align_code): New function, moved here
190 from HANDLE_ALIGN macro.
191 * config/tc-i386.h (HANDLE_ALIGN): Call it.
192
193 Mon Jul 31 14:53:19 1995 Alan Modra <alan@spri.levels.unisa.edu.au>
194
195 * config/tc-i386.h (md_do_align): cast fill and 0x90 to char
196 before comparing
197
198 Mon May 1 10:91:49 1995 Alan Modra <alan@spri.levels.unisa.edu.au>
199
200 * config/tc-i386.h (md_do_align): Make ".align n,0x90" generate
201 multi-byte nops to avoid changing gcc. The necessary gcc change
202 might break old assemblers.
203
204 Sat Apr 22 20:53:05 1995 Alan Modra <alan@spri.levels.unisa.edu.au>
205
206 * config/tc-i386.h (md_do_align, HANDLE_ALIGN): Add macros to
207 generate optimal multi-byte nop instructions for ".align n"
208 ".align n,0x90", and aligns requiring more than 15 bytes of
209 padding still generate multiple 0x90's as before.
210
211Mon Nov 13 17:40:21 1995 Ian Lance Taylor <ian@cygnus.com>
212
213 * config/tc-m68k.c (s_mri_until): Call pop_mri_control.
214
51bc513e
SS
215Mon Nov 13 20:39:06 1995 Stan Shebs <shebs@andros.cygnus.com>
216
217 * configure.in (ppc-*-macos*, ppc-*-mpw*): New configurations.
218 * configure: Update.
219 * mpw-make.sed: Reorder commands to make sed happier.
220 * config/te-macos.h: New file.
221 * config/tc-ppc.h (TARGET_FORMAT): Set correctly for PowerMac.
222
8b39c5df
JL
223Sun Nov 12 21:14:56 1995 Jeffrey A Law (law@cygnus.com)
224
225 * config/tc-hppa.c (pa_ip): Fix off-by-2 bug in length check for
226 conditional branches.
227 (md_apply_fix): Likewise.
228
229Thu Nov 9 16:14:01 1995 Ian Lance Taylor <ian@cygnus.com>
230
231 * config/tc-a29k.c (md_apply_fix): Warn if an attempt is made to
232 generate a reloc which the linker will not handle correctly. Fix
233 overflow checking--R_IREL is 18 bits, not 17.
234
6a649eda
ILT
235Wed Nov 8 19:59:36 1995 Ian Lance Taylor <ian@cygnus.com>
236
a071b8e9
ILT
237 * config/obj-coff.c (fixup_segment): Don't subtract md_pcrel_from
238 from a PC relative reloc if TC_A29K.
239
240 * config/tc-a29k.c (line_separator_chars): Restore '@'. Existing
241 code depends upon it.
242
6a649eda
ILT
243 * config/tc-a29k.c (md_operand): Handle $float, $double, and
244 $extend. Based on code from Eric Freudenthal
245 <freudenthal@nyu.edu>.
246 * config/tc-a29k.h (LEX_DOLLAR): Define.
247 * read.c (LEX_DOLLAR): Define if not defined.
248 (lex_type): Use LEX_DOLLAR.
249
6364a188
ILT
250Wed Nov 8 16:38:14 1995 Eric Freudenthal <freudenthal@nyu.edu>
251
252 * configure.in (a29k-nyu-sym1): New target, just like other a29k
253 targets.
254
0fa6f8f6
ILT
255Wed Nov 8 11:38:48 1995 Ian Lance Taylor <ian@cygnus.com>
256
257 * config/obj-coff.c (c_dot_file_symbol): Cast xmalloc return.
258
259Tue Nov 7 09:14:35 1995 Kim Knuttila <krk@cygnus.com>
260
261 * config/tc-ppc.c (md_apply_fix3): Added BFD_RELOC_RVA. Currently
262 used only by "dlltool.c".
263
eec2cfef
ILT
264Mon Nov 6 18:51:26 1995 Ian Lance Taylor <ian@cygnus.com>
265
266 * config/tc-alpha.c: Undefine inline if not __GNUC__.
267 (md_pseudo_table): Don't define "extern".
268
df7504dc
ILT
269Sat Nov 4 00:51:21 1995 Ian Lance Taylor <ian@cygnus.com>
270
a3d1c561
ILT
271 * config/tc-ppc.c (ppc_biei): Force symbol into text_section.
272
df7504dc
ILT
273 * config/tc-ppc.c (md_show_usage): Put backslash at end of line.
274
07d012f6
ILT
275Fri Nov 3 13:02:59 1995 Ian Lance Taylor <ian@cygnus.com>
276
36e80ac6
ILT
277 * macro.c (macro_expand_body): Don't warn about == with a
278 nonexistent parameter, in case it is in a comment field.
279
07d012f6
ILT
280 * as.c (main): On TC_A29K, call macro_init with macro_alternate
281 set to 1.
282 * macro.c (get_any_string): Don't keep quotes if macro_strip_at is
283 set, even if macro_alternate is set.
284 (get_apost_token): If macro_strip_at, only skip kind if it is '@'.
285 (sub_actual): If macro_strip_at, and kind is '@', don't look up
286 the token unless it ended in '@'.
287 * config/tc-a29k.c (line_separator_chars): Remove '@'.
288 * doc/c-a29k.texi: Document macro usage on A29K.
289
01f108bc
ILT
290Thu Nov 2 23:07:57 1995 Ian Lance Taylor <ian@cygnus.com>
291
292 * config/tc-m68k.c (m68k_ip): Handle new 'W' place, meaning a
293 signed word.
294 (install_operand): Likewise.
295
296 * config/obj-elf.c (ecoff_debug_pseudo_table): Add "extern".
297
298Wed Nov 1 15:17:02 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de>
299
300 * configure.in (m88k-motorola-sysv*): New target.
301 * configure: Rebuild.
302 * config/te-delta88.h: New file.
303 * config/obj-coff.c (write_object_file): Use md_do_align if it is
304 defined.
305 * config/tc-m88k.h (SUB_SEGMENT_ALIGN): Define.
306 (md_do_align): Define.
307 * config/tc-m88k.c: Include "subsegs.h".
308 (m88k_do_align): New function.
309
310 * config/te-delta.h (STRIP_UNDERSCORE): Don't define.
311 (COFF_NOLOAD_PROBLEM): Define.
312 (LOCAL_LABELS_DOLLAR, LOCAL_LABELS_FB): Define.
313
7954cc14
KR
314Wed Nov 1 16:07:43 1995 Ken Raeburn <raeburn@cygnus.com>
315
316 * config/tc-i386.c (md_assemble): For a jump instruction with
317 non-constant target, require 7 available bytes in the current
318 frag, not 6.
319
d033806f
FF
320Tue Oct 31 15:37:16 1995 Fred Fish <fnf@rtl.cygnus.com>
321
322 * config/obj-elf.h: Include bfd/elf-bfd.h rather than
323 bfd/libelf.h.
324
d7b2038f
ILT
325Tue Oct 31 16:34:28 1995 David Mosberger-Tang <davidm@azstarnet.com>
326
327 * configure.in (alpha-*-linux*): Use ecoff.
328 * configure: Rebuild.
329 * ecoff.c (ecoff_directive_extern): New function.
330 (ecoff_directive_weakext): New function.
331 (ecoff_build_symbols): Handle weak symbols.
332 (ecoff_setup_ext): Likewise.
59c80ca2 333 (ecoff_frob_symbol): Warn about weak common symbols.
d7b2038f
ILT
334 * ecoff.h (ecoff_directive_extern): Declare.
335 (ecoff_directive_weakext): Declare.
336 * symbols.c (S_IS_WEAK): New function.
337 * symbols.h (S_IS_WEAK): Declare.
338 * config/obj-ecoff.c (obj_pseudo_table): Add "extern" and
339 "weakext".
340 * config/tc-mips.c (mips_pseudo_table): Remove "extern".
341 (s_extern): Remove.
342
cbdf59ad
ILT
343Tue Oct 31 13:29:08 1995 Ian Lance Taylor <ian@cygnus.com>
344
b629f627
ILT
345 * config/tc-ppc.c (ppc_lglobl): Do the right thing.
346
7ab1edc8
ILT
347 * config/tc-ppc.c (ppc_bb): Call SF_SET_PROCESS.
348 (ppc_eb): Likewise. Set the storage class to C_BLOCK, not C_FCN.
349 (ppc_frob_symbol): Don't change C_BLOCK symbols to C_HIDEXT.
350 * config/obj-coff.c (coff_frob_symbol): Don't call
351 SA_SET_SYM_ENDNDX with the current symbol; call it with the next
352 one. If OBJ_XCOFF, try to figure out whether the symbol is going
353 to be dropped.
354
31751d9d
ILT
355 * config/tc-ppc.c (md_pseudo_table): Add "bc" and "ec".
356 (ppc_stab_symbol): New static variable.
357 (ppc_change_csect): Check that ppc_toc_csect is not NULL.
358 (ppc_stabx): Set ppc_stab_symbol around call to symbol_make. Set
359 sy_tc.real_name to the stab string.
360 (ppc_bc, ppc_ec): New static functions.
361 (ppc_canonicalize_symbol_name): If ppc_stab_symbol is set, don't
362 do anything.
363 (ppc_symbol_new_hook): If ppc_stab_symbol is set, don't look for a
364 suffix.
0e3dd9a0
ILT
365 (ppc_frob_symbol): Set BSF_NOT_AT_END for symbols with csect aux
366 entries.
31751d9d 367
cbdf59ad
ILT
368 * input-scrub.c (input_scrub_push): Reset sb_index.
369
91123dbe
ILT
370Mon Oct 30 17:52:46 1995 Ian Lance Taylor <ian@cygnus.com>
371
372 * listing.c (listing_newline): Don't create a frag in the absolute
373 section.
374
73255941
ILT
375Sat Oct 28 01:02:05 1995 Ian Lance Taylor <ian@cygnus.com>
376
df72d2a5
ILT
377 * config/tc-ppc.c (md_pseudo_table): Add "data" and "text".
378 (ppc_csect): Move most of the code to ppc_change_csect, and call
379 it.
380 (ppc_change_csect): New static function, taken from ppc_csect.
381 (ppc_section): New static function.
382 (ppc_saw_abs): New static varable.
383 (ppc_frob_symbol): Create aux entry for absolute symbols. Warn if
384 a symbol has no csect.
385 (ppc_adjust_symtab): New function.
386 * config/tc-ppc.h (tc_adjust_symtab): Define if OBJ_XCOFF.
387 (ppc_adjust_symtab): Declare if OBJ_XCOFF.
388
389 * write.c (write_object_file): If tc_adjust_symtab is defined,
390 call it just before the call to obj_adjust_symtab.
391
73255941
ILT
392 * symbols.c (symbol_find_or_make): Change name to be const.
393 * symbols.h (symbol_find_or_make): Update declaration.
394
9bfaf1b9
KR
395Thu Oct 26 19:18:27 1995 Ken Raeburn <raeburn@cygnus.com>
396
397 * doc/as.texinfo (Align): Mention SH.
398 * doc/c-m68k.texi (M68K-Directives, .even): Describe behavior, not
399 .align value.
400 * doc/c-z8k.texi (Z8000 Directives, global): Fix minor typo.
401 (Z8000 Directives, even): Don't give numeric align value, instead
402 explain behavior.
403
ae143278
DE
404Thu Oct 26 11:45:03 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
405
406 * tc-arm.c (do_ldst): Assemble ldr/str r0, [r1] as a pre-increment
407 instruction.
408
270433cc
PB
409Wed Oct 25 11:59:24 1995 Per Bothner <bothner@kalessin.cygnus.com>
410
411 * Makefile.in (diststuff): Also make info.
412 (maintainer-clean realclean): Also make clean-info.
413
18a11401
JL
414Tue Oct 24 15:21:33 1995 Jeffrey A Law (law@cygnus.com)
415
416 * config/tc-hppa.c (md_pseudo_table): Add new ".nsubspa" opcode.
417 (pa_subspace): For ".nsubspa", always create a new subspace
418 with the given attributes, even if one already exists with the
419 same name.
420
96fe71e1
MM
421Tue Oct 24 14:50:38 1995 Michael Meissner <meissner@tiktok.cygnus.com>
422
423 * config/tc-ppc.h (TC_FORCE_RELOCATION_SECTION): Rename from
424 TC_FORCE_RELOCATION, taking an additional section argument. If
425 the section of the target symbol is not the same as the current
426 section, always force the relocation to be used.
427 (MD_PCREL_FROM_SECTION): New macro to call md_pcrel_from_section.
428
429 * config/tc-ppc.c (md_pcrel_from_section): Rename from the
430 md_pcrel_from function, taking an additional section argument.
431 Invoke TC_FORCE_RELOCATION_SECTION instead of TC_FORCE_RELOCATION.
432
433 * write.c (TC_FORCE_RELOCATION_SECTION): Define in terms of the
434 older TC_FORCE_RELOCATION if not defined.
435 (MD_PCREL_FROM_SECTION): If not defined, invoke md_pcrel_from.
436 (fixup_segment): Use MD_PCREL_FROM_SECTION instead of
437 md_pcrel_from, and TC_FORCE_RELOCATION_SECTION instead of
438 TC_FORCE_RELOCATION.
439
1d75481b
KR
440Mon Oct 23 16:20:04 1995 Ken Raeburn <raeburn@cygnus.com>
441
442 * input-scrub.c (as_where): Set name to null pointer if we don't
443 have a file name.
444 * messages.c (identify): Only print filename if non-null.
445 (as_show_where): Ditto, for line number too.
446 (as_warn_internal, as_bad_internal): Ditto.
447
448 * input-file.c (input_file_open): If the input file can't be
449 opened, consider it an error.
450
c625fc23
JSC
451Mon Oct 23 11:15:44 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
452
453 * config/tc-mips.c: Added mips_4100 control, and support for
454 accepting the 4100 as a MIPS architecture variant (md_begin,
455 macro_build, mips_ip, md_parse_option). Adding suitable
456 command-line OPTIONs, and updating the help text (md_show_usage).
457
dd1a5316
KR
458Wed Oct 18 13:20:32 1995 Ken Raeburn <raeburn@cygnus.com>
459
c625fc23
JSC
460 * subsegs.c (subseg_begin): Only set absolute_frchain.fix_* when
461 BFD_ASSEMBLER is defined.
462
3366a224
KR
463 * Use one active frag and one obstack per frag chain:
464 * frags.c (frags): Variable deleted.
465 (frag_alloc): New function.
466 (frag_grow, frag_more, frag_variant, frag_now_fix,
467 frag_append_1_char): Refer to frchain_now->frch_obstack instead of
468 frags variable.
469 (frag_new): Ditto. Verify that frch_last and frag_now match on
470 entry and exit, and that old frag_now has non-zero type. Replace
471 "know" uses with "assert". Use frag_alloc instead of mucking with
472 obstack alignment.
473 * frags.h (frags): Declaration deleted.
474 * subsegs.h (struct frchain): Add new field frch_frag_now.
475 * subsegs.c (frchains, dummy_frag, absolute_frchain): New static
476 variables.
477 (subsegs_begin): Initialize frchains obstack. Under gcc, don't
478 give it any stricter alignment than frchainS structures need. Do
479 not initialize frags obstack. Set frag_now to point to
480 dummy_obstack. Initialize absolute_frchain.
481 (subseg_set_rest): Save and restore frag_now in frch_frag_now
482 field of frchainS. Don't create new frags on section switch, and
483 use frag_alloc when creating a new frag chain. For absolute
484 section, set frchain_now to absolute_frchain. Verify that
485 frch_last and frag_now match on entry and exit. Initialize
486 per-chain obstack, and under gcc, set required alignment to that
487 needed by fragS structure.
c625fc23 488
3366a224
KR
489 * write.c (chain_frchains_together_1): Verify fr_type is nonzero.
490
491 * stabs.c (get_stab_string_offset): Only copy input string if a
492 fresh copy is needed, not if the section already exists.
493 (s_stab_generic): Cache stab section name to bypass lookups, since
494 usually it will match. Could be made faster still by changing the
495 memory allocation rules.
496 (s_xstab): Cache section name to bypass repeated string
497 allocation.
498
499 * frags.c (frag_new): Deleted register declarations.
500
501 * listing.c (frag_now): Don't declare.
502
503 * as.c (chunksize): New variable.
504 (debug_memory): New variable.
505 (main): If debug_memory is set, reduce chunksize and
506 _bfd_chunksize.
507 * as.h (chunksize): Declare it.
508 * read.c (read_begin): Use it.
509
de5ebe2e
KR
510 * config/tc-alpha.c (md_shortopts): Include 'g'.
511 (md_parse_option): Ignore it.
512
dd1a5316
KR
513 * Makefile.in (distclean): Remove Makefile and config.status from
514 testsuite directory.
515 (clean-here): Don't delete testsuite. Instead, delete only the
516 files within it that would be generated by running tests.
517
de5ebe2e
KR
518 * config/tc-hppa.c (hppa_elf_mark_end_of_function): Call
519 frag_now_fix instead of accessing obstack info directly.
520 * config/tc-arm.c (s_ltorg): Ditto.
521 (md_assemble): Ditto.
522
523 * config/tc-i386.c (md_assemble): Call frag_grow instead of
524 obstack_room.
525
625f4e48
KR
526Wed Oct 18 12:22:59 1995 Ken Raeburn <raeburn@cygnus.com>
527
528 * stabs.c (aout_process_stab): Insert debug symbol into symbol
529 chain after parsing value expression, if any, to avoid separating
530 continued .stabs lines.
531
33a8c1b6
ILT
532Mon Oct 16 10:56:41 1995 Ian Lance Taylor <ian@cygnus.com>
533
534 * config/tc-mips.c (mips_elf_pseudo_table): Remove.
535 (mips_pop_insert): Don't call pop_insert on mips_elf_pseudo_table.
536
b6b8f911
MM
537Mon Oct 16 07:07:37 1995 Michael Meissner <meissner@wogglebug.tiac.net>
538
625f4e48
KR
539 * config/tc-ppc.c (md_begin): Use new flags PPC_OPCODE_COMMON for
540 -mcom support and PPC_OPCODE_ANY for -many.
541 (md_parse_option): Ditto.
542 (ppc_arch): Ditto.
543 (md_begin): For duplicate instructions, print all duplicates
544 before aborting.
b6b8f911 545
4c2935f4
MM
546Sun Oct 15 22:06:14 1995 Michael Meissner <meissner@cygnus.com>
547
548 * config/tc-ppc.c (md_parse_option): Support for -mcom to turn on
549 common mode operation.
550 (md_show_usage): Add -mcom to usage message.
4c2935f4
MM
551
552Fri Oct 13 13:32:45 1995 steve chamberlain <sac@slash.cygnus.com>
553
554 * expr.c (op_rank): Add O_symbol_rva.
555 * expr.h (operatorT): Add O_symbol_rva.
556 * read.c (cons_worker): Set O_symbol_rva when necessary.
557 * write.c (fix_new_exp): Understand O_symbol_rva.
558
7db865dc
ILT
559Tue Oct 10 11:34:14 1995 Ian Lance Taylor <ian@cygnus.com>
560
561 * config/tc-mips.c: Correct s_cons arguments. From Michael
562 Joosten <joost@ori.cadlab.de>.
563
1b13e6fc
ILT
564Mon Oct 9 19:59:53 1995 Ian Lance Taylor <ian@cygnus.com>
565
566 * config/tc-ppc.c (ppc_macro): Make count unsigned.
567 (ppc_biei): Set segment to now_seg and value to coff_n_line_nos.
568 (ppc_frob_symbol): Handle C_BINCL and C_EINCL symbols by setting
569 the fix_line field.
570 * config/obj-coff.c (coff_n_line_nos): Rename from n_line_nos, and
571 make non-static. Change all users.
572 * config/obj-coff.h (coff_n_line_nos): Declare.
573
9e3e3d4c
KR
574Fri Oct 6 16:24:27 1995 Ken Raeburn <raeburn@cygnus.com>
575
576 Mon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
577
578 * configure.in (AC_ARG_WITH(bfd-assembler)): Fix help message.
579
580 * config/obj-elf.c (obj_elf_common): Convert specified byte
581 alignment to power of two. Set size of local bss symbol.
582
583 * config/tc-m68k.c (tc_gen_reloc): Fix typo in variable name.
584
13a6c753
ILT
585Fri Oct 6 15:22:25 1995 Ian Lance Taylor <ian@cygnus.com>
586
587 * sb.c, macro.c: Decide whether to include <string.h> or
588 <strings.h> just as as.h does.
589
a75aafcd
DE
590Fri Oct 6 09:55:33 1995 Doug Evans <dje@canuck.cygnus.com>
591
592 * Makefile.in (site.exp): Fix setting of $srcdir.
593
594 * config/tc-arm.c (md_atof): Fix little-endian output.
f6ec8c46
DE
595 * config/tc-arm.h (ARM_BI_ENDIAN): Move definition so defined for
596 all coff targets.
a75aafcd 597
d89861c7
KR
598Thu Oct 5 20:17:30 1995 Ken Raeburn <raeburn@cygnus.com>
599
4d2ba393
KR
600 * doc/as.texinfo: Split out the NS32k family documentation,
601 despite its being commented out for now.
602 * doc/c-ns32k.texi: New file.
603
2c5eb48d
KR
604 * sb.c, macro.c: Include string.h.
605
6b0a6eaa
KR
606 * Makefile.in (comparison): Only check *.o; we don't care if
607 timestamps inserted by the native linker differ.
608
d89861c7
KR
609 * config/tc-alpha.c (alpha_align): Only fill with a no-op pattern
610 if alignment stricter than 4 bytes is requested; in that case,
611 align to a 4-byte boundary first.
612
70aeac05
KR
613 Thu Sep 28 19:35:27 1995 Pat Rankin <rankin@eql.caltech.edu>
614
615 * config/obj-vms.c (VMS_RSYM_Parse): eliminate "might be used
616 uninitialized" warning for `Max_Source_Offset'.
617
eaaa2a42
KK
618Wed Oct 4 16:17:02 1995 Kim Knuttila <krk@cygnus.com>
619
620 * config/tc-ppc.c (parse_toc_entry): New function to parse [toc]
621 qualifiers and detect errors if present.
622 (md_assemble): Add call to parse_toc_entry. Also added some support
623 for the [tocv] qualifier.
624 (ppc_pe_tocd): New function to support data in the toc section.
625
cd557d83
ILT
626Wed Oct 4 14:03:39 1995 Ian Lance Taylor <ian@cygnus.com>
627
628 * config/tc-ppc.c (ppc_frob_symbol): Don't create an aux entry for
629 an absolute symbol.
630
42ac8fa8
ILT
631Tue Oct 3 12:18:19 1995 Ian Lance Taylor <ian@cygnus.com>
632
01f108bc 633 * config/tc-m68k.c (isword): Accept all values from -65536 to
cd557d83
ILT
634 +65535, so ~VAL will not be rejected.
635
42ac8fa8
ILT
636 * cond.c (s_endif): Call demand_empty_rest_of_line. In MRI mode,
637 skip characters after the pseudo-op.
638 (s_else): Likewise.
639 * read.c (get_line_sb): Don't look past buffer_limit.
640 (s_include): In MRI mode, skip characters after the file name.
641
eef66934
ILT
642Mon Oct 2 16:15:27 1995 Ian Lance Taylor <ian@cygnus.com>
643
644 * config/m68k-parse.y (m68k_reg_parse): In MRI mode, permit
645 periods in register names.
646
cdc49cba 647For older changes see ChangeLog.1.
This page took 0.065006 seconds and 4 git commands to generate.