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