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