Wed Nov 8 16:38:14 1995 Eric Freudenthal <freudenthal@nyu.edu>
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
6364a188
ILT
1Wed Nov 8 16:38:14 1995 Eric Freudenthal <freudenthal@nyu.edu>
2
3 * configure.in (a29k-nyu-sym1): New target, just like other a29k
4 targets.
5
0fa6f8f6
ILT
6Wed Nov 8 11:38:48 1995 Ian Lance Taylor <ian@cygnus.com>
7
8 * config/obj-coff.c (c_dot_file_symbol): Cast xmalloc return.
9
10Tue Nov 7 09:14:35 1995 Kim Knuttila <krk@cygnus.com>
11
12 * config/tc-ppc.c (md_apply_fix3): Added BFD_RELOC_RVA. Currently
13 used only by "dlltool.c".
14
eec2cfef
ILT
15Mon Nov 6 18:51:26 1995 Ian Lance Taylor <ian@cygnus.com>
16
17 * config/tc-alpha.c: Undefine inline if not __GNUC__.
18 (md_pseudo_table): Don't define "extern".
19
df7504dc
ILT
20Sat Nov 4 00:51:21 1995 Ian Lance Taylor <ian@cygnus.com>
21
a3d1c561
ILT
22 * config/tc-ppc.c (ppc_biei): Force symbol into text_section.
23
df7504dc
ILT
24 * config/tc-ppc.c (md_show_usage): Put backslash at end of line.
25
07d012f6
ILT
26Fri Nov 3 13:02:59 1995 Ian Lance Taylor <ian@cygnus.com>
27
36e80ac6
ILT
28 * macro.c (macro_expand_body): Don't warn about == with a
29 nonexistent parameter, in case it is in a comment field.
30
07d012f6
ILT
31 * as.c (main): On TC_A29K, call macro_init with macro_alternate
32 set to 1.
33 * macro.c (get_any_string): Don't keep quotes if macro_strip_at is
34 set, even if macro_alternate is set.
35 (get_apost_token): If macro_strip_at, only skip kind if it is '@'.
36 (sub_actual): If macro_strip_at, and kind is '@', don't look up
37 the token unless it ended in '@'.
38 * config/tc-a29k.c (line_separator_chars): Remove '@'.
39 * doc/c-a29k.texi: Document macro usage on A29K.
40
01f108bc
ILT
41Thu Nov 2 23:07:57 1995 Ian Lance Taylor <ian@cygnus.com>
42
43 * config/tc-m68k.c (m68k_ip): Handle new 'W' place, meaning a
44 signed word.
45 (install_operand): Likewise.
46
47 * config/obj-elf.c (ecoff_debug_pseudo_table): Add "extern".
48
49Wed Nov 1 15:17:02 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de>
50
51 * configure.in (m88k-motorola-sysv*): New target.
52 * configure: Rebuild.
53 * config/te-delta88.h: New file.
54 * config/obj-coff.c (write_object_file): Use md_do_align if it is
55 defined.
56 * config/tc-m88k.h (SUB_SEGMENT_ALIGN): Define.
57 (md_do_align): Define.
58 * config/tc-m88k.c: Include "subsegs.h".
59 (m88k_do_align): New function.
60
61 * config/te-delta.h (STRIP_UNDERSCORE): Don't define.
62 (COFF_NOLOAD_PROBLEM): Define.
63 (LOCAL_LABELS_DOLLAR, LOCAL_LABELS_FB): Define.
64
7954cc14
KR
65Wed Nov 1 16:07:43 1995 Ken Raeburn <raeburn@cygnus.com>
66
67 * config/tc-i386.c (md_assemble): For a jump instruction with
68 non-constant target, require 7 available bytes in the current
69 frag, not 6.
70
d033806f
FF
71Tue Oct 31 15:37:16 1995 Fred Fish <fnf@rtl.cygnus.com>
72
73 * config/obj-elf.h: Include bfd/elf-bfd.h rather than
74 bfd/libelf.h.
75
d7b2038f
ILT
76Tue Oct 31 16:34:28 1995 David Mosberger-Tang <davidm@azstarnet.com>
77
78 * configure.in (alpha-*-linux*): Use ecoff.
79 * configure: Rebuild.
80 * ecoff.c (ecoff_directive_extern): New function.
81 (ecoff_directive_weakext): New function.
82 (ecoff_build_symbols): Handle weak symbols.
83 (ecoff_setup_ext): Likewise.
59c80ca2 84 (ecoff_frob_symbol): Warn about weak common symbols.
d7b2038f
ILT
85 * ecoff.h (ecoff_directive_extern): Declare.
86 (ecoff_directive_weakext): Declare.
87 * symbols.c (S_IS_WEAK): New function.
88 * symbols.h (S_IS_WEAK): Declare.
89 * config/obj-ecoff.c (obj_pseudo_table): Add "extern" and
90 "weakext".
91 * config/tc-mips.c (mips_pseudo_table): Remove "extern".
92 (s_extern): Remove.
93
cbdf59ad
ILT
94Tue Oct 31 13:29:08 1995 Ian Lance Taylor <ian@cygnus.com>
95
b629f627
ILT
96 * config/tc-ppc.c (ppc_lglobl): Do the right thing.
97
7ab1edc8
ILT
98 * config/tc-ppc.c (ppc_bb): Call SF_SET_PROCESS.
99 (ppc_eb): Likewise. Set the storage class to C_BLOCK, not C_FCN.
100 (ppc_frob_symbol): Don't change C_BLOCK symbols to C_HIDEXT.
101 * config/obj-coff.c (coff_frob_symbol): Don't call
102 SA_SET_SYM_ENDNDX with the current symbol; call it with the next
103 one. If OBJ_XCOFF, try to figure out whether the symbol is going
104 to be dropped.
105
31751d9d
ILT
106 * config/tc-ppc.c (md_pseudo_table): Add "bc" and "ec".
107 (ppc_stab_symbol): New static variable.
108 (ppc_change_csect): Check that ppc_toc_csect is not NULL.
109 (ppc_stabx): Set ppc_stab_symbol around call to symbol_make. Set
110 sy_tc.real_name to the stab string.
111 (ppc_bc, ppc_ec): New static functions.
112 (ppc_canonicalize_symbol_name): If ppc_stab_symbol is set, don't
113 do anything.
114 (ppc_symbol_new_hook): If ppc_stab_symbol is set, don't look for a
115 suffix.
0e3dd9a0
ILT
116 (ppc_frob_symbol): Set BSF_NOT_AT_END for symbols with csect aux
117 entries.
31751d9d 118
cbdf59ad
ILT
119 * input-scrub.c (input_scrub_push): Reset sb_index.
120
91123dbe
ILT
121Mon Oct 30 17:52:46 1995 Ian Lance Taylor <ian@cygnus.com>
122
123 * listing.c (listing_newline): Don't create a frag in the absolute
124 section.
125
73255941
ILT
126Sat Oct 28 01:02:05 1995 Ian Lance Taylor <ian@cygnus.com>
127
df72d2a5
ILT
128 * config/tc-ppc.c (md_pseudo_table): Add "data" and "text".
129 (ppc_csect): Move most of the code to ppc_change_csect, and call
130 it.
131 (ppc_change_csect): New static function, taken from ppc_csect.
132 (ppc_section): New static function.
133 (ppc_saw_abs): New static varable.
134 (ppc_frob_symbol): Create aux entry for absolute symbols. Warn if
135 a symbol has no csect.
136 (ppc_adjust_symtab): New function.
137 * config/tc-ppc.h (tc_adjust_symtab): Define if OBJ_XCOFF.
138 (ppc_adjust_symtab): Declare if OBJ_XCOFF.
139
140 * write.c (write_object_file): If tc_adjust_symtab is defined,
141 call it just before the call to obj_adjust_symtab.
142
73255941
ILT
143 * symbols.c (symbol_find_or_make): Change name to be const.
144 * symbols.h (symbol_find_or_make): Update declaration.
145
9bfaf1b9
KR
146Thu Oct 26 19:18:27 1995 Ken Raeburn <raeburn@cygnus.com>
147
148 * doc/as.texinfo (Align): Mention SH.
149 * doc/c-m68k.texi (M68K-Directives, .even): Describe behavior, not
150 .align value.
151 * doc/c-z8k.texi (Z8000 Directives, global): Fix minor typo.
152 (Z8000 Directives, even): Don't give numeric align value, instead
153 explain behavior.
154
ae143278
DE
155Thu Oct 26 11:45:03 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
156
157 * tc-arm.c (do_ldst): Assemble ldr/str r0, [r1] as a pre-increment
158 instruction.
159
270433cc
PB
160Wed Oct 25 11:59:24 1995 Per Bothner <bothner@kalessin.cygnus.com>
161
162 * Makefile.in (diststuff): Also make info.
163 (maintainer-clean realclean): Also make clean-info.
164
18a11401
JL
165Tue Oct 24 15:21:33 1995 Jeffrey A Law (law@cygnus.com)
166
167 * config/tc-hppa.c (md_pseudo_table): Add new ".nsubspa" opcode.
168 (pa_subspace): For ".nsubspa", always create a new subspace
169 with the given attributes, even if one already exists with the
170 same name.
171
96fe71e1
MM
172Tue Oct 24 14:50:38 1995 Michael Meissner <meissner@tiktok.cygnus.com>
173
174 * config/tc-ppc.h (TC_FORCE_RELOCATION_SECTION): Rename from
175 TC_FORCE_RELOCATION, taking an additional section argument. If
176 the section of the target symbol is not the same as the current
177 section, always force the relocation to be used.
178 (MD_PCREL_FROM_SECTION): New macro to call md_pcrel_from_section.
179
180 * config/tc-ppc.c (md_pcrel_from_section): Rename from the
181 md_pcrel_from function, taking an additional section argument.
182 Invoke TC_FORCE_RELOCATION_SECTION instead of TC_FORCE_RELOCATION.
183
184 * write.c (TC_FORCE_RELOCATION_SECTION): Define in terms of the
185 older TC_FORCE_RELOCATION if not defined.
186 (MD_PCREL_FROM_SECTION): If not defined, invoke md_pcrel_from.
187 (fixup_segment): Use MD_PCREL_FROM_SECTION instead of
188 md_pcrel_from, and TC_FORCE_RELOCATION_SECTION instead of
189 TC_FORCE_RELOCATION.
190
1d75481b
KR
191Mon Oct 23 16:20:04 1995 Ken Raeburn <raeburn@cygnus.com>
192
193 * input-scrub.c (as_where): Set name to null pointer if we don't
194 have a file name.
195 * messages.c (identify): Only print filename if non-null.
196 (as_show_where): Ditto, for line number too.
197 (as_warn_internal, as_bad_internal): Ditto.
198
199 * input-file.c (input_file_open): If the input file can't be
200 opened, consider it an error.
201
c625fc23
JSC
202Mon Oct 23 11:15:44 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
203
204 * config/tc-mips.c: Added mips_4100 control, and support for
205 accepting the 4100 as a MIPS architecture variant (md_begin,
206 macro_build, mips_ip, md_parse_option). Adding suitable
207 command-line OPTIONs, and updating the help text (md_show_usage).
208
dd1a5316
KR
209Wed Oct 18 13:20:32 1995 Ken Raeburn <raeburn@cygnus.com>
210
c625fc23
JSC
211 * subsegs.c (subseg_begin): Only set absolute_frchain.fix_* when
212 BFD_ASSEMBLER is defined.
213
3366a224
KR
214 * Use one active frag and one obstack per frag chain:
215 * frags.c (frags): Variable deleted.
216 (frag_alloc): New function.
217 (frag_grow, frag_more, frag_variant, frag_now_fix,
218 frag_append_1_char): Refer to frchain_now->frch_obstack instead of
219 frags variable.
220 (frag_new): Ditto. Verify that frch_last and frag_now match on
221 entry and exit, and that old frag_now has non-zero type. Replace
222 "know" uses with "assert". Use frag_alloc instead of mucking with
223 obstack alignment.
224 * frags.h (frags): Declaration deleted.
225 * subsegs.h (struct frchain): Add new field frch_frag_now.
226 * subsegs.c (frchains, dummy_frag, absolute_frchain): New static
227 variables.
228 (subsegs_begin): Initialize frchains obstack. Under gcc, don't
229 give it any stricter alignment than frchainS structures need. Do
230 not initialize frags obstack. Set frag_now to point to
231 dummy_obstack. Initialize absolute_frchain.
232 (subseg_set_rest): Save and restore frag_now in frch_frag_now
233 field of frchainS. Don't create new frags on section switch, and
234 use frag_alloc when creating a new frag chain. For absolute
235 section, set frchain_now to absolute_frchain. Verify that
236 frch_last and frag_now match on entry and exit. Initialize
237 per-chain obstack, and under gcc, set required alignment to that
238 needed by fragS structure.
c625fc23 239
3366a224
KR
240 * write.c (chain_frchains_together_1): Verify fr_type is nonzero.
241
242 * stabs.c (get_stab_string_offset): Only copy input string if a
243 fresh copy is needed, not if the section already exists.
244 (s_stab_generic): Cache stab section name to bypass lookups, since
245 usually it will match. Could be made faster still by changing the
246 memory allocation rules.
247 (s_xstab): Cache section name to bypass repeated string
248 allocation.
249
250 * frags.c (frag_new): Deleted register declarations.
251
252 * listing.c (frag_now): Don't declare.
253
254 * as.c (chunksize): New variable.
255 (debug_memory): New variable.
256 (main): If debug_memory is set, reduce chunksize and
257 _bfd_chunksize.
258 * as.h (chunksize): Declare it.
259 * read.c (read_begin): Use it.
260
de5ebe2e
KR
261 * config/tc-alpha.c (md_shortopts): Include 'g'.
262 (md_parse_option): Ignore it.
263
dd1a5316
KR
264 * Makefile.in (distclean): Remove Makefile and config.status from
265 testsuite directory.
266 (clean-here): Don't delete testsuite. Instead, delete only the
267 files within it that would be generated by running tests.
268
de5ebe2e
KR
269 * config/tc-hppa.c (hppa_elf_mark_end_of_function): Call
270 frag_now_fix instead of accessing obstack info directly.
271 * config/tc-arm.c (s_ltorg): Ditto.
272 (md_assemble): Ditto.
273
274 * config/tc-i386.c (md_assemble): Call frag_grow instead of
275 obstack_room.
276
625f4e48
KR
277Wed Oct 18 12:22:59 1995 Ken Raeburn <raeburn@cygnus.com>
278
279 * stabs.c (aout_process_stab): Insert debug symbol into symbol
280 chain after parsing value expression, if any, to avoid separating
281 continued .stabs lines.
282
33a8c1b6
ILT
283Mon Oct 16 10:56:41 1995 Ian Lance Taylor <ian@cygnus.com>
284
285 * config/tc-mips.c (mips_elf_pseudo_table): Remove.
286 (mips_pop_insert): Don't call pop_insert on mips_elf_pseudo_table.
287
b6b8f911
MM
288Mon Oct 16 07:07:37 1995 Michael Meissner <meissner@wogglebug.tiac.net>
289
625f4e48
KR
290 * config/tc-ppc.c (md_begin): Use new flags PPC_OPCODE_COMMON for
291 -mcom support and PPC_OPCODE_ANY for -many.
292 (md_parse_option): Ditto.
293 (ppc_arch): Ditto.
294 (md_begin): For duplicate instructions, print all duplicates
295 before aborting.
b6b8f911 296
4c2935f4
MM
297Sun Oct 15 22:06:14 1995 Michael Meissner <meissner@cygnus.com>
298
299 * config/tc-ppc.c (md_parse_option): Support for -mcom to turn on
300 common mode operation.
301 (md_show_usage): Add -mcom to usage message.
4c2935f4
MM
302
303Fri Oct 13 13:32:45 1995 steve chamberlain <sac@slash.cygnus.com>
304
305 * expr.c (op_rank): Add O_symbol_rva.
306 * expr.h (operatorT): Add O_symbol_rva.
307 * read.c (cons_worker): Set O_symbol_rva when necessary.
308 * write.c (fix_new_exp): Understand O_symbol_rva.
309
7db865dc
ILT
310Tue Oct 10 11:34:14 1995 Ian Lance Taylor <ian@cygnus.com>
311
312 * config/tc-mips.c: Correct s_cons arguments. From Michael
313 Joosten <joost@ori.cadlab.de>.
314
1b13e6fc
ILT
315Mon Oct 9 19:59:53 1995 Ian Lance Taylor <ian@cygnus.com>
316
317 * config/tc-ppc.c (ppc_macro): Make count unsigned.
318 (ppc_biei): Set segment to now_seg and value to coff_n_line_nos.
319 (ppc_frob_symbol): Handle C_BINCL and C_EINCL symbols by setting
320 the fix_line field.
321 * config/obj-coff.c (coff_n_line_nos): Rename from n_line_nos, and
322 make non-static. Change all users.
323 * config/obj-coff.h (coff_n_line_nos): Declare.
324
9e3e3d4c
KR
325Fri Oct 6 16:24:27 1995 Ken Raeburn <raeburn@cygnus.com>
326
327 Mon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
328
329 * configure.in (AC_ARG_WITH(bfd-assembler)): Fix help message.
330
331 * config/obj-elf.c (obj_elf_common): Convert specified byte
332 alignment to power of two. Set size of local bss symbol.
333
334 * config/tc-m68k.c (tc_gen_reloc): Fix typo in variable name.
335
13a6c753
ILT
336Fri Oct 6 15:22:25 1995 Ian Lance Taylor <ian@cygnus.com>
337
338 * sb.c, macro.c: Decide whether to include <string.h> or
339 <strings.h> just as as.h does.
340
a75aafcd
DE
341Fri Oct 6 09:55:33 1995 Doug Evans <dje@canuck.cygnus.com>
342
343 * Makefile.in (site.exp): Fix setting of $srcdir.
344
345 * config/tc-arm.c (md_atof): Fix little-endian output.
f6ec8c46
DE
346 * config/tc-arm.h (ARM_BI_ENDIAN): Move definition so defined for
347 all coff targets.
a75aafcd 348
d89861c7
KR
349Thu Oct 5 20:17:30 1995 Ken Raeburn <raeburn@cygnus.com>
350
4d2ba393
KR
351 * doc/as.texinfo: Split out the NS32k family documentation,
352 despite its being commented out for now.
353 * doc/c-ns32k.texi: New file.
354
2c5eb48d
KR
355 * sb.c, macro.c: Include string.h.
356
6b0a6eaa
KR
357 * Makefile.in (comparison): Only check *.o; we don't care if
358 timestamps inserted by the native linker differ.
359
d89861c7
KR
360 * config/tc-alpha.c (alpha_align): Only fill with a no-op pattern
361 if alignment stricter than 4 bytes is requested; in that case,
362 align to a 4-byte boundary first.
363
70aeac05
KR
364 Thu Sep 28 19:35:27 1995 Pat Rankin <rankin@eql.caltech.edu>
365
366 * config/obj-vms.c (VMS_RSYM_Parse): eliminate "might be used
367 uninitialized" warning for `Max_Source_Offset'.
368
eaaa2a42
KK
369Wed Oct 4 16:17:02 1995 Kim Knuttila <krk@cygnus.com>
370
371 * config/tc-ppc.c (parse_toc_entry): New function to parse [toc]
372 qualifiers and detect errors if present.
373 (md_assemble): Add call to parse_toc_entry. Also added some support
374 for the [tocv] qualifier.
375 (ppc_pe_tocd): New function to support data in the toc section.
376
cd557d83
ILT
377Wed Oct 4 14:03:39 1995 Ian Lance Taylor <ian@cygnus.com>
378
379 * config/tc-ppc.c (ppc_frob_symbol): Don't create an aux entry for
380 an absolute symbol.
381
42ac8fa8
ILT
382Tue Oct 3 12:18:19 1995 Ian Lance Taylor <ian@cygnus.com>
383
01f108bc 384 * config/tc-m68k.c (isword): Accept all values from -65536 to
cd557d83
ILT
385 +65535, so ~VAL will not be rejected.
386
42ac8fa8
ILT
387 * cond.c (s_endif): Call demand_empty_rest_of_line. In MRI mode,
388 skip characters after the pseudo-op.
389 (s_else): Likewise.
390 * read.c (get_line_sb): Don't look past buffer_limit.
391 (s_include): In MRI mode, skip characters after the file name.
392
eef66934
ILT
393Mon Oct 2 16:15:27 1995 Ian Lance Taylor <ian@cygnus.com>
394
395 * config/m68k-parse.y (m68k_reg_parse): In MRI mode, permit
396 periods in register names.
397
cdc49cba 398For older changes see ChangeLog.1.
This page took 0.054125 seconds and 4 git commands to generate.