Add support for .note sections
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
cb844314
JL
1Sat Dec 30 23:42:51 1995 Jeffrey A Law (law@cygnus.com)
2
3 * ecoff.c (ecoff_stab): Simplify. Correctly handle sym + offset
4 addresses for static variables.
5
36cb0e7c
MM
6Thu Dec 21 12:54:32 1995 Michael Meissner <meissner@tiktok.cygnus.com>
7
8 * config/tc-ppc.c (mapping): Make @got give a real GOT relocation,
9 and xgot give the old toc16 relocation.
10 (md_apply_fix3): Support all GOT relocations.
11
5e69b693
ILT
12Wed Dec 20 14:57:17 1995 Ian Lance Taylor <ian@cygnus.com>
13
14 * config/tc-mips.c (load_address): Correctly handle a constant in
15 SVR4_PIC case. From Richard Kenner <kenner@vlsi1.ultra.nyu.edu>.
16
29861dd0
C
17Fri Dec 15 14:25:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
18
19 * config/tc-sh.c (parse_reg): Recognize SH3 registers.
20 (get_specific): Handle A_SSR, A_SPC and A_REG_B.
21 (build_Mbytes): Handle REG_B.
22
432b8fa8
ILT
23Fri Dec 15 16:07:25 1995 Ian Lance Taylor <ian@cygnus.com>
24
25 * ecoff.c (ecoff_build_aux): Use new bfd_big_endian macro.
26
ee68a042
RJ
27Fri Dec 15 12:11:48 1995 Raymond Jou <rjou@mexican.cygnus.com>
28
29 * mpw-make.sed: If linking, edit ALL_CFLAGS to CFLAGS.
30
b14630f2
ILT
31Thu Dec 14 15:09:52 1995 Ian Lance Taylor <ian@cygnus.com>
32
33 * config/obj-coff.c (write_object_file): Set the s_align field to
34 the number of bytes, rather than to the power of 2.
35
4a3d48fc
ILT
36Tue Dec 12 12:19:37 1995 Ian Lance Taylor <ian@cygnus.com>
37
38 * Makefile.in (DISTCLEAN_HERE): New variable.
39 (distclean): Use it.
40 (maintainer-clean): Depend upon clean-here rather than clean,
41 distclean, and clean-info. Run make maintainer-clean in doc.
42 Remove files listed in DISTCLEAN_HERE.
43 * doc/Makefile.in (maintainer-clean realclean): Split out from
44 distclean. Depend upon clean-info and distclean.
45
7e5e83cf
SS
46Mon Dec 11 16:23:51 1995 Stan Shebs <shebs@andros.cygnus.com>
47
48 * mac-as.r: Fix copyright and version strings.
49 (cfrg): Use PROG_NAME instead of literal name.
50
1b10f50d
ILT
51Mon Dec 11 14:14:08 1995 Ian Lance Taylor <ian@cygnus.com>
52
53 * read.c (read_a_source_file): If tc_unrecognized_line is defined,
54 call it.
55 * config/tc-a29k.h (tc_unrecognized_line): Define.
56 * config/tc-a29k.c (a29k_unrecognized_line): New function.
57 (md_operand): Handle a29k style local dollar labels.
58
2f3bbb1b
ILT
59Wed Dec 6 17:52:52 1995 Ian Lance Taylor <ian@cygnus.com>
60
61 * config/obj-multi.h: If OBJ_MAYBE_ELF, define OBJ_SYMFIELD_TYPE.
62
624c91d1
KR
63Tue Dec 5 13:26:34 1995 Ken Raeburn <raeburn@cygnus.com>
64
65 * read.c (s_fill): If md_flush_pending_output is defined, call
66 it.
67
9e4b3a23
KR
68Mon Dec 4 15:10:53 1995 Ken Raeburn <raeburn@cygnus.com>
69
70 * config/obj-coff.c (size_section, fill_section, fixup_mdeps):
71 Treat rs_align_code like rs_align.
72
3554987a
DE
73Sun Dec 3 16:46:54 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
74
75 * config/tc-arm.c (cp_address_required_here): Set pre_inc when
76 converting an absolute address into a PC-relative one.
77
90f543f6
SS
78Fri Dec 1 11:57:56 1995 Stan Shebs <shebs@andros.cygnus.com>
79
80 * mpw-config.in: Don't always use te-generic.h for emulation.
81 (powerpc-apple-macos): Use emulation te-macos.h.
82start-sanitize-gm
83 (mips-gm-magic): New configuration.
84end-sanitize-gm
85 * mpw-make.sed (install, install-only): Edit in Mac-specific
86 install procedure.
87
d4c8a45e
ILT
88Fri Dec 1 10:59:25 1995 Ian Lance Taylor <ian@cygnus.com>
89
2eec8710
ILT
90 * configure.in: Improve message about unsupported ELF targets.
91 * configure: Rebuild.
92
d4c8a45e
ILT
93 * config/tc-m88k.c (m88k_do_align): Correct check for whether fill
94 pattern is zero. From Manfred Hollstein.
95
531a1af2
KK
96Thu Nov 30 13:25:49 1995 Kim Knuttila <krk@cygnus.com>
97
98 * config/tc-ppc.c (ppc_pe_section): To get the alignment right for
99 the various idata sections, we check the name on the .section pseudo.
100
464070de
ILT
101Thu Nov 30 11:23:42 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de>
102
103 * config/obj-coff.c (fixup_segment): If TC_M88K is defined, do not
104 add section's paddr to add_number; compatibility to native as and
105 ld forbids.
106
6a087325
KR
107Wed Nov 29 23:14:27 1995 Ken Raeburn <raeburn@cygnus.com>
108
9d5aef80
KR
109 * configure.in: Treat m68k-sysv4 like m68k-elf, not m68k-sysv3.
110
ac9ef8ee
KR
111 * hash.c (struct hash_entry): Moved here...
112 * hash.h (struct hash_entry): ...from here.
113
6a087325
KR
114 * config/obj-elf.c (elf_frob_symbol): Don't free and clear sy_obj
115 if it's already known to be null.
116
77fa4d98
MM
117Wed Nov 29 13:00:20 1995 Michael Meissner <meissner@tiktok.cygnus.com>
118
119 * config/tc-ppc.c (md_apply_fix3): Don't adjust the value for 32
120 bit relocs converted to PC relative relocs. This turned out to
121 add the offset from the beginning of .text twice.
122
c6e4e834
KR
123Tue Nov 28 10:42:36 1995 Ken Raeburn <raeburn@cygnus.com>
124
125 * stabs.c (s_stab_generic): In 's' case, free string from
126 obstack.
127
128 * config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS): Remove unused field
129 sy_name_offset.
130 * config/obj-multi.h (ELF_TARGET_SYMBOL_FIELDS) [OBJ_MAYBE_ELF]:
131 Ditto.
132
133 * subsegs.h (segment_info_type): Make bitfields unsigned.
134
135 * expr.h (struct expressionS): Make X_op and X_unsigned bitfields,
136 and move them together. On most systems this will reduce the
137 structure size by one word.
138 (operatorT): Define O_max.
139 * expr.c (expr_begin): Verify that X_op is wide enough to hold
140 O_max.
141
142 * read.c (pop_insert): Print error returned by hash table
143 insertion code.
144
145 * as.c (dump_statistics): Split out from main; dump some hash
146 table stats and target-specific stats.
147 (start_time): No longer automatic to main.
148 (main): Set file-level start_time and call dump_statistics at
149 exit. Exit by calling xexit.
150 (show_usage): Make --statistics description less specific.
151 * subsegs.c (subsegs_print_statistics): New function.
152 * write.c (write_print_statistics): New function.
153 (n_fixups): New static variable.
154 (fix_new_internal): Increment it.
155 * read.c (read_print_statistics): New function.
156 * read.h (read_print_statistics): Declare.
157 * symbol.c (symbol_print_statistics): New function.
158 * symbol.h (symbol_print_statistics): Declare.
159 * hash.c (hash_print_statistics): New function.
160 * hash.h (hash_print_statistics): Declare.
161 * config/tc-i386.c (i386_print_statistics): New function.
162 * config/tc-i386.h (i386_print_statistics): Declare.
163 (tc_print_statistics): New macro.
164 * messages.c (as_fatal, as_assert, as_abort): Use xexit, not
165 exit.
166
167 * hash.c (DELETED): Rewrite to use a valid but unique address.
168 (START_POWER): Reduce to 10.
169 (enum stat_enum): New enumerator, replacing STAT_* index macros.
170 Add new values for counting strcmp calls.
171 (GROW_FACTOR): New macro.
172 (hash_grow): Use GROW_FACTOR. Rewrite for quick returns instead
173 of nesting blocks.
174 (FULL_VALUE): New macro. Use 1/4 of table size instead of 1/2.
175 (hash_new): Use FULL_VALUE.
176 (struct hash_control): Definition moved here.
177 (hash_code): Don't mask to low bits.
178 (hash_ask): Mask returned hash code here. Check hash value before
179 calling strcmp; count strcmp calls.
180 * hash.h (struct hash_control): Declare, don't define, here.
181 (HASH_STATLENGTH): Deleted.
182 (struct hash_entry): Add field for hash code.
183 (hash_say, hash_apply): Don't declare.
184
185 * hash.c (destroy): Return void.
186 (applicatee): Ditto.
187 (main): Fix declarations.
188 (hash_apply): Return void. Argument `function' returns void. Put
189 inside "#ifdef TEST".
190 (hash_say): Define only if TEST is defined.
191 * hash.h (hash_apply, hash_say): Declarations deleted.
192
6a4667f4
ILT
193Mon Nov 27 13:18:25 1995 Ian Lance Taylor <ian@cygnus.com>
194
195 * configure: Rebuild with autoconf 2.7.
196
330add8a
ILT
197Tue Nov 21 18:39:01 1995 Ian Lance Taylor <ian@cygnus.com>
198
199 * aclocal.m4 (AC_PROG_CC): Remove local definition.
200 * configure: Rebuild with autoconf 2.6.
201
520dd8d5
ILT
202Mon Nov 20 17:26:00 1995 Ian Lance Taylor <ian@cygnus.com>
203
204 * config/tc-ppc.c (ppc_debug_name_section_size): Remove.
205 (ppc_stabx): Don't increment ppc_debug_name_section_size.
206 (ppc_bc): Likewise.
207 (ppc_frob_file): Remove.
208 * config/tc-ppc.h (tc_frob_file): Don't define.
209 (ppc_frob_file): Don't declare.
210
880b7429
KR
211Mon Nov 20 13:37:05 1995 Ken Raeburn <raeburn@cygnus.com>
212
d6c4a3fa
KR
213 * Makefile.in (TARG_CPU_DEP_alpha): Mention alpha-opcode.h.
214 * config/alpha-opcode.h: Include one-operand variants of jmp and
215 jsr.
216
880b7429
KR
217 * config/te-delt88.h: Renamed from te-delta88.h, to avoid conflict
218 with te-delta.h in 8.3 file systems.
219 * configure.in: Adjusted.
220
aa8a6656
ILT
221Thu Nov 16 12:49:38 1995 Ian Lance Taylor <ian@cygnus.com>
222
880b7429
KR
223 * config/tc-mips.c (s_err): Remove; just use the one in read.c.
224
aa8a6656
ILT
225 * config/m68k-parse.y (yylex): In MRI mode, '@' can start an octal
226 number.
227 * expr.c (operand): Handle MRI suffixes after unadorned 0.
228
7b889f5e
KR
229Thu Nov 16 00:21:44 1995 Ken Raeburn <raeburn@cygnus.com>
230
da9b55af
KR
231 Version 2.6 released.
232 * Makefile.in (VERSION): Updated to 2.6.
233
7b889f5e
KR
234 * config/obj-coff.c (write_object_file): Change use of md_do_align
235 to pass a pointer rather than a fill value, to match other uses.
236
46618ae6
KR
237Wed Nov 15 03:52:00 1995 Ken Raeburn <raeburn@cygnus.com>
238
7b889f5e
KR
239 * config/tc-ns32k.h (TC_FIX_TYPE): Add missing semicolon.
240
46618ae6
KR
241 * as.c (main): Move md_end call to just after call to
242 perform_an_assembly_pass. Delete cpu-specific code here.
243 * config/tc-i960.h (md_end): New macro, calls brtab_emit.
244start-sanitize-rce
245 * config/tc-rce.c (md_end): Deleted.
246 * config/tc-rce.h (md_end): New macro, calls dump_literals.
247end-sanitize-rce
248 * config/tc-arm.c (md_end): Unused function deleted.
249 * config/tc-ns32k.c (md_end): Ditto.
250
251 * config/tc-i386.c (i386_align_code): New function, moved here
252 from HANDLE_ALIGN macro.
253 * config/tc-i386.h (HANDLE_ALIGN): Call it.
254
255 Mon Jul 31 14:53:19 1995 Alan Modra <alan@spri.levels.unisa.edu.au>
256
257 * config/tc-i386.h (md_do_align): cast fill and 0x90 to char
258 before comparing
259
260 Mon May 1 10:91:49 1995 Alan Modra <alan@spri.levels.unisa.edu.au>
261
262 * config/tc-i386.h (md_do_align): Make ".align n,0x90" generate
263 multi-byte nops to avoid changing gcc. The necessary gcc change
264 might break old assemblers.
265
266 Sat Apr 22 20:53:05 1995 Alan Modra <alan@spri.levels.unisa.edu.au>
267
268 * config/tc-i386.h (md_do_align, HANDLE_ALIGN): Add macros to
269 generate optimal multi-byte nop instructions for ".align n"
270 ".align n,0x90", and aligns requiring more than 15 bytes of
271 padding still generate multiple 0x90's as before.
272
273Mon Nov 13 17:40:21 1995 Ian Lance Taylor <ian@cygnus.com>
274
275 * config/tc-m68k.c (s_mri_until): Call pop_mri_control.
276
51bc513e
SS
277Mon Nov 13 20:39:06 1995 Stan Shebs <shebs@andros.cygnus.com>
278
279 * configure.in (ppc-*-macos*, ppc-*-mpw*): New configurations.
280 * configure: Update.
281 * mpw-make.sed: Reorder commands to make sed happier.
282 * config/te-macos.h: New file.
283 * config/tc-ppc.h (TARGET_FORMAT): Set correctly for PowerMac.
284
8b39c5df
JL
285Sun Nov 12 21:14:56 1995 Jeffrey A Law (law@cygnus.com)
286
287 * config/tc-hppa.c (pa_ip): Fix off-by-2 bug in length check for
288 conditional branches.
289 (md_apply_fix): Likewise.
290
291Thu Nov 9 16:14:01 1995 Ian Lance Taylor <ian@cygnus.com>
292
293 * config/tc-a29k.c (md_apply_fix): Warn if an attempt is made to
294 generate a reloc which the linker will not handle correctly. Fix
295 overflow checking--R_IREL is 18 bits, not 17.
296
6a649eda
ILT
297Wed Nov 8 19:59:36 1995 Ian Lance Taylor <ian@cygnus.com>
298
a071b8e9
ILT
299 * config/obj-coff.c (fixup_segment): Don't subtract md_pcrel_from
300 from a PC relative reloc if TC_A29K.
301
302 * config/tc-a29k.c (line_separator_chars): Restore '@'. Existing
303 code depends upon it.
304
6a649eda
ILT
305 * config/tc-a29k.c (md_operand): Handle $float, $double, and
306 $extend. Based on code from Eric Freudenthal
307 <freudenthal@nyu.edu>.
308 * config/tc-a29k.h (LEX_DOLLAR): Define.
309 * read.c (LEX_DOLLAR): Define if not defined.
310 (lex_type): Use LEX_DOLLAR.
311
6364a188
ILT
312Wed Nov 8 16:38:14 1995 Eric Freudenthal <freudenthal@nyu.edu>
313
314 * configure.in (a29k-nyu-sym1): New target, just like other a29k
315 targets.
316
0fa6f8f6
ILT
317Wed Nov 8 11:38:48 1995 Ian Lance Taylor <ian@cygnus.com>
318
319 * config/obj-coff.c (c_dot_file_symbol): Cast xmalloc return.
320
321Tue Nov 7 09:14:35 1995 Kim Knuttila <krk@cygnus.com>
322
323 * config/tc-ppc.c (md_apply_fix3): Added BFD_RELOC_RVA. Currently
324 used only by "dlltool.c".
325
eec2cfef
ILT
326Mon Nov 6 18:51:26 1995 Ian Lance Taylor <ian@cygnus.com>
327
328 * config/tc-alpha.c: Undefine inline if not __GNUC__.
329 (md_pseudo_table): Don't define "extern".
330
df7504dc
ILT
331Sat Nov 4 00:51:21 1995 Ian Lance Taylor <ian@cygnus.com>
332
a3d1c561
ILT
333 * config/tc-ppc.c (ppc_biei): Force symbol into text_section.
334
df7504dc
ILT
335 * config/tc-ppc.c (md_show_usage): Put backslash at end of line.
336
07d012f6
ILT
337Fri Nov 3 13:02:59 1995 Ian Lance Taylor <ian@cygnus.com>
338
36e80ac6
ILT
339 * macro.c (macro_expand_body): Don't warn about == with a
340 nonexistent parameter, in case it is in a comment field.
341
07d012f6
ILT
342 * as.c (main): On TC_A29K, call macro_init with macro_alternate
343 set to 1.
344 * macro.c (get_any_string): Don't keep quotes if macro_strip_at is
345 set, even if macro_alternate is set.
346 (get_apost_token): If macro_strip_at, only skip kind if it is '@'.
347 (sub_actual): If macro_strip_at, and kind is '@', don't look up
348 the token unless it ended in '@'.
349 * config/tc-a29k.c (line_separator_chars): Remove '@'.
350 * doc/c-a29k.texi: Document macro usage on A29K.
351
01f108bc
ILT
352Thu Nov 2 23:07:57 1995 Ian Lance Taylor <ian@cygnus.com>
353
354 * config/tc-m68k.c (m68k_ip): Handle new 'W' place, meaning a
355 signed word.
356 (install_operand): Likewise.
357
358 * config/obj-elf.c (ecoff_debug_pseudo_table): Add "extern".
359
360Wed Nov 1 15:17:02 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de>
361
362 * configure.in (m88k-motorola-sysv*): New target.
363 * configure: Rebuild.
364 * config/te-delta88.h: New file.
365 * config/obj-coff.c (write_object_file): Use md_do_align if it is
366 defined.
367 * config/tc-m88k.h (SUB_SEGMENT_ALIGN): Define.
368 (md_do_align): Define.
369 * config/tc-m88k.c: Include "subsegs.h".
370 (m88k_do_align): New function.
371
372 * config/te-delta.h (STRIP_UNDERSCORE): Don't define.
373 (COFF_NOLOAD_PROBLEM): Define.
374 (LOCAL_LABELS_DOLLAR, LOCAL_LABELS_FB): Define.
375
7954cc14
KR
376Wed Nov 1 16:07:43 1995 Ken Raeburn <raeburn@cygnus.com>
377
378 * config/tc-i386.c (md_assemble): For a jump instruction with
379 non-constant target, require 7 available bytes in the current
380 frag, not 6.
381
d033806f
FF
382Tue Oct 31 15:37:16 1995 Fred Fish <fnf@rtl.cygnus.com>
383
384 * config/obj-elf.h: Include bfd/elf-bfd.h rather than
385 bfd/libelf.h.
386
d7b2038f
ILT
387Tue Oct 31 16:34:28 1995 David Mosberger-Tang <davidm@azstarnet.com>
388
389 * configure.in (alpha-*-linux*): Use ecoff.
390 * configure: Rebuild.
391 * ecoff.c (ecoff_directive_extern): New function.
392 (ecoff_directive_weakext): New function.
393 (ecoff_build_symbols): Handle weak symbols.
394 (ecoff_setup_ext): Likewise.
59c80ca2 395 (ecoff_frob_symbol): Warn about weak common symbols.
d7b2038f
ILT
396 * ecoff.h (ecoff_directive_extern): Declare.
397 (ecoff_directive_weakext): Declare.
398 * symbols.c (S_IS_WEAK): New function.
399 * symbols.h (S_IS_WEAK): Declare.
400 * config/obj-ecoff.c (obj_pseudo_table): Add "extern" and
401 "weakext".
402 * config/tc-mips.c (mips_pseudo_table): Remove "extern".
403 (s_extern): Remove.
404
cbdf59ad
ILT
405Tue Oct 31 13:29:08 1995 Ian Lance Taylor <ian@cygnus.com>
406
b629f627
ILT
407 * config/tc-ppc.c (ppc_lglobl): Do the right thing.
408
7ab1edc8
ILT
409 * config/tc-ppc.c (ppc_bb): Call SF_SET_PROCESS.
410 (ppc_eb): Likewise. Set the storage class to C_BLOCK, not C_FCN.
411 (ppc_frob_symbol): Don't change C_BLOCK symbols to C_HIDEXT.
412 * config/obj-coff.c (coff_frob_symbol): Don't call
413 SA_SET_SYM_ENDNDX with the current symbol; call it with the next
414 one. If OBJ_XCOFF, try to figure out whether the symbol is going
415 to be dropped.
416
31751d9d
ILT
417 * config/tc-ppc.c (md_pseudo_table): Add "bc" and "ec".
418 (ppc_stab_symbol): New static variable.
419 (ppc_change_csect): Check that ppc_toc_csect is not NULL.
420 (ppc_stabx): Set ppc_stab_symbol around call to symbol_make. Set
421 sy_tc.real_name to the stab string.
422 (ppc_bc, ppc_ec): New static functions.
423 (ppc_canonicalize_symbol_name): If ppc_stab_symbol is set, don't
424 do anything.
425 (ppc_symbol_new_hook): If ppc_stab_symbol is set, don't look for a
426 suffix.
0e3dd9a0
ILT
427 (ppc_frob_symbol): Set BSF_NOT_AT_END for symbols with csect aux
428 entries.
31751d9d 429
cbdf59ad
ILT
430 * input-scrub.c (input_scrub_push): Reset sb_index.
431
91123dbe
ILT
432Mon Oct 30 17:52:46 1995 Ian Lance Taylor <ian@cygnus.com>
433
434 * listing.c (listing_newline): Don't create a frag in the absolute
435 section.
436
73255941
ILT
437Sat Oct 28 01:02:05 1995 Ian Lance Taylor <ian@cygnus.com>
438
df72d2a5
ILT
439 * config/tc-ppc.c (md_pseudo_table): Add "data" and "text".
440 (ppc_csect): Move most of the code to ppc_change_csect, and call
441 it.
442 (ppc_change_csect): New static function, taken from ppc_csect.
443 (ppc_section): New static function.
444 (ppc_saw_abs): New static varable.
445 (ppc_frob_symbol): Create aux entry for absolute symbols. Warn if
446 a symbol has no csect.
447 (ppc_adjust_symtab): New function.
448 * config/tc-ppc.h (tc_adjust_symtab): Define if OBJ_XCOFF.
449 (ppc_adjust_symtab): Declare if OBJ_XCOFF.
450
451 * write.c (write_object_file): If tc_adjust_symtab is defined,
452 call it just before the call to obj_adjust_symtab.
453
73255941
ILT
454 * symbols.c (symbol_find_or_make): Change name to be const.
455 * symbols.h (symbol_find_or_make): Update declaration.
456
9bfaf1b9
KR
457Thu Oct 26 19:18:27 1995 Ken Raeburn <raeburn@cygnus.com>
458
459 * doc/as.texinfo (Align): Mention SH.
460 * doc/c-m68k.texi (M68K-Directives, .even): Describe behavior, not
461 .align value.
462 * doc/c-z8k.texi (Z8000 Directives, global): Fix minor typo.
463 (Z8000 Directives, even): Don't give numeric align value, instead
464 explain behavior.
465
ae143278
DE
466Thu Oct 26 11:45:03 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
467
468 * tc-arm.c (do_ldst): Assemble ldr/str r0, [r1] as a pre-increment
469 instruction.
470
270433cc
PB
471Wed Oct 25 11:59:24 1995 Per Bothner <bothner@kalessin.cygnus.com>
472
473 * Makefile.in (diststuff): Also make info.
474 (maintainer-clean realclean): Also make clean-info.
475
18a11401
JL
476Tue Oct 24 15:21:33 1995 Jeffrey A Law (law@cygnus.com)
477
478 * config/tc-hppa.c (md_pseudo_table): Add new ".nsubspa" opcode.
479 (pa_subspace): For ".nsubspa", always create a new subspace
480 with the given attributes, even if one already exists with the
481 same name.
482
96fe71e1
MM
483Tue Oct 24 14:50:38 1995 Michael Meissner <meissner@tiktok.cygnus.com>
484
485 * config/tc-ppc.h (TC_FORCE_RELOCATION_SECTION): Rename from
486 TC_FORCE_RELOCATION, taking an additional section argument. If
487 the section of the target symbol is not the same as the current
488 section, always force the relocation to be used.
489 (MD_PCREL_FROM_SECTION): New macro to call md_pcrel_from_section.
490
491 * config/tc-ppc.c (md_pcrel_from_section): Rename from the
492 md_pcrel_from function, taking an additional section argument.
493 Invoke TC_FORCE_RELOCATION_SECTION instead of TC_FORCE_RELOCATION.
494
495 * write.c (TC_FORCE_RELOCATION_SECTION): Define in terms of the
496 older TC_FORCE_RELOCATION if not defined.
497 (MD_PCREL_FROM_SECTION): If not defined, invoke md_pcrel_from.
498 (fixup_segment): Use MD_PCREL_FROM_SECTION instead of
499 md_pcrel_from, and TC_FORCE_RELOCATION_SECTION instead of
500 TC_FORCE_RELOCATION.
501
1d75481b
KR
502Mon Oct 23 16:20:04 1995 Ken Raeburn <raeburn@cygnus.com>
503
504 * input-scrub.c (as_where): Set name to null pointer if we don't
505 have a file name.
506 * messages.c (identify): Only print filename if non-null.
507 (as_show_where): Ditto, for line number too.
508 (as_warn_internal, as_bad_internal): Ditto.
509
510 * input-file.c (input_file_open): If the input file can't be
511 opened, consider it an error.
512
c625fc23
JSC
513Mon Oct 23 11:15:44 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
514
515 * config/tc-mips.c: Added mips_4100 control, and support for
516 accepting the 4100 as a MIPS architecture variant (md_begin,
517 macro_build, mips_ip, md_parse_option). Adding suitable
518 command-line OPTIONs, and updating the help text (md_show_usage).
519
dd1a5316
KR
520Wed Oct 18 13:20:32 1995 Ken Raeburn <raeburn@cygnus.com>
521
c625fc23
JSC
522 * subsegs.c (subseg_begin): Only set absolute_frchain.fix_* when
523 BFD_ASSEMBLER is defined.
524
3366a224
KR
525 * Use one active frag and one obstack per frag chain:
526 * frags.c (frags): Variable deleted.
527 (frag_alloc): New function.
528 (frag_grow, frag_more, frag_variant, frag_now_fix,
529 frag_append_1_char): Refer to frchain_now->frch_obstack instead of
530 frags variable.
531 (frag_new): Ditto. Verify that frch_last and frag_now match on
532 entry and exit, and that old frag_now has non-zero type. Replace
533 "know" uses with "assert". Use frag_alloc instead of mucking with
534 obstack alignment.
535 * frags.h (frags): Declaration deleted.
536 * subsegs.h (struct frchain): Add new field frch_frag_now.
537 * subsegs.c (frchains, dummy_frag, absolute_frchain): New static
538 variables.
539 (subsegs_begin): Initialize frchains obstack. Under gcc, don't
540 give it any stricter alignment than frchainS structures need. Do
541 not initialize frags obstack. Set frag_now to point to
542 dummy_obstack. Initialize absolute_frchain.
543 (subseg_set_rest): Save and restore frag_now in frch_frag_now
544 field of frchainS. Don't create new frags on section switch, and
545 use frag_alloc when creating a new frag chain. For absolute
546 section, set frchain_now to absolute_frchain. Verify that
547 frch_last and frag_now match on entry and exit. Initialize
548 per-chain obstack, and under gcc, set required alignment to that
549 needed by fragS structure.
c625fc23 550
3366a224
KR
551 * write.c (chain_frchains_together_1): Verify fr_type is nonzero.
552
553 * stabs.c (get_stab_string_offset): Only copy input string if a
554 fresh copy is needed, not if the section already exists.
555 (s_stab_generic): Cache stab section name to bypass lookups, since
556 usually it will match. Could be made faster still by changing the
557 memory allocation rules.
558 (s_xstab): Cache section name to bypass repeated string
559 allocation.
560
561 * frags.c (frag_new): Deleted register declarations.
562
563 * listing.c (frag_now): Don't declare.
564
565 * as.c (chunksize): New variable.
566 (debug_memory): New variable.
567 (main): If debug_memory is set, reduce chunksize and
568 _bfd_chunksize.
569 * as.h (chunksize): Declare it.
570 * read.c (read_begin): Use it.
571
de5ebe2e
KR
572 * config/tc-alpha.c (md_shortopts): Include 'g'.
573 (md_parse_option): Ignore it.
574
dd1a5316
KR
575 * Makefile.in (distclean): Remove Makefile and config.status from
576 testsuite directory.
577 (clean-here): Don't delete testsuite. Instead, delete only the
578 files within it that would be generated by running tests.
579
de5ebe2e
KR
580 * config/tc-hppa.c (hppa_elf_mark_end_of_function): Call
581 frag_now_fix instead of accessing obstack info directly.
582 * config/tc-arm.c (s_ltorg): Ditto.
583 (md_assemble): Ditto.
584
585 * config/tc-i386.c (md_assemble): Call frag_grow instead of
586 obstack_room.
587
625f4e48
KR
588Wed Oct 18 12:22:59 1995 Ken Raeburn <raeburn@cygnus.com>
589
590 * stabs.c (aout_process_stab): Insert debug symbol into symbol
591 chain after parsing value expression, if any, to avoid separating
592 continued .stabs lines.
593
33a8c1b6
ILT
594Mon Oct 16 10:56:41 1995 Ian Lance Taylor <ian@cygnus.com>
595
596 * config/tc-mips.c (mips_elf_pseudo_table): Remove.
597 (mips_pop_insert): Don't call pop_insert on mips_elf_pseudo_table.
598
b6b8f911
MM
599Mon Oct 16 07:07:37 1995 Michael Meissner <meissner@wogglebug.tiac.net>
600
625f4e48
KR
601 * config/tc-ppc.c (md_begin): Use new flags PPC_OPCODE_COMMON for
602 -mcom support and PPC_OPCODE_ANY for -many.
603 (md_parse_option): Ditto.
604 (ppc_arch): Ditto.
605 (md_begin): For duplicate instructions, print all duplicates
606 before aborting.
b6b8f911 607
4c2935f4
MM
608Sun Oct 15 22:06:14 1995 Michael Meissner <meissner@cygnus.com>
609
610 * config/tc-ppc.c (md_parse_option): Support for -mcom to turn on
611 common mode operation.
612 (md_show_usage): Add -mcom to usage message.
4c2935f4
MM
613
614Fri Oct 13 13:32:45 1995 steve chamberlain <sac@slash.cygnus.com>
615
616 * expr.c (op_rank): Add O_symbol_rva.
617 * expr.h (operatorT): Add O_symbol_rva.
618 * read.c (cons_worker): Set O_symbol_rva when necessary.
619 * write.c (fix_new_exp): Understand O_symbol_rva.
620
7db865dc
ILT
621Tue Oct 10 11:34:14 1995 Ian Lance Taylor <ian@cygnus.com>
622
623 * config/tc-mips.c: Correct s_cons arguments. From Michael
624 Joosten <joost@ori.cadlab.de>.
625
1b13e6fc
ILT
626Mon Oct 9 19:59:53 1995 Ian Lance Taylor <ian@cygnus.com>
627
628 * config/tc-ppc.c (ppc_macro): Make count unsigned.
629 (ppc_biei): Set segment to now_seg and value to coff_n_line_nos.
630 (ppc_frob_symbol): Handle C_BINCL and C_EINCL symbols by setting
631 the fix_line field.
632 * config/obj-coff.c (coff_n_line_nos): Rename from n_line_nos, and
633 make non-static. Change all users.
634 * config/obj-coff.h (coff_n_line_nos): Declare.
635
9e3e3d4c
KR
636Fri Oct 6 16:24:27 1995 Ken Raeburn <raeburn@cygnus.com>
637
638 Mon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
639
640 * configure.in (AC_ARG_WITH(bfd-assembler)): Fix help message.
641
642 * config/obj-elf.c (obj_elf_common): Convert specified byte
643 alignment to power of two. Set size of local bss symbol.
644
645 * config/tc-m68k.c (tc_gen_reloc): Fix typo in variable name.
646
13a6c753
ILT
647Fri Oct 6 15:22:25 1995 Ian Lance Taylor <ian@cygnus.com>
648
649 * sb.c, macro.c: Decide whether to include <string.h> or
650 <strings.h> just as as.h does.
651
a75aafcd
DE
652Fri Oct 6 09:55:33 1995 Doug Evans <dje@canuck.cygnus.com>
653
654 * Makefile.in (site.exp): Fix setting of $srcdir.
655
656 * config/tc-arm.c (md_atof): Fix little-endian output.
f6ec8c46
DE
657 * config/tc-arm.h (ARM_BI_ENDIAN): Move definition so defined for
658 all coff targets.
a75aafcd 659
d89861c7
KR
660Thu Oct 5 20:17:30 1995 Ken Raeburn <raeburn@cygnus.com>
661
4d2ba393
KR
662 * doc/as.texinfo: Split out the NS32k family documentation,
663 despite its being commented out for now.
664 * doc/c-ns32k.texi: New file.
665
2c5eb48d
KR
666 * sb.c, macro.c: Include string.h.
667
6b0a6eaa
KR
668 * Makefile.in (comparison): Only check *.o; we don't care if
669 timestamps inserted by the native linker differ.
670
d89861c7
KR
671 * config/tc-alpha.c (alpha_align): Only fill with a no-op pattern
672 if alignment stricter than 4 bytes is requested; in that case,
673 align to a 4-byte boundary first.
674
70aeac05
KR
675 Thu Sep 28 19:35:27 1995 Pat Rankin <rankin@eql.caltech.edu>
676
677 * config/obj-vms.c (VMS_RSYM_Parse): eliminate "might be used
678 uninitialized" warning for `Max_Source_Offset'.
679
eaaa2a42
KK
680Wed Oct 4 16:17:02 1995 Kim Knuttila <krk@cygnus.com>
681
682 * config/tc-ppc.c (parse_toc_entry): New function to parse [toc]
683 qualifiers and detect errors if present.
684 (md_assemble): Add call to parse_toc_entry. Also added some support
685 for the [tocv] qualifier.
686 (ppc_pe_tocd): New function to support data in the toc section.
687
cd557d83
ILT
688Wed Oct 4 14:03:39 1995 Ian Lance Taylor <ian@cygnus.com>
689
690 * config/tc-ppc.c (ppc_frob_symbol): Don't create an aux entry for
691 an absolute symbol.
692
42ac8fa8
ILT
693Tue Oct 3 12:18:19 1995 Ian Lance Taylor <ian@cygnus.com>
694
01f108bc 695 * config/tc-m68k.c (isword): Accept all values from -65536 to
cd557d83
ILT
696 +65535, so ~VAL will not be rejected.
697
42ac8fa8
ILT
698 * cond.c (s_endif): Call demand_empty_rest_of_line. In MRI mode,
699 skip characters after the pseudo-op.
700 (s_else): Likewise.
701 * read.c (get_line_sb): Don't look past buffer_limit.
702 (s_include): In MRI mode, skip characters after the file name.
703
eef66934
ILT
704Mon Oct 2 16:15:27 1995 Ian Lance Taylor <ian@cygnus.com>
705
706 * config/m68k-parse.y (m68k_reg_parse): In MRI mode, permit
707 periods in register names.
708
cdc49cba 709For older changes see ChangeLog.1.
This page took 0.095013 seconds and 4 git commands to generate.