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