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