* config/tc-i386.c (md_assemble): For a jump instruction with non-constant
[deliverable/binutils-gdb.git] / gas / ChangeLog
1 Wed Nov 1 16:07:43 1995 Ken Raeburn <raeburn@cygnus.com>
2
3 * config/tc-i386.c (md_assemble): For a jump instruction with
4 non-constant target, require 7 available bytes in the current
5 frag, not 6.
6
7 Tue Oct 31 15:37:16 1995 Fred Fish <fnf@rtl.cygnus.com>
8
9 * config/obj-elf.h: Include bfd/elf-bfd.h rather than
10 bfd/libelf.h.
11
12 Tue Oct 31 16:34:28 1995 David Mosberger-Tang <davidm@azstarnet.com>
13
14 * configure.in (alpha-*-linux*): Use ecoff.
15 * configure: Rebuild.
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
26 "weakext".
27 * config/tc-mips.c (mips_pseudo_table): Remove "extern".
28 (s_extern): Remove.
29
30 Tue Oct 31 13:29:08 1995 Ian Lance Taylor <ian@cygnus.com>
31
32 * config/tc-ppc.c (ppc_lglobl): Do the right thing.
33
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
40 to be dropped.
41
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
49 do anything.
50 (ppc_symbol_new_hook): If ppc_stab_symbol is set, don't look for a
51 suffix.
52 (ppc_frob_symbol): Set BSF_NOT_AT_END for symbols with csect aux
53 entries.
54
55 * input-scrub.c (input_scrub_push): Reset sb_index.
56
57 Mon Oct 30 17:52:46 1995 Ian Lance Taylor <ian@cygnus.com>
58
59 * listing.c (listing_newline): Don't create a frag in the absolute
60 section.
61
62 Sat Oct 28 01:02:05 1995 Ian Lance Taylor <ian@cygnus.com>
63
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
66 it.
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.
75
76 * write.c (write_object_file): If tc_adjust_symtab is defined,
77 call it just before the call to obj_adjust_symtab.
78
79 * symbols.c (symbol_find_or_make): Change name to be const.
80 * symbols.h (symbol_find_or_make): Update declaration.
81
82 Thu Oct 26 19:18:27 1995 Ken Raeburn <raeburn@cygnus.com>
83
84 * doc/as.texinfo (Align): Mention SH.
85 * doc/c-m68k.texi (M68K-Directives, .even): Describe behavior, not
86 .align value.
87 * doc/c-z8k.texi (Z8000 Directives, global): Fix minor typo.
88 (Z8000 Directives, even): Don't give numeric align value, instead
89 explain behavior.
90
91 Thu Oct 26 11:45:03 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
92
93 * tc-arm.c (do_ldst): Assemble ldr/str r0, [r1] as a pre-increment
94 instruction.
95
96 Wed Oct 25 11:59:24 1995 Per Bothner <bothner@kalessin.cygnus.com>
97
98 * Makefile.in (diststuff): Also make info.
99 (maintainer-clean realclean): Also make clean-info.
100
101 Tue Oct 24 15:21:33 1995 Jeffrey A Law (law@cygnus.com)
102
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
106 same name.
107
108 Tue Oct 24 14:50:38 1995 Michael Meissner <meissner@tiktok.cygnus.com>
109
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.
115
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.
119
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
125 TC_FORCE_RELOCATION.
126
127 Mon Oct 23 16:20:04 1995 Ken Raeburn <raeburn@cygnus.com>
128
129 * input-scrub.c (as_where): Set name to null pointer if we don't
130 have a file name.
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.
134
135 * input-file.c (input_file_open): If the input file can't be
136 opened, consider it an error.
137
138 Mon Oct 23 11:15:44 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
139
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).
144
145 Wed Oct 18 13:20:32 1995 Ken Raeburn <raeburn@cygnus.com>
146
147 * subsegs.c (subseg_begin): Only set absolute_frchain.fix_* when
148 BFD_ASSEMBLER is defined.
149
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
155 frags variable.
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
159 obstack alignment.
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
163 variables.
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.
175
176 * write.c (chain_frchains_together_1): Verify fr_type is nonzero.
177
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
184 allocation.
185
186 * frags.c (frag_new): Deleted register declarations.
187
188 * listing.c (frag_now): Don't declare.
189
190 * as.c (chunksize): New variable.
191 (debug_memory): New variable.
192 (main): If debug_memory is set, reduce chunksize and
193 _bfd_chunksize.
194 * as.h (chunksize): Declare it.
195 * read.c (read_begin): Use it.
196
197 * config/tc-alpha.c (md_shortopts): Include 'g'.
198 (md_parse_option): Ignore it.
199
200 * Makefile.in (distclean): Remove Makefile and config.status from
201 testsuite directory.
202 (clean-here): Don't delete testsuite. Instead, delete only the
203 files within it that would be generated by running tests.
204
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.
209
210 * config/tc-i386.c (md_assemble): Call frag_grow instead of
211 obstack_room.
212
213 Wed Oct 18 12:22:59 1995 Ken Raeburn <raeburn@cygnus.com>
214
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.
218
219 Mon Oct 16 10:56:41 1995 Ian Lance Taylor <ian@cygnus.com>
220
221 * config/tc-mips.c (mips_elf_pseudo_table): Remove.
222 (mips_pop_insert): Don't call pop_insert on mips_elf_pseudo_table.
223
224 Mon Oct 16 07:07:37 1995 Michael Meissner <meissner@wogglebug.tiac.net>
225
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.
229 (ppc_arch): Ditto.
230 (md_begin): For duplicate instructions, print all duplicates
231 before aborting.
232
233 Sun Oct 15 22:06:14 1995 Michael Meissner <meissner@cygnus.com>
234
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.
238
239 Fri Oct 13 13:32:45 1995 steve chamberlain <sac@slash.cygnus.com>
240
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.
245
246 Tue Oct 10 11:34:14 1995 Ian Lance Taylor <ian@cygnus.com>
247
248 * config/tc-mips.c: Correct s_cons arguments. From Michael
249 Joosten <joost@ori.cadlab.de>.
250
251 Mon Oct 9 19:59:53 1995 Ian Lance Taylor <ian@cygnus.com>
252
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
256 the fix_line field.
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.
260
261 Fri Oct 6 16:24:27 1995 Ken Raeburn <raeburn@cygnus.com>
262
263 Mon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
264
265 * configure.in (AC_ARG_WITH(bfd-assembler)): Fix help message.
266
267 * config/obj-elf.c (obj_elf_common): Convert specified byte
268 alignment to power of two. Set size of local bss symbol.
269
270 * config/tc-m68k.c (tc_gen_reloc): Fix typo in variable name.
271
272 Fri Oct 6 15:22:25 1995 Ian Lance Taylor <ian@cygnus.com>
273
274 * sb.c, macro.c: Decide whether to include <string.h> or
275 <strings.h> just as as.h does.
276
277 Fri Oct 6 09:55:33 1995 Doug Evans <dje@canuck.cygnus.com>
278
279 * Makefile.in (site.exp): Fix setting of $srcdir.
280
281 * config/tc-arm.c (md_atof): Fix little-endian output.
282 * config/tc-arm.h (ARM_BI_ENDIAN): Move definition so defined for
283 all coff targets.
284
285 Thu Oct 5 20:17:30 1995 Ken Raeburn <raeburn@cygnus.com>
286
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.
290
291 * sb.c, macro.c: Include string.h.
292
293 * Makefile.in (comparison): Only check *.o; we don't care if
294 timestamps inserted by the native linker differ.
295
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.
299
300 Thu Sep 28 19:35:27 1995 Pat Rankin <rankin@eql.caltech.edu>
301
302 * config/obj-vms.c (VMS_RSYM_Parse): eliminate "might be used
303 uninitialized" warning for `Max_Source_Offset'.
304
305 Wed Oct 4 16:17:02 1995 Kim Knuttila <krk@cygnus.com>
306
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.
312
313 Wed Oct 4 14:03:39 1995 Ian Lance Taylor <ian@cygnus.com>
314
315 * config/tc-ppc.c (ppc_frob_symbol): Don't create an aux entry for
316 an absolute symbol.
317
318 Tue Oct 3 12:18:19 1995 Ian Lance Taylor <ian@cygnus.com>
319
320 * config/tc-m68k.c (isbyte): Accept all values from -65536 to
321 +65535, so ~VAL will not be rejected.
322
323 * cond.c (s_endif): Call demand_empty_rest_of_line. In MRI mode,
324 skip characters after the pseudo-op.
325 (s_else): Likewise.
326 * read.c (get_line_sb): Don't look past buffer_limit.
327 (s_include): In MRI mode, skip characters after the file name.
328
329 Mon Oct 2 16:15:27 1995 Ian Lance Taylor <ian@cygnus.com>
330
331 * config/m68k-parse.y (m68k_reg_parse): In MRI mode, permit
332 periods in register names.
333
334 For older changes see ChangeLog.1.
This page took 0.035499 seconds and 4 git commands to generate.