1 Sat Nov 4 00:51:21 1995 Ian Lance Taylor <ian@cygnus.com>
3 * config/tc-ppc.c (md_show_usage): Put backslash at end of line.
5 Fri Nov 3 13:02:59 1995 Ian Lance Taylor <ian@cygnus.com>
7 * macro.c (macro_expand_body): Don't warn about == with a
8 nonexistent parameter, in case it is in a comment field.
10 * as.c (main): On TC_A29K, call macro_init with macro_alternate
12 * macro.c (get_any_string): Don't keep quotes if macro_strip_at is
13 set, even if macro_alternate is set.
14 (get_apost_token): If macro_strip_at, only skip kind if it is '@'.
15 (sub_actual): If macro_strip_at, and kind is '@', don't look up
16 the token unless it ended in '@'.
17 * config/tc-a29k.c (line_separator_chars): Remove '@'.
18 * doc/c-a29k.texi: Document macro usage on A29K.
20 Thu Nov 2 23:07:57 1995 Ian Lance Taylor <ian@cygnus.com>
22 * config/tc-m68k.c (m68k_ip): Handle new 'W' place, meaning a
24 (install_operand): Likewise.
26 * config/obj-elf.c (ecoff_debug_pseudo_table): Add "extern".
28 Wed Nov 1 15:17:02 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de>
30 * configure.in (m88k-motorola-sysv*): New target.
32 * config/te-delta88.h: New file.
33 * config/obj-coff.c (write_object_file): Use md_do_align if it is
35 * config/tc-m88k.h (SUB_SEGMENT_ALIGN): Define.
36 (md_do_align): Define.
37 * config/tc-m88k.c: Include "subsegs.h".
38 (m88k_do_align): New function.
40 * config/te-delta.h (STRIP_UNDERSCORE): Don't define.
41 (COFF_NOLOAD_PROBLEM): Define.
42 (LOCAL_LABELS_DOLLAR, LOCAL_LABELS_FB): Define.
44 Wed Nov 1 16:07:43 1995 Ken Raeburn <raeburn@cygnus.com>
46 * config/tc-i386.c (md_assemble): For a jump instruction with
47 non-constant target, require 7 available bytes in the current
50 Tue Oct 31 15:37:16 1995 Fred Fish <fnf@rtl.cygnus.com>
52 * config/obj-elf.h: Include bfd/elf-bfd.h rather than
55 Tue Oct 31 16:34:28 1995 David Mosberger-Tang <davidm@azstarnet.com>
57 * configure.in (alpha-*-linux*): Use ecoff.
59 * ecoff.c (ecoff_directive_extern): New function.
60 (ecoff_directive_weakext): New function.
61 (ecoff_build_symbols): Handle weak symbols.
62 (ecoff_setup_ext): Likewise.
63 (ecoff_frob_symbol): Warn about weak common symbols.
64 * ecoff.h (ecoff_directive_extern): Declare.
65 (ecoff_directive_weakext): Declare.
66 * symbols.c (S_IS_WEAK): New function.
67 * symbols.h (S_IS_WEAK): Declare.
68 * config/obj-ecoff.c (obj_pseudo_table): Add "extern" and
70 * config/tc-mips.c (mips_pseudo_table): Remove "extern".
73 Tue Oct 31 13:29:08 1995 Ian Lance Taylor <ian@cygnus.com>
75 * config/tc-ppc.c (ppc_lglobl): Do the right thing.
77 * config/tc-ppc.c (ppc_bb): Call SF_SET_PROCESS.
78 (ppc_eb): Likewise. Set the storage class to C_BLOCK, not C_FCN.
79 (ppc_frob_symbol): Don't change C_BLOCK symbols to C_HIDEXT.
80 * config/obj-coff.c (coff_frob_symbol): Don't call
81 SA_SET_SYM_ENDNDX with the current symbol; call it with the next
82 one. If OBJ_XCOFF, try to figure out whether the symbol is going
85 * config/tc-ppc.c (md_pseudo_table): Add "bc" and "ec".
86 (ppc_stab_symbol): New static variable.
87 (ppc_change_csect): Check that ppc_toc_csect is not NULL.
88 (ppc_stabx): Set ppc_stab_symbol around call to symbol_make. Set
89 sy_tc.real_name to the stab string.
90 (ppc_bc, ppc_ec): New static functions.
91 (ppc_canonicalize_symbol_name): If ppc_stab_symbol is set, don't
93 (ppc_symbol_new_hook): If ppc_stab_symbol is set, don't look for a
95 (ppc_frob_symbol): Set BSF_NOT_AT_END for symbols with csect aux
98 * input-scrub.c (input_scrub_push): Reset sb_index.
100 Mon Oct 30 17:52:46 1995 Ian Lance Taylor <ian@cygnus.com>
102 * listing.c (listing_newline): Don't create a frag in the absolute
105 Sat Oct 28 01:02:05 1995 Ian Lance Taylor <ian@cygnus.com>
107 * config/tc-ppc.c (md_pseudo_table): Add "data" and "text".
108 (ppc_csect): Move most of the code to ppc_change_csect, and call
110 (ppc_change_csect): New static function, taken from ppc_csect.
111 (ppc_section): New static function.
112 (ppc_saw_abs): New static varable.
113 (ppc_frob_symbol): Create aux entry for absolute symbols. Warn if
114 a symbol has no csect.
115 (ppc_adjust_symtab): New function.
116 * config/tc-ppc.h (tc_adjust_symtab): Define if OBJ_XCOFF.
117 (ppc_adjust_symtab): Declare if OBJ_XCOFF.
119 * write.c (write_object_file): If tc_adjust_symtab is defined,
120 call it just before the call to obj_adjust_symtab.
122 * symbols.c (symbol_find_or_make): Change name to be const.
123 * symbols.h (symbol_find_or_make): Update declaration.
125 Thu Oct 26 19:18:27 1995 Ken Raeburn <raeburn@cygnus.com>
127 * doc/as.texinfo (Align): Mention SH.
128 * doc/c-m68k.texi (M68K-Directives, .even): Describe behavior, not
130 * doc/c-z8k.texi (Z8000 Directives, global): Fix minor typo.
131 (Z8000 Directives, even): Don't give numeric align value, instead
134 Thu Oct 26 11:45:03 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
136 * tc-arm.c (do_ldst): Assemble ldr/str r0, [r1] as a pre-increment
139 Wed Oct 25 11:59:24 1995 Per Bothner <bothner@kalessin.cygnus.com>
141 * Makefile.in (diststuff): Also make info.
142 (maintainer-clean realclean): Also make clean-info.
144 Tue Oct 24 15:21:33 1995 Jeffrey A Law (law@cygnus.com)
146 * config/tc-hppa.c (md_pseudo_table): Add new ".nsubspa" opcode.
147 (pa_subspace): For ".nsubspa", always create a new subspace
148 with the given attributes, even if one already exists with the
151 Tue Oct 24 14:50:38 1995 Michael Meissner <meissner@tiktok.cygnus.com>
153 * config/tc-ppc.h (TC_FORCE_RELOCATION_SECTION): Rename from
154 TC_FORCE_RELOCATION, taking an additional section argument. If
155 the section of the target symbol is not the same as the current
156 section, always force the relocation to be used.
157 (MD_PCREL_FROM_SECTION): New macro to call md_pcrel_from_section.
159 * config/tc-ppc.c (md_pcrel_from_section): Rename from the
160 md_pcrel_from function, taking an additional section argument.
161 Invoke TC_FORCE_RELOCATION_SECTION instead of TC_FORCE_RELOCATION.
163 * write.c (TC_FORCE_RELOCATION_SECTION): Define in terms of the
164 older TC_FORCE_RELOCATION if not defined.
165 (MD_PCREL_FROM_SECTION): If not defined, invoke md_pcrel_from.
166 (fixup_segment): Use MD_PCREL_FROM_SECTION instead of
167 md_pcrel_from, and TC_FORCE_RELOCATION_SECTION instead of
170 Mon Oct 23 16:20:04 1995 Ken Raeburn <raeburn@cygnus.com>
172 * input-scrub.c (as_where): Set name to null pointer if we don't
174 * messages.c (identify): Only print filename if non-null.
175 (as_show_where): Ditto, for line number too.
176 (as_warn_internal, as_bad_internal): Ditto.
178 * input-file.c (input_file_open): If the input file can't be
179 opened, consider it an error.
181 Mon Oct 23 11:15:44 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
183 * config/tc-mips.c: Added mips_4100 control, and support for
184 accepting the 4100 as a MIPS architecture variant (md_begin,
185 macro_build, mips_ip, md_parse_option). Adding suitable
186 command-line OPTIONs, and updating the help text (md_show_usage).
188 Wed Oct 18 13:20:32 1995 Ken Raeburn <raeburn@cygnus.com>
190 * subsegs.c (subseg_begin): Only set absolute_frchain.fix_* when
191 BFD_ASSEMBLER is defined.
193 * Use one active frag and one obstack per frag chain:
194 * frags.c (frags): Variable deleted.
195 (frag_alloc): New function.
196 (frag_grow, frag_more, frag_variant, frag_now_fix,
197 frag_append_1_char): Refer to frchain_now->frch_obstack instead of
199 (frag_new): Ditto. Verify that frch_last and frag_now match on
200 entry and exit, and that old frag_now has non-zero type. Replace
201 "know" uses with "assert". Use frag_alloc instead of mucking with
203 * frags.h (frags): Declaration deleted.
204 * subsegs.h (struct frchain): Add new field frch_frag_now.
205 * subsegs.c (frchains, dummy_frag, absolute_frchain): New static
207 (subsegs_begin): Initialize frchains obstack. Under gcc, don't
208 give it any stricter alignment than frchainS structures need. Do
209 not initialize frags obstack. Set frag_now to point to
210 dummy_obstack. Initialize absolute_frchain.
211 (subseg_set_rest): Save and restore frag_now in frch_frag_now
212 field of frchainS. Don't create new frags on section switch, and
213 use frag_alloc when creating a new frag chain. For absolute
214 section, set frchain_now to absolute_frchain. Verify that
215 frch_last and frag_now match on entry and exit. Initialize
216 per-chain obstack, and under gcc, set required alignment to that
217 needed by fragS structure.
219 * write.c (chain_frchains_together_1): Verify fr_type is nonzero.
221 * stabs.c (get_stab_string_offset): Only copy input string if a
222 fresh copy is needed, not if the section already exists.
223 (s_stab_generic): Cache stab section name to bypass lookups, since
224 usually it will match. Could be made faster still by changing the
225 memory allocation rules.
226 (s_xstab): Cache section name to bypass repeated string
229 * frags.c (frag_new): Deleted register declarations.
231 * listing.c (frag_now): Don't declare.
233 * as.c (chunksize): New variable.
234 (debug_memory): New variable.
235 (main): If debug_memory is set, reduce chunksize and
237 * as.h (chunksize): Declare it.
238 * read.c (read_begin): Use it.
240 * config/tc-alpha.c (md_shortopts): Include 'g'.
241 (md_parse_option): Ignore it.
243 * Makefile.in (distclean): Remove Makefile and config.status from
245 (clean-here): Don't delete testsuite. Instead, delete only the
246 files within it that would be generated by running tests.
248 * config/tc-hppa.c (hppa_elf_mark_end_of_function): Call
249 frag_now_fix instead of accessing obstack info directly.
250 * config/tc-arm.c (s_ltorg): Ditto.
251 (md_assemble): Ditto.
253 * config/tc-i386.c (md_assemble): Call frag_grow instead of
256 Wed Oct 18 12:22:59 1995 Ken Raeburn <raeburn@cygnus.com>
258 * stabs.c (aout_process_stab): Insert debug symbol into symbol
259 chain after parsing value expression, if any, to avoid separating
260 continued .stabs lines.
262 Mon Oct 16 10:56:41 1995 Ian Lance Taylor <ian@cygnus.com>
264 * config/tc-mips.c (mips_elf_pseudo_table): Remove.
265 (mips_pop_insert): Don't call pop_insert on mips_elf_pseudo_table.
267 Mon Oct 16 07:07:37 1995 Michael Meissner <meissner@wogglebug.tiac.net>
269 * config/tc-ppc.c (md_begin): Use new flags PPC_OPCODE_COMMON for
270 -mcom support and PPC_OPCODE_ANY for -many.
271 (md_parse_option): Ditto.
273 (md_begin): For duplicate instructions, print all duplicates
276 Sun Oct 15 22:06:14 1995 Michael Meissner <meissner@cygnus.com>
278 * config/tc-ppc.c (md_parse_option): Support for -mcom to turn on
279 common mode operation.
280 (md_show_usage): Add -mcom to usage message.
282 Fri Oct 13 13:32:45 1995 steve chamberlain <sac@slash.cygnus.com>
284 * expr.c (op_rank): Add O_symbol_rva.
285 * expr.h (operatorT): Add O_symbol_rva.
286 * read.c (cons_worker): Set O_symbol_rva when necessary.
287 * write.c (fix_new_exp): Understand O_symbol_rva.
289 Tue Oct 10 11:34:14 1995 Ian Lance Taylor <ian@cygnus.com>
291 * config/tc-mips.c: Correct s_cons arguments. From Michael
292 Joosten <joost@ori.cadlab.de>.
294 Mon Oct 9 19:59:53 1995 Ian Lance Taylor <ian@cygnus.com>
296 * config/tc-ppc.c (ppc_macro): Make count unsigned.
297 (ppc_biei): Set segment to now_seg and value to coff_n_line_nos.
298 (ppc_frob_symbol): Handle C_BINCL and C_EINCL symbols by setting
300 * config/obj-coff.c (coff_n_line_nos): Rename from n_line_nos, and
301 make non-static. Change all users.
302 * config/obj-coff.h (coff_n_line_nos): Declare.
304 Fri Oct 6 16:24:27 1995 Ken Raeburn <raeburn@cygnus.com>
306 Mon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
308 * configure.in (AC_ARG_WITH(bfd-assembler)): Fix help message.
310 * config/obj-elf.c (obj_elf_common): Convert specified byte
311 alignment to power of two. Set size of local bss symbol.
313 * config/tc-m68k.c (tc_gen_reloc): Fix typo in variable name.
315 Fri Oct 6 15:22:25 1995 Ian Lance Taylor <ian@cygnus.com>
317 * sb.c, macro.c: Decide whether to include <string.h> or
318 <strings.h> just as as.h does.
320 Fri Oct 6 09:55:33 1995 Doug Evans <dje@canuck.cygnus.com>
322 * Makefile.in (site.exp): Fix setting of $srcdir.
324 * config/tc-arm.c (md_atof): Fix little-endian output.
325 * config/tc-arm.h (ARM_BI_ENDIAN): Move definition so defined for
328 Thu Oct 5 20:17:30 1995 Ken Raeburn <raeburn@cygnus.com>
330 * doc/as.texinfo: Split out the NS32k family documentation,
331 despite its being commented out for now.
332 * doc/c-ns32k.texi: New file.
334 * sb.c, macro.c: Include string.h.
336 * Makefile.in (comparison): Only check *.o; we don't care if
337 timestamps inserted by the native linker differ.
339 * config/tc-alpha.c (alpha_align): Only fill with a no-op pattern
340 if alignment stricter than 4 bytes is requested; in that case,
341 align to a 4-byte boundary first.
343 Thu Sep 28 19:35:27 1995 Pat Rankin <rankin@eql.caltech.edu>
345 * config/obj-vms.c (VMS_RSYM_Parse): eliminate "might be used
346 uninitialized" warning for `Max_Source_Offset'.
348 Wed Oct 4 16:17:02 1995 Kim Knuttila <krk@cygnus.com>
350 * config/tc-ppc.c (parse_toc_entry): New function to parse [toc]
351 qualifiers and detect errors if present.
352 (md_assemble): Add call to parse_toc_entry. Also added some support
353 for the [tocv] qualifier.
354 (ppc_pe_tocd): New function to support data in the toc section.
356 Wed Oct 4 14:03:39 1995 Ian Lance Taylor <ian@cygnus.com>
358 * config/tc-ppc.c (ppc_frob_symbol): Don't create an aux entry for
361 Tue Oct 3 12:18:19 1995 Ian Lance Taylor <ian@cygnus.com>
363 * config/tc-m68k.c (isword): Accept all values from -65536 to
364 +65535, so ~VAL will not be rejected.
366 * cond.c (s_endif): Call demand_empty_rest_of_line. In MRI mode,
367 skip characters after the pseudo-op.
369 * read.c (get_line_sb): Don't look past buffer_limit.
370 (s_include): In MRI mode, skip characters after the file name.
372 Mon Oct 2 16:15:27 1995 Ian Lance Taylor <ian@cygnus.com>
374 * config/m68k-parse.y (m68k_reg_parse): In MRI mode, permit
375 periods in register names.
377 For older changes see ChangeLog.1.