1 Wed Nov 1 16:07:43 1995 Ken Raeburn <raeburn@cygnus.com>
3 * config/tc-i386.c (md_assemble): For a jump instruction with
4 non-constant target, require 7 available bytes in the current
7 Tue Oct 31 15:37:16 1995 Fred Fish <fnf@rtl.cygnus.com>
9 * config/obj-elf.h: Include bfd/elf-bfd.h rather than
12 Tue Oct 31 16:34:28 1995 David Mosberger-Tang <davidm@azstarnet.com>
14 * configure.in (alpha-*-linux*): Use ecoff.
16 * ecoff.c (ecoff_directive_extern): New function.
17 (ecoff_directive_weakext): New function.
18 (ecoff_build_symbols): Handle weak symbols.
19 (ecoff_setup_ext): Likewise.
20 (ecoff_frob_symbol): Warn about weak common symbols.
21 * ecoff.h (ecoff_directive_extern): Declare.
22 (ecoff_directive_weakext): Declare.
23 * symbols.c (S_IS_WEAK): New function.
24 * symbols.h (S_IS_WEAK): Declare.
25 * config/obj-ecoff.c (obj_pseudo_table): Add "extern" and
27 * config/tc-mips.c (mips_pseudo_table): Remove "extern".
30 Tue Oct 31 13:29:08 1995 Ian Lance Taylor <ian@cygnus.com>
32 * config/tc-ppc.c (ppc_lglobl): Do the right thing.
34 * config/tc-ppc.c (ppc_bb): Call SF_SET_PROCESS.
35 (ppc_eb): Likewise. Set the storage class to C_BLOCK, not C_FCN.
36 (ppc_frob_symbol): Don't change C_BLOCK symbols to C_HIDEXT.
37 * config/obj-coff.c (coff_frob_symbol): Don't call
38 SA_SET_SYM_ENDNDX with the current symbol; call it with the next
39 one. If OBJ_XCOFF, try to figure out whether the symbol is going
42 * config/tc-ppc.c (md_pseudo_table): Add "bc" and "ec".
43 (ppc_stab_symbol): New static variable.
44 (ppc_change_csect): Check that ppc_toc_csect is not NULL.
45 (ppc_stabx): Set ppc_stab_symbol around call to symbol_make. Set
46 sy_tc.real_name to the stab string.
47 (ppc_bc, ppc_ec): New static functions.
48 (ppc_canonicalize_symbol_name): If ppc_stab_symbol is set, don't
50 (ppc_symbol_new_hook): If ppc_stab_symbol is set, don't look for a
52 (ppc_frob_symbol): Set BSF_NOT_AT_END for symbols with csect aux
55 * input-scrub.c (input_scrub_push): Reset sb_index.
57 Mon Oct 30 17:52:46 1995 Ian Lance Taylor <ian@cygnus.com>
59 * listing.c (listing_newline): Don't create a frag in the absolute
62 Sat Oct 28 01:02:05 1995 Ian Lance Taylor <ian@cygnus.com>
64 * config/tc-ppc.c (md_pseudo_table): Add "data" and "text".
65 (ppc_csect): Move most of the code to ppc_change_csect, and call
67 (ppc_change_csect): New static function, taken from ppc_csect.
68 (ppc_section): New static function.
69 (ppc_saw_abs): New static varable.
70 (ppc_frob_symbol): Create aux entry for absolute symbols. Warn if
71 a symbol has no csect.
72 (ppc_adjust_symtab): New function.
73 * config/tc-ppc.h (tc_adjust_symtab): Define if OBJ_XCOFF.
74 (ppc_adjust_symtab): Declare if OBJ_XCOFF.
76 * write.c (write_object_file): If tc_adjust_symtab is defined,
77 call it just before the call to obj_adjust_symtab.
79 * symbols.c (symbol_find_or_make): Change name to be const.
80 * symbols.h (symbol_find_or_make): Update declaration.
82 Thu Oct 26 19:18:27 1995 Ken Raeburn <raeburn@cygnus.com>
84 * doc/as.texinfo (Align): Mention SH.
85 * doc/c-m68k.texi (M68K-Directives, .even): Describe behavior, not
87 * doc/c-z8k.texi (Z8000 Directives, global): Fix minor typo.
88 (Z8000 Directives, even): Don't give numeric align value, instead
91 Thu Oct 26 11:45:03 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
93 * tc-arm.c (do_ldst): Assemble ldr/str r0, [r1] as a pre-increment
96 Wed Oct 25 11:59:24 1995 Per Bothner <bothner@kalessin.cygnus.com>
98 * Makefile.in (diststuff): Also make info.
99 (maintainer-clean realclean): Also make clean-info.
101 Tue Oct 24 15:21:33 1995 Jeffrey A Law (law@cygnus.com)
103 * config/tc-hppa.c (md_pseudo_table): Add new ".nsubspa" opcode.
104 (pa_subspace): For ".nsubspa", always create a new subspace
105 with the given attributes, even if one already exists with the
108 Tue Oct 24 14:50:38 1995 Michael Meissner <meissner@tiktok.cygnus.com>
110 * config/tc-ppc.h (TC_FORCE_RELOCATION_SECTION): Rename from
111 TC_FORCE_RELOCATION, taking an additional section argument. If
112 the section of the target symbol is not the same as the current
113 section, always force the relocation to be used.
114 (MD_PCREL_FROM_SECTION): New macro to call md_pcrel_from_section.
116 * config/tc-ppc.c (md_pcrel_from_section): Rename from the
117 md_pcrel_from function, taking an additional section argument.
118 Invoke TC_FORCE_RELOCATION_SECTION instead of TC_FORCE_RELOCATION.
120 * write.c (TC_FORCE_RELOCATION_SECTION): Define in terms of the
121 older TC_FORCE_RELOCATION if not defined.
122 (MD_PCREL_FROM_SECTION): If not defined, invoke md_pcrel_from.
123 (fixup_segment): Use MD_PCREL_FROM_SECTION instead of
124 md_pcrel_from, and TC_FORCE_RELOCATION_SECTION instead of
127 Mon Oct 23 16:20:04 1995 Ken Raeburn <raeburn@cygnus.com>
129 * input-scrub.c (as_where): Set name to null pointer if we don't
131 * messages.c (identify): Only print filename if non-null.
132 (as_show_where): Ditto, for line number too.
133 (as_warn_internal, as_bad_internal): Ditto.
135 * input-file.c (input_file_open): If the input file can't be
136 opened, consider it an error.
138 Mon Oct 23 11:15:44 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
140 * config/tc-mips.c: Added mips_4100 control, and support for
141 accepting the 4100 as a MIPS architecture variant (md_begin,
142 macro_build, mips_ip, md_parse_option). Adding suitable
143 command-line OPTIONs, and updating the help text (md_show_usage).
145 Wed Oct 18 13:20:32 1995 Ken Raeburn <raeburn@cygnus.com>
147 * subsegs.c (subseg_begin): Only set absolute_frchain.fix_* when
148 BFD_ASSEMBLER is defined.
150 * Use one active frag and one obstack per frag chain:
151 * frags.c (frags): Variable deleted.
152 (frag_alloc): New function.
153 (frag_grow, frag_more, frag_variant, frag_now_fix,
154 frag_append_1_char): Refer to frchain_now->frch_obstack instead of
156 (frag_new): Ditto. Verify that frch_last and frag_now match on
157 entry and exit, and that old frag_now has non-zero type. Replace
158 "know" uses with "assert". Use frag_alloc instead of mucking with
160 * frags.h (frags): Declaration deleted.
161 * subsegs.h (struct frchain): Add new field frch_frag_now.
162 * subsegs.c (frchains, dummy_frag, absolute_frchain): New static
164 (subsegs_begin): Initialize frchains obstack. Under gcc, don't
165 give it any stricter alignment than frchainS structures need. Do
166 not initialize frags obstack. Set frag_now to point to
167 dummy_obstack. Initialize absolute_frchain.
168 (subseg_set_rest): Save and restore frag_now in frch_frag_now
169 field of frchainS. Don't create new frags on section switch, and
170 use frag_alloc when creating a new frag chain. For absolute
171 section, set frchain_now to absolute_frchain. Verify that
172 frch_last and frag_now match on entry and exit. Initialize
173 per-chain obstack, and under gcc, set required alignment to that
174 needed by fragS structure.
176 * write.c (chain_frchains_together_1): Verify fr_type is nonzero.
178 * stabs.c (get_stab_string_offset): Only copy input string if a
179 fresh copy is needed, not if the section already exists.
180 (s_stab_generic): Cache stab section name to bypass lookups, since
181 usually it will match. Could be made faster still by changing the
182 memory allocation rules.
183 (s_xstab): Cache section name to bypass repeated string
186 * frags.c (frag_new): Deleted register declarations.
188 * listing.c (frag_now): Don't declare.
190 * as.c (chunksize): New variable.
191 (debug_memory): New variable.
192 (main): If debug_memory is set, reduce chunksize and
194 * as.h (chunksize): Declare it.
195 * read.c (read_begin): Use it.
197 * config/tc-alpha.c (md_shortopts): Include 'g'.
198 (md_parse_option): Ignore it.
200 * Makefile.in (distclean): Remove Makefile and config.status from
202 (clean-here): Don't delete testsuite. Instead, delete only the
203 files within it that would be generated by running tests.
205 * config/tc-hppa.c (hppa_elf_mark_end_of_function): Call
206 frag_now_fix instead of accessing obstack info directly.
207 * config/tc-arm.c (s_ltorg): Ditto.
208 (md_assemble): Ditto.
210 * config/tc-i386.c (md_assemble): Call frag_grow instead of
213 Wed Oct 18 12:22:59 1995 Ken Raeburn <raeburn@cygnus.com>
215 * stabs.c (aout_process_stab): Insert debug symbol into symbol
216 chain after parsing value expression, if any, to avoid separating
217 continued .stabs lines.
219 Mon Oct 16 10:56:41 1995 Ian Lance Taylor <ian@cygnus.com>
221 * config/tc-mips.c (mips_elf_pseudo_table): Remove.
222 (mips_pop_insert): Don't call pop_insert on mips_elf_pseudo_table.
224 Mon Oct 16 07:07:37 1995 Michael Meissner <meissner@wogglebug.tiac.net>
226 * config/tc-ppc.c (md_begin): Use new flags PPC_OPCODE_COMMON for
227 -mcom support and PPC_OPCODE_ANY for -many.
228 (md_parse_option): Ditto.
230 (md_begin): For duplicate instructions, print all duplicates
233 Sun Oct 15 22:06:14 1995 Michael Meissner <meissner@cygnus.com>
235 * config/tc-ppc.c (md_parse_option): Support for -mcom to turn on
236 common mode operation.
237 (md_show_usage): Add -mcom to usage message.
239 Fri Oct 13 13:32:45 1995 steve chamberlain <sac@slash.cygnus.com>
241 * expr.c (op_rank): Add O_symbol_rva.
242 * expr.h (operatorT): Add O_symbol_rva.
243 * read.c (cons_worker): Set O_symbol_rva when necessary.
244 * write.c (fix_new_exp): Understand O_symbol_rva.
246 Tue Oct 10 11:34:14 1995 Ian Lance Taylor <ian@cygnus.com>
248 * config/tc-mips.c: Correct s_cons arguments. From Michael
249 Joosten <joost@ori.cadlab.de>.
251 Mon Oct 9 19:59:53 1995 Ian Lance Taylor <ian@cygnus.com>
253 * config/tc-ppc.c (ppc_macro): Make count unsigned.
254 (ppc_biei): Set segment to now_seg and value to coff_n_line_nos.
255 (ppc_frob_symbol): Handle C_BINCL and C_EINCL symbols by setting
257 * config/obj-coff.c (coff_n_line_nos): Rename from n_line_nos, and
258 make non-static. Change all users.
259 * config/obj-coff.h (coff_n_line_nos): Declare.
261 Fri Oct 6 16:24:27 1995 Ken Raeburn <raeburn@cygnus.com>
263 Mon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
265 * configure.in (AC_ARG_WITH(bfd-assembler)): Fix help message.
267 * config/obj-elf.c (obj_elf_common): Convert specified byte
268 alignment to power of two. Set size of local bss symbol.
270 * config/tc-m68k.c (tc_gen_reloc): Fix typo in variable name.
272 Fri Oct 6 15:22:25 1995 Ian Lance Taylor <ian@cygnus.com>
274 * sb.c, macro.c: Decide whether to include <string.h> or
275 <strings.h> just as as.h does.
277 Fri Oct 6 09:55:33 1995 Doug Evans <dje@canuck.cygnus.com>
279 * Makefile.in (site.exp): Fix setting of $srcdir.
281 * config/tc-arm.c (md_atof): Fix little-endian output.
282 * config/tc-arm.h (ARM_BI_ENDIAN): Move definition so defined for
285 Thu Oct 5 20:17:30 1995 Ken Raeburn <raeburn@cygnus.com>
287 * doc/as.texinfo: Split out the NS32k family documentation,
288 despite its being commented out for now.
289 * doc/c-ns32k.texi: New file.
291 * sb.c, macro.c: Include string.h.
293 * Makefile.in (comparison): Only check *.o; we don't care if
294 timestamps inserted by the native linker differ.
296 * config/tc-alpha.c (alpha_align): Only fill with a no-op pattern
297 if alignment stricter than 4 bytes is requested; in that case,
298 align to a 4-byte boundary first.
300 Thu Sep 28 19:35:27 1995 Pat Rankin <rankin@eql.caltech.edu>
302 * config/obj-vms.c (VMS_RSYM_Parse): eliminate "might be used
303 uninitialized" warning for `Max_Source_Offset'.
305 Wed Oct 4 16:17:02 1995 Kim Knuttila <krk@cygnus.com>
307 * config/tc-ppc.c (parse_toc_entry): New function to parse [toc]
308 qualifiers and detect errors if present.
309 (md_assemble): Add call to parse_toc_entry. Also added some support
310 for the [tocv] qualifier.
311 (ppc_pe_tocd): New function to support data in the toc section.
313 Wed Oct 4 14:03:39 1995 Ian Lance Taylor <ian@cygnus.com>
315 * config/tc-ppc.c (ppc_frob_symbol): Don't create an aux entry for
318 Tue Oct 3 12:18:19 1995 Ian Lance Taylor <ian@cygnus.com>
320 * config/tc-m68k.c (isbyte): Accept all values from -65536 to
321 +65535, so ~VAL will not be rejected.
323 * cond.c (s_endif): Call demand_empty_rest_of_line. In MRI mode,
324 skip characters after the pseudo-op.
326 * read.c (get_line_sb): Don't look past buffer_limit.
327 (s_include): In MRI mode, skip characters after the file name.
329 Mon Oct 2 16:15:27 1995 Ian Lance Taylor <ian@cygnus.com>
331 * config/m68k-parse.y (m68k_reg_parse): In MRI mode, permit
332 periods in register names.
334 For older changes see ChangeLog.1.