1 Tue Oct 31 13:29:08 1995 Ian Lance Taylor <ian@cygnus.com>
3 * input-scrub.c (input_scrub_push): Reset sb_index.
5 Mon Oct 30 17:52:46 1995 Ian Lance Taylor <ian@cygnus.com>
7 * listing.c (listing_newline): Don't create a frag in the absolute
10 Sat Oct 28 01:02:05 1995 Ian Lance Taylor <ian@cygnus.com>
12 * config/tc-ppc.c (md_pseudo_table): Add "data" and "text".
13 (ppc_csect): Move most of the code to ppc_change_csect, and call
15 (ppc_change_csect): New static function, taken from ppc_csect.
16 (ppc_section): New static function.
17 (ppc_saw_abs): New static varable.
18 (ppc_frob_symbol): Create aux entry for absolute symbols. Warn if
19 a symbol has no csect.
20 (ppc_adjust_symtab): New function.
21 * config/tc-ppc.h (tc_adjust_symtab): Define if OBJ_XCOFF.
22 (ppc_adjust_symtab): Declare if OBJ_XCOFF.
24 * write.c (write_object_file): If tc_adjust_symtab is defined,
25 call it just before the call to obj_adjust_symtab.
27 * symbols.c (symbol_find_or_make): Change name to be const.
28 * symbols.h (symbol_find_or_make): Update declaration.
30 Thu Oct 26 19:18:27 1995 Ken Raeburn <raeburn@cygnus.com>
32 * doc/as.texinfo (Align): Mention SH.
33 * doc/c-m68k.texi (M68K-Directives, .even): Describe behavior, not
35 * doc/c-z8k.texi (Z8000 Directives, global): Fix minor typo.
36 (Z8000 Directives, even): Don't give numeric align value, instead
39 Thu Oct 26 11:45:03 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
41 * tc-arm.c (do_ldst): Assemble ldr/str r0, [r1] as a pre-increment
44 Wed Oct 25 11:59:24 1995 Per Bothner <bothner@kalessin.cygnus.com>
46 * Makefile.in (diststuff): Also make info.
47 (maintainer-clean realclean): Also make clean-info.
49 Tue Oct 24 15:21:33 1995 Jeffrey A Law (law@cygnus.com)
51 * config/tc-hppa.c (md_pseudo_table): Add new ".nsubspa" opcode.
52 (pa_subspace): For ".nsubspa", always create a new subspace
53 with the given attributes, even if one already exists with the
56 Tue Oct 24 14:50:38 1995 Michael Meissner <meissner@tiktok.cygnus.com>
58 * config/tc-ppc.h (TC_FORCE_RELOCATION_SECTION): Rename from
59 TC_FORCE_RELOCATION, taking an additional section argument. If
60 the section of the target symbol is not the same as the current
61 section, always force the relocation to be used.
62 (MD_PCREL_FROM_SECTION): New macro to call md_pcrel_from_section.
64 * config/tc-ppc.c (md_pcrel_from_section): Rename from the
65 md_pcrel_from function, taking an additional section argument.
66 Invoke TC_FORCE_RELOCATION_SECTION instead of TC_FORCE_RELOCATION.
68 * write.c (TC_FORCE_RELOCATION_SECTION): Define in terms of the
69 older TC_FORCE_RELOCATION if not defined.
70 (MD_PCREL_FROM_SECTION): If not defined, invoke md_pcrel_from.
71 (fixup_segment): Use MD_PCREL_FROM_SECTION instead of
72 md_pcrel_from, and TC_FORCE_RELOCATION_SECTION instead of
75 Mon Oct 23 16:20:04 1995 Ken Raeburn <raeburn@cygnus.com>
77 * input-scrub.c (as_where): Set name to null pointer if we don't
79 * messages.c (identify): Only print filename if non-null.
80 (as_show_where): Ditto, for line number too.
81 (as_warn_internal, as_bad_internal): Ditto.
83 * input-file.c (input_file_open): If the input file can't be
84 opened, consider it an error.
86 Mon Oct 23 11:15:44 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
88 * config/tc-mips.c: Added mips_4100 control, and support for
89 accepting the 4100 as a MIPS architecture variant (md_begin,
90 macro_build, mips_ip, md_parse_option). Adding suitable
91 command-line OPTIONs, and updating the help text (md_show_usage).
93 Wed Oct 18 13:20:32 1995 Ken Raeburn <raeburn@cygnus.com>
95 * subsegs.c (subseg_begin): Only set absolute_frchain.fix_* when
96 BFD_ASSEMBLER is defined.
98 * Use one active frag and one obstack per frag chain:
99 * frags.c (frags): Variable deleted.
100 (frag_alloc): New function.
101 (frag_grow, frag_more, frag_variant, frag_now_fix,
102 frag_append_1_char): Refer to frchain_now->frch_obstack instead of
104 (frag_new): Ditto. Verify that frch_last and frag_now match on
105 entry and exit, and that old frag_now has non-zero type. Replace
106 "know" uses with "assert". Use frag_alloc instead of mucking with
108 * frags.h (frags): Declaration deleted.
109 * subsegs.h (struct frchain): Add new field frch_frag_now.
110 * subsegs.c (frchains, dummy_frag, absolute_frchain): New static
112 (subsegs_begin): Initialize frchains obstack. Under gcc, don't
113 give it any stricter alignment than frchainS structures need. Do
114 not initialize frags obstack. Set frag_now to point to
115 dummy_obstack. Initialize absolute_frchain.
116 (subseg_set_rest): Save and restore frag_now in frch_frag_now
117 field of frchainS. Don't create new frags on section switch, and
118 use frag_alloc when creating a new frag chain. For absolute
119 section, set frchain_now to absolute_frchain. Verify that
120 frch_last and frag_now match on entry and exit. Initialize
121 per-chain obstack, and under gcc, set required alignment to that
122 needed by fragS structure.
124 * write.c (chain_frchains_together_1): Verify fr_type is nonzero.
126 * stabs.c (get_stab_string_offset): Only copy input string if a
127 fresh copy is needed, not if the section already exists.
128 (s_stab_generic): Cache stab section name to bypass lookups, since
129 usually it will match. Could be made faster still by changing the
130 memory allocation rules.
131 (s_xstab): Cache section name to bypass repeated string
134 * frags.c (frag_new): Deleted register declarations.
136 * listing.c (frag_now): Don't declare.
138 * as.c (chunksize): New variable.
139 (debug_memory): New variable.
140 (main): If debug_memory is set, reduce chunksize and
142 * as.h (chunksize): Declare it.
143 * read.c (read_begin): Use it.
145 * config/tc-alpha.c (md_shortopts): Include 'g'.
146 (md_parse_option): Ignore it.
148 * Makefile.in (distclean): Remove Makefile and config.status from
150 (clean-here): Don't delete testsuite. Instead, delete only the
151 files within it that would be generated by running tests.
153 * config/tc-hppa.c (hppa_elf_mark_end_of_function): Call
154 frag_now_fix instead of accessing obstack info directly.
155 * config/tc-arm.c (s_ltorg): Ditto.
156 (md_assemble): Ditto.
158 * config/tc-i386.c (md_assemble): Call frag_grow instead of
161 Wed Oct 18 12:22:59 1995 Ken Raeburn <raeburn@cygnus.com>
163 * stabs.c (aout_process_stab): Insert debug symbol into symbol
164 chain after parsing value expression, if any, to avoid separating
165 continued .stabs lines.
167 Mon Oct 16 10:56:41 1995 Ian Lance Taylor <ian@cygnus.com>
169 * config/tc-mips.c (mips_elf_pseudo_table): Remove.
170 (mips_pop_insert): Don't call pop_insert on mips_elf_pseudo_table.
172 Mon Oct 16 07:07:37 1995 Michael Meissner <meissner@wogglebug.tiac.net>
174 * config/tc-ppc.c (md_begin): Use new flags PPC_OPCODE_COMMON for
175 -mcom support and PPC_OPCODE_ANY for -many.
176 (md_parse_option): Ditto.
178 (md_begin): For duplicate instructions, print all duplicates
181 Sun Oct 15 22:06:14 1995 Michael Meissner <meissner@cygnus.com>
183 * config/tc-ppc.c (md_parse_option): Support for -mcom to turn on
184 common mode operation.
185 (md_show_usage): Add -mcom to usage message.
187 Fri Oct 13 13:32:45 1995 steve chamberlain <sac@slash.cygnus.com>
189 * expr.c (op_rank): Add O_symbol_rva.
190 * expr.h (operatorT): Add O_symbol_rva.
191 * read.c (cons_worker): Set O_symbol_rva when necessary.
192 * write.c (fix_new_exp): Understand O_symbol_rva.
194 Tue Oct 10 11:34:14 1995 Ian Lance Taylor <ian@cygnus.com>
196 * config/tc-mips.c: Correct s_cons arguments. From Michael
197 Joosten <joost@ori.cadlab.de>.
199 Mon Oct 9 19:59:53 1995 Ian Lance Taylor <ian@cygnus.com>
201 * config/tc-ppc.c (ppc_macro): Make count unsigned.
202 (ppc_biei): Set segment to now_seg and value to coff_n_line_nos.
203 (ppc_frob_symbol): Handle C_BINCL and C_EINCL symbols by setting
205 * config/obj-coff.c (coff_n_line_nos): Rename from n_line_nos, and
206 make non-static. Change all users.
207 * config/obj-coff.h (coff_n_line_nos): Declare.
209 Fri Oct 6 16:24:27 1995 Ken Raeburn <raeburn@cygnus.com>
211 Mon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
213 * configure.in (AC_ARG_WITH(bfd-assembler)): Fix help message.
215 * config/obj-elf.c (obj_elf_common): Convert specified byte
216 alignment to power of two. Set size of local bss symbol.
218 * config/tc-m68k.c (tc_gen_reloc): Fix typo in variable name.
220 Fri Oct 6 15:22:25 1995 Ian Lance Taylor <ian@cygnus.com>
222 * sb.c, macro.c: Decide whether to include <string.h> or
223 <strings.h> just as as.h does.
225 Fri Oct 6 09:55:33 1995 Doug Evans <dje@canuck.cygnus.com>
227 * Makefile.in (site.exp): Fix setting of $srcdir.
229 * config/tc-arm.c (md_atof): Fix little-endian output.
230 * config/tc-arm.h (ARM_BI_ENDIAN): Move definition so defined for
233 Thu Oct 5 20:17:30 1995 Ken Raeburn <raeburn@cygnus.com>
235 * doc/as.texinfo: Split out the NS32k family documentation,
236 despite its being commented out for now.
237 * doc/c-ns32k.texi: New file.
239 * sb.c, macro.c: Include string.h.
241 * Makefile.in (comparison): Only check *.o; we don't care if
242 timestamps inserted by the native linker differ.
244 * config/tc-alpha.c (alpha_align): Only fill with a no-op pattern
245 if alignment stricter than 4 bytes is requested; in that case,
246 align to a 4-byte boundary first.
248 Thu Sep 28 19:35:27 1995 Pat Rankin <rankin@eql.caltech.edu>
250 * config/obj-vms.c (VMS_RSYM_Parse): eliminate "might be used
251 uninitialized" warning for `Max_Source_Offset'.
253 Wed Oct 4 16:17:02 1995 Kim Knuttila <krk@cygnus.com>
255 * config/tc-ppc.c (parse_toc_entry): New function to parse [toc]
256 qualifiers and detect errors if present.
257 (md_assemble): Add call to parse_toc_entry. Also added some support
258 for the [tocv] qualifier.
259 (ppc_pe_tocd): New function to support data in the toc section.
261 Wed Oct 4 14:03:39 1995 Ian Lance Taylor <ian@cygnus.com>
263 * config/tc-ppc.c (ppc_frob_symbol): Don't create an aux entry for
266 Tue Oct 3 12:18:19 1995 Ian Lance Taylor <ian@cygnus.com>
268 * config/tc-m68k.c (isbyte): Accept all values from -65536 to
269 +65535, so ~VAL will not be rejected.
271 * cond.c (s_endif): Call demand_empty_rest_of_line. In MRI mode,
272 skip characters after the pseudo-op.
274 * read.c (get_line_sb): Don't look past buffer_limit.
275 (s_include): In MRI mode, skip characters after the file name.
277 Mon Oct 2 16:15:27 1995 Ian Lance Taylor <ian@cygnus.com>
279 * config/m68k-parse.y (m68k_reg_parse): In MRI mode, permit
280 periods in register names.
282 For older changes see ChangeLog.1.