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